[ { "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": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "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" }, { "inputs": [], "name": "DELAYED_UNSTAKE_LOCKUP_PERIOD", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "QUICK_UNSTAKE_PENALTY_PERCENT", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "addressesFrozen", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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": "_amount", "type": "uint256" } ], "name": "claimDelayedUnstake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "cookie", "outputs": [ { "internalType": "contract CookieS2", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "cookieBalance", "outputs": [ { "internalType": "uint256", "name": "balance", "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": [], "name": "freezeAddresses", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "frozenCookie", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_share", "type": "uint256" } ], "name": "prepareDelayedUnstake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_share", "type": "uint256" } ], "name": "quickUnstake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "contract CookieS2", "name": "_cookie", "type": "address" } ], "name": "setAddresses", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "stake", "outputs": [], "stateMutability": "nonpayable", "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": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "unlockAmounts", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "unlockTimestamps", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ]
60806040523480156200001157600080fd5b50604080518082018252600d81526c5374616b656420436f6f6b696560981b60208083019182528351808501909452600784526673434f4f4b494560c81b9084015281519192916200006691600391620000f5565b5080516200007c906004906020840190620000f5565b50505062000099620000936200009f60201b60201c565b620000a3565b620001d8565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000103906200019b565b90600052602060002090601f01602090048101928262000127576000855562000172565b82601f106200014257805160ff191683800117855562000172565b8280016001018555821562000172579182015b828111156200017257825182559160200191906001019062000155565b506200018092915062000184565b5090565b5b8082111562000180576000815560010162000185565b600181811c90821680620001b057607f821691505b60208210811415620001d257634e487b7160e01b600052602260045260246000fd5b50919050565b6113e080620001e86000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f9578063a694fc3a11610097578063edb46a1b11610071578063edb46a1b146103bc578063efe6066f146103cf578063f2fde38b146103e2578063fc2759bf146103f557600080fd5b8063a694fc3a1461035d578063a9059cbb14610370578063dd62ed3e1461038357600080fd5b806384e22df8116100d357806384e22df8146103245780638da5cb5b1461033157806395d89b4114610342578063a457c2d71461034a57600080fd5b8063715018a6146103005780637a4deb8f1461030857806381d3c4351461031157600080fd5b806339509351116101665780634fb8118c116101405780634fb8118c14610279578063634b1897146102a457806370076329146102b757806370a08231146102d757600080fd5b806339509351146102545780634c7cc901146102675780634c8351ae1461027157600080fd5b806315639834116101a2578063156398341461021457806318160ddd1461022a57806323b872dd14610232578063313ce5671461024557600080fd5b8063035f1c02146101c957806306fdde03146101d3578063095ea7b3146101f1575b600080fd5b6101d1610415565b005b6101db610457565b6040516101e89190611155565b60405180910390f35b6102046101ff3660046111bf565b6104e9565b60405190151581526020016101e8565b61021c605a81565b6040519081526020016101e8565b60025461021c565b6102046102403660046111eb565b6104ff565b604051601281526020016101e8565b6102046102623660046111bf565b6105a9565b61021c6202a30081565b61021c6105e5565b60065461028c906001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b6101d16102b236600461122c565b610674565b61021c6102c5366004611245565b60096020526000908152604090205481565b61021c6102e5366004611245565b6001600160a01b031660009081526020819052604090205490565b6101d16106eb565b61021c60075481565b6101d161031f366004611245565b610721565b600a546102049060ff1681565b6005546001600160a01b031661028c565b6101db6107b7565b6102046103583660046111bf565b6107c6565b6101d161036b36600461122c565b61085f565b61020461037e3660046111bf565b61092c565b61021c610391366004611262565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101d16103ca36600461122c565b610939565b6101d16103dd36600461122c565b610a9f565b6101d16103f0366004611245565b610b0c565b61021c610403366004611245565b60086020526000908152604090205481565b6005546001600160a01b031633146104485760405162461bcd60e51b815260040161043f9061129b565b60405180910390fd5b600a805460ff19166001179055565b606060038054610466906112d0565b80601f0160208091040260200160405190810160405280929190818152602001828054610492906112d0565b80156104df5780601f106104b4576101008083540402835291602001916104df565b820191906000526020600020905b8154815290600101906020018083116104c257829003601f168201915b5050505050905090565b60006104f6338484610ba7565b50600192915050565b600061050c848484610ccc565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105915760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161043f565b61059e8533858403610ba7565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104f69185906105e0908690611321565b610ba7565b6007546006546040516370a0823160e01b8152306004820152600092916001600160a01b0316906370a082319060240160206040518083038186803b15801561062d57600080fd5b505afa158015610641573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106659190611339565b61066f9190611352565b905090565b600061067f82610e9b565b905061068b3383610ec6565b33600090815260086020526040812080548392906106aa908490611321565b909155506106bd90506202a30042611321565b33600090815260096020526040812091909155600780548392906106e2908490611321565b90915550505050565b6005546001600160a01b031633146107155760405162461bcd60e51b815260040161043f9061129b565b61071f600061100c565b565b6005546001600160a01b0316331461074b5760405162461bcd60e51b815260040161043f9061129b565b600a5460ff16156107955760405162461bcd60e51b815260206004820152601460248201527320b2323932b9b9b2b99030b93290333937bd32b760611b604482015260640161043f565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b606060048054610466906112d0565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156108485760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161043f565b6108553385858403610ba7565b5060019392505050565b600061086a60025490565b905080158061087e575061087c6105e5565b155b156108925761088d338361105e565b6108bd565b60006108af61089f6105e5565b6108a9858561113d565b90611149565b90506108bb338261105e565b505b6006546040516317d5759960e31b8152336004820152306024820152604481018490526001600160a01b039091169063beabacc8906064015b600060405180830381600087803b15801561091057600080fd5b505af1158015610924573d6000803e3d6000fd5b505050505050565b60006104f6338484610ccc565b336000908152600960205260409020544210156109985760405162461bcd60e51b815260206004820152601760248201527f434f4f4b4945206e6f742079657420756e6c6f636b6564000000000000000000604482015260640161043f565b336000908152600860205260409020548111156109f75760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e74206c6f636b65642062616c616e63650000000000604482015260640161043f565b3360009081526008602052604081208054839290610a16908490611352565b90915550506006546040516317d5759960e31b8152306004820152336024820152604481018390526001600160a01b039091169063beabacc890606401600060405180830381600087803b158015610a6d57600080fd5b505af1158015610a81573d6000803e3d6000fd5b505050508060076000828254610a979190611352565b909155505050565b6000610ac360646108a9610ab4605a83611352565b610abd86610e9b565b9061113d565b9050610acf3383610ec6565b6006546040516317d5759960e31b8152306004820152336024820152604481018390526001600160a01b039091169063beabacc8906064016108f6565b6005546001600160a01b03163314610b365760405162461bcd60e51b815260040161043f9061129b565b6001600160a01b038116610b9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161043f565b610ba48161100c565b50565b6001600160a01b038316610c095760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161043f565b6001600160a01b038216610c6a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161043f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610d305760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161043f565b6001600160a01b038216610d925760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161043f565b6001600160a01b03831660009081526020819052604090205481811015610e0a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161043f565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610e41908490611321565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e8d91815260200190565b60405180910390a350505050565b600080610ea760025490565b9050610ebf816108a9610eb86105e5565b869061113d565b9392505050565b6001600160a01b038216610f265760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161043f565b6001600160a01b03821660009081526020819052604090205481811015610f9a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161043f565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610fc9908490611352565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610cbf565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166110b45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161043f565b80600260008282546110c69190611321565b90915550506001600160a01b038216600090815260208190526040812080548392906110f3908490611321565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000610ebf8284611369565b6000610ebf8284611388565b600060208083528351808285015260005b8181101561118257858101830151858201604001528201611166565b81811115611194576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114610ba457600080fd5b600080604083850312156111d257600080fd5b82356111dd816111aa565b946020939093013593505050565b60008060006060848603121561120057600080fd5b833561120b816111aa565b9250602084013561121b816111aa565b929592945050506040919091013590565b60006020828403121561123e57600080fd5b5035919050565b60006020828403121561125757600080fd5b8135610ebf816111aa565b6000806040838503121561127557600080fd5b8235611280816111aa565b91506020830135611290816111aa565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806112e457607f821691505b6020821081141561130557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156113345761133461130b565b500190565b60006020828403121561134b57600080fd5b5051919050565b6000828210156113645761136461130b565b500390565b60008160001904831182151516156113835761138361130b565b500290565b6000826113a557634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220c65050792979763d2fa5e90db21eb0eedb0df5c88098cb3de0721b21acb26e2864736f6c63430008090033