ETH Price: $3,111.98 (-2.24%)

Contract

0x5DEDEC994C11aB5F9908f33Aed2947F33B67a449
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Min147790732022-05-15 9:14:32914 days ago1652606072IN
0x5DEDEC99...33B67a449
0 ETH0.0004895320.56863906
Withdraw147557122022-05-11 15:44:32918 days ago1652283872IN
0x5DEDEC99...33B67a449
0 ETH0.05260864636
Withdraw147557122022-05-11 15:44:32918 days ago1652283872IN
0x5DEDEC99...33B67a449
0 ETH0.05260864636
Withdraw147557122022-05-11 15:44:32918 days ago1652283872IN
0x5DEDEC99...33B67a449
0 ETH0.071359182
Withdraw141066072022-01-30 10:33:161019 days ago1643538796IN
0x5DEDEC99...33B67a449
0 ETH0.0664745579
Withdraw139065992021-12-30 12:11:441050 days ago1640866304IN
0x5DEDEC99...33B67a449
0 ETH0.0648686577
Withdraw139065992021-12-30 12:11:441050 days ago1640866304IN
0x5DEDEC99...33B67a449
0 ETH0.0112312277
Withdraw137648522021-12-08 12:40:421072 days ago1638967242IN
0x5DEDEC99...33B67a449
0 ETH0.0412267945
Withdraw135676912021-11-07 6:01:191103 days ago1636264879IN
0x5DEDEC99...33B67a449
0 ETH0.0815844992
Withdraw132342082021-09-16 3:02:131155 days ago1631761333IN
0x5DEDEC99...33B67a449
0 ETH0.01604286103
Deposit132212522021-09-14 2:54:051157 days ago1631588045IN
0x5DEDEC99...33B67a449
0 ETH0.0097041254
Earn131065502021-08-27 8:56:101175 days ago1630054570IN
0x5DEDEC99...33B67a449
0 ETH0.0554017862.08498851
Earn129780362021-08-07 12:54:311195 days ago1628340871IN
0x5DEDEC99...33B67a449
0 ETH0.0536420463
Withdraw126495342021-06-17 3:35:331246 days ago1623900933IN
0x5DEDEC99...33B67a449
0 ETH0.0111382422
Earn126393892021-06-15 13:46:551248 days ago1623764815IN
0x5DEDEC99...33B67a449
0 ETH0.0024315115
Deposit126392882021-06-15 13:25:441248 days ago1623763544IN
0x5DEDEC99...33B67a449
0 ETH0.0014286716
Deposit126169802021-06-12 2:14:401251 days ago1623464080IN
0x5DEDEC99...33B67a449
0 ETH0.0021432924
Earn126071282021-06-10 13:45:281253 days ago1623332728IN
0x5DEDEC99...33B67a449
0 ETH0.0021750115
Deposit126058962021-06-10 9:10:051253 days ago1623316205IN
0x5DEDEC99...33B67a449
0 ETH0.0015958815
Set Loan Enabled125950392021-06-08 16:44:561255 days ago1623170696IN
0x5DEDEC99...33B67a449
0 ETH0.0016011660
Set Lock Enabled125949642021-06-08 16:29:111255 days ago1623169751IN
0x5DEDEC99...33B67a449
0 ETH0.0020708880
Withdraw125162762021-05-27 12:05:441267 days ago1622117144IN
0x5DEDEC99...33B67a449
0 ETH0.0138326725
Withdraw125120472021-05-26 20:18:171268 days ago1622060297IN
0x5DEDEC99...33B67a449
0 ETH0.017260931.1
Withdraw124812332021-05-22 1:36:171272 days ago1621647377IN
0x5DEDEC99...33B67a449
0 ETH0.0269767649.1
Withdraw124769862021-05-21 9:47:341273 days ago1621590454IN
0x5DEDEC99...33B67a449
0 ETH0.0244271245
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MMVault

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-03-07
*/

/**
 *Submitted for verification at Etherscan.io on 2021-03-07
*/

/**
 *Submitted for verification at Etherscan.io on 2021-01-23
*/

pragma solidity 0.6.12;


interface IController {
    function vaults(address) external view returns (address);

    function rewards() external view returns (address);

    function devfund() external view returns (address);

    function treasury() external view returns (address);

    function balanceOf(address) external view returns (uint256);

    function withdraw(address, uint256) external;

    function earn(address, uint256) external;
}

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

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

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

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

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

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

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

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

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

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

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

/**
 * @dev 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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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);
            }
        }
    }
}

/**
 * @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;
    using Address for address;

    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 returns (string memory) {
        return _name;
    }

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

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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 {
        _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 { }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// Code adapted from https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2237/
/**
 * @dev Interface of the ERC2612 standard as defined in the EIP.
 *
 * Adds the {permit} method, which can be used to change one's
 * {IERC20-allowance} without having to send a transaction, by signing a
 * message. This allows users to spend tokens without having to hold Ether.
 *
 * See https://eips.ethereum.org/EIPS/eip-2612.
 */
interface IERC2612 {
    /**
     * @dev Sets `amount` as the allowance of `spender` over `owner`'s tokens,
     * given `owner`'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;

    /**
     * @dev Returns the current ERC2612 nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);
}

// SPDX-License-Identifier: GPL-3.0-or-later
// Adapted from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/53516bc555a454862470e7860a9b5254db4d00f5/contracts/token/ERC20/ERC20Permit.sol
/**
 * @author Georgios Konstantopoulos
 * @dev Extension of {ERC20} that allows token holders to use their tokens
 * without sending any transactions by setting {IERC20-allowance} with a
 * signature using the {permit} method, and then spend them via
 * {IERC20-transferFrom}.
 *
 * The {permit} signature mechanism conforms to the {IERC2612} interface.
 */
abstract contract ERC20Permit is ERC20, IERC2612 {
    mapping (address => uint256) public override nonces;

    bytes32 public immutable PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public immutable DOMAIN_SEPARATOR;
    constructor(string memory name_, string memory symbol_) internal ERC20(name_, symbol_) {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }

        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes(name_)),
                keccak256(bytes("1")),
                chainId,
                address(this)
            )
        );
    }

    /**
     * @dev See {IERC2612-permit}.
     *
     * In cases where the free option is not a concern, deadline can simply be
     * set to uint(-1), so it should be seen as an optional parameter
     */
    function permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override {
        require(deadline >= block.timestamp, "ERC20Permit: expired deadline");

        bytes32 hashStruct = keccak256(
            abi.encode(
                PERMIT_TYPEHASH,
                owner,
                spender,
                amount,
                nonces[owner]++,
                deadline
            )
        );

        bytes32 hash = keccak256(
            abi.encodePacked(
                '\x19\x01',
                DOMAIN_SEPARATOR,
                hashStruct
            )
        );

        address signer = ecrecover(hash, v, r, s);
        require(
            signer != address(0) && signer == owner,
            "ERC20Permit: invalid signature"
        );

        _approve(owner, spender, amount);
    }

}

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 constant _NOT_ENTERED = 1;
    uint256 constant _ENTERED = 2;

    uint256 _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

/**
* @title IFlashLoanReceiver interface
* @notice Interface for the Mushrooms fee IFlashLoanReceiver.
* @author Mushrooms
* @dev implement this interface to develop a flashloan-compatible flashLoanReceiver contract
**/
interface IFlashLoanReceiver {

   /**
   * @dev execute caller's logic after borrowed tokens
   * @param _token the address of the reserve in which the flashloan is happening
   * @param _amount amount of the flashloan tokens
   * @param _loanFee flashloan fee of this transaction
   * @param _data the data from caller
   **/
   function mushroomsFlashloan(address _token, uint256 _amount, uint256 _loanFee, bytes calldata _data) external;
}

interface IChiToken {
    function freeFromUpTo(address from, uint256 value) external returns (uint256 freed);

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

    function approve(address spender, uint256 amount) external returns (bool);
}

interface IMasterchef {
    function BONUS_MULTIPLIER() external view returns (uint256);

    function add(
        uint256 _allocPoint,
        address _lpToken,
        bool _withUpdate
    ) external;

    function bonusEndBlock() external view returns (uint256);

    function deposit(uint256 _pid, uint256 _amount) external;

    function dev(address _devaddr) external;

    function devFundDivRate() external view returns (uint256);

    function devaddr() external view returns (address);

    function emergencyWithdraw(uint256 _pid) external;

    function getMultiplier(uint256 _from, uint256 _to)
        external
        view
        returns (uint256);

    function massUpdatePools() external;

    function owner() external view returns (address);

    function pendingMM(uint256 _pid, address _user)
        external
        view
        returns (uint256);

    function mm() external view returns (address);

    function mmPerBlock() external view returns (uint256);

    function poolInfo(uint256)
        external
        view
        returns (
            address lpToken,
            uint256 allocPoint,
            uint256 lastRewardBlock,
            uint256 accMMPerShare
        );

    function poolLength() external view returns (uint256);

    function renounceOwnership() external;

    function set(
        uint256 _pid,
        uint256 _allocPoint,
        bool _withUpdate
    ) external;

    function setBonusEndBlock(uint256 _bonusEndBlock) external;

    function setDevFundDivRate(uint256 _devFundDivRate) external;

    function setMMPerBlock(uint256 _mmPerBlock) external;

    function startBlock() external view returns (uint256);

    function totalAllocPoint() external view returns (uint256);

    function transferOwnership(address newOwner) external;

    function updatePool(uint256 _pid) external;

    function userInfo(uint256, address)
        external
        view
        returns (uint256 amount, uint256 rewardDebt);

    function withdraw(uint256 _pid, uint256 _amount) external;

    function notifyBuybackReward(uint256 _amount) external;
}

