[ { "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": "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" } ]
608060405234801561001057600080fd5b50611092806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80634a5db3b5116100a2578063a9059cbb11610071578063a9059cbb146101fb578063b3490bfc1461020e578063dd62ed3e14610221578063e58306f914610234578063f2fde38b1461024757600080fd5b80634a5db3b5146101b957806370a08231146101cc57806395d89b41146101e0578063a457c2d7146101e857600080fd5b806322c56edb116100de57806322c56edb1461017c57806323b872dd14610184578063313ce5671461019757806339509351146101a657600080fd5b806306fdde0314610110578063095ea7b31461012e5780631694fc561461015157806318160ddd14610166575b600080fd5b61011861025a565b6040516101259190610c9d565b60405180910390f35b61014161013c366004610d07565b6102f5565b6040519015158152602001610125565b61016461015f366004610dd4565b61030f565b005b61016e61039b565b604051908152602001610125565b6101646103ae565b610141610192366004610e38565b61049d565b60405160128152602001610125565b6101416101b4366004610d07565b61052c565b6101646101c7366004610e74565b61054e565b61016e6101da366004610e74565b50600090565b6101186105b7565b6101416101f6366004610d07565b6105cf565b610141610209366004610d07565b61064a565b61016461021c366004610e74565b6106c3565b61016e61022f366004610e96565b61072d565b610164610242366004610d07565b610767565b610164610255366004610e74565b6107d5565b606061026461083c565b600401805461027290610ec9565b80601f016020809104026020016040519081016040528092919081815260200182805461029e90610ec9565b80156102eb5780601f106102c0576101008083540402835291602001916102eb565b820191906000526020600020905b8154815290600101906020018083116102ce57829003601f168201915b5050505050905090565b600033610303818585610860565b60019150505b92915050565b61031761083c565b5460ff166103625760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b60448201526064015b60405180910390fd5b600061036c61083c565b90506004810161037c8482610f51565b506005810161038b8382610f51565b50805460ff191660011790555050565b60006103a561083c565b60030154905090565b6103b661083c565b5460ff166103fc5760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e481a5b9a5d1a585b1a5e9959606a1b6044820152606401610359565b600061040661083c565b8054610100600160a81b0319163361010081029190911782556000908152600180830160209081526040808420805460ff1990811685179091556002860183529381902080548516841790558454909316909117835581518083018352600481526358454e5960e01b8183015282518084019093526003835262584e5960e81b9183019190915291925061049a919061030f565b50565b60006104a761083c565b336000908152600191909101602052604090205460ff1661050a5760405162461bcd60e51b815260206004820152601b60248201527f45524332303a206e6f74207472616e7366657220616c6c6f77656400000000006044820152606401610359565b33610516858285610993565b610521858585610a0d565b506001949350505050565b60003361030381858561053f838361072d565b6105499190611011565b610860565b61055661083c565b5461010090046001600160a01b031633146105835760405162461bcd60e51b815260040161035990611032565b600061058d61083c565b6001600160a01b03909216600090815260029092016020525060409020805460ff19166001179055565b60606105c161083c565b600501805461027290610ec9565b600033816105dd828661072d565b90508381101561063d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610359565b6105218286868403610860565b600061065461083c565b336000908152600191909101602052604090205460ff166106b75760405162461bcd60e51b815260206004820152601b60248201527f45524332303a206e6f74207472616e7366657220616c6c6f77656400000000006044820152606401610359565b33610303818585610a0d565b6106cb61083c565b5461010090046001600160a01b031633146106f85760405162461bcd60e51b815260040161035990611032565b600061070261083c565b6001600160a01b039092166000908152600192830160205260409020805460ff191690921790915550565b600061073761083c565b6001600160a01b039384166000908152600291909101602090815260408083209490951682529290925250205490565b61076f61083c565b336000908152600291909101602052604090205460ff166107c75760405162461bcd60e51b8152602060048201526012602482015271115490cc8c0e881b9bdd08185b1b1bddd95960721b6044820152606401610359565b6107d18282610bca565b5050565b6107dd61083c565b5461010090046001600160a01b0316331461080a5760405162461bcd60e51b815260040161035990611032565b600061081461083c565b80546001600160a01b0390931661010002610100600160a81b03199093169290921790915550565b7fe4ffeaab1ccb1bb9d3760c3b2f990ccb1b25921a29ffb3370f909db2238c41f290565b600061086a61083c565b90506001600160a01b0384166108ce5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610359565b6001600160a01b03831661092f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610359565b6001600160a01b03848116600081815260028401602090815260408083209488168084529482529182902086905590518581527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050565b600061099f848461072d565b90506000198114610a0757818110156109fa5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610359565b610a078484848403610860565b50505050565b6000610a1761083c565b90506001600160a01b038416610a7d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610359565b6001600160a01b038316610adf5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610359565b6001600160a01b038416600090815260018201602052604090205482811015610b595760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610359565b6001600160a01b03808616600081815260018501602052604080822087860390559287168082529083902080548701905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610bbb9087815260200190565b60405180910390a35050505050565b6000610bd461083c565b90506001600160a01b038316610c2c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610359565b81816003016000828254610c409190611011565b90915550506001600160a01b03831660008181526001830160209081526040808320805487019055518581527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b505050565b600060208083528351808285015260005b81811015610cca57858101830151858201604001528201610cae565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d0257600080fd5b919050565b60008060408385031215610d1a57600080fd5b610d2383610ceb565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610d5857600080fd5b813567ffffffffffffffff80821115610d7357610d73610d31565b604051601f8301601f19908116603f01168101908282118183101715610d9b57610d9b610d31565b81604052838152866020858801011115610db457600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060408385031215610de757600080fd5b823567ffffffffffffffff80821115610dff57600080fd5b610e0b86838701610d47565b93506020850135915080821115610e2157600080fd5b50610e2e85828601610d47565b9150509250929050565b600080600060608486031215610e4d57600080fd5b610e5684610ceb565b9250610e6460208501610ceb565b9150604084013590509250925092565b600060208284031215610e8657600080fd5b610e8f82610ceb565b9392505050565b60008060408385031215610ea957600080fd5b610eb283610ceb565b9150610ec060208401610ceb565b90509250929050565b600181811c90821680610edd57607f821691505b602082108103610efd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610c9857600081815260208120601f850160051c81016020861015610f2a5750805b601f850160051c820191505b81811015610f4957828155600101610f36565b505050505050565b815167ffffffffffffffff811115610f6b57610f6b610d31565b610f7f81610f798454610ec9565b84610f03565b602080601f831160018114610fb45760008415610f9c5750858301515b600019600386901b1c1916600185901b178555610f49565b600085815260208120601f198616915b82811015610fe357888601518255948401946001909101908401610fc4565b50858210156110015787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561030957634e487b7160e01b600052601160045260246000fd5b60208082526010908201526f22a92199181d103737ba1037bbb732b960811b60408201526060019056fea26469706673582212205c8149588395d006c72c496837ed1e46a846b9a1730e32400366f741a30ffe7f64736f6c63430008110033