POL Price: $0.125598 (-1.11%)
 

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Claim811218662026-01-02 14:09:5122 days ago1767362991IN
0x7d3D3175...fEaf543fD
0 POL0.382380042,390.83160501
Claim800659742025-12-08 23:36:3147 days ago1765236991IN
0x7d3D3175...fEaf543fD
0 POL0.0032590830.00000015
Claim778202402025-10-17 23:53:3299 days ago1760745212IN
0x7d3D3175...fEaf543fD
0 POL0.0038765730.83108467
Claim773829122025-10-07 19:34:42109 days ago1759865682IN
0x7d3D3175...fEaf543fD
0 POL0.005650144.93628165
Claim765810542025-09-18 1:11:18129 days ago1758157878IN
0x7d3D3175...fEaf543fD
0 POL0.0048922145.03306228
Claim764886172025-09-15 18:01:24131 days ago1757959284IN
0x7d3D3175...fEaf543fD
0 POL0.0080833949.06994651
Claim764395432025-09-14 12:43:52132 days ago1757853832IN
0x7d3D3175...fEaf543fD
0 POL0.0032590830.00000025
Claim758035942025-08-29 14:52:45148 days ago1756479165IN
0x7d3D3175...fEaf543fD
0 POL0.005524131.20328308
Claim757204312025-08-27 13:42:29150 days ago1756302149IN
0x7d3D3175...fEaf543fD
0 POL0.0034029630.0000013
Claim754378022025-08-20 12:18:53157 days ago1755692333IN
0x7d3D3175...fEaf543fD
0 POL0.0037720830.00000063
Claim754377662025-08-20 12:17:37157 days ago1755692257IN
0x7d3D3175...fEaf543fD
0 POL0.0037720830.00000067
Claim754166742025-08-19 23:46:19158 days ago1755647179IN
0x7d3D3175...fEaf543fD
0 POL0.0038726630.80000014
Claim752959432025-08-17 0:28:52161 days ago1755390532IN
0x7d3D3175...fEaf543fD
0 POL0.0039159630.00000011
Claim752066802025-08-14 19:43:08163 days ago1755200588IN
0x7d3D3175...fEaf543fD
0 POL0.0034029630.00000008
Claim751612032025-08-13 16:35:52164 days ago1755102952IN
0x7d3D3175...fEaf543fD
0 POL0.0054549630.00000023
Claim751611692025-08-13 16:34:40164 days ago1755102880IN
0x7d3D3175...fEaf543fD
0 POL0.0050003827.50000025
Claim751554892025-08-13 13:13:11164 days ago1755090791IN
0x7d3D3175...fEaf543fD
0 POL0.0034029630.00000043
Claim751510112025-08-13 10:34:35164 days ago1755081275IN
0x7d3D3175...fEaf543fD
0 POL0.0034029630.00000014
Claim751510052025-08-13 10:34:21164 days ago1755081261IN
0x7d3D3175...fEaf543fD
0 POL0.0054549630.00000014
Claim751508522025-08-13 10:28:57164 days ago1755080937IN
0x7d3D3175...fEaf543fD
0 POL0.0043858733.60000014
Claim751501782025-08-13 10:05:05164 days ago1755079505IN
0x7d3D3175...fEaf543fD
0 POL0.0329464200.00000014
Claim751495792025-08-13 9:43:51164 days ago1755078231IN
0x7d3D3175...fEaf543fD
0 POL0.0054549630.00000013
Claim751471872025-08-13 8:19:09164 days ago1755073149IN
0x7d3D3175...fEaf543fD
0 POL0.0034029630.00000066
Claim751273502025-08-12 20:36:35165 days ago1755030995IN
0x7d3D3175...fEaf543fD
0 POL0.0049419630.00000015
Claim750770282025-08-11 14:53:24166 days ago1754924004IN
0x7d3D3175...fEaf543fD
0 POL0.0034029630.00002986
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VesterWithRatio

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: BSD-3-Clause

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 "./interfaces/IVester.sol";
import "./interfaces/IBurnable.sol";
import "./Governable.sol";

/**
 * @title  Vester
 * @notice Implementation of vesting.
 */
