15M+ users trust MoonPay. Checkout with your preferred payment method.
Ready to onboard to Ethereum? With MetaMask Portfolio, you're in control.
Collect points for eligible actions and use multipliers to win big.
Ready to simplify your web3 experience? Try the all-in-one web3 app trusted by millions worldwide.
Opt-in, make your first trade on Exchange Plus & receive random crypto rewards from 10,000 SHIB, to 0.01 BTC.
You will earn $Zdex as rewards by any trade or stake on ZeeDex exchange.
Everyday giveaways up to 100 ETH, Lucky Spins. Deposit BONUS 300% and Cashbacks!
Play all your favorite Slots & Live Games, including Plinko, Aviator and Crash! Truly anonymous casino.
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Play 100s of games anonymously with all major cryptos. Join CryptoWins & start winning!
Anonymous play on awesome games - sign up now for 25 free jackpot spins - worth $100s!
Overview
ETH Balance
Eth Value
$48.17 (@ $3,389.03/ETH)Token Holdings
Could not find any matches!
- ERC-20 Tokens (>100)1.64385304 SPXSPX6900 (SPX)$0.02@0.01480.050005 aDAIAave Interes... (aDAI)$0.05@1.0011.48584394 GHSTAavegotchi G... (GHST)$1.79@1.20430.93587173 ATHAethir Token (ATH)$0.06@0.06581.07344273 NXRAAllianceBloc... (NXRA)$0.08@0.07142.87884312 ALTAltLayer Tok... (ALT)$0.51@0.17580.93467704 ANGLEANGLE (ANGLE)$0.08@0.08390.00000437 BBTCBinance Wrap... (BBTC)0.51967494 BITBitDAO (BIT)$0.41@0.78680.09624742 BZZBZZ (BZZ)$0.04@0.38550.00003184 cbETHCoinbase Wra... (cbETH)$0.12@3,641.190.64086286 CROCronos Coin (CRO)$0.06@0.0911.78312553 CRVCurve DAO To... (CRV)$0.51@0.28380.08027083 crvUSDCurve.Fi USD... (crvUSD)$0.08@0.99475.54772193 ESEeesee (ESE)$0.20@0.03630.84952147 ENJEnjinCoin (ENJ)$0.16@0.19370.26857845 ETHFIether.fi gov... (ETHFI)$0.84@3.130.48138778 PUSHEthereum Pus... (PUSH)$0.08@0.15920.009239 EUROeEUROe Stable... (EUROe)$0.01@1.086.18148526 IQEveripedia I... (IQ)$0.04@0.00610.00052614 Renzo Restaked ETHezETH (Renzo ...)$1.80@3,419.340.15866868 FJOFjord Foundr... (FJO)$0.09@0.59360.16016259 GHOGho Token (GHO)$0.16@0.99919.37919851 GLCHGlitch (GLCH)$0.07@0.00720.00276663 GFIGoldfinch (GFI)$0.01@2.521.09281336 GLMGolem Networ... (GLM)$0.38@0.34990.44890027 GMTGreenMetaver... (GMT)$0.07@0.16620.302459 HyPCHyperCycle T... (HyPC)$0.13@0.43130.00076133 ILVIlluvium (ILV)$0.05@65.1476.30098883 JRTJarvis Rewar... (JRT)$0.48@0.006338.70611004 LEVERLever (LEVER)$0.10@0.00262.74868443 MEMEMemecoin (MEME)$0.05@0.01950.11085289 MetisMetis Token (Metis)$5.22@47.111.00164828 MNWMorpheus.Net... (MNW)$0.72@0.71940.0974532 ONDOOndo (ONDO)$0.11@1.140.00039158 OETHOrigin Ether (OETH)$1.32@3,380.656,767.15388128 PEPEPepe (PEPE)$0.08@0.000.70089975 POOLPoolTogether (POOL)$0.31@0.43940.93526972 PORTALPORTAL (PORTAL)$0.44@0.46862.78642237 PREPresearch (PRE)$0.04@0.0130.00001677 pufETHpufETH (pufETH)$0.06@3,362.250.0038777 QNTQuant (QNT)$0.30@77.6721.58250626 REZRenzo (REZ)$1.99@0.09220.50809998 REQRequest (REQ)$0.05@0.10760.00000473 rETHRocket Pool ... (rETH)$0.02@3,761.700.00089363 rsETHrsETH (rsETH)$3.05@3,414.730.0647286 sDAISavings Dai (sDAI)$0.07@1.09219.555206 SRMSerum (SRM)$0.68@0.03490.88168561 SDStader (SD)$0.57@0.64741.41238503 SDTStake DAO To... (SDT)$0.31@0.22090.0461893 sUSDeStaked USDe (sUSDe)$0.05@0.99850.00029293 swETHswETH (swETH)$1.05@3,589.72560.00001705 SY-sw2RswethSY Swell L2 ... (SY-sw2...)0.00001684 SY-zs-ezETHSY Zircuit S... (SY-zs-...)0.95536793 sUSDSynth sUSD (sUSD)$0.95@0.99540.02459192 SNXSynthetix Ne... (SNX)$0.05@1.933.71132969 DOGThe Doge NFT (DOG)$0.02@0.004359.80485219 TOWERTOWER (TOWER)$0.38@0.00630.01325877 TRACTrace (TRAC)$0.01@0.76882,089.61113665 TURBOTurbo (TURBO)$9.06@0.00431.3705 UOSUltra Token (UOS)$0.15@0.10740.23006183 USDeUSDe (USDe)$0.23@0.9985439.63465661 WOMBATWombat (WOMBAT)$0.38@0.00090.15069067 WLDWorldcoin (WLD)$0.41@2.710.00006122 weETHWrapped eETH (weETH)$0.22@3,521.540.0031052 SOLWrapped SOL ... (SOL)$0.44@142.590.01184331 TONCOINWrapped TON ... (TONCOI...)$0.09@7.530.00287683 AAVEAave Token (AAVE)$0.28@96.42410.27827167 ARBArbitrum (ARB)$0.22@0.79660.02019452 LINKChainLink To... (LINK)$0.28@13.850.00745749 COMPCompound (COMP)$0.37@50.056.09126995 DAIDai Stableco... (DAI)$6.09@0.99940.1164354 FTMFantom Token (FTM)$0.06@0.54310.00020114 GNOGnosis (GNO)$0.06@278.330.54475765 GRTGraph Token (GRT)$0.11@0.20940.52682278 LDOLido DAO Tok... (LDO)$1.05@1.990.11831398 MNTMantle (MNT)$0.09@0.77920.03936002 PENDLEPendle (PENDLE)$0.20@5.080.0088814 SAFESafe Token (SAFE)$0.01@1.4023.63564 USDTTether USD (USDT)$23.60@0.9983130.43 USDCUSDC (USDC)$130.39@0.99970.00003119 WBTCWrapped BTC (WBTC)$1.90@60,960.000.00709644 WETHWrapped Ethe... (WETH)$24.05@3,389.19750.00038523 wstETHWrapped liqu... (wstETH)$1.53@3,964.570.07626761 ATORAirTor Protocol$0.12@1.60120.40602313 BASEBase Protocol$0.72@1.770.00013024 csETHClayStack Staked ETH2,127.01351005 NFDFeisty Doge NFT$0.28@0.0001167.00937061 GENEGenomesDAO$0.19@0.00112.94339356 GSTGreenSatoshi... (GST)0.03821113 MAVIAHeroes of Mavia$0.07@1.790.00494708 MMXM2 Global Wealth Limited$0.01@2.1612.38955797 MATICMatic Token$6.92@0.5585936.99613843 MUSKMuskGold1.66218768 MYTHMythos$0.52@0.313221,318.56276563 NCATNeuracat (NCAT)156.51457144 NPCNon-Playable Coin$3.21@0.02050.00007596 rswETHrswETH13.55736698 SCOTTYScotty AI (SCOTTY)0.00449476 SPECSpectral Tok... (SPEC)NFT Tokens (15)claim rewards on cronosnetwork.netcronosnetwork.netERC-1155claim rewards on galanetwork.orggalanetwork.orgERC-1155Withdraw NFT originethers.comWithdraw NFT originethers.comERC-1155ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Spam]
- Transactions
- Internal Transactions
- Token Transfers (ERC-20)
- NFT Transfers
- Contract
- Events
- Analytics
- Multichain Portfolio
Advanced Filter- Filter by Tx Type:
- Tx
- Internal Tx
- ERC-20
- NFTs
Latest 1 from a total of 1 transactions
Transaction Hash MethodBlockFromToValue Batch Withdraw F... 20169936 2024-06-25 16:37:11 3 days ago 1719333431 IN 0 ETH 0.00042109 12.49109803 Latest 25 internal transactions (View All)
Advanced mode:Parent Transaction Hash Block From To Value 20196688 2024-06-29 10:16:35 6 mins ago 1719656195 0.00297348 ETH 20196688 2024-06-29 10:16:35 6 mins ago 1719656195 0.003 ETH 20196682 2024-06-29 10:15:23 7 mins ago 1719656123 0.02697348 ETH 20196682 2024-06-29 10:15:23 7 mins ago 1719656123 0.027 ETH 20196640 2024-06-29 10:06:59 16 mins ago 1719655619 0.00067344 ETH 20196640 2024-06-29 10:06:59 16 mins ago 1719655619 0.0007 ETH 20196547 2024-06-29 9:48:11 34 mins ago 1719654491 1.02134303 ETH 20196547 2024-06-29 9:48:11 34 mins ago 1719654491 1.02134598 ETH 20196451 2024-06-29 9:28:59 54 mins ago 1719653339 0.01782376 ETH 20196451 2024-06-29 9:28:59 54 mins ago 1719653339 0.0178385 ETH 20196435 2024-06-29 9:25:47 57 mins ago 1719653147 0.0003764 ETH 20196435 2024-06-29 9:25:47 57 mins ago 1719653147 0.0004 ETH 20196391 2024-06-29 9:16:59 1 hr ago 1719652619 0.03667107 ETH 20196391 2024-06-29 9:16:59 1 hr ago 1719652619 0.03669465 ETH 20196374 2024-06-29 9:13:35 1 hr ago 1719652415 0.03665285 ETH 20196374 2024-06-29 9:13:35 1 hr ago 1719652415 0.03667643 ETH 20196368 2024-06-29 9:12:11 1 hr ago 1719652331 0.03654112 ETH 20196368 2024-06-29 9:12:11 1 hr ago 1719652331 0.03656471 ETH 20196358 2024-06-29 9:10:11 1 hr ago 1719652211 0.0365631 ETH 20196358 2024-06-29 9:10:11 1 hr ago 1719652211 0.03658668 ETH 20196353 2024-06-29 9:09:11 1 hr ago 1719652151 0.0365694 ETH 20196353 2024-06-29 9:09:11 1 hr ago 1719652151 0.03659299 ETH 20195790 2024-06-29 7:15:35 3 hrs ago 1719645335 2.39997934 ETH 20195790 2024-06-29 7:15:35 3 hrs ago 1719645335 2.4 ETH 20195543 2024-06-29 6:26:11 3 hrs ago 1719642371 0.00637588 ETH Loading...LoadingContract Name:LiFuelFeeCollector
Compiler Versionv0.8.17+commit.8df45f5f
Optimization Enabled:Yes with 1000000 runs
Other Settings:london EvmVersionContract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; import { LibAsset } from "../Libraries/LibAsset.sol"; import { TransferrableOwnership } from "../Helpers/TransferrableOwnership.sol"; /// @title LiFuelFeeCollector /// @author LI.FI (https://li.fi) /// @notice Provides functionality for collecting fees for LiFuel /// @custom:version 1.0.1 contract LiFuelFeeCollector is TransferrableOwnership { /// Errors /// error TransferFailure(); error NotEnoughNativeForFees(); /// Events /// event GasFeesCollected( address indexed token, uint256 indexed chainId, address indexed receiver, uint256 feeAmount ); event FeesWithdrawn( address indexed token, address indexed to, uint256 amount ); /// Constructor /// // solhint-disable-next-line no-empty-blocks constructor(address _owner) TransferrableOwnership(_owner) {} /// External Methods /// /// @notice Collects gas fees /// @param tokenAddress The address of the token to collect /// @param feeAmount The amount of fees to collect /// @param chainId The chain id of the destination chain /// @param receiver The address to send gas to on the destination chain function collectTokenGasFees( address tokenAddress, uint256 feeAmount, uint256 chainId, address receiver ) external { LibAsset.depositAsset(tokenAddress, feeAmount); emit GasFeesCollected(tokenAddress, chainId, receiver, feeAmount); } /// @notice Collects gas fees in native token /// @param chainId The chain id of the destination chain /// @param receiver The address to send gas to on destination chain function collectNativeGasFees( uint256 feeAmount, uint256 chainId, address receiver ) external payable { emit GasFeesCollected( LibAsset.NULL_ADDRESS, chainId, receiver, feeAmount ); uint256 amountMinusFees = msg.value - feeAmount; if (amountMinusFees > 0) { (bool success, ) = msg.sender.call{ value: amountMinusFees }(""); if (!success) { revert TransferFailure(); } } } /// @notice Withdraws fees /// @param tokenAddress The address of the token to withdraw fees for function withdrawFees(address tokenAddress) external onlyOwner { uint256 balance = LibAsset.getOwnBalance(tokenAddress); LibAsset.transferAsset(tokenAddress, payable(msg.sender), balance); emit FeesWithdrawn(tokenAddress, msg.sender, balance); } /// @notice Batch withdraws fees /// @param tokenAddresses The addresses of the tokens to withdraw fees for function batchWithdrawFees( address[] calldata tokenAddresses ) external onlyOwner { uint256 length = tokenAddresses.length; uint256 balance; for (uint256 i = 0; i < length; ) { balance = LibAsset.getOwnBalance(tokenAddresses[i]); LibAsset.transferAsset( tokenAddresses[i], payable(msg.sender), balance ); emit FeesWithdrawn(tokenAddresses[i], msg.sender, balance); unchecked { ++i; } } } }
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.17; import { InsufficientBalance, NullAddrIsNotAnERC20Token, NullAddrIsNotAValidSpender, NoTransferToNullAddress, InvalidAmount, NativeAssetTransferFailed } from "../Errors/GenericErrors.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { LibSwap } from "./LibSwap.sol"; /// @title LibAsset /// @notice This library contains helpers for dealing with onchain transfers /// of assets, including accounting for the native asset `assetId` /// conventions and any noncompliant ERC20 transfers library LibAsset { uint256 private constant MAX_UINT = type(uint256).max; address internal constant NULL_ADDRESS = address(0); /// @dev All native assets use the empty address for their asset id /// by convention address internal constant NATIVE_ASSETID = NULL_ADDRESS; //address(0) /// @notice Gets the balance of the inheriting contract for the given asset /// @param assetId The asset identifier to get the balance of /// @return Balance held by contracts using this library function getOwnBalance(address assetId) internal view returns (uint256) { return isNativeAsset(assetId) ? address(this).balance : IERC20(assetId).balanceOf(address(this)); } /// @notice Transfers ether from the inheriting contract to a given /// recipient /// @param recipient Address to send ether to /// @param amount Amount to send to given recipient function transferNativeAsset( address payable recipient, uint256 amount ) private { if (recipient == NULL_ADDRESS) revert NoTransferToNullAddress(); if (amount > address(this).balance) revert InsufficientBalance(amount, address(this).balance); // solhint-disable-next-line avoid-low-level-calls (bool success, ) = recipient.call{ value: amount }(""); if (!success) revert NativeAssetTransferFailed(); } /// @notice If the current allowance is insufficient, the allowance for a given spender /// is set to MAX_UINT. /// @param assetId Token address to transfer /// @param spender Address to give spend approval to /// @param amount Amount to approve for spending function maxApproveERC20( IERC20 assetId, address spender, uint256 amount ) internal { if (isNativeAsset(address(assetId))) { return; } if (spender == NULL_ADDRESS) { revert NullAddrIsNotAValidSpender(); } if (assetId.allowance(address(this), spender) < amount) { SafeERC20.safeApprove(IERC20(assetId), spender, 0); SafeERC20.safeApprove(IERC20(assetId), spender, MAX_UINT); } } /// @notice Transfers tokens from the inheriting contract to a given /// recipient /// @param assetId Token address to transfer /// @param recipient Address to send token to /// @param amount Amount to send to given recipient function transferERC20( address assetId, address recipient, uint256 amount ) private { if (isNativeAsset(assetId)) { revert NullAddrIsNotAnERC20Token(); } if (recipient == NULL_ADDRESS) { revert NoTransferToNullAddress(); } uint256 assetBalance = IERC20(assetId).balanceOf(address(this)); if (amount > assetBalance) { revert InsufficientBalance(amount, assetBalance); } SafeERC20.safeTransfer(IERC20(assetId), recipient, amount); } /// @notice Transfers tokens from a sender to a given recipient /// @param assetId Token address to transfer /// @param from Address of sender/owner /// @param to Address of recipient/spender /// @param amount Amount to transfer from owner to spender function transferFromERC20( address assetId, address from, address to, uint256 amount ) internal { if (isNativeAsset(assetId)) { revert NullAddrIsNotAnERC20Token(); } if (to == NULL_ADDRESS) { revert NoTransferToNullAddress(); } IERC20 asset = IERC20(assetId); uint256 prevBalance = asset.balanceOf(to); SafeERC20.safeTransferFrom(asset, from, to, amount); if (asset.balanceOf(to) - prevBalance != amount) { revert InvalidAmount(); } } function depositAsset(address assetId, uint256 amount) internal { if (amount == 0) revert InvalidAmount(); if (isNativeAsset(assetId)) { if (msg.value < amount) revert InvalidAmount(); } else { uint256 balance = IERC20(assetId).balanceOf(msg.sender); if (balance < amount) revert InsufficientBalance(amount, balance); transferFromERC20(assetId, msg.sender, address(this), amount); } } function depositAssets(LibSwap.SwapData[] calldata swaps) internal { for (uint256 i = 0; i < swaps.length; ) { LibSwap.SwapData calldata swap = swaps[i]; if (swap.requiresDeposit) { depositAsset(swap.sendingAssetId, swap.fromAmount); } unchecked { i++; } } } /// @notice Determines whether the given assetId is the native asset /// @param assetId The asset identifier to evaluate /// @return Boolean indicating if the asset is the native asset function isNativeAsset(address assetId) internal pure returns (bool) { return assetId == NATIVE_ASSETID; } /// @notice Wrapper function to transfer a given asset (native or erc20) to /// some recipient. Should handle all non-compliant return value /// tokens as well by using the SafeERC20 contract by open zeppelin. /// @param assetId Asset id for transfer (address(0) for native asset, /// token address for erc20s) /// @param recipient Address to send asset to /// @param amount Amount to send to given recipient function transferAsset( address assetId, address payable recipient, uint256 amount ) internal { isNativeAsset(assetId) ? transferNativeAsset(recipient, amount) : transferERC20(assetId, recipient, amount); } /// @dev Checks whether the given address is a contract and contains code function isContract(address _contractAddr) internal view returns (bool) { uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(_contractAddr) } return size > 0; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import { IERC173 } from "../Interfaces/IERC173.sol"; import { LibAsset } from "../Libraries/LibAsset.sol"; contract TransferrableOwnership is IERC173 { address public owner; address public pendingOwner; /// Errors /// error UnAuthorized(); error NoNullOwner(); error NewOwnerMustNotBeSelf(); error NoPendingOwnershipTransfer(); error NotPendingOwner(); /// Events /// event OwnershipTransferRequested( address indexed _from, address indexed _to ); constructor(address initialOwner) { owner = initialOwner; } modifier onlyOwner() { if (msg.sender != owner) revert UnAuthorized(); _; } /// @notice Initiates transfer of ownership to a new address /// @param _newOwner the address to transfer ownership to function transferOwnership(address _newOwner) external onlyOwner { if (_newOwner == LibAsset.NULL_ADDRESS) revert NoNullOwner(); if (_newOwner == msg.sender) revert NewOwnerMustNotBeSelf(); pendingOwner = _newOwner; emit OwnershipTransferRequested(msg.sender, pendingOwner); } /// @notice Cancel transfer of ownership function cancelOwnershipTransfer() external onlyOwner { if (pendingOwner == LibAsset.NULL_ADDRESS) revert NoPendingOwnershipTransfer(); pendingOwner = LibAsset.NULL_ADDRESS; } /// @notice Confirms transfer of ownership to the calling address (msg.sender) function confirmOwnershipTransfer() external { address _pendingOwner = pendingOwner; if (msg.sender != _pendingOwner) revert NotPendingOwner(); emit OwnershipTransferred(owner, _pendingOwner); owner = _pendingOwner; pendingOwner = LibAsset.NULL_ADDRESS; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; error AlreadyInitialized(); error CannotAuthoriseSelf(); error CannotBridgeToSameNetwork(); error ContractCallNotAllowed(); error CumulativeSlippageTooHigh(uint256 minAmount, uint256 receivedAmount); error ExternalCallFailed(); error InformationMismatch(); error InsufficientBalance(uint256 required, uint256 balance); error InvalidAmount(); error InvalidCallData(); error InvalidConfig(); error InvalidContract(); error InvalidDestinationChain(); error InvalidFallbackAddress(); error InvalidReceiver(); error InvalidSendingToken(); error NativeAssetNotSupported(); error NativeAssetTransferFailed(); error NoSwapDataProvided(); error NoSwapFromZeroBalance(); error NotAContract(); error NotInitialized(); error NoTransferToNullAddress(); error NullAddrIsNotAnERC20Token(); error NullAddrIsNotAValidSpender(); error OnlyContractOwner(); error RecoveryAddressCannotBeZero(); error ReentrancyError(); error TokenNotSupported(); error UnAuthorized(); error UnsupportedChainId(uint256 chainId); error WithdrawFailed(); error ZeroAmount();
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to * 0 before setting it to a non-zero value. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import { LibAsset } from "./LibAsset.sol"; import { LibUtil } from "./LibUtil.sol"; import { InvalidContract, NoSwapFromZeroBalance, InsufficientBalance } from "../Errors/GenericErrors.sol"; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; library LibSwap { struct SwapData { address callTo; address approveTo; address sendingAssetId; address receivingAssetId; uint256 fromAmount; bytes callData; bool requiresDeposit; } event AssetSwapped( bytes32 transactionId, address dex, address fromAssetId, address toAssetId, uint256 fromAmount, uint256 toAmount, uint256 timestamp ); function swap(bytes32 transactionId, SwapData calldata _swap) internal { if (!LibAsset.isContract(_swap.callTo)) revert InvalidContract(); uint256 fromAmount = _swap.fromAmount; if (fromAmount == 0) revert NoSwapFromZeroBalance(); uint256 nativeValue = LibAsset.isNativeAsset(_swap.sendingAssetId) ? _swap.fromAmount : 0; uint256 initialSendingAssetBalance = LibAsset.getOwnBalance( _swap.sendingAssetId ); uint256 initialReceivingAssetBalance = LibAsset.getOwnBalance( _swap.receivingAssetId ); if (nativeValue == 0) { LibAsset.maxApproveERC20( IERC20(_swap.sendingAssetId), _swap.approveTo, _swap.fromAmount ); } if (initialSendingAssetBalance < _swap.fromAmount) { revert InsufficientBalance( _swap.fromAmount, initialSendingAssetBalance ); } // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory res) = _swap.callTo.call{ value: nativeValue }(_swap.callData); if (!success) { string memory reason = LibUtil.getRevertMsg(res); revert(reason); } uint256 newBalance = LibAsset.getOwnBalance(_swap.receivingAssetId); emit AssetSwapped( transactionId, _swap.callTo, _swap.sendingAssetId, _swap.receivingAssetId, _swap.fromAmount, newBalance > initialReceivingAssetBalance ? newBalance - initialReceivingAssetBalance : newBalance, block.timestamp ); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; /// @title ERC-173 Contract Ownership Standard /// Note: the ERC-165 identifier for this interface is 0x7f5828d0 /* is ERC165 */ interface IERC173 { /// @dev This emits when ownership of a contract changes. event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /// @notice Get the address of the owner /// @return owner_ The address of the owner. function owner() external view returns (address owner_); /// @notice Set the address of the new owner of the contract /// @dev Set _newOwner to address(0) to renounce any ownership. /// @param _newOwner The address of the new owner of the contract function transferOwnership(address _newOwner) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import "./LibBytes.sol"; library LibUtil { using LibBytes for bytes; function getRevertMsg( bytes memory _res ) internal pure returns (string memory) { // If the _res length is less than 68, then the transaction failed silently (without a revert message) if (_res.length < 68) return "Transaction reverted silently"; bytes memory revertData = _res.slice(4, _res.length - 4); // Remove the selector which is the first 4 bytes return abi.decode(revertData, (string)); // All that remains is the revert string } /// @notice Determines whether the given address is the zero address /// @param addr The address to verify /// @return Boolean indicating if the address is the zero address function isZeroAddress(address addr) internal pure returns (bool) { return addr == address(0); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; library LibBytes { // solhint-disable no-inline-assembly // LibBytes specific errors error SliceOverflow(); error SliceOutOfBounds(); error AddressOutOfBounds(); bytes16 private constant _SYMBOLS = "0123456789abcdef"; // ------------------------- function slice( bytes memory _bytes, uint256 _start, uint256 _length ) internal pure returns (bytes memory) { if (_length + 31 < _length) revert SliceOverflow(); if (_bytes.length < _start + _length) revert SliceOutOfBounds(); bytes memory tempBytes; assembly { switch iszero(_length) case 0 { // Get a location of some free memory and store it in tempBytes as // Solidity does for memory variables. tempBytes := mload(0x40) // The first word of the slice result is potentially a partial // word read from the original array. To read it, we calculate // the length of that partial word and start copying that many // bytes into the array. The first word we copy will start with // data we don't care about, but the last `lengthmod` bytes will // land at the beginning of the contents of the new array. When // we're done copying, we overwrite the full first word with // the actual length of the slice. let lengthmod := and(_length, 31) // The multiplication in the next line is necessary // because when slicing multiples of 32 bytes (lengthmod == 0) // the following copy loop was copying the origin's length // and then ending prematurely not copying everything it should. let mc := add( add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)) ) let end := add(mc, _length) for { // The multiplication in the next line has the same exact purpose // as the one above. let cc := add( add( add(_bytes, lengthmod), mul(0x20, iszero(lengthmod)) ), _start ) } lt(mc, end) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { mstore(mc, mload(cc)) } mstore(tempBytes, _length) //update free-memory pointer //allocating the array padded to 32 bytes like the compiler does now mstore(0x40, and(add(mc, 31), not(31))) } //if we want a zero-length slice let's just return a zero-length array default { tempBytes := mload(0x40) //zero out the 32 bytes slice we are about to return //we need to do it because Solidity does not garbage collect mstore(tempBytes, 0) mstore(0x40, add(tempBytes, 0x20)) } } return tempBytes; } function toAddress( bytes memory _bytes, uint256 _start ) internal pure returns (address) { if (_bytes.length < _start + 20) { revert AddressOutOfBounds(); } address tempAddress; assembly { tempAddress := div( mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000 ) } return tempAddress; } /// Copied from OpenZeppelin's `Strings.sol` utility library. /// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/8335676b0e99944eef6a742e16dcd9ff6e68e609/contracts/utils/Strings.sol function toHexString( uint256 value, uint256 length ) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
{ "remappings": [ "@eth-optimism/=node_modules/@hop-protocol/sdk/node_modules/@eth-optimism/", "@uniswap/=node_modules/@uniswap/", "eth-gas-reporter/=node_modules/eth-gas-reporter/", "hardhat/=node_modules/hardhat/", "hardhat-deploy/=node_modules/hardhat-deploy/", "@openzeppelin/=lib/openzeppelin-contracts/", "celer-network/=lib/sgn-v2-contracts/", "create3-factory/=lib/create3-factory/src/", "solmate/=lib/solmate/src/", "ds-test/=lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "lifi/=src/", "test/=test/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/", "sgn-v2-contracts/=lib/sgn-v2-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 1000000 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"required","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"NativeAssetTransferFailed","type":"error"},{"inputs":[],"name":"NewOwnerMustNotBeSelf","type":"error"},{"inputs":[],"name":"NoNullOwner","type":"error"},{"inputs":[],"name":"NoPendingOwnershipTransfer","type":"error"},{"inputs":[],"name":"NoTransferToNullAddress","type":"error"},{"inputs":[],"name":"NotEnoughNativeForFees","type":"error"},{"inputs":[],"name":"NotPendingOwner","type":"error"},{"inputs":[],"name":"NullAddrIsNotAnERC20Token","type":"error"},{"inputs":[],"name":"TransferFailure","type":"error"},{"inputs":[],"name":"UnAuthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FeesWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"chainId","type":"uint256"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"}],"name":"GasFeesCollected","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"}],"name":"OwnershipTransferRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address[]","name":"tokenAddresses","type":"address[]"}],"name":"batchWithdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cancelOwnershipTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"feeAmount","type":"uint256"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"collectNativeGasFees","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"feeAmount","type":"uint256"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"collectTokenGasFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"confirmOwnershipTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405161171638038061171683398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b611683806100936000396000f3fe6080604052600436106100965760003560e01c806374ef98d911610069578063a7aa0de71161004e578063a7aa0de714610170578063e30c397814610190578063f2fde38b146101bd57600080fd5b806374ef98d9146101075780638da5cb5b1461011a57600080fd5b8063164e68de1461009b5780631eacd35f146100bd57806323452b9c146100dd5780637200b829146100f2575b600080fd5b3480156100a757600080fd5b506100bb6100b6366004611406565b6101dd565b005b3480156100c957600080fd5b506100bb6100d8366004611428565b610297565b3480156100e957600080fd5b506100bb61030f565b3480156100fe57600080fd5b506100bb6103d9565b6100bb61011536600461146e565b6104bf565b34801561012657600080fd5b506000546101479073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34801561017c57600080fd5b506100bb61018b3660046114a3565b6105c6565b34801561019c57600080fd5b506001546101479073ffffffffffffffffffffffffffffffffffffffff1681565b3480156101c957600080fd5b506100bb6101d8366004611406565b610705565b60005473ffffffffffffffffffffffffffffffffffffffff16331461022e576040517fbe24598300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061023982610863565b905061024682338361091c565b604051818152339073ffffffffffffffffffffffffffffffffffffffff8416907f5e110f8bc8a20b65dcc87f224bdf1cc039346e267118bae2739847f07321ffa89060200160405180910390a35050565b6102a18484610952565b8073ffffffffffffffffffffffffffffffffffffffff16828573ffffffffffffffffffffffffffffffffffffffff167f03e28afce33ddcc0ab4ff4b9050c6ff0c323292f46b577db77c1a7281320de568660405161030191815260200190565b60405180910390a450505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610360576040517fbe24598300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60015473ffffffffffffffffffffffffffffffffffffffff166103af576040517f75cdea1200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60015473ffffffffffffffffffffffffffffffffffffffff1633811461042b576040517f1853971c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179055600180549091169055565b8073ffffffffffffffffffffffffffffffffffffffff1682600073ffffffffffffffffffffffffffffffffffffffff167f03e28afce33ddcc0ab4ff4b9050c6ff0c323292f46b577db77c1a7281320de568660405161052091815260200190565b60405180910390a460006105348434611518565b905080156105c057604051600090339083908381818185875af1925050503d806000811461057e576040519150601f19603f3d011682016040523d82523d6000602084013e610583565b606091505b50509050806105be576040517ff7e6817a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610617576040517fbe24598300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000805b828110156105be5761065385858381811061063957610639611552565b905060200201602081019061064e9190611406565b610863565b915061068685858381811061066a5761066a611552565b905060200201602081019061067f9190611406565b338461091c565b3385858381811061069957610699611552565b90506020020160208101906106ae9190611406565b73ffffffffffffffffffffffffffffffffffffffff167f5e110f8bc8a20b65dcc87f224bdf1cc039346e267118bae2739847f07321ffa8846040516106f591815260200190565b60405180910390a360010161061c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610756576040517fbe24598300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166107a3576040517f1beca37400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff8216036107f2576040517fbf1ea9fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b600073ffffffffffffffffffffffffffffffffffffffff821615610914576040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa1580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090f9190611581565b610916565b475b92915050565b73ffffffffffffffffffffffffffffffffffffffff83161561094857610943838383610acd565b505050565b6109438282610c49565b8060000361098c576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166109e557803410156109e1576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815233600482015260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190611581565b905081811015610ac1576040517fcf47918100000000000000000000000000000000000000000000000000000000815260048101839052602481018290526044015b60405180910390fd5b61094383333085610d73565b73ffffffffffffffffffffffffffffffffffffffff8316610b1a576040517fd1bebf0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610b67576040517f21f7434500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa158015610bd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf89190611581565b905080821115610c3e576040517fcf4791810000000000000000000000000000000000000000000000000000000081526004810183905260248101829052604401610ab8565b6105c0848484610f8d565b73ffffffffffffffffffffffffffffffffffffffff8216610c96576040517f21f7434500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b47811115610cd9576040517fcf47918100000000000000000000000000000000000000000000000000000000815260048101829052476024820152604401610ab8565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610d33576040519150601f19603f3d011682016040523d82523d6000602084013e610d38565b606091505b5050905080610943576040517f5a04673700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8416610dc0576040517fd1bebf0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610e0d576040517f21f7434500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015285916000918316906370a0823190602401602060405180830381865afa158015610e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea29190611581565b9050610eb082868686611061565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152849183918516906370a0823190602401602060405180830381865afa158015610f20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f449190611581565b610f4e9190611518565b14610f85576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109439084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526110bf565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526105c09085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610fdf565b6000611121826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166111ce9092919063ffffffff16565b9050805160001480611142575080806020019051810190611142919061159a565b610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610ab8565b60606111dd84846000856111e5565b949350505050565b606082471015611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610ab8565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516112a091906115e0565b60006040518083038185875af1925050503d80600081146112dd576040519150601f19603f3d011682016040523d82523d6000602084013e6112e2565b606091505b50915091506112f3878383876112fe565b979650505050505050565b6060831561139457825160000361138d5773ffffffffffffffffffffffffffffffffffffffff85163b61138d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ab8565b50816111dd565b6111dd83838151156113a95781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab891906115fc565b803573ffffffffffffffffffffffffffffffffffffffff8116811461140157600080fd5b919050565b60006020828403121561141857600080fd5b611421826113dd565b9392505050565b6000806000806080858703121561143e57600080fd5b611447856113dd565b93506020850135925060408501359150611463606086016113dd565b905092959194509250565b60008060006060848603121561148357600080fd5b833592506020840135915061149a604085016113dd565b90509250925092565b600080602083850312156114b657600080fd5b823567ffffffffffffffff808211156114ce57600080fd5b818501915085601f8301126114e257600080fd5b8135818111156114f157600080fd5b8660208260051b850101111561150657600080fd5b60209290920196919550909350505050565b81810381811115610916577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561159357600080fd5b5051919050565b6000602082840312156115ac57600080fd5b8151801515811461142157600080fd5b60005b838110156115d75781810151838201526020016115bf565b50506000910152565b600082516115f28184602087016115bc565b9190910192915050565b602081526000825180602084015261161b8160408501602087016115bc565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220ebeecfd99278412a0fb3e59940a2b658bf2c3e837e5faffa2839a5d4bd1a82c164736f6c63430008110033000000000000000000000000c71284231a726a18ac85c94d75f9fe17a185beafDeployed Bytecode
0x6080604052600436106100965760003560e01c806374ef98d911610069578063a7aa0de71161004e578063a7aa0de714610170578063e30c397814610190578063f2fde38b146101bd57600080fd5b806374ef98d9146101075780638da5cb5b1461011a57600080fd5b8063164e68de1461009b5780631eacd35f146100bd57806323452b9c146100dd5780637200b829146100f2575b600080fd5b3480156100a757600080fd5b506100bb6100b6366004611406565b6101dd565b005b3480156100c957600080fd5b506100bb6100d8366004611428565b610297565b3480156100e957600080fd5b506100bb61030f565b3480156100fe57600080fd5b506100bb6103d9565b6100bb61011536600461146e565b6104bf565b34801561012657600080fd5b506000546101479073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34801561017c57600080fd5b506100bb61018b3660046114a3565b6105c6565b34801561019c57600080fd5b506001546101479073ffffffffffffffffffffffffffffffffffffffff1681565b3480156101c957600080fd5b506100bb6101d8366004611406565b610705565b60005473ffffffffffffffffffffffffffffffffffffffff16331461022e576040517fbe24598300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061023982610863565b905061024682338361091c565b604051818152339073ffffffffffffffffffffffffffffffffffffffff8416907f5e110f8bc8a20b65dcc87f224bdf1cc039346e267118bae2739847f07321ffa89060200160405180910390a35050565b6102a18484610952565b8073ffffffffffffffffffffffffffffffffffffffff16828573ffffffffffffffffffffffffffffffffffffffff167f03e28afce33ddcc0ab4ff4b9050c6ff0c323292f46b577db77c1a7281320de568660405161030191815260200190565b60405180910390a450505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610360576040517fbe24598300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60015473ffffffffffffffffffffffffffffffffffffffff166103af576040517f75cdea1200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60015473ffffffffffffffffffffffffffffffffffffffff1633811461042b576040517f1853971c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff9092167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179055600180549091169055565b8073ffffffffffffffffffffffffffffffffffffffff1682600073ffffffffffffffffffffffffffffffffffffffff167f03e28afce33ddcc0ab4ff4b9050c6ff0c323292f46b577db77c1a7281320de568660405161052091815260200190565b60405180910390a460006105348434611518565b905080156105c057604051600090339083908381818185875af1925050503d806000811461057e576040519150601f19603f3d011682016040523d82523d6000602084013e610583565b606091505b50509050806105be576040517ff7e6817a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b50505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610617576040517fbe24598300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000805b828110156105be5761065385858381811061063957610639611552565b905060200201602081019061064e9190611406565b610863565b915061068685858381811061066a5761066a611552565b905060200201602081019061067f9190611406565b338461091c565b3385858381811061069957610699611552565b90506020020160208101906106ae9190611406565b73ffffffffffffffffffffffffffffffffffffffff167f5e110f8bc8a20b65dcc87f224bdf1cc039346e267118bae2739847f07321ffa8846040516106f591815260200190565b60405180910390a360010161061c565b60005473ffffffffffffffffffffffffffffffffffffffff163314610756576040517fbe24598300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81166107a3576040517f1beca37400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff8216036107f2576040517fbf1ea9fb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff831690811790915560405133907fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae127890600090a350565b600073ffffffffffffffffffffffffffffffffffffffff821615610914576040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa1580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090f9190611581565b610916565b475b92915050565b73ffffffffffffffffffffffffffffffffffffffff83161561094857610943838383610acd565b505050565b6109438282610c49565b8060000361098c576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166109e557803410156109e1576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815233600482015260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190611581565b905081811015610ac1576040517fcf47918100000000000000000000000000000000000000000000000000000000815260048101839052602481018290526044015b60405180910390fd5b61094383333085610d73565b73ffffffffffffffffffffffffffffffffffffffff8316610b1a576040517fd1bebf0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610b67576040517f21f7434500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa158015610bd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf89190611581565b905080821115610c3e576040517fcf4791810000000000000000000000000000000000000000000000000000000081526004810183905260248101829052604401610ab8565b6105c0848484610f8d565b73ffffffffffffffffffffffffffffffffffffffff8216610c96576040517f21f7434500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b47811115610cd9576040517fcf47918100000000000000000000000000000000000000000000000000000000815260048101829052476024820152604401610ab8565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610d33576040519150601f19603f3d011682016040523d82523d6000602084013e610d38565b606091505b5050905080610943576040517f5a04673700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8416610dc0576040517fd1bebf0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610e0d576040517f21f7434500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff838116600483015285916000918316906370a0823190602401602060405180830381865afa158015610e7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea29190611581565b9050610eb082868686611061565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152849183918516906370a0823190602401602060405180830381865afa158015610f20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f449190611581565b610f4e9190611518565b14610f85576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109439084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff00000000000000000000000000000000000000000000000000000000909316929092179091526110bf565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526105c09085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610fdf565b6000611121826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166111ce9092919063ffffffff16565b9050805160001480611142575080806020019051810190611142919061159a565b610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610ab8565b60606111dd84846000856111e5565b949350505050565b606082471015611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610ab8565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516112a091906115e0565b60006040518083038185875af1925050503d80600081146112dd576040519150601f19603f3d011682016040523d82523d6000602084013e6112e2565b606091505b50915091506112f3878383876112fe565b979650505050505050565b6060831561139457825160000361138d5773ffffffffffffffffffffffffffffffffffffffff85163b61138d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ab8565b50816111dd565b6111dd83838151156113a95781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab891906115fc565b803573ffffffffffffffffffffffffffffffffffffffff8116811461140157600080fd5b919050565b60006020828403121561141857600080fd5b611421826113dd565b9392505050565b6000806000806080858703121561143e57600080fd5b611447856113dd565b93506020850135925060408501359150611463606086016113dd565b905092959194509250565b60008060006060848603121561148357600080fd5b833592506020840135915061149a604085016113dd565b90509250925092565b600080602083850312156114b657600080fd5b823567ffffffffffffffff808211156114ce57600080fd5b818501915085601f8301126114e257600080fd5b8135818111156114f157600080fd5b8660208260051b850101111561150657600080fd5b60209290920196919550909350505050565b81810381811115610916577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561159357600080fd5b5051919050565b6000602082840312156115ac57600080fd5b8151801515811461142157600080fd5b60005b838110156115d75781810151838201526020016115bf565b50506000910152565b600082516115f28184602087016115bc565b9190910192915050565b602081526000825180602084015261161b8160408501602087016115bc565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220ebeecfd99278412a0fb3e59940a2b658bf2c3e837e5faffa2839a5d4bd1a82c164736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c71284231a726a18ac85c94d75f9fe17a185beaf
-----Decoded View---------------
Arg [0] : _owner (address): 0xC71284231A726A18ac85c94D75f9fe17A185BeAF
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c71284231a726a18ac85c94d75f9fe17a185beafLoading...LoadingLoading...Loading
Loading...Loading
Loading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingMultichain Portfolio | 26 Chains
Chain Token Portfolio % Price Amount Value ARB 18.02% $3,389.04 1.1196 $3,794.38 ARB 14.05% $0.999709 2,958.9022 $2,958.04 ARB 4.59% $0.998408 968.7913 $967.25 ARB 2.89% $0.999709 609.72 $609.54 ARB 1.80% $3,383.2 0.1122 $379.68 ARB 1.64% $3,389 0.102 $345.54 ARB 1.13% $60,924 0.00390751 $238.06 ARB 0.81% $0.796342 213.0031 $169.62 ARB 0.52% $1 108.1894 $108.51 ARB 0.42% $27.64 3.2371 $89.47 ARB 0.41% $0.041879 2,086.5848 $87.38 ARB 0.30% $3,420.78 0.0186 $63.6 ARB 0.26% $0.999857 54.0624 $54.05 ARB 0.26% $3,765.67 0.0144 $54.04 ARB 0.21% $0.152023 288.8733 $43.92 ARB 0.17% $0.024387 1,504.558 $36.69 ARB 0.12% $0.377871 67.5055 $25.51 ARB 0.11% $2.74 8.6097 $23.59 ARB 0.09% $5.09 3.8836 $19.77 ARB 0.05% <$0.000001 628,807,642.3422 $10.63 ARB 0.02% $16.38 0.2145 $3.51 ARB 0.02% $0.996474 3.4789 $3.47 ARB 0.02% $3,634.64 0.00090688 $3.3 ARB 0.01% $0.038304 56.0525 $2.15 ARB <0.01% $3,386.23 0.00051082 $1.73 ARB <0.01% $0.101197 17.0067 $1.72 ARB <0.01% $13.83 0.1097 $1.52 ARB <0.01% $0.604592 2.4967 $1.51 ARB <0.01% $3,964.31 0.00031353 $1.24 ARB <0.01% $3,642.45 0.00028728 $1.05 ARB <0.01% $0.121823 7.7108 $0.9393 ARB <0.01% $0.007513 108.5274 $0.8153 ARB <0.01% $0.000154 4,295.2672 $0.661 ARB <0.01% $0.988537 0.6265 $0.6193 ARB <0.01% $0.004155 147.5322 $0.6129 ARB <0.01% $0.999889 0.4327 $0.4326 ARB <0.01% $0.116044 3.6427 $0.4227 ARB <0.01% $0.010166 40.8888 $0.4156 ARB <0.01% $0.334484 1.1776 $0.3938 ARB <0.01% $0.20925 1.8217 $0.3811 ARB <0.01% $0.999888 0.3604 $0.3603 ARB <0.01% $870.8 0.0003324 $0.2894 ARB <0.01% $1.07 0.2628 $0.2811 ARB <0.01% $0.143977 1.8823 $0.271 ARB <0.01% $0.458321 0.2636 $0.1208 BASE 7.66% $0.999931 1,613.61 $1,613.5 BASE 2.92% $3,389.16 0.1812 $614.24 BASE 2.14% $3,389.49 0.1332 $451.32 BASE 0.88% $0.705001 262.3324 $184.94 BASE 0.80% $0.999466 167.66 $167.57 BASE 0.47% $0.157727 629.5274 $99.29 BASE 0.32% $2.74 24.4834 $67.08 BASE 0.25% $0.351107 148.4306 $52.12 BASE 0.23% $0.000258 187,770.1709 $48.41 BASE 0.20% $0.008418 4,972.7787 $41.86 BASE 0.16% $0.001549 21,802.4033 $33.78 BASE 0.14% $6.2 4.8785 $30.25 BASE 0.12% $3,763.61 0.00696645 $26.22 BASE 0.06% $0.999737 13.0831 $13.08 BASE 0.04% $3.22 2.715 $8.74 BASE <0.01% $0.26333 4.3092 $1.13 BASE <0.01% $0.999871 1.0028 $1 BASE <0.01% $0.069975 8.4609 $0.592 BASE <0.01% <$0.000001 26,166,689.5663 $0.5233 BASE <0.01% $0.391464 0.9402 $0.368 BASE <0.01% $3,640.51 0.00008684 $0.3161 BASE <0.01% <$0.000001 11,598,135.7083 $0.2122 BASE <0.01% $0.004264 39.2372 $0.1673 BASE <0.01% $8.56 0.0158 $0.1354 BASE <0.01% $0.008395 14.0385 $0.1178 MATIC 4.32% $0.557918 1,631.9308 $910.48 MATIC 3.67% $0.998297 773.6145 $772.3 MATIC 2.27% $3,388.89 0.1412 $478.54 MATIC 1.52% $0.999927 319.1 $319.08 MATIC 0.86% $0.999927 180.22 $180.21 MATIC 0.64% $0.999402 135.1038 $135.02 MATIC <0.01% $2.74 0.6161 $1.69 MATIC <0.01% $0.378015 4.0093 $1.52 MATIC <0.01% $0.011995 114.1735 $1.37 MATIC <0.01% $0.336898 2.6971 $0.9086 MATIC <0.01% $0.440161 1.9945 $0.8779 MATIC <0.01% $0.170889 4.3465 $0.7427 MATIC <0.01% $3.55 0.208 $0.7385 MATIC <0.01% $0.62673 1.157 $0.7251 MATIC <0.01% <$0.000001 3,679,523.1868 $0.5556 MATIC <0.01% $60,955 0.00000844 $0.5144 MATIC <0.01% $0.557806 0.9203 $0.5133 MATIC <0.01% $0.62283 0.7955 $0.4954 MATIC <0.01% $0.439382 1.0867 $0.4774 MATIC <0.01% $96.21 0.00439199 $0.4225 MATIC <0.01% $0.035823 11.1141 $0.3981 MATIC <0.01% $1 0.3904 $0.3911 MATIC <0.01% $0.143589 2.5564 $0.367 MATIC <0.01% $0.5583 0.6464 $0.3608 MATIC <0.01% $1.07 0.2801 $0.2988 MATIC <0.01% $0.043592 5.9529 $0.2594 MATIC <0.01% $0.736147 0.3119 $0.2295 MATIC <0.01% $0.000192 1,005.9059 $0.1933 MATIC <0.01% $0.05181 3.3385 $0.1729 MATIC <0.01% $172.83 0.00082699 $0.1429 MATIC <0.01% $0.007066 17.9465 $0.1268 MATIC <0.01% $28.14 0.00427168 $0.1202 MATIC <0.01% $0.006346 18.2105 $0.1155 OP 6.54% $3,389.26 0.4061 $1,376.45 OP 2.07% $0.999927 435.9469 $435.92 OP 1.07% $0.998297 225.2494 $224.87 OP 1.04% $1.77 123.6829 $219.29 OP 0.76% $0.999927 159.54 $159.53 OP 0.40% $3,388.07 0.0251 $84.92 OP 0.31% $2.74 23.5462 $64.52 OP 0.28% $0.37662 159.3288 $60.01 OP 0.23% $3,964.64 0.012 $47.52 OP 0.09% $0.999402 18.1512 $18.14 OP 0.01% $0.999521 3.16 $3.16 OP 0.01% $0.994287 2.3398 $2.33 OP <0.01% $0.550434 3.2422 $1.78 OP <0.01% $3,384.83 0.00051101 $1.73 OP <0.01% $60,955 0.00002436 $1.48 OP <0.01% $0.091064 15.7206 $1.43 OP <0.01% $0.99684 1.0118 $1.01 OP <0.01% $0.994497 0.9642 $0.9588 OP <0.01% $0.999889 0.9304 $0.9302 OP <0.01% $0.998839 0.9051 $0.904 OP <0.01% $2.98 0.2946 $0.8779 OP <0.01% $13.86 0.0486 $0.6737 OP <0.01% $2.71 0.1858 $0.5031 OP <0.01% $0.594109 0.6359 $0.3778 OP <0.01% $0.378167 0.9493 $0.3589 OP <0.01% $0.210045 1.5361 $0.3226 OP <0.01% $0.999338 0.19 $0.1898 OP <0.01% $0.091064 2.0149 $0.1834 OP <0.01% $1.07 0.1601 $0.1712 OP <0.01% $0.008711 15.3225 $0.1334 OP <0.01% $0.070098 1.6118 $0.1129 BLAST 3.49% $3,389.18 0.2169 $735.15 BLAST 0.39% $3,389.49 0.0245 $82.89 BLAST 0.08% $0.996983 16.3184 $16.27 BLAST <0.01% $0.004842 48.4356 $0.2345 GNO 1.04% $0.999781 218.7769 $218.73 GNO 0.81% $1.09 156.3488 $169.95 GNO 0.71% $3,387.56 0.0444 $150.5 GNO 0.32% $1.07 63.1334 $67.43 GNO 0.31% $0.999472 65.46 $65.43 GNO 0.23% $0.209336 233.4715 $48.87 GNO 0.06% $0.999781 12.2224 $12.22 GNO 0.04% $0.998297 8.6307 $8.62 GNO 0.01% $278.21 0.0108 $3.01 GNO 0.01% $0.0087 314.9518 $2.74 GNO <0.01% $1.07 0.4011 $0.4291 GNO <0.01% $0.230697 0.4919 $0.1134 ETH 0.62% $0.999685 130.43 $130.39 ETH Ether (ETH)0.23% $3,389.2 0.0142 $48.17 ETH 0.11% $3,389.2 0.00709644 $24.05 ETH 0.11% $0.998297 23.6356 $23.6 ETH 0.04% $0.004338 2,089.6111 $9.06 ETH 0.03% $0.55849 12.3896 $6.92 ETH 0.03% $0.999402 6.0913 $6.09 ETH 0.02% $47.11 0.1109 $5.22 ETH 0.02% $0.020484 156.5146 $3.21 ETH 0.01% $3,414.73 0.00089363 $3.05 ETH <0.01% $0.092161 21.5825 $1.99 ETH <0.01% $60,960 0.00003119 $1.9 ETH <0.01% $3,419.34 0.00052614 $1.8 ETH <0.01% $1.2 1.4858 $1.79 ETH <0.01% $3,964.57 0.00038523 $1.53 ETH <0.01% $0.000502 2,991.8171 $1.5 ETH <0.01% $3,380.65 0.00039158 $1.32 ETH <0.01% $3,589.73 0.00029293 $1.05 ETH <0.01% $1.99 0.5268 $1.05 ETH <0.01% $0.995426 0.9554 $0.9509 ETH <0.01% $3.13 0.2686 $0.8406 ETH <0.01% $0.71939 1.0016 $0.7205 ETH <0.01% $1.77 0.406 $0.7186 ETH <0.01% $1.32 0.5299 $0.6995 ETH <0.01% $0.034911 19.5552 $0.6826 ETH <0.01% $0.647429 0.8817 $0.5708 ETH <0.01% $0.313241 1.6622 $0.5206 ETH <0.01% $0.283846 1.7831 $0.5061 ETH <0.01% $0.175768 2.8788 $0.506 ETH <0.01% $0.006332 76.301 $0.4831 ETH <0.01% $142.59 0.0031052 $0.4427 ETH <0.01% $0.468569 0.9353 $0.4382 ETH <0.01% $0.002712 159.9167 $0.4336 ETH <0.01% $0.78679 0.5197 $0.4088 ETH <0.01% $2.71 0.1507 $0.4083 ETH <0.01% $0.000872 439.6347 $0.3835 ETH <0.01% $0.349929 1.0928 $0.3824 ETH <0.01% $0.006349 59.8049 $0.3796 ETH <0.01% $50.05 0.00745749 $0.3732 ETH <0.01% $0.22086 1.4124 $0.3119 ETH <0.01% $0.439419 0.7009 $0.3079 ETH <0.01% $77.67 0.0038777 $0.3011 ETH <0.01% $13.85 0.0202 $0.2796 ETH <0.01% $96.42 0.00287683 $0.2773 ETH <0.01% $0.00013 2,127.0135 $0.2756 ETH <0.01% $0.998523 0.2301 $0.2297 ETH <0.01% $0.796624 0.2783 $0.2216 ETH <0.01% $3,521.54 0.00006122 $0.2155 ETH <0.01% $0.036293 5.5477 $0.2013 ETH <0.01% $5.08 0.0394 $0.1999 ETH <0.01% $0.001147 167.0094 $0.1915 ETH <0.01% $0.193694 0.8495 $0.1645 ETH <0.01% $0.999055 0.1602 $0.16 ETH <0.01% $0.107371 1.3705 $0.1471 ETH <0.01% $0.018285 7.8706 $0.1439 ETH <0.01% $0.431259 0.3025 $0.1304 ETH <0.01% $1.6 0.0763 $0.1221 ETH <0.01% $0.997954 0.1201 $0.1198 ETH <0.01% $3,641.19 0.00003184 $0.1159 ETH <0.01% $0.209435 0.5448 $0.114 ETH <0.01% $1.14 0.0975 $0.111 ETH <0.01% $0.002596 38.7061 $0.1004 MANTLE 0.26% $3,391.97 0.0161 $54.49 MANTLE 0.19% $1 40.74 $40.78 MANTLE 0.01% $0.997899 3.036 $3.03 MANTLE 0.01% $0.77972 3.3197 $2.59 MANTLE <0.01% $3,512.8 0.00005564 $0.1954 BSC <0.01% $571.14 0.00340645 $1.95 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.
Address QR Code
My Address - Private Name Tag or Note
My Name Tag:
Private Name Tags (up to 35 characters) can be used for easy identification of addressesPrivate Note:
A private note (up to 500 characters) can be attached to this address.
Please DO NOT store any passwords or private keys here.Compiler specific version warnings:
The compiled contract might be susceptible to VerbatimInvalidDeduplication (low-severity), FullInlinerNonExpressionSplitArgumentEvaluationOrder (low-severity), MissingSideEffectsOnSelectorAccess (low-severity) Solidity Compiler Bugs.
Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Before You Copy
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.