ETH Price: $1,565.15 (-4.62%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DiggSett

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// Dependency file: deps/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol

// SPDX-License-Identifier: MIT

// pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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);
}


// Dependency file: deps/@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol


// pragma solidity ^0.6.0;

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


// Dependency file: deps/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol


// pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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


// Dependency file: deps/@openzeppelin/contracts-upgradeable/token/ERC20/SafeERC20Upgradeable.sol


// pragma solidity ^0.6.0;

// import "deps/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol";

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

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

    function safeTransferFrom(IERC20Upgradeable 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(IERC20Upgradeable 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(IERC20Upgradeable 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(IERC20Upgradeable 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(IERC20Upgradeable 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");
        }
    }
}


// Dependency file: deps/@openzeppelin/contracts-upgradeable/proxy/Initializable.sol


// pragma solidity >=0.4.24 <0.7.0;


/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 * 
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.
 * 
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        // extcodesize checks the size of the code stored in an address, and
        // address returns the current address. Since the code is still not
        // deployed when running a constructor, any checks on its code size will
        // yield zero, making it an effective way to detect if a contract is
        // under construction or not.
        address self = address(this);
        uint256 cs;
        // solhint-disable-next-line no-inline-assembly
        assembly { cs := extcodesize(self) }
        return cs == 0;
    }
}


// Dependency file: deps/@openzeppelin/contracts-upgradeable/GSN/ContextUpgradeable.sol


// pragma solidity ^0.6.0;
// import "deps/@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";

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

    function __Context_init_unchained() internal initializer {
    }
    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;
    }
    uint256[50] private __gap;
}


// Dependency file: deps/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol


// pragma solidity ^0.6.0;

// import "deps/@openzeppelin/contracts-upgradeable/GSN/ContextUpgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";

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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    function __ERC20_init(string memory name, string memory symbol) internal initializer {
        __Context_init_unchained();
        __ERC20_init_unchained(name, symbol);
    }

    function __ERC20_init_unchained(string memory name, string memory symbol) internal initializer {
        _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 { }
    uint256[44] private __gap;
}


// Dependency file: /Users/present/code/super-sett/interfaces/badger/IController.sol

// pragma solidity >=0.5.0 <0.8.0;

interface IController {
    function withdraw(address, uint256) external;

    function strategies(address) external view returns (address);

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

    function earn(address, uint256) external;

    function want(address) external view returns (address);

    function rewards() external view returns (address);

    function vaults(address) external view returns (address);
}


// Dependency file: /Users/present/code/super-sett/interfaces/digg/IDigg.sol

// pragma solidity >=0.5.0 <0.8.0;

interface IDigg {
    // Used for authentication
    function monetaryPolicy() external view returns (address);

    function rebaseStartTime() external view returns (uint256);

    /**
     * @param monetaryPolicy_ The address of the monetary policy contract to use for authentication.
     */
    function setMonetaryPolicy(address monetaryPolicy_) external;

    /**
     * @dev Notifies Fragments contract about a new rebase cycle.
     * @param supplyDelta The number of new fragment tokens to add into circulation via expansion.
     * @return The total number of fragments after the supply adjustment.
     */
    function rebase(uint256 epoch, int256 supplyDelta) external returns (uint256);

    /**
     * @return The total number of fragments.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @return The total number of underlying shares.
     */
    function totalShares() external view returns (uint256);

    /**
     * @param who The address to query.
     * @return The balance of the specified address.
     */
    function balanceOf(address who) external view returns (uint256);

    /**
     * @param who The address to query.
     * @return The underlying shares of the specified address.
     */
    function sharesOf(address who) external view returns (uint256);

    /**
     * @param fragments Fragment value to convert.
     * @return The underlying share value of the specified fragment amount.
     */
    function fragmentsToShares(uint256 fragments) external view returns (uint256);

    /**
     * @param shares Share value to convert.
     * @return The current fragment value of the specified underlying share amount.
     */
    function sharesToFragments(uint256 shares) external view returns (uint256);

    function scaledSharesToShares(uint256 fragments) external view returns (uint256);
    function sharesToScaledShares(uint256 shares) external view returns (uint256);

    /**
     * @dev Transfer tokens to a specified address.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     * @return True on success, false otherwise.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Function to check the amount of tokens that an owner has allowed to a spender.
     * @param owner_ The address which owns the funds.
     * @param spender The address which will spend the funds.
     * @return The number of tokens still available for the spender.
     */
    function allowance(address owner_, address spender) external view returns (uint256);

    /**
     * @dev Transfer tokens from one address to another.
     * @param from The address you want to send tokens from.
     * @param to The address you want to transfer to.
     * @param value The amount of tokens to be transferred.
     */
    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of
     * msg.sender. This method is included for ERC20 compatibility.
     * increaseAllowance and decreaseAllowance should be used instead.
     * Changing an allowance with this method brings the risk that someone may transfer both
     * the old and the new allowance - if they are both greater than zero - if a transfer
     * transaction is mined before the later approve() call is mined.
     *
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Increase the amount of tokens that an owner has allowed to a spender.
     * This method should be used instead of approve() to avoid the double approval vulnerability
     * described above.
     * @param spender The address which will spend the funds.
     * @param addedValue The amount of tokens to increase the allowance by.
     */
    function increaseAllowance(address spender, uint256 addedValue) external returns (bool);

