ETH Price: $3,165.91 (+3.17%)

Contract

0x9A319F461A84EA5b508AE1e97113fD1743ED691D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Tokens188638502023-12-25 16:13:23329 days ago1703520803IN
0x9A319F46...743ED691D
0 ETH0.0020246326.61400337
Transfer Tokens188607362023-12-25 5:40:23329 days ago1703482823IN
0x9A319F46...743ED691D
0 ETH0.0007039511.93418899
Transfer Tokens188594232023-12-25 1:15:23329 days ago1703466923IN
0x9A319F46...743ED691D
0 ETH0.0012572916.52468662
Transfer Tokens188569462023-12-24 16:54:59330 days ago1703436899IN
0x9A319F46...743ED691D
0 ETH0.0012348220.93417129
Transfer Tokens188542132023-12-24 7:43:23330 days ago1703403803IN
0x9A319F46...743ED691D
0 ETH0.0019759425.96986281
Transfer Tokens188513332023-12-23 21:57:47331 days ago1703368667IN
0x9A319F46...743ED691D
0 ETH0.0014106218.53991665
Transfer Tokens188499472023-12-23 17:17:47331 days ago1703351867IN
0x9A319F46...743ED691D
0 ETH0.00138223.42944999
Transfer Tokens188441882023-12-22 21:54:23332 days ago1703282063IN
0x9A319F46...743ED691D
0 ETH0.0021489236.43854051
Transfer Tokens188410462023-12-22 11:20:23332 days ago1703244023IN
0x9A319F46...743ED691D
0 ETH0.002598934.15747679
Transfer Tokens188385512023-12-22 2:56:11332 days ago1703213771IN
0x9A319F46...743ED691D
0 ETH0.0019123925.13469999
Transfer Tokens188244122023-12-20 3:21:35334 days ago1703042495IN
0x9A319F46...743ED691D
0 ETH0.0030613740.23577815
Transfer Tokens188214742023-12-19 17:27:11335 days ago1703006831IN
0x9A319F46...743ED691D
0 ETH0.0044955859.08556965
Transfer Tokens188114382023-12-18 7:37:35336 days ago1702885055IN
0x9A319F46...743ED691D
0 ETH0.001951133.07740553
Transfer Tokens188095112023-12-18 1:09:11336 days ago1702861751IN
0x9A319F46...743ED691D
0 ETH0.003572238.33912071
Transfer Tokens188094792023-12-18 1:02:47336 days ago1702861367IN
0x9A319F46...743ED691D
0 ETH0.0027515936.16429845
Transfer Tokens188076382023-12-17 18:51:59337 days ago1702839119IN
0x9A319F46...743ED691D
0 ETH0.0024648332.39541698
Transfer Tokens188061242023-12-17 13:44:59337 days ago1702820699IN
0x9A319F46...743ED691D
0 ETH0.0026107544.26052323
Transfer Tokens188058872023-12-17 12:57:23337 days ago1702817843IN
0x9A319F46...743ED691D
0 ETH0.0031214341.02506779
Transfer Tokens188047402023-12-17 9:04:47337 days ago1702803887IN
0x9A319F46...743ED691D
0 ETH0.0017804830.18487679
Transfer Tokens188029742023-12-17 3:07:35337 days ago1702782455IN
0x9A319F46...743ED691D
0 ETH0.0025560933.59485311
Transfer Tokens188019742023-12-16 23:45:47337 days ago1702770347IN
0x9A319F46...743ED691D
0 ETH0.0021417736.30982406
Transfer Tokens187984782023-12-16 11:58:11338 days ago1702727891IN
0x9A319F46...743ED691D
0 ETH0.0024129731.7188235
Transfer Tokens187832272023-12-14 8:35:35340 days ago1702542935IN
0x9A319F46...743ED691D
0 ETH0.0031835841.84192725
Transfer Tokens187823402023-12-14 5:36:23340 days ago1702532183IN
0x9A319F46...743ED691D
0 ETH0.0033720844.31945149
Transfer Tokens187777902023-12-13 14:17:11341 days ago1702477031IN
0x9A319F46...743ED691D
0 ETH0.0037536949.33491771
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PathCommunityClaim

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : PathCommunityClaim.sol
pragma solidity 0.8.4;

