Contract 0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee3

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x4447712c45790e26e09ff5e9e92ca202840fb03ad2b86282f7783bda88710f29(pending)2021-06-16 10:52:212 secs ago0xdd3c819857537e156428468c3c925f5666ea6c34 IN 0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB(Pending)
0x871125867d0fb25c93da83727d9d32d214b379bd751e47b505457cb760cfe19583448122021-06-16 10:52:0914 secs ago0xdd3c819857537e156428468c3c925f5666ea6c34 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00061685
0xdaec6870826cb4ee49c8b6b3b9d6d67c6dd11cb06020f30d64cdc1543bedc5f283448102021-06-16 10:52:0320 secs ago0xdd3c819857537e156428468c3c925f5666ea6c34 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00061685
0xd1fb934603138f82e3944e30e64b5da5288665ea13b17d8765ef42e189fe5ace83448072021-06-16 10:51:5429 secs ago0xdd3c819857537e156428468c3c925f5666ea6c34 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00061685
0xf28f463fdd726269f8af52fc396bb6609c44ce683db8994c858ad429553d03b083448022021-06-16 10:51:3944 secs ago0x616b2b976f0a45224de0e890ba011d6e03269f38 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.000445435
0xd8174ae67ac22268dd99f82c26bb610c651ef7a5743b59deee4797dbc908e97183447992021-06-16 10:51:3053 secs ago0x164934c2a068932b83bbf81a66ff01825f2dc5e1 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00165478
0xc08be1dfbc8d58f296bc1327e82e6dac259b0595e900de3f0c0b9fb6931d072283447832021-06-16 10:50:421 min ago0x3b1ac0fd6767cfe7072990d17d4672fb99a80aeb IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.000945385
0x8bdc7ebe43146b56f0c49e291f728597108ee50f0633437e3c26bec4bdedaf2883447812021-06-16 10:50:361 min ago0x616b2b976f0a45224de0e890ba011d6e03269f38 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.000445435
0xdf7d66876b5f827ec290b945514ee10e39e903d668984f46db1b5d3df92d6e5983447762021-06-16 10:50:212 mins ago0xdd3c819857537e156428468c3c925f5666ea6c34 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00171567
0x62cf923978d7305bd8450ffd35e9bfecdc18d792f43091051770ad2bd790edf983447742021-06-16 10:50:152 mins ago0xc59ee533530d0f3b49f57676993e14d5368fa990 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00160249
0xe8ee61b81e048c6e3803bdddc0d15e036588b4bb6dc019755057a6797eae8bcd83447712021-06-16 10:50:062 mins ago0x3b1ac0fd6767cfe7072990d17d4672fb99a80aeb IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00061619
0x417762edfa579d9a40f464b242938e8525fff48a61474be44c09587e157370db83447462021-06-16 10:48:513 mins ago0x7f2eed3b419b44abb89fa83716902c5d8daad800 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00185309
0x3e8051c03a6baccefedcdfe8e50d5cfb8ed4dfb8744061c4429e78b119b0151083447442021-06-16 10:48:453 mins ago0xba6e21fb8cf930acf82fca14a9a3895aaba3ad0f IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00185309
0x0c612a29380c7abd63c8317eaebb25dc68c5087d2e6d2f8979c7ac70bf1b872783447162021-06-16 10:47:215 mins ago0x4ab666a4225da0a60b165b64793152936a251ad1 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00157536
0x333c90e597fd0e0ccc223d2b5dc808028be5b5860cc2a1cc13a3df2c6639c4ee83446792021-06-16 10:45:306 mins ago0xe2f030ce3c18c2938a6cd6a8a4b439c520431078 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00131718
0x00aade5c7c707e57fb775f7046d32fc66cadd3422c4b3d7a9b0667d0521f5d1383446342021-06-16 10:43:159 mins ago0xb93c1b79480b11c6c4df01b338b43ab2167ff8e4 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00061619
0xf335c0549a73070d0f19a1dd2be5ee859522beb5c57d8789a23b19afb4a8b7c583446302021-06-16 10:43:039 mins ago0xc709a8ad4fa52dd5bd5a09aa90b2aa48e362e8ed IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.001567125
0x2b883088d85a8b155aa6b88bce883419e2ce24b6f8a0ce754db7dc2788dc280583446242021-06-16 10:42:459 mins ago0x37b96d0a0f1f9d441cc75b0edb4a865a658321a2 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.000945385
0xf7e1e6bbdf3711ff8cdda1765eba7716421f2db44225e87e0ec75f06ca7cc41183446222021-06-16 10:42:399 mins ago0x20790bf75e2422bb8ecdce4b085d597bff311e74 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.000945385
0xfb6d57d6d24d1fa160146dbdaf9c180f66ac916b45ac2e072ecfd71c82cdb9e983446182021-06-16 10:42:279 mins ago0x20790bf75e2422bb8ecdce4b085d597bff311e74 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00061619
0xe70eed6be5be9289a00183476f0a53a32d42c73ac6de50392d1bd30112d7015383446152021-06-16 10:42:1810 mins ago0x20790bf75e2422bb8ecdce4b085d597bff311e74 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00061685
0x212dc1965a68d57aca51fb969104add8d776e6942eff340e1be3860a8877324183445772021-06-16 10:40:2411 mins ago0x923f06b18c25657f5053465aa487e083891df773 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00061685
0x0772c29877845349a6d123815ea6acf4f46ddcfed838702ee4307388d8c08c5783445682021-06-16 10:39:5712 mins ago0x7ea13487202775732636a13f3d62fd8f4ebd94a7 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00307688
0x3cc65c7a0009f33abffd99d8b425966d6052bc3c7e0e8ae64e81a2b5f6a8ae3783445232021-06-16 10:37:4214 mins ago0x4f44f87d4f8b3cb6f7f38d67cc80fe53d3964574 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.000945445
0x21cecc00ffe5862dbfae3f561378795be757237a41e543ba973d24ef7f9ff6f883445172021-06-16 10:37:2414 mins ago0x1f3bfd3097e78ac5e4714884271c176e8cffa5c0 IN  0x33adbf5f1ec364a4ea3a5ca8f310b597b8afdee30 BNB0.00185309
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NativeFarm

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-03-10
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