contract VesterWithRatio is IVester, IERC20, ReentrancyGuard, Governable {

    using SafeERC20 for IERC20;

    string public  name;
    string public symbol;
    uint8 public decimals = 18;
    uint256 constant public BPS_DIVIDER = 10000;

    uint256 public immutable vestingDuration;  // in seconds
    uint256 public immutable directRefundRate; // bps 100
    uint256 public immutable endDate; 

    address public immutable depositToken;  // must be burnable
    address public immutable claimableToken;

    uint256 public override totalSupply;
    uint256 public ratio; // in bps 

    mapping(address => uint256) public balances;
    mapping(address => uint256) public override cumulativeClaimAmounts;
    mapping(address => uint256) public override claimedAmounts;
    mapping(address => uint256) public convertedClaimedAmounts;
    mapping(address => uint256) public lastVestingTimes;

    event Claim(address indexed receiver, uint256 amount, uint256 amountConverted);
    event Deposit(address indexed account, uint256 depositAmount , uint256 directRefundAmount, uint256 directRefundAmountConverted);
    event WithdrawToken(address indexed account, address indexed token, uint256 withdrawAmount);
    event UpdateVesting(address indexed account,uint256 lastVestingTime,uint256 burnAmount);
    event RatioUpdated(uint256 ratio);

    /// @notice constructor
    /// @dev Initializes token addresses and vesting parameters
    /// @param _name vesting token name
    /// @param _name vesting token symbol
    /// @param _vestingDuration vesting duration in seconds
    /// @param _directRefundRate direct refund rate, if defined, some part of deposit amount, directly transfer
    /// @param _depositToken deposit token address
    /// @param _claimableToken claimable token address
    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _vestingDuration,
        uint256 _directRefundRate,
        address _depositToken,
        address _claimableToken,
        uint256 _ratio,
        uint256 _endDate
    )  {
        require(_directRefundRate < 100, "invalid direct refund rate");
        require(_depositToken != address(0), "invalid deposit token");
        require(_claimableToken != address(0), "invalid claimable token");
        require(_depositToken != _claimableToken, "invalid tokens");
        require(_ratio > 0, "invalid ratio");
        require(_endDate > block.timestamp, "invalid end date");
        name = _name;
        symbol = _symbol;
        

        vestingDuration = _vestingDuration;
        directRefundRate = _directRefundRate;
        depositToken = _depositToken;
        claimableToken = _claimableToken;
        ratio = _ratio;
        endDate = _endDate;
    }

    /// @dev to help users who accidentally send their tokens to this contract
    function setRatio(
        uint256 _ratio
    ) external onlyGov {
        require(_ratio > 0, "invalid ratio");
        ratio = _ratio;

        emit RatioUpdated(_ratio);
    }

    /// @notice send claimable amount to msg.sender
    function claim() external nonReentrant returns (uint256) {
        return _claim(msg.sender, msg.sender);
    }

    /// @notice send claimable amount to _receiver
    /// @param _receiver receiver address
    function claimTo(address _receiver) external nonReentrant returns (uint256) {
        require(_receiver != address(0), "zero address");
        return _claim(msg.sender, _receiver);
    }

    /// @dev to help users who accidentally send their tokens to this contract
    function withdrawToken(
        address _token,
        address _account,
        uint256 _amount
    ) external onlyGov nonReentrant{
        if (_token == depositToken) {
            uint256 depositBalance = IERC20(depositToken).balanceOf(address(this));
            require(totalSupply + _amount <= depositBalance , "Not allowed to withdraw users' funds");
        }
        if (_token == claimableToken) {
            uint256 claimBalance = IERC20(claimableToken).balanceOf(address(this));
            require((totalSupply * ratio / BPS_DIVIDER) + _amount <= claimBalance , "Not allowed to withdraw users' funds");
        }

        IERC20(_token).safeTransfer(_account, _amount);
        emit WithdrawToken(_account, _token ,_amount);
    }

    /// @notice calculate claimable amount for `_account` with ratio
    function claimable(address _account) external view override returns (uint256) {
        return _claimable(_account) * ratio / BPS_DIVIDER;
    }

    /// @notice calculate claimable amount for `_account` without ratio
    function _claimable(address _account) internal view returns (uint256) {
        uint256 amount = cumulativeClaimAmounts[_account] - claimedAmounts[_account];
        uint256 nextClaimable = _getNextClaimableAmount(_account);
        return amount + nextClaimable;
    }

    /// @notice vesting token balance of `_account`
    function balanceOf(address _account) external view override returns (uint256) {
        return balances[_account];
    }

    /// @dev empty implementation, tokens are non-transferrable
    function transfer(
        address, /* recipient */
        uint256 /* amount */
    ) public pure override returns (bool) {
        revert("non-transferrable");
    }

    /// @dev empty implementation, tokens are non-transferrable
    function allowance(
        address, /* owner */
        address /* spender */
    ) public view virtual override returns (uint256) {
        return 0;
    }

    /// @dev empty implementation, tokens are non-transferrable
    function approve(
        address, /* spender */
        uint256 /* amount */
    ) public pure virtual override returns (bool) {
        revert("non-transferrable");
    }

    /// @dev empty implementation, tokens are non-transferrable
    function transferFrom(
        address, /* sender */
        address, /* recipient */
        uint256 /* amount */
    ) public pure virtual override returns (bool) {
        revert("non-transferrable");
    }

    /// @notice total vested amount of `_account`
    function getVestedAmount(address _account) public view override returns (uint256) {
        return balances[_account] + cumulativeClaimAmounts[_account];
    }

    /// @dev vesting token mint function
    function _mint(address _account, uint256 _amount) private {
        require(_account != address(0), "mint to the zero address");

        totalSupply = totalSupply + _amount;
        balances[_account] = balances[_account] + _amount;

        emit Transfer(address(0), _account, _amount);
    }

    /// @dev vesting token burn function
    function _burn(address _account, uint256 _amount) private {
        require(_account != address(0), "burn from the zero address");
        require(balances[_account] >= _amount , "burn amount exceeds balance");
        balances[_account] = balances[_account] - _amount;
        totalSupply = totalSupply - _amount;

        emit Transfer(_account, address(0), _amount);
    }

    /// @notice deposit for vesting 
    /// @param _amount amount of deposit token
    function deposit(uint256 _amount) external nonReentrant{  
        require(endDate > block.timestamp,"Conversion expired");       
        require(_amount > 0, "invalid _amount");
        uint256 claimBalance = IERC20(claimableToken).balanceOf(address(this));
        require(claimBalance >= (totalSupply + _amount) * ratio / BPS_DIVIDER, "Not enough claimable token");
        address account = msg.sender;

        _updateVesting(account);

        IERC20(depositToken).safeTransferFrom(account, address(this), _amount);

        uint256 directRefundAmount;

        if (directRefundRate > 0){
            directRefundAmount = (_amount * directRefundRate) / 100;
        }

        uint256 depositAmount = _amount - directRefundAmount;
        uint256 directRefundAmountConverted;

        _mint(account, depositAmount);

        if(directRefundAmount > 0){
            IBurnable(depositToken).burn(address(this), directRefundAmount);
            directRefundAmountConverted = directRefundAmount * ratio / BPS_DIVIDER;
            IERC20(claimableToken).safeTransfer(account, directRefundAmountConverted);
        }

        emit Deposit(account, depositAmount, directRefundAmount, directRefundAmountConverted);
    }

    /// @notice update vesting status for `_account`
    /// @dev update lastVestingTimes for `_account` and if claimable amount exists, 
    /// @dev burn  and transfer to cumulativeClaimAmounts 
    /// @param _account amount of deposit token
    function _updateVesting(address _account) private {
        uint256 amount = _getNextClaimableAmount(_account);
        lastVestingTimes[_account] = block.timestamp;

        if (amount > 0) {
            // transfer claimableAmount from balances to cumulativeClaimAmounts
            _burn(_account, amount);
            cumulativeClaimAmounts[_account] = cumulativeClaimAmounts[_account] + amount;

            IBurnable(depositToken).burn(address(this), amount);
        }

        emit UpdateVesting(_account, block.timestamp, amount);
    }

    /// @dev calculate next claimable amounts  for `_account` 
    function _getNextClaimableAmount(address _account) private view returns (uint256) {
        uint256 timeDiff = block.timestamp - lastVestingTimes[_account];
        if (timeDiff == 0) {
            return 0;
        }

        uint256 balance = balances[_account];
        if (balance == 0 ) {
            return 0;
        }

        uint256 vestedAmount = getVestedAmount(_account);
        uint256 claimableAmount =(vestedAmount * timeDiff) / vestingDuration;

        if (claimableAmount < balance) {
            return claimableAmount;
        }

        return balance;
    }

    /// @dev internal function of claim
    function _claim(address _account, address _receiver) private returns (uint256) {
        _updateVesting(_account);
        uint256 amount = _claimable(_account);
        uint256 amountConverted;
        if(amount > 0){
            amountConverted = amount * ratio / BPS_DIVIDER;
            claimedAmounts[_account] = claimedAmounts[_account] + amount;
            convertedClaimedAmounts[_account] = convertedClaimedAmounts[_account] + amountConverted;
            IERC20(claimableToken).safeTransfer(_receiver, amountConverted);
        }
        emit Claim(_account, amount, amountConverted);
        return amount;
    }
}

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.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));
        }
    }

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

