ETH Price: $2,764.43 (-1.46%)

Contract

0x41a6809DA388d11a48119F191fCA321901528Ce5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim118135872021-02-08 4:14:061460 days ago1612757646IN
0x41a6809D...901528Ce5
0 ETH0.00643613133
Claim117998222021-02-06 1:47:281462 days ago1612576048IN
0x41a6809D...901528Ce5
0 ETH0.0320634470
Claim117873252021-02-04 3:25:251464 days ago1612409125IN
0x41a6809D...901528Ce5
0 ETH0.01480374217
Claim117105662021-01-23 7:47:031476 days ago1611388023IN
0x41a6809D...901528Ce5
0 ETH0.0047071869
Claim117007792021-01-21 19:46:581477 days ago1611258418IN
0x41a6809D...901528Ce5
0 ETH0.0066173497
Claim116875632021-01-19 19:10:081479 days ago1611083408IN
0x41a6809D...901528Ce5
0 ETH0.0095508140
Claim116765862021-01-18 2:42:271481 days ago1610937747IN
0x41a6809D...901528Ce5
0 ETH0.0049118472
Claim116614202021-01-15 18:37:101483 days ago1610735830IN
0x41a6809D...901528Ce5
0 ETH0.00791352116
Claim116244132021-01-10 2:43:311489 days ago1610246611IN
0x41a6809D...901528Ce5
0 ETH0.0066173497
Claim116015482021-01-06 14:26:041492 days ago1609943164IN
0x41a6809D...901528Ce5
0 ETH0.01173384172
Claim115761732021-01-02 16:50:591496 days ago1609606259IN
0x41a6809D...901528Ce5
0 ETH0.01698678249
Claim115510622020-12-29 20:28:341500 days ago1609273714IN
0x41a6809D...901528Ce5
0 ETH0.0051847276
Claim115432652020-12-28 15:29:561501 days ago1609169396IN
0x41a6809D...901528Ce5
0 ETH0.01166562171
Claim115315172020-12-26 20:35:021503 days ago1609014902IN
0x41a6809D...901528Ce5
0 ETH0.0050482874
Claim115263962020-12-26 1:56:361504 days ago1608947796IN
0x41a6809D...901528Ce5
0 ETH0.0053211678
Claim115103902020-12-23 14:34:491506 days ago1608734089IN
0x41a6809D...901528Ce5
0 ETH0.00961902141
Claim115040652020-12-22 15:25:301507 days ago1608650730IN
0x41a6809D...901528Ce5
0 ETH0.0058669286
Claim114904542020-12-20 13:24:251509 days ago1608470665IN
0x41a6809D...901528Ce5
0 ETH0.00341150
Claim114846862020-12-19 16:06:011510 days ago1608393961IN
0x41a6809D...901528Ce5
0 ETH0.0045707467.00000145
Claim114791742020-12-18 19:53:101511 days ago1608321190IN
0x41a6809D...901528Ce5
0 ETH0.0032063447
Claim114714252020-12-17 15:14:221512 days ago1608218062IN
0x41a6809D...901528Ce5
0 ETH0.00960537140.8
Claim114647922020-12-16 14:57:431513 days ago1608130663IN
0x41a6809D...901528Ce5
0 ETH0.01180206173
Claim114585122020-12-15 15:44:211514 days ago1608047061IN
0x41a6809D...901528Ce5
0 ETH0.00689022101
Claim114520722020-12-14 16:03:361515 days ago1607961816IN
0x41a6809D...901528Ce5
0 ETH0.0062762492
Claim114472732020-12-13 22:16:251516 days ago1607897785IN
0x41a6809D...901528Ce5
0 ETH0.002046630
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xEe4ae5cC...1EB7c1AA1
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
PlasmaVesting

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999999 runs

Other Settings:
istanbul EvmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: PlasmaVesting.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;

import "./SafeMath.sol";

contract PlasmaVesting {
    using SafeMath for uint256;

    address public ppay;
    address public recipient;

    uint256 public vestingAmount;
    uint256 public vestingBegin;
    uint256 public vestingCliff;
    uint256 public vestingEnd;

    uint256 public lastUpdate;

    constructor(
        address ppay_,
        address recipient_,
        uint256 vestingAmount_,
        uint256 vestingBegin_,
        uint256 vestingCliff_,
        uint256 vestingEnd_
    ) public {
        require(vestingBegin_ >= block.timestamp, 'PlasmaVesting::constructor: vesting begin too early');
        require(vestingCliff_ >= vestingBegin_, 'PlasmaVesting::constructor: cliff is too early');
        require(vestingEnd_ > vestingCliff_, 'PlasmaVesting::constructor: end is too early');

        ppay = ppay_;
        recipient = recipient_;

        vestingAmount = vestingAmount_;
        vestingBegin = vestingBegin_;
        vestingCliff = vestingCliff_;
        vestingEnd = vestingEnd_;

        lastUpdate = vestingBegin;
    }

    function setRecipient(address recipient_) external {
        require(msg.sender == recipient, 'PlasmaVesting::setRecipient: unauthorized');
        recipient = recipient_;
    }

    function claim() external returns (bool) {
        require(block.timestamp >= vestingCliff, 'PlasmaVesting::claim: not time yet');
        uint256 amount;
        if (block.timestamp >= vestingEnd) {
            amount = IPpay(ppay).balanceOf(address(this));
        } else {
            amount = vestingAmount.mul(block.timestamp - lastUpdate).div(vestingEnd - vestingBegin);
            lastUpdate = block.timestamp;
        }
        return IPpay(ppay).transfer(recipient, amount);
    }
}

