Token DarkCrypto Foundation

Overview CRC20

Price
$0.00 @ 0.000000 CRO
Fully Diluted Market Cap
Total Supply:
15,607,259.744142 DCF

Holders:
548 addresses
Contract:
0xfa202a63234a7089eddbfeee83c378ba248f0e9a0xFa202a63234A7089EDdbFEee83c378ba248f0e9a

Decimals:
18

Social Profiles:
Not Available, Update ?

Balance
0 DCF

Value
$0.00
0x7c64ead87ba9a663cb4aa0f45844c18a067481f6
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
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:
DarkCryptoFoundation

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-09-07
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

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

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

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

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


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

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


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

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

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

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

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

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

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

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


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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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


/**
 * @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 {
    using SafeMath for uint256;

    /**
     * @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 {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }
}




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

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

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

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

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

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

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


contract Operator is Context, Ownable {
    address private _operator;

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

    constructor() internal {
        _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 {
        _transferOperator(newOperator_);
    }

    function _transferOperator(address newOperator_) internal {
        require(newOperator_ != address(0), "operator: zero address given for new operator");
        emit OperatorTransferred(address(0), newOperator_);
        _operator = newOperator_;
    }
}


contract DarkCryptoFoundation is ERC20Burnable, Operator {
    using SafeMath for uint256;

    // TOTAL MAX SUPPLY = 100.000.000 DCF
    uint256 public constant DARK_ECOS_ALLOCATION = 50000000 ether;
    uint256 public constant DAO_MKT_FUND_ALLOCATION = 20000000 ether;

    uint256 public constant VESTING_DURATION = 1460 days;
    uint256 public startTime;
    uint256 public endTime;

    uint256 public daoMktFundRewardRate;

    address public darkEcosFund;
    address public daoMktFund;

    uint256 public lastClaimedTime;

    bool public darkEcosFundMinted = false;

    constructor(uint256 _startTime, address _daoMktFund, address _darkEcosFund) public ERC20("DarkCrypto Foundation", "DCF") {
        _mint(msg.sender, 30000000 ether); // mint 30M $DCF for converting tokens

        startTime = _startTime;
        endTime = startTime + VESTING_DURATION;

        lastClaimedTime = startTime;

        daoMktFundRewardRate = DAO_MKT_FUND_ALLOCATION.div(VESTING_DURATION);

        require(_darkEcosFund != address(0), "Address cannot be 0");
        darkEcosFund = _darkEcosFund;

        require(_daoMktFund != address(0), "Address cannot be 0");
        daoMktFund = _daoMktFund;

    }

    function setDaoMktFund(address _daoMktFund) external onlyOperator {
        require(_daoMktFund != address(0), "zero");
        daoMktFund = _daoMktFund;
    }

    function setDarkEcosFund(address _darkEcosFund) external onlyOperator {
        require(_darkEcosFund != address(0), "zero");
        darkEcosFund = _darkEcosFund;
    }

    function unclaimedDaoFund() public view returns (uint256 _pending) {
        uint256 _now = block.timestamp;
        if (_now > endTime) _now = endTime;
        if (lastClaimedTime >= _now) return 0;
        _pending = _now.sub(lastClaimedTime).mul(daoMktFundRewardRate);
    }

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

    /**
     * @notice distribute to reward pool (only once)
     */
    function distributeReward(address _darkEcosFundAddress) external onlyOperator {
        require(!darkEcosFundMinted, "only can distribute once");
        require(_darkEcosFundAddress != address(0), "!darkEcosFundAddress");
        darkEcosFundMinted = true;
        _mint(_darkEcosFundAddress, DARK_ECOS_ALLOCATION);
    }

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

    function governanceRecoverUnsupported(
        IERC20 _token,
        uint256 _amount,
        address _to
    ) external onlyOperator {
        _token.transfer(_to, _amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"address","name":"_daoMktFund","type":"address"},{"internalType":"address","name":"_darkEcosFund","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":"DAO_MKT_FUND_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DARK_ECOS_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":[{"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":"daoMktFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daoMktFundRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"darkEcosFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"darkEcosFundMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_darkEcosFundAddress","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":[{"internalType":"address","name":"_daoMktFund","type":"address"}],"name":"setDaoMktFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_darkEcosFund","type":"address"}],"name":"setDarkEcosFund","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"unclaimedDaoFund","outputs":[{"internalType":"uint256","name":"_pending","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052600d805460ff191690553480156200001b57600080fd5b5060405162001f0638038062001f06833981810160405260608110156200004157600080fd5b50805160208083015160409384015184518086018652601581527f4461726b43727970746f20466f756e646174696f6e000000000000000000000081850190815286518088019097526003808852622221a360e91b958801959095528151959693959294919392620000b5929190620004ad565b508051620000cb906004906020840190620004ad565b50506005805460ff19166012179055506000620000e7620002ca565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35062000147620002ca565b600680546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3620001aa336a18d0bf423c03d8de000000620002ce565b6007839055630784ce00808401600855600c849055620001e3906a108b2a2c2802909400000090620003dd602090811b6200107417901c565b6009556001600160a01b03811662000238576040805162461bcd60e51b81526020600482015260136024820152720416464726573732063616e6e6f74206265203606c1b604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b03838116919091179091558216620002a2576040805162461bcd60e51b81526020600482015260136024820152720416464726573732063616e6e6f74206265203606c1b604482015290519081900360640190fd5b50600b80546001600160a01b0319166001600160a01b03929092169190911790555062000549565b3390565b6001600160a01b0382166200032a576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620003386000838362000446565b62000354816002546200044b60201b620010db1790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000387918390620010db6200044b821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600080821162000434576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816200043e57fe5b049392505050565b505050565b600082820183811015620004a6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620004f057805160ff191683800117855562000520565b8280016001018555821562000520579182015b828111156200052057825182559160200191906001019062000503565b506200052e92915062000532565b5090565b5b808211156200052e576000815560010162000533565b6119ad80620005596000396000f3fe608060405234801561001057600080fd5b50600436106102415760003560e01c80634b1d0c3d116101455780638da5cb5b116100bd578063d786c4f21161008c578063dd62ed3e11610071578063dd62ed3e146105b2578063f16d725d146105e0578063f2fde38b1461060657610241565b8063d786c4f214610584578063dc4405e81461058c57610241565b80638da5cb5b1461051c57806395d89b4114610524578063a457c2d71461052c578063a9059cbb1461055857610241565b806370a082311161011457806378e97925116100f957806378e97925146104e057806379cc6790146104e85780637d9214d11461051457610241565b806370a08231146104b2578063715018a6146104d857610241565b80634b1d0c3d146104645780634cfc4d301461046c57806354575af414610474578063570ca735146104aa57610241565b8063313ce567116101d8578063372500ab116101a757806342966c681161018c57806342966c681461041b5780634456eda21461043857806348c592e81461044057610241565b8063372500ab146103e757806339509351146103ef57610241565b8063313ce567146103b15780633197cbb6146103cf57806334b9558e146103d757806335fabf7e146103df57610241565b806318160ddd1161021457806318160ddd146103455780631a5df6071461034d57806323b872dd1461035557806329605e771461038b57610241565b8063043556e21461024657806306fdde0314610260578063092193ab146102dd578063095ea7b314610305575b600080fd5b61024e61062c565b60408051918252519081900360200190f35b61026861063b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a257818101518382015260200161028a565b50505050905090810190601f1680156102cf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610303600480360360208110156102f357600080fd5b50356001600160a01b03166106d2565b005b6103316004803603604081101561031b57600080fd5b506001600160a01b0381351690602001356107f3565b604080519115158252519081900360200190f35b61024e610811565b61024e610817565b6103316004803603606081101561036b57600080fd5b506001600160a01b03813581169160208101359091169060400135610865565b610303600480360360208110156103a157600080fd5b50356001600160a01b03166108ec565b6103b9610969565b6040805160ff9092168252519081900360200190f35b61024e610972565b61024e610978565b61024e61097e565b61030361098d565b6103316004803603604081101561040557600080fd5b506001600160a01b0381351690602001356109d5565b6103036004803603602081101561043157600080fd5b5035610a23565b610331610a2c565b610448610a52565b604080516001600160a01b039092168252519081900360200190f35b610331610a61565b61024e610a6a565b6103036004803603606081101561048a57600080fd5b506001600160a01b03813581169160208101359160409091013516610a72565b610448610b43565b61024e600480360360208110156104c857600080fd5b50356001600160a01b0316610b52565b610303610b6d565b61024e610c3e565b610303600480360360408110156104fe57600080fd5b506001600160a01b038135169060200135610c44565b610448610c9e565b610448610cad565b610268610cc1565b6103316004803603604081101561054257600080fd5b506001600160a01b038135169060200135610d22565b6103316004803603604081101561056e57600080fd5b506001600160a01b038135169060200135610d8a565b61024e610d9e565b610303600480360360208110156105a257600080fd5b50356001600160a01b0316610da4565b61024e600480360360408110156105c857600080fd5b506001600160a01b0381358116916020013516610e60565b610303600480360360208110156105f657600080fd5b50356001600160a01b0316610e8b565b6103036004803603602081101561061c57600080fd5b50356001600160a01b0316610f47565b6a295be96e6406697200000081565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106c75780601f1061069c576101008083540402835291602001916106c7565b820191906000526020600020905b8154815290600101906020018083116106aa57829003601f168201915b505050505090505b90565b6006546001600160a01b0316331461071b5760405162461bcd60e51b81526004018080602001828103825260248152602001806118c56024913960400191505060405180910390fd5b600d5460ff1615610773576040805162461bcd60e51b815260206004820152601860248201527f6f6e6c792063616e2064697374726962757465206f6e63650000000000000000604482015290519081900360640190fd5b6001600160a01b0381166107ce576040805162461bcd60e51b815260206004820152601460248201527f216461726b45636f7346756e6441646472657373000000000000000000000000604482015290519081900360640190fd5b600d805460ff191660011790556107f0816a295be96e6406697200000061113c565b50565b600061080761080061122c565b8484611230565b5060015b92915050565b60025490565b600854600090429081111561082b57506008545b80600c541061083e5760009150506106cf565b61085f600954610859600c548461131c90919063ffffffff16565b90611379565b91505090565b60006108728484846113d2565b6108e28461087e61122c565b6108dd85604051806060016040528060288152602001611879602891396001600160a01b038a166000908152600160205260408120906108bc61122c565b6001600160a01b03168152602081019190915260400160002054919061152d565b611230565b5060019392505050565b6108f461122c565b6001600160a01b0316610905610cad565b6001600160a01b031614610960576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6107f0816115c4565b60055460ff1690565b60085481565b600c5481565b6a108b2a2c2802909400000081565b6000610997610817565b90506000811180156109b35750600b546001600160a01b031615155b156109ce57600b546109ce906001600160a01b03168261113c565b5042600c55565b60006108076109e261122c565b846108dd85600160006109f361122c565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906110db565b6107f08161166e565b6006546000906001600160a01b0316610a4361122c565b6001600160a01b031614905090565b600b546001600160a01b031681565b600d5460ff1681565b630784ce0081565b6006546001600160a01b03163314610abb5760405162461bcd60e51b81526004018080602001828103825260248152602001806118c56024913960400191505060405180910390fd5b826001600160a01b031663a9059cbb82846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610b1257600080fd5b505af1158015610b26573d6000803e3d6000fd5b505050506040513d6020811015610b3c57600080fd5b5050505050565b6006546001600160a01b031690565b6001600160a01b031660009081526020819052604090205490565b610b7561122c565b6001600160a01b0316610b86610cad565b6001600160a01b031614610be1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36005805474ffffffffffffffffffffffffffffffffffffffff0019169055565b60075481565b6000610c7b826040518060600160405280602481526020016118a160249139610c7486610c6f61122c565b610e60565b919061152d565b9050610c8f83610c8961122c565b83611230565b610c99838361167b565b505050565b600a546001600160a01b031681565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106c75780601f1061069c576101008083540402835291602001916106c7565b6000610807610d2f61122c565b846108dd856040518060600160405280602581526020016119536025913960016000610d5961122c565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061152d565b6000610807610d9761122c565b84846113d2565b60095481565b6006546001600160a01b03163314610ded5760405162461bcd60e51b81526004018080602001828103825260248152602001806118c56024913960400191505060405180910390fd5b6001600160a01b038116610e31576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b600a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6006546001600160a01b03163314610ed45760405162461bcd60e51b81526004018080602001828103825260248152602001806118c56024913960400191505060405180910390fd5b6001600160a01b038116610f18576040805162461bcd60e51b815260206004808301919091526024820152637a65726f60e01b604482015290519081900360640190fd5b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b610f4f61122c565b6001600160a01b0316610f60610cad565b6001600160a01b031614610fbb576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166110005760405162461bcd60e51b81526004018080602001828103825260268152602001806117bd6026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b60008082116110ca576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816110d357fe5b049392505050565b600082820183811015611135576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216611197576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6111a360008383610c99565b6002546111b090826110db565b6002556001600160a01b0382166000908152602081905260409020546111d690826110db565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3390565b6001600160a01b0383166112755760405162461bcd60e51b815260040180806020018281038252602481526020018061192f6024913960400191505060405180910390fd5b6001600160a01b0382166112ba5760405162461bcd60e51b81526004018080602001828103825260228152602001806117e36022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082821115611373576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000826113885750600061080b565b8282028284828161139557fe5b04146111355760405162461bcd60e51b81526004018080602001828103825260218152602001806118586021913960400191505060405180910390fd5b6001600160a01b0383166114175760405162461bcd60e51b815260040180806020018281038252602581526020018061190a6025913960400191505060405180910390fd5b6001600160a01b03821661145c5760405162461bcd60e51b81526004018080602001828103825260238152602001806117786023913960400191505060405180910390fd5b611467838383610c99565b6114a481604051806060016040528060268152602001611805602691396001600160a01b038616600090815260208190526040902054919061152d565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546114d390826110db565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156115bc5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611581578181015183820152602001611569565b50505050905090810190601f1680156115ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0381166116095760405162461bcd60e51b815260040180806020018281038252602d81526020018061182b602d913960400191505060405180910390fd5b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a36006805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6107f061167961122c565b825b6001600160a01b0382166116c05760405162461bcd60e51b81526004018080602001828103825260218152602001806118e96021913960400191505060405180910390fd5b6116cc82600083610c99565b6117098160405180606001604052806022815260200161179b602291396001600160a01b038516600090815260208190526040902054919061152d565b6001600160a01b03831660009081526020819052604090205560025461172f908261131c565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63656f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63656f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b9b6c4bbfdd0e8522909f63ec26c52637a6b4892267370223e7b890e8da1dbcd64736f6c634300060c00330000000000000000000000000000000000000000000000000000000063100410000000000000000000000000090389b8edb165ec66001e1d8852fabcb35f3f9c000000000000000000000000062f2724f64bfefbf7075a7974eaff47e74a1ce0

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

0000000000000000000000000000000000000000000000000000000063100410000000000000000000000000090389b8edb165ec66001e1d8852fabcb35f3f9c000000000000000000000000062f2724f64bfefbf7075a7974eaff47e74a1ce0

-----Decoded View---------------
Arg [0] : _startTime (uint256): 1661994000
Arg [1] : _daoMktFund (address): 0x090389b8edb165ec66001e1d8852fabcb35f3f9c
Arg [2] : _darkEcosFund (address): 0x062f2724f64bfefbf7075a7974eaff47e74a1ce0

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000063100410
Arg [1] : 000000000000000000000000090389b8edb165ec66001e1d8852fabcb35f3f9c
Arg [2] : 000000000000000000000000062f2724f64bfefbf7075a7974eaff47e74a1ce0


Deployed ByteCode Sourcemap

26376:2903:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26518:61;;;:::i;:::-;;;;;;;;;;;;;;;;13112:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28663:327;;;;;;;;;;;;;;;;-1:-1:-1;28663:327:0;-1:-1:-1;;;;;28663:327:0;;:::i;:::-;;15258:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15258:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;14211:108;;;:::i;27971:282::-;;;:::i;15909:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15909:321:0;;;;;;;;;;;;;;;;;:::i;25987:115::-;;;;;;;;;;;;;;;;-1:-1:-1;25987:115:0;-1:-1:-1;;;;;25987:115:0;;:::i;14055:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26749:22;;;:::i;26892:30::-;;;:::i;26586:64::-;;;:::i;28340:243::-;;;:::i;16639:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16639:218:0;;;;;;;;:::i;28998:83::-;;;;;;;;;;;;;;;;-1:-1:-1;28998:83:0;;:::i;25879:100::-;;;:::i;26858:25::-;;;:::i;:::-;;;;-1:-1:-1;;;;;26858:25:0;;;;;;;;;;;;;;26931:38;;;:::i;26659:52::-;;;:::i;29089:187::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29089:187:0;;;;;;;;;;;;;;;;;:::i;25651:85::-;;;:::i;14382:127::-;;;;;;;;;;;;;;;;-1:-1:-1;14382:127:0;-1:-1:-1;;;;;14382:127:0;;:::i;24787:148::-;;;:::i;26718:24::-;;;:::i;22811:295::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22811:295:0;;;;;;;;:::i;26824:27::-;;;:::i;24136:87::-;;;:::i;13322:95::-;;;:::i;17360:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17360:269:0;;;;;;;;:::i;14722:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14722:175:0;;;;;;;;:::i;26780:35::-;;;:::i;27791:172::-;;;;;;;;;;;;;;;;-1:-1:-1;27791:172:0;-1:-1:-1;;;;;27791:172:0;;:::i;14960:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14960:151:0;;;;;;;;;;:::i;27621:162::-;;;;;;;;;;;;;;;;-1:-1:-1;27621:162:0;-1:-1:-1;;;;;27621:162:0;;:::i;25090:244::-;;;;;;;;;;;;;;;;-1:-1:-1;25090:244:0;-1:-1:-1;;;;;25090:244:0;;:::i;26518:61::-;26565:14;26518:61;:::o;13112:91::-;13190:5;13183:12;;;;;;;;-1:-1:-1;;13183:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13157:13;;13183:12;;13190:5;;13183:12;;13190:5;13183:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13112:91;;:::o;28663:327::-;25787:9;;-1:-1:-1;;;;;25787:9:0;25800:10;25787:23;25779:72;;;;-1:-1:-1;;;25779:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28761:18:::1;::::0;::::1;;28760:19;28752:56;;;::::0;;-1:-1:-1;;;28752:56:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;28827:34:0;::::1;28819:67;;;::::0;;-1:-1:-1;;;28819:67:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;28897:18;:25:::0;;-1:-1:-1;;28897:25:0::1;28918:4;28897:25;::::0;;28933:49:::1;28939:20:::0;26565:14:::1;28933:5;:49::i;:::-;28663:327:::0;:::o;15258:169::-;15341:4;15358:39;15367:12;:10;:12::i;:::-;15381:7;15390:6;15358:8;:39::i;:::-;-1:-1:-1;15415:4:0;15258:169;;;;;:::o;14211:108::-;14299:12;;14211:108;:::o;27971:282::-;28101:7;;28020:16;;28064:15;;28094:14;;28090:34;;;-1:-1:-1;28117:7:0;;28090:34;28158:4;28139:15;;:23;28135:37;;28171:1;28164:8;;;;;28135:37;28194:51;28224:20;;28194:25;28203:15;;28194:4;:8;;:25;;;;:::i;:::-;:29;;:51::i;:::-;28183:62;;27971:282;;:::o;15909:321::-;16015:4;16032:36;16042:6;16050:9;16061:6;16032:9;:36::i;:::-;16079:121;16088:6;16096:12;:10;:12::i;:::-;16110:89;16148:6;16110:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16110:19:0;;;;;;:11;:19;;;;;;16130:12;:10;:12::i;:::-;-1:-1:-1;;;;;16110:33:0;;;;;;;;;;;;-1:-1:-1;16110:33:0;;;:89;:37;:89::i;:::-;16079:8;:121::i;:::-;-1:-1:-1;16218:4:0;15909:321;;;;;:::o;25987:115::-;24367:12;:10;:12::i;:::-;-1:-1:-1;;;;;24356:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24356:23:0;;24348:68;;;;;-1:-1:-1;;;24348:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26063:31:::1;26081:12;26063:17;:31::i;14055:91::-:0;14129:9;;;;14055:91;:::o;26749:22::-;;;;:::o;26892:30::-;;;;:::o;26586:64::-;26636:14;26586:64;:::o;28340:243::-;28384:16;28403:18;:16;:18::i;:::-;28384:37;;28447:1;28436:8;:12;:40;;;;-1:-1:-1;28452:10:0;;-1:-1:-1;;;;;28452:10:0;:24;;28436:40;28432:100;;;28499:10;;28493:27;;-1:-1:-1;;;;;28499:10:0;28511:8;28493:5;:27::i;:::-;-1:-1:-1;28560:15:0;28542;:33;28340:243::o;16639:218::-;16727:4;16744:83;16753:12;:10;:12::i;:::-;16767:7;16776:50;16815:10;16776:11;:25;16788:12;:10;:12::i;:::-;-1:-1:-1;;;;;16776:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;16776:25:0;;;:34;;;;;;;;;;;:38;:50::i;28998:83::-;29055:18;29066:6;29055:10;:18::i;25879:100::-;25962:9;;25922:4;;-1:-1:-1;;;;;25962:9:0;25946:12;:10;:12::i;:::-;-1:-1:-1;;;;;25946:25:0;;25939:32;;25879:100;:::o;26858:25::-;;;-1:-1:-1;;;;;26858:25:0;;:::o;26931:38::-;;;;;;:::o;26659:52::-;26702:9;26659:52;:::o;29089:187::-;25787:9;;-1:-1:-1;;;;;25787:9:0;25800:10;25787:23;25779:72;;;;-1:-1:-1;;;25779:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29239:6:::1;-1:-1:-1::0;;;;;29239:15:0::1;;29255:3;29260:7;29239:29;;;;;;;;;;;;;-1:-1:-1::0;;;;;29239:29:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;;;29089:187:0:o;25651:85::-;25719:9;;-1:-1:-1;;;;;25719:9:0;25651:85;:::o;14382:127::-;-1:-1:-1;;;;;14483:18:0;14456:7;14483:18;;;;;;;;;;;;14382:127::o;24787:148::-;24367:12;:10;:12::i;:::-;-1:-1:-1;;;;;24356:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24356:23:0;;24348:68;;;;;-1:-1:-1;;;24348:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24878:6:::1;::::0;24857:40:::1;::::0;24894:1:::1;::::0;24878:6:::1;::::0;::::1;-1:-1:-1::0;;;;;24878:6:0::1;::::0;24857:40:::1;::::0;24894:1;;24857:40:::1;24908:6;:19:::0;;-1:-1:-1;;24908:19:0::1;::::0;;24787:148::o;26718:24::-;;;;:::o;22811:295::-;22888:26;22917:84;22954:6;22917:84;;;;;;;;;;;;;;;;;:32;22927:7;22936:12;:10;:12::i;:::-;22917:9;:32::i;:::-;:36;:84;:36;:84::i;:::-;22888:113;;23014:51;23023:7;23032:12;:10;:12::i;:::-;23046:18;23014:8;:51::i;:::-;23076:22;23082:7;23091:6;23076:5;:22::i;:::-;22811:295;;;:::o;26824:27::-;;;-1:-1:-1;;;;;26824:27:0;;:::o;24136:87::-;24209:6;;;;;-1:-1:-1;;;;;24209:6:0;;24136:87::o;13322:95::-;13402:7;13395:14;;;;;;;;-1:-1:-1;;13395:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13369:13;;13395:14;;13402:7;;13395:14;;13402:7;13395:14;;;;;;;;;;;;;;;;;;;;;;;;17360:269;17453:4;17470:129;17479:12;:10;:12::i;:::-;17493:7;17502:96;17541:15;17502:96;;;;;;;;;;;;;;;;;:11;:25;17514:12;:10;:12::i;:::-;-1:-1:-1;;;;;17502:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17502:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;14722:175::-;14808:4;14825:42;14835:12;:10;:12::i;:::-;14849:9;14860:6;14825:9;:42::i;26780:35::-;;;;:::o;27791:172::-;25787:9;;-1:-1:-1;;;;;25787:9:0;25800:10;25787:23;25779:72;;;;-1:-1:-1;;;25779:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27880:27:0;::::1;27872:44;;;::::0;;-1:-1:-1;;;27872:44:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;27872:44:0;;;;;;;;;;;;;::::1;;27927:12;:28:::0;;-1:-1:-1;;27927:28:0::1;-1:-1:-1::0;;;;;27927:28:0;;;::::1;::::0;;;::::1;::::0;;27791:172::o;14960:151::-;-1:-1:-1;;;;;15076:18:0;;;15049:7;15076:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;14960:151::o;27621:162::-;25787:9;;-1:-1:-1;;;;;25787:9:0;25800:10;25787:23;25779:72;;;;-1:-1:-1;;;25779:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27706:25:0;::::1;27698:42;;;::::0;;-1:-1:-1;;;27698:42:0;;::::1;;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;;;27698:42:0;;;;;;;;;;;;;::::1;;27751:10;:24:::0;;-1:-1:-1;;27751:24:0::1;-1:-1:-1::0;;;;;27751:24:0;;;::::1;::::0;;;::::1;::::0;;27621:162::o;25090:244::-;24367:12;:10;:12::i;:::-;-1:-1:-1;;;;;24356:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24356:23:0;;24348:68;;;;;-1:-1:-1;;;24348:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25179:22:0;::::1;25171:73;;;;-1:-1:-1::0;;;25171:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25281:6;::::0;25260:38:::1;::::0;-1:-1:-1;;;;;25260:38:0;;::::1;::::0;25281:6:::1;::::0;::::1;;::::0;25260:38:::1;::::0;;;::::1;25309:6;:17:::0;;-1:-1:-1;;;;;25309:17:0;;::::1;;;-1:-1:-1::0;;25309:17:0;;::::1;::::0;;;::::1;::::0;;25090:244::o;4341:153::-;4399:7;4431:1;4427;:5;4419:44;;;;;-1:-1:-1;;;4419:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4485:1;4481;:5;;;;;;;4341:153;-1:-1:-1;;;4341:153:0:o;2764:179::-;2822:7;2854:5;;;2878:6;;;;2870:46;;;;;-1:-1:-1;;;2870:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;2934:1;2764:179;-1:-1:-1;;;2764:179:0:o;18940:378::-;-1:-1:-1;;;;;19024:21:0;;19016:65;;;;;-1:-1:-1;;;19016:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19094:49;19123:1;19127:7;19136:6;19094:20;:49::i;:::-;19171:12;;:24;;19188:6;19171:16;:24::i;:::-;19156:12;:39;-1:-1:-1;;;;;19227:18:0;;:9;:18;;;;;;;;;;;:30;;19250:6;19227:22;:30::i;:::-;-1:-1:-1;;;;;19206:18:0;;:9;:18;;;;;;;;;;;:51;;;;19273:37;;;;;;;19206:18;;:9;;19273:37;;;;;;;;;;18940:378;;:::o;7976:106::-;8064:10;7976:106;:::o;20507:346::-;-1:-1:-1;;;;;20609:19:0;;20601:68;;;;-1:-1:-1;;;20601:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20688:21:0;;20680:68;;;;-1:-1:-1;;;20680:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20761:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20813:32;;;;;;;;;;;;;;;;;20507:346;;;:::o;3226:158::-;3284:7;3317:1;3312;:6;;3304:49;;;;;-1:-1:-1;;;3304:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3371:5:0;;;3226:158::o;3643:220::-;3701:7;3725:6;3721:20;;-1:-1:-1;3740:1:0;3733:8;;3721:20;3764:5;;;3768:1;3764;:5;:1;3788:5;;;;;:10;3780:56;;;;-1:-1:-1;;;3780:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18119:539;-1:-1:-1;;;;;18225:20:0;;18217:70;;;;-1:-1:-1;;;18217:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18306:23:0;;18298:71;;;;-1:-1:-1;;;18298:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18382:47;18403:6;18411:9;18422:6;18382:20;:47::i;:::-;18462:71;18484:6;18462:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18462:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;18442:17:0;;;:9;:17;;;;;;;;;;;:91;;;;18567:20;;;;;;;:32;;18592:6;18567:24;:32::i;:::-;-1:-1:-1;;;;;18544:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;18615:35;;;;;;;18544:20;;18615:35;;;;;;;;;;;;;18119:539;;;:::o;5591:166::-;5677:7;5713:12;5705:6;;;;5697:29;;;;-1:-1:-1;;;5697:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5744:5:0;;;5591:166::o;26110:257::-;-1:-1:-1;;;;;26187:26:0;;26179:84;;;;-1:-1:-1;;;26179:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26279:45;;-1:-1:-1;;;;;26279:45:0;;;26307:1;;26279:45;;26307:1;;26279:45;26335:9;:24;;-1:-1:-1;;26335:24:0;-1:-1:-1;;;;;26335:24:0;;;;;;;;;;26110:257::o;22401:91::-;22457:27;22463:12;:10;:12::i;:::-;22477:6;19651:418;-1:-1:-1;;;;;19735:21:0;;19727:67;;;;-1:-1:-1;;;19727:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19807:49;19828:7;19845:1;19849:6;19807:20;:49::i;:::-;19890:68;19913:6;19890:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19890:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;19869:18:0;;:9;:18;;;;;;;;;;:89;19984:12;;:24;;20001:6;19984:16;:24::i;:::-;19969:12;:39;20024:37;;;;;;;;20050:1;;-1:-1:-1;;;;;20024:37:0;;;;;;;;;;;;19651:418;;:::o

Swarm Source

ipfs://b9b6c4bbfdd0e8522909f63ec26c52637a6b4892267370223e7b890e8da1dbcd
Loading