ETH Price: $2,885.40 (+0.40%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Token Transfer found.

Advanced mode:
Parent Transaction Hash Block
From
To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PLURCharityTokenMultiTimelock

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-06-14
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol



// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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;
    }
}

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts v4.4.1 (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 `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: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to
     * 0 before setting it to a non-zero value.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

// File: contracts/TimelockMulti.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/utils/TokenTimelock.sol)

pragma solidity ^0.8.0;



/**
 * @dev A token holder contract that will allow a beneficiary to extract the
 * tokens after a given release time.
 *
 * Useful for simple vesting schedules like "advisors get all of their tokens
 * after 1 year" and release schedules are monthly.
 */
contract PLURCharityTokenMultiTimelock {
    using SafeERC20 for IERC20;

    // ERC20 basic token contract being held
    IERC20 public immutable token;

    // beneficiary of tokens after they are released
    address public immutable beneficiary;

    // timestamp when token release is enabled
    uint256[] public releaseTimes;
    
    // amount to release for each releaseTime
    uint256[] public releaseAmounts;

    uint256 public currentIndex;

    event Release(uint256 amount, address beneficiary, uint256 timestamp, uint256 releaseIndex);

    /**
     * @dev Deploys a timelock instance that is able to hold the token specified, and will only release it to
     * `_beneficiary` when {release} is invoked after `releaseTime_`. The release time is specified as a Unix timestamp
     * (in seconds).
     */
    constructor(
        IERC20 _token,
        address _beneficiary,
        uint256[] memory _releaseTimes,
        uint256[] memory _releaseAmounts
    ) {
        for (uint256 i = 0; i < _releaseTimes.length; i++) {
            require(
                _releaseTimes[i] > block.timestamp,
                "release is before current time"
            );
        }
        token = _token;
        beneficiary = _beneficiary;
        releaseTimes = _releaseTimes;
        releaseAmounts = _releaseAmounts;
        currentIndex = 0;
    }

    /**
     * @dev Transfers tokens held by the timelock to the beneficiary. Will only succeed if invoked after the release
     * time. Every release sets the index to the next release.
     */
    function release() external {
        require(
            currentIndex < releaseTimes.length, "no more schedules"
        );
        require(
            block.timestamp >= releaseTimes[currentIndex],
            "current time is before release"    
        );


        uint256 amount = releaseAmounts[currentIndex];

        token.safeTransfer(beneficiary, amount);
        emit Release(amount, beneficiary, block.timestamp, currentIndex);
        currentIndex += 1;
    
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint256[]","name":"_releaseTimes","type":"uint256[]"},{"internalType":"uint256[]","name":"_releaseAmounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"releaseIndex","type":"uint256"}],"name":"Release","type":"event"},{"inputs":[],"name":"beneficiary","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"releaseAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"releaseTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c06040523480156200001157600080fd5b5060405162000acc38038062000acc833981016040819052620000349162000208565b60005b8251811015620000a957428382815181106200006357634e487b7160e01b600052603260045260246000fd5b602002602001015111620000945760405162461bcd60e51b81526004016200008b906200029a565b60405180910390fd5b80620000a081620002d1565b91505062000037565b506001600160601b0319606085811b821660805284901b1660a0528151620000d990600090602085019062000100565b508051620000ef90600190602084019062000100565b505060006002555062000328915050565b8280548282559060005260206000209081019282156200013e579160200282015b828111156200013e57825182559160200191906001019062000121565b506200014c92915062000150565b5090565b5b808211156200014c576000815560010162000151565b600082601f83011262000178578081fd5b815160206001600160401b0380831115620001975762000197620002f9565b81830260405183828201018181108482111715620001b957620001b9620002f9565b60405284815283810192508684018288018501891015620001d8578687fd5b8692505b85831015620001fc578051845292840192600192909201918401620001dc565b50979650505050505050565b600080600080608085870312156200021e578384fd5b84516200022b816200030f565b60208601519094506200023e816200030f565b60408601519093506001600160401b03808211156200025b578384fd5b620002698883890162000167565b935060608701519150808211156200027f578283fd5b506200028e8782880162000167565b91505092959194509250565b6020808252601e908201527f72656c65617365206973206265666f72652063757272656e742074696d650000604082015260600190565b6000600019821415620002f257634e487b7160e01b81526011600452602481fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146200032557600080fd5b50565b60805160601c60a05160601c610764620003686000396000818160da015281816101f801526102410152600081816101d601526102a901526107646000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806326987b601461006757806338af3eed146100855780634d4207221461009a57806386d1a69f146100ad578063f626f7c2146100b7578063fc0c546a146100ca575b600080fd5b61006f6100d2565b60405161007c91906106ad565b60405180910390f35b61008d6100d8565b60405161007c9190610524565b61006f6100a83660046104f0565b6100fc565b6100b561011d565b005b61006f6100c53660046104f0565b610297565b61008d6102a7565b60025481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001818154811061010c57600080fd5b600091825260209091200154905081565b600054600254106101495760405162461bcd60e51b8152600401610140906105ca565b60405180910390fd5b60006002548154811061016c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001544210156101965760405162461bcd60e51b8152600401610140906105f5565b60006001600254815481106101bb57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154905061021d6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000836102cb565b7fab8de90aa60ba5a166ba832ebb0ff724e0fb4440a64c2b043bd78000651c0665817f00000000000000000000000000000000000000000000000000000000000000004260025460405161027494939291906106b6565b60405180910390a160016002600082825461028f91906106da565b909155505050565b6000818154811061010c57600080fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b6103218363a9059cbb60e01b84846040516024016102ea929190610538565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610326565b505050565b600061037b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166103b89092919063ffffffff16565b905080516000148061039c57508080602001905181019061039c91906104d0565b6103215760405162461bcd60e51b815260040161014090610663565b60606103c784846000856103d1565b90505b9392505050565b6060824710156103f35760405162461bcd60e51b815260040161014090610584565b6103fc85610491565b6104185760405162461bcd60e51b81526004016101409061062c565b600080866001600160a01b031685876040516104349190610508565b60006040518083038185875af1925050503d8060008114610471576040519150601f19603f3d011682016040523d82523d6000602084013e610476565b606091505b5091509150610486828286610497565b979650505050505050565b3b151590565b606083156104a65750816103ca565b8251156104b65782518084602001fd5b8160405162461bcd60e51b81526004016101409190610551565b6000602082840312156104e1578081fd5b815180151581146103ca578182fd5b600060208284031215610501578081fd5b5035919050565b6000825161051a8184602087016106fe565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b60006020825282518060208401526105708160408501602087016106fe565b601f01601f19169190910160400192915050565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601190820152706e6f206d6f7265207363686564756c657360781b604082015260600190565b6020808252601e908201527f63757272656e742074696d65206973206265666f72652072656c656173650000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b90815260200190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b600082198211156106f957634e487b7160e01b81526011600452602481fd5b500190565b60005b83811015610719578181015183820152602001610701565b83811115610728576000848401525b5050505056fea2646970667358221220169a95a2c19e1f5ab00dca4c955e5ed410b4299b522815c24e60b0981ea9983f64736f6c63430008000033000000000000000000000000fcfcb729e45f7037362ba61f6dfbcdaefacfd55e00000000000000000000000020eaf3021dad30203fa83d4d6949e219809d22dd000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000006682eef00000000000000000000000000000000000000000000000000000000068642270000000000000000000000000000000000000000000000000000000006a4555f0000000000000000000000000000000000000000000000000000000006c268970000000000000000000000000000000000000000000000000000000006e090e70000000000000000000000000000000000000000000000000000000006fea41f00000000000000000000000000000000000000000000000000000000071cb75700000000000000000000000000000000000000000000000000000000073aca8f000000000000000000000000000000000000000000000000000000000758f2df00000000000000000000000000000000000000000000000000000000077706170000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100625760003560e01c806326987b601461006757806338af3eed146100855780634d4207221461009a57806386d1a69f146100ad578063f626f7c2146100b7578063fc0c546a146100ca575b600080fd5b61006f6100d2565b60405161007c91906106ad565b60405180910390f35b61008d6100d8565b60405161007c9190610524565b61006f6100a83660046104f0565b6100fc565b6100b561011d565b005b61006f6100c53660046104f0565b610297565b61008d6102a7565b60025481565b7f00000000000000000000000020eaf3021dad30203fa83d4d6949e219809d22dd81565b6001818154811061010c57600080fd5b600091825260209091200154905081565b600054600254106101495760405162461bcd60e51b8152600401610140906105ca565b60405180910390fd5b60006002548154811061016c57634e487b7160e01b600052603260045260246000fd5b90600052602060002001544210156101965760405162461bcd60e51b8152600401610140906105f5565b60006001600254815481106101bb57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154905061021d6001600160a01b037f000000000000000000000000fcfcb729e45f7037362ba61f6dfbcdaefacfd55e167f00000000000000000000000020eaf3021dad30203fa83d4d6949e219809d22dd836102cb565b7fab8de90aa60ba5a166ba832ebb0ff724e0fb4440a64c2b043bd78000651c0665817f00000000000000000000000020eaf3021dad30203fa83d4d6949e219809d22dd4260025460405161027494939291906106b6565b60405180910390a160016002600082825461028f91906106da565b909155505050565b6000818154811061010c57600080fd5b7f000000000000000000000000fcfcb729e45f7037362ba61f6dfbcdaefacfd55e81565b6103218363a9059cbb60e01b84846040516024016102ea929190610538565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610326565b505050565b600061037b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166103b89092919063ffffffff16565b905080516000148061039c57508080602001905181019061039c91906104d0565b6103215760405162461bcd60e51b815260040161014090610663565b60606103c784846000856103d1565b90505b9392505050565b6060824710156103f35760405162461bcd60e51b815260040161014090610584565b6103fc85610491565b6104185760405162461bcd60e51b81526004016101409061062c565b600080866001600160a01b031685876040516104349190610508565b60006040518083038185875af1925050503d8060008114610471576040519150601f19603f3d011682016040523d82523d6000602084013e610476565b606091505b5091509150610486828286610497565b979650505050505050565b3b151590565b606083156104a65750816103ca565b8251156104b65782518084602001fd5b8160405162461bcd60e51b81526004016101409190610551565b6000602082840312156104e1578081fd5b815180151581146103ca578182fd5b600060208284031215610501578081fd5b5035919050565b6000825161051a8184602087016106fe565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b60006020825282518060208401526105708160408501602087016106fe565b601f01601f19169190910160400192915050565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601190820152706e6f206d6f7265207363686564756c657360781b604082015260600190565b6020808252601e908201527f63757272656e742074696d65206973206265666f72652072656c656173650000604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b90815260200190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b600082198211156106f957634e487b7160e01b81526011600452602481fd5b500190565b60005b83811015610719578181015183820152602001610701565b83811115610728576000848401525b5050505056fea2646970667358221220169a95a2c19e1f5ab00dca4c955e5ed410b4299b522815c24e60b0981ea9983f64736f6c63430008000033

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

000000000000000000000000fcfcb729e45f7037362ba61f6dfbcdaefacfd55e00000000000000000000000020eaf3021dad30203fa83d4d6949e219809d22dd000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000006682eef00000000000000000000000000000000000000000000000000000000068642270000000000000000000000000000000000000000000000000000000006a4555f0000000000000000000000000000000000000000000000000000000006c268970000000000000000000000000000000000000000000000000000000006e090e70000000000000000000000000000000000000000000000000000000006fea41f00000000000000000000000000000000000000000000000000000000071cb75700000000000000000000000000000000000000000000000000000000073aca8f000000000000000000000000000000000000000000000000000000000758f2df00000000000000000000000000000000000000000000000000000000077706170000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000000000000000000000000000000000000000000006765c793fa10079d0000000

-----Decoded View---------------
Arg [0] : _token (address): 0xFcfCB729e45F7037362Ba61F6dfBCDaefAcfD55E
Arg [1] : _beneficiary (address): 0x20EAF3021daD30203FA83D4d6949E219809D22dd
Arg [2] : _releaseTimes (uint256[]): 1719856880,1751392880,1782928880,1814464880,1846087280,1877623280,1909159280,1940695280,1972317680,2003853680
Arg [3] : _releaseAmounts (uint256[]): 2000000000000000000000000000,2000000000000000000000000000,2000000000000000000000000000,2000000000000000000000000000,2000000000000000000000000000,2000000000000000000000000000,2000000000000000000000000000,2000000000000000000000000000,2000000000000000000000000000,2000000000000000000000000000

-----Encoded View---------------
26 Constructor Arguments found :
Arg [0] : 000000000000000000000000fcfcb729e45f7037362ba61f6dfbcdaefacfd55e
Arg [1] : 00000000000000000000000020eaf3021dad30203fa83d4d6949e219809d22dd
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 000000000000000000000000000000000000000000000000000000006682eef0
Arg [6] : 0000000000000000000000000000000000000000000000000000000068642270
Arg [7] : 000000000000000000000000000000000000000000000000000000006a4555f0
Arg [8] : 000000000000000000000000000000000000000000000000000000006c268970
Arg [9] : 000000000000000000000000000000000000000000000000000000006e090e70
Arg [10] : 000000000000000000000000000000000000000000000000000000006fea41f0
Arg [11] : 0000000000000000000000000000000000000000000000000000000071cb7570
Arg [12] : 0000000000000000000000000000000000000000000000000000000073aca8f0
Arg [13] : 00000000000000000000000000000000000000000000000000000000758f2df0
Arg [14] : 0000000000000000000000000000000000000000000000000000000077706170
Arg [15] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [16] : 000000000000000000000000000000000000000006765c793fa10079d0000000
Arg [17] : 000000000000000000000000000000000000000006765c793fa10079d0000000
Arg [18] : 000000000000000000000000000000000000000006765c793fa10079d0000000
Arg [19] : 000000000000000000000000000000000000000006765c793fa10079d0000000
Arg [20] : 000000000000000000000000000000000000000006765c793fa10079d0000000
Arg [21] : 000000000000000000000000000000000000000006765c793fa10079d0000000
Arg [22] : 000000000000000000000000000000000000000006765c793fa10079d0000000
Arg [23] : 000000000000000000000000000000000000000006765c793fa10079d0000000
Arg [24] : 000000000000000000000000000000000000000006765c793fa10079d0000000
Arg [25] : 000000000000000000000000000000000000000006765c793fa10079d0000000


Deployed Bytecode Sourcemap

21762:2107:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22203:27;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;21981:36;;;:::i;:::-;;;;;;;:::i;22163:31::-;;;;;;:::i;:::-;;:::i;23370:496::-;;;:::i;:::-;;22074:29;;;;;;:::i;:::-;;:::i;21889:::-;;;:::i;22203:27::-;;;;:::o;21981:36::-;;;:::o;22163:31::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22163:31:0;:::o;23370:496::-;23446:12;:19;23431:12;;:34;23409:88;;;;-1:-1:-1;;;23409:88:0;;;;;;;:::i;:::-;;;;;;;;;23549:12;23562;;23549:26;;;;;;-1:-1:-1;;;23549:26:0;;;;;;;;;;;;;;;;;23530:15;:45;;23508:129;;;;-1:-1:-1;;;23508:129:0;;;;;;;:::i;:::-;23652:14;23669;23684:12;;23669:28;;;;;;-1:-1:-1;;;23669:28:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23710:39:0;-1:-1:-1;;;;;23710:5:0;:18;23729:11;23669:28;23710:18;:39::i;:::-;23765:59;23773:6;23781:11;23794:15;23811:12;;23765:59;;;;;;;;;:::i;:::-;;;;;;;;23851:1;23835:12;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;;;23370:496:0:o;22074:29::-;;;;;;;;;;;;21889;;;:::o;15245:177::-;15328:86;15348:5;15378:23;;;15403:2;15407:5;15355:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;15355:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;15355:58:0;-1:-1:-1;;;;;;15355:58:0;;;;;;;;;;15328:19;:86::i;:::-;15245:177;;;:::o;19568:649::-;19992:23;20018:69;20046:4;20018:69;;;;;;;;;;;;;;;;;20026:5;-1:-1:-1;;;;;20018:27:0;;;:69;;;;;:::i;:::-;19992:95;;20106:10;:17;20127:1;20106:22;:56;;;;20143:10;20132:30;;;;;;;;;;;;:::i;:::-;20098:111;;;;-1:-1:-1;;;20098:111:0;;;;;;;:::i;4554:229::-;4691:12;4723:52;4745:6;4753:4;4759:1;4762:12;4723:21;:52::i;:::-;4716:59;;4554:229;;;;;;:::o;5674:510::-;5844:12;5902:5;5877:21;:30;;5869:81;;;;-1:-1:-1;;;5869:81:0;;;;;;;:::i;:::-;5969:18;5980:6;5969:10;:18::i;:::-;5961:60;;;;-1:-1:-1;;;5961:60:0;;;;;;;:::i;:::-;6035:12;6049:23;6076:6;-1:-1:-1;;;;;6076:11:0;6095:5;6102:4;6076:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6034:73;;;;6125:51;6142:7;6151:10;6163:12;6125:16;:51::i;:::-;6118:58;5674:510;-1:-1:-1;;;;;;;5674:510:0:o;1748:387::-;2071:20;2119:8;;;1748:387::o;8360:712::-;8510:12;8539:7;8535:530;;;-1:-1:-1;8570:10:0;8563:17;;8535:530;8684:17;;:21;8680:374;;8882:10;8876:17;8943:15;8930:10;8926:2;8922:19;8915:44;8830:148;9025:12;9018:20;;-1:-1:-1;;;9018:20:0;;;;;;;;:::i;14:297:1:-;;134:2;122:9;113:7;109:23;105:32;102:2;;;155:6;147;140:22;102:2;192:9;186:16;245:5;238:13;231:21;224:5;221:32;211:2;;272:6;264;257:22;316:190;;428:2;416:9;407:7;403:23;399:32;396:2;;;449:6;441;434:22;396:2;-1:-1:-1;477:23:1;;386:120;-1:-1:-1;386:120:1:o;511:274::-;;678:6;672:13;694:53;740:6;735:3;728:4;720:6;716:17;694:53;:::i;:::-;763:16;;;;;648:137;-1:-1:-1;;648:137:1:o;790:203::-;-1:-1:-1;;;;;954:32:1;;;;936:51;;924:2;909:18;;891:102::o;998:274::-;-1:-1:-1;;;;;1190:32:1;;;;1172:51;;1254:2;1239:18;;1232:34;1160:2;1145:18;;1127:145::o;1499:383::-;;1648:2;1637:9;1630:21;1680:6;1674:13;1723:6;1718:2;1707:9;1703:18;1696:34;1739:66;1798:6;1793:2;1782:9;1778:18;1773:2;1765:6;1761:15;1739:66;:::i;:::-;1866:2;1845:15;-1:-1:-1;;1841:29:1;1826:45;;;;1873:2;1822:54;;1620:262;-1:-1:-1;;1620:262:1:o;1887:402::-;2089:2;2071:21;;;2128:2;2108:18;;;2101:30;2167:34;2162:2;2147:18;;2140:62;-1:-1:-1;;;2233:2:1;2218:18;;2211:36;2279:3;2264:19;;2061:228::o;2294:341::-;2496:2;2478:21;;;2535:2;2515:18;;;2508:30;-1:-1:-1;;;2569:2:1;2554:18;;2547:47;2626:2;2611:18;;2468:167::o;2640:354::-;2842:2;2824:21;;;2881:2;2861:18;;;2854:30;2920:32;2915:2;2900:18;;2893:60;2985:2;2970:18;;2814:180::o;2999:353::-;3201:2;3183:21;;;3240:2;3220:18;;;3213:30;3279:31;3274:2;3259:18;;3252:59;3343:2;3328:18;;3173:179::o;3357:406::-;3559:2;3541:21;;;3598:2;3578:18;;;3571:30;3637:34;3632:2;3617:18;;3610:62;-1:-1:-1;;;3703:2:1;3688:18;;3681:40;3753:3;3738:19;;3531:232::o;3768:177::-;3914:25;;;3902:2;3887:18;;3869:76::o;3950:417::-;4181:25;;;-1:-1:-1;;;;;4242:32:1;;;;4237:2;4222:18;;4215:60;4306:2;4291:18;;4284:34;4349:2;4334:18;;4327:34;4168:3;4153:19;;4135:232::o;4372:229::-;;4443:1;4439:6;4436:1;4433:13;4430:2;;;-1:-1:-1;;;4469:33:1;;4525:4;4522:1;4515:15;4555:4;4476:3;4543:17;4430:2;-1:-1:-1;4586:9:1;;4420:181::o;4606:258::-;4678:1;4688:113;4702:6;4699:1;4696:13;4688:113;;;4778:11;;;4772:18;4759:11;;;4752:39;4724:2;4717:10;4688:113;;;4819:6;4816:1;4813:13;4810:2;;;4854:1;4845:6;4840:3;4836:16;4829:27;4810:2;;4659:205;;;:::o

Swarm Source

ipfs://169a95a2c19e1f5ab00dca4c955e5ed410b4299b522815c24e60b0981ea9983f

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

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.