ETH Price: $2,633.10 (-0.22%)

Token

WrapFi (WRA)
 

Overview

Max Total Supply

100,000,000 WRA

Holders

49

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
90,000,000 WRA

Value
$0.00
0x7b8e171c656facba7f5b8a8c7ca715aa2c241750
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:
WRAToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity Multiple files format)

File 6 of 6: WRAToken.sol
pragma solidity 0.6.12;

// SPDX-License-Identifier: GPL-3.0-only

import "./ERC20.sol";
import "./Ownable.sol";
import "./SafeMath.sol";

contract WRAToken is ERC20("WrapFi", "WRA"), Ownable {
    using SafeMath for uint256;

    uint256 public NUMBER_BLOCKS_PER_YEAR;
    uint256 public startAtBlock;

    address public genesisLaunchAddress;
    address public stakingReserveAddress;
    address public wrapFiUsersAddress;
    address public devFundAddress;
    address public ecoFundAddress;

    mapping (address => mapping (uint256 => bool)) public unLockResult;
    mapping (address => mapping (uint256 => uint256)) public unLockInfo;

    constructor(
        uint256 _numberBlocksPerYear,
        address _genesisLaunchAddress,
        address _stakingReserveAddress,
        address _wrapFiUsersAddress,
        address _devFundAddress,
        address _ecoFundAddress) public {
        NUMBER_BLOCKS_PER_YEAR = _numberBlocksPerYear > 0 ? _numberBlocksPerYear : 2254114;
        genesisLaunchAddress = _genesisLaunchAddress;
        stakingReserveAddress = _stakingReserveAddress;
        wrapFiUsersAddress = _wrapFiUsersAddress;
        devFundAddress = _devFundAddress;
        ecoFundAddress = _ecoFundAddress;
        startAtBlock = block.number;
        initUnLockInfo();
        _mint(msg.sender, 90000000e18);
        _mint(genesisLaunchAddress, 10000000e18);
    }

    function initUnLockInfo() internal {
        unLockInfo[stakingReserveAddress][1] = 60;
        unLockInfo[stakingReserveAddress][2] = 45;
        unLockInfo[stakingReserveAddress][3] = 30;
        unLockInfo[stakingReserveAddress][4] = 15;

        unLockInfo[wrapFiUsersAddress][1] = 240;
        unLockInfo[wrapFiUsersAddress][2] = 180;
        unLockInfo[wrapFiUsersAddress][3] = 120;
        unLockInfo[wrapFiUsersAddress][4] = 60;

        unLockInfo[devFundAddress][1] = 40;
        unLockInfo[devFundAddress][2] = 30;
        unLockInfo[devFundAddress][3] = 20;
        unLockInfo[devFundAddress][4] = 10;

        unLockInfo[ecoFundAddress][1] = 20;
        unLockInfo[ecoFundAddress][2] = 15;
        unLockInfo[ecoFundAddress][3] = 10;
        unLockInfo[ecoFundAddress][4] = 5;
    }

    function unLockForStakingReserve() public onlyOwner {
        unLockFor(stakingReserveAddress);
    }

    function unLockForWrapFiUsers() public onlyOwner {
        unLockFor(wrapFiUsersAddress);
    }

    function unLockForDevFund() public onlyOwner {
        unLockFor(devFundAddress);
    }

    function unLockForEcoFund() public onlyOwner {
        unLockFor(ecoFundAddress);
    }

    function unLockFor(address _to) private {
        uint256 blockNow = block.number;
        uint256 yearNow = blockNow.sub(startAtBlock).div(NUMBER_BLOCKS_PER_YEAR);
        uint256 amount;
        for (uint256 i = 1; i < 5; i++) {
            if (i > yearNow) {
                break;
            }
            if (!unLockResult[_to][i]) {
                amount = amount.add(totalSupply().mul(unLockInfo[_to][i]).div(1000));
                unLockResult[_to][i] = true;
            }
        }
        if (amount > 0){
            transfer(_to, amount);
        }
    }
}

File 1 of 6: Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";
import "./IERC20.sol";
import "./SafeMath.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

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

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

