[ { "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": "", "type": "address" }, { "internalType": "address", "name": "", "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": "", "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": [], "name": "getChainInfo", "outputs": [ { "components": [ { "internalType": "uint256", "name": "chainId", "type": "uint256" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "internalType": "uint256", "name": "gaslimit", "type": "uint256" }, { "internalType": "uint256", "name": "number", "type": "uint256" } ], "internalType": "struct XYZToken.ChainInfo", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "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": [], "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": "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" } ]
60806040526040518060400160405280600881526020017f58595a546f6b656e000000000000000000000000000000000000000000000000815250600490816200004a919062000363565b506040518060400160405280600381526020017f58595a00000000000000000000000000000000000000000000000000000000008152506005908162000091919062000363565b50601260065f6101000a81548160ff021916908360ff160217905550348015620000b9575f80fd5b50335f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000447565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200017b57607f821691505b60208210810362000191576200019062000136565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620001f57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620001b8565b620002018683620001b8565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6200024b620002456200023f8462000219565b62000222565b62000219565b9050919050565b5f819050919050565b62000266836200022b565b6200027e620002758262000252565b848454620001c4565b825550505050565b5f90565b6200029462000286565b620002a18184846200025b565b505050565b5b81811015620002c857620002bc5f826200028a565b600181019050620002a7565b5050565b601f8211156200031757620002e18162000197565b620002ec84620001a9565b81016020851015620002fc578190505b620003146200030b85620001a9565b830182620002a6565b50505b505050565b5f82821c905092915050565b5f620003395f19846008026200031c565b1980831691505092915050565b5f62000353838362000328565b9150826002028217905092915050565b6200036e82620000ff565b67ffffffffffffffff8111156200038a576200038962000109565b5b62000396825462000163565b620003a3828285620002cc565b5f60209050601f831160018114620003d9575f8415620003c4578287015190505b620003d0858262000346565b8655506200043f565b601f198416620003e98662000197565b5f5b828110156200041257848901518255600182019150602085019450602081019050620003eb565b868310156200043257848901516200042e601f89168262000328565b8355505b6001600288020188555050505b505050505050565b610fe980620004555f395ff3fe608060405234801561000f575f80fd5b50600436106100a7575f3560e01c8063313ce5671161006f578063313ce5671461016557806370a082311461018357806395d89b41146101b3578063a0712d68146101d1578063a9059cbb146101ed578063dd62ed3e1461021d576100a7565b806306fdde03146100ab578063095ea7b3146100c957806318160ddd146100f957806321cae4831461011757806323b872dd14610135575b5f80fd5b6100b361024d565b6040516100c09190610b16565b60405180910390f35b6100e360048036038101906100de9190610bc7565b6102d9565b6040516100f09190610c1f565b60405180910390f35b610101610446565b60405161010e9190610c47565b60405180910390f35b61011f61044c565b60405161012c9190610cc2565b60405180910390f35b61014f600480360381019061014a9190610cdb565b61047a565b60405161015c9190610c1f565b60405180910390f35b61016d61069f565b60405161017a9190610d46565b60405180910390f35b61019d60048036038101906101989190610d5f565b6106b1565b6040516101aa9190610c47565b60405180910390f35b6101bb6106c6565b6040516101c89190610b16565b60405180910390f35b6101eb60048036038101906101e69190610d8a565b610752565b005b61020760048036038101906102029190610bc7565b6108b2565b6040516102149190610c1f565b60405180910390f35b61023760048036038101906102329190610db5565b610a48565b6040516102449190610c47565b60405180910390f35b6004805461025a90610e20565b80601f016020809104026020016040519081016040528092919081815260200182805461028690610e20565b80156102d15780601f106102a8576101008083540402835291602001916102d1565b820191905f5260205f20905b8154815290600101906020018083116102b457829003601f168201915b505050505081565b5f8160015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054101561035a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035190610e9a565b60405180910390fd5b8160025f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516104349190610c47565b60405180910390a36001905092915050565b60035481565b610454610a68565b61045c610a68565b466020820152425f8201524560208201524360208201528091505090565b5f8160015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410156104fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f290610e9a565b60405180910390fd5b8160025f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546105829190610ee5565b925050819055508160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546105d59190610ee5565b925050819055508160015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546106289190610f18565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161068c9190610c47565b60405180910390a3600190509392505050565b60065f9054906101000a900460ff1681565b6001602052805f5260405f205f915090505481565b600580546106d390610e20565b80601f01602080910402602001604051908101604052809291908181526020018280546106ff90610e20565b801561074a5780601f106107215761010080835404028352916020019161074a565b820191905f5260205f20905b81548152906001019060200180831161072d57829003601f168201915b505050505081565b3373ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d690610f95565b60405180910390fd5b8060015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461082b9190610f18565b925050819055508060035f8282546108439190610f18565b925050819055503373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516108a79190610c47565b60405180910390a350565b5f8160015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541015610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092a90610e9a565b60405180910390fd5b8160015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461097f9190610ee5565b925050819055508160015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546109d29190610f18565b925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a369190610c47565b60405180910390a36001905092915050565b6002602052815f5260405f20602052805f5260405f205f91509150505481565b60405180608001604052805f81526020015f81526020015f81526020015f81525090565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610ac3578082015181840152602081019050610aa8565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610ae882610a8c565b610af28185610a96565b9350610b02818560208601610aa6565b610b0b81610ace565b840191505092915050565b5f6020820190508181035f830152610b2e8184610ade565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610b6382610b3a565b9050919050565b610b7381610b59565b8114610b7d575f80fd5b50565b5f81359050610b8e81610b6a565b92915050565b5f819050919050565b610ba681610b94565b8114610bb0575f80fd5b50565b5f81359050610bc181610b9d565b92915050565b5f8060408385031215610bdd57610bdc610b36565b5b5f610bea85828601610b80565b9250506020610bfb85828601610bb3565b9150509250929050565b5f8115159050919050565b610c1981610c05565b82525050565b5f602082019050610c325f830184610c10565b92915050565b610c4181610b94565b82525050565b5f602082019050610c5a5f830184610c38565b92915050565b610c6981610b94565b82525050565b608082015f820151610c835f850182610c60565b506020820151610c966020850182610c60565b506040820151610ca96040850182610c60565b506060820151610cbc6060850182610c60565b50505050565b5f608082019050610cd55f830184610c6f565b92915050565b5f805f60608486031215610cf257610cf1610b36565b5b5f610cff86828701610b80565b9350506020610d1086828701610b80565b9250506040610d2186828701610bb3565b9150509250925092565b5f60ff82169050919050565b610d4081610d2b565b82525050565b5f602082019050610d595f830184610d37565b92915050565b5f60208284031215610d7457610d73610b36565b5b5f610d8184828501610b80565b91505092915050565b5f60208284031215610d9f57610d9e610b36565b5b5f610dac84828501610bb3565b91505092915050565b5f8060408385031215610dcb57610dca610b36565b5b5f610dd885828601610b80565b9250506020610de985828601610b80565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610e3757607f821691505b602082108103610e4a57610e49610df3565b5b50919050565b7f496e73756666696369656e74207175616e7469747900000000000000000000005f82015250565b5f610e84601583610a96565b9150610e8f82610e50565b602082019050919050565b5f6020820190508181035f830152610eb181610e78565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610eef82610b94565b9150610efa83610b94565b9250828203905081811115610f1257610f11610eb8565b5b92915050565b5f610f2282610b94565b9150610f2d83610b94565b9250828201905080821115610f4557610f44610eb8565b5b92915050565b7f6e6f74206f776e657200000000000000000000000000000000000000000000005f82015250565b5f610f7f600983610a96565b9150610f8a82610f4b565b602082019050919050565b5f6020820190508181035f830152610fac81610f73565b905091905056fea2646970667358221220ce3d8da59cbb626415a4c5925aa41c47df0b2a101e32bc9c8902fce2f1f3d5b264736f6c63430008160033