interface IPpay {
    function balanceOf(address account) external view returns (uint256);
    function transfer(address dst, uint256 rawAmount) external returns (bool);
}

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

pragma solidity ^0.6.12;

// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol
// Subject to the MIT license.

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting with custom message on overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, errorMessage);

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on underflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot underflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction underflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on underflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot underflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, errorMessage);

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers.
     * Reverts on division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers.
     * Reverts with custom message on division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"ppay_","type":"address"},{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"vestingAmount_","type":"uint256"},{"internalType":"uint256","name":"vestingBegin_","type":"uint256"},{"internalType":"uint256","name":"vestingCliff_","type":"uint256"},{"internalType":"uint256","name":"vestingEnd_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"claim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastUpdate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ppay","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"}],"name":"setRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vestingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingBegin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingCliff","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a25760003560e01c806371133be711610076578063c04637111161005b578063c046371114610153578063e29bc68b1461015b578063f3640e7414610163576100a2565b806371133be71461014357806384a1931f1461014b576100a2565b8062728f76146100a75780633bbed4a0146100c15780634e71d92d146100f657806366d003ac14610112575b600080fd5b6100af61016b565b60408051918252519081900360200190f35b6100f4600480360360208110156100d757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610171565b005b6100fe610228565b604080519115158252519081900360200190f35b61011a610418565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61011a610434565b6100af610450565b6100af610456565b6100af61045c565b6100af610462565b60025481565b60015473ffffffffffffffffffffffffffffffffffffffff1633146101e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806105de6029913960400191505060405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000600454421015610285576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806106286022913960400191505060405180910390fd5b6000600554421061033457600054604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b15801561030157600080fd5b505afa158015610315573d6000803e3d6000fd5b505050506040513d602081101561032b57600080fd5b50519050610364565b61035d60035460055403610357600654420360025461046890919063ffffffff16565b906104e4565b4260065590505b60008054600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283166004820152602481018690529051919092169263a9059cbb92604480820193602093909283900390910190829087803b1580156103e657600080fd5b505af11580156103fa573d6000803e3d6000fd5b505050506040513d602081101561041057600080fd5b505191505090565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b60065481565b60035481565b60045481565b600082610477575060006104de565b8282028284828161048457fe5b04146104db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806106076021913960400191505060405180910390fd5b90505b92915050565b60006104db83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836105c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561058c578181015183820152602001610574565b50505050905090810190601f1680156105b95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816105d357fe5b049594505050505056fe506c61736d6156657374696e673a3a736574526563697069656e743a20756e617574686f72697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77506c61736d6156657374696e673a3a636c61696d3a206e6f742074696d6520796574a264697066735822122051fa05ebd53daec732ff4f0f053b8029f8b006070907346980aa5163361e294964736f6c634300060c0033

Deployed Bytecode Sourcemap

85:1710:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;203:28;;;:::i;:::-;;;;;;;;;;;;;;;;1120:177;;;;;;;;;;;;;;;;-1:-1:-1;1120:177:0;;;;:::i;:::-;;1303:490;;;:::i;:::-;;;;;;;;;;;;;;;;;;172:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;147:19;;;:::i;303:25::-;;;:::i;335:::-;;;:::i;237:27::-;;;:::i;270:::-;;;:::i;203:28::-;;;;:::o;1120:177::-;1203:9;;;;1189:10;:23;1181:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1268:9;:22;;;;;;;;;;;;;;;1120:177::o;1303:490::-;1338:4;1381:12;;1362:15;:31;;1354:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1442:14;1489:10;;1470:15;:29;1466:265;;1530:4;;1524:36;;;;;;1554:4;1524:36;;;;;;1530:4;;;;;1524:21;;:36;;;;;;;;;;;;;;;1530:4;1524:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1524:36:0;;-1:-1:-1;1466:265:0;;;1600:78;1665:12;;1652:10;;:25;1600:47;1636:10;;1618:15;:28;1600:13;;:17;;:47;;;;:::i;:::-;:51;;:78::i;:::-;1705:15;1692:10;:28;1591:87;-1:-1:-1;1466:265:0;1753:4;;;;1768:9;1747:39;;;;;;1753:4;1768:9;;;1747:39;;;;;;;;;;;;1753:4;;;;;1747:20;;:39;;;;;;;;;;;;;;;;;;1753:4;1747:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1747:39:0;;-1:-1:-1;;1303:490:0;:::o;172:24::-;;;;;;:::o;147:19::-;;;;;;:::o;303:25::-;;;;:::o;335:::-;;;;:::o;237:27::-;;;;:::o;270:::-;;;;:::o;2689:459:1:-;2747:7;2988:6;2984:45;;-1:-1:-1;3017:1:1;3010:8;;2984:45;3051:5;;;3055:1;3051;:5;:1;3074:5;;;;;:10;3066:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3140:1;-1:-1:-1;2689:459:1;;;;;:::o;4300:130::-;4358:7;4384:39;4388:1;4391;4384:39;;;;;;;;;;;;;;;;;4991:7;5091:12;5084:5;5076:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5114:9;5130:1;5126;:5;;;;;;;4905:338;-1:-1:-1;;;;;4905:338:1:o

Swarm Source

ipfs://51fa05ebd53daec732ff4f0f053b8029f8b006070907346980aa5163361e2949

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.