// SPDX-License-Identifier: BSD-3-Clause

pragma solidity 0.8.13;

interface IVester {
    function claimable(address _account) external view returns (uint256);
    function cumulativeClaimAmounts(address _account) external view returns (uint256);
    function claimedAmounts(address _account) external view returns (uint256);
    function getVestedAmount(address _account) external view returns (uint256);
}

// SPDX-License-Identifier: BSD-3-Clause

pragma solidity 0.8.13;

interface IBurnable {
    function burn(address _account, uint256 _amount) external;
}

// SPDX-License-Identifier: BSD-3-Clause
pragma solidity 0.8.13;

/// @title Governable
/// @notice Basic access control mechanism, gov has access to certain functions
contract Governable {
    address public gov;

    event SetGov(address prevGov, address nextGov);

    error NotGovernance(address account);

    /// @dev Initializes the contract setting the deployer address as governance
    constructor() {
        _setGov(msg.sender);
    }

    /// @dev Reverts if called by any account other than gov
    modifier onlyGov() {
        if(msg.sender != gov) 
            revert NotGovernance(msg.sender);
        _;
    }

    /// @notice Sets a new governance address
    /// @dev Only callable by governance
    function setGov(address _gov) external onlyGov {
        require(_gov != address(0), "!zero address");
        _setGov(_gov);
    }

    /// @notice Sets a new governance address
    /// @dev Internal function without access restriction
    function _setGov(address _gov) internal {
        address prevGov = gov;
        gov = _gov;
        emit SetGov(prevGov, _gov);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_vestingDuration","type":"uint256"},{"internalType":"uint256","name":"_directRefundRate","type":"uint256"},{"internalType":"address","name":"_depositToken","type":"address"},{"internalType":"address","name":"_claimableToken","type":"address"},{"internalType":"uint256","name":"_ratio","type":"uint256"},{"internalType":"uint256","name":"_endDate","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"NotGovernance","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountConverted","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"depositAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"directRefundAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"directRefundAmountConverted","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"ratio","type":"uint256"}],"name":"RatioUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"prevGov","type":"address"},{"indexed":false,"internalType":"address","name":"nextGov","type":"address"}],"name":"SetGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"lastVestingTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnAmount","type":"uint256"}],"name":"UpdateVesting","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"withdrawAmount","type":"uint256"}],"name":"WithdrawToken","type":"event"},{"inputs":[],"name":"BPS_DIVIDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"claimTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"claimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimableToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"convertedClaimedAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cumulativeClaimAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"directRefundRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getVestedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastVestingTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ratio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_gov","type":"address"}],"name":"setGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ratio","type":"uint256"}],"name":"setRatio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"vestingDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101206040526004805460ff191660121790553480156200001f57600080fd5b5060405162001ff838038062001ff883398101604081905262000042916200047d565b600160005562000052336200028c565b60648510620000a85760405162461bcd60e51b815260206004820152601a60248201527f696e76616c69642064697265637420726566756e64207261746500000000000060448201526064015b60405180910390fd5b6001600160a01b038416620001005760405162461bcd60e51b815260206004820152601560248201527f696e76616c6964206465706f73697420746f6b656e000000000000000000000060448201526064016200009f565b6001600160a01b038316620001585760405162461bcd60e51b815260206004820152601760248201527f696e76616c696420636c61696d61626c6520746f6b656e00000000000000000060448201526064016200009f565b826001600160a01b0316846001600160a01b031603620001ac5760405162461bcd60e51b815260206004820152600e60248201526d696e76616c696420746f6b656e7360901b60448201526064016200009f565b60008211620001ee5760405162461bcd60e51b815260206004820152600d60248201526c696e76616c696420726174696f60981b60448201526064016200009f565b428111620002325760405162461bcd60e51b815260206004820152601060248201526f696e76616c696420656e64206461746560801b60448201526064016200009f565b8751620002479060029060208b0190620002ed565b5086516200025d9060039060208a0190620002ed565b5060809590955260a0939093526001600160a01b0391821660e052166101005260065560c052506200056e9050565b600180546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527f53351836099c03ffc3b1727d8abd4b0222afa87d4ed76ae3102d51369ef7f785910160405180910390a15050565b828054620002fb9062000532565b90600052602060002090601f0160209004810192826200031f57600085556200036a565b82601f106200033a57805160ff19168380011785556200036a565b828001600101855582156200036a579182015b828111156200036a5782518255916020019190600101906200034d565b50620003789291506200037c565b5090565b5b808211156200037857600081556001016200037d565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003bb57600080fd5b81516001600160401b0380821115620003d857620003d862000393565b604051601f8301601f19908116603f0116810190828211818310171562000403576200040362000393565b816040528381526020925086838588010111156200042057600080fd5b600091505b8382101562000444578582018301518183018401529082019062000425565b83821115620004565760008385830101525b9695505050505050565b80516001600160a01b03811681146200047857600080fd5b919050565b600080600080600080600080610100898b0312156200049b57600080fd5b88516001600160401b0380821115620004b357600080fd5b620004c18c838d01620003a9565b995060208b0151915080821115620004d857600080fd5b50620004e78b828c01620003a9565b97505060408901519550606089015194506200050660808a0162000460565b93506200051660a08a0162000460565b60c08a015160e0909a0151989b979a5095989497939692505050565b600181811c908216806200054757607f821691505b6020821081036200056857634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051610100516119e362000615600039600081816104910152818161060b0152818161065a01528181610a8801528181610cde0152610fce01526000818161042e015281816105160152818161056501528181610b8b01528181610c5001526110d701526000818161040701526109cd0152600081816104b801528181610bb70152610be2015260008181610293015261144b01526119e36000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806371ca337d11610104578063b6b55f25116100a2578063d5a73fdd11610071578063d5a73fdd14610463578063dd62ed3e14610476578063f6d6d5aa1461048c578063fe8e6ce4146104b357600080fd5b8063b6b55f25146103ef578063c24a0f8b14610402578063c89039c514610429578063cfad57a21461045057600080fd5b8063a262f5f8116100de578063a262f5f8146103a9578063a9059cbb14610212578063b2237ba3146103bc578063b5ff136d146103cf57600080fd5b806371ca337d1461038f5780637c4283bc1461039857806395d89b41146103a157600080fd5b806323b872dd1161017c578063402914f51161014b578063402914f51461032b5780634e71d92d1461033e57806370a082311461034657806371417b321461036f57600080fd5b806323b872dd146102be57806326f14f1b146102cc57806327e235e3146102ec578063313ce5671461030c57600080fd5b80630db9ea4a116101b85780630db9ea4a1461023557806312d43a51146102635780631514617e1461028e57806318160ddd146102b557600080fd5b806301e33667146101df57806306fdde03146101f4578063095ea7b314610212575b600080fd5b6101f26101ed36600461171f565b6104da565b005b6101fc610788565b6040516102099190611787565b60405180910390f35b6102256102203660046117ba565b610816565b6040519015158152602001610209565b6102556102433660046117e4565b600b6020526000908152604090205481565b604051908152602001610209565b600154610276906001600160a01b031681565b6040516001600160a01b039091168152602001610209565b6102557f000000000000000000000000000000000000000000000000000000000000000081565b61025560055481565b61022561022036600461171f565b6102556102da3660046117e4565b600a6020526000908152604090205481565b6102556102fa3660046117e4565b60076020526000908152604090205481565b6004546103199060ff1681565b60405160ff9091168152602001610209565b6102556103393660046117e4565b610855565b610255610880565b6102556103543660046117e4565b6001600160a01b031660009081526007602052604090205490565b61025561037d3660046117e4565b60096020526000908152604090205481565b61025560065481565b61025561271081565b6101fc6108a3565b6102556103b73660046117e4565b6108b0565b6101f26103ca366004611806565b61091a565b6102556103dd3660046117e4565b60086020526000908152604090205481565b6101f26103fd366004611806565b6109c2565b6102557f000000000000000000000000000000000000000000000000000000000000000081565b6102767f000000000000000000000000000000000000000000000000000000000000000081565b6101f261045e3660046117e4565b610d63565b6102556104713660046117e4565b610ddf565b61025561048436600461181f565b600092915050565b6102767f000000000000000000000000000000000000000000000000000000000000000081565b6102557f000000000000000000000000000000000000000000000000000000000000000081565b6001546001600160a01b0316331461050c5760405163988d1f0360e01b81523360048201526024015b60405180910390fd5b610514610e0d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603610609576040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156105b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d89190611852565b905080826005546105e99190611881565b11156106075760405162461bcd60e51b815260040161050390611899565b505b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603610718576040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156106a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cd9190611852565b905080826127106006546005546106e491906118dd565b6106ee91906118fc565b6106f89190611881565b11156107165760405162461bcd60e51b815260040161050390611899565b505b61072c6001600160a01b0384168383610e66565b826001600160a01b0316826001600160a01b03167f037238854fe57fbf51f09946f854fc3916fe83938d6521f09bd05463839f13048360405161077191815260200190565b60405180910390a36107836001600055565b505050565b600280546107959061191e565b80601f01602080910402602001604051908101604052809291908181526020018280546107c19061191e565b801561080e5780601f106107e35761010080835404028352916020019161080e565b820191906000526020600020905b8154815290600101906020018083116107f157829003601f168201915b505050505081565b60405162461bcd60e51b81526020600482015260116024820152706e6f6e2d7472616e736665727261626c6560781b6044820152600090606401610503565b600061271060065461086684610ec9565b61087091906118dd565b61087a91906118fc565b92915050565b600061088a610e0d565b6108943333610f19565b90506108a06001600055565b90565b600380546107959061191e565b60006108ba610e0d565b6001600160a01b0382166108ff5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610503565b6109093383610f19565b90506109156001600055565b919050565b6001546001600160a01b031633146109475760405163988d1f0360e01b8152336004820152602401610503565b600081116109875760405162461bcd60e51b815260206004820152600d60248201526c696e76616c696420726174696f60981b6044820152606401610503565b60068190556040518181527f8bfafad5cbd7165952ec3370b6dcf547a709f2dad989ecb117d6d361038dd8c59060200160405180910390a150565b6109ca610e0d565b427f000000000000000000000000000000000000000000000000000000000000000011610a2e5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d995c9cda5bdb88195e1c1a5c995960721b6044820152606401610503565b60008111610a705760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a590817d85b5bdd5b9d608a1b6044820152606401610503565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610ad7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afb9190611852565b905061271060065483600554610b119190611881565b610b1b91906118dd565b610b2591906118fc565b811015610b745760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f75676820636c61696d61626c6520746f6b656e0000000000006044820152606401610503565b33610b7e81611041565b610bb36001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001682308661117e565b60007f000000000000000000000000000000000000000000000000000000000000000015610c14576064610c077f0000000000000000000000000000000000000000000000000000000000000000866118dd565b610c1191906118fc565b90505b6000610c208286611958565b90506000610c2e84836111bc565b8215610d0557604051632770a7eb60e21b8152306004820152602481018490527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690639dc29fac90604401600060405180830381600087803b158015610c9c57600080fd5b505af1158015610cb0573d6000803e3d6000fd5b5050505061271060065484610cc591906118dd565b610ccf91906118fc565b9050610d056001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168583610e66565b60408051838152602081018590529081018290526001600160a01b038516907f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e9060600160405180910390a25050505050610d606001600055565b50565b6001546001600160a01b03163314610d905760405163988d1f0360e01b8152336004820152602401610503565b6001600160a01b038116610dd65760405162461bcd60e51b815260206004820152600d60248201526c217a65726f206164647265737360981b6044820152606401610503565b610d60816112a4565b6001600160a01b038116600090815260086020908152604080832054600790925282205461087a9190611881565b600260005403610e5f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610503565b6002600055565b6040516001600160a01b03831660248201526044810182905261078390849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611305565b6001600160a01b03811660009081526009602090815260408083205460089092528220548291610ef891611958565b90506000610f05846113d7565b9050610f118183611881565b949350505050565b6000610f2483611041565b6000610f2f84610ec9565b905060008115610ff55761271060065483610f4a91906118dd565b610f5491906118fc565b6001600160a01b038616600090815260096020526040902054909150610f7b908390611881565b6001600160a01b038616600090815260096020908152604080832093909355600a90522054610fab908290611881565b6001600160a01b038087166000908152600a6020526040902091909155610ff5907f0000000000000000000000000000000000000000000000000000000000000000168583610e66565b60408051838152602081018390526001600160a01b038716917f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf7910160405180910390a2509392505050565b600061104c826113d7565b6001600160a01b0383166000908152600b602052604090204290559050801561113657611079828261149b565b6001600160a01b03821660009081526008602052604090205461109d908290611881565b6001600160a01b0383811660009081526008602052604090819020929092559051632770a7eb60e21b8152306004820152602481018390527f000000000000000000000000000000000000000000000000000000000000000090911690639dc29fac90604401600060405180830381600087803b15801561111d57600080fd5b505af1158015611131573d6000803e3d6000fd5b505050505b60408051428152602081018390526001600160a01b038416917f0bc00f87edda27041dd512264a553f77f52c46f6115d38b60a70aae71ed30438910160405180910390a25050565b6040516001600160a01b03808516602483015283166044820152606481018290526111b69085906323b872dd60e01b90608401610e92565b50505050565b6001600160a01b0382166112125760405162461bcd60e51b815260206004820152601860248201527f6d696e7420746f20746865207a65726f206164647265737300000000000000006044820152606401610503565b806005546112209190611881565b6005556001600160a01b038216600090815260076020526040902054611247908290611881565b6001600160a01b0383166000818152600760205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112989085815260200190565b60405180910390a35050565b600180546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527f53351836099c03ffc3b1727d8abd4b0222afa87d4ed76ae3102d51369ef7f785910160405180910390a15050565b600061135a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115e59092919063ffffffff16565b8051909150156107835780806020019051810190611378919061196f565b6107835760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610503565b6001600160a01b0381166000908152600b602052604081205481906113fc9042611958565b90508060000361140f5750600092915050565b6001600160a01b0383166000908152600760205260408120549081900361143a575060009392505050565b600061144585610ddf565b905060007f000000000000000000000000000000000000000000000000000000000000000061147485846118dd565b61147e91906118fc565b9050828110156114915795945050505050565b5090949350505050565b6001600160a01b0382166114f15760405162461bcd60e51b815260206004820152601a60248201527f6275726e2066726f6d20746865207a65726f20616464726573730000000000006044820152606401610503565b6001600160a01b0382166000908152600760205260409020548111156115595760405162461bcd60e51b815260206004820152601b60248201527f6275726e20616d6f756e7420657863656564732062616c616e636500000000006044820152606401610503565b6001600160a01b03821660009081526007602052604090205461157d908290611958565b6001600160a01b0383166000908152600760205260409020556005546115a4908290611958565b6005556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611298565b6060610f11848460008585600080866001600160a01b0316858760405161160c9190611991565b60006040518083038185875af1925050503d8060008114611649576040519150601f19603f3d011682016040523d82523d6000602084013e61164e565b606091505b509150915061165f8783838761166a565b979650505050505050565b606083156116d95782516000036116d2576001600160a01b0385163b6116d25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610503565b5081610f11565b610f1183838151156116ee5781518083602001fd5b8060405162461bcd60e51b81526004016105039190611787565b80356001600160a01b038116811461091557600080fd5b60008060006060848603121561173457600080fd5b61173d84611708565b925061174b60208501611708565b9150604084013590509250925092565b60005b8381101561177657818101518382015260200161175e565b838111156111b65750506000910152565b60208152600082518060208401526117a681604085016020870161175b565b601f01601f19169190910160400192915050565b600080604083850312156117cd57600080fd5b6117d683611708565b946020939093013593505050565b6000602082840312156117f657600080fd5b6117ff82611708565b9392505050565b60006020828403121561181857600080fd5b5035919050565b6000806040838503121561183257600080fd5b61183b83611708565b915061184960208401611708565b90509250929050565b60006020828403121561186457600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156118945761189461186b565b500190565b60208082526024908201527f4e6f7420616c6c6f77656420746f207769746864726177207573657273272066604082015263756e647360e01b606082015260800190565b60008160001904831182151516156118f7576118f761186b565b500290565b60008261191957634e487b7160e01b600052601260045260246000fd5b500490565b600181811c9082168061193257607f821691505b60208210810361195257634e487b7160e01b600052602260045260246000fd5b50919050565b60008282101561196a5761196a61186b565b500390565b60006020828403121561198157600080fd5b815180151581146117ff57600080fd5b600082516119a381846020870161175b565b919091019291505056fea2646970667358221220266dd568d877a6e549c07a1cafae1bf50f44c149008be838a4deb9e8b3a8dffa64736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000001e133800000000000000000000000000000000000000000000000000000000000000019000000000000000000000000b6bdd10a12286401c8dfac93fe933c7abbd6d0af0000000000000000000000002760e46d9bb43dafcbecaad1f64b93207f9f0ed7000000000000000000000000000000000000000000000000000000000000008a0000000000000000000000000000000000000000000000000000000067368f00000000000000000000000000000000000000000000000000000000000000000c56657374656420426e4d56580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000676426e4d56580000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806371ca337d11610104578063b6b55f25116100a2578063d5a73fdd11610071578063d5a73fdd14610463578063dd62ed3e14610476578063f6d6d5aa1461048c578063fe8e6ce4146104b357600080fd5b8063b6b55f25146103ef578063c24a0f8b14610402578063c89039c514610429578063cfad57a21461045057600080fd5b8063a262f5f8116100de578063a262f5f8146103a9578063a9059cbb14610212578063b2237ba3146103bc578063b5ff136d146103cf57600080fd5b806371ca337d1461038f5780637c4283bc1461039857806395d89b41146103a157600080fd5b806323b872dd1161017c578063402914f51161014b578063402914f51461032b5780634e71d92d1461033e57806370a082311461034657806371417b321461036f57600080fd5b806323b872dd146102be57806326f14f1b146102cc57806327e235e3146102ec578063313ce5671461030c57600080fd5b80630db9ea4a116101b85780630db9ea4a1461023557806312d43a51146102635780631514617e1461028e57806318160ddd146102b557600080fd5b806301e33667146101df57806306fdde03146101f4578063095ea7b314610212575b600080fd5b6101f26101ed36600461171f565b6104da565b005b6101fc610788565b6040516102099190611787565b60405180910390f35b6102256102203660046117ba565b610816565b6040519015158152602001610209565b6102556102433660046117e4565b600b6020526000908152604090205481565b604051908152602001610209565b600154610276906001600160a01b031681565b6040516001600160a01b039091168152602001610209565b6102557f0000000000000000000000000000000000000000000000000000000001e1338081565b61025560055481565b61022561022036600461171f565b6102556102da3660046117e4565b600a6020526000908152604090205481565b6102556102fa3660046117e4565b60076020526000908152604090205481565b6004546103199060ff1681565b60405160ff9091168152602001610209565b6102556103393660046117e4565b610855565b610255610880565b6102556103543660046117e4565b6001600160a01b031660009081526007602052604090205490565b61025561037d3660046117e4565b60096020526000908152604090205481565b61025560065481565b61025561271081565b6101fc6108a3565b6102556103b73660046117e4565b6108b0565b6101f26103ca366004611806565b61091a565b6102556103dd3660046117e4565b60086020526000908152604090205481565b6101f26103fd366004611806565b6109c2565b6102557f0000000000000000000000000000000000000000000000000000000067368f0081565b6102767f000000000000000000000000b6bdd10a12286401c8dfac93fe933c7abbd6d0af81565b6101f261045e3660046117e4565b610d63565b6102556104713660046117e4565b610ddf565b61025561048436600461181f565b600092915050565b6102767f0000000000000000000000002760e46d9bb43dafcbecaad1f64b93207f9f0ed781565b6102557f000000000000000000000000000000000000000000000000000000000000001981565b6001546001600160a01b0316331461050c5760405163988d1f0360e01b81523360048201526024015b60405180910390fd5b610514610e0d565b7f000000000000000000000000b6bdd10a12286401c8dfac93fe933c7abbd6d0af6001600160a01b0316836001600160a01b031603610609576040516370a0823160e01b81523060048201526000907f000000000000000000000000b6bdd10a12286401c8dfac93fe933c7abbd6d0af6001600160a01b0316906370a0823190602401602060405180830381865afa1580156105b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d89190611852565b905080826005546105e99190611881565b11156106075760405162461bcd60e51b815260040161050390611899565b505b7f0000000000000000000000002760e46d9bb43dafcbecaad1f64b93207f9f0ed76001600160a01b0316836001600160a01b031603610718576040516370a0823160e01b81523060048201526000907f0000000000000000000000002760e46d9bb43dafcbecaad1f64b93207f9f0ed76001600160a01b0316906370a0823190602401602060405180830381865afa1580156106a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cd9190611852565b905080826127106006546005546106e491906118dd565b6106ee91906118fc565b6106f89190611881565b11156107165760405162461bcd60e51b815260040161050390611899565b505b61072c6001600160a01b0384168383610e66565b826001600160a01b0316826001600160a01b03167f037238854fe57fbf51f09946f854fc3916fe83938d6521f09bd05463839f13048360405161077191815260200190565b60405180910390a36107836001600055565b505050565b600280546107959061191e565b80601f01602080910402602001604051908101604052809291908181526020018280546107c19061191e565b801561080e5780601f106107e35761010080835404028352916020019161080e565b820191906000526020600020905b8154815290600101906020018083116107f157829003601f168201915b505050505081565b60405162461bcd60e51b81526020600482015260116024820152706e6f6e2d7472616e736665727261626c6560781b6044820152600090606401610503565b600061271060065461086684610ec9565b61087091906118dd565b61087a91906118fc565b92915050565b600061088a610e0d565b6108943333610f19565b90506108a06001600055565b90565b600380546107959061191e565b60006108ba610e0d565b6001600160a01b0382166108ff5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610503565b6109093383610f19565b90506109156001600055565b919050565b6001546001600160a01b031633146109475760405163988d1f0360e01b8152336004820152602401610503565b600081116109875760405162461bcd60e51b815260206004820152600d60248201526c696e76616c696420726174696f60981b6044820152606401610503565b60068190556040518181527f8bfafad5cbd7165952ec3370b6dcf547a709f2dad989ecb117d6d361038dd8c59060200160405180910390a150565b6109ca610e0d565b427f0000000000000000000000000000000000000000000000000000000067368f0011610a2e5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d995c9cda5bdb88195e1c1a5c995960721b6044820152606401610503565b60008111610a705760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a590817d85b5bdd5b9d608a1b6044820152606401610503565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000002760e46d9bb43dafcbecaad1f64b93207f9f0ed76001600160a01b0316906370a0823190602401602060405180830381865afa158015610ad7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afb9190611852565b905061271060065483600554610b119190611881565b610b1b91906118dd565b610b2591906118fc565b811015610b745760405162461bcd60e51b815260206004820152601a60248201527f4e6f7420656e6f75676820636c61696d61626c6520746f6b656e0000000000006044820152606401610503565b33610b7e81611041565b610bb36001600160a01b037f000000000000000000000000b6bdd10a12286401c8dfac93fe933c7abbd6d0af1682308661117e565b60007f000000000000000000000000000000000000000000000000000000000000001915610c14576064610c077f0000000000000000000000000000000000000000000000000000000000000019866118dd565b610c1191906118fc565b90505b6000610c208286611958565b90506000610c2e84836111bc565b8215610d0557604051632770a7eb60e21b8152306004820152602481018490527f000000000000000000000000b6bdd10a12286401c8dfac93fe933c7abbd6d0af6001600160a01b031690639dc29fac90604401600060405180830381600087803b158015610c9c57600080fd5b505af1158015610cb0573d6000803e3d6000fd5b5050505061271060065484610cc591906118dd565b610ccf91906118fc565b9050610d056001600160a01b037f0000000000000000000000002760e46d9bb43dafcbecaad1f64b93207f9f0ed7168583610e66565b60408051838152602081018590529081018290526001600160a01b038516907f36af321ec8d3c75236829c5317affd40ddb308863a1236d2d277a4025cccee1e9060600160405180910390a25050505050610d606001600055565b50565b6001546001600160a01b03163314610d905760405163988d1f0360e01b8152336004820152602401610503565b6001600160a01b038116610dd65760405162461bcd60e51b815260206004820152600d60248201526c217a65726f206164647265737360981b6044820152606401610503565b610d60816112a4565b6001600160a01b038116600090815260086020908152604080832054600790925282205461087a9190611881565b600260005403610e5f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610503565b6002600055565b6040516001600160a01b03831660248201526044810182905261078390849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611305565b6001600160a01b03811660009081526009602090815260408083205460089092528220548291610ef891611958565b90506000610f05846113d7565b9050610f118183611881565b949350505050565b6000610f2483611041565b6000610f2f84610ec9565b905060008115610ff55761271060065483610f4a91906118dd565b610f5491906118fc565b6001600160a01b038616600090815260096020526040902054909150610f7b908390611881565b6001600160a01b038616600090815260096020908152604080832093909355600a90522054610fab908290611881565b6001600160a01b038087166000908152600a6020526040902091909155610ff5907f0000000000000000000000002760e46d9bb43dafcbecaad1f64b93207f9f0ed7168583610e66565b60408051838152602081018390526001600160a01b038716917f34fcbac0073d7c3d388e51312faf357774904998eeb8fca628b9e6f65ee1cbf7910160405180910390a2509392505050565b600061104c826113d7565b6001600160a01b0383166000908152600b602052604090204290559050801561113657611079828261149b565b6001600160a01b03821660009081526008602052604090205461109d908290611881565b6001600160a01b0383811660009081526008602052604090819020929092559051632770a7eb60e21b8152306004820152602481018390527f000000000000000000000000b6bdd10a12286401c8dfac93fe933c7abbd6d0af90911690639dc29fac90604401600060405180830381600087803b15801561111d57600080fd5b505af1158015611131573d6000803e3d6000fd5b505050505b60408051428152602081018390526001600160a01b038416917f0bc00f87edda27041dd512264a553f77f52c46f6115d38b60a70aae71ed30438910160405180910390a25050565b6040516001600160a01b03808516602483015283166044820152606481018290526111b69085906323b872dd60e01b90608401610e92565b50505050565b6001600160a01b0382166112125760405162461bcd60e51b815260206004820152601860248201527f6d696e7420746f20746865207a65726f206164647265737300000000000000006044820152606401610503565b806005546112209190611881565b6005556001600160a01b038216600090815260076020526040902054611247908290611881565b6001600160a01b0383166000818152600760205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112989085815260200190565b60405180910390a35050565b600180546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527f53351836099c03ffc3b1727d8abd4b0222afa87d4ed76ae3102d51369ef7f785910160405180910390a15050565b600061135a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115e59092919063ffffffff16565b8051909150156107835780806020019051810190611378919061196f565b6107835760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610503565b6001600160a01b0381166000908152600b602052604081205481906113fc9042611958565b90508060000361140f5750600092915050565b6001600160a01b0383166000908152600760205260408120549081900361143a575060009392505050565b600061144585610ddf565b905060007f0000000000000000000000000000000000000000000000000000000001e1338061147485846118dd565b61147e91906118fc565b9050828110156114915795945050505050565b5090949350505050565b6001600160a01b0382166114f15760405162461bcd60e51b815260206004820152601a60248201527f6275726e2066726f6d20746865207a65726f20616464726573730000000000006044820152606401610503565b6001600160a01b0382166000908152600760205260409020548111156115595760405162461bcd60e51b815260206004820152601b60248201527f6275726e20616d6f756e7420657863656564732062616c616e636500000000006044820152606401610503565b6001600160a01b03821660009081526007602052604090205461157d908290611958565b6001600160a01b0383166000908152600760205260409020556005546115a4908290611958565b6005556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611298565b6060610f11848460008585600080866001600160a01b0316858760405161160c9190611991565b60006040518083038185875af1925050503d8060008114611649576040519150601f19603f3d011682016040523d82523d6000602084013e61164e565b606091505b509150915061165f8783838761166a565b979650505050505050565b606083156116d95782516000036116d2576001600160a01b0385163b6116d25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610503565b5081610f11565b610f1183838151156116ee5781518083602001fd5b8060405162461bcd60e51b81526004016105039190611787565b80356001600160a01b038116811461091557600080fd5b60008060006060848603121561173457600080fd5b61173d84611708565b925061174b60208501611708565b9150604084013590509250925092565b60005b8381101561177657818101518382015260200161175e565b838111156111b65750506000910152565b60208152600082518060208401526117a681604085016020870161175b565b601f01601f19169190910160400192915050565b600080604083850312156117cd57600080fd5b6117d683611708565b946020939093013593505050565b6000602082840312156117f657600080fd5b6117ff82611708565b9392505050565b60006020828403121561181857600080fd5b5035919050565b6000806040838503121561183257600080fd5b61183b83611708565b915061184960208401611708565b90509250929050565b60006020828403121561186457600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156118945761189461186b565b500190565b60208082526024908201527f4e6f7420616c6c6f77656420746f207769746864726177207573657273272066604082015263756e647360e01b606082015260800190565b60008160001904831182151516156118f7576118f761186b565b500290565b60008261191957634e487b7160e01b600052601260045260246000fd5b500490565b600181811c9082168061193257607f821691505b60208210810361195257634e487b7160e01b600052602260045260246000fd5b50919050565b60008282101561196a5761196a61186b565b500390565b60006020828403121561198157600080fd5b815180151581146117ff57600080fd5b600082516119a381846020870161175b565b919091019291505056fea2646970667358221220266dd568d877a6e549c07a1cafae1bf50f44c149008be838a4deb9e8b3a8dffa64736f6c634300080d0033

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

