POL Price: $0.217705 (-1.04%)
Gas: 30 GWei
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo15.200098499721070011 POL

POL Value

$3.31 (@ $0.22/POL)

Token Holdings

Multichain Info

Transaction Hash
Method
Block
From
To
Deposit To655415712024-12-16 6:09:41128 days ago1734329381IN
0xcd97405F...16A45d412
2 POL0.001368630.00004057
Deposit To636297282024-10-29 10:41:26175 days ago1730198486IN
0xcd97405F...16A45d412
0.2 POL0.0027006859.19963272
Deposit To629522722024-10-12 15:57:47192 days ago1728748667IN
0xcd97405F...16A45d412
3 POL0.001368630.00000004
Deposit To623089352024-09-26 18:42:17208 days ago1727376137IN
0xcd97405F...16A45d412
2 POL0.0013682430.00000003
Deposit To623026142024-09-26 14:56:53208 days ago1727362613IN
0xcd97405F...16A45d412
2 POL0.0013717930.07000261
Deposit To623000332024-09-26 13:25:21208 days ago1727357121IN
0xcd97405F...16A45d412
2 POL0.0016423135.99999999
Deposit To622594682024-09-25 13:21:58209 days ago1727270518IN
0xcd97405F...16A45d412
2 POL0.0014881632.62940695
Deposit To622475272024-09-25 6:19:00210 days ago1727245140IN
0xcd97405F...16A45d412
2 POL0.0016728636.66954936
Deposit To619661972024-09-18 7:12:26217 days ago1726643546IN
0xcd97405F...16A45d412
2 POL0.001368630.00000005
Deposit To619612062024-09-18 4:15:29217 days ago1726632929IN
0xcd97405F...16A45d412
2 POL0.0015054633.00000002
Deposit To616051382024-09-09 7:16:13226 days ago1725866173IN
0xcd97405F...16A45d412
2 POL0.001368630.00000003
Deposit To614229932024-09-04 18:22:21230 days ago1725474141IN
0xcd97405F...16A45d412
2 POL0.0011409225.00929012
Deposit To613750722024-09-03 12:19:20231 days ago1725365960IN
0xcd97405F...16A45d412
2 POL0.001368630.00000098
Deposit To612065712024-08-30 3:37:19236 days ago1724989039IN
0xcd97405F...16A45d412
10 POL0.0013695130.02000004
Deposit To611936782024-08-29 19:58:48236 days ago1724961528IN
0xcd97405F...16A45d412
2 POL0.0013682430.00000004
Deposit To611586532024-08-28 22:53:01237 days ago1724885581IN
0xcd97405F...16A45d412
2 POL0.001368630.00000002
Deposit To610225752024-08-25 13:21:08240 days ago1724592068IN
0xcd97405F...16A45d412
5 POL0.000855630.00000003
Deposit To610204352024-08-25 12:03:46240 days ago1724587426IN
0xcd97405F...16A45d412
2 POL0.001368630.00000003
Deposit To609458082024-08-23 15:09:40242 days ago1724425780IN
0xcd97405F...16A45d412
2 POL0.0035519677.85989824
Deposit To608984842024-08-22 11:06:46243 days ago1724324806IN
0xcd97405F...16A45d412
2 POL0.001368630.00000007
Deposit To603438722024-08-08 15:01:40257 days ago1723129300IN
0xcd97405F...16A45d412
2 POL0.0016482236.12947383
Deposit To602580012024-08-06 10:15:08259 days ago1722939308IN
0xcd97405F...16A45d412
14.2 POL0.0008847231.02138689
Deposit To601387672024-08-03 8:44:36262 days ago1722674676IN
0xcd97405F...16A45d412
2 POL0.0015487933.95
Deposit To599957982024-07-30 17:05:32266 days ago1722359132IN
0xcd97405F...16A45d412
2 POL0.001368630.00000151
Deposit To597195842024-07-23 17:45:33273 days ago1721756733IN
0xcd97405F...16A45d412
2 POL0.0009885234.66088517
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
624556472024-09-30 9:35:13204 days ago1727688913
0xcd97405F...16A45d412
1,728.5659 POL
537723452024-02-21 5:14:55427 days ago1708492495
0xcd97405F...16A45d412
1,460,986 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
471369302023-09-04 14:08:20596 days ago1693836500
0xcd97405F...16A45d412
10 POL
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenReceiver

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 2 : TokenReceiver.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity 0.8.14;

import { Owned } from "solmate/src/auth/Owned.sol";

/**
 * @title TokenReceiver
 * @author CyberConnect
 * @notice A contract that receive native token and record the amount.
 * The deposit only record the cumulative amount and withdraw won't affect
 * the deposit value.
 */
contract TokenReceiver is Owned {
    /*//////////////////////////////////////////////////////////////
                                STATES
    //////////////////////////////////////////////////////////////*/

    mapping(address => uint256) public deposits;

    /*//////////////////////////////////////////////////////////////
                                 EVENT
    //////////////////////////////////////////////////////////////*/

    event Deposit(address from, address to, uint256 amount);
    event Withdraw(address to, uint256 amount);

    /*//////////////////////////////////////////////////////////////
                                 CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(address owner) Owned(owner) {}

    /*//////////////////////////////////////////////////////////////
                                 EXTERNAL
    //////////////////////////////////////////////////////////////*/

    function depositTo(address to) external payable {
        deposits[to] += msg.value;
        emit Deposit(msg.sender, to, msg.value);
    }

    function withdraw(address to, uint256 amount) external onlyOwner {
        payable(to).transfer(amount);
        emit Withdraw(to, amount);
    }
}