// SPDX-License-Identifier: MIT

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

contract PathCommunityClaim is Ownable{

    IERC20 immutable private token;

    uint public grandTotalClaimed = 0;

    uint private totalAllocated;

    struct Allocation {
        uint startVesting; // End vesting 
        uint endVesting; // End vesting 
        uint totalAllocated; // Total tokens allocated
        uint amountClaimed;  // Total tokens claimed
    }

    mapping (address => Allocation) public allocations;

    event claimedToken(address indexed _recipient, uint tokensClaimed, uint totalClaimed);

    constructor (address _tokenAddress) {
        token = IERC20(_tokenAddress);
    }

    function getClaimTotal(address _recipient) public view returns (uint amount) {
        return  calculateClaimAmount(_recipient) - allocations[_recipient].amountClaimed;
    }

    // view function to calculate claimable tokens
    function calculateClaimAmount(address _recipient) internal view returns (uint amount) {
         uint newClaimAmount;

        if (block.timestamp >= allocations[_recipient].endVesting) {
            newClaimAmount = allocations[_recipient].totalAllocated;
        }
        else {
                newClaimAmount = ((allocations[_recipient].totalAllocated)
                	* (block.timestamp - allocations[_recipient].startVesting))
                    / (allocations[_recipient].endVesting - allocations[_recipient].startVesting);

            }
        return newClaimAmount;
    }

    /**
    * @dev Set the minters and their corresponding allocations. Each mint gets 40000 Path Tokens with a vesting schedule
    * @param _addresses The recipient of the allocation
    * @param _totalAllocated The total number of minted NFT
    */
    function setAllocation(
        address[] memory _addresses,
        uint[] memory _totalAllocated,
        uint[] memory _startVesting,
        uint[] memory _endVesting) onlyOwner external {
        //make sure that the length of address and total minted is the same
        require(_addresses.length == _totalAllocated.length, "length of array should be the same");
        require(_addresses.length == _startVesting.length, "length of array should be the same");
        require(_addresses.length == _endVesting.length, "length of array should be the same");
        uint amountToTransfer;
        for (uint i = 0; i < _addresses.length; i++ ) {
            allocations[_addresses[i]] = Allocation(
                _startVesting[i],
                _endVesting[i],
                _totalAllocated[i],
                0);
            amountToTransfer += _totalAllocated[i];
            totalAllocated += _totalAllocated[i];
        }
        require(token.transferFrom(msg.sender, address(this), amountToTransfer), "Token transfer failed");
    }

    /**
    * @dev Check current claimable amount
    * @param _recipient recipient of allocation
     */
    function getRemainingAmount (address _recipient) external view returns (uint amount) {
        return allocations[_recipient].totalAllocated - allocations[_recipient].amountClaimed;
    }


     /**
     * @dev transfers allocated tokens to recipient to their address
     * @param _recipient the addresss to withdraw tokens for
      */
    function transferTokens(address _recipient) external {
        require(allocations[_recipient].amountClaimed < allocations[_recipient].totalAllocated, "Address should have some allocated tokens");
        require(allocations[_recipient].startVesting <= block.timestamp, "Start time of claim should be later than start of vesting time");
        //transfer tokens after subtracting tokens claimed
        uint newClaimAmount = calculateClaimAmount(_recipient);
        uint tokensToClaim = getClaimTotal(_recipient);
        require(tokensToClaim > 0, "Recipient should have more than 0 tokens to claim");
        allocations[_recipient].amountClaimed = newClaimAmount;
        grandTotalClaimed += tokensToClaim;
        require(token.transfer(_recipient, tokensToClaim), "Token transfer failed");
        emit claimedToken(_recipient, tokensToClaim, allocations[_recipient].amountClaimed);
    }

    //owner restricted functions
    /**
     * @dev reclaim excess allocated tokens for claiming
     * @param _amount the amount to withdraw tokens for
      */
    function reclaimExcessTokens(uint _amount) external onlyOwner {
        require(_amount <= token.balanceOf(address(this)) - (totalAllocated - grandTotalClaimed), "Amount of tokens to recover is more than what is allowed");
        require(token.transfer(msg.sender, _amount), "Token transfer failed");
    }
}

