ETH Price: $2,487.92 (-0.89%)

Token

Fei Genesis Group (FGEN)
 

Overview

Max Total Supply

126.736633824356291182 FGEN

Holders

953

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
*兎田ぺこら.eth
Balance
0 FGEN

Value
$0.00
0xbc992581f5061f55c90271a022eb0657e8ced91a
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
GenesisGroup

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
File 1 of 21 : GenesisGroup.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./IGenesisGroup.sol";
import "./IDOInterface.sol";
import "../utils/Timed.sol";
import "../refs/CoreRef.sol";
import "../oracle/IBondingCurveOracle.sol";
import "../bondingcurve/IBondingCurve.sol";

/// @title Equal access to the first bonding curve transaction and the IDO
/// @author Fei Protocol
contract GenesisGroup is IGenesisGroup, CoreRef, ERC20, Timed {
    using Decimal for Decimal.D256;

    IBondingCurve private bondingcurve;

    IBondingCurveOracle private bondingCurveOracle;

    IDOInterface private ido;
    uint256 private exchangeRateDiscount;

    /// @notice amount of FGEN pre-committed and burned per account
    mapping(address => uint256) public override committedFGEN;

    /// @notice total amount of FGEN pre-committed and burned
    uint256 public override totalCommittedFGEN;

    /// @notice total amount of TRIBE coming from the IDO and pre-committed FGEN
    /// @dev is 0 pre-launch
    uint256 public override totalCommittedTribe;
    
    /// @notice the block number of the genesis launch
    uint256 public override launchBlock;

    /// @notice GenesisGroup constructor
    /// @param _core Fei Core address to reference
    /// @param _bondingcurve Bonding curve address for purchase
    /// @param _ido IDO contract to deploy
    /// @param _oracle Bonding curve oracle
    /// @param _duration duration of the Genesis Period
    /// @param _exchangeRateDiscount a divisor on the FEI/TRIBE ratio at Genesis to deploy to the IDO
    constructor(
        address _core,
        address _bondingcurve,
        address _ido,
        address _oracle,
        uint256 _duration,
        uint256 _exchangeRateDiscount
    )
        public
        CoreRef(_core)
        ERC20("Fei Genesis Group", "FGEN")
        Timed(_duration)
    {
        bondingcurve = IBondingCurve(_bondingcurve);

        exchangeRateDiscount = _exchangeRateDiscount;
        ido = IDOInterface(_ido);

        uint256 maxTokens = uint256(-1);
        fei().approve(_ido, maxTokens);

        bondingCurveOracle = IBondingCurveOracle(_oracle);
    }

    function initGenesis() external override onlyGovernor {
        _initTimed();
    }

    /// @notice allows for entry into the Genesis Group via ETH. Only callable during Genesis Period.
    /// @param to address to send FGEN Genesis tokens to
    /// @param value amount of ETH to deposit
    function purchase(address to, uint256 value)
        external
        payable
        override
        duringTime
    {
        require(msg.value == value, "GenesisGroup: value mismatch");
        require(value != 0, "GenesisGroup: no value sent");

        _mint(to, value);

        emit Purchase(to, value);
    }

    /// @notice commit Genesis FEI to purchase TRIBE in DEX offering
    /// @param from address to source FGEN Genesis shares from
    /// @param to address to earn TRIBE and redeem post launch
    /// @param amount of FGEN Genesis shares to commit
    function commit(
        address from,
        address to,
        uint256 amount
    ) external override duringTime {
        _burnFrom(from, amount);

        committedFGEN[to] = committedFGEN[to].add(amount);
        totalCommittedFGEN = totalCommittedFGEN.add(amount);

        emit Commit(from, to, amount);
    }

    /// @notice redeem FGEN genesis tokens for FEI and TRIBE. Only callable post launch
    /// @param to address to send redeemed FEI and TRIBE to.
    function redeem(address to) external override {
        (uint256 feiAmount, uint256 genesisTribe, uint256 idoTribe) =
            getAmountsToRedeem(to);
        require(
            block.number > launchBlock,
            "GenesisGroup: No redeeming in launch block"
        );

        // Total tribe to redeem
        uint256 tribeAmount = genesisTribe.add(idoTribe);
        require(tribeAmount != 0, "GenesisGroup: No redeemable TRIBE");

        // Burn FGEN
        uint256 amountIn = balanceOf(to);
        _burnFrom(to, amountIn);

        // Reset committed
        uint256 committed = committedFGEN[to];
        committedFGEN[to] = 0;
        totalCommittedFGEN = totalCommittedFGEN.sub(committed);

        totalCommittedTribe = totalCommittedTribe.sub(idoTribe);

        // send FEI and TRIBE
        if (feiAmount != 0) {
            fei().transfer(to, feiAmount);
        }
        tribe().transfer(to, tribeAmount);

        emit Redeem(to, amountIn, feiAmount, tribeAmount);
    }

    /// @notice launch Fei Protocol. Callable once Genesis Period has ended
    function launch() external override nonContract afterTime {

        // Complete Genesis
        core().completeGenesisGroup();
        launchBlock = block.number;

        address genesisGroup = address(this);
        uint256 balance = genesisGroup.balance;

        // Initialize bonding curve oracle
        bondingCurveOracle.init(bondingcurve.getAverageUSDPrice(balance));

        // bonding curve purchase and PCV allocation
        bondingcurve.purchase{value: balance}(genesisGroup, balance);
        bondingcurve.allocate();

        ido.deploy(_feiTribeExchangeRate());

        // swap pre-committed FEI on IDO and store TRIBE
        uint256 amountFei =
            feiBalance().mul(totalCommittedFGEN) /
                (totalSupply().add(totalCommittedFGEN));
        if (amountFei != 0) {
            totalCommittedTribe = ido.swapFei(amountFei);
        }

        // solhint-disable-next-line not-rely-on-time
        emit Launch(block.timestamp);
    }

    // Add a backdoor out of Genesis in case of brick
    function emergencyExit(address from, address payable to) external override {
        require(
            // solhint-disable-next-line not-rely-on-time
            block.timestamp > (startTime + duration + 3 days),
            "GenesisGroup: Not in exit window"
        );
        require(
            !core().hasGenesisGroupCompleted(),
            "GenesisGroup: Launch already happened"
        );

        uint256 heldFGEN = balanceOf(from);
        uint256 committed = committedFGEN[from];
        uint256 total = heldFGEN.add(committed);

        require(total != 0, "GenesisGroup: No FGEN or committed balance");
        require(
            msg.sender == from || allowance(from, msg.sender) >= total,
            "GenesisGroup: Not approved for emergency withdrawal"
        );
        assert(address(this).balance >= total); // ETH can only be removed by launch which blocks this method or this method in event of launch failure

        _burnFrom(from, heldFGEN);
        committedFGEN[from] = 0;
        totalCommittedFGEN = totalCommittedFGEN.sub(committed);

        to.transfer(total);
    }

    /// @notice calculate amount of FEI and TRIBE redeemable by an account post-genesis
    /// @return feiAmount the amount of FEI received by the user
    /// @return genesisTribe the amount of TRIBE received by the user per GenesisGroup
    /// @return idoTribe the amount of TRIBE received by the user per pre-committed FEI trading in the IDO
    /// @dev this function is only callable post launch
    function getAmountsToRedeem(address to)
        public
        view
        override
        postGenesis
        returns (
            uint256 feiAmount,
            uint256 genesisTribe,
            uint256 idoTribe
        )
    {
        uint256 userFGEN = balanceOf(to);
        uint256 userCommittedFGEN = committedFGEN[to];

        uint256 circulatingFGEN = totalSupply();
        uint256 totalFGEN = circulatingFGEN.add(totalCommittedFGEN);

        // subtract IDO purchased TRIBE amount
        uint256 totalGenesisTribe = tribeBalance().sub(totalCommittedTribe);

        if (circulatingFGEN != 0) {
            // portion of remaining uncommitted FEI
            feiAmount = feiBalance().mul(userFGEN) / circulatingFGEN;
        }

        if (totalFGEN != 0) {
            // portion including both committed and uncommitted FGEN
            genesisTribe =
                totalGenesisTribe.mul(userFGEN.add(userCommittedFGEN)) /
                totalFGEN;
        }

        if (totalCommittedFGEN != 0) {
            // portion including only committed FGEN of IDO TRIBE
            idoTribe =
                totalCommittedTribe.mul(userCommittedFGEN) /
                totalCommittedFGEN;
        }

        return (feiAmount, genesisTribe, idoTribe);
    }

    /// @notice calculate amount of FEI and TRIBE received if the Genesis Group ended now.
    /// @param amountIn amount of FGEN held or equivalently amount of ETH purchasing with
    /// @param inclusive if true, assumes the `amountIn` is part of the existing FGEN supply. Set to false to simulate a new purchase.
    /// @return feiAmount the amount of FEI received by the user
    /// @return tribeAmount the amount of TRIBE received by the user
    function getAmountOut(uint256 amountIn, bool inclusive)
        public
        view
        override
        returns (uint256 feiAmount, uint256 tribeAmount)
    {
        uint256 totalIn = totalSupply().add(totalCommittedFGEN);
        if (!inclusive) {
            // exclusive from current supply, so we add it in
            totalIn = totalIn.add(amountIn);
        }
        require(amountIn <= totalIn, "GenesisGroup: Not enough supply");

        uint256 totalFei = bondingcurve.getAmountOut(totalIn);
        uint256 totalTribe = tribeBalance();

        // return portions of total FEI and TRIBE
        return (
            totalFei.mul(amountIn) / totalIn,
            totalTribe.mul(amountIn) / totalIn
        );
    }

    function _burnFrom(address account, uint256 amount) internal {
        if (msg.sender != account) {
            uint256 decreasedAllowance =
                allowance(account, _msgSender()).sub(
                    amount,
                    "GenesisGroup: burn amount exceeds allowance"
                );
            _approve(account, _msgSender(), decreasedAllowance);
        }
        _burn(account, amount);
    }

    function _feiTribeExchangeRate()
        internal
        view
        returns (Decimal.D256 memory)
    {
        return
            Decimal.ratio(feiBalance(), tribeBalance()).div(
                exchangeRateDiscount
            );
    }
}

File 2 of 21 : IGenesisGroup.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "../external/Decimal.sol";

/// @title Genesis Group interface
/// @author Fei Protocol
interface IGenesisGroup {
    // ----------- Events -----------

    event Purchase(address indexed _to, uint256 _value);

    event Redeem(
        address indexed _to,
        uint256 _amountIn,
        uint256 _amountFei,
        uint256 _amountTribe
    );

    event Commit(address indexed _from, address indexed _to, uint256 _amount);

    event Launch(uint256 _timestamp);

    // ----------- Governor-only state changing API -----------
    
    function initGenesis() external;

    // ----------- State changing API -----------

    function purchase(address to, uint256 value) external payable;

    function redeem(address to) external;

    function commit(
        address from,
        address to,
        uint256 amount
    ) external;

    function launch() external;

    function emergencyExit(address from, address payable to) external;

    // ----------- Getters -----------

    function getAmountOut(uint256 amountIn, bool inclusive)
        external
        view
        returns (uint256 feiAmount, uint256 tribeAmount);

    function getAmountsToRedeem(address to)
        external
        view
        returns (
            uint256 feiAmount,
            uint256 genesisTribe,
            uint256 idoTribe
        );

    function committedFGEN(address account) external view returns (uint256);

    function totalCommittedFGEN() external view returns (uint256);

    function totalCommittedTribe() external view returns (uint256);

    function launchBlock() external view returns (uint256);
}

File 3 of 21 : Decimal.sol
/*
    Copyright 2019 dYdX Trading Inc.
    Copyright 2020 Empty Set Squad <[email protected]>
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "./SafeMathCopy.sol";

/**
 * @title Decimal
 * @author dYdX
 *
 * Library that defines a fixed-point number with 18 decimal places.
 */
library Decimal {
    using SafeMathCopy for uint256;

    // ============ Constants ============

    uint256 private constant BASE = 10**18;

    // ============ Structs ============


    struct D256 {
        uint256 value;
    }

    // ============ Static Functions ============

    function zero()
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: 0 });
    }

    function one()
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: BASE });
    }

    function from(
        uint256 a
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: a.mul(BASE) });
    }

    function ratio(
        uint256 a,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: getPartial(a, BASE, b) });
    }

    // ============ Self Functions ============

    function add(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.add(b.mul(BASE)) });
    }

    function sub(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.mul(BASE)) });
    }

    function sub(
        D256 memory self,
        uint256 b,
        string memory reason
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.mul(BASE), reason) });
    }

    function mul(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.mul(b) });
    }

    function div(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.div(b) });
    }

    function pow(
        D256 memory self,
        uint256 b
    )
    internal
    pure
    returns (D256 memory)
    {
        if (b == 0) {
            return from(1);
        }

        D256 memory temp = D256({ value: self.value });
        for (uint256 i = 1; i < b; i++) {
            temp = mul(temp, self);
        }

        return temp;
    }

    function add(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.add(b.value) });
    }

    function sub(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.value) });
    }

    function sub(
        D256 memory self,
        D256 memory b,
        string memory reason
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: self.value.sub(b.value, reason) });
    }

    function mul(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: getPartial(self.value, b.value, BASE) });
    }

    function div(
        D256 memory self,
        D256 memory b
    )
    internal
    pure
    returns (D256 memory)
    {
        return D256({ value: getPartial(self.value, BASE, b.value) });
    }

    function equals(D256 memory self, D256 memory b) internal pure returns (bool) {
        return self.value == b.value;
    }

    function greaterThan(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) == 2;
    }

    function lessThan(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) == 0;
    }

    function greaterThanOrEqualTo(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) > 0;
    }

    function lessThanOrEqualTo(D256 memory self, D256 memory b) internal pure returns (bool) {
        return compareTo(self, b) < 2;
    }

    function isZero(D256 memory self) internal pure returns (bool) {
        return self.value == 0;
    }

    function asUint256(D256 memory self) internal pure returns (uint256) {
        return self.value.div(BASE);
    }

    // ============ Core Methods ============

    function getPartial(
        uint256 target,
        uint256 numerator,
        uint256 denominator
    )
    private
    pure
    returns (uint256)
    {
        return target.mul(numerator).div(denominator);
    }

    function compareTo(
        D256 memory a,
        D256 memory b
    )
    private
    pure
    returns (uint256)
    {
        if (a.value == b.value) {
            return 1;
        }
        return a.value > b.value ? 2 : 0;
    }
}