File 2 of 2 : Owned.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Simple single owner authorization mixin.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol)
abstract contract Owned {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event OwnershipTransferred(address indexed user, address indexed newOwner);

    /*//////////////////////////////////////////////////////////////
                            OWNERSHIP STORAGE
    //////////////////////////////////////////////////////////////*/

    address public owner;

    modifier onlyOwner() virtual {
        require(msg.sender == owner, "UNAUTHORIZED");

        _;
    }

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(address _owner) {
        owner = _owner;

        emit OwnershipTransferred(address(0), _owner);
    }

    /*//////////////////////////////////////////////////////////////
                             OWNERSHIP LOGIC
    //////////////////////////////////////////////////////////////*/

    function transferOwnership(address newOwner) public virtual onlyOwner {
        owner = newOwner;

        emit OwnershipTransferred(msg.sender, newOwner);
    }
}

Settings
{
  "remappings": [
    "@openzeppelin/=lib/kernel/lib/openzeppelin-contracts/",
    "account-abstraction/=lib/account-abstraction/contracts/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "kernel/=lib/kernel/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "solady/=lib/kernel/lib/solady/",
    "solmate/=lib/solmate/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"depositTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161047338038061047383398101604081905261002f9161007e565b600080546001600160a01b0319166001600160a01b03831690811782556040518392907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350506100ae565b60006020828403121561009057600080fd5b81516001600160a01b03811681146100a757600080fd5b9392505050565b6103b6806100bd6000396000f3fe60806040526004361061004a5760003560e01c80638da5cb5b1461004f578063b760faf91461008c578063f2fde38b146100a1578063f3fef3a3146100c1578063fc7e286d146100e1575b600080fd5b34801561005b57600080fd5b5060005461006f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61009f61009a36600461030e565b61011c565b005b3480156100ad57600080fd5b5061009f6100bc36600461030e565b610193565b3480156100cd57600080fd5b5061009f6100dc366004610330565b61022c565b3480156100ed57600080fd5b5061010e6100fc36600461030e565b60016020526000908152604090205481565b604051908152602001610083565b6001600160a01b0381166000908152600160205260408120805434929061014490849061035a565b9091555050604080513381526001600160a01b0383166020820152348183015290517f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629181900360600190a150565b6000546001600160a01b031633146101e15760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6000546001600160a01b031633146102755760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016101d8565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156102ab573d6000803e3d6000fd5b50604080516001600160a01b0384168152602081018390527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b80356001600160a01b038116811461030957600080fd5b919050565b60006020828403121561032057600080fd5b610329826102f2565b9392505050565b6000806040838503121561034357600080fd5b61034c836102f2565b946020939093013593505050565b6000821982111561037b57634e487b7160e01b600052601160045260246000fd5b50019056fea264697066735822122086b8f781cafea27501f18896fa9b56c41d5a15806e818834b53faadeb91d93ae64736f6c634300080e00330000000000000000000000007884f7f04f994da14302a16cf15e597e31eebecf

Deployed Bytecode

0x60806040526004361061004a5760003560e01c80638da5cb5b1461004f578063b760faf91461008c578063f2fde38b146100a1578063f3fef3a3146100c1578063fc7e286d146100e1575b600080fd5b34801561005b57600080fd5b5060005461006f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61009f61009a36600461030e565b61011c565b005b3480156100ad57600080fd5b5061009f6100bc36600461030e565b610193565b3480156100cd57600080fd5b5061009f6100dc366004610330565b61022c565b3480156100ed57600080fd5b5061010e6100fc36600461030e565b60016020526000908152604090205481565b604051908152602001610083565b6001600160a01b0381166000908152600160205260408120805434929061014490849061035a565b9091555050604080513381526001600160a01b0383166020820152348183015290517f5548c837ab068cf56a2c2479df0882a4922fd203edb7517321831d95078c5f629181900360600190a150565b6000546001600160a01b031633146101e15760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b6000546001600160a01b031633146102755760405162461bcd60e51b815260206004820152600c60248201526b15539055551213d49256915160a21b60448201526064016101d8565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156102ab573d6000803e3d6000fd5b50604080516001600160a01b0384168152602081018390527f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364910160405180910390a15050565b80356001600160a01b038116811461030957600080fd5b919050565b60006020828403121561032057600080fd5b610329826102f2565b9392505050565b6000806040838503121561034357600080fd5b61034c836102f2565b946020939093013593505050565b6000821982111561037b57634e487b7160e01b600052601160045260246000fd5b50019056fea264697066735822122086b8f781cafea27501f18896fa9b56c41d5a15806e818834b53faadeb91d93ae64736f6c634300080e0033

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

0000000000000000000000007884f7f04f994da14302a16cf15e597e31eebecf

-----Decoded View---------------
Arg [0] : owner (address): 0x7884f7F04F994da14302a16Cf15E597e31eebECf

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007884f7f04f994da14302a16cf15e597e31eebecf


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.