S Price: $0.81245 (+1.31%)

Token

GREEN Share Token (GREEN)

Overview

Max Total Supply

10,000 GREEN

Holders

2

Market

Price

$0.00 @ 0.000000 S

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
9,999.999999999999999541 GREEN

Value
$0.00
0xd66f3bd66a70195bfbb1d5e46d7ece74026aa318
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
GreenToken

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license
File 1 of 8 : Green.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "../owner/Operator.sol";

contract GreenToken is ERC20Burnable, Operator {
    // TOTAL MAX SUPPLY = 10,000,000 Green
    uint256 public constant FARMING_POOL_REWARD_ALLOCATION = 5_000_000 ether;
    uint256 public constant DAO_FUND_POOL_ALLOCATION = 3_500_000 ether;
    uint256 public constant DEV_FUND_POOL_ALLOCATION = 1_000_000 ether;
    uint256 public constant BOOTSTRAP_FUND_POOL_ALLOCATION = 500_000 ether;

    uint256 public constant VESTING_DURATION = 365 days; // ~1 year
    uint256 public startTime;
    uint256 public endTime;

    uint256 public daoFundRewardRate;
    uint256 public devFundRewardRate;
    uint256 public boostrapFundRewardRate;

    address public daoFund;
    address public devFund;
    address public boostrapFund;

    uint256 public lastClaimedTime;

    bool public rewardPoolDistributed = false;

    constructor(uint256 _startTime, address _daoFund, address _devFund, address _boostrapFund)
    ERC20("GREEN Share Token", "GREEN")
    {
        _mint(msg.sender, 10000 ether); // mint 10,000 GREEN for launchpad pools deployment

        startTime = _startTime;
        endTime = startTime + VESTING_DURATION;
        lastClaimedTime = startTime;

        daoFundRewardRate = DAO_FUND_POOL_ALLOCATION / VESTING_DURATION;
        devFundRewardRate = DEV_FUND_POOL_ALLOCATION / VESTING_DURATION;
        boostrapFundRewardRate = BOOTSTRAP_FUND_POOL_ALLOCATION / VESTING_DURATION;

        require(_devFund != address(0), "GreenToken: Invalid dev fund address");
        devFund = _devFund;

        require(_daoFund != address(0), "GreenToken: Invalid DAO fund address");
        daoFund = _daoFund;

        require(_boostrapFund != address(0), "GreenToken: Invalid bootstrap fund address");
        boostrapFund = _boostrapFund;
    }

    function setDaoFund(address _daoFund) external onlyOperator {
        require(_daoFund != address(0), "GreenToken: Invalid DAO fund address");
        daoFund = _daoFund;
    }

    function setDevFund(address _devFund) external onlyOperator {
        require(_devFund != address(0), "GreenToken: Invalid dev fund address");
        devFund = _devFund;
    }

    function setBoostrapFund(address _boostrapFund) external onlyOperator {
        require(_boostrapFund != address(0), "GreenToken: Invalid bootstrap fund address");
        boostrapFund = _boostrapFund;
    }

    function unclaimedDaoFund() public view returns (uint256 _pending) {
        uint256 _now = block.timestamp > endTime ? endTime : block.timestamp;
        if (lastClaimedTime >= _now) return 0;
    unchecked {
        _pending = (_now - lastClaimedTime) * daoFundRewardRate;
    }
    }

    function unclaimedDevFund() public view returns (uint256 _pending) {
        uint256 _now = block.timestamp > endTime ? endTime : block.timestamp;
        if (lastClaimedTime >= _now) return 0;
    unchecked {
        _pending = (_now - lastClaimedTime) * devFundRewardRate;
    }
    }

    function unclaimedBoostrapFund() public view returns (uint256 _pending) {
        uint256 _now = block.timestamp > endTime ? endTime : block.timestamp;
        if (lastClaimedTime >= _now) return 0;
    unchecked {
        _pending = (_now - lastClaimedTime) * boostrapFundRewardRate;
    }
    }

    /**
     * @dev Claim pending rewards to community and dev fund
     */
    function claimRewards() external {
        uint256 _pending = unclaimedDaoFund();
        if (_pending > 0 && daoFund != address(0)) {
            _mint(daoFund, _pending);
        }

        _pending = unclaimedDevFund();
        if (_pending > 0 && devFund != address(0)) {
            _mint(devFund, _pending);
        }

        _pending = unclaimedBoostrapFund();
        if (_pending > 0 && boostrapFund != address(0)) {
            _mint(boostrapFund, _pending);
        }

        lastClaimedTime = block.timestamp;
    }

    /**
     * @notice Distribute to reward pool (only once)
     */
    function distributeReward(address _farmingIncentiveFund) external onlyOperator {
        require(!rewardPoolDistributed, "GreenToken: Reward already distributed");
        require(_farmingIncentiveFund != address(0), "GreenToken: Invalid incentive fund address");
        rewardPoolDistributed = true;
        _mint(_farmingIncentiveFund, FARMING_POOL_REWARD_ALLOCATION);
    }

    function burn(uint256 amount) public override {
        super.burn(amount);
    }

    function governanceRecoverUnsupported(IERC20 _token, uint256 _amount, address _to) external onlyOperator {
        require(_to != address(0), "GreenToken: Cannot transfer to zero address");
        _token.transfer(_to, _amount);
    }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 3 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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}.
     *
     * 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 default value returned by this function, unless
     * it's 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 4 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 5 of 8 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @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 6 of 8 : 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);
}

