ETH Price: $3,115.87 (-0.53%)

Token

XVIX TimeVault (XVIX:TV)
 

Overview

Max Total Supply

4,659.47127166051887 XVIX:TV

Holders

92

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 XVIX:TV

Value
$0.00
0xee23ca0fe4617efd96fa2421a4a5a276f4a3dd67
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TimeVault

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : TimeVault.sol
//SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

import "../libraries/math/SafeMath.sol";
import "../libraries/token/IERC20.sol";
import "../libraries/utils/ReentrancyGuard.sol";
import "../interfaces/IXVIX.sol";
import "../interfaces/ITimeVault.sol";
import "../interfaces/IX2Fund.sol";

contract TimeVault is ITimeVault, IERC20, ReentrancyGuard {
    using SafeMath for uint256;

    string public constant name = "XVIX TimeVault";
    string public constant symbol = "XVIX:TV";
    uint8 public constant decimals = 18;

    uint256 constant PRECISION = 1e30;

    uint256 public constant WITHDRAWAL_DELAY = 7 days;
    uint256 public constant WITHDRAWAL_WINDOW = 48 hours;

    address public token;
    address public gov;
    address public distributor;

    uint256 public override totalSupply;

    mapping (address => uint256) public balances;
    mapping (address => uint256) public withdrawalTimestamps;
    mapping (address => uint256) public withdrawalAmounts;
    mapping (uint256 => uint256) public override withdrawalSlots;

    uint256 public cumulativeRewardPerToken;
    mapping (address => uint256) public claimableReward;
    mapping (address => uint256) public previousCumulatedRewardPerToken;

    event Deposit(address account, uint256 amount);
    event BeginWithdrawal(address account, uint256 amount);
    event Withdraw(address account, uint256 amount);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event GovChange(address gov);
    event Claim(address receiver, uint256 amount);

    modifier onlyGov() {
        require(msg.sender == gov, "TimeVault: forbidden");
        _;
    }

    constructor(address _token) public {
        token = _token;
        gov = msg.sender;
    }

    receive() external payable {}

    function setGov(address _gov) external onlyGov {
        gov = _gov;
        emit GovChange(_gov);
    }

    function setDistributor(address _distributor) external onlyGov {
        distributor = _distributor;
    }

    function deposit(uint256 _amount) external nonReentrant {
        require(_amount > 0, "TimeVault: insufficient amount");
        address account = msg.sender;
        _updateRewards(account, true);

        IERC20(token).transferFrom(account, address(this), _amount);
        balances[account] = balances[account].add(_amount);
        totalSupply = totalSupply.add(_amount);

        emit Deposit(account, _amount);
        emit Transfer(address(0), account, _amount);
    }

    function beginWithdrawal(uint256 _amount) external nonReentrant {
        address account = msg.sender;
        require(_amount > 0, "TimeVault: insufficient amount");
        require(_amount <= balanceOf(account), "TimeVault: insufficient balance");

        _decreaseWithdrawalSlot(withdrawalTimestamps[account], withdrawalAmounts[account]);

        uint256 time = block.timestamp.add(WITHDRAWAL_DELAY);
        withdrawalTimestamps[account] = time;
        withdrawalAmounts[account] = _amount;

        _increaseWithdrawalSlot(time, _amount);
        emit BeginWithdrawal(account, _amount);
    }

    function withdraw(address _receiver) external nonReentrant {
        address account = msg.sender;
        _updateRewards(account, true);
        _withdraw(account, _receiver);
    }

    function withdrawWithoutDistribution(address _receiver) external nonReentrant {
        address account = msg.sender;
        _updateRewards(account, false);
        _withdraw(account, _receiver);
    }

    function claim(address _receiver) external nonReentrant {
        address _account = msg.sender;
        _updateRewards(_account, true);

        uint256 rewardToClaim = claimableReward[_account];
        claimableReward[_account] = 0;

        (bool success,) = _receiver.call{value: rewardToClaim}("");
        require(success, "TimeVault: transfer failed");

        emit Claim(_receiver, rewardToClaim);
    }

    function getWithdrawalSlot(uint256 _time) public pure returns (uint256) {
        return _time.div(WITHDRAWAL_WINDOW);
    }

    function balanceOf(address account) public override view returns (uint256) {
        return balances[account];
    }

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

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

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

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

    function _withdraw(address _account, address _receiver) private {
        uint256 currentTime = block.timestamp;
        uint256 minTime = withdrawalTimestamps[_account];
        require(minTime != 0, "TimeVault: withdrawal not initiated");
        require(currentTime > minTime, "TimeVault: withdrawal timing not reached");

        uint256 maxTime = minTime.add(WITHDRAWAL_WINDOW);
        require(currentTime < maxTime, "TimeVault: withdrawal window already passed");

        uint256 amount = withdrawalAmounts[_account];
        require(amount <= balanceOf(_account), "TimeVault: insufficient amount");

        _decreaseWithdrawalSlot(minTime, amount);

        withdrawalTimestamps[_account] = 0;
        withdrawalAmounts[_account] = 0;

        balances[_account] = balances[_account].sub(amount);
        totalSupply = totalSupply.sub(amount);

        IXVIX(token).rebase();
        IERC20(token).transfer(_receiver, amount);

        emit Withdraw(_account, amount);
        emit Transfer(_account, address(0), amount);
    }

    function _increaseWithdrawalSlot(uint256 _time, uint256 _amount) private {
        uint256 slot = getWithdrawalSlot(_time);
        withdrawalSlots[slot] = withdrawalSlots[slot].add(_amount);
    }

    function _decreaseWithdrawalSlot(uint256 _time, uint256 _amount) private {
        if (_time == 0 || _amount == 0) { return; }
        uint256 slot = getWithdrawalSlot(_time);
        if (_amount > withdrawalSlots[slot]) {
            withdrawalSlots[slot] = 0;
            return;
        }
        withdrawalSlots[slot] = withdrawalSlots[slot].sub(_amount);
    }

    function _updateRewards(address _account, bool _distribute) private {
        uint256 blockReward;

        if (_distribute && distributor != address(0)) {
            blockReward = IX2Fund(distributor).distribute();
        }

        uint256 _cumulativeRewardPerToken = cumulativeRewardPerToken;
        // only update cumulativeRewardPerToken when there are stakers, i.e. when totalSupply > 0
        // if blockReward == 0, then there will be no change to cumulativeRewardPerToken
        if (totalSupply > 0 && blockReward > 0) {
            _cumulativeRewardPerToken = _cumulativeRewardPerToken.add(blockReward.mul(PRECISION).div(totalSupply));
            cumulativeRewardPerToken = _cumulativeRewardPerToken;
        }

        // cumulativeRewardPerToken can only increase
        // so if cumulativeRewardPerToken is zero, it means there are no rewards yet
        if (_cumulativeRewardPerToken == 0) {
            return;
        }

        uint256 _previousCumulatedReward = previousCumulatedRewardPerToken[_account];
        uint256 _claimableReward = claimableReward[_account].add(
            uint256(balances[_account]).mul(_cumulativeRewardPerToken.sub(_previousCumulatedReward)).div(PRECISION)
        );

        claimableReward[_account] = _claimableReward;
        previousCumulatedRewardPerToken[_account] = _cumulativeRewardPerToken;
    }
}

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

