[ { "inputs": [ { "internalType": "address", "name": "authority", "type": "address" } ], "name": "AccessManagedInvalidAuthority", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" }, { "internalType": "uint32", "name": "delay", "type": "uint32" } ], "name": "AccessManagedRequiredDelay", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" } ], "name": "AccessManagedUnauthorized", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "target", "type": "address" } ], "name": "AddressEmptyCode", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "AddressInsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientAllowance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC20InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC20InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC20InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" } ], "name": "ERC20InvalidSpender", "type": "error" }, { "inputs": [], "name": "FailedInnerCall", "type": "error" }, { "inputs": [], "name": "InvalidInitialization", "type": "error" }, { "inputs": [], "name": "NotInitializing", "type": "error" }, { "inputs": [], "name": "ReentrancyGuardReentrantCall", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "SafeERC20FailedOperation", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "authority", "type": "address" } ], "name": "AuthorityUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "agETHAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "claimableAmount", "type": "uint256" } ], "name": "Claimed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "address", "name": "beneficiary", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "EmergencyWithdrawToken", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint64", "name": "version", "type": "uint64" } ], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "newRSETHAdapter", "type": "address" } ], "name": "KelpRSETHAdapterChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "string", "name": "newReferralCode", "type": "string" } ], "name": "KelpReferralCodeChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "newLimit", "type": "uint256" } ], "name": "MaxStakeLimitUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "agETHAmount", "type": "uint256" } ], "name": "Redeemed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "ethAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "agETHAmount", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "referralCode", "type": "string" } ], "name": "Staked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": false, "internalType": "address", "name": "asset", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "assetAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "agETHAmount", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "referralCode", "type": "string" } ], "name": "StakedAsset", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "agETHAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "claimableAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "claimableEpoch", "type": "uint256" } ], "name": "UnstakeRequested", "type": "event" }, { "inputs": [], "name": "KELP_DAO_ETH_ASSET_ID", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "agETHToken", "outputs": [ { "internalType": "contract IERC4626", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "authority", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "year", "type": "uint256" }, { "internalType": "uint256", "name": "month", "type": "uint256" }, { "internalType": "uint256", "name": "day", "type": "uint256" } ], "name": "customClaim", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "beneficiary", "type": "address" }, { "internalType": "address", "name": "token", "type": "address" } ], "name": "emergencyWithdrawToken", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "estimatedTotalValueLockedInETH", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "year", "type": "uint256" }, { "internalType": "uint256", "name": "month", "type": "uint256" }, { "internalType": "uint256", "name": "day", "type": "uint256" }, { "internalType": "address", "name": "receiverAddr", "type": "address" } ], "name": "getClaimableAmountByReceiver", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getClaimableEpoch", "outputs": [ { "internalType": "uint256", "name": "year", "type": "uint256" }, { "internalType": "uint256", "name": "month", "type": "uint256" }, { "internalType": "uint256", "name": "day", "type": "uint256" }, { "internalType": "uint256", "name": "claimableEpoch", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "getExpectedAgETHFromAsset", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "getExpectedAgETHfromETH", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "getExpectedETHAmountfromAgETH", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "getExpectedRsETHAmountfromAgETH", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWithdrawalFee", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "initialAuthority", "type": "address" }, { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "string", "name": "_kelpReferralCode", "type": "string" }, { "internalType": "address", "name": "_kelpDepositPool", "type": "address" }, { "internalType": "address", "name": "_agETHToken", "type": "address" }, { "internalType": "address", "name": "_kelpRSETHAdapter", "type": "address" }, { "internalType": "address", "name": "_rsETHToken", "type": "address" }, { "internalType": "uint256", "name": "_maxStakeLimit", "type": "uint256" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "isConsumingScheduledOp", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "kelpDepositPool", "outputs": [ { "internalType": "contract IKelpDepositPool", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "kelpReferralCode", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "kelpRsETHAdapter", "outputs": [ { "internalType": "contract IKelpRSETHAdapter", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lagDuration", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "maxAmountToDeposit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "maxStakeLimit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "minAmountToDeposit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "redeem", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "rsETHToken", "outputs": [ { "internalType": "contract IERC20", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newAuthority", "type": "address" } ], "name": "setAuthority", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_rsEthAdapterAddress", "type": "address" } ], "name": "setKelpRSETHAdapterAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "_referralCode", "type": "string" } ], "name": "setKelpReferralCode", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "newLimit", "type": "uint256" } ], "name": "setMaxStakeLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "referralCode", "type": "string" } ], "name": "stake", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "string", "name": "referralCode", "type": "string" } ], "name": "stakeAsset", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" } ], "name": "totalStakedAssets", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "totalStakedETH", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "totalUnStakedRsETH", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "unstake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
608060405234801561001057600080fd5b50613880806100206000396000f3fe60806040526004361061025f5760003560e01c80637a9e5e4b11610144578063cd968c93116100b6578063d9b27e3f1161007a578063d9b27e3f14610746578063db006a7514610766578063dc68a93a14610786578063dd62ed3e146107a6578063e369c8ae146107c6578063efd85833146107f357600080fd5b8063cd968c93146106c6578063d3ba6c71146106dc578063d52fae30146106fc578063d65c5a9514610711578063d8e159f81461073157600080fd5b806395d89b411161010857806395d89b411461060757806396cd9e721461061c5780639d5724f91461063c578063a9059cbb1461065c578063b8f315901461067c578063bf7e214f146106b157600080fd5b80637a9e5e4b146105415780637bde4b201461056157806381b0614e1461058157806385105504146105a15780638fb36037146105d957600080fd5b806324e86d67116101dd57806346f45b8d116101a157806346f45b8d1461048c57806359c596c81461049f578063679a0cc9146104bf578063682458bd146104ec57806370a082311461050c578063778fbe601461052c57600080fd5b806324e86d67146103f35780632e17de7814610408578063313ce5671461042857806337e3db36146104445780633c28f25d1461046457600080fd5b80630a20c392116102245780630a20c3921461033d57806315491c211461035f57806318160ddd1461037f5780631cc09b26146103b357806323b872dd146103d357600080fd5b80620ce32d1461026b57806302f635291461029357806306f98bf3146102b357806306fdde03146102eb578063095ea7b31461030d57600080fd5b3661026657005b600080fd5b34801561027757600080fd5b50610280610813565b6040519081526020015b60405180910390f35b34801561029f57600080fd5b506102806102ae366004612ed7565b610895565b3480156102bf57600080fd5b506003546102d3906001600160a01b031681565b6040516001600160a01b03909116815260200161028a565b3480156102f757600080fd5b50610300610a25565b60405161028a9190612f42565b34801561031957600080fd5b5061032d610328366004612f55565b610ae8565b604051901515815260200161028a565b34801561034957600080fd5b5061035d610358366004613022565b610b02565b005b34801561036b57600080fd5b5061035d61037a366004613079565b610f2a565b34801561038b57600080fd5b507f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0254610280565b3480156103bf57600080fd5b5061035d6103ce36600461315f565b61104b565b3480156103df57600080fd5b5061032d6103ee36600461318b565b61112b565b3480156103ff57600080fd5b5061028061114f565b34801561041457600080fd5b5061035d6104233660046131c7565b6111c2565b34801561043457600080fd5b506040516012815260200161028a565b34801561045057600080fd5b5061035d61045f3660046131e0565b61146f565b34801561047057600080fd5b506102d373eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b61035d61049a3660046131e0565b6114bf565b3480156104ab57600080fd5b5061035d6104ba3660046131c7565b611818565b3480156104cb57600080fd5b506102806104da366004612ed7565b60076020526000908152604090205481565b3480156104f857600080fd5b5061035d61050736600461321d565b611856565b34801561051857600080fd5b50610280610527366004612ed7565b6119de565b34801561053857600080fd5b50610280611a06565b34801561054d57600080fd5b5061035d61055c366004612ed7565b611a5a565b34801561056d57600080fd5b5061028061057c3660046131c7565b611ae1565b34801561058d57600080fd5b5061028061059c3660046131c7565b611bd7565b3480156105ad57600080fd5b506102806105bc36600461321d565b600860209081526000928352604080842090915290825290205481565b3480156105e557600080fd5b506105ee611ce8565b6040516001600160e01b0319909116815260200161028a565b34801561061357600080fd5b50610300611d20565b34801561062857600080fd5b5061035d610637366004612ed7565b611d5f565b34801561064857600080fd5b50610280610657366004612f55565b611db6565b34801561066857600080fd5b5061032d610677366004612f55565b611f2f565b34801561068857600080fd5b50610691611f3d565b60408051948552602085019390935291830152606082015260800161028a565b3480156106bd57600080fd5b506102d3611fc8565b3480156106d257600080fd5b5061028060045481565b3480156106e857600080fd5b506002546102d3906001600160a01b031681565b34801561070857600080fd5b50610300611fe4565b34801561071d57600080fd5b506001546102d3906001600160a01b031681565b34801561073d57600080fd5b50610280612072565b34801561075257600080fd5b506102806107613660046131c7565b6120bc565b34801561077257600080fd5b5061035d6107813660046131c7565b61212a565b34801561079257600080fd5b506102806107a1366004613250565b61233c565b3480156107b257600080fd5b506102806107c136600461321d565b6123c9565b3480156107d257600080fd5b506102806107e1366004612ed7565b60066020526000908152604090205481565b3480156107ff57600080fd5b506000546102d3906001600160a01b031681565b6002546040516370a0823160e01b815230600482015260009182916001600160a01b03909116906370a0823190602401602060405180830381865afa158015610860573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610884919061328f565b905061088f81611bd7565b91505090565b60008054604051635d2dda2160e11b815273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6004820152670de0b6b3a7640000602482015282916001600160a01b03169063ba5bb44290604401602060405180830381865afa158015610900573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610924919061328f565b9050600081116109945760405162461bcd60e51b815260206004820152603060248201527f59617941674554483a204469766973696f6e206279207a65726f20696e206d6160448201526f1e105b5bdd5b9d151bd1195c1bdcda5d60821b60648201526084015b60405180910390fd5b60025460405163402d267d60e01b81526001600160a01b0385811660048301528392169063402d267d90602401602060405180830381865afa1580156109de573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a02919061328f565b610a1490670de0b6b3a76400006132be565b610a1e91906132d5565b9392505050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03805460609160008051602061380b83398151915291610a64906132f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610a90906132f7565b8015610add5780601f10610ab257610100808354040283529160200191610add565b820191906000526020600020905b815481529060010190602001808311610ac057829003601f168201915b505050505091505090565b600033610af6818585612413565b60019150505b92915050565b610b0a612420565b610b17335b600036612458565b60008211610b7d5760405162461bcd60e51b815260206004820152602d60248201527f59617941674554483a20617373657420616d6f756e74206d757374206265206760448201526c0726561746572207468616e203609c1b606482015260840161098b565b610b85611a06565b821015610ba45760405162461bcd60e51b815260040161098b90613331565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b03841601610c285760405162461bcd60e51b815260206004820152602e60248201527f59617941674554483a2055736520277374616b65272066756e6374696f6e206660448201526d6f7220455448207374616b696e6760901b606482015260840161098b565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610c71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c95919061328f565b9050610cac6001600160a01b03851633308661255e565b60015460405163095ea7b360e01b81526001600160a01b039182166004820152602481018590529085169063095ea7b3906044016020604051808303816000875af1158015610cff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d23919061339e565b506003546001600160a01b0390811690851603610da45760015460405163b8aa0db960e01b81526001600160a01b039091169063b8aa0db990610d6d908690600590600401613436565b600060405180830381600087803b158015610d8757600080fd5b505af1158015610d9b573d6000803e3d6000fd5b50505050610e0c565b60015460405163e8c3516b60e01b81526001600160a01b039091169063e8c3516b90610dd9908790879060059060040161344f565b600060405180830381600087803b158015610df357600080fd5b505af1158015610e07573d6000803e3d6000fd5b505050505b6002546040516370a0823160e01b815230600482015260009183916001600160a01b03909116906370a0823190602401602060405180830381865afa158015610e59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7d919061328f565b610e879190613476565b9050610e94335b826125cb565b3360009081526008602090815260408083206001600160a01b038916845290915281208054869290610ec7908490613489565b909155505060405133907f2811671e8806c57ecc14f0b4554cbf24f3c6c5e487cc3ce4ae67adc108ee47d090610f0490889088908690899061349c565b60405180910390a25050610f25600160008051602061382b83398151915255565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610f705750825b905060008267ffffffffffffffff166001148015610f8d5750303b155b905081158015610f9b575080155b15610fb95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610fe357845460ff60401b1916600160401b1785555b610ff48e8e8e8e8e8e8e8e8e612615565b831561103b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b5050505050505050505050505050565b611053612420565b6002546040805163b3c9e83d60e01b8152600481018690526024810185905260448101849052336064820152815160009384936001600160a01b039091169263b3c9e83d9260848083019392829003018187875af11580156110b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110dd91906134c9565b915091506110e83390565b6001600160a01b03167f987d620f307ff6b94d58743cb7a7509f24071586a77759b77c2d4e29f75a2f9a8383604051610f04929190918252602082015260400190565b600033611139858285612787565b6111448585856127e7565b506001949350505050565b600254604080516324e86d6760e01b815290516000926001600160a01b0316916324e86d679160048083019260209291908290030181865afa158015611199573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bd919061328f565b905090565b6111ca612420565b600081116111ea5760405162461bcd60e51b815260040161098b906134ed565b806111f4336119de565b101561125f5760405162461bcd60e51b815260206004820152603460248201527f59617941674554483a20496e73756666696369656e742061674554482062616c604482015273185b98d9481a5b881d5cd95c881858d8dbdd5b9d60621b606482015260840161098b565b6002546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa1580156112a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112cb919061328f565b10156112e95760405162461bcd60e51b815260040161098b90613534565b6112f4335b82612846565b60025460009081906001600160a01b0316637d41c86e84336040516001600160e01b031960e085901b16815260048101929092526001600160a01b0316602482015230604482015260640160408051808303816000875af115801561135d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138191906134c9565b9150915081600760006113913390565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546113c09190613489565b90915550506040805184815260208101849052808201839052905133917f6930caaa0f0843978bf16992d58b9fd54913ce2e45b8acdd34f5b44f95419db2919081900360600190a261141061114f565b60000361145357604080518481526020810184905233917f987d620f307ff6b94d58743cb7a7509f24071586a77759b77c2d4e29f75a2f9a910160405180910390a25b505061146c600160008051602061382b83398151915255565b50565b61147833610b0f565b600561148482826135cc565b507ff0803ab3831ef739bde280701a2f590226c9f9be34e57ff54483ad417ed23b2b816040516114b49190612f42565b60405180910390a150565b6114c7612420565b6000341161152b5760405162461bcd60e51b815260206004820152602b60248201527f59617941674554483a2045544820616d6f756e74206d7573742062652067726560448201526a061746572207468616e20360ac1b606482015260840161098b565b611533611a06565b3410156115525760405162461bcd60e51b815260040161098b90613331565b61155b33610895565b3411156115d05760405162461bcd60e51b815260206004820152603960248201527f59617941674554483a20616d6f756e74206d757374206265206c6f776572207460448201527f68616e206d617820616d6f756e7420746f206465706f73697400000000000000606482015260840161098b565b6000346115db610813565b6115e59190613489565b90506004548111156116435760405162461bcd60e51b815260206004820152602160248201527f59617941674554483a2045786365656473206d6178207374616b65206c696d696044820152601d60fa1b606482015260840161098b565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561168c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b0919061328f565b600154604051634e3c04bd60e01b81529192506001600160a01b031690634e3c04bd9034906116e49060059060040161368c565b6000604051808303818588803b1580156116fd57600080fd5b505af1158015611711573d6000803e3d6000fd5b50506002546040516370a0823160e01b8152306004820152600094508593506001600160a01b0390911691506370a0823190602401602060405180830381865afa158015611763573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611787919061328f565b6117919190613476565b905061179c33610e8e565b33600090815260066020526040812080543492906117bb908490613489565b909155505060405133907f66d612d12bb1902ec26fd9a4991d9d58d71d0580427497d62731e7527f1e01a4906117f69034908590899061369f565b60405180910390a250505061146c600160008051602061382b83398151915255565b61182133610b0f565b60048190556040518181527f1bb889c4bd0d0669d0702649c7c7fafab675399437fb55b8edfcbd8513436714906020016114b4565b61185f33610b0f565b6002546001600160a01b03908116908216036118bd5760405162461bcd60e51b815260206004820152601f60248201527f59617941674554483a2043616e6e6f7420776974686472617720616745544800604482015260640161098b565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611904573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611928919061328f565b90506000811161197a5760405162461bcd60e51b815260206004820152601f60248201527f59617941674554483a20546f6b656e2062616c616e6365206973207a65726f00604482015260640161098b565b61198e6001600160a01b038316848361287c565b604080516001600160a01b038085168252851660208201529081018290527fda0612d7ca9ff90ca7143a6021ba8938994f8d045b2834ae585fd07b27ea697c9060600160405180910390a1505050565b6001600160a01b0316600090815260008051602061380b833981519152602052604090205490565b60008060009054906101000a90046001600160a01b03166001600160a01b031663778fbe606040518163ffffffff1660e01b8152600401602060405180830381865afa158015611199573d6000803e3d6000fd5b33611a63611fc8565b6001600160a01b0316816001600160a01b031614611a9e5760405162d1953b60e31b81526001600160a01b038216600482015260240161098b565b816001600160a01b03163b600003611ad4576040516361798f2f60e11b81526001600160a01b038316600482015260240161098b565b611add826128ad565b5050565b60008054604051635d2dda2160e11b815273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee60048201526024810184905282916001600160a01b03169063ba5bb44290604401602060405180830381865afa158015611b45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b69919061328f565b60025460405163ef8b30f760e01b8152600481018390529192506001600160a01b03169063ef8b30f790602401602060405180830381865afa158015611bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1e919061328f565b60008054604051635d2dda2160e11b815273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6004820152670de0b6b3a7640000602482015282916001600160a01b03169063ba5bb44290604401602060405180830381865afa158015611c42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c66919061328f565b905060008111611cde5760405162461bcd60e51b815260206004820152603b60248201527f59617941674554483a204469766973696f6e206279207a65726f20696e20676560448201527f744578706563746564455448416d6f756e7466726f6d41674554480000000000606482015260840161098b565b80610a02846120bc565b6000805160206137eb833981519152805460009190600160a01b900460ff16611d1257600061088f565b638fb3603760e01b91505090565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace04805460609160008051602061380b83398151915291610a64906132f7565b611d6833610b0f565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527ff4b8e3358f75eb6ce408799d65388e12aa967f4dc41197df1e944b286fcc717c906020016114b4565b6003546000906001600160a01b0390811690841603611e435760025460405163ef8b30f760e01b8152600481018490526001600160a01b039091169063ef8b30f790602401602060405180830381865afa158015611e18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3c919061328f565b9050610afc565b60008054604051635d2dda2160e11b81526001600160a01b038681166004830152602482018690529091169063ba5bb44290604401602060405180830381865afa158015611e95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb9919061328f565b60025460405163ef8b30f760e01b8152600481018390529192506001600160a01b03169063ef8b30f790602401602060405180830381865afa158015611f03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f27919061328f565b915050610afc565b600033610af68185856127e7565b600080600080600260009054906101000a90046001600160a01b03166001600160a01b031663ca55a5576040518163ffffffff1660e01b8152600401608060405180830381865afa158015611f96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fba91906136be565b935093509350935090919293565b6000805160206137eb833981519152546001600160a01b031690565b60058054611ff1906132f7565b80601f016020809104026020016040519081016040528092919081815260200182805461201d906132f7565b801561206a5780601f1061203f5761010080835404028352916020019161206a565b820191906000526020600020905b81548152906001019060200180831161204d57829003601f168201915b505050505081565b600254604080516322f1fa3160e21b815290516000926001600160a01b031691638bc7e8c49160048083019260209291908290030181865afa158015611199573d6000803e3d6000fd5b60025460405163266d6a8360e11b8152600481018390526000916001600160a01b031690634cdad50690602401602060405180830381865afa158015612106573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afc919061328f565b612132612420565b61213b33610b0f565b6000811161215b5760405162461bcd60e51b815260040161098b906134ed565b80612165336119de565b10156121d95760405162461bcd60e51b815260206004820152603760248201527f59617941674554483a20496e73756666696369656e742079617941674554482060448201527f62616c616e636520696e2075736572206163636f756e74000000000000000000606482015260840161098b565b6002546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015612221573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612245919061328f565b10156122635760405162461bcd60e51b815260040161098b90613534565b61226c336112ee565b6002546001600160a01b031663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156122cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ef919061339e565b5060405181815233907f4896181ff8f4543cc00db9fe9b6fb7e6f032b7eb772c72ab1ec1b4d2e03b93699060200160405180910390a261146c600160008051602061382b83398151915255565b600254604051636e34549d60e11b81526004810186905260248101859052604481018490526001600160a01b038381166064830152600092169063dc68a93a90608401602060405180830381865afa15801561239c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123c0919061328f565b95945050505050565b6001600160a01b0391821660009081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b610f25838383600161290e565b60008051602061382b83398151915280546001190161245257604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b6000805160206137eb833981519152600080612493612475611fc8565b8730612485600460008a8c6136f4565b61248e9161371e565b6129f6565b91509150816125565763ffffffff81161561253357825460ff60a01b1916600160a01b1783556124c1611fc8565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016124f09392919061374e565b600060405180830381600087803b15801561250a57600080fd5b505af115801561251e573d6000803e3d6000fd5b5050845460ff60a01b19168555506125569050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161098b565b505050505050565b6040516001600160a01b0384811660248301528381166044830152606482018390526125c59186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050612b02565b50505050565b6001600160a01b0382166125f55760405163ec442f0560e01b81526000600482015260240161098b565b611add60008383612b65565b600160008051602061382b83398151915255565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561265b5750825b905060008267ffffffffffffffff1660011480156126785750303b155b905081158015612686575080155b156126a45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156126ce57845460ff60401b1916600160401b1785555b6126d88d8d612ca3565b6126e18e612cb5565b6126e9612cc6565b60056126f58c826135cc565b506004869055600080546001600160a01b03808d166001600160a01b031992831617909255600180548b8416908316179055600380548a841690831617905560028054928c1692909116919091179055831561103b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611032565b600061279384846123c9565b905060001981146125c557818110156127d857604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161098b565b6125c58484848403600061290e565b6001600160a01b03831661281157604051634b637e8f60e11b81526000600482015260240161098b565b6001600160a01b03821661283b5760405163ec442f0560e01b81526000600482015260240161098b565b610f25838383612b65565b6001600160a01b03821661287057604051634b637e8f60e11b81526000600482015260240161098b565b611add82600083612b65565b6040516001600160a01b03838116602483015260448201839052610f2591859182169063a9059cbb90606401612593565b6000805160206137eb83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60008051602061380b8339815191526001600160a01b0385166129475760405163e602df0560e01b81526000600482015260240161098b565b6001600160a01b03841661297157604051634a1406b160e11b81526000600482015260240161098b565b6001600160a01b038086166000908152600183016020908152604080832093881683529290522083905581156129ef57836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516129e691815260200190565b60405180910390a35b5050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612a65919061378e565b600060405180830381855afa9150503d8060008114612aa0576040519150601f19603f3d011682016040523d82523d6000602084013e612aa5565b606091505b50915091508115612af7576040815110612ad75780806020019051810190612acd91906137aa565b9094509250612af7565b6020815110612af75780806020019051810190612af4919061339e565b93505b505094509492505050565b6000612b176001600160a01b03841683612cd8565b90508051600014158015612b3c575080806020019051810190612b3a919061339e565b155b15610f2557604051635274afe760e01b81526001600160a01b038416600482015260240161098b565b60008051602061380b8339815191526001600160a01b038416612ba15781816002016000828254612b969190613489565b90915550612c139050565b6001600160a01b03841660009081526020829052604090205482811015612bf45760405163391434e360e21b81526001600160a01b0386166004820152602481018290526044810184905260640161098b565b6001600160a01b03851660009081526020839052604090209083900390555b6001600160a01b038316612c31576002810180548390039055612c50565b6001600160a01b03831660009081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612c9591815260200190565b60405180910390a350505050565b612cab612ce6565b611add8282612d2f565b612cbd612ce6565b61146c81612d80565b612cce612ce6565b612cd6612d91565b565b6060610a1e83836000612d99565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612cd657604051631afcd79f60e31b815260040160405180910390fd5b612d37612ce6565b60008051602061380b8339815191527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03612d7184826135cc565b50600481016125c583826135cc565b612d88612ce6565b61146c816128ad565b612601612ce6565b606081471015612dbe5760405163cd78605960e01b815230600482015260240161098b565b600080856001600160a01b03168486604051612dda919061378e565b60006040518083038185875af1925050503d8060008114612e17576040519150601f19603f3d011682016040523d82523d6000602084013e612e1c565b606091505b5091509150612e2c868383612e36565b9695505050505050565b606082612e4b57612e4682612e92565b610a1e565b8151158015612e6257506001600160a01b0384163b155b15612e8b57604051639996b31560e01b81526001600160a01b038516600482015260240161098b565b5080610a1e565b805115612ea25780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b0381168114612ed257600080fd5b919050565b600060208284031215612ee957600080fd5b610a1e82612ebb565b60005b83811015612f0d578181015183820152602001612ef5565b50506000910152565b60008151808452612f2e816020860160208601612ef2565b601f01601f19169290920160200192915050565b602081526000610a1e6020830184612f16565b60008060408385031215612f6857600080fd5b612f7183612ebb565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112612fa657600080fd5b813567ffffffffffffffff80821115612fc157612fc1612f7f565b604051601f8301601f19908116603f01168101908282118183101715612fe957612fe9612f7f565b8160405283815286602085880101111561300257600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561303757600080fd5b61304084612ebb565b925060208401359150604084013567ffffffffffffffff81111561306357600080fd5b61306f86828701612f95565b9150509250925092565b60008060008060008060008060006101208a8c03121561309857600080fd5b6130a18a612ebb565b985060208a013567ffffffffffffffff808211156130be57600080fd5b6130ca8d838e01612f95565b995060408c01359150808211156130e057600080fd5b6130ec8d838e01612f95565b985060608c013591508082111561310257600080fd5b5061310f8c828d01612f95565b96505061311e60808b01612ebb565b945061312c60a08b01612ebb565b935061313a60c08b01612ebb565b925061314860e08b01612ebb565b91506101008a013590509295985092959850929598565b60008060006060848603121561317457600080fd5b505081359360208301359350604090920135919050565b6000806000606084860312156131a057600080fd5b6131a984612ebb565b92506131b760208501612ebb565b9150604084013590509250925092565b6000602082840312156131d957600080fd5b5035919050565b6000602082840312156131f257600080fd5b813567ffffffffffffffff81111561320957600080fd5b61321584828501612f95565b949350505050565b6000806040838503121561323057600080fd5b61323983612ebb565b915061324760208401612ebb565b90509250929050565b6000806000806080858703121561326657600080fd5b84359350602085013592506040850135915061328460608601612ebb565b905092959194509250565b6000602082840312156132a157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610afc57610afc6132a8565b6000826132f257634e487b7160e01b600052601260045260246000fd5b500490565b600181811c9082168061330b57607f821691505b60208210810361332b57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252603b908201527f59617941674554483a20616d6f756e74206d757374206265206772656174657260408201527f207468616e206d696e20616d6f756e7420746f206465706f7369740000000000606082015260800190565b80518015158114612ed257600080fd5b6000602082840312156133b057600080fd5b610a1e8261338e565b600081546133c6816132f7565b8085526020600183811680156133e357600181146133fd5761342b565b60ff1985168884015283151560051b88018301955061342b565b866000528260002060005b858110156134235781548a8201860152908301908401613408565b890184019650505b505050505092915050565b82815260406020820152600061321560408301846133b9565b60018060a01b03841681528260208201526060604082015260006123c060608301846133b9565b81810381811115610afc57610afc6132a8565b80820180821115610afc57610afc6132a8565b60018060a01b0385168152836020820152826040820152608060608201526000612e2c6080830184612f16565b600080604083850312156134dc57600080fd5b505080516020909101519092909150565b60208082526027908201527f59617941674554483a20616d6f756e74206d75737420626520677265617465726040820152660207468616e20360cc1b606082015260800190565b60208082526030908201527f59617941674554483a20496e73756666696369656e742061674554482062616c60408201526f185b98d9481a5b8818dbdb9d1c9858dd60821b606082015260800190565b601f821115610f25576000816000526020600020601f850160051c810160208610156135ad5750805b601f850160051c820191505b81811015612556578281556001016135b9565b815167ffffffffffffffff8111156135e6576135e6612f7f565b6135fa816135f484546132f7565b84613584565b602080601f83116001811461362f57600084156136175750858301515b600019600386901b1c1916600185901b178555612556565b600085815260208120601f198616915b8281101561365e5788860151825594840194600190910190840161363f565b508582101561367c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526000610a1e60208301846133b9565b8381528260208201526060604082015260006123c06060830184612f16565b600080600080608085870312156136d457600080fd5b505082516020840151604085015160609095015191969095509092509050565b6000808585111561370457600080fd5b8386111561371157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156137465780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516137a0818460208701612ef2565b9190910192915050565b600080604083850312156137bd57600080fd5b6137c68361338e565b9150602083015163ffffffff811681146137df57600080fd5b80915050925092905056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0052c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220afb48c7b725967b2f62d6507474d4ff4c426a3661506b7c9a218b7db9125598b64736f6c63430008170033