[ { "inputs": [ { "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "uint256", "name": "_max_stake_growth_weeks", "type": "uint256" }, { "internalType": "uint256", "name": "_start_time", "type": "uint256" }, { "internalType": "address", "name": "_owner", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "caller", "type": "address" }, { "indexed": false, "internalType": "enum YearnBoostedStaker.ApprovalStatus", "name": "status", "type": "uint8" } ], "name": "ApprovedCallerSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "week", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newUserWeight", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "weightAdded", "type": "uint256" } ], "name": "Staked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "week", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newUserWeight", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "weightRemoved", "type": "uint256" } ], "name": "Unstaked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "staker", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "WeightedStakerSet", "type": "event" }, { "inputs": [], "name": "MAX_STAKE_GROWTH_WEEKS", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MAX_WEEK_BIT", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "START_TIME", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "accountData", "outputs": [ { "internalType": "uint112", "name": "realizedStake", "type": "uint112" }, { "internalType": "uint112", "name": "pendingStake", "type": "uint112" }, { "internalType": "uint16", "name": "lastUpdateWeek", "type": "uint16" }, { "internalType": "uint8", "name": "updateWeeksBitmap", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "week", "type": "uint256" } ], "name": "accountWeeklyMaxStake", "outputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "week", "type": "uint256" } ], "name": "accountWeeklyToRealize", "outputs": [ { "internalType": "uint128", "name": "weightPersistent", "type": "uint128" }, { "internalType": "uint128", "name": "weight", "type": "uint128" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "caller", "type": "address" } ], "name": "approvedCaller", "outputs": [ { "internalType": "enum YearnBoostedStaker.ApprovalStatus", "name": "approvalStatus", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "staker", "type": "address" } ], "name": "approvedWeightedStaker", "outputs": [ { "internalType": "bool", "name": "approved", "type": "bool" } ], "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": "address", "name": "_account", "type": "address" } ], "name": "checkpointAccount", "outputs": [ { "components": [ { "internalType": "uint112", "name": "realizedStake", "type": "uint112" }, { "internalType": "uint112", "name": "pendingStake", "type": "uint112" }, { "internalType": "uint16", "name": "lastUpdateWeek", "type": "uint16" }, { "internalType": "uint8", "name": "updateWeeksBitmap", "type": "uint8" } ], "internalType": "struct YearnBoostedStaker.AccountData", "name": "acctData", "type": "tuple" }, { "internalType": "uint256", "name": "weight", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_week", "type": "uint256" } ], "name": "checkpointAccountWithLimit", "outputs": [ { "components": [ { "internalType": "uint112", "name": "realizedStake", "type": "uint112" }, { "internalType": "uint112", "name": "pendingStake", "type": "uint112" }, { "internalType": "uint16", "name": "lastUpdateWeek", "type": "uint16" }, { "internalType": "uint8", "name": "updateWeeksBitmap", "type": "uint8" } ], "internalType": "struct YearnBoostedStaker.AccountData", "name": "acctData", "type": "tuple" }, { "internalType": "uint256", "name": "weight", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "checkpointGlobal", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "getAccountWeight", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_week", "type": "uint256" } ], "name": "getAccountWeightAt", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getGlobalWeight", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "week", "type": "uint256" } ], "name": "getGlobalWeightAt", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWeek", "outputs": [ { "internalType": "uint256", "name": "week", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "globalGrowthRate", "outputs": [ { "internalType": "uint112", "name": "", "type": "uint112" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "globalLastUpdateWeek", "outputs": [ { "internalType": "uint16", "name": "", "type": "uint16" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "week", "type": "uint256" } ], "name": "globalWeeklyMaxStake", "outputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "week", "type": "uint256" } ], "name": "globalWeeklyToRealize", "outputs": [ { "internalType": "uint128", "name": "weightPersistent", "type": "uint128" }, { "internalType": "uint128", "name": "weight", "type": "uint128" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_caller", "type": "address" }, { "internalType": "enum YearnBoostedStaker.ApprovalStatus", "name": "_status", "type": "uint8" } ], "name": "setApprovedCaller", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_staker", "type": "address" }, { "internalType": "bool", "name": "_approved", "type": "bool" } ], "name": "setWeightedStaker", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "stake", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "stakeAsMaxWeighted", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "stakeFor", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "stakeToken", "outputs": [ { "internalType": "contract IERC20", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_token", "type": "address" } ], "name": "sweep", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_pendingOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "address", "name": "_receiver", "type": "address" } ], "name": "unstake", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "address", "name": "_receiver", "type": "address" } ], "name": "unstakeFor", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" } ]
610120604052348015610010575f80fd5b50604051612be8380380612be883398101604081905261002f916101bb565b600980546001600160a01b0319166001600160a01b0383169081179091556040517f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163905f90a26001600160a01b03841660e08190526040805163313ce56760e01b8152905163313ce567916004808201926020929091908290030181865afa1580156100bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100e191906101fe565b60ff166101005282158015906100f8575060078311155b6101395760405162461bcd60e51b815260206004820152600d60248201526c496e76616c6964207765656b7360981b60448201526064015b60405180910390fd5b608083905260ff6001841b1660a0525f829003610159574260c052610197565b428211156101915760405162461bcd60e51b81526020600482015260056024820152640854185cdd60da1b6044820152606401610130565b60c08290525b50505050610225565b80516001600160a01b03811681146101b6575f80fd5b919050565b5f805f80608085870312156101ce575f80fd5b6101d7856101a0565b935060208501519250604085015191506101f3606086016101a0565b905092959194509250565b5f6020828403121561020e575f80fd5b815160ff8116811461021e575f80fd5b9392505050565b60805160a05160c05160e051610100516129246102c45f395f61039801525f81816104340152818161078c0152818161125301528181611a86015261218101525f81816105b50152610f1401525f8181610473015281816109d2015281816109f60152611d3b01525f818161033f015281816110cf01528181611438015281816114940152818161183c01528181611cc10152611f1001526129245ff3fe608060405234801561000f575f80fd5b5060043610610213575f3560e01c806370a082311161011f578063a4733df9116100a9578063deb906e711610079578063deb906e7146105d7578063e30c39781461065a578063e399f29f1461066d578063eecbc2ae146106a0578063f2fde38b146106da575f80fd5b8063a4733df914610582578063a694fc3a14610595578063b48e9519146105a8578063ddaa26ad146105b0575f80fd5b8063874d6d81116100ef578063874d6d81146104cb57806388ba63ba146104d35780638da5cb5b1461053157806395255285146105445780639e94080e1461056f575f80fd5b806370a082311461049557806379ba5097146104a8578063802c4a0f146104b05780638381e182146104b8575f80fd5b80632ee40908116101a057806349d1818d1161017057806349d1818d146103df5780634b3b140a146103f2578063510e995d1461040557806351ed6a301461042f5780636f68fa1e1461046e575f80fd5b80632ee40908146103615780633011ef5714610374578063313ce567146103935780633ea01b34146103cc575f80fd5b8063143d7084116101e6578063143d7084146102c457806318160ddd146102f6578063231aed7c146102ff57806328f1ae5114610312578063293405011461033a575f80fd5b806301681a6214610217578063026800d01461022c57806307f93a381461025257806312cf9dad14610265575b5f80fd5b61022a61022536600461256f565b6106ed565b005b61023f61023a366004612588565b6107f7565b6040519081526020015b60405180910390f35b61023f6102603660046125c1565b6108ae565b6102786102733660046125c1565b610a7c565b6040805183516001600160701b039081168252602080860151909116908201528382015161ffff169181019190915260609283015160ff1692810192909252608082015260a001610249565b6102e66102d236600461256f565b600c6020525f908152604090205460ff1681565b6040519015158152602001610249565b61023f60085481565b61022a61030d3660046125f9565b610b4a565b60045461032790600160701b900461ffff1681565b60405161ffff9091168152602001610249565b61023f7f000000000000000000000000000000000000000000000000000000000000000081565b61023f61036f3660046125c1565b610bd2565b61023f61038236600461262e565b60076020525f908152604090205481565b6103ba7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610249565b61023f6103da36600461256f565b610c87565b61022a6103ed366004612645565b610c94565b61023f61040036600461262e565b610d27565b61023f6104133660046125c1565b600360209081525f928352604080842090915290825290205481565b6104567f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610249565b6103ba7f000000000000000000000000000000000000000000000000000000000000000081565b61023f6104a336600461256f565b610df7565b61022a610e7e565b61023f610ef1565b61023f6104c6366004612672565b610f02565b61023f610f0e565b6105116104e13660046125c1565b600260209081525f92835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610249565b600954610456906001600160a01b031681565b600454610557906001600160701b031681565b6040516001600160701b039091168152602001610249565b61027861057d36600461256f565b610f39565b61023f6105903660046125c1565b610ff6565b61023f6105a336600461262e565b6112dd565b61023f6112e8565b61023f7f000000000000000000000000000000000000000000000000000000000000000081565b6106236105e536600461256f565b5f602081905290815260409020546001600160701b0380821691600160701b810490911690600160e01b810461ffff1690600160f01b900460ff1684565b604080516001600160701b03958616815294909316602085015261ffff9091169183019190915260ff166060820152608001610249565b600a54610456906001600160a01b031681565b61051161067b36600461262e565b60066020525f90815260409020546001600160801b0380821691600160801b90041682565b6106cd6106ae36600461269c565b600b60209081525f928352604080842090915290825290205460ff1681565b60405161024991906126d8565b61022a6106e836600461256f565b611303565b6009546001600160a01b031633146107205760405162461bcd60e51b8152600401610717906126fe565b60405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610764573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107889190612723565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036107d3576008546107d0908261274e565b90505b80156107f3576009546107f3906001600160a01b0384811691168361134f565b5050565b5f336001600160a01b0385161461089b576001600160a01b0384165f908152600b6020908152604080832033845290915290205460ff166003816003811115610842576108426126c4565b148061085f5750600281600381111561085d5761085d6126c4565b145b6108995760405162461bcd60e51b815260206004820152600b60248201526a10a832b936b4b9b9b4b7b760a91b6044820152606401610717565b505b6108a68484846113b7565b949350505050565b5f6108b7610f0e565b8211156108c557505f610a76565b6001600160a01b0383165f9081526020818152604091829020825160808101845290546001600160701b038082168352600160701b82041692820192909252600160e01b820461ffff16928101839052600160f01b90910460ff16606082015290838110610958575050506001600160a01b0382165f908152600160209081526040808320848452909152902054610a76565b6001600160a01b0385165f90815260016020908152604080832061ffff8516845282528220549084015190916001600160701b03909116908190036109a257509250610a76915050565b60608401515b868461ffff161015610a6e576001909301926109c48284612761565b925060018160ff16901b90507f000000000000000000000000000000000000000000000000000000000000000060ff167f0000000000000000000000000000000000000000000000000000000000000000821660ff1603610a69576001600160a01b0388165f90815260026020908152604080832061ffff88168452909152902054610a6090600160801b90046001600160801b03168361274e565b91508115610a6e575b6109a8565b509093505050505b92915050565b604080516080810182525f80825260208201819052918101829052606081018290529080610aa8610f0e565b9050808410610ab5578093505b610abf8585611abc565b6001600160a01b039096165f9081526020818152604091829020835181549285015193850151606086015160ff16600160f01b0260ff60f01b1961ffff909216600160e01b029190911662ffffff60e01b196001600160701b03968716600160701b026001600160e01b03199096169690931695909517939093171692909217179055959350505050565b6009546001600160a01b03163314610b745760405162461bcd60e51b8152600401610717906126fe565b6001600160a01b0382165f818152600c6020908152604091829020805460ff191685151590811790915591519182527f386b58ddc1936aa97344d1a8d49c247eec866f85d00106bd7d0b516079819c9f910160405180910390a25050565b5f336001600160a01b03841614610c76576001600160a01b0383165f908152600b6020908152604080832033845290915290205460ff166003816003811115610c1d57610c1d6126c4565b1480610c3a57506001816003811115610c3857610c386126c4565b145b610c745760405162461bcd60e51b815260206004820152600b60248201526a10a832b936b4b9b9b4b7b760a91b6044820152606401610717565b505b610c808383611e49565b9392505050565b5f610a7682610260610f0e565b335f908152600b602090815260408083206001600160a01b03861684529091529020805482919060ff19166001836003811115610cd357610cd36126c4565b0217905550816001600160a01b0316336001600160a01b03167fcdadcd1f1a942380f3ff00a651eee9878ae0c68bc11b4abb3b2c96d82477161883604051610d1b91906126d8565b60405180910390a35050565b5f80610d31610f0e565b905080831115610d4357505f92915050565b60045461ffff600160701b820416906001600160701b0316818511610d77575050505f918252506005602052604090205490565b61ffff82165f9081526005602052604081205490829003610d9b5795945050505050565b858361ffff161015610dee57600190920191610db78282612761565b61ffff84165f90815260066020526040902054909150610de790600160801b90046001600160801b03168361274e565b9150610d9b565b95945050505050565b6001600160a01b0381165f90815260208181526040808320815160808101835290546001600160701b03808216808452600160701b8304909116948301859052600160e01b820461ffff1693830193909352600160f01b900460ff16606082015291610e639190612774565b610e6e90600261279b565b6001600160701b03169392505050565b600a546001600160a01b03163314610ea85760405162461bcd60e51b8152600401610717906126fe565b60098054336001600160a01b03199182168117909255600a805490911690556040517f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163905f90a2565b5f610efd610400610f0e565b905090565b5f610c803384846113b7565b62093a807f000000000000000000000000000000000000000000000000000000000000000042030490565b604080516080810182525f808252602082018190529181018290526060810182905290610f6d83610f68610f0e565b611abc565b6001600160a01b039094165f9081526020818152604091829020835181549285015193850151606086015160ff16600160f01b0260ff60f01b1961ffff909216600160e01b029190911662ffffff60e01b196001600160701b03968716600160701b026001600160e01b0319909616969093169590951793909317169290921717905593915050565b335f908152600c602052604081205460ff166110465760405162461bcd60e51b815260206004820152600f60248201526e10b0b8383937bb32b229ba30b5b2b960891b6044820152606401610717565b60018211801561105c57506001600160701b0382105b6110785760405162461bcd60e51b8152600401610717906127c6565b5f611081610f0e565b90505f8061108f8684611abc565b915091505f61109d8461220d565b835160011988169791925060019190911c90819085906110be908390612774565b6001600160701b03169052506110f57f00000000000000000000000000000000000000000000000000000000000000006001612761565b6110ff90826127ee565b6001600160a01b0389165f908152600360209081526040808320898452909152812080549293508992909190611136908490612761565b90915550505f8581526007602052604081208054899290611158908490612761565b9091555061116890508184612761565b6001600160a01b0389165f90815260016020908152604080832089845290915290205561119e816001600160701b038416612761565b5f868152600560209081526040808320939093556001600160a01b038b16825281815282822087518154928901519489015160608a015160ff16600160f01b0260ff60f01b1961ffff909216600160e01b029190911662ffffff60e01b196001600160701b03978816600160701b026001600160e01b031990961697909316969096179390931716939093171790915560088054899290611240908490612761565b9091555061127b90506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308a612311565b846001600160a01b0389167f9cfd25589d1eb8ad71e342a86a8524e83522e3936c0803048c08f6d9ad974f40896112b28588612761565b604080519283526020830191909152810185905260600160405180910390a350949695505050505050565b5f610a763383611e49565b5f806112f2610f0e565b90506112fd8161220d565b91505090565b6009546001600160a01b0316331461132d5760405162461bcd60e51b8152600401610717906126fe565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6040516001600160a01b0383166024820152604481018290526113b290849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261234f565b505050565b5f6001831180156113ce57506001600160701b0383105b6113ea5760405162461bcd60e51b8152600401610717906127c6565b5f6113f3610f0e565b90505f6114008683611abc565b50905061140c8261220d565b5060608101516ffffffffffffffffffffffffffffffffe8616955f9060011c60ff83161561180e575f5b7f0000000000000000000000000000000000000000000000000000000000000000816001600160801b031610156118035760016001600160801b0382161b60ff808216868316909116036117fa575f6001600160801b0383166114b97f00000000000000000000000000000000000000000000000000000000000000008a612761565b6114c3919061274e565b6001600160a01b038d165f9081526002602090815260408083208484529091529020549091506001600160801b03600160801b909104811690851681101561163b57611510846001612805565b61151a9082612825565b6115249087612805565b6001600160a01b038e165f908152600260209081526040808320868452825280832080546001600160801b03908116909155600690925290912080549298508392909160109161157d918591600160801b900416612848565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550836001600160801b03165f03611626576001600160a01b038d165f908152600260209081526040808320858452825280832080546001600160801b03191690556006909152812080548392906116019084906001600160801b0316612848565b92506101000a8154816001600160801b0302191690836001600160801b031602179055505b958218956116348186612848565b94506117f7565b611646846001612805565b6116509086612825565b61165a9087612805565b6001600160a01b038e165f9081526002602090815260408083208684529091529020805491975086916010906116a1908490600160801b90046001600160801b0316612848565b92506101000a8154816001600160801b0302191690836001600160801b031602179055508460065f8481526020019081526020015f205f0160108282829054906101000a90046001600160801b03166116fa9190612848565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550836001600160801b03165f036117ce576001600160a01b038d165f908152600260209081526040808320858452909152812080548792906117699084906001600160801b0316612848565b82546101009290920a6001600160801b038181021990931691831602179091555f848152600660205260408120805489945090926117a991859116612848565b92506101000a8154816001600160801b0302191690836001600160801b031602179055505b806001600160801b0316856001600160801b0316036117ec57958218955b5f9450505050611803565b50505b50600101611436565b5060ff831660608501525b5f6118266001600160801b03831660018b901c61274e565b90506001600160801b038216156118a0576118627f00000000000000000000000000000000000000000000000000000000000000006001612761565b61186c9083612825565b6118769084612805565b925081855f018181516118899190612868565b6001600160701b03169052505f60208601526118bf565b80856020018181516118b29190612868565b6001600160701b03169052505b6001600160a01b038a165f9081526020818152604080832088518154938a0151928a015160608b015160ff16600160f01b0260ff60f01b1961ffff909216600160e01b029190911662ffffff60e01b196001600160701b03958616600160701b026001600160e01b03199097169386169390931795909517919091169390931792909217909155600480548493919261195a91859116612868565b92506101000a8154816001600160701b0302191690836001600160701b03160217905550826001600160801b031660055f8881526020019081526020015f205f8282546119a7919061274e565b90915550506001600160a01b038a165f9081526001602090815260408083208984529091528120546119e3906001600160801b0386169061274e565b6001600160a01b038c165f9081526001602090815260408083208b84529091528120829055600880549293508c92909190611a1f90849061274e565b9091555050604080518b8152602081018390526001600160801b03861681830152905188916001600160a01b038e16917fdcfd2b4017d03f7e541021db793b2f9b31e4acdee005f789e52853c390e3e9629181900360600190a3611aad6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168a8c61134f565b50979998505050505050505050565b60408051608080820183525f808352602080840182905283850182905260609384018290526001600160a01b038716825281815284822085519384018652546001600160701b038082168552600160701b82041691840191909152600160e01b810461ffff16948301859052600160f01b900460ff169282019290925291808403611b6a576001600160a01b0385165f90815260016020908152604080832093835292905220549050611e42565b808411611bcb5760405162461bcd60e51b815260206004820152602960248201527f737065636966696564207765656b206973206f6c646572207468616e206c61736044820152683a103ab83230ba329760b91b6064820152608401610717565b602083015183516001600160701b0391821691165f829003611c8c578015611c49576001600160a01b0387165f90815260016020908152604080832086845290915290205493505b85831015611c49576001600160a01b0387165f908152600160208181526040808420969092018084529590529020849055611c13565b5050506001600160a01b0384165f9081526020819052604090819020805461ffff60e01b1916600160e01b61ffff87169081029190911790915590830152611e42565b6001600160a01b0387165f908152600160209081526040808320868452909152812054606087015190955090611ceb88611ce67f000000000000000000000000000000000000000000000000000000000000000088612761565b612422565b90505b80851015611dc957600190940193611d068487612761565b6001600160a01b038a165f9081526001602081815260408084208a85529091529091208290559096506101fe92901b918216917f000000000000000000000000000000000000000000000000000000000000000060ff811660fe919092161603611dc4576001600160a01b0389165f908152600260209081526040808320888452909152902054600160801b90046001600160801b0316611da7818661274e565b9450611db38185612761565b9350845f03611dc25750611dc9565b505b611cee565b5b87851015611e00576001600160a01b0389165f908152600160208181526040808420989092018084529790529020869055611dca565b6040518060800160405280846001600160701b03168152602001856001600160701b031681526020018961ffff1681526020018360ff16815250965050505050505b9250929050565b5f600182118015611e6057506001600160701b0382105b611e7c5760405162461bcd60e51b8152600401610717906127c6565b5f611e85610f0e565b90505f80611e938684611abc565b915091505f611ea18461220d565b90505f600187901c9050600181901b96508084602001818151611ec49190612774565b6001600160701b039081169091526004805484935090915f91611ee991859116612774565b92506101000a8154816001600160701b0302191690836001600160701b031602179055505f7f000000000000000000000000000000000000000000000000000000000000000086611f3a9190612761565b6001600160a01b038a165f9081526002602090815260408083208484528252918290208251808401909352546001600160801b038082168452600160801b9091041690820181815292935090918491611f94908390612805565b6001600160801b0316905250805183908290611fb1908390612805565b6001600160801b039081169091526001600160a01b038c165f9081526002602090815260408083208784528252808320865196830151968516600160801b97861688021790556006825291829020825180840190935254808416835294909404909116928101838152909285925061202a908390612805565b6001600160801b0316905250805183908290612047908390612805565b6001600160801b039081169091525f8481526006602090815260409091208451918501518316600160801b0291909216179055506120858386612761565b6001600160a01b038b165f9081526001602090815260408083208b84529091529020556120bb836001600160701b038616612761565b5f8881526005602090815260408083209390935560608901805160011760ff90811682526001600160a01b038f1684528383528484208b518154948d0151968d015193516001600160701b039182166001600160e01b031990961695909517600160701b91909716029590951762ffffff60e01b1916600160e01b61ffff9093169290920260ff60f01b191691909117600160f01b929091169190910217909155600880548b929061216e908490612761565b909155506121a990506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308c612311565b866001600160a01b038b167f9cfd25589d1eb8ad71e342a86a8524e83522e3936c0803048c08f6d9ad974f408b6121e0878a612761565b604080519283526020830191909152810187905260600160405180910390a3509698975050505050505050565b60045461ffff600160701b8204165f8181526005602052604081205490926001600160701b0316908084036122665750506004805461ffff909416600160701b0261ffff60701b1990941693909317909255505f919050565b848361ffff160361227957949350505050565b848361ffff1610156122d9576001909201916122958282612761565b61ffff84165f90815260056020908152604080832084905560069091529020549091506122d290600160801b90046001600160801b03168361274e565b9150612279565b6004805461ffff909616600160701b026001600160801b03199096166001600160701b03909316929092179490941790555090919050565b6040516001600160a01b03808516602483015283166044820152606481018290526123499085906323b872dd60e01b9060840161137b565b50505050565b5f6123a3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166124379092919063ffffffff16565b905080515f14806123c35750808060200190518101906123c39190612888565b6113b25760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610717565b5f8183106124305781610c80565b5090919050565b60606108a684845f85855f80866001600160a01b0316858760405161245c91906128a3565b5f6040518083038185875af1925050503d805f8114612496576040519150601f19603f3d011682016040523d82523d5f602084013e61249b565b606091505b50915091506124ac878383876124b7565b979650505050505050565b606083156125255782515f0361251e576001600160a01b0385163b61251e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610717565b50816108a6565b6108a6838381511561253a5781518083602001fd5b8060405162461bcd60e51b815260040161071791906128b9565b80356001600160a01b038116811461256a575f80fd5b919050565b5f6020828403121561257f575f80fd5b610c8082612554565b5f805f6060848603121561259a575f80fd5b6125a384612554565b9250602084013591506125b860408501612554565b90509250925092565b5f80604083850312156125d2575f80fd5b6125db83612554565b946020939093013593505050565b80151581146125f6575f80fd5b50565b5f806040838503121561260a575f80fd5b61261383612554565b91506020830135612623816125e9565b809150509250929050565b5f6020828403121561263e575f80fd5b5035919050565b5f8060408385031215612656575f80fd5b61265f83612554565b9150602083013560048110612623575f80fd5b5f8060408385031215612683575f80fd5b8235915061269360208401612554565b90509250929050565b5f80604083850312156126ad575f80fd5b6126b683612554565b915061269360208401612554565b634e487b7160e01b5f52602160045260245ffd5b60208101600483106126f857634e487b7160e01b5f52602160045260245ffd5b91905290565b6020808252600b908201526a08585d5d1a1bdc9a5e995960aa1b604082015260600190565b5f60208284031215612733575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610a7657610a7661273a565b80820180821115610a7657610a7661273a565b6001600160701b038181168382160190808211156127945761279461273a565b5092915050565b6001600160701b038181168382160280821691908281146127be576127be61273a565b505092915050565b6020808252600e908201526d1a5b9d985b1a5908185b5bdd5b9d60921b604082015260600190565b8082028115828204841417610a7657610a7661273a565b6001600160801b038181168382160190808211156127945761279461273a565b6001600160801b038181168382160280821691908281146127be576127be61273a565b6001600160801b038281168282160390808211156127945761279461273a565b6001600160701b038281168282160390808211156127945761279461273a565b5f60208284031215612898575f80fd5b8151610c80816125e9565b5f82518060208501845e5f920191825250919050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f8301168401019150509291505056fea2646970667358221220180194f9f524c1d6029655d5882e89835eaed26badc389608a2d0be58cb0f1cb64736f6c63430008190033000000000000000000000000fcc5c47be19d06bf83eb04298b026f81069ff65b00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000feb4acf3df3cdea7399794d0869ef76a6efaff52