[ { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "uint8", "name": "decimalsValue", "type": "uint8" } ], "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" } ], "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": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "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": [], "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": "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" } ]
608060405234801561001057600080fd5b50604051610a87380380610a8783398101604081905261002f91610123565b8282600361003d838261022f565b50600461004a828261022f565b50506005805460ff191660ff9390931692909217909155506102ed915050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261009157600080fd5b81516001600160401b038111156100aa576100aa61006a565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100d8576100d861006a565b6040528181528382016020018510156100f057600080fd5b60005b8281101561010f576020818601810151838301820152016100f3565b506000918101602001919091529392505050565b60008060006060848603121561013857600080fd5b83516001600160401b0381111561014e57600080fd5b61015a86828701610080565b602086015190945090506001600160401b0381111561017857600080fd5b61018486828701610080565b925050604084015160ff8116811461019b57600080fd5b809150509250925092565b600181811c908216806101ba57607f821691505b6020821081036101da57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561022a57806000526020600020601f840160051c810160208510156102075750805b601f840160051c820191505b818110156102275760008155600101610213565b50505b505050565b81516001600160401b038111156102485761024861006a565b61025c8161025684546101a6565b846101e0565b6020601f82116001811461029057600083156102785750848201515b600019600385901b1c1916600184901b178455610227565b600084815260208120601f198516915b828110156102c057878501518255602094850194600190920191016102a0565b50848210156102de5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b61078b806102fc6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806340c10f191161006657806340c10f191461011e57806370a082311461013357806395d89b411461015c578063a9059cbb14610164578063dd62ed3e1461017757600080fd5b806306fdde03146100a3578063095ea7b3146100c157806318160ddd146100e457806323b872dd146100f6578063313ce56714610109575b600080fd5b6100ab6101b0565b6040516100b891906105d4565b60405180910390f35b6100d46100cf36600461063e565b610242565b60405190151581526020016100b8565b6002545b6040519081526020016100b8565b6100d4610104366004610668565b61025c565b60055460405160ff90911681526020016100b8565b61013161012c36600461063e565b610280565b005b6100e86101413660046106a5565b6001600160a01b031660009081526020819052604090205490565b6100ab61028e565b6100d461017236600461063e565b61029d565b6100e86101853660046106c7565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101bf906106fa565b80601f01602080910402602001604051908101604052809291908181526020018280546101eb906106fa565b80156102385780601f1061020d57610100808354040283529160200191610238565b820191906000526020600020905b81548152906001019060200180831161021b57829003601f168201915b5050505050905090565b6000336102508185856102ab565b60019150505b92915050565b60003361026a8582856102bd565b610275858585610340565b506001949350505050565b61028a828261039f565b5050565b6060600480546101bf906106fa565b600033610250818585610340565b6102b883838360016103d5565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461033a578181101561032b57604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61033a848484840360006103d5565b50505050565b6001600160a01b03831661036a57604051634b637e8f60e11b815260006004820152602401610322565b6001600160a01b0382166103945760405163ec442f0560e01b815260006004820152602401610322565b6102b88383836104aa565b6001600160a01b0382166103c95760405163ec442f0560e01b815260006004820152602401610322565b61028a600083836104aa565b6001600160a01b0384166103ff5760405163e602df0560e01b815260006004820152602401610322565b6001600160a01b03831661042957604051634a1406b160e11b815260006004820152602401610322565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561033a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161049c91815260200190565b60405180910390a350505050565b6001600160a01b0383166104d55780600260008282546104ca9190610734565b909155506105479050565b6001600160a01b038316600090815260208190526040902054818110156105285760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610322565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661056357600280548290039055610582565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105c791815260200190565b60405180910390a3505050565b602081526000825180602084015260005b8181101561060257602081860181015160408684010152016105e5565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461063957600080fd5b919050565b6000806040838503121561065157600080fd5b61065a83610622565b946020939093013593505050565b60008060006060848603121561067d57600080fd5b61068684610622565b925061069460208501610622565b929592945050506040919091013590565b6000602082840312156106b757600080fd5b6106c082610622565b9392505050565b600080604083850312156106da57600080fd5b6106e383610622565b91506106f160208401610622565b90509250929050565b600181811c9082168061070e57607f821691505b60208210810361072e57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561025657634e487b7160e01b600052601160045260246000fdfea26469706673582212202d8eb7e2298cda502bb7a4fa70868c989320be901d0dffb3693193d82656995c64736f6c634300081b0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004746573740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045445535400000000000000000000000000000000000000000000000000000000
0x000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004746573740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045445535400000000000000000000000000000000000000000000000000000000
----Decoded View------------Arg [0] : name (string): testArg [1] : symbol (string): TESTArg [2] : decimalsValue (uint8): 6
----Encoded View------------Arg [0] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000047465737400000000000000000000000000000000000000000000000000000000Arg [1] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000045445535400000000000000000000000000000000000000000000000000000000Arg [2] : 0x0000000000000000000000000000000000000000000000000000000000000006