Loading
[ { "inputs": [ { "internalType": "address", "name": "_bridge", "type": "address" }, { "internalType": "address", "name": "_remoteToken", "type": "address" }, { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" } ], "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": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Burn", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "Mint", "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": "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": [ { "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": "bridge", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_from", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "burn", "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": [ { "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": "l1Token", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "l2Bridge", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "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": "remoteToken", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "_interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "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": [], "name": "version", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" } ]
6101206040523480156200001257600080fd5b506040516200176638038062001766833981016040819052620000359162000223565b838383836001600080848460036200004e838262000342565b5060046200005d828262000342565b50505060809290925260a05260c05250506001600160a01b0390811660e052908116610100528416620000d75760405162461bcd60e51b815260206004820152601660248201527f496e76616c69642042726964676520416464726573730000000000000000000060448201526064015b60405180910390fd5b6001600160a01b0383166200012f5760405162461bcd60e51b815260206004820152601c60248201527f496e76616c69642052656d6f746520546f6b656e2041646472657373000000006044820152606401620000ce565b505050506200040e565b80516001600160a01b03811681146200015157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200017e57600080fd5b81516001600160401b03808211156200019b576200019b62000156565b604051601f8301601f19908116603f01168101908282118183101715620001c657620001c662000156565b81604052838152602092508683858801011115620001e357600080fd5b600091505b83821015620002075785820183015181830184015290820190620001e8565b83821115620002195760008385830101525b9695505050505050565b600080600080608085870312156200023a57600080fd5b620002458562000139565b9350620002556020860162000139565b60408601519093506001600160401b03808211156200027357600080fd5b62000281888389016200016c565b935060608701519150808211156200029857600080fd5b50620002a7878288016200016c565b91505092959194509250565b600181811c90821680620002c857607f821691505b602082108103620002e957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033d57600081815260208120601f850160051c81016020861015620003185750805b601f850160051c820191505b81811015620003395782815560010162000324565b5050505b505050565b81516001600160401b038111156200035e576200035e62000156565b62000376816200036f8454620002b3565b84620002ef565b602080601f831160018114620003ae5760008415620003955750858301515b600019600386901b1c1916600185901b17855562000339565b600085815260208120601f198616915b82811015620003df57888601518255948401946001909101908401620003be565b5085821015620003fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051610100516112f76200046f600039600081816102db015281816103630152818161058e01526107340152600081816101a90152610301015260006106d0015260006106a70152600061067e01526112f76000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063ae1f6aaf1161008c578063dd62ed3e11610066578063dd62ed3e14610325578063e78cea92146102d9578063ee9a31a21461035e57600080fd5b8063ae1f6aaf146102d9578063c01e1bd6146102ff578063d6c0b2c4146102ff57600080fd5b80639dc29fac116100bd5780639dc29fac146102a0578063a457c2d7146102b3578063a9059cbb146102c657600080fd5b806370a082311461026f57806395d89b411461029857600080fd5b806323b872dd1161012f5780633950935111610114578063395093511461023f57806340c10f191461025257806354fd4d501461026757600080fd5b806323b872dd1461021d578063313ce5671461023057600080fd5b806306fdde031161016057806306fdde03146101e3578063095ea7b3146101f857806318160ddd1461020b57600080fd5b806301ffc9a71461017c578063033964be146101a4575b600080fd5b61018f61018a36600461103f565b610385565b60405190151581526020015b60405180910390f35b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161019b565b6101eb610476565b60405161019b91906110b4565b61018f610206366004611121565b610508565b6002545b60405190815260200161019b565b61018f61022b36600461114b565b610520565b6040516012815260200161019b565b61018f61024d366004611121565b610544565b610265610260366004611121565b610583565b005b6101eb610677565b61020f61027d366004611187565b6001600160a01b031660009081526020819052604090205490565b6101eb61071a565b6102656102ae366004611121565b610729565b61018f6102c1366004611121565b61080c565b61018f6102d4366004611121565b6108b6565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b7f00000000000000000000000000000000000000000000000000000000000000006101cb565b61020f6103333660046111a2565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101cb7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007f1d1d8b63000000000000000000000000000000000000000000000000000000007fec4fc8e3000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000851683148061043e57507fffffffff00000000000000000000000000000000000000000000000000000000858116908316145b8061046d57507fffffffff00000000000000000000000000000000000000000000000000000000858116908216145b95945050505050565b606060038054610485906111d5565b80601f01602080910402602001604051908101604052809291908181526020018280546104b1906111d5565b80156104fe5780601f106104d3576101008083540402835291602001916104fe565b820191906000526020600020905b8154815290600101906020018083116104e157829003601f168201915b5050505050905090565b6000336105168185856108c4565b5060019392505050565b60003361052e858285610a1d565b610539858585610aaf565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610516908290869061057e90879061120f565b6108c4565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106265760405162461bcd60e51b815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e00000000000000000000000060648201526084015b60405180910390fd5b6106308282610c9c565b816001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968858260405161066b91815260200190565b60405180910390a25050565b60606106a27f0000000000000000000000000000000000000000000000000000000000000000610d5b565b6106cb7f0000000000000000000000000000000000000000000000000000000000000000610d5b565b6106f47f0000000000000000000000000000000000000000000000000000000000000000610d5b565b60405160200161070693929190611235565b604051602081830303815290604052905090565b606060048054610485906111d5565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107c75760405162461bcd60e51b815260206004820152603460248201527f4f7074696d69736d4d696e7461626c6545524332303a206f6e6c79206272696460448201527f67652063616e206d696e7420616e64206275726e000000000000000000000000606482015260840161061d565b6107d18282610dfb565b816001600160a01b03167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405161066b91815260200190565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156108a95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161061d565b61053982868684036108c4565b600033610516818585610aaf565b6001600160a01b03831661093f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161061d565b6001600160a01b0382166109bb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161061d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610aa95781811015610a9c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161061d565b610aa984848484036108c4565b50505050565b6001600160a01b038316610b2b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161061d565b6001600160a01b038216610ba75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161061d565b6001600160a01b03831660009081526020819052604090205481811015610c365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161061d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610aa9565b6001600160a01b038216610cf25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161061d565b8060026000828254610d04919061120f565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60606000610d6883610f5c565b600101905060008167ffffffffffffffff811115610d8857610d886112ab565b6040519080825280601f01601f191660200182016040528015610db2576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610dbc57509392505050565b6001600160a01b038216610e775760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161061d565b6001600160a01b03821660009081526020819052604090205481811015610f065760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161061d565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610a10565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310610fa5577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310610fd1576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610fef57662386f26fc10000830492506010015b6305f5e1008310611007576305f5e100830492506008015b612710831061101b57612710830492506004015b6064831061102d576064830492506002015b600a8310611039576001015b92915050565b60006020828403121561105157600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461108157600080fd5b9392505050565b60005b838110156110a357818101518382015260200161108b565b83811115610aa95750506000910152565b60208152600082518060208401526110d3816040850160208701611088565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b80356001600160a01b038116811461111c57600080fd5b919050565b6000806040838503121561113457600080fd5b61113d83611105565b946020939093013593505050565b60008060006060848603121561116057600080fd5b61116984611105565b925061117760208501611105565b9150604084013590509250925092565b60006020828403121561119957600080fd5b61108182611105565b600080604083850312156111b557600080fd5b6111be83611105565b91506111cc60208401611105565b90509250929050565b600181811c908216806111e957607f821691505b60208210810361120957634e487b7160e01b600052602260045260246000fd5b50919050565b6000821982111561123057634e487b7160e01b600052601160045260246000fd5b500190565b60008451611247818460208901611088565b80830190507f2e000000000000000000000000000000000000000000000000000000000000008082528551611283816001850160208a01611088565b6001920191820152835161129e816002840160208801611088565b0160020195945050505050565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220ecaaa08d809de625e5fe1c31055c1eeef314214d38b6ae9ef8dea596e2716bf864736f6c634300080f003300000000000000000000000042000000000000000000000000000000000000100000000000000000000000001c9922314ed1415c95b9fd453c3818fd41867d0b000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000005544f5745520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005544f574552000000000000000000000000000000000000000000000000000000