[ { "inputs": [ { "internalType": "address", "name": "nativeBridge", "type": "address" }, { "internalType": "address", "name": "remoteToken", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "IXERC20_LimitsTooHigh", "type": "error" }, { "inputs": [], "name": "IXERC20_NoLockBox", "type": "error" }, { "inputs": [], "name": "IXERC20_NotHighEnoughLimits", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "_mintingLimit", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_burningLimit", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "_bridge", "type": "address" } ], "name": "BridgeLimitsSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_lockbox", "type": "address" } ], "name": "LockboxSet", "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" }, { "stateMutability": "payable", "type": "fallback" }, { "inputs": [], "name": "NATIVE_BRIDGE", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "REMOTE_TOKEN", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "bridge", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "bridges", "outputs": [ { "components": [ { "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "internalType": "uint256", "name": "ratePerSecond", "type": "uint256" }, { "internalType": "uint256", "name": "maxLimit", "type": "uint256" }, { "internalType": "uint256", "name": "currentLimit", "type": "uint256" } ], "internalType": "struct IXERC20.BridgeParameters", "name": "minterParams", "type": "tuple" }, { "components": [ { "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "internalType": "uint256", "name": "ratePerSecond", "type": "uint256" }, { "internalType": "uint256", "name": "maxLimit", "type": "uint256" }, { "internalType": "uint256", "name": "currentLimit", "type": "uint256" } ], "internalType": "struct IXERC20.BridgeParameters", "name": "burnerParams", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "bridge", "type": "address" } ], "name": "burningCurrentLimitOf", "outputs": [ { "internalType": "uint256", "name": "limit", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "bridge", "type": "address" } ], "name": "burningMaxLimitOf", "outputs": [ { "internalType": "uint256", "name": "limit", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "contract ISuperTokenFactory", "name": "factory", "type": "address" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "address", "name": "receiver", "type": "address" }, { "internalType": "uint256", "name": "initialSupply", "type": "uint256" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "initialAddress", "type": "address" } ], "name": "initializeProxy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "bridge", "type": "address" } ], "name": "mintingCurrentLimitOf", "outputs": [ { "internalType": "uint256", "name": "limit", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "bridge", "type": "address" } ], "name": "mintingMaxLimitOf", "outputs": [ { "internalType": "uint256", "name": "limit", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "remoteToken", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "bridge", "type": "address" }, { "internalType": "uint256", "name": "mintingLimit", "type": "uint256" }, { "internalType": "uint256", "name": "burningLimit", "type": "uint256" } ], "name": "setLimits", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_lockbox", "type": "address" } ], "name": "setLockbox", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "_interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
60c060405234801561001057600080fd5b5060405161128d38038061128d83398101604081905261002f916100bd565b6100383361004f565b6001600160a01b039182166080521660a0526100f0565b602080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516001600160a01b03811681146100b857600080fd5b919050565b600080604083850312156100d057600080fd5b6100d9836100a1565b91506100e7602084016100a1565b90509250929050565b60805160a05161116a610123600039600081816101760152610411015260008181610444015261047a015261116a6000f3fe6080604052600436106101185760003560e01c80638da5cb5b116100a0578063ced67f0c11610064578063ced67f0c14610363578063d6c0b2c414610402578063e78cea9214610435578063e862304814610468578063f2fde38b1461049c57610127565b80638da5cb5b146102ac578063998955d3146102ca5780639dc29fac146102ea578063a08d56541461030a578063c1eb71371461032a57610127565b8063435350b7116100e7578063435350b7146102175780634a0687ef14610237578063651fd26814610257578063715018a61461027757806375b30be61461028c57610127565b806301ffc9a71461012f578063033964be146101645780630c05f82c146101b057806340c10f19146101f757610127565b36610127576101256104bc565b005b6101256104bc565b34801561013b57600080fd5b5061014f61014a366004610dce565b6104ce565b60405190151581526020015b60405180910390f35b34801561017057600080fd5b506101987f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161015b565b3480156101bc57600080fd5b506101e96101cb366004610e14565b6001600160a01b031660009081526021602052604090206002015490565b60405190815260200161015b565b34801561020357600080fd5b50610125610212366004610e31565b61050c565b34801561022357600080fd5b50610125610232366004610e14565b6105dc565b34801561024357600080fd5b50610125610252366004610e14565b6105f5565b34801561026357600080fd5b506101e9610272366004610e14565b6106fb565b34801561028357600080fd5b50610125610735565b34801561029857600080fd5b506101256102a7366004610f00565b610747565b3480156102b857600080fd5b506020546001600160a01b0316610198565b3480156102d657600080fd5b506101e96102e5366004610e14565b61085a565b3480156102f657600080fd5b50610125610305366004610e31565b610891565b34801561031657600080fd5b50610125610325366004610f91565b610997565b34801561033657600080fd5b506101e9610345366004610e14565b6001600160a01b031660009081526021602052604090206006015490565b34801561036f57600080fd5b506103f461037e366004610e14565b6021602090815260009182526040918290208251608080820185528254825260018301548285015260028301548286015260038301546060808401919091528551918201865260048401548252600584015494820194909452600683015494810194909452600790910154918301919091529082565b60405161015b929190610fc6565b34801561040e57600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610198565b34801561044157600080fd5b507f0000000000000000000000000000000000000000000000000000000000000000610198565b34801561047457600080fd5b506101987f000000000000000000000000000000000000000000000000000000000000000081565b3480156104a857600080fd5b506101256104b7366004610e14565b610a3f565b6104cc6104c7610ab5565b610ae4565b565b60006301ffc9a760e01b63ec4fc8e360e01b6001600160e01b0319841682148061050457506001600160e01b0319848116908216145b949350505050565b336000610518826106fb565b90508281101561053b576040516305b4215560e11b815260040160405180910390fd5b6001600160a01b03821660009081526021602052604090204290556105608382611028565b6001600160a01b03831660009081526021602052604090819020600301919091555163c68d428360e01b8152309063c68d4283906105a4908790879060040161103b565b600060405180830381600087803b1580156105be57600080fd5b505af11580156105d2573d6000803e3d6000fd5b5050505050505050565b6040516366822f6560e11b815260040160405180910390fd5b6001600160a01b0381166106505760405162461bcd60e51b815260206004820152601760248201527f5555505350726f78793a207a65726f206164647265737300000000000000000060448201526064015b60405180910390fd5b600061067a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6001600160a01b0316146106d05760405162461bcd60e51b815260206004820152601e60248201527f5555505350726f78793a20616c726561647920696e697469616c697a656400006044820152606401610647565b6106f8817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50565b6001600160a01b038116600090815260216020526040812060038101546002820154825460019093015461072f9390610b08565b92915050565b61073d610b7e565b6104cc6000610bd8565b604051633504b4d160e21b81523060048201526001600160a01b0386169063d412d34490602401600060405180830381600087803b15801561078857600080fd5b505af115801561079c573d6000803e3d6000fd5b50506040516285fc1360e71b81523092506342fe098091506107ca90600090601290899089906004016110a9565b600060405180830381600087803b1580156107e457600080fd5b505af11580156107f8573d6000803e3d6000fd5b505060405163c68d428360e01b815230925063c68d42839150610821908590859060040161103b565b600060405180830381600087803b15801561083b57600080fd5b505af115801561084f573d6000803e3d6000fd5b505050505050505050565b6001600160a01b038116600090815260216020526040812060078101546006820154600483015460059093015461072f9390610b08565b33600061089d8261085a565b9050828110156108c0576040516305b4215560e11b815260040160405180910390fd5b6001600160a01b0382166000908152602160205260409020426004909101556108e98382611028565b6001600160a01b03838116600081815260216020526040908190206007019390935591516320db835f60e11b815290861660048201526024810182905260448101919091526064810184905230906341b706be90608401600060405180830381600087803b15801561095a57600080fd5b505af115801561096e573d6000803e3d6000fd5b5050604051639d87674160e01b8152309250639d87674191506105a4908590879060040161103b565b61099f610b7e565b6109ac60026000196110e8565b8211806109c457506109c160026000196110e8565b81115b156109e25760405163f596480960e01b815260040160405180910390fd5b6109ec8383610c2a565b6109f68382610cce565b60408051838152602081018390526001600160a01b038516917f93f3bbfe8cfb354ec059175107653f49f6eb479a8622a7d83866ea015435c944910160405180910390a2505050565b610a47610b7e565b6001600160a01b038116610aac5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610647565b6106f881610bd8565b6000610adf7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905090565b3660008037600080366000845af43d6000803e808015610b03573d6000f35b3d6000fd5b838381146105045742610b1e620151808561110a565b11610b2a575082610504565b42610b38620151808561110a565b1115610504576000610b4a8442611028565b90506000610b58848361111d565b610b62908461110a565b9050858111610b715780610b73565b855b979650505050505050565b6020546001600160a01b031633146104cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610647565b602080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526021602052604081206002015490610c50846106fb565b6001600160a01b03851660009081526021602052604090206002018490559050610c7b838383610d78565b6001600160a01b038516600090815260216020526040902060030155610ca462015180846110e8565b6001600160a01b039094166000908152602160205260409020600181019490945550504290915550565b6001600160a01b03821660009081526021602052604081206006015490610cf48461085a565b6001600160a01b03851660009081526021602052604090206006018490559050610d1f838383610d78565b6001600160a01b038516600090815260216020526040902060070155610d4862015180846110e8565b6001600160a01b039094166000908152602160205260409020600581019490945550504260049092019190915550565b600080838511610dad57610d8c8585611028565b9050808311610d9c576000610da6565b610da68184611028565b9150610dc6565b610db78486611028565b9050610dc3818461110a565b91505b509392505050565b600060208284031215610de057600080fd5b81356001600160e01b031981168114610df857600080fd5b9392505050565b6001600160a01b03811681146106f857600080fd5b600060208284031215610e2657600080fd5b8135610df881610dff565b60008060408385031215610e4457600080fd5b8235610e4f81610dff565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610e8457600080fd5b813567ffffffffffffffff80821115610e9f57610e9f610e5d565b604051601f8301601f19908116603f01168101908282118183101715610ec757610ec7610e5d565b81604052838152866020858801011115610ee057600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080600060a08688031215610f1857600080fd5b8535610f2381610dff565b9450602086013567ffffffffffffffff80821115610f4057600080fd5b610f4c89838a01610e73565b95506040880135915080821115610f6257600080fd5b50610f6f88828901610e73565b9350506060860135610f8081610dff565b949793965091946080013592915050565b600080600060608486031215610fa657600080fd5b8335610fb181610dff565b95602085013595506040909401359392505050565b82518152602080840151818301526040808501518184015260608086015181850152845160808501529184015160a084015283015160c083015282015160e08201526101008101610df8565b634e487b7160e01b600052601160045260246000fd5b8181038181111561072f5761072f611012565b6001600160a01b03929092168252602082015260606040820181905260009082015260800190565b6000815180845260005b818110156110895760208185018101518683018201520161106d565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160a01b038516815260ff841660208201526080604082018190526000906110d690830185611063565b8281036060840152610b738185611063565b60008261110557634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561072f5761072f611012565b808202811582820484141761072f5761072f61101256fea2646970667358221220c77cdd13aaf85bae8f6cf8e4db47b7c17623cefadfb7fa6cb8461c4dbd07116764736f6c6343000817003300000000000000000000000042000000000000000000000000000000000000100000000000000000000000001888f4bd9a2d84c74703c105d58fd7e176c3e313
0x00000000000000000000000042000000000000000000000000000000000000100000000000000000000000001888f4bd9a2d84c74703c105d58fd7e176c3e313
----Decoded View------------Arg [0] : nativeBridge (address): 0x4200000000000000000000000000000000000010Arg [1] : remoteToken (address): 0x1888F4BD9A2d84C74703c105D58FD7E176C3e313
----Encoded View------------Arg [0] : 0x0000000000000000000000004200000000000000000000000000000000000010Arg [1] : 0x0000000000000000000000001888f4bd9a2d84c74703c105d58fd7e176c3e313