File 4 of 6: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_numberBlocksPerYear","type":"uint256"},{"internalType":"address","name":"_genesisLaunchAddress","type":"address"},{"internalType":"address","name":"_stakingReserveAddress","type":"address"},{"internalType":"address","name":"_wrapFiUsersAddress","type":"address"},{"internalType":"address","name":"_devFundAddress","type":"address"},{"internalType":"address","name":"_ecoFundAddress","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"NUMBER_BLOCKS_PER_YEAR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devFundAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ecoFundAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"genesisLaunchAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingReserveAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startAtBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unLockForDevFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unLockForEcoFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unLockForStakingReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unLockForWrapFiUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"unLockInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"unLockResult","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wrapFiUsersAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200189538038062001895833981810160405260c08110156200003757600080fd5b5080516020808301516040808501516060860151608087015160a09097015183518085018552600681526557726170466960d01b818801908152855180870190965260038087526257524160e81b98870198909852815198999698949793969592949193620000a9929091906200051d565b508051620000bf9060049060208401906200051d565b50506005805460ff19166012179055506000620000db620001f3565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000861162000144576222652262000146565b855b600655600880546001600160a01b03199081166001600160a01b0388811691909117909255600980548216878416179055600a80548216868416179055600b80548216858416179055600c805490911691831691909117905543600755620001ad620001f7565b620001c4336a4a723dc6b40b8a9a000000620003a7565b600854620001e7906001600160a01b03166a084595161401484a000000620003a7565b505050505050620005b9565b3390565b600980546001600160a01b039081166000908152600e602081815260408084206001808652908352818520603c908190558754871686528484528286206002808852908552838720602d90558854881687528585528387206003808952908652848820601e908190559954891688528686528488206004808a52908752858920600f90819055600a80548c168b52898952878b20878c528952878b2060f0905580548c168b52898952878b20858c528952878b2060b4905580548c168b52898952878b20848c528952878b206078905580548c168b52898952878b20838c528952878b2095909555600b80548c168b52898952878b20878c528952878b206028905580548c168b52898952878b20858c528952878b209c909c558b548b168a52888852868a20838b528852868a206014908190559b548b168a52888852868a20828b528852868a20859055600c80548c168b52898952878b20968b52958852868a209b909b5584548a168952878752858920928952918652848820999099558254881687528585528387209887529784528286205554909416835290815282822093825292909252902060059055565b6001600160a01b03821662000403576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200041160008383620004b6565b6200042d81600254620004bb60201b62000bbe1790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200046091839062000bbe620004bb821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b60008282018381101562000516576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200056057805160ff191683800117855562000590565b8280016001018555821562000590579182015b828111156200059057825182559160200191906001019062000573565b506200059e929150620005a2565b5090565b5b808211156200059e5760008155600101620005a3565b6112cc80620005c96000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80637265d040116100f9578063a9059cbb11610097578063c890abe711610071578063c890abe714610435578063d1a2acc714610461578063dd62ed3e14610469578063f2fde38b14610497576101a9565b8063a9059cbb146103f9578063b480f6ad14610425578063bdc9094b1461042d576101a9565b806395d89b41116100d357806395d89b41146103b5578063a44a0927146103bd578063a457c2d7146103c5578063a8703f84146103f1576101a9565b80637265d04014610381578063797557c2146103895780638da5cb5b146103ad576101a9565b8063395093511161016657806347a0f9881161014057806347a0f988146103435780636971dcb21461034b57806370a0823114610353578063715018a614610379576101a9565b806339509351146102e15780633aa9bdc01461030d578063473ef31e14610317576101a9565b806306fdde03146101ae578063095ea7b31461022b57806318160ddd1461026b578063188741241461028557806323b872dd1461028d578063313ce567146102c3575b600080fd5b6101b66104bd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f05781810151838201526020016101d8565b50505050905090810190601f16801561021d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102576004803603604081101561024157600080fd5b506001600160a01b038135169060200135610553565b604080519115158252519081900360200190f35b610273610571565b60408051918252519081900360200190f35b610273610577565b610257600480360360608110156102a357600080fd5b506001600160a01b0381358116916020810135909116906040013561057d565b6102cb610604565b6040805160ff9092168252519081900360200190f35b610257600480360360408110156102f757600080fd5b506001600160a01b03813516906020013561060d565b61031561065b565b005b6102576004803603604081101561032d57600080fd5b506001600160a01b0381351690602001356106d4565b6103156106f4565b61031561076b565b6102736004803603602081101561036957600080fd5b50356001600160a01b03166107e2565b6103156107fd565b6102736108af565b6103916108b5565b604080516001600160a01b039092168252519081900360200190f35b6103916108c4565b6101b66108d8565b610315610939565b610257600480360360408110156103db57600080fd5b506001600160a01b0381351690602001356109b0565b610391610a18565b6102576004803603604081101561040f57600080fd5b506001600160a01b038135169060200135610a27565b610391610a3b565b610391610a4a565b6102736004803603604081101561044b57600080fd5b506001600160a01b038135169060200135610a59565b610391610a76565b6102736004803603604081101561047f57600080fd5b506001600160a01b0381358116916020013516610a85565b610315600480360360208110156104ad57600080fd5b50356001600160a01b0316610ab0565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105495780601f1061051e57610100808354040283529160200191610549565b820191906000526020600020905b81548152906001019060200180831161052c57829003601f168201915b5050505050905090565b6000610567610560610c1f565b8484610c23565b5060015b92915050565b60025490565b60065481565b600061058a848484610d0f565b6105fa84610596610c1f565b6105f5856040518060600160405280602881526020016111e1602891396001600160a01b038a166000908152600160205260408120906105d4610c1f565b6001600160a01b031681526020810191909152604001600020549190610e6a565b610c23565b5060019392505050565b60055460ff1690565b600061056761061a610c1f565b846105f5856001600061062b610c1f565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610bbe565b610663610c1f565b6001600160a01b03166106746108c4565b6001600160a01b0316146106bd576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b600c546106d2906001600160a01b0316610f01565b565b600d60209081526000928352604080842090915290825290205460ff1681565b6106fc610c1f565b6001600160a01b031661070d6108c4565b6001600160a01b031614610756576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b600a546106d2906001600160a01b0316610f01565b610773610c1f565b6001600160a01b03166107846108c4565b6001600160a01b0316146107cd576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b600b546106d2906001600160a01b0316610f01565b6001600160a01b031660009081526020819052604090205490565b610805610c1f565b6001600160a01b03166108166108c4565b6001600160a01b03161461085f576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b60075481565b6009546001600160a01b031681565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105495780601f1061051e57610100808354040283529160200191610549565b610941610c1f565b6001600160a01b03166109526108c4565b6001600160a01b03161461099b576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b6009546106d2906001600160a01b0316610f01565b60006105676109bd610c1f565b846105f58560405180606001604052806025815260200161127260259139600160006109e7610c1f565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e6a565b6008546001600160a01b031681565b6000610567610a34610c1f565b8484610d0f565b600b546001600160a01b031681565b600a546001600160a01b031681565b600e60209081526000928352604080842090915290825290205481565b600c546001600160a01b031681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ab8610c1f565b6001600160a01b0316610ac96108c4565b6001600160a01b031614610b12576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b6001600160a01b038116610b575760405162461bcd60e51b81526004018080602001828103825260268152602001806111526026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600082820183811015610c18576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610c685760405162461bcd60e51b815260040180806020018281038252602481526020018061124e6024913960400191505060405180910390fd5b6001600160a01b038216610cad5760405162461bcd60e51b81526004018080602001828103825260228152602001806111786022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610d545760405162461bcd60e51b81526004018080602001828103825260258152602001806112296025913960400191505060405180910390fd5b6001600160a01b038216610d995760405162461bcd60e51b815260040180806020018281038252602381526020018061112f6023913960400191505060405180910390fd5b610da483838361100c565b610de18160405180606001604052806026815260200161119a602691396001600160a01b0386166000908152602081905260409020549190610e6a565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610e109082610bbe565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610ef95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ebe578181015183820152602001610ea6565b50505050905090810190601f168015610eeb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60004390506000610f29600654610f236007548561101190919063ffffffff16565b9061106e565b9050600060015b6005811015610ff35782811115610f4657610ff3565b6001600160a01b0385166000908152600d6020908152604080832084845290915290205460ff16610feb576001600160a01b0385166000908152600e60209081526040808320848452909152902054610fba90610fb3906103e890610f2390610fad610571565b906110d5565b8390610bbe565b6001600160a01b0386166000908152600d602090815260408083208584529091529020805460ff1916600117905591505b600101610f30565b508015611006576110048482610a27565b505b50505050565b505050565b600082821115611068576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008082116110c4576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816110cd57fe5b049392505050565b6000826110e45750600061056b565b828202828482816110f157fe5b0414610c185760405162461bcd60e51b81526004018080602001828103825260218152602001806111c06021913960400191505060405180910390fdfe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204acbbfbdcc4e689ff34eb181ff27ebb20581d7ebf04daa9ecbc113b16e17455364736f6c634300060c00330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000717f46d308490ca58906ed89047de001eef7c58d0000000000000000000000005d87db2e88aafb381015ee3c2762b6e7c68c43f0000000000000000000000000971463abe5b9e8d556693f3f0c36d9ea3027fdfd0000000000000000000000009019beb14df5787245737f9b3e3b506ffa1595bc0000000000000000000000002f3da94b87e2f190f3df9e553f7f14c7d0c3e87c

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80637265d040116100f9578063a9059cbb11610097578063c890abe711610071578063c890abe714610435578063d1a2acc714610461578063dd62ed3e14610469578063f2fde38b14610497576101a9565b8063a9059cbb146103f9578063b480f6ad14610425578063bdc9094b1461042d576101a9565b806395d89b41116100d357806395d89b41146103b5578063a44a0927146103bd578063a457c2d7146103c5578063a8703f84146103f1576101a9565b80637265d04014610381578063797557c2146103895780638da5cb5b146103ad576101a9565b8063395093511161016657806347a0f9881161014057806347a0f988146103435780636971dcb21461034b57806370a0823114610353578063715018a614610379576101a9565b806339509351146102e15780633aa9bdc01461030d578063473ef31e14610317576101a9565b806306fdde03146101ae578063095ea7b31461022b57806318160ddd1461026b578063188741241461028557806323b872dd1461028d578063313ce567146102c3575b600080fd5b6101b66104bd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f05781810151838201526020016101d8565b50505050905090810190601f16801561021d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102576004803603604081101561024157600080fd5b506001600160a01b038135169060200135610553565b604080519115158252519081900360200190f35b610273610571565b60408051918252519081900360200190f35b610273610577565b610257600480360360608110156102a357600080fd5b506001600160a01b0381358116916020810135909116906040013561057d565b6102cb610604565b6040805160ff9092168252519081900360200190f35b610257600480360360408110156102f757600080fd5b506001600160a01b03813516906020013561060d565b61031561065b565b005b6102576004803603604081101561032d57600080fd5b506001600160a01b0381351690602001356106d4565b6103156106f4565b61031561076b565b6102736004803603602081101561036957600080fd5b50356001600160a01b03166107e2565b6103156107fd565b6102736108af565b6103916108b5565b604080516001600160a01b039092168252519081900360200190f35b6103916108c4565b6101b66108d8565b610315610939565b610257600480360360408110156103db57600080fd5b506001600160a01b0381351690602001356109b0565b610391610a18565b6102576004803603604081101561040f57600080fd5b506001600160a01b038135169060200135610a27565b610391610a3b565b610391610a4a565b6102736004803603604081101561044b57600080fd5b506001600160a01b038135169060200135610a59565b610391610a76565b6102736004803603604081101561047f57600080fd5b506001600160a01b0381358116916020013516610a85565b610315600480360360208110156104ad57600080fd5b50356001600160a01b0316610ab0565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105495780601f1061051e57610100808354040283529160200191610549565b820191906000526020600020905b81548152906001019060200180831161052c57829003601f168201915b5050505050905090565b6000610567610560610c1f565b8484610c23565b5060015b92915050565b60025490565b60065481565b600061058a848484610d0f565b6105fa84610596610c1f565b6105f5856040518060600160405280602881526020016111e1602891396001600160a01b038a166000908152600160205260408120906105d4610c1f565b6001600160a01b031681526020810191909152604001600020549190610e6a565b610c23565b5060019392505050565b60055460ff1690565b600061056761061a610c1f565b846105f5856001600061062b610c1f565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610bbe565b610663610c1f565b6001600160a01b03166106746108c4565b6001600160a01b0316146106bd576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b600c546106d2906001600160a01b0316610f01565b565b600d60209081526000928352604080842090915290825290205460ff1681565b6106fc610c1f565b6001600160a01b031661070d6108c4565b6001600160a01b031614610756576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b600a546106d2906001600160a01b0316610f01565b610773610c1f565b6001600160a01b03166107846108c4565b6001600160a01b0316146107cd576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b600b546106d2906001600160a01b0316610f01565b6001600160a01b031660009081526020819052604090205490565b610805610c1f565b6001600160a01b03166108166108c4565b6001600160a01b03161461085f576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b60075481565b6009546001600160a01b031681565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105495780601f1061051e57610100808354040283529160200191610549565b610941610c1f565b6001600160a01b03166109526108c4565b6001600160a01b03161461099b576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b6009546106d2906001600160a01b0316610f01565b60006105676109bd610c1f565b846105f58560405180606001604052806025815260200161127260259139600160006109e7610c1f565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e6a565b6008546001600160a01b031681565b6000610567610a34610c1f565b8484610d0f565b600b546001600160a01b031681565b600a546001600160a01b031681565b600e60209081526000928352604080842090915290825290205481565b600c546001600160a01b031681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ab8610c1f565b6001600160a01b0316610ac96108c4565b6001600160a01b031614610b12576040805162461bcd60e51b81526020600482018190526024820152600080516020611209833981519152604482015290519081900360640190fd5b6001600160a01b038116610b575760405162461bcd60e51b81526004018080602001828103825260268152602001806111526026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600082820183811015610c18576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610c685760405162461bcd60e51b815260040180806020018281038252602481526020018061124e6024913960400191505060405180910390fd5b6001600160a01b038216610cad5760405162461bcd60e51b81526004018080602001828103825260228152602001806111786022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610d545760405162461bcd60e51b81526004018080602001828103825260258152602001806112296025913960400191505060405180910390fd5b6001600160a01b038216610d995760405162461bcd60e51b815260040180806020018281038252602381526020018061112f6023913960400191505060405180910390fd5b610da483838361100c565b610de18160405180606001604052806026815260200161119a602691396001600160a01b0386166000908152602081905260409020549190610e6a565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610e109082610bbe565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610ef95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ebe578181015183820152602001610ea6565b50505050905090810190601f168015610eeb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60004390506000610f29600654610f236007548561101190919063ffffffff16565b9061106e565b9050600060015b6005811015610ff35782811115610f4657610ff3565b6001600160a01b0385166000908152600d6020908152604080832084845290915290205460ff16610feb576001600160a01b0385166000908152600e60209081526040808320848452909152902054610fba90610fb3906103e890610f2390610fad610571565b906110d5565b8390610bbe565b6001600160a01b0386166000908152600d602090815260408083208584529091529020805460ff1916600117905591505b600101610f30565b508015611006576110048482610a27565b505b50505050565b505050565b600082821115611068576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008082116110c4576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816110cd57fe5b049392505050565b6000826110e45750600061056b565b828202828482816110f157fe5b0414610c185760405162461bcd60e51b81526004018080602001828103825260218152602001806111c06021913960400191505060405180910390fdfe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204acbbfbdcc4e689ff34eb181ff27ebb20581d7ebf04daa9ecbc113b16e17455364736f6c634300060c0033

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

