POL Price: $0.221362 (+6.68%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Token Holdings

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Fill Order Post ...575644842024-05-30 11:18:13327 days ago1717067893IN
0x18D410f6...08F4f4560
0 POL0.0013395330.0000017
Fill Order Post ...575598402024-05-30 8:29:11327 days ago1717057751IN
0x18D410f6...08F4f4560
0 POL0.0023391680.41133077
Fill Order Post ...574913382024-05-28 13:56:41329 days ago1716904601IN
0x18D410f6...08F4f4560
0 POL0.001339330.00308058
Fill Order Post ...574506052024-05-27 12:42:34330 days ago1716813754IN
0x18D410f6...08F4f4560
0 POL0.0045998396.72668382
Fill Order Post ...574372402024-05-27 4:18:57331 days ago1716783537IN
0x18D410f6...08F4f4560
0 POL0.06414771,350.96154127
Fill Order Post ...539748562024-02-26 9:41:40421 days ago1708940500IN
0x18D410f6...08F4f4560
0 POL0.0042172599.73879932
Fill Order Post ...433760082023-05-31 17:27:27692 days ago1685554047IN
0x18D410f6...08F4f4560
0 POL0.00568624201.36844454
Withdraw144690932021-05-14 4:15:021440 days ago1620965702IN
0x18D410f6...08F4f4560
0 POL0.00002131
Withdraw144690632021-05-14 4:14:021440 days ago1620965642IN
0x18D410f6...08F4f4560
0 POL0.00002131

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
705649892025-04-21 7:05:4546 hrs ago1745219145
0x18D410f6...08F4f4560
0.00000199 POL
705649892025-04-21 7:05:4546 hrs ago1745219145
0x18D410f6...08F4f4560
0.00000199 POL
705647482025-04-21 6:57:1346 hrs ago1745218633
0x18D410f6...08F4f4560
0.00000199 POL
705647482025-04-21 6:57:1346 hrs ago1745218633
0x18D410f6...08F4f4560
0.00000199 POL
703366822025-04-15 15:40:277 days ago1744731627
0x18D410f6...08F4f4560
0.00898482 POL
703366822025-04-15 15:40:277 days ago1744731627
0x18D410f6...08F4f4560
0.00898482 POL
702972452025-04-14 16:15:568 days ago1744647356
0x18D410f6...08F4f4560
0.01 POL
702972452025-04-14 16:15:568 days ago1744647356
0x18D410f6...08F4f4560
0.01 POL
702752842025-04-14 3:09:089 days ago1744600148
0x18D410f6...08F4f4560
0.00028012 POL
702752842025-04-14 3:09:089 days ago1744600148
0x18D410f6...08F4f4560
0.00028012 POL
702673452025-04-13 22:27:419 days ago1744583261
0x18D410f6...08F4f4560
426.05496413 POL
702673452025-04-13 22:27:419 days ago1744583261
0x18D410f6...08F4f4560
426.05496413 POL
702627162025-04-13 19:43:359 days ago1744573415
0x18D410f6...08F4f4560
102.01190705 POL
702627162025-04-13 19:43:359 days ago1744573415
0x18D410f6...08F4f4560
102.01190705 POL
699970052025-04-07 6:17:0915 days ago1744006629
0x18D410f6...08F4f4560
0.2991 POL
699970052025-04-07 6:17:0915 days ago1744006629
0x18D410f6...08F4f4560
0.2991 POL
699969772025-04-07 6:16:1115 days ago1744006571
0x18D410f6...08F4f4560
0.2991 POL
699969772025-04-07 6:16:1115 days ago1744006571
0x18D410f6...08F4f4560
0.2991 POL
698289052025-04-03 2:33:4020 days ago1743647620
0x18D410f6...08F4f4560
0.01453528 POL
698289052025-04-03 2:33:4020 days ago1743647620
0x18D410f6...08F4f4560
0.01453528 POL
695031012025-03-26 0:54:3528 days ago1742950475
0x18D410f6...08F4f4560
0.00000299 POL
695031012025-03-26 0:54:3528 days ago1742950475
0x18D410f6...08F4f4560
0.00000299 POL
694393092025-03-24 11:05:1429 days ago1742814314
0x18D410f6...08F4f4560
0.01 POL
694393092025-03-24 11:05:1429 days ago1742814314
0x18D410f6...08F4f4560
0.01 POL
692745222025-03-20 9:12:4933 days ago1742461969
0x18D410f6...08F4f4560
0.00000019 POL
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WethUnwrapper

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 7 : WethUnwrapper.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.17;
pragma abicoder v1;

import "@1inch/solidity-utils/contracts/OnlyWethReceiver.sol";
import "@1inch/solidity-utils/contracts/interfaces/IWETH.sol";

import "../interfaces/IPostInteractionNotificationReceiver.sol";
import "../libraries/Errors.sol";

contract WethUnwrapper is OnlyWethReceiver, IPostInteractionNotificationReceiver {
    IWETH private immutable _WETH;  // solhint-disable-line var-name-mixedcase

    uint256 private constant _RAW_CALL_GAS_LIMIT = 5000;

    constructor(IWETH weth) OnlyWethReceiver(address(weth)) {
        _WETH = weth;
    }

    function fillOrderPostInteraction(
        bytes32 /* orderHash */,
        address maker,
        address /* taker */,
        uint256 /* makingAmount */,
        uint256 takingAmount,
        uint256 /* remainingMakerAmount */,
        bytes calldata interactiveData
    ) external override {
        _WETH.withdraw(takingAmount);
        address receiver = maker;
        if (interactiveData.length == 20) {
            receiver = address(bytes20(interactiveData));
        }
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, ) = receiver.call{value: takingAmount, gas: _RAW_CALL_GAS_LIMIT}("");
        if (!success) revert Errors.ETHTransferFailed();
    }
}