// https://github.com/iearn-finance/vaults/blob/master/contracts/vaults/yVault.sol
contract MMVault is ReentrancyGuard, ERC20Permit  {
    using SafeERC20 for IERC20;
    using Address for address;
    using SafeMath for uint256;

    IERC20 public token;

    IChiToken public constant chi = IChiToken(0x0000000000004946c0e9F43F4Dee607b0eF1fA1c);

    uint256 public min = 9500;
    uint256 public constant max = 10000;

    uint256 public loanFee = 1;
    uint256 public loanFeeMax = 10000;
    bool public loanEnabled = true;

    address public governance;
    address public timelock;
    address public controller;

    mapping(address => bool) public keepers;
    mapping(address => bool) public reentrancyWhitelist;

    uint256 public DAY_SECONDS = 86400;
    uint256 public lockWindowBuffer = DAY_SECONDS/4;

    uint256 public lockStartTime;
    uint256 public lockWindow;
    uint256 public withdrawWindow;
    uint256 public earnedTimestamp;
    bool public lockEnabled = false;
    bool public earnOnceEnabled = false;

    event FlashLoan(address _token, address _receiver, uint256 _amount, uint256 _loanFee);

    modifier discountCHI() {
        uint256 gasStart = gasleft();
        _;
        uint256 gasSpent = 21000 + gasStart - gasleft() + 16 * msg.data.length;

        if(chi.balanceOf(msg.sender) > 0) {
            chi.freeFromUpTo(msg.sender, (gasSpent + 14154) / 41947);
        }
    }

    modifier onlyKeepers {
        require(
            keepers[msg.sender] ||
            msg.sender == governance,
            "!keepers"
        );
        _;
    }

    modifier onlyGovernance(){
        require(msg.sender == governance, "!governance");
        _;
    }

    modifier canEarn {
        if(lockEnabled){
            require(
                block.timestamp > lockStartTime,
                "!earnTime"
            );
            if(earnOnceEnabled){
                require(
                    block.timestamp.sub(earnedTimestamp) > lockWindow,
                     "!earnTwice");
                if(earnedTimestamp != 0){
                    lockStartTime = getLockCycleEndTime();
                }
                earnedTimestamp = block.timestamp;
            }
        }
        _;
    }

    modifier canWithdraw(uint256 _shares) {
        if(lockEnabled){
            //withdraw locker not work when withdraw amount less than available balance
            if(!withdrawableWithoutLock(_shares)){
                uint256 withdrawStartTimestamp = lockStartTime.add(lockWindow);
                require(
                    block.timestamp > withdrawStartTimestamp &&
                    block.timestamp < withdrawStartTimestamp.add(withdrawWindow),
                    "!withdrawTime"
                );
            }
        }
        _;
    }
	
    modifier nonReentrantWithWhitelist() {
        // only check if NOT in whitelist
        if (!reentrancyWhitelist[msg.sender]){
            // On the first call to nonReentrantWithWhitelist, _notEntered will be true
            require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
            // Any calls to nonReentrantWithWhitelist after this point will fail
            _status = _ENTERED;
        }

        _;	
        
        if (!reentrancyWhitelist[msg.sender]){
            // By storing the original value once again, a refund is triggered (see https://eips.ethereum.org/EIPS/eip-2200)
            _status = _NOT_ENTERED;	
        }
    }

    constructor(address _token, address _governance, address _timelock, address _controller)
        public
        ERC20Permit(
            string(abi.encodePacked("mushrooming ", ERC20(_token).name())),
            string(abi.encodePacked("m", ERC20(_token).symbol()))
        )
    {
        _setupDecimals(ERC20(_token).decimals());
        token = IERC20(_token);
        governance = _governance;
        timelock = _timelock;
        controller = _controller;

        //time line: [lockStartTime]|----lockWindow----|----withdrawWindow----|[lockStartTime]|----lockWindow---|........
        lockWindow = (14 * DAY_SECONDS) + lockWindowBuffer;
        withdrawWindow = DAY_SECONDS/2;
        lockStartTime = block.timestamp.add(withdrawWindow);
    }

    function getName() public pure returns(string memory){
        return "mmVaultV2";
    }

    function balance() public view returns (uint256) {
        return token.balanceOf(address(this)).add(IController(controller).balanceOf(address(token)));
    }

    function setMin(uint256 _min) external onlyGovernance{
        min = _min;
    }

    function setGovernance(address _governance) public onlyGovernance{
        governance = _governance;
    }

    function setTimelock(address _timelock) public {
        require(msg.sender == timelock, "!timelock");
        timelock = _timelock;
    }

    function setController(address _controller) public {
        require(msg.sender == timelock, "!timelock");
        controller = _controller;
    }

    function setLoanFee(uint256 _loanFee) public onlyGovernance{
        loanFee = _loanFee;
    }

    function setLoanEnabled(bool _loanEnabled) public onlyGovernance{
        loanEnabled = _loanEnabled;
    }

    function addKeeper(address _keeper) public onlyGovernance{
        keepers[_keeper] = true;
    }

    function removeKeeper(address _keeper) public onlyGovernance{
        keepers[_keeper] = false;
    }

    function addReentrancyWhitelist(address _whitelist) public onlyGovernance{
        reentrancyWhitelist[_whitelist] = true;
    }

    function removeReentrancyWhitelist(address _whitelist) public onlyGovernance{
        reentrancyWhitelist[_whitelist] = false;
    }

    function setLockWindow(uint256 _lockWindow) public onlyGovernance {
        lockWindow = _lockWindow.add(lockWindowBuffer);
    }

    function setWithdrawWindow(uint256 _withdrawWindow) public onlyGovernance {
        withdrawWindow = _withdrawWindow;
    }

    function setLockEnabled(bool _enabled) public onlyGovernance {
        lockEnabled = _enabled;
    }

    function setEarnOnceEnabled(bool _earnOnce) public onlyGovernance {
        earnOnceEnabled = _earnOnce;
    }

    function resetLockStartTime(uint256 _lockStartTime) public onlyGovernance{
        require(lockEnabled, "!lockEnabled");

        uint256 withdrawEndTime = getLockCycleEndTime();
        require(block.timestamp >= withdrawEndTime, "Last lock cycle not end");
        require(_lockStartTime > block.timestamp, "!_lockStartTime");
        lockStartTime = _lockStartTime;
    }

    function getLockCycleEndTime() public view returns (uint256){
        return lockStartTime.add(lockWindow).add(withdrawWindow);
    }

    function withdrawableWithoutLock(uint256 _shares) public view returns(bool){
        uint256 _withdrawAmount = (balance().mul(_shares)).div(totalSupply());
        return _withdrawAmount <= token.balanceOf(address(this));
    }

    // Custom logic in here for how much the vaults allows to be borrowed
    // Sets minimum required on-hand to keep small withdrawals cheap
    function available() public view returns (uint256) {
        return token.balanceOf(address(this)).mul(min).div(max);
    }

    function earn() public nonReentrant onlyKeepers canEarn {
        uint256 _bal = available();
        token.safeTransfer(controller, _bal);
        IController(controller).earn(address(token), _bal);
    }

    function depositAll() external {
        deposit(token.balanceOf(msg.sender));
    }

    function deposit(uint256 _approveAmount, uint256 _amount, uint256 _deadline, uint8 v, bytes32 r, bytes32 s) public {
        require(_approveAmount >= _amount, "!_approveAmount");
        IERC2612(address(token)).permit(msg.sender, address(this), _approveAmount, _deadline, v, r, s);
        deposit(_amount);
    }

    function deposit(uint256 _amount) public nonReentrant {
        uint256 _pool = balance();
        uint256 _before = token.balanceOf(address(this));
        token.safeTransferFrom(msg.sender, address(this), _amount);
        uint256 _after = token.balanceOf(address(this));
        _amount = _after.sub(_before); // Additional check for deflationary tokens
        uint256 shares = 0;
        if (totalSupply() == 0) {
            shares = _amount;
        } else {
            shares = (_amount.mul(totalSupply())).div(_pool);
        }
        _mint(msg.sender, shares);
    }

    function withdrawAll() external {
        withdraw(balanceOf(msg.sender));
    }

    // Used to swap any borrowed reserve over the debt limit to liquidate to 'token'
    function harvest(address reserve, uint256 amount)  external nonReentrant {
        require(msg.sender == controller, "!controller");
        require(reserve != address(token), "token");
        IERC20(reserve).safeTransfer(controller, amount);
    }

    // No rebalance implementation for lower fees and faster swaps
    function withdraw(uint256 _shares) public nonReentrant canWithdraw(_shares) {
        uint256 r = (balance().mul(_shares)).div(totalSupply());
        _burn(msg.sender, _shares);

        // Check balance
        uint256 b = token.balanceOf(address(this));
        if (b < r) {
            uint256 _withdraw = r.sub(b);
            IController(controller).withdraw(address(token), _withdraw);
            uint256 _after = token.balanceOf(address(this));
            uint256 _diff = _after.sub(b);
            if (_diff < _withdraw) {
                r = b.add(_diff);
            }
        }

        token.safeTransfer(msg.sender, r);
    }

    function getRatio() public view returns (uint256) {
        return balance().mul(1e18).div(totalSupply());
    }

    function flashLoan(address _receiver, uint256 _amount, bytes memory _data) public nonReentrantWithWhitelist discountCHI{
        require(loanEnabled == true, "!loanEnabled");
        require(_amount > 0, "amount too small!");
        uint256 beforeBalance = token.balanceOf(address(this));
        require(beforeBalance > _amount, "balance not enough!");

        //loanFee
        uint256 _fee = _amount.mul(loanFee).div(loanFeeMax);

        require(_fee > 0, "fee too small");

        //transfer token to _receiver
        token.safeTransfer(_receiver, _amount);

        //execute user's logic
        IFlashLoanReceiver(_receiver).mushroomsFlashloan(address(token), _amount, _fee, _data);

        uint256 afterBalance = token.balanceOf(address(this));

        require(afterBalance == beforeBalance.add(_fee), "payback amount incorrect!");

        emit FlashLoan(address(token), _receiver, _amount, _fee);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_governance","type":"address"},{"internalType":"address","name":"_timelock","type":"address"},{"internalType":"address","name":"_controller","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"address","name":"_receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_loanFee","type":"uint256"}],"name":"FlashLoan","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DAY_SECONDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_keeper","type":"address"}],"name":"addKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_whitelist","type":"address"}],"name":"addReentrancyWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chi","outputs":[{"internalType":"contract IChiToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_approveAmount","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earnOnceEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earnedTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"flashLoan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getLockCycleEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"reserve","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"keepers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"loanEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"loanFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"loanFeeMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockWindow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockWindowBuffer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reentrancyWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_keeper","type":"address"}],"name":"removeKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_whitelist","type":"address"}],"name":"removeReentrancyWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lockStartTime","type":"uint256"}],"name":"resetLockStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_earnOnce","type":"bool"}],"name":"setEarnOnceEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_loanEnabled","type":"bool"}],"name":"setLoanEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_loanFee","type":"uint256"}],"name":"setLoanFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setLockEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lockWindow","type":"uint256"}],"name":"setLockWindow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_min","type":"uint256"}],"name":"setMin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_timelock","type":"address"}],"name":"setTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawWindow","type":"uint256"}],"name":"setWithdrawWindow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelock","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawWindow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdrawableWithoutLock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60c06040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c960805261251c6009556001600a819055612710600b55600c805460ff19169091179055620151806011556154606012556017805461ffff191690553480156200006d57600080fd5b5060405162003c2738038062003c27833981810160405260808110156200009357600080fd5b508051602082015160408084015160609094015181516306fdde0360e01b815291519394929390916001600160a01b038616916306fdde0391600480820192600092909190829003018186803b158015620000ed57600080fd5b505afa15801562000102573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156200012c57600080fd5b81019080805160405193929190846401000000008211156200014d57600080fd5b9083019060208201858111156200016357600080fd5b82516401000000008111828201881017156200017e57600080fd5b82525081516020918201929091019080838360005b83811015620001ad57818101518382015260200162000193565b50505050905090810190601f168015620001db5780820380516001836020036101000a031916815260200191505b5060405250505060405160200180806b036bab9b43937b7b6b4b733960a51b815250600c0182805190602001908083835b602083106200022d5780518252601f1990920191602091820191016200020c565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052846001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156200029b57600080fd5b505afa158015620002b0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015620002da57600080fd5b8101908080516040519392919084640100000000821115620002fb57600080fd5b9083019060208201858111156200031157600080fd5b82516401000000008111828201881017156200032c57600080fd5b82525081516020918201929091019080838360005b838110156200035b57818101518382015260200162000341565b50505050905090810190601f168015620003895780820380516001836020036101000a031916815260200191505b506040525050506040516020018080606d60f81b81525060010182805190602001908083835b60208310620003d05780518252601f199092019160209182019101620003af565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052818160016000819055508160049080519060200190620004269291906200066c565b5080516200043c9060059060208401906200066c565b50506006805460ff191660121790555050805160209182012060408051808201825260018152603160f81b9084015280517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81850152808201929092527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a08084019190915281518084038201815260c0840180845281519186019190912090915263313ce56760e01b9052516200055c926001600160a01b0388169263313ce5679260c48083019392829003018186803b1580156200052857600080fd5b505afa1580156200053d573d6000803e3d6000fd5b505050506040513d60208110156200055457600080fd5b5051620005f4565b600880546001600160a01b03199081166001600160a01b0387811691909117909255600c8054610100600160a81b03191661010087851602179055600d80548216858416179055600e80549091169183169190911781556012546011549182020160145560029004601581905550620005e6601554426200060a60201b620029771790919060201c565b601355506200070892505050565b6006805460ff191660ff92909216919091179055565b60008282018381101562000665576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620006af57805160ff1916838001178555620006df565b82800160010185558215620006df579182015b82811115620006df578251825591602001919060010190620006c2565b50620006ed929150620006f1565b5090565b5b80821115620006ed5760008155600101620006f2565b60805160a0516134f162000736600039806111ef5280611f5a5250806111325280611eed52506134f16000f3fe608060405234801561001057600080fd5b50600436106103d05760003560e01c806392eefe9b116101ff578063cd98f7f01161011a578063e0232b42116100ad578063f1941abe1161007c578063f1941abe14610ae0578063f77c479114610afd578063f889794514610b05578063fc0c546a14610b0d576103d0565b8063e0232b42146109f8578063ec1ebd7a14610ab3578063edcb208b14610abb578063f15bd9d514610ad8576103d0565b8063d9207fd9116100e9578063d9207fd91461095e578063db55118714610984578063dd62ed3e146109c2578063de5f6268146109f0576103d0565b8063cd98f7f0146108f5578063d33219b4146108fd578063d389800f14610905578063d505accf1461090d576103d0565b8063b69ef8a811610192578063bdacb30311610161578063bdacb303146108b7578063c5e68f5b146108dd578063c92aecc4146108e5578063cb028a83146108ed576103d0565b8063b69ef8a81461084d578063b6b55f2514610855578063bb10cbb514610872578063bc0ee69014610891576103d0565b8063a457c2d7116101ce578063a457c2d7146107c7578063a9059cbb146107f3578063ab033ea91461081f578063b32f2ea314610845576103d0565b806392eefe9b1461077457806395d89b411461079a5780639bc1d87c146107a25780639bcb5572146107bf576103d0565b80633644e515116102ef57806362c7fa761161028257806370a082311161025157806370a08231146107185780637ecebe001461073e57806384f3131314610764578063853828b61461076c576103d0565b806362c7fa76146106cc578063658f99b6146106d45780636aa4439f146106f15780636ac5db1914610710576103d0565b806345dc3dd8116102be57806345dc3dd81461067b57806348a0d7541461069857806358e6d53c146106a05780635aa6e675146106a8576103d0565b80633644e515146105fb57806339509351146106035780633bbd64bc1461062f5780634032b72b14610655576103d0565b8063287a0f77116103675780633166b848116103365780633166b848146105a6578063316c71ed146105ae5780633376f53a146105d4578063337e5024146105dc576103d0565b8063287a0f771461055b5780632e1a7d4d1461056357806330adf81f14610580578063313ce56714610588576103d0565b806314ae9f2e116103a357806314ae9f2e146104dd57806317d7de7c1461050357806318160ddd1461050b57806323b872dd14610525576103d0565b8063018ee9b7146103d557806302950d311461040357806306fdde0314610420578063095ea7b31461049d575b600080fd5b610401600480360360408110156103eb57600080fd5b506001600160a01b038135169060200135610b15565b005b6104016004803603602081101561041957600080fd5b5035610c1b565b610428610c81565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561046257818101518382015260200161044a565b50505050905090810190601f16801561048f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104c9600480360360408110156104b357600080fd5b506001600160a01b038135169060200135610d17565b604080519115158252519081900360200190f35b610401600480360360208110156104f357600080fd5b50356001600160a01b0316610d35565b610428610da8565b610513610dcb565b60408051918252519081900360200190f35b6104c96004803603606081101561053b57600080fd5b506001600160a01b03813581169160208101359091169060400135610dd1565b610513610e58565b6104016004803603602081101561057957600080fd5b5035610e5e565b610513611130565b610590611154565b6040805160ff9092168252519081900360200190f35b6104c961115d565b6104c9600480360360208110156105c457600080fd5b50356001600160a01b0316611166565b61051361117b565b610401600480360360208110156105f257600080fd5b50351515611181565b6105136111ed565b6104c96004803603604081101561061957600080fd5b506001600160a01b038135169060200135611211565b6104c96004803603602081101561064557600080fd5b50356001600160a01b031661125f565b6104016004803603602081101561066b57600080fd5b50356001600160a01b0316611274565b6104016004803603602081101561069157600080fd5b50356112ea565b610513611341565b6105136113d5565b6106b06113db565b604080516001600160a01b039092168252519081900360200190f35b6105136113ef565b610401600480360360208110156106ea57600080fd5b50356113f5565b6104016004803603602081101561070757600080fd5b5035151561144c565b6105136114b1565b6105136004803603602081101561072e57600080fd5b50356001600160a01b03166114b7565b6105136004803603602081101561075457600080fd5b50356001600160a01b03166114d2565b6104c96114e4565b6104016114ed565b6104016004803603602081101561078a57600080fd5b50356001600160a01b0316611500565b61042861156d565b610401600480360360208110156107b857600080fd5b50356115ce565b610513611713565b6104c9600480360360408110156107dd57600080fd5b506001600160a01b038135169060200135611719565b6104c96004803603604081101561080957600080fd5b506001600160a01b038135169060200135611781565b6104016004803603602081101561083557600080fd5b50356001600160a01b0316611795565b61051361180f565b610513611815565b6104016004803603602081101561086b57600080fd5b5035611912565b6104016004803603602081101561088857600080fd5b50351515611ac8565b610401600480360360208110156108a757600080fd5b50356001600160a01b0316611b2d565b610401600480360360208110156108cd57600080fd5b50356001600160a01b0316611ba0565b610513611c0d565b6106b0611c32565b610513611c44565b610513611c4a565b6106b0611c50565b610401611c5f565b610401600480360360e081101561092357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611e6e565b6104016004803603602081101561097457600080fd5b50356001600160a01b031661209c565b610401600480360360c081101561099a57600080fd5b5080359060208101359060408101359060ff6060820135169060808101359060a00135612112565b610513600480360360408110156109d857600080fd5b506001600160a01b03813581169160200135166121f9565b610401612224565b61040160048036036060811015610a0e57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135640100000000811115610a3e57600080fd5b820183602082011115610a5057600080fd5b80359060200191846001830284011164010000000083111715610a7257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506122a1945050505050565b61051361283d565b61040160048036036020811015610ad157600080fd5b503561285e565b6104c96128b5565b6104c960048036036020811015610af657600080fd5b50356128c3565b6106b0612953565b610513612962565b6106b0612968565b60026000541415610b5b576040805162461bcd60e51b815260206004820152601f6024820152600080516020613330833981519152604482015290519081900360640190fd5b6002600055600e546001600160a01b03163314610bad576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b6008546001600160a01b0383811691161415610bf8576040805162461bcd60e51b81526020600482015260056024820152643a37b5b2b760d91b604482015290519081900360640190fd5b600e54610c12906001600160a01b038481169116836129d8565b50506001600055565b600c5461010090046001600160a01b03163314610c6d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b601254610c7b908290612977565b60145550565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d0d5780601f10610ce257610100808354040283529160200191610d0d565b820191906000526020600020905b815481529060010190602001808311610cf057829003601f168201915b5050505050905090565b6000610d2b610d24612a2a565b8484612a2e565b5060015b92915050565b600c5461010090046001600160a01b03163314610d87576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600f60205260409020805460ff19169055565b60408051808201909152600981526836b6ab30bab63a2b1960b91b602082015290565b60035490565b6000610dde848484612b1a565b610e4e84610dea612a2a565b610e49856040518060600160405280602881526020016133db602891396001600160a01b038a16600090815260026020526040812090610e28612a2a565b6001600160a01b031681526020810191909152604001600020549190612c77565b612a2e565b5060019392505050565b600b5481565b60026000541415610ea4576040805162461bcd60e51b815260206004820152601f6024820152600080516020613330833981519152604482015290519081900360640190fd5b6002600055601754819060ff1615610f3c57610ebf816128c3565b610f3c576000610edc60145460135461297790919063ffffffff16565b90508042118015610ef95750601554610ef6908290612977565b42105b610f3a576040805162461bcd60e51b815260206004820152600d60248201526c21776974686472617754696d6560981b604482015290519081900360640190fd5b505b6000610f61610f49610dcb565b610f5b85610f55611815565b90612d0e565b90612d67565b9050610f6d3384612da9565b600854604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610fb857600080fd5b505afa158015610fcc573d6000803e3d6000fd5b505050506040513d6020811015610fe257600080fd5b505190508181101561110e576000610ffa8383612ea5565b600e546008546040805163f3fef3a360e01b81526001600160a01b03928316600482015260248101859052905193945091169163f3fef3a39160448082019260009290919082900301818387803b15801561105457600080fd5b505af1158015611068573d6000803e3d6000fd5b5050600854604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b1580156110b957600080fd5b505afa1580156110cd573d6000803e3d6000fd5b505050506040513d60208110156110e357600080fd5b5051905060006110f38285612ea5565b90508281101561110a576111078482612977565b94505b5050505b600854611125906001600160a01b031633846129d8565b505060016000555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60065460ff1690565b60175460ff1681565b60106020526000908152604090205460ff1681565b60145481565b600c5461010090046001600160a01b031633146111d3576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b601780549115156101000261ff0019909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610d2b61121e612a2a565b84610e49856002600061122f612a2a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612977565b600f6020526000908152604090205460ff1681565b600c5461010090046001600160a01b031633146112c6576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600f60205260409020805460ff19166001179055565b600c5461010090046001600160a01b0316331461133c576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600955565b600954600854604080516370a0823160e01b815230600482015290516000936113d09361271093610f5b936001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561139e57600080fd5b505afa1580156113b2573d6000803e3d6000fd5b505050506040513d60208110156113c857600080fd5b505190612d0e565b905090565b60115481565b600c5461010090046001600160a01b031681565b60135481565b600c5461010090046001600160a01b03163314611447576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600a55565b600c5461010090046001600160a01b0316331461149e576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6017805460ff1916911515919091179055565b61271081565b6001600160a01b031660009081526001602052604090205490565b60076020526000908152604090205481565b600c5460ff1681565b6114fe6114f9336114b7565b610e5e565b565b600d546001600160a01b0316331461154b576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d0d5780601f10610ce257610100808354040283529160200191610d0d565b600c5461010090046001600160a01b03163314611620576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b60175460ff16611666576040805162461bcd60e51b815260206004820152600c60248201526b085b1bd8dad15b98589b195960a21b604482015290519081900360640190fd5b6000611670611c0d565b9050804210156116c7576040805162461bcd60e51b815260206004820152601760248201527f4c617374206c6f636b206379636c65206e6f7420656e64000000000000000000604482015290519081900360640190fd5b42821161170d576040805162461bcd60e51b815260206004820152600f60248201526e215f6c6f636b537461727454696d6560881b604482015290519081900360640190fd5b50601355565b600a5481565b6000610d2b611726612a2a565b84610e49856040518060600160405280602581526020016134976025913960026000611750612a2a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612c77565b6000610d2b61178e612a2a565b8484612b1a565b600c5461010090046001600160a01b031633146117e7576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600c80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60125481565b600e54600854604080516370a0823160e01b81526001600160a01b03928316600482015290516000936113d09316916370a08231916024808301926020929190829003018186803b15801561186957600080fd5b505afa15801561187d573d6000803e3d6000fd5b505050506040513d602081101561189357600080fd5b5051600854604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156118e057600080fd5b505afa1580156118f4573d6000803e3d6000fd5b505050506040513d602081101561190a57600080fd5b505190612977565b60026000541415611958576040805162461bcd60e51b815260206004820152601f6024820152600080516020613330833981519152604482015290519081900360640190fd5b60026000908155611967611815565b600854604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156119b857600080fd5b505afa1580156119cc573d6000803e3d6000fd5b505050506040513d60208110156119e257600080fd5b50516008549091506119ff906001600160a01b0316333086612ee7565b600854604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611a4a57600080fd5b505afa158015611a5e573d6000803e3d6000fd5b505050506040513d6020811015611a7457600080fd5b50519050611a828183612ea5565b93506000611a8e610dcb565b611a99575083611ab2565b611aaf84610f5b611aa8610dcb565b8890612d0e565b90505b611abc3382612f47565b50506001600055505050565b600c5461010090046001600160a01b03163314611b1a576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600c805460ff1916911515919091179055565b600c5461010090046001600160a01b03163314611b7f576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152601060205260409020805460ff19169055565b600d546001600160a01b03163314611beb576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006113d0601554611c2c60145460135461297790919063ffffffff16565b90612977565b6d4946c0e9f43f4dee607b0ef1fa1c81565b60155481565b60165481565b600d546001600160a01b031681565b60026000541415611ca5576040805162461bcd60e51b815260206004820152601f6024820152600080516020613330833981519152604482015290519081900360640190fd5b60026000908155338152600f602052604090205460ff1680611cd65750600c5461010090046001600160a01b031633145b611d12576040805162461bcd60e51b8152602060048201526008602482015267216b65657065727360c01b604482015290519081900360640190fd5b60175460ff1615611dd8576013544211611d5f576040805162461bcd60e51b8152602060048201526009602482015268216561726e54696d6560b81b604482015290519081900360640190fd5b601754610100900460ff1615611dd857601454601654611d80904290612ea5565b11611dbf576040805162461bcd60e51b815260206004820152600a602482015269216561726e547769636560b01b604482015290519081900360640190fd5b60165415611dd357611dcf611c0d565b6013555b426016555b6000611de2611341565b600e54600854919250611e02916001600160a01b039081169116836129d8565b600e546008546040805163b02bf4b960e01b81526001600160a01b039283166004820152602481018590529051919092169163b02bf4b991604480830192600092919082900301818387803b158015611e5a57600080fd5b505af1158015611abc573d6000803e3d6000fd5b42841015611ec3576040805162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015290519081900360640190fd5b6001600160a01b0380881660008181526007602090815260408083208054600180820190925582517f00000000000000000000000000000000000000000000000000000000000000008186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e08501825280519083012061190160f01b6101008601527f000000000000000000000000000000000000000000000000000000000000000061010286015261012280860182905282518087039091018152610142860180845281519185019190912090859052610162860180845281905260ff8a166101828701526101a286018990526101c2860188905291519095919491926101e2808401939192601f1981019281900390910190855afa158015611ffe573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906120345750896001600160a01b0316816001600160a01b0316145b612085576040805162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015290519081900360640190fd5b6120908a8a8a612a2e565b50505050505050505050565b600c5461010090046001600160a01b031633146120ee576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152601060205260409020805460ff19166001179055565b84861015612159576040805162461bcd60e51b815260206004820152600f60248201526e0857d85c1c1c9bdd99505b5bdd5b9d608a1b604482015290519081900360640190fd5b6008546040805163d505accf60e01b8152336004820152306024820152604481018990526064810187905260ff8616608482015260a4810185905260c4810184905290516001600160a01b039092169163d505accf9160e48082019260009290919082900301818387803b1580156121d057600080fd5b505af11580156121e4573d6000803e3d6000fd5b505050506121f185611912565b505050505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600854604080516370a0823160e01b815233600482015290516114fe926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561227057600080fd5b505afa158015612284573d6000803e3d6000fd5b505050506040513d602081101561229a57600080fd5b5051611912565b3360009081526010602052604090205460ff1661230457600260005414156122fe576040805162461bcd60e51b815260206004820152601f6024820152600080516020613330833981519152604482015290519081900360640190fd5b60026000555b60005a600c5490915060ff161515600114612355576040805162461bcd60e51b815260206004820152600c60248201526b085b1bd85b915b98589b195960a21b604482015290519081900360640190fd5b6000831161239e576040805162461bcd60e51b8152602060048201526011602482015270616d6f756e7420746f6f20736d616c6c2160781b604482015290519081900360640190fd5b600854604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156123e957600080fd5b505afa1580156123fd573d6000803e3d6000fd5b505050506040513d602081101561241357600080fd5b50519050838111612461576040805162461bcd60e51b815260206004820152601360248201527262616c616e6365206e6f7420656e6f7567682160681b604482015290519081900360640190fd5b600061247e600b54610f5b600a5488612d0e90919063ffffffff16565b9050600081116124c5576040805162461bcd60e51b815260206004820152600d60248201526c199959481d1bdbc81cdb585b1b609a1b604482015290519081900360640190fd5b6008546124dc906001600160a01b031687876129d8565b60085460405163cd04f09560e01b81526001600160a01b03918216600482018181526024830189905260448301859052608060648401908152885160848501528851948b169463cd04f095948b9388938c939192909160a490910190602085019080838360005b8381101561255b578181015183820152602001612543565b50505050905090810190601f1680156125885780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156125aa57600080fd5b505af11580156125be573d6000803e3d6000fd5b5050600854604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b15801561260f57600080fd5b505afa158015612623573d6000803e3d6000fd5b505050506040513d602081101561263957600080fd5b505190506126478383612977565b811461269a576040805162461bcd60e51b815260206004820152601960248201527f7061796261636b20616d6f756e7420696e636f72726563742100000000000000604482015290519081900360640190fd5b600854604080516001600160a01b039283168152918916602083015281810188905260608201849052517f0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f09181900360800190a1506000915050601036025a83615208010301905060006d4946c0e9f43f4dee607b0ef1fa1c6001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561275f57600080fd5b505afa158015612773573d6000803e3d6000fd5b505050506040513d602081101561278957600080fd5b50511115612819576040805163079d229f60e01b815233600482015261a3db61374a840104602482015290516d4946c0e9f43f4dee607b0ef1fa1c9163079d229f9160448083019260209291908290030181600087803b1580156127ec57600080fd5b505af1158015612800573d6000803e3d6000fd5b505050506040513d602081101561281657600080fd5b50505b50503360009081526010602052604090205460ff166128385760016000555b505050565b60006113d061284a610dcb565b610f5b670de0b6b3a7640000610f55611815565b600c5461010090046001600160a01b031633146128b0576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b601555565b601754610100900460ff1681565b6000806128d1610f49610dcb565b600854604080516370a0823160e01b815230600482015290519293506001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561291f57600080fd5b505afa158015612933573d6000803e3d6000fd5b505050506040513d602081101561294957600080fd5b5051101592915050565b600e546001600160a01b031681565b60095481565b6008546001600160a01b031681565b6000828201838110156129d1576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612838908490613039565b3390565b6001600160a01b038316612a735760405162461bcd60e51b81526004018080602001828103825260248152602001806134496024913960400191505060405180910390fd5b6001600160a01b038216612ab85760405162461bcd60e51b81526004018080602001828103825260228152602001806133726022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316612b5f5760405162461bcd60e51b81526004018080602001828103825260258152602001806134246025913960400191505060405180910390fd5b6001600160a01b038216612ba45760405162461bcd60e51b815260040180806020018281038252602381526020018061330d6023913960400191505060405180910390fd5b612baf838383612838565b612bec81604051806060016040528060268152602001613394602691396001600160a01b0386166000908152600160205260409020549190612c77565b6001600160a01b038085166000908152600160205260408082209390935590841681522054612c1b9082612977565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115612d065760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612ccb578181015183820152602001612cb3565b50505050905090810190601f168015612cf85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082612d1d57506000610d2f565b82820282848281612d2a57fe5b04146129d15760405162461bcd60e51b81526004018080602001828103825260218152602001806133ba6021913960400191505060405180910390fd5b60006129d183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506130ea565b6001600160a01b038216612dee5760405162461bcd60e51b81526004018080602001828103825260218152602001806134036021913960400191505060405180910390fd5b612dfa82600083612838565b612e3781604051806060016040528060228152602001613350602291396001600160a01b0385166000908152600160205260409020549190612c77565b6001600160a01b038316600090815260016020526040902055600354612e5d9082612ea5565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006129d183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612c77565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612f41908590613039565b50505050565b6001600160a01b038216612fa2576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b612fae60008383612838565b600354612fbb9082612977565b6003556001600160a01b038216600090815260016020526040902054612fe19082612977565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b606061308e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661314f9092919063ffffffff16565b805190915015612838578080602001905160208110156130ad57600080fd5b50516128385760405162461bcd60e51b815260040180806020018281038252602a81526020018061346d602a913960400191505060405180910390fd5b600081836131395760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612ccb578181015183820152602001612cb3565b50600083858161314557fe5b0495945050505050565b606061315e8484600085613166565b949350505050565b6060613171856132d3565b6131c2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106132015780518252601f1990920191602091820191016131e2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613263576040519150601f19603f3d011682016040523d82523d6000602084013e613268565b606091505b5091509150811561327c57915061315e9050565b80511561328c5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612ccb578181015183820152602001612cb3565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061315e57505015159291505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207ee1bad59c249b15f25894032a383f29330409e0bcedffe577a55c9cdb1a650c64736f6c634300060c0033000000000000000000000000bc6da0fe9ad5f3b0d58160288917aa56653660e900000000000000000000000043229759e12efbe3e2a0fb0510b15e516d0464420000000000000000000000005dae9b27313670663b34ac8bffd18825bb9df7360000000000000000000000004bf5059065541a2b176500928e91fbfd0b121d07

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103d05760003560e01c806392eefe9b116101ff578063cd98f7f01161011a578063e0232b42116100ad578063f1941abe1161007c578063f1941abe14610ae0578063f77c479114610afd578063f889794514610b05578063fc0c546a14610b0d576103d0565b8063e0232b42146109f8578063ec1ebd7a14610ab3578063edcb208b14610abb578063f15bd9d514610ad8576103d0565b8063d9207fd9116100e9578063d9207fd91461095e578063db55118714610984578063dd62ed3e146109c2578063de5f6268146109f0576103d0565b8063cd98f7f0146108f5578063d33219b4146108fd578063d389800f14610905578063d505accf1461090d576103d0565b8063b69ef8a811610192578063bdacb30311610161578063bdacb303146108b7578063c5e68f5b146108dd578063c92aecc4146108e5578063cb028a83146108ed576103d0565b8063b69ef8a81461084d578063b6b55f2514610855578063bb10cbb514610872578063bc0ee69014610891576103d0565b8063a457c2d7116101ce578063a457c2d7146107c7578063a9059cbb146107f3578063ab033ea91461081f578063b32f2ea314610845576103d0565b806392eefe9b1461077457806395d89b411461079a5780639bc1d87c146107a25780639bcb5572146107bf576103d0565b80633644e515116102ef57806362c7fa761161028257806370a082311161025157806370a08231146107185780637ecebe001461073e57806384f3131314610764578063853828b61461076c576103d0565b806362c7fa76146106cc578063658f99b6146106d45780636aa4439f146106f15780636ac5db1914610710576103d0565b806345dc3dd8116102be57806345dc3dd81461067b57806348a0d7541461069857806358e6d53c146106a05780635aa6e675146106a8576103d0565b80633644e515146105fb57806339509351146106035780633bbd64bc1461062f5780634032b72b14610655576103d0565b8063287a0f77116103675780633166b848116103365780633166b848146105a6578063316c71ed146105ae5780633376f53a146105d4578063337e5024146105dc576103d0565b8063287a0f771461055b5780632e1a7d4d1461056357806330adf81f14610580578063313ce56714610588576103d0565b806314ae9f2e116103a357806314ae9f2e146104dd57806317d7de7c1461050357806318160ddd1461050b57806323b872dd14610525576103d0565b8063018ee9b7146103d557806302950d311461040357806306fdde0314610420578063095ea7b31461049d575b600080fd5b610401600480360360408110156103eb57600080fd5b506001600160a01b038135169060200135610b15565b005b6104016004803603602081101561041957600080fd5b5035610c1b565b610428610c81565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561046257818101518382015260200161044a565b50505050905090810190601f16801561048f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104c9600480360360408110156104b357600080fd5b506001600160a01b038135169060200135610d17565b604080519115158252519081900360200190f35b610401600480360360208110156104f357600080fd5b50356001600160a01b0316610d35565b610428610da8565b610513610dcb565b60408051918252519081900360200190f35b6104c96004803603606081101561053b57600080fd5b506001600160a01b03813581169160208101359091169060400135610dd1565b610513610e58565b6104016004803603602081101561057957600080fd5b5035610e5e565b610513611130565b610590611154565b6040805160ff9092168252519081900360200190f35b6104c961115d565b6104c9600480360360208110156105c457600080fd5b50356001600160a01b0316611166565b61051361117b565b610401600480360360208110156105f257600080fd5b50351515611181565b6105136111ed565b6104c96004803603604081101561061957600080fd5b506001600160a01b038135169060200135611211565b6104c96004803603602081101561064557600080fd5b50356001600160a01b031661125f565b6104016004803603602081101561066b57600080fd5b50356001600160a01b0316611274565b6104016004803603602081101561069157600080fd5b50356112ea565b610513611341565b6105136113d5565b6106b06113db565b604080516001600160a01b039092168252519081900360200190f35b6105136113ef565b610401600480360360208110156106ea57600080fd5b50356113f5565b6104016004803603602081101561070757600080fd5b5035151561144c565b6105136114b1565b6105136004803603602081101561072e57600080fd5b50356001600160a01b03166114b7565b6105136004803603602081101561075457600080fd5b50356001600160a01b03166114d2565b6104c96114e4565b6104016114ed565b6104016004803603602081101561078a57600080fd5b50356001600160a01b0316611500565b61042861156d565b610401600480360360208110156107b857600080fd5b50356115ce565b610513611713565b6104c9600480360360408110156107dd57600080fd5b506001600160a01b038135169060200135611719565b6104c96004803603604081101561080957600080fd5b506001600160a01b038135169060200135611781565b6104016004803603602081101561083557600080fd5b50356001600160a01b0316611795565b61051361180f565b610513611815565b6104016004803603602081101561086b57600080fd5b5035611912565b6104016004803603602081101561088857600080fd5b50351515611ac8565b610401600480360360208110156108a757600080fd5b50356001600160a01b0316611b2d565b610401600480360360208110156108cd57600080fd5b50356001600160a01b0316611ba0565b610513611c0d565b6106b0611c32565b610513611c44565b610513611c4a565b6106b0611c50565b610401611c5f565b610401600480360360e081101561092357600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611e6e565b6104016004803603602081101561097457600080fd5b50356001600160a01b031661209c565b610401600480360360c081101561099a57600080fd5b5080359060208101359060408101359060ff6060820135169060808101359060a00135612112565b610513600480360360408110156109d857600080fd5b506001600160a01b03813581169160200135166121f9565b610401612224565b61040160048036036060811015610a0e57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135640100000000811115610a3e57600080fd5b820183602082011115610a5057600080fd5b80359060200191846001830284011164010000000083111715610a7257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506122a1945050505050565b61051361283d565b61040160048036036020811015610ad157600080fd5b503561285e565b6104c96128b5565b6104c960048036036020811015610af657600080fd5b50356128c3565b6106b0612953565b610513612962565b6106b0612968565b60026000541415610b5b576040805162461bcd60e51b815260206004820152601f6024820152600080516020613330833981519152604482015290519081900360640190fd5b6002600055600e546001600160a01b03163314610bad576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b6008546001600160a01b0383811691161415610bf8576040805162461bcd60e51b81526020600482015260056024820152643a37b5b2b760d91b604482015290519081900360640190fd5b600e54610c12906001600160a01b038481169116836129d8565b50506001600055565b600c5461010090046001600160a01b03163314610c6d576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b601254610c7b908290612977565b60145550565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d0d5780601f10610ce257610100808354040283529160200191610d0d565b820191906000526020600020905b815481529060010190602001808311610cf057829003601f168201915b5050505050905090565b6000610d2b610d24612a2a565b8484612a2e565b5060015b92915050565b600c5461010090046001600160a01b03163314610d87576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600f60205260409020805460ff19169055565b60408051808201909152600981526836b6ab30bab63a2b1960b91b602082015290565b60035490565b6000610dde848484612b1a565b610e4e84610dea612a2a565b610e49856040518060600160405280602881526020016133db602891396001600160a01b038a16600090815260026020526040812090610e28612a2a565b6001600160a01b031681526020810191909152604001600020549190612c77565b612a2e565b5060019392505050565b600b5481565b60026000541415610ea4576040805162461bcd60e51b815260206004820152601f6024820152600080516020613330833981519152604482015290519081900360640190fd5b6002600055601754819060ff1615610f3c57610ebf816128c3565b610f3c576000610edc60145460135461297790919063ffffffff16565b90508042118015610ef95750601554610ef6908290612977565b42105b610f3a576040805162461bcd60e51b815260206004820152600d60248201526c21776974686472617754696d6560981b604482015290519081900360640190fd5b505b6000610f61610f49610dcb565b610f5b85610f55611815565b90612d0e565b90612d67565b9050610f6d3384612da9565b600854604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610fb857600080fd5b505afa158015610fcc573d6000803e3d6000fd5b505050506040513d6020811015610fe257600080fd5b505190508181101561110e576000610ffa8383612ea5565b600e546008546040805163f3fef3a360e01b81526001600160a01b03928316600482015260248101859052905193945091169163f3fef3a39160448082019260009290919082900301818387803b15801561105457600080fd5b505af1158015611068573d6000803e3d6000fd5b5050600854604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b1580156110b957600080fd5b505afa1580156110cd573d6000803e3d6000fd5b505050506040513d60208110156110e357600080fd5b5051905060006110f38285612ea5565b90508281101561110a576111078482612977565b94505b5050505b600854611125906001600160a01b031633846129d8565b505060016000555050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60065460ff1690565b60175460ff1681565b60106020526000908152604090205460ff1681565b60145481565b600c5461010090046001600160a01b031633146111d3576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b601780549115156101000261ff0019909216919091179055565b7f5741d1f39f516be389a2b17118975dfae34afaaaf5e31ec1e5031c3330a3e3db81565b6000610d2b61121e612a2a565b84610e49856002600061122f612a2a565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490612977565b600f6020526000908152604090205460ff1681565b600c5461010090046001600160a01b031633146112c6576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152600f60205260409020805460ff19166001179055565b600c5461010090046001600160a01b0316331461133c576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600955565b600954600854604080516370a0823160e01b815230600482015290516000936113d09361271093610f5b936001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561139e57600080fd5b505afa1580156113b2573d6000803e3d6000fd5b505050506040513d60208110156113c857600080fd5b505190612d0e565b905090565b60115481565b600c5461010090046001600160a01b031681565b60135481565b600c5461010090046001600160a01b03163314611447576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600a55565b600c5461010090046001600160a01b0316331461149e576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6017805460ff1916911515919091179055565b61271081565b6001600160a01b031660009081526001602052604090205490565b60076020526000908152604090205481565b600c5460ff1681565b6114fe6114f9336114b7565b610e5e565b565b600d546001600160a01b0316331461154b576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d0d5780601f10610ce257610100808354040283529160200191610d0d565b600c5461010090046001600160a01b03163314611620576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b60175460ff16611666576040805162461bcd60e51b815260206004820152600c60248201526b085b1bd8dad15b98589b195960a21b604482015290519081900360640190fd5b6000611670611c0d565b9050804210156116c7576040805162461bcd60e51b815260206004820152601760248201527f4c617374206c6f636b206379636c65206e6f7420656e64000000000000000000604482015290519081900360640190fd5b42821161170d576040805162461bcd60e51b815260206004820152600f60248201526e215f6c6f636b537461727454696d6560881b604482015290519081900360640190fd5b50601355565b600a5481565b6000610d2b611726612a2a565b84610e49856040518060600160405280602581526020016134976025913960026000611750612a2a565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612c77565b6000610d2b61178e612a2a565b8484612b1a565b600c5461010090046001600160a01b031633146117e7576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600c80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60125481565b600e54600854604080516370a0823160e01b81526001600160a01b03928316600482015290516000936113d09316916370a08231916024808301926020929190829003018186803b15801561186957600080fd5b505afa15801561187d573d6000803e3d6000fd5b505050506040513d602081101561189357600080fd5b5051600854604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156118e057600080fd5b505afa1580156118f4573d6000803e3d6000fd5b505050506040513d602081101561190a57600080fd5b505190612977565b60026000541415611958576040805162461bcd60e51b815260206004820152601f6024820152600080516020613330833981519152604482015290519081900360640190fd5b60026000908155611967611815565b600854604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156119b857600080fd5b505afa1580156119cc573d6000803e3d6000fd5b505050506040513d60208110156119e257600080fd5b50516008549091506119ff906001600160a01b0316333086612ee7565b600854604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611a4a57600080fd5b505afa158015611a5e573d6000803e3d6000fd5b505050506040513d6020811015611a7457600080fd5b50519050611a828183612ea5565b93506000611a8e610dcb565b611a99575083611ab2565b611aaf84610f5b611aa8610dcb565b8890612d0e565b90505b611abc3382612f47565b50506001600055505050565b600c5461010090046001600160a01b03163314611b1a576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600c805460ff1916911515919091179055565b600c5461010090046001600160a01b03163314611b7f576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152601060205260409020805460ff19169055565b600d546001600160a01b03163314611beb576040805162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015290519081900360640190fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006113d0601554611c2c60145460135461297790919063ffffffff16565b90612977565b6d4946c0e9f43f4dee607b0ef1fa1c81565b60155481565b60165481565b600d546001600160a01b031681565b60026000541415611ca5576040805162461bcd60e51b815260206004820152601f6024820152600080516020613330833981519152604482015290519081900360640190fd5b60026000908155338152600f602052604090205460ff1680611cd65750600c5461010090046001600160a01b031633145b611d12576040805162461bcd60e51b8152602060048201526008602482015267216b65657065727360c01b604482015290519081900360640190fd5b60175460ff1615611dd8576013544211611d5f576040805162461bcd60e51b8152602060048201526009602482015268216561726e54696d6560b81b604482015290519081900360640190fd5b601754610100900460ff1615611dd857601454601654611d80904290612ea5565b11611dbf576040805162461bcd60e51b815260206004820152600a602482015269216561726e547769636560b01b604482015290519081900360640190fd5b60165415611dd357611dcf611c0d565b6013555b426016555b6000611de2611341565b600e54600854919250611e02916001600160a01b039081169116836129d8565b600e546008546040805163b02bf4b960e01b81526001600160a01b039283166004820152602481018590529051919092169163b02bf4b991604480830192600092919082900301818387803b158015611e5a57600080fd5b505af1158015611abc573d6000803e3d6000fd5b42841015611ec3576040805162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e65000000604482015290519081900360640190fd5b6001600160a01b0380881660008181526007602090815260408083208054600180820190925582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98186015280840196909652958c166060860152608085018b905260a085019590955260c08085018a90528151808603909101815260e08501825280519083012061190160f01b6101008601527f5741d1f39f516be389a2b17118975dfae34afaaaf5e31ec1e5031c3330a3e3db61010286015261012280860182905282518087039091018152610142860180845281519185019190912090859052610162860180845281905260ff8a166101828701526101a286018990526101c2860188905291519095919491926101e2808401939192601f1981019281900390910190855afa158015611ffe573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906120345750896001600160a01b0316816001600160a01b0316145b612085576040805162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604482015290519081900360640190fd5b6120908a8a8a612a2e565b50505050505050505050565b600c5461010090046001600160a01b031633146120ee576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6001600160a01b03166000908152601060205260409020805460ff19166001179055565b84861015612159576040805162461bcd60e51b815260206004820152600f60248201526e0857d85c1c1c9bdd99505b5bdd5b9d608a1b604482015290519081900360640190fd5b6008546040805163d505accf60e01b8152336004820152306024820152604481018990526064810187905260ff8616608482015260a4810185905260c4810184905290516001600160a01b039092169163d505accf9160e48082019260009290919082900301818387803b1580156121d057600080fd5b505af11580156121e4573d6000803e3d6000fd5b505050506121f185611912565b505050505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600854604080516370a0823160e01b815233600482015290516114fe926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561227057600080fd5b505afa158015612284573d6000803e3d6000fd5b505050506040513d602081101561229a57600080fd5b5051611912565b3360009081526010602052604090205460ff1661230457600260005414156122fe576040805162461bcd60e51b815260206004820152601f6024820152600080516020613330833981519152604482015290519081900360640190fd5b60026000555b60005a600c5490915060ff161515600114612355576040805162461bcd60e51b815260206004820152600c60248201526b085b1bd85b915b98589b195960a21b604482015290519081900360640190fd5b6000831161239e576040805162461bcd60e51b8152602060048201526011602482015270616d6f756e7420746f6f20736d616c6c2160781b604482015290519081900360640190fd5b600854604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156123e957600080fd5b505afa1580156123fd573d6000803e3d6000fd5b505050506040513d602081101561241357600080fd5b50519050838111612461576040805162461bcd60e51b815260206004820152601360248201527262616c616e6365206e6f7420656e6f7567682160681b604482015290519081900360640190fd5b600061247e600b54610f5b600a5488612d0e90919063ffffffff16565b9050600081116124c5576040805162461bcd60e51b815260206004820152600d60248201526c199959481d1bdbc81cdb585b1b609a1b604482015290519081900360640190fd5b6008546124dc906001600160a01b031687876129d8565b60085460405163cd04f09560e01b81526001600160a01b03918216600482018181526024830189905260448301859052608060648401908152885160848501528851948b169463cd04f095948b9388938c939192909160a490910190602085019080838360005b8381101561255b578181015183820152602001612543565b50505050905090810190601f1680156125885780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156125aa57600080fd5b505af11580156125be573d6000803e3d6000fd5b5050600854604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b15801561260f57600080fd5b505afa158015612623573d6000803e3d6000fd5b505050506040513d602081101561263957600080fd5b505190506126478383612977565b811461269a576040805162461bcd60e51b815260206004820152601960248201527f7061796261636b20616d6f756e7420696e636f72726563742100000000000000604482015290519081900360640190fd5b600854604080516001600160a01b039283168152918916602083015281810188905260608201849052517f0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f09181900360800190a1506000915050601036025a83615208010301905060006d4946c0e9f43f4dee607b0ef1fa1c6001600160a01b03166370a08231336040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561275f57600080fd5b505afa158015612773573d6000803e3d6000fd5b505050506040513d602081101561278957600080fd5b50511115612819576040805163079d229f60e01b815233600482015261a3db61374a840104602482015290516d4946c0e9f43f4dee607b0ef1fa1c9163079d229f9160448083019260209291908290030181600087803b1580156127ec57600080fd5b505af1158015612800573d6000803e3d6000fd5b505050506040513d602081101561281657600080fd5b50505b50503360009081526010602052604090205460ff166128385760016000555b505050565b60006113d061284a610dcb565b610f5b670de0b6b3a7640000610f55611815565b600c5461010090046001600160a01b031633146128b0576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b601555565b601754610100900460ff1681565b6000806128d1610f49610dcb565b600854604080516370a0823160e01b815230600482015290519293506001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801561291f57600080fd5b505afa158015612933573d6000803e3d6000fd5b505050506040513d602081101561294957600080fd5b5051101592915050565b600e546001600160a01b031681565b60095481565b6008546001600160a01b031681565b6000828201838110156129d1576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612838908490613039565b3390565b6001600160a01b038316612a735760405162461bcd60e51b81526004018080602001828103825260248152602001806134496024913960400191505060405180910390fd5b6001600160a01b038216612ab85760405162461bcd60e51b81526004018080602001828103825260228152602001806133726022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316612b5f5760405162461bcd60e51b81526004018080602001828103825260258152602001806134246025913960400191505060405180910390fd5b6001600160a01b038216612ba45760405162461bcd60e51b815260040180806020018281038252602381526020018061330d6023913960400191505060405180910390fd5b612baf838383612838565b612bec81604051806060016040528060268152602001613394602691396001600160a01b0386166000908152600160205260409020549190612c77565b6001600160a01b038085166000908152600160205260408082209390935590841681522054612c1b9082612977565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115612d065760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612ccb578181015183820152602001612cb3565b50505050905090810190601f168015612cf85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082612d1d57506000610d2f565b82820282848281612d2a57fe5b04146129d15760405162461bcd60e51b81526004018080602001828103825260218152602001806133ba6021913960400191505060405180910390fd5b60006129d183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506130ea565b6001600160a01b038216612dee5760405162461bcd60e51b81526004018080602001828103825260218152602001806134036021913960400191505060405180910390fd5b612dfa82600083612838565b612e3781604051806060016040528060228152602001613350602291396001600160a01b0385166000908152600160205260409020549190612c77565b6001600160a01b038316600090815260016020526040902055600354612e5d9082612ea5565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006129d183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612c77565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612f41908590613039565b50505050565b6001600160a01b038216612fa2576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b612fae60008383612838565b600354612fbb9082612977565b6003556001600160a01b038216600090815260016020526040902054612fe19082612977565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b606061308e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661314f9092919063ffffffff16565b805190915015612838578080602001905160208110156130ad57600080fd5b50516128385760405162461bcd60e51b815260040180806020018281038252602a81526020018061346d602a913960400191505060405180910390fd5b600081836131395760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612ccb578181015183820152602001612cb3565b50600083858161314557fe5b0495945050505050565b606061315e8484600085613166565b949350505050565b6060613171856132d3565b6131c2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106132015780518252601f1990920191602091820191016131e2565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613263576040519150601f19603f3d011682016040523d82523d6000602084013e613268565b606091505b5091509150811561327c57915061315e9050565b80511561328c5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612ccb578181015183820152602001612cb3565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061315e57505015159291505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207ee1bad59c249b15f25894032a383f29330409e0bcedffe577a55c9cdb1a650c64736f6c634300060c0033

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

