ETH Price: $2,180.87 (+2.25%)

Contract

0x0B1A6f9433Ee80B29BF92afdE3CF1a8fCa2b9F06
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw129000882021-07-26 5:56:511703 days ago1627279011IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0328403626
Withdraw111644132020-10-31 11:40:161971 days ago1604144416IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0209578323
Withdraw111637462020-10-31 9:16:271971 days ago1604135787IN
0x0B1A6f94...fCa2b9F06
0 ETH0.016793520.1
Get Reward111637462020-10-31 9:16:271971 days ago1604135787IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0017745420
Withdraw111621382020-10-31 3:12:471971 days ago1604113967IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0178936820.2
Get Reward111604282020-10-30 20:55:591971 days ago1604091359IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0013834227
Withdraw111604212020-10-30 20:54:451971 days ago1604091285IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0362597827
Get Reward111590802020-10-30 15:57:501971 days ago1604073470IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0192865862
Withdraw111582962020-10-30 13:05:561972 days ago1604063156IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0626259562
Get Reward111537692020-10-29 20:14:221972 days ago1604002462IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0015789321.1
Stake111343822020-10-26 21:07:331975 days ago1603746453IN
0x0B1A6f94...fCa2b9F06
0 ETH0.010876928
Get Reward111291432020-10-26 1:38:051976 days ago1603676285IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0019282621
Withdraw111270662020-10-25 17:59:521976 days ago1603648792IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0134764915
Withdraw111261562020-10-25 14:32:171976 days ago1603636337IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0016821
Stake111250802020-10-25 10:36:531977 days ago1603622213IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0039335727
Stake111250792020-10-25 10:35:551977 days ago1603622155IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0096227727
Withdraw111229202020-10-25 2:36:081977 days ago1603593368IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0165145418.1
Withdraw111214762020-10-24 21:18:411977 days ago1603574321IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0158981518
Stake111177262020-10-24 7:33:011978 days ago1603524781IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0089069726
Stake111149552020-10-23 21:24:161978 days ago1603488256IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0098241926.1
Stake111144882020-10-23 19:36:081978 days ago1603481768IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0164238446
Get Reward111144412020-10-23 19:28:541978 days ago1603481334IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0045813851
Withdraw111134802020-10-23 15:56:341978 days ago1603468594IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0454670452.1
Get Reward111112352020-10-23 7:40:531979 days ago1603438853IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0025593142
Get Reward111088352020-10-22 22:45:561979 days ago1603406756IN
0x0B1A6f94...fCa2b9F06
0 ETH0.0014367519.2
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
fDAIpool

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-09-07
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

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

interface IuFFYI is IERC20 {
    function mint(address account, uint256 amount) external returns (bool);
    function burn(address account, uint256 amount) external;
}

interface Aave {
    function deposit(address _reserve, uint256 _amount, uint16 _referralCode) external;
}

interface AToken is IERC20 {
    function redeem(uint256 amount) external;
}

interface LendingPoolAddressesProvider {
    function getLendingPool() external view returns (address);
    function getLendingPoolCore() external view returns (address);
}

interface Uniswap {
    function swapExactTokensForTokens(
                uint amountIn,
                uint amountOutMin,
                address[] calldata path,
                address to,
                uint deadline
              ) external returns (uint[] memory amounts);
}
pragma solidity ^0.6.0;

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

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


pragma solidity ^0.6.0;


/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin 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 is 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 { }
}

pragma solidity ^0.6.0;

