Token Fantastic Protocol GAEA Token

DeFi  

Overview CRC20

Price
$0.06 @ 0.798682 CRO
Fully Diluted Market Cap
Total Supply:
30,600,000 GAEA

Holders:
75 addresses

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

GAEA is the protocol utility token (on Cronos) that also rewards its holders with 100% of generated protocol fee revenue.


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

Contract Source Code Verified (Exact Match)

Contract Name:
GAEA

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2022-04-25
*/

// Sources flattened with hardhat v2.9.2 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^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 `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);

    /**
     * @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 @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

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

// File @openzeppelin/contracts/utils/[email protected]

// 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 @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

/**
 * @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 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, _allowances[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 = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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;
        }
        _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;
        _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;
        }
        _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 Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * 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 @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

// File contracts/tokens/YToken.sol

pragma solidity 0.8.4;

abstract contract YToken is ERC20Burnable {
    constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {}
}

// File contracts/tokens/cronos/GAEA.sol

pragma solidity 0.8.4;

contract GAEA is YToken {
    uint256 public constant MAX_TOTAL_SUPPLY = 30_000_000 ether;

    constructor(
        string memory _name,
        string memory _symbol,
        address _daoFund,
        address _treasuryFund,
        address _reserve
    ) YToken(_name, _symbol) {
        _mint(msg.sender, 20000 ether);
        _mint(_daoFund, 6_000_000 ether); // 20%
        _mint(_treasuryFund, 3_000_000 ether); // 10%
        _mint(_reserve, MAX_TOTAL_SUPPLY - 8_420_000 ether);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_daoFund","type":"address"},{"internalType":"address","name":"_treasuryFund","type":"address"},{"internalType":"address","name":"_reserve","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":"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":"MAX_TOTAL_SUPPLY","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","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":"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":"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"}]

60806040523480156200001157600080fd5b5060405162000f7f38038062000f7f83398101604081905262000034916200034b565b84848181816003908051906020019062000050929190620001d5565b50805162000066906004906020840190620001d5565b5050505050620000873369043c33c1937564800000620000ed60201b60201c565b6200009e836a04f68ca6d8cd91c6000000620000ed565b620000b5826a027b46536c66c8e3000000620000ed565b620000e281620000dc6a06f7011d57800e468000006a18d0bf423c03d8de00000062000405565b620000ed565b505050505062000488565b6001600160a01b038216620001485760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200015c9190620003ea565b90915550506001600160a01b038216600090815260208190526040812080548392906200018b908490620003ea565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001e3906200041f565b90600052602060002090601f01602090048101928262000207576000855562000252565b82601f106200022257805160ff191683800117855562000252565b8280016001018555821562000252579182015b828111156200025257825182559160200191906001019062000235565b506200026092915062000264565b5090565b5b8082111562000260576000815560010162000265565b80516001600160a01b03811681146200029357600080fd5b919050565b600082601f830112620002a9578081fd5b81516001600160401b0380821115620002c657620002c662000472565b604051601f8301601f19908116603f01168101908282118183101715620002f157620002f162000472565b816040528381526020925086838588010111156200030d578485fd5b8491505b8382101562000330578582018301518183018401529082019062000311565b838211156200034157848385830101525b9695505050505050565b600080600080600060a0868803121562000363578081fd5b85516001600160401b03808211156200037a578283fd5b6200038889838a0162000298565b965060208801519150808211156200039e578283fd5b50620003ad8882890162000298565b945050620003be604087016200027b565b9250620003ce606087016200027b565b9150620003de608087016200027b565b90509295509295909350565b600082198211156200040057620004006200045c565b500190565b6000828210156200041a576200041a6200045c565b500390565b600181811c908216806200043457607f821691505b602082108114156200045657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b610ae780620004986000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806342966c681161008c57806395d89b411161006657806395d89b41146101da578063a457c2d7146101e2578063a9059cbb146101f5578063dd62ed3e1461020857600080fd5b806342966c681461018957806370a082311461019e57806379cc6790146101c757600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce5671461015557806333039d3d14610164578063395093511461017657600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610241565b60405161010491906109de565b60405180910390f35b61012061011b36600461099d565b6102d3565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610962565b6102eb565b60405160128152602001610104565b6101346a18d0bf423c03d8de00000081565b61012061018436600461099d565b61030f565b61019c6101973660046109c6565b61034e565b005b6101346101ac36600461090f565b6001600160a01b031660009081526020819052604090205490565b61019c6101d536600461099d565b61035b565b6100f7610374565b6101206101f036600461099d565b610383565b61012061020336600461099d565b61041a565b610134610216366004610930565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461025090610a60565b80601f016020809104026020016040519081016040528092919081815260200182805461027c90610a60565b80156102c95780601f1061029e576101008083540402835291602001916102c9565b820191906000526020600020905b8154815290600101906020018083116102ac57829003601f168201915b5050505050905090565b6000336102e1818585610428565b5060019392505050565b6000336102f985828561054d565b6103048585856105df565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906102e19082908690610349908790610a31565b610428565b61035833826107ad565b50565b61036682338361054d565b61037082826107ad565b5050565b60606004805461025090610a60565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561040d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103048286868403610428565b6000336102e18185856105df565b6001600160a01b03831661048a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610404565b6001600160a01b0382166104eb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610404565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146105d957818110156105cc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610404565b6105d98484848403610428565b50505050565b6001600160a01b0383166106435760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610404565b6001600160a01b0382166106a55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610404565b6001600160a01b0383166000908152602081905260409020548181101561071d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610404565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610754908490610a31565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516107a091815260200190565b60405180910390a36105d9565b6001600160a01b03821661080d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610404565b6001600160a01b038216600090815260208190526040902054818110156108815760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610404565b6001600160a01b03831660009081526020819052604081208383039055600280548492906108b0908490610a49565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610540565b80356001600160a01b038116811461090a57600080fd5b919050565b600060208284031215610920578081fd5b610929826108f3565b9392505050565b60008060408385031215610942578081fd5b61094b836108f3565b9150610959602084016108f3565b90509250929050565b600080600060608486031215610976578081fd5b61097f846108f3565b925061098d602085016108f3565b9150604084013590509250925092565b600080604083850312156109af578182fd5b6109b8836108f3565b946020939093013593505050565b6000602082840312156109d7578081fd5b5035919050565b6000602080835283518082850152825b81811015610a0a578581018301518582016040015282016109ee565b81811115610a1b5783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610a4457610a44610a9b565b500190565b600082821015610a5b57610a5b610a9b565b500390565b600181811c90821680610a7457607f821691505b60208210811415610a9557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220df64d4031e6ebaf7536867c0fcfa75deaa1194e5fa9fde2995546b3ed8ccb32064736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000fd7ecbd135cf53354976fcb3106f61c4c72334390000000000000000000000005a05b3ec8b7615f6b79ab6e8b685e69cd9f42dc20000000000000000000000004af2cefedd1310547e2191eb03f01eb64f2bb0fb000000000000000000000000000000000000000000000000000000000000001d46616e7461737469632050726f746f636f6c204741454120546f6b656e00000000000000000000000000000000000000000000000000000000000000000000044741454100000000000000000000000000000000000000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000fd7ecbd135cf53354976fcb3106f61c4c72334390000000000000000000000005a05b3ec8b7615f6b79ab6e8b685e69cd9f42dc20000000000000000000000004af2cefedd1310547e2191eb03f01eb64f2bb0fb000000000000000000000000000000000000000000000000000000000000001d46616e7461737469632050726f746f636f6c204741454120546f6b656e00000000000000000000000000000000000000000000000000000000000000000000044741454100000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Fantastic Protocol GAEA Token
Arg [1] : _symbol (string): GAEA
Arg [2] : _daoFund (address): 0xfd7ecbd135cf53354976fcb3106f61c4c7233439
Arg [3] : _treasuryFund (address): 0x5a05b3ec8b7615f6b79ab6e8b685e69cd9f42dc2
Arg [4] : _reserve (address): 0x4af2cefedd1310547e2191eb03f01eb64f2bb0fb

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 000000000000000000000000fd7ecbd135cf53354976fcb3106f61c4c7233439
Arg [3] : 0000000000000000000000005a05b3ec8b7615f6b79ab6e8b685e69cd9f42dc2
Arg [4] : 0000000000000000000000004af2cefedd1310547e2191eb03f01eb64f2bb0fb
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [6] : 46616e7461737469632050726f746f636f6c204741454120546f6b656e000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4741454100000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

19070:508:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6758:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9159:201;;;;;;:::i;:::-;;:::i;:::-;;;1640:14:1;;1633:22;1615:41;;1603:2;1588:18;9159:201:0;1570:92:1;7878:108:0;7966:12;;7878:108;;;6015:25:1;;;6003:2;5988:18;7878:108:0;5970:76:1;9940:295:0;;;;;;:::i;:::-;;:::i;7720:93::-;;;7803:2;6193:36:1;;6181:2;6166:18;7720:93:0;6148:87:1;19101:59:0;;19144:16;19101:59;;10644:240;;;;;;:::i;:::-;;:::i;18218:91::-;;;;;;:::i;:::-;;:::i;:::-;;8049:127;;;;;;:::i;:::-;-1:-1:-1;;;;;8150:18:0;8123:7;8150:18;;;;;;;;;;;;8049:127;18628:164;;;;;;:::i;:::-;;:::i;6977:104::-;;;:::i;11387:470::-;;;;;;:::i;:::-;;:::i;8382:193::-;;;;;;:::i;:::-;;:::i;8638:201::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8804:18:0;;;8772:7;8804:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8638:201;6758:100;6812:13;6845:5;6838:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6758:100;:::o;9159:201::-;9242:4;4480:10;9298:32;4480:10;9314:7;9323:6;9298:8;:32::i;:::-;-1:-1:-1;9348:4:0;;9159:201;-1:-1:-1;;;9159:201:0:o;9940:295::-;10071:4;4480:10;10129:38;10145:4;4480:10;10160:6;10129:15;:38::i;:::-;10178:27;10188:4;10194:2;10198:6;10178:9;:27::i;:::-;-1:-1:-1;10223:4:0;;9940:295;-1:-1:-1;;;;9940:295:0:o;10644:240::-;4480:10;10732:4;10813:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;10813:27:0;;;;;;;;;;10732:4;;4480:10;10788:66;;4480:10;;10813:27;;:40;;10843:10;;10813:40;:::i;:::-;10788:8;:66::i;18218:91::-;18274:27;4480:10;18294:6;18274:5;:27::i;:::-;18218:91;:::o;18628:164::-;18705:46;18721:7;4480:10;18744:6;18705:15;:46::i;:::-;18762:22;18768:7;18777:6;18762:5;:22::i;:::-;18628:164;;:::o;6977:104::-;7033:13;7066:7;7059:14;;;;;:::i;11387:470::-;4480:10;11507:4;11595:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;11595:27:0;;;;;;;;;;11507:4;;4480:10;11641:35;;;;11633:85;;;;-1:-1:-1;;;11633:85:0;;5665:2:1;11633:85:0;;;5647:21:1;5704:2;5684:18;;;5677:30;5743:34;5723:18;;;5716:62;-1:-1:-1;;;5794:18:1;;;5787:35;5839:19;;11633:85:0;;;;;;;;;11754:60;11763:5;11770:7;11798:15;11779:16;:34;11754:8;:60::i;8382:193::-;8461:4;4480:10;8517:28;4480:10;8534:2;8538:6;8517:9;:28::i;15055:380::-;-1:-1:-1;;;;;15191:19:0;;15183:68;;;;-1:-1:-1;;;15183:68:0;;5260:2:1;15183:68:0;;;5242:21:1;5299:2;5279:18;;;5272:30;5338:34;5318:18;;;5311:62;-1:-1:-1;;;5389:18:1;;;5382:34;5433:19;;15183:68:0;5232:226:1;15183:68:0;-1:-1:-1;;;;;15270:21:0;;15262:68;;;;-1:-1:-1;;;15262:68:0;;3284:2:1;15262:68:0;;;3266:21:1;3323:2;3303:18;;;3296:30;3362:34;3342:18;;;3335:62;-1:-1:-1;;;3413:18:1;;;3406:32;3455:19;;15262:68:0;3256:224:1;15262:68:0;-1:-1:-1;;;;;15343:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15395:32;;6015:25:1;;;15395:32:0;;5988:18:1;15395:32:0;;;;;;;;15055:380;;;:::o;15722:453::-;-1:-1:-1;;;;;8804:18:0;;;15857:24;8804:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;15924:37:0;;15920:248;;16006:6;15986:16;:26;;15978:68;;;;-1:-1:-1;;;15978:68:0;;3687:2:1;15978:68:0;;;3669:21:1;3726:2;3706:18;;;3699:30;3765:31;3745:18;;;3738:59;3814:18;;15978:68:0;3659:179:1;15978:68:0;16090:51;16099:5;16106:7;16134:6;16115:16;:25;16090:8;:51::i;:::-;15722:453;;;;:::o;12336:671::-;-1:-1:-1;;;;;12467:18:0;;12459:68;;;;-1:-1:-1;;;12459:68:0;;4854:2:1;12459:68:0;;;4836:21:1;4893:2;4873:18;;;4866:30;4932:34;4912:18;;;4905:62;-1:-1:-1;;;4983:18:1;;;4976:35;5028:19;;12459:68:0;4826:227:1;12459:68:0;-1:-1:-1;;;;;12546:16:0;;12538:64;;;;-1:-1:-1;;;12538:64:0;;2477:2:1;12538:64:0;;;2459:21:1;2516:2;2496:18;;;2489:30;2555:34;2535:18;;;2528:62;-1:-1:-1;;;2606:18:1;;;2599:33;2649:19;;12538:64:0;2449:225:1;12538:64:0;-1:-1:-1;;;;;12688:15:0;;12666:19;12688:15;;;;;;;;;;;12722:21;;;;12714:72;;;;-1:-1:-1;;;12714:72:0;;4045:2:1;12714:72:0;;;4027:21:1;4084:2;4064:18;;;4057:30;4123:34;4103:18;;;4096:62;-1:-1:-1;;;4174:18:1;;;4167:36;4220:19;;12714:72:0;4017:228:1;12714:72:0;-1:-1:-1;;;;;12822:15:0;;;:9;:15;;;;;;;;;;;12840:20;;;12822:38;;12882:13;;;;;;;;:23;;12854:6;;12822:9;12882:23;;12854:6;;12882:23;:::i;:::-;;;;;;;;12938:2;-1:-1:-1;;;;;12923:26:0;12932:4;-1:-1:-1;;;;;12923:26:0;;12942:6;12923:26;;;;6015:25:1;;6003:2;5988:18;;5970:76;12923:26:0;;;;;;;;12962:37;14026:591;;-1:-1:-1;;;;;14110:21:0;;14102:67;;;;-1:-1:-1;;;14102:67:0;;4452:2:1;14102:67:0;;;4434:21:1;4491:2;4471:18;;;4464:30;4530:34;4510:18;;;4503:62;-1:-1:-1;;;4581:18:1;;;4574:31;4622:19;;14102:67:0;4424:223:1;14102:67:0;-1:-1:-1;;;;;14269:18:0;;14244:22;14269:18;;;;;;;;;;;14306:24;;;;14298:71;;;;-1:-1:-1;;;14298:71:0;;2881:2:1;14298:71:0;;;2863:21:1;2920:2;2900:18;;;2893:30;2959:34;2939:18;;;2932:62;-1:-1:-1;;;3010:18:1;;;3003:32;3052:19;;14298:71:0;2853:224:1;14298:71:0;-1:-1:-1;;;;;14405:18:0;;:9;:18;;;;;;;;;;14426:23;;;14405:44;;14471:12;:22;;14443:6;;14405:9;14471:22;;14443:6;;14471:22;:::i;:::-;;;;-1:-1:-1;;14511:37:0;;6015:25:1;;;14537:1:0;;-1:-1:-1;;;;;14511:37:0;;;;;6003:2:1;5988:18;14511:37:0;5970:76:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:264::-;1079:6;1087;1140:2;1128:9;1119:7;1115:23;1111:32;1108:2;;;1161:6;1153;1146:22;1108:2;1189:29;1208:9;1189:29;:::i;:::-;1179:39;1265:2;1250:18;;;;1237:32;;-1:-1:-1;;;1098:177:1:o;1280:190::-;1339:6;1392:2;1380:9;1371:7;1367:23;1363:32;1360:2;;;1413:6;1405;1398:22;1360:2;-1:-1:-1;1441:23:1;;1350:120;-1:-1:-1;1350:120:1:o;1667:603::-;1779:4;1808:2;1837;1826:9;1819:21;1869:6;1863:13;1912:6;1907:2;1896:9;1892:18;1885:34;1937:4;1950:140;1964:6;1961:1;1958:13;1950:140;;;2059:14;;;2055:23;;2049:30;2025:17;;;2044:2;2021:26;2014:66;1979:10;;1950:140;;;2108:6;2105:1;2102:13;2099:2;;;2178:4;2173:2;2164:6;2153:9;2149:22;2145:31;2138:45;2099:2;-1:-1:-1;2254:2:1;2233:15;-1:-1:-1;;2229:29:1;2214:45;;;;2261:2;2210:54;;1788:482;-1:-1:-1;;;1788:482:1:o;6240:128::-;6280:3;6311:1;6307:6;6304:1;6301:13;6298:2;;;6317:18;;:::i;:::-;-1:-1:-1;6353:9:1;;6288:80::o;6373:125::-;6413:4;6441:1;6438;6435:8;6432:2;;;6446:18;;:::i;:::-;-1:-1:-1;6483:9:1;;6422:76::o;6503:380::-;6582:1;6578:12;;;;6625;;;6646:2;;6700:4;6692:6;6688:17;6678:27;;6646:2;6753;6745:6;6742:14;6722:18;6719:38;6716:2;;;6799:10;6794:3;6790:20;6787:1;6780:31;6834:4;6831:1;6824:15;6862:4;6859:1;6852:15;6716:2;;6558:325;;;:::o;6888:127::-;6949:10;6944:3;6940:20;6937:1;6930:31;6980:4;6977:1;6970:15;7004:4;7001:1;6994:15

Swarm Source

ipfs://df64d4031e6ebaf7536867c0fcfa75deaa1194e5fa9fde2995546b3ed8ccb320
Loading