File 2 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @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);
}

File 3 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokensClaimed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalClaimed","type":"uint256"}],"name":"claimedToken","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allocations","outputs":[{"internalType":"uint256","name":"startVesting","type":"uint256"},{"internalType":"uint256","name":"endVesting","type":"uint256"},{"internalType":"uint256","name":"totalAllocated","type":"uint256"},{"internalType":"uint256","name":"amountClaimed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"getClaimTotal","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"getRemainingAmount","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"grandTotalClaimed","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":"uint256","name":"_amount","type":"uint256"}],"name":"reclaimExcessTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_totalAllocated","type":"uint256[]"},{"internalType":"uint256[]","name":"_startVesting","type":"uint256[]"},{"internalType":"uint256[]","name":"_endVesting","type":"uint256[]"}],"name":"setAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"transferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052600060015534801561001557600080fd5b506040516110ca3803806110ca833981016040819052610034916100a2565b61003d33610052565b60601b6001600160601b0319166080526100d0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100b3578081fd5b81516001600160a01b03811681146100c9578182fd5b9392505050565b60805160601c610fc7610103600039600081816103a10152818161074e0152818161084401526109610152610fc76000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806391ac5da41161006657806391ac5da4146101585780639377530f1461016b578063e631302c14610174578063f2fde38b14610187578063faf7eba61461019a57600080fd5b80630c89a0df146100a357806352a9039c146100b8578063571b813214610114578063715018a6146101355780638da5cb5b1461013d575b600080fd5b6100b66100b1366004610c6f565b6101ad565b005b6100ef6100c6366004610c6f565b600360208190526000918252604090912080546001820154600283015492909301549092919084565b6040805194855260208501939093529183015260608201526080015b60405180910390f35b610127610122366004610c6f565b610492565b60405190815260200161010b565b6100b66104c7565b6000546040516001600160a01b03909116815260200161010b565b6100b6610166366004610c89565b6104fd565b61012760015481565b6100b6610182366004610db1565b6107f5565b6100b6610195366004610c6f565b610a04565b6101276101a8366004610c6f565b610a9c565b6001600160a01b03811660009081526003602081905260409091206002810154910154106102345760405162461bcd60e51b815260206004820152602960248201527f416464726573732073686f756c64206861766520736f6d6520616c6c6f636174604482015268656420746f6b656e7360b81b60648201526084015b60405180910390fd5b6001600160a01b0381166000908152600360205260409020544210156102c25760405162461bcd60e51b815260206004820152603e60248201527f53746172742074696d65206f6620636c61696d2073686f756c64206265206c6160448201527f746572207468616e207374617274206f662076657374696e672074696d650000606482015260840161022b565b60006102cd82610aca565b905060006102da83610492565b9050600081116103465760405162461bcd60e51b815260206004820152603160248201527f526563697069656e742073686f756c642068617665206d6f7265207468616e206044820152703020746f6b656e7320746f20636c61696d60781b606482015260840161022b565b6001600160a01b038316600090815260036020819052604082200183905560018054839290610376908490610edc565b909155505060405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401602060405180830381600087803b1580156103e557600080fd5b505af11580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d9190610d91565b6104395760405162461bcd60e51b815260040161022b90610de1565b6001600160a01b038316600081815260036020818152604092839020909101548251858152918201527fd9726f0f31cd9f00ab13c5af20990ba8f1ce4798b5bf929d1fa5db6ff252c1ea910160405180910390a2505050565b6001600160a01b0381166000908152600360208190526040822001546104b783610aca565b6104c19190610f33565b92915050565b6000546001600160a01b031633146104f15760405162461bcd60e51b815260040161022b90610e10565b6104fb6000610b94565b565b6000546001600160a01b031633146105275760405162461bcd60e51b815260040161022b90610e10565b82518451146105485760405162461bcd60e51b815260040161022b90610e45565b81518451146105695760405162461bcd60e51b815260040161022b90610e45565b805184511461058a5760405162461bcd60e51b815260040161022b90610e45565b6000805b855181101561072b5760405180608001604052808583815181106105c257634e487b7160e01b600052603260045260246000fd5b602002602001015181526020018483815181106105ef57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200186838151811061061c57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200160008152506003600088848151811061065257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301559050508481815181106106c557634e487b7160e01b600052603260045260246000fd5b6020026020010151826106d89190610edc565b91508481815181106106fa57634e487b7160e01b600052603260045260246000fd5b6020026020010151600260008282546107139190610edc565b9091555081905061072381610f4a565b91505061058e565b506040516323b872dd60e01b8152336004820152306024820152604481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd90606401602060405180830381600087803b15801561079a57600080fd5b505af11580156107ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d29190610d91565b6107ee5760405162461bcd60e51b815260040161022b90610de1565b5050505050565b6000546001600160a01b0316331461081f5760405162461bcd60e51b815260040161022b90610e10565b60015460025461082f9190610f33565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561088e57600080fd5b505afa1580156108a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c69190610dc9565b6108d09190610f33565b8111156109455760405162461bcd60e51b815260206004820152603860248201527f416d6f756e74206f6620746f6b656e7320746f207265636f766572206973206d60448201527f6f7265207468616e207768617420697320616c6c6f7765640000000000000000606482015260840161022b565b60405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb90604401602060405180830381600087803b1580156109ad57600080fd5b505af11580156109c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e59190610d91565b610a015760405162461bcd60e51b815260040161022b90610de1565b50565b6000546001600160a01b03163314610a2e5760405162461bcd60e51b815260040161022b90610e10565b6001600160a01b038116610a935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161022b565b610a0181610b94565b6001600160a01b03811660009081526003602081905260408220908101546002909101546104c19190610f33565b6001600160a01b03811660009081526003602052604081206001015481904210610b1057506001600160a01b0382166000908152600360205260409020600201546104c1565b6001600160a01b03831660009081526003602052604090208054600190910154610b3a9190610f33565b6001600160a01b038416600090815260036020526040902054610b5d9042610f33565b6001600160a01b038516600090815260036020526040902060020154610b839190610f14565b610b8d9190610ef4565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610bfb57600080fd5b919050565b600082601f830112610c10578081fd5b81356020610c25610c2083610eb8565b610e87565b80838252828201915082860187848660051b8901011115610c44578586fd5b855b85811015610c6257813584529284019290840190600101610c46565b5090979650505050505050565b600060208284031215610c80578081fd5b610b8d82610be4565b60008060008060808587031215610c9e578283fd5b843567ffffffffffffffff80821115610cb5578485fd5b818701915087601f830112610cc8578485fd5b81356020610cd8610c2083610eb8565b8083825282820191508286018c848660051b8901011115610cf757898afd5b8996505b84871015610d2057610d0c81610be4565b835260019690960195918301918301610cfb565b5098505088013592505080821115610d36578485fd5b610d4288838901610c00565b94506040870135915080821115610d57578384fd5b610d6388838901610c00565b93506060870135915080821115610d78578283fd5b50610d8587828801610c00565b91505092959194509250565b600060208284031215610da2578081fd5b81518015158114610b8d578182fd5b600060208284031215610dc2578081fd5b5035919050565b600060208284031215610dda578081fd5b5051919050565b602080825260159082015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f6c656e677468206f662061727261792073686f756c64206265207468652073616040820152616d6560f01b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715610eb057610eb0610f7b565b604052919050565b600067ffffffffffffffff821115610ed257610ed2610f7b565b5060051b60200190565b60008219821115610eef57610eef610f65565b500190565b600082610f0f57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610f2e57610f2e610f65565b500290565b600082821015610f4557610f45610f65565b500390565b6000600019821415610f5e57610f5e610f65565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220eef9c8810e182ba6c480652a0cc0586220b324369886a5f284f037b8c66e615664736f6c634300080400330000000000000000000000002a2550e0a75acec6d811ae3930732f7f3ad67588

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c806391ac5da41161006657806391ac5da4146101585780639377530f1461016b578063e631302c14610174578063f2fde38b14610187578063faf7eba61461019a57600080fd5b80630c89a0df146100a357806352a9039c146100b8578063571b813214610114578063715018a6146101355780638da5cb5b1461013d575b600080fd5b6100b66100b1366004610c6f565b6101ad565b005b6100ef6100c6366004610c6f565b600360208190526000918252604090912080546001820154600283015492909301549092919084565b6040805194855260208501939093529183015260608201526080015b60405180910390f35b610127610122366004610c6f565b610492565b60405190815260200161010b565b6100b66104c7565b6000546040516001600160a01b03909116815260200161010b565b6100b6610166366004610c89565b6104fd565b61012760015481565b6100b6610182366004610db1565b6107f5565b6100b6610195366004610c6f565b610a04565b6101276101a8366004610c6f565b610a9c565b6001600160a01b03811660009081526003602081905260409091206002810154910154106102345760405162461bcd60e51b815260206004820152602960248201527f416464726573732073686f756c64206861766520736f6d6520616c6c6f636174604482015268656420746f6b656e7360b81b60648201526084015b60405180910390fd5b6001600160a01b0381166000908152600360205260409020544210156102c25760405162461bcd60e51b815260206004820152603e60248201527f53746172742074696d65206f6620636c61696d2073686f756c64206265206c6160448201527f746572207468616e207374617274206f662076657374696e672074696d650000606482015260840161022b565b60006102cd82610aca565b905060006102da83610492565b9050600081116103465760405162461bcd60e51b815260206004820152603160248201527f526563697069656e742073686f756c642068617665206d6f7265207468616e206044820152703020746f6b656e7320746f20636c61696d60781b606482015260840161022b565b6001600160a01b038316600090815260036020819052604082200183905560018054839290610376908490610edc565b909155505060405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390527f0000000000000000000000002a2550e0a75acec6d811ae3930732f7f3ad67588169063a9059cbb90604401602060405180830381600087803b1580156103e557600080fd5b505af11580156103f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041d9190610d91565b6104395760405162461bcd60e51b815260040161022b90610de1565b6001600160a01b038316600081815260036020818152604092839020909101548251858152918201527fd9726f0f31cd9f00ab13c5af20990ba8f1ce4798b5bf929d1fa5db6ff252c1ea910160405180910390a2505050565b6001600160a01b0381166000908152600360208190526040822001546104b783610aca565b6104c19190610f33565b92915050565b6000546001600160a01b031633146104f15760405162461bcd60e51b815260040161022b90610e10565b6104fb6000610b94565b565b6000546001600160a01b031633146105275760405162461bcd60e51b815260040161022b90610e10565b82518451146105485760405162461bcd60e51b815260040161022b90610e45565b81518451146105695760405162461bcd60e51b815260040161022b90610e45565b805184511461058a5760405162461bcd60e51b815260040161022b90610e45565b6000805b855181101561072b5760405180608001604052808583815181106105c257634e487b7160e01b600052603260045260246000fd5b602002602001015181526020018483815181106105ef57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200186838151811061061c57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200160008152506003600088848151811061065257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301559050508481815181106106c557634e487b7160e01b600052603260045260246000fd5b6020026020010151826106d89190610edc565b91508481815181106106fa57634e487b7160e01b600052603260045260246000fd5b6020026020010151600260008282546107139190610edc565b9091555081905061072381610f4a565b91505061058e565b506040516323b872dd60e01b8152336004820152306024820152604481018290527f0000000000000000000000002a2550e0a75acec6d811ae3930732f7f3ad675886001600160a01b0316906323b872dd90606401602060405180830381600087803b15801561079a57600080fd5b505af11580156107ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d29190610d91565b6107ee5760405162461bcd60e51b815260040161022b90610de1565b5050505050565b6000546001600160a01b0316331461081f5760405162461bcd60e51b815260040161022b90610e10565b60015460025461082f9190610f33565b6040516370a0823160e01b81523060048201527f0000000000000000000000002a2550e0a75acec6d811ae3930732f7f3ad675886001600160a01b0316906370a082319060240160206040518083038186803b15801561088e57600080fd5b505afa1580156108a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c69190610dc9565b6108d09190610f33565b8111156109455760405162461bcd60e51b815260206004820152603860248201527f416d6f756e74206f6620746f6b656e7320746f207265636f766572206973206d60448201527f6f7265207468616e207768617420697320616c6c6f7765640000000000000000606482015260840161022b565b60405163a9059cbb60e01b8152336004820152602481018290527f0000000000000000000000002a2550e0a75acec6d811ae3930732f7f3ad675886001600160a01b03169063a9059cbb90604401602060405180830381600087803b1580156109ad57600080fd5b505af11580156109c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e59190610d91565b610a015760405162461bcd60e51b815260040161022b90610de1565b50565b6000546001600160a01b03163314610a2e5760405162461bcd60e51b815260040161022b90610e10565b6001600160a01b038116610a935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161022b565b610a0181610b94565b6001600160a01b03811660009081526003602081905260408220908101546002909101546104c19190610f33565b6001600160a01b03811660009081526003602052604081206001015481904210610b1057506001600160a01b0382166000908152600360205260409020600201546104c1565b6001600160a01b03831660009081526003602052604090208054600190910154610b3a9190610f33565b6001600160a01b038416600090815260036020526040902054610b5d9042610f33565b6001600160a01b038516600090815260036020526040902060020154610b839190610f14565b610b8d9190610ef4565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610bfb57600080fd5b919050565b600082601f830112610c10578081fd5b81356020610c25610c2083610eb8565b610e87565b80838252828201915082860187848660051b8901011115610c44578586fd5b855b85811015610c6257813584529284019290840190600101610c46565b5090979650505050505050565b600060208284031215610c80578081fd5b610b8d82610be4565b60008060008060808587031215610c9e578283fd5b843567ffffffffffffffff80821115610cb5578485fd5b818701915087601f830112610cc8578485fd5b81356020610cd8610c2083610eb8565b8083825282820191508286018c848660051b8901011115610cf757898afd5b8996505b84871015610d2057610d0c81610be4565b835260019690960195918301918301610cfb565b5098505088013592505080821115610d36578485fd5b610d4288838901610c00565b94506040870135915080821115610d57578384fd5b610d6388838901610c00565b93506060870135915080821115610d78578283fd5b50610d8587828801610c00565b91505092959194509250565b600060208284031215610da2578081fd5b81518015158114610b8d578182fd5b600060208284031215610dc2578081fd5b5035919050565b600060208284031215610dda578081fd5b5051919050565b602080825260159082015274151bdad95b881d1c985b9cd9995c8819985a5b1959605a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f6c656e677468206f662061727261792073686f756c64206265207468652073616040820152616d6560f01b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715610eb057610eb0610f7b565b604052919050565b600067ffffffffffffffff821115610ed257610ed2610f7b565b5060051b60200190565b60008219821115610eef57610eef610f65565b500190565b600082610f0f57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610f2e57610f2e610f65565b500290565b600082821015610f4557610f45610f65565b500390565b6000600019821415610f5e57610f5e610f65565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220eef9c8810e182ba6c480652a0cc0586220b324369886a5f284f037b8c66e615664736f6c63430008040033

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

0000000000000000000000002a2550e0a75acec6d811ae3930732f7f3ad67588

-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x2a2550e0A75aCec6D811AE3930732F7f3ad67588

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002a2550e0a75acec6d811ae3930732f7f3ad67588


Block Transaction Difficulty 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
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.