// import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
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;
    }
}

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;
    }
}

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
    );
}

contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/EnumerableSet.sol";
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value)
        private
        view
        returns (bool)
    {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index)
        private
        view
        returns (bytes32)
    {
        require(
            set._values.length > index,
            "EnumerableSet: index out of bounds"
        );
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value)
        internal
        returns (bool)
    {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value)
        internal
        returns (bool)
    {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index)
        internal
        view
        returns (bytes32)
    {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index)
        internal
        view
        returns (address)
    {
        return address(uint256(_at(set._inner, index)));
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value)
        internal
        returns (bool)
    {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index)
        internal
        view
        returns (uint256)
    {
        return uint256(_at(set._inner, index));
    }
}

// import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol";
abstract contract Ownable is Context {
    address private _owner;

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

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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;
    }
}

// "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ReentrancyGuard.sol";
abstract 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;
    }
}

// Mint
abstract contract NATIVEToken is ERC20 {
    function mint(address _to, uint256 _amount) public virtual;
}

// For interacting with our own strategy
interface IStrategy {
    // Total want tokens managed by strategy
    function wantLockedTotal() external view returns (uint256);

    // Sum of all shares of users to wantLockedTotal
    function sharesTotal() external view returns (uint256);

    // Main want token compounding function
    function earn() external;

    // Transfer want tokens autoFarm -> strategy
    function deposit(address _userAddress, uint256 _wantAmt)
        external
        returns (uint256);

    // Transfer want tokens strategy -> autoFarm
    function withdraw(address _userAddress, uint256 _wantAmt)
        external
        returns (uint256);

    function inCaseTokensGetStuck(
        address _token,
        uint256 _amount,
        address _to
    ) external;
}