File 2 of 7 : IPostInteractionNotificationReceiver.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.17;
pragma abicoder v1;

/**
 * @title Interface for interactor which acts after `taker -> maker` transfers.
 * @notice The order filling steps are `preInteraction` =>` Transfer "maker -> taker"` => `Interaction` => `Transfer "taker -> maker"` => **`postInteraction`**
 */
interface IPostInteractionNotificationReceiver {
    /**
     * @notice Callback method that gets called after all funds transfers
     * @param orderHash Hash of the order being processed
     * @param maker Maker address
     * @param taker Taker address
     * @param makingAmount Actual making amount
     * @param takingAmount Actual taking amount
     * @param remainingAmount Limit order remaining maker amount after the swap
     * @param interactionData Interaction calldata
     */
    function fillOrderPostInteraction(
        bytes32 orderHash,
        address maker,
        address taker,
        uint256 makingAmount,
        uint256 takingAmount,
        uint256 remainingAmount,
        bytes memory interactionData
    ) external;
}

File 3 of 7 : Errors.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.17;

library Errors {
    error InvalidMsgValue();
    error ETHTransferFailed();
}

File 4 of 7 : OnlyWethReceiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;
pragma abicoder v1;

import "./EthReceiver.sol";

abstract contract OnlyWethReceiver is EthReceiver {
    address private immutable _WETH; // solhint-disable-line var-name-mixedcase

    constructor(address weth) {
        _WETH = address(weth);
    }

    function _receive() internal virtual override {
        if (msg.sender != _WETH) revert EthDepositRejected();
    }
}

File 5 of 7 : IWETH.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;
pragma abicoder v1;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IWETH is IERC20 {
    function deposit() external payable;

    function withdraw(uint256 amount) external;
}

File 6 of 7 : EthReceiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;
pragma abicoder v1;

abstract contract EthReceiver {
    error EthDepositRejected();

    receive() external payable {
        _receive();
    }

    function _receive() internal virtual {
        // solhint-disable-next-line avoid-tx-origin
        if (msg.sender == tx.origin) revert EthDepositRejected();
    }
}

File 7 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract IWETH","name":"weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ETHTransferFailed","type":"error"},{"inputs":[],"name":"EthDepositRejected","type":"error"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"interactiveData","type":"bytes"}],"name":"fillOrderPostInteraction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c060405234801561001057600080fd5b506040516103973803806103978339818101604052602081101561003357600080fd5b50516001600160a01b0316608081905260a08190528061032f610068600039600061016401526000610109015261032f6000f3fe6080604052600436106100225760003560e01c80633504ed621461003657600080fd5b366100315761002f6100f1565b005b600080fd5b34801561004257600080fd5b5061002f600480360360e081101561005957600080fd5b81359173ffffffffffffffffffffffffffffffffffffffff602082013581169260408301359091169160608101359160808201359160a08101359181019060e0810160c08201356401000000008111156100b257600080fd5b8201836020820111156100c457600080fd5b803590602001918460018302840111640100000000831117156100e657600080fd5b509092509050610162565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610160576040517f1b10b0f900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d856040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156101d557600080fd5b505af11580156101e9573d6000803e3d6000fd5b50899250505060148290036102085761020282846102b1565b60601c90505b60405160009073ffffffffffffffffffffffffffffffffffffffff83169061138890889084818181858888f193505050503d8060008114610265576040519150601f19603f3d011682016040523d82523d6000602084013e61026a565b606091505b50509050806102a5576040517fb12d13eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050505050505050565b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000081358181169160148510156102f15780818660140360031b1b83161692505b50509291505056fea26469706673582212202796b400597a988afcb28ecf5f83180939b37ba2ef7b6c2f72bdab5c034bbf6d64736f6c634300081100330000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270

Deployed Bytecode

0x6080604052600436106100225760003560e01c80633504ed621461003657600080fd5b366100315761002f6100f1565b005b600080fd5b34801561004257600080fd5b5061002f600480360360e081101561005957600080fd5b81359173ffffffffffffffffffffffffffffffffffffffff602082013581169260408301359091169160608101359160808201359160a08101359181019060e0810160c08201356401000000008111156100b257600080fd5b8201836020820111156100c457600080fd5b803590602001918460018302840111640100000000831117156100e657600080fd5b509092509050610162565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12701614610160576040517f1b10b0f900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b7f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d856040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156101d557600080fd5b505af11580156101e9573d6000803e3d6000fd5b50899250505060148290036102085761020282846102b1565b60601c90505b60405160009073ffffffffffffffffffffffffffffffffffffffff83169061138890889084818181858888f193505050503d8060008114610265576040519150601f19603f3d011682016040523d82523d6000602084013e61026a565b606091505b50509050806102a5576040517fb12d13eb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050505050505050565b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000081358181169160148510156102f15780818660140360031b1b83161692505b50509291505056fea26469706673582212202796b400597a988afcb28ecf5f83180939b37ba2ef7b6c2f72bdab5c034bbf6d64736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270

-----Decoded View---------------
Arg [0] : weth (address): 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270


Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.