[ { "inputs": [], "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": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" } ], "name": "addAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "admins", "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": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" } ], "name": "allowances", "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": "address", "name": "", "type": "address" } ], "name": "balances", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "gov", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "id", "outputs": [ { "internalType": "string", "name": "_name", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "inPrivateTransferMode", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "isHandler", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "isMinter", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "nonStakingAccounts", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "nonStakingSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" } ], "name": "removeAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_gov", "type": "address" } ], "name": "setGov", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_handler", "type": "address" }, { "internalType": "bool", "name": "_isActive", "type": "bool" } ], "name": "setHandler", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bool", "name": "_inPrivateTransferMode", "type": "bool" } ], "name": "setInPrivateTransferMode", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" } ], "name": "setInfo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_minter", "type": "address" }, { "internalType": "bool", "name": "_isActive", "type": "bool" } ], "name": "setMinter", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" } ], "name": "stakedBalance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalStaked", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_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": "_token", "type": "address" }, { "internalType": "address", "name": "_account", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "withdrawToken", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b506040518060400160405280600781526020016604c6f6758204c560cc1b8152506040518060400160405280600381526020016204c4c560ec1b815250600082828282600090816200006491906200026d565b5060016200007383826200026d565b50600480546001600160a01b03191633908117909155620000959082620000a1565b50505050505062000361565b6001600160a01b038216620001085760405162461bcd60e51b815260206004820152602360248201527f42617365546f6b656e3a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b606482015260840160405180910390fd5b8060025462000118919062000339565b6002556001600160a01b0382166000908152600560205260409020546200014190829062000339565b6001600160a01b03831660009081526005602090815260408083209390935560079052205460ff16156200018357806003546200017f919062000339565b6003555b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001f357607f821691505b6020821081036200021457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026857600081815260208120601f850160051c81016020861015620002435750805b601f850160051c820191505b8181101562000264578281556001016200024f565b5050505b505050565b81516001600160401b03811115620002895762000289620001c8565b620002a1816200029a8454620001de565b846200021a565b602080601f831160018114620002d95760008415620002c05750858301515b600019600386901b1c1916600185901b17855562000264565b600085815260208120601f198616915b828110156200030a57888601518255948401946001909101908401620002e9565b5085821015620003295787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200035b57634e487b7160e01b600052601160045260246000fd5b92915050565b61185880620003716000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063704802751161010f578063a923fc40116100a2578063cf456ae711610071578063cf456ae714610492578063cfad57a2146104a5578063dd62ed3e146104b8578063dfbaefb1146104f157600080fd5b8063a923fc4014610434578063aa271e1a14610447578063af640d0f1461046a578063c93be6361461048957600080fd5b806395d89b41116100de57806395d89b41146103f35780639cb7de4b146103fb5780639dc29fac1461040e578063a9059cbb1461042157600080fd5b8063704802751461038c57806370a082311461039f578063817b1cd2146103c85780639554381a146103d057600080fd5b806327e235e31161018757806346ea87af1161015657806346ea87af1461031857806355b6ed5c1461033b5780635a47a1a714610366578063602172671461037957600080fd5b806327e235e3146102a8578063313ce567146102c857806340c10f19146102e2578063429b62e5146102f557600080fd5b806312d43a51116101c357806312d43a51146102405780631785f53c1461026b57806318160ddd1461027e57806323b872dd1461029557600080fd5b806301e33667146101ea57806306fdde03146101ff578063095ea7b31461021d575b600080fd5b6101fd6101f83660046113c3565b6104fe565b005b61020761054a565b6040516102149190611423565b60405180910390f35b61023061022b366004611456565b6105d8565b6040519015158152602001610214565b600454610253906001600160a01b031681565b6040516001600160a01b039091168152602001610214565b6101fd610279366004611480565b6105ef565b61028760025481565b604051908152602001610214565b6102306102a33660046113c3565b61063a565b6102876102b6366004611480565b60056020526000908152604090205481565b6102d0601281565b60405160ff9091168152602001610214565b6101fd6102f0366004611456565b610741565b610230610303366004611480565b60086020526000908152604090205460ff1681565b610230610326366004611480565b600a6020526000908152604090205460ff1681565b61028761034936600461149b565b600660209081526000928352604080842090915290825290205481565b6101fd6103743660046114dc565b6107ae565b610287610387366004611480565b6107eb565b6101fd61039a366004611480565b610830565b6102876103ad366004611480565b6001600160a01b031660009081526005602052604090205490565b61028761087e565b6102306103de366004611480565b60076020526000908152604090205460ff1681565b610207610895565b6101fd6104093660046114f9565b6108a2565b6101fd61041c366004611456565b6108f7565b61023061042f366004611456565b610960565b6101fd6104423660046115d3565b61096d565b610230610455366004611480565b600b6020526000908152604090205460ff1681565b60408051808201909152600381526204c4c560ec1b6020820152610207565b61028760035481565b6101fd6104a03660046114f9565b6109b0565b6101fd6104b3366004611480565b610a05565b6102876104c636600461149b565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b6009546102309060ff1681565b6004546001600160a01b031633146105315760405162461bcd60e51b815260040161052890611637565b60405180910390fd5b6105456001600160a01b0384168383610a51565b505050565b6000805461055790611665565b80601f016020809104026020016040519081016040528092919081815260200182805461058390611665565b80156105d05780601f106105a5576101008083540402835291602001916105d0565b820191906000526020600020905b8154815290600101906020018083116105b357829003601f168201915b505050505081565b60006105e5338484610aa3565b5060015b92915050565b6004546001600160a01b031633146106195760405162461bcd60e51b815260040161052890611637565b6001600160a01b03166000908152600860205260409020805460ff19169055565b336000908152600a602052604081205460ff16156106655761065d848484610bd1565b50600161073a565b6001600160a01b03841660009081526006602090815260408083203384529091529020548211156106ed5760405162461bcd60e51b815260206004820152602c60248201527f42617365546f6b656e3a207472616e7366657220616d6f756e7420657863656560448201526b647320616c6c6f77616e636560a01b6064820152608401610528565b6001600160a01b038416600090815260066020908152604080832033845290915281205461071c9084906116b5565b9050610729853383610aa3565b610734858585610bd1565b60019150505b9392505050565b336000908152600b602052604090205460ff166107a05760405162461bcd60e51b815260206004820152601c60248201527f4d696e7461626c6542617365546f6b656e3a20666f7262696464656e000000006044820152606401610528565b6107aa8282610ea4565b5050565b6004546001600160a01b031633146107d85760405162461bcd60e51b815260040161052890611637565b6009805460ff1916911515919091179055565b6001600160a01b03811660009081526007602052604081205460ff161561081457506000919050565b506001600160a01b031660009081526005602052604090205490565b6004546001600160a01b0316331461085a5760405162461bcd60e51b815260040161052890611637565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b600060035460025461089091906116b5565b905090565b6001805461055790611665565b6004546001600160a01b031633146108cc5760405162461bcd60e51b815260040161052890611637565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b336000908152600b602052604090205460ff166109565760405162461bcd60e51b815260206004820152601c60248201527f4d696e7461626c6542617365546f6b656e3a20666f7262696464656e000000006044820152606401610528565b6107aa8282610fc0565b60006105e5338484610bd1565b6004546001600160a01b031633146109975760405162461bcd60e51b815260040161052890611637565b60006109a38382611716565b5060016105458282611716565b6004546001600160a01b031633146109da5760405162461bcd60e51b815260040161052890611637565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6004546001600160a01b03163314610a2f5760405162461bcd60e51b815260040161052890611637565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261054590849061115a565b6001600160a01b038316610b0a5760405162461bcd60e51b815260206004820152602860248201527f42617365546f6b656e3a20617070726f76652066726f6d20746865207a65726f604482015267206164647265737360c01b6064820152608401610528565b6001600160a01b038216610b6f5760405162461bcd60e51b815260206004820152602660248201527f42617365546f6b656e3a20617070726f766520746f20746865207a65726f206160448201526564647265737360d01b6064820152608401610528565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610c395760405162461bcd60e51b815260206004820152602960248201527f42617365546f6b656e3a207472616e736665722066726f6d20746865207a65726044820152686f206164647265737360b81b6064820152608401610528565b6001600160a01b038216610c9f5760405162461bcd60e51b815260206004820152602760248201527f42617365546f6b656e3a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b6064820152608401610528565b60095460ff1615610d1757336000908152600a602052604090205460ff16610d175760405162461bcd60e51b815260206004820152602560248201527f42617365546f6b656e3a206d73672e73656e646572206e6f742077686974656c6044820152641a5cdd195960da1b6064820152608401610528565b6001600160a01b038316600090815260056020526040902054811115610d925760405162461bcd60e51b815260206004820152602a60248201527f42617365546f6b656e3a207472616e7366657220616d6f756e7420657863656560448201526964732062616c616e636560b01b6064820152608401610528565b6001600160a01b038316600090815260056020526040902054610db69082906116b5565b6001600160a01b038085166000908152600560205260408082209390935590841681522054610de69082906117d6565b6001600160a01b0380841660009081526005602090815260408083209490945591861681526007909152205460ff1615610e2c5780600354610e2891906116b5565b6003555b6001600160a01b03821660009081526007602052604090205460ff1615610e5f5780600354610e5b91906117d6565b6003555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610bc491815260200190565b6001600160a01b038216610f065760405162461bcd60e51b815260206004820152602360248201527f42617365546f6b656e3a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610528565b80600254610f1491906117d6565b6002556001600160a01b038216600090815260056020526040902054610f3b9082906117d6565b6001600160a01b03831660009081526005602090815260408083209390935560079052205460ff1615610f7a5780600354610f7691906117d6565b6003555b6040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a35050565b6001600160a01b0382166110245760405162461bcd60e51b815260206004820152602560248201527f42617365546f6b656e3a206275726e2066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610528565b6001600160a01b03821660009081526005602052604090205481111561109b5760405162461bcd60e51b815260206004820152602660248201527f42617365546f6b656e3a206275726e20616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610528565b6001600160a01b0382166000908152600560205260409020546110bf9082906116b5565b6001600160a01b0383166000908152600560205260409020556002546110e69082906116b5565b6002556001600160a01b03821660009081526007602052604090205460ff161561111c578060035461111891906116b5565b6003555b6040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610fb4565b60006111af826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661122f9092919063ffffffff16565b80519091501561054557808060200190518101906111cd91906117e9565b6105455760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610528565b50565b606061123e8484600085611246565b949350505050565b6060824710156112a75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610528565b843b6112f55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610528565b600080866001600160a01b031685876040516113119190611806565b60006040518083038185875af1925050503d806000811461134e576040519150601f19603f3d011682016040523d82523d6000602084013e611353565b606091505b509150915061136382828661136e565b979650505050505050565b6060831561137d57508161073a565b82511561138d5782518084602001fd5b8160405162461bcd60e51b81526004016105289190611423565b80356001600160a01b03811681146113be57600080fd5b919050565b6000806000606084860312156113d857600080fd5b6113e1846113a7565b92506113ef602085016113a7565b9150604084013590509250925092565b60005b8381101561141a578181015183820152602001611402565b50506000910152565b60208152600082518060208401526114428160408501602087016113ff565b601f01601f19169190910160400192915050565b6000806040838503121561146957600080fd5b611472836113a7565b946020939093013593505050565b60006020828403121561149257600080fd5b61073a826113a7565b600080604083850312156114ae57600080fd5b6114b7836113a7565b91506114c5602084016113a7565b90509250929050565b801515811461122c57600080fd5b6000602082840312156114ee57600080fd5b813561073a816114ce565b6000806040838503121561150c57600080fd5b611515836113a7565b91506020830135611525816114ce565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261155757600080fd5b813567ffffffffffffffff8082111561157257611572611530565b604051601f8301601f19908116603f0116810190828211818310171561159a5761159a611530565b816040528381528660208588010111156115b357600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156115e657600080fd5b823567ffffffffffffffff808211156115fe57600080fd5b61160a86838701611546565b9350602085013591508082111561162057600080fd5b5061162d85828601611546565b9150509250929050565b6020808252601490820152732130b9b2aa37b5b2b71d103337b93134b23232b760611b604082015260600190565b600181811c9082168061167957607f821691505b60208210810361169957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156105e9576105e961169f565b601f82111561054557600081815260208120601f850160051c810160208610156116ef5750805b601f850160051c820191505b8181101561170e578281556001016116fb565b505050505050565b815167ffffffffffffffff81111561173057611730611530565b6117448161173e8454611665565b846116c8565b602080601f83116001811461177957600084156117615750858301515b600019600386901b1c1916600185901b17855561170e565b600085815260208120601f198616915b828110156117a857888601518255948401946001909101908401611789565b50858210156117c65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156105e9576105e961169f565b6000602082840312156117fb57600080fd5b815161073a816114ce565b600082516118188184602087016113ff565b919091019291505056fea2646970667358221220a9ab863dcbb2cc9b4da5e2f4605f48ad82762e16bd2a36e962545d51174d7a9464736f6c63430008130033