Source Code
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 64906610 | 420 days ago | 6.04438434 POL | ||||
| 64906610 | 420 days ago | 6.04438434 POL | ||||
| 64816817 | 423 days ago | 35.31807375 POL | ||||
| 64816817 | 423 days ago | 35.31807375 POL | ||||
| 64785113 | 423 days ago | 0.14273012 POL | ||||
| 64785113 | 423 days ago | 0.14273012 POL | ||||
| 64783726 | 423 days ago | 0.44447848 POL | ||||
| 64783726 | 423 days ago | 0.44447848 POL | ||||
| 64780591 | 423 days ago | 18.97044386 POL | ||||
| 64780591 | 423 days ago | 18.97044386 POL | ||||
| 64768305 | 424 days ago | 2.4499348 POL | ||||
| 64768305 | 424 days ago | 2.4499348 POL | ||||
| 64762198 | 424 days ago | 11.14323546 POL | ||||
| 64762198 | 424 days ago | 11.14323546 POL | ||||
| 64762190 | 424 days ago | 0.26718717 POL | ||||
| 64762190 | 424 days ago | 0.26718717 POL | ||||
| 64760961 | 424 days ago | 816.20272787 POL | ||||
| 64760961 | 424 days ago | 816.20272787 POL | ||||
| 64760879 | 424 days ago | 813.90084927 POL | ||||
| 64756182 | 424 days ago | 0.15783601 POL | ||||
| 64756182 | 424 days ago | 0.15783601 POL | ||||
| 64754524 | 424 days ago | 3.6213396 POL | ||||
| 64754524 | 424 days ago | 3.6213396 POL | ||||
| 64753196 | 424 days ago | 2.67534424 POL | ||||
| 64753196 | 424 days ago | 2.67534424 POL |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ZeroXWrapper
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 ZeroXWrapper {
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 ZeroX-Exchange-Proxy to swap the tokens on Chain
address payable public immutable zeroXExchangeProxy;
constructor(address _zeroXExchangeProxy) {
zeroXExchangeProxy = payable(_zeroXExchangeProxy);
}
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(zeroXExchangeProxy, 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, ) = zeroXExchangeProxy.call(swapExtraData);
if (!success) {
revert SwapFailed();
}
} else {
(bool success, ) = zeroXExchangeProxy.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":"_zeroXExchangeProxy","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":"zeroXExchangeProxy","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60a060405234801561001057600080fd5b5060405161096538038061096583398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516108c661009f60003960008181607601528181610126015281816102a1015261034701526108c66000f3fe6080604052600436106100355760003560e01c8063545ebbb01461003e5780639997c7f114610064578063df2ebdbb146100b057005b3661003c57005b005b61005161004c366004610793565b6100d8565b6040519081526020015b60405180910390f35b34801561007057600080fd5b506100987f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161005b565b3480156100bc57600080fd5b5061009873eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b6000808080806001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461014b576101176001600160a01b038c1633308c6105cf565b61014b6001600160a01b038c167f00000000000000000000000000000000000000000000000000000000000000008b610670565b6001600160a01b038a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146101de576040516370a0823160e01b81523060048201526001600160a01b038b16906370a0823190602401602060405180830381865afa1580156101b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d79190610840565b93506101e2565b4793505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610275576040516370a0823160e01b81523060048201526001600160a01b038c16906370a0823190602401602060405180830381865afa15801561024a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061026e9190610840565b9150610279565b4791505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146103435760007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031688886040516102d9929190610859565b6000604051808303816000865af19150503d8060008114610316576040519150601f19603f3d011682016040523d82523d6000602084013e61031b565b606091505b505090508061033d5760405163081ceff360e41b815260040160405180910390fd5b506103e6565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168a8989604051610380929190610859565b60006040518083038185875af1925050503d80600081146103bd576040519150601f19603f3d011682016040523d82523d6000602084013e6103c2565b606091505b50509050806103e45760405163081ceff360e41b815260040160405180910390fd5b505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610479576040516370a0823160e01b81523060048201526001600160a01b038c16906370a0823190602401602060405180830381865afa15801561044e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104729190610840565b905061047c565b50475b6104868983610869565b8111156104a657604051637b36c47960e01b815260040160405180910390fd5b6001600160a01b038a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610539576040516370a0823160e01b81523060048201526001600160a01b038b16906370a0823190602401602060405180830381865afa15801561050e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105329190610840565b925061053d565b4792505b60006105498585610869565b905073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b038c16016105ac576040516001600160a01b038a169082156108fc029083906000818181858888f193505050501580156105a6573d6000803e3d6000fd5b506105c0565b6105c06001600160a01b038c168a836106f6565b9b9a5050505050505050505050565b60006040516323b872dd60e01b81526001600160a01b03851660048201526001600160a01b03841660248201528260448201526020600060648360008a5af13d15601f3d11600160005114161716915050806106695760405162461bcd60e51b81526020600482015260146024820152731514905394d1915497d19493d357d1905253115160621b60448201526064015b60405180910390fd5b5050505050565b600060405163095ea7b360e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806106f05760405162461bcd60e51b815260206004820152600e60248201526d1054141493d59157d1905253115160921b6044820152606401610660565b50505050565b600060405163a9059cbb60e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806106f05760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610660565b80356001600160a01b038116811461078e57600080fd5b919050565b60008060008060008060a087890312156107ac57600080fd5b6107b587610777565b95506107c360208801610777565b9450604087013593506107d860608801610777565b9250608087013567ffffffffffffffff808211156107f557600080fd5b818901915089601f83011261080957600080fd5b81358181111561081857600080fd5b8a602082850101111561082a57600080fd5b6020830194508093505050509295509295509295565b60006020828403121561085257600080fd5b5051919050565b8183823760009101908152919050565b8181038181111561088a57634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220b314e7aad43756cb35b0d9bd4ea7119b8e965c29a539038c9986457547f770f464736f6c63430008130033000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff
Deployed Bytecode
0x6080604052600436106100355760003560e01c8063545ebbb01461003e5780639997c7f114610064578063df2ebdbb146100b057005b3661003c57005b005b61005161004c366004610793565b6100d8565b6040519081526020015b60405180910390f35b34801561007057600080fd5b506100987f000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff81565b6040516001600160a01b03909116815260200161005b565b3480156100bc57600080fd5b5061009873eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b6000808080806001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461014b576101176001600160a01b038c1633308c6105cf565b61014b6001600160a01b038c167f000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff8b610670565b6001600160a01b038a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146101de576040516370a0823160e01b81523060048201526001600160a01b038b16906370a0823190602401602060405180830381865afa1580156101b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d79190610840565b93506101e2565b4793505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610275576040516370a0823160e01b81523060048201526001600160a01b038c16906370a0823190602401602060405180830381865afa15801561024a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061026e9190610840565b9150610279565b4791505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146103435760007f000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff6001600160a01b031688886040516102d9929190610859565b6000604051808303816000865af19150503d8060008114610316576040519150601f19603f3d011682016040523d82523d6000602084013e61031b565b606091505b505090508061033d5760405163081ceff360e41b815260040160405180910390fd5b506103e6565b60007f000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff6001600160a01b03168a8989604051610380929190610859565b60006040518083038185875af1925050503d80600081146103bd576040519150601f19603f3d011682016040523d82523d6000602084013e6103c2565b606091505b50509050806103e45760405163081ceff360e41b815260040160405180910390fd5b505b6001600160a01b038b1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610479576040516370a0823160e01b81523060048201526001600160a01b038c16906370a0823190602401602060405180830381865afa15801561044e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104729190610840565b905061047c565b50475b6104868983610869565b8111156104a657604051637b36c47960e01b815260040160405180910390fd5b6001600160a01b038a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610539576040516370a0823160e01b81523060048201526001600160a01b038b16906370a0823190602401602060405180830381865afa15801561050e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105329190610840565b925061053d565b4792505b60006105498585610869565b905073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b038c16016105ac576040516001600160a01b038a169082156108fc029083906000818181858888f193505050501580156105a6573d6000803e3d6000fd5b506105c0565b6105c06001600160a01b038c168a836106f6565b9b9a5050505050505050505050565b60006040516323b872dd60e01b81526001600160a01b03851660048201526001600160a01b03841660248201528260448201526020600060648360008a5af13d15601f3d11600160005114161716915050806106695760405162461bcd60e51b81526020600482015260146024820152731514905394d1915497d19493d357d1905253115160621b60448201526064015b60405180910390fd5b5050505050565b600060405163095ea7b360e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806106f05760405162461bcd60e51b815260206004820152600e60248201526d1054141493d59157d1905253115160921b6044820152606401610660565b50505050565b600060405163a9059cbb60e01b81526001600160a01b0384166004820152826024820152602060006044836000895af13d15601f3d11600160005114161716915050806106f05760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606401610660565b80356001600160a01b038116811461078e57600080fd5b919050565b60008060008060008060a087890312156107ac57600080fd5b6107b587610777565b95506107c360208801610777565b9450604087013593506107d860608801610777565b9250608087013567ffffffffffffffff808211156107f557600080fd5b818901915089601f83011261080957600080fd5b81358181111561081857600080fd5b8a602082850101111561082a57600080fd5b6020830194508093505050509295509295509295565b60006020828403121561085257600080fd5b5051919050565b8183823760009101908152919050565b8181038181111561088a57634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220b314e7aad43756cb35b0d9bd4ea7119b8e965c29a539038c9986457547f770f464736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff
-----Decoded View---------------
Arg [0] : _zeroXExchangeProxy (address): 0xDef1C0ded9bec7F1a1670819833240f027b25EfF
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000def1c0ded9bec7f1a1670819833240f027b25eff
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in POL
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.