    /**
     * @dev Decrease the amount of tokens that an owner has allowed to a spender.
     *
     * @param spender The address which will spend the funds.
     * @param subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool);
}


// Dependency file: /Users/present/code/super-sett/interfaces/digg/IDiggStrategy.sol


// pragma solidity >=0.5.0 <0.8.0;

interface IDiggStrategy {
    function want() external view returns (address);

    function deposit() external;

    // NOTE: must exclude any tokens used in the yield
    // Controller role - withdraw should return to Controller
    function withdrawOther(address) external returns (uint256 balance);

    // Controller | Vault role - withdraw should always return to Vault
    function withdraw(uint256) external;

    // Controller | Vault role - withdraw should always return to Vault
    function withdrawAll() external returns (uint256);

    function balanceOf() external view returns (uint256);

    function sharesOf() external view returns (uint256);

    function sharesOfPool() external view returns (uint256);

    function sharesOfWant() external view returns (uint256);

    function getName() external pure returns (string memory);

    function setStrategist(address _strategist) external;

    function setWithdrawalFee(uint256 _withdrawalFee) external;

    function setPerformanceFeeStrategist(uint256 _performanceFeeStrategist) external;

    function setPerformanceFeeGovernance(uint256 _performanceFeeGovernance) external;

    function setGovernance(address _governance) external;

    function setController(address _controller) external;
}


// Dependency file: deps/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol


// pragma solidity ^0.6.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        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;
    }
    uint256[49] private __gap;
}


// Dependency file: deps/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol


// pragma solidity ^0.6.0;

// import "deps/@openzeppelin/contracts-upgradeable/GSN/ContextUpgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";

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

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

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    function __Pausable_init() internal initializer {
        __Context_init_unchained();
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal initializer {
        _paused = false;
    }

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

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

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

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

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


// Dependency file: interfaces/erc20/IERC20Detailed.sol


// pragma solidity ^0.6.0;

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

    function name() external view returns (string memory);
    function symbol() external view returns (string memory);

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


// Dependency file: contracts/badger-sett/SettAccessControl.sol

// pragma solidity ^0.6.11;

// import "deps/@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";

/*
    Common base for permissioned roles throughout Sett ecosystem
*/
contract SettAccessControl is Initializable {
    address public governance;
    address public strategist;
    address public keeper;

    // ===== MODIFIERS =====
    function _onlyGovernance() internal view {
        require(msg.sender == governance, "onlyGovernance");
    }

    function _onlyGovernanceOrStrategist() internal view {
        require(msg.sender == strategist || msg.sender == governance, "onlyGovernanceOrStrategist");
    }

    function _onlyAuthorizedActors() internal view {
        require(msg.sender == keeper || msg.sender == governance, "onlyAuthorizedActors");
    }

    // ===== PERMISSIONED ACTIONS =====

    /// @notice Change strategist address
    /// @notice Can only be changed by governance itself
    function setStrategist(address _strategist) external {
        _onlyGovernance();
        strategist = _strategist;
    }

    /// @notice Change keeper address
    /// @notice Can only be changed by governance itself
    function setKeeper(address _keeper) external {
        _onlyGovernance();
        keeper = _keeper;
    }

    /// @notice Change governance address
    /// @notice Can only be changed by governance itself
    function setGovernance(address _governance) public {
        _onlyGovernance();
        governance = _governance;
    }

    uint256[50] private __gap;
}


// Dependency file: contracts/badger-sett/SettAccessControlDefended.sol

// pragma solidity ^0.6.11;

// import "contracts/badger-sett/SettAccessControl.sol";

/*
    Add ability to prevent unwanted contract access to Sett permissions
*/
contract SettAccessControlDefended is SettAccessControl {
    mapping (address => bool) public approved;

    function approveContractAccess(address account) external {
        _onlyGovernance();
        approved[account] = true;
    }

    function revokeContractAccess(address account) external {
        _onlyGovernance();
        approved[account] = false;
    }

    function _defend() internal view returns (bool) {
        require(approved[msg.sender] || msg.sender == tx.origin, "Access denied for caller");
    }
    uint256[50] private __gap;
}


// Dependency file: contracts/badger-sett/Sett.sol


// pragma solidity ^0.6.11;

// import "deps/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/token/ERC20/SafeERC20Upgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol";

// import "interfaces/badger/IController.sol";
// import "interfaces/erc20/IERC20Detailed.sol";
// import "contracts/badger-sett/SettAccessControlDefended.sol";

/* 
    Source: https://github.com/iearn-finance/yearn-protocol/blob/develop/contracts/vaults/yVault.sol
    
    Changelog:

    V1.1
    * Strategist no longer has special function calling permissions
    * Version function added to contract
    * All write functions, with the exception of transfer, are pausable
    * Keeper or governance can pause
    * Only governance can unpause

    V1.2
    * Transfer functions are now pausable along with all other non-permissioned write functions
    * All permissioned write functions, with the exception of pause() & unpause(), are pausable as well
*/

contract Sett is ERC20Upgradeable, SettAccessControlDefended, PausableUpgradeable {
    using SafeERC20Upgradeable for IERC20Upgradeable;
    using AddressUpgradeable for address;
    using SafeMathUpgradeable for uint256;

    IERC20Upgradeable public token;

    uint256 public min;
    uint256 public constant max = 10000;

    address public controller;

    mapping(address => uint256) public blockLock;

    string internal constant _defaultNamePrefix = "Badger Sett ";
    string internal constant _symbolSymbolPrefix = "b";

    address public guardian;

    event FullPricePerShareUpdated(uint256 value, uint256 indexed timestamp, uint256 indexed blockNumber);

    function initialize(
        address _token,
        address _controller,
        address _governance,
        address _keeper,
        address _guardian,
        bool _overrideTokenName,
        string memory _namePrefix,
        string memory _symbolPrefix
    ) public initializer whenNotPaused {
        IERC20Detailed namedToken = IERC20Detailed(_token);
        string memory tokenName = namedToken.name();
        string memory tokenSymbol = namedToken.symbol();

        string memory name;
        string memory symbol;

        if (_overrideTokenName) {
            name = string(abi.encodePacked(_namePrefix, tokenName));
            symbol = string(abi.encodePacked(_symbolPrefix, tokenSymbol));
        } else {
            name = string(abi.encodePacked(_defaultNamePrefix, tokenName));
            symbol = string(abi.encodePacked(_symbolSymbolPrefix, tokenSymbol));
        }

        __ERC20_init(name, symbol);

        token = IERC20Upgradeable(_token);
        governance = _governance;
        strategist = address(0);
        keeper = _keeper;
        controller = _controller;
        guardian = _guardian;

        min = 9500;

        emit FullPricePerShareUpdated(getPricePerFullShare(), now, block.number);

        // Paused on launch
        _pause();
    }

    /// ===== Modifiers =====

    function _onlyController() internal view {
        require(msg.sender == controller, "onlyController");
    }

    function _onlyAuthorizedPausers() internal view {
        require(msg.sender == guardian || msg.sender == governance, "onlyPausers");
    }

    function _blockLocked() internal view {
        require(blockLock[msg.sender] < block.number, "blockLocked");
    }

    /// ===== View Functions =====

    function version() public view returns (string memory) {
        return "1.2";
    }

    function getPricePerFullShare() public view virtual returns (uint256) {
        if (totalSupply() == 0) {
            return 1e18;
        }
        return balance().mul(1e18).div(totalSupply());
    }

    /// @notice Return the total balance of the underlying token within the system
    /// @notice Sums the balance in the Sett, the Controller, and the Strategy
    function balance() public view returns (uint256) {
        return token.balanceOf(address(this)).add(IController(controller).balanceOf(address(token)));
    }

    /// @notice Defines how much of the Setts' underlying can be borrowed by the Strategy for use
    /// @notice Custom logic in here for how much the vault allows to be borrowed
    /// @notice Sets minimum required on-hand to keep small withdrawals cheap
    function available() public view virtual returns (uint256) {
        return token.balanceOf(address(this)).mul(min).div(max);
    }

    /// ===== Public Actions =====

    /// @notice Deposit assets into the Sett, and return corresponding shares to the user
    /// @notice Only callable by EOA accounts that pass the _defend() check
    function deposit(uint256 _amount) public whenNotPaused {
        _defend();
        _blockLocked();

        _lockForBlock(msg.sender);
        _deposit(_amount);
    }

    /// @notice Convenience function: Deposit entire balance of asset into the Sett, and return corresponding shares to the user
    /// @notice Only callable by EOA accounts that pass the _defend() check
    function depositAll() external whenNotPaused {
        _defend();
        _blockLocked();

        _lockForBlock(msg.sender);
        _deposit(token.balanceOf(msg.sender));
    }

    /// @notice No rebalance implementation for lower fees and faster swaps
    function withdraw(uint256 _shares) public whenNotPaused {
        _defend();
        _blockLocked();

        _lockForBlock(msg.sender);
        _withdraw(_shares);
    }

    /// @notice Convenience function: Withdraw all shares of the sender
    function withdrawAll() external whenNotPaused {
        _defend();
        _blockLocked();

        _lockForBlock(msg.sender);
        _withdraw(balanceOf(msg.sender));
    }

    /// ===== Permissioned Actions: Governance =====

    /// @notice Set minimum threshold of underlying that must be deposited in strategy
    /// @notice Can only be changed by governance
    function setMin(uint256 _min) external whenNotPaused {
        _onlyGovernance();
        min = _min;
    }

    /// @notice Change controller address
    /// @notice Can only be changed by governance
    function setController(address _controller) public whenNotPaused {
        _onlyGovernance();
        controller = _controller;
    }

    /// @notice Change guardian address
    /// @notice Can only be changed by governance
    function setGuardian(address _guardian) external whenNotPaused {
        _onlyGovernance();
        guardian = _guardian;
    }

    /// ===== Permissioned Actions: Controller =====

    /// @notice Used to swap any borrowed reserve over the debt limit to liquidate to 'token'
    /// @notice Only controller can trigger harvests
    function harvest(address reserve, uint256 amount) external whenNotPaused {
        _onlyController();
        require(reserve != address(token), "token");
        IERC20Upgradeable(reserve).safeTransfer(controller, amount);
    }

    /// ===== Permissioned Functions: Trusted Actors =====

    /// @notice Transfer the underlying available to be claimed to the controller
    /// @notice The controller will deposit into the Strategy for yield-generating activities
    /// @notice Permissionless operation
    function earn() public whenNotPaused {
        _onlyAuthorizedActors();

        uint256 _bal = available();
        token.safeTransfer(controller, _bal);
        IController(controller).earn(address(token), _bal);
    }

    /// @dev Emit event tracking current full price per share
    /// @dev Provides a pure on-chain way of approximating APY
    function trackFullPricePerShare() external whenNotPaused {
        _onlyAuthorizedActors();
        emit FullPricePerShareUpdated(getPricePerFullShare(), now, block.number);
    }

    function pause() external {
        _onlyAuthorizedPausers();
        _pause();
    }

    function unpause() external {
        _onlyGovernance();
        _unpause();
    }

    /// ===== Internal Implementations =====

    /// @dev Calculate the number of shares to issue for a given deposit
    /// @dev This is based on the realized value of underlying assets between Sett & associated Strategy
    function _deposit(uint256 _amount) internal virtual {
        uint256 _pool = balance();
        uint256 _before = token.balanceOf(address(this));
        token.safeTransferFrom(msg.sender, address(this), _amount);
        uint256 _after = token.balanceOf(address(this));
        _amount = _after.sub(_before); // Additional check for deflationary tokens
        uint256 shares = 0;
        if (totalSupply() == 0) {
            shares = _amount;
        } else {
            shares = (_amount.mul(totalSupply())).div(_pool);
        }
        _mint(msg.sender, shares);
    }

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

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

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

    function _lockForBlock(address account) internal {
        blockLock[account] = block.number;
    }

    /// ===== ERC20 Overrides =====

    /// @dev Add blockLock to transfers, users cannot transfer tokens in the same block as a deposit or withdrawal.
    function transfer(address recipient, uint256 amount) public virtual override whenNotPaused returns (bool) {
        _blockLocked();
        return super.transfer(recipient, amount);
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override whenNotPaused returns (bool) {
        _blockLocked();
        return super.transferFrom(sender, recipient, amount);
    }
}


// Root file: contracts/badger-sett/DiggSett.sol


pragma solidity ^0.6.11;

// import "deps/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/token/ERC20/SafeERC20Upgradeable.sol";
// import "deps/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";

// import "/Users/present/code/super-sett/interfaces/badger/IController.sol";
// import "/Users/present/code/super-sett/interfaces/digg/IDigg.sol";
// import "/Users/present/code/super-sett/interfaces/digg/IDiggStrategy.sol";
// import "contracts/badger-sett/Sett.sol";

/* 
    bDIGG is denominated in scaledShares.
    At the start 1 bDIGG = 1 DIGG (at peg)

    Source: https://github.com/iearn-finance/yearn-protocol/blob/develop/contracts/vaults/yVault.sol
    
    Changelog:

    V1.1
    * Strategist no longer has special function calling permissions
    * Version function added to contract
    * All write functions, with the exception of transfer, are pausable
    * Keeper or governance can pause
    * Only governance can unpause

    V1.2
    * Transfer functions are now pausable along with all other non-permissioned write functions
    * All permissioned write functions, with the exception of pause() & unpause(), are pausable as well
*/
contract DiggSett is Sett {
    using SafeERC20Upgradeable for IERC20Upgradeable;
    using AddressUpgradeable for address;
    using SafeMathUpgradeable for uint256;

    function shares() public view returns (uint256) {
        uint256 settShares = IDigg(address(token)).sharesOf(address(this));

        /// Get the shares directly from the current digg strategy, as the controller does not have a wrapper function for digg shares
        address strategy = IController(controller).strategies(address(token));
        uint256 strategyShares = IDiggStrategy(strategy).sharesOf();

        return strategyShares.add(settShares);
    }

    function getPricePerFullShare() public override view returns (uint256) {
        if (totalSupply() == 0) {
            return 1e18;
        }
        IDigg digg = IDigg(address(token));
        uint256 scaledShares = digg.sharesToScaledShares(shares());
        return scaledShares.mul(1e18).div(totalSupply());
    }

    /// ===== Internal Implementations =====

    /// @dev Calculate the number of bDIGG shares to issue for a given deposit
    /// @dev This is based on the realized value of underlying assets between Sett & associated Strategy
    function _deposit(uint256 _amount) internal override {
        IDigg digg = IDigg(address(token));

        uint256 _poolBefore = shares(); // Shares realized in system before transfer
        uint256 _before = digg.sharesOf(address(this));

        require(digg.transferFrom(msg.sender, address(this), _amount));

        uint256 _after = digg.sharesOf(address(this));
        uint256 _sharesTransferred = _after.sub(_before); // Additional check for deflationary tokens

        uint256 bDiggToMint = 0;
        if (totalSupply() == 0) {
            bDiggToMint = digg.sharesToScaledShares(_sharesTransferred);
        } else {
            uint256 _poolBeforeScaled = digg.sharesToScaledShares(_poolBefore);
            uint256 _sharesTransferredScaled = digg.sharesToScaledShares(_sharesTransferred);
            bDiggToMint = _sharesTransferredScaled.mul(totalSupply()).div(_poolBeforeScaled);
        }

        _mint(msg.sender, bDiggToMint);
    }

    // No rebalance implementation for lower fees and faster swaps
    function _withdraw(uint256 _bDiggToBurn) internal override {
        IDigg digg = IDigg(address(token));

        // uint256 _sharesToRedeem = (shares().mul(_bDiggToBurn)).div(totalSupply());
        uint256 _sharesToRedeem = (shares().div(totalSupply())).mul(_bDiggToBurn);

        _burn(msg.sender, _bDiggToBurn);

        // Check balance
        uint256 _sharesInSett = digg.sharesOf(address(this));

        // If we don't have sufficient idle want in Sett, withdraw from Strategy
        if (_sharesInSett < _sharesToRedeem) {
            uint256 _toWithdraw = _sharesToRedeem.sub(_sharesInSett);

            // Note: This amount is scaled as a DIGG value in the withdraw function
            IController(controller).withdraw(address(token), digg.sharesToFragments(_toWithdraw));

            uint256 _sharesAfterWithdraw = digg.sharesOf(address(this));
            uint256 _diff = _sharesAfterWithdraw.sub(_sharesInSett);

            // If we are not able to get the full amount requested from the strategy due to losses, redeem what we can
            if (_diff < _toWithdraw) {
                _sharesToRedeem = _sharesInSett.add(_diff);
            }
        }

        // Transfer the corresponding number of shares, scaled to DIGG fragments, to recipient
        digg.transfer(msg.sender, digg.sharesToFragments(_sharesToRedeem));
    }
}

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"FullPricePerShareUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"approveContractAccess","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blockLock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"reserve","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_controller","type":"address"},{"internalType":"address","name":"_governance","type":"address"},{"internalType":"address","name":"_keeper","type":"address"},{"internalType":"address","name":"_guardian","type":"address"},{"internalType":"bool","name":"_overrideTokenName","type":"bool"},{"internalType":"string","name":"_namePrefix","type":"string"},{"internalType":"string","name":"_symbolPrefix","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"keeper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeContractAccess","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_guardian","type":"address"}],"name":"setGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_keeper","type":"address"}],"name":"setKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_min","type":"uint256"}],"name":"setMin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20Upgradeable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"trackFullPricePerShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506136bb806100206000396000f3fe608060405234801561001057600080fd5b506004361061027f5760003560e01c806370a082311161015c578063ab033ea9116100ce578063d8b964e611610087578063d8b964e614610816578063dd62ed3e1461083c578063de5f62681461086a578063f77c479114610872578063f88979451461087a578063fc0c546a146108825761027f565b8063ab033ea914610795578063aced1661146107bb578063b69ef8a8146107c3578063b6b55f25146107cb578063c7b9d530146107e8578063d389800f1461080e5761027f565b8063853828b611610120578063853828b6146106e15780638a0dac4a146106e957806392eefe9b1461070f57806395d89b4114610735578063a457c2d71461073d578063a9059cbb146107695761027f565b806370a082311461065f578063748747e61461068557806377c7b8fc146106ab5780637c61e865146106b35780638456cb59146106d95761027f565b80633f4ba83a116101f557806354fd4d50116101b957806354fd4d50146104b55780635aa6e675146104bd5780635c975abb146104c55780636845bc42146104cd5780636ac5db19146106315780636c361865146106395761027f565b80633f4ba83a14610478578063452a93201461048057806345dc3dd81461048857806348a0d754146104a55780634a157c7b146104ad5761027f565b80631fe4a686116102475780631fe4a6861461039157806323b872dd146103b5578063269ac051146103eb5780632e1a7d4d14610411578063313ce5671461042e578063395093511461044c5761027f565b8063018ee9b71461028457806303314efa146102b257806306fdde03146102cc578063095ea7b31461034957806318160ddd14610389575b600080fd5b6102b06004803603604081101561029a57600080fd5b506001600160a01b03813516906020013561088a565b005b6102ba610947565b60408051918252519081900360200190f35b6102d4610acd565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030e5781810151838201526020016102f6565b50505050905090810190601f16801561033b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103756004803603604081101561035f57600080fd5b506001600160a01b038135169060200135610b63565b604080519115158252519081900360200190f35b6102ba610b81565b610399610b87565b604080516001600160a01b039092168252519081900360200190f35b610375600480360360608110156103cb57600080fd5b506001600160a01b03813581169160208101359091169060400135610b96565b6102ba6004803603602081101561040157600080fd5b50356001600160a01b0316610bff565b6102b06004803603602081101561042757600080fd5b5035610c12565b610436610c83565b6040805160ff9092168252519081900360200190f35b6103756004803603604081101561046257600080fd5b506001600160a01b038135169060200135610c8c565b6102b0610cdf565b610399610cf1565b6102b06004803603602081101561049e57600080fd5b5035610d01565b6102ba610d5a565b6102b0610df5565b6102d4610e86565b610399610ea3565b610375610eb2565b6102b060048036036101008110156104e457600080fd5b6001600160a01b03823581169260208101358216926040820135831692606083013581169260808101359091169160a08201351515919081019060e0810160c0820135600160201b81111561053857600080fd5b82018360208201111561054a57600080fd5b803590602001918460018302840111600160201b8311171561056b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156105bd57600080fd5b8201836020820111156105cf57600080fd5b803590602001918460018302840111600160201b831117156105f057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ebb945050505050565b6102ba611659565b6102b06004803603602081101561064f57600080fd5b50356001600160a01b031661165f565b6102ba6004803603602081101561067557600080fd5b50356001600160a01b031661168b565b6102b06004803603602081101561069b57600080fd5b50356001600160a01b03166116a6565b6102ba6116d0565b6102b0600480360360208110156106c957600080fd5b50356001600160a01b031661178f565b6102b06117b8565b6102b06117c8565b6102b0600480360360208110156106ff57600080fd5b50356001600160a01b031661183e565b6102b06004803603602081101561072557600080fd5b50356001600160a01b03166118b4565b6102d461192a565b6103756004803603604081101561075357600080fd5b506001600160a01b03813516906020013561198b565b6103756004803603604081101561077f57600080fd5b506001600160a01b0381351690602001356119f3565b6102b0600480360360208110156107ab57600080fd5b50356001600160a01b0316611a5a565b610399611a84565b6102ba611a93565b6102b0600480360360208110156107e157600080fd5b5035611b91565b6102b0600480360360208110156107fe57600080fd5b50356001600160a01b0316611bff565b6102b0611c29565b6103756004803603602081101561082c57600080fd5b50356001600160a01b0316611d1b565b6102ba6004803603604081101561085257600080fd5b506001600160a01b0381358116916020013516611d30565b6102b0611d5b565b610399611e3d565b6102ba611e4d565b610399611e54565b60cd5460ff16156108d5576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6108dd611e63565b60ff546001600160a01b0383811691161415610928576040805162461bcd60e51b81526020600482015260056024820152643a37b5b2b760d91b604482015290519081900360640190fd5b61010154610943906001600160a01b03848116911683611eb4565b5050565b60ff5460408051633d7ad0b760e21b8152306004820152905160009283926001600160a01b039091169163f5eb42dc91602480820192602092909190829003018186803b15801561099757600080fd5b505afa1580156109ab573d6000803e3d6000fd5b505050506040513d60208110156109c157600080fd5b50516101015460ff54604080516339ebf82360e01b81526001600160a01b039283166004820152905193945060009391909216916339ebf823916024808301926020929190829003018186803b158015610a1a57600080fd5b505afa158015610a2e573d6000803e3d6000fd5b505050506040513d6020811015610a4457600080fd5b505160408051633fc8303960e11b815290519192506000916001600160a01b03841691637f906072916004808301926020929190829003018186803b158015610a8c57600080fd5b505afa158015610aa0573d6000803e3d6000fd5b505050506040513d6020811015610ab657600080fd5b50519050610ac48184611f0b565b93505050505b90565b60368054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b595780601f10610b2e57610100808354040283529160200191610b59565b820191906000526020600020905b815481529060010190602001808311610b3c57829003601f168201915b5050505050905090565b6000610b77610b70611f65565b8484611f69565b5060015b92915050565b60355490565b6066546001600160a01b031681565b60cd5460009060ff1615610be4576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610bec612055565b610bf78484846120a7565b949350505050565b6101026020526000908152604090205481565b60cd5460ff1615610c5d576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610c65612129565b50610c6e612055565b610c7733612197565b610c80816121b4565b50565b60385460ff1690565b6000610b77610c99611f65565b84610cda8560346000610caa611f65565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611f0b565b611f69565b610ce7612512565b610cef612562565b565b610103546001600160a01b031681565b60cd5460ff1615610d4c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610d54612512565b61010055565b6101005460ff54604080516370a0823160e01b81523060048201529051600093610df09361271093610dea936001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610db857600080fd5b505afa158015610dcc573d6000803e3d6000fd5b505050506040513d6020811015610de257600080fd5b505190612600565b90612659565b905090565b60cd5460ff1615610e40576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610e4861269b565b43427ffd60e70298d1c5272d3164dec70c527f1c64556cf7ca2dc10bdc753143ffc45b610e736116d0565b60408051918252519081900360200190a3565b60408051808201909152600381526218971960e91b602082015290565b6065546001600160a01b031681565b60cd5460ff1690565b600054610100900460ff1680610ed45750610ed4612706565b80610ee2575060005460ff16155b610f1d5760405162461bcd60e51b815260040180806020018281038252602e815260200180613556602e913960400191505060405180910390fd5b600054610100900460ff16158015610f48576000805460ff1961ff0019909116610100171660011790555b60cd5460ff1615610f93576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60008990506060816001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015610fd357600080fd5b505afa158015610fe7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561101057600080fd5b8101908080516040519392919084600160201b82111561102f57600080fd5b90830190602082018581111561104457600080fd5b8251600160201b81118282018810171561105d57600080fd5b82525081516020918201929091019080838360005b8381101561108a578181015183820152602001611072565b50505050905090810190601f1680156110b75780820380516001836020036101000a031916815260200191505b5060405250505090506060826001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156110fb57600080fd5b505afa15801561110f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561113857600080fd5b8101908080516040519392919084600160201b82111561115757600080fd5b90830190602082018581111561116c57600080fd5b8251600160201b81118282018810171561118557600080fd5b82525081516020918201929091019080838360005b838110156111b257818101518382015260200161119a565b50505050905090810190601f1680156111df5780820380516001836020036101000a031916815260200191505b506040525050509050606080881561135c5787846040516020018083805190602001908083835b602083106112255780518252601f199092019160209182019101611206565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b6020831061126d5780518252601f19909201916020918201910161124e565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915086836040516020018083805190602001908083835b602083106112d85780518252601f1990920191602091820191016112b9565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106113205780518252601f199092019160209182019101611301565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405290506114f2565b6040518060400160405280600c81526020016b02130b233b2b91029b2ba3a160a51b815250846040516020018083805190602001908083835b602083106113b45780518252601f199092019160209182019101611395565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106113fc5780518252601f1990920191602091820191016113dd565b51815160209384036101000a60001901801990921691161790526040805192909401828103601f1901835280850185526001808252603160f91b8284019081529551939a509097508a965091019350839291508083835b602083106114725780518252601f199092019160209182019101611453565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106114ba5780518252601f19909201916020918201910161149b565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405290505b6114fc828261270c565b8d60ff60006101000a8154816001600160a01b0302191690836001600160a01b031602179055508b606560006101000a8154816001600160a01b0302191690836001600160a01b031602179055506000606660006101000a8154816001600160a01b0302191690836001600160a01b031602179055508a606760006101000a8154816001600160a01b0302191690836001600160a01b031602179055508c61010160006101000a8154816001600160a01b0302191690836001600160a01b031602179055508961010360006101000a8154816001600160a01b0302191690836001600160a01b0316021790555061251c6101008190555043427ffd60e70298d1c5272d3164dec70c527f1c64556cf7ca2dc10bdc753143ffc45b61161e6116d0565b60408051918252519081900360200190a36116376127c1565b5050505050801561164e576000805461ff00191690555b505050505050505050565b61271081565b611667612512565b6001600160a01b03166000908152609a60205260409020805460ff19166001179055565b6001600160a01b031660009081526033602052604090205490565b6116ae612512565b606780546001600160a01b0319166001600160a01b0392909216919091179055565b60006116da610b81565b6116ed5750670de0b6b3a7640000610aca565b60ff546001600160a01b0316600081636fafb236611709610947565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561173d57600080fd5b505afa158015611751573d6000803e3d6000fd5b505050506040513d602081101561176757600080fd5b50519050611788611776610b81565b610dea83670de0b6b3a7640000612600565b9250505090565b611797612512565b6001600160a01b03166000908152609a60205260409020805460ff19169055565b6117c0612842565b610cef6127c1565b60cd5460ff1615611813576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61181b612129565b50611824612055565b61182d33612197565b610cef6118393361168b565b6121b4565b60cd5460ff1615611889576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611891612512565b61010380546001600160a01b0319166001600160a01b0392909216919091179055565b60cd5460ff16156118ff576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611907612512565b61010180546001600160a01b0319166001600160a01b0392909216919091179055565b60378054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b595780601f10610b2e57610100808354040283529160200191610b59565b6000610b77611998611f65565b84610cda8560405180606001604052806025815260200161366160259139603460006119c2611f65565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906128a5565b60cd5460009060ff1615611a41576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611a49612055565b611a53838361293c565b9392505050565b611a62612512565b606580546001600160a01b0319166001600160a01b0392909216919091179055565b6067546001600160a01b031681565b6101015460ff54604080516370a0823160e01b81526001600160a01b0392831660048201529051600093610df09316916370a08231916024808301926020929190829003018186803b158015611ae857600080fd5b505afa158015611afc573d6000803e3d6000fd5b505050506040513d6020811015611b1257600080fd5b505160ff54604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611b5f57600080fd5b505afa158015611b73573d6000803e3d6000fd5b505050506040513d6020811015611b8957600080fd5b505190611f0b565b60cd5460ff1615611bdc576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611be4612129565b50611bed612055565b611bf633612197565b610c8081612950565b611c07612512565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b60cd5460ff1615611c74576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611c7c61269b565b6000611c86610d5a565b6101015460ff54919250611ca7916001600160a01b03908116911683611eb4565b6101015460ff546040805163b02bf4b960e01b81526001600160a01b039283166004820152602481018590529051919092169163b02bf4b991604480830192600092919082900301818387803b158015611d0057600080fd5b505af1158015611d14573d6000803e3d6000fd5b5050505050565b609a6020526000908152604090205460ff1681565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b60cd5460ff1615611da6576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611dae612129565b50611db7612055565b611dc033612197565b60ff54604080516370a0823160e01b81523360048201529051610cef926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611e0c57600080fd5b505afa158015611e20573d6000803e3d6000fd5b505050506040513d6020811015611e3657600080fd5b5051612950565b610101546001600160a01b031681565b6101005481565b60ff546001600160a01b031681565b610101546001600160a01b03163314610cef576040805162461bcd60e51b815260206004820152600e60248201526d37b7363ca1b7b73a3937b63632b960911b604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611f06908490612c9c565b505050565b600082820183811015611a53576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6001600160a01b038316611fae5760405162461bcd60e51b81526004018080602001828103825260248152602001806136136024913960400191505060405180910390fd5b6001600160a01b038216611ff35760405162461bcd60e51b815260040180806020018281038252602281526020018061350e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b33600090815261010260205260409020544311610cef576040805162461bcd60e51b815260206004820152600b60248201526a189b1bd8dad31bd8dad95960aa1b604482015290519081900360640190fd5b60006120b4848484612d4d565b61211f846120c0611f65565b610cda856040518060600160405280602881526020016135a5602891396001600160a01b038a166000908152603460205260408120906120fe611f65565b6001600160a01b0316815260208101919091526040016000205491906128a5565b5060019392505050565b336000908152609a602052604081205460ff168061214657503332145b610aca576040805162461bcd60e51b815260206004820152601860248201527f4163636573732064656e69656420666f722063616c6c65720000000000000000604482015290519081900360640190fd5b6001600160a01b0316600090815261010260205260409020439055565b60ff546001600160a01b031660006121df836121d96121d1610b81565b610dea610947565b90612600565b90506121eb3384612eaa565b6000826001600160a01b031663f5eb42dc306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561223a57600080fd5b505afa15801561224e573d6000803e3d6000fd5b505050506040513d602081101561226457600080fd5b505190508181101561241157600061227c8383612fa6565b6101015460ff5460408051635d2dde1d60e01b81526004810185905290519394506001600160a01b039283169363f3fef3a39392831692891691635d2dde1d916024808301926020929190829003018186803b1580156122db57600080fd5b505afa1580156122ef573d6000803e3d6000fd5b505050506040513d602081101561230557600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039093166004840152602483019190915251604480830192600092919082900301818387803b15801561235557600080fd5b505af1158015612369573d6000803e3d6000fd5b505050506000846001600160a01b031663f5eb42dc306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156123bc57600080fd5b505afa1580156123d0573d6000803e3d6000fd5b505050506040513d60208110156123e657600080fd5b5051905060006123f68285612fa6565b90508281101561240d5761240a8482611f0b565b94505b5050505b826001600160a01b031663a9059cbb33856001600160a01b0316635d2dde1d866040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561246557600080fd5b505afa158015612479573d6000803e3d6000fd5b505050506040513d602081101561248f57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156124e057600080fd5b505af11580156124f4573d6000803e3d6000fd5b505050506040513d602081101561250a57600080fd5b505050505050565b6065546001600160a01b03163314610cef576040805162461bcd60e51b815260206004820152600e60248201526d6f6e6c79476f7665726e616e636560901b604482015290519081900360640190fd5b60cd5460ff166125b0576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b60cd805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6125e3611f65565b604080516001600160a01b039092168252519081900360200190a1565b60008261260f57506000610b7b565b8282028284828161261c57fe5b0414611a535760405162461bcd60e51b81526004018080602001828103825260218152602001806135846021913960400191505060405180910390fd5b6000611a5383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612fe8565b6067546001600160a01b03163314806126be57506065546001600160a01b031633145b610cef576040805162461bcd60e51b81526020600482015260146024820152736f6e6c79417574686f72697a65644163746f727360601b604482015290519081900360640190fd5b303b1590565b600054610100900460ff16806127255750612725612706565b80612733575060005460ff16155b61276e5760405162461bcd60e51b815260040180806020018281038252602e815260200180613556602e913960400191505060405180910390fd5b600054610100900460ff16158015612799576000805460ff1961ff0019909116610100171660011790555b6127a161304d565b6127ab83836130ee565b8015611f06576000805461ff0019169055505050565b60cd5460ff161561280c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60cd805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125e3611f65565b610103546001600160a01b031633148061286657506065546001600160a01b031633145b610cef576040805162461bcd60e51b815260206004820152600b60248201526a6f6e6c795061757365727360a81b604482015290519081900360640190fd5b600081848411156129345760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156128f95781810151838201526020016128e1565b50505050905090810190601f1680156129265780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000610b77612949611f65565b8484612d4d565b60ff546001600160a01b03166000612966610947565b90506000826001600160a01b031663f5eb42dc306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156129b757600080fd5b505afa1580156129cb573d6000803e3d6000fd5b505050506040513d60208110156129e157600080fd5b5051604080516323b872dd60e01b81523360048201523060248201526044810187905290519192506001600160a01b038516916323b872dd916064808201926020929091908290030181600087803b158015612a3c57600080fd5b505af1158015612a50573d6000803e3d6000fd5b505050506040513d6020811015612a6657600080fd5b5051612a7157600080fd5b6000836001600160a01b031663f5eb42dc306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612ac057600080fd5b505afa158015612ad4573d6000803e3d6000fd5b505050506040513d6020811015612aea57600080fd5b505190506000612afa8284612fa6565b90506000612b06610b81565b612b8157856001600160a01b0316636fafb236836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612b4e57600080fd5b505afa158015612b62573d6000803e3d6000fd5b505050506040513d6020811015612b7857600080fd5b50519050612c89565b6000866001600160a01b0316636fafb236876040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612bc757600080fd5b505afa158015612bdb573d6000803e3d6000fd5b505050506040513d6020811015612bf157600080fd5b5051604080516337d7d91b60e11b81526004810186905290519192506000916001600160a01b038a1691636fafb236916024808301926020929190829003018186803b158015612c4057600080fd5b505afa158015612c54573d6000803e3d6000fd5b505050506040513d6020811015612c6a57600080fd5b50519050612c8482610dea612c7d610b81565b8490612600565b925050505b612c9333826131c6565b50505050505050565b6060612cf1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166132b89092919063ffffffff16565b805190915015611f0657808060200190516020811015612d1057600080fd5b5051611f065760405162461bcd60e51b815260040180806020018281038252602a815260200180613637602a913960400191505060405180910390fd5b6001600160a01b038316612d925760405162461bcd60e51b81526004018080602001828103825260258152602001806135ee6025913960400191505060405180910390fd5b6001600160a01b038216612dd75760405162461bcd60e51b81526004018080602001828103825260238152602001806134c96023913960400191505060405180910390fd5b612de2838383611f06565b612e1f81604051806060016040528060268152602001613530602691396001600160a01b03861660009081526033602052604090205491906128a5565b6001600160a01b038085166000908152603360205260408082209390935590841681522054612e4e9082611f0b565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6001600160a01b038216612eef5760405162461bcd60e51b81526004018080602001828103825260218152602001806135cd6021913960400191505060405180910390fd5b612efb82600083611f06565b612f38816040518060600160405280602281526020016134ec602291396001600160a01b03851660009081526033602052604090205491906128a5565b6001600160a01b038316600090815260336020526040902055603554612f5e9082612fa6565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000611a5383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506128a5565b600081836130375760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156128f95781810151838201526020016128e1565b50600083858161304357fe5b0495945050505050565b600054610100900460ff16806130665750613066612706565b80613074575060005460ff16155b6130af5760405162461bcd60e51b815260040180806020018281038252602e815260200180613556602e913960400191505060405180910390fd5b600054610100900460ff161580156130da576000805460ff1961ff0019909116610100171660011790555b8015610c80576000805461ff001916905550565b600054610100900460ff16806131075750613107612706565b80613115575060005460ff16155b6131505760405162461bcd60e51b815260040180806020018281038252602e815260200180613556602e913960400191505060405180910390fd5b600054610100900460ff1615801561317b576000805460ff1961ff0019909116610100171660011790555b825161318e906036906020860190613435565b5081516131a2906037906020850190613435565b506038805460ff191660121790558015611f06576000805461ff0019169055505050565b6001600160a01b038216613221576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61322d60008383611f06565b60355461323a9082611f0b565b6035556001600160a01b0382166000908152603360205260409020546132609082611f0b565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6060610bf7848460008560606132cd8561342f565b61331e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061335d5780518252601f19909201916020918201910161333e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146133bf576040519150601f19603f3d011682016040523d82523d6000602084013e6133c4565b606091505b509150915081156133d8579150610bf79050565b8051156133e85780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156128f95781810151838201526020016128e1565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061347657805160ff19168380011785556134a3565b828001600101855582156134a3579182015b828111156134a3578251825591602001919060010190613488565b506134af9291506134b3565b5090565b5b808211156134af57600081556001016134b456fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208ef1599ff7aa77ea0b468eaa65d684476adc93422f4c70351778757238eb73a964736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061027f5760003560e01c806370a082311161015c578063ab033ea9116100ce578063d8b964e611610087578063d8b964e614610816578063dd62ed3e1461083c578063de5f62681461086a578063f77c479114610872578063f88979451461087a578063fc0c546a146108825761027f565b8063ab033ea914610795578063aced1661146107bb578063b69ef8a8146107c3578063b6b55f25146107cb578063c7b9d530146107e8578063d389800f1461080e5761027f565b8063853828b611610120578063853828b6146106e15780638a0dac4a146106e957806392eefe9b1461070f57806395d89b4114610735578063a457c2d71461073d578063a9059cbb146107695761027f565b806370a082311461065f578063748747e61461068557806377c7b8fc146106ab5780637c61e865146106b35780638456cb59146106d95761027f565b80633f4ba83a116101f557806354fd4d50116101b957806354fd4d50146104b55780635aa6e675146104bd5780635c975abb146104c55780636845bc42146104cd5780636ac5db19146106315780636c361865146106395761027f565b80633f4ba83a14610478578063452a93201461048057806345dc3dd81461048857806348a0d754146104a55780634a157c7b146104ad5761027f565b80631fe4a686116102475780631fe4a6861461039157806323b872dd146103b5578063269ac051146103eb5780632e1a7d4d14610411578063313ce5671461042e578063395093511461044c5761027f565b8063018ee9b71461028457806303314efa146102b257806306fdde03146102cc578063095ea7b31461034957806318160ddd14610389575b600080fd5b6102b06004803603604081101561029a57600080fd5b506001600160a01b03813516906020013561088a565b005b6102ba610947565b60408051918252519081900360200190f35b6102d4610acd565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030e5781810151838201526020016102f6565b50505050905090810190601f16801561033b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103756004803603604081101561035f57600080fd5b506001600160a01b038135169060200135610b63565b604080519115158252519081900360200190f35b6102ba610b81565b610399610b87565b604080516001600160a01b039092168252519081900360200190f35b610375600480360360608110156103cb57600080fd5b506001600160a01b03813581169160208101359091169060400135610b96565b6102ba6004803603602081101561040157600080fd5b50356001600160a01b0316610bff565b6102b06004803603602081101561042757600080fd5b5035610c12565b610436610c83565b6040805160ff9092168252519081900360200190f35b6103756004803603604081101561046257600080fd5b506001600160a01b038135169060200135610c8c565b6102b0610cdf565b610399610cf1565b6102b06004803603602081101561049e57600080fd5b5035610d01565b6102ba610d5a565b6102b0610df5565b6102d4610e86565b610399610ea3565b610375610eb2565b6102b060048036036101008110156104e457600080fd5b6001600160a01b03823581169260208101358216926040820135831692606083013581169260808101359091169160a08201351515919081019060e0810160c0820135600160201b81111561053857600080fd5b82018360208201111561054a57600080fd5b803590602001918460018302840111600160201b8311171561056b57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b8111156105bd57600080fd5b8201836020820111156105cf57600080fd5b803590602001918460018302840111600160201b831117156105f057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ebb945050505050565b6102ba611659565b6102b06004803603602081101561064f57600080fd5b50356001600160a01b031661165f565b6102ba6004803603602081101561067557600080fd5b50356001600160a01b031661168b565b6102b06004803603602081101561069b57600080fd5b50356001600160a01b03166116a6565b6102ba6116d0565b6102b0600480360360208110156106c957600080fd5b50356001600160a01b031661178f565b6102b06117b8565b6102b06117c8565b6102b0600480360360208110156106ff57600080fd5b50356001600160a01b031661183e565b6102b06004803603602081101561072557600080fd5b50356001600160a01b03166118b4565b6102d461192a565b6103756004803603604081101561075357600080fd5b506001600160a01b03813516906020013561198b565b6103756004803603604081101561077f57600080fd5b506001600160a01b0381351690602001356119f3565b6102b0600480360360208110156107ab57600080fd5b50356001600160a01b0316611a5a565b610399611a84565b6102ba611a93565b6102b0600480360360208110156107e157600080fd5b5035611b91565b6102b0600480360360208110156107fe57600080fd5b50356001600160a01b0316611bff565b6102b0611c29565b6103756004803603602081101561082c57600080fd5b50356001600160a01b0316611d1b565b6102ba6004803603604081101561085257600080fd5b506001600160a01b0381358116916020013516611d30565b6102b0611d5b565b610399611e3d565b6102ba611e4d565b610399611e54565b60cd5460ff16156108d5576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6108dd611e63565b60ff546001600160a01b0383811691161415610928576040805162461bcd60e51b81526020600482015260056024820152643a37b5b2b760d91b604482015290519081900360640190fd5b61010154610943906001600160a01b03848116911683611eb4565b5050565b60ff5460408051633d7ad0b760e21b8152306004820152905160009283926001600160a01b039091169163f5eb42dc91602480820192602092909190829003018186803b15801561099757600080fd5b505afa1580156109ab573d6000803e3d6000fd5b505050506040513d60208110156109c157600080fd5b50516101015460ff54604080516339ebf82360e01b81526001600160a01b039283166004820152905193945060009391909216916339ebf823916024808301926020929190829003018186803b158015610a1a57600080fd5b505afa158015610a2e573d6000803e3d6000fd5b505050506040513d6020811015610a4457600080fd5b505160408051633fc8303960e11b815290519192506000916001600160a01b03841691637f906072916004808301926020929190829003018186803b158015610a8c57600080fd5b505afa158015610aa0573d6000803e3d6000fd5b505050506040513d6020811015610ab657600080fd5b50519050610ac48184611f0b565b93505050505b90565b60368054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b595780601f10610b2e57610100808354040283529160200191610b59565b820191906000526020600020905b815481529060010190602001808311610b3c57829003601f168201915b5050505050905090565b6000610b77610b70611f65565b8484611f69565b5060015b92915050565b60355490565b6066546001600160a01b031681565b60cd5460009060ff1615610be4576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610bec612055565b610bf78484846120a7565b949350505050565b6101026020526000908152604090205481565b60cd5460ff1615610c5d576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610c65612129565b50610c6e612055565b610c7733612197565b610c80816121b4565b50565b60385460ff1690565b6000610b77610c99611f65565b84610cda8560346000610caa611f65565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611f0b565b611f69565b610ce7612512565b610cef612562565b565b610103546001600160a01b031681565b60cd5460ff1615610d4c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610d54612512565b61010055565b6101005460ff54604080516370a0823160e01b81523060048201529051600093610df09361271093610dea936001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015610db857600080fd5b505afa158015610dcc573d6000803e3d6000fd5b505050506040513d6020811015610de257600080fd5b505190612600565b90612659565b905090565b60cd5460ff1615610e40576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610e4861269b565b43427ffd60e70298d1c5272d3164dec70c527f1c64556cf7ca2dc10bdc753143ffc45b610e736116d0565b60408051918252519081900360200190a3565b60408051808201909152600381526218971960e91b602082015290565b6065546001600160a01b031681565b60cd5460ff1690565b600054610100900460ff1680610ed45750610ed4612706565b80610ee2575060005460ff16155b610f1d5760405162461bcd60e51b815260040180806020018281038252602e815260200180613556602e913960400191505060405180910390fd5b600054610100900460ff16158015610f48576000805460ff1961ff0019909116610100171660011790555b60cd5460ff1615610f93576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60008990506060816001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015610fd357600080fd5b505afa158015610fe7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561101057600080fd5b8101908080516040519392919084600160201b82111561102f57600080fd5b90830190602082018581111561104457600080fd5b8251600160201b81118282018810171561105d57600080fd5b82525081516020918201929091019080838360005b8381101561108a578181015183820152602001611072565b50505050905090810190601f1680156110b75780820380516001836020036101000a031916815260200191505b5060405250505090506060826001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156110fb57600080fd5b505afa15801561110f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561113857600080fd5b8101908080516040519392919084600160201b82111561115757600080fd5b90830190602082018581111561116c57600080fd5b8251600160201b81118282018810171561118557600080fd5b82525081516020918201929091019080838360005b838110156111b257818101518382015260200161119a565b50505050905090810190601f1680156111df5780820380516001836020036101000a031916815260200191505b506040525050509050606080881561135c5787846040516020018083805190602001908083835b602083106112255780518252601f199092019160209182019101611206565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b6020831061126d5780518252601f19909201916020918201910161124e565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915086836040516020018083805190602001908083835b602083106112d85780518252601f1990920191602091820191016112b9565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106113205780518252601f199092019160209182019101611301565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405290506114f2565b6040518060400160405280600c81526020016b02130b233b2b91029b2ba3a160a51b815250846040516020018083805190602001908083835b602083106113b45780518252601f199092019160209182019101611395565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106113fc5780518252601f1990920191602091820191016113dd565b51815160209384036101000a60001901801990921691161790526040805192909401828103601f1901835280850185526001808252603160f91b8284019081529551939a509097508a965091019350839291508083835b602083106114725780518252601f199092019160209182019101611453565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106114ba5780518252601f19909201916020918201910161149b565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405290505b6114fc828261270c565b8d60ff60006101000a8154816001600160a01b0302191690836001600160a01b031602179055508b606560006101000a8154816001600160a01b0302191690836001600160a01b031602179055506000606660006101000a8154816001600160a01b0302191690836001600160a01b031602179055508a606760006101000a8154816001600160a01b0302191690836001600160a01b031602179055508c61010160006101000a8154816001600160a01b0302191690836001600160a01b031602179055508961010360006101000a8154816001600160a01b0302191690836001600160a01b0316021790555061251c6101008190555043427ffd60e70298d1c5272d3164dec70c527f1c64556cf7ca2dc10bdc753143ffc45b61161e6116d0565b60408051918252519081900360200190a36116376127c1565b5050505050801561164e576000805461ff00191690555b505050505050505050565b61271081565b611667612512565b6001600160a01b03166000908152609a60205260409020805460ff19166001179055565b6001600160a01b031660009081526033602052604090205490565b6116ae612512565b606780546001600160a01b0319166001600160a01b0392909216919091179055565b60006116da610b81565b6116ed5750670de0b6b3a7640000610aca565b60ff546001600160a01b0316600081636fafb236611709610947565b6040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561173d57600080fd5b505afa158015611751573d6000803e3d6000fd5b505050506040513d602081101561176757600080fd5b50519050611788611776610b81565b610dea83670de0b6b3a7640000612600565b9250505090565b611797612512565b6001600160a01b03166000908152609a60205260409020805460ff19169055565b6117c0612842565b610cef6127c1565b60cd5460ff1615611813576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61181b612129565b50611824612055565b61182d33612197565b610cef6118393361168b565b6121b4565b60cd5460ff1615611889576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611891612512565b61010380546001600160a01b0319166001600160a01b0392909216919091179055565b60cd5460ff16156118ff576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611907612512565b61010180546001600160a01b0319166001600160a01b0392909216919091179055565b60378054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b595780601f10610b2e57610100808354040283529160200191610b59565b6000610b77611998611f65565b84610cda8560405180606001604052806025815260200161366160259139603460006119c2611f65565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906128a5565b60cd5460009060ff1615611a41576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611a49612055565b611a53838361293c565b9392505050565b611a62612512565b606580546001600160a01b0319166001600160a01b0392909216919091179055565b6067546001600160a01b031681565b6101015460ff54604080516370a0823160e01b81526001600160a01b0392831660048201529051600093610df09316916370a08231916024808301926020929190829003018186803b158015611ae857600080fd5b505afa158015611afc573d6000803e3d6000fd5b505050506040513d6020811015611b1257600080fd5b505160ff54604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611b5f57600080fd5b505afa158015611b73573d6000803e3d6000fd5b505050506040513d6020811015611b8957600080fd5b505190611f0b565b60cd5460ff1615611bdc576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611be4612129565b50611bed612055565b611bf633612197565b610c8081612950565b611c07612512565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b60cd5460ff1615611c74576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611c7c61269b565b6000611c86610d5a565b6101015460ff54919250611ca7916001600160a01b03908116911683611eb4565b6101015460ff546040805163b02bf4b960e01b81526001600160a01b039283166004820152602481018590529051919092169163b02bf4b991604480830192600092919082900301818387803b158015611d0057600080fd5b505af1158015611d14573d6000803e3d6000fd5b5050505050565b609a6020526000908152604090205460ff1681565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b60cd5460ff1615611da6576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611dae612129565b50611db7612055565b611dc033612197565b60ff54604080516370a0823160e01b81523360048201529051610cef926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611e0c57600080fd5b505afa158015611e20573d6000803e3d6000fd5b505050506040513d6020811015611e3657600080fd5b5051612950565b610101546001600160a01b031681565b6101005481565b60ff546001600160a01b031681565b610101546001600160a01b03163314610cef576040805162461bcd60e51b815260206004820152600e60248201526d37b7363ca1b7b73a3937b63632b960911b604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611f06908490612c9c565b505050565b600082820183811015611a53576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b6001600160a01b038316611fae5760405162461bcd60e51b81526004018080602001828103825260248152602001806136136024913960400191505060405180910390fd5b6001600160a01b038216611ff35760405162461bcd60e51b815260040180806020018281038252602281526020018061350e6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b33600090815261010260205260409020544311610cef576040805162461bcd60e51b815260206004820152600b60248201526a189b1bd8dad31bd8dad95960aa1b604482015290519081900360640190fd5b60006120b4848484612d4d565b61211f846120c0611f65565b610cda856040518060600160405280602881526020016135a5602891396001600160a01b038a166000908152603460205260408120906120fe611f65565b6001600160a01b0316815260208101919091526040016000205491906128a5565b5060019392505050565b336000908152609a602052604081205460ff168061214657503332145b610aca576040805162461bcd60e51b815260206004820152601860248201527f4163636573732064656e69656420666f722063616c6c65720000000000000000604482015290519081900360640190fd5b6001600160a01b0316600090815261010260205260409020439055565b60ff546001600160a01b031660006121df836121d96121d1610b81565b610dea610947565b90612600565b90506121eb3384612eaa565b6000826001600160a01b031663f5eb42dc306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561223a57600080fd5b505afa15801561224e573d6000803e3d6000fd5b505050506040513d602081101561226457600080fd5b505190508181101561241157600061227c8383612fa6565b6101015460ff5460408051635d2dde1d60e01b81526004810185905290519394506001600160a01b039283169363f3fef3a39392831692891691635d2dde1d916024808301926020929190829003018186803b1580156122db57600080fd5b505afa1580156122ef573d6000803e3d6000fd5b505050506040513d602081101561230557600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039093166004840152602483019190915251604480830192600092919082900301818387803b15801561235557600080fd5b505af1158015612369573d6000803e3d6000fd5b505050506000846001600160a01b031663f5eb42dc306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156123bc57600080fd5b505afa1580156123d0573d6000803e3d6000fd5b505050506040513d60208110156123e657600080fd5b5051905060006123f68285612fa6565b90508281101561240d5761240a8482611f0b565b94505b5050505b826001600160a01b031663a9059cbb33856001600160a01b0316635d2dde1d866040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561246557600080fd5b505afa158015612479573d6000803e3d6000fd5b505050506040513d602081101561248f57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b1580156124e057600080fd5b505af11580156124f4573d6000803e3d6000fd5b505050506040513d602081101561250a57600080fd5b505050505050565b6065546001600160a01b03163314610cef576040805162461bcd60e51b815260206004820152600e60248201526d6f6e6c79476f7665726e616e636560901b604482015290519081900360640190fd5b60cd5460ff166125b0576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b60cd805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6125e3611f65565b604080516001600160a01b039092168252519081900360200190a1565b60008261260f57506000610b7b565b8282028284828161261c57fe5b0414611a535760405162461bcd60e51b81526004018080602001828103825260218152602001806135846021913960400191505060405180910390fd5b6000611a5383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612fe8565b6067546001600160a01b03163314806126be57506065546001600160a01b031633145b610cef576040805162461bcd60e51b81526020600482015260146024820152736f6e6c79417574686f72697a65644163746f727360601b604482015290519081900360640190fd5b303b1590565b600054610100900460ff16806127255750612725612706565b80612733575060005460ff16155b61276e5760405162461bcd60e51b815260040180806020018281038252602e815260200180613556602e913960400191505060405180910390fd5b600054610100900460ff16158015612799576000805460ff1961ff0019909116610100171660011790555b6127a161304d565b6127ab83836130ee565b8015611f06576000805461ff0019169055505050565b60cd5460ff161561280c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60cd805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125e3611f65565b610103546001600160a01b031633148061286657506065546001600160a01b031633145b610cef576040805162461bcd60e51b815260206004820152600b60248201526a6f6e6c795061757365727360a81b604482015290519081900360640190fd5b600081848411156129345760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156128f95781810151838201526020016128e1565b50505050905090810190601f1680156129265780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000610b77612949611f65565b8484612d4d565b60ff546001600160a01b03166000612966610947565b90506000826001600160a01b031663f5eb42dc306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156129b757600080fd5b505afa1580156129cb573d6000803e3d6000fd5b505050506040513d60208110156129e157600080fd5b5051604080516323b872dd60e01b81523360048201523060248201526044810187905290519192506001600160a01b038516916323b872dd916064808201926020929091908290030181600087803b158015612a3c57600080fd5b505af1158015612a50573d6000803e3d6000fd5b505050506040513d6020811015612a6657600080fd5b5051612a7157600080fd5b6000836001600160a01b031663f5eb42dc306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015612ac057600080fd5b505afa158015612ad4573d6000803e3d6000fd5b505050506040513d6020811015612aea57600080fd5b505190506000612afa8284612fa6565b90506000612b06610b81565b612b8157856001600160a01b0316636fafb236836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612b4e57600080fd5b505afa158015612b62573d6000803e3d6000fd5b505050506040513d6020811015612b7857600080fd5b50519050612c89565b6000866001600160a01b0316636fafb236876040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015612bc757600080fd5b505afa158015612bdb573d6000803e3d6000fd5b505050506040513d6020811015612bf157600080fd5b5051604080516337d7d91b60e11b81526004810186905290519192506000916001600160a01b038a1691636fafb236916024808301926020929190829003018186803b158015612c4057600080fd5b505afa158015612c54573d6000803e3d6000fd5b505050506040513d6020811015612c6a57600080fd5b50519050612c8482610dea612c7d610b81565b8490612600565b925050505b612c9333826131c6565b50505050505050565b6060612cf1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166132b89092919063ffffffff16565b805190915015611f0657808060200190516020811015612d1057600080fd5b5051611f065760405162461bcd60e51b815260040180806020018281038252602a815260200180613637602a913960400191505060405180910390fd5b6001600160a01b038316612d925760405162461bcd60e51b81526004018080602001828103825260258152602001806135ee6025913960400191505060405180910390fd5b6001600160a01b038216612dd75760405162461bcd60e51b81526004018080602001828103825260238152602001806134c96023913960400191505060405180910390fd5b612de2838383611f06565b612e1f81604051806060016040528060268152602001613530602691396001600160a01b03861660009081526033602052604090205491906128a5565b6001600160a01b038085166000908152603360205260408082209390935590841681522054612e4e9082611f0b565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6001600160a01b038216612eef5760405162461bcd60e51b81526004018080602001828103825260218152602001806135cd6021913960400191505060405180910390fd5b612efb82600083611f06565b612f38816040518060600160405280602281526020016134ec602291396001600160a01b03851660009081526033602052604090205491906128a5565b6001600160a01b038316600090815260336020526040902055603554612f5e9082612fa6565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000611a5383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506128a5565b600081836130375760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156128f95781810151838201526020016128e1565b50600083858161304357fe5b0495945050505050565b600054610100900460ff16806130665750613066612706565b80613074575060005460ff16155b6130af5760405162461bcd60e51b815260040180806020018281038252602e815260200180613556602e913960400191505060405180910390fd5b600054610100900460ff161580156130da576000805460ff1961ff0019909116610100171660011790555b8015610c80576000805461ff001916905550565b600054610100900460ff16806131075750613107612706565b80613115575060005460ff16155b6131505760405162461bcd60e51b815260040180806020018281038252602e815260200180613556602e913960400191505060405180910390fd5b600054610100900460ff1615801561317b576000805460ff1961ff0019909116610100171660011790555b825161318e906036906020860190613435565b5081516131a2906037906020850190613435565b506038805460ff191660121790558015611f06576000805461ff0019169055505050565b6001600160a01b038216613221576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61322d60008383611f06565b60355461323a9082611f0b565b6035556001600160a01b0382166000908152603360205260409020546132609082611f0b565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6060610bf7848460008560606132cd8561342f565b61331e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061335d5780518252601f19909201916020918201910161333e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146133bf576040519150601f19603f3d011682016040523d82523d6000602084013e6133c4565b606091505b509150915081156133d8579150610bf79050565b8051156133e85780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156128f95781810151838201526020016128e1565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061347657805160ff19168380011785556134a3565b828001600101855582156134a3579182015b828111156134a3578251825591602001919060010190613488565b506134af9291506134b3565b5090565b5b808211156134af57600081556001016134b456fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208ef1599ff7aa77ea0b468eaa65d684476adc93422f4c70351778757238eb73a964736f6c634300060c0033

Deployed Bytecode Sourcemap

64163:3656:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59128:233;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;59128:233:0;;;;;;;;:::i;:::-;;64340:471;;;:::i;:::-;;;;;;;;;;;;;;;;25409:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27515:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27515:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;26484:100;;;:::i;49701:25::-;;;:::i;:::-;;;;-1:-1:-1;;;;;49701:25:0;;;;;;;;;;;;;;62396:256;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;62396:256:0;;;;;;;;;;;;;;;;;:::i;53672:44::-;;;;;;;;;;;;;;;;-1:-1:-1;53672:44:0;-1:-1:-1;;;;;53672:44:0;;:::i;57697:176::-;;;;;;;;;;;;;;;;-1:-1:-1;57697:176:0;;:::i;26336:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28888:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28888:218:0;;;;;;;;:::i;60298:85::-;;;:::i;53851:23::-;;;:::i;58337:110::-;;;;;;;;;;;;;;;;-1:-1:-1;58337:110:0;;:::i;56692:133::-;;;:::i;60012:182::-;;;:::i;55791:86::-;;;:::i;49669:25::-;;;:::i;45214:78::-;;;:::i;53993:1326::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53993:1326:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53993:1326:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53993:1326:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53993:1326:0;;;;;;;;-1:-1:-1;53993:1326:0;;-1:-1:-1;;;;;53993:1326:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53993:1326:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53993:1326:0;;-1:-1:-1;53993:1326:0;;-1:-1:-1;;;;;53993:1326:0:i;53594:35::-;;;:::i;51353:128::-;;;;;;;;;;;;;;;;-1:-1:-1;51353:128:0;-1:-1:-1;;;;;51353:128:0;;:::i;26647:119::-;;;;;;;;;;;;;;;;-1:-1:-1;26647:119:0;-1:-1:-1;;;;;26647:119:0;;:::i;50611:108::-;;;;;;;;;;;;;;;;-1:-1:-1;50611:108:0;-1:-1:-1;;;;;50611:108:0;;:::i;64819:324::-;;;:::i;51489:128::-;;;;;;;;;;;;;;;;-1:-1:-1;51489:128:0;-1:-1:-1;;;;;51489:128:0;;:::i;60202:88::-;;;:::i;57954:180::-;;;:::i;58785:130::-;;;;;;;;;;;;;;;;-1:-1:-1;58785:130:0;-1:-1:-1;;;;;58785:130:0;;:::i;58549:136::-;;;;;;;;;;;;;;;;-1:-1:-1;58549:136:0;-1:-1:-1;;;;;58549:136:0;;:::i;25611:87::-;;;:::i;29609:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29609:269:0;;;;;;;;:::i;62198:190::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;62198:190:0;;;;;;;;:::i;50828:122::-;;;;;;;;;;;;;;;;-1:-1:-1;50828:122:0;-1:-1:-1;;;;;50828:122:0;;:::i;49733:21::-;;;:::i;56263:160::-;;;:::i;57039:174::-;;;;;;;;;;;;;;;;-1:-1:-1;57039:174:0;;:::i;50382:124::-;;;;;;;;;;;;;;;;-1:-1:-1;50382:124:0;-1:-1:-1;;;;;50382:124:0;;:::i;59651:226::-;;;:::i;51303:41::-;;;;;;;;;;;;;;;;-1:-1:-1;51303:41:0;-1:-1:-1;;;;;51303:41:0;;:::i;27217:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27217:151:0;;;;;;;;;;:::i;57428:184::-;;;:::i;53638:25::-;;;:::i;53569:18::-;;;:::i;53530:30::-;;;:::i;59128:233::-;45532:7;;;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;59212:17:::1;:15;:17::i;:::-;59267:5;::::0;-1:-1:-1;;;;;59248:25:0;;::::1;59267:5:::0;::::1;59248:25;;59240:43;;;::::0;;-1:-1:-1;;;59240:43:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;59240:43:0;;;;;;;;;;;;;::::1;;59334:10;::::0;59294:59:::1;::::0;-1:-1:-1;;;;;59294:39:0;;::::1;::::0;59334:10:::1;59346:6:::0;59294:39:::1;:59::i;:::-;59128:233:::0;;:::o;64340:471::-;64434:5;;64420:45;;;-1:-1:-1;;;64420:45:0;;64459:4;64420:45;;;;;;64379:7;;;;-1:-1:-1;;;;;64434:5:0;;;;64420:30;;:45;;;;;;;;;;;;;;;64434:5;64420:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64420:45:0;64645:10;;64676:5;;64633:50;;;-1:-1:-1;;;64633:50:0;;-1:-1:-1;;;;;64676:5:0;;;64633:50;;;;;;64420:45;;-1:-1:-1;64614:16:0;;64645:10;;;;;64633:34;;:50;;;;;64420:45;;64633:50;;;;;;;64645:10;64633:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64633:50:0;64719:34;;;-1:-1:-1;;;64719:34:0;;;;64633:50;;-1:-1:-1;64694:22:0;;-1:-1:-1;;;;;64719:32:0;;;;;:34;;;;;64633:50;;64719:34;;;;;;;:32;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64719:34:0;;-1:-1:-1;64773:30:0;64719:34;64792:10;64773:18;:30::i;:::-;64766:37;;;;;64340:471;;:::o;25409:83::-;25479:5;25472:12;;;;;;;;-1:-1:-1;;25472:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25446:13;;25472:12;;25479:5;;25472:12;;25479:5;25472:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25409:83;:::o;27515:169::-;27598:4;27615:39;27624:12;:10;:12::i;:::-;27638:7;27647:6;27615:8;:39::i;:::-;-1:-1:-1;27672:4:0;27515:169;;;;;:::o;26484:100::-;26564:12;;26484:100;:::o;49701:25::-;;;-1:-1:-1;;;;;49701:25:0;;:::o;62396:256::-;45532:7;;62550:4;;45532:7;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;62567:14:::1;:12;:14::i;:::-;62599:45;62618:6;62626:9;62637:6;62599:18;:45::i;:::-;62592:52:::0;62396:256;-1:-1:-1;;;;62396:256:0:o;53672:44::-;;;;;;;;;;;;;:::o;57697:176::-;45532:7;;;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;57764:9:::1;:7;:9::i;:::-;;57784:14;:12;:14::i;:::-;57811:25;57825:10;57811:13;:25::i;:::-;57847:18;57857:7;57847:9;:18::i;:::-;57697:176:::0;:::o;26336:83::-;26402:9;;;;26336:83;:::o;28888:218::-;28976:4;28993:83;29002:12;:10;:12::i;:::-;29016:7;29025:50;29064:10;29025:11;:25;29037:12;:10;:12::i;:::-;-1:-1:-1;;;;;29025:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;29025:25:0;;;:34;;;;;;;;;;;:38;:50::i;:::-;28993:8;:83::i;60298:85::-;60337:17;:15;:17::i;:::-;60365:10;:8;:10::i;:::-;60298:85::o;53851:23::-;;;-1:-1:-1;;;;;53851:23:0;;:::o;58337:110::-;45532:7;;;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;58401:17:::1;:15;:17::i;:::-;58429:3;:10:::0;58337:110::o;56692:133::-;56804:3;;56769:5;;:30;;;-1:-1:-1;;;56769:30:0;;56793:4;56769:30;;;;;;56742:7;;56769:48;;53624:5;;56769:39;;-1:-1:-1;;;;;56769:5:0;;;;:15;;:30;;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56769:30:0;;:34;:39::i;:::-;:43;;:48::i;:::-;56762:55;;56692:133;:::o;60012:182::-;45532:7;;;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;60080:23:::1;:21;:23::i;:::-;60173:12;60168:3;60119:67;60144:22;:20;:22::i;:::-;60119:67;::::0;;;;;;;;;;::::1;::::0;;::::1;60012:182::o:0;55791:86::-;55857:12;;;;;;;;;;;;-1:-1:-1;;;55857:12:0;;;;55791:86;:::o;49669:25::-;;;-1:-1:-1;;;;;49669:25:0;;:::o;45214:78::-;45277:7;;;;45214:78;:::o;53993:1326::-;20078:13;;;;;;;;:33;;;20095:16;:14;:16::i;:::-;20078:50;;;-1:-1:-1;20116:12:0;;;;20115:13;20078:50;20070:109;;;;-1:-1:-1;;;20070:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20192:19;20215:13;;;;;;20214:14;20239:101;;;;20274:13;:20;;-1:-1:-1;;;;20274:20:0;;;;;20309:19;20290:4;20309:19;;;20239:101;45532:7:::1;::::0;::::1;;45531:8;45523:37;;;::::0;;-1:-1:-1;;;45523:37:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;::::1;;54311:25:::2;54354:6;54311:50;;54372:23;54398:10;-1:-1:-1::0;;;;;54398:15:0::2;;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;::::0;;::::2;-1:-1:-1::0;;54398:17:0::2;::::0;::::2;;::::0;::::2;::::0;::::2;;;;;::::0;::::2;;;;;;;;;;;;;;;-1:-1:-1::0;;;54398:17:0::2;;;;;;::::0;::::2;;::::0;;::::2;::::0;::::2;::::0;::::2;::::0;;::::2;;;;;::::0;::::2;;::::0;;-1:-1:-1;;;54398:17:0;::::2;::::0;;::::2;::::0;-1:-1:-1;54398:17:0::2;;;;;::::0;::::2;;::::0;;-1:-1:-1;54398:17:0;;::::2;::::0;;::::2;::::0;;;::::2;::::0;;;;::::2;;;;;;;;::::0;;::::2;::::0;;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;54372:43;;54426:25;54454:10;-1:-1:-1::0;;;;;54454:17:0::2;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;::::0;;::::2;-1:-1:-1::0;;54454:19:0::2;::::0;::::2;;::::0;::::2;::::0;::::2;;;;;::::0;::::2;;;;;;;;;;;;;;;-1:-1:-1::0;;;54454:19:0::2;;;;;;::::0;::::2;;::::0;;::::2;::::0;::::2;::::0;::::2;::::0;;::::2;;;;;::::0;::::2;;::::0;;-1:-1:-1;;;54454:19:0;::::2;::::0;;::::2;::::0;-1:-1:-1;54454:19:0::2;;;;;::::0;::::2;;::::0;;-1:-1:-1;54454:19:0;;::::2;::::0;;::::2;::::0;;;::::2;::::0;;;;::::2;;;;;;;;::::0;;::::2;::::0;;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;54426:47;;54486:18;54515:20:::0;54552:18:::2;54548:359;;;54618:11;54631:9;54601:40;;;;;;;;;;;;;;;;;;;;;::::0;;;;-1:-1:-1;;54601:40:0;;;;::::2;::::0;;::::2;::::0;::::2;;;;::::0;;;::::2;::::0;;::::2;;;-1:-1:-1::0;;54601:40:0;;::::2;::::0;;::::2;::::0;::::2;;::::0;;;;;;;::::2;::::0;;::::2;::::0;-1:-1:-1;54601:40:0;;;::::2;;;;;;::::0;;;;-1:-1:-1;;54601:40:0;;;;::::2;::::0;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54587:55;;54690:13;54705:11;54673:44;;;;;;;;;;;;;;;;;;;;;::::0;;;;-1:-1:-1;;54673:44:0;;;;::::2;::::0;;::::2;::::0;::::2;;;;::::0;;;::::2;::::0;;::::2;;;-1:-1:-1::0;;54673:44:0;;::::2;::::0;;::::2;::::0;::::2;;::::0;;;;;;;::::2;::::0;;::::2;::::0;-1:-1:-1;54673:44:0;;;::::2;;;;;;::::0;;;;-1:-1:-1;;54673:44:0;;;;::::2;::::0;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54657:61;;54548:359;;;54782:18;;;;;;;;;;;;;-1:-1:-1::0;;;54782:18:0::2;;::::0;54802:9:::2;54765:47;;;;;;;;;;;;;;;;;;;;;::::0;;;;-1:-1:-1;;54765:47:0;;;;::::2;::::0;;::::2;::::0;::::2;;;;::::0;;;::::2;::::0;;::::2;;;-1:-1:-1::0;;54765:47:0;;::::2;::::0;;::::2;::::0;::::2;;::::0;;;;;;;::::2;::::0;;::::2;::::0;-1:-1:-1;54765:47:0;;;::::2;;;;;;::::0;;;;-1:-1:-1;;54765:47:0;;;;::::2;::::0;;::::2;::::0;::::2;;;;::::0;;;::::2;::::0;;::::2;;;-1:-1:-1::0;;54765:47:0;;::::2;::::0;;::::2;::::0;::::2;;::::0;;::::2;::::0;;;;;::::2;::::0;;::::2;-1:-1:-1::0;;54765:47:0;;;54861:19;;::::2;::::0;;54765:47:::2;54861:19:::0;;;-1:-1:-1;;;54861:19:0;;::::2;::::0;;;54844:50;;54765:47;;-1:-1:-1;54765:47:0;;-1:-1:-1;54882:11:0;;-1:-1:-1;54844:50:0;::::2;::::0;-1:-1:-1;54844:50:0;;54861:19;-1:-1:-1;54765:47:0;54844:50;54861:19;54844:50:::2;;;;;;::::0;;;;-1:-1:-1;;54844:50:0;;;;::::2;::::0;;::::2;::::0;::::2;;;;::::0;;;::::2;::::0;;::::2;;;-1:-1:-1::0;;54844:50:0;;::::2;::::0;;::::2;::::0;::::2;;::::0;;;;;;;::::2;::::0;;::::2;::::0;-1:-1:-1;54844:50:0;;;::::2;;;;;;::::0;;;;-1:-1:-1;;54844:50:0;;;;::::2;::::0;;::::2;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54828:67;;54548:359;54919:26;54932:4;54938:6;54919:12;:26::i;:::-;54984:6;54958:5;;:33;;;;;-1:-1:-1::0;;;;;54958:33:0::2;;;;;-1:-1:-1::0;;;;;54958:33:0::2;;;;;;55015:11;55002:10;;:24;;;;;-1:-1:-1::0;;;;;55002:24:0::2;;;;;-1:-1:-1::0;;;;;55002:24:0::2;;;;;;55058:1;55037:10;;:23;;;;;-1:-1:-1::0;;;;;55037:23:0::2;;;;;-1:-1:-1::0;;;;;55037:23:0::2;;;;;;55080:7;55071:6;;:16;;;;;-1:-1:-1::0;;;;;55071:16:0::2;;;;;-1:-1:-1::0;;;;;55071:16:0::2;;;;;;55111:11;55098:10;;:24;;;;;-1:-1:-1::0;;;;;55098:24:0::2;;;;;-1:-1:-1::0;;;;;55098:24:0::2;;;;;;55144:9;55133:8;;:20;;;;;-1:-1:-1::0;;;;;55133:20:0::2;;;;;-1:-1:-1::0;;;;;55133:20:0::2;;;;;;55172:4;55166:3;:10;;;;55248:12;55243:3;55194:67;55219:22;:20;:22::i;:::-;55194:67;::::0;;;;;;;;;;::::2;::::0;;::::2;55303:8;:6;:8::i;:::-;45571:1;;;;;20370:14:::0;20366:68;;;20417:5;20401:21;;-1:-1:-1;;20401:21:0;;;20366:68;53993:1326;;;;;;;;;:::o;53594:35::-;53624:5;53594:35;:::o;51353:128::-;51421:17;:15;:17::i;:::-;-1:-1:-1;;;;;51449:17:0;;;;;:8;:17;;;;;:24;;-1:-1:-1;;51449:24:0;51469:4;51449:24;;;51353:128::o;26647:119::-;-1:-1:-1;;;;;26740:18:0;26713:7;26740:18;;;:9;:18;;;;;;;26647:119::o;50611:108::-;50667:17;:15;:17::i;:::-;50695:6;:16;;-1:-1:-1;;;;;;50695:16:0;-1:-1:-1;;;;;50695:16:0;;;;;;;;;;50611:108::o;64819:324::-;64881:7;64905:13;:11;:13::i;:::-;64901:62;;-1:-1:-1;64947:4:0;64940:11;;64901:62;65000:5;;-1:-1:-1;;;;;65000:5:0;64973:10;65000:5;65041:25;65067:8;:6;:8::i;:::-;65041:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65041:35:0;;-1:-1:-1;65094:41:0;65121:13;:11;:13::i;:::-;65094:22;:12;65111:4;65094:16;:22::i;:41::-;65087:48;;;;64819:324;:::o;51489:128::-;51556:17;:15;:17::i;:::-;-1:-1:-1;;;;;51584:17:0;51604:5;51584:17;;;:8;:17;;;;;:25;;-1:-1:-1;;51584:25:0;;;51489:128::o;60202:88::-;60239:24;:22;:24::i;:::-;60274:8;:6;:8::i;57954:180::-;45532:7;;;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;58011:9:::1;:7;:9::i;:::-;;58031:14;:12;:14::i;:::-;58058:25;58072:10;58058:13;:25::i;:::-;58094:32;58104:21;58114:10;58104:9;:21::i;:::-;58094:9;:32::i;58785:130::-:0;45532:7;;;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;58859:17:::1;:15;:17::i;:::-;58887:8;:20:::0;;-1:-1:-1;;;;;;58887:20:0::1;-1:-1:-1::0;;;;;58887:20:0;;;::::1;::::0;;;::::1;::::0;;58785:130::o;58549:136::-;45532:7;;;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;58625:17:::1;:15;:17::i;:::-;58653:10;:24:::0;;-1:-1:-1;;;;;;58653:24:0::1;-1:-1:-1::0;;;;;58653:24:0;;;::::1;::::0;;;::::1;::::0;;58549:136::o;25611:87::-;25683:7;25676:14;;;;;;;;-1:-1:-1;;25676:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25650:13;;25676:14;;25683:7;;25676:14;;25683:7;25676:14;;;;;;;;;;;;;;;;;;;;;;;;29609:269;29702:4;29719:129;29728:12;:10;:12::i;:::-;29742:7;29751:96;29790:15;29751:96;;;;;;;;;;;;;;;;;:11;:25;29763:12;:10;:12::i;:::-;-1:-1:-1;;;;;29751:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;29751:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;62198:190::-;45532:7;;62298:4;;45532:7;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;62315:14:::1;:12;:14::i;:::-;62347:33;62362:9;62373:6;62347:14;:33::i;:::-;62340:40:::0;62198:190;-1:-1:-1;;;62198:190:0:o;50828:122::-;50890:17;:15;:17::i;:::-;50918:10;:24;;-1:-1:-1;;;;;;50918:24:0;-1:-1:-1;;;;;50918:24:0;;;;;;;;;;50828:122::o;49733:21::-;;;-1:-1:-1;;;;;49733:21:0;;:::o;56263:160::-;56377:10;;56407:5;;56365:49;;;-1:-1:-1;;;56365:49:0;;-1:-1:-1;;;;;56407:5:0;;;56365:49;;;;;;56303:7;;56330:85;;56377:10;;56365:33;;:49;;;;;;;;;;;;;;56377:10;56365:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56365:49:0;56330:5;;:30;;;-1:-1:-1;;;56330:30:0;;56354:4;56330:30;;;;;;-1:-1:-1;;;;;56330:5:0;;;;:15;;:30;;;;;56365:49;;56330:30;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56330:30:0;;:34;:85::i;57039:174::-;45532:7;;;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;57105:9:::1;:7;:9::i;:::-;;57125:14;:12;:14::i;:::-;57152:25;57166:10;57152:13;:25::i;:::-;57188:17;57197:7;57188:8;:17::i;50382:124::-:0;50446:17;:15;:17::i;:::-;50474:10;:24;;-1:-1:-1;;;;;;50474:24:0;-1:-1:-1;;;;;50474:24:0;;;;;;;;;;50382:124::o;59651:226::-;45532:7;;;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;59699:23:::1;:21;:23::i;:::-;59735:12;59750:11;:9;:11::i;:::-;59791:10;::::0;59772:5:::1;::::0;59735:26;;-1:-1:-1;59772:36:0::1;::::0;-1:-1:-1;;;;;59772:5:0;;::::1;::::0;59791:10:::1;59735:26:::0;59772:18:::1;:36::i;:::-;59831:10;::::0;59856:5:::1;::::0;59819:50:::1;::::0;;-1:-1:-1;;;59819:50:0;;-1:-1:-1;;;;;59856:5:0;;::::1;59819:50;::::0;::::1;::::0;;;;;;;;;59831:10;;;::::1;::::0;59819:28:::1;::::0;:50;;;;;59831:10:::1;::::0;59819:50;;;;;;;59831:10;;59819:50;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;45571:1;59651:226::o:0;51303:41::-;;;;;;;;;;;;;;;:::o;27217:151::-;-1:-1:-1;;;;;27333:18:0;;;27306:7;27333:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;27217:151::o;57428:184::-;45532:7;;;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;57484:9:::1;:7;:9::i;:::-;;57504:14;:12;:14::i;:::-;57531:25;57545:10;57531:13;:25::i;:::-;57576:5;::::0;:27:::1;::::0;;-1:-1:-1;;;57576:27:0;;57592:10:::1;57576:27;::::0;::::1;::::0;;;57567:37:::1;::::0;-1:-1:-1;;;;;57576:5:0::1;::::0;:15:::1;::::0;:27;;;;;::::1;::::0;;;;;;;;:5;:27;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;57576:27:0;57567:8:::1;:37::i;53638:25::-:0;;;-1:-1:-1;;;;;53638:25:0;;:::o;53569:18::-;;;;:::o;53530:30::-;;;-1:-1:-1;;;;;53530:30:0;;:::o;55360:111::-;55434:10;;-1:-1:-1;;;;;55434:10:0;55420;:24;55412:51;;;;;-1:-1:-1;;;55412:51:0;;;;;;;;;;;;-1:-1:-1;;;55412:51:0;;;;;;;;;;;;;;15420:188;15541:58;;;-1:-1:-1;;;;;15541:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15541:58:0;-1:-1:-1;;;15541:58:0;;;15514:86;;15534:5;;15514:19;:86::i;:::-;15420:188;;;:::o;3868:181::-;3926:7;3958:5;;;3982:6;;;;3974:46;;;;;-1:-1:-1;;;3974:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;22091:106;22179:10;22091:106;:::o;32754:346::-;-1:-1:-1;;;;;32856:19:0;;32848:68;;;;-1:-1:-1;;;32848:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32935:21:0;;32927:68;;;;-1:-1:-1;;;32927:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33008:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;33060:32;;;;;;;;;;;;;;;;;32754:346;;;:::o;55628:117::-;55695:10;55685:21;;;;:9;:21;;;;;;55709:12;-1:-1:-1;55677:60:0;;;;;-1:-1:-1;;;55677:60:0;;;;;;;;;;;;-1:-1:-1;;;55677:60:0;;;;;;;;;;;;;;28158:321;28264:4;28281:36;28291:6;28299:9;28310:6;28281:9;:36::i;:::-;28328:121;28337:6;28345:12;:10;:12::i;:::-;28359:89;28397:6;28359:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28359:19:0;;;;;;:11;:19;;;;;;28379:12;:10;:12::i;:::-;-1:-1:-1;;;;;28359:33:0;;;;;;;;;;;;-1:-1:-1;28359:33:0;;;:89;:37;:89::i;28328:121::-;-1:-1:-1;28467:4:0;28158:321;;;;;:::o;51625:151::-;51701:10;51667:4;51692:20;;;:8;:20;;;;;;;;;:47;;-1:-1:-1;51716:10:0;51730:9;51716:23;51692:47;51684:84;;;;;-1:-1:-1;;;51684:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;61933:101;-1:-1:-1;;;;;61993:18:0;;;;;:9;:18;;;;;62014:12;61993:33;;61933:101::o;66436:1380::-;66533:5;;-1:-1:-1;;;;;66533:5:0;66506:10;66666:47;66700:12;66667:27;66680:13;:11;:13::i;:::-;66667:8;:6;:8::i;:27::-;66666:33;;:47::i;:::-;66640:73;;66726:31;66732:10;66744:12;66726:5;:31::i;:::-;66796:21;66820:4;-1:-1:-1;;;;;66820:13:0;;66842:4;66820:28;;;;;;;;;;;;;-1:-1:-1;;;;;66820:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66820:28:0;;-1:-1:-1;66947:31:0;;;66943:691;;;66995:19;67017:34;:15;67037:13;67017:19;:34::i;:::-;67165:10;;67194:5;;67202:35;;;-1:-1:-1;;;67202:35:0;;;;;;;;;;66995:56;;-1:-1:-1;;;;;;67165:10:0;;;;67153:32;;67194:5;;;;67202:22;;;;;:35;;;;;;;;;;;;;;:22;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67202:35:0;67153:85;;;-1:-1:-1;;;;;;67153:85:0;;;;;;;-1:-1:-1;;;;;67153:85:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;67153:85:0;;;;;;;-1:-1:-1;67153:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67255:28;67286:4;-1:-1:-1;;;;;67286:13:0;;67308:4;67286:28;;;;;;;;;;;;;-1:-1:-1;;;;;67286:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67286:28:0;;-1:-1:-1;67329:13:0;67345:39;67286:28;67370:13;67345:24;:39::i;:::-;67329:55;;67533:11;67525:5;:19;67521:102;;;67583:24;:13;67601:5;67583:17;:24::i;:::-;67565:42;;67521:102;66943:691;;;;67742:4;-1:-1:-1;;;;;67742:13:0;;67756:10;67768:4;-1:-1:-1;;;;;67768:22:0;;67791:15;67768:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67768:39:0;67742:66;;;-1:-1:-1;;;;;;67742:66:0;;;;;;;-1:-1:-1;;;;;67742:66:0;;;;;;;;;;;;;;;;;;;;67768:39;;67742:66;;;;;;;-1:-1:-1;67742:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;66436:1380:0:o;49793:111::-;49867:10;;-1:-1:-1;;;;;49867:10:0;49853;:24;49845:51;;;;;-1:-1:-1;;;49845:51:0;;;;;;;;;;;;-1:-1:-1;;;49845:51:0;;;;;;;;;;;;;;46263:120;45808:7;;;;45800:40;;;;;-1:-1:-1;;;45800:40:0;;;;;;;;;;;;-1:-1:-1;;;45800:40:0;;;;;;;;;;;;;;;46322:7:::1;:15:::0;;-1:-1:-1;;46322:15:0::1;::::0;;46353:22:::1;46362:12;:10;:12::i;:::-;46353:22;::::0;;-1:-1:-1;;;;;46353:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;46263:120::o:0;5222:471::-;5280:7;5525:6;5521:47;;-1:-1:-1;5555:1:0;5548:8;;5521:47;5592:5;;;5596:1;5592;:5;:1;5616:5;;;;;:10;5608:56;;;;-1:-1:-1;;;5608:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6169:132;6227:7;6254:39;6258:1;6261;6254:39;;;;;;;;;;;;;;;;;:3;:39::i;50083:147::-;50163:6;;-1:-1:-1;;;;;50163:6:0;50149:10;:20;;:48;;-1:-1:-1;50187:10:0;;-1:-1:-1;;;;;50187:10:0;50173;:24;50149:48;50141:81;;;;;-1:-1:-1;;;50141:81:0;;;;;;;;;;;;-1:-1:-1;;;50141:81:0;;;;;;;;;;;;;;20534:604;20976:4;21087:17;21123:7;20534:604;:::o;24976:177::-;20078:13;;;;;;;;:33;;;20095:16;:14;:16::i;:::-;20078:50;;;-1:-1:-1;20116:12:0;;;;20115:13;20078:50;20070:109;;;;-1:-1:-1;;;20070:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20192:19;20215:13;;;;;;20214:14;20239:101;;;;20274:13;:20;;-1:-1:-1;;;;20274:20:0;;;;;20309:19;20290:4;20309:19;;;20239:101;25072:26:::1;:24;:26::i;:::-;25109:36;25132:4;25138:6;25109:22;:36::i;:::-;20370:14:::0;20366:68;;;20417:5;20401:21;;-1:-1:-1;;20401:21:0;;;24976:177;;;:::o;46004:118::-;45532:7;;;;45531:8;45523:37;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;-1:-1:-1;;;45523:37:0;;;;;;;;;;;;;;;46064:7:::1;:14:::0;;-1:-1:-1;;46064:14:0::1;46074:4;46064:14;::::0;;46094:20:::1;46101:12;:10;:12::i;55479:141::-:0;55560:8;;-1:-1:-1;;;;;55560:8:0;55546:10;:22;;:50;;-1:-1:-1;55586:10:0;;-1:-1:-1;;;;;55586:10:0;55572;:24;55546:50;55538:74;;;;;-1:-1:-1;;;55538:74:0;;;;;;;;;;;;-1:-1:-1;;;55538:74:0;;;;;;;;;;;;;;4771:192;4857:7;4893:12;4885:6;;;;4877:29;;;;-1:-1:-1;;;4877:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4929:5:0;;;4771:192::o;26979:175::-;27065:4;27082:42;27092:12;:10;:12::i;:::-;27106:9;27117:6;27082:9;:42::i;65385:975::-;65476:5;;-1:-1:-1;;;;;65476:5:0;65449:10;65518:8;:6;:8::i;:::-;65496:30;;65582:15;65600:4;-1:-1:-1;;;;;65600:13:0;;65622:4;65600:28;;;;;;;;;;;;;-1:-1:-1;;;;;65600:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65600:28:0;65649:53;;;-1:-1:-1;;;65649:53:0;;65667:10;65649:53;;;;65687:4;65649:53;;;;;;;;;;;;65600:28;;-1:-1:-1;;;;;;65649:17:0;;;;;:53;;;;;65600:28;;65649:53;;;;;;;;-1:-1:-1;65649:17:0;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65649:53:0;65641:62;;;;;;65716:14;65733:4;-1:-1:-1;;;;;65733:13:0;;65755:4;65733:28;;;;;;;;;;;;;-1:-1:-1;;;;;65733:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65733:28:0;;-1:-1:-1;65772:26:0;65801:19;65733:28;65812:7;65801:10;:19::i;:::-;65772:48;;65877:19;65915:13;:11;:13::i;:::-;65911:399;;65964:4;-1:-1:-1;;;;;65964:25:0;;65990:18;65964:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65964:45:0;;-1:-1:-1;65911:399:0;;;66042:25;66070:4;-1:-1:-1;;;;;66070:25:0;;66096:11;66070:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66070:38:0;66158:45;;;-1:-1:-1;;;66158:45:0;;;;;;;;;;66070:38;;-1:-1:-1;66123:32:0;;-1:-1:-1;;;;;66158:25:0;;;;;:45;;;;;66070:38;;66158:45;;;;;;;:25;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66158:45:0;;-1:-1:-1;66232:66:0;66280:17;66232:43;66261:13;:11;:13::i;:::-;66232:24;;:28;:43::i;:66::-;66218:80;;65911:399;;;66322:30;66328:10;66340:11;66322:5;:30::i;:::-;65385:975;;;;;;;:::o;17780:772::-;18215:23;18241:69;18269:4;18241:69;;;;;;;;;;;;;;;;;18249:5;-1:-1:-1;;;;;18241:27:0;;;:69;;;;;:::i;:::-;18325:17;;18215:95;;-1:-1:-1;18325:21:0;18321:224;;18467:10;18456:30;;;;;;;;;;;;;;;-1:-1:-1;18456:30:0;18448:85;;;;-1:-1:-1;;;18448:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30368:539;-1:-1:-1;;;;;30474:20:0;;30466:70;;;;-1:-1:-1;;;30466:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30555:23:0;;30547:71;;;;-1:-1:-1;;;30547:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30631:47;30652:6;30660:9;30671:6;30631:20;:47::i;:::-;30711:71;30733:6;30711:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30711:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;30691:17:0;;;;;;;:9;:17;;;;;;:91;;;;30816:20;;;;;;;:32;;30841:6;30816:24;:32::i;:::-;-1:-1:-1;;;;;30793:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;30864:35;;;;;;;30793:20;;30864:35;;;;;;;;;;;;;30368:539;;;:::o;31898:418::-;-1:-1:-1;;;;;31982:21:0;;31974:67;;;;-1:-1:-1;;;31974:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32054:49;32075:7;32092:1;32096:6;32054:20;:49::i;:::-;32137:68;32160:6;32137:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32137:18:0;;;;;;:9;:18;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;32116:18:0;;;;;;:9;:18;;;;;:89;32231:12;;:24;;32248:6;32231:16;:24::i;:::-;32216:12;:39;32271:37;;;;;;;;32297:1;;-1:-1:-1;;;;;32271:37:0;;;;;;;;;;;;31898:418;;:::o;4332:136::-;4390:7;4417:43;4421:1;4424;4417:43;;;;;;;;;;;;;;;;;:3;:43::i;6797:278::-;6883:7;6918:12;6911:5;6903:28;;;;-1:-1:-1;;;6903:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6942:9;6958:1;6954;:5;;;;;;;6797:278;-1:-1:-1;;;;;6797:278:0:o;22020:65::-;20078:13;;;;;;;;:33;;;20095:16;:14;:16::i;:::-;20078:50;;;-1:-1:-1;20116:12:0;;;;20115:13;20078:50;20070:109;;;;-1:-1:-1;;;20070:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20192:19;20215:13;;;;;;20214:14;20239:101;;;;20274:13;:20;;-1:-1:-1;;;;20274:20:0;;;;;20309:19;20290:4;20309:19;;;20239:101;20370:14;20366:68;;;20417:5;20401:21;;-1:-1:-1;;20401:21:0;;;22020:65;:::o;25161:178::-;20078:13;;;;;;;;:33;;;20095:16;:14;:16::i;:::-;20078:50;;;-1:-1:-1;20116:12:0;;;;20115:13;20078:50;20070:109;;;;-1:-1:-1;;;20070:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20192:19;20215:13;;;;;;20214:14;20239:101;;;;20274:13;:20;;-1:-1:-1;;;;20274:20:0;;;;;20309:19;20290:4;20309:19;;;20239:101;25267:12;;::::1;::::0;:5:::1;::::0;:12:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;25290:16:0;;::::1;::::0;:7:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;25317:9:0::1;:14:::0;;-1:-1:-1;;25317:14:0::1;25329:2;25317:14;::::0;;20366:68;;;;20417:5;20401:21;;-1:-1:-1;;20401:21:0;;;25161:178;;;:::o;31188:378::-;-1:-1:-1;;;;;31272:21:0;;31264:65;;;;;-1:-1:-1;;;31264:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;31342:49;31371:1;31375:7;31384:6;31342:20;:49::i;:::-;31419:12;;:24;;31436:6;31419:16;:24::i;:::-;31404:12;:39;-1:-1:-1;;;;;31475:18:0;;;;;;:9;:18;;;;;;:30;;31498:6;31475:22;:30::i;:::-;-1:-1:-1;;;;;31454:18:0;;;;;;:9;:18;;;;;;;;:51;;;;31521:37;;;;;;;31454:18;;;;31521:37;;;;;;;;;;31188:378;;:::o;12071:196::-;12174:12;12206:53;12229:6;12237:4;12243:1;12246:12;13578;13611:18;13622:6;13611:10;:18::i;:::-;13603:60;;;;;-1:-1:-1;;;13603:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13737:12;13751:23;13778:6;-1:-1:-1;;;;;13778:11:0;13798:8;13809:4;13778:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13778:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13736:78;;;;13829:7;13825:595;;;13860:10;-1:-1:-1;13853:17:0;;-1:-1:-1;13853:17:0;13825:595;13974:17;;:21;13970:439;;14237:10;14231:17;14298:15;14285:10;14281:2;14277:19;14270:44;14185:148;14373:20;;-1:-1:-1;;;14373:20:0;;;;;;;;;;;;;;;;;14380:12;;14373:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9150:422;9517:20;9556:8;;;9150:422::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://8ef1599ff7aa77ea0b468eaa65d684476adc93422f4c70351778757238eb73a9

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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