File 7 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 8 of 8 : Operator.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";

contract Operator is Ownable {
    address private _operator;

    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);

    constructor() {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
    }

    function operator() public view returns (address) {
        return _operator;
    }

    modifier onlyOperator() {
        require(_operator == msg.sender, "Operator: caller is not the operator");
        _;
    }

    function isOperator() public view returns (bool) {
        return _msgSender() == _operator;
    }

    function transferOperator(address newOperator_) public onlyOwner {
        require(newOperator_ != address(0), "Operator: new operator is zero address");
        emit OperatorTransferred(_operator, newOperator_);
        _operator = newOperator_;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"address","name":"_daoFund","type":"address"},{"internalType":"address","name":"_devFund","type":"address"},{"internalType":"address","name":"_boostrapFund","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":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BOOTSTRAP_FUND_POOL_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DAO_FUND_POOL_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV_FUND_POOL_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FARMING_POOL_REWARD_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VESTING_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostrapFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boostrapFundRewardRate","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":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"daoFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daoFundRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFundRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_farmingIncentiveFund","type":"address"}],"name":"distributeReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"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":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastClaimedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPoolDistributed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_boostrapFund","type":"address"}],"name":"setBoostrapFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_daoFund","type":"address"}],"name":"setDaoFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devFund","type":"address"}],"name":"setDevFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unclaimedBoostrapFund","outputs":[{"internalType":"uint256","name":"_pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unclaimedDaoFund","outputs":[{"internalType":"uint256","name":"_pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unclaimedDevFund","outputs":[{"internalType":"uint256","name":"_pending","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526010805460ff191690553480156200001b57600080fd5b5060405162001cfc38038062001cfc8339810160408190526200003e916200045b565b6040518060400160405280601181526020017023a922a2a71029b430b932902a37b5b2b760791b8152506040518060400160405280600581526020016423a922a2a760d91b815250816003908162000097919062000553565b506004620000a6828262000553565b505050620000c3620000bd6200032060201b60201c565b62000324565b600680546001600160a01b031916339081179091556040516000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3620001193369021e19e0c9bab240000062000376565b60078490556200012e6301e13380856200061f565b600855600754600f55620001526301e133806a02e5276153cd3fb380000062000647565b6009556200016f6301e1338069d3c21bcecceda100000062000647565b600a556200018c6301e133806969e10de76676d080000062000647565b600b556001600160a01b038216620001f75760405162461bcd60e51b8152602060048201526024808201527f477265656e546f6b656e3a20496e76616c6964206465762066756e64206164646044820152637265737360e01b60648201526084015b60405180910390fd5b600d80546001600160a01b0319166001600160a01b03848116919091179091558316620002735760405162461bcd60e51b8152602060048201526024808201527f477265656e546f6b656e3a20496e76616c69642044414f2066756e64206164646044820152637265737360e01b6064820152608401620001ee565b600c80546001600160a01b0319166001600160a01b03858116919091179091558116620002f65760405162461bcd60e51b815260206004820152602a60248201527f477265656e546f6b656e3a20496e76616c696420626f6f7473747261702066756044820152696e64206164647265737360b01b6064820152608401620001ee565b600e80546001600160a01b0319166001600160a01b0392909216919091179055506200066a915050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620003ce5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620001ee565b8060026000828254620003e291906200061f565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b80516001600160a01b03811681146200045657600080fd5b919050565b600080600080608085870312156200047257600080fd5b8451935062000484602086016200043e565b925062000494604086016200043e565b9150620004a4606086016200043e565b905092959194509250565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620004da57607f821691505b602082108103620004fb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200043957600081815260208120601f850160051c810160208610156200052a5750805b601f850160051c820191505b818110156200054b5782815560010162000536565b505050505050565b81516001600160401b038111156200056f576200056f620004af565b6200058781620005808454620004c5565b8462000501565b602080601f831160018114620005bf5760008415620005a65750858301515b600019600386901b1c1916600185901b1785556200054b565b600085815260208120601f198616915b82811015620005f057888601518255948401946001909101908401620005cf565b50858210156200060f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200064157634e487b7160e01b600052601160045260246000fd5b92915050565b6000826200066557634e487b7160e01b600052601260045260246000fd5b500490565b611682806200067a6000396000f3fe608060405234801561001057600080fd5b50600436106102685760003560e01c80634cfc4d30116101515780639662676c116100c3578063a9059cbb11610087578063a9059cbb146104e6578063ae4db919146104f9578063c3ebc5931461050c578063d8f9d93e14610515578063dd62ed3e14610528578063f2fde38b1461053b57600080fd5b80639662676c1461049b5780639c36f90d146104a85780639dca80fa146104b9578063a06160fd146104c1578063a457c2d7146104d357600080fd5b8063715018a611610115578063715018a61461044b57806378e979251461045357806379cc67901461045c5780638d934f741461046f5780638da5cb5b1461048257806395d89b411461049357600080fd5b80634cfc4d30146103e25780634f337dd5146103ed57806354575af4146103fe578063570ca7351461041157806370a082311461042257600080fd5b80632c07a624116101ea57806334b9558e116101ae57806334b9558e14610385578063372500ab1461038e578063395093511461039657806342966c68146103a95780634390d2a8146103bc5780634456eda2146103cf57600080fd5b80632c07a624146103495780632c559d27146103515780632e3367ce14610364578063313ce5671461036d5780633197cbb61461037c57600080fd5b806316103b721161023157806316103b721461030157806318160ddd146103135780631a5df6071461031b57806323b872dd1461032357806329605e771461033657600080fd5b806222c4d21461026d57806306fdde031461029d578063092193ab146102b2578063095ea7b3146102c75780630cd571d7146102ea575b600080fd5b600e54610280906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6102a561054e565b6040516102949190611403565b6102c56102c0366004611466565b6105e0565b005b6102da6102d536600461148a565b610703565b6040519015158152602001610294565b6102f3600b5481565b604051908152602001610294565b6102f36a02e5276153cd3fb380000081565b6002546102f3565b6102f361071d565b6102da6103313660046114b6565b610755565b6102c5610344366004611466565b610779565b6102f3610842565b6102c561035f366004611466565b61087a565b6102f3600a5481565b60405160128152602001610294565b6102f360085481565b6102f3600f5481565b6102c5610928565b6102da6103a436600461148a565b6109ee565b6102c56103b73660046114f7565b610a10565b600d54610280906001600160a01b031681565b6006546001600160a01b031633146102da565b6102f36301e1338081565b6102f369d3c21bcecceda100000081565b6102c561040c366004611510565b610a19565b6006546001600160a01b0316610280565b6102f3610430366004611466565b6001600160a01b031660009081526020819052604090205490565b6102c5610b26565b6102f360075481565b6102c561046a36600461148a565b610b3a565b600c54610280906001600160a01b031681565b6005546001600160a01b0316610280565b6102a5610b53565b6010546102da9060ff1681565b6102f36969e10de76676d080000081565b6102f3610b62565b6102f36a0422ca8b0a00a42500000081565b6102da6104e136600461148a565b610b9a565b6102da6104f436600461148a565b610c15565b6102c5610507366004611466565b610c23565b6102f360095481565b6102c5610523366004611466565b610cd1565b6102f3610536366004611552565b610d86565b6102c5610549366004611466565b610db1565b60606003805461055d9061158b565b80601f01602080910402602001604051908101604052809291908181526020018280546105899061158b565b80156105d65780601f106105ab576101008083540402835291602001916105d6565b820191906000526020600020905b8154815290600101906020018083116105b957829003601f168201915b5050505050905090565b6006546001600160a01b031633146106135760405162461bcd60e51b815260040161060a906115c5565b60405180910390fd5b60105460ff16156106755760405162461bcd60e51b815260206004820152602660248201527f477265656e546f6b656e3a2052657761726420616c72656164792064697374726044820152651a589d5d195960d21b606482015260840161060a565b6001600160a01b0381166106de5760405162461bcd60e51b815260206004820152602a60248201527f477265656e546f6b656e3a20496e76616c696420696e63656e746976652066756044820152696e64206164647265737360b01b606482015260840161060a565b6010805460ff19166001179055610700816a0422ca8b0a00a425000000610e27565b50565b600033610711818585610ee6565b60019150505b92915050565b600080600854421161072f5742610733565b6008545b905080600f541061074657600091505090565b600954600f5482030291505090565b60003361076385828561100b565b61076e85858561107f565b506001949350505050565b610781611223565b6001600160a01b0381166107e65760405162461bcd60e51b815260206004820152602660248201527f4f70657261746f723a206e6577206f70657261746f72206973207a65726f206160448201526564647265737360d01b606482015260840161060a565b6006546040516001600160a01b038084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b60008060085442116108545742610858565b6008545b905080600f541061086b57600091505090565b600a54600f5482030291505090565b6006546001600160a01b031633146108a45760405162461bcd60e51b815260040161060a906115c5565b6001600160a01b0381166109065760405162461bcd60e51b8152602060048201526024808201527f477265656e546f6b656e3a20496e76616c69642044414f2066756e64206164646044820152637265737360e01b606482015260840161060a565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600061093261071d565b905060008111801561094e5750600c546001600160a01b031615155b1561096957600c54610969906001600160a01b031682610e27565b610971610842565b905060008111801561098d5750600d546001600160a01b031615155b156109a857600d546109a8906001600160a01b031682610e27565b6109b0610b62565b90506000811180156109cc5750600e546001600160a01b031615155b156109e757600e546109e7906001600160a01b031682610e27565b5042600f55565b600033610711818585610a018383610d86565b610a0b9190611609565b610ee6565b6107008161127d565b6006546001600160a01b03163314610a435760405162461bcd60e51b815260040161060a906115c5565b6001600160a01b038116610aad5760405162461bcd60e51b815260206004820152602b60248201527f477265656e546f6b656e3a2043616e6e6f74207472616e7366657220746f207a60448201526a65726f206164647265737360a81b606482015260840161060a565b60405163a9059cbb60e01b81526001600160a01b0382811660048301526024820184905284169063a9059cbb906044016020604051808303816000875af1158015610afc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b20919061162a565b50505050565b610b2e611223565b610b386000611287565b565b610b4582338361100b565b610b4f82826112d9565b5050565b60606004805461055d9061158b565b6000806008544211610b745742610b78565b6008545b905080600f5410610b8b57600091505090565b600b54600f5482030291505090565b60003381610ba88286610d86565b905083811015610c085760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161060a565b61076e8286868403610ee6565b60003361071181858561107f565b6006546001600160a01b03163314610c4d5760405162461bcd60e51b815260040161060a906115c5565b6001600160a01b038116610caf5760405162461bcd60e51b8152602060048201526024808201527f477265656e546f6b656e3a20496e76616c6964206465762066756e64206164646044820152637265737360e01b606482015260840161060a565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610cfb5760405162461bcd60e51b815260040161060a906115c5565b6001600160a01b038116610d645760405162461bcd60e51b815260206004820152602a60248201527f477265656e546f6b656e3a20496e76616c696420626f6f7473747261702066756044820152696e64206164647265737360b01b606482015260840161060a565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610db9611223565b6001600160a01b038116610e1e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060a565b61070081611287565b6001600160a01b038216610e7d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161060a565b8060026000828254610e8f9190611609565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038316610f485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060a565b6001600160a01b038216610fa95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006110178484610d86565b90506000198114610b2057818110156110725760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161060a565b610b208484848403610ee6565b6001600160a01b0383166110e35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161060a565b6001600160a01b0382166111455760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161060a565b6001600160a01b038316600090815260208190526040902054818110156111bd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161060a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b20565b6005546001600160a01b03163314610b385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161060a565b61070033826112d9565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166113395760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161060a565b6001600160a01b038216600090815260208190526040902054818110156113ad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161060a565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610ffe565b600060208083528351808285015260005b8181101561143057858101830151858201604001528201611414565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461070057600080fd5b60006020828403121561147857600080fd5b813561148381611451565b9392505050565b6000806040838503121561149d57600080fd5b82356114a881611451565b946020939093013593505050565b6000806000606084860312156114cb57600080fd5b83356114d681611451565b925060208401356114e681611451565b929592945050506040919091013590565b60006020828403121561150957600080fd5b5035919050565b60008060006060848603121561152557600080fd5b833561153081611451565b925060208401359150604084013561154781611451565b809150509250925092565b6000806040838503121561156557600080fd5b823561157081611451565b9150602083013561158081611451565b809150509250929050565b600181811c9082168061159f57607f821691505b6020821081036115bf57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526024908201527f4f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260408201526330ba37b960e11b606082015260800190565b8082018082111561071757634e487b7160e01b600052601160045260246000fd5b60006020828403121561163c57600080fd5b8151801515811461148357600080fdfea264697066735822122045b3c665801fffc35e818f7d8989b428ec347a05265492baa69f058323f6d2f264736f6c634300081400330000000000000000000000000000000000000000000000000000000067af001700000000000000000000000055fe100f8a45421730987ff0147a144dbfcac8cd00000000000000000000000018817366b4cc2941eb86a44420cdcfeccb929e0100000000000000000000000055fe100f8a45421730987ff0147a144dbfcac8cd

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102685760003560e01c80634cfc4d30116101515780639662676c116100c3578063a9059cbb11610087578063a9059cbb146104e6578063ae4db919146104f9578063c3ebc5931461050c578063d8f9d93e14610515578063dd62ed3e14610528578063f2fde38b1461053b57600080fd5b80639662676c1461049b5780639c36f90d146104a85780639dca80fa146104b9578063a06160fd146104c1578063a457c2d7146104d357600080fd5b8063715018a611610115578063715018a61461044b57806378e979251461045357806379cc67901461045c5780638d934f741461046f5780638da5cb5b1461048257806395d89b411461049357600080fd5b80634cfc4d30146103e25780634f337dd5146103ed57806354575af4146103fe578063570ca7351461041157806370a082311461042257600080fd5b80632c07a624116101ea57806334b9558e116101ae57806334b9558e14610385578063372500ab1461038e578063395093511461039657806342966c68146103a95780634390d2a8146103bc5780634456eda2146103cf57600080fd5b80632c07a624146103495780632c559d27146103515780632e3367ce14610364578063313ce5671461036d5780633197cbb61461037c57600080fd5b806316103b721161023157806316103b721461030157806318160ddd146103135780631a5df6071461031b57806323b872dd1461032357806329605e771461033657600080fd5b806222c4d21461026d57806306fdde031461029d578063092193ab146102b2578063095ea7b3146102c75780630cd571d7146102ea575b600080fd5b600e54610280906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6102a561054e565b6040516102949190611403565b6102c56102c0366004611466565b6105e0565b005b6102da6102d536600461148a565b610703565b6040519015158152602001610294565b6102f3600b5481565b604051908152602001610294565b6102f36a02e5276153cd3fb380000081565b6002546102f3565b6102f361071d565b6102da6103313660046114b6565b610755565b6102c5610344366004611466565b610779565b6102f3610842565b6102c561035f366004611466565b61087a565b6102f3600a5481565b60405160128152602001610294565b6102f360085481565b6102f3600f5481565b6102c5610928565b6102da6103a436600461148a565b6109ee565b6102c56103b73660046114f7565b610a10565b600d54610280906001600160a01b031681565b6006546001600160a01b031633146102da565b6102f36301e1338081565b6102f369d3c21bcecceda100000081565b6102c561040c366004611510565b610a19565b6006546001600160a01b0316610280565b6102f3610430366004611466565b6001600160a01b031660009081526020819052604090205490565b6102c5610b26565b6102f360075481565b6102c561046a36600461148a565b610b3a565b600c54610280906001600160a01b031681565b6005546001600160a01b0316610280565b6102a5610b53565b6010546102da9060ff1681565b6102f36969e10de76676d080000081565b6102f3610b62565b6102f36a0422ca8b0a00a42500000081565b6102da6104e136600461148a565b610b9a565b6102da6104f436600461148a565b610c15565b6102c5610507366004611466565b610c23565b6102f360095481565b6102c5610523366004611466565b610cd1565b6102f3610536366004611552565b610d86565b6102c5610549366004611466565b610db1565b60606003805461055d9061158b565b80601f01602080910402602001604051908101604052809291908181526020018280546105899061158b565b80156105d65780601f106105ab576101008083540402835291602001916105d6565b820191906000526020600020905b8154815290600101906020018083116105b957829003601f168201915b5050505050905090565b6006546001600160a01b031633146106135760405162461bcd60e51b815260040161060a906115c5565b60405180910390fd5b60105460ff16156106755760405162461bcd60e51b815260206004820152602660248201527f477265656e546f6b656e3a2052657761726420616c72656164792064697374726044820152651a589d5d195960d21b606482015260840161060a565b6001600160a01b0381166106de5760405162461bcd60e51b815260206004820152602a60248201527f477265656e546f6b656e3a20496e76616c696420696e63656e746976652066756044820152696e64206164647265737360b01b606482015260840161060a565b6010805460ff19166001179055610700816a0422ca8b0a00a425000000610e27565b50565b600033610711818585610ee6565b60019150505b92915050565b600080600854421161072f5742610733565b6008545b905080600f541061074657600091505090565b600954600f5482030291505090565b60003361076385828561100b565b61076e85858561107f565b506001949350505050565b610781611223565b6001600160a01b0381166107e65760405162461bcd60e51b815260206004820152602660248201527f4f70657261746f723a206e6577206f70657261746f72206973207a65726f206160448201526564647265737360d01b606482015260840161060a565b6006546040516001600160a01b038084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b60008060085442116108545742610858565b6008545b905080600f541061086b57600091505090565b600a54600f5482030291505090565b6006546001600160a01b031633146108a45760405162461bcd60e51b815260040161060a906115c5565b6001600160a01b0381166109065760405162461bcd60e51b8152602060048201526024808201527f477265656e546f6b656e3a20496e76616c69642044414f2066756e64206164646044820152637265737360e01b606482015260840161060a565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600061093261071d565b905060008111801561094e5750600c546001600160a01b031615155b1561096957600c54610969906001600160a01b031682610e27565b610971610842565b905060008111801561098d5750600d546001600160a01b031615155b156109a857600d546109a8906001600160a01b031682610e27565b6109b0610b62565b90506000811180156109cc5750600e546001600160a01b031615155b156109e757600e546109e7906001600160a01b031682610e27565b5042600f55565b600033610711818585610a018383610d86565b610a0b9190611609565b610ee6565b6107008161127d565b6006546001600160a01b03163314610a435760405162461bcd60e51b815260040161060a906115c5565b6001600160a01b038116610aad5760405162461bcd60e51b815260206004820152602b60248201527f477265656e546f6b656e3a2043616e6e6f74207472616e7366657220746f207a60448201526a65726f206164647265737360a81b606482015260840161060a565b60405163a9059cbb60e01b81526001600160a01b0382811660048301526024820184905284169063a9059cbb906044016020604051808303816000875af1158015610afc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b20919061162a565b50505050565b610b2e611223565b610b386000611287565b565b610b4582338361100b565b610b4f82826112d9565b5050565b60606004805461055d9061158b565b6000806008544211610b745742610b78565b6008545b905080600f5410610b8b57600091505090565b600b54600f5482030291505090565b60003381610ba88286610d86565b905083811015610c085760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161060a565b61076e8286868403610ee6565b60003361071181858561107f565b6006546001600160a01b03163314610c4d5760405162461bcd60e51b815260040161060a906115c5565b6001600160a01b038116610caf5760405162461bcd60e51b8152602060048201526024808201527f477265656e546f6b656e3a20496e76616c6964206465762066756e64206164646044820152637265737360e01b606482015260840161060a565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610cfb5760405162461bcd60e51b815260040161060a906115c5565b6001600160a01b038116610d645760405162461bcd60e51b815260206004820152602a60248201527f477265656e546f6b656e3a20496e76616c696420626f6f7473747261702066756044820152696e64206164647265737360b01b606482015260840161060a565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610db9611223565b6001600160a01b038116610e1e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060a565b61070081611287565b6001600160a01b038216610e7d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161060a565b8060026000828254610e8f9190611609565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038316610f485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060a565b6001600160a01b038216610fa95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006110178484610d86565b90506000198114610b2057818110156110725760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161060a565b610b208484848403610ee6565b6001600160a01b0383166110e35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161060a565b6001600160a01b0382166111455760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161060a565b6001600160a01b038316600090815260208190526040902054818110156111bd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161060a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610b20565b6005546001600160a01b03163314610b385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161060a565b61070033826112d9565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166113395760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161060a565b6001600160a01b038216600090815260208190526040902054818110156113ad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161060a565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610ffe565b600060208083528351808285015260005b8181101561143057858101830151858201604001528201611414565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461070057600080fd5b60006020828403121561147857600080fd5b813561148381611451565b9392505050565b6000806040838503121561149d57600080fd5b82356114a881611451565b946020939093013593505050565b6000806000606084860312156114cb57600080fd5b83356114d681611451565b925060208401356114e681611451565b929592945050506040919091013590565b60006020828403121561150957600080fd5b5035919050565b60008060006060848603121561152557600080fd5b833561153081611451565b925060208401359150604084013561154781611451565b809150509250925092565b6000806040838503121561156557600080fd5b823561157081611451565b9150602083013561158081611451565b809150509250929050565b600181811c9082168061159f57607f821691505b6020821081036115bf57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526024908201527f4f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260408201526330ba37b960e11b606082015260800190565b8082018082111561071757634e487b7160e01b600052601160045260246000fd5b60006020828403121561163c57600080fd5b8151801515811461148357600080fdfea264697066735822122045b3c665801fffc35e818f7d8989b428ec347a05265492baa69f058323f6d2f264736f6c63430008140033

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

0000000000000000000000000000000000000000000000000000000067af001700000000000000000000000055fe100f8a45421730987ff0147a144dbfcac8cd00000000000000000000000018817366b4cc2941eb86a44420cdcfeccb929e0100000000000000000000000055fe100f8a45421730987ff0147a144dbfcac8cd

-----Decoded View---------------
Arg [0] : _startTime (uint256): 1739522071
Arg [1] : _daoFund (address): 0x55fe100F8A45421730987FF0147A144dBFcAC8cd
Arg [2] : _devFund (address): 0x18817366b4cC2941EB86a44420CDcfEcCB929e01
Arg [3] : _boostrapFund (address): 0x55fe100F8A45421730987FF0147A144dBFcAC8cd

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000067af0017
Arg [1] : 00000000000000000000000055fe100f8a45421730987ff0147a144dbfcac8cd
Arg [2] : 00000000000000000000000018817366b4cc2941eb86a44420cdcfeccb929e01
Arg [3] : 00000000000000000000000055fe100f8a45421730987ff0147a144dbfcac8cd


[ 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.