contract NativeFarm is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Info of each user.
    struct UserInfo {
        uint256 shares; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.

        // We do some fancy math here. Basically, any point in time, the amount of AUTO
        // entitled to a user but is pending to be distributed is:
        //
        //   amount = user.shares / sharesTotal * wantLockedTotal
        //   pending reward = (amount * pool.accNATIVEPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws want tokens to a pool. Here's what happens:
        //   1. The pool's `accNATIVEPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    struct PoolInfo {
        IERC20 want; // Address of the want token.
        uint256 allocPoint; // How many allocation points assigned to this pool. NATIVE to distribute per block.
        uint256 lastRewardBlock; // Last block number that NATIVE distribution occurs.
        uint256 accNATIVEPerShare; // Accumulated NATIVE per share, times 1e12. See below.
        address strat; // Strategy address that will auto compound want tokens
    }

    // Token address
    address public NATIVE = 0xc5A49b4CBe004b6FD55B30Ba1dE6AC360FF9765d;
    // Owner reward per block: 10% ==> 11.11%
    uint256 public ownerNATIVEReward = 1111;
    // Native total supply: 2 mil = 2000000e18
    uint256 public NATIVEMaxSupply = 2000000e18;
    // Natives per block: (0.190258751902588 - owner 10%)
    uint256 public NATIVEPerBlock = 171232876712329000; // NATIVE tokens created per block
    // Approx 8/3/2021
    uint256 public startBlock = 5496000; // https://bscscan.com/block/countdown/5496000

    PoolInfo[] public poolInfo; // Info of each pool.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Info of each user that stakes LP tokens.
    uint256 public totalAllocPoint = 0; // Total allocation points. Must be the sum of all allocation points in all pools.

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do. (Only if want tokens are stored here.)
    function add(
        uint256 _allocPoint,
        IERC20 _want,
        bool _withUpdate,
        address _strat
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                want: _want,
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accNATIVEPerShare: 0,
                strat: _strat
            })
        );
    }

    // Update the given pool's NATIVE allocation point. Can only be called by the owner.
    function set(
        uint256 _pid,
        uint256 _allocPoint,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(
            _allocPoint
        );
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to)
        public
        view
        returns (uint256)
    {
        if (IERC20(NATIVE).totalSupply() >= NATIVEMaxSupply) {
            return 0;
        }
        return _to.sub(_from);
    }

    // View function to see pending AUTO on frontend.
    function pendingNATIVE(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accNATIVEPerShare = pool.accNATIVEPerShare;
        uint256 sharesTotal = IStrategy(pool.strat).sharesTotal();
        if (block.number > pool.lastRewardBlock && sharesTotal != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 NATIVEReward =
                multiplier.mul(NATIVEPerBlock)
                          .mul(pool.allocPoint)
                          .div(totalAllocPoint);
            accNATIVEPerShare = accNATIVEPerShare.add(
                NATIVEReward.mul(1e12).div(sharesTotal)
            );
        }
        return user.shares.mul(accNATIVEPerShare).div(1e12).sub(user.rewardDebt);
    }

    // View function to see staked Want tokens on frontend.
    function stakedWantTokens(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];

        uint256 sharesTotal = IStrategy(pool.strat).sharesTotal();
        uint256 wantLockedTotal =
            IStrategy(poolInfo[_pid].strat).wantLockedTotal();
        if (sharesTotal == 0) {
            return 0;
        }
        return user.shares.mul(wantLockedTotal).div(sharesTotal);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 sharesTotal = IStrategy(pool.strat).sharesTotal();
        if (sharesTotal == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        if (multiplier <= 0) {
            return;
        }
        uint256 NATIVEReward =
            multiplier.mul(NATIVEPerBlock).mul(pool.allocPoint).div(
                totalAllocPoint
            );

        NATIVEToken(NATIVE).mint(
            owner(),
            NATIVEReward.mul(ownerNATIVEReward).div(10000)
        );
        NATIVEToken(NATIVE).mint(address(this), NATIVEReward);

        pool.accNATIVEPerShare = pool.accNATIVEPerShare.add(
            NATIVEReward.mul(1e12).div(sharesTotal)
        );
        pool.lastRewardBlock = block.number;
    }

    // Want tokens moved from user -> AUTOFarm (AUTO allocation) -> Strat (compounding)
    function deposit(uint256 _pid, uint256 _wantAmt) public nonReentrant {
        updatePool(_pid);
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        if (user.shares > 0) {
            uint256 pending =
                user.shares.mul(pool.accNATIVEPerShare).div(1e12).sub(
                    user.rewardDebt
                );
            if (pending > 0) {
                safeNATIVETransfer(msg.sender, pending);
            }
        }
        if (_wantAmt > 0) {
            pool.want.safeTransferFrom(
                address(msg.sender),
                address(this),
                _wantAmt
            );

            pool.want.safeIncreaseAllowance(pool.strat, _wantAmt);
            uint256 sharesAdded =
                IStrategy(poolInfo[_pid].strat).deposit(msg.sender, _wantAmt);
            user.shares = user.shares.add(sharesAdded);
        }
        user.rewardDebt = user.shares.mul(pool.accNATIVEPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _wantAmt);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _wantAmt) public nonReentrant {
        updatePool(_pid);

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        uint256 wantLockedTotal =
            IStrategy(poolInfo[_pid].strat).wantLockedTotal();
        uint256 sharesTotal = IStrategy(poolInfo[_pid].strat).sharesTotal();

        require(user.shares > 0, "user.shares is 0");
        require(sharesTotal > 0, "sharesTotal is 0");

        // Withdraw pending AUTO
        uint256 pending =
            user.shares.mul(pool.accNATIVEPerShare).div(1e12).sub(
                user.rewardDebt
            );
        if (pending > 0) {
            safeNATIVETransfer(msg.sender, pending);
        }

        // Withdraw want tokens
        uint256 amount = user.shares.mul(wantLockedTotal).div(sharesTotal);
        if (_wantAmt > amount) {
            _wantAmt = amount;
        }
        if (_wantAmt > 0) {
            uint256 sharesRemoved =
                IStrategy(poolInfo[_pid].strat).withdraw(msg.sender, _wantAmt);

            if (sharesRemoved > user.shares) {
                user.shares = 0;
            } else {
                user.shares = user.shares.sub(sharesRemoved);
            }

            uint256 wantBal = IERC20(pool.want).balanceOf(address(this));
            if (wantBal < _wantAmt) {
                _wantAmt = wantBal;
            }
            pool.want.safeTransfer(address(msg.sender), _wantAmt);
        }
        user.rewardDebt = user.shares.mul(pool.accNATIVEPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _wantAmt);
    }

    function withdrawAll(uint256 _pid) public nonReentrant {
        withdraw(_pid, uint256(-1));
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        uint256 wantLockedTotal =
            IStrategy(poolInfo[_pid].strat).wantLockedTotal();
        uint256 sharesTotal = IStrategy(poolInfo[_pid].strat).sharesTotal();
        uint256 amount = user.shares.mul(wantLockedTotal).div(sharesTotal);

        IStrategy(poolInfo[_pid].strat).withdraw(msg.sender, amount);

        pool.want.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
        user.shares = 0;
        user.rewardDebt = 0;
    }

    // Safe AUTO transfer function, just in case if rounding error causes pool to not have enough
    function safeNATIVETransfer(address _to, uint256 _NATIVEAmt) internal {
        uint256 NATIVEBal = IERC20(NATIVE).balanceOf(address(this));
        if (_NATIVEAmt > NATIVEBal) {
            IERC20(NATIVE).transfer(_to, NATIVEBal);
        } else {
            IERC20(NATIVE).transfer(_to, _NATIVEAmt);
        }
    }

    function inCaseTokensGetStuck(address _token, uint256 _amount)
        public
        onlyOwner
    {
        require(_token != NATIVE, "!safe");
        IERC20(_token).safeTransfer(msg.sender, _amount);
    }
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","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":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"NATIVE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NATIVEMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NATIVEPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_want","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"address","name":"_strat","type":"address"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerNATIVEReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingNATIVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"want","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accNATIVEPerShare","type":"uint256"},{"internalType":"address","name":"strat","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"stakedWantTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405273c5a49b4cbe004b6fd55b30ba1de6ac360ff9765d600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506104576003556a01a784379d99db420000006004556702605764e64e7f286005556253dcc060065560006009553480156200009357600080fd5b506000620000a66200015160201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001808190555062000159565b600033905090565b61362780620001696000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063715018a6116100c35780639d4476b11161007c5780639d4476b1146105a0578063a0cf0aea146105be578063c6d758cb146105f2578063e2bbb15814610640578063f2fde38b14610678578063f85c0b74146106bc57610158565b8063715018a61461041d5780637b84daec146104275780638da5cb5b146104895780638dbb1e3a146104bd57806393f1a40b14610509578063958e2d311461057257610158565b806351eb05a61161011557806351eb05a6146102db5780635312ea8e146103095780635f70edcf14610337578063630b5ba1146103b157806364482f79146103bb5780636675f30f146103ff57610158565b8063081e3eda1461015d5780630c5df13d1461017b5780631526fe27146101dd57806317caf6f114610267578063441a3e701461028557806348cd4cb1146102bd575b600080fd5b6101656106da565b6040518082815260200191505060405180910390f35b6101c76004803603604081101561019157600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106e7565b6040518082815260200191505060405180910390f35b610209600480360360208110156101f357600080fd5b810190808035906020019092919050505061090c565b604051808673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060405180910390f35b61026f61098f565b6040518082815260200191505060405180910390f35b6102bb6004803603604081101561029b57600080fd5b810190808035906020019092919080359060200190929190505050610995565b005b6102c5611095565b6040518082815260200191505060405180910390f35b610307600480360360208110156102f157600080fd5b810190808035906020019092919050505061109b565b005b6103356004803603602081101561031f57600080fd5b81019080803590602001909291905050506113d0565b005b6103af6004803603608081101561034d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611823565b005b6103b9611a60565b005b6103fd600480360360608110156103d157600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050611a8d565b005b610407611bd7565b6040518082815260200191505060405180910390f35b610425611bdd565b005b6104736004803603604081101561043d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d63565b6040518082815260200191505060405180910390f35b610491611f8f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104f3600480360360408110156104d357600080fd5b810190808035906020019092919080359060200190929190505050611fb8565b6040518082815260200191505060405180910390f35b6105556004803603604081101561051f57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061208a565b604051808381526020018281526020019250505060405180910390f35b61059e6004803603602081101561058857600080fd5b81019080803590602001909291905050506120bb565b005b6105a8612170565b6040518082815260200191505060405180910390f35b6105c6612176565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61063e6004803603604081101561060857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061219c565b005b6106766004803603604081101561065657600080fd5b810190808035906020019092919080359060200190929190505050612357565b005b6106ba6004803603602081101561068e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612735565b005b6106c4612940565b6040518082815260200191505060405180910390f35b6000600780549050905090565b600080600784815481106106f757fe5b9060005260206000209060050201905060006008600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107d057600080fd5b505afa1580156107e4573d6000803e3d6000fd5b505050506040513d60208110156107fa57600080fd5b81019080805190602001909291905050509050836002015443118015610821575060008114155b156108bc576000610836856002015443611fb8565b9050600061087960095461086b886001015461085d6005548761294690919063ffffffff16565b61294690919063ffffffff16565b6129cc90919063ffffffff16565b90506108b76108a88461089a64e8d4a510008561294690919063ffffffff16565b6129cc90919063ffffffff16565b85612a1690919063ffffffff16565b935050505b61090083600101546108f264e8d4a510006108e486886000015461294690919063ffffffff16565b6129cc90919063ffffffff16565b612a9e90919063ffffffff16565b94505050505092915050565b6007818154811061091957fe5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905085565b60095481565b60026001541415610a0e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550610a1f8261109b565b600060078381548110610a2e57fe5b9060005260206000209060050201905060006008600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600060078581548110610aa157fe5b906000526020600020906005020160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b158015610b1857600080fd5b505afa158015610b2c573d6000803e3d6000fd5b505050506040513d6020811015610b4257600080fd5b81019080805190602001909291905050509050600060078681548110610b6457fe5b906000526020600020906005020160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610bdb57600080fd5b505afa158015610bef573d6000803e3d6000fd5b505050506040513d6020811015610c0557600080fd5b810190808051906020019092919050505090506000836000015411610c92576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f757365722e73686172657320697320300000000000000000000000000000000081525060200191505060405180910390fd5b60008111610d08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f736861726573546f74616c20697320300000000000000000000000000000000081525060200191505060405180910390fd5b6000610d528460010154610d4464e8d4a51000610d368960030154896000015461294690919063ffffffff16565b6129cc90919063ffffffff16565b612a9e90919063ffffffff16565b90506000811115610d6857610d673382612ae8565b5b6000610d9383610d8586886000015461294690919063ffffffff16565b6129cc90919063ffffffff16565b905080871115610da1578096505b6000871115610ffb57600060078981548110610db957fe5b906000526020600020906005020160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f3fef3a3338a6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610e5b57600080fd5b505af1158015610e6f573d6000803e3d6000fd5b505050506040513d6020811015610e8557600080fd5b810190808051906020019092919050505090508560000154811115610eb35760008660000181905550610ed3565b610eca818760000154612a9e90919063ffffffff16565b86600001819055505b60008760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610f6057600080fd5b505afa158015610f74573d6000803e3d6000fd5b505050506040513d6020811015610f8a57600080fd5b8101908080519060200190929190505050905088811015610fa9578098505b610ff8338a8a60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612d619092919063ffffffff16565b50505b61102d64e8d4a5100061101f8860030154886000015461294690919063ffffffff16565b6129cc90919063ffffffff16565b8560010181905550873373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568896040518082815260200191505060405180910390a3505050505050600180819055505050565b60065481565b6000600782815481106110aa57fe5b90600052602060002090600502019050806002015443116110cb57506113cd565b60008160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561113757600080fd5b505afa15801561114b573d6000803e3d6000fd5b505050506040513d602081101561116157600080fd5b81019080805190602001909291905050509050600081141561118d5743826002018190555050506113cd565b600061119d836002015443611fb8565b9050600081116111af575050506113cd565b60006111f06009546111e286600101546111d46005548761294690919063ffffffff16565b61294690919063ffffffff16565b6129cc90919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19611238611f8f565b6112616127106112536003548761294690919063ffffffff16565b6129cc90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156112b457600080fd5b505af11580156112c8573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561135f57600080fd5b505af1158015611373573d6000803e3d6000fd5b505050506113b76113a48461139664e8d4a510008561294690919063ffffffff16565b6129cc90919063ffffffff16565b8560030154612a1690919063ffffffff16565b8460030181905550438460020181905550505050505b50565b60026001541415611449576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006007828154811061146057fe5b9060005260206000209060050201905060006008600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000600784815481106114d357fe5b906000526020600020906005020160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b15801561154a57600080fd5b505afa15801561155e573d6000803e3d6000fd5b505050506040513d602081101561157457600080fd5b8101908080519060200190929190505050905060006007858154811061159657fe5b906000526020600020906005020160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561160d57600080fd5b505afa158015611621573d6000803e3d6000fd5b505050506040513d602081101561163757600080fd5b8101908080519060200190929190505050905060006116758261166785876000015461294690919063ffffffff16565b6129cc90919063ffffffff16565b90506007868154811061168457fe5b906000526020600020906005020160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f3fef3a333836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561172657600080fd5b505af115801561173a573d6000803e3d6000fd5b505050506040513d602081101561175057600080fd5b8101908080519060200190929190505050506117b133828760000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612d619092919063ffffffff16565b853373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a3600084600001819055506000846001018190555050505050506001808190555050565b61182b612e03565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146118eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b81156118fa576118f9611a60565b5b6000600654431161190d5760065461190f565b435b905061192685600954612a1690919063ffffffff16565b60098190555060076040518060a001604052808673ffffffffffffffffffffffffffffffffffffffff168152602001878152602001838152602001600081526020018473ffffffffffffffffffffffffffffffffffffffff16815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050505050565b6000600780549050905060005b81811015611a8957611a7e8161109b565b806001019050611a6d565b5050565b611a95612e03565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b55576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8015611b6457611b63611a60565b5b611ba982611b9b60078681548110611b7857fe5b906000526020600020906005020160010154600954612a9e90919063ffffffff16565b612a1690919063ffffffff16565b6009819055508160078481548110611bbd57fe5b906000526020600020906005020160010181905550505050565b60035481565b611be5612e03565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ca5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060078481548110611d7357fe5b9060005260206000209060050201905060006008600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166344a3955e6040518163ffffffff1660e01b815260040160206040518083038186803b158015611e4357600080fd5b505afa158015611e57573d6000803e3d6000fd5b505050506040513d6020811015611e6d57600080fd5b81019080805190602001909291905050509050600060078781548110611e8f57fe5b906000526020600020906005020160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b158015611f0657600080fd5b505afa158015611f1a573d6000803e3d6000fd5b505050506040513d6020811015611f3057600080fd5b810190808051906020019092919050505090506000821415611f59576000945050505050611f89565b611f8282611f7483866000015461294690919063ffffffff16565b6129cc90919063ffffffff16565b9450505050505b92915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600454600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561202557600080fd5b505afa158015612039573d6000803e3d6000fd5b505050506040513d602081101561204f57600080fd5b81019080805190602001909291905050501061206e5760009050612084565b6120818383612a9e90919063ffffffff16565b90505b92915050565b6008602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b60026001541415612134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550612166817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610995565b6001808190555050565b60045481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6121a4612e03565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612264576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612328576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260058152602001807f217361666500000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b61235333828473ffffffffffffffffffffffffffffffffffffffff16612d619092919063ffffffff16565b5050565b600260015414156123d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055506123e18261109b565b6000600783815481106123f057fe5b9060005260206000209060050201905060006008600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015411156124c35760006124ab826001015461249d64e8d4a5100061248f8760030154876000015461294690919063ffffffff16565b6129cc90919063ffffffff16565b612a9e90919063ffffffff16565b905060008111156124c1576124c03382612ae8565b5b505b600083111561269f5761251d3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612e0b909392919063ffffffff16565b6125908260040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16848460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ecc9092919063ffffffff16565b60006007858154811061259f57fe5b906000526020600020906005020160040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166347e7ef2433866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561264157600080fd5b505af1158015612655573d6000803e3d6000fd5b505050506040513d602081101561266b57600080fd5b81019080805190602001909291905050509050612695818360000154612a1690919063ffffffff16565b8260000181905550505b6126d164e8d4a510006126c38460030154846000015461294690919063ffffffff16565b6129cc90919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a35050600180819055505050565b61273d612e03565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146127fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061355b6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60055481565b60008083141561295957600090506129c6565b600082840290508284828161296a57fe5b04146129c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806135a76021913960400191505060405180910390fd5b809150505b92915050565b6000612a0e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613045565b905092915050565b600080828401905083811015612a94576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000612ae083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061310b565b905092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612b7357600080fd5b505afa158015612b87573d6000803e3d6000fd5b505050506040513d6020811015612b9d57600080fd5b8101908080519060200190929190505050905080821115612c8c57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612c4b57600080fd5b505af1158015612c5f573d6000803e3d6000fd5b505050506040513d6020811015612c7557600080fd5b810190808051906020019092919050505050612d5c565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612d1f57600080fd5b505af1158015612d33573d6000803e3d6000fd5b505050506040513d6020811015612d4957600080fd5b8101908080519060200190929190505050505b505050565b612dfe8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506131cb565b505050565b600033905090565b612ec6846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506131cb565b50505050565b6000612fa0828573ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30876040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015612f5757600080fd5b505afa158015612f6b573d6000803e3d6000fd5b505050506040513d6020811015612f8157600080fd5b8101908080519060200190929190505050612a1690919063ffffffff16565b905061303f8463095ea7b360e01b8584604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506131cb565b50505050565b600080831182906130f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156130b657808201518184015260208101905061309b565b50505050905090810190601f1680156130e35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816130fd57fe5b049050809150509392505050565b60008383111582906131b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561317d578082015181840152602081019050613162565b50505050905090810190601f1680156131aa5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b606061322d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166132ba9092919063ffffffff16565b90506000815111156132b55780806020019051602081101561324e57600080fd5b81019080805190602001909291905050506132b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806135c8602a913960400191505060405180910390fd5b5b505050565b60606132c984846000856132d2565b90509392505050565b60608247101561332d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806135816026913960400191505060405180910390fd5b6133368561347b565b6133a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106133f857805182526020820191506020810190506020830392506133d5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461345a576040519150601f19603f3d011682016040523d82523d6000602084013e61345f565b606091505b509150915061346f82828661348e565b92505050949350505050565b600080823b905060008111915050919050565b6060831561349e57829050613553565b6000835111156134b15782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156135185780820151818401526020810190506134fd565b50505050905090810190601f1680156135455780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212201267bbd6c1f7665a0d29fb2dbfcc69439e952b3ebbe55479cce8c1f0d500ba6a64736f6c634300060c0033

Deployed ByteCode Sourcemap

45252:11726:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47848:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49642:921;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47268:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47438:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;53775:1678;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47177:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51506:1032;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55633:687;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;48151:641;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51250:180;;;:::i;:::-;;48890:362;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46858:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41768:148;;;:::i;:::-;;50632:535;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41126:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;49328:251;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47323:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;55461:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46952:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46738:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;56760:215;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52635:1088;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42071:281;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47061:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47848:95;47893:7;47920:8;:15;;;;47913:22;;47848:95;:::o;49642:921::-;49744:7;49769:21;49793:8;49802:4;49793:14;;;;;;;;;;;;;;;;;;49769:38;;49818:21;49842:8;:14;49851:4;49842:14;;;;;;;;;;;:21;49857:5;49842:21;;;;;;;;;;;;;;;49818:45;;49874:25;49902:4;:22;;;49874:50;;49935:19;49967:4;:10;;;;;;;;;;;;49957:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49935:57;;50022:4;:20;;;50007:12;:35;:55;;;;;50061:1;50046:11;:16;;50007:55;50003:470;;;50079:18;50100:49;50114:4;:20;;;50136:12;50100:13;:49::i;:::-;50079:70;;50164:20;50204:128;50316:15;;50204:79;50267:4;:15;;;50204:30;50219:14;;50204:10;:14;;:30;;;;:::i;:::-;:62;;:79;;;;:::i;:::-;:111;;:128;;;;:::i;:::-;50164:168;;50367:94;50407:39;50434:11;50407:22;50424:4;50407:12;:16;;:22;;;;:::i;:::-;:26;;:39;;;;:::i;:::-;50367:17;:21;;:94;;;;:::i;:::-;50347:114;;50003:470;;;50490:65;50539:4;:15;;;50490:44;50529:4;50490:34;50506:17;50490:4;:11;;;:15;;:34;;;;:::i;:::-;:38;;:44;;;;:::i;:::-;:48;;:65;;;;:::i;:::-;50483:72;;;;;;49642:921;;;;:::o;47268:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;47438:34::-;;;;:::o;53775:1678::-;43353:1;43958:7;;:19;;43950:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43353:1;44091:7;:18;;;;53856:16:::1;53867:4;53856:10;:16::i;:::-;53885:21;53909:8;53918:4;53909:14;;;;;;;;;;;;;;;;;;53885:38;;53934:21;53958:8;:14;53967:4;53958:14;;;;;;;;;;;:26;53973:10;53958:26;;;;;;;;;;;;;;;53934:50;;53997:23;54046:8;54055:4;54046:14;;;;;;;;;;;;;;;;;;:20;;;;;;;;;;;;54036:47;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;53997:88;;54096:19;54128:8;54137:4;54128:14;;;;;;;;;;;;;;;;;;:20;;;;;;;;;;;;54118:43;;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;54096:67;;54198:1;54184:4;:11;;;:15;54176:44;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;54253:1;54239:11;:15;54231:44;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;54322:15;54353:102;54425:4;:15;;;54353:49;54397:4;54353:39;54369:4;:22;;;54353:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49;;;;:::i;:::-;:53;;:102;;;;:::i;:::-;54322:133;;54480:1;54470:7;:11;54466:83;;;54498:39;54517:10;54529:7;54498:18;:39::i;:::-;54466:83;54594:14;54611:49;54648:11;54611:32;54627:15;54611:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:49;;;;:::i;:::-;54594:66;;54686:6;54675:8;:17;54671:67;;;54720:6;54709:17;;54671:67;54763:1;54752:8;:12;54748:568;;;54781:21;54832:8;54841:4;54832:14;;;;;;;;;;;;;;;;;;:20;;;;;;;;;;;;54822:40;;;54863:10;54875:8;54822:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;54781:103;;54921:4;:11;;;54905:13;:27;54901:168;;;54967:1;54953:4;:11;;:15;;;;54901:168;;;55023:30;55039:13;55023:4;:11;;;:15;;:30;;;;:::i;:::-;55009:4;:11;;:44;;;;54901:168;55085:15;55110:4;:9;;;;;;;;;;;;55103:27;;;55139:4;55103:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;55085:60;;55174:8;55164:7;:18;55160:77;;;55214:7;55203:18;;55160:77;55251:53;55282:10;55295:8;55251:4;:9;;;;;;;;;;;;:22;;;;:53;;;;;:::i;:::-;54748:568;;;55344:49;55388:4;55344:39;55360:4;:22;;;55344:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49;;;;:::i;:::-;55326:4;:15;;:67;;;;55430:4;55418:10;55409:36;;;55436:8;55409:36;;;;;;;;;;;;;;;;;;44122:1;;;;;;43309::::0;44270:7;:22;;;;53775:1678;;:::o;47177:35::-;;;;:::o;51506:1032::-;51558:21;51582:8;51591:4;51582:14;;;;;;;;;;;;;;;;;;51558:38;;51627:4;:20;;;51611:12;:36;51607:75;;51664:7;;;51607:75;51692:19;51724:4;:10;;;;;;;;;;;;51714:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51692:57;;51779:1;51764:11;:16;51760:105;;;51820:12;51797:4;:20;;:35;;;;51847:7;;;;51760:105;51875:18;51896:49;51910:4;:20;;;51932:12;51896:13;:49::i;:::-;51875:70;;51974:1;51960:10;:15;51956:54;;51992:7;;;;;51956:54;52020:20;52056:104;52130:15;;52056:51;52091:4;:15;;;52056:30;52071:14;;52056:10;:14;;:30;;;;:::i;:::-;:34;;:51;;;;:::i;:::-;:55;;:104;;;;:::i;:::-;52020:140;;52185:6;;;;;;;;;;;52173:24;;;52212:7;:5;:7::i;:::-;52234:46;52274:5;52234:35;52251:17;;52234:12;:16;;:35;;;;:::i;:::-;:39;;:46;;;;:::i;:::-;52173:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52314:6;;;;;;;;;;;52302:24;;;52335:4;52342:12;52302:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52393:91;52434:39;52461:11;52434:22;52451:4;52434:12;:16;;:22;;;;:::i;:::-;:26;;:39;;;;:::i;:::-;52393:4;:22;;;:26;;:91;;;;:::i;:::-;52368:4;:22;;:116;;;;52518:12;52495:4;:20;;:35;;;;51506:1032;;;;;;:::o;55633:687::-;43353:1;43958:7;;:19;;43950:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43353:1;44091:7;:18;;;;55705:21:::1;55729:8;55738:4;55729:14;;;;;;;;;;;;;;;;;;55705:38;;55754:21;55778:8;:14;55787:4;55778:14;;;;;;;;;;;:26;55793:10;55778:26;;;;;;;;;;;;;;;55754:50;;55817:23;55866:8;55875:4;55866:14;;;;;;;;;;;;;;;;;;:20;;;;;;;;;;;;55856:47;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;55817:88;;55916:19;55948:8;55957:4;55948:14;;;;;;;;;;;;;;;;;;:20;;;;;;;;;;;;55938:43;;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;55916:67;;55994:14;56011:49;56048:11;56011:32;56027:15;56011:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:49;;;;:::i;:::-;55994:66;;56083:8;56092:4;56083:14;;;;;;;;;;;;;;;;;;:20;;;;;;;;;;;;56073:40;;;56114:10;56126:6;56073:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;56146:51;56177:10;56190:6;56146:4;:9;;;;;;;;;;;;:22;;;;:51;;;;;:::i;:::-;56243:4;56231:10;56213:43;;;56249:6;56213:43;;;;;;;;;;;;;;;;;;56281:1;56267:4;:11;;:15;;;;56311:1;56293:4;:15;;:19;;;;44122:1;;;;;43309::::0;44270:7;:22;;;;55633:687;:::o;48151:641::-;41348:12;:10;:12::i;:::-;41338:22;;:6;;;;;;;;;;:22;;;41330:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48308:11:::1;48304:61;;;48336:17;:15;:17::i;:::-;48304:61;48375:23;48416:10;;48401:12;:25;:53;;48444:10;;48401:53;;;48429:12;48401:53;48375:79;;48483:32;48503:11;48483:15;;:19;;:32;;;;:::i;:::-;48465:15;:50;;;;48526:8;48554:219;;;;;;;;48588:5;48554:219;;;;;;48624:11;48554:219;;;;48671:15;48554:219;;;;48724:1;48554:219;;;;48751:6;48554:219;;;;::::0;48526:258:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41408:1;48151:641:::0;;;;:::o;51250:180::-;51295:14;51312:8;:15;;;;51295:32;;51343:11;51338:85;51366:6;51360:3;:12;51338:85;;;51396:15;51407:3;51396:10;:15::i;:::-;51374:5;;;;;51338:85;;;;51250:180;:::o;48890:362::-;41348:12;:10;:12::i;:::-;41338:22;;:6;;;;;;;;;;:22;;;41330:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49022:11:::1;49018:61;;;49050:17;:15;:17::i;:::-;49018:61;49107:87;49172:11;49107:46;49127:8;49136:4;49127:14;;;;;;;;;;;;;;;;;;:25;;;49107:15;;:19;;:46;;;;:::i;:::-;:50;;:87;;;;:::i;:::-;49089:15;:105;;;;49233:11;49205:8;49214:4;49205:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;48890:362:::0;;;:::o;46858:39::-;;;;:::o;41768:148::-;41348:12;:10;:12::i;:::-;41338:22;;:6;;;;;;;;;;:22;;;41330:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41875:1:::1;41838:40;;41859:6;::::0;::::1;;;;;;;;41838:40;;;;;;;;;;;;41906:1;41889:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;41768:148::o:0;50632:535::-;50737:7;50762:21;50786:8;50795:4;50786:14;;;;;;;;;;;;;;;;;;50762:38;;50811:21;50835:8;:14;50844:4;50835:14;;;;;;;;;;;:21;50850:5;50835:21;;;;;;;;;;;;;;;50811:45;;50869:19;50901:4;:10;;;;;;;;;;;;50891:33;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50869:57;;50937:23;50986:8;50995:4;50986:14;;;;;;;;;;;;;;;;;;:20;;;;;;;;;;;;50976:47;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50937:88;;51055:1;51040:11;:16;51036:57;;;51080:1;51073:8;;;;;;;;51036:57;51110:49;51147:11;51110:32;51126:15;51110:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:49;;;;:::i;:::-;51103:56;;;;;;50632:535;;;;;:::o;41126:79::-;41164:7;41191:6;;;;;;;;;;;41184:13;;41126:79;:::o;49328:251::-;49427:7;49488:15;;49463:6;;;;;;;;;;;49456:26;;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:47;49452:88;;49527:1;49520:8;;;;49452:88;49557:14;49565:5;49557:3;:7;;:14;;;;:::i;:::-;49550:21;;49328:251;;;;;:::o;47323:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;55461:101::-;43353:1;43958:7;;:19;;43950:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43353:1;44091:7;:18;;;;55527:27:::1;55536:4;55550:2;55527:8;:27::i;:::-;43309:1:::0;44270:7;:22;;;;55461:101;:::o;46952:43::-;;;;:::o;46738:66::-;;;;;;;;;;;;;:::o;56760:215::-;41348:12;:10;:12::i;:::-;41338:22;;:6;;;;;;;;;;:22;;;41330:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56892:6:::1;;;;;;;;;;;56882:16;;:6;:16;;;;56874:34;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;56919:48;56947:10;56959:7;56926:6;56919:27;;;;:48;;;;;:::i;:::-;56760:215:::0;;:::o;52635:1088::-;43353:1;43958:7;;:19;;43950:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43353:1;44091:7;:18;;;;52715:16:::1;52726:4;52715:10;:16::i;:::-;52742:21;52766:8;52775:4;52766:14;;;;;;;;;;;;;;;;;;52742:38;;52791:21;52815:8;:14;52824:4;52815:14;;;;;;;;;;;:26;52830:10;52815:26;;;;;;;;;;;;;;;52791:50;;52872:1;52858:4;:11;;;:15;52854:298;;;52890:15;52925:110;53001:4;:15;;;52925:49;52969:4;52925:39;52941:4;:22;;;52925:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49;;;;:::i;:::-;:53;;:110;;;;:::i;:::-;52890:145;;53064:1;53054:7;:11;53050:91;;;53086:39;53105:10;53117:7;53086:18;:39::i;:::-;53050:91;52854:298;;53177:1;53166:8;:12;53162:425;;;53195:138;53248:10;53286:4;53310:8;53195:4;:9;;;;;;;;;;;;:26;;;;:138;;;;;;:::i;:::-;53350:53;53382:4;:10;;;;;;;;;;;;53394:8;53350:4;:9;;;;;;;;;;;;:31;;;;:53;;;;;:::i;:::-;53418:19;53467:8;53476:4;53467:14;;;;;;;;;;;;;;;;;;:20;;;;;;;;;;;;53457:39;;;53497:10;53509:8;53457:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;53418:100;;53547:28;53563:11;53547:4;:11;;;:15;;:28;;;;:::i;:::-;53533:4;:11;;:42;;;;53162:425;;53615:49;53659:4;53615:39;53631:4;:22;;;53615:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49;;;;:::i;:::-;53597:4;:15;;:67;;;;53700:4;53688:10;53680:35;;;53706:8;53680:35;;;;;;;;;;;;;;;;;;44122:1;;43309::::0;44270:7;:22;;;;52635:1088;;:::o;42071:281::-;41348:12;:10;:12::i;:::-;41338:22;;:6;;;;;;;;;;:22;;;41330:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42194:1:::1;42174:22;;:8;:22;;;;42152:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42307:8;42278:38;;42299:6;::::0;::::1;;;;;;;;42278:38;;;;;;;;;;;;42336:8;42327:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;42071:281:::0;:::o;47061:50::-;;;;:::o;2213:471::-;2271:7;2521:1;2516;:6;2512:47;;;2546:1;2539:8;;;;2512:47;2571:9;2587:1;2583;:5;2571:17;;2616:1;2611;2607;:5;;;;;;:10;2599:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2675:1;2668:8;;;2213:471;;;;;:::o;3160:132::-;3218:7;3245:39;3249:1;3252;3245:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3238:46;;3160:132;;;;:::o;825:181::-;883:7;903:9;919:1;915;:5;903:17;;944:1;939;:6;;931:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;997:1;990:8;;;825:181;;;;:::o;1289:136::-;1347:7;1374:43;1378:1;1381;1374:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1367:50;;1289:136;;;;:::o;56427:325::-;56508:17;56535:6;;;;;;;;;;;56528:24;;;56561:4;56528:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56508:59;;56595:9;56582:10;:22;56578:167;;;56628:6;;;;;;;;;;;56621:23;;;56645:3;56650:9;56621:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56578:167;;;56700:6;;;;;;;;;;;56693:23;;;56717:3;56722:10;56693:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56578:167;56427:325;;;:::o;27259:248::-;27376:123;27410:5;27453:23;;;27478:2;27482:5;27430:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27376:19;:123::i;:::-;27259:248;;;:::o;208:106::-;261:15;296:10;289:17;;208:106;:::o;27515:285::-;27659:133;27693:5;27736:27;;;27765:4;27771:2;27775:5;27713:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27659:19;:133::i;:::-;27515:285;;;;:::o;28784:436::-;28915:20;28951:50;28995:5;28951;:15;;;28975:4;28982:7;28951:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:43;;:50;;;;:::i;:::-;28915:86;;29012:200;29046:5;29107:22;;;29148:7;29174:12;29066:135;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29012:19;:200::i;:::-;28784:436;;;;:::o;3788:312::-;3908:7;3940:1;3936;:5;3943:12;3928:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3967:9;3983:1;3979;:5;;;;;;3967:17;;4091:1;4084:8;;;3788:312;;;;;:::o;1728:226::-;1848:7;1881:1;1876;:6;;1884:12;1868:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1908:9;1924:1;1920;:5;1908:17;;1945:1;1938:8;;;1728:226;;;;;:::o;30149:885::-;30573:23;30612:118;30658:4;30612:118;;;;;;;;;;;;;;;;;30620:5;30612:27;;;;:118;;;;;:::i;:::-;30573:157;;30765:1;30745:10;:17;:21;30741:286;;;30918:10;30907:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30881:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30741:286;30149:885;;;:::o;22255:229::-;22392:12;22424:52;22446:6;22454:4;22460:1;22463:12;22424:21;:52::i;:::-;22417:59;;22255:229;;;;;:::o;23471:621::-;23641:12;23713:5;23688:21;:30;;23666:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23803:18;23814:6;23803:10;:18::i;:::-;23795:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23929:12;23943:23;23983:6;:11;;24002:5;24009:4;23983:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23928:86;;;;24032:52;24050:7;24059:10;24071:12;24032:17;:52::i;:::-;24025:59;;;;23471:621;;;;;;:::o;19218:444::-;19278:4;19486:12;19610:7;19598:20;19590:28;;19653:1;19646:4;:8;19639:15;;;19218:444;;;:::o;26383:777::-;26533:12;26562:7;26558:595;;;26593:10;26586:17;;;;26558:595;26727:1;26707:10;:17;:21;26703:439;;;26970:10;26964:17;27031:15;27018:10;27014:2;27010:19;27003:44;26918:148;27113:12;27106:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26383:777;;;;;;:::o

Swarm Source

ipfs://1267bbd6c1f7665a0d29fb2dbfcc69439e952b3ebbe55479cce8c1f0d500ba6a
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.