More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
133091966 | 42 days ago | 0.049916677746417 ETH | ||||
133091966 | 42 days ago | 0.049916677746417 ETH | ||||
133091171 | 42 days ago | 0.009581045152249 ETH | ||||
133091171 | 42 days ago | 0.009581045152249 ETH | ||||
133088849 | 42 days ago | 0.077926365279165 ETH | ||||
133088849 | 42 days ago | 0.077926365279165 ETH | ||||
133063569 | 42 days ago | 0.025714586010452 ETH | ||||
133063569 | 42 days ago | 0.025714586010452 ETH | ||||
133051356 | 43 days ago | 0.005243133432539 ETH | ||||
133051356 | 43 days ago | 0.005243133432539 ETH | ||||
133046383 | 43 days ago | 0.000460270773884 ETH | ||||
133046383 | 43 days ago | 0.000460270773884 ETH | ||||
133045997 | 43 days ago | 0.032887040258409 ETH | ||||
133045997 | 43 days ago | 0.032887040258409 ETH | ||||
133044157 | 43 days ago | 0.003877209059105 ETH | ||||
133044157 | 43 days ago | 0.003877209059105 ETH | ||||
133041610 | 43 days ago | 0.079752848109988 ETH | ||||
133041610 | 43 days ago | 0.079752848109988 ETH | ||||
133039289 | 43 days ago | 0.000218116999997 ETH | ||||
133039289 | 43 days ago | 0.000218116999997 ETH | ||||
133036048 | 43 days ago | 0.000428874962257 ETH | ||||
133036048 | 43 days ago | 0.000428874962257 ETH | ||||
133029790 | 43 days ago | 0.007951896742028 ETH | ||||
133029790 | 43 days ago | 0.007951896742028 ETH | ||||
133021290 | 43 days ago | 0.000353411827337 ETH |
Loading...
Loading
Contract Name:
ZeroxV2Wrapper
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.17; import {ERC20, SafeTransferLib} from "solmate/src/utils/SafeTransferLib.sol"; /** * @title ZeroX Swap Wrapper * @dev Swap tokens via ZeroX-Swap with configurable receiver address */ contract ZeroxV2Wrapper { using SafeTransferLib for ERC20; error SwapFailed(); error PartialSwapsNotAllowed(); /// @dev address used to identify native token address public constant NATIVE_TOKEN_ADDRESS = address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE); /// @notice address of zeroXAllowanceHolder to swap the tokens on Chain address payable public immutable zeroXAllowanceHolder; constructor(address _zeroXAllowanceHolder) { zeroXAllowanceHolder = payable(_zeroXAllowanceHolder); } receive() external payable {} fallback() external payable {} /** * @notice function to swap tokens on the chain and transfer to receiver address * @dev input tokens will be taken from caller and output tokens will be sent to receiver * @param fromToken token to be swapped * @param toToken token to which fromToken is to be swapped * @param amount amount to be swapped * @param receiverAddress address of toToken recipient * @param swapExtraData data required for zeroX Exchange to get the swap done */ function performAction( address fromToken, address toToken, uint256 amount, address receiverAddress, bytes calldata swapExtraData ) external payable returns (uint256) { uint256 _initialBalanceTokenOut; uint256 _finalBalanceTokenOut; uint256 _initialBalanceTokenIn; uint256 _finalBalanceTokenIn; if (fromToken != NATIVE_TOKEN_ADDRESS) { ERC20(fromToken).safeTransferFrom(msg.sender, address(this), amount); ERC20(fromToken).safeApprove(zeroXAllowanceHolder, amount); } if (toToken != NATIVE_TOKEN_ADDRESS) { _initialBalanceTokenOut = ERC20(toToken).balanceOf(address(this)); } else { _initialBalanceTokenOut = address(this).balance; } if (fromToken != NATIVE_TOKEN_ADDRESS) { _initialBalanceTokenIn = ERC20(fromToken).balanceOf(address(this)); } else { _initialBalanceTokenIn = address(this).balance; } if (fromToken != NATIVE_TOKEN_ADDRESS) { (bool success, ) = zeroXAllowanceHolder.call(swapExtraData); if (!success) { revert SwapFailed(); } } else { (bool success, ) = zeroXAllowanceHolder.call{value: amount}(swapExtraData); if (!success) { revert SwapFailed(); } } if (fromToken != NATIVE_TOKEN_ADDRESS) { _finalBalanceTokenIn = ERC20(fromToken).balanceOf(address(this)); } else { _finalBalanceTokenIn = address(this).balance; } if (_finalBalanceTokenIn > _initialBalanceTokenIn - amount) revert PartialSwapsNotAllowed(); if (toToken != NATIVE_TOKEN_ADDRESS) { _finalBalanceTokenOut = ERC20(toToken).balanceOf(address(this)); } else { _finalBalanceTokenOut = address(this).balance; } uint256 returnAmount = _finalBalanceTokenOut - _initialBalanceTokenOut; if (toToken == NATIVE_TOKEN_ADDRESS) { payable(receiverAddress).transfer(returnAmount); } else { ERC20(toToken).safeTransfer(receiverAddress, returnAmount); } return returnAmount; } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); /*////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( string memory _name, string memory _symbol, uint8 _decimals ) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; import {ERC20} from "../tokens/ERC20.sol"; /// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol) /// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer. /// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller. library SafeTransferLib { /*////////////////////////////////////////////////////////////// ETH OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferETH(address to, uint256 amount) internal { bool success; /// @solidity memory-safe-assembly assembly { // Transfer the ETH and store if it succeeded or not. success := call(gas(), to, amount, 0, 0, 0, 0) } require(success, "ETH_TRANSFER_FAILED"); } /*////////////////////////////////////////////////////////////// ERC20 OPERATIONS //////////////////////////////////////////////////////////////*/ function safeTransferFrom( ERC20 token, address from, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), and(from, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "from" argument. mstore(add(freeMemoryPointer, 36), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 68), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 100 because the length of our calldata totals up like so: 4 + 32 * 3. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 100, 0, 32) ) } require(success, "TRANSFER_FROM_FAILED"); } function safeTransfer( ERC20 token, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "TRANSFER_FAILED"); } function safeApprove( ERC20 token, address to, uint256 amount ) internal { bool success; /// @solidity memory-safe-assembly assembly { // Get a pointer to some free memory. let freeMemoryPointer := mload(0x40) // Write the abi-encoded calldata into memory, beginning with the function selector. mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000) mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument. mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type. success := and( // Set success to whether the call reverted, if not we check it either // returned exactly 1 (can't just be non-zero data), or had no return data. or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())), // We use 68 because the length of our calldata totals up like so: 4 + 32 * 2. // We use 0 and 32 to copy up to 32 bytes of return data into the scratch space. // Counterintuitively, this call must be positioned second to the or() call in the // surrounding and() call or else returndatasize() will be zero during the computation. call(gas(), token, 0, freeMemoryPointer, 68, 0, 32) ) } require(success, "APPROVE_FAILED"); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_zeroXAllowanceHolder","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"PartialSwapsNotAllowed","type":"error"},{"inputs":[],"name":"SwapFailed","type":"error"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"NATIVE_TOKEN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"fromToken","type":"address"},{"internalType":"address","name":"toToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"receiverAddress","type":"address"},{"internalType":"bytes","name":"swapExtraData","type":"bytes"}],"name":"performAction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"zeroXAllowanceHolder","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a060405234801561001057600080fd5b5060405161096538038061096583398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516108c661009f60003960008181605001528181610126015281816102a1015261034701526108c66000f3fe6080604052600436106100355760003560e01c80633dc79d1b1461003e578063545ebbb01461008f578063df2ebdbb146100b057005b3661003c57005b005b34801561004a57600080fd5b506100727f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100a261009d366004610793565b6100d8565b604051908152602001610086565b3480156100bc57600080fd5b5061007273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b6000808080806001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461014b576101176001600160a01b038c1633308c6105cf565b61014b6001600160a01b038c167f00000000000000000000000000000000000000000000000000000000000000008b610670565b6001600160a01b038a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146101de576040516370a0823160e01b81523060048201526001600160a01b038b16906370a0823190602401602060405180830381865afa1580156101b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d79190610840565b93506101e2565b4793505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610275576040516370a0823160e01b81523060048201526001600160a01b038c16906370a0823190602401602060405180830381865afa15801561024a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061026e9190610840565b9150610279565b4791505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146103435760007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031688886040516102d9929190610859565b6000604051808303816000865af19150503d8060008114610316576040519150601f19603f3d011682016040523d82523d6000602084013e61031b565b606091505b505090508061033d5760405163081ceff360e41b815260040160405180910390fd5b506103e6565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168a8989604051610380929190610859565b60006040518083038185875af1925050503d80600081146103bd576040519150601f19603f3d011682016040523d82523d6000602084013e6103c2565b606091505b50509050806103e45760405163081ceff360e41b815260040160405180910390fd5b505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610479576040516370a0823160e01b81523060048201526001600160a01b038c16906370a0823190602401602060405180830381865afa15801561044e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104729190610840565b905061047c565b50475b6104868983610869565b8111156104a657604051637b36c47960e01b815260040160405180910390fd5b6001600160a01b038a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610539576040516370a0823160e01b81523060048201526001600160a01b038b16906370a0823190602401602060405180830381865afa15801561050e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105329190610840565b925061053d565b4792505b60006105498585610869565b905073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b038c16016105ac576040516001600160a01b038a169082156108fc029083906000818181858888f193505050501580156105a6573d6000803e3d6000fd5b506105c0565b6105c06001600160a01b038c168a836106f6565b9b9a5050505050505050505050565b60006040516323b872dd60e01b81526001600160a01b03851660048201526001600160a01b03841660248201528260448201526020600060648360008a5af13d15601f3d11600160005114161716915050806106695760405162461bcd60e51b81526020600482015260146024820152731514905394d1915497d19493d357d1905253115160621b60448201526064015b60405180910390fd5b5050505050565b600060405163095ea7b360e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806106f05760405162461bcd60e51b815260206004820152600e60248201526d1054141493d59157d1905253115160921b6044820152606401610660565b50505050565b600060405163a9059cbb60e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806106f05760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610660565b80356001600160a01b038116811461078e57600080fd5b919050565b60008060008060008060a087890312156107ac57600080fd5b6107b587610777565b95506107c360208801610777565b9450604087013593506107d860608801610777565b9250608087013567ffffffffffffffff808211156107f557600080fd5b818901915089601f83011261080957600080fd5b81358181111561081857600080fd5b8a602082850101111561082a57600080fd5b6020830194508093505050509295509295509295565b60006020828403121561085257600080fd5b5051919050565b8183823760009101908152919050565b8181038181111561088a57634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220c4142109faf65682bc5631ccfb44fabca722531660a968bed9493a7b3817737a64736f6c634300081300330000000000000000000000000000000000001ff3684f28c67538d4d072c22734
Deployed Bytecode
0x6080604052600436106100355760003560e01c80633dc79d1b1461003e578063545ebbb01461008f578063df2ebdbb146100b057005b3661003c57005b005b34801561004a57600080fd5b506100727f0000000000000000000000000000000000001ff3684f28c67538d4d072c2273481565b6040516001600160a01b0390911681526020015b60405180910390f35b6100a261009d366004610793565b6100d8565b604051908152602001610086565b3480156100bc57600080fd5b5061007273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b6000808080806001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461014b576101176001600160a01b038c1633308c6105cf565b61014b6001600160a01b038c167f0000000000000000000000000000000000001ff3684f28c67538d4d072c227348b610670565b6001600160a01b038a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146101de576040516370a0823160e01b81523060048201526001600160a01b038b16906370a0823190602401602060405180830381865afa1580156101b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d79190610840565b93506101e2565b4793505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610275576040516370a0823160e01b81523060048201526001600160a01b038c16906370a0823190602401602060405180830381865afa15801561024a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061026e9190610840565b9150610279565b4791505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146103435760007f0000000000000000000000000000000000001ff3684f28c67538d4d072c227346001600160a01b031688886040516102d9929190610859565b6000604051808303816000865af19150503d8060008114610316576040519150601f19603f3d011682016040523d82523d6000602084013e61031b565b606091505b505090508061033d5760405163081ceff360e41b815260040160405180910390fd5b506103e6565b60007f0000000000000000000000000000000000001ff3684f28c67538d4d072c227346001600160a01b03168a8989604051610380929190610859565b60006040518083038185875af1925050503d80600081146103bd576040519150601f19603f3d011682016040523d82523d6000602084013e6103c2565b606091505b50509050806103e45760405163081ceff360e41b815260040160405180910390fd5b505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610479576040516370a0823160e01b81523060048201526001600160a01b038c16906370a0823190602401602060405180830381865afa15801561044e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104729190610840565b905061047c565b50475b6104868983610869565b8111156104a657604051637b36c47960e01b815260040160405180910390fd5b6001600160a01b038a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610539576040516370a0823160e01b81523060048201526001600160a01b038b16906370a0823190602401602060405180830381865afa15801561050e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105329190610840565b925061053d565b4792505b60006105498585610869565b905073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b038c16016105ac576040516001600160a01b038a169082156108fc029083906000818181858888f193505050501580156105a6573d6000803e3d6000fd5b506105c0565b6105c06001600160a01b038c168a836106f6565b9b9a5050505050505050505050565b60006040516323b872dd60e01b81526001600160a01b03851660048201526001600160a01b03841660248201528260448201526020600060648360008a5af13d15601f3d11600160005114161716915050806106695760405162461bcd60e51b81526020600482015260146024820152731514905394d1915497d19493d357d1905253115160621b60448201526064015b60405180910390fd5b5050505050565b600060405163095ea7b360e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806106f05760405162461bcd60e51b815260206004820152600e60248201526d1054141493d59157d1905253115160921b6044820152606401610660565b50505050565b600060405163a9059cbb60e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806106f05760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610660565b80356001600160a01b038116811461078e57600080fd5b919050565b60008060008060008060a087890312156107ac57600080fd5b6107b587610777565b95506107c360208801610777565b9450604087013593506107d860608801610777565b9250608087013567ffffffffffffffff808211156107f557600080fd5b818901915089601f83011261080957600080fd5b81358181111561081857600080fd5b8a602082850101111561082a57600080fd5b6020830194508093505050509295509295509295565b60006020828403121561085257600080fd5b5051919050565b8183823760009101908152919050565b8181038181111561088a57634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220c4142109faf65682bc5631ccfb44fabca722531660a968bed9493a7b3817737a64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000001ff3684f28c67538d4d072c22734
-----Decoded View---------------
Arg [0] : _zeroXAllowanceHolder (address): 0x0000000000001fF3684f28c67538d4D072C22734
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000001ff3684f28c67538d4d072c22734
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.