MATIC Price: $0.718818 (-0.96%)
Gas: 40 GWei
 

Overview

Max Total Supply

1,000,000,000 DE

Holders

4,919 ( 0.020%)

Total Transfers

-

Market

Price

$0.21 @ 0.291840 MATIC (-1.41%)

Onchain Market Cap

$209,780,000.00

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

DeNet offers a user-friendly Web3 measure against global data storage issues. The protocol eliminates the need for centralized data centers and promotes beneficial contributions to ecology by utilizing existing devices in a rational and sustainable way.

Contract Source Code Verified (Exact Match)

Contract Name:
DeNetFileToken

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 11 : DeNetFileToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

/**
    ***********************************************************
    ** DeNet File Token - $DE
    ** Governance Utility Token for DeNet DAO originzed to
    ** manages the DeNet Storage Protocol (DeNet SP).
    ** 
    ** Target Usage - DAO.
    **
    ** Utility Token Targets:
    **     - Voting for functonality inside DeNet Storage
    **       Protocol (Proof Of Storage)
    **     - Using inside issue new gas token (TB/Year)
    **       inside DeNet Storage Protocol (Proof Of Storage)
    **     - Distribution, popularization and load on the DeNet
    **       Storage Protocol
    **     - DeNet Storage Protocol design and development
    ***********************************************************
    */
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./ERC20Vesting.sol";
import "./Constant.sol";

import "./interfaces/IShares.sol";
import "./interfaces/IDeNetFileToken.sol";


/**
    * @dev this contract do shares "pie" from choosen parts for token
    */
contract Shares is DeNetFileTokenConstants, IShares {
    uint public constant tenYearsSupply = _CONST_BILLION;
    uint64 public timeNextYear = 0;
    uint8 public currentYear = 0;

    address public treasury = address(0);

    /**
        * @dev Supply of year's inside array
        */
    uint[10] public supplyOfYear = [
        145 * _CONST_MILLION,
        128 * _CONST_MILLION,
        121 * _CONST_MILLION,
        112 * _CONST_MILLION,
        104 * _CONST_MILLION,
        95 * _CONST_MILLION,
        87 * _CONST_MILLION,
        79 * _CONST_MILLION,
        71 * _CONST_MILLION, 
        58 * _CONST_MILLION
    ];

    /**
        * @dev Vesting contract addresses
        */
    address[10] public vestingOfYear;

    /**
        * @dev Divider of 100% for shares calculating (ex: 100000 = 100%, 1000 - 1%)
        */
    uint32 public constant sharesRatio = 100000;

    mapping (address => uint) public shares;
    mapping (uint32 => address) public sharesVector;
    uint32 public sharesCount = 0;
    uint32 public sharesAvailable = sharesRatio;

    /**
        * @dev add shares for _reciever (can be contract)
        * @param _reciever address of shareholder
        * @param _size part of 100k sharesRatio (0-100k) < sharesAvailable
        */
    function _addShares(address _reciever, uint32 _size) internal {
        require(sharesAvailable >= _size, "Shares: Wrong size");

        /**
        * @dev check is already exist _reciever. It can be useful after removing and add address back
        */
        bool _reciever_already_exist = false;
        for (uint32 i = 0; i < sharesCount; i++) {
            if (sharesVector[i] == _reciever) {
                _reciever_already_exist = true;
                break;
            }
        }

        if (!_reciever_already_exist) {
            sharesVector[sharesCount] = _reciever;
            sharesCount = sharesCount + 1;
        }
        
        shares[_reciever] = shares[_reciever] + _size;
        sharesAvailable = sharesAvailable - _size;
        emit NewShares(_reciever, _size);
    }

    /**
        * @dev remove shares for _reciever (can be contract)
        * @param _reciever address of shareholder
        * @param _size part of 100k sharesRatio (0-100k) <= shares[_reciever]
        */
    function _removeShares(address _reciever, uint32 _size) internal  {
        require(shares[_reciever] >= _size, "Shares: Shares < _size");

        shares[_reciever] = shares[_reciever] - _size;
        sharesAvailable = sharesAvailable + _size;
        
        // removing address from sharesVector
        if (shares[_reciever] == 0) {
            for (uint32 i = 0; i < sharesCount; i++) {
                if (sharesVector[i] == _reciever) {
                    sharesVector[i] = sharesVector[sharesCount];
                    sharesVector[sharesCount] = address(0);
                    sharesCount--;
                    break;
                }
            }
        }
        
        emit DropShares(_reciever, _size);
    }

}

/**
 * @dev This contract is ERC20 token with special 10 years form of distribution with linear vesting.
 */
contract DeNetFileToken is ERC20, Shares, Ownable, IDeNetFileToken {

    constructor (string memory name_, string memory symbol_) ERC20(name_, symbol_) {
        _mint(address(this), tenYearsSupply);
    }

    /**
     * @notice see Shares._addShares(_reciever, _size);
     */
    function addShares(address _reciever, uint32 _size) external onlyOwner {
        _addShares(_reciever, _size);
    }

    /**
     * @notice see Shares._removeShares(_reciever, _size);
     */
    function removeShares(address _reciever, uint32 _size) external onlyOwner  {
       _removeShares(_reciever, _size);
    }

    /**
        *  @dev Minting year supply with shares and vesting
        *
        * Input: None
        * Output: None
        *
        *  What this function do?
        *  Step 1. Check Anything
        *  1. Check is block.timestamp > timeNextYear (previous year is ended)
        *  2. Check sharesCount > 0 (is Supply has a Pie
        *  3. Check is it year <= 10
        * 
        *  Step 2. Deploy Vesting and Transfer
        *  4. Deploy ERC20Vesting as theVesting
        *  5. Set linear vesting time start as block.timestamp and end time as time start + one year
        *  6. Set vestingOfYear[currentYear] = theVesting.address
        *  7. DeNetFileToken.transfer tokens from main contract to theVesting.address in total supplyOfYear[currentYear]
        *
        *  Step 3. Set Vesting for shareholders
        *  8. call theVesting.createVesting(sharesVector[0-sharesCount], _timestart, _timeend, sendAmount) where sendAmount = shares[_reciever] * supplyOfYear[currentYear]  / sharesRatio
        *  9. call theVesting.createVesting(treasury, _timestart, _timeend, sendAmount)), where sendAmount = sharesAvailable * supplyOfYear[currentYear] / sharesRatio
        *
        *  Step 4. Prepeare for next year
        *  10. Reset treasury address
        *  11. currentYear++
        *  12. timeNextYear = now + 1 year.
        *  13, Emit event NewYear(currentYear, timeNextYear)
        */
    function smartMint() external onlyOwner {

        // Step 1. Check Anything
        require(block.timestamp > timeNextYear, "Main: Time is not available");
        require(sharesCount > 0, "Main: Shares count = 0");
        require(currentYear < supplyOfYear.length, "Main: 10Y");
        
        // Step 2. Deploy Vesting and Transfer
        ERC20Vesting theVesting = new ERC20Vesting(address(this));
        
        vestingOfYear[currentYear] = address(theVesting);
        _transfer(address(this), address(theVesting), supplyOfYear[currentYear]);
        
        uint64 _timestart = uint64(block.timestamp);
        uint64 _timeend = _timestart + _CONST_ONEYEAR; 
        uint transfered = 0;
        

        // Step 3. Set Vesting for shareholders
        for (uint32 i = 0; i < sharesCount; i = i + 1) {
            uint sendAmount = supplyOfYear[currentYear] * shares[sharesVector[i]] / sharesRatio;
            if (sendAmount == 0) continue;
            theVesting.createVesting(sharesVector[i], _timestart, _timeend, sendAmount);
            transfered = transfered + sendAmount;
        }
         
        uint _treasuryAmount = supplyOfYear[currentYear] - transfered;
        if (_treasuryAmount > 0) {
            require(treasury != address(0), "Main: This year treasury not set!");
            theVesting.createVesting(treasury, _timestart, _timeend, _treasuryAmount);
        }
        
        // Step 4. Prepeare for next year
        treasury = address(0);
        timeNextYear = uint64(block.timestamp) + _CONST_ONEYEAR; // move next year;
        currentYear = currentYear + 1;
        emit NewYear(currentYear, timeNextYear);
    }

    function setTreasury(address _new) external onlyOwner {
        require(_new != address(0), "Main: _new = zero");
        require(_new != address(this), "Main: _new = this");

        treasury = _new;
        emit UpdateTreasury(_new, currentYear);
    }
}

