[ { "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" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "adminMint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_add", "type": "address" } ], "name": "allowTransfer", "outputs": [], "stateMutability": "nonpayable", "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": "_add", "type": "address" } ], "name": "authorizeAddress", "outputs": [], "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": "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": "address", "name": "account", "type": "address" } ], "name": "fetchBalance", "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": [ { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" } ], "name": "initializeERC20", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "initializeXeny", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "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" }, { "inputs": [ { "internalType": "address", "name": "_newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
608060405234801561001057600080fd5b506111e0806100206000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a2578063b3490bfc11610071578063b3490bfc14610234578063dd62ed3e14610247578063e58306f91461025a578063ed2872b11461026d578063f2fde38b146102b557600080fd5b806370a08231146101f257806395d89b4114610206578063a457c2d71461020e578063a9059cbb1461022157600080fd5b806322c56edb116100e957806322c56edb146101a257806323b872dd146101aa578063313ce567146101bd57806339509351146101cc5780634a5db3b5146101df57600080fd5b806306fdde031461011b578063095ea7b3146101395780631694fc561461015c57806318160ddd14610171575b600080fd5b6101236102c8565b6040516101309190610d8b565b60405180910390f35b61014c610147366004610df5565b61036a565b6040519015158152602001610130565b61016f61016a366004610ec2565b610384565b005b7fe4ffeaab1ccb1bb9d3760c3b2f990ccb1b25921a29ffb3370f909db2238c41f5545b604051908152602001610130565b61016f610438565b61014c6101b8366004610f26565b61055a565b60405160128152602001610130565b61014c6101da366004610df5565b6105e8565b61016f6101ed366004610f62565b61060a565b610194610200366004610f62565b50600090565b610123610689565b61014c61021c366004610df5565b6106a8565b61014c61022f366004610df5565b610723565b61016f610242366004610f62565b61079b565b610194610255366004610f84565b610808565b61016f610268366004610df5565b610852565b61019461027b366004610f62565b6001600160a01b031660009081527fe4ffeaab1ccb1bb9d3760c3b2f990ccb1b25921a29ffb3370f909db2238c41f3602052604090205490565b61016f6102c3366004610f62565b6108d3565b606060008051602061114b83398151915260040180546102e790610fb7565b80601f016020809104026020016040519081016040528092919081815260200182805461031390610fb7565b80156103605780601f1061033557610100808354040283529160200191610360565b820191906000526020600020905b81548152906001019060200180831161034357829003601f168201915b5050505050905090565b600033610378818585610945565b60019150505b92915050565b60008051602061114b8339815191525460ff16156103df5760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b60448201526064015b60405180910390fd5b60008051602061114b8339815191527fe4ffeaab1ccb1bb9d3760c3b2f990ccb1b25921a29ffb3370f909db2238c41f6610419848261103f565b5060058101610428838261103f565b50805460ff191660011790555050565b60008051602061118b8339815191525460ff161561048e5760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b60448201526064016103d6565b60008051602061118b8339815191528054610100600160a81b031916336101008102919091178255600090815260008051602061116b83398151915260209081526040808320805460ff1990811660019081179092557f2fa92baefe0f6ee406ca5eeaa999ac92fcc6b79131cbc2e0008b325985c2271384529382902080548516821790558454909316909217835581518083018352600481526358454e5960e01b8183015282518084019093526003835262584e5960e81b9183019190915261055791610384565b50565b33600090815260008051602061116b833981519152602052604081205460ff166105c65760405162461bcd60e51b815260206004820152601b60248201527f45524332303a206e6f74207472616e7366657220616c6c6f776564000000000060448201526064016103d6565b336105d2858285610a7b565b6105dd858585610af5565b506001949350505050565b6000336103788185856105fb8383610808565b61060591906110ff565b610945565b60008051602061118b8339815191525461010090046001600160a01b031633146106465760405162461bcd60e51b81526004016103d690611120565b6001600160a01b031660009081527f2fa92baefe0f6ee406ca5eeaa999ac92fcc6b79131cbc2e0008b325985c2271360205260409020805460ff19166001179055565b606060008051602061114b83398151915260050180546102e790610fb7565b600033816106b68286610808565b9050838110156107165760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103d6565b6105dd8286868403610945565b33600090815260008051602061116b833981519152602052604081205460ff1661078f5760405162461bcd60e51b815260206004820152601b60248201527f45524332303a206e6f74207472616e7366657220616c6c6f776564000000000060448201526064016103d6565b33610378818585610af5565b60008051602061118b8339815191525461010090046001600160a01b031633146107d75760405162461bcd60e51b81526004016103d690611120565b6001600160a01b0316600090815260008051602061116b83398151915260205260409020805460ff19166001179055565b6001600160a01b0391821660009081527fe4ffeaab1ccb1bb9d3760c3b2f990ccb1b25921a29ffb3370f909db2238c41f46020908152604080832093909416825291909152205490565b3360009081527f2fa92baefe0f6ee406ca5eeaa999ac92fcc6b79131cbc2e0008b325985c22713602052604090205460ff166108c55760405162461bcd60e51b8152602060048201526012602482015271115490cc8c0e881b9bdd08185b1b1bddd95960721b60448201526064016103d6565b6108cf8282610cb5565b5050565b60008051602061118b8339815191525461010090046001600160a01b0316331461090f5760405162461bcd60e51b81526004016103d690611120565b60008051602061118b83398151915280546001600160a01b039290921661010002610100600160a81b0319909216919091179055565b60008051602061114b8339815191526001600160a01b0384166109b65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103d6565b6001600160a01b038316610a175760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103d6565b6001600160a01b03848116600081815260028401602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b6000610a878484610808565b90506000198114610aef5781811015610ae25760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103d6565b610aef8484848403610945565b50505050565b60008051602061114b8339815191526001600160a01b038416610b685760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103d6565b6001600160a01b038316610bca5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103d6565b6001600160a01b038416600090815260018201602052604090205482811015610c445760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103d6565b6001600160a01b03808616600081815260018501602052604080822087860390559287168082529083902080548701905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610ca69087815260200190565b60405180910390a35050505050565b60008051602061114b8339815191526001600160a01b038316610d1a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103d6565b81816003016000828254610d2e91906110ff565b90915550506001600160a01b03831660008181526001830160209081526040808320805487019055518581527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b505050565b600060208083528351808285015260005b81811015610db857858101830151858201604001528201610d9c565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610df057600080fd5b919050565b60008060408385031215610e0857600080fd5b610e1183610dd9565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610e4657600080fd5b813567ffffffffffffffff80821115610e6157610e61610e1f565b604051601f8301601f19908116603f01168101908282118183101715610e8957610e89610e1f565b81604052838152866020858801011115610ea257600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060408385031215610ed557600080fd5b823567ffffffffffffffff80821115610eed57600080fd5b610ef986838701610e35565b93506020850135915080821115610f0f57600080fd5b50610f1c85828601610e35565b9150509250929050565b600080600060608486031215610f3b57600080fd5b610f4484610dd9565b9250610f5260208501610dd9565b9150604084013590509250925092565b600060208284031215610f7457600080fd5b610f7d82610dd9565b9392505050565b60008060408385031215610f9757600080fd5b610fa083610dd9565b9150610fae60208401610dd9565b90509250929050565b600181811c90821680610fcb57607f821691505b602082108103610feb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610d8657600081815260208120601f850160051c810160208610156110185750805b601f850160051c820191505b8181101561103757828155600101611024565b505050505050565b815167ffffffffffffffff81111561105957611059610e1f565b61106d816110678454610fb7565b84610ff1565b602080601f8311600181146110a2576000841561108a5750858301515b600019600386901b1c1916600185901b178555611037565b600085815260208120601f198616915b828110156110d1578886015182559484019460019091019084016110b2565b50858210156110ef5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561037e57634e487b7160e01b600052601160045260246000fd5b60208082526010908201526f22a92199181d103737ba1037bbb732b960811b60408201526060019056fee4ffeaab1ccb1bb9d3760c3b2f990ccb1b25921a29ffb3370f909db2238c41f22fa92baefe0f6ee406ca5eeaa999ac92fcc6b79131cbc2e0008b325985c227122fa92baefe0f6ee406ca5eeaa999ac92fcc6b79131cbc2e0008b325985c22711a2646970667358221220d6e76ef179e9999351c4c879b2a10017fad7e3852ab26d97bf1ff7b77c6d81c064736f6c63430008110033