000000000000000000000000bc6da0fe9ad5f3b0d58160288917aa56653660e900000000000000000000000043229759e12efbe3e2a0fb0510b15e516d0464420000000000000000000000005dae9b27313670663b34ac8bffd18825bb9df7360000000000000000000000004bf5059065541a2b176500928e91fbfd0b121d07

-----Decoded View---------------
Arg [0] : _token (address): 0xBC6DA0FE9aD5f3b0d58160288917AA56653660E9
Arg [1] : _governance (address): 0x43229759E12eFbe3e2A0fB0510B15e516d046442
Arg [2] : _timelock (address): 0x5DAe9B27313670663B34Ac8BfFD18825bB9Df736
Arg [3] : _controller (address): 0x4bF5059065541A2B176500928e91FBfD0B121d07

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000bc6da0fe9ad5f3b0d58160288917aa56653660e9
Arg [1] : 00000000000000000000000043229759e12efbe3e2a0fb0510b15e516d046442
Arg [2] : 0000000000000000000000005dae9b27313670663b34ac8bffd18825bb9df736
Arg [3] : 0000000000000000000000004bf5059065541a2b176500928e91fbfd0b121d07


Deployed Bytecode Sourcemap

40405:10786:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49128:253;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;49128:253:0;;;;;;;;:::i;:::-;;46165:131;;;;;;;;;;;;;;;;-1:-1:-1;46165:131:0;;:::i;17774:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19880:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19880:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;45774:103;;;;;;;;;;;;;;;;-1:-1:-1;45774:103:0;-1:-1:-1;;;;;45774:103:0;;:::i;44668:90::-;;;:::i;18849:100::-;;;:::i;:::-;;;;;;;;;;;;;;;;20523:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20523:321:0;;;;;;;;;;;;;;;;;:::i;40793:33::-;;;:::i;49457:658::-;;;;;;;;;;;;;;;;-1:-1:-1;49457:658:0;;:::i;32744:138::-;;;:::i;18701:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41311:31;;;:::i;41014:51::-;;;;;;;;;;;;;;;;-1:-1:-1;41014:51:0;-1:-1:-1;;;;;41014:51:0;;:::i;41206:25::-;;;:::i;46547:112::-;;;;;;;;;;;;;;;;-1:-1:-1;46547:112:0;;;;:::i;32889:41::-;;;:::i;21253:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21253:218:0;;;;;;;;:::i;40968:39::-;;;;;;;;;;;;;;;;-1:-1:-1;40968:39:0;-1:-1:-1;;;;;40968:39:0;;:::i;45667:99::-;;;;;;;;;;;;;;;;-1:-1:-1;45667:99:0;-1:-1:-1;;;;;45667:99:0;;:::i;44934:82::-;;;;;;;;;;;;;;;;-1:-1:-1;44934:82:0;;:::i;47582:125::-;;;:::i;41074:34::-;;;:::i;40872:25::-;;;:::i;:::-;;;;-1:-1:-1;;;;;40872:25:0;;;;;;;;;;;;;;41171:28;;;:::i;45446:96::-;;;;;;;;;;;;;;;;-1:-1:-1;45446:96:0;;:::i;46437:102::-;;;;;;;;;;;;;;;;-1:-1:-1;46437:102:0;;;;:::i;40716:35::-;;;:::i;19012:119::-;;;;;;;;;;;;;;;;-1:-1:-1;19012:119:0;-1:-1:-1;;;;;19012:119:0;;:::i;32684:51::-;;;;;;;;;;;;;;;;-1:-1:-1;32684:51:0;-1:-1:-1;;;;;32684:51:0;;:::i;40833:30::-;;;:::i;48952:82::-;;;:::i;45289:149::-;;;;;;;;;;;;;;;;-1:-1:-1;45289:149:0;-1:-1:-1;;;;;45289:149:0;;:::i;17976:87::-;;;:::i;46667:381::-;;;;;;;;;;;;;;;;-1:-1:-1;46667:381:0;;:::i;40760:26::-;;;:::i;21974:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21974:269:0;;;;;;;;:::i;19344:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19344:175:0;;;;;;;;:::i;45024:108::-;;;;;;;;;;;;;;;;-1:-1:-1;45024:108:0;-1:-1:-1;;;;;45024:108:0;;:::i;41115:47::-;;;:::i;44766:160::-;;;:::i;48353:591::-;;;;;;;;;;;;;;;;-1:-1:-1;48353:591:0;;:::i;45550:109::-;;;;;;;;;;;;;;;;-1:-1:-1;45550:109:0;;;;:::i;46023:134::-;;;;;;;;;;;;;;;;-1:-1:-1;46023:134:0;-1:-1:-1;;;;;46023:134:0;;:::i;45140:141::-;;;;;;;;;;;;;;;;-1:-1:-1;45140:141:0;-1:-1:-1;;;;;45140:141:0;;:::i;47056:135::-;;;:::i;40590:85::-;;;:::i;41238:29::-;;;:::i;41274:30::-;;;:::i;40904:23::-;;;:::i;47715:209::-;;;:::i;33690:905::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33690:905:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;45885:130::-;;;;;;;;;;;;;;;;-1:-1:-1;45885:130:0;-1:-1:-1;;;;;45885:130:0;;:::i;48026:319::-;;;;;;;;;;;;;;;;-1:-1:-1;48026:319:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;19582:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19582:151:0;;;;;;;;;;:::i;47932:86::-;;;:::i;50245:941::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50245:941:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50245:941:0;;-1:-1:-1;50245:941:0;;-1:-1:-1;;;;;50245:941:0:i;50123:114::-;;;:::i;46304:125::-;;;;;;;;;;;;;;;;-1:-1:-1;46304:125:0;;:::i;41349:35::-;;;:::i;47199:230::-;;;;;;;;;;;;;;;;-1:-1:-1;47199:230:0;;:::i;40934:25::-;;;:::i;40684:::-;;;:::i;40562:19::-;;;:::i;49128:253::-;36230:1;36828:7;;:19;;36820:63;;;;;-1:-1:-1;;;36820:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;36820:63:0;;;;;;;;;;;;;;;36230:1;36961:7;:18;49234:10:::1;::::0;-1:-1:-1;;;;;49234:10:0::1;49220;:24;49212:48;;;::::0;;-1:-1:-1;;;49212:48:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;49212:48:0;;;;;;;;;;;;;::::1;;49298:5;::::0;-1:-1:-1;;;;;49279:25:0;;::::1;49298:5:::0;::::1;49279:25;;49271:43;;;::::0;;-1:-1:-1;;;49271:43:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;49271:43:0;;;;;;;;;;;;;::::1;;49354:10;::::0;49325:48:::1;::::0;-1:-1:-1;;;;;49325:28:0;;::::1;::::0;49354:10:::1;49366:6:::0;49325:28:::1;:48::i;:::-;-1:-1:-1::0;;36194:1:0;37140:7;:22;49128:253::o;46165:131::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;46271:16:::1;::::0;46255:33:::1;::::0;:11;;:15:::1;:33::i;:::-;46242:10;:46:::0;-1:-1:-1;46165:131:0:o;17774:83::-;17844:5;17837:12;;;;;;;;-1:-1:-1;;17837:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17811:13;;17837:12;;17844:5;;17837:12;;17844:5;17837:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17774:83;:::o;19880:169::-;19963:4;19980:39;19989:12;:10;:12::i;:::-;20003:7;20012:6;19980:8;:39::i;:::-;-1:-1:-1;20037:4:0;19880:169;;;;;:::o;45774:103::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;45845:16:0::1;45864:5;45845:16:::0;;;:7:::1;:16;::::0;;;;:24;;-1:-1:-1;;45845:24:0::1;::::0;;45774:103::o;44668:90::-;44732:18;;;;;;;;;;;;-1:-1:-1;;;44732:18:0;;;;44668:90;:::o;18849:100::-;18929:12;;18849:100;:::o;20523:321::-;20629:4;20646:36;20656:6;20664:9;20675:6;20646:9;:36::i;:::-;20693:121;20702:6;20710:12;:10;:12::i;:::-;20724:89;20762:6;20724:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20724:19:0;;;;;;:11;:19;;;;;;20744:12;:10;:12::i;:::-;-1:-1:-1;;;;;20724:33:0;;;;;;;;;;;;-1:-1:-1;20724:33:0;;;:89;:37;:89::i;:::-;20693:8;:121::i;:::-;-1:-1:-1;20832:4:0;20523:321;;;;;:::o;40793:33::-;;;;:::o;49457:658::-;36230:1;36828:7;;:19;;36820:63;;;;;-1:-1:-1;;;36820:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;36820:63:0;;;;;;;;;;;;;;;36230:1;36961:7;:18;42686:11:::1;::::0;49524:7;;42686:11:::1;;42683:495;;;42806:32;42830:7;42806:23;:32::i;:::-;42802:365;;42858:30;42891:29;42909:10;;42891:13;;:17;;:29;;;;:::i;:::-;42858:62;;42987:22;42969:15;:40;:125;;;;-1:-1:-1::0;43079:14:0::1;::::0;43052:42:::1;::::0;:22;;:26:::1;:42::i;:::-;43034:15;:60;42969:125;42939:212;;;::::0;;-1:-1:-1;;;42939:212:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;42939:212:0;;;;;;;;;;;;;::::1;;42802:365;;49544:9:::2;49556:43;49585:13;:11;:13::i;:::-;49557:22;49571:7;49557:9;:7;:9::i;:::-;:13:::0;::::2;:22::i;:::-;49556:28:::0;::::2;:43::i;:::-;49544:55;;49610:26;49616:10;49628:7;49610:5;:26::i;:::-;49687:5;::::0;:30:::2;::::0;;-1:-1:-1;;;49687:30:0;;49711:4:::2;49687:30;::::0;::::2;::::0;;;49675:9:::2;::::0;-1:-1:-1;;;;;49687:5:0::2;::::0;:15:::2;::::0;:30;;;;;::::2;::::0;;;;;;;;:5;:30;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;49687:30:0;;-1:-1:-1;49732:5:0;;::::2;49728:334;;;49754:17;49774:8;:1:::0;49780;49774:5:::2;:8::i;:::-;49809:10;::::0;49838:5:::2;::::0;49797:59:::2;::::0;;-1:-1:-1;;;49797:59:0;;-1:-1:-1;;;;;49838:5:0;;::::2;49797:59;::::0;::::2;::::0;;;;;;;;;49754:28;;-1:-1:-1;49809:10:0;::::2;::::0;49797:32:::2;::::0;:59;;;;;49809:10:::2;::::0;49797:59;;;;;;;;49809:10;;49797:59;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;49888:5:0::2;::::0;:30:::2;::::0;;-1:-1:-1;;;49888:30:0;;49912:4:::2;49888:30;::::0;::::2;::::0;;;49871:14:::2;::::0;-1:-1:-1;;;;;;49888:5:0;;::::2;::::0;-1:-1:-1;49888:15:0::2;::::0;:30;;;;;::::2;::::0;;;;;;;;:5;:30;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;49888:30:0;;-1:-1:-1;49933:13:0::2;49949;49888:30:::0;49960:1;49949:10:::2;:13::i;:::-;49933:29;;49989:9;49981:5;:17;49977:74;;;50023:12;:1:::0;50029:5;50023::::2;:12::i;:::-;50019:16;;49977:74;49728:334;;;;50074:5;::::0;:33:::2;::::0;-1:-1:-1;;;;;50074:5:0::2;50093:10;50105:1:::0;50074:18:::2;:33::i;:::-;-1:-1:-1::0;;36194:1:0;37140:7;:22;-1:-1:-1;;49457:658:0:o;32744:138::-;;;:::o;18701:83::-;18767:9;;;;18701:83;:::o;41311:31::-;;;;;;:::o;41014:51::-;;;;;;;;;;;;;;;:::o;41206:25::-;;;;:::o;46547:112::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;46624:15:::1;:27:::0;;;::::1;;;;-1:-1:-1::0;;46624:27:0;;::::1;::::0;;;::::1;::::0;;46547:112::o;32889:41::-;;;:::o;21253:218::-;21341:4;21358:83;21367:12;:10;:12::i;:::-;21381:7;21390:50;21429:10;21390:11;:25;21402:12;:10;:12::i;:::-;-1:-1:-1;;;;;21390:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21390:25:0;;;:34;;;;;;;;;;;:38;:50::i;40968:39::-;;;;;;;;;;;;;;;:::o;45667:99::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;45735:16:0::1;;::::0;;;:7:::1;:16;::::0;;;;:23;;-1:-1:-1;;45735:23:0::1;45754:4;45735:23;::::0;;45667:99::o;44934:82::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;44998:3:::1;:10:::0;44934:82::o;47582:125::-;47686:3;;47651:5;;:30;;;-1:-1:-1;;;47651:30:0;;47675:4;47651:30;;;;;;47624:7;;47651:48;;40746:5;;47651:39;;-1:-1:-1;;;;;47651:5:0;;;;:15;;:30;;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47651:30:0;;:34;:39::i;:48::-;47644:55;;47582:125;:::o;41074:34::-;;;;:::o;40872:25::-;;;;;;-1:-1:-1;;;;;40872:25:0;;:::o;41171:28::-;;;;:::o;45446:96::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;45516:7:::1;:18:::0;45446:96::o;46437:102::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;46509:11:::1;:22:::0;;-1:-1:-1;;46509:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;46437:102::o;40716:35::-;40746:5;40716:35;:::o;19012:119::-;-1:-1:-1;;;;;19105:18:0;19078:7;19105:18;;;:9;:18;;;;;;;19012:119::o;32684:51::-;;;;;;;;;;;;;:::o;40833:30::-;;;;;;:::o;48952:82::-;48995:31;49004:21;49014:10;49004:9;:21::i;:::-;48995:8;:31::i;:::-;48952:82::o;45289:149::-;45373:8;;-1:-1:-1;;;;;45373:8:0;45359:10;:22;45351:44;;;;;-1:-1:-1;;;45351:44:0;;;;;;;;;;;;-1:-1:-1;;;45351:44:0;;;;;;;;;;;;;;;45406:10;:24;;-1:-1:-1;;;;;;45406:24:0;-1:-1:-1;;;;;45406:24:0;;;;;;;;;;45289:149::o;17976:87::-;18048:7;18041:14;;;;;;;;-1:-1:-1;;18041:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18015:13;;18041:14;;18048:7;;18041:14;;18048:7;18041:14;;;;;;;;;;;;;;;;;;;;;;;;46667:381;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;46759:11:::1;::::0;::::1;;46751:36;;;::::0;;-1:-1:-1;;;46751:36:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46751:36:0;;;;;;;;;;;;;::::1;;46800:23;46826:21;:19;:21::i;:::-;46800:47;;46885:15;46866;:34;;46858:70;;;::::0;;-1:-1:-1;;;46858:70:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;46964:15;46947:14;:32;46939:60;;;::::0;;-1:-1:-1;;;46939:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46939:60:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;47010:13:0::1;:30:::0;46667:381::o;40760:26::-;;;;:::o;21974:269::-;22067:4;22084:129;22093:12;:10;:12::i;:::-;22107:7;22116:96;22155:15;22116:96;;;;;;;;;;;;;;;;;:11;:25;22128:12;:10;:12::i;:::-;-1:-1:-1;;;;;22116:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;22116:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;19344:175::-;19430:4;19447:42;19457:12;:10;:12::i;:::-;19471:9;19482:6;19447:9;:42::i;45024:108::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;45100:10:::1;:24:::0;;-1:-1:-1;;;;;45100:24:0;;::::1;;;-1:-1:-1::0;;;;;;45100:24:0;;::::1;::::0;;;::::1;::::0;;45024:108::o;41115:47::-;;;;:::o;44766:160::-;44880:10;;44910:5;;44868:49;;;-1:-1:-1;;;44868:49:0;;-1:-1:-1;;;;;44910:5:0;;;44868:49;;;;;;44806:7;;44833:85;;44880:10;;44868:33;;:49;;;;;;;;;;;;;;44880:10;44868:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44868:49:0;44833:5;;:30;;;-1:-1:-1;;;44833:30:0;;44857:4;44833:30;;;;;;-1:-1:-1;;;;;44833:5:0;;;;:15;;:30;;;;;44868:49;;44833:30;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44833:30:0;;:34;:85::i;48353:591::-;36230:1;36828:7;;:19;;36820:63;;;;;-1:-1:-1;;;36820:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;36820:63:0;;;;;;;;;;;;;;;36230:1;36961:7;:18;;;48434:9:::1;:7;:9::i;:::-;48472:5;::::0;:30:::1;::::0;;-1:-1:-1;;;48472:30:0;;48496:4:::1;48472:30;::::0;::::1;::::0;;;48418:25;;-1:-1:-1;48454:15:0::1;::::0;-1:-1:-1;;;;;48472:5:0;;::::1;::::0;:15:::1;::::0;:30;;;;;::::1;::::0;;;;;;;;;:5;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48472:30:0;48513:5:::1;::::0;48472:30;;-1:-1:-1;48513:58:0::1;::::0;-1:-1:-1;;;;;48513:5:0::1;48536:10;48556:4;48563:7:::0;48513:22:::1;:58::i;:::-;48599:5;::::0;:30:::1;::::0;;-1:-1:-1;;;48599:30:0;;48623:4:::1;48599:30;::::0;::::1;::::0;;;48582:14:::1;::::0;-1:-1:-1;;;;;48599:5:0::1;::::0;:15:::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:5;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48599:30:0;;-1:-1:-1;48650:19:0::1;48599:30:::0;48661:7;48650:10:::1;:19::i;:::-;48640:29;;48724:14;48757:13;:11;:13::i;:::-;48753:148;;-1:-1:-1::0;48801:7:0;48753:148:::1;;;48850:39;48883:5;48851:26;48863:13;:11;:13::i;:::-;48851:7:::0;;:11:::1;:26::i;48850:39::-;48841:48;;48753:148;48911:25;48917:10;48929:6;48911:5;:25::i;:::-;-1:-1:-1::0;;36194:1:0;37140:7;:22;-1:-1:-1;;;48353:591:0:o;45550:109::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;45625:11:::1;:26:::0;;-1:-1:-1;;45625:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;45550:109::o;46023:134::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;46110:31:0::1;46144:5;46110:31:::0;;;:19:::1;:31;::::0;;;;:39;;-1:-1:-1;;46110:39:0::1;::::0;;46023:134::o;45140:141::-;45220:8;;-1:-1:-1;;;;;45220:8:0;45206:10;:22;45198:44;;;;;-1:-1:-1;;;45198:44:0;;;;;;;;;;;;-1:-1:-1;;;45198:44:0;;;;;;;;;;;;;;;45253:8;:20;;-1:-1:-1;;;;;;45253:20:0;-1:-1:-1;;;;;45253:20:0;;;;;;;;;;45140:141::o;47056:135::-;47108:7;47134:49;47168:14;;47134:29;47152:10;;47134:13;;:17;;:29;;;;:::i;:::-;:33;;:49::i;40590:85::-;40632:42;40590:85;:::o;41238:29::-;;;;:::o;41274:30::-;;;;:::o;40904:23::-;;;-1:-1:-1;;;;;40904:23:0;;:::o;47715:209::-;36230:1;36828:7;;:19;;36820:63;;;;;-1:-1:-1;;;36820:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;36820:63:0;;;;;;;;;;;;;;;36230:1;36961:7;:18;;;41849:10:::1;41841:19:::0;;:7:::1;:19;::::0;;;;;::::1;;::::0;:60:::1;;-1:-1:-1::0;41891:10:0::1;::::0;::::1;::::0;::::1;-1:-1:-1::0;;;;;41891:10:0::1;41877;:24;41841:60;41819:118;;;::::0;;-1:-1:-1;;;41819:118:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;41819:118:0;;;;;;;;;;;;;::::1;;42108:11:::2;::::0;::::2;;42105:502;;;42179:13;;42161:15;:31;42135:102;;;::::0;;-1:-1:-1;;;42135:102:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;42135:102:0;;;;;;;;;;;;;::::2;;42255:15;::::0;::::2;::::0;::::2;;;42252:344;;;42359:10;::::0;42340:15:::2;::::0;42320:36:::2;::::0;:15:::2;::::0;:19:::2;:36::i;:::-;:49;42290:116;;;::::0;;-1:-1:-1;;;42290:116:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;42290:116:0;;;;;;;;;;;;;::::2;;42428:15;::::0;:20;42425:104:::2;;42488:21;:19;:21::i;:::-;42472:13;:37:::0;42425:104:::2;42565:15;42547;:33:::0;42252:344:::2;47782:12:::3;47797:11;:9;:11::i;:::-;47838:10;::::0;47819:5:::3;::::0;47782:26;;-1:-1:-1;47819:36:0::3;::::0;-1:-1:-1;;;;;47819:5:0;;::::3;::::0;47838:10:::3;47782:26:::0;47819:18:::3;:36::i;:::-;47878:10;::::0;47903:5:::3;::::0;47866:50:::3;::::0;;-1:-1:-1;;;47866:50:0;;-1:-1:-1;;;;;47903:5:0;;::::3;47866:50;::::0;::::3;::::0;;;;;;;;;47878:10;;;::::3;::::0;47866:28:::3;::::0;:50;;;;;47878:10:::3;::::0;47866:50;;;;;;;47878:10;;47866:50;::::3;;::::0;::::3;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;33690:905:::0;33858:15;33846:8;:27;;33838:69;;;;;-1:-1:-1;;;33838:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34103:13:0;;;33920:18;34103:13;;;:6;:13;;;;;;;;:15;;;;;;;;;33965:195;;33994:15;33965:195;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33941:230;;;;;;-1:-1:-1;;;34223:124:0;;;;34287:16;34223:124;;;;;;;;;;;;;;;;;;;;;;;;;;;34199:159;;;;;;;;;34388:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33941:230;;34199:159;;34103:15;;34388:24;;;;;34103:13;;-1:-1:-1;;34388:24:0;;;;;;;;;;34103:15;34388:24;;;;;;;;;;;;;;;-1:-1:-1;;34388:24:0;;-1:-1:-1;;34388:24:0;;;-1:-1:-1;;;;;;;34445:20:0;;;;;;:39;;;34479:5;-1:-1:-1;;;;;34469:15:0;:6;-1:-1:-1;;;;;34469:15:0;;34445:39;34423:119;;;;;-1:-1:-1;;;34423:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34555:32;34564:5;34571:7;34580:6;34555:8;:32::i;:::-;33690:905;;;;;;;;;;:::o;45885:130::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;45969:31:0::1;;::::0;;;:19:::1;:31;::::0;;;;:38;;-1:-1:-1;;45969:38:0::1;46003:4;45969:38;::::0;;45885:130::o;48026:319::-;48178:7;48160:14;:25;;48152:53;;;;;-1:-1:-1;;;48152:53:0;;;;;;;;;;;;-1:-1:-1;;;48152:53:0;;;;;;;;;;;;;;;48233:5;;48216:94;;;-1:-1:-1;;;48216:94:0;;48248:10;48216:94;;;;48268:4;48216:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48233:5:0;;;;48216:31;;:94;;;;;48233:5;;48216:94;;;;;;;;48233:5;;48216:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48321:16;48329:7;48321;:16::i;:::-;48026:319;;;;;;:::o;19582:151::-;-1:-1:-1;;;;;19698:18:0;;;19671:7;19698:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19582:151::o;47932:86::-;47982:5;;:27;;;-1:-1:-1;;;47982:27:0;;47998:10;47982:27;;;;;;47974:36;;-1:-1:-1;;;;;47982:5:0;;:15;;:27;;;;;;;;;;;;;;:5;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47982:27:0;47974:7;:36::i;50245:941::-;43322:10;43302:31;;;;:19;:31;;;;;;;;43297:331;;36230:1;43446:7;;:19;;43438:63;;;;;-1:-1:-1;;;43438:63:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;43438:63:0;;;;;;;;;;;;;;;36230:1;43598:7;:18;43297:331;41521:16:::1;41540:9;50383:11:::2;::::0;41521:28;;-1:-1:-1;50383:11:0::2;;:19;;:11:::0;:19:::2;50375:44;;;::::0;;-1:-1:-1;;;50375:44:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;50375:44:0;;;;;;;;;;;;;::::2;;50448:1;50438:7;:11;50430:41;;;::::0;;-1:-1:-1;;;50430:41:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;50430:41:0;;;;;;;;;;;;;::::2;;50506:5;::::0;:30:::2;::::0;;-1:-1:-1;;;50506:30:0;;50530:4:::2;50506:30;::::0;::::2;::::0;;;50482:21:::2;::::0;-1:-1:-1;;;;;50506:5:0::2;::::0;:15:::2;::::0;:30;;;;;::::2;::::0;;;;;;;;:5;:30;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;50506:30:0;;-1:-1:-1;50555:23:0;;::::2;50547:55;;;::::0;;-1:-1:-1;;;50547:55:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;50547:55:0;;;;;;;;;;;;;::::2;;50634:12;50649:36;50674:10;;50649:20;50661:7;;50649;:11;;:20;;;;:::i;:36::-;50634:51;;50713:1;50706:4;:8;50698:34;;;::::0;;-1:-1:-1;;;50698:34:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;50698:34:0;;;;;;;;;;;;;::::2;;50784:5;::::0;:38:::2;::::0;-1:-1:-1;;;;;50784:5:0::2;50803:9:::0;50814:7;50784:18:::2;:38::i;:::-;50924:5;::::0;50867:86:::2;::::0;-1:-1:-1;;;50867:86:0;;-1:-1:-1;;;;;50924:5:0;;::::2;50867:86;::::0;::::2;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:48;;::::2;::::0;::::2;::::0;50932:7;;50941:4;;50947:5;;50867:86;;;;;;;;;::::2;::::0;::::2;::::0;;;;50924:5:::2;50867:86;;;;;;;::::0;;::::2;::::0;;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;50989:5:0::2;::::0;:30:::2;::::0;;-1:-1:-1;;;50989:30:0;;51013:4:::2;50989:30;::::0;::::2;::::0;;;50966:20:::2;::::0;-1:-1:-1;;;;;;50989:5:0;;::::2;::::0;-1:-1:-1;50989:15:0::2;::::0;:30;;;;;::::2;::::0;;;;;;;;:5;:30;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;50989:30:0;;-1:-1:-1;51056:23:0::2;:13:::0;51074:4;51056:17:::2;:23::i;:::-;51040:12;:39;51032:77;;;::::0;;-1:-1:-1;;;51032:77:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;51145:5;::::0;51127:51:::2;::::0;;-1:-1:-1;;;;;51145:5:0;;::::2;51127:51:::0;;;;::::2;;::::0;::::2;::::0;;;;;;;;;;;;;;::::2;::::0;;;;;;;::::2;-1:-1:-1::0;41572:16:0::1;::::0;-1:-1:-1;;41622:2:0::1;41627:8;41622:20;41610:9;41599:8;41591:5;:16;:28;:51;41572:70;;41686:1;40632:42;-1:-1:-1::0;;;;;41658:13:0::1;;41672:10;41658:25;;;;;;;;;;;;;-1:-1:-1::0;;;;;41658:25:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;41658:25:0;:29:::1;41655:117;;;41704:56;::::0;;-1:-1:-1;;;41704:56:0;;41721:10:::1;41704:56;::::0;::::1;::::0;41754:5:::1;41745;41734:16:::0;::::1;41733:26;41704:56:::0;;;;;;40632:42:::1;::::0;41704:16:::1;::::0;:56;;;;;::::1;::::0;;;;;;;;-1:-1:-1;40632:42:0;41704:56;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;41655:117:0::1;-1:-1:-1::0;;43688:10:0;43668:31;;;;:19;:31;;;;;;;;43663:213;;36194:1;43841:7;:22;43663:213;50245:941;;;:::o;50123:114::-;50164:7;50191:38;50215:13;:11;:13::i;:::-;50191:19;50205:4;50191:9;:7;:9::i;46304:125::-;42023:10;;;;;-1:-1:-1;;;;;42023:10:0;42009;:24;42001:48;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;-1:-1:-1;;;42001:48:0;;;;;;;;;;;;;;;46389:14:::1;:32:::0;46304:125::o;41349:35::-;;;;;;;;;:::o;47199:230::-;47269:4;47285:23;47311:43;47340:13;:11;:13::i;47311:43::-;47391:5;;:30;;;-1:-1:-1;;;47391:30:0;;47415:4;47391:30;;;;;;47285:69;;-1:-1:-1;;;;;;47391:5:0;;;;:15;;:30;;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47391:30:0;-1:-1:-1;47372:49:0;;47199:230;-1:-1:-1;;47199:230:0:o;40934:25::-;;;-1:-1:-1;;;;;40934:25:0;;:::o;40684:::-;;;;:::o;40562:19::-;;;-1:-1:-1;;;;;40562:19:0;;:::o;1452:181::-;1510:7;1542:5;;;1566:6;;;;1558:46;;;;;-1:-1:-1;;;1558:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1624:1;1452:181;-1:-1:-1;;;1452:181:0:o;27148:177::-;27258:58;;;-1:-1:-1;;;;;27258:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27258:58:0;-1:-1:-1;;;27258:58:0;;;27231:86;;27251:5;;27231:19;:86::i;6455:106::-;6543:10;6455:106;:::o;25119:346::-;-1:-1:-1;;;;;25221:19:0;;25213:68;;;;-1:-1:-1;;;25213:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25300:21:0;;25292:68;;;;-1:-1:-1;;;25292:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25373:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25425:32;;;;;;;;;;;;;;;;;25119:346;;;:::o;22733:539::-;-1:-1:-1;;;;;22839:20:0;;22831:70;;;;-1:-1:-1;;;22831:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22920:23:0;;22912:71;;;;-1:-1:-1;;;22912:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22996:47;23017:6;23025:9;23036:6;22996:20;:47::i;:::-;23076:71;23098:6;23076:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23076:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;23056:17:0;;;;;;;:9;:17;;;;;;:91;;;;23181:20;;;;;;;:32;;23206:6;23181:24;:32::i;:::-;-1:-1:-1;;;;;23158:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;23229:35;;;;;;;23158:20;;23229:35;;;;;;;;;;;;;22733:539;;;:::o;2355:192::-;2441:7;2477:12;2469:6;;;;2461:29;;;;-1:-1:-1;;;2461:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2513:5:0;;;2355:192::o;2806:471::-;2864:7;3109:6;3105:47;;-1:-1:-1;3139:1:0;3132:8;;3105:47;3176:5;;;3180:1;3176;:5;:1;3200:5;;;;;:10;3192:56;;;;-1:-1:-1;;;3192:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3753:132;3811:7;3838:39;3842:1;3845;3838:39;;;;;;;;;;;;;;;;;:3;:39::i;24263:418::-;-1:-1:-1;;;;;24347:21:0;;24339:67;;;;-1:-1:-1;;;24339:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24419:49;24440:7;24457:1;24461:6;24419:20;:49::i;:::-;24502:68;24525:6;24502:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24502:18:0;;;;;;:9;:18;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;24481:18:0;;;;;;:9;:18;;;;;:89;24596:12;;:24;;24613:6;24596:16;:24::i;:::-;24581:12;:39;24636:37;;;;;;;;24662:1;;-1:-1:-1;;;;;24636:37:0;;;;;;;;;;;;24263:418;;:::o;1916:136::-;1974:7;2001:43;2005:1;2008;2001:43;;;;;;;;;;;;;;;;;:3;:43::i;27333:205::-;27461:68;;;-1:-1:-1;;;;;27461:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27461:68:0;-1:-1:-1;;;27461:68:0;;;27434:96;;27454:5;;27434:19;:96::i;:::-;27333:205;;;;:::o;23553:378::-;-1:-1:-1;;;;;23637:21:0;;23629:65;;;;;-1:-1:-1;;;23629:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23707:49;23736:1;23740:7;23749:6;23707:20;:49::i;:::-;23784:12;;:24;;23801:6;23784:16;:24::i;:::-;23769:12;:39;-1:-1:-1;;;;;23840:18:0;;;;;;:9;:18;;;;;;:30;;23863:6;23840:22;:30::i;:::-;-1:-1:-1;;;;;23819:18:0;;;;;;:9;:18;;;;;;;;:51;;;;23886:37;;;;;;;23819:18;;;;23886:37;;;;;;;;;;23553:378;;:::o;29453:761::-;29877:23;29903:69;29931:4;29903:69;;;;;;;;;;;;;;;;;29911:5;-1:-1:-1;;;;;29903:27:0;;;:69;;;;;:::i;:::-;29987:17;;29877:95;;-1:-1:-1;29987:21:0;29983:224;;30129:10;30118:30;;;;;;;;;;;;;;;-1:-1:-1;30118:30:0;30110:85;;;;-1:-1:-1;;;30110:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4381:278;4467:7;4502:12;4495:5;4487:28;;;;-1:-1:-1;;;4487:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4526:9;4542:1;4538;:5;;;;;;;4381:278;-1:-1:-1;;;;;4381:278:0:o;13318:196::-;13421:12;13453:53;13476:6;13484:4;13490:1;13493:12;13453:22;:53::i;:::-;13446:60;13318:196;-1:-1:-1;;;;13318:196:0:o;14695:979::-;14825:12;14858:18;14869:6;14858:10;:18::i;:::-;14850:60;;;;;-1:-1:-1;;;14850:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14984:12;14998:23;15025:6;-1:-1:-1;;;;;15025:11:0;15045:8;15056:4;15025:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15025:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14983:78;;;;15076:7;15072:595;;;15107:10;-1:-1:-1;15100:17:0;;-1:-1:-1;15100:17:0;15072:595;15221:17;;:21;15217:439;;15484:10;15478:17;15545:15;15532:10;15528:2;15524:19;15517:44;15432:148;15620:20;;-1:-1:-1;;;15620:20:0;;;;;;;;;;;;;;;;;15627:12;;15620:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10203:619;10263:4;10731:20;;10574:66;10771:23;;;;;;:42;;-1:-1:-1;;10798:15:0;;;10763:51;-1:-1:-1;;10203:619:0:o

Swarm Source

ipfs://7ee1bad59c249b15f25894032a383f29330409e0bcedffe577a55c9cdb1a650c

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.