File 2 of 11 : IDeNetFileToken.sol
// SPDX-License-Identifier: MIT
/*
    Created by DeNet
    
    Interface for DeNetFileToken 
*/

pragma solidity ^0.8.0;

interface IDeNetFileToken {
    event UpdateTreasury(
        address indexed _to,
        uint256 _year
    );

    event NewYear (
        uint indexed _year,
        uint _yearTimeStamp
    );
}

File 3 of 11 : IShares.sol
// SPDX-License-Identifier: MIT
/*
    Created by DeNet
    
    Interface for Shares 
*/

pragma solidity ^0.8.0;

interface IShares {
    event NewShares(
        address indexed _to,
        uint256 _value
    );

    event DropShares(
        address indexed _to,
        uint256 _value
    );
}

File 4 of 11 : Constant.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
* @notice Just Constants
*/
contract DeNetFileTokenConstants  {
    uint public constant _CONST_BILLION = 1000000000000000000000000000;
    uint64 public constant _CONST_ONEYEAR = 31536000;
    uint public constant _CONST_MILLION = 1000000000000000000000000;
    uint8 public constant _CONST_SS_STATUS_EXTRA = 0;
    uint8 public constant _CONST_SS_STATUS_DROP_FROM_PROFIT = 1;
    uint8 public constant _CONST_SS_STATUS_DROP_FROM_STAKING = 2;
}

File 5 of 11 : ERC20Vesting.sol
// SPDX-License-Identifier: MIT
/**
    * File Token Vesting.
    */

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./interfaces/IERC20Vesting.sol";

/**
* @dev This contract is part of DeNetFileToken Contract. Issued every year from 1 
*/
contract ERC20Vesting  is IERC20Vesting, Ownable {

    address  private immutable _vestingToken;

    constructor (address _token) {
        _vestingToken = _token;
    }
    
    struct VestingProfile {
        uint64 timeStart;
        uint64 timeEnd;
        uint256 amount;
        uint256 payed;
    }
    

    mapping (address => VestingProfile) public vestingStatus;
    mapping (address => mapping(address => bool)) public allowanceVesting;
    
    // Just getter for origin token address
    function vestingToken() public view override returns(address){
        return _vestingToken;
    }
    /**
        * @notice Creating vesting for _user
        * @param _user address of reciever
        * @param timeStart timestamp of start vesting date
        * @param amount total amount of token for vesting 
        */
    function createVesting(address _user,  uint64 timeStart, uint64 timeEnd, uint256 amount) public onlyOwner {
        require(_user != address(0), "Address = 0");
        require(vestingStatus[_user].timeStart == 0, "User already have vesting");
        require(amount != 0, "Amount = 0");
        require(timeStart < timeEnd, "TimeStart > TimeEnd");
        require(timeEnd > block.timestamp, "Time end < block.timestamp");

        vestingStatus[_user] = VestingProfile(timeStart, timeEnd, amount, 0);
    }

    /**
        * @dev  Return available balance to withdraw
        * @param _user reciever address
        * @return uint256 amount of tokens available to withdraw for this moment
        */
    function getAmountToWithdraw(address _user) public view override returns(uint256) {
        VestingProfile memory _tmpProfile = vestingStatus[_user];
        
        // return 0, if user not exist. (because not possible to create zeor amount in vesting)
        if (_tmpProfile.amount == 0) {
            return 0;
        }

        if (_tmpProfile.timeStart > block.timestamp) {
            return 0;
        }
        uint _vestingPeriod = _tmpProfile.timeEnd - (_tmpProfile.timeStart);
        uint _amount = _tmpProfile.amount / (_vestingPeriod);
        if (_tmpProfile.timeEnd > block.timestamp) {
            _amount = _amount * (block.timestamp - (_tmpProfile.timeStart));
        } else {
            _amount = _tmpProfile.amount;
        }
        return _amount - (_tmpProfile.payed);
    }

    /**
        * @dev Withdraw tokens function
        */
    function _withdraw(address _user) internal {
        uint _amount = getAmountToWithdraw(_user);
        vestingStatus[_user].payed = vestingStatus[_user].payed + (_amount);

        IERC20 tok = IERC20(_vestingToken);
        require (tok.transfer(_user, _amount) == true, "ERC20Vesting._withdraw:Error with _withdraw.transfer");
        
        emit Vested(_user, _amount);
    }

    /**
        * @dev Withdraw for msg.sender
        */
    function withdraw() external override {
        _withdraw(msg.sender);
    }

    /**
        * @dev Withdraw for Approved Address
        */
    function withdrawFor(address _for) external override {
        require(allowanceVesting[_for][msg.sender], "ERC20Vesting.withdrawFor: Not Approved");
        _withdraw(_for);
    }

    /**
        * @dev Approve for withdraw for another address
        */
    function approveVesting(address _to) external override {
        allowanceVesting[msg.sender][_to] = true;
    }

    /**
        * @dev Stop approval for withdraw for another address
        */
    function stopApproveVesting(address _to) external override {
        allowanceVesting[msg.sender][_to] = false;
    }
}

File 6 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead 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, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 this function is
     * overridden;
     *
     * 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 override returns (uint8) {
        return 18;
    }

    /**
     * @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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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:
     *
     * - `account` 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 += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(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);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 7 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 8 of 11 : IERC20Vesting.sol
// SPDX-License-Identifier: MIT
/*
    Created by DeNet
    
    Interface for ERC20Vesting 
*/

