Loading
[ { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" }, { "internalType": "string", "name": "tokenName", "type": "string" }, { "internalType": "string", "name": "tokenSymbol", "type": "string" }, { "internalType": "uint256", "name": "_minTransferAmount", "type": "uint256" } ], "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": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }, { "indexed": false, "internalType": "enum LiquidityStoragerERC20.RedeemStatus", "name": "status", "type": "uint8" } ], "name": "Redeem", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "chainId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Swap", "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": "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": [], "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": "exchangeRoyalty", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMinTransferAmount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getOwnerBalance", "outputs": [ { "internalType": "uint256", "name": "", "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": [ { "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": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "bytes", "name": "redeemUID", "type": "bytes" } ], "name": "redeem", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "redeems", "outputs": [ { "internalType": "enum LiquidityStoragerERC20.RedeemStatus", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "setExchangeRoyalty", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "setMinTransferAmount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "destChainId", "type": "uint256" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "swapToken", "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" }, { "inputs": [ { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "withdrawRoyalty", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
608060405260016006553480156200001657600080fd5b50604051620016da380380620016da833981016040819052620000399162000276565b8282818160036200004b838262000397565b5060046200005a828262000397565b50505062000077620000716200009260201b60201c565b62000096565b5062000085905084620000e8565b6008555062000463915050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620000f26200016b565b6001600160a01b0381166200015d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b620001688162000096565b50565b6005546001600160a01b03163314620001af5760405162461bcd60e51b81526020600482015260056024820152644c5331303360d81b604482015260640162000154565b565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001d957600080fd5b81516001600160401b0380821115620001f657620001f6620001b1565b604051601f8301601f19908116603f01168101908282118183101715620002215762000221620001b1565b816040528381526020925086838588010111156200023e57600080fd5b600091505b8382101562000262578582018301518183018401529082019062000243565b600093810190920192909252949350505050565b600080600080608085870312156200028d57600080fd5b84516001600160a01b0381168114620002a557600080fd5b60208601519094506001600160401b0380821115620002c357600080fd5b620002d188838901620001c7565b94506040870151915080821115620002e857600080fd5b50620002f787828801620001c7565b606096909601519497939650505050565b600181811c908216806200031d57607f821691505b6020821081036200033e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039257600081815260208120601f850160051c810160208610156200036d5750805b601f850160051c820191505b818110156200038e5782815560010162000379565b5050505b505050565b81516001600160401b03811115620003b357620003b3620001b1565b620003cb81620003c4845462000308565b8462000344565b602080601f831160018114620004035760008415620003ea5750858301515b600019600386901b1c1916600185901b1785556200038e565b600085815260208120601f198616915b82811015620004345788860151825594840194600190910190840162000413565b5085821015620004535787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61126780620004736000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806372618aac116100c3578063a457c2d71161007c578063a457c2d7146102e5578063a9059cbb146102f8578063b92e63961461030b578063d3524a951461031e578063dd62ed3e14610327578063f2fde38b1461033a57600080fd5b806372618aac146102595780637f2015811461026c578063873c852a1461027f5780638da5cb5b146102ba578063913a4bc5146102d557806395d89b41146102dd57600080fd5b8063395093511161011557806339509351146101e757806340c10f19146101fa57806357a2eda91461020d578063590791f21461022057806370a0823114610228578063715018a61461025157600080fd5b806306fdde031461015d578063095ea7b31461017b57806310badf4e1461019e57806318160ddd146101b357806323b872dd146101c5578063313ce567146101d8575b600080fd5b61016561034d565b6040516101729190610e21565b60405180910390f35b61018e610189366004610e8b565b6103df565b6040519015158152602001610172565b6101b16101ac366004610eb5565b6103f9565b005b6002545b604051908152602001610172565b61018e6101d3366004610f3c565b610522565b60405160128152602001610172565b61018e6101f5366004610e8b565b610546565b6101b1610208366004610e8b565b610568565b6101b161021b366004610f78565b61057e565b6007546101b7565b6101b7610236366004610f91565b6001600160a01b031660009081526020819052604090205490565b6101b16105fd565b6101b1610267366004610fb3565b610611565b6101b161027a366004610f78565b610708565b6102ad61028d366004610ffc565b805160208183018101805160098252928201919093012091525460ff1681565b60405161017291906110e5565b6005546040516001600160a01b039091168152602001610172565b6008546101b7565b61016561074e565b61018e6102f3366004610e8b565b61075d565b61018e610306366004610e8b565b6107d8565b6101b1610319366004610f78565b6107e6565b6101b760065481565b6101b76103353660046110f3565b6107f3565b6101b1610348366004610f91565b61081e565b60606003805461035c90611126565b80601f016020809104026020016040519081016040528092919081815260200182805461038890611126565b80156103d55780601f106103aa576101008083540402835291602001916103d5565b820191906000526020600020905b8154815290600101906020018083116103b857829003601f168201915b5050505050905090565b6000336103ed818585610897565b60019150505b92915050565b6104016109bc565b600060098383604051610415929190611160565b9081526040519081900360200190205460ff166001811115610439576104396110ad565b146104735760405162461bcd60e51b81526020600482015260056024820152644c5330303160d81b60448201526064015b60405180910390fd5b600160098383604051610487929190611160565b908152604051908190036020019020805460ff1916600183818111156104af576104af6110ad565b02179055506104be84846109fe565b7f6de3539db832d0d4eeb992f4ee0b66dd5e3e70ba3239246f9699bb8c7488e70b8484600985856040516104f3929190611160565b9081526040519081900360200181205461051493929160ff90911690611170565b60405180910390a150505050565b600033610530858285610aab565b61053b858585610b25565b506001949350505050565b6000336103ed81858561055983836107f3565b61056391906111b2565b610897565b6105706109bc565b61057a82826109fe565b5050565b6105866109bc565b600061059160075490565b9050808211156105cb5760405162461bcd60e51b8152602060048201526005602482015264262998181960d91b604482015260640161046a565b81156105d757816105d9565b805b915081600760008282546105ed91906111c5565b9091555061057a905033836109fe565b6106056109bc565b61060f6000610cb7565b565b4682036106485760405162461bcd60e51b81526020600482015260056024820152644c5332303360d81b604482015260640161046a565b6008548110156106825760405162461bcd60e51b81526020600482015260056024820152641314cc8c0d60da1b604482015260640161046a565b6006546000906106936064846111d8565b61069d91906111fa565b905080600760008282546106b191906111b2565b909155506106c190508483610d09565b604080516001600160a01b0386168152602081018590529081018390527f77f92a1b6a1a11de8ca49515ad4c1fad45632dd3442167d74b90b304a3c7a75890606001610514565b6107106109bc565b60648111156107495760405162461bcd60e51b81526020600482015260056024820152644c5330303360d81b604482015260640161046a565b600655565b60606004805461035c90611126565b6000338161076b82866107f3565b9050838110156107cb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161046a565b61053b8286868403610897565b6000336103ed818585610b25565b6107ee6109bc565b600855565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108266109bc565b6001600160a01b03811661088b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161046a565b61089481610cb7565b50565b6001600160a01b0383166108f95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161046a565b6001600160a01b03821661095a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161046a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6005546001600160a01b0316331461060f5760405162461bcd60e51b81526020600482015260056024820152644c5331303360d81b604482015260640161046a565b6001600160a01b038216610a545760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161046a565b8060026000828254610a6691906111b2565b90915550506001600160a01b03821660008181526020818152604080832080548601905551848152600080516020611212833981519152910160405180910390a35050565b6000610ab784846107f3565b90506000198114610b1f5781811015610b125760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161046a565b610b1f8484848403610897565b50505050565b6001600160a01b038316610b895760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161046a565b6001600160a01b038216610beb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161046a565b6001600160a01b03831660009081526020819052604090205481811015610c635760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161046a565b6001600160a01b0384811660008181526020818152604080832087870390559387168083529184902080548701905592518581529092600080516020611212833981519152910160405180910390a3610b1f565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610d695760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161046a565b6001600160a01b03821660009081526020819052604090205481811015610ddd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161046a565b6001600160a01b03831660008181526020818152604080832086860390556002805487900390555185815291929160008051602061121283398151915291016109af565b600060208083528351808285015260005b81811015610e4e57858101830151858201604001528201610e32565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610e8657600080fd5b919050565b60008060408385031215610e9e57600080fd5b610ea783610e6f565b946020939093013593505050565b60008060008060608587031215610ecb57600080fd5b610ed485610e6f565b935060208501359250604085013567ffffffffffffffff80821115610ef857600080fd5b818701915087601f830112610f0c57600080fd5b813581811115610f1b57600080fd5b886020828501011115610f2d57600080fd5b95989497505060200194505050565b600080600060608486031215610f5157600080fd5b610f5a84610e6f565b9250610f6860208501610e6f565b9150604084013590509250925092565b600060208284031215610f8a57600080fd5b5035919050565b600060208284031215610fa357600080fd5b610fac82610e6f565b9392505050565b600080600060608486031215610fc857600080fd5b610fd184610e6f565b95602085013595506040909401359392505050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561100e57600080fd5b813567ffffffffffffffff8082111561102657600080fd5b818401915084601f83011261103a57600080fd5b81358181111561104c5761104c610fe6565b604051601f8201601f19908116603f0116810190838211818310171561107457611074610fe6565b8160405282815287602084870101111561108d57600080fd5b826020860160208301376000928101602001929092525095945050505050565b634e487b7160e01b600052602160045260246000fd5b600281106110e157634e487b7160e01b600052602160045260246000fd5b9052565b602081016103f382846110c3565b6000806040838503121561110657600080fd5b61110f83610e6f565b915061111d60208401610e6f565b90509250929050565b600181811c9082168061113a57607f821691505b60208210810361115a57634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b6001600160a01b0384168152602081018390526060810161119460408301846110c3565b949350505050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103f3576103f361119c565b818103818111156103f3576103f361119c565b6000826111f557634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176103f3576103f361119c56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220ea292e292dc43a34b0159bde73dad56e31afa52afd75ba9256c5c241cf46bf4264736f6c63430008110033000000000000000000000000e18413ad71866cf6322d0b68b78e0995a78d8fbb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000000000000000000005474045544800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024047000000000000000000000000000000000000000000000000000000000000
0x000000000000000000000000e18413ad71866cf6322d0b68b78e0995a78d8fbb000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000000000000000000005474045544800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024047000000000000000000000000000000000000000000000000000000000000
----Decoded View------------Arg [0] : newOwner (address): 0xE18413ad71866cf6322d0B68B78e0995a78D8fBBArg [1] : tokenName (string): G@ETHArg [2] : tokenSymbol (string): @GArg [3] : _minTransferAmount (uint256): 100000000000000000000
----Encoded View------------Arg [0] : 0x000000000000000000000000e18413ad71866cf6322d0b68b78e0995a78d8fbbArg [1] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000054740455448000000000000000000000000000000000000000000000000000000Arg [2] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000024047000000000000000000000000000000000000000000000000000000000000Arg [3] : 0x0000000000000000000000000000000000000000000000056bc75e2d63100000