Contract 0xec06e18b64b54470eb423a245640600155ad3427

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x4c6845613f48150174e0e086cd684dcb597cf99e362130043fb9f605adf2d0940x60806040136538672022-06-04 0:55:50188 days 21 hrs agoPlutusDAO: Deployer IN  Create: PrivateTgeHelper0 ETH0.002615419063 ETH
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0xec06e18b64b54470eb423a245640600155ad3427 0x35cd01aaa22ccae7839dfabe8c6db2f8e5a7b2e00 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0xec06e18b64b54470eb423a245640600155ad3427 0x35cd01aaa22ccae7839dfabe8c6db2f8e5a7b2e00 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0xec06e18b64b54470eb423a245640600155ad3427 0x35cd01aaa22ccae7839dfabe8c6db2f8e5a7b2e00 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0xec06e18b64b54470eb423a245640600155ad3427 0x35cd01aaa22ccae7839dfabe8c6db2f8e5a7b2e00 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0xec06e18b64b54470eb423a245640600155ad3427 0x35cd01aaa22ccae7839dfabe8c6db2f8e5a7b2e00 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0xec06e18b64b54470eb423a245640600155ad3427 0x35cd01aaa22ccae7839dfabe8c6db2f8e5a7b2e00 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0xec06e18b64b54470eb423a245640600155ad3427 0x35cd01aaa22ccae7839dfabe8c6db2f8e5a7b2e00 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0xec06e18b64b54470eb423a245640600155ad3427 0x35cd01aaa22ccae7839dfabe8c6db2f8e5a7b2e00 ETH
0x3678be5ef48545ba1ee88defc09f3867973853da76360d26ddf4bd536e0e3af8449478412022-12-09 22:24:2025 mins ago 0x6ccd4cfaf4bda43c09682b3e588b4bd18bffd603 0xec06e18b64b54470eb423a245640600155ad34270 ETH
0x8cc680e759492c56a39062b1347944e1b4edb363bc7f4992e395f561ec236f89449477752022-12-09 22:23:5326 mins ago 0x04b724389dd28ffc9a3a91ab4149a77530282f04 0xec06e18b64b54470eb423a245640600155ad34270 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PrivateTgeHelper

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 3 : PrivateTgeHelper.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

import '../interfaces/IPlutusPrivateTGE.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';

interface IPrivateTgeHelper {
  function ALLOCATION() external view returns (uint256);

  function PRIVATE_TGE_TOTAL_RAISE() external view returns (uint256);

  function VESTING_STARTED_AT() external view returns (uint256);

  function EPOCH() external view returns (uint256);

  function CLIFF() external view returns (uint256);

  function VESTING_PERIOD() external view returns (uint256);

  function PRIVATE_TGE() external view returns (IPlutusPrivateTGE);

  function calculateShare(address _user, uint256 _quantity) external view returns (uint256);

  function plsClaimable(address _user) external view returns (uint256);

  function claimStartAt() external pure returns (uint256);
}

contract PrivateTgeHelper is IPrivateTgeHelper {
  uint256 public constant ALLOCATION = 4_200_000 * 1e18;
  uint256 public constant PRIVATE_TGE_TOTAL_RAISE = 284524761916000171659;
  uint256 public constant VESTING_STARTED_AT = 1_651_687_161;
  uint256 public constant EPOCH = 2_628_000 seconds;
  uint256 public constant CLIFF = EPOCH * 3;
  uint256 public constant VESTING_PERIOD = EPOCH * 3;

  IPlutusPrivateTGE public constant PRIVATE_TGE = IPlutusPrivateTGE(0x35cD01AaA22Ccae7839dFabE8C6Db2f8e5A7B2E0);

  /** VIEWS */
  /// @dev Calculate _user's share of _quantity
  function calculateShare(address _user, uint256 _quantity) external view returns (uint256) {
    return (PRIVATE_TGE.deposit(_user) * _quantity) / PRIVATE_TGE_TOTAL_RAISE;
  }

  function plsClaimable(address _user) external view returns (uint256) {
    return (PRIVATE_TGE.deposit(_user) * ALLOCATION) / PRIVATE_TGE_TOTAL_RAISE;
  }

  function claimStartAt() external pure returns (uint256) {
    unchecked {
      return VESTING_STARTED_AT + CLIFF;
    }
  }
}

File 2 of 3 : IPlutusPrivateTGE.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

interface IPlutusPrivateTGE {
  function deposit(address) external view returns (uint256);
}

File 3 of 3 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

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 `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);

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

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

Contract ABI

[{"inputs":[],"name":"ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CLIFF","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EPOCH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRIVATE_TGE","outputs":[{"internalType":"contract IPlutusPrivateTGE","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRIVATE_TGE_TOTAL_RAISE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VESTING_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VESTING_STARTED_AT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"calculateShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimStartAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"plsClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50610432806100206000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c8063889646ea11610076578063a0dc27581161005b578063a0dc275814610170578063b87592f2146100c3578063e902f34b1461017a57600080fd5b8063889646ea1461014b5780638ca83f131461015d57600080fd5b806345d92998116100a757806345d92998146100ee5780634eba05ea146100f85780636be06d9d1461010b57600080fd5b80630197d972146100c357806341fe481a146100de575b600080fd5b6100cb610185565b6040519081526020015b60405180910390f35b6100cb680f6c93037c5dc7f68b81565b6362eb0bd96100cb565b6100cb61010636600461034f565b610196565b6101267335cd01aaa22ccae7839dfabe8c6db2f8e5a7b2e081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100d5565b6100cb6a03796274caf64c7100000081565b6100cb61016b36600461036a565b610263565b6100cb622819a081565b6100cb636272bef981565b610193622819a06003610394565b81565b60405163f340fa0160e01b815273ffffffffffffffffffffffffffffffffffffffff82166004820152600090680f6c93037c5dc7f68b906a03796274caf64c71000000907335cd01aaa22ccae7839dfabe8c6db2f8e5a7b2e09063f340fa019060240160206040518083038186803b15801561021157600080fd5b505afa158015610225573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024991906103c1565b6102539190610394565b61025d91906103da565b92915050565b60405163f340fa0160e01b815273ffffffffffffffffffffffffffffffffffffffff83166004820152600090680f6c93037c5dc7f68b9083907335cd01aaa22ccae7839dfabe8c6db2f8e5a7b2e09063f340fa019060240160206040518083038186803b1580156102d357600080fd5b505afa1580156102e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030b91906103c1565b6103159190610394565b61031f91906103da565b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461034a57600080fd5b919050565b60006020828403121561036157600080fd5b61031f82610326565b6000806040838503121561037d57600080fd5b61038683610326565b946020939093013593505050565b60008160001904831182151516156103bc57634e487b7160e01b600052601160045260246000fd5b500290565b6000602082840312156103d357600080fd5b5051919050565b6000826103f757634e487b7160e01b600052601260045260246000fd5b50049056fea264697066735822122031efed8ba666dbfa7e2fc9edd8d79e4664a44cbc1b2f9a9b676de730e557d39364736f6c63430008090033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.