pragma solidity ^0.8.0;

interface IERC20Vesting {

    event Vested(address indexed to, uint256 value);

    function vestingToken() external view returns(address);

    function getAmountToWithdraw(address _user) external view returns(uint256);

    function withdraw() external;

    function withdrawFor(address _for) external;

    function approveVesting(address _to) external;

    function stopApproveVesting(address _to) external;
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 10 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 11 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"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":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"DropShares","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"NewShares","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_year","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_yearTimeStamp","type":"uint256"}],"name":"NewYear","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_year","type":"uint256"}],"name":"UpdateTreasury","type":"event"},{"inputs":[],"name":"_CONST_BILLION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_CONST_MILLION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_CONST_ONEYEAR","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_CONST_SS_STATUS_DROP_FROM_PROFIT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_CONST_SS_STATUS_DROP_FROM_STAKING","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_CONST_SS_STATUS_EXTRA","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_reciever","type":"address"},{"internalType":"uint32","name":"_size","type":"uint32"}],"name":"addShares","outputs":[],"stateMutability":"nonpayable","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":"currentYear","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":[{"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":[{"internalType":"address","name":"_reciever","type":"address"},{"internalType":"uint32","name":"_size","type":"uint32"}],"name":"removeShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_new","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sharesAvailable","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sharesCount","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sharesRatio","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"","type":"uint32"}],"name":"sharesVector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"smartMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplyOfYear","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":"tenYearsSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeNextYear","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"vestingOfYear","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

