Source Code
Latest 5 from a total of 5 transactions
View more zero value Internal Transactions in Advanced View mode
Cross-Chain Transactions
Loading...
Loading
Contract Source Code (Solidity Standard Json-Input format)
Contract Security Audit
No Contract Security Audit SubmittedSubmit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"xerc20","type":"address"},{"internalType":"address","name":"erc20","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"ERC20","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"XERC20","outputs":[{"internalType":"contract IXERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"}]Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100625760003560e01c8063205c2878146100675780632e1a7d4d1461007c578063b20a0fb91461008f578063b6b55f25146100d2578063cc4aa204146100e5578063ffaad6a51461010c575b600080fd5b61007a610075366004610654565b61011f565b005b61007a61008a36600461068c565b61012d565b6100b67f000000000000000000000000a88594d404727625a9437c3f886c7643872296ae81565b6040516001600160a01b03909116815260200160405180910390f35b61007a6100e036600461068c565b61013a565b6100b67f000000000000000000000000511ab53f793683763e5a8829738301368a2411e381565b61007a61011a366004610654565b610144565b610129828261014e565b5050565b610137338261014e565b50565b6101373382610246565b6101298282610246565b604080516001600160a01b0384168152602081018390527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a1604051632770a7eb60e21b8152336004820152602481018290527f000000000000000000000000a88594d404727625a9437c3f886c7643872296ae6001600160a01b031690639dc29fac90604401600060405180830381600087803b1580156101f857600080fd5b505af115801561020c573d6000803e3d6000fd5b506101299250506001600160a01b037f000000000000000000000000511ab53f793683763e5a8829738301368a2411e31690508383610344565b61027b6001600160a01b037f000000000000000000000000511ab53f793683763e5a8829738301368a2411e3163330846103ac565b6040516340c10f1960e01b81526001600160a01b038381166004830152602482018390527f000000000000000000000000a88594d404727625a9437c3f886c7643872296ae16906340c10f1990604401600060405180830381600087803b1580156102e557600080fd5b505af11580156102f9573d6000803e3d6000fd5b5050604080516001600160a01b0386168152602081018590527fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c935001905060405180910390a15050565b6040516001600160a01b0383166024820152604481018290526103a790849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526103ea565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526103e49085906323b872dd60e01b90608401610370565b50505050565b600061043f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166104c49092919063ffffffff16565b905080516000148061046057508080602001905181019061046091906106a5565b6103a75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084015b60405180910390fd5b60606104d384846000856104db565b949350505050565b60608247101561053c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016104bb565b600080866001600160a01b0316858760405161055891906106f2565b60006040518083038185875af1925050503d8060008114610595576040519150601f19603f3d011682016040523d82523d6000602084013e61059a565b606091505b50915091506105ab878383876105b6565b979650505050505050565b6060831561062557825160000361061e576001600160a01b0385163b61061e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104bb565b50816104d3565b6104d3838381511561063a5781518083602001fd5b8060405162461bcd60e51b81526004016104bb919061070e565b6000806040838503121561066757600080fd5b82356001600160a01b038116811461067e57600080fd5b946020939093013593505050565b60006020828403121561069e57600080fd5b5035919050565b6000602082840312156106b757600080fd5b815180151581146106c757600080fd5b9392505050565b60005b838110156106e95781810151838201526020016106d1565b50506000910152565b600082516107048184602087016106ce565b9190910192915050565b602081526000825180602084015261072d8160408501602087016106ce565b601f01601f1916919091016040019291505056fea264697066735822122031f5f3c87c351bd72cd032fc04e773968c24e9ada5e5c4fa49f3e83822e56c4064736f6c63430008130033
Deployed Bytecode Sourcemap
513:2111:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1838:95;;;;;;:::i;:::-;;:::i;:::-;;1597:89;;;;;;:::i;:::-;;:::i;643:31::-;;;;;;;;-1:-1:-1;;;;;738:32:10;;;720:51;;708:2;693:18;643:31:7;;;;;;;1107:87;;;;;;:::i;:::-;;:::i;730:29::-;;;;;1388:93;;;;;;:::i;:::-;;:::i;1838:95::-;1905:21;1915:2;1919:6;1905:9;:21::i;:::-;1838:95;;:::o;1597:89::-;1650:29;1660:10;1672:6;1650:9;:29::i;:::-;1597:89;:::o;1107:87::-;1159:28;1168:10;1180:6;1159:8;:28::i;1388:93::-;1454:20;1463:2;1467:6;1454:8;:20::i;2085:180::-;2156:20;;;-1:-1:-1;;;;;1196:32:10;;1178:51;;1260:2;1245:18;;1238:34;;;2156:20:7;;1151:18:10;2156:20:7;;;;;;;2187:31;;-1:-1:-1;;;2187:31:7;;2199:10;2187:31;;;1178:51:10;1245:18;;;1238:34;;;2187:6:7;-1:-1:-1;;;;;2187:11:7;;;;1151:18:10;;2187:31:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2228:30:7;;-1:-1:-1;;;;;;;2228:5:7;:18;;-1:-1:-1;2247:2:7;2251:6;2228:18;:30::i;2425:197::-;2490:57;-1:-1:-1;;;;;2490:5:7;:22;2513:10;2533:4;2540:6;2490:22;:57::i;:::-;2558:23;;-1:-1:-1;;;2558:23:7;;-1:-1:-1;;;;;1196:32:10;;;2558:23:7;;;1178:51:10;1245:18;;;1238:34;;;2558:6:7;:11;;;;1151:18:10;;2558:23:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2596:19:7;;;-1:-1:-1;;;;;1196:32:10;;1178:51;;1260:2;1245:18;;1238:34;;;2596:19:7;;-1:-1:-1;1151:18:10;;-1:-1:-1;2596:19:7;;;;;;;2425:197;;:::o;941:175:4:-;1050:58;;-1:-1:-1;;;;;1196:32:10;;1050:58:4;;;1178:51:10;1245:18;;;1238:34;;;1023:86:4;;1043:5;;-1:-1:-1;;;1073:23:4;1151:18:10;;1050:58:4;;;;-1:-1:-1;;1050:58:4;;;;;;;;;;;;;;-1:-1:-1;;;;;1050:58:4;-1:-1:-1;;;;;;1050:58:4;;;;;;;;;;1023:19;:86::i;:::-;941:175;;;:::o;1355:203::-;1482:68;;-1:-1:-1;;;;;1541:15:10;;;1482:68:4;;;1523:34:10;1593:15;;1573:18;;;1566:43;1625:18;;;1618:34;;;1455:96:4;;1475:5;;-1:-1:-1;;;1505:27:4;1458:18:10;;1482:68:4;1283:375:10;1455:96:4;1355:203;;;;:::o;5173:642::-;5592:23;5618:69;5646:4;5618:69;;;;;;;;;;;;;;;;;5626:5;-1:-1:-1;;;;;5618:27:4;;;:69;;;;;:::i;:::-;5592:95;;5705:10;:17;5726:1;5705:22;:56;;;;5742:10;5731:30;;;;;;;;;;;;:::i;:::-;5697:111;;;;-1:-1:-1;;;5697:111:4;;2147:2:10;5697:111:4;;;2129:21:10;2186:2;2166:18;;;2159:30;2225:34;2205:18;;;2198:62;-1:-1:-1;;;2276:18:10;;;2269:40;2326:19;;5697:111:4;;;;;;;;4108:223:5;4241:12;4272:52;4294:6;4302:4;4308:1;4311:12;4272:21;:52::i;:::-;4265:59;4108:223;-1:-1:-1;;;;4108:223:5:o;5165:446::-;5330:12;5387:5;5362:21;:30;;5354:81;;;;-1:-1:-1;;;5354:81:5;;2558:2:10;5354:81:5;;;2540:21:10;2597:2;2577:18;;;2570:30;2636:34;2616:18;;;2609:62;-1:-1:-1;;;2687:18:10;;;2680:36;2733:19;;5354:81:5;2356:402:10;5354:81:5;5446:12;5460:23;5487:6;-1:-1:-1;;;;;5487:11:5;5506:5;5513:4;5487:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5445:73;;;;5535:69;5562:6;5570:7;5579:10;5591:12;5535:26;:69::i;:::-;5528:76;5165:446;-1:-1:-1;;;;;;;5165:446:5:o;7671:628::-;7851:12;7879:7;7875:418;;;7906:10;:17;7927:1;7906:22;7902:286;;-1:-1:-1;;;;;1702:19:5;;;8113:60;;;;-1:-1:-1;;;8113:60:5;;3512:2:10;8113:60:5;;;3494:21:10;3551:2;3531:18;;;3524:30;3590:31;3570:18;;;3563:59;3639:18;;8113:60:5;3310:353:10;8113:60:5;-1:-1:-1;8208:10:5;8201:17;;7875:418;8249:33;8257:10;8269:12;8980:17;;:21;8976:379;;9208:10;9202:17;9264:15;9251:10;9247:2;9243:19;9236:44;8976:379;9331:12;9324:20;;-1:-1:-1;;;9324:20:5;;;;;;;;:::i;14:354:10:-;82:6;90;143:2;131:9;122:7;118:23;114:32;111:52;;;159:1;156;149:12;111:52;185:23;;-1:-1:-1;;;;;237:31:10;;227:42;;217:70;;283:1;280;273:12;217:70;306:5;358:2;343:18;;;;330:32;;-1:-1:-1;;;14:354:10:o;373:180::-;432:6;485:2;473:9;464:7;460:23;456:32;453:52;;;501:1;498;491:12;453:52;-1:-1:-1;524:23:10;;373:180;-1:-1:-1;373:180:10:o;1663:277::-;1730:6;1783:2;1771:9;1762:7;1758:23;1754:32;1751:52;;;1799:1;1796;1789:12;1751:52;1831:9;1825:16;1884:5;1877:13;1870:21;1863:5;1860:32;1850:60;;1906:1;1903;1896:12;1850:60;1929:5;1663:277;-1:-1:-1;;;1663:277:10:o;2763:250::-;2848:1;2858:113;2872:6;2869:1;2866:13;2858:113;;;2948:11;;;2942:18;2929:11;;;2922:39;2894:2;2887:10;2858:113;;;-1:-1:-1;;3005:1:10;2987:16;;2980:27;2763:250::o;3018:287::-;3147:3;3185:6;3179:13;3201:66;3260:6;3255:3;3248:4;3240:6;3236:17;3201:66;:::i;:::-;3283:16;;;;;3018:287;-1:-1:-1;;3018:287:10:o;3668:396::-;3817:2;3806:9;3799:21;3780:4;3849:6;3843:13;3892:6;3887:2;3876:9;3872:18;3865:34;3908:79;3980:6;3975:2;3964:9;3960:18;3955:2;3947:6;3943:15;3908:79;:::i;:::-;4048:2;4027:15;-1:-1:-1;;4023:29:10;4008:45;;;;4055:2;4004:54;;3668:396;-1:-1:-1;;3668:396:10:o
Swarm Source
ipfs://31f5f3c87c351bd72cd032fc04e773968c24e9ada5e5c4fa49f3e83822e56c40
🤖 Code Reader
Generate instant answers for your smart contract questions using Al Models. Read more.
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in GLMR
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.