0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000717f46d308490ca58906ed89047de001eef7c58d0000000000000000000000005d87db2e88aafb381015ee3c2762b6e7c68c43f0000000000000000000000000971463abe5b9e8d556693f3f0c36d9ea3027fdfd0000000000000000000000009019beb14df5787245737f9b3e3b506ffa1595bc0000000000000000000000002f3da94b87e2f190f3df9e553f7f14c7d0c3e87c

-----Decoded View---------------
Arg [0] : _numberBlocksPerYear (uint256): 0
Arg [1] : _genesisLaunchAddress (address): 0x717f46D308490cA58906ED89047de001eEF7C58D
Arg [2] : _stakingReserveAddress (address): 0x5D87db2e88aAFb381015ee3C2762B6e7c68C43F0
Arg [3] : _wrapFiUsersAddress (address): 0x971463abE5B9e8d556693F3f0c36D9Ea3027FdFd
Arg [4] : _devFundAddress (address): 0x9019BEB14df5787245737F9b3e3B506fFA1595BC
Arg [5] : _ecoFundAddress (address): 0x2f3da94B87e2f190F3dF9e553F7f14c7d0C3e87C

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 000000000000000000000000717f46d308490ca58906ed89047de001eef7c58d
Arg [2] : 0000000000000000000000005d87db2e88aafb381015ee3c2762b6e7c68c43f0
Arg [3] : 000000000000000000000000971463abe5b9e8d556693f3f0c36d9ea3027fdfd
Arg [4] : 0000000000000000000000009019beb14df5787245737f9b3e3b506ffa1595bc
Arg [5] : 0000000000000000000000002f3da94b87e2f190f3df9e553f7f14c7d0c3e87c