File 4 of 21 : SafeMathCopy.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMathCopy { // To avoid namespace collision between openzeppelin safemath and uniswap safemath
    /**
     * @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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 5 of 21 : IDOInterface.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "../external/Decimal.sol";

/// @title IDO interface
/// @author Fei Protocol
interface IDOInterface {
    // ----------- Events -----------

    event Deploy(uint256 _amountFei, uint256 _amountTribe);

    // ----------- Genesis Group only state changing API -----------

    function deploy(Decimal.D256 calldata feiRatio) external;

    function swapFei(uint256 amountFei) external returns (uint256);

    // ----------- Governor only state changing API -----------

    function unlockLiquidity() external;

}

File 6 of 21 : Timed.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "@openzeppelin/contracts/utils/SafeCast.sol";

/// @title an abstract contract for timed events
/// @author Fei Protocol
abstract contract Timed {
    using SafeCast for uint256;

    /// @notice the start timestamp of the timed period
    uint256 public startTime;

    /// @notice the duration of the timed period
    uint256 public duration;

    event DurationUpdate(uint256 _duration);

    event TimerReset(uint256 _startTime);

    constructor(uint256 _duration) public {
        _setDuration(_duration);
    }

    modifier duringTime() {
        require(isTimeStarted(), "Timed: time not started");
        require(!isTimeEnded(), "Timed: time ended");
        _;
    }

    modifier afterTime() {
        require(isTimeEnded(), "Timed: time not ended");
        _;
    }

    /// @notice return true if time period has ended
    function isTimeEnded() public view returns (bool) {
        return remainingTime() == 0;
    }

    /// @notice number of seconds remaining until time is up
    /// @return remaining
    function remainingTime() public view returns (uint256) {
        return duration - timeSinceStart(); // duration always >= timeSinceStart which is on [0,d]
    }

    /// @notice number of seconds since contract was initialized
    /// @return timestamp
    /// @dev will be less than or equal to duration
    function timeSinceStart() public view returns (uint256) {
        if (!isTimeStarted()) {
            return 0; // uninitialized
        }
        uint256 _duration = duration;
        // solhint-disable-next-line not-rely-on-time
        uint256 timePassed = block.timestamp - startTime; // block timestamp always >= startTime
        return timePassed > _duration ? _duration : timePassed;
    }

    function isTimeStarted() public view returns (bool) {
        return startTime != 0;
    }

    function _initTimed() internal {
        // solhint-disable-next-line not-rely-on-time
        startTime = block.timestamp;
        
        // solhint-disable-next-line not-rely-on-time
        emit TimerReset(block.timestamp);
    }

    function _setDuration(uint _duration) internal {
        duration = _duration;
        emit DurationUpdate(_duration);
    }
}

File 7 of 21 : CoreRef.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "./ICoreRef.sol";
import "@openzeppelin/contracts/utils/Pausable.sol";
import "@openzeppelin/contracts/utils/Address.sol";

/// @title A Reference to Core
/// @author Fei Protocol
/// @notice defines some modifiers and utilities around interacting with Core
abstract contract CoreRef is ICoreRef, Pausable {
    ICore private _core;

    /// @notice CoreRef constructor
    /// @param core Fei Core to reference
    constructor(address core) public {
        _core = ICore(core);
    }

    modifier ifMinterSelf() {
        if (_core.isMinter(address(this))) {
            _;
        }
    }

    modifier ifBurnerSelf() {
        if (_core.isBurner(address(this))) {
            _;
        }
    }

    modifier onlyMinter() {
        require(_core.isMinter(msg.sender), "CoreRef: Caller is not a minter");
        _;
    }

    modifier onlyBurner() {
        require(_core.isBurner(msg.sender), "CoreRef: Caller is not a burner");
        _;
    }

    modifier onlyPCVController() {
        require(
            _core.isPCVController(msg.sender),
            "CoreRef: Caller is not a PCV controller"
        );
        _;
    }

    modifier onlyGovernor() {
        require(
            _core.isGovernor(msg.sender),
            "CoreRef: Caller is not a governor"
        );
        _;
    }

    modifier onlyGuardianOrGovernor() {
        require(
            _core.isGovernor(msg.sender) ||
            _core.isGuardian(msg.sender),
            "CoreRef: Caller is not a guardian or governor"
        );
        _;
    }

    modifier onlyFei() {
        require(msg.sender == address(fei()), "CoreRef: Caller is not FEI");
        _;
    }

    modifier onlyGenesisGroup() {
        require(
            msg.sender == _core.genesisGroup(),
            "CoreRef: Caller is not GenesisGroup"
        );
        _;
    }

    modifier postGenesis() {
        require(
            _core.hasGenesisGroupCompleted(),
            "CoreRef: Still in Genesis Period"
        );
        _;
    }

    modifier nonContract() {
        require(!Address.isContract(msg.sender), "CoreRef: Caller is a contract");
        _;
    }

    /// @notice set new Core reference address
    /// @param core the new core address
    function setCore(address core) external override onlyGovernor {
        _core = ICore(core);
        emit CoreUpdate(core);
    }

    /// @notice set pausable methods to paused
    function pause() public override onlyGuardianOrGovernor {
        _pause();
    }

    /// @notice set pausable methods to unpaused
    function unpause() public override onlyGuardianOrGovernor {
        _unpause();
    }

    /// @notice address of the Core contract referenced
    /// @return ICore implementation address
    function core() public view override returns (ICore) {
        return _core;
    }

    /// @notice address of the Fei contract referenced by Core
    /// @return IFei implementation address
    function fei() public view override returns (IFei) {
        return _core.fei();
    }

    /// @notice address of the Tribe contract referenced by Core
    /// @return IERC20 implementation address
    function tribe() public view override returns (IERC20) {
        return _core.tribe();
    }

    /// @notice fei balance of contract
    /// @return fei amount held
    function feiBalance() public view override returns (uint256) {
        return fei().balanceOf(address(this));
    }

    /// @notice tribe balance of contract
    /// @return tribe amount held
    function tribeBalance() public view override returns (uint256) {
        return tribe().balanceOf(address(this));
    }

    function _burnFeiHeld() internal {
        fei().burn(feiBalance());
    }

    function _mintFei(uint256 amount) internal {
        fei().mint(address(this), amount);
    }
}

File 8 of 21 : ICoreRef.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "../core/ICore.sol";

/// @title CoreRef interface
/// @author Fei Protocol
interface ICoreRef {
    // ----------- Events -----------

    event CoreUpdate(address indexed _core);

    // ----------- Governor only state changing api -----------

    function setCore(address core) external;

    function pause() external;

    function unpause() external;

    // ----------- Getters -----------

    function core() external view returns (ICore);

    function fei() external view returns (IFei);

    function tribe() external view returns (IERC20);

    function feiBalance() external view returns (uint256);

    function tribeBalance() external view returns (uint256);
}

File 9 of 21 : ICore.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "./IPermissions.sol";
import "../token/IFei.sol";

/// @title Core Interface
/// @author Fei Protocol
interface ICore is IPermissions {
    // ----------- Events -----------

    event FeiUpdate(address indexed _fei);
    event TribeUpdate(address indexed _tribe);
    event GenesisGroupUpdate(address indexed _genesisGroup);
    event TribeAllocation(address indexed _to, uint256 _amount);
    event GenesisPeriodComplete(uint256 _timestamp);

    // ----------- Governor only state changing api -----------

    function init() external;

    // ----------- Governor only state changing api -----------

    function setFei(address token) external;

    function setTribe(address token) external;

    function setGenesisGroup(address _genesisGroup) external;

    function allocateTribe(address to, uint256 amount) external;

    // ----------- Genesis Group only state changing api -----------

    function completeGenesisGroup() external;

    // ----------- Getters -----------

    function fei() external view returns (IFei);

    function tribe() external view returns (IERC20);

    function genesisGroup() external view returns (address);

    function hasGenesisGroupCompleted() external view returns (bool);
}

File 10 of 21 : IPermissions.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

/// @title Permissions interface
/// @author Fei Protocol
interface IPermissions {
    // ----------- Governor only state changing api -----------

    function createRole(bytes32 role, bytes32 adminRole) external;

    function grantMinter(address minter) external;

    function grantBurner(address burner) external;

    function grantPCVController(address pcvController) external;

    function grantGovernor(address governor) external;

    function grantGuardian(address guardian) external;

    function revokeMinter(address minter) external;

    function revokeBurner(address burner) external;

    function revokePCVController(address pcvController) external;

    function revokeGovernor(address governor) external;

    function revokeGuardian(address guardian) external;

    // ----------- Revoker only state changing api -----------

    function revokeOverride(bytes32 role, address account) external;

    // ----------- Getters -----------

    function isBurner(address _address) external view returns (bool);

    function isMinter(address _address) external view returns (bool);

    function isGovernor(address _address) external view returns (bool);

    function isGuardian(address _address) external view returns (bool);

    function isPCVController(address _address) external view returns (bool);
}

File 11 of 21 : IFei.sol
pragma solidity ^0.6.2;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/// @title FEI stablecoin interface
/// @author Fei Protocol
interface IFei is IERC20 {
    // ----------- Events -----------

    event Minting(
        address indexed _to,
        address indexed _minter,
        uint256 _amount
    );

    event Burning(
        address indexed _to,
        address indexed _burner,
        uint256 _amount
    );

    event IncentiveContractUpdate(
        address indexed _incentivized,
        address indexed _incentiveContract
    );

    // ----------- State changing api -----------

    function burn(uint256 amount) external;

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    // ----------- Burner only state changing api -----------

    function burnFrom(address account, uint256 amount) external;

    // ----------- Minter only state changing api -----------

    function mint(address account, uint256 amount) external;

    // ----------- Governor only state changing api -----------

    function setIncentiveContract(address account, address incentive) external;

    // ----------- Getters -----------

    function incentiveContract(address account) external view returns (address);
}

File 12 of 21 : IBondingCurveOracle.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "./IOracle.sol";
import "../bondingcurve/IBondingCurve.sol";
import "../external/Decimal.sol";

/// @title bonding curve oracle interface for Fei Protocol
/// @author Fei Protocol
interface IBondingCurveOracle is IOracle {
    // ----------- Genesis Group only state changing API -----------

    function init(Decimal.D256 calldata initialUSDPrice) external;

    // ----------- Getters -----------

    function uniswapOracle() external view returns (IOracle);

    function bondingCurve() external view returns (IBondingCurve);

    function initialUSDPrice() external view returns (Decimal.D256 memory);
}

File 13 of 21 : IOracle.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "../external/Decimal.sol";

/// @title generic oracle interface for Fei Protocol
/// @author Fei Protocol
interface IOracle {
    // ----------- Events -----------

    event Update(uint256 _peg);

    // ----------- State changing API -----------

    function update() external returns (bool);

    // ----------- Getters -----------

    function read() external view returns (Decimal.D256 memory, bool);

    function isOutdated() external view returns (bool);
    
}

File 14 of 21 : IBondingCurve.sol
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;

import "../external/Decimal.sol";

interface IBondingCurve {
    // ----------- Events -----------

    event ScaleUpdate(uint256 _scale);

    event BufferUpdate(uint256 _buffer);

    event IncentiveAmountUpdate(uint256 _incentiveAmount);

    event Purchase(address indexed _to, uint256 _amountIn, uint256 _amountOut);

    event Allocate(address indexed _caller, uint256 _amount);

    // ----------- State changing Api -----------

    function purchase(address to, uint256 amountIn)
        external
        payable
        returns (uint256 amountOut);

    function allocate() external;

    // ----------- Governor only state changing api -----------

    function setBuffer(uint256 _buffer) external;

    function setScale(uint256 _scale) external;

    function setAllocation(
        address[] calldata pcvDeposits,
        uint256[] calldata ratios
    ) external;

    function setIncentiveAmount(uint256 _incentiveAmount) external;

    function setIncentiveFrequency(uint256 _frequency) external;

    // ----------- Getters -----------

    function getCurrentPrice() external view returns (Decimal.D256 memory);

    function getAverageUSDPrice(uint256 amountIn)
        external
        view
        returns (Decimal.D256 memory);

    function getAmountOut(uint256 amountIn)
        external
        view
        returns (uint256 amountOut);

    function scale() external view returns (uint256);

    function atScale() external view returns (bool);

    function buffer() external view returns (uint256);

    function totalPurchased() external view returns (uint256);

    function getTotalPCVHeld() external view returns (uint256);

    function incentiveAmount() external view returns (uint256);
}

File 15 of 21 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

File 16 of 21 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

File 17 of 21 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

File 18 of 21 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 19 of 21 : SafeCast.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such 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.
 *
 * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
 * all math on `uint256` and `int256` and then downcasting.
 */
library SafeCast {

    /**
     * @dev Returns the downcasted uint128 from uint256, reverting on
     * overflow (when the input is greater than largest uint128).
     *
     * Counterpart to Solidity's `uint128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     */
    function toUint128(uint256 value) internal pure returns (uint128) {
        require(value < 2**128, "SafeCast: value doesn\'t fit in 128 bits");
        return uint128(value);
    }

    /**
     * @dev Returns the downcasted uint64 from uint256, reverting on
     * overflow (when the input is greater than largest uint64).
     *
     * Counterpart to Solidity's `uint64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     */
    function toUint64(uint256 value) internal pure returns (uint64) {
        require(value < 2**64, "SafeCast: value doesn\'t fit in 64 bits");
        return uint64(value);
    }

    /**
     * @dev Returns the downcasted uint32 from uint256, reverting on
     * overflow (when the input is greater than largest uint32).
     *
     * Counterpart to Solidity's `uint32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     */
    function toUint32(uint256 value) internal pure returns (uint32) {
        require(value < 2**32, "SafeCast: value doesn\'t fit in 32 bits");
        return uint32(value);
    }

    /**
     * @dev Returns the downcasted uint16 from uint256, reverting on
     * overflow (when the input is greater than largest uint16).
     *
     * Counterpart to Solidity's `uint16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     */
    function toUint16(uint256 value) internal pure returns (uint16) {
        require(value < 2**16, "SafeCast: value doesn\'t fit in 16 bits");
        return uint16(value);
    }

    /**
     * @dev Returns the downcasted uint8 from uint256, reverting on
     * overflow (when the input is greater than largest uint8).
     *
     * Counterpart to Solidity's `uint8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     */
    function toUint8(uint256 value) internal pure returns (uint8) {
        require(value < 2**8, "SafeCast: value doesn\'t fit in 8 bits");
        return uint8(value);
    }

    /**
     * @dev Converts a signed int256 into an unsigned uint256.
     *
     * Requirements:
     *
     * - input must be greater than or equal to 0.
     */
    function toUint256(int256 value) internal pure returns (uint256) {
        require(value >= 0, "SafeCast: value must be positive");
        return uint256(value);
    }

    /**
     * @dev Returns the downcasted int128 from int256, reverting on
     * overflow (when the input is less than smallest int128 or
     * greater than largest int128).
     *
     * Counterpart to Solidity's `int128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     *
     * _Available since v3.1._
     */
    function toInt128(int256 value) internal pure returns (int128) {
        require(value >= -2**127 && value < 2**127, "SafeCast: value doesn\'t fit in 128 bits");
        return int128(value);
    }

    /**
     * @dev Returns the downcasted int64 from int256, reverting on
     * overflow (when the input is less than smallest int64 or
     * greater than largest int64).
     *
     * Counterpart to Solidity's `int64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     *
     * _Available since v3.1._
     */
    function toInt64(int256 value) internal pure returns (int64) {
        require(value >= -2**63 && value < 2**63, "SafeCast: value doesn\'t fit in 64 bits");
        return int64(value);
    }

    /**
     * @dev Returns the downcasted int32 from int256, reverting on
     * overflow (when the input is less than smallest int32 or
     * greater than largest int32).
     *
     * Counterpart to Solidity's `int32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     *
     * _Available since v3.1._
     */
    function toInt32(int256 value) internal pure returns (int32) {
        require(value >= -2**31 && value < 2**31, "SafeCast: value doesn\'t fit in 32 bits");
        return int32(value);
    }

    /**
     * @dev Returns the downcasted int16 from int256, reverting on
     * overflow (when the input is less than smallest int16 or
     * greater than largest int16).
     *
     * Counterpart to Solidity's `int16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     *
     * _Available since v3.1._
     */
    function toInt16(int256 value) internal pure returns (int16) {
        require(value >= -2**15 && value < 2**15, "SafeCast: value doesn\'t fit in 16 bits");
        return int16(value);
    }

    /**
     * @dev Returns the downcasted int8 from int256, reverting on
     * overflow (when the input is less than smallest int8 or
     * greater than largest int8).
     *
     * Counterpart to Solidity's `int8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     *
     * _Available since v3.1._
     */
    function toInt8(int256 value) internal pure returns (int8) {
        require(value >= -2**7 && value < 2**7, "SafeCast: value doesn\'t fit in 8 bits");
        return int8(value);
    }

    /**
     * @dev Converts an unsigned uint256 into a signed int256.
     *
     * Requirements:
     *
     * - input must be less than or equal to maxInt256.
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        require(value < 2**255, "SafeCast: value doesn't fit in an int256");
        return int256(value);
    }
}

File 20 of 21 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 21 of 21 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_core","type":"address"},{"internalType":"address","name":"_bondingcurve","type":"address"},{"internalType":"address","name":"_ido","type":"address"},{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"uint256","name":"_duration","type":"uint256"},{"internalType":"uint256","name":"_exchangeRateDiscount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Commit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_core","type":"address"}],"name":"CoreUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"DurationUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"Launch","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Purchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amountFei","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amountTribe","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"TimerReset","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"commit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"committedFGEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"core","outputs":[{"internalType":"contract ICore","name":"","type":"address"}],"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":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address payable","name":"to","type":"address"}],"name":"emergencyExit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fei","outputs":[{"internalType":"contract IFei","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feiBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"bool","name":"inclusive","type":"bool"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"feiAmount","type":"uint256"},{"internalType":"uint256","name":"tribeAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"getAmountsToRedeem","outputs":[{"internalType":"uint256","name":"feiAmount","type":"uint256"},{"internalType":"uint256","name":"genesisTribe","type":"uint256"},{"internalType":"uint256","name":"idoTribe","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initGenesis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isTimeEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTimeStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchBlock","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"remainingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"core","type":"address"}],"name":"setCore","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":"timeSinceStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCommittedFGEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCommittedTribe","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"tribe","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tribeBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620030ae380380620030ae833981016040819052620000349162000359565b604080518082018252601181527004665692047656e657369732047726f757607c1b602080830191825283518085019094526004808552632323a2a760e11b91850191909152600080546001600160a81b0319166101006001600160a01b038d16021790558251869492620000aa9291620002b7565b508051620000c0906005906020840190620002b7565b50506006805460ff1916601217905550620000e4816001600160e01b03620001e416565b50600980546001600160a01b038088166001600160a01b031992831617909255600c839055600b805492871692909116919091179055600019620001306001600160e01b036200022616565b6001600160a01b031663095ea7b386836040518363ffffffff1660e01b81526004016200015f9291906200041c565b602060405180830381600087803b1580156200017a57600080fd5b505af11580156200018f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b59190620003d4565b5050600a80546001600160a01b0319166001600160a01b03949094169390931790925550620004579350505050565b60088190556040517fef01a748b5b8a4f1d48b88861f6d361d7391ad2bbed27ff97d762889ca80d737906200021b90839062000435565b60405180910390a150565b60008060019054906101000a90046001600160a01b03166001600160a01b0316639a9ba4da6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200027657600080fd5b505afa1580156200028b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b19190620003fd565b90505b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002fa57805160ff19168380011785556200032a565b828001600101855582156200032a579182015b828111156200032a5782518255916020019190600101906200030d565b50620003389291506200033c565b5090565b620002b491905b8082111562000338576000815560010162000343565b60008060008060008060c0878903121562000372578182fd5b86516200037f816200043e565b602088015190965062000392816200043e565b6040880151909550620003a5816200043e565b6060880151909450620003b8816200043e565b809350506080870151915060a087015190509295509295509295565b600060208284031215620003e6578081fd5b81518015158114620003f6578182fd5b9392505050565b6000602082840312156200040f578081fd5b8151620003f6816200043e565b6001600160a01b03929092168252602082015260400190565b90815260200190565b6001600160a01b03811681146200045457600080fd5b50565b612c4780620004676000396000f3fe6080604052600436106102245760003560e01c806378e9792511610123578063acc4bd08116100ab578063d00efb2f1161006f578063d00efb2f146105af578063dd62ed3e146105c4578063e5c7ec03146105e4578063f159f2cc14610604578063f2f4eb261461063357610224565b8063acc4bd0814610546578063ae951b2e1461055b578063b490589714610570578063b86677fe14610585578063c0f23c421461059a57610224565b806395a2251f116100f257806395a2251f146104af57806395d89b41146104cf5780639a9ba4da146104e4578063a457c2d714610506578063a9059cbb1461052657610224565b806378e979251461045257806380009630146104675780638456cb59146104875780638de932221461049c57610224565b8063313ce567116101b157806367da764e1161017557806367da764e146103de57806367f72fae146103f357806367fc6dea146104085780636b6dff0a1461041d57806370a082311461043257610224565b8063313ce5671461035257806339509351146103745780633f4ba83a146103945780635c975abb146103a95780635cec16c0146103be57610224565b80630fb5a6b4116101f85780630fb5a6b4146102ad57806311106ee2146102cf57806318160ddd146102fd57806323b872dd1461031257806330e0914c1461033257610224565b8062d89b331461022957806301339c211461025457806306fdde031461026b578063095ea7b31461028d575b600080fd5b34801561023557600080fd5b5061023e610648565b60405161024b9190612429565b60405180910390f35b34801561026057600080fd5b50610269610651565b005b34801561027757600080fd5b50610280610a42565b60405161024b9190612434565b34801561029957600080fd5b5061023e6102a8366004612320565b610ad8565b3480156102b957600080fd5b506102c2610af6565b60405161024b9190612af0565b3480156102db57600080fd5b506102ef6102ea3660046123d8565b610afc565b60405161024b929190612af9565b34801561030957600080fd5b506102c2610c18565b34801561031e57600080fd5b5061023e61032d3660046122e0565b610c1e565b34801561033e57600080fd5b5061026961034d3660046122e0565b610cab565b34801561035e57600080fd5b50610367610da9565b60405161024b9190612b1d565b34801561038057600080fd5b5061023e61038f366004612320565b610db2565b3480156103a057600080fd5b50610269610e06565b3480156103b557600080fd5b5061023e610f3a565b3480156103ca57600080fd5b506102696103d93660046122ce565b610f43565b3480156103ea57600080fd5b506102c2611115565b3480156103ff57600080fd5b506102c261111b565b34801561041457600080fd5b506102c2611121565b34801561042957600080fd5b506102c2611155565b34801561043e57600080fd5b506102c261044d36600461227a565b6111df565b34801561045e57600080fd5b506102c26111fa565b34801561047357600080fd5b5061026961048236600461227a565b611200565b34801561049357600080fd5b506102696112f0565b6102696104aa366004612320565b611422565b3480156104bb57600080fd5b506102696104ca36600461227a565b6114f6565b3480156104db57600080fd5b50610280611721565b3480156104f057600080fd5b506104f9611782565b60405161024b91906123fc565b34801561051257600080fd5b5061023e610521366004612320565b611809565b34801561053257600080fd5b5061023e610541366004612320565b611877565b34801561055257600080fd5b506102c261188b565b34801561056757600080fd5b5061023e61189e565b34801561057c57600080fd5b506102c26118ae565b34801561059157600080fd5b506104f96118b8565b3480156105a657600080fd5b50610269611907565b3480156105bb57600080fd5b506102c26119af565b3480156105d057600080fd5b506102c26105df366004612296565b6119b5565b3480156105f057600080fd5b506102c26105ff36600461227a565b6119e0565b34801561061057600080fd5b5061062461061f36600461227a565b6119f2565b60405161024b93929190612b07565b34801561063f57600080fd5b506104f9611b85565b60075415155b90565b61065a33611b99565b156106805760405162461bcd60e51b815260040161067790612938565b60405180910390fd5b61068861189e565b6106a45760405162461bcd60e51b815260040161067790612564565b6106ac611b85565b6001600160a01b031663201175c26040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156106e657600080fd5b505af11580156106fa573d6000803e3d6000fd5b5050436010555050600a546009546040516301f4caf360e71b815230928331926001600160a01b0391821692630550ca4c929091169063fa65798090610744908690600401612af0565b60206040518083038186803b15801561075c57600080fd5b505afa158015610770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107949190612383565b6040518263ffffffff1660e01b81526004016107b09190612ae6565b600060405180830381600087803b1580156107ca57600080fd5b505af11580156107de573d6000803e3d6000fd5b50506009546040516346f4991160e11b81526001600160a01b039091169250638de93222915083906108169086908390600401612410565b6020604051808303818588803b15801561082f57600080fd5b505af1158015610843573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061086891906123c0565b50600960009054906101000a90046001600160a01b03166001600160a01b031663abaa99166040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156108b957600080fd5b505af11580156108cd573d6000803e3d6000fd5b5050600b546001600160a01b0316915063c987171190506108ec611b9f565b6040518263ffffffff1660e01b81526004016109089190612ae6565b600060405180830381600087803b15801561092257600080fd5b505af1158015610936573d6000803e3d6000fd5b505050506000610956600e5461094a610c18565b9063ffffffff611bd116565b610970600e546109646118ae565b9063ffffffff611bfd16565b8161097757fe5b0490508015610a0657600b54604051639c74fff960e01b81526001600160a01b0390911690639c74fff9906109b0908490600401612af0565b602060405180830381600087803b1580156109ca57600080fd5b505af11580156109de573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0291906123c0565b600f555b7fa72e5e150ebe7b67363131cf1d5e72a8053adc58eb1879467ebd529ae3d4ecca42604051610a359190612af0565b60405180910390a1505050565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ace5780601f10610aa357610100808354040283529160200191610ace565b820191906000526020600020905b815481529060010190602001808311610ab157829003601f168201915b5050505050905090565b6000610aec610ae5611c37565b8484611c3b565b5060015b92915050565b60085481565b6000806000610b0f600e5461094a610c18565b905083610b2957610b26818663ffffffff611bd116565b90505b80851115610b495760405162461bcd60e51b815260040161067790612487565b600954604051635c19521760e01b81526000916001600160a01b031690635c19521790610b7a908590600401612af0565b60206040518083038186803b158015610b9257600080fd5b505afa158015610ba6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bca91906123c0565b90506000610bd6611155565b905082610be9838963ffffffff611bfd16565b81610bf057fe5b0483610c02838a63ffffffff611bfd16565b81610c0957fe5b04945094505050509250929050565b60035490565b6000610c2b848484611ce2565b610ca184610c37611c37565b610c9c85604051806060016040528060288152602001612bc5602891396001600160a01b038a16600090815260026020526040812090610c75611c37565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611e0316565b611c3b565b5060019392505050565b610cb3610648565b610ccf5760405162461bcd60e51b8152600401610677906125ca565b610cd761189e565b15610cf45760405162461bcd60e51b815260040161067790612879565b610cfe8382611e2f565b6001600160a01b0382166000908152600d6020526040902054610d27908263ffffffff611bd116565b6001600160a01b0383166000908152600d6020526040902055600e54610d53908263ffffffff611bd116565b600e81905550816001600160a01b0316836001600160a01b03167fc48642bbbd374aabe34d3f7a78a8dbc642c1b6a76c086a0090cefb037a63654383604051610d9c9190612af0565b60405180910390a3505050565b60065460ff1690565b6000610aec610dbf611c37565b84610c9c8560026000610dd0611c37565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611bd116565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b890610e3a9033906004016123fc565b60206040518083038186803b158015610e5257600080fd5b505afa158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8a919061234b565b80610f145750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba2190610ec49033906004016123fc565b60206040518083038186803b158015610edc57600080fd5b505afa158015610ef0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f14919061234b565b610f305760405162461bcd60e51b815260040161067790612684565b610f38611e9b565b565b60005460ff1690565b600854600754016203f480014211610f6d5760405162461bcd60e51b815260040161067790612ab1565b610f75611b85565b6001600160a01b0316639711ac346040518163ffffffff1660e01b815260040160206040518083038186803b158015610fad57600080fd5b505afa158015610fc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe5919061234b565b156110025760405162461bcd60e51b8152600401610677906127ea565b600061100d836111df565b6001600160a01b0384166000908152600d6020526040812054919250611039838363ffffffff611bd116565b9050806110585760405162461bcd60e51b8152600401610677906127a0565b336001600160a01b038616148061107857508061107586336119b5565b10155b6110945760405162461bcd60e51b8152600401610677906128e5565b8047101561109e57fe5b6110a88584611e2f565b6001600160a01b0385166000908152600d6020526040812055600e546110d4908363ffffffff611f0916565b600e556040516001600160a01b0385169082156108fc029083906000818181858888f1935050505015801561110d573d6000803e3d6000fd5b505050505050565b600e5481565b600f5481565b600061112b610648565b6111375750600061064e565b600854600754420381811161114c578061114e565b815b9250505090565b600061115f6118b8565b6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161118a91906123fc565b60206040518083038186803b1580156111a257600080fd5b505afa1580156111b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111da91906123c0565b905090565b6001600160a01b031660009081526001602052604090205490565b60075481565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906112349033906004016123fc565b60206040518083038186803b15801561124c57600080fd5b505afa158015611260573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611284919061234b565b6112a05760405162461bcd60e51b815260040161067790612a39565b60008054610100600160a81b0319166101006001600160a01b03841690810291909117825560405190917fad9400e618eb1344fde53db22397a1b82c765527ecbba3a5c86bcac15090828b91a250565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906113249033906004016123fc565b60206040518083038186803b15801561133c57600080fd5b505afa158015611350573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611374919061234b565b806113fe5750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba21906113ae9033906004016123fc565b60206040518083038186803b1580156113c657600080fd5b505afa1580156113da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fe919061234b565b61141a5760405162461bcd60e51b815260040161067790612684565b610f38611f31565b61142a610648565b6114465760405162461bcd60e51b8152600401610677906125ca565b61144e61189e565b1561146b5760405162461bcd60e51b815260040161067790612879565b80341461148a5760405162461bcd60e51b815260040161067790612593565b806114a75760405162461bcd60e51b815260040161067790612708565b6114b18282611f8c565b816001600160a01b03167f2499a5330ab0979cc612135e7883ebc3cd5c9f7a8508f042540c34723348f632826040516114ea9190612af0565b60405180910390a25050565b6000806000611504846119f2565b925092509250601054431161152b5760405162461bcd60e51b81526004016106779061282f565b600061153d838363ffffffff611bd116565b90508061155c5760405162461bcd60e51b815260040161067790612601565b6000611567866111df565b90506115738682611e2f565b6001600160a01b0386166000908152600d602052604081208054919055600e546115a3908263ffffffff611f0916565b600e55600f546115b9908563ffffffff611f0916565b600f55851561164b576115ca611782565b6001600160a01b031663a9059cbb88886040518363ffffffff1660e01b81526004016115f7929190612410565b602060405180830381600087803b15801561161157600080fd5b505af1158015611625573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611649919061234b565b505b6116536118b8565b6001600160a01b031663a9059cbb88856040518363ffffffff1660e01b8152600401611680929190612410565b602060405180830381600087803b15801561169a57600080fd5b505af11580156116ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d2919061234b565b50866001600160a01b03167fbd5034ffbd47e4e72a94baa2cdb74c6fad73cb3bcdc13036b72ec8306f5a764683888660405161171093929190612b07565b60405180910390a250505050505050565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ace5780601f10610aa357610100808354040283529160200191610ace565b60008060019054906101000a90046001600160a01b03166001600160a01b0316639a9ba4da6040518163ffffffff1660e01b815260040160206040518083038186803b1580156117d157600080fd5b505afa1580156117e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111da9190612367565b6000610aec611816611c37565b84610c9c85604051806060016040528060258152602001612bed6025913960026000611840611c37565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611e0316565b6000610aec611884611c37565b8484611ce2565b6000611895611121565b60085403905090565b60006118a861188b565b15905090565b600061115f611782565b60008060019054906101000a90046001600160a01b03166001600160a01b031663b86677fe6040518163ffffffff1660e01b815260040160206040518083038186803b1580156117d157600080fd5b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b89061193b9033906004016123fc565b60206040518083038186803b15801561195357600080fd5b505afa158015611967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198b919061234b565b6119a75760405162461bcd60e51b815260040161067790612a39565b610f38612058565b60105481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600d6020526000908152604090205481565b60008060008060019054906101000a90046001600160a01b03166001600160a01b0316639711ac346040518163ffffffff1660e01b815260040160206040518083038186803b158015611a4457600080fd5b505afa158015611a58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7c919061234b565b611a985760405162461bcd60e51b815260040161067790612501565b6000611aa3856111df565b6001600160a01b0386166000908152600d6020526040812054919250611ac7610c18565b90506000611ae0600e5483611bd190919063ffffffff16565b90506000611afe600f54611af2611155565b9063ffffffff611f0916565b90508215611b1e5782611b13866109646118ae565b81611b1a57fe5b0497505b8115611b505781611b45611b38878763ffffffff611bd116565b839063ffffffff611bfd16565b81611b4c57fe5b0496505b600e5415611b7957600e54600f54611b6e908663ffffffff611bfd16565b81611b7557fe5b0495505b50505050509193909250565b60005461010090046001600160a01b031690565b3b151590565b611ba7612267565b6111da600c54611bc5611bb86118ae565b611bc0611155565b61208c565b9063ffffffff6120bb16565b600082820183811015611bf65760405162461bcd60e51b8152600401610677906126d1565b9392505050565b600082611c0c57506000610af0565b82820282848281611c1957fe5b0414611bf65760405162461bcd60e51b8152600401610677906128a4565b3390565b6001600160a01b038316611c615760405162461bcd60e51b8152600401610677906129f5565b6001600160a01b038216611c875760405162461bcd60e51b815260040161067790612642565b6001600160a01b0380841660008181526002602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610d9c908590612af0565b6001600160a01b038316611d085760405162461bcd60e51b8152600401610677906129b0565b6001600160a01b038216611d2e5760405162461bcd60e51b8152600401610677906124be565b611d398383836120e2565b611d7c81604051806060016040528060268152602001612b9f602691396001600160a01b038616600090815260016020526040902054919063ffffffff611e0316565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611db1908263ffffffff611bd116565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d9c908590612af0565b60008184841115611e275760405162461bcd60e51b81526004016106779190612434565b505050900390565b336001600160a01b03831614611e8d576000611e77826040518060600160405280602b8152602001612b74602b9139611e6a866105df611c37565b919063ffffffff611e0316565b9050611e8b83611e85611c37565b83611c3b565b505b611e9782826120e7565b5050565b611ea3610f3a565b611ebf5760405162461bcd60e51b815260040161067790612536565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ef2611c37565b604051611eff91906123fc565b60405180910390a1565b600082821115611f2b5760405162461bcd60e51b81526004016106779061273f565b50900390565b611f39610f3a565b15611f565760405162461bcd60e51b815260040161067790612776565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ef2611c37565b6001600160a01b038216611fb25760405162461bcd60e51b815260040161067790612a7a565b611fbe600083836120e2565b600354611fd1908263ffffffff611bd116565b6003556001600160a01b038216600090815260016020526040902054611ffd908263ffffffff611bd116565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061204c908590612af0565b60405180910390a35050565b4260078190556040517fd1dbb2ce8081405078443ef34dae718285114121a39370b14ef01b9d2b0a208391611eff91612af0565b612094612267565b60405180602001604052806120b285670de0b6b3a7640000866121c9565b90529392505050565b6120c3612267565b6040805160208101909152835181906120b2908563ffffffff6121f316565b505050565b6001600160a01b03821661210d5760405162461bcd60e51b81526004016106779061296f565b612119826000836120e2565b61215c81604051806060016040528060228152602001612b52602291396001600160a01b038516600090815260016020526040902054919063ffffffff611e0316565b6001600160a01b038316600090815260016020526040902055600354612188908263ffffffff611f0916565b6003556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061204c908590612af0565b60006121eb826121df868663ffffffff611bfd16565b9063ffffffff6121f316565b949350505050565b6000611bf683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836122515760405162461bcd60e51b81526004016106779190612434565b50600083858161225d57fe5b0495945050505050565b6040518060200160405280600081525090565b60006020828403121561228b578081fd5b8135611bf681612b2b565b600080604083850312156122a8578081fd5b82356122b381612b2b565b915060208301356122c381612b2b565b809150509250929050565b600080604083850312156122a8578182fd5b6000806000606084860312156122f4578081fd5b83356122ff81612b2b565b9250602084013561230f81612b2b565b929592945050506040919091013590565b60008060408385031215612332578182fd5b823561233d81612b2b565b946020939093013593505050565b60006020828403121561235c578081fd5b8151611bf681612b43565b600060208284031215612378578081fd5b8151611bf681612b2b565b600060208284031215612394578081fd5b6040516020810181811067ffffffffffffffff821117156123b3578283fd5b6040529151825250919050565b6000602082840312156123d1578081fd5b5051919050565b600080604083850312156123ea578182fd5b8235915060208301356122c381612b43565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602080835283518082850152825b8181101561246057858101830151858201604001528201612444565b818111156124715783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601f908201527f47656e6573697347726f75703a204e6f7420656e6f75676820737570706c7900604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f436f72655265663a205374696c6c20696e2047656e6573697320506572696f64604082015260600190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b602080825260159082015274151a5b59590e881d1a5b59481b9bdd08195b991959605a1b604082015260600190565b6020808252601c908201527f47656e6573697347726f75703a2076616c7565206d69736d6174636800000000604082015260600190565b60208082526017908201527f54696d65643a2074696d65206e6f742073746172746564000000000000000000604082015260600190565b60208082526021908201527f47656e6573697347726f75703a204e6f2072656465656d61626c6520545249426040820152604560f81b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252602d908201527f436f72655265663a2043616c6c6572206973206e6f742061206775617264696160408201526c371037b91033b7bb32b93737b960991b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601b908201527f47656e6573697347726f75703a206e6f2076616c75652073656e740000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252602a908201527f47656e6573697347726f75703a204e6f204647454e206f7220636f6d6d69747460408201526965642062616c616e636560b01b606082015260800190565b60208082526025908201527f47656e6573697347726f75703a204c61756e636820616c7265616479206861706040820152641c195b995960da1b606082015260800190565b6020808252602a908201527f47656e6573697347726f75703a204e6f2072656465656d696e6720696e206c61604082015269756e636820626c6f636b60b01b606082015260800190565b602080825260119082015270151a5b59590e881d1a5b5948195b991959607a1b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526033908201527f47656e6573697347726f75703a204e6f7420617070726f76656420666f7220656040820152721b595c99d95b98de481dda5d1a191c985dd85b606a1b606082015260800190565b6020808252601d908201527f436f72655265663a2043616c6c6572206973206120636f6e7472616374000000604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526021908201527f436f72655265663a2043616c6c6572206973206e6f74206120676f7665726e6f6040820152603960f91b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252818101527f47656e6573697347726f75703a204e6f7420696e20657869742077696e646f77604082015260600190565b9051815260200190565b90815260200190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b6001600160a01b0381168114612b4057600080fd5b50565b8015158114612b4057600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636547656e6573697347726f75703a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e5939aea02a175f00826d20849732ec533fc849191da5e4aef98f47ba77e690964736f6c634300060600330000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b9000000000000000000000000e1578b4a32eaefcd563a9e6d0dc02a4213f673b70000000000000000000000007d809969f6a04777f0a87ff94b57e56078e5fe0f00000000000000000000000089714d3ac9149426219a3568543200d1964101c4000000000000000000000000000000000000000000000000000000000003f480000000000000000000000000000000000000000000000000000000000000000a

Deployed Bytecode

0x6080604052600436106102245760003560e01c806378e9792511610123578063acc4bd08116100ab578063d00efb2f1161006f578063d00efb2f146105af578063dd62ed3e146105c4578063e5c7ec03146105e4578063f159f2cc14610604578063f2f4eb261461063357610224565b8063acc4bd0814610546578063ae951b2e1461055b578063b490589714610570578063b86677fe14610585578063c0f23c421461059a57610224565b806395a2251f116100f257806395a2251f146104af57806395d89b41146104cf5780639a9ba4da146104e4578063a457c2d714610506578063a9059cbb1461052657610224565b806378e979251461045257806380009630146104675780638456cb59146104875780638de932221461049c57610224565b8063313ce567116101b157806367da764e1161017557806367da764e146103de57806367f72fae146103f357806367fc6dea146104085780636b6dff0a1461041d57806370a082311461043257610224565b8063313ce5671461035257806339509351146103745780633f4ba83a146103945780635c975abb146103a95780635cec16c0146103be57610224565b80630fb5a6b4116101f85780630fb5a6b4146102ad57806311106ee2146102cf57806318160ddd146102fd57806323b872dd1461031257806330e0914c1461033257610224565b8062d89b331461022957806301339c211461025457806306fdde031461026b578063095ea7b31461028d575b600080fd5b34801561023557600080fd5b5061023e610648565b60405161024b9190612429565b60405180910390f35b34801561026057600080fd5b50610269610651565b005b34801561027757600080fd5b50610280610a42565b60405161024b9190612434565b34801561029957600080fd5b5061023e6102a8366004612320565b610ad8565b3480156102b957600080fd5b506102c2610af6565b60405161024b9190612af0565b3480156102db57600080fd5b506102ef6102ea3660046123d8565b610afc565b60405161024b929190612af9565b34801561030957600080fd5b506102c2610c18565b34801561031e57600080fd5b5061023e61032d3660046122e0565b610c1e565b34801561033e57600080fd5b5061026961034d3660046122e0565b610cab565b34801561035e57600080fd5b50610367610da9565b60405161024b9190612b1d565b34801561038057600080fd5b5061023e61038f366004612320565b610db2565b3480156103a057600080fd5b50610269610e06565b3480156103b557600080fd5b5061023e610f3a565b3480156103ca57600080fd5b506102696103d93660046122ce565b610f43565b3480156103ea57600080fd5b506102c2611115565b3480156103ff57600080fd5b506102c261111b565b34801561041457600080fd5b506102c2611121565b34801561042957600080fd5b506102c2611155565b34801561043e57600080fd5b506102c261044d36600461227a565b6111df565b34801561045e57600080fd5b506102c26111fa565b34801561047357600080fd5b5061026961048236600461227a565b611200565b34801561049357600080fd5b506102696112f0565b6102696104aa366004612320565b611422565b3480156104bb57600080fd5b506102696104ca36600461227a565b6114f6565b3480156104db57600080fd5b50610280611721565b3480156104f057600080fd5b506104f9611782565b60405161024b91906123fc565b34801561051257600080fd5b5061023e610521366004612320565b611809565b34801561053257600080fd5b5061023e610541366004612320565b611877565b34801561055257600080fd5b506102c261188b565b34801561056757600080fd5b5061023e61189e565b34801561057c57600080fd5b506102c26118ae565b34801561059157600080fd5b506104f96118b8565b3480156105a657600080fd5b50610269611907565b3480156105bb57600080fd5b506102c26119af565b3480156105d057600080fd5b506102c26105df366004612296565b6119b5565b3480156105f057600080fd5b506102c26105ff36600461227a565b6119e0565b34801561061057600080fd5b5061062461061f36600461227a565b6119f2565b60405161024b93929190612b07565b34801561063f57600080fd5b506104f9611b85565b60075415155b90565b61065a33611b99565b156106805760405162461bcd60e51b815260040161067790612938565b60405180910390fd5b61068861189e565b6106a45760405162461bcd60e51b815260040161067790612564565b6106ac611b85565b6001600160a01b031663201175c26040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156106e657600080fd5b505af11580156106fa573d6000803e3d6000fd5b5050436010555050600a546009546040516301f4caf360e71b815230928331926001600160a01b0391821692630550ca4c929091169063fa65798090610744908690600401612af0565b60206040518083038186803b15801561075c57600080fd5b505afa158015610770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107949190612383565b6040518263ffffffff1660e01b81526004016107b09190612ae6565b600060405180830381600087803b1580156107ca57600080fd5b505af11580156107de573d6000803e3d6000fd5b50506009546040516346f4991160e11b81526001600160a01b039091169250638de93222915083906108169086908390600401612410565b6020604051808303818588803b15801561082f57600080fd5b505af1158015610843573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061086891906123c0565b50600960009054906101000a90046001600160a01b03166001600160a01b031663abaa99166040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156108b957600080fd5b505af11580156108cd573d6000803e3d6000fd5b5050600b546001600160a01b0316915063c987171190506108ec611b9f565b6040518263ffffffff1660e01b81526004016109089190612ae6565b600060405180830381600087803b15801561092257600080fd5b505af1158015610936573d6000803e3d6000fd5b505050506000610956600e5461094a610c18565b9063ffffffff611bd116565b610970600e546109646118ae565b9063ffffffff611bfd16565b8161097757fe5b0490508015610a0657600b54604051639c74fff960e01b81526001600160a01b0390911690639c74fff9906109b0908490600401612af0565b602060405180830381600087803b1580156109ca57600080fd5b505af11580156109de573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0291906123c0565b600f555b7fa72e5e150ebe7b67363131cf1d5e72a8053adc58eb1879467ebd529ae3d4ecca42604051610a359190612af0565b60405180910390a1505050565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ace5780601f10610aa357610100808354040283529160200191610ace565b820191906000526020600020905b815481529060010190602001808311610ab157829003601f168201915b5050505050905090565b6000610aec610ae5611c37565b8484611c3b565b5060015b92915050565b60085481565b6000806000610b0f600e5461094a610c18565b905083610b2957610b26818663ffffffff611bd116565b90505b80851115610b495760405162461bcd60e51b815260040161067790612487565b600954604051635c19521760e01b81526000916001600160a01b031690635c19521790610b7a908590600401612af0565b60206040518083038186803b158015610b9257600080fd5b505afa158015610ba6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bca91906123c0565b90506000610bd6611155565b905082610be9838963ffffffff611bfd16565b81610bf057fe5b0483610c02838a63ffffffff611bfd16565b81610c0957fe5b04945094505050509250929050565b60035490565b6000610c2b848484611ce2565b610ca184610c37611c37565b610c9c85604051806060016040528060288152602001612bc5602891396001600160a01b038a16600090815260026020526040812090610c75611c37565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611e0316565b611c3b565b5060019392505050565b610cb3610648565b610ccf5760405162461bcd60e51b8152600401610677906125ca565b610cd761189e565b15610cf45760405162461bcd60e51b815260040161067790612879565b610cfe8382611e2f565b6001600160a01b0382166000908152600d6020526040902054610d27908263ffffffff611bd116565b6001600160a01b0383166000908152600d6020526040902055600e54610d53908263ffffffff611bd116565b600e81905550816001600160a01b0316836001600160a01b03167fc48642bbbd374aabe34d3f7a78a8dbc642c1b6a76c086a0090cefb037a63654383604051610d9c9190612af0565b60405180910390a3505050565b60065460ff1690565b6000610aec610dbf611c37565b84610c9c8560026000610dd0611c37565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611bd116565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b890610e3a9033906004016123fc565b60206040518083038186803b158015610e5257600080fd5b505afa158015610e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8a919061234b565b80610f145750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba2190610ec49033906004016123fc565b60206040518083038186803b158015610edc57600080fd5b505afa158015610ef0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f14919061234b565b610f305760405162461bcd60e51b815260040161067790612684565b610f38611e9b565b565b60005460ff1690565b600854600754016203f480014211610f6d5760405162461bcd60e51b815260040161067790612ab1565b610f75611b85565b6001600160a01b0316639711ac346040518163ffffffff1660e01b815260040160206040518083038186803b158015610fad57600080fd5b505afa158015610fc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe5919061234b565b156110025760405162461bcd60e51b8152600401610677906127ea565b600061100d836111df565b6001600160a01b0384166000908152600d6020526040812054919250611039838363ffffffff611bd116565b9050806110585760405162461bcd60e51b8152600401610677906127a0565b336001600160a01b038616148061107857508061107586336119b5565b10155b6110945760405162461bcd60e51b8152600401610677906128e5565b8047101561109e57fe5b6110a88584611e2f565b6001600160a01b0385166000908152600d6020526040812055600e546110d4908363ffffffff611f0916565b600e556040516001600160a01b0385169082156108fc029083906000818181858888f1935050505015801561110d573d6000803e3d6000fd5b505050505050565b600e5481565b600f5481565b600061112b610648565b6111375750600061064e565b600854600754420381811161114c578061114e565b815b9250505090565b600061115f6118b8565b6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161118a91906123fc565b60206040518083038186803b1580156111a257600080fd5b505afa1580156111b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111da91906123c0565b905090565b6001600160a01b031660009081526001602052604090205490565b60075481565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906112349033906004016123fc565b60206040518083038186803b15801561124c57600080fd5b505afa158015611260573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611284919061234b565b6112a05760405162461bcd60e51b815260040161067790612a39565b60008054610100600160a81b0319166101006001600160a01b03841690810291909117825560405190917fad9400e618eb1344fde53db22397a1b82c765527ecbba3a5c86bcac15090828b91a250565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906113249033906004016123fc565b60206040518083038186803b15801561133c57600080fd5b505afa158015611350573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611374919061234b565b806113fe5750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba21906113ae9033906004016123fc565b60206040518083038186803b1580156113c657600080fd5b505afa1580156113da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fe919061234b565b61141a5760405162461bcd60e51b815260040161067790612684565b610f38611f31565b61142a610648565b6114465760405162461bcd60e51b8152600401610677906125ca565b61144e61189e565b1561146b5760405162461bcd60e51b815260040161067790612879565b80341461148a5760405162461bcd60e51b815260040161067790612593565b806114a75760405162461bcd60e51b815260040161067790612708565b6114b18282611f8c565b816001600160a01b03167f2499a5330ab0979cc612135e7883ebc3cd5c9f7a8508f042540c34723348f632826040516114ea9190612af0565b60405180910390a25050565b6000806000611504846119f2565b925092509250601054431161152b5760405162461bcd60e51b81526004016106779061282f565b600061153d838363ffffffff611bd116565b90508061155c5760405162461bcd60e51b815260040161067790612601565b6000611567866111df565b90506115738682611e2f565b6001600160a01b0386166000908152600d602052604081208054919055600e546115a3908263ffffffff611f0916565b600e55600f546115b9908563ffffffff611f0916565b600f55851561164b576115ca611782565b6001600160a01b031663a9059cbb88886040518363ffffffff1660e01b81526004016115f7929190612410565b602060405180830381600087803b15801561161157600080fd5b505af1158015611625573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611649919061234b565b505b6116536118b8565b6001600160a01b031663a9059cbb88856040518363ffffffff1660e01b8152600401611680929190612410565b602060405180830381600087803b15801561169a57600080fd5b505af11580156116ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d2919061234b565b50866001600160a01b03167fbd5034ffbd47e4e72a94baa2cdb74c6fad73cb3bcdc13036b72ec8306f5a764683888660405161171093929190612b07565b60405180910390a250505050505050565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610ace5780601f10610aa357610100808354040283529160200191610ace565b60008060019054906101000a90046001600160a01b03166001600160a01b0316639a9ba4da6040518163ffffffff1660e01b815260040160206040518083038186803b1580156117d157600080fd5b505afa1580156117e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111da9190612367565b6000610aec611816611c37565b84610c9c85604051806060016040528060258152602001612bed6025913960026000611840611c37565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611e0316565b6000610aec611884611c37565b8484611ce2565b6000611895611121565b60085403905090565b60006118a861188b565b15905090565b600061115f611782565b60008060019054906101000a90046001600160a01b03166001600160a01b031663b86677fe6040518163ffffffff1660e01b815260040160206040518083038186803b1580156117d157600080fd5b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b89061193b9033906004016123fc565b60206040518083038186803b15801561195357600080fd5b505afa158015611967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198b919061234b565b6119a75760405162461bcd60e51b815260040161067790612a39565b610f38612058565b60105481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600d6020526000908152604090205481565b60008060008060019054906101000a90046001600160a01b03166001600160a01b0316639711ac346040518163ffffffff1660e01b815260040160206040518083038186803b158015611a4457600080fd5b505afa158015611a58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7c919061234b565b611a985760405162461bcd60e51b815260040161067790612501565b6000611aa3856111df565b6001600160a01b0386166000908152600d6020526040812054919250611ac7610c18565b90506000611ae0600e5483611bd190919063ffffffff16565b90506000611afe600f54611af2611155565b9063ffffffff611f0916565b90508215611b1e5782611b13866109646118ae565b81611b1a57fe5b0497505b8115611b505781611b45611b38878763ffffffff611bd116565b839063ffffffff611bfd16565b81611b4c57fe5b0496505b600e5415611b7957600e54600f54611b6e908663ffffffff611bfd16565b81611b7557fe5b0495505b50505050509193909250565b60005461010090046001600160a01b031690565b3b151590565b611ba7612267565b6111da600c54611bc5611bb86118ae565b611bc0611155565b61208c565b9063ffffffff6120bb16565b600082820183811015611bf65760405162461bcd60e51b8152600401610677906126d1565b9392505050565b600082611c0c57506000610af0565b82820282848281611c1957fe5b0414611bf65760405162461bcd60e51b8152600401610677906128a4565b3390565b6001600160a01b038316611c615760405162461bcd60e51b8152600401610677906129f5565b6001600160a01b038216611c875760405162461bcd60e51b815260040161067790612642565b6001600160a01b0380841660008181526002602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610d9c908590612af0565b6001600160a01b038316611d085760405162461bcd60e51b8152600401610677906129b0565b6001600160a01b038216611d2e5760405162461bcd60e51b8152600401610677906124be565b611d398383836120e2565b611d7c81604051806060016040528060268152602001612b9f602691396001600160a01b038616600090815260016020526040902054919063ffffffff611e0316565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611db1908263ffffffff611bd116565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d9c908590612af0565b60008184841115611e275760405162461bcd60e51b81526004016106779190612434565b505050900390565b336001600160a01b03831614611e8d576000611e77826040518060600160405280602b8152602001612b74602b9139611e6a866105df611c37565b919063ffffffff611e0316565b9050611e8b83611e85611c37565b83611c3b565b505b611e9782826120e7565b5050565b611ea3610f3a565b611ebf5760405162461bcd60e51b815260040161067790612536565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ef2611c37565b604051611eff91906123fc565b60405180910390a1565b600082821115611f2b5760405162461bcd60e51b81526004016106779061273f565b50900390565b611f39610f3a565b15611f565760405162461bcd60e51b815260040161067790612776565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ef2611c37565b6001600160a01b038216611fb25760405162461bcd60e51b815260040161067790612a7a565b611fbe600083836120e2565b600354611fd1908263ffffffff611bd116565b6003556001600160a01b038216600090815260016020526040902054611ffd908263ffffffff611bd116565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061204c908590612af0565b60405180910390a35050565b4260078190556040517fd1dbb2ce8081405078443ef34dae718285114121a39370b14ef01b9d2b0a208391611eff91612af0565b612094612267565b60405180602001604052806120b285670de0b6b3a7640000866121c9565b90529392505050565b6120c3612267565b6040805160208101909152835181906120b2908563ffffffff6121f316565b505050565b6001600160a01b03821661210d5760405162461bcd60e51b81526004016106779061296f565b612119826000836120e2565b61215c81604051806060016040528060228152602001612b52602291396001600160a01b038516600090815260016020526040902054919063ffffffff611e0316565b6001600160a01b038316600090815260016020526040902055600354612188908263ffffffff611f0916565b6003556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061204c908590612af0565b60006121eb826121df868663ffffffff611bfd16565b9063ffffffff6121f316565b949350505050565b6000611bf683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836122515760405162461bcd60e51b81526004016106779190612434565b50600083858161225d57fe5b0495945050505050565b6040518060200160405280600081525090565b60006020828403121561228b578081fd5b8135611bf681612b2b565b600080604083850312156122a8578081fd5b82356122b381612b2b565b915060208301356122c381612b2b565b809150509250929050565b600080604083850312156122a8578182fd5b6000806000606084860312156122f4578081fd5b83356122ff81612b2b565b9250602084013561230f81612b2b565b929592945050506040919091013590565b60008060408385031215612332578182fd5b823561233d81612b2b565b946020939093013593505050565b60006020828403121561235c578081fd5b8151611bf681612b43565b600060208284031215612378578081fd5b8151611bf681612b2b565b600060208284031215612394578081fd5b6040516020810181811067ffffffffffffffff821117156123b3578283fd5b6040529151825250919050565b6000602082840312156123d1578081fd5b5051919050565b600080604083850312156123ea578182fd5b8235915060208301356122c381612b43565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602080835283518082850152825b8181101561246057858101830151858201604001528201612444565b818111156124715783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601f908201527f47656e6573697347726f75703a204e6f7420656e6f75676820737570706c7900604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f436f72655265663a205374696c6c20696e2047656e6573697320506572696f64604082015260600190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b602080825260159082015274151a5b59590e881d1a5b59481b9bdd08195b991959605a1b604082015260600190565b6020808252601c908201527f47656e6573697347726f75703a2076616c7565206d69736d6174636800000000604082015260600190565b60208082526017908201527f54696d65643a2074696d65206e6f742073746172746564000000000000000000604082015260600190565b60208082526021908201527f47656e6573697347726f75703a204e6f2072656465656d61626c6520545249426040820152604560f81b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252602d908201527f436f72655265663a2043616c6c6572206973206e6f742061206775617264696160408201526c371037b91033b7bb32b93737b960991b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601b908201527f47656e6573697347726f75703a206e6f2076616c75652073656e740000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252602a908201527f47656e6573697347726f75703a204e6f204647454e206f7220636f6d6d69747460408201526965642062616c616e636560b01b606082015260800190565b60208082526025908201527f47656e6573697347726f75703a204c61756e636820616c7265616479206861706040820152641c195b995960da1b606082015260800190565b6020808252602a908201527f47656e6573697347726f75703a204e6f2072656465656d696e6720696e206c61604082015269756e636820626c6f636b60b01b606082015260800190565b602080825260119082015270151a5b59590e881d1a5b5948195b991959607a1b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526033908201527f47656e6573697347726f75703a204e6f7420617070726f76656420666f7220656040820152721b595c99d95b98de481dda5d1a191c985dd85b606a1b606082015260800190565b6020808252601d908201527f436f72655265663a2043616c6c6572206973206120636f6e7472616374000000604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526021908201527f436f72655265663a2043616c6c6572206973206e6f74206120676f7665726e6f6040820152603960f91b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252818101527f47656e6573697347726f75703a204e6f7420696e20657869742077696e646f77604082015260600190565b9051815260200190565b90815260200190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b6001600160a01b0381168114612b4057600080fd5b50565b8015158114612b4057600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636547656e6573697347726f75703a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e5939aea02a175f00826d20849732ec533fc849191da5e4aef98f47ba77e690964736f6c63430006060033

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

0000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b9000000000000000000000000e1578b4a32eaefcd563a9e6d0dc02a4213f673b70000000000000000000000007d809969f6a04777f0a87ff94b57e56078e5fe0f00000000000000000000000089714d3ac9149426219a3568543200d1964101c4000000000000000000000000000000000000000000000000000000000003f480000000000000000000000000000000000000000000000000000000000000000a

-----Decoded View---------------
Arg [0] : _core (address): 0x8d5ED43dCa8C2F7dFB20CF7b53CC7E593635d7b9
Arg [1] : _bondingcurve (address): 0xe1578B4a32Eaefcd563a9E6d0dc02a4213f673B7
Arg [2] : _ido (address): 0x7D809969f6A04777F0A87FF94B57E56078E5fE0F
Arg [3] : _oracle (address): 0x89714d3AC9149426219a3568543200D1964101C4
Arg [4] : _duration (uint256): 259200
Arg [5] : _exchangeRateDiscount (uint256): 10

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b9
Arg [1] : 000000000000000000000000e1578b4a32eaefcd563a9e6d0dc02a4213f673b7
Arg [2] : 0000000000000000000000007d809969f6a04777f0a87ff94b57e56078e5fe0f
Arg [3] : 00000000000000000000000089714d3ac9149426219a3568543200d1964101c4
Arg [4] : 000000000000000000000000000000000000000000000000000000000003f480
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000a


Deployed Bytecode Sourcemap

422:9868:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;1805:90:13;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1805:90:13;;;:::i;:::-;;;;;;;;;;;;;;;;4610:971:5;;5:9:-1;2:2;;;27:1;24;17:12;2:2;4610:971:5;;;:::i;:::-;;2168:89:15;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2168:89:15;;;:::i;:::-;;;;;;;;4244:166;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;4244:166:15;;;;;;;;:::i;386:23:13:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;386:23:13;;;:::i;:::-;;;;;;;;8885:731:5;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;8885:731:5;;;;;;;;:::i;:::-;;;;;;;;;3235:106:15;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3235:106:15;;;:::i;4877:317::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;4877:317:15;;;;;;;;:::i;3057:318:5:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;3057:318:5;;;;;;;;:::i;3086:89:15:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3086:89:15;;;:::i;:::-;;;;;;;;5589:215;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;5589:215:15;;;;;;;;:::i;2605:85:10:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2605:85:10;;;:::i;1052:84:19:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1052:84:19;;;:::i;5641:1105:5:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;5641:1105:5;;;;;;;;:::i;888:42::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;888:42:5;;;:::i;1047:43::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1047:43:5;;;:::i;1402:397:13:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1402:397:13;;;:::i;3562:119:10:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3562:119:10;;;:::i;3399:125:15:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;3399:125:15;;;;;;;;:::i;306:24:13:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;306:24:13;;;:::i;2287:129:10:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;2287:129:10;;;;;;;;:::i;2469:81::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2469:81:10;;;:::i;2485:316:5:-;;;;;;;;;:::i;3530:998::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;3530:998:5;;;;;;;;:::i;2370:93:15:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2370:93:15;;;:::i;2992:86:10:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2992:86:10;;;:::i;:::-;;;;;;;;6291:266:15;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;6291:266:15;;;;;;;;:::i;3727:172::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;3727:172:15;;;;;;;;:::i;1092:161:13:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1092:161:13;;;:::i;905:94::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;905:94:13;;;:::i;3365:115:10:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3365:115:10;;;:::i;3195:92::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3195:92:10;;;:::i;2191:83:5:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2191:83:5;;;:::i;1156:35::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1156:35:5;;;:::i;3957:149:15:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;3957:149:15;;;;;;;;:::i;762:57:5:-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;762:57:5;;;;;;;;:::i;7155:1274::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;-1:-1;7155:1274:5;;;;;;;;:::i;:::-;;;;;;;;;;2797:82:10;;5:9:-1;2:2;;;27:1;24;17:12;2:2;2797:82:10;;;:::i;1805:90:13:-;1874:9;;:14;;1805:90;;:::o;4610:971:5:-;2111:30:10;2130:10;2111:18;:30::i;:::-;2110:31;2102:73;;;;-1:-1:-1;;;2102:73:10;;;;;;;;;;;;;;;;;789:13:13::1;:11;:13::i;:::-;781:47;;;;-1:-1:-1::0;;;781:47:13::1;;;;;;;;;4707:6:5::2;:4;:6::i;:::-;-1:-1:-1::0;;;;;4707:27:5::2;;:29;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;4707:29:5;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;-1:-1:::0;;4760:12:5::2;4746:11;:26:::0;-1:-1:-1;;4921:18:5::2;::::0;4945:12:::2;::::0;:40:::2;::::0;-1:-1:-1;;;4945:40:5;;4814:4:::2;::::0;4847:20;::::2;::::0;-1:-1:-1;;;;;4921:18:5;;::::2;::::0;:23:::2;::::0;4945:12;;::::2;::::0;:31:::2;::::0;:40:::2;::::0;4847:20;;4945:40:::2;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;4945:40:5;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;4945:40:5;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;4945:40:5;;;;;;;;;4921:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;4921:65:5;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;-1:-1:::0;;5050:12:5::2;::::0;:60:::2;::::0;-1:-1:-1;;;5050:60:5;;-1:-1:-1;;;;;5050:12:5;;::::2;::::0;-1:-1:-1;5050:21:5::2;::::0;-1:-1:-1;5079:7:5;;5050:60:::2;::::0;5088:12;;5079:7;;5050:60:::2;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;5050:60:5;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;5050:60:5;;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;5050:60:5;;;;;;;;;;5120:12;;;;;;;;;-1:-1:-1::0;;;;;5120:12:5::2;-1:-1:-1::0;;;;;5120:21:5::2;;:23;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;5120:23:5;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;-1:-1:::0;;5154:3:5::2;::::0;-1:-1:-1;;;;;5154:3:5::2;::::0;-1:-1:-1;5154:10:5::2;::::0;-1:-1:-1;5165:23:5::2;:21;:23::i;:::-;5154:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;5154:35:5;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;5154:35:5;;;;5257:17;5345:37;5363:18;;5345:13;:11;:13::i;:::-;:17:::0;:37:::2;:17;:37;:::i;:::-;5289:36;5306:18;;5289:12;:10;:12::i;:::-;:16:::0;:36:::2;:16;:36;:::i;:::-;:94;;;;;;::::0;-1:-1:-1;5397:14:5;;5393:89:::2;;5449:3;::::0;:22:::2;::::0;-1:-1:-1;;;5449:22:5;;-1:-1:-1;;;;;5449:3:5;;::::2;::::0;:11:::2;::::0;:22:::2;::::0;5461:9;;5449:22:::2;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::2;2:2;5449:22:5;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::2;77:16;74:1;67:27;5:2;5449:22:5;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;5449:22:5;;;;;;;;;5427:19;:44:::0;5393:89:::2;5551:23;5558:15;5551:23;;;;;;;;;;;;;;;838:1:13;;;4610:971:5:o:0;2168:89:15:-;2245:5;2238:12;;;;;;;;-1:-1:-1;;2238:12:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2213:13;;2238:12;;2245:5;;2238:12;;2245:5;2238:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2168:89;:::o;4244:166::-;4327:4;4343:39;4352:12;:10;:12::i;:::-;4366:7;4375:6;4343:8;:39::i;:::-;-1:-1:-1;4399:4:15;4244:166;;;;;:::o;386:23:13:-;;;;:::o;8885:731:5:-;9003:17;9022:19;9057:15;9075:37;9093:18;;9075:13;:11;:13::i;:37::-;9057:55;;9127:9;9122:134;;9224:21;:7;9236:8;9224:21;:11;:21;:::i;:::-;9214:31;;9122:134;9285:7;9273:8;:19;;9265:63;;;;-1:-1:-1;;;9265:63:5;;;;;;;;;9358:12;;:34;;-1:-1:-1;;;9358:34:5;;9339:16;;-1:-1:-1;;;;;9358:12:5;;:25;;:34;;9384:7;;9358:34;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;9358:34:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9358:34:5;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;9358:34:5;;;;;;;;;9339:53;;9402:18;9423:14;:12;:14::i;:::-;9402:35;-1:-1:-1;9544:7:5;9519:22;:8;9532;9519:22;:12;:22;:::i;:::-;:32;;;;;;9592:7;9565:24;:10;9580:8;9565:24;:14;:24;:::i;:::-;:34;;;;;;9498:111;;;;;;;8885:731;;;;;:::o;3235:106:15:-;3322:12;;3235:106;:::o;4877:317::-;4983:4;4999:36;5009:6;5017:9;5028:6;4999:9;:36::i;:::-;5045:121;5054:6;5062:12;:10;:12::i;:::-;5076:89;5114:6;5076:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5076:19:15;;;;;;:11;:19;;;;;;5096:12;:10;:12::i;:::-;-1:-1:-1;;;;;5076:33:15;;;;;;;;;;;;-1:-1:-1;5076:33:15;;;:89;;:37;:89;:::i;:::-;5045:8;:121::i;:::-;-1:-1:-1;5183:4:15;4877:317;;;;;:::o;3057:318:5:-;629:15:13;:13;:15::i;:::-;621:51;;;;-1:-1:-1;;;621:51:13;;;;;;;;;691:13;:11;:13::i;:::-;690:14;682:44;;;;-1:-1:-1;;;682:44:13;;;;;;;;;3184:23:5::1;3194:4;3200:6;3184:9;:23::i;:::-;-1:-1:-1::0;;;;;3238:17:5;::::1;;::::0;;;:13:::1;:17;::::0;;;;;:29:::1;::::0;3260:6;3238:29:::1;:21;:29;:::i;:::-;-1:-1:-1::0;;;;;3218:17:5;::::1;;::::0;;;:13:::1;:17;::::0;;;;:49;3298:18:::1;::::0;:30:::1;::::0;3321:6;3298:30:::1;:22;:30;:::i;:::-;3277:18;:51;;;;3357:2;-1:-1:-1::0;;;;;3344:24:5::1;3351:4;-1:-1:-1::0;;;;;3344:24:5::1;;3361:6;3344:24;;;;;;;;;;;;;;;3057:318:::0;;;:::o;3086:89:15:-;3159:9;;;;3086:89;:::o;5589:215::-;5677:4;5693:83;5702:12;:10;:12::i;:::-;5716:7;5725:50;5764:10;5725:11;:25;5737:12;:10;:12::i;:::-;-1:-1:-1;;;;;5725:25:15;;;;;;;;;;;;;;;;;-1:-1:-1;5725:25:15;;;:34;;;;;;;;;;;:50;:38;:50;:::i;2605:85:10:-;1436:5;;:28;;-1:-1:-1;;;1436:28:10;;:5;;;;-1:-1:-1;;;;;1436:5:10;;:16;;:28;;1453:10;;1436:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1436:28:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1436:28:10;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1436:28:10;;;;;;;;;:72;;;-1:-1:-1;1480:5:10;;:28;;-1:-1:-1;;;1480:28:10;;:5;;;;-1:-1:-1;;;;;1480:5:10;;:16;;:28;;1497:10;;1480:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1480:28:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1480:28:10;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1480:28:10;;;;;;;;;1415:164;;;;-1:-1:-1;;;1415:164:10;;;;;;;;;2673:10:::1;:8;:10::i;:::-;2605:85::o:0;1052:84:19:-;1099:4;1122:7;;;1052:84;:::o;5641:1105:5:-;5836:8;;5824:9;;:20;5847:6;5824:29;5805:15;:49;5726:186;;;;-1:-1:-1;;;5726:186:5;;;;;;;;;5944:6;:4;:6::i;:::-;-1:-1:-1;;;;;5944:31:5;;:33;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;5944:33:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5944:33:5;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;5944:33:5;;;;;;;;;5943:34;5922:118;;;;-1:-1:-1;;;5922:118:5;;;;;;;;;6051:16;6070:15;6080:4;6070:9;:15::i;:::-;-1:-1:-1;;;;;6115:19:5;;6095:17;6115:19;;;:13;:19;;;;;;6051:34;;-1:-1:-1;6160:23:5;6051:34;6115:19;6160:23;:12;:23;:::i;:::-;6144:39;-1:-1:-1;6202:10:5;6194:65;;;;-1:-1:-1;;;6194:65:5;;;;;;;;;6290:10;-1:-1:-1;;;;;6290:18:5;;;;:58;;;6343:5;6312:27;6322:4;6328:10;6312:9;:27::i;:::-;:36;;6290:58;6269:156;;;;-1:-1:-1;;;6269:156:5;;;;;;;;;6467:5;6442:21;:30;;6435:38;;;;6588:25;6598:4;6604:8;6588:9;:25::i;:::-;-1:-1:-1;;;;;6623:19:5;;6645:1;6623:19;;;:13;:19;;;;;:23;6677:18;;:33;;6700:9;6677:33;:22;:33;:::i;:::-;6656:18;:54;6721:18;;-1:-1:-1;;;;;6721:11:5;;;:18;;;;;6733:5;;6721:18;;;;6733:5;6721:11;:18;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6721:18:5;5641:1105;;;;;:::o;888:42::-;;;;:::o;1047:43::-;;;;:::o;1402:397:13:-;1449:7;1473:15;:13;:15::i;:::-;1468:72;;-1:-1:-1;1511:1:13;1504:8;;1468:72;1569:8;;1680:9;;1662:15;:27;1745:22;;;:47;;1782:10;1745:47;;;1770:9;1745:47;1738:54;;;;1402:397;:::o;3562:119:10:-;3616:7;3642;:5;:7::i;:::-;-1:-1:-1;;;;;3642:17:10;;3668:4;3642:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3642:32:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3642:32:10;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;3642:32:10;;;;;;;;;3635:39;;3562:119;:::o;3399:125:15:-;-1:-1:-1;;;;;3499:18:15;3473:7;3499:18;;;:9;:18;;;;;;;3399:125::o;306:24:13:-;;;;:::o;2287:129:10:-;1260:5;;:28;;-1:-1:-1;;;1260:28:10;;:5;;;;-1:-1:-1;;;;;1260:5:10;;:16;;:28;;1277:10;;1260:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1260:28:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1260:28:10;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1260:28:10;;;;;;;;;1239:108;;;;-1:-1:-1;;;1239:108:10;;;;;;;;;2359:5:::1;:19:::0;;-1:-1:-1;;;;;;2359:19:10::1;;-1:-1:-1::0;;;;;2359:19:10;::::1;::::0;;::::1;::::0;;;::::1;::::0;;2393:16:::1;::::0;2359:19;;2393:16:::1;::::0;::::1;2287:129:::0;:::o;2469:81::-;1436:5;;:28;;-1:-1:-1;;;1436:28:10;;:5;;;;-1:-1:-1;;;;;1436:5:10;;:16;;:28;;1453:10;;1436:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1436:28:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1436:28:10;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1436:28:10;;;;;;;;;:72;;;-1:-1:-1;1480:5:10;;:28;;-1:-1:-1;;;1480:28:10;;:5;;;;-1:-1:-1;;;;;1480:5:10;;:16;;:28;;1497:10;;1480:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1480:28:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1480:28:10;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1480:28:10;;;;;;;;;1415:164;;;;-1:-1:-1;;;1415:164:10;;;;;;;;;2535:8:::1;:6;:8::i;2485:316:5:-:0;629:15:13;:13;:15::i;:::-;621:51;;;;-1:-1:-1;;;621:51:13;;;;;;;;;691:13;:11;:13::i;:::-;690:14;682:44;;;;-1:-1:-1;;;682:44:13;;;;;;;;;2634:5:5::1;2621:9;:18;2613:59;;;;-1:-1:-1::0;;;2613:59:5::1;;;;;;;;;2690:10:::0;2682:50:::1;;;;-1:-1:-1::0;;;2682:50:5::1;;;;;;;;;2743:16;2749:2;2753:5;2743;:16::i;:::-;2784:2;-1:-1:-1::0;;;;;2775:19:5::1;;2788:5;2775:19;;;;;;;;;;;;;;;2485:316:::0;;:::o;3530:998::-;3587:17;3606:20;3628:16;3660:22;3679:2;3660:18;:22::i;:::-;3586:96;;;;;;3728:11;;3713:12;:26;3692:115;;;;-1:-1:-1;;;3692:115:5;;;;;;;;;3851:19;3873:26;:12;3890:8;3873:26;:16;:26;:::i;:::-;3851:48;-1:-1:-1;3917:16:5;3909:62;;;;-1:-1:-1;;;3909:62:5;;;;;;;;;4003:16;4022:13;4032:2;4022:9;:13::i;:::-;4003:32;;4045:23;4055:2;4059:8;4045:9;:23::i;:::-;-1:-1:-1;;;;;4126:17:5;;4106;4126;;;:13;:17;;;;;;;4153:21;;;4205:18;;:33;;4126:17;4205:33;:22;:33;:::i;:::-;4184:18;:54;4271:19;;:33;;4295:8;4271:33;:23;:33;:::i;:::-;4249:19;:55;4349:14;;4345:74;;4379:5;:3;:5::i;:::-;-1:-1:-1;;;;;4379:14:5;;4394:2;4398:9;4379:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;4379:29:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4379:29:5;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;4379:29:5;;;;;;;;;;4345:74;4428:7;:5;:7::i;:::-;-1:-1:-1;;;;;4428:16:5;;4445:2;4449:11;4428:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;4428:33:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4428:33:5;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;4428:33:5;;;;;;;;;;4484:2;-1:-1:-1;;;;;4477:44:5;;4488:8;4498:9;4509:11;4477:44;;;;;;;;;;;;;;;;;3530:998;;;;;;;:::o;2370:93:15:-;2449:7;2442:14;;;;;;;;-1:-1:-1;;2442:14:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2417:13;;2442:14;;2449:7;;2442:14;;2449:7;2442:14;;;;;;;;;;;;;;;;;;;;;;;;2992:86:10;3037:4;3060:5;;;;;;;;;-1:-1:-1;;;;;3060:5:10;-1:-1:-1;;;;;3060:9:10;;:11;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;3060:11:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3060:11:10;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;3060:11:10;;;;;;;;6291:266:15;6384:4;6400:129;6409:12;:10;:12::i;:::-;6423:7;6432:96;6471:15;6432:96;;;;;;;;;;;;;;;;;:11;:25;6444:12;:10;:12::i;:::-;-1:-1:-1;;;;;6432:25:15;;;;;;;;;;;;;;;;;-1:-1:-1;6432:25:15;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;3727:172::-;3813:4;3829:42;3839:12;:10;:12::i;:::-;3853:9;3864:6;3829:9;:42::i;1092:161:13:-;1138:7;1175:16;:14;:16::i;:::-;1164:8;;:27;1157:34;;1092:161;:::o;905:94::-;949:4;972:15;:13;:15::i;:::-;:20;;-1:-1:-1;905:94:13;:::o;3365:115:10:-;3417:7;3443:5;:3;:5::i;3195:92::-;3242:6;3267:5;;;;;;;;;-1:-1:-1;;;;;3267:5:10;-1:-1:-1;;;;;3267:11:10;;:13;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2191:83:5;1260:5:10;;:28;;-1:-1:-1;;;1260:28:10;;:5;;;;-1:-1:-1;;;;;1260:5:10;;:16;;:28;;1277:10;;1260:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1260:28:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1260:28:10;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1260:28:10;;;;;;;;;1239:108;;;;-1:-1:-1;;;1239:108:10;;;;;;;;;2255:12:5::1;:10;:12::i;1156:35::-:0;;;;:::o;3957:149:15:-;-1:-1:-1;;;;;4072:18:15;;;4046:7;4072:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3957:149::o;762:57:5:-;;;;;;;;;;;;;:::o;7155:1274::-;7290:17;7321:20;7355:16;1955:5:10;;;;;;;;;-1:-1:-1;;;;;1955:5:10;-1:-1:-1;;;;;1955:30:10;;:32;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;1955:32:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1955:32:10;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;1955:32:10;;;;;;;;;1934:111;;;;-1:-1:-1;;;1934:111:10;;;;;;;;;7396:16:5::1;7415:13;7425:2;7415:9;:13::i;:::-;-1:-1:-1::0;;;;;7466:17:5;::::1;7438:25;7466:17:::0;;;:13:::1;:17;::::0;;;;;7396:32;;-1:-1:-1;7520:13:5::1;:11;:13::i;:::-;7494:39;;7543:17;7563:39;7583:18;;7563:15;:19;;:39;;;;:::i;:::-;7543:59;;7660:25;7688:39;7707:19;;7688:14;:12;:14::i;:::-;:18:::0;:39:::1;:18;:39;:::i;:::-;7660:67:::0;-1:-1:-1;7742:20:5;;7738:159:::1;;7871:15;7842:26;7859:8;7842:12;:10;:12::i;:26::-;:44;;;;;;7830:56;;7738:159;7911:14:::0;;7907:227:::1;;8114:9:::0;8041:54:::1;8063:31;:8:::0;8076:17;8063:31:::1;:12;:31;:::i;:::-;8041:17:::0;;:54:::1;:21;:54;:::i;:::-;:82;;;;;;8010:113;;7907:227;8148:18;::::0;:23;8144:226:::1;;8341:18;::::0;8280:19:::1;::::0;:42:::1;::::0;8304:17;8280:42:::1;:23;:42;:::i;:::-;:79;;;;;;8253:106;;8144:226;-1:-1:-1::0;;;;;7155:1274:5;;;;;:::o;2797:82:10:-;2843:5;2867;;;;-1:-1:-1;;;;;2867:5:10;;2797:82::o;726:413:17:-;1086:20;1124:8;;;726:413::o;10048:240:5:-;10128:19;;:::i;:::-;10182:99;10247:20;;10182:43;10196:12;:10;:12::i;:::-;10210:14;:12;:14::i;:::-;10182:13;:43::i;:::-;:47;:99;:47;:99;:::i;2690:175:14:-;2748:7;2779:5;;;2802:6;;;;2794:46;;;;-1:-1:-1;;;2794:46:14;;;;;;;;;2857:1;2690:175;-1:-1:-1;;;2690:175:14:o;3538:215::-;3596:7;3619:6;3615:20;;-1:-1:-1;3634:1:14;3627:8;;3615:20;3657:5;;;3661:1;3657;:5;:1;3680:5;;;;;:10;3672:56;;;;-1:-1:-1;;;3672:56:14;;;;;;;;598:104:18;685:10;598:104;:::o;9355:340:15:-;-1:-1:-1;;;;;9456:19:15;;9448:68;;;;-1:-1:-1;;;9448:68:15;;;;;;;;;-1:-1:-1;;;;;9534:21:15;;9526:68;;;;-1:-1:-1;;;9526:68:15;;;;;;;;;-1:-1:-1;;;;;9605:18:15;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;9656:32;;;;;9635:6;;9656:32;;7031:530;-1:-1:-1;;;;;7136:20:15;;7128:70;;;;-1:-1:-1;;;7128:70:15;;;;;;;;;-1:-1:-1;;;;;7216:23:15;;7208:71;;;;-1:-1:-1;;;7208:71:15;;;;;;;;;7290:47;7311:6;7319:9;7330:6;7290:20;:47::i;:::-;7368:71;7390:6;7368:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7368:17:15;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;7348:17:15;;;;;;;:9;:17;;;;;;:91;;;;7472:20;;;;;;;:32;;7497:6;7472:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;7449:20:15;;;;;;;:9;:20;;;;;;;:55;;;;7519:35;;;;;;;;;;7547:6;;7519:35;;5432:163:14;5518:7;5553:12;5545:6;;;;5537:29;;;;-1:-1:-1;;;5537:29:14;;;;;;;;;;-1:-1:-1;;;5583:5:14;;;5432:163::o;9622:420:5:-;9697:10;-1:-1:-1;;;;;9697:21:5;;;9693:311;;9734:26;9779:149;9837:6;9779:149;;;;;;;;;;;;;;;;;:32;9789:7;9798:12;:10;:12::i;9779:32::-;:36;:149;;:36;:149;:::i;:::-;9734:194;;9942:51;9951:7;9960:12;:10;:12::i;:::-;9974:18;9942:8;:51::i;:::-;9693:311;;10013:22;10019:7;10028:6;10013:5;:22::i;:::-;9622:420;;:::o;2064:117:19:-;1631:8;:6;:8::i;:::-;1623:41;;;;-1:-1:-1;;;1623:41:19;;;;;;;;;2132:5:::1;2122:15:::0;;-1:-1:-1;;2122:15:19::1;::::0;;2152:22:::1;2161:12;:10;:12::i;:::-;2152:22;;;;;;;;;;;;;;;2064:117::o:0;3136:155:14:-;3194:7;3226:1;3221;:6;;3213:49;;;;-1:-1:-1;;;3213:49:14;;;;;;;;;-1:-1:-1;3279:5:14;;;3136:155::o;1817:115:19:-;1366:8;:6;:8::i;:::-;1365:9;1357:38;;;;-1:-1:-1;;;1357:38:19;;;;;;;;;1876:7:::1;:14:::0;;-1:-1:-1;;1876:14:19::1;1886:4;1876:14;::::0;;1905:20:::1;1912:12;:10;:12::i;7832:370:15:-:0;-1:-1:-1;;;;;7915:21:15;;7907:65;;;;-1:-1:-1;;;7907:65:15;;;;;;;;;7983:49;8012:1;8016:7;8025:6;7983:20;:49::i;:::-;8058:12;;:24;;8075:6;8058:24;:16;:24;:::i;:::-;8043:12;:39;-1:-1:-1;;;;;8113:18:15;;;;;;:9;:18;;;;;;:30;;8136:6;8113:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;8092:18:15;;;;;;:9;:18;;;;;;:51;;;;8158:37;;8092:18;;;8158:37;;;;8188:6;;8158:37;;;;;;;;;;7832:370;;:::o;1901:234:13:-;2008:15;1996:9;:27;;;2101;;;;;;;;1540:174:3;1634:11;;:::i;:::-;1668:39;;;;;;;;1682:22;1693:1;1002:6;1702:1;1682:10;:22::i;:::-;1668:39;;1661:46;1540:174;-1:-1:-1;;;1540:174:3:o;2557:::-;2656:11;;:::i;:::-;2690:34;;;;;;;;;2704:10;;2690:34;;2704:17;;2719:1;2704:17;:14;:17;:::i;10701:92:15:-;;;;:::o;8522:410::-;-1:-1:-1;;;;;8605:21:15;;8597:67;;;;-1:-1:-1;;;8597:67:15;;;;;;;;;8675:49;8696:7;8713:1;8717:6;8675:20;:49::i;:::-;8756:68;8779:6;8756:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8756:18:15;;;;;;:9;:18;;;;;;;:68;;:22;:68;:::i;:::-;-1:-1:-1;;;;;8735:18:15;;;;;;:9;:18;;;;;:89;8849:12;;:24;;8866:6;8849:24;:16;:24;:::i;:::-;8834:12;:39;8888:37;;8914:1;;-1:-1:-1;;;;;8888:37:15;;;;;;;8918:6;;8888:37;;5066:215:3;5206:7;5236:38;5262:11;5236:21;:6;5247:9;5236:21;:10;:21;:::i;:::-;:25;:38;:25;:38;:::i;:::-;5229:45;5066:215;-1:-1:-1;;;;5066:215:3:o;3188:130:4:-;3246:7;3272:39;3276:1;3279;3272:39;;;;;;;;;;;;;;;;;3886:7;3920:12;3913:5;3905:28;;;;-1:-1:-1;;;3905:28:4;;;;;;;;;;;3943:9;3959:1;3955;:5;;;;;;;3800:272;-1:-1:-1;;;;;3800:272:4:o;422:9868:5:-;;;;;;;;;;;;;;:::o;1552:241:-1:-;;1656:2;1644:9;1635:7;1631:23;1627:32;1624:2;;;-1:-1;;1662:12;1624:2;85:6;72:20;97:33;124:5;97:33;;1800:366;;;1921:2;1909:9;1900:7;1896:23;1892:32;1889:2;;;-1:-1;;1927:12;1889:2;85:6;72:20;97:33;124:5;97:33;;;1979:63;-1:-1;2079:2;2118:22;;72:20;97:33;72:20;97:33;;;2087:63;;;;1883:283;;;;;;2173:382;;;2302:2;2290:9;2281:7;2277:23;2273:32;2270:2;;;-1:-1;;2308:12;2562:491;;;;2700:2;2688:9;2679:7;2675:23;2671:32;2668:2;;;-1:-1;;2706:12;2668:2;85:6;72:20;97:33;124:5;97:33;;;2758:63;-1:-1;2858:2;2897:22;;72:20;97:33;72:20;97:33;;;2662:391;;2866:63;;-1:-1;;;2966:2;3005:22;;;;1341:20;;2662:391;3060:366;;;3181:2;3169:9;3160:7;3156:23;3152:32;3149:2;;;-1:-1;;3187:12;3149:2;85:6;72:20;97:33;124:5;97:33;;;3239:63;3339:2;3378:22;;;;1341:20;;-1:-1;;;3143:283;3433:257;;3545:2;3533:9;3524:7;3520:23;3516:32;3513:2;;;-1:-1;;3551:12;3513:2;507:6;501:13;519:30;543:5;519:30;;3697:293;;3827:2;3815:9;3806:7;3802:23;3798:32;3795:2;;;-1:-1;;3833:12;3795:2;660:6;654:13;672:48;714:5;672:48;;4293:305;;4429:2;4417:9;4408:7;4404:23;4400:32;4397:2;;;-1:-1;;4435:12;4397:2;31645;31639:9;4429:2;31675:6;31671:17;31782:6;31770:10;31767:22;31746:18;31734:10;31731:34;31728:62;31725:2;;;-1:-1;;31793:12;31725:2;31645;31812:22;1489:13;;1160:86;;-1:-1;1167:16;4391:207;-1:-1;4391:207;4605:263;;4720:2;4708:9;4699:7;4695:23;4691:32;4688:2;;;-1:-1;;4726:12;4688:2;-1:-1;1489:13;;4682:186;-1:-1;4682:186;4875:360;;;4993:2;4981:9;4972:7;4968:23;4964:32;4961:2;;;-1:-1;;4999:12;4961:2;1354:6;1341:20;5051:63;;5151:2;5191:9;5187:22;359:20;384:30;408:5;384:30;;16851:213;-1:-1;;;;;32729:54;;;;5462:37;;16969:2;16954:18;;16940:124;17307:324;-1:-1;;;;;32729:54;;;;5462:37;;17617:2;17602:18;;16568:37;17453:2;17438:18;;17424:207;17638:201;32417:13;;32410:21;5576:34;;17750:2;17735:18;;17721:118;18588:301;;18726:2;;18747:17;18740:47;6248:5;31934:12;32091:6;18726:2;18715:9;18711:18;32079:19;-1:-1;34266:101;34280:6;34277:1;34274:13;34266:101;;;34347:11;;;;;34341:18;34328:11;;;32119:14;34328:11;34321:39;34295:10;;34266:101;;;34382:6;34379:1;34376:13;34373:2;;;-1:-1;32119:14;34438:6;18715:9;34429:16;;34422:27;34373:2;-1:-1;34554:7;34538:14;-1:-1;;34534:28;6406:39;;;;32119:14;6406:39;;18697:192;-1:-1;;;18697:192;18896:407;19087:2;19101:47;;;6682:2;19072:18;;;32079:19;6718:33;32119:14;;;6698:54;6771:12;;;19058:245;19310:407;19501:2;19515:47;;;7022:2;19486:18;;;32079:19;7058:34;32119:14;;;7038:55;-1:-1;;;7113:12;;;7106:27;7152:12;;;19472:245;19724:407;19915:2;19929:47;;;19900:18;;;32079:19;7439:34;32119:14;;;7419:55;7493:12;;;19886:245;20138:407;20329:2;20343:47;;;7744:2;20314:18;;;32079:19;-1:-1;;;32119:14;;;7760:43;7822:12;;;20300:245;20552:407;20743:2;20757:47;;;8073:2;20728:18;;;32079:19;-1:-1;;;32119:14;;;8089:44;8152:12;;;20714:245;20966:407;21157:2;21171:47;;;8403:2;21142:18;;;32079:19;8439:30;32119:14;;;8419:51;8489:12;;;21128:245;21380:407;21571:2;21585:47;;;8740:2;21556:18;;;32079:19;8776:25;32119:14;;;8756:46;8821:12;;;21542:245;21794:407;21985:2;21999:47;;;9072:2;21970:18;;;32079:19;9108:34;32119:14;;;9088:55;-1:-1;;;9163:12;;;9156:25;9200:12;;;21956:245;22208:407;22399:2;22413:47;;;9451:2;22384:18;;;32079:19;9487:34;32119:14;;;9467:55;-1:-1;;;9542:12;;;9535:26;9580:12;;;22370:245;22622:407;22813:2;22827:47;;;9831:2;22798:18;;;32079:19;9867:34;32119:14;;;9847:55;-1:-1;;;9922:12;;;9915:37;9971:12;;;22784:245;23036:407;23227:2;23241:47;;;10222:2;23212:18;;;32079:19;10258:29;32119:14;;;10238:50;10307:12;;;23198:245;23450:407;23641:2;23655:47;;;10558:2;23626:18;;;32079:19;10594:29;32119:14;;;10574:50;10643:12;;;23612:245;23864:407;24055:2;24069:47;;;10894:2;24040:18;;;32079:19;10930:32;32119:14;;;10910:53;10982:12;;;24026:245;24278:407;24469:2;24483:47;;;11233:2;24454:18;;;32079:19;-1:-1;;;32119:14;;;11249:39;11307:12;;;24440:245;24692:407;24883:2;24897:47;;;11558:2;24868:18;;;32079:19;11594:34;32119:14;;;11574:55;-1:-1;;;11649:12;;;11642:34;11695:12;;;24854:245;25106:407;25297:2;25311:47;;;11946:2;25282:18;;;32079:19;11982:34;32119:14;;;11962:55;-1:-1;;;12037:12;;;12030:29;12078:12;;;25268:245;25520:407;25711:2;25725:47;;;12329:2;25696:18;;;32079:19;12365:34;32119:14;;;12345:55;-1:-1;;;12420:12;;;12413:34;12466:12;;;25682:245;25934:407;26125:2;26139:47;;;12717:2;26110:18;;;32079:19;-1:-1;;;32119:14;;;12733:40;12792:12;;;26096:245;26348:407;26539:2;26553:47;;;13043:2;26524:18;;;32079:19;13079:34;32119:14;;;13059:55;-1:-1;;;13134:12;;;13127:25;13171:12;;;26510:245;26762:407;26953:2;26967:47;;;13422:2;26938:18;;;32079:19;13458:34;32119:14;;;13438:55;-1:-1;;;13513:12;;;13506:43;13568:12;;;26924:245;27176:407;27367:2;27381:47;;;13819:2;27352:18;;;32079:19;13855:31;32119:14;;;13835:52;13906:12;;;27338:245;27590:407;27781:2;27795:47;;;14157:2;27766:18;;;32079:19;14193:34;32119:14;;;14173:55;-1:-1;;;14248:12;;;14241:25;14285:12;;;27752:245;28004:407;28195:2;28209:47;;;14536:2;28180:18;;;32079:19;14572:34;32119:14;;;14552:55;-1:-1;;;14627:12;;;14620:29;14668:12;;;28166:245;28418:407;28609:2;28623:47;;;14919:2;28594:18;;;32079:19;14955:34;32119:14;;;14935:55;-1:-1;;;15010:12;;;15003:28;15050:12;;;28580:245;28832:407;29023:2;29037:47;;;15301:2;29008:18;;;32079:19;15337:34;32119:14;;;15317:55;-1:-1;;;15392:12;;;15385:25;15429:12;;;28994:245;29246:407;29437:2;29451:47;;;15680:2;29422:18;;;32079:19;15716:33;32119:14;;;15696:54;15769:12;;;29408:245;29660:407;29851:2;29865:47;;;29836:18;;;32079:19;16056:34;32119:14;;;16036:55;16110:12;;;29822:245;30074:297;16387:23;;16568:37;;30234:2;30219:18;;30205:166;30378:213;16568:37;;;30496:2;30481:18;;30467:124;30598:324;16568:37;;;30908:2;30893:18;;16568:37;30744:2;30729:18;;30715:207;30929:435;16568:37;;;31267:2;31252:18;;16568:37;;;;31350:2;31335:18;;16568:37;31103:2;31088:18;;31074:290;31371:205;32945:4;32934:16;;;;16804:35;;31485:2;31470:18;;31456:120;34575:117;-1:-1;;;;;32729:54;;34634:35;;34624:2;;34683:1;;34673:12;34624:2;34618:74;;34839:111;34920:5;32417:13;32410:21;34898:5;34895:32;34885:2;;34941:1;;34931:12

Swarm Source

ipfs://e5939aea02a175f00826d20849732ec533fc849191da5e4aef98f47ba77e6909
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.