Latest 25 from a total of 343,977 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Swap And Send | 134906740 | 37 mins ago | IN | 5 ETH | 0.000005181325 | ||||
Swap And Send | 134906661 | 39 mins ago | IN | 10 ETH | 0.000004234891 | ||||
Swap And Send | 134906572 | 42 mins ago | IN | 10 ETH | 0.000003820621 | ||||
Swap And Send | 134906515 | 44 mins ago | IN | 10 ETH | 0.000003633339 | ||||
Swap And Send | 134905950 | 1 hr ago | IN | 0.492 ETH | 0.000003893219 | ||||
Swap And Send | 134905632 | 1 hr ago | IN | 0.5 ETH | 0.000004721277 | ||||
Swap And Send | 134903394 | 2 hrs ago | IN | 0.5 ETH | 0.000002958557 | ||||
Swap And Send | 134902840 | 2 hrs ago | IN | 0.5 ETH | 0.000003200897 | ||||
Swap And Send | 134902518 | 2 hrs ago | IN | 0.5 ETH | 0.000004041701 | ||||
Swap And Send | 134902167 | 3 hrs ago | IN | 0.5 ETH | 0.000004726991 | ||||
Swap And Send | 134901800 | 3 hrs ago | IN | 0.3 ETH | 0.000002829796 | ||||
Swap And Send | 134901526 | 3 hrs ago | IN | 0.3 ETH | 0.000003305195 | ||||
Swap And Send | 134882095 | 14 hrs ago | IN | 0.207 ETH | 0.000000943553 | ||||
Swap And Send | 134876596 | 17 hrs ago | IN | 5 ETH | 0.000001568108 | ||||
Swap And Send | 134876494 | 17 hrs ago | IN | 10 ETH | 0.000001516611 | ||||
Swap And Send | 134876475 | 17 hrs ago | IN | 10 ETH | 0.000001758516 | ||||
Swap And Send | 134876434 | 17 hrs ago | IN | 10 ETH | 0.000001641857 | ||||
Swap And Send | 134871663 | 20 hrs ago | IN | 0.064 ETH | 0.000006658895 | ||||
Swap And Send | 134871468 | 20 hrs ago | IN | 0.209 ETH | 0.000005616026 | ||||
Swap And Send | 134861069 | 25 hrs ago | IN | 0.0003 ETH | 0.000000505623 | ||||
Swap And Send | 134853033 | 30 hrs ago | IN | 0.54 ETH | 0.000000254841 | ||||
Swap And Send | 134828526 | 44 hrs ago | IN | 0.20366 ETH | 0.000002569202 | ||||
Swap And Send | 134822534 | 47 hrs ago | IN | 0.01 ETH | 0.000001035431 | ||||
Swap And Send | 134816492 | 2 days ago | IN | 1.3 ETH | 0.000000518608 | ||||
Swap And Send | 134815957 | 2 days ago | IN | 0.01 ETH | 0.000000692794 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
134907453 | 13 mins ago | 2.165175921744016 ETH | ||||
134907453 | 13 mins ago | 2.165175921744016 ETH | ||||
134907451 | 13 mins ago | 2.151466748254359 ETH | ||||
134907451 | 13 mins ago | 2.151466748254359 ETH | ||||
134907443 | 13 mins ago | 51.113432392111484 ETH | ||||
134907443 | 13 mins ago | 51.113432392111484 ETH | ||||
134907441 | 13 mins ago | 10.022958226748799 ETH | ||||
134907441 | 13 mins ago | 10.022958226748799 ETH | ||||
134907391 | 15 mins ago | 46.829428347809151 ETH | ||||
134907391 | 15 mins ago | 46.829428347809151 ETH | ||||
134907391 | 15 mins ago | 11.549529004586551 ETH | ||||
134907391 | 15 mins ago | 11.549529004586551 ETH | ||||
134907390 | 15 mins ago | 46.829428347809151 ETH | ||||
134907390 | 15 mins ago | 46.829428347809151 ETH | ||||
134907390 | 15 mins ago | 46.829428347809151 ETH | ||||
134907390 | 15 mins ago | 46.829428347809151 ETH | ||||
134907299 | 18 mins ago | 0.01226 ETH | ||||
134907299 | 18 mins ago | 0.01226 ETH | ||||
134907165 | 22 mins ago | 0.01257 ETH | ||||
134907165 | 22 mins ago | 0.01257 ETH | ||||
134907101 | 25 mins ago | 0.01287 ETH | ||||
134907101 | 25 mins ago | 0.01287 ETH | ||||
134907013 | 28 mins ago | 0.01228 ETH | ||||
134907013 | 28 mins ago | 0.01228 ETH | ||||
134907011 | 28 mins ago | 0.01243 ETH |
Latest 25 Deposits
Loading...
Loading
Contract Name:
L2_AmmWrapper
Compiler Version
v0.7.6+commit.3b061308
Optimization Enabled:
Yes with 1 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "../interfaces/IWETH.sol"; interface ISwap { function swap( uint8 tokenIndexFrom, uint8 tokenIndexTo, uint256 dx, uint256 minDy, uint256 deadline ) external returns (uint256); } interface IL2_Bridge { function send( uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, uint256 amountOutMin, uint256 deadline ) external; } contract L2_AmmWrapper { IL2_Bridge public immutable bridge; IERC20 public immutable l2CanonicalToken; bool public immutable l2CanonicalTokenIsEth; IERC20 public immutable hToken; ISwap public immutable exchangeAddress; /// @notice When l2CanonicalTokenIsEth is true, l2CanonicalToken should be set to the WETH address constructor( IL2_Bridge _bridge, IERC20 _l2CanonicalToken, bool _l2CanonicalTokenIsEth, IERC20 _hToken, ISwap _exchangeAddress ) public { bridge = _bridge; l2CanonicalToken = _l2CanonicalToken; l2CanonicalTokenIsEth = _l2CanonicalTokenIsEth; hToken = _hToken; exchangeAddress = _exchangeAddress; } receive() external payable {} /// @notice amount is the amount the user wants to send plus the Bonder fee function swapAndSend( uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, uint256 amountOutMin, uint256 deadline, uint256 destinationAmountOutMin, uint256 destinationDeadline ) public payable { require(amount >= bonderFee, "L2_AMM_W: Bonder fee cannot exceed amount"); if (l2CanonicalTokenIsEth) { require(msg.value == amount, "L2_AMM_W: Value does not match amount"); IWETH(address(l2CanonicalToken)).deposit{value: amount}(); } else { require(l2CanonicalToken.transferFrom(msg.sender, address(this), amount), "L2_AMM_W: TransferFrom failed"); } require(l2CanonicalToken.approve(address(exchangeAddress), amount), "L2_AMM_W: Approve failed"); uint256 swapAmount = exchangeAddress.swap( 0, 1, amount, amountOutMin, deadline ); bridge.send(chainId, recipient, swapAmount, bonderFee, destinationAmountOutMin, destinationDeadline); } function attemptSwap( address recipient, uint256 amount, uint256 amountOutMin, uint256 deadline ) external { require(hToken.transferFrom(msg.sender, address(this), amount), "L2_AMM_W: TransferFrom failed"); require(hToken.approve(address(exchangeAddress), amount), "L2_AMM_W: Approve failed"); uint256 amountOut = 0; try exchangeAddress.swap( 1, 0, amount, amountOutMin, deadline ) returns (uint256 _amountOut) { amountOut = _amountOut; } catch {} if (amountOut == 0) { // Transfer hToken to recipient if swap fails require(hToken.transfer(recipient, amount), "L2_AMM_W: Transfer failed"); return; } if (l2CanonicalTokenIsEth) { IWETH(address(l2CanonicalToken)).withdraw(amountOut); (bool success, ) = recipient.call{value: amountOut}(new bytes(0)); require(success, 'L2_AMM_W: ETH transfer failed'); } else { require(l2CanonicalToken.transfer(recipient, amountOut), "L2_AMM_W: Transfer failed"); } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.12 <=0.7.6; interface IWETH { function deposit() external payable; function transfer(address to, uint value) external returns (bool); function withdraw(uint) external; }
{ "optimizer": { "enabled": true, "runs": 1 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IL2_Bridge","name":"_bridge","type":"address"},{"internalType":"contract IERC20","name":"_l2CanonicalToken","type":"address"},{"internalType":"bool","name":"_l2CanonicalTokenIsEth","type":"bool"},{"internalType":"contract IERC20","name":"_hToken","type":"address"},{"internalType":"contract ISwap","name":"_exchangeAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"attemptSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"contract IL2_Bridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exchangeAddress","outputs":[{"internalType":"contract ISwap","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2CanonicalToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"l2CanonicalTokenIsEth","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"bonderFee","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"destinationAmountOutMin","type":"uint256"},{"internalType":"uint256","name":"destinationDeadline","type":"uint256"}],"name":"swapAndSend","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101206040525a6200001062000083565b8015620000275760008062000024620000df565b50505b50604051620016a6380380620016a68339810160408190526200004a916200014c565b6001600160601b0319606095861b811660805293851b841660a05291151560f81b60c052831b821660e05290911b166101005262000201565b63a8c4c5ec598160e01b8152602081600483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b8051935060005b6040811015620000da57600082820152602001620000c1565b505050565b632a2a7adb598160e01b8152600481016020815285602082015260005b8681101562000119578086015182820160400152602001620000fc565b506020828760640184336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b505050565b600080600080600060a086880312156200016f5780816200016c620000df565b50505b85516200017c81620001e0565b945060208601516200018e81620001e0565b935060408601518015158114620001ae578182620001ab620000df565b50505b92506060860151620001c081620001e0565b91506080860151620001d281620001e0565b809150509295509295909350565b6001600160a01b0381168114620001fe57600080620000da620000df565b50565b60805160601c60a05160601c60c05160f81c60e05160601c6101005160601c61140b6200029b6000398061036e528061045452806108af5280610bab5280610c915250806101ea528061033f52806105225280610e195250806101c6528061061b52806109295250806101a2528061064152806107b452806109885280610a275280610b7c5250806108d35280610d60525061140b6000f3fe6080604052600436106100645760003560e01c80631ee1bf671461007957806328555125146100b5578063676c5ef6146100e85780639cd016051461011b578063e78cea9214610141578063eea0d7b214610167578063fc6e3b3b1461017a5761006b565b3661006b57005b600080610076610e3b565b50505b5a610082610ea6565b801561009657600080610093610e3b565b50505b5061009f6101a0565b6040516100ac9190611231565b60405180910390f35b5a6100be610ea6565b80156100d2576000806100cf610e3b565b50505b506100db6101c4565b6040516100ac9190611226565b5a6100f1610ea6565b801561010557600080610102610e3b565b50505b506101196101143660046110aa565b6101e8565b005b5a610124610ea6565b801561013857600080610135610e3b565b50505b5061009f6108ad565b5a61014a610ea6565b801561015e5760008061015b610e3b565b50505b5061009f6108d1565b610119610175366004611147565b6108f5565b5a610183610ea6565b801561019757600080610194610e3b565b50505b5061009f610e17565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166323b872dd5a610220610f00565b5a63996d79a5598160e01b8152602081600483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b8051925060005b60408110156102765760008282015260200161025f565b505050866040518463ffffffff1660e01b8152600401610298939291906111e9565b602060405180830381600087806102ad610f46565b1580156102c2576000806102bf610e3b565b50505b505a6102cc610f92565b5050505050501580156102ec573d6000803e3d60006102e9610e3b565b50505b50505050604051601f3d908101601f1916820160405261030f91908101906110eb565b61033d5760405162461bcd60e51b815260040161032b90611270565b6040518091039061033a610e3b565b50505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663095ea7b37f0000000000000000000000000000000000000000000000000000000000000000856040518363ffffffff1660e01b81526004016103ab92919061120d565b602060405180830381600087806103c0610f46565b1580156103d5576000806103d2610e3b565b50505b505a6103df610f92565b5050505050501580156103ff573d6000803e3d60006103fc610e3b565b50505b50505050604051601f3d908101601f1916820160405261042291908101906110eb565b6104505760405162461bcd60e51b815260040161043e9061139f565b6040518091039061044d610e3b565b50505b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166391695586600160008787876040518663ffffffff1660e01b81526004016104a8959493929190611245565b602060405180830381600087806104bd610f46565b1580156104d2576000806104cf610e3b565b50505b505a6104dc610f92565b50505050505092505050801561050f5750604051601f3d908101601f1916820160405261050c9190810190611124565b60015b6105185761051b565b90505b80610619577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb86866040518363ffffffff1660e01b815260040161056e92919061120d565b60206040518083038160008780610583610f46565b15801561059857600080610595610e3b565b50505b505a6105a2610f92565b5050505050501580156105c2573d6000803e3d60006105bf610e3b565b50505b50505050604051601f3d908101601f191682016040526105e591908101906110eb565b6106135760405162461bcd60e51b815260040161060190611323565b60405180910390610610610e3b565b50505b506108a7565b7f0000000000000000000000000000000000000000000000000000000000000000156107b2577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040161068b91906113d1565b600060405180830381600087806106a0610f46565b1580156106b5576000806106b2610e3b565b50505b505a6106bf610f92565b5050505050501580156106df573d6000803e3d60006106dc610e3b565b50505b506000925050506001600160a01b0386168282604051818152601f19601f830116810160200160405290801561071c576020820181803683370190505b5060405161072a91906111af565b60006040518083038185875a61073e610f92565b505050505050925050503d8060008114610774576040513d603f01601f191681016040523d815291503d6000602084013e610779565b606091505b50509050806107ac5760405162461bcd60e51b815260040161079a906112a7565b604051809103906107a9610e3b565b50505b506108a5565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb86836040518363ffffffff1660e01b815260040161080092919061120d565b60206040518083038160008780610815610f46565b15801561082a57600080610827610e3b565b50505b505a610834610f92565b505050505050158015610854573d6000803e3d6000610851610e3b565b50505b50505050604051601f3d908101601f1916820160405261087791908101906110eb565b6108a55760405162461bcd60e51b815260040161089390611323565b604051809103906108a2610e3b565b50505b505b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b848610156109275760405162461bcd60e51b815260040161091590611356565b60405180910390610924610e3b565b50505b7f000000000000000000000000000000000000000000000000000000000000000015610a2557855a610957610ea6565b146109865760405162461bcd60e51b8152600401610974906112de565b60405180910390610983610e3b565b50505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0876040518263ffffffff1660e01b81526004016000604051808303818588806109dc610f46565b1580156109f1576000806109ee610e3b565b50505b505a6109fb610f92565b505050505050158015610a1b573d6000803e3d6000610a18610e3b565b50505b5050505050610b7a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166323b872dd5a610a5d610f00565b5a63996d79a5598160e01b8152602081600483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b8051925060005b6040811015610ab357600082820152602001610a9c565b505050896040518463ffffffff1660e01b8152600401610ad5939291906111e9565b60206040518083038160008780610aea610f46565b158015610aff57600080610afc610e3b565b50505b505a610b09610f92565b505050505050158015610b29573d6000803e3d6000610b26610e3b565b50505b50505050604051601f3d908101601f19168201604052610b4c91908101906110eb565b610b7a5760405162461bcd60e51b8152600401610b6890611270565b60405180910390610b77610e3b565b50505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663095ea7b37f0000000000000000000000000000000000000000000000000000000000000000886040518363ffffffff1660e01b8152600401610be892919061120d565b60206040518083038160008780610bfd610f46565b158015610c1257600080610c0f610e3b565b50505b505a610c1c610f92565b505050505050158015610c3c573d6000803e3d6000610c39610e3b565b50505b50505050604051601f3d908101601f19168201604052610c5f91908101906110eb565b610c8d5760405162461bcd60e51b8152600401610c7b9061139f565b60405180910390610c8a610e3b565b50505b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166391695586600060018a89896040518663ffffffff1660e01b8152600401610ce5959493929190611245565b60206040518083038160008780610cfa610f46565b158015610d0f57600080610d0c610e3b565b50505b505a610d19610f92565b505050505050158015610d39573d6000803e3d6000610d36610e3b565b50505b50505050604051601f3d908101601f19168201604052610d5c9190810190611124565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a6bd1b338a8a848a88886040518763ffffffff1660e01b8152600401610db4969594939291906113da565b60006040518083038160008780610dc9610f46565b158015610dde57600080610ddb610e3b565b50505b505a610de8610f92565b505050505050158015610e08573d6000803e3d6000610e05610e3b565b50505b50505050505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b632a2a7adb598160e01b8152600481016020815285602082015260005b86811015610e73578086015182820160400152602001610e58565b506020828760640184336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b505050565b63a8c4c5ec598160e01b8152602081600483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b8051935060005b6040811015610efb57600082820152602001610ee4565b505050565b6373509064598160e01b8152602081600483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b80516000825293506020610ee4565b638435035b598160e01b8152836004820152602081602483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b80516000825293506020610ee4565b635b99d1c5598160e01b8152610fc5565b8080831115610faf5750815b92915050565b8080831015610faf575090919050565b8360048201528460248201528560448201526080606482015287608482015260a4810160005b89811015611003578089015182820152602001610feb565b506060828a60c40184336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b815160408301513d6000853e8c8c82606087013350600060045af150596110588e3d610fb5565b8d016110648187610fa3565b5b828110156110795760008152602001611065565b50929d50505050505050565b80356001600160a01b03811681146110a5576000806110a2610e3b565b50505b919050565b600080600080608085870312156110c85783846110c5610e3b565b50505b6110d185611085565b966020860135965060408601359560600135945092505050565b600060208284031215611105578081611102610e3b565b50505b8151801515811461111d57818261111a610e3b565b50505b9392505050565b60006020828403121561113e57808161113b610e3b565b50505b81519392505050565b600080600080600080600080610100898b03121561116c578384611169610e3b565b50505b8835975061117c60208a01611085565b979a9799505050506040860135956060810135956080820135955060a0820135945060c0820135935060e0909101359150565b60008251815b818110156111d05760208186010151848201526020016111b5565b818111156111de5782828501525b509190910192915050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6001600160a01b0391909116815260200190565b60ff958616815293909416602084015260408301919091526060820152608081019190915260a00190565b6020808252601d908201527f4c325f414d4d5f573a205472616e7366657246726f6d206661696c6564000000604082015260600190565b6020808252601d908201527f4c325f414d4d5f573a20455448207472616e73666572206661696c6564000000604082015260600190565b60208082526025908201527f4c325f414d4d5f573a2056616c756520646f6573206e6f74206d6174636820616040820152641b5bdd5b9d60da1b606082015260800190565b602080825260199082015278130c97d0535357d5ce88151c985b9cd9995c8819985a5b1959603a1b604082015260600190565b60208082526029908201527f4c325f414d4d5f573a20426f6e646572206665652063616e6e6f742065786365604082015268195908185b5bdd5b9d60ba1b606082015260800190565b602080825260189082015277130c97d0535357d5ce88105c1c1c9bdd994819985a5b195960421b604082015260600190565b90815260200190565b9586526001600160a01b0394909416602086015260408501929092526060840152608083015260a082015260c001905600000000000000000000000083f6244bd87662118d96d9a6d44f09dfff14b30e00000000000000000000000042000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e38faf9040c7f09958c638bbdb977083722c5156000000000000000000000000aa30d6bba6285d0585722e2440ff89e23ef68864
Deployed Bytecode
0x6080604052600436106100645760003560e01c80631ee1bf6714610070578063285551251461009b578063676c5ef6146100bd5780639cd01605146100df578063e78cea92146100f4578063eea0d7b214610109578063fc6e3b3b1461011c5761006b565b3661006b57005b600080fd5b34801561007c57600080fd5b50610085610131565b6040516100929190610c22565b60405180910390f35b3480156100a757600080fd5b506100b0610155565b6040516100929190610c17565b3480156100c957600080fd5b506100dd6100d8366004610acb565b610179565b005b3480156100eb57600080fd5b5061008561068b565b34801561010057600080fd5b506100856106af565b6100dd610117366004610b42565b6106d3565b34801561012857600080fd5b50610085610a8b565b7f000000000000000000000000420000000000000000000000000000000000000681565b7f000000000000000000000000000000000000000000000000000000000000000181565b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000e38faf9040c7f09958c638bbdb977083722c515616906323b872dd906101c990339030908890600401610bda565b602060405180830381600087803b1580156101e357600080fd5b505af11580156101f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021b9190610b03565b6102405760405162461bcd60e51b815260040161023790610c61565b60405180910390fd5b60405163095ea7b360e01b81526001600160a01b037f000000000000000000000000e38faf9040c7f09958c638bbdb977083722c5156169063095ea7b3906102ae907f000000000000000000000000aa30d6bba6285d0585722e2440ff89e23ef68864908790600401610bfe565b602060405180830381600087803b1580156102c857600080fd5b505af11580156102dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103009190610b03565b61031c5760405162461bcd60e51b815260040161023790610d90565b6040516348b4aac360e11b81526000906001600160a01b037f000000000000000000000000aa30d6bba6285d0585722e2440ff89e23ef688641690639169558690610374906001908590899089908990600401610c36565b602060405180830381600087803b15801561038e57600080fd5b505af19250505080156103be575060408051601f3d908101601f191682019092526103bb91810190610b2a565b60015b6103c7576103ca565b90505b806104915760405163a9059cbb60e01b81526001600160a01b037f000000000000000000000000e38faf9040c7f09958c638bbdb977083722c5156169063a9059cbb9061041d9088908890600401610bfe565b602060405180830381600087803b15801561043757600080fd5b505af115801561044b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046f9190610b03565b61048b5760405162461bcd60e51b815260040161023790610d14565b50610685565b7f0000000000000000000000000000000000000000000000000000000000000001156105c757604051632e1a7d4d60e01b81526001600160a01b037f00000000000000000000000042000000000000000000000000000000000000061690632e1a7d4d90610503908490600401610dc2565b600060405180830381600087803b15801561051d57600080fd5b505af1158015610531573d6000803e3d6000fd5b5050604080516000808252602082019283905293506001600160a01b0389169250849161055e9190610ba1565b60006040518083038185875af1925050503d806000811461059b576040519150601f19603f3d011682016040523d82523d6000602084013e6105a0565b606091505b50509050806105c15760405162461bcd60e51b815260040161023790610c98565b50610683565b60405163a9059cbb60e01b81526001600160a01b037f0000000000000000000000004200000000000000000000000000000000000006169063a9059cbb906106159088908590600401610bfe565b602060405180830381600087803b15801561062f57600080fd5b505af1158015610643573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106679190610b03565b6106835760405162461bcd60e51b815260040161023790610d14565b505b50505050565b7f000000000000000000000000aa30d6bba6285d0585722e2440ff89e23ef6886481565b7f00000000000000000000000083f6244bd87662118d96d9a6d44f09dfff14b30e81565b848610156106f35760405162461bcd60e51b815260040161023790610d47565b7f0000000000000000000000000000000000000000000000000000000000000001156107b1578534146107385760405162461bcd60e51b815260040161023790610ccf565b7f00000000000000000000000042000000000000000000000000000000000000066001600160a01b031663d0e30db0876040518263ffffffff1660e01b81526004016000604051808303818588803b15801561079357600080fd5b505af11580156107a7573d6000803e3d6000fd5b505050505061086f565b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000420000000000000000000000000000000000000616906323b872dd9061080190339030908b90600401610bda565b602060405180830381600087803b15801561081b57600080fd5b505af115801561082f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108539190610b03565b61086f5760405162461bcd60e51b815260040161023790610c61565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000004200000000000000000000000000000000000006169063095ea7b3906108dd907f000000000000000000000000aa30d6bba6285d0585722e2440ff89e23ef68864908a90600401610bfe565b602060405180830381600087803b1580156108f757600080fd5b505af115801561090b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092f9190610b03565b61094b5760405162461bcd60e51b815260040161023790610d90565b6040516348b4aac360e11b81526000906001600160a01b037f000000000000000000000000aa30d6bba6285d0585722e2440ff89e23ef6886416906391695586906109a39084906001908c908b908b90600401610c36565b602060405180830381600087803b1580156109bd57600080fd5b505af11580156109d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f59190610b2a565b60405163a6bd1b3360e01b81529091506001600160a01b037f00000000000000000000000083f6244bd87662118d96d9a6d44f09dfff14b30e169063a6bd1b3390610a4e908c908c9086908c908a908a90600401610dcb565b600060405180830381600087803b158015610a6857600080fd5b505af1158015610a7c573d6000803e3d6000fd5b50505050505050505050505050565b7f000000000000000000000000e38faf9040c7f09958c638bbdb977083722c515681565b80356001600160a01b0381168114610ac657600080fd5b919050565b60008060008060808587031215610ae0578384fd5b610ae985610aaf565b966020860135965060408601359560600135945092505050565b600060208284031215610b14578081fd5b81518015158114610b23578182fd5b9392505050565b600060208284031215610b3b578081fd5b5051919050565b600080600080600080600080610100898b031215610b5e578384fd5b88359750610b6e60208a01610aaf565b979a9799505050506040860135956060810135956080820135955060a0820135945060c0820135935060e0909101359150565b60008251815b81811015610bc15760208186018101518583015201610ba7565b81811115610bcf5782828501525b509190910192915050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6001600160a01b0391909116815260200190565b60ff958616815293909416602084015260408301919091526060820152608081019190915260a00190565b6020808252601d908201527f4c325f414d4d5f573a205472616e7366657246726f6d206661696c6564000000604082015260600190565b6020808252601d908201527f4c325f414d4d5f573a20455448207472616e73666572206661696c6564000000604082015260600190565b60208082526025908201527f4c325f414d4d5f573a2056616c756520646f6573206e6f74206d6174636820616040820152641b5bdd5b9d60da1b606082015260800190565b602080825260199082015278130c97d0535357d5ce88151c985b9cd9995c8819985a5b1959603a1b604082015260600190565b60208082526029908201527f4c325f414d4d5f573a20426f6e646572206665652063616e6e6f742065786365604082015268195908185b5bdd5b9d60ba1b606082015260800190565b602080825260189082015277130c97d0535357d5ce88105c1c1c9bdd994819985a5b195960421b604082015260600190565b90815260200190565b9586526001600160a01b0394909416602086015260408501929092526060840152608083015260a082015260c0019056fea26469706673582212206749f19602f0b9df664accfe5c09d45d6664a464525de5574f94d983ac441c9064736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000083f6244bd87662118d96d9a6d44f09dfff14b30e00000000000000000000000042000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001000000000000000000000000e38faf9040c7f09958c638bbdb977083722c5156000000000000000000000000aa30d6bba6285d0585722e2440ff89e23ef68864
-----Decoded View---------------
Arg [0] : _bridge (address): 0x83f6244Bd87662118d96D9a6D44f09dffF14b30E
Arg [1] : _l2CanonicalToken (address): 0x4200000000000000000000000000000000000006
Arg [2] : _l2CanonicalTokenIsEth (bool): True
Arg [3] : _hToken (address): 0xE38faf9040c7F09958c638bBDB977083722c5156
Arg [4] : _exchangeAddress (address): 0xaa30D6bba6285d0585722e2440Ff89E23EF68864
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000083f6244bd87662118d96d9a6d44f09dfff14b30e
Arg [1] : 0000000000000000000000004200000000000000000000000000000000000006
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 000000000000000000000000e38faf9040c7f09958c638bbdb977083722c5156
Arg [4] : 000000000000000000000000aa30d6bba6285d0585722e2440ff89e23ef68864
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
[ 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.