[ { "inputs": [ { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" }, { "internalType": "address", "name": "newOwner", "type": "address" }, { "internalType": "uint256", "name": "initMint", "type": "uint256" }, { "internalType": "uint8", "name": "decimals_", "type": "uint8" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "InvalidShortString", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "str", "type": "string" } ], "name": "StringTooLong", "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": [], "name": "EIP712DomainChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "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": [], "name": "DOMAIN_SEPARATOR", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "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": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burnFrom", "outputs": [], "stateMutability": "nonpayable", "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": [], "name": "eip712Domain", "outputs": [ { "internalType": "bytes1", "name": "fields", "type": "bytes1" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "version", "type": "string" }, { "internalType": "uint256", "name": "chainId", "type": "uint256" }, { "internalType": "address", "name": "verifyingContract", "type": "address" }, { "internalType": "bytes32", "name": "salt", "type": "bytes32" }, { "internalType": "uint256[]", "name": "extensions", "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": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" } ], "name": "nonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "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": "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" } ]
6101606040523480156200001257600080fd5b5060405162001bb738038062001bb78339810160408190526200003591620003d8565b6040805180820190915260018152603160f81b6020820152859081908187600362000061838262000518565b50600462000070828262000518565b50620000829150839050600562000171565b610120526200009381600662000171565b61014052815160208084019190912060e052815190820120610100524660a0526200012160e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506200013633620001aa565b6001600a556200014683620001aa565b620001528383620001fc565b600b805460ff191660ff92909216919091179055506200066092505050565b600060208351101562000191576200018983620002c3565b9050620001a4565b816200019e848262000518565b5060ff90505b92915050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002585760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200026c9190620005e4565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080829050601f81511115620002f1578260405163305a27a960e01b81526004016200024f919062000606565b8051620002fe826200063b565b179392505050565b505050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200033e57818101518382015260200162000324565b50506000910152565b600082601f8301126200035957600080fd5b81516001600160401b03808211156200037657620003766200030b565b604051601f8301601f19908116603f01168101908282118183101715620003a157620003a16200030b565b81604052838152866020858801011115620003bb57600080fd5b620003ce84602083016020890162000321565b9695505050505050565b600080600080600060a08688031215620003f157600080fd5b85516001600160401b03808211156200040957600080fd5b6200041789838a0162000347565b965060208801519150808211156200042e57600080fd5b506200043d8882890162000347565b604088015190955090506001600160a01b03811681146200045d57600080fd5b60608701516080880151919450925060ff811681146200047c57600080fd5b809150509295509295909350565b600181811c908216806200049f57607f821691505b602082108103620004c057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030657600081815260208120601f850160051c81016020861015620004ef5750805b601f850160051c820191505b818110156200051057828155600101620004fb565b505050505050565b81516001600160401b038111156200053457620005346200030b565b6200054c816200054584546200048a565b84620004c6565b602080601f8311600181146200058457600084156200056b5750858301515b600019600386901b1c1916600185901b17855562000510565b600085815260208120601f198616915b82811015620005b55788860151825594840194600190910190840162000594565b5085821015620005d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620001a457634e487b7160e01b600052601160045260246000fd5b60208152600082518060208401526200062781604085016020870162000321565b601f01601f19169190910160400192915050565b80516020808301519190811015620004c05760001960209190910360031b1b16919050565b60805160a05160c05160e0516101005161012051610140516114fc620006bb60003960006104e5015260006104ba01526000610c5601526000610c2e01526000610b8901526000610bb301526000610bdd01526114fc6000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c806379cc6790116100cd578063a457c2d711610081578063d505accf11610066578063d505accf146102d7578063dd62ed3e146102ea578063f2fde38b1461032357600080fd5b8063a457c2d7146102b1578063a9059cbb146102c457600080fd5b806384b0196e116100b257806384b0196e146102735780638da5cb5b1461028e57806395d89b41146102a957600080fd5b806379cc67901461024d5780637ecebe001461026057600080fd5b80633644e5151161012457806342966c681161010957806342966c681461020757806370a082311461021c578063715018a61461024557600080fd5b80633644e515146101ec57806339509351146101f457600080fd5b806318160ddd1161015557806318160ddd146101b257806323b872dd146101c4578063313ce567146101d757600080fd5b806306fdde0314610171578063095ea7b31461018f575b600080fd5b610179610336565b6040516101869190611278565b60405180910390f35b6101a261019d3660046112ae565b6103c8565b6040519015158152602001610186565b6002545b604051908152602001610186565b6101a26101d23660046112d8565b6103e2565b600b5460405160ff9091168152602001610186565b6101b6610406565b6101a26102023660046112ae565b610415565b61021a610215366004611314565b610454565b005b6101b661022a36600461132d565b6001600160a01b031660009081526020819052604090205490565b61021a610461565b61021a61025b3660046112ae565b610475565b6101b661026e36600461132d565b61048e565b61027b6104ac565b6040516101869796959493929190611348565b6009546040516001600160a01b039091168152602001610186565b610179610535565b6101a26102bf3660046112ae565b610544565b6101a26102d23660046112ae565b6105f3565b61021a6102e53660046113de565b610601565b6101b66102f8366004611451565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61021a61033136600461132d565b610765565b60606003805461034590611484565b80601f016020809104026020016040519081016040528092919081815260200182805461037190611484565b80156103be5780601f10610393576101008083540402835291602001916103be565b820191906000526020600020905b8154815290600101906020018083116103a157829003601f168201915b5050505050905090565b6000336103d68185856107f2565b60019150505b92915050565b6000336103f0858285610917565b6103fb8585856109a9565b506001949350505050565b6000610410610b7c565b905090565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906103d6908290869061044f9087906114b8565b6107f2565b61045e3382610ca7565b50565b610469610dd1565b6104736000610e2b565b565b610480823383610917565b61048a8282610ca7565b5050565b6001600160a01b0381166000908152600760205260408120546103dc565b6000606080828080836104e07f00000000000000000000000000000000000000000000000000000000000000006005610e95565b61050b7f00000000000000000000000000000000000000000000000000000000000000006006610e95565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461034590611484565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156105e65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6103fb82868684036107f2565b6000336103d68185856109a9565b834211156106515760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016105dd565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886106808c610f40565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006106db82610f68565b905060006106eb82878787610f95565b9050896001600160a01b0316816001600160a01b03161461074e5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016105dd565b6107598a8a8a6107f2565b50505050505050505050565b61076d610dd1565b6001600160a01b0381166107e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105dd565b61045e81610e2b565b6001600160a01b0383166108545760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105dd565b6001600160a01b0382166108b55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105dd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146109a357818110156109965760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105dd565b6109a384848484036107f2565b50505050565b6001600160a01b038316610a255760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105dd565b6001600160a01b038216610a875760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105dd565b6001600160a01b03831660009081526020819052604090205481811015610b165760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016105dd565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36109a3565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610bd557507f000000000000000000000000000000000000000000000000000000000000000046145b15610bff57507f000000000000000000000000000000000000000000000000000000000000000090565b610410604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6001600160a01b038216610d075760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105dd565b6001600160a01b03821660009081526020819052604090205481811015610d7b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105dd565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161090a565b6009546001600160a01b031633146104735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105dd565b600980546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606060ff8314610eaf57610ea883610fbd565b90506103dc565b818054610ebb90611484565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee790611484565b8015610f345780601f10610f0957610100808354040283529160200191610f34565b820191906000526020600020905b815481529060010190602001808311610f1757829003601f168201915b505050505090506103dc565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b60006103dc610f75610b7c565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000610fa687878787610ffc565b91509150610fb3816110c0565b5095945050505050565b60606000610fca8361120a565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561103357506000905060036110b7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611087573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110b0576000600192509250506110b7565b9150600090505b94509492505050565b60008160048111156110d4576110d46114d9565b036110dc5750565b60018160048111156110f0576110f06114d9565b0361113d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105dd565b6002816004811115611151576111516114d9565b0361119e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105dd565b60038160048111156111b2576111b26114d9565b0361045e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105dd565b600060ff8216601f8111156103dc57604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b818110156112585760208185018101518683018201520161123c565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061128b6020830184611232565b9392505050565b80356001600160a01b03811681146112a957600080fd5b919050565b600080604083850312156112c157600080fd5b6112ca83611292565b946020939093013593505050565b6000806000606084860312156112ed57600080fd5b6112f684611292565b925061130460208501611292565b9150604084013590509250925092565b60006020828403121561132657600080fd5b5035919050565b60006020828403121561133f57600080fd5b61128b82611292565b60ff60f81b881681526000602060e08184015261136860e084018a611232565b838103604085015261137a818a611232565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b818110156113cc578351835292840192918401916001016113b0565b50909c9b505050505050505050505050565b600080600080600080600060e0888a0312156113f957600080fd5b61140288611292565b965061141060208901611292565b95506040880135945060608801359350608088013560ff8116811461143457600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561146457600080fd5b61146d83611292565b915061147b60208401611292565b90509250929050565b600181811c9082168061149857607f821691505b602082108103610f6257634e487b7160e01b600052602260045260246000fd5b808201808211156103dc57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea164736f6c6343000813000a00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000001d5eecbd950c22ec2b5813ab1d65ed5ffd83f32b0000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001354657374204d616769632053717561726520320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057453515232000000000000000000000000000000000000000000000000000000
0x00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000001d5eecbd950c22ec2b5813ab1d65ed5ffd83f32b0000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001354657374204d616769632053717561726520320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057453515232000000000000000000000000000000000000000000000000000000
----Decoded View------------Arg [0] : name_ (string): Test Magic Square 2Arg [1] : symbol_ (string): tSQR2Arg [2] : newOwner (address): 0x1D5eeCbD950C22Ec2B5813Ab1D65ED5fFD83F32BArg [3] : initMint (uint256): 100000000000000000000Arg [4] : decimals_ (uint8): 8
----Encoded View------------Arg [0] : 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001354657374204d6167696320537175617265203200000000000000000000000000Arg [1] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000057453515232000000000000000000000000000000000000000000000000000000Arg [2] : 0x0000000000000000000000001d5eecbd950c22ec2b5813ab1d65ed5ffd83f32bArg [3] : 0x0000000000000000000000000000000000000000000000056bc75e2d63100000Arg [4] : 0x0000000000000000000000000000000000000000000000000000000000000008