More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 71,088 transactions (+20 Pending)
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x5611405e91bd991daf27e45dcc3ea1664a1afe329c6b216253763480ab6349dd | Swap And Bridge | (pending) | 27 hrs ago | IN | 0.00194971 ETH | (Pending) | |||
0x00fd987d7a8bb96ddb8d2be58528a0d558eb393492a0a21769ea149945fa0e65 | Swap And Bridge | (pending) | 36 hrs ago | IN | 0.000154565 ETH | (Pending) | |||
0x0475936d9f02df3fce900507620a131941748a7ce95205841346288f1be0b780 | Swap And Bridge | (pending) | 41 hrs ago | IN | 0.0022694571 ETH | (Pending) | |||
0x956f97e73650f88baadd67d41f581a9288ced70c76042d0b7dc8b851be5bf259 | Swap And Bridge | (pending) | 44 hrs ago | IN | 0.0016160603 ETH | (Pending) | |||
0x5bb0107d20ab353eaf9f99315da3fa12ca16779bb0f2a18d60fbad8c87edbf6f | Swap And Bridge | (pending) | 45 hrs ago | IN | 0.0050008993 ETH | (Pending) | |||
0xeccd2827bdc72e9aaee05d0939d79659e43633542fc6610a653c4d52dae6bc33 | Swap And Bridge | (pending) | 45 hrs ago | IN | 0.000122448 ETH | (Pending) | |||
0x68ce13d1ab9b2bc27a4b001a37c5244c6423938e1df31ed84d02dbace9da2b7e | Swap And Bridge | (pending) | 46 hrs ago | IN | 0.0018138027 ETH | (Pending) | |||
0x61314a16127ff8dee8ffa1e5fe25df6baba286e222275a2986d2b5d908c526fd | Swap And Bridge | (pending) | 46 hrs ago | IN | 0.0014273306 ETH | (Pending) | |||
0xae8e4f57ead00bee47fb822fcdc3a7fd33f9597c35182bee3ffc8f1ba2d96b0f | Swap And Bridge | (pending) | 47 hrs ago | IN | 0.0018304828 ETH | (Pending) | |||
0x4e4f7e6db355dc3ec452a79cd0f453ac1d9b40f012d5adb75d9ac66eeadb2d15 | Swap And Bridge | (pending) | 47 hrs ago | IN | 0.0005497993 ETH | (Pending) | |||
0xff17b5a8ca1553ae40bef30226e969d987f17d69543e8411a248e8503a737292 | Swap And Bridge | (pending) | 2 days ago | IN | 0.0010092975 ETH | (Pending) | |||
0x29db06b0792d4aa350959a005fc7112a11f51c66f1afd9e67e5636f6f5052fd2 | Swap And Bridge | (pending) | 2 days ago | IN | 0.0008000215 ETH | (Pending) | |||
0x32d4e0441575b69fe57ff2096ef74aef23dde1a368563d5310952530c3269de4 | Swap And Bridge | (pending) | 2 days ago | IN | 0.0006000786 ETH | (Pending) | |||
0x5be4567465a8c093dee40ac4bd1539945138b396b40d918c1da60ea64809a02e | Swap And Bridge | (pending) | 2 days ago | IN | 0.0005205662 ETH | (Pending) | |||
0x7eed920f1c983be501979acb8b7ffe30746d795341be17c947d5068bd42a192f | Swap And Bridge | (pending) | 2 days ago | IN | 0.0005022708 ETH | (Pending) | |||
0x9c4c21b1de7ba42aebe760c136dbf19171a6f4a9a9104777b8bc70310e567b24 | Swap And Bridge | (pending) | 2 days ago | IN | 0.0012003796 ETH | (Pending) | |||
0xd29704487d46aecfe52406b64a1485d79833b8c1b730a3a7225fd248f14eee6d | Swap And Bridge | (pending) | 2 days ago | IN | 0.0014879833 ETH | (Pending) | |||
0x8a89ae6759b86ee536cee9538b9cab2d87968e37d4c7ba979ae550a1cff768c0 | Swap And Bridge | (pending) | 6 days ago | IN | 0.0060067992 ETH | (Pending) | |||
0x3f30f3fd9027eafbeecd08e20d0da0be9d9499de3b13b2f8275cf5e4268d38f4 | Swap And Bridge | (pending) | 6 days ago | IN | 0.004461363 ETH | (Pending) | |||
0xf90b4233a346151fa4ff10a01bb46187104e8f76070219e1deb93e26fb6f9988 | Swap And Bridge | (pending) | 13 days ago | IN | 0.0034795171 ETH | (Pending) | |||
Bridge | 19860562 | 5 days ago | IN | 0.04389309 ETH | 0.00140241 | ||||
Swap And Bridge | 19849909 | 6 days ago | IN | 0.00050495 ETH | 0.00098702 | ||||
Swap And Bridge | 19849739 | 6 days ago | IN | 0.0013682 ETH | 0.00029496 | ||||
Swap And Bridge | 19849590 | 6 days ago | IN | 0.002489 ETH | 0.00099306 | ||||
Swap And Bridge | 19849590 | 6 days ago | IN | 0.00200296 ETH | 0.00099306 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
19860562 | 5 days ago | 0.00039309 ETH | ||||
19860562 | 5 days ago | 0.0435 ETH | ||||
19849909 | 6 days ago | 0.00000495 ETH | ||||
19849909 | 6 days ago | 0.0005 ETH | ||||
19849739 | 6 days ago | 0.001 ETH | ||||
19849590 | 6 days ago | 0.001489 ETH | ||||
19849590 | 6 days ago | 0.001 ETH | ||||
19849590 | 6 days ago | 0.00000296 ETH | ||||
19849590 | 6 days ago | 0.002 ETH | ||||
19849291 | 6 days ago | 0.00104504 ETH | ||||
19849291 | 6 days ago | 0.00089954 ETH | ||||
19836963 | 8 days ago | 0.00146184 ETH | ||||
19836963 | 8 days ago | 0.01 ETH | ||||
19836920 | 8 days ago | 0.00005247 ETH | ||||
19836920 | 8 days ago | 0.000001 ETH | ||||
19836135 | 8 days ago | 0.00000376 ETH | ||||
19836135 | 8 days ago | 0.02 ETH | ||||
19835518 | 8 days ago | 0.00144851 ETH | ||||
19835518 | 8 days ago | 0.0005 ETH | ||||
19828840 | 9 days ago | 0.00022014 ETH | ||||
19828840 | 9 days ago | 0.0005 ETH | ||||
19802233 | 13 days ago | 0.00038838 ETH | ||||
19802233 | 13 days ago | 0.1 ETH | ||||
19800198 | 13 days ago | 0.00148002 ETH | ||||
19800198 | 13 days ago | 0.004 ETH |
Loading...
Loading
Contract Name:
SwappableBridge
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@layerzerolabs/solidity-examples/contracts/token/oft/IOFTCore.sol"; import "./INativeOFT.sol"; contract SwappableBridge { IOFTCore public immutable oft; INativeOFT public immutable nativeOft; IUniswapV2Router02 public immutable uniswapRouter; constructor(address _oft, address _nativeOft, address _uniswapRouter) { require(_oft != address(0), "SwappableBridge: invalid OFT address"); require(_nativeOft != address(0), "SwappableBridge: invalid Native OFT address"); require(_uniswapRouter != address(0), "SwappableBridge: invalid Uniswap Router address"); oft = IOFTCore(_oft); nativeOft = INativeOFT(_nativeOft); uniswapRouter = IUniswapV2Router02(_uniswapRouter); } function swapAndBridge(uint amountIn, uint amountOutMin, uint16 dstChainId, address to, address payable refundAddress, address zroPaymentAddress, bytes calldata adapterParams) external payable { require(to != address(0), "SwappableBridge: invalid to address"); require(msg.value >= amountIn, "SwappableBridge: not enough value sent"); address[] memory path = new address[](2); path[0] = uniswapRouter.WETH(); path[1] = address(oft); uint[] memory amounts = uniswapRouter.swapExactETHForTokens{value: amountIn}(amountOutMin, path, address(this), block.timestamp); oft.sendFrom{value: msg.value - amountIn}(address(this), dstChainId, abi.encodePacked(to), amounts[1], refundAddress, zroPaymentAddress, adapterParams); } function bridge(uint amountIn, uint16 dstChainId, address to, address payable refundAddress, address zroPaymentAddress, bytes calldata adapterParams) external payable { require(to != address(0), "SwappableBridge: invalid to address"); require(msg.value >= amountIn, "SwappableBridge: not enough value sent"); nativeOft.deposit{value: amountIn}(); nativeOft.sendFrom{value: msg.value - amountIn}(address(this), dstChainId, abi.encodePacked(to), amountIn, refundAddress, zroPaymentAddress, adapterParams); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Interface of the IOFT core standard */ interface IOFTCore is IERC165 { /** * @dev estimate send token `_tokenId` to (`_dstChainId`, `_toAddress`) * _dstChainId - L0 defined chain id to send tokens too * _toAddress - dynamic bytes array which contains the address to whom you are sending tokens to on the dstChain * _amount - amount of the tokens to transfer * _useZro - indicates to use zro to pay L0 fees * _adapterParam - flexible bytes array to indicate messaging adapter services in L0 */ function estimateSendFee(uint16 _dstChainId, bytes calldata _toAddress, uint _amount, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee); /** * @dev send `_amount` amount of token to (`_dstChainId`, `_toAddress`) from `_from` * `_from` the owner of token * `_dstChainId` the destination chain identifier * `_toAddress` can be any size depending on the `dstChainId`. * `_amount` the quantity of tokens in wei * `_refundAddress` the address LayerZero refunds if too much message fee is sent * `_zroPaymentAddress` set to address(0x0) if not paying in ZRO (LayerZero Token) * `_adapterParams` is a flexible bytes array to indicate messaging adapter services */ function sendFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable; /** * @dev returns the circulating amount of tokens on current chain */ function circulatingSupply() external view returns (uint); /** * @dev returns the address of the ERC20 token */ function token() external view returns (address); /** * @dev Emitted when `_amount` tokens are moved from the `_sender` to (`_dstChainId`, `_toAddress`) * `_nonce` is the outbound nonce */ event SendToChain(uint16 indexed _dstChainId, address indexed _from, bytes _toAddress, uint _amount); /** * @dev Emitted when `_amount` tokens are received from `_srcChainId` into the `_toAddress` on the local chain. * `_nonce` is the inbound nonce. */ event ReceiveFromChain(uint16 indexed _srcChainId, address indexed _to, uint _amount); event SetUseCustomAdapterParams(bool _useCustomAdapterParams); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/IOFTCore.sol"; interface INativeOFT is IOFTCore { function deposit() external payable; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_oft","type":"address"},{"internalType":"address","name":"_nativeOft","type":"address"},{"internalType":"address","name":"_uniswapRouter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"address","name":"to","type":"address"},{"internalType":"address payable","name":"refundAddress","type":"address"},{"internalType":"address","name":"zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"adapterParams","type":"bytes"}],"name":"bridge","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"nativeOft","outputs":[{"internalType":"contract INativeOFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oft","outputs":[{"internalType":"contract IOFTCore","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"address","name":"to","type":"address"},{"internalType":"address payable","name":"refundAddress","type":"address"},{"internalType":"address","name":"zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"adapterParams","type":"bytes"}],"name":"swapAndBridge","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60e060405234801561001057600080fd5b50604051610cd1380380610cd183398101604081905261002f916101a7565b6001600160a01b0383166100965760405162461bcd60e51b8152602060048201526024808201527f537761707061626c654272696467653a20696e76616c6964204f4654206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166101005760405162461bcd60e51b815260206004820152602b60248201527f537761707061626c654272696467653a20696e76616c6964204e61746976652060448201526a4f4654206164647265737360a81b606482015260840161008d565b6001600160a01b03811661016e5760405162461bcd60e51b815260206004820152602f60248201527f537761707061626c654272696467653a20696e76616c696420556e697377617060448201526e20526f75746572206164647265737360881b606482015260840161008d565b6001600160a01b0392831660805290821660a0521660c0526101ea565b80516001600160a01b03811681146101a257600080fd5b919050565b6000806000606084860312156101bc57600080fd5b6101c58461018b565b92506101d36020850161018b565b91506101e16040850161018b565b90509250925092565b60805160a05160c051610a916102406000396000818160b1015281816101a101526102b001526000818160610152818161046901526104dd01526000818160e50152818161025601526103400152610a916000f3fe60806040526004361061004a5760003560e01c80631ab425a01461004f578063735de9f71461009f5780639b5215f6146100d3578063ae30f6ee14610107578063b73704351461011c575b600080fd5b34801561005b57600080fd5b506100837f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b3480156100ab57600080fd5b506100837f000000000000000000000000000000000000000000000000000000000000000081565b3480156100df57600080fd5b506100837f000000000000000000000000000000000000000000000000000000000000000081565b61011a610115366004610623565b61012f565b005b61011a61012a3660046106c2565b610421565b6001600160a01b03851661015e5760405162461bcd60e51b815260040161015590610758565b60405180910390fd5b8734101561017e5760405162461bcd60e51b81526004016101559061079b565b6040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022191906107f7565b816000815181106102345761023461081b565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106102885761028861081b565b6001600160a01b039283166020918202929092010152604051637ff36ab560e01b81526000917f00000000000000000000000000000000000000000000000000000000000000001690637ff36ab5908c906102ed908d90879030904290600401610831565b60006040518083038185885af115801561030b573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610334919081019061089b565b90506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016635190563661036f8c34610959565b6040516bffffffffffffffffffffffff1960608c901b16602082015230908c90603401604051602081830303815290604052866001815181106103b4576103b461081b565b60200260200101518c8c8c8c6040518a63ffffffff1660e01b81526004016103e39897969594939291906109a9565b6000604051808303818588803b1580156103fc57600080fd5b505af1158015610410573d6000803e3d6000fd5b505050505050505050505050505050565b6001600160a01b0385166104475760405162461bcd60e51b815260040161015590610758565b863410156104675760405162461bcd60e51b81526004016101559061079b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0e30db0886040518263ffffffff1660e01b81526004016000604051808303818588803b1580156104c257600080fd5b505af11580156104d6573d6000803e3d6000fd5b50505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635190563688346105169190610959565b6040516bffffffffffffffffffffffff1960608a901b16602082015230908a906034016040516020818303038152906040528c8a8a8a8a6040518a63ffffffff1660e01b81526004016105709897969594939291906109a9565b6000604051808303818588803b15801561058957600080fd5b505af115801561059d573d6000803e3d6000fd5b505050505050505050505050565b803561ffff811681146105bd57600080fd5b919050565b6001600160a01b03811681146105d757600080fd5b50565b60008083601f8401126105ec57600080fd5b50813567ffffffffffffffff81111561060457600080fd5b60208301915083602082850101111561061c57600080fd5b9250929050565b60008060008060008060008060e0898b03121561063f57600080fd5b883597506020890135965061065660408a016105ab565b95506060890135610666816105c2565b94506080890135610676816105c2565b935060a0890135610686816105c2565b925060c089013567ffffffffffffffff8111156106a257600080fd5b6106ae8b828c016105da565b999c989b5096995094979396929594505050565b600080600080600080600060c0888a0312156106dd57600080fd5b873596506106ed602089016105ab565b955060408801356106fd816105c2565b9450606088013561070d816105c2565b9350608088013561071d816105c2565b925060a088013567ffffffffffffffff81111561073957600080fd5b6107458a828b016105da565b989b979a50959850939692959293505050565b60208082526023908201527f537761707061626c654272696467653a20696e76616c696420746f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f537761707061626c654272696467653a206e6f7420656e6f7567682076616c7560408201526519481cd95b9d60d21b606082015260800190565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561080957600080fd5b8151610814816105c2565b9392505050565b634e487b7160e01b600052603260045260246000fd5b600060808201868352602060808185015281875180845260a086019150828901935060005b8181101561087b5784516001600160a01b031683529383019391830191600101610856565b50506001600160a01b039690961660408501525050506060015292915050565b600060208083850312156108ae57600080fd5b825167ffffffffffffffff808211156108c657600080fd5b818501915085601f8301126108da57600080fd5b8151818111156108ec576108ec6107e1565b8060051b604051601f19603f83011681018181108582111715610911576109116107e1565b60405291825284820192508381018501918883111561092f57600080fd5b938501935b8285101561094d57845184529385019392850192610934565b98975050505050505050565b8181038181111561097a57634e487b7160e01b600052601160045260246000fd5b92915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60018060a01b03891681526000602061ffff8a168184015260e0604084015288518060e085015260005b818110156109f0578a8101830151858201610100015282016109d3565b5061010091506000828286010152601f19601f82011684019050886060850152610a2560808501896001600160a01b03169052565b6001600160a01b03871660a0850152818482030160c0850152610a4b8282018688610980565b9c9b50505050505050505050505056fea26469706673582212200867cb896c298d9d55be0aafdfbc2f879fe98e458181f05f6f6ea1b1c3628a5364736f6c63430008110033000000000000000000000000dd69db25f6d620a7bad3023c5d32761d353d3de90000000000000000000000004f7a67464b5976d7547c860109e4432d50afb38e0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x60806040526004361061004a5760003560e01c80631ab425a01461004f578063735de9f71461009f5780639b5215f6146100d3578063ae30f6ee14610107578063b73704351461011c575b600080fd5b34801561005b57600080fd5b506100837f0000000000000000000000004f7a67464b5976d7547c860109e4432d50afb38e81565b6040516001600160a01b03909116815260200160405180910390f35b3480156100ab57600080fd5b506100837f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156100df57600080fd5b506100837f000000000000000000000000dd69db25f6d620a7bad3023c5d32761d353d3de981565b61011a610115366004610623565b61012f565b005b61011a61012a3660046106c2565b610421565b6001600160a01b03851661015e5760405162461bcd60e51b815260040161015590610758565b60405180910390fd5b8734101561017e5760405162461bcd60e51b81526004016101559061079b565b6040805160028082526060820183526000926020830190803683370190505090507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022191906107f7565b816000815181106102345761023461081b565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000dd69db25f6d620a7bad3023c5d32761d353d3de9816001815181106102885761028861081b565b6001600160a01b039283166020918202929092010152604051637ff36ab560e01b81526000917f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1690637ff36ab5908c906102ed908d90879030904290600401610831565b60006040518083038185885af115801561030b573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610334919081019061089b565b90506001600160a01b037f000000000000000000000000dd69db25f6d620a7bad3023c5d32761d353d3de916635190563661036f8c34610959565b6040516bffffffffffffffffffffffff1960608c901b16602082015230908c90603401604051602081830303815290604052866001815181106103b4576103b461081b565b60200260200101518c8c8c8c6040518a63ffffffff1660e01b81526004016103e39897969594939291906109a9565b6000604051808303818588803b1580156103fc57600080fd5b505af1158015610410573d6000803e3d6000fd5b505050505050505050505050505050565b6001600160a01b0385166104475760405162461bcd60e51b815260040161015590610758565b863410156104675760405162461bcd60e51b81526004016101559061079b565b7f0000000000000000000000004f7a67464b5976d7547c860109e4432d50afb38e6001600160a01b031663d0e30db0886040518263ffffffff1660e01b81526004016000604051808303818588803b1580156104c257600080fd5b505af11580156104d6573d6000803e3d6000fd5b50505050507f0000000000000000000000004f7a67464b5976d7547c860109e4432d50afb38e6001600160a01b0316635190563688346105169190610959565b6040516bffffffffffffffffffffffff1960608a901b16602082015230908a906034016040516020818303038152906040528c8a8a8a8a6040518a63ffffffff1660e01b81526004016105709897969594939291906109a9565b6000604051808303818588803b15801561058957600080fd5b505af115801561059d573d6000803e3d6000fd5b505050505050505050505050565b803561ffff811681146105bd57600080fd5b919050565b6001600160a01b03811681146105d757600080fd5b50565b60008083601f8401126105ec57600080fd5b50813567ffffffffffffffff81111561060457600080fd5b60208301915083602082850101111561061c57600080fd5b9250929050565b60008060008060008060008060e0898b03121561063f57600080fd5b883597506020890135965061065660408a016105ab565b95506060890135610666816105c2565b94506080890135610676816105c2565b935060a0890135610686816105c2565b925060c089013567ffffffffffffffff8111156106a257600080fd5b6106ae8b828c016105da565b999c989b5096995094979396929594505050565b600080600080600080600060c0888a0312156106dd57600080fd5b873596506106ed602089016105ab565b955060408801356106fd816105c2565b9450606088013561070d816105c2565b9350608088013561071d816105c2565b925060a088013567ffffffffffffffff81111561073957600080fd5b6107458a828b016105da565b989b979a50959850939692959293505050565b60208082526023908201527f537761707061626c654272696467653a20696e76616c696420746f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f537761707061626c654272696467653a206e6f7420656e6f7567682076616c7560408201526519481cd95b9d60d21b606082015260800190565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561080957600080fd5b8151610814816105c2565b9392505050565b634e487b7160e01b600052603260045260246000fd5b600060808201868352602060808185015281875180845260a086019150828901935060005b8181101561087b5784516001600160a01b031683529383019391830191600101610856565b50506001600160a01b039690961660408501525050506060015292915050565b600060208083850312156108ae57600080fd5b825167ffffffffffffffff808211156108c657600080fd5b818501915085601f8301126108da57600080fd5b8151818111156108ec576108ec6107e1565b8060051b604051601f19603f83011681018181108582111715610911576109116107e1565b60405291825284820192508381018501918883111561092f57600080fd5b938501935b8285101561094d57845184529385019392850192610934565b98975050505050505050565b8181038181111561097a57634e487b7160e01b600052601160045260246000fd5b92915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60018060a01b03891681526000602061ffff8a168184015260e0604084015288518060e085015260005b818110156109f0578a8101830151858201610100015282016109d3565b5061010091506000828286010152601f19601f82011684019050886060850152610a2560808501896001600160a01b03169052565b6001600160a01b03871660a0850152818482030160c0850152610a4b8282018688610980565b9c9b50505050505050505050505056fea26469706673582212200867cb896c298d9d55be0aafdfbc2f879fe98e458181f05f6f6ea1b1c3628a5364736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000dd69db25f6d620a7bad3023c5d32761d353d3de90000000000000000000000004f7a67464b5976d7547c860109e4432d50afb38e0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
-----Decoded View---------------
Arg [0] : _oft (address): 0xdD69DB25F6D620A7baD3023c5d32761D353D3De9
Arg [1] : _nativeOft (address): 0x4f7A67464B5976d7547c860109e4432d50AfB38e
Arg [2] : _uniswapRouter (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000dd69db25f6d620a7bad3023c5d32761d353d3de9
Arg [1] : 0000000000000000000000004f7a67464b5976d7547c860109e4432d50afb38e
Arg [2] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 25 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
OP | 30.90% | $3,113.27 | 0.00909137 | $28.3 | |
OP | 5.04% | $2.55 | 1.81 | $4.62 | |
ZKSYNC | 32.20% | $3,111.05 | 0.00947919 | $29.49 | |
BSC | 19.50% | $576.84 | 0.031 | $17.86 | |
MATIC | 5.86% | $0.713584 | 7.5256 | $5.37 | |
ARB | 3.25% | $3,111.69 | 0.00095519 | $2.97 | |
ARBNOVA | 0.74% | $3,111.7 | 0.00021714 | $0.675684 | |
ETH | 0.72% | $0.010175 | 64.5141 | $0.6564 | |
BLAST | 0.64% | $3,111.11 | 0.00018786 | $0.584464 | |
OPBNB | 0.57% | $576.93 | 0.0009 | $0.519236 | |
SCROLL | 0.51% | $3,111.05 | 0.00014972 | $0.465802 | |
AVAX | 0.08% | $37.08 | 0.00204248 | $0.075725 | |
FTM | <0.01% | $0.873696 | 0.00248518 | $0.002171 |
Loading...
Loading
[ 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.