600580546001600160e81b03191690556101c06040526080806200002f69d3c21bcecceda1000000609162000385565b81526020016200004b69d3c21bcecceda1000000608062000385565b81526020016200006769d3c21bcecceda1000000607962000385565b81526020016200008369d3c21bcecceda1000000607062000385565b81526020016200009f69d3c21bcecceda1000000606862000385565b8152602001620000bb69d3c21bcecceda1000000605f62000385565b8152602001620000d769d3c21bcecceda1000000605762000385565b8152602001620000f369d3c21bcecceda1000000604f62000385565b81526020016200010f69d3c21bcecceda1000000604762000385565b81526020016200012b69d3c21bcecceda1000000603a62000385565b90526200013d90600690600a62000315565b50601c80546001600160401b031916660186a0000000001790553480156200016457600080fd5b506040516200309a3803806200309a83398101604081905262000187916200046a565b8181600362000197838262000562565b506004620001a6828262000562565b505050620001c3620001bd620001e360201b60201c565b620001e7565b620001db306b033b2e3c9fd0803ce80000006200024a565b505062000644565b3390565b601c80546001600160a01b0383811668010000000000000000818102600160401b600160e01b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002a55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620002b991906200062e565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b82600a810192821562000346579160200282015b828111156200034657825182559160200191906001019062000329565b506200035492915062000358565b5090565b5b8082111562000354576000815560010162000359565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200039f576200039f6200036f565b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003cd57600080fd5b81516001600160401b0380821115620003ea57620003ea620003a5565b604051601f8301601f19908116603f01168101908282118183101715620004155762000415620003a5565b816040528381526020925086838588010111156200043257600080fd5b600091505b8382101562000456578582018301518183018401529082019062000437565b600093810190920192909252949350505050565b600080604083850312156200047e57600080fd5b82516001600160401b03808211156200049657600080fd5b620004a486838701620003bb565b93506020850151915080821115620004bb57600080fd5b50620004ca85828601620003bb565b9150509250929050565b600181811c90821680620004e957607f821691505b6020821081036200050a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200031057600081815260208120601f850160051c81016020861015620005395750805b601f850160051c820191505b818110156200055a5782815560010162000545565b505050505050565b81516001600160401b038111156200057e576200057e620003a5565b62000596816200058f8454620004d4565b8462000510565b602080601f831160018114620005ce5760008415620005b55750858301515b600019600386901b1c1916600185901b1785556200055a565b600085815260208120601f198616915b82811015620005ff57888601518255948401946001909101908401620005de565b50858210156200061e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200039f576200039f6200036f565b612a4680620006546000396000f3fe60806040523480156200001157600080fd5b5060043610620002705760003560e01c806395d89b41116200015f578063d004770511620000cc578063e4571ca31162000097578063f0f44260116200007a578063f0f44260146200059e578063f2fde38b14620005b5578063fc2f90ea14620005cc57600080fd5b8063e4571ca3146200057c578063e8463ff3146200059557600080fd5b8063d00477051462000516578063dd62ed3e146200052d578063dd99e1c31462000569578063df87bcb6146200057357600080fd5b8063aa211198116200012a578063b443cd89116200010d578063b443cd891462000275578063cb95a47f14620004dc578063ce7c2ac214620004f357600080fd5b8063aa21119814620004a7578063af2ea14214620004d357600080fd5b806395d89b41146200045e5780639d555cfa1462000468578063a457c2d71462000479578063a9059cbb146200049057600080fd5b80633490635e11620001fe57806370a0823111620001c95780637802b4ca11620001ac5780637802b4ca146200041d578063782e6fc514620004345780638da5cb5b146200044057600080fd5b806370a0823114620003e5578063715018a6146200041157600080fd5b80633490635e146200035357806339509351146200038257806341bcb24f146200039957806361d027b314620003ab57600080fd5b806318160ddd116200023f57806318160ddd146200030a57806323b872dd1462000313578063272adda9146200032a578063313ce567146200034b57600080fd5b806301c4e231146200027557806306fdde03146200029c578063095ea7b314620002b55780630b5a006b14620002dd575b600080fd5b620002896b033b2e3c9fd0803ce800000081565b6040519081526020015b60405180910390f35b620002a6620005e3565b60405162000293919062001989565b620002cc620002c636600462001a14565b6200067d565b604051901515815260200162000293565b600554620002f79068010000000000000000900460ff1681565b60405160ff909116815260200162000293565b60025462000289565b620002cc6200032436600462001a41565b62000699565b62000335620186a081565b60405163ffffffff909116815260200162000293565b6012620002f7565b600554620003689067ffffffffffffffff1681565b60405167ffffffffffffffff909116815260200162000293565b620002cc6200039336600462001a14565b620006c1565b6200028969d3c21bcecceda100000081565b600554620003cc90690100000000000000000090046001600160a01b031681565b6040516001600160a01b03909116815260200162000293565b62000289620003f636600462001a82565b6001600160a01b031660009081526020819052604090205490565b6200041b62000704565b005b6200041b6200042e36600462001abc565b6200071c565b620003686301e1338081565b601c546801000000000000000090046001600160a01b0316620003cc565b620002a662000736565b601c54620003359063ffffffff1681565b620002cc6200048a36600462001a14565b62000747565b620002cc620004a136600462001a14565b620007f9565b620003cc620004b836600462001af4565b601b602052600090815260409020546001600160a01b031681565b620002f7600281565b620003cc620004ed36600462001b12565b62000809565b620002896200050436600462001a82565b601a6020526000908152604090205481565b6200041b6200052736600462001abc565b6200082a565b620002896200053e36600462001b2c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6200041b62000840565b620002f7600081565b601c546200033590640100000000900463ffffffff1681565b620002f7600181565b6200041b620005af36600462001a82565b62000e53565b6200041b620005c636600462001a82565b62000f9b565b62000289620005dd36600462001b12565b62001031565b606060038054620005f49062001b5b565b80601f0160208091040260200160405190810160405280929190818152602001828054620006229062001b5b565b8015620006735780601f10620006475761010080835404028352916020019162000673565b820191906000526020600020905b8154815290600101906020018083116200065557829003601f168201915b5050505050905090565b6000336200068d81858562001049565b60019150505b92915050565b600033620006a9858285620011a5565b620006b68585856200123c565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906200068d9082908690620006fe90879062001bad565b62001049565b6200070e62001430565b6200071a600062001499565b565b6200072662001430565b62000732828262001511565b5050565b606060048054620005f49062001b5b565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015620007ea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b620006b6828686840362001049565b6000336200068d8185856200123c565b601081600a81106200081a57600080fd5b01546001600160a01b0316905081565b6200083462001430565b6200073282826200172d565b6200084a62001430565b60055467ffffffffffffffff164211620008a75760405162461bcd60e51b815260206004820152601b60248201527f4d61696e3a2054696d65206973206e6f7420617661696c61626c6500000000006044820152606401620007e1565b601c5463ffffffff16620008fe5760405162461bcd60e51b815260206004820152601660248201527f4d61696e3a2053686172657320636f756e74203d2030000000000000000000006044820152606401620007e1565b600554600a6801000000000000000090910460ff1610620009625760405162461bcd60e51b815260206004820152600960248201527f4d61696e3a2031305900000000000000000000000000000000000000000000006044820152606401620007e1565b60003060405162000973906200197b565b6001600160a01b039091168152602001604051809103906000f080158015620009a0573d6000803e3d6000fd5b50600554909150819060109068010000000000000000900460ff16600a8110620009ce57620009ce62001bc3565b01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039290921691909117905560055462000a33903090839060069068010000000000000000900460ff16600a811062000a2b5762000a2b62001bc3565b01546200123c565b42600062000a466301e133808362001bd9565b90506000805b601c5463ffffffff908116908216101562000bbb5763ffffffff81166000908152601b60209081526040808320546001600160a01b03168352601a909152812054600554620186a0919060069068010000000000000000900460ff16600a811062000abb5762000abb62001bc3565b015462000ac9919062001c04565b62000ad5919062001c1e565b90508060000362000ae7575062000ba6565b63ffffffff82166000908152601b6020526040908190205490517fd41a4f080000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015267ffffffffffffffff808816602483015286166044820152606481018390529087169063d41a4f0890608401600060405180830381600087803b15801562000b7b57600080fd5b505af115801562000b90573d6000803e3d6000fd5b50505050808362000ba2919062001bad565b9250505b62000bb381600162001c41565b905062000a4c565b50600554600090829060069068010000000000000000900460ff16600a811062000be95762000be962001bc3565b015462000bf7919062001c61565b9050801562000d3457600554690100000000000000000090046001600160a01b031662000c8d5760405162461bcd60e51b815260206004820152602160248201527f4d61696e3a20546869732079656172207472656173757279206e6f742073657460448201527f21000000000000000000000000000000000000000000000000000000000000006064820152608401620007e1565b6005546040517fd41a4f0800000000000000000000000000000000000000000000000000000000815269010000000000000000009091046001600160a01b03908116600483015267ffffffffffffffff8087166024840152851660448301526064820183905286169063d41a4f0890608401600060405180830381600087803b15801562000d1a57600080fd5b505af115801562000d2f573d6000803e3d6000fd5b505050505b600580547fffffff0000000000000000000000000000000000000000ffffffffffffffffff16905562000d6c6301e133804262001bd9565b600580547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff92909216919091179081905562000dc39068010000000000000000900460ff16600162001c77565b6005805460ff928316680100000000000000009081027fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff831681179384905560405167ffffffffffffffff91821691909316178252909104909116907f4006d4f781c7dc1b7d9ff31443a89348270a08e86258c5bffd9cb2a6b90df22e9060200160405180910390a25050505050565b62000e5d62001430565b6001600160a01b03811662000eb55760405162461bcd60e51b815260206004820152601160248201527f4d61696e3a205f6e6577203d207a65726f0000000000000000000000000000006044820152606401620007e1565b306001600160a01b0382160362000f0f5760405162461bcd60e51b815260206004820152601160248201527f4d61696e3a205f6e6577203d20746869730000000000000000000000000000006044820152606401620007e1565b600580547fffffff0000000000000000000000000000000000000000ffffffffffffffffff1669010000000000000000006001600160a01b03841690810291909117918290556040516801000000000000000090920460ff168252907f3afbf123512a5b5a19cfc3734a8dd9de7b5f23c03a50f45bf67970fd9d3a2ad39060200160405180910390a250565b62000fa562001430565b6001600160a01b038116620010235760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401620007e1565b6200102e8162001499565b50565b600681600a81106200104257600080fd5b0154905081565b6001600160a01b038316620010c65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401620007e1565b6001600160a01b038216620011445760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401620007e1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114620012365781811015620012275760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401620007e1565b62001236848484840362001049565b50505050565b6001600160a01b038316620012ba5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401620007e1565b6001600160a01b038216620013385760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401620007e1565b6001600160a01b03831660009081526020819052604090205481811015620013c95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401620007e1565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a362001236565b601c546001600160a01b03680100000000000000009091041633146200071a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620007e1565b601c80546001600160a01b03838116680100000000000000008181027fffffffff0000000000000000000000000000000000000000ffffffffffffffff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601c5463ffffffff808316640100000000909204161015620015765760405162461bcd60e51b815260206004820152601260248201527f5368617265733a2057726f6e672073697a6500000000000000000000000000006044820152606401620007e1565b6000805b601c5463ffffffff9081169082161015620015d75763ffffffff81166000908152601b60205260409020546001600160a01b03808616911603620015c25760019150620015d7565b80620015ce8162001c93565b9150506200157a565b50806200166457601c805463ffffffff9081166000908152601b60205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03871617905590546200162e9116600162001c41565b601c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff929092169190911790555b6001600160a01b0383166000908152601a6020526040902054620016909063ffffffff84169062001bad565b6001600160a01b0384166000908152601a6020526040902055601c54620016c7908390640100000000900463ffffffff1662001cb9565b601c805467ffffffff00000000191664010000000063ffffffff9384160217905560405190831681526001600160a01b038416907f85674b5f7e87b2a7b6253ed482af490137397296fc238a0f3c7010ea2d1031269060200160405180910390a2505050565b6001600160a01b0382166000908152601a602052604090205463ffffffff821611156200179d5760405162461bcd60e51b815260206004820152601660248201527f5368617265733a20536861726573203c205f73697a65000000000000000000006044820152606401620007e1565b6001600160a01b0382166000908152601a6020526040902054620017c99063ffffffff83169062001c61565b6001600160a01b0383166000908152601a6020526040902055601c5462001800908290640100000000900463ffffffff1662001c41565b601c805463ffffffff929092166401000000000267ffffffff00000000199092169190911790556001600160a01b0382166000908152601a60205260408120549003620019335760005b601c5463ffffffff9081169082161015620019315763ffffffff81166000908152601b60205260409020546001600160a01b038085169116036200191c57601c805463ffffffff9081166000908152601b602052604080822054858416835281832080546001600160a01b0390921673ffffffffffffffffffffffffffffffffffffffff199283161790558454841683529082208054909116905582549091169190620018f78362001cd9565b91906101000a81548163ffffffff021916908363ffffffff1602179055505062001931565b80620019288162001c93565b9150506200184a565b505b60405163ffffffff821681526001600160a01b038316907f6715547ca0c650df6170f9bddaf67387d66b3b3e436c204515e62955139302e39060200160405180910390a25050565b610d148062001cfd83390190565b600060208083528351808285015260005b81811015620019b8578581018301518582016040015282016200199a565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b80356001600160a01b038116811462001a0f57600080fd5b919050565b6000806040838503121562001a2857600080fd5b62001a3383620019f7565b946020939093013593505050565b60008060006060848603121562001a5757600080fd5b62001a6284620019f7565b925062001a7260208501620019f7565b9150604084013590509250925092565b60006020828403121562001a9557600080fd5b62001aa082620019f7565b9392505050565b803563ffffffff8116811462001a0f57600080fd5b6000806040838503121562001ad057600080fd5b62001adb83620019f7565b915062001aeb6020840162001aa7565b90509250929050565b60006020828403121562001b0757600080fd5b62001aa08262001aa7565b60006020828403121562001b2557600080fd5b5035919050565b6000806040838503121562001b4057600080fd5b62001b4b83620019f7565b915062001aeb60208401620019f7565b600181811c9082168062001b7057607f821691505b60208210810362001b9157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111562000693576200069362001b97565b634e487b7160e01b600052603260045260246000fd5b67ffffffffffffffff81811683821601908082111562001bfd5762001bfd62001b97565b5092915050565b808202811582820484141762000693576200069362001b97565b60008262001c3c57634e487b7160e01b600052601260045260246000fd5b500490565b63ffffffff81811683821601908082111562001bfd5762001bfd62001b97565b8181038181111562000693576200069362001b97565b60ff818116838216019081111562000693576200069362001b97565b600063ffffffff80831681810362001caf5762001caf62001b97565b6001019392505050565b63ffffffff82811682821603908082111562001bfd5762001bfd62001b97565b600063ffffffff82168062001cf25762001cf262001b97565b600019019291505056fe60a060405234801561001057600080fd5b50604051610d14380380610d1483398101604081905261002f91610099565b61003833610049565b6001600160a01b03166080526100c9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100ab57600080fd5b81516001600160a01b03811681146100c257600080fd5b9392505050565b608051610c296100eb6000396000818161010101526108380152610c296000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80638b6f408011610081578063d41a4f081161005b578063d41a4f0814610262578063e0aa490314610275578063f2fde38b146102b157600080fd5b80638b6f4080146101c85780638da5cb5b1461023e5780639eca672c1461024f57600080fd5b80633ccfd60b116100b25780633ccfd60b14610177578063715018a6146101815780637f328be91461018957600080fd5b806316a9dd48146100d957806319d152fa146100ff5780632321e1a514610139575b600080fd5b6100ec6100e7366004610a44565b6102c4565b6040519081526020015b60405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100f6565b610167610147366004610a66565b600260209081526000928352604080842090915290825290205460ff1681565b60405190151581526020016100f6565b61017f6103df565b005b61017f6103ea565b61017f610197366004610a44565b3360009081526002602090815260408083206001600160a01b0394909416835292905220805460ff19166001179055565b6102126101d6366004610a44565b600160208190526000918252604090912080549181015460029091015467ffffffffffffffff8084169368010000000000000000900416919084565b6040805167ffffffffffffffff95861681529490931660208501529183015260608201526080016100f6565b6000546001600160a01b0316610121565b61017f61025d366004610a44565b6103fc565b61017f610270366004610ab1565b6104a6565b61017f610283366004610a44565b3360009081526002602090815260408083206001600160a01b0394909416835292905220805460ff19169055565b61017f6102bf366004610a44565b61071e565b6001600160a01b03811660009081526001602081815260408084208151608081018352815467ffffffffffffffff80821683526801000000000000000090910416938101939093529283015490820181905260029092015460608201529082036103315750600092915050565b42816000015167ffffffffffffffff1611156103505750600092915050565b8051602082015160009161036391610b2b565b67ffffffffffffffff16905060008183604001516103819190610b53565b905042836020015167ffffffffffffffff1611156103c05782516103af9067ffffffffffffffff1642610b8e565b6103b99082610ba7565b90506103c7565b5060408201515b60608301516103d69082610b8e565b95945050505050565b6103e8336107ab565b565b6103f2610966565b6103e860006109c0565b6001600160a01b038116600090815260026020908152604080832033845290915290205460ff1661049a5760405162461bcd60e51b815260206004820152602660248201527f455243323056657374696e672e7769746864726177466f723a204e6f7420417060448201527f70726f766564000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a3816107ab565b50565b6104ae610966565b6001600160a01b0384166105045760405162461bcd60e51b815260206004820152600b60248201527f41646472657373203d20300000000000000000000000000000000000000000006044820152606401610491565b6001600160a01b03841660009081526001602052604090205467ffffffffffffffff16156105745760405162461bcd60e51b815260206004820152601960248201527f5573657220616c726561647920686176652076657374696e67000000000000006044820152606401610491565b806000036105c45760405162461bcd60e51b815260206004820152600a60248201527f416d6f756e74203d2030000000000000000000000000000000000000000000006044820152606401610491565b8167ffffffffffffffff168367ffffffffffffffff16106106275760405162461bcd60e51b815260206004820152601360248201527f54696d655374617274203e2054696d65456e64000000000000000000000000006044820152606401610491565b428267ffffffffffffffff16116106805760405162461bcd60e51b815260206004820152601a60248201527f54696d6520656e64203c20626c6f636b2e74696d657374616d700000000000006044820152606401610491565b6040805160808101825267ffffffffffffffff948516815292841660208085019182528483019384526000606086018181526001600160a01b03909816815260019182905292909220935184549151861668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000000000000000000090921695169490941793909317825551918101919091559051600290910155565b610726610966565b6001600160a01b0381166107a25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610491565b6104a3816109c0565b60006107b6826102c4565b6001600160a01b0383166000908152600160205260409020600201549091506107e0908290610bbe565b6001600160a01b03838116600081815260016020526040908190206002019390935591517fa9059cbb0000000000000000000000000000000000000000000000000000000081526004810192909252602482018390527f0000000000000000000000000000000000000000000000000000000000000000919082169063a9059cbb906044016020604051808303816000875af1158015610884573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a89190610bd1565b151560011461091f5760405162461bcd60e51b815260206004820152603460248201527f455243323056657374696e672e5f77697468647261773a4572726f722077697460448201527f68205f77697468647261772e7472616e736665720000000000000000000000006064820152608401610491565b826001600160a01b03167ed5958799b183a7b738d3ad5e711305293dd5076a37a4e3b7e6611dea6114f38360405161095991815260200190565b60405180910390a2505050565b6000546001600160a01b031633146103e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610491565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610a3f57600080fd5b919050565b600060208284031215610a5657600080fd5b610a5f82610a28565b9392505050565b60008060408385031215610a7957600080fd5b610a8283610a28565b9150610a9060208401610a28565b90509250929050565b803567ffffffffffffffff81168114610a3f57600080fd5b60008060008060808587031215610ac757600080fd5b610ad085610a28565b9350610ade60208601610a99565b9250610aec60408601610a99565b9396929550929360600135925050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b67ffffffffffffffff828116828216039080821115610b4c57610b4c610afc565b5092915050565b600082610b89577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610ba157610ba1610afc565b92915050565b8082028115828204841417610ba157610ba1610afc565b80820180821115610ba157610ba1610afc565b600060208284031215610be357600080fd5b81518015158114610a5f57600080fdfea2646970667358221220c58dfe66071113348960bbc2b1e791d79615464a092b8b06829d3f63f863673864736f6c63430008120033a264697066735822122003d6e4f872c2d14e912e0347779d403769fd9b093477efa2e4127c0b3647a55464736f6c6343000812003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001044654e65742046696c6520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024445000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040523480156200001157600080fd5b5060043610620002705760003560e01c806395d89b41116200015f578063d004770511620000cc578063e4571ca31162000097578063f0f44260116200007a578063f0f44260146200059e578063f2fde38b14620005b5578063fc2f90ea14620005cc57600080fd5b8063e4571ca3146200057c578063e8463ff3146200059557600080fd5b8063d00477051462000516578063dd62ed3e146200052d578063dd99e1c31462000569578063df87bcb6146200057357600080fd5b8063aa211198116200012a578063b443cd89116200010d578063b443cd891462000275578063cb95a47f14620004dc578063ce7c2ac214620004f357600080fd5b8063aa21119814620004a7578063af2ea14214620004d357600080fd5b806395d89b41146200045e5780639d555cfa1462000468578063a457c2d71462000479578063a9059cbb146200049057600080fd5b80633490635e11620001fe57806370a0823111620001c95780637802b4ca11620001ac5780637802b4ca146200041d578063782e6fc514620004345780638da5cb5b146200044057600080fd5b806370a0823114620003e5578063715018a6146200041157600080fd5b80633490635e146200035357806339509351146200038257806341bcb24f146200039957806361d027b314620003ab57600080fd5b806318160ddd116200023f57806318160ddd146200030a57806323b872dd1462000313578063272adda9146200032a578063313ce567146200034b57600080fd5b806301c4e231146200027557806306fdde03146200029c578063095ea7b314620002b55780630b5a006b14620002dd575b600080fd5b620002896b033b2e3c9fd0803ce800000081565b6040519081526020015b60405180910390f35b620002a6620005e3565b60405162000293919062001989565b620002cc620002c636600462001a14565b6200067d565b604051901515815260200162000293565b600554620002f79068010000000000000000900460ff1681565b60405160ff909116815260200162000293565b60025462000289565b620002cc6200032436600462001a41565b62000699565b62000335620186a081565b60405163ffffffff909116815260200162000293565b6012620002f7565b600554620003689067ffffffffffffffff1681565b60405167ffffffffffffffff909116815260200162000293565b620002cc6200039336600462001a14565b620006c1565b6200028969d3c21bcecceda100000081565b600554620003cc90690100000000000000000090046001600160a01b031681565b6040516001600160a01b03909116815260200162000293565b62000289620003f636600462001a82565b6001600160a01b031660009081526020819052604090205490565b6200041b62000704565b005b6200041b6200042e36600462001abc565b6200071c565b620003686301e1338081565b601c546801000000000000000090046001600160a01b0316620003cc565b620002a662000736565b601c54620003359063ffffffff1681565b620002cc6200048a36600462001a14565b62000747565b620002cc620004a136600462001a14565b620007f9565b620003cc620004b836600462001af4565b601b602052600090815260409020546001600160a01b031681565b620002f7600281565b620003cc620004ed36600462001b12565b62000809565b620002896200050436600462001a82565b601a6020526000908152604090205481565b6200041b6200052736600462001abc565b6200082a565b620002896200053e36600462001b2c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6200041b62000840565b620002f7600081565b601c546200033590640100000000900463ffffffff1681565b620002f7600181565b6200041b620005af36600462001a82565b62000e53565b6200041b620005c636600462001a82565b62000f9b565b62000289620005dd36600462001b12565b62001031565b606060038054620005f49062001b5b565b80601f0160208091040260200160405190810160405280929190818152602001828054620006229062001b5b565b8015620006735780601f10620006475761010080835404028352916020019162000673565b820191906000526020600020905b8154815290600101906020018083116200065557829003601f168201915b5050505050905090565b6000336200068d81858562001049565b60019150505b92915050565b600033620006a9858285620011a5565b620006b68585856200123c565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906200068d9082908690620006fe90879062001bad565b62001049565b6200070e62001430565b6200071a600062001499565b565b6200072662001430565b62000732828262001511565b5050565b606060048054620005f49062001b5b565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015620007ea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b620006b6828686840362001049565b6000336200068d8185856200123c565b601081600a81106200081a57600080fd5b01546001600160a01b0316905081565b6200083462001430565b6200073282826200172d565b6200084a62001430565b60055467ffffffffffffffff164211620008a75760405162461bcd60e51b815260206004820152601b60248201527f4d61696e3a2054696d65206973206e6f7420617661696c61626c6500000000006044820152606401620007e1565b601c5463ffffffff16620008fe5760405162461bcd60e51b815260206004820152601660248201527f4d61696e3a2053686172657320636f756e74203d2030000000000000000000006044820152606401620007e1565b600554600a6801000000000000000090910460ff1610620009625760405162461bcd60e51b815260206004820152600960248201527f4d61696e3a2031305900000000000000000000000000000000000000000000006044820152606401620007e1565b60003060405162000973906200197b565b6001600160a01b039091168152602001604051809103906000f080158015620009a0573d6000803e3d6000fd5b50600554909150819060109068010000000000000000900460ff16600a8110620009ce57620009ce62001bc3565b01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039290921691909117905560055462000a33903090839060069068010000000000000000900460ff16600a811062000a2b5762000a2b62001bc3565b01546200123c565b42600062000a466301e133808362001bd9565b90506000805b601c5463ffffffff908116908216101562000bbb5763ffffffff81166000908152601b60209081526040808320546001600160a01b03168352601a909152812054600554620186a0919060069068010000000000000000900460ff16600a811062000abb5762000abb62001bc3565b015462000ac9919062001c04565b62000ad5919062001c1e565b90508060000362000ae7575062000ba6565b63ffffffff82166000908152601b6020526040908190205490517fd41a4f080000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015267ffffffffffffffff808816602483015286166044820152606481018390529087169063d41a4f0890608401600060405180830381600087803b15801562000b7b57600080fd5b505af115801562000b90573d6000803e3d6000fd5b50505050808362000ba2919062001bad565b9250505b62000bb381600162001c41565b905062000a4c565b50600554600090829060069068010000000000000000900460ff16600a811062000be95762000be962001bc3565b015462000bf7919062001c61565b9050801562000d3457600554690100000000000000000090046001600160a01b031662000c8d5760405162461bcd60e51b815260206004820152602160248201527f4d61696e3a20546869732079656172207472656173757279206e6f742073657460448201527f21000000000000000000000000000000000000000000000000000000000000006064820152608401620007e1565b6005546040517fd41a4f0800000000000000000000000000000000000000000000000000000000815269010000000000000000009091046001600160a01b03908116600483015267ffffffffffffffff8087166024840152851660448301526064820183905286169063d41a4f0890608401600060405180830381600087803b15801562000d1a57600080fd5b505af115801562000d2f573d6000803e3d6000fd5b505050505b600580547fffffff0000000000000000000000000000000000000000ffffffffffffffffff16905562000d6c6301e133804262001bd9565b600580547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff92909216919091179081905562000dc39068010000000000000000900460ff16600162001c77565b6005805460ff928316680100000000000000009081027fffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffffffff831681179384905560405167ffffffffffffffff91821691909316178252909104909116907f4006d4f781c7dc1b7d9ff31443a89348270a08e86258c5bffd9cb2a6b90df22e9060200160405180910390a25050505050565b62000e5d62001430565b6001600160a01b03811662000eb55760405162461bcd60e51b815260206004820152601160248201527f4d61696e3a205f6e6577203d207a65726f0000000000000000000000000000006044820152606401620007e1565b306001600160a01b0382160362000f0f5760405162461bcd60e51b815260206004820152601160248201527f4d61696e3a205f6e6577203d20746869730000000000000000000000000000006044820152606401620007e1565b600580547fffffff0000000000000000000000000000000000000000ffffffffffffffffff1669010000000000000000006001600160a01b03841690810291909117918290556040516801000000000000000090920460ff168252907f3afbf123512a5b5a19cfc3734a8dd9de7b5f23c03a50f45bf67970fd9d3a2ad39060200160405180910390a250565b62000fa562001430565b6001600160a01b038116620010235760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401620007e1565b6200102e8162001499565b50565b600681600a81106200104257600080fd5b0154905081565b6001600160a01b038316620010c65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401620007e1565b6001600160a01b038216620011445760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401620007e1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114620012365781811015620012275760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401620007e1565b62001236848484840362001049565b50505050565b6001600160a01b038316620012ba5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401620007e1565b6001600160a01b038216620013385760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401620007e1565b6001600160a01b03831660009081526020819052604090205481811015620013c95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401620007e1565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a362001236565b601c546001600160a01b03680100000000000000009091041633146200071a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620007e1565b601c80546001600160a01b03838116680100000000000000008181027fffffffff0000000000000000000000000000000000000000ffffffffffffffff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601c5463ffffffff808316640100000000909204161015620015765760405162461bcd60e51b815260206004820152601260248201527f5368617265733a2057726f6e672073697a6500000000000000000000000000006044820152606401620007e1565b6000805b601c5463ffffffff9081169082161015620015d75763ffffffff81166000908152601b60205260409020546001600160a01b03808616911603620015c25760019150620015d7565b80620015ce8162001c93565b9150506200157a565b50806200166457601c805463ffffffff9081166000908152601b60205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03871617905590546200162e9116600162001c41565b601c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff929092169190911790555b6001600160a01b0383166000908152601a6020526040902054620016909063ffffffff84169062001bad565b6001600160a01b0384166000908152601a6020526040902055601c54620016c7908390640100000000900463ffffffff1662001cb9565b601c805467ffffffff00000000191664010000000063ffffffff9384160217905560405190831681526001600160a01b038416907f85674b5f7e87b2a7b6253ed482af490137397296fc238a0f3c7010ea2d1031269060200160405180910390a2505050565b6001600160a01b0382166000908152601a602052604090205463ffffffff821611156200179d5760405162461bcd60e51b815260206004820152601660248201527f5368617265733a20536861726573203c205f73697a65000000000000000000006044820152606401620007e1565b6001600160a01b0382166000908152601a6020526040902054620017c99063ffffffff83169062001c61565b6001600160a01b0383166000908152601a6020526040902055601c5462001800908290640100000000900463ffffffff1662001c41565b601c805463ffffffff929092166401000000000267ffffffff00000000199092169190911790556001600160a01b0382166000908152601a60205260408120549003620019335760005b601c5463ffffffff9081169082161015620019315763ffffffff81166000908152601b60205260409020546001600160a01b038085169116036200191c57601c805463ffffffff9081166000908152601b602052604080822054858416835281832080546001600160a01b0390921673ffffffffffffffffffffffffffffffffffffffff199283161790558454841683529082208054909116905582549091169190620018f78362001cd9565b91906101000a81548163ffffffff021916908363ffffffff1602179055505062001931565b80620019288162001c93565b9150506200184a565b505b60405163ffffffff821681526001600160a01b038316907f6715547ca0c650df6170f9bddaf67387d66b3b3e436c204515e62955139302e39060200160405180910390a25050565b610d148062001cfd83390190565b600060208083528351808285015260005b81811015620019b8578581018301518582016040015282016200199a565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b80356001600160a01b038116811462001a0f57600080fd5b919050565b6000806040838503121562001a2857600080fd5b62001a3383620019f7565b946020939093013593505050565b60008060006060848603121562001a5757600080fd5b62001a6284620019f7565b925062001a7260208501620019f7565b9150604084013590509250925092565b60006020828403121562001a9557600080fd5b62001aa082620019f7565b9392505050565b803563ffffffff8116811462001a0f57600080fd5b6000806040838503121562001ad057600080fd5b62001adb83620019f7565b915062001aeb6020840162001aa7565b90509250929050565b60006020828403121562001b0757600080fd5b62001aa08262001aa7565b60006020828403121562001b2557600080fd5b5035919050565b6000806040838503121562001b4057600080fd5b62001b4b83620019f7565b915062001aeb60208401620019f7565b600181811c9082168062001b7057607f821691505b60208210810362001b9157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111562000693576200069362001b97565b634e487b7160e01b600052603260045260246000fd5b67ffffffffffffffff81811683821601908082111562001bfd5762001bfd62001b97565b5092915050565b808202811582820484141762000693576200069362001b97565b60008262001c3c57634e487b7160e01b600052601260045260246000fd5b500490565b63ffffffff81811683821601908082111562001bfd5762001bfd62001b97565b8181038181111562000693576200069362001b97565b60ff818116838216019081111562000693576200069362001b97565b600063ffffffff80831681810362001caf5762001caf62001b97565b6001019392505050565b63ffffffff82811682821603908082111562001bfd5762001bfd62001b97565b600063ffffffff82168062001cf25762001cf262001b97565b600019019291505056fe60a060405234801561001057600080fd5b50604051610d14380380610d1483398101604081905261002f91610099565b61003833610049565b6001600160a01b03166080526100c9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100ab57600080fd5b81516001600160a01b03811681146100c257600080fd5b9392505050565b608051610c296100eb6000396000818161010101526108380152610c296000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c80638b6f408011610081578063d41a4f081161005b578063d41a4f0814610262578063e0aa490314610275578063f2fde38b146102b157600080fd5b80638b6f4080146101c85780638da5cb5b1461023e5780639eca672c1461024f57600080fd5b80633ccfd60b116100b25780633ccfd60b14610177578063715018a6146101815780637f328be91461018957600080fd5b806316a9dd48146100d957806319d152fa146100ff5780632321e1a514610139575b600080fd5b6100ec6100e7366004610a44565b6102c4565b6040519081526020015b60405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100f6565b610167610147366004610a66565b600260209081526000928352604080842090915290825290205460ff1681565b60405190151581526020016100f6565b61017f6103df565b005b61017f6103ea565b61017f610197366004610a44565b3360009081526002602090815260408083206001600160a01b0394909416835292905220805460ff19166001179055565b6102126101d6366004610a44565b600160208190526000918252604090912080549181015460029091015467ffffffffffffffff8084169368010000000000000000900416919084565b6040805167ffffffffffffffff95861681529490931660208501529183015260608201526080016100f6565b6000546001600160a01b0316610121565b61017f61025d366004610a44565b6103fc565b61017f610270366004610ab1565b6104a6565b61017f610283366004610a44565b3360009081526002602090815260408083206001600160a01b0394909416835292905220805460ff19169055565b61017f6102bf366004610a44565b61071e565b6001600160a01b03811660009081526001602081815260408084208151608081018352815467ffffffffffffffff80821683526801000000000000000090910416938101939093529283015490820181905260029092015460608201529082036103315750600092915050565b42816000015167ffffffffffffffff1611156103505750600092915050565b8051602082015160009161036391610b2b565b67ffffffffffffffff16905060008183604001516103819190610b53565b905042836020015167ffffffffffffffff1611156103c05782516103af9067ffffffffffffffff1642610b8e565b6103b99082610ba7565b90506103c7565b5060408201515b60608301516103d69082610b8e565b95945050505050565b6103e8336107ab565b565b6103f2610966565b6103e860006109c0565b6001600160a01b038116600090815260026020908152604080832033845290915290205460ff1661049a5760405162461bcd60e51b815260206004820152602660248201527f455243323056657374696e672e7769746864726177466f723a204e6f7420417060448201527f70726f766564000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a3816107ab565b50565b6104ae610966565b6001600160a01b0384166105045760405162461bcd60e51b815260206004820152600b60248201527f41646472657373203d20300000000000000000000000000000000000000000006044820152606401610491565b6001600160a01b03841660009081526001602052604090205467ffffffffffffffff16156105745760405162461bcd60e51b815260206004820152601960248201527f5573657220616c726561647920686176652076657374696e67000000000000006044820152606401610491565b806000036105c45760405162461bcd60e51b815260206004820152600a60248201527f416d6f756e74203d2030000000000000000000000000000000000000000000006044820152606401610491565b8167ffffffffffffffff168367ffffffffffffffff16106106275760405162461bcd60e51b815260206004820152601360248201527f54696d655374617274203e2054696d65456e64000000000000000000000000006044820152606401610491565b428267ffffffffffffffff16116106805760405162461bcd60e51b815260206004820152601a60248201527f54696d6520656e64203c20626c6f636b2e74696d657374616d700000000000006044820152606401610491565b6040805160808101825267ffffffffffffffff948516815292841660208085019182528483019384526000606086018181526001600160a01b03909816815260019182905292909220935184549151861668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000000000000000000090921695169490941793909317825551918101919091559051600290910155565b610726610966565b6001600160a01b0381166107a25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610491565b6104a3816109c0565b60006107b6826102c4565b6001600160a01b0383166000908152600160205260409020600201549091506107e0908290610bbe565b6001600160a01b03838116600081815260016020526040908190206002019390935591517fa9059cbb0000000000000000000000000000000000000000000000000000000081526004810192909252602482018390527f0000000000000000000000000000000000000000000000000000000000000000919082169063a9059cbb906044016020604051808303816000875af1158015610884573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a89190610bd1565b151560011461091f5760405162461bcd60e51b815260206004820152603460248201527f455243323056657374696e672e5f77697468647261773a4572726f722077697460448201527f68205f77697468647261772e7472616e736665720000000000000000000000006064820152608401610491565b826001600160a01b03167ed5958799b183a7b738d3ad5e711305293dd5076a37a4e3b7e6611dea6114f38360405161095991815260200190565b60405180910390a2505050565b6000546001600160a01b031633146103e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610491565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b0381168114610a3f57600080fd5b919050565b600060208284031215610a5657600080fd5b610a5f82610a28565b9392505050565b60008060408385031215610a7957600080fd5b610a8283610a28565b9150610a9060208401610a28565b90509250929050565b803567ffffffffffffffff81168114610a3f57600080fd5b60008060008060808587031215610ac757600080fd5b610ad085610a28565b9350610ade60208601610a99565b9250610aec60408601610a99565b9396929550929360600135925050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b67ffffffffffffffff828116828216039080821115610b4c57610b4c610afc565b5092915050565b600082610b89577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610ba157610ba1610afc565b92915050565b8082028115828204841417610ba157610ba1610afc565b80820180821115610ba157610ba1610afc565b600060208284031215610be357600080fd5b81518015158114610a5f57600080fdfea2646970667358221220c58dfe66071113348960bbc2b1e791d79615464a092b8b06829d3f63f863673864736f6c63430008120033a264697066735822122003d6e4f872c2d14e912e0347779d403769fd9b093477efa2e4127c0b3647a55464736f6c63430008120033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001044654e65742046696c6520546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024445000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): DeNet File Token
Arg [1] : symbol_ (string): DE

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [3] : 44654e65742046696c6520546f6b656e00000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 4445000000000000000000000000000000000000000000000000000000000000


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.