Deployed Bytecode Sourcemap

139:3017:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2149:89:1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4225:166;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4225:166:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3216:106;;;:::i;:::-;;;;;;;;;;;;;;;;231:37:5;;;:::i;4858:317:1:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4858:317:1;;;;;;;;;;;;;;;;;:::i;3067:89::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5570:215;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5570:215:1;;;;;;;;:::i;2491:87:5:-;;;:::i;:::-;;501:66;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;501:66:5;;;;;;;;:::i;2297:95::-;;;:::i;2398:87::-;;;:::i;3380:125:1:-;;;;;;;;;;;;;;;;-1:-1:-1;3380:125:1;-1:-1:-1;;;;;3380:125:1;;:::i;1710:145:3:-;;;:::i;274:27:5:-;;;:::i;349:36::-;;;:::i;:::-;;;;-1:-1:-1;;;;;349:36:5;;;;;;;;;;;;;;1078:85:3;;;:::i;2351:93:1:-;;;:::i;2190:101:5:-;;;:::i;6272:266:1:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;6272:266:1;;;;;;;;:::i;308:35:5:-;;;:::i;3708:172:1:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3708:172:1;;;;;;;;:::i;430:29:5:-;;;:::i;391:33::-;;;:::i;573:67::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;573:67:5;;;;;;;;:::i;465:29::-;;;:::i;3938:149:1:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3938:149:1;;;;;;;;;;:::i;2004:240:3:-;;;;;;;;;;;;;;;;-1:-1:-1;2004:240:3;-1:-1:-1;;;;;2004:240:3;;:::i;2149:89:1:-;2226:5;2219:12;;;;;;;;-1:-1:-1;;2219:12:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2194:13;;2219:12;;2226:5;;2219:12;;2226:5;2219:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2149:89;:::o;4225:166::-;4308:4;4324:39;4333:12;:10;:12::i;:::-;4347:7;4356:6;4324:8;:39::i;:::-;-1:-1:-1;4380:4:1;4225:166;;;;;:::o;3216:106::-;3303:12;;3216:106;:::o;231:37:5:-;;;;:::o;4858:317:1:-;4964:4;4980:36;4990:6;4998:9;5009:6;4980:9;:36::i;:::-;5026:121;5035:6;5043:12;:10;:12::i;:::-;5057:89;5095:6;5057:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5057:19:1;;;;;;:11;:19;;;;;;5077:12;:10;:12::i;:::-;-1:-1:-1;;;;;5057:33:1;;;;;;;;;;;;-1:-1:-1;5057:33:1;;;:89;:37;:89::i;:::-;5026:8;:121::i;:::-;-1:-1:-1;5164:4:1;4858:317;;;;;:::o;3067:89::-;3140:9;;;;3067:89;:::o;5570:215::-;5658:4;5674:83;5683:12;:10;:12::i;:::-;5697:7;5706:50;5745:10;5706:11;:25;5718:12;:10;:12::i;:::-;-1:-1:-1;;;;;5706:25:1;;;;;;;;;;;;;;;;;-1:-1:-1;5706:25:1;;;:34;;;;;;;;;;;:38;:50::i;2491:87:5:-;1301:12:3;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:3;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:3;;1282:68;;;;;-1:-1:-1;;;1282:68:3;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:3;;;;;;;;;;;;;;;2556:14:5::1;::::0;2546:25:::1;::::0;-1:-1:-1;;;;;2556:14:5::1;2546:9;:25::i;:::-;2491:87::o:0;501:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2297:95::-;1301:12:3;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:3;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:3;;1282:68;;;;;-1:-1:-1;;;1282:68:3;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:3;;;;;;;;;;;;;;;2366:18:5::1;::::0;2356:29:::1;::::0;-1:-1:-1;;;;;2366:18:5::1;2356:9;:29::i;2398:87::-:0;1301:12:3;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:3;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:3;;1282:68;;;;;-1:-1:-1;;;1282:68:3;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:3;;;;;;;;;;;;;;;2463:14:5::1;::::0;2453:25:::1;::::0;-1:-1:-1;;;;;2463:14:5::1;2453:9;:25::i;3380:125:1:-:0;-1:-1:-1;;;;;3480:18:1;3454:7;3480:18;;;;;;;;;;;;3380:125::o;1710:145:3:-;1301:12;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:3;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:3;;1282:68;;;;;-1:-1:-1;;;1282:68:3;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:3;;;;;;;;;;;;;;;1800:6:::1;::::0;1779:40:::1;::::0;1816:1:::1;::::0;1800:6:::1;::::0;::::1;-1:-1:-1::0;;;;;1800:6:3::1;::::0;1779:40:::1;::::0;1816:1;;1779:40:::1;1829:6;:19:::0;;-1:-1:-1;;;;;;1829:19:3::1;::::0;;1710:145::o;274:27:5:-;;;;:::o;349:36::-;;;-1:-1:-1;;;;;349:36:5;;:::o;1078:85:3:-;1150:6;;;;;-1:-1:-1;;;;;1150:6:3;;1078:85::o;2351:93:1:-;2430:7;2423:14;;;;;;;;-1:-1:-1;;2423:14:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2398:13;;2423:14;;2430:7;;2423:14;;2430:7;2423:14;;;;;;;;;;;;;;;;;;;;;;;;2190:101:5;1301:12:3;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:3;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:3;;1282:68;;;;;-1:-1:-1;;;1282:68:3;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:3;;;;;;;;;;;;;;;2262:21:5::1;::::0;2252:32:::1;::::0;-1:-1:-1;;;;;2262:21:5::1;2252:9;:32::i;6272:266:1:-:0;6365:4;6381:129;6390:12;:10;:12::i;:::-;6404:7;6413:96;6452:15;6413:96;;;;;;;;;;;;;;;;;:11;:25;6425:12;:10;:12::i;:::-;-1:-1:-1;;;;;6413:25:1;;;;;;;;;;;;;;;;;-1:-1:-1;6413:25:1;;;:34;;;;;;;;;;;:96;:38;:96::i;308:35:5:-;;;-1:-1:-1;;;;;308:35:5;;:::o;3708:172:1:-;3794:4;3810:42;3820:12;:10;:12::i;:::-;3834:9;3845:6;3810:9;:42::i;430:29:5:-;;;-1:-1:-1;;;;;430:29:5;;:::o;391:33::-;;;-1:-1:-1;;;;;391:33:5;;:::o;573:67::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;465:29::-;;;-1:-1:-1;;;;;465:29:5;;:::o;3938:149:1:-;-1:-1:-1;;;;;4053:18:1;;;4027:7;4053:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3938:149::o;2004:240:3:-;1301:12;:10;:12::i;:::-;-1:-1:-1;;;;;1290:23:3;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1290:23:3;;1282:68;;;;;-1:-1:-1;;;1282:68:3;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1282:68:3;;;;;;;;;;;;;;;-1:-1:-1;;;;;2092:22:3;::::1;2084:73;;;;-1:-1:-1::0;;;2084:73:3::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2193:6;::::0;2172:38:::1;::::0;-1:-1:-1;;;;;2172:38:3;;::::1;::::0;2193:6:::1;::::0;::::1;;::::0;2172:38:::1;::::0;;;::::1;2220:6;:17:::0;;-1:-1:-1;;;;;2220:17:3;;::::1;;;-1:-1:-1::0;;;;;;2220:17:3;;::::1;::::0;;;::::1;::::0;;2004:240::o;2690:175:4:-;2748:7;2779:5;;;2802:6;;;;2794:46;;;;;-1:-1:-1;;;2794:46:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;2857:1;2690:175;-1:-1:-1;;;2690:175:4:o;598:104:0:-;685:10;598:104;:::o;9336:340:1:-;-1:-1:-1;;;;;9437:19:1;;9429:68;;;;-1:-1:-1;;;9429:68:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9515:21:1;;9507:68;;;;-1:-1:-1;;;9507:68:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9586:18:1;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;9637:32;;;;;;;;;;;;;;;;;9336:340;;;:::o;7012:530::-;-1:-1:-1;;;;;7117:20:1;;7109:70;;;;-1:-1:-1;;;7109:70:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7197:23:1;;7189:71;;;;-1:-1:-1;;;7189:71:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7271:47;7292:6;7300:9;7311:6;7271:20;:47::i;:::-;7349:71;7371:6;7349:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7349:17:1;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;7329:17:1;;;:9;:17;;;;;;;;;;;:91;;;;7453:20;;;;;;;:32;;7478:6;7453:24;:32::i;:::-;-1:-1:-1;;;;;7430:20:1;;;:9;:20;;;;;;;;;;;;:55;;;;7500:35;;;;;;;7430:20;;7500:35;;;;;;;;;;;;;7012:530;;;:::o;5432:163:4:-;5518:7;5553:12;5545:6;;;;5537:29;;;;-1:-1:-1;;;5537:29:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5583:5:4;;;5432:163::o;2584:570:5:-;2634:16;2653:12;2634:31;;2675:15;2693:54;2724:22;;2693:26;2706:12;;2693:8;:12;;:26;;;;:::i;:::-;:30;;:54::i;:::-;2675:72;-1:-1:-1;2757:14:5;2798:1;2781:297;2805:1;2801;:5;2781:297;;;2835:7;2831:1;:11;2827:55;;;2862:5;;2827:55;-1:-1:-1;;;;;2900:17:5;;;;;;:12;:17;;;;;;;;:20;;;;;;;;;;;2895:173;;-1:-1:-1;;;;;2978:15:5;;;;;;:10;:15;;;;;;;;:18;;;;;;;;;2949:59;;2960:47;;3002:4;;2960:37;;:13;:11;:13::i;:::-;:17;;:37::i;:47::-;2949:6;;:10;:59::i;:::-;-1:-1:-1;;;;;3026:17:5;;;;;;:12;:17;;;;;;;;:20;;;;;;;;:27;;-1:-1:-1;;3026:27:5;3049:4;3026:27;;;2940:68;-1:-1:-1;2895:173:5;2808:3;;2781:297;;;-1:-1:-1;3091:10:5;;3087:61;;3116:21;3125:3;3130:6;3116:8;:21::i;:::-;;3087:61;2584:570;;;;:::o;10682:92:1:-;;;;:::o;3136:155:4:-;3194:7;3226:1;3221;:6;;3213:49;;;;;-1:-1:-1;;;3213:49:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3279:5:4;;;3136:155::o;4217:150::-;4275:7;4306:1;4302;:5;4294:44;;;;;-1:-1:-1;;;4294:44:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;4359:1;4355;:5;;;;;;;4217:150;-1:-1:-1;;;4217:150:4:o;3538:215::-;3596:7;3619:6;3615:20;;-1:-1:-1;3634:1:4;3627:8;;3615:20;3657:5;;;3661:1;3657;:5;:1;3680:5;;;;;:10;3672:56;;;;-1:-1:-1;;;3672:56:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://4acbbfbdcc4e689ff34eb181ff27ebb20581d7ebf04daa9ecbc113b16e174553
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.