[ { "inputs": [ { "internalType": "contract IStaking", "name": "staking_", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "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": "_maxTaxSwap", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "_taxSwapThreshold", "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": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "recover", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "ta", "type": "uint256" } ], "name": "setTaxSwapThreshold", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "staking", "outputs": [ { "internalType": "contract IStaking", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "pure", "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" }, { "stateMutability": "payable", "type": "receive" } ]
6080604052601460055560146006556005600755600560085560196009556019600a556019600b556000600c556009600a6200003c9190620004c6565b6200004e906509184e72a000620005b1565b600d556200005f6009600a620004c6565b62000071906509184e72a000620005b1565b600e553480156200008157600080fd5b506040516200193b3803806200193b833981016040819052620000a49162000430565b620000b8620000b2620003cd565b620003d1565b600480546001600160a01b0319166001600160a01b038316179055620000e16009600a620004c6565b620000f49066038d7ea4c67fff620005b1565b6001600062000102620003cd565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506001600360006200013c6200042160201b60201c565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260038452828120805486166001908117909155868316825290839020805490951617909355600f80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790819055815163c45a015560e01b8152915193169263c45a015592600480840193919291829003018186803b158015620001ef57600080fd5b505afa15801562000204573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022a919062000430565b6001600160a01b031663c9c6539630600f60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200028857600080fd5b505afa1580156200029d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c3919062000430565b6040518363ffffffff1660e01b8152600401620002e292919062000456565b602060405180830381600087803b158015620002fd57600080fd5b505af115801562000312573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000338919062000430565b601080546001600160a01b0319166001600160a01b039290921691909117905562000362620003cd565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200039c6009600a620004c6565b620003af9066038d7ea4c67fff620005b1565b604051620003be919062000470565b60405180910390a35062000602565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031690565b60006020828403121562000442578081fd5b81516200044f81620005e9565b9392505050565b6001600160a01b0392831681529116602082015260400190565b90815260200190565b80825b60018086116200048d5750620004bd565b818704821115620004a257620004a2620005d3565b80861615620004b057918102915b9490941c9380026200047c565b94509492505050565b60006200044f60001960ff851684600082620004e5575060016200044f565b81620004f4575060006200044f565b81600181146200050d576002811462000518576200054c565b60019150506200044f565b60ff8411156200052c576200052c620005d3565b6001841b915084821115620005455762000545620005d3565b506200044f565b5060208310610133831016604e8410600b841016171562000584575081810a838111156200057e576200057e620005d3565b6200044f565b62000593848484600162000479565b808604821115620005a857620005a8620005d3565b02949350505050565b6000816000190483118215151615620005ce57620005ce620005d3565b500290565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114620005ff57600080fd5b50565b61132980620006126000396000f3fe6080604052600436106101025760003560e01c8063715018a611610095578063bf474bed11610064578063bf474bed14610282578063ce74602414610297578063dd62ed3e146102ac578063de2aa57d146102cc578063f2fde38b146102ec57610109565b8063715018a6146102215780638da5cb5b1461023857806395d89b411461024d578063a9059cbb1461026257610109565b806323b872dd116100d157806323b872dd1461019d578063313ce567146101bd5780634cf088d9146101df57806370a082311461020157610109565b806306fdde031461010e578063095ea7b3146101395780630faee56f1461016657806318160ddd1461018857610109565b3661010957005b600080fd5b34801561011a57600080fd5b5061012361030c565b6040516101309190610de8565b60405180910390f35b34801561014557600080fd5b50610159610154366004610d6a565b61032e565b6040516101309190610ddd565b34801561017257600080fd5b5061017b61034b565b60405161013091906110a1565b34801561019457600080fd5b5061017b610351565b3480156101a957600080fd5b506101596101b8366004610d2a565b610375565b3480156101c957600080fd5b506101d26103eb565b604051610130919061111a565b3480156101eb57600080fd5b506101f46103f0565b6040516101309190610db0565b34801561020d57600080fd5b5061017b61021c366004610cba565b6103ff565b34801561022d57600080fd5b5061023661041a565b005b34801561024457600080fd5b506101f461042e565b34801561025957600080fd5b5061012361043d565b34801561026e57600080fd5b5061015961027d366004610d6a565b61045c565b34801561028e57600080fd5b5061017b610470565b3480156102a357600080fd5b50610236610476565b3480156102b857600080fd5b5061017b6102c7366004610cf2565b610487565b3480156102d857600080fd5b506102366102e7366004610d95565b6104b2565b3480156102f857600080fd5b50610236610307366004610cba565b6104c4565b60408051808201909152600881526708ac2e4dc408aa8960c31b602082015290565b600061034261033b610507565b848461050b565b50600192915050565b600e5481565b600061035f6009600a6111a6565b6103709066038d7ea4c67fff611277565b905090565b60006103828484846105bf565b6103e08461038e610507565b6001600160a01b038716600090815260026020526040812086916103b0610507565b6001600160a01b03166001600160a01b03168152602001908152602001600020546103db9190611296565b61050b565b5060015b9392505050565b600990565b6004546001600160a01b031681565b6001600160a01b031660009081526001602052604090205490565b6104226109ba565b61042c60006109f9565b565b6000546001600160a01b031690565b6040805180820190915260058152645354414b4560d81b602082015290565b6000610342610469610507565b84846105bf565b600d5481565b61047e6109ba565b61042c47610a49565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6104ba6109ba565b600d819055600e55565b6104cc6109ba565b6001600160a01b0381166104fb5760405162461bcd60e51b81526004016104f290610e7e565b60405180910390fd5b610504816109f9565b50565b3390565b6001600160a01b0383166105315760405162461bcd60e51b81526004016104f29061105d565b6001600160a01b0382166105575760405162461bcd60e51b81526004016104f290610ec4565b6001600160a01b0380841660008181526002602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906105b29085906110a1565b60405180910390a3505050565b6001600160a01b0383166105e55760405162461bcd60e51b81526004016104f290611018565b6001600160a01b03821661060b5760405162461bcd60e51b81526004016104f290610e3b565b6000811161062b5760405162461bcd60e51b81526004016104f290610fcf565b600061063561042e565b6001600160a01b0316846001600160a01b03161415801561066f575061065961042e565b6001600160a01b0316836001600160a01b031614155b156107f0576010546001600160a01b03858116911614801561069f5750600f546001600160a01b03848116911614155b80156106c457506001600160a01b03831660009081526003602052604090205460ff16155b1561070e576064600954600c54116106de576005546106e2565b6007545b6106ec9084611277565b6106f69190611140565b600c80549192506000610708836112ad565b91905055505b6010546001600160a01b03848116911614801561073457506001600160a01b0384163014155b15610769576064600a54600c541161074e57600654610752565b6008545b61075c9084611277565b6107669190611140565b90505b6000610774306103ff565b601054909150600160a01b900460ff1615801561079e57506010546001600160a01b038581169116145b80156107ab5750600d5481115b80156107ba5750600b54600c54115b156107ee576107dc6107d7846107d284600e54610a5f565b610a5f565b610a74565b4780156107ec576107ec47610a49565b505b505b80156108695730600090815260016020526040902054610811908290611128565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906108609085906110a1565b60405180910390a35b6001600160a01b03841660009081526001602052604090205461088d908390611296565b6001600160a01b0385166000908152600160205260409020556108b08183611296565b6001600160a01b0384166000908152600160205260409020546108d39190611128565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61091d8486611296565b60405161092a91906110a1565b60405180910390a36004546001600160a01b03848116911614156109b4576004546001600160a01b03166347e7ef24856109648486611296565b6040518363ffffffff1660e01b8152600401610981929190610dc4565b600060405180830381600087803b15801561099b57600080fd5b505af11580156109af573d6000803e3d6000fd5b505050505b50505050565b6109c2610507565b6001600160a01b03166109d361042e565b6001600160a01b03161461042c5760405162461bcd60e51b81526004016104f290610f9a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600454610504906001600160a01b031682610c19565b6000818311610a6e57826103e4565b50919050565b6010805460ff60a01b1916600160a01b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610aca57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600f54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015610b1e57600080fd5b505afa158015610b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b569190610cd6565b81600181518110610b7757634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600f54610b9d913091168461050b565b600f5460405163791ac94760e01b81526001600160a01b039091169063791ac94790610bd69085906000908690309042906004016110aa565b600060405180830381600087803b158015610bf057600080fd5b505af1158015610c04573d6000803e3d6000fd5b50506010805460ff60a01b1916905550505050565b80471015610c395760405162461bcd60e51b81526004016104f290610f63565b6000826001600160a01b031682604051610c5290610dad565b60006040518083038185875af1925050503d8060008114610c8f576040519150601f19603f3d011682016040523d82523d6000602084013e610c94565b606091505b5050905080610cb55760405162461bcd60e51b81526004016104f290610f06565b505050565b600060208284031215610ccb578081fd5b81356103e4816112de565b600060208284031215610ce7578081fd5b81516103e4816112de565b60008060408385031215610d04578081fd5b8235610d0f816112de565b91506020830135610d1f816112de565b809150509250929050565b600080600060608486031215610d3e578081fd5b8335610d49816112de565b92506020840135610d59816112de565b929592945050506040919091013590565b60008060408385031215610d7c578182fd5b8235610d87816112de565b946020939093013593505050565b600060208284031215610da6578081fd5b5035919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602080835283518082850152825b81811015610e1457858101830151858201604001528201610df8565b81811115610e255783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206040820152687468616e207a65726f60b81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b90815260200190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156110f95784516001600160a01b0316835293830193918301916001016110d4565b50506001600160a01b03969096166060850152505050608001529392505050565b60ff91909116815260200190565b6000821982111561113b5761113b6112c8565b500190565b60008261115b57634e487b7160e01b81526012600452602481fd5b500490565b80825b6001808611611172575061119d565b818704821115611184576111846112c8565b8086161561119157918102915b9490941c938002611163565b94509492505050565b60006103e460001960ff8516846000826111c2575060016103e4565b816111cf575060006103e4565b81600181146111e557600281146111ef5761121c565b60019150506103e4565b60ff841115611200576112006112c8565b6001841b915084821115611216576112166112c8565b506103e4565b5060208310610133831016604e8410600b841016171561124f575081810a8381111561124a5761124a6112c8565b6103e4565b61125c8484846001611160565b80860482111561126e5761126e6112c8565b02949350505050565b6000816000190483118215151615611291576112916112c8565b500290565b6000828210156112a8576112a86112c8565b500390565b60006000198214156112c1576112c16112c8565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461050457600080fdfea2646970667358221220e29b6c0d8030efc96bed89bfab091745a11a4d2c4d887f47a97f6cb73a8d5bce64736f6c63430008010033000000000000000000000000351cc0ffaa37b476de8f21c4f6512232ba49147a