000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000001e133800000000000000000000000000000000000000000000000000000000000000019000000000000000000000000b6bdd10a12286401c8dfac93fe933c7abbd6d0af0000000000000000000000002760e46d9bb43dafcbecaad1f64b93207f9f0ed7000000000000000000000000000000000000000000000000000000000000008a0000000000000000000000000000000000000000000000000000000067368f00000000000000000000000000000000000000000000000000000000000000000c56657374656420426e4d56580000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000676426e4d56580000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Vested BnMVX
Arg [1] : _symbol (string): vBnMVX
Arg [2] : _vestingDuration (uint256): 31536000
Arg [3] : _directRefundRate (uint256): 25
Arg [4] : _depositToken (address): 0xB6BDd10A12286401C8DfaC93Fe933c7abBD6d0aF
Arg [5] : _claimableToken (address): 0x2760E46d9BB43dafCbEcaad1F64b93207f9f0eD7
Arg [6] : _ratio (uint256): 138
Arg [7] : _endDate (uint256): 1731628800

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000001e13380
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [4] : 000000000000000000000000b6bdd10a12286401c8dfac93fe933c7abbd6d0af
Arg [5] : 0000000000000000000000002760e46d9bb43dafcbecaad1f64b93207f9f0ed7
Arg [6] : 000000000000000000000000000000000000000000000000000000000000008a
Arg [7] : 0000000000000000000000000000000000000000000000000000000067368f00
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [9] : 56657374656420426e4d56580000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [11] : 76426e4d56580000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.