/**
 * @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 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _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;
    }
}


pragma solidity ^0.6.0;


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

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

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

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

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

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

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

pragma solidity ^0.6.0;


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

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

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


pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library 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;
    }
}


pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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


pragma solidity ^0.6.0;


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

contract fDAIpool is ERC20, ReentrancyGuard, Ownable {
  using SafeERC20 for IERC20;
  using SafeERC20 for IuFFYI;
  using Address for address;
  using SafeMath for uint256;

  mapping(address => uint256) private startStaking;
  mapping(address => uint256) private rewards;
  mapping(uint256 => uint256) private totalBlocks;
  uint256[] private blocks;

  uint256 private rewardSpeed = 10000000000000000000000000000000000; 
  uint16 private refcode = 0; 
  address aave = address(0x24a42fD28C976A61Df5D00D0599C34c4f90748c8);
  address UniswapV2Router02 = address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

  uint256 private minRedeem = 1; 
  address WETH = address(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);

  address uFFYIAddress = address(0x021576770CB3729716CCfb687afdB4c6bF720CB6);
  IuFFYI public uFFYI  = IuFFYI(uFFYIAddress);

  address poolTokenAddress = address(0x6B175474E89094C44Da98b954EedeAC495271d0F); //DAI
  IERC20 public poolToken  = IERC20(poolTokenAddress); //DAI

  address aaveTokenAddress = address(0xfC1E690f61EFd961294b3e1Ce3313fBD8aa4f85d);
  AToken public aaveToken  = AToken(aaveTokenAddress); //aDAI


  constructor () public ERC20("wrapped DAI", "fDAI")  {
    uint256 blockNumber = getBlockNumber();
    blocks.push(blockNumber);
    totalBlocks[blockNumber] = totalSupply();
    poolToken.safeApprove(getAaveCore(), uint(-1));
    poolToken.safeApprove(UniswapV2Router02, uint(-1));
  }



  function stake(uint256 amount) public {
      

      if (startStaking[_msgSender()] > 0) {  // have exist stake amount
          rewards[_msgSender()] = earned(_msgSender());
      }
      _mint(_msgSender(), amount);
      uint256 blockNumber = getBlockNumber();
      startStaking[_msgSender()] = blockNumber;


      totalBlocks[blockNumber] = totalSupply();
      if (blocks.length>0) {
        if (blocks[blocks.length - 1] < blockNumber) {
          blocks.push(blockNumber);
        }
      } else {
        blocks.push(blockNumber);
      }
      
      poolToken.safeTransferFrom(_msgSender(), address(this), amount);
      Aave(getAave()).deposit(poolTokenAddress, amount, refcode);
  }

  function withdraw(uint256 amount) public {
      rewards[_msgSender()] = earned(_msgSender());

      uint256 blockNumber = getBlockNumber();
      if (balanceOf(_msgSender()) == amount) {
        startStaking[_msgSender()] = 0;
      } else {
        startStaking[_msgSender()] = blockNumber;
      }

      if (blocks.length>0) {
        if (blocks[blocks.length - 1] < blockNumber) {
          blocks.push(blockNumber);
        }
      } else {
        blocks.push(blockNumber);
      }
      totalBlocks[blockNumber] = totalSupply();

      uint256 uDAIrewards = checkRewards();
      aaveToken.redeem(amount.add(uDAIrewards));
      
      _burn(_msgSender(), amount);
      
      poolToken.safeTransfer(_msgSender(), amount);
      if (uDAIrewards > 0) {
          swapAndBurn(uDAIrewards);
      }
  }

  function stopPool () public onlyOwner {
    rewardSpeed = 1;
  }

  
  function checkRewards() private view returns (uint256) {
      uint256 aavebalance = aaveToken.balanceOf(address(this));
      uint256 wrappedbalance = totalSupply();
      uint256 uDAIrewards = aavebalance.sub(wrappedbalance);
      if ( uDAIrewards > minRedeem ) {
          return uDAIrewards;
      } else {
          return 0;
      }
  }

  function swapAndBurn(uint256 uDAIrewards) private {
      uint256 amountOutMin = 0;
      address[] memory path = new address[](3);
      path[0] = poolTokenAddress;
      path[1] = WETH;
      path[2] = uFFYIAddress;
      
      Uniswap(UniswapV2Router02).swapExactTokensForTokens(uDAIrewards,amountOutMin,path,address(this),block.timestamp+1);
      uFFYI.burn(address(this), uFFYI.balanceOf(address(this)));
  }

  function earned(address account) public view returns (uint256) {
      uint256 lastblock = getBlockNumber();
      uint256 deltaRewards = 0;
      
      if (startStaking[account] > 0) {
        
        for (uint256 i=blocks.length-1; i>0; i--) {
          uint256 firstblock = blocks[i];
          if (blocks[i]<startStaking[account]) {
            firstblock = startStaking[account];
          }
          deltaRewards = deltaRewards.add(balanceOf(account).mul(_rewardPerToken(totalBlocks[blocks[i]])).mul(lastblock.sub(firstblock)).div(1e18));
          if (blocks[i]<startStaking[account]) {
            break;
          }
          lastblock = blocks[i];
        }
      }
      
      return
          deltaRewards
              .add(rewards[account]);
  }
  
  function rewardPerToken() public view returns (uint256) {
    if (totalSupply() == 0) {
        return 0;
    }
    return
        rewardSpeed.div(totalSupply());
  }
  
  function _rewardPerToken(uint256 total) private view returns (uint256) {
    if (total == 0) {
        return 0;
    }
    return
        rewardSpeed.div(total);
  }

  function exit() public {
      withdraw(balanceOf(_msgSender()));
      if (rewards[_msgSender()] > 0) {
          uFFYI.safeTransfer(_msgSender(), rewards[_msgSender()]);
          rewards[_msgSender()] = 0;
      }
  }

  function getReward() public {
      uint256 reward = earned(_msgSender());
      if (reward > 0) {
          rewards[_msgSender()] = 0;
          startStaking[_msgSender()] = getBlockNumber();
          uFFYI.mint(_msgSender(), reward);
      }
  }
  

  function getBlockNumber() public view returns (uint256) {
      return block.number;
  }

  function getAave() public view returns (address) {
      return LendingPoolAddressesProvider(aave).getLendingPool();
  }
  
  function getAaveCore() public view returns (address) {
    return LendingPoolAddressesProvider(aave).getLendingPoolCore();
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"aaveToken","outputs":[{"internalType":"contract AToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAave","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAaveCore","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uFFYI","outputs":[{"internalType":"contract IuFFYI","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526e01ed09bead87c0378d8e6400000000600c55600d80547524a42fd28c976a61df5d00d0599c34c4f90748c800006001600160b01b0319909116179055600e80546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d179091556001600f5560108054821673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc217905560118054821673021576770cb3729716ccfb687afdb4c6bf720cb617908190556012805483166001600160a01b03928316179055601380548316736b175474e89094c44da98b954eedeac495271d0f179081905560148054841691831691909117905560158054831673fc1e690f61efd961294b3e1ce3313fbd8aa4f85d17908190556016805490931691161790553480156200012957600080fd5b50604080518082018252600b81526a777261707065642044414960a81b6020808301918252835180850190945260048452636644414960e01b908401528151919291620001799160039162000707565b5080516200018f90600490602084019062000707565b50506005805460ff191660121790555060016006556000620001b0620002be565b600780546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060006200020a620002c2565b600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90181905590506200024b620002c6565b6000828152600a60205260409020556200028a62000268620002cc565b6014546001600160a01b03169060001962000350602090811b6200123317901c565b600e54601454620002b7916001600160a01b03918216911660001962000350602090811b6200123317901c565b50620007a3565b3390565b4390565b60025490565b6000600d60029054906101000a90046001600160a01b03166001600160a01b031663ed6ff7606040518163ffffffff1660e01b815260040160206040518083038186803b1580156200031d57600080fd5b505afa15801562000332573d6000803e3d6000fd5b505050506040513d60208110156200034957600080fd5b5051905090565b801580620003da575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015620003aa57600080fd5b505afa158015620003bf573d6000803e3d6000fd5b505050506040513d6020811015620003d657600080fd5b5051155b620004175760405162461bcd60e51b815260040180806020018281038252603681526020018062002aa56036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b179091526200046f9185916200047416565b505050565b6060620004d0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200053060201b62001346179092919060201c565b8051909150156200046f57808060200190516020811015620004f157600080fd5b50516200046f5760405162461bcd60e51b815260040180806020018281038252602a81526020018062002a7b602a913960400191505060405180910390fd5b606062000541848460008562000549565b949350505050565b6060620005568562000701565b620005a8576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620005e95780518252601f199092019160209182019101620005c8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146200064d576040519150601f19603f3d011682016040523d82523d6000602084013e62000652565b606091505b5091509150811562000668579150620005419050565b805115620006795780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620006c5578181015183820152602001620006ab565b50505050905090810190601f168015620006f35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200074a57805160ff19168380011785556200077a565b828001600101855582156200077a579182015b828111156200077a5782518255916020019190600101906200075d565b50620007889291506200078c565b5090565b5b808211156200078857600081556001016200078d565b6122c880620007b36000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c806370a08231116100f9578063cbdf382c11610097578063e9fad8ee11610071578063e9fad8ee1461047e578063f2fde38b14610486578063f7c1ec77146104ac578063f82ce27d146104b4576101a8565b8063cbdf382c14610440578063cd3daf9d14610448578063dd62ed3e14610450576101a8565b806395d89b41116100d357806395d89b41146103c3578063a457c2d7146103cb578063a694fc3a146103f7578063a9059cbb14610414576101a8565b806370a082311461038d578063715018a6146103b35780638da5cb5b146103bb576101a8565b80632e1a7d4d116101665780633c53c7b3116101405780633c53c7b31461036d5780633d18b9121461037557806342cbb15c1461037d5780634dcd8b8814610385576101a8565b80632e1a7d4d14610304578063313ce567146103235780633950935114610341576101a8565b80628cc262146101ad57806306a3fe59146101e557806306fdde0314610209578063095ea7b31461028657806318160ddd146102c657806323b872dd146102ce575b600080fd5b6101d3600480360360208110156101c357600080fd5b50356001600160a01b03166104bc565b60408051918252519081900360200190f35b6101ed610678565b604080516001600160a01b039092168252519081900360200190f35b610211610687565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024b578181015183820152602001610233565b50505050905090810190601f1680156102785780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b26004803603604081101561029c57600080fd5b506001600160a01b03813516906020013561071e565b604080519115158252519081900360200190f35b6101d361073c565b6102b2600480360360608110156102e457600080fd5b506001600160a01b03813581169160208101359091169060400135610742565b6103216004803603602081101561031a57600080fd5b50356107c9565b005b61032b6109cd565b6040805160ff9092168252519081900360200190f35b6102b26004803603604081101561035757600080fd5b506001600160a01b0381351690602001356109d6565b610321610a24565b610321610a95565b6101d3610b8a565b6101ed610b8e565b6101d3600480360360208110156103a357600080fd5b50356001600160a01b0316610b9d565b610321610bb8565b6101ed610c6c565b610211610c7b565b6102b2600480360360408110156103e157600080fd5b506001600160a01b038135169060200135610cdc565b6103216004803603602081101561040d57600080fd5b5035610d44565b6102b26004803603604081101561042a57600080fd5b506001600160a01b038135169060200135610f27565b6101ed610f3b565b6101d3610f4a565b6101d36004803603604081101561046657600080fd5b506001600160a01b0381358116916020013516610f79565b610321610fa4565b6103216004803603602081101561049c57600080fd5b50356001600160a01b0316611057565b6101ed611162565b6101ed6111e3565b6000806104c7610b8a565b6001600160a01b038416600090815260086020526040812054919250901561064a57600b54600019015b8015610648576000600b828154811061050657fe5b9060005260206000200154905060086000876001600160a01b03166001600160a01b0316815260200190815260200160002054600b838154811061054657fe5b9060005260206000200154101561057257506001600160a01b0385166000908152600860205260409020545b6105e06105d9670de0b6b3a76400006105d361058e888661135d565b6105cd6105c4600a6000600b8b815481106105a557fe5b90600052602060002001548152602001908152602001600020546113a6565b6105cd8d610b9d565b906113c2565b9061141b565b849061145d565b6001600160a01b038716600090815260086020526040902054600b805492955090918490811061060c57fe5b906000526020600020015410156106235750610648565b600b828154811061063057fe5b600091825260209091200154935050600019016104f1565b505b6001600160a01b03841660009081526009602052604090205461066e90829061145d565b925050505b919050565b6016546001600160a01b031681565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107135780601f106106e857610100808354040283529160200191610713565b820191906000526020600020905b8154815290600101906020018083116106f657829003601f168201915b505050505090505b90565b600061073261072b6114b7565b84846114bb565b5060015b92915050565b60025490565b600061074f8484846115a7565b6107bf8461075b6114b7565b6107ba8560405180606001604052806028815260200161215c602891396001600160a01b038a166000908152600160205260408120906107996114b7565b6001600160a01b031681526020810191909152604001600020549190611702565b6114bb565b5060019392505050565b6107d96107d46114b7565b6104bc565b600960006107e56114b7565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000610813610b8a565b9050816108266108216114b7565b610b9d565b14156108595760006008600061083a6114b7565b6001600160a01b03168152602081019190915260400160002055610881565b80600860006108666114b7565b6001600160a01b031681526020810191909152604001600020555b600b54156108d857600b8054829190600019810190811061089e57fe5b906000526020600020015410156108d357600b80546001810182556000919091526000805160206121a5833981519152018190555b6108fc565b600b80546001810182556000919091526000805160206121a5833981519152018190555b61090461073c565b6000828152600a602052604081209190915561091e611799565b6016549091506001600160a01b031663db006a7561093c858461145d565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561097257600080fd5b505af1158015610986573d6000803e3d6000fd5b5050505061099b6109956114b7565b84611851565b6109b96109a66114b7565b6014546001600160a01b0316908561194d565b80156109c8576109c88161199f565b505050565b60055460ff1690565b60006107326109e36114b7565b846107ba85600160006109f46114b7565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061145d565b610a2c6114b7565b6007546001600160a01b03908116911614610a8e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600c55565b6000610aa26107d46114b7565b90508015610b8757600060096000610ab86114b7565b6001600160a01b03168152602081019190915260400160002055610ada610b8a565b60086000610ae66114b7565b6001600160a01b039081168252602082019290925260400160002091909155601254166340c10f19610b166114b7565b836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610b5d57600080fd5b505af1158015610b71573d6000803e3d6000fd5b505050506040513d60208110156109c857600080fd5b50565b4390565b6012546001600160a01b031681565b6001600160a01b031660009081526020819052604090205490565b610bc06114b7565b6007546001600160a01b03908116911614610c22576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b6007546001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107135780601f106106e857610100808354040283529160200191610713565b6000610732610ce96114b7565b846107ba8560405180606001604052806025815260200161226e6025913960016000610d136114b7565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611702565b600060086000610d526114b7565b6001600160a01b03166001600160a01b03168152602001908152602001600020541115610dab57610d846107d46114b7565b60096000610d906114b7565b6001600160a01b031681526020810191909152604001600020555b610dbc610db66114b7565b82611cae565b6000610dc6610b8a565b90508060086000610dd56114b7565b6001600160a01b03168152602081019190915260400160002055610df761073c565b6000828152600a6020526040902055600b5415610e5d57600b80548291906000198101908110610e2357fe5b90600052602060002001541015610e5857600b80546001810182556000919091526000805160206121a5833981519152018190555b610e81565b600b80546001810182556000919091526000805160206121a5833981519152018190555b610ea0610e8c6114b7565b6014546001600160a01b0316903085611d9e565b610ea8611162565b601354600d5460408051636968703360e11b81526001600160a01b0393841660048201526024810187905261ffff909216604483015251929091169163d2d0e0669160648082019260009290919082900301818387803b158015610f0b57600080fd5b505af1158015610f1f573d6000803e3d6000fd5b505050505050565b6000610732610f346114b7565b84846115a7565b6014546001600160a01b031681565b6000610f5461073c565b610f605750600061071b565b610f74610f6b61073c565b600c549061141b565b905090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610fb7610fb26108216114b7565b6107c9565b600060096000610fc56114b7565b6001600160a01b03166001600160a01b031681526020019081526020016000205411156110555761102c610ff76114b7565b600960006110036114b7565b6001600160a01b039081168252602082019290925260400160002054601254909116919061194d565b60006009600061103a6114b7565b6001600160a01b031681526020810191909152604001600020555b565b61105f6114b7565b6007546001600160a01b039081169116146110c1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166111065760405162461bcd60e51b81526004018080602001828103825260268152602001806120cd6026913960400191505060405180910390fd5b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000600d60029054906101000a90046001600160a01b03166001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156111b257600080fd5b505afa1580156111c6573d6000803e3d6000fd5b505050506040513d60208110156111dc57600080fd5b5051905090565b6000600d60029054906101000a90046001600160a01b03166001600160a01b031663ed6ff7606040518163ffffffff1660e01b815260040160206040518083038186803b1580156111b257600080fd5b8015806112b9575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561128b57600080fd5b505afa15801561129f573d6000803e3d6000fd5b505050506040513d60208110156112b557600080fd5b5051155b6112f45760405162461bcd60e51b81526004018080602001828103825260368152602001806122386036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526109c8908490611dfe565b60606113558484600085611eaf565b949350505050565b600061139f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611702565b9392505050565b6000816113b557506000610673565b600c54610736908361141b565b6000826113d157506000610736565b828202828482816113de57fe5b041461139f5760405162461bcd60e51b815260040180806020018281038252602181526020018061213b6021913960400191505060405180910390fd5b600061139f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061201c565b60008282018381101561139f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6001600160a01b0383166115005760405162461bcd60e51b81526004018080602001828103825260248152602001806121ea6024913960400191505060405180910390fd5b6001600160a01b0382166115455760405162461bcd60e51b81526004018080602001828103825260228152602001806120f36022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166115ec5760405162461bcd60e51b81526004018080602001828103825260258152602001806121c56025913960400191505060405180910390fd5b6001600160a01b0382166116315760405162461bcd60e51b81526004018080602001828103825260238152602001806120886023913960400191505060405180910390fd5b61163c8383836109c8565b61167981604051806060016040528060268152602001612115602691396001600160a01b0386166000908152602081905260409020549190611702565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546116a8908261145d565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156117915760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561175657818101518382015260200161173e565b50505050905090810190601f1680156117835780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601654604080516370a0823160e01b8152306004820152905160009283926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b1580156117e957600080fd5b505afa1580156117fd573d6000803e3d6000fd5b505050506040513d602081101561181357600080fd5b50519050600061182161073c565b9050600061182f838361135d565b9050600f5481111561184557925061071b915050565b6000935050505061071b565b6001600160a01b0382166118965760405162461bcd60e51b81526004018080602001828103825260218152602001806121846021913960400191505060405180910390fd5b6118a2826000836109c8565b6118df816040518060600160405280602281526020016120ab602291396001600160a01b0385166000908152602081905260409020549190611702565b6001600160a01b038316600090815260208190526040902055600254611905908261135d565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526109c8908490611dfe565b6040805160038082526080820190925260009160609190602082018380368337505060135482519293506001600160a01b0316918391506000906119df57fe5b6001600160a01b039283166020918202929092010152601054825191169082906001908110611a0a57fe5b6001600160a01b039283166020918202929092010152601154825191169082906002908110611a3557fe5b6001600160a01b03928316602091820292909201810191909152600e546040516338ed173960e01b815260048101878152602482018790523060648301819052426001016084840181905260a060448501908152885160a4860152885195909716966338ed1739968b968b968b96939260c490910191878201910280838360005b83811015611ace578181015183820152602001611ab6565b505050509050019650505050505050600060405180830381600087803b158015611af757600080fd5b505af1158015611b0b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611b3457600080fd5b8101908080516040519392919084640100000000821115611b5457600080fd5b908301906020820185811115611b6957600080fd5b8251866020820283011164010000000082111715611b8657600080fd5b82525081516020918201928201910280838360005b83811015611bb3578181015183820152602001611b9b565b505050509190910160408181526012546370a0823160e01b8352306004840181905291516001600160a01b039091169750639dc29fac96509094508693506370a0823192506024808301926020929190829003018186803b158015611c1757600080fd5b505afa158015611c2b573d6000803e3d6000fd5b505050506040513d6020811015611c4157600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039093166004840152602483019190915251604480830192600092919082900301818387803b158015611c9157600080fd5b505af1158015611ca5573d6000803e3d6000fd5b50505050505050565b6001600160a01b038216611d09576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611d15600083836109c8565b600254611d22908261145d565b6002556001600160a01b038216600090815260208190526040902054611d48908261145d565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611df8908590611dfe565b50505050565b6060611e53826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113469092919063ffffffff16565b8051909150156109c857808060200190516020811015611e7257600080fd5b50516109c85760405162461bcd60e51b815260040180806020018281038252602a81526020018061220e602a913960400191505060405180910390fd5b6060611eba85612081565b611f0b576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611f4a5780518252601f199092019160209182019101611f2b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611fac576040519150601f19603f3d011682016040523d82523d6000602084013e611fb1565b606091505b50915091508115611fc55791506113559050565b805115611fd55780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561175657818101518382015260200161173e565b6000818361206b5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561175657818101518382015260200161173e565b50600083858161207757fe5b0495945050505050565b3b15159056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f20616464726573730175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db945524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122092958fb5b9561fb85dd96c628ce30e23d9e2ea0bcd8ea3a7b65b126fdf85762964736f6c634300060c00335361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a85760003560e01c806370a08231116100f9578063cbdf382c11610097578063e9fad8ee11610071578063e9fad8ee1461047e578063f2fde38b14610486578063f7c1ec77146104ac578063f82ce27d146104b4576101a8565b8063cbdf382c14610440578063cd3daf9d14610448578063dd62ed3e14610450576101a8565b806395d89b41116100d357806395d89b41146103c3578063a457c2d7146103cb578063a694fc3a146103f7578063a9059cbb14610414576101a8565b806370a082311461038d578063715018a6146103b35780638da5cb5b146103bb576101a8565b80632e1a7d4d116101665780633c53c7b3116101405780633c53c7b31461036d5780633d18b9121461037557806342cbb15c1461037d5780634dcd8b8814610385576101a8565b80632e1a7d4d14610304578063313ce567146103235780633950935114610341576101a8565b80628cc262146101ad57806306a3fe59146101e557806306fdde0314610209578063095ea7b31461028657806318160ddd146102c657806323b872dd146102ce575b600080fd5b6101d3600480360360208110156101c357600080fd5b50356001600160a01b03166104bc565b60408051918252519081900360200190f35b6101ed610678565b604080516001600160a01b039092168252519081900360200190f35b610211610687565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024b578181015183820152602001610233565b50505050905090810190601f1680156102785780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b26004803603604081101561029c57600080fd5b506001600160a01b03813516906020013561071e565b604080519115158252519081900360200190f35b6101d361073c565b6102b2600480360360608110156102e457600080fd5b506001600160a01b03813581169160208101359091169060400135610742565b6103216004803603602081101561031a57600080fd5b50356107c9565b005b61032b6109cd565b6040805160ff9092168252519081900360200190f35b6102b26004803603604081101561035757600080fd5b506001600160a01b0381351690602001356109d6565b610321610a24565b610321610a95565b6101d3610b8a565b6101ed610b8e565b6101d3600480360360208110156103a357600080fd5b50356001600160a01b0316610b9d565b610321610bb8565b6101ed610c6c565b610211610c7b565b6102b2600480360360408110156103e157600080fd5b506001600160a01b038135169060200135610cdc565b6103216004803603602081101561040d57600080fd5b5035610d44565b6102b26004803603604081101561042a57600080fd5b506001600160a01b038135169060200135610f27565b6101ed610f3b565b6101d3610f4a565b6101d36004803603604081101561046657600080fd5b506001600160a01b0381358116916020013516610f79565b610321610fa4565b6103216004803603602081101561049c57600080fd5b50356001600160a01b0316611057565b6101ed611162565b6101ed6111e3565b6000806104c7610b8a565b6001600160a01b038416600090815260086020526040812054919250901561064a57600b54600019015b8015610648576000600b828154811061050657fe5b9060005260206000200154905060086000876001600160a01b03166001600160a01b0316815260200190815260200160002054600b838154811061054657fe5b9060005260206000200154101561057257506001600160a01b0385166000908152600860205260409020545b6105e06105d9670de0b6b3a76400006105d361058e888661135d565b6105cd6105c4600a6000600b8b815481106105a557fe5b90600052602060002001548152602001908152602001600020546113a6565b6105cd8d610b9d565b906113c2565b9061141b565b849061145d565b6001600160a01b038716600090815260086020526040902054600b805492955090918490811061060c57fe5b906000526020600020015410156106235750610648565b600b828154811061063057fe5b600091825260209091200154935050600019016104f1565b505b6001600160a01b03841660009081526009602052604090205461066e90829061145d565b925050505b919050565b6016546001600160a01b031681565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107135780601f106106e857610100808354040283529160200191610713565b820191906000526020600020905b8154815290600101906020018083116106f657829003601f168201915b505050505090505b90565b600061073261072b6114b7565b84846114bb565b5060015b92915050565b60025490565b600061074f8484846115a7565b6107bf8461075b6114b7565b6107ba8560405180606001604052806028815260200161215c602891396001600160a01b038a166000908152600160205260408120906107996114b7565b6001600160a01b031681526020810191909152604001600020549190611702565b6114bb565b5060019392505050565b6107d96107d46114b7565b6104bc565b600960006107e56114b7565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000610813610b8a565b9050816108266108216114b7565b610b9d565b14156108595760006008600061083a6114b7565b6001600160a01b03168152602081019190915260400160002055610881565b80600860006108666114b7565b6001600160a01b031681526020810191909152604001600020555b600b54156108d857600b8054829190600019810190811061089e57fe5b906000526020600020015410156108d357600b80546001810182556000919091526000805160206121a5833981519152018190555b6108fc565b600b80546001810182556000919091526000805160206121a5833981519152018190555b61090461073c565b6000828152600a602052604081209190915561091e611799565b6016549091506001600160a01b031663db006a7561093c858461145d565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561097257600080fd5b505af1158015610986573d6000803e3d6000fd5b5050505061099b6109956114b7565b84611851565b6109b96109a66114b7565b6014546001600160a01b0316908561194d565b80156109c8576109c88161199f565b505050565b60055460ff1690565b60006107326109e36114b7565b846107ba85600160006109f46114b7565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549061145d565b610a2c6114b7565b6007546001600160a01b03908116911614610a8e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600c55565b6000610aa26107d46114b7565b90508015610b8757600060096000610ab86114b7565b6001600160a01b03168152602081019190915260400160002055610ada610b8a565b60086000610ae66114b7565b6001600160a01b039081168252602082019290925260400160002091909155601254166340c10f19610b166114b7565b836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610b5d57600080fd5b505af1158015610b71573d6000803e3d6000fd5b505050506040513d60208110156109c857600080fd5b50565b4390565b6012546001600160a01b031681565b6001600160a01b031660009081526020819052604090205490565b610bc06114b7565b6007546001600160a01b03908116911614610c22576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b6007546001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107135780601f106106e857610100808354040283529160200191610713565b6000610732610ce96114b7565b846107ba8560405180606001604052806025815260200161226e6025913960016000610d136114b7565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611702565b600060086000610d526114b7565b6001600160a01b03166001600160a01b03168152602001908152602001600020541115610dab57610d846107d46114b7565b60096000610d906114b7565b6001600160a01b031681526020810191909152604001600020555b610dbc610db66114b7565b82611cae565b6000610dc6610b8a565b90508060086000610dd56114b7565b6001600160a01b03168152602081019190915260400160002055610df761073c565b6000828152600a6020526040902055600b5415610e5d57600b80548291906000198101908110610e2357fe5b90600052602060002001541015610e5857600b80546001810182556000919091526000805160206121a5833981519152018190555b610e81565b600b80546001810182556000919091526000805160206121a5833981519152018190555b610ea0610e8c6114b7565b6014546001600160a01b0316903085611d9e565b610ea8611162565b601354600d5460408051636968703360e11b81526001600160a01b0393841660048201526024810187905261ffff909216604483015251929091169163d2d0e0669160648082019260009290919082900301818387803b158015610f0b57600080fd5b505af1158015610f1f573d6000803e3d6000fd5b505050505050565b6000610732610f346114b7565b84846115a7565b6014546001600160a01b031681565b6000610f5461073c565b610f605750600061071b565b610f74610f6b61073c565b600c549061141b565b905090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610fb7610fb26108216114b7565b6107c9565b600060096000610fc56114b7565b6001600160a01b03166001600160a01b031681526020019081526020016000205411156110555761102c610ff76114b7565b600960006110036114b7565b6001600160a01b039081168252602082019290925260400160002054601254909116919061194d565b60006009600061103a6114b7565b6001600160a01b031681526020810191909152604001600020555b565b61105f6114b7565b6007546001600160a01b039081169116146110c1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166111065760405162461bcd60e51b81526004018080602001828103825260268152602001806120cd6026913960400191505060405180910390fd5b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000600d60029054906101000a90046001600160a01b03166001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156111b257600080fd5b505afa1580156111c6573d6000803e3d6000fd5b505050506040513d60208110156111dc57600080fd5b5051905090565b6000600d60029054906101000a90046001600160a01b03166001600160a01b031663ed6ff7606040518163ffffffff1660e01b815260040160206040518083038186803b1580156111b257600080fd5b8015806112b9575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561128b57600080fd5b505afa15801561129f573d6000803e3d6000fd5b505050506040513d60208110156112b557600080fd5b5051155b6112f45760405162461bcd60e51b81526004018080602001828103825260368152602001806122386036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526109c8908490611dfe565b60606113558484600085611eaf565b949350505050565b600061139f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611702565b9392505050565b6000816113b557506000610673565b600c54610736908361141b565b6000826113d157506000610736565b828202828482816113de57fe5b041461139f5760405162461bcd60e51b815260040180806020018281038252602181526020018061213b6021913960400191505060405180910390fd5b600061139f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061201c565b60008282018381101561139f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6001600160a01b0383166115005760405162461bcd60e51b81526004018080602001828103825260248152602001806121ea6024913960400191505060405180910390fd5b6001600160a01b0382166115455760405162461bcd60e51b81526004018080602001828103825260228152602001806120f36022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166115ec5760405162461bcd60e51b81526004018080602001828103825260258152602001806121c56025913960400191505060405180910390fd5b6001600160a01b0382166116315760405162461bcd60e51b81526004018080602001828103825260238152602001806120886023913960400191505060405180910390fd5b61163c8383836109c8565b61167981604051806060016040528060268152602001612115602691396001600160a01b0386166000908152602081905260409020549190611702565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546116a8908261145d565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156117915760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561175657818101518382015260200161173e565b50505050905090810190601f1680156117835780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b601654604080516370a0823160e01b8152306004820152905160009283926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b1580156117e957600080fd5b505afa1580156117fd573d6000803e3d6000fd5b505050506040513d602081101561181357600080fd5b50519050600061182161073c565b9050600061182f838361135d565b9050600f5481111561184557925061071b915050565b6000935050505061071b565b6001600160a01b0382166118965760405162461bcd60e51b81526004018080602001828103825260218152602001806121846021913960400191505060405180910390fd5b6118a2826000836109c8565b6118df816040518060600160405280602281526020016120ab602291396001600160a01b0385166000908152602081905260409020549190611702565b6001600160a01b038316600090815260208190526040902055600254611905908261135d565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526109c8908490611dfe565b6040805160038082526080820190925260009160609190602082018380368337505060135482519293506001600160a01b0316918391506000906119df57fe5b6001600160a01b039283166020918202929092010152601054825191169082906001908110611a0a57fe5b6001600160a01b039283166020918202929092010152601154825191169082906002908110611a3557fe5b6001600160a01b03928316602091820292909201810191909152600e546040516338ed173960e01b815260048101878152602482018790523060648301819052426001016084840181905260a060448501908152885160a4860152885195909716966338ed1739968b968b968b96939260c490910191878201910280838360005b83811015611ace578181015183820152602001611ab6565b505050509050019650505050505050600060405180830381600087803b158015611af757600080fd5b505af1158015611b0b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611b3457600080fd5b8101908080516040519392919084640100000000821115611b5457600080fd5b908301906020820185811115611b6957600080fd5b8251866020820283011164010000000082111715611b8657600080fd5b82525081516020918201928201910280838360005b83811015611bb3578181015183820152602001611b9b565b505050509190910160408181526012546370a0823160e01b8352306004840181905291516001600160a01b039091169750639dc29fac96509094508693506370a0823192506024808301926020929190829003018186803b158015611c1757600080fd5b505afa158015611c2b573d6000803e3d6000fd5b505050506040513d6020811015611c4157600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039093166004840152602483019190915251604480830192600092919082900301818387803b158015611c9157600080fd5b505af1158015611ca5573d6000803e3d6000fd5b50505050505050565b6001600160a01b038216611d09576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611d15600083836109c8565b600254611d22908261145d565b6002556001600160a01b038216600090815260208190526040902054611d48908261145d565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611df8908590611dfe565b50505050565b6060611e53826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113469092919063ffffffff16565b8051909150156109c857808060200190516020811015611e7257600080fd5b50516109c85760405162461bcd60e51b815260040180806020018281038252602a81526020018061220e602a913960400191505060405180910390fd5b6060611eba85612081565b611f0b576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611f4a5780518252601f199092019160209182019101611f2b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611fac576040519150601f19603f3d011682016040523d82523d6000602084013e611fb1565b606091505b50915091508115611fc55791506113559050565b805115611fd55780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561175657818101518382015260200161173e565b6000818361206b5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561175657818101518382015260200161173e565b50600083858161207757fe5b0495945050505050565b3b15159056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f20616464726573730175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db945524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122092958fb5b9561fb85dd96c628ce30e23d9e2ea0bcd8ea3a7b65b126fdf85762964736f6c634300060c0033

Deployed Bytecode Sourcemap

36442:5904:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40342:785;;;;;;;;;;;;;;;;-1:-1:-1;40342:785:0;-1:-1:-1;;;;;40342:785:0;;:::i;:::-;;;;;;;;;;;;;;;;37542:51;;;:::i;:::-;;;;-1:-1:-1;;;;;37542:51:0;;;;;;;;;;;;;;6663:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8769:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8769:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;7738:100;;;:::i;9412:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;9412:321:0;;;;;;;;;;;;;;;;;:::i;38635:837::-;;;;;;;;;;;;;;;;-1:-1:-1;38635:837:0;;:::i;:::-;;7590:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10142:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10142:218:0;;;;;;;;:::i;39478:66::-;;;:::i;41724:255::-;;;:::i;41989:90::-;;;:::i;37256:43::-;;;:::i;7901:119::-;;;;;;;;;;;;;;;;-1:-1:-1;7901:119:0;-1:-1:-1;;;;;7901:119:0;;:::i;19785:148::-;;;:::i;19143:79::-;;;:::i;6865:87::-;;;:::i;10863:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;10863:269:0;;;;;;;;:::i;37910:719::-;;;;;;;;;;;;;;;;-1:-1:-1;37910:719:0;;:::i;8233:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8233:175:0;;;;;;;;:::i;37395:51::-;;;:::i;41135:172::-;;;:::i;8471:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;8471:151:0;;;;;;;;;;:::i;41492:226::-;;;:::i;20088:244::-;;;;;;;;;;;;;;;;-1:-1:-1;20088:244:0;-1:-1:-1;;;;;20088:244:0;;:::i;42085:122::-;;;:::i;42215:128::-;;;:::i;40342:785::-;40396:7;40414:17;40434:16;:14;:16::i;:::-;-1:-1:-1;;;;;40504:21:0;;40459:20;40504:21;;;:12;:21;;;;;;40414:36;;-1:-1:-1;40459:20:0;40504:25;40500:537;;40567:6;:13;-1:-1:-1;;40567:15:0;40552:476;40584:3;;40552:476;;40607:18;40628:6;40635:1;40628:9;;;;;;;;;;;;;;;;40607:30;;40664:12;:21;40677:7;-1:-1:-1;;;;;40664:21:0;-1:-1:-1;;;;;40664:21:0;;;;;;;;;;;;;40654:6;40661:1;40654:9;;;;;;;;;;;;;;;;:31;40650:100;;;-1:-1:-1;;;;;;40715:21:0;;;;;;:12;:21;;;;;;40650:100;40777:122;40794:104;40893:4;40794:94;40862:25;:9;40876:10;40862:13;:25::i;:::-;40794:63;40817:39;40833:11;:22;40845:6;40852:1;40845:9;;;;;;;;;;;;;;;;40833:22;;;;;;;;;;;;40817:15;:39::i;:::-;40794:18;40804:7;40794:9;:18::i;:::-;:22;;:63::i;:94::-;:98;;:104::i;:::-;40777:12;;:16;:122::i;:::-;-1:-1:-1;;;;;40926:21:0;;;;;;:12;:21;;;;;;40916:6;:9;;40762:137;;-1:-1:-1;40926:21:0;;40923:1;;40916:9;;;;;;;;;;;;;;:31;40912:71;;;40964:5;;;40912:71;41007:6;41014:1;41007:9;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;40589:3:0;40552:476;;;;40500:537;-1:-1:-1;;;;;41104:16:0;;;;;;:7;:16;;;;;;41071:50;;:12;;:32;:50::i;:::-;41053:68;;;;40342:785;;;;:::o;37542:51::-;;;-1:-1:-1;;;;;37542:51:0;;:::o;6663:83::-;6733:5;6726:12;;;;;;;;-1:-1:-1;;6726:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6700:13;;6726:12;;6733:5;;6726:12;;6733:5;6726:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6663:83;;:::o;8769:169::-;8852:4;8869:39;8878:12;:10;:12::i;:::-;8892:7;8901:6;8869:8;:39::i;:::-;-1:-1:-1;8926:4:0;8769:169;;;;;:::o;7738:100::-;7818:12;;7738:100;:::o;9412:321::-;9518:4;9535:36;9545:6;9553:9;9564:6;9535:9;:36::i;:::-;9582:121;9591:6;9599:12;:10;:12::i;:::-;9613:89;9651:6;9613:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9613:19:0;;;;;;:11;:19;;;;;;9633:12;:10;:12::i;:::-;-1:-1:-1;;;;;9613:33:0;;;;;;;;;;;;-1:-1:-1;9613:33:0;;;:89;:37;:89::i;:::-;9582:8;:121::i;:::-;-1:-1:-1;9721:4:0;9412:321;;;;;:::o;38635:837::-;38709:20;38716:12;:10;:12::i;:::-;38709:6;:20::i;:::-;38685:7;:21;38693:12;:10;:12::i;:::-;-1:-1:-1;;;;;38685:21:0;-1:-1:-1;;;;;38685:21:0;;;;;;;;;;;;:44;;;;38740:19;38762:16;:14;:16::i;:::-;38740:38;;38818:6;38791:23;38801:12;:10;:12::i;:::-;38791:9;:23::i;:::-;:33;38787:157;;;38866:1;38837:12;:26;38850:12;:10;:12::i;:::-;-1:-1:-1;;;;;38837:26:0;;;;;;;;;;;;-1:-1:-1;38837:26:0;:30;38787:157;;;38923:11;38894:12;:26;38907:12;:10;:12::i;:::-;-1:-1:-1;;;;;38894:26:0;;;;;;;;;;;;-1:-1:-1;38894:26:0;:40;38787:157;38958:6;:13;:15;38954:186;;38990:6;38997:13;;39018:11;;38990:6;-1:-1:-1;;38997:17:0;;;38990:25;;;;;;;;;;;;;;:39;38986:94;;;39044:6;:24;;;;;;;-1:-1:-1;39044:24:0;;;;-1:-1:-1;;;;;;;;;;;39044:24:0;;;;38986:94;38954:186;;;39106:6;:24;;;;;;;-1:-1:-1;39106:24:0;;;;-1:-1:-1;;;;;;;;;;;39106:24:0;;;;38954:186;39175:13;:11;:13::i;:::-;39148:24;;;;:11;:24;;;;;:40;;;;39221:14;:12;:14::i;:::-;39244:9;;39199:36;;-1:-1:-1;;;;;;39244:9:0;:16;39261:23;:6;39199:36;39261:10;:23::i;:::-;39244:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39302:27;39308:12;:10;:12::i;:::-;39322:6;39302:5;:27::i;:::-;39346:44;39369:12;:10;:12::i;:::-;39346:9;;-1:-1:-1;;;;;39346:9:0;;39383:6;39346:22;:44::i;:::-;39403:15;;39399:68;;39433:24;39445:11;39433;:24::i;:::-;38635:837;;;:::o;7590:83::-;7656:9;;;;7590:83;:::o;10142:218::-;10230:4;10247:83;10256:12;:10;:12::i;:::-;10270:7;10279:50;10318:10;10279:11;:25;10291:12;:10;:12::i;:::-;-1:-1:-1;;;;;10279:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;10279:25:0;;;:34;;;;;;;;;;;:38;:50::i;39478:66::-;19365:12;:10;:12::i;:::-;19355:6;;-1:-1:-1;;;;;19355:6:0;;;:22;;;19347:67;;;;;-1:-1:-1;;;19347:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39537:1:::1;39523:11;:15:::0;39478:66::o;41724:255::-;41761:14;41778:20;41785:12;:10;:12::i;41778:20::-;41761:37;-1:-1:-1;41811:10:0;;41807:167;;41860:1;41836:7;:21;41844:12;:10;:12::i;:::-;-1:-1:-1;;;;;41836:21:0;;;;;;;;;;;;-1:-1:-1;41836:21:0;:25;41903:16;:14;:16::i;:::-;41874:12;:26;41887:12;:10;:12::i;:::-;-1:-1:-1;;;;;41874:26:0;;;;;;;;;;;;;;-1:-1:-1;41874:26:0;:45;;;;41932:5;;;:10;41943:12;:10;:12::i;:::-;41957:6;41932:32;;;;;;;;;;;;;-1:-1:-1;;;;;41932:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41807:167;41724:255;:::o;41989:90::-;42061:12;41989:90;:::o;37256:43::-;;;-1:-1:-1;;;;;37256:43:0;;:::o;7901:119::-;-1:-1:-1;;;;;7994:18:0;7967:7;7994:18;;;;;;;;;;;;7901:119::o;19785:148::-;19365:12;:10;:12::i;:::-;19355:6;;-1:-1:-1;;;;;19355:6:0;;;:22;;;19347:67;;;;;-1:-1:-1;;;19347:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19876:6:::1;::::0;19855:40:::1;::::0;19892:1:::1;::::0;-1:-1:-1;;;;;19876:6:0::1;::::0;19855:40:::1;::::0;19892:1;;19855:40:::1;19906:6;:19:::0;;-1:-1:-1;;;;;;19906:19:0::1;::::0;;19785:148::o;19143:79::-;19208:6;;-1:-1:-1;;;;;19208:6:0;19143:79;:::o;6865:87::-;6937:7;6930:14;;;;;;;;-1:-1:-1;;6930:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6904:13;;6930:14;;6937:7;;6930:14;;6937:7;6930:14;;;;;;;;;;;;;;;;;;;;;;;;10863:269;10956:4;10973:129;10982:12;:10;:12::i;:::-;10996:7;11005:96;11044:15;11005:96;;;;;;;;;;;;;;;;;:11;:25;11017:12;:10;:12::i;:::-;-1:-1:-1;;;;;11005:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;11005:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;37910:719::-;38000:1;37971:12;:26;37984:12;:10;:12::i;:::-;-1:-1:-1;;;;;37971:26:0;-1:-1:-1;;;;;37971:26:0;;;;;;;;;;;;;:30;37967:131;;;38068:20;38075:12;:10;:12::i;38068:20::-;38044:7;:21;38052:12;:10;:12::i;:::-;-1:-1:-1;;;;;38044:21:0;;;;;;;;;;;;-1:-1:-1;38044:21:0;:44;37967:131;38106:27;38112:12;:10;:12::i;:::-;38126:6;38106:5;:27::i;:::-;38142:19;38164:16;:14;:16::i;:::-;38142:38;;38218:11;38189:12;:26;38202:12;:10;:12::i;:::-;-1:-1:-1;;;;;38189:26:0;;;;;;;;;;;;-1:-1:-1;38189:26:0;:40;38269:13;:11;:13::i;:::-;38242:24;;;;:11;:24;;;;;:40;38295:6;:13;:15;38291:186;;38327:6;38334:13;;38355:11;;38327:6;-1:-1:-1;;38334:17:0;;;38327:25;;;;;;;;;;;;;;:39;38323:94;;;38381:6;:24;;;;;;;-1:-1:-1;38381:24:0;;;;-1:-1:-1;;;;;;;;;;;38381:24:0;;;;38323:94;38291:186;;;38443:6;:24;;;;;;;-1:-1:-1;38443:24:0;;;;-1:-1:-1;;;;;;;;;;;38443:24:0;;;;38291:186;38493:63;38520:12;:10;:12::i;:::-;38493:9;;-1:-1:-1;;;;;38493:9:0;;38542:4;38549:6;38493:26;:63::i;:::-;38570:9;:7;:9::i;:::-;38589:16;;38615:7;;38565:58;;;-1:-1:-1;;;38565:58:0;;-1:-1:-1;;;;;38589:16:0;;;38565:58;;;;;;;;;;38615:7;;;;38565:58;;;;;:23;;;;;;;:58;;;;;38589:16;;38565:58;;;;;;;;38589:16;38565:23;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37910:719;;:::o;8233:175::-;8319:4;8336:42;8346:12;:10;:12::i;:::-;8360:9;8371:6;8336:9;:42::i;37395:51::-;;;-1:-1:-1;;;;;37395:51:0;;:::o;41135:172::-;41182:7;41202:13;:11;:13::i;:::-;41198:51;;-1:-1:-1;41240:1:0;41233:8;;41198:51;41271:30;41287:13;:11;:13::i;:::-;41271:11;;;:15;:30::i;:::-;41255:46;;41135:172;:::o;8471:151::-;-1:-1:-1;;;;;8587:18:0;;;8560:7;8587:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8471:151::o;41492:226::-;41524:33;41533:23;41543:12;:10;:12::i;41533:23::-;41524:8;:33::i;:::-;41594:1;41570:7;:21;41578:12;:10;:12::i;:::-;-1:-1:-1;;;;;41570:21:0;-1:-1:-1;;;;;41570:21:0;;;;;;;;;;;;;:25;41566:147;;;41610:55;41629:12;:10;:12::i;:::-;41643:7;:21;41651:12;:10;:12::i;:::-;-1:-1:-1;;;;;41643:21:0;;;;;;;;;;;;;;-1:-1:-1;41643:21:0;;41610:5;;;;;;:55;:18;:55::i;:::-;41702:1;41678:7;:21;41686:12;:10;:12::i;:::-;-1:-1:-1;;;;;41678:21:0;;;;;;;;;;;;-1:-1:-1;41678:21:0;:25;41566:147;41492:226::o;20088:244::-;19365:12;:10;:12::i;:::-;19355:6;;-1:-1:-1;;;;;19355:6:0;;;:22;;;19347:67;;;;;-1:-1:-1;;;19347:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20177:22:0;::::1;20169:73;;;;-1:-1:-1::0;;;20169:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20279:6;::::0;20258:38:::1;::::0;-1:-1:-1;;;;;20258:38:0;;::::1;::::0;20279:6:::1;::::0;20258:38:::1;::::0;20279:6:::1;::::0;20258:38:::1;20307:6;:17:::0;;-1:-1:-1;;;;;;20307:17:0::1;-1:-1:-1::0;;;;;20307:17:0;;;::::1;::::0;;;::::1;::::0;;20088:244::o;42085:122::-;42125:7;42179:4;;;;;;;;;-1:-1:-1;;;;;42179:4:0;-1:-1:-1;;;;;42150:49:0;;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42150:51:0;;-1:-1:-1;42085:122:0;:::o;42215:128::-;42259:7;42311:4;;;;;;;;;-1:-1:-1;;;;;42311:4:0;-1:-1:-1;;;;;42282:53:0;;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34028:622;34398:10;;;34397:62;;-1:-1:-1;34414:39:0;;;-1:-1:-1;;;34414:39:0;;34438:4;34414:39;;;;-1:-1:-1;;;;;34414:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34414:39:0;:44;34397:62;34389:152;;;;-1:-1:-1;;;34389:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34579:62;;;-1:-1:-1;;;;;34579:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34579:62:0;-1:-1:-1;;;34579:62:0;;;34552:90;;34572:5;;34552:19;:90::i;30416:196::-;30519:12;30551:53;30574:6;30582:4;30588:1;30591:12;30551:22;:53::i;:::-;30544:60;30416:196;-1:-1:-1;;;;30416:196:0:o;22792:136::-;22850:7;22877:43;22881:1;22884;22877:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;22870:50;22792:136;-1:-1:-1;;;22792:136:0:o;41315:171::-;41377:7;41397:10;41393:43;;-1:-1:-1;41427:1:0;41420:8;;41393:43;41458:11;;:22;;41474:5;41458:15;:22::i;23682:471::-;23740:7;23985:6;23981:47;;-1:-1:-1;24015:1:0;24008:8;;23981:47;24052:5;;;24056:1;24052;:5;:1;24076:5;;;;;:10;24068:56;;;;-1:-1:-1;;;24068:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24629:132;24687:7;24714:39;24718:1;24721;24714:39;;;;;;;;;;;;;;;;;:3;:39::i;22328:181::-;22386:7;22418:5;;;22442:6;;;;22434:46;;;;;-1:-1:-1;;;22434:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;4185:106;4273:10;4185:106;:::o;14010:346::-;-1:-1:-1;;;;;14112:19:0;;14104:68;;;;-1:-1:-1;;;14104:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14191:21:0;;14183:68;;;;-1:-1:-1;;;14183:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14264:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14316:32;;;;;;;;;;;;;;;;;14010:346;;;:::o;11622:539::-;-1:-1:-1;;;;;11728:20:0;;11720:70;;;;-1:-1:-1;;;11720:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11809:23:0;;11801:71;;;;-1:-1:-1;;;11801:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11885:47;11906:6;11914:9;11925:6;11885:20;:47::i;:::-;11965:71;11987:6;11965:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11965:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;11945:17:0;;;:9;:17;;;;;;;;;;;:91;;;;12070:20;;;;;;;:32;;12095:6;12070:24;:32::i;:::-;-1:-1:-1;;;;;12047:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;12118:35;;;;;;;12047:20;;12118:35;;;;;;;;;;;;;11622:539;;;:::o;23231:192::-;23317:7;23353:12;23345:6;;;;23337:29;;;;-1:-1:-1;;;23337:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;23389:5:0;;;23231:192::o;39554:352::-;39640:9;;:34;;;-1:-1:-1;;;39640:34:0;;39668:4;39640:34;;;;;;39600:7;;;;-1:-1:-1;;;;;39640:9:0;;;;:19;;:34;;;;;;;;;;;;;;;:9;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39640:34:0;;-1:-1:-1;39683:22:0;39708:13;:11;:13::i;:::-;39683:38;-1:-1:-1;39730:19:0;39752:31;:11;39683:38;39752:15;:31::i;:::-;39730:53;;39811:9;;39797:11;:23;39792:109;;;39843:11;-1:-1:-1;39836:18:0;;-1:-1:-1;;39836:18:0;39792:109;39890:1;39883:8;;;;;;;13152:418;-1:-1:-1;;;;;13236:21:0;;13228:67;;;;-1:-1:-1;;;13228:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13308:49;13329:7;13346:1;13350:6;13308:20;:49::i;:::-;13391:68;13414:6;13391:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13391:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;13370:18:0;;:9;:18;;;;;;;;;;:89;13485:12;;:24;;13502:6;13485:16;:24::i;:::-;13470:12;:39;13525:37;;;;;;;;13551:1;;-1:-1:-1;;;;;13525:37:0;;;;;;;;;;;;13152:418;;:::o;33369:177::-;33479:58;;;-1:-1:-1;;;;;33479:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33479:58:0;-1:-1:-1;;;33479:58:0;;;33452:86;;33472:5;;33452:19;:86::i;39912:424::-;40028:16;;;40042:1;40028:16;;;;;;;;;39971:20;;40004:21;;40028:16;;;;40004:21;;40028:16;;;-1:-1:-1;;40063:16:0;;40053:7;;;;-1:-1:-1;;;;;;40063:16:0;;40053:7;;-1:-1:-1;40063:16:0;;40053:7;;;;-1:-1:-1;;;;;40053:26:0;;;:7;;;;;;;;;:26;40098:4;;40088:7;;40098:4;;;40088;;40098;;40088:7;;;;;;-1:-1:-1;;;;;40088:14:0;;;:7;;;;;;;;;:14;40121:12;;40111:7;;40121:12;;;40111:4;;40116:1;;40111:7;;;;;;-1:-1:-1;;;;;40111:22:0;;;:7;;;;;;;;;;:22;;;;40158:17;;40150:114;;-1:-1:-1;;;40150:114:0;;;;;;;;;;;;;;40240:4;40150:114;;;;;;40246:15;40158:17;40246;40150:114;;;;;;;;;;;;;;;;;;;;;40158:17;;;;;40150:51;;40202:11;;40214:12;;40227:4;;40150:114;;;;;;;;;;;;;;;40158:17;40150:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;40150:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40150:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;40150:114:0;;;;;;;;40273:5;;-1:-1:-1;;;40299:30:0;;40292:4;40299:30;;;;;;;;-1:-1:-1;;;;;40273:5:0;;;;-1:-1:-1;40273:10:0;;-1:-1:-1;40292:4:0;;-1:-1:-1;40273:5:0;;-1:-1:-1;40299:15:0;;-1:-1:-1;40299:30:0;;;;;;;;;;;;;;40273:5;40299:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40299:30:0;40273:57;;;-1:-1:-1;;;;;;40273:57:0;;;;;;;-1:-1:-1;;;;;40273:57:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;40273:57:0;;;;;;;-1:-1:-1;40273:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39912:424;;;:::o;12442:378::-;-1:-1:-1;;;;;12526:21:0;;12518:65;;;;;-1:-1:-1;;;12518:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12596:49;12625:1;12629:7;12638:6;12596:20;:49::i;:::-;12673:12;;:24;;12690:6;12673:16;:24::i;:::-;12658:12;:39;-1:-1:-1;;;;;12729:18:0;;:9;:18;;;;;;;;;;;:30;;12752:6;12729:22;:30::i;:::-;-1:-1:-1;;;;;12708:18:0;;:9;:18;;;;;;;;;;;:51;;;;12775:37;;;;;;;12708:18;;:9;;12775:37;;;;;;;;;;12442:378;;:::o;33554:205::-;33682:68;;;-1:-1:-1;;;;;33682:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33682:68:0;-1:-1:-1;;;33682:68:0;;;33655:96;;33675:5;;33655:19;:96::i;:::-;33554:205;;;;:::o;35674:761::-;36098:23;36124:69;36152:4;36124:69;;;;;;;;;;;;;;;;;36132:5;-1:-1:-1;;;;;36124:27:0;;;:69;;;;;:::i;:::-;36208:17;;36098:95;;-1:-1:-1;36208:21:0;36204:224;;36350:10;36339:30;;;;;;;;;;;;;;;-1:-1:-1;36339:30:0;36331:85;;;;-1:-1:-1;;;36331:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31793:979;31923:12;31956:18;31967:6;31956:10;:18::i;:::-;31948:60;;;;;-1:-1:-1;;;31948:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32082:12;32096:23;32123:6;-1:-1:-1;;;;;32123:11:0;32143:8;32154:4;32123:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;32123:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32081:78;;;;32174:7;32170:595;;;32205:10;-1:-1:-1;32198:17:0;;-1:-1:-1;32198:17:0;32170:595;32319:17;;:21;32315:439;;32582:10;32576:17;32643:15;32630:10;32626:2;32622:19;32615:44;32530:148;32718:20;;-1:-1:-1;;;32718:20:0;;;;;;;;;;;;;;;;;32725:12;;32718:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25257:278;25343:7;25378:12;25371:5;25363:28;;;;-1:-1:-1;;;25363:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25402:9;25418:1;25414;:5;;;;;;;25257:278;-1:-1:-1;;;;;25257:278:0:o;27498:422::-;27865:20;27904:8;;;27498:422::o

Swarm Source

ipfs://92958fb5b9561fb85dd96c628ce30e23d9e2ea0bcd8ea3a7b65b126fdf857629

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.