pragma solidity 0.6.12;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

File 3 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 4 of 7 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

/**
 * @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].
 */
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 () internal {
        _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 make 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 : IXVIX.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IXVIX {
    function setGov(address gov) external;
    function normalDivisor() external view returns (uint256);
    function maxSupply() external view returns (uint256);
    function mint(address account, uint256 amount) external returns (bool);
    function burn(address account, uint256 amount) external returns (bool);
    function toast(uint256 amount) external returns (bool);
    function rebase() external returns (bool);
}

File 6 of 7 : ITimeVault.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface ITimeVault {
    function withdrawalSlots(uint256 slot) external view returns (uint256);
}

File 7 of 7 : IX2Fund.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

interface IX2Fund {
    function distribute() external returns (uint256);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "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":"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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BeginWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"gov","type":"address"}],"name":"GovChange","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"WITHDRAWAL_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_WINDOW","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":"nonpayable","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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"beginWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimableReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cumulativeRewardPerToken","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":"distributor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"getWithdrawalSlot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"previousCumulatedRewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_distributor","type":"address"}],"name":"setDistributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gov","type":"address"}],"name":"setGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"withdrawWithoutDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"withdrawalAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawalSlots","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"withdrawalTimestamps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506040516118c03803806118c08339818101604052602081101561003357600080fd5b50516001600081905580546001600160a01b039092166001600160a01b0319928316179055600280549091163317905561184e806100726000396000f3fe6080604052600436106101c65760003560e01c806356765c51116100f7578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e1461066b578063e9503425146106a6578063f5fc5076146106d9578063fc0c546a146106ee576101cd565b8063a9059cbb1461025c578063b6b55f25146105f9578063bfe1092814610623578063cfad57a214610638576101cd565b806380c62199116100d157806380c621991461055d57806395d89b4114610587578063a37607581461059c578063a3ef270b146105cf576101cd565b806356765c51146104e257806370a08231146104f757806375619ab51461052a576101cd565b806323b872dd11610164578063399231e31161013e578063399231e31461041f57806343f23af41461044957806344a084111461047c57806351cff8d9146104af576101cd565b806323b872dd1461037e57806327e235e3146103c1578063313ce567146103f4576101cd565b806312d43a51116101a057806312d43a51146102d0578063141ebd831461030157806318160ddd146103345780631e83409a14610349576101cd565b806306fdde03146101d2578063095ea7b31461025c5780630ebb172a146102a9576101cd565b366101cd57005b600080fd5b3480156101de57600080fd5b506101e7610703565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610221578181015183820152602001610209565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026857600080fd5b506102956004803603604081101561027f57600080fd5b506001600160a01b03813516906020013561072d565b604080519115158252519081900360200190f35b3480156102b557600080fd5b506102be61077c565b60408051918252519081900360200190f35b3480156102dc57600080fd5b506102e5610783565b604080516001600160a01b039092168252519081900360200190f35b34801561030d57600080fd5b506102be6004803603602081101561032457600080fd5b50356001600160a01b0316610792565b34801561034057600080fd5b506102be6107a4565b34801561035557600080fd5b5061037c6004803603602081101561036c57600080fd5b50356001600160a01b03166107aa565b005b34801561038a57600080fd5b50610295600480360360608110156103a157600080fd5b506001600160a01b0381358116916020810135909116906040013561072d565b3480156103cd57600080fd5b506102be600480360360208110156103e457600080fd5b50356001600160a01b031661090c565b34801561040057600080fd5b5061040961091e565b6040805160ff9092168252519081900360200190f35b34801561042b57600080fd5b506102be6004803603602081101561044257600080fd5b5035610923565b34801561045557600080fd5b5061037c6004803603602081101561046c57600080fd5b50356001600160a01b0316610935565b34801561048857600080fd5b506102be6004803603602081101561049f57600080fd5b50356001600160a01b03166109a2565b3480156104bb57600080fd5b5061037c600480360360208110156104d257600080fd5b50356001600160a01b03166109b4565b3480156104ee57600080fd5b506102be610a0b565b34801561050357600080fd5b506102be6004803603602081101561051a57600080fd5b50356001600160a01b0316610a12565b34801561053657600080fd5b5061037c6004803603602081101561054d57600080fd5b50356001600160a01b0316610a2d565b34801561056957600080fd5b5061037c6004803603602081101561058057600080fd5b5035610aa5565b34801561059357600080fd5b506101e7610c60565b3480156105a857600080fd5b506102be600480360360208110156105bf57600080fd5b50356001600160a01b0316610c83565b3480156105db57600080fd5b506102be600480360360208110156105f257600080fd5b5035610c95565b34801561060557600080fd5b5061037c6004803603602081101561061c57600080fd5b5035610caa565b34801561062f57600080fd5b506102e5610eb5565b34801561064457600080fd5b5061037c6004803603602081101561065b57600080fd5b50356001600160a01b0316610ec4565b34801561067757600080fd5b506102be6004803603604081101561068e57600080fd5b506001600160a01b0381358116916020013516610f6e565b3480156106b257600080fd5b506102be600480360360208110156106c957600080fd5b50356001600160a01b0316610f76565b3480156106e557600080fd5b506102be610f88565b3480156106fa57600080fd5b506102e5610f8e565b6040518060400160405280600e81526020016d1615925608151a5b5955985d5b1d60921b81525081565b6040805162461bcd60e51b815260206004820152601c60248201527f54696d655661756c743a206e6f6e2d7472616e736665727261626c65000000006044820152905160009181900360640190fd5b62093a8081565b6002546001600160a01b031681565b60066020526000908152604090205481565b60045481565b600260005414156107f0576040805162461bcd60e51b815260206004820152601f6024820152600080516020611762833981519152604482015290519081900360640190fd5b600260005533610801816001610f9d565b6001600160a01b038082166000908152600a60205260408082208054908390559051909285169083908381818185875af1925050503d8060008114610862576040519150601f19603f3d011682016040523d82523d6000602084013e610867565b606091505b50509050806108bd576040805162461bcd60e51b815260206004820152601a60248201527f54696d655661756c743a207472616e73666572206661696c6564000000000000604482015290519081900360640190fd5b604080516001600160a01b03861681526020810184905281517f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4929181900390910190a1505060016000555050565b60056020526000908152604090205481565b601281565b60086020526000908152604090205481565b6002600054141561097b576040805162461bcd60e51b815260206004820152601f6024820152600080516020611762833981519152604482015290519081900360640190fd5b60026000908155339061098f908290610f9d565b610999818361113f565b50506001600055565b600b6020526000908152604090205481565b600260005414156109fa576040805162461bcd60e51b815260206004820152601f6024820152600080516020611762833981519152604482015290519081900360640190fd5b60026000553361098f816001610f9d565b6202a30081565b6001600160a01b031660009081526005602052604090205490565b6002546001600160a01b03163314610a83576040805162461bcd60e51b81526020600482015260146024820152732a34b6b2ab30bab63a1d103337b93134b23232b760611b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60026000541415610aeb576040805162461bcd60e51b815260206004820152601f6024820152600080516020611762833981519152604482015290519081900360640190fd5b60026000553381610b43576040805162461bcd60e51b815260206004820152601e60248201527f54696d655661756c743a20696e73756666696369656e7420616d6f756e740000604482015290519081900360640190fd5b610b4c81610a12565b821115610ba0576040805162461bcd60e51b815260206004820152601f60248201527f54696d655661756c743a20696e73756666696369656e742062616c616e636500604482015290519081900360640190fd5b6001600160a01b038116600090815260066020908152604080832054600790925290912054610bcf9190611486565b6000610bde4262093a80611500565b6001600160a01b0383166000908152600660209081526040808320849055600790915290208490559050610c128184611561565b604080516001600160a01b03841681526020810185905281517f4fb257f8d5314f48edb1236bb3e767d267f4742612a05ee6b7990637af9dc148929181900390910190a15050600160005550565b604051806040016040528060078152602001662c2b24ac1d2a2b60c91b81525081565b60076020526000908152604090205481565b6000610ca4826202a300611588565b92915050565b60026000541415610cf0576040805162461bcd60e51b815260206004820152601f6024820152600080516020611762833981519152604482015290519081900360640190fd5b600260005580610d47576040805162461bcd60e51b815260206004820152601e60248201527f54696d655661756c743a20696e73756666696369656e7420616d6f756e740000604482015290519081900360640190fd5b33610d53816001610f9d565b600154604080516323b872dd60e01b81526001600160a01b03848116600483015230602483015260448201869052915191909216916323b872dd9160648083019260209291908290030181600087803b158015610daf57600080fd5b505af1158015610dc3573d6000803e3d6000fd5b505050506040513d6020811015610dd957600080fd5b50506001600160a01b038116600090815260056020526040902054610dfe9083611500565b6001600160a01b038216600090815260056020526040902055600454610e249083611500565b600455604080516001600160a01b03831681526020810184905281517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c929181900390910190a16040805183815290516001600160a01b038316916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350506001600055565b6003546001600160a01b031681565b6002546001600160a01b03163314610f1a576040805162461bcd60e51b81526020600482015260146024820152732a34b6b2ab30bab63a1d103337b93134b23232b760611b604482015290519081900360640190fd5b600280546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f2c5d53cd16ceaf62d39256419d59e80a42575bfc21eab954015ca61b42dbe4619181900360200190a150565b600092915050565b600a6020526000908152604090205481565b60095481565b6001546001600160a01b031681565b6000818015610fb657506003546001600160a01b031615155b1561103a57600360009054906101000a90046001600160a01b03166001600160a01b031663e4fc6b6d6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561100b57600080fd5b505af115801561101f573d6000803e3d6000fd5b505050506040513d602081101561103557600080fd5b505190505b6009546004541580159061104e5750600082115b1561108a576004546110829061107b90611075856c0c9f2c9cd04674edea400000006115ca565b90611588565b8290611500565b600981905590505b8061109657505061113b565b6001600160a01b0384166000908152600b60205260408120549061110f6110f06c0c9f2c9cd04674edea400000006110756110d18787611623565b6001600160a01b038b16600090815260056020526040902054906115ca565b6001600160a01b0388166000908152600a602052604090205490611500565b6001600160a01b0387166000908152600a6020908152604080832093909355600b905220929092555050505b5050565b6001600160a01b0382166000908152600660205260409020544290806111965760405162461bcd60e51b81526004018080602001828103825260238152602001806117f66023913960400191505060405180910390fd5b8082116111d45760405162461bcd60e51b81526004018080602001828103825260288152602001806117826028913960400191505060405180910390fd5b60006111e3826202a300611500565b90508083106112235760405162461bcd60e51b815260040180806020018281038252602b8152602001806117cb602b913960400191505060405180910390fd5b6001600160a01b03851660009081526007602052604090205461124586610a12565b811115611299576040805162461bcd60e51b815260206004820152601e60248201527f54696d655661756c743a20696e73756666696369656e7420616d6f756e740000604482015290519081900360640190fd5b6112a38382611486565b6001600160a01b03861660009081526006602090815260408083208390556007825280832083905560059091529020546112dd9082611623565b6001600160a01b0387166000908152600560205260409020556004546113039082611623565b600490815560015460408051632bc5014b60e21b815290516001600160a01b039092169263af14052c9282820192602092908290030181600087803b15801561134b57600080fd5b505af115801561135f573d6000803e3d6000fd5b505050506040513d602081101561137557600080fd5b50506001546040805163a9059cbb60e01b81526001600160a01b038881166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156113cd57600080fd5b505af11580156113e1573d6000803e3d6000fd5b505050506040513d60208110156113f757600080fd5b5050604080516001600160a01b03881681526020810183905281517f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364929181900390910190a16040805182815290516000916001600160a01b038916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505050505050565b811580611491575080155b1561149b5761113b565b60006114a683610c95565b6000818152600860205260409020549091508211156114d35760009081526008602052604081205561113b565b6000818152600860205260409020546114ec9083611623565b600091825260086020526040909120555050565b60008282018381101561155a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600061156c83610c95565b6000818152600860205260409020549091506114ec9083611500565b600061155a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611665565b6000826115d957506000610ca4565b828202828482816115e657fe5b041461155a5760405162461bcd60e51b81526004018080602001828103825260218152602001806117aa6021913960400191505060405180910390fd5b600061155a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611707565b600081836116f15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156116b657818101518382015260200161169e565b50505050905090810190601f1680156116e35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816116fd57fe5b0495945050505050565b600081848411156117595760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156116b657818101518382015260200161169e565b50505090039056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c0054696d655661756c743a207769746864726177616c2074696d696e67206e6f742072656163686564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7754696d655661756c743a207769746864726177616c2077696e646f7720616c72656164792070617373656454696d655661756c743a207769746864726177616c206e6f7420696e69746961746564a264697066735822122042a1e21608a2898b23c7ed37b7c6d4f6b2fca11b4def7cb71f05331c4ecda56464736f6c634300060c00330000000000000000000000004bae380b5d762d543d426331b8437926443ae9ec

Deployed Bytecode

0x6080604052600436106101c65760003560e01c806356765c51116100f7578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e1461066b578063e9503425146106a6578063f5fc5076146106d9578063fc0c546a146106ee576101cd565b8063a9059cbb1461025c578063b6b55f25146105f9578063bfe1092814610623578063cfad57a214610638576101cd565b806380c62199116100d157806380c621991461055d57806395d89b4114610587578063a37607581461059c578063a3ef270b146105cf576101cd565b806356765c51146104e257806370a08231146104f757806375619ab51461052a576101cd565b806323b872dd11610164578063399231e31161013e578063399231e31461041f57806343f23af41461044957806344a084111461047c57806351cff8d9146104af576101cd565b806323b872dd1461037e57806327e235e3146103c1578063313ce567146103f4576101cd565b806312d43a51116101a057806312d43a51146102d0578063141ebd831461030157806318160ddd146103345780631e83409a14610349576101cd565b806306fdde03146101d2578063095ea7b31461025c5780630ebb172a146102a9576101cd565b366101cd57005b600080fd5b3480156101de57600080fd5b506101e7610703565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610221578181015183820152602001610209565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026857600080fd5b506102956004803603604081101561027f57600080fd5b506001600160a01b03813516906020013561072d565b604080519115158252519081900360200190f35b3480156102b557600080fd5b506102be61077c565b60408051918252519081900360200190f35b3480156102dc57600080fd5b506102e5610783565b604080516001600160a01b039092168252519081900360200190f35b34801561030d57600080fd5b506102be6004803603602081101561032457600080fd5b50356001600160a01b0316610792565b34801561034057600080fd5b506102be6107a4565b34801561035557600080fd5b5061037c6004803603602081101561036c57600080fd5b50356001600160a01b03166107aa565b005b34801561038a57600080fd5b50610295600480360360608110156103a157600080fd5b506001600160a01b0381358116916020810135909116906040013561072d565b3480156103cd57600080fd5b506102be600480360360208110156103e457600080fd5b50356001600160a01b031661090c565b34801561040057600080fd5b5061040961091e565b6040805160ff9092168252519081900360200190f35b34801561042b57600080fd5b506102be6004803603602081101561044257600080fd5b5035610923565b34801561045557600080fd5b5061037c6004803603602081101561046c57600080fd5b50356001600160a01b0316610935565b34801561048857600080fd5b506102be6004803603602081101561049f57600080fd5b50356001600160a01b03166109a2565b3480156104bb57600080fd5b5061037c600480360360208110156104d257600080fd5b50356001600160a01b03166109b4565b3480156104ee57600080fd5b506102be610a0b565b34801561050357600080fd5b506102be6004803603602081101561051a57600080fd5b50356001600160a01b0316610a12565b34801561053657600080fd5b5061037c6004803603602081101561054d57600080fd5b50356001600160a01b0316610a2d565b34801561056957600080fd5b5061037c6004803603602081101561058057600080fd5b5035610aa5565b34801561059357600080fd5b506101e7610c60565b3480156105a857600080fd5b506102be600480360360208110156105bf57600080fd5b50356001600160a01b0316610c83565b3480156105db57600080fd5b506102be600480360360208110156105f257600080fd5b5035610c95565b34801561060557600080fd5b5061037c6004803603602081101561061c57600080fd5b5035610caa565b34801561062f57600080fd5b506102e5610eb5565b34801561064457600080fd5b5061037c6004803603602081101561065b57600080fd5b50356001600160a01b0316610ec4565b34801561067757600080fd5b506102be6004803603604081101561068e57600080fd5b506001600160a01b0381358116916020013516610f6e565b3480156106b257600080fd5b506102be600480360360208110156106c957600080fd5b50356001600160a01b0316610f76565b3480156106e557600080fd5b506102be610f88565b3480156106fa57600080fd5b506102e5610f8e565b6040518060400160405280600e81526020016d1615925608151a5b5955985d5b1d60921b81525081565b6040805162461bcd60e51b815260206004820152601c60248201527f54696d655661756c743a206e6f6e2d7472616e736665727261626c65000000006044820152905160009181900360640190fd5b62093a8081565b6002546001600160a01b031681565b60066020526000908152604090205481565b60045481565b600260005414156107f0576040805162461bcd60e51b815260206004820152601f6024820152600080516020611762833981519152604482015290519081900360640190fd5b600260005533610801816001610f9d565b6001600160a01b038082166000908152600a60205260408082208054908390559051909285169083908381818185875af1925050503d8060008114610862576040519150601f19603f3d011682016040523d82523d6000602084013e610867565b606091505b50509050806108bd576040805162461bcd60e51b815260206004820152601a60248201527f54696d655661756c743a207472616e73666572206661696c6564000000000000604482015290519081900360640190fd5b604080516001600160a01b03861681526020810184905281517f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4929181900390910190a1505060016000555050565b60056020526000908152604090205481565b601281565b60086020526000908152604090205481565b6002600054141561097b576040805162461bcd60e51b815260206004820152601f6024820152600080516020611762833981519152604482015290519081900360640190fd5b60026000908155339061098f908290610f9d565b610999818361113f565b50506001600055565b600b6020526000908152604090205481565b600260005414156109fa576040805162461bcd60e51b815260206004820152601f6024820152600080516020611762833981519152604482015290519081900360640190fd5b60026000553361098f816001610f9d565b6202a30081565b6001600160a01b031660009081526005602052604090205490565b6002546001600160a01b03163314610a83576040805162461bcd60e51b81526020600482015260146024820152732a34b6b2ab30bab63a1d103337b93134b23232b760611b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60026000541415610aeb576040805162461bcd60e51b815260206004820152601f6024820152600080516020611762833981519152604482015290519081900360640190fd5b60026000553381610b43576040805162461bcd60e51b815260206004820152601e60248201527f54696d655661756c743a20696e73756666696369656e7420616d6f756e740000604482015290519081900360640190fd5b610b4c81610a12565b821115610ba0576040805162461bcd60e51b815260206004820152601f60248201527f54696d655661756c743a20696e73756666696369656e742062616c616e636500604482015290519081900360640190fd5b6001600160a01b038116600090815260066020908152604080832054600790925290912054610bcf9190611486565b6000610bde4262093a80611500565b6001600160a01b0383166000908152600660209081526040808320849055600790915290208490559050610c128184611561565b604080516001600160a01b03841681526020810185905281517f4fb257f8d5314f48edb1236bb3e767d267f4742612a05ee6b7990637af9dc148929181900390910190a15050600160005550565b604051806040016040528060078152602001662c2b24ac1d2a2b60c91b81525081565b60076020526000908152604090205481565b6000610ca4826202a300611588565b92915050565b60026000541415610cf0576040805162461bcd60e51b815260206004820152601f6024820152600080516020611762833981519152604482015290519081900360640190fd5b600260005580610d47576040805162461bcd60e51b815260206004820152601e60248201527f54696d655661756c743a20696e73756666696369656e7420616d6f756e740000604482015290519081900360640190fd5b33610d53816001610f9d565b600154604080516323b872dd60e01b81526001600160a01b03848116600483015230602483015260448201869052915191909216916323b872dd9160648083019260209291908290030181600087803b158015610daf57600080fd5b505af1158015610dc3573d6000803e3d6000fd5b505050506040513d6020811015610dd957600080fd5b50506001600160a01b038116600090815260056020526040902054610dfe9083611500565b6001600160a01b038216600090815260056020526040902055600454610e249083611500565b600455604080516001600160a01b03831681526020810184905281517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c929181900390910190a16040805183815290516001600160a01b038316916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350506001600055565b6003546001600160a01b031681565b6002546001600160a01b03163314610f1a576040805162461bcd60e51b81526020600482015260146024820152732a34b6b2ab30bab63a1d103337b93134b23232b760611b604482015290519081900360640190fd5b600280546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f2c5d53cd16ceaf62d39256419d59e80a42575bfc21eab954015ca61b42dbe4619181900360200190a150565b600092915050565b600a6020526000908152604090205481565b60095481565b6001546001600160a01b031681565b6000818015610fb657506003546001600160a01b031615155b1561103a57600360009054906101000a90046001600160a01b03166001600160a01b031663e4fc6b6d6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561100b57600080fd5b505af115801561101f573d6000803e3d6000fd5b505050506040513d602081101561103557600080fd5b505190505b6009546004541580159061104e5750600082115b1561108a576004546110829061107b90611075856c0c9f2c9cd04674edea400000006115ca565b90611588565b8290611500565b600981905590505b8061109657505061113b565b6001600160a01b0384166000908152600b60205260408120549061110f6110f06c0c9f2c9cd04674edea400000006110756110d18787611623565b6001600160a01b038b16600090815260056020526040902054906115ca565b6001600160a01b0388166000908152600a602052604090205490611500565b6001600160a01b0387166000908152600a6020908152604080832093909355600b905220929092555050505b5050565b6001600160a01b0382166000908152600660205260409020544290806111965760405162461bcd60e51b81526004018080602001828103825260238152602001806117f66023913960400191505060405180910390fd5b8082116111d45760405162461bcd60e51b81526004018080602001828103825260288152602001806117826028913960400191505060405180910390fd5b60006111e3826202a300611500565b90508083106112235760405162461bcd60e51b815260040180806020018281038252602b8152602001806117cb602b913960400191505060405180910390fd5b6001600160a01b03851660009081526007602052604090205461124586610a12565b811115611299576040805162461bcd60e51b815260206004820152601e60248201527f54696d655661756c743a20696e73756666696369656e7420616d6f756e740000604482015290519081900360640190fd5b6112a38382611486565b6001600160a01b03861660009081526006602090815260408083208390556007825280832083905560059091529020546112dd9082611623565b6001600160a01b0387166000908152600560205260409020556004546113039082611623565b600490815560015460408051632bc5014b60e21b815290516001600160a01b039092169263af14052c9282820192602092908290030181600087803b15801561134b57600080fd5b505af115801561135f573d6000803e3d6000fd5b505050506040513d602081101561137557600080fd5b50506001546040805163a9059cbb60e01b81526001600160a01b038881166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156113cd57600080fd5b505af11580156113e1573d6000803e3d6000fd5b505050506040513d60208110156113f757600080fd5b5050604080516001600160a01b03881681526020810183905281517f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364929181900390910190a16040805182815290516000916001600160a01b038916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505050505050565b811580611491575080155b1561149b5761113b565b60006114a683610c95565b6000818152600860205260409020549091508211156114d35760009081526008602052604081205561113b565b6000818152600860205260409020546114ec9083611623565b600091825260086020526040909120555050565b60008282018381101561155a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600061156c83610c95565b6000818152600860205260409020549091506114ec9083611500565b600061155a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611665565b6000826115d957506000610ca4565b828202828482816115e657fe5b041461155a5760405162461bcd60e51b81526004018080602001828103825260218152602001806117aa6021913960400191505060405180910390fd5b600061155a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611707565b600081836116f15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156116b657818101518382015260200161169e565b50505050905090810190601f1680156116e35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816116fd57fe5b0495945050505050565b600081848411156117595760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156116b657818101518382015260200161169e565b50505090039056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c0054696d655661756c743a207769746864726177616c2074696d696e67206e6f742072656163686564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7754696d655661756c743a207769746864726177616c2077696e646f7720616c72656164792070617373656454696d655661756c743a207769746864726177616c206e6f7420696e69746961746564a264697066735822122042a1e21608a2898b23c7ed37b7c6d4f6b2fca11b4def7cb71f05331c4ecda56464736f6c634300060c0033

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

0000000000000000000000004bae380b5d762d543d426331b8437926443ae9ec

-----Decoded View---------------
Arg [0] : _token (address): 0x4bAE380B5D762D543d426331b8437926443ae9ec

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004bae380b5d762d543d426331b8437926443ae9ec


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.