[ { "inputs": [ { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "allowance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientAllowance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "ERC20InsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "approver", "type": "address" } ], "name": "ERC20InvalidApprover", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ERC20InvalidReceiver", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "ERC20InvalidSender", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" } ], "name": "ERC20InvalidSpender", "type": "error" }, { "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" }, { "indexed": false, "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "DataDelivery", "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": "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": "value", "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": "_from", "type": "address" }, { "internalType": "uint256", "name": "_value", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "callBack", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "factory", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_maxSupply", "type": "uint256" }, { "internalType": "uint8", "name": "_decimals", "type": "uint8" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "maxSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_value", "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": "_callBack", "type": "address" } ], "name": "setCallBack", "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": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "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": "value", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ]
608060405234801562000010575f80fd5b50604051620012cc380380620012cc833981016040819052620000339162000131565b8181600362000043838262000221565b50600462000052828262000221565b5050600680546001600160a01b0319163317905550620002ed915050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000094575f80fd5b81516001600160401b0380821115620000b157620000b162000070565b604051601f8301601f19908116603f01168101908282118183101715620000dc57620000dc62000070565b8160405283815260209250866020858801011115620000f9575f80fd5b5f91505b838210156200011c5785820183015181830184015290820190620000fd565b5f602085830101528094505050505092915050565b5f806040838503121562000143575f80fd5b82516001600160401b03808211156200015a575f80fd5b620001688683870162000084565b935060208501519150808211156200017e575f80fd5b506200018d8582860162000084565b9150509250929050565b600181811c90821680620001ac57607f821691505b602082108103620001cb57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200021c57805f5260205f20601f840160051c81016020851015620001f85750805b601f840160051c820191505b8181101562000219575f815560010162000204565b50505b505050565b81516001600160401b038111156200023d576200023d62000070565b62000255816200024e845462000197565b84620001d1565b602080601f8311600181146200028b575f8415620002735750858301515b5f19600386901b1c1916600185901b178555620002e5565b5f85815260208120601f198616915b82811015620002bb578886015182559484019460019091019084016200029a565b5085821015620002d957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b610fd180620002fb5f395ff3fe608060405234801561000f575f80fd5b5060043610610106575f3560e01c806370a082311161009e578063a9059cbb1161006e578063a9059cbb14610233578063be45fd6214610246578063c45a015514610259578063d5abeb011461026c578063dd62ed3e14610275575f80fd5b806370a08231146101dd57806388e2a0e01461020557806395d89b41146102185780639dc29fac14610220575f80fd5b8063313ce567116100d9578063313ce567146101705780633d11d0951461018557806340c10f191461019a5780636347f70e146101ad575f80fd5b806306fdde031461010a578063095ea7b31461012857806318160ddd1461014b57806323b872dd1461015d575b5f80fd5b6101126102ad565b60405161011f9190610ced565b60405180910390f35b61013b610136366004610d54565b61033d565b604051901515815260200161011f565b6002545b60405190815260200161011f565b61013b61016b366004610d7c565b610356565b60055460405160ff909116815260200161011f565b610198610193366004610db5565b610379565b005b6101986101a8366004610d54565b6103e8565b6005546101c59061010090046001600160a01b031681565b6040516001600160a01b03909116815260200161011f565b61014f6101eb366004610de8565b6001600160a01b03165f9081526020819052604090205490565b610198610213366004610de8565b6104f5565b6101126105a5565b61019861022e366004610d54565b6105b4565b61013b610241366004610d54565b610645565b61013b610254366004610e08565b610652565b6006546101c5906001600160a01b031681565b61014f60075481565b61014f610283366004610e88565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600380546102bc90610eb9565b80601f01602080910402602001604051908101604052809291908181526020018280546102e890610eb9565b80156103335780601f1061030a57610100808354040283529160200191610333565b820191905f5260205f20905b81548152906001019060200180831161031657829003601f168201915b5050505050905090565b5f3361034a8185856106ba565b60019150505b92915050565b5f336103638582856106c7565b61036e858585610742565b506001949350505050565b6006546001600160a01b031633146103cf5760405162461bcd60e51b8152602060048201526014602482015273546f6b656e3a204f6e6c7920666163746f72792160601b60448201526064015b60405180910390fd5b6005805460ff191660ff92909216919091179055600755565b60065460405163b429afeb60e01b81523360048201819052916001600160a01b03169063b429afeb90602401602060405180830381865afa15801561042f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104539190610ef1565b61046f5760405162461bcd60e51b81526004016103c690610f10565b600754156104e6576007548261048460025490565b61048e9190610f47565b11156104e65760405162461bcd60e51b815260206004820152602160248201527f546f6b656e3a20657863656564656420746865206d6178696d756d2076616c756044820152606560f81b60648201526084016103c6565b6104f083836107b5565b505050565b60065460405163b429afeb60e01b81523360048201819052916001600160a01b03169063b429afeb90602401602060405180830381865afa15801561053c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105609190610ef1565b61057c5760405162461bcd60e51b81526004016103c690610f10565b50600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6060600480546102bc90610eb9565b60065460405163b429afeb60e01b81523360048201819052916001600160a01b03169063b429afeb90602401602060405180830381865afa1580156105fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061f9190610ef1565b61063b5760405162461bcd60e51b81526004016103c690610f10565b6104f083836107ed565b5f3361034a818585610742565b5f3361065f818787610742565b856001600160a01b0316336001600160a01b03167faba420c672cff09b3d4d3feaede58151bcabe691f476793d76979583dd5dcfaf8787876040516106a693929190610f66565b60405180910390a350600195945050505050565b6104f08383836001610821565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811461073c578181101561072e57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016103c6565b61073c84848484035f610821565b50505050565b6001600160a01b03831661076b57604051634b637e8f60e11b81525f60048201526024016103c6565b6001600160a01b0382166107945760405163ec442f0560e01b81525f60048201526024016103c6565b61079f8383836108f3565b6107aa838383610b3d565b6104f0838383610c63565b6001600160a01b0382166107de5760405163ec442f0560e01b81525f60048201526024016103c6565b6107e95f8383610b3d565b5050565b6001600160a01b03821661081657604051634b637e8f60e11b81525f60048201526024016103c6565b6107e9825f83610b3d565b6001600160a01b03841661084a5760405163e602df0560e01b81525f60048201526024016103c6565b6001600160a01b03831661087357604051634a1406b160e11b81525f60048201526024016103c6565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561073c57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108e591815260200190565b60405180910390a350505050565b600654604051635b14f18360e01b81523060048201525f916001600160a01b031690635b14f18390602401602060405180830381865afa158015610939573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061095d9190610ef1565b600654604051634362c69f60e11b81523060048201526001600160a01b0387811660248301529293505f92909116906386c58d3e90604401602060405180830381865afa1580156109b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d49190610ef1565b600654604051634362c69f60e11b81523060048201526001600160a01b0387811660248301529293505f92909116906386c58d3e90604401602060405180830381865afa158015610a27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4b9190610ef1565b905082158015610a59575081155b8015610a63575080155b610aaf5760405162461bcd60e51b815260206004820181905260248201527f546f6b656e3a20746f6b656e207472616e73666572206e6f7420616c6c6f772160448201526064016103c6565b60055461010090046001600160a01b031615610b35576005546040516321144c6f60e21b81526001600160a01b0388811660048301528781166024830152604482018790526101009092049091169063845131bc906064015f604051808303815f87803b158015610b1e575f80fd5b505af1158015610b30573d5f803e3d5ffd5b505050505b505050505050565b6001600160a01b038316610b67578060025f828254610b5c9190610f47565b90915550610bd79050565b6001600160a01b0383165f9081526020819052604090205481811015610bb95760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103c6565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610bf357600280548290039055610c11565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c5691815260200190565b60405180910390a3505050565b60055461010090046001600160a01b0316156104f057600554604051630313713f60e61b81526001600160a01b0385811660048301528481166024830152604482018490526101009092049091169063c4dc4fc0906064015f604051808303815f87803b158015610cd2575f80fd5b505af1158015610ce4573d5f803e3d5ffd5b50505050505050565b5f602080835283518060208501525f5b81811015610d1957858101830151858201604001528201610cfd565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d4f575f80fd5b919050565b5f8060408385031215610d65575f80fd5b610d6e83610d39565b946020939093013593505050565b5f805f60608486031215610d8e575f80fd5b610d9784610d39565b9250610da560208501610d39565b9150604084013590509250925092565b5f8060408385031215610dc6575f80fd5b82359150602083013560ff81168114610ddd575f80fd5b809150509250929050565b5f60208284031215610df8575f80fd5b610e0182610d39565b9392505050565b5f805f8060608587031215610e1b575f80fd5b610e2485610d39565b935060208501359250604085013567ffffffffffffffff80821115610e47575f80fd5b818701915087601f830112610e5a575f80fd5b813581811115610e68575f80fd5b886020828501011115610e79575f80fd5b95989497505060200194505050565b5f8060408385031215610e99575f80fd5b610ea283610d39565b9150610eb060208401610d39565b90509250929050565b600181811c90821680610ecd57607f821691505b602082108103610eeb57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610f01575f80fd5b81518015158114610e01575f80fd5b60208082526017908201527f546f6b656e3a204f6e6c7920436f6e74726f6c6c657221000000000000000000604082015260600190565b8082018082111561035057634e487b7160e01b5f52601160045260245ffd5b83815260406020820152816040820152818360608301375f818301606090810191909152601f909201601f191601019291505056fea2646970667358221220fbb0839c57f5351d150779b61b88b8008a1e4037cc5e88afef67f7148b81bdff64736f6c634300081800330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000054f4e494e4f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034f4e490000000000000000000000000000000000000000000000000000000000