[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AddressZero", "type": "error" }, { "inputs": [], "name": "BalanceZero", "type": "error" }, { "inputs": [], "name": "CooldownActive", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" } ], "name": "PRBMath_MulDiv18_Overflow", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "x", "type": "uint256" }, { "internalType": "uint256", "name": "y", "type": "uint256" }, { "internalType": "uint256", "name": "denominator", "type": "uint256" } ], "name": "PRBMath_MulDiv_Overflow", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "x", "type": "uint256" } ], "name": "PRBMath_UD60x18_Convert_Overflow", "type": "error" }, { "inputs": [ { "internalType": "UD60x18", "name": "x", "type": "uint256" } ], "name": "PRBMath_UD60x18_Exp2_InputTooBig", "type": "error" }, { "inputs": [ { "internalType": "UD60x18", "name": "x", "type": "uint256" } ], "name": "PRBMath_UD60x18_Log_InputTooSmall", "type": "error" }, { "inputs": [], "name": "SizeGreaterThanMax", "type": "error" }, { "inputs": [], "name": "StakeLate", "type": "error" }, { "inputs": [], "name": "StakeNotActive", "type": "error" }, { "inputs": [], "name": "StakeNotEnded", "type": "error" }, { "inputs": [ { "internalType": "enum Status", "name": "status", "type": "uint8" } ], "name": "StakeStatusAlreadySet", "type": "error" }, { "inputs": [], "name": "TermGreaterThanMax", "type": "error" }, { "inputs": [], "name": "TermZero", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" } ], "name": "WrongCaller", "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": [ { "components": [ { "internalType": "enum Status", "name": "status", "type": "uint8" }, { "internalType": "uint40", "name": "startTs", "type": "uint40" }, { "internalType": "uint40", "name": "deferralTs", "type": "uint40" }, { "internalType": "uint40", "name": "endTs", "type": "uint40" }, { "internalType": "uint16", "name": "term", "type": "uint16" }, { "internalType": "uint256", "name": "fenix", "type": "uint256" }, { "internalType": "uint256", "name": "shares", "type": "uint256" }, { "internalType": "uint256", "name": "payout", "type": "uint256" } ], "indexed": true, "internalType": "struct Stake", "name": "_stake", "type": "tuple" } ], "name": "DeferStake", "type": "event" }, { "anonymous": false, "inputs": [ { "components": [ { "internalType": "enum Status", "name": "status", "type": "uint8" }, { "internalType": "uint40", "name": "startTs", "type": "uint40" }, { "internalType": "uint40", "name": "deferralTs", "type": "uint40" }, { "internalType": "uint40", "name": "endTs", "type": "uint40" }, { "internalType": "uint16", "name": "term", "type": "uint16" }, { "internalType": "uint256", "name": "fenix", "type": "uint256" }, { "internalType": "uint256", "name": "shares", "type": "uint256" }, { "internalType": "uint256", "name": "payout", "type": "uint256" } ], "indexed": true, "internalType": "struct Stake", "name": "_stake", "type": "tuple" } ], "name": "EndStake", "type": "event" }, { "anonymous": false, "inputs": [ { "components": [ { "internalType": "uint40", "name": "id", "type": "uint40" }, { "internalType": "uint40", "name": "rewardTs", "type": "uint40" }, { "internalType": "uint256", "name": "fenix", "type": "uint256" }, { "internalType": "address", "name": "caller", "type": "address" } ], "indexed": true, "internalType": "struct Reward", "name": "reward", "type": "tuple" } ], "name": "FlushRewardPool", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": true, "internalType": "address", "name": "xenContract", "type": "address" }, { "indexed": true, "internalType": "address", "name": "tokenContract", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "xenAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "tokenAmount", "type": "uint256" } ], "name": "Redeemed", "type": "event" }, { "anonymous": false, "inputs": [ { "components": [ { "internalType": "enum Status", "name": "status", "type": "uint8" }, { "internalType": "uint40", "name": "startTs", "type": "uint40" }, { "internalType": "uint40", "name": "deferralTs", "type": "uint40" }, { "internalType": "uint40", "name": "endTs", "type": "uint40" }, { "internalType": "uint16", "name": "term", "type": "uint16" }, { "internalType": "uint256", "name": "fenix", "type": "uint256" }, { "internalType": "uint256", "name": "shares", "type": "uint256" }, { "internalType": "uint256", "name": "payout", "type": "uint256" } ], "indexed": true, "internalType": "struct Stake", "name": "_stake", "type": "tuple" } ], "name": "StartStake", "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": "uint256", "name": "_shareRate", "type": "uint256" } ], "name": "UpdateShareRate", "type": "event" }, { "inputs": [], "name": "ANNUAL_INFLATION_RATE", "outputs": [ { "internalType": "UD60x18", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MAX_STAKE_LENGTH_DAYS", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "XEN_ADDRESS", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "XEN_BURN_RATIO", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "amount", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "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": "xen", "type": "uint256" } ], "name": "burnXEN", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fenix", "type": "uint256" }, { "internalType": "uint256", "name": "term", "type": "uint256" } ], "name": "calculateBonus", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "enum Status", "name": "status", "type": "uint8" }, { "internalType": "uint40", "name": "startTs", "type": "uint40" }, { "internalType": "uint40", "name": "deferralTs", "type": "uint40" }, { "internalType": "uint40", "name": "endTs", "type": "uint40" }, { "internalType": "uint16", "name": "term", "type": "uint16" }, { "internalType": "uint256", "name": "fenix", "type": "uint256" }, { "internalType": "uint256", "name": "shares", "type": "uint256" }, { "internalType": "uint256", "name": "payout", "type": "uint256" } ], "internalType": "struct Stake", "name": "stake", "type": "tuple" } ], "name": "calculateEarlyPayout", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "enum Status", "name": "status", "type": "uint8" }, { "internalType": "uint40", "name": "startTs", "type": "uint40" }, { "internalType": "uint40", "name": "deferralTs", "type": "uint40" }, { "internalType": "uint40", "name": "endTs", "type": "uint40" }, { "internalType": "uint16", "name": "term", "type": "uint16" }, { "internalType": "uint256", "name": "fenix", "type": "uint256" }, { "internalType": "uint256", "name": "shares", "type": "uint256" }, { "internalType": "uint256", "name": "payout", "type": "uint256" } ], "internalType": "struct Stake", "name": "stake", "type": "tuple" } ], "name": "calculateLatePayout", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "bonus", "type": "uint256" } ], "name": "calculateShares", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fenix", "type": "uint256" } ], "name": "calculateSizeBonus", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "term", "type": "uint256" } ], "name": "calculateTimeBonus", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "cooldownUnlockTs", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "stakeIndex", "type": "uint256" }, { "internalType": "address", "name": "stakerAddress", "type": "address" } ], "name": "deferStake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "stakeIndex", "type": "uint256" } ], "name": "endStake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "equityPoolSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "equityPoolTotalShares", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "flushRewardPool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "genesisTs", "outputs": [ { "internalType": "uint40", "name": "", "type": "uint40" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "onTokenBurned", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "rewardCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "rewardFor", "outputs": [ { "components": [ { "internalType": "uint40", "name": "id", "type": "uint40" }, { "internalType": "uint40", "name": "rewardTs", "type": "uint40" }, { "internalType": "uint256", "name": "fenix", "type": "uint256" }, { "internalType": "address", "name": "caller", "type": "address" } ], "internalType": "struct Reward", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "rewardPoolSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "shareRate", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "stakerAddress", "type": "address" } ], "name": "stakeCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "stakerAddress", "type": "address" }, { "internalType": "uint256", "name": "stakeIndex", "type": "uint256" } ], "name": "stakeFor", "outputs": [ { "components": [ { "internalType": "enum Status", "name": "status", "type": "uint8" }, { "internalType": "uint40", "name": "startTs", "type": "uint40" }, { "internalType": "uint40", "name": "deferralTs", "type": "uint40" }, { "internalType": "uint40", "name": "endTs", "type": "uint40" }, { "internalType": "uint16", "name": "term", "type": "uint16" }, { "internalType": "uint256", "name": "fenix", "type": "uint256" }, { "internalType": "uint256", "name": "shares", "type": "uint256" }, { "internalType": "uint256", "name": "payout", "type": "uint256" } ], "internalType": "struct Stake", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "fenix", "type": "uint256" }, { "internalType": "uint256", "name": "term", "type": "uint256" } ], "name": "startStake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "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": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
60a06040526000600655670de0b6b3a7640000600755600060085560006009553480156200002c57600080fd5b506040518060400160405280600581526020016408c8a9c92b60db1b815250604051806040016040528060068152602001650c28c8a9c92b60d31b81525081600390816200007b919062000157565b5060046200008a828262000157565b5050504264ffffffffff8116608052620000a990621baf809062000223565b6005556200024b565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000dd57607f821691505b602082108103620000fe57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200015257600081815260208120601f850160051c810160208610156200012d5750805b601f850160051c820191505b818110156200014e5782815560010162000139565b5050505b505050565b81516001600160401b03811115620001735762000173620000b2565b6200018b81620001848454620000c8565b8462000104565b602080601f831160018114620001c35760008415620001aa5750858301515b600019600386901b1c1916600185901b1785556200014e565b600085815260208120601f198616915b82811015620001f457888601518255948401946001909101908401620001d3565b5085821015620002135787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200024557634e487b7160e01b600052601160045260246000fd5b92915050565b608051613a566200026760003960006105f70152613a566000f3fe608060405234801561001057600080fd5b50600436106102925760003560e01c8063615a89a311610160578063a457c2d7116100d8578063dd62ed3e1161008c578063e3af6d0a11610071578063e3af6d0a146105f2578063e6c2cbb11461062f578063fb802a651461064257600080fd5b8063dd62ed3e14610599578063e1e48eb3146105df57600080fd5b8063ae94d2b5116100bd578063ae94d2b514610547578063bc1d089a14610550578063d8af78fc1461059057600080fd5b8063a457c2d714610521578063a9059cbb1461053457600080fd5b80637862affa1161012f5780639159e862116101145780639159e862146104a457806395d89b41146104ad578063a1472b15146104b557600080fd5b80637862affa14610489578063790854251461049c57600080fd5b8063615a89a31461041a5780636630a05e1461042d5780636f72fd201461044057806370a082311461045357600080fd5b806323b872dd1161020e57806339509351116101c25780633ec16194116101a75780633ec16194146103ec578063543746b1146103ff5780635cdc12f81461041257600080fd5b806339509351146103d0578063397b3378146103e357600080fd5b80633027e3c7116101f35780633027e3c714610382578063313ce5671461038b57806333060d901461039a57600080fd5b806323b872dd1461034f5780632ee409081461036257600080fd5b80630da63e3f1161026557806318160ddd1161024a57806318160ddd1461032b5780631a6cef14146103335780631c3fd1671461033c57600080fd5b80630da63e3f146102fc578063128bfcae1461031857600080fd5b806301ffc9a71461029757806306fdde03146102bf578063095ea7b3146102d45780630cbe28d6146102e7575b600080fd5b6102aa6102a5366004613494565b61064b565b60405190151581526020015b60405180910390f35b6102c76106e4565b6040516102b691906134d6565b6102aa6102e236600461356b565b610776565b6102fa6102f5366004613595565b61078e565b005b61030a66397beef356e6c481565b6040519081526020016102b6565b6102fa6103263660046135ae565b610bb7565b60025461030a565b61030a61271081565b6102fa61034a3660046135d0565b610f0f565b6102aa61035d3660046135fc565b61142b565b61037561037036600461356b565b611451565b6040516102b691906136a2565b61030a60085481565b604051601281526020016102b6565b61030a6103a8366004613715565b73ffffffffffffffffffffffffffffffffffffffff166000908152600a602052604090205490565b6102aa6103de36600461356b565b61158b565b61030a60065481565b61030a6103fa366004613595565b6115d7565b6102fa61040d36600461356b565b6115f4565b6102fa61173c565b61030a610428366004613766565b6119a3565b6102fa61043b366004613595565b611ab2565b61030a61044e3660046135ae565b611b55565b61030a610461366004613715565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b61030a610497366004613595565b611b9e565b600b5461030a565b61030a611e6181565b6102c7611bfd565b6104c86104c3366004613595565b611c0c565b6040516102b69190600060808201905064ffffffffff808451168352806020850151166020840152506040830151604083015273ffffffffffffffffffffffffffffffffffffffff606084015116606083015292915050565b6102aa61052f36600461356b565b611caf565b6102aa61054236600461356b565b611d8b565b61030a60055481565b61056b73c0c5aa69dbe4d6dddfbc89c0957686ec60f2438981565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102b6565b61030a60095481565b61030a6105a7366004613840565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b61030a6105ed366004613595565b611d99565b6106197f000000000000000000000000000000000000000000000000000000000000000081565b60405164ffffffffff90911681526020016102b6565b61030a61063d366004613766565b611e2d565b61030a60075481565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f543746b10000000000000000000000000000000000000000000000000000000014806106de57507fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a700000000000000000000000000000000000000000000000000000000145b92915050565b6060600380546106f39061386a565b80601f016020809104026020016040519081016040528092919081815260200182805461071f9061386a565b801561076c5780601f106107415761010080835404028352916020019161076c565b820191906000526020600020905b81548152906001019060200180831161074f57829003601f168201915b5050505050905090565b600033610784818585611f2f565b5060019392505050565b6107988133610f0f565b336000908152600a602052604081208054839081106107b9576107b96138bd565b600091825260209091206040805161010081019091526004909202018054829060ff1660028111156107ed576107ed613638565b60028111156107fe576107fe613638565b8152815464ffffffffff61010082048116602084015266010000000000008204811660408401526b010000000000000000000000820416606083015261ffff700100000000000000000000000000000000909104166080820152600182015460a082015260028083015460c083015260039092015460e0909101529091508151600281111561088f5761088f613638565b036108d25760026040517fe04981d90000000000000000000000000000000000000000000000000000000081526004016108c991906138ec565b60405180910390fd5b6108e0338260e001516120e3565b60006109026108ff6108f38460a0015190565b60e08501515b906121d6565b90565b905060075481111561093f57600781905560405181907f371aff3c55ca45101819dbd6486bc608c1fe30cd77bd8ffef45a5429b024576090600090a25b6040805161010081019091526000908060028152602001846020015164ffffffffff168152602001846040015164ffffffffff168152602001846060015164ffffffffff168152602001846080015161ffff1681526020018460a0015181526020018460c0015181526020018460e00151815250905080600a60006109c13390565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208581548110610a0c57610a0c6138bd565b600091825260209091208251600490920201805490919082907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001836002811115610a5b57610a5b613638565b0217905550602082015181546040808501516060860151608087015161ffff16700100000000000000000000000000000000027fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff64ffffffffff9283166b01000000000000000000000002167fffffffffffffffffffffffffffff00000000000000ffffffffffffffffffffff9383166601000000000000027fffffffffffffffffffffffffffffffffffffffffff0000000000ffffffffffff9390971661010002929092167fffffffffffffffffffffffffffffffffffffffffff00000000000000000000ff9095169490941794909417169290921717825560a0830151600183015560c0830151600283015560e09092015160039091015551610b819082906138fa565b604051908190038120907fd862f5fdbfa9636a4c1666d8348a7ae982c2350cc4c2894d901687f57c59c75b90600090a250505050565b81600003610bf1576040517f836fd8a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600003610c2b576040517fb38ff31300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b426000610c3b62015180846139a2565b610c4590426139b9565b90506000610c538585611b55565b90506000610c60826115d7565b90506000610c7061016d876108f9565b90506000610ca56108ff610c9d84610c97670de0b6b3a764000066397beef356e6c46121ee565b906121fd565b8a5b9061230f565b90506000610cb66108ff8386610c9f565b90508160086000828254610cca91906139b9565b925050819055508060096000828254610ce391906139b9565b90915550506040805161010081018252600080825264ffffffffff8a8116602080850191909152838501839052908a16606084015261ffff8c16608084015260a083018d905260c0830185905260e08301829052338252600a81529281208054600180820183559183529390912082516004909402018054929384939192909183917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0090911690836002811115610d9c57610d9c613638565b02179055506020820151815460408401516060850151608086015161ffff16700100000000000000000000000000000000027fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff64ffffffffff9283166b01000000000000000000000002167fffffffffffffffffffffffffffff00000000000000ffffffffffffffffffffff9383166601000000000000027fffffffffffffffffffffffffffffffffffffffffff0000000000ffffffffffff9390961661010002929092167fffffffffffffffffffffffffffffffffffffffffff00000000000000000000ff9094169390931793909317169190911717815560a0820151600182015560c0820151600282015560e090910151600390910155610ec5610ebf3390565b8b61231e565b80604051610ed391906138fa565b604051908190038120907f49735babbf75685a1d5f3d305826f3c9df6d8cc12b0f9de5867f95675ac38c3a90600090a250505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a60205260409020548210610f6d576040517fb0dd466e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a60205260408120805484908110610fa457610fa46138bd565b600091825260209091206040805161010081019091526004909202018054829060ff166002811115610fd857610fd8613638565b6002811115610fe957610fe9613638565b8152815464ffffffffff61010082048116602084015266010000000000008204811660408401526b010000000000000000000000820416606083015261ffff700100000000000000000000000000000000909104166080820152600182015460a0820152600282015460c082015260039091015460e090910152905060008151600281111561107a5761107a613638565b1461108457505050565b806060015164ffffffffff16421080156110b457503373ffffffffffffffffffffffffffffffffffffffff831614155b1561110657335b6040517f29507dbf00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90911660048201526024016108c9565b6000816060015164ffffffffff1642111561112e576111276108ff83611e2d565b905061113d565b61113a6108ff836119a3565b90505b600061115561114b60095490565b60c08501516108f9565b90506000611163828461230f565b905060006111776108ff83610c9f60085490565b905060006040518061010001604052806001600281111561119a5761119a613638565b8152602001876020015164ffffffffff1681526020014264ffffffffff168152602001876060015164ffffffffff168152602001876080015161ffff1681526020018760a0015181526020018760c00151815260200183815250905080600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208981548110611247576112476138bd565b600091825260209091208251600490920201805490919082907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600183600281111561129657611296613638565b02179055506020820151815460408401516060850151608086015161ffff16700100000000000000000000000000000000027fffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffffffff64ffffffffff9283166b01000000000000000000000002167fffffffffffffffffffffffffffff00000000000000ffffffffffffffffffffff9383166601000000000000027fffffffffffffffffffffffffffffffffffffffffff0000000000ffffffffffff9390961661010002929092167fffffffffffffffffffffffffffffffffffffffffff00000000000000000000ff9094169390931793909317169190911717815560a0820151600182015560c080830151600283015560e090920151600390910155860151600980546000906113c59084906139cc565b9250508190555081600860008282546113de91906139cc565b90915550506040516113f19082906138fa565b604051908190038120907f9e6e56d0de3dd1d5b1ecba216b5e45e232e331aafcec0799fe0221b2b4e0ec6790600090a25050505050505050565b6000336114398582856124da565b6114448585856125b1565b60019150505b9392505050565b604080516101008101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e0830182905273ffffffffffffffffffffffffffffffffffffffff86168252600a9052919091208054839081106114c5576114c56138bd565b600091825260209091206040805161010081019091526004909202018054829060ff1660028111156114f9576114f9613638565b600281111561150a5761150a613638565b81528154610100810464ffffffffff908116602084015266010000000000008204811660408401526b0100000000000000000000008204166060830152700100000000000000000000000000000000900461ffff166080820152600182015460a0820152600282015460c082015260039091015460e0909101529392505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919061078490829086906115d29087906139b9565b611f2f565b6000806115ec6115e660075490565b846108f9565b90508061144a565b3373c0c5aa69dbe4d6dddfbc89c0957686ec60f243891461161557336110bb565b73ffffffffffffffffffffffffffffffffffffffff8216611662576040517f9fabe1c100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060000361169c576040517f836fd8a700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006116aa61271083613a0e565b905080600660008282546116be91906139b9565b909155506116ce905083826120e3565b6040805183815260208101839052309173c0c5aa69dbe4d6dddfbc89c0957686ec60f243899173ffffffffffffffffffffffffffffffffffffffff8716917fda4c370e4f539b8e19d66144cad73d70fbf440a544e56ff38e28e38ed47801a8910160405180910390a4505050565b600554421015611778576040517faa9a98df00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006277f8806005544261178c91906139cc565b6117969190613a0e565b9050600654600860008282546117ac91906139b9565b909155506117bf90506277f880826139a2565b6117cc906277f8806139b9565b600560008282546117dd91906139b9565b9250508190555060006040518060800160405280600b8054905064ffffffffff1681526020014264ffffffffff168152602001600654815260200161181f3390565b73ffffffffffffffffffffffffffffffffffffffff90811690915260006006819055600b8054600181018255915282517f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9600390920291820180546020808701805164ffffffffff9586167fffffffffffffffffffffffffffffffffffffffffffff000000000000000000009094168417650100000000009187169190910217909355604080880180517f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01dba8801556060808a0180517f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01dbb90990180547fffffffffffffffffffffffff000000000000000000000000000000000000000016998b16999099179098558251948552945190951691830191909152925192810192909252915190921690820152909150608001604051908190038120907f4d21482c1d529d00b9e27bc6452492f43bb15630fbb706690945731858edae0f90600090a25050565b6000816020015164ffffffffff164210806119d157506000825160028111156119ce576119ce613638565b14155b15611a08576040517fb0dd466e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816060015164ffffffffff16421115611a4d576040517fe3b243e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000826020015164ffffffffff1642611a6691906139cc565b9050600062015180846080015161ffff16611a8191906139a2565b90506000611aa56002611a9f611a9685612820565b6108f987612820565b9061289e565b9050805b95945050505050565b73c0c5aa69dbe4d6dddfbc89c0957686ec60f24389639dc29fac336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff909116600482015260248101849052604401600060405180830381600087803b158015611b3a57600080fd5b505af1158015611b4e573d6000803e3d6000fd5b5050505050565b600080611b646108ff85611d99565b90506000611b746108ff85611b9e565b90506000611b94611b8d6725b946ebc0b36173846121fd565b849061230f565b9695505050505050565b6000611e61821115611bdc576040517fe44ae5b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006115ec611bee611e615b856108f9565b670de0b6b3a7640000906121ee565b6060600480546106f39061386a565b604080516080810182526000808252602082018190529181018290526060810191909152600b8281548110611c4357611c436138bd565b6000918252602091829020604080516080810182526003909302909101805464ffffffffff808216855265010000000000909104169383019390935260018301549082015260029091015473ffffffffffffffffffffffffffffffffffffffff16606082015292915050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015611d73576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016108c9565b611d808286868403611f2f565b506001949350505050565b6000336107848185856125b1565b6000611dc660037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6139cc565b8210611dfe576040517f2d493f1300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6106de6108ff611e1e611e1985670de0b6b3a76400006121ee565b6128fe565b670de0b6b3a764000090612925565b6000816020015164ffffffffff16421080611e5b5750600082516002811115611e5857611e58613638565b14155b15611e92576040517fb0dd466e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816060015164ffffffffff16421015611ed7576040517f0f3f8ebf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000826060015164ffffffffff1642611ef091906139cc565b905062ed4e00811115611f065750600092915050565b6000611f196003611a9f62ed4e00611be8565b90506000611aa5670de0b6b3a764000083612925565b73ffffffffffffffffffffffffffffffffffffffff8316611fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108c9565b73ffffffffffffffffffffffffffffffffffffffff8216612074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016108c9565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8216612160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108c9565b806002600082825461217291906139b9565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600061144a6108ff84670de0b6b3a764000085612934565b600061144a6108ff83856139b9565b6000828281830361222857801561221557600061221f565b670de0b6b3a76400005b925050506106de565b670de0b6b3a7640000820361224957670de0b6b3a7640000925050506106de565b8060000361226357670de0b6b3a7640000925050506106de565b670de0b6b3a7640000810361227c5784925050506106de565b670de0b6b3a76400008211156122ad576122a66122a161229b87612a3f565b8661230f565b612ba2565b9250612307565b60006122cb6108ff846ec097ce7bc90715b34b9f1000000000613a0e565b905060006122e46122a16122de84612a3f565b8861230f565b90506123026108ff826ec097ce7bc90715b34b9f1000000000613a0e565b945050505b505092915050565b600061144a6108ff8484612c19565b73ffffffffffffffffffffffffffffffffffffffff82166123c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016108c9565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015612477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016108c9565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016120d6565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146125ab578181101561259e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108c9565b6125ab8484848403611f2f565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316612654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016108c9565b73ffffffffffffffffffffffffffffffffffffffff82166126f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016108c9565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054818110156127ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016108c9565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36125ab565b6000612854670de0b6b3a76400007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613a0e565b821115612890576040517f1cd951a7000000000000000000000000000000000000000000000000000000008152600481018390526024016108c9565b50670de0b6b3a76400000290565b60008281600184166128b857670de0b6b3a76400006128ba565b815b9050600184901c93505b83156128f8576128d48283612c19565b915060018416156128ec576128e98183612c19565b90505b600184901c93506128c4565b80611aa9565b60006106de826ec097ce7bc90715b34b9f100000000081612921576129216139df565b0490565b600061144a6108ff83856139cc565b600080807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8587098587029250828110838203039150508060000361298c57838281612982576129826139df565b049250505061144a565b8381106129d6576040517f63a057780000000000000000000000000000000000000000000000000000000081526004810187905260248101869052604481018590526064016108c9565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b600081670de0b6b3a7640000811015612a87576040517f36d32ef0000000000000000000000000000000000000000000000000000000008152600481018490526024016108c9565b6000612b13670de0b6b3a7640000830460016fffffffffffffffffffffffffffffffff821160071b91821c67ffffffffffffffff811160061b90811c63ffffffff811160051b90811c61ffff811160041b90811c60ff8111600390811b91821c600f811160021b90811c918211871b91821c969096119490961792909217171791909117919091171790565b9050670de0b6b3a7640000810282821c7ffffffffffffffffffffffffffffffffffffffffffffffffff21f494c589c00008101612b535750949350505050565b671bc16d674ec800006706f05b59d3b200005b8015612b9657670de0b6b3a7640000838002049250818310612b8e579283019260019290921c915b60011c612b66565b50919695505050505050565b600081680a688906bd8affffff811115612beb576040517fb3b6ba1f000000000000000000000000000000000000000000000000000000008152600481018490526024016108c9565b6000612c03670de0b6b3a7640000604084901b613a0e565b9050612c116108ff82612d20565b949350505050565b600080807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84860984860292508281108382030391505080600003612c6b5750670de0b6b3a7640000900490506106de565b670de0b6b3a76400008110612cb6576040517f5173648d00000000000000000000000000000000000000000000000000000000815260048101869052602481018590526044016108c9565b6000670de0b6b3a7640000858709620400008185030493109091037d40000000000000000000000000000000000000000000000000000000000002919091177faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac106690291505092915050565b7780000000000000000000000000000000000000000000000067ff00000000000000821615612e4157678000000000000000821615612d685768016a09e667f3bcc9090260401c5b674000000000000000821615612d87576801306fe0a31b7152df0260401c5b672000000000000000821615612da6576801172b83c7d517adce0260401c5b671000000000000000821615612dc55768010b5586cf9890f62a0260401c5b670800000000000000821615612de4576801059b0d31585743ae0260401c5b670400000000000000821615612e0357680102c9a3e778060ee70260401c5b670200000000000000821615612e225768010163da9fb33356d80260401c5b670100000000000000821615612e4157680100b1afa5abcbed610260401c5b66ff000000000000821615612f40576680000000000000821615612e6e5768010058c86da1c09ea20260401c5b6640000000000000821615612e8c576801002c605e2e8cec500260401c5b6620000000000000821615612eaa57680100162f3904051fa10260401c5b6610000000000000821615612ec8576801000b175effdc76ba0260401c5b6608000000000000821615612ee657680100058ba01fb9f96d0260401c5b6604000000000000821615612f045768010002c5cc37da94920260401c5b6602000000000000821615612f22576801000162e525ee05470260401c5b6601000000000000821615612f405768010000b17255775c040260401c5b65ff00000000008216156130365765800000000000821615612f6b576801000058b91b5bc9ae0260401c5b65400000000000821615612f8857680100002c5c89d5ec6d0260401c5b65200000000000821615612fa55768010000162e43f4f8310260401c5b65100000000000821615612fc257680100000b1721bcfc9a0260401c5b65080000000000821615612fdf5768010000058b90cf1e6e0260401c5b65040000000000821615612ffc576801000002c5c863b73f0260401c5b6502000000000082161561301957680100000162e430e5a20260401c5b65010000000000821615613036576801000000b1721835510260401c5b64ff000000008216156131235764800000000082161561305f57680100000058b90c0b490260401c5b64400000000082161561307b5768010000002c5c8601cc0260401c5b642000000000821615613097576801000000162e42fff00260401c5b6410000000008216156130b35768010000000b17217fbb0260401c5b6408000000008216156130cf576801000000058b90bfce0260401c5b6404000000008216156130eb57680100000002c5c85fe30260401c5b6402000000008216156131075768010000000162e42ff10260401c5b64010000000082161561312357680100000000b17217f80260401c5b63ff00000082161561320757638000000082161561314a5768010000000058b90bfc0260401c5b6340000000821615613165576801000000002c5c85fe0260401c5b632000000082161561318057680100000000162e42ff0260401c5b631000000082161561319b576801000000000b17217f0260401c5b63080000008216156131b657680100000000058b90c00260401c5b63040000008216156131d15768010000000002c5c8600260401c5b63020000008216156131ec576801000000000162e4300260401c5b63010000008216156132075768010000000000b172180260401c5b62ff00008216156132e2576280000082161561322c576801000000000058b90c0260401c5b6240000082161561324657680100000000002c5c860260401c5b622000008216156132605768010000000000162e430260401c5b6210000082161561327a57680100000000000b17210260401c5b620800008216156132945768010000000000058b910260401c5b620400008216156132ae576801000000000002c5c80260401c5b620200008216156132c857680100000000000162e40260401c5b620100008216156132e2576801000000000000b1720260401c5b61ff008216156133b45761800082161561330557680100000000000058b90260401c5b61400082161561331e5768010000000000002c5d0260401c5b612000821615613337576801000000000000162e0260401c5b6110008216156133505768010000000000000b170260401c5b610800821615613369576801000000000000058c0260401c5b61040082161561338257680100000000000002c60260401c5b61020082161561339b57680100000000000001630260401c5b6101008216156133b457680100000000000000b10260401c5b60ff82161561347d5760808216156133d557680100000000000000590260401c5b60408216156133ed576801000000000000002c0260401c5b602082161561340557680100000000000000160260401c5b601082161561341d576801000000000000000b0260401c5b600882161561343557680100000000000000060260401c5b600482161561344d57680100000000000000030260401c5b600282161561346557680100000000000000010260401c5b600182161561347d57680100000000000000010260401c5b670de0b6b3a76400000260409190911c60bf031c90565b6000602082840312156134a657600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461144a57600080fd5b600060208083528351808285015260005b81811015613503578581018301518582016040015282016134e7565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461356657600080fd5b919050565b6000806040838503121561357e57600080fd5b61358783613542565b946020939093013593505050565b6000602082840312156135a757600080fd5b5035919050565b600080604083850312156135c157600080fd5b50508035926020909101359150565b600080604083850312156135e357600080fd5b823591506135f360208401613542565b90509250929050565b60008060006060848603121561361157600080fd5b61361a84613542565b925061362860208501613542565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811061369e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9052565b6000610100820190506136b6828451613667565b602083015164ffffffffff8082166020850152806040860151166040850152806060860151166060850152505061ffff608084015116608083015260a083015160a083015260c083015160c083015260e083015160e083015292915050565b60006020828403121561372757600080fd5b61144a82613542565b80356003811061356657600080fd5b803564ffffffffff8116811461356657600080fd5b803561ffff8116811461356657600080fd5b600061010080838503121561377a57600080fd5b6040519081019067ffffffffffffffff821181831017156137c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b816040526137d184613730565b81526137df6020850161373f565b60208201526137f06040850161373f565b60408201526138016060850161373f565b606082015261381260808501613754565b608082015260a084013560a082015260c084013560c082015260e084013560e0820152809250505092915050565b6000806040838503121561385357600080fd5b61385c83613542565b91506135f360208401613542565b600181811c9082168061387e57607f821691505b6020821081036138b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602081016106de8284613667565b613905818351613667565b600064ffffffffff8060208501511660208401528060408501511660408401528060608501511660608401525061ffff608084015116608083015260a083015160a083015260c083015160c083015261396860e0830160e0850151815260200190565b505061010001919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820281158282048414176106de576106de613973565b808201808211156106de576106de613973565b818103818111156106de576106de613973565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613a44577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea164736f6c6343000813000a