Contract 0x4a0c8aDd4A984Fa8F3CEf64B7f73d68cB4361EA3

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x710e5c6b752b22363f302cfcc6a7d18455bb52e8ec6454cf3013c3e93e9e93a4Withdraw300637312022-06-27 15:22:383 days 20 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.005436403476 105.553034262
0xeee32a1436930f8728c5aae096059fa79007a58e4b4f3a654f68ab7bb8cd976dRelease300636982022-06-27 15:21:323 days 20 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.010428756948 96.926036981
0x057f2e4bc85b3d1ba1854b549f2e9a769c4efbb3c709544ab4b1257a2159cea7Release300635932022-06-27 15:17:543 days 20 hrs ago0x6fea9bd33084b6fc0c2ca3b3d519c37708caf33e IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.011123741955 119.463689198
0xe83f6242bcfc32def0f4f51ae5e22a6101a65ba85e4bbb6d08350f5bd71a8736Revoke299506922022-06-24 16:10:576 days 19 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.00251318496 30.000297956
0x6a0640f3b3af6be12206bc6edb9f7907c1f8aa17d70066d04ae19ea27d2c7b7eRevoke299502342022-06-24 15:55:136 days 19 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.002513327352 30.001997717
0x32bb1b1856555d6db73b20356fc482da41aaed26d9ea7eb1709f71ecd54b9297Transfer Ownersh...299498452022-06-24 15:41:516 days 20 hrs ago0x081b5136a0bc6c2533dc32077ef690a39e3e1e9f IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.000930797663 32.04122766
0x8e24528ad8d6830071b2adc3c173bc439a4997d04a2bf46623a825e9c0d688d2Withdraw299497862022-06-24 15:39:496 days 20 hrs ago0x081b5136a0bc6c2533dc32077ef690a39e3e1e9f IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.001872019599 33.241345261
0x4ac0a57c0c34913ae0c7716a1471b050deed7b332fc668fc23c18f0ae50b33f7Transfer Ownersh...299496512022-06-24 15:35:096 days 20 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.001107786715 38.118048151
0xb4cbf73b11a602ef3ca7ab32ad80974050cbf23b3d5d7860267c106e7532de1bRelease299495992022-06-24 15:33:216 days 20 hrs ago0x081b5136a0bc6c2533dc32077ef690a39e3e1e9f IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.005365372673 48.39685982
0xd8dfbbf57327c03752194a691bb41d3be18a26d6cbc4d522f7cf2afd533da407Release299492362022-06-24 15:18:436 days 20 hrs ago0x6fea9bd33084b6fc0c2ca3b3d519c37708caf33e IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.004083012466 36.829684354
0x84a2d407282f4a2e4a6111532fc005ebd80a366995963d445881b43c10cef9beRevoke299490892022-06-24 15:13:416 days 20 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.004589151443 54.789296127
0x4a622b92d549962e4e77fd3b9fc5e0076426c9a4402cc52c7c4bfb28bc5c7525Create Vesting S...299471282022-06-24 13:59:416 days 21 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.002523690041 30.191652513
0xef8d595eb75ef6e4962b9cc294ed838a2cf3e218d10dd062c1af4868a386c1f8Revoke299471082022-06-24 13:59:016 days 21 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.002764094275 33.000170428
0x04626a8cdc05e1bd5f6e421f1c2bb07f818156e7016480144cc8bfebd705c4ddCreate Vesting S...299468052022-06-24 13:48:356 days 22 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.00478778293 30.000707632
0xf642d2ab69797df030a4816f85ba6ba80a7590eba93ab476db02667bd24db6a1Withdraw299322042022-06-24 4:43:377 days 7 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.002202120002 30.000000035
0xd93a918b5cd4d844d1ff5f5cc618f73979f2de58f0b8a93f3a15d3e6527e2401Create Vesting S...299320542022-06-24 4:36:217 days 7 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.004799202073 30.070000021
0x3b130e636dd55cb34ec6d17b80df769dfbe6875297fb9c417d8f8d09a7f215eeCreate Vesting S...299319402022-06-24 4:32:257 days 7 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.004788030005 30.000000034
0x51caab7e9631534004d02ac02c9d969e2398035d54f3bfc31169f55edc71f6d8Create Vesting S...299317892022-06-24 4:27:157 days 7 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.004788030002 30.000000016
0xd7c426d6a11735bb1f2ba65e10f43ee7d61fcbffc04406e437173a6add3da064Create Vesting S...299315702022-06-24 4:19:417 days 7 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.005301030005 30.000000033
0x105434d7cca6590dfa432718c685fc647068e77fe87968035ab8ab13ba25c96bWithdraw299214682022-06-23 22:02:187 days 13 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  0x4a0c8add4a984fa8f3cef64b7f73d68cb4361ea30 MATIC0.002072386829 30.202676193
0x041d9b5d5cde9ed045c48a7481bddee212774c172437326e4cb3606d11bea25b0x60a06040299211952022-06-23 21:50:487 days 14 hrs ago0x55f5257ca1fdc5d0079db7317122df73857b2ffd IN  Create: TestVesting0 MATIC0.09774885868 47.96
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TestVesting

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : TestVesting.sol
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.13;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/// @dev derived from https://github.com/abdelhamidbakhta/token-vesting-contracts (Apache-2.0)
contract TestVesting is Ownable, ReentrancyGuard {
    using SafeERC20 for IERC20;

    struct VestingSchedule {
        bool initialized;
        // time of the end of the cliff period
        uint256 cliffEnd;
        // start time of the vesting period
        uint256 start;
        // duration of the vesting period in seconds
        uint256 duration;
        // total amount of tokens to be released at the end of the vesting
        uint256 amountTotal;
        // amount of tokens released
        uint256 released;
        // whether or not the vesting has been revoked
        bool revoked;
    }

    // address of the ERC20 token
    IERC20 private immutable _token;

    mapping(address => VestingSchedule) private vestingSchedules;
    uint256 private vestingSchedulesTotalAmountCommitted;

    event VestingScheduleCreated(address indexed beneficiary, uint256 amount);
    event Released(address indexed beneficiary, uint256 amount);
    event Revoked(address indexed beneficiary, uint256 amountUnreleased);

    /// @dev Reverts if the vesting schedule does not exist or has been revoked
    modifier onlyIfVestingScheduleNotRevoked(address beneficiary) {
        require(
            !vestingSchedules[beneficiary].revoked,
            "Vesting schedule was revoked"
        );
        _;
    }

    /// @dev Creates a vesting contract
    /// @param token_ address of the ERC20 token contract
    constructor(address token_) {
        require(token_ != address(0), "Token cannot be zero address");
        _token = IERC20(token_);
    }

    /// @notice Creates a new vesting schedule for a beneficiary
    /// @param _beneficiary address of the beneficiary to whom vested tokens are transferred
    /// @param _start start time of the vesting period
    /// @param _cliff duration in seconds of the cliff in which tokens will begin to vest
    /// @param _duration duration in seconds of the period in which the tokens will vest
    /// @param _amount total amount of tokens to be released at the end of the vesting
    function createVestingSchedule(
        address _beneficiary,
        uint256 _start,
        uint256 _cliff,
        uint256 _duration,
        uint256 _amount
    ) external onlyOwner {
        require(!vestingSchedules[_beneficiary].initialized, "Already initialized");
        require(_duration > 0, "Duration must be > 0");
        require(_amount > 0, "Amount must be > 0");
        require(_cliff <= _duration, "Cliff must be <= duration");
        require(getWithdrawableAmount() >= _amount, "Not sufficient tokens");

        vestingSchedules[_beneficiary] = VestingSchedule(
            true,
            _start + _cliff,
            _start,
            _duration,
            _amount,
            0,
            false
        );

        vestingSchedulesTotalAmountCommitted += _amount;

        emit VestingScheduleCreated(_beneficiary, _amount);
    }

    /// @notice Revokes the vesting schedule for given beneficiary
    /// @param _beneficiary address of the beneficiary to whom vested tokens are transferred
    function revoke(address _beneficiary)
        external
        onlyOwner
        onlyIfVestingScheduleNotRevoked(_beneficiary)
    {
        VestingSchedule storage vestingSchedule = vestingSchedules[
            _beneficiary
        ];

        uint256 unreleased = vestingSchedule.amountTotal -
            vestingSchedule.released;
        if (unreleased > 0) {
            _token.safeTransfer(owner(), unreleased);
        }

        vestingSchedule.initialized = false;
        vestingSchedule.revoked = true;
        vestingSchedulesTotalAmountCommitted -= unreleased;

        emit Revoked(_beneficiary, unreleased);
    }

    /// @notice Release vested amount of tokens
    /// @param beneficiary address of the beneficiary to whom vested tokens are transferred
    /// @param amount the amount to release
    function release(address beneficiary, uint256 amount)
        external
        nonReentrant
        onlyIfVestingScheduleNotRevoked(beneficiary)
    {
        VestingSchedule storage vestingSchedule = vestingSchedules[beneficiary];
        require(
            msg.sender == beneficiary || msg.sender == owner(),
            "Only beneficiary and owner can release vested tokens"
        );

        uint256 releasableAmount = _computeReleasableAmount(vestingSchedule);
        require(releasableAmount >= amount, "Not enough vested tokens");

        vestingSchedule.released += amount;
        vestingSchedulesTotalAmountCommitted -= amount;

        _token.safeTransfer(beneficiary, amount);

        emit Released(beneficiary, amount);
    }

    /// @notice Withdraw the specified amount if possible
    /// @param amount the amount to withdraw
    function withdraw(uint256 amount) external onlyOwner nonReentrant {
        require(
            getWithdrawableAmount() >= amount,
            "Not enough withdrawable funds"
        );
        _token.safeTransfer(owner(), amount);
    }

    /// @notice Returns the address of the ERC20 token managed by the vesting contract
    function getToken() external view returns (address) {
        return address(_token);
    }

    /// @notice Returns the total amount of vesting schedules
    function getVestingSchedulesTotalAmountCommitted() external view returns (uint256) {
        return vestingSchedulesTotalAmountCommitted;
    }

    /// @notice Returns the vesting schedule information for a given identifier
    /// @param beneficiary address of the beneficiary to whom vested tokens are transferred
    /// @return vestingSchedule the vesting schedule structure information
    function getVestingSchedule(address beneficiary)
        external
        view
        returns (VestingSchedule memory vestingSchedule)
    {
        vestingSchedule = vestingSchedules[beneficiary];
    }

    /// @notice Computes the vested amount of tokens for the given vesting schedule identifier
    /// @param beneficiary address of the beneficiary to whom vested tokens are transferred
    /// @return releasableAmount the vested amount
    function computeReleasableAmount(address beneficiary)
        external
        view
        returns (uint256 releasableAmount)
    {
        VestingSchedule storage vestingSchedule = vestingSchedules[beneficiary];
        releasableAmount = !vestingSchedule.revoked
            ? _computeReleasableAmount(vestingSchedule)
            : 0;
    }

    /// @dev Returns the amount of tokens that can be withdrawn by the owner
    /// @return the amount of tokens
    function getWithdrawableAmount() public view returns (uint256) {
        return _token.balanceOf(address(this)) - vestingSchedulesTotalAmountCommitted;
    }

    /// @dev Computes the releasable amount of tokens for a vesting schedule
    /// @param vestingSchedule vesting schedule struct
    /// @return releasableAmount the amount of releasable tokens
    function _computeReleasableAmount(VestingSchedule memory vestingSchedule)
        private
        view
        returns (uint256 releasableAmount)
    {
        uint256 currentTime = block.timestamp;

        if (currentTime >= vestingSchedule.start + vestingSchedule.duration) {
            releasableAmount =
                vestingSchedule.amountTotal -
                vestingSchedule.released;
        } else if (currentTime > vestingSchedule.cliffEnd) {
            uint256 timeFromStart = currentTime - vestingSchedule.start;
            uint256 vestedAmount = (vestingSchedule.amountTotal *
                timeFromStart) / vestingSchedule.duration;
            releasableAmount = vestedAmount - vestingSchedule.released;
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

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

File 3 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

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

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

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

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    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");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @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");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 4 of 7 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 7 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"token_","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":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Released","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountUnreleased","type":"uint256"}],"name":"Revoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"VestingScheduleCreated","type":"event"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"computeReleasableAmount","outputs":[{"internalType":"uint256","name":"releasableAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_cliff","type":"uint256"},{"internalType":"uint256","name":"_duration","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"createVestingSchedule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"getVestingSchedule","outputs":[{"components":[{"internalType":"bool","name":"initialized","type":"bool"},{"internalType":"uint256","name":"cliffEnd","type":"uint256"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"amountTotal","type":"uint256"},{"internalType":"uint256","name":"released","type":"uint256"},{"internalType":"bool","name":"revoked","type":"bool"}],"internalType":"struct TestVesting.VestingSchedule","name":"vestingSchedule","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVestingSchedulesTotalAmountCommitted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWithdrawableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"revoke","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b506040516200264038038062002640833981810160405281019062000037919062000241565b620000576200004b6200010b60201b60201c565b6200011360201b60201c565b60018081905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000d0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000c790620002d4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505050620002f6565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200020982620001dc565b9050919050565b6200021b81620001fc565b81146200022757600080fd5b50565b6000815190506200023b8162000210565b92915050565b6000602082840312156200025a5762000259620001d7565b5b60006200026a848285016200022a565b91505092915050565b600082825260208201905092915050565b7f546f6b656e2063616e6e6f74206265207a65726f206164647265737300000000600082015250565b6000620002bc601c8362000273565b9150620002c98262000284565b602082019050919050565b60006020820190508181036000830152620002ef81620002ad565b9050919050565b6080516123126200032e600039600081816104f10152818161091b01528181610a6a01528181610cbf0152610ddb01526123126000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806374a8f1031161007157806374a8f103146101535780638da5cb5b1461016f57806390be10cc1461018d5780639f829063146101ab578063dd1fdb62146101db578063f2fde38b1461020b576100b4565b80630357371d146100b95780631bf0b08b146100d557806321df0da7146100f1578063247e882e1461010f5780632e1a7d4d1461012d578063715018a614610149575b600080fd5b6100d360048036038101906100ce9190611664565b610227565b005b6100ef60048036038101906100ea91906116a4565b610591565b005b6100f9610917565b604051610106919061172e565b60405180910390f35b61011761093f565b6040516101249190611758565b60405180910390f35b61014760048036038101906101429190611773565b610949565b005b610151610ab8565b005b61016d600480360381019061016891906117a0565b610b40565b005b610177610dab565b604051610184919061172e565b60405180910390f35b610195610dd4565b6040516101a29190611758565b60405180910390f35b6101c560048036038101906101c091906117a0565b610e82565b6040516101d29190611885565b60405180910390f35b6101f560048036038101906101f091906117a0565b610f43565b6040516102029190611758565b60405180910390f35b610225600480360381019061022091906117a0565b61102a565b005b60026001540361026c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610263906118fd565b60405180910390fd5b600260018190555081600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060060160009054906101000a900460ff1615610305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102fc90611969565b60405180910390fd5b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806103b45750610385610dab565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6103f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ea906119fb565b60405180910390fd5b6000610471826040518060e00160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff161515151581525050611121565b9050838110156104b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ad90611a67565b60405180910390fd5b838260050160008282546104ca9190611ab6565b9250508190555083600360008282546104e39190611b0c565b9250508190555061053585857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166111bb9092919063ffffffff16565b8473ffffffffffffffffffffffffffffffffffffffff167fb21fb52d5749b80f3182f8c6992236b5e5576681880914484d7f4c9b062e619e8560405161057b9190611758565b60405180910390a2505050600180819055505050565b610599611241565b73ffffffffffffffffffffffffffffffffffffffff166105b7610dab565b73ffffffffffffffffffffffffffffffffffffffff161461060d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060490611b8c565b60405180910390fd5b600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900460ff161561069d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069490611bf8565b60405180910390fd5b600082116106e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d790611c64565b60405180910390fd5b60008111610723576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071a90611cd0565b60405180910390fd5b81831115610766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075d90611d3c565b60405180910390fd5b8061076f610dd4565b10156107b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a790611da8565b60405180910390fd5b6040518060e0016040528060011515815260200184866107d09190611ab6565b81526020018581526020018381526020018281526020016000815260200160001515815250600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c08201518160060160006101000a81548160ff02191690831515021790555090505080600360008282546108bb9190611ab6565b925050819055508473ffffffffffffffffffffffffffffffffffffffff167f969705509595726740fe60cc30769bbd53c883efff4d8e70108a82817e0392a9826040516109089190611758565b60405180910390a25050505050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000600354905090565b610951611241565b73ffffffffffffffffffffffffffffffffffffffff1661096f610dab565b73ffffffffffffffffffffffffffffffffffffffff16146109c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bc90611b8c565b60405180910390fd5b600260015403610a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a01906118fd565b60405180910390fd5b600260018190555080610a1b610dd4565b1015610a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5390611e14565b60405180910390fd5b610aae610a67610dab565b827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166111bb9092919063ffffffff16565b6001808190555050565b610ac0611241565b73ffffffffffffffffffffffffffffffffffffffff16610ade610dab565b73ffffffffffffffffffffffffffffffffffffffff1614610b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2b90611b8c565b60405180910390fd5b610b3e6000611249565b565b610b48611241565b73ffffffffffffffffffffffffffffffffffffffff16610b66610dab565b73ffffffffffffffffffffffffffffffffffffffff1614610bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb390611b8c565b60405180910390fd5b80600260008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060060160009054906101000a900460ff1615610c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4490611969565b60405180910390fd5b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600501548260040154610ca69190611b0c565b90506000811115610d0457610d03610cbc610dab565b827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166111bb9092919063ffffffff16565b5b60008260000160006101000a81548160ff02191690831515021790555060018260060160006101000a81548160ff0219169083151502179055508060036000828254610d509190611b0c565b925050819055508373ffffffffffffffffffffffffffffffffffffffff167f713b90881ad62c4fa8ab6bd9197fa86481fc0c11b2edba60026514281b2dbac482604051610d9d9190611758565b60405180910390a250505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006003547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e32919061172e565b602060405180830381865afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e739190611e49565b610e7d9190611b0c565b905090565b610e8a61158a565b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060e00160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff1615151515815250509050919050565b600080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060060160009054906101000a900460ff1615610fa5576000611022565b611021816040518060e00160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820160009054906101000a900460ff161515151581525050611121565b5b915050919050565b611032611241565b73ffffffffffffffffffffffffffffffffffffffff16611050610dab565b73ffffffffffffffffffffffffffffffffffffffff16146110a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109d90611b8c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110c90611ee8565b60405180910390fd5b61111e81611249565b50565b6000804290508260600151836040015161113b9190611ab6565b811061115c578260a0015183608001516111559190611b0c565b91506111b5565b82602001518111156111b457600083604001518261117a9190611b0c565b9050600084606001518286608001516111939190611f08565b61119d9190611f91565b90508460a00151816111af9190611b0c565b935050505b5b50919050565b61123c8363a9059cbb60e01b84846040516024016111da929190611fc2565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061130d565b505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061136f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166113d49092919063ffffffff16565b90506000815111156113cf578080602001905181019061138f9190612017565b6113ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c5906120b6565b60405180910390fd5b5b505050565b60606113e384846000856113ec565b90509392505050565b606082471015611431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142890612148565b60405180910390fd5b61143a85611500565b611479576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611470906121b4565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516114a2919061224e565b60006040518083038185875af1925050503d80600081146114df576040519150601f19603f3d011682016040523d82523d6000602084013e6114e4565b606091505b50915091506114f4828286611523565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561153357829050611583565b6000835111156115465782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157a91906122ba565b60405180910390fd5b9392505050565b6040518060e0016040528060001515815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581525090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006115fb826115d0565b9050919050565b61160b816115f0565b811461161657600080fd5b50565b60008135905061162881611602565b92915050565b6000819050919050565b6116418161162e565b811461164c57600080fd5b50565b60008135905061165e81611638565b92915050565b6000806040838503121561167b5761167a6115cb565b5b600061168985828601611619565b925050602061169a8582860161164f565b9150509250929050565b600080600080600060a086880312156116c0576116bf6115cb565b5b60006116ce88828901611619565b95505060206116df8882890161164f565b94505060406116f08882890161164f565b93505060606117018882890161164f565b92505060806117128882890161164f565b9150509295509295909350565b611728816115f0565b82525050565b6000602082019050611743600083018461171f565b92915050565b6117528161162e565b82525050565b600060208201905061176d6000830184611749565b92915050565b600060208284031215611789576117886115cb565b5b60006117978482850161164f565b91505092915050565b6000602082840312156117b6576117b56115cb565b5b60006117c484828501611619565b91505092915050565b60008115159050919050565b6117e2816117cd565b82525050565b6117f18161162e565b82525050565b60e08201600082015161180d60008501826117d9565b50602082015161182060208501826117e8565b50604082015161183360408501826117e8565b50606082015161184660608501826117e8565b50608082015161185960808501826117e8565b5060a082015161186c60a08501826117e8565b5060c082015161187f60c08501826117d9565b50505050565b600060e08201905061189a60008301846117f7565b92915050565b600082825260208201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006118e7601f836118a0565b91506118f2826118b1565b602082019050919050565b60006020820190508181036000830152611916816118da565b9050919050565b7f56657374696e67207363686564756c6520776173207265766f6b656400000000600082015250565b6000611953601c836118a0565b915061195e8261191d565b602082019050919050565b6000602082019050818103600083015261198281611946565b9050919050565b7f4f6e6c792062656e656669636961727920616e64206f776e65722063616e207260008201527f656c656173652076657374656420746f6b656e73000000000000000000000000602082015250565b60006119e56034836118a0565b91506119f082611989565b604082019050919050565b60006020820190508181036000830152611a14816119d8565b9050919050565b7f4e6f7420656e6f7567682076657374656420746f6b656e730000000000000000600082015250565b6000611a516018836118a0565b9150611a5c82611a1b565b602082019050919050565b60006020820190508181036000830152611a8081611a44565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611ac18261162e565b9150611acc8361162e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611b0157611b00611a87565b5b828201905092915050565b6000611b178261162e565b9150611b228361162e565b925082821015611b3557611b34611a87565b5b828203905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611b766020836118a0565b9150611b8182611b40565b602082019050919050565b60006020820190508181036000830152611ba581611b69565b9050919050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b6000611be26013836118a0565b9150611bed82611bac565b602082019050919050565b60006020820190508181036000830152611c1181611bd5565b9050919050565b7f4475726174696f6e206d757374206265203e2030000000000000000000000000600082015250565b6000611c4e6014836118a0565b9150611c5982611c18565b602082019050919050565b60006020820190508181036000830152611c7d81611c41565b9050919050565b7f416d6f756e74206d757374206265203e20300000000000000000000000000000600082015250565b6000611cba6012836118a0565b9150611cc582611c84565b602082019050919050565b60006020820190508181036000830152611ce981611cad565b9050919050565b7f436c696666206d757374206265203c3d206475726174696f6e00000000000000600082015250565b6000611d266019836118a0565b9150611d3182611cf0565b602082019050919050565b60006020820190508181036000830152611d5581611d19565b9050919050565b7f4e6f742073756666696369656e7420746f6b656e730000000000000000000000600082015250565b6000611d926015836118a0565b9150611d9d82611d5c565b602082019050919050565b60006020820190508181036000830152611dc181611d85565b9050919050565b7f4e6f7420656e6f75676820776974686472617761626c652066756e6473000000600082015250565b6000611dfe601d836118a0565b9150611e0982611dc8565b602082019050919050565b60006020820190508181036000830152611e2d81611df1565b9050919050565b600081519050611e4381611638565b92915050565b600060208284031215611e5f57611e5e6115cb565b5b6000611e6d84828501611e34565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611ed26026836118a0565b9150611edd82611e76565b604082019050919050565b60006020820190508181036000830152611f0181611ec5565b9050919050565b6000611f138261162e565b9150611f1e8361162e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611f5757611f56611a87565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611f9c8261162e565b9150611fa78361162e565b925082611fb757611fb6611f62565b5b828204905092915050565b6000604082019050611fd7600083018561171f565b611fe46020830184611749565b9392505050565b611ff4816117cd565b8114611fff57600080fd5b50565b60008151905061201181611feb565b92915050565b60006020828403121561202d5761202c6115cb565b5b600061203b84828501612002565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006120a0602a836118a0565b91506120ab82612044565b604082019050919050565b600060208201905081810360008301526120cf81612093565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006121326026836118a0565b915061213d826120d6565b604082019050919050565b6000602082019050818103600083015261216181612125565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b600061219e601d836118a0565b91506121a982612168565b602082019050919050565b600060208201905081810360008301526121cd81612191565b9050919050565b600081519050919050565b600081905092915050565b60005b838110156122085780820151818401526020810190506121ed565b83811115612217576000848401525b50505050565b6000612228826121d4565b61223281856121df565b93506122428185602086016121ea565b80840191505092915050565b600061225a828461221d565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b600061228c82612265565b61229681856118a0565b93506122a68185602086016121ea565b6122af81612270565b840191505092915050565b600060208201905081810360008301526122d48184612281565b90509291505056fea2646970667358221220284133064869eae9965e5f8641ffe664679bc34dcca3b37b2df73055c30ea84964736f6c634300080d0033000000000000000000000000e261d618a959afffd53168cd07d12e37b26761db

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

000000000000000000000000e261d618a959afffd53168cd07d12e37b26761db

-----Decoded View---------------
Arg [0] : token_ (address): 0xe261d618a959afffd53168cd07d12e37b26761db

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e261d618a959afffd53168cd07d12e37b26761db


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