FTM Price: $0.98 (-4.36%)
Gas: 38 GWei

Contract

0x44d1D50443486aedA23551309578e114Aa20f8d1
 

Overview

FTM Balance

Fantom LogoFantom LogoFantom Logo0 FTM

FTM Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value
Approve594888062023-04-09 14:43:08354 days ago1681051388IN
0x44d1D504...4Aa20f8d1
0 FTM0.0018496176.28555588
Approve510360322022-11-17 17:19:34497 days ago1668705574IN
0x44d1D504...4Aa20f8d1
0 FTM0.0021448288.46086323
Approve232722152021-11-27 10:11:57852 days ago1638007917IN
0x44d1D504...4Aa20f8d1
0 FTM0.04818775408.41580001
Approve227926182021-11-22 10:51:57857 days ago1637578317IN
0x44d1D504...4Aa20f8d1
0 FTM0.00945876210.7849
Approve206984172021-11-01 0:52:56879 days ago1635727976IN
0x44d1D504...4Aa20f8d1
0 FTM0.00187158120.7633
Approve202750352021-10-27 17:41:01883 days ago1635356461IN
0x44d1D504...4Aa20f8d1
0 FTM0.01616496360.2302
Approve198200912021-10-23 4:08:49888 days ago1634962129IN
0x44d1D504...4Aa20f8d1
0 FTM0.00983106221.2708
Approve197246442021-10-22 2:11:14889 days ago1634868674IN
0x44d1D504...4Aa20f8d1
0 FTM0.00746297166.3096
Approve196976052021-10-21 19:03:19889 days ago1634842999IN
0x44d1D504...4Aa20f8d1
0 FTM0.0086388192.5125
Approve196885692021-10-21 16:35:36889 days ago1634834136IN
0x44d1D504...4Aa20f8d1
0 FTM0.00921324207.3655
Approve196783652021-10-21 13:31:42889 days ago1634823102IN
0x44d1D504...4Aa20f8d1
0 FTM0.01145476255.265
Approve196637692021-10-21 9:22:47890 days ago1634808167IN
0x44d1D504...4Aa20f8d1
0 FTM0.00821088182.9764
Approve193765652021-10-18 1:11:23893 days ago1634519483IN
0x44d1D504...4Aa20f8d1
0 FTM0.00285467184.1965
Approve193006812021-10-17 3:58:01894 days ago1634443081IN
0x44d1D504...4Aa20f8d1
0 FTM0.00676678150.79526
Approve192640842021-10-16 18:08:52894 days ago1634407732IN
0x44d1D504...4Aa20f8d1
0 FTM0.00448743101
Approve192632482021-10-16 17:55:25894 days ago1634406925IN
0x44d1D504...4Aa20f8d1
0 FTM0.0052346117.817
Approve192472522021-10-16 13:25:34894 days ago1634390734IN
0x44d1D504...4Aa20f8d1
0 FTM0.00305173120.9565
Approve192472162021-10-16 13:24:45894 days ago1634390685IN
0x44d1D504...4Aa20f8d1
0 FTM0.00537409120.9565
Approve192338702021-10-16 9:26:18895 days ago1634376378IN
0x44d1D504...4Aa20f8d1
0 FTM0.00507184114.1537
Approve192145252021-10-16 3:58:37895 days ago1634356717IN
0x44d1D504...4Aa20f8d1
0 FTM0.00424934201
Approve191917812021-10-15 21:36:52895 days ago1634333812IN
0x44d1D504...4Aa20f8d1
0 FTM0.00619888138.1399
Approve191904842021-10-15 21:17:16895 days ago1634332636IN
0x44d1D504...4Aa20f8d1
0 FTM0.0071055158.3434
Approve191758282021-10-15 17:36:08895 days ago1634319368IN
0x44d1D504...4Aa20f8d1
0 FTM0.01153295257.0074
Approve191705692021-10-15 16:17:58895 days ago1634314678IN
0x44d1D504...4Aa20f8d1
0 FTM0.01626776362.521
Approve191705232021-10-15 16:17:17895 days ago1634314637IN
0x44d1D504...4Aa20f8d1
0 FTM0.00559215360.8308
View all transactions

Latest 1 internal transaction

Parent Txn Hash Block From To Value
185798122021-10-08 8:39:33903 days ago1633682373  Contract Creation0 FTM
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SalmonDefiToken

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 ftmscan.com on 2021-10-08
*/

// File: @openzeppelin/contracts/utils/Context.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

// File: contracts/libs/IBEP20.sol

// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.4.0;

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/math/SafeMath.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/libs/BEP20.sol



pragma solidity >=0.4.0;






/**
 * @dev Implementation of the {IBEP20} 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 {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-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 BEP20 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 {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

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

    /**
     * @dev See {BEP20-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 override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * 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 override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, "BEP20: 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 {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public 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 {BEP20-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 returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(subtractedValue, "BEP20: decreased allowance below zero")
        );
        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        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), "BEP20: transfer from the zero address");
        require(recipient != address(0), "BEP20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount, "BEP20: 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 {
        require(account != address(0), "BEP20: mint to the zero address");

        _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 {
        require(account != address(0), "BEP20: burn from the zero address");

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

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

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

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance")
        );
    }
}

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol

pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol

pragma solidity >=0.6.2;


interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol

pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

// File: contracts/SalmonDefiToken.sol



pragma solidity 0.6.12;





// SalmonDefiToken with Governance.
contract SalmonDefiToken is BEP20 {
    // Transfer tax rate in basis points. (default 1%)
    uint16 public transferTaxRate = 100;
    // Burn rate % of transfer tax. (default 20% x 1% = 0.2% of total amount).
    uint16 public burnRate = 20;
    // Max transfer tax rate: 10%.
    uint16 public constant MAXIMUM_TRANSFER_TAX_RATE = 100;
    // Burn address
    address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;

    // Max transfer amount rate in basis points. (default is 2% of total supply)
    uint16 public maxTransferAmountRate = 20;
    // Addresses that excluded from antiWhale
    mapping(address => bool) private _excludedFromAntiWhale;
    // Automatic swap and liquify enabled
    bool public swapAndLiquifyEnabled = false;
    // Min amount to liquify. (default 500 Sakes)
    uint256 public minAmountToLiquify = 500 ether;
    // The swap router, modifiable. Will be changed to SalmonDefi's router when our own AMM release
    IUniswapV2Router02 public salmonDefiRouter;
    // The trading pair
    address public salmonDefiPair;
    // In swap and liquify
    bool private _inSwapAndLiquify;

    // The operator can only update the transfer tax rate
    address private _operator;

    // Events
    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);
    event TransferTaxRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event BurnRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event MaxTransferAmountRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event SwapAndLiquifyEnabledUpdated(address indexed operator, bool enabled);
    event MinAmountToLiquifyUpdated(address indexed operator, uint256 previousAmount, uint256 newAmount);
    event SalmonDefiRouterUpdated(address indexed operator, address indexed router, address indexed pair);
    event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity);

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    modifier antiWhale(address sender, address recipient, uint256 amount) {
        if (maxTransferAmount() > 0) {
            if (
                _excludedFromAntiWhale[sender] == false
                && _excludedFromAntiWhale[recipient] == false
            ) {
                require(amount <= maxTransferAmount(), "SAKE::antiWhale: Transfer amount exceeds the maxTransferAmount");
            }
        }
        _;
    }

    modifier lockTheSwap {
        _inSwapAndLiquify = true;
        _;
        _inSwapAndLiquify = false;
    }

    modifier transferTaxFree {
        uint16 _transferTaxRate = transferTaxRate;
        transferTaxRate = 0;
        _;
        transferTaxRate = _transferTaxRate;
    }

    /**
     * @notice Constructs the SalmonDefiToken contract.
     */
    constructor() public BEP20("SalmonDefi Token", "SAKE") {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);

        _excludedFromAntiWhale[msg.sender] = true;
        _excludedFromAntiWhale[address(0)] = true;
        _excludedFromAntiWhale[address(this)] = true;
        _excludedFromAntiWhale[BURN_ADDRESS] = true;
    }

    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    /// @dev overrides transfer function to meet tokenomics of SAKE
    function _transfer(address sender, address recipient, uint256 amount) internal virtual override antiWhale(sender, recipient, amount) {
        // swap and liquify
        if (
            swapAndLiquifyEnabled == true
            && _inSwapAndLiquify == false
            && address(salmonDefiRouter) != address(0)
            && salmonDefiPair != address(0)
            && sender != salmonDefiPair
            && sender != owner()
        ) {
            swapAndLiquify();
        }

        if (recipient == BURN_ADDRESS || transferTaxRate == 0) {
            super._transfer(sender, recipient, amount);
        } else {
            // default tax is 1% of every transfer
            uint256 taxAmount = amount.mul(transferTaxRate).div(10000);
            uint256 burnAmount = taxAmount.mul(burnRate).div(100);
            uint256 liquidityAmount = taxAmount.sub(burnAmount);
            require(taxAmount == burnAmount + liquidityAmount, "SAKE::transfer: Burn value invalid");

            // default 95% of transfer sent to recipient
            uint256 sendAmount = amount.sub(taxAmount);
            require(amount == sendAmount + taxAmount, "SAKE::transfer: Tax value invalid");

            super._transfer(sender, BURN_ADDRESS, burnAmount);
            super._transfer(sender, address(this), liquidityAmount);
            super._transfer(sender, recipient, sendAmount);
            amount = sendAmount;
        }
    }

    /// @dev Swap and liquify
    function swapAndLiquify() private lockTheSwap transferTaxFree {
        uint256 contractTokenBalance = balanceOf(address(this));
        uint256 maxTransferAmount = maxTransferAmount();
        contractTokenBalance = contractTokenBalance > maxTransferAmount ? maxTransferAmount : contractTokenBalance;

        if (contractTokenBalance >= minAmountToLiquify) {
            // only min amount to liquify
            uint256 liquifyAmount = minAmountToLiquify;

            // split the liquify amount into halves
            uint256 half = liquifyAmount.div(2);
            uint256 otherHalf = liquifyAmount.sub(half);

            // capture the contract's current ETH balance.
            // this is so that we can capture exactly the amount of ETH that the
            // swap creates, and not make the liquidity event include any ETH that
            // has been manually sent to the contract
            uint256 initialBalance = address(this).balance;

            // swap tokens for ETH
            swapTokensForEth(half);

            // how much ETH did we just swap into?
            uint256 newBalance = address(this).balance.sub(initialBalance);

            // add liquidity
            addLiquidity(otherHalf, newBalance);

            emit SwapAndLiquify(half, newBalance, otherHalf);
        }
    }

    /// @dev Swap tokens for eth
    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the gentleman sake defi pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = salmonDefiRouter.WETH();

        _approve(address(this), address(salmonDefiRouter), tokenAmount);

        // make the swap
        salmonDefiRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    /// @dev Add liquidity
    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(salmonDefiRouter), tokenAmount);

        // add the liquidity
        salmonDefiRouter.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            operator(),
            block.timestamp
        );
    }

    /**
     * @dev Returns the max transfer amount.
     */
    function maxTransferAmount() public view returns (uint256) {
        return totalSupply().mul(maxTransferAmountRate).div(10000);
    }

    /**
     * @dev Returns the address is excluded from antiWhale or not.
     */
    function isExcludedFromAntiWhale(address _account) public view returns (bool) {
        return _excludedFromAntiWhale[_account];
    }

    // To receive BNB from salmonDefiRouter when swapping
    receive() external payable {}

    /**
     * @dev Update the transfer tax rate.
     * Can only be called by the current operator.
     */
    function updateTransferTaxRate(uint16 _transferTaxRate) public onlyOperator {
        require(_transferTaxRate <= MAXIMUM_TRANSFER_TAX_RATE, "SAKE::updateTransferTaxRate: Transfer tax rate must not exceed the maximum rate.");
        emit TransferTaxRateUpdated(msg.sender, transferTaxRate, _transferTaxRate);
        transferTaxRate = _transferTaxRate;
    }

    /**
     * @dev Update the burn rate.
     * Can only be called by the current operator.
     */
    function updateBurnRate(uint16 _burnRate) public onlyOperator {
        require(_burnRate <= 100, "SAKE::updateBurnRate: Burn rate must not exceed the maximum rate.");
        emit BurnRateUpdated(msg.sender, burnRate, _burnRate);
        burnRate = _burnRate;
    }

    /**
     * @dev Update the max transfer amount rate.
     * Can only be called by the current operator.
     */
    function updateMaxTransferAmountRate(uint16 _maxTransferAmountRate) public onlyOperator {
        require(_maxTransferAmountRate <= 10000, "SAKE::updateMaxTransferAmountRate: Max transfer amount rate must not exceed the maximum rate.");
        emit MaxTransferAmountRateUpdated(msg.sender, maxTransferAmountRate, _maxTransferAmountRate);
        maxTransferAmountRate = _maxTransferAmountRate;
    }

    /**
     * @dev Update the min amount to liquify.
     * Can only be called by the current operator.
     */
    function updateMinAmountToLiquify(uint256 _minAmount) public onlyOperator {
        emit MinAmountToLiquifyUpdated(msg.sender, minAmountToLiquify, _minAmount);
        minAmountToLiquify = _minAmount;
    }

    /**
     * @dev Exclude or include an address from antiWhale.
     * Can only be called by the current operator.
     */
    function setExcludedFromAntiWhale(address _account, bool _excluded) public onlyOperator {
        _excludedFromAntiWhale[_account] = _excluded;
    }

    /**
     * @dev Update the swapAndLiquifyEnabled.
     * Can only be called by the current operator.
     */
    function updateSwapAndLiquifyEnabled(bool _enabled) public onlyOperator {
        emit SwapAndLiquifyEnabledUpdated(msg.sender, _enabled);
        swapAndLiquifyEnabled = _enabled;
    }

    /**
     * @dev Update the swap router.
     * Can only be called by the current operator.
     */
    function updateSalmonDefiRouter(address _router) public onlyOperator {
        salmonDefiRouter = IUniswapV2Router02(_router);
        salmonDefiPair = IUniswapV2Factory(salmonDefiRouter.factory()).getPair(address(this), salmonDefiRouter.WETH());
        require(salmonDefiPair != address(0), "SAKE::updateSalmonDefiRouter: Invalid pair address.");
        emit SalmonDefiRouterUpdated(msg.sender, address(salmonDefiRouter), salmonDefiPair);
    }

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

    /**
     * @dev Transfers operator of the contract to a new account (`newOperator`).
     * Can only be called by the current operator.
     */
    function transferOperator(address newOperator) public onlyOperator {
        require(newOperator != address(0), "SAKE::transferOperator: new operator is the zero address");
        emit OperatorTransferred(_operator, newOperator);
        _operator = newOperator;
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @dev A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

      /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "SAKE::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "SAKE::delegateBySig: invalid nonce");
        require(now <= expiry, "SAKE::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "SAKE::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying Sakes (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "SAKE::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"BurnRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"MaxTransferAmountRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MinAmountToLiquifyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"router","type":"address"},{"indexed":true,"internalType":"address","name":"pair","type":"address"}],"name":"SalmonDefiRouterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","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":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"TransferTaxRateUpdated","type":"event"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_TRANSFER_TAX_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isExcludedFromAntiWhale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmountRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minAmountToLiquify","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salmonDefiPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"salmonDefiRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"setExcludedFromAntiWhale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferTaxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_burnRate","type":"uint16"}],"name":"updateBurnRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxTransferAmountRate","type":"uint16"}],"name":"updateMaxTransferAmountRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minAmount","type":"uint256"}],"name":"updateMinAmountToLiquify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"updateSalmonDefiRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_transferTaxRate","type":"uint16"}],"name":"updateTransferTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526006805462ffff0019166164001764ffff000000191663140000001761ffff60281b1916651400000000001790556008805460ff19169055681b1ae4d6e2ef5000006009553480156200005657600080fd5b506040518060400160405280601081526020016f29b0b636b7b72232b334902a37b5b2b760811b8152506040518060400160405280600481526020016353414b4560e01b8152506000620000af6200021760201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35081516200010e9060049060208501906200021b565b508051620001249060059060208401906200021b565b50506006805460ff19166012179055506200013e62000217565b600c80546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3336000908152600760205260408082208054600160ff1991821681179092557f6d5257204ebe7d88fd91ae87941cb2dd9d8062b64ae5a2bd2d28ec40b9fbf6df8054821683179055308452918320805483168217905561dead9092527fb0c2646e02af70b79e3fe9277b98373379f54150e4e26b2b5650139f7a75a65d80549091169091179055620002b7565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025e57805160ff19168380011785556200028e565b828001600101855582156200028e579182015b828111156200028e57825182559160200191906001019062000271565b506200029c929150620002a0565b5090565b5b808211156200029c5760008155600101620002a1565b61322b80620002c76000396000f3fe60806040526004361061028c5760003560e01c8063782d6fe11161015a578063b65d08b0116100c1578063e7a324dc1161007a578063e7a324dc14610a06578063ea72edca14610a1b578063f1127ed814610a30578063f2fde38b14610a8f578063f607f2b414610ac2578063fccc281314610af057610293565b8063b65d08b0146108fd578063bed9985014610912578063c3cda52014610927578063c7f59a671461097b578063d8248358146109b6578063dd62ed3e146109cb57610293565b8063a0712d6811610113578063a0712d68146107ef578063a392e67414610819578063a457c2d714610843578063a9059cbb1461087c578063a9e75723146108b5578063b4b5ea57146108ca57610293565b8063782d6fe1146107185780637ecebe0014610751578063893d20e8146107845780638da5cb5b1461079957806395d89b41146107ae5780639f9a4e7f146107c357610293565b80633ff8bf2e116101fe578063587cde1e116101b7578063587cde1e146105f05780635c19a95c146106235780636a141e2c146106565780636fcfff451461068457806370a08231146106d0578063715018a61461070357610293565b80633ff8bf2e1461051457806340c10f19146105295780634a74bb02146105625780634eab409014610577578063541a4b12146105a8578063570ca735146105db57610293565b806323b872dd1161025057806323b872dd146103d7578063269f534c1461041a57806329605e771461044d578063313ce56714610482578063376c2391146104ad57806339509351146104db57610293565b806306fdde0314610298578063095ea7b31461032257806318160ddd1461036f5780631ad9339a1461039657806320606b70146103c257610293565b3661029357005b600080fd5b3480156102a457600080fd5b506102ad610b05565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e75781810151838201526020016102cf565b50505050905090810190601f1680156103145780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032e57600080fd5b5061035b6004803603604081101561034557600080fd5b506001600160a01b038135169060200135610b9b565b604080519115158252519081900360200190f35b34801561037b57600080fd5b50610384610bb9565b60408051918252519081900360200190f35b3480156103a257600080fd5b506103ab610bbf565b6040805161ffff9092168252519081900360200190f35b3480156103ce57600080fd5b50610384610bc4565b3480156103e357600080fd5b5061035b600480360360608110156103fa57600080fd5b506001600160a01b03813581169160208101359091169060400135610be8565b34801561042657600080fd5b5061035b6004803603602081101561043d57600080fd5b50356001600160a01b0316610c6f565b34801561045957600080fd5b506104806004803603602081101561047057600080fd5b50356001600160a01b0316610c8d565b005b34801561048e57600080fd5b50610497610d77565b6040805160ff9092168252519081900360200190f35b3480156104b957600080fd5b50610480600480360360208110156104d057600080fd5b503561ffff16610d80565b3480156104e757600080fd5b5061035b600480360360408110156104fe57600080fd5b506001600160a01b038135169060200135610e74565b34801561052057600080fd5b506103ab610ec2565b34801561053557600080fd5b506104806004803603604081101561054c57600080fd5b506001600160a01b038135169060200135610ed3565b34801561056e57600080fd5b5061035b610f68565b34801561058357600080fd5b5061058c610f71565b604080516001600160a01b039092168252519081900360200190f35b3480156105b457600080fd5b50610480600480360360208110156105cb57600080fd5b50356001600160a01b0316610f80565b3480156105e757600080fd5b5061058c6111e5565b3480156105fc57600080fd5b5061058c6004803603602081101561061357600080fd5b50356001600160a01b03166111f4565b34801561062f57600080fd5b506104806004803603602081101561064657600080fd5b50356001600160a01b0316611212565b34801561066257600080fd5b506104806004803603602081101561067957600080fd5b503561ffff1661121f565b34801561069057600080fd5b506106b7600480360360208110156106a757600080fd5b50356001600160a01b031661131c565b6040805163ffffffff9092168252519081900360200190f35b3480156106dc57600080fd5b50610384600480360360208110156106f357600080fd5b50356001600160a01b0316611334565b34801561070f57600080fd5b5061048061134f565b34801561072457600080fd5b506103846004803603604081101561073b57600080fd5b506001600160a01b0381351690602001356113fb565b34801561075d57600080fd5b506103846004803603602081101561077457600080fd5b50356001600160a01b0316611603565b34801561079057600080fd5b5061058c611615565b3480156107a557600080fd5b5061058c611624565b3480156107ba57600080fd5b506102ad611633565b3480156107cf57600080fd5b50610480600480360360208110156107e657600080fd5b50351515611694565b3480156107fb57600080fd5b5061035b6004803603602081101561081257600080fd5b5035611728565b34801561082557600080fd5b506104806004803603602081101561083c57600080fd5b50356117a5565b34801561084f57600080fd5b5061035b6004803603604081101561086657600080fd5b506001600160a01b038135169060200135611831565b34801561088857600080fd5b5061035b6004803603604081101561089f57600080fd5b506001600160a01b038135169060200135611899565b3480156108c157600080fd5b506103846118ad565b3480156108d657600080fd5b50610384600480360360208110156108ed57600080fd5b50356001600160a01b03166118de565b34801561090957600080fd5b506103ab611942565b34801561091e57600080fd5b506103ab611951565b34801561093357600080fd5b50610480600480360360c081101561094a57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135611962565b34801561098757600080fd5b506104806004803603604081101561099e57600080fd5b506001600160a01b0381351690602001351515611bd5565b3480156109c257600080fd5b50610384611c49565b3480156109d757600080fd5b50610384600480360360408110156109ee57600080fd5b506001600160a01b0381358116916020013516611c4f565b348015610a1257600080fd5b50610384611c7a565b348015610a2757600080fd5b5061058c611c9e565b348015610a3c57600080fd5b50610a6f60048036036040811015610a5357600080fd5b5080356001600160a01b0316906020013563ffffffff16611cad565b6040805163ffffffff909316835260208301919091528051918290030190f35b348015610a9b57600080fd5b5061048060048036036020811015610ab257600080fd5b50356001600160a01b0316611cda565b348015610ace57600080fd5b5061048060048036036020811015610ae557600080fd5b503561ffff16611ddc565b348015610afc57600080fd5b5061058c611ed6565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b5050505050905090565b6000610baf610ba8611edc565b8484611ee0565b5060015b92915050565b60035490565b606481565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610bf5848484611fcc565b610c6584610c01611edc565b610c6085604051806060016040528060288152602001612f4a602891396001600160a01b038a16600090815260026020526040812090610c3f611edc565b6001600160a01b031681526020810191909152604001600020549190612245565b611ee0565b5060019392505050565b6001600160a01b031660009081526007602052604090205460ff1690565b600c546001600160a01b03163314610cd65760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b6001600160a01b038116610d1b5760405162461bcd60e51b81526004018080602001828103825260388152602001806130596038913960400191505060405180910390fd5b600c546040516001600160a01b038084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60065460ff1690565b600c546001600160a01b03163314610dc95760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b606461ffff82161115610e0d5760405162461bcd60e51b8152600401808060200182810382526050815260200180612dc76050913960600191505060405180910390fd5b6006546040805161ffff610100909304831681529183166020830152805133927fe9d5c8ee2a65d4fb859c680669d8f902172d53e3f15f9f11108a31bbada4b70b92908290030190a26006805461ffff9092166101000262ffff0019909216919091179055565b6000610baf610e81611edc565b84610c608560026000610e92611edc565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906122dc565b600654600160281b900461ffff1681565b610edb611edc565b6001600160a01b0316610eec611624565b6001600160a01b031614610f35576040805162461bcd60e51b81526020600482018190526024820152600080516020613017833981519152604482015290519081900360640190fd5b610f3f8282612336565b6001600160a01b038083166000908152600d6020526040812054610f6492168361241c565b5050565b60085460ff1681565b600b546001600160a01b031681565b600c546001600160a01b03163314610fc95760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b600a80546001600160a01b0319166001600160a01b0383811691909117918290556040805163c45a015560e01b81529051929091169163c45a015591600480820192602092909190829003018186803b15801561102557600080fd5b505afa158015611039573d6000803e3d6000fd5b505050506040513d602081101561104f57600080fd5b5051600a54604080516315ab88c960e31b815290516001600160a01b039384169363e6a4390593309391169163ad5c464891600480820192602092909190829003018186803b1580156110a157600080fd5b505afa1580156110b5573d6000803e3d6000fd5b505050506040513d60208110156110cb57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b15801561111b57600080fd5b505afa15801561112f573d6000803e3d6000fd5b505050506040513d602081101561114557600080fd5b5051600b80546001600160a01b0319166001600160a01b039283161790819055166111a15760405162461bcd60e51b8152600401808060200182810382526033815260200180612e176033913960400191505060405180910390fd5b600b54600a546040516001600160a01b03928316929091169033907f2b15c4ae5404bae619320cc4054625901844bde4f6fafffa58f097726efd8a8590600090a450565b600c546001600160a01b031690565b6001600160a01b039081166000908152600d60205260409020541690565b61121c338261255e565b50565b600c546001600160a01b031633146112685760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b6127108161ffff1611156112ad5760405162461bcd60e51b815260040180806020018281038252605d815260200180612eb9605d913960600191505060405180910390fd5b6006546040805161ffff600160281b909304831681529183166020830152805133927fb62a50fc861a770636e85357becb3b82a32e911106609d4985871eaf29011e0892908290030190a26006805461ffff909216600160281b0266ffff000000000019909216919091179055565b600f6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526001602052604090205490565b611357611edc565b6001600160a01b0316611368611624565b6001600160a01b0316146113b1576040805162461bcd60e51b81526020600482018190526024820152600080516020613017833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600043821061143b5760405162461bcd60e51b81526004018080602001828103825260278152602001806131876027913960400191505060405180910390fd5b6001600160a01b0383166000908152600f602052604090205463ffffffff1680611469576000915050610bb3565b6001600160a01b0384166000908152600e6020908152604080832063ffffffff6000198601811685529252909120541683106114d8576001600160a01b0384166000908152600e602090815260408083206000199490940163ffffffff16835292905220600101549050610bb3565b6001600160a01b0384166000908152600e6020908152604080832083805290915290205463ffffffff16831015611513576000915050610bb3565b600060001982015b8163ffffffff168163ffffffff1611156115cc57600282820363ffffffff16048103611545612daf565b506001600160a01b0387166000908152600e6020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152908714156115a757602001519450610bb39350505050565b805163ffffffff168711156115be578193506115c5565b6001820392505b505061151b565b506001600160a01b0385166000908152600e6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60106020526000908152604090205481565b600061161f611624565b905090565b6000546001600160a01b031690565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b915780601f10610b6657610100808354040283529160200191610b91565b600c546001600160a01b031633146116dd5760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b604080518215158152905133917f3ca65588b29182880283bc8778fea5f01b351e01d874839a39a99e1c281a2113919081900360200190a26008805460ff1916911515919091179055565b6000611732611edc565b6001600160a01b0316611743611624565b6001600160a01b03161461178c576040805162461bcd60e51b81526020600482018190526024820152600080516020613017833981519152604482015290519081900360640190fd5b61179d611797611edc565b83612336565b506001919050565b600c546001600160a01b031633146117ee5760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b6009546040805191825260208201839052805133927f54c7a13ff01698e4ed3550a23216585f8472c7b1515a932eac98c9a6d48990c592908290030190a2600955565b6000610baf61183e611edc565b84610c60856040518060600160405280602581526020016130fe6025913960026000611868611edc565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612245565b6000610baf6118a6611edc565b8484611fcc565b60065460009061161f90612710906118d890600160281b900461ffff166118d2610bb9565b906125f3565b9061264c565b6001600160a01b0381166000908152600f602052604081205463ffffffff168061190957600061193b565b6001600160a01b0383166000908152600e6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b600654610100900461ffff1681565b6006546301000000900461ffff1681565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661198d610b05565b8051906020012061199c6126b3565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015611acf573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611b215760405162461bcd60e51b81526004018080602001828103825260268152602001806131236026913960400191505060405180910390fd5b6001600160a01b03811660009081526010602052604090208054600181019091558914611b7f5760405162461bcd60e51b8152600401808060200182810382526022815260200180612fd46022913960400191505060405180910390fd5b87421115611bbe5760405162461bcd60e51b81526004018080602001828103825260268152602001806131ae6026913960400191505060405180910390fd5b611bc8818b61255e565b505050505b505050505050565b600c546001600160a01b03163314611c1e5760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b60095481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600a546001600160a01b031681565b600e6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b611ce2611edc565b6001600160a01b0316611cf3611624565b6001600160a01b031614611d3c576040805162461bcd60e51b81526020600482018190526024820152600080516020613017833981519152604482015290519081900360640190fd5b6001600160a01b038116611d815760405162461bcd60e51b8152600401808060200182810382526026815260200180612e936026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c546001600160a01b03163314611e255760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b60648161ffff161115611e695760405162461bcd60e51b8152600401808060200182810382526041815260200180612f936041913960600191505060405180910390fd5b6006546040805161ffff6301000000909304831681529183166020830152805133927f3eec69630b6f49d4e10eec296fce4baddec5f34c5430fb2cd72f8c4218f63fd092908290030190a26006805461ffff90921663010000000264ffff00000019909216919091179055565b61dead81565b3390565b6001600160a01b038316611f255760405162461bcd60e51b8152600401808060200182810382526024815260200180612e6f6024913960400191505060405180910390fd5b6001600160a01b038216611f6a5760405162461bcd60e51b81526004018080602001828103825260228152602001806131d46022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8282826000611fd96118ad565b111561206c576001600160a01b03831660009081526007602052604090205460ff1615801561202157506001600160a01b03821660009081526007602052604090205460ff16155b1561206c5761202e6118ad565b81111561206c5760405162461bcd60e51b815260040180806020018281038252603e815260200180613149603e913960400191505060405180910390fd5b60085460ff161515600114801561208d5750600b54600160a01b900460ff16155b80156120a35750600a546001600160a01b031615155b80156120b95750600b546001600160a01b031615155b80156120d35750600b546001600160a01b03878116911614155b80156120f857506120e2611624565b6001600160a01b0316866001600160a01b031614155b15612105576121056126b7565b6001600160a01b03851661dead14806121275750600654610100900461ffff16155b1561213c576121378686866127ca565b611bcd565b60065460009061215e90612710906118d8908890610100900461ffff166125f3565b600654909150600090612184906064906118d89085906301000000900461ffff166125f3565b90506000612192838361291c565b905080820183146121d45760405162461bcd60e51b81526004018080602001828103825260228152602001806130376022913960400191505060405180910390fd5b60006121e0888561291c565b905083810188146122225760405162461bcd60e51b8152600401808060200182810382526021815260200180612f726021913960400191505060405180910390fd5b61222f8a61dead856127ca565b61223a8a30846127ca565b611bc88a8a836127ca565b600081848411156122d45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612299578181015183820152602001612281565b50505050905090810190601f1680156122c65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561193b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216612391576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60035461239e90826122dc565b6003556001600160a01b0382166000908152600160205260409020546123c490826122dc565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b03161415801561243e5750600081115b15612559576001600160a01b038316156124d0576001600160a01b0383166000908152600f602052604081205463ffffffff16908161247e5760006124b0565b6001600160a01b0385166000908152600e6020908152604080832063ffffffff60001987011684529091529020600101545b905060006124be828561291c565b90506124cc86848484612979565b5050505b6001600160a01b03821615612559576001600160a01b0382166000908152600f602052604081205463ffffffff16908161250b57600061253d565b6001600160a01b0384166000908152600e6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061254b82856122dc565b9050611bcd85848484612979565b505050565b6001600160a01b038083166000908152600d60205260408120549091169061258584611334565b6001600160a01b038581166000818152600d602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46125ed82848361241c565b50505050565b60008261260257506000610bb3565b8282028284828161260f57fe5b041461193b5760405162461bcd60e51b8152600401808060200182810382526021815260200180612ff66021913960400191505060405180910390fd5b60008082116126a2576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816126ab57fe5b049392505050565b4690565b600b805460ff60a01b1916600160a01b1790556006805462ffff0019811690915561ffff6101009091041660006126ed30611334565b905060006126f96118ad565b9050808211612708578161270a565b805b9150600954821061279d57600954600061272582600261264c565b90506000612733838361291c565b90504761273f83612ade565b600061274b478361291c565b90506127578382612c84565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a150505050505b50506006805461ffff9092166101000262ffff0019909216919091179055600b805460ff60a01b19169055565b6001600160a01b03831661280f5760405162461bcd60e51b8152600401808060200182810382526025815260200180612e4a6025913960400191505060405180910390fd5b6001600160a01b0382166128545760405162461bcd60e51b81526004018080602001828103825260238152602001806130db6023913960400191505060405180910390fd5b612891816040518060600160405280602681526020016130b5602691396001600160a01b0386166000908152600160205260409020549190612245565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546128c090826122dc565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082821115612973576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600061299d43604051806060016040528060348152602001612f1660349139612d51565b905060008463ffffffff161180156129e657506001600160a01b0385166000908152600e6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15612a23576001600160a01b0385166000908152600e6020908152604080832063ffffffff60001989011684529091529020600101829055612a94565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600e84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600f9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60408051600280825260608083018452926020830190803683370190505090503081600081518110612b0c57fe5b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612b6057600080fd5b505afa158015612b74573d6000803e3d6000fd5b505050506040513d6020811015612b8a57600080fd5b5051815182906001908110612b9b57fe5b6001600160a01b039283166020918202929092010152600a54612bc19130911684611ee0565b600a5460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b83811015612c47578181015183820152602001612c2f565b505050509050019650505050505050600060405180830381600087803b158015612c7057600080fd5b505af1158015611bcd573d6000803e3d6000fd5b600a54612c9c9030906001600160a01b031684611ee0565b600a546001600160a01b031663f305d719823085600080612cbb6111e5565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b158015612d2657600080fd5b505af1158015612d3a573d6000803e3d6000fd5b50505050506040513d60608110156125ed57600080fd5b6000816401000000008410612da75760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612299578181015183820152602001612281565b509192915050565b60408051808201909152600080825260208201529056fe53414b453a3a7570646174655472616e73666572546178526174653a205472616e73666572207461782072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e53414b453a3a75706461746553616c6d6f6e44656669526f757465723a20496e76616c6964207061697220616464726573732e42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737353414b453a3a7570646174654d61785472616e73666572416d6f756e74526174653a204d6178207472616e7366657220616d6f756e742072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e53414b453a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636553414b453a3a7472616e736665723a205461782076616c756520696e76616c696453414b453a3a7570646174654275726e526174653a204275726e2072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e53414b453a3a64656c656761746542795369673a20696e76616c6964206e6f6e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657253414b453a3a7472616e736665723a204275726e2076616c756520696e76616c696453414b453a3a7472616e736665724f70657261746f723a206e6577206f70657261746f7220697320746865207a65726f20616464726573736f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f53414b453a3a64656c656761746542795369673a20696e76616c6964207369676e617475726553414b453a3a616e74695768616c653a205472616e7366657220616d6f756e74206578636565647320746865206d61785472616e73666572416d6f756e7453414b453a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656453414b453a3a64656c656761746542795369673a207369676e6174757265206578706972656442455032303a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220db95c6cef19b8cc94a8445bd24a3c02420d27ba476499f0df724ca22186500bf64736f6c634300060c0033

Deployed Bytecode

0x60806040526004361061028c5760003560e01c8063782d6fe11161015a578063b65d08b0116100c1578063e7a324dc1161007a578063e7a324dc14610a06578063ea72edca14610a1b578063f1127ed814610a30578063f2fde38b14610a8f578063f607f2b414610ac2578063fccc281314610af057610293565b8063b65d08b0146108fd578063bed9985014610912578063c3cda52014610927578063c7f59a671461097b578063d8248358146109b6578063dd62ed3e146109cb57610293565b8063a0712d6811610113578063a0712d68146107ef578063a392e67414610819578063a457c2d714610843578063a9059cbb1461087c578063a9e75723146108b5578063b4b5ea57146108ca57610293565b8063782d6fe1146107185780637ecebe0014610751578063893d20e8146107845780638da5cb5b1461079957806395d89b41146107ae5780639f9a4e7f146107c357610293565b80633ff8bf2e116101fe578063587cde1e116101b7578063587cde1e146105f05780635c19a95c146106235780636a141e2c146106565780636fcfff451461068457806370a08231146106d0578063715018a61461070357610293565b80633ff8bf2e1461051457806340c10f19146105295780634a74bb02146105625780634eab409014610577578063541a4b12146105a8578063570ca735146105db57610293565b806323b872dd1161025057806323b872dd146103d7578063269f534c1461041a57806329605e771461044d578063313ce56714610482578063376c2391146104ad57806339509351146104db57610293565b806306fdde0314610298578063095ea7b31461032257806318160ddd1461036f5780631ad9339a1461039657806320606b70146103c257610293565b3661029357005b600080fd5b3480156102a457600080fd5b506102ad610b05565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e75781810151838201526020016102cf565b50505050905090810190601f1680156103145780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032e57600080fd5b5061035b6004803603604081101561034557600080fd5b506001600160a01b038135169060200135610b9b565b604080519115158252519081900360200190f35b34801561037b57600080fd5b50610384610bb9565b60408051918252519081900360200190f35b3480156103a257600080fd5b506103ab610bbf565b6040805161ffff9092168252519081900360200190f35b3480156103ce57600080fd5b50610384610bc4565b3480156103e357600080fd5b5061035b600480360360608110156103fa57600080fd5b506001600160a01b03813581169160208101359091169060400135610be8565b34801561042657600080fd5b5061035b6004803603602081101561043d57600080fd5b50356001600160a01b0316610c6f565b34801561045957600080fd5b506104806004803603602081101561047057600080fd5b50356001600160a01b0316610c8d565b005b34801561048e57600080fd5b50610497610d77565b6040805160ff9092168252519081900360200190f35b3480156104b957600080fd5b50610480600480360360208110156104d057600080fd5b503561ffff16610d80565b3480156104e757600080fd5b5061035b600480360360408110156104fe57600080fd5b506001600160a01b038135169060200135610e74565b34801561052057600080fd5b506103ab610ec2565b34801561053557600080fd5b506104806004803603604081101561054c57600080fd5b506001600160a01b038135169060200135610ed3565b34801561056e57600080fd5b5061035b610f68565b34801561058357600080fd5b5061058c610f71565b604080516001600160a01b039092168252519081900360200190f35b3480156105b457600080fd5b50610480600480360360208110156105cb57600080fd5b50356001600160a01b0316610f80565b3480156105e757600080fd5b5061058c6111e5565b3480156105fc57600080fd5b5061058c6004803603602081101561061357600080fd5b50356001600160a01b03166111f4565b34801561062f57600080fd5b506104806004803603602081101561064657600080fd5b50356001600160a01b0316611212565b34801561066257600080fd5b506104806004803603602081101561067957600080fd5b503561ffff1661121f565b34801561069057600080fd5b506106b7600480360360208110156106a757600080fd5b50356001600160a01b031661131c565b6040805163ffffffff9092168252519081900360200190f35b3480156106dc57600080fd5b50610384600480360360208110156106f357600080fd5b50356001600160a01b0316611334565b34801561070f57600080fd5b5061048061134f565b34801561072457600080fd5b506103846004803603604081101561073b57600080fd5b506001600160a01b0381351690602001356113fb565b34801561075d57600080fd5b506103846004803603602081101561077457600080fd5b50356001600160a01b0316611603565b34801561079057600080fd5b5061058c611615565b3480156107a557600080fd5b5061058c611624565b3480156107ba57600080fd5b506102ad611633565b3480156107cf57600080fd5b50610480600480360360208110156107e657600080fd5b50351515611694565b3480156107fb57600080fd5b5061035b6004803603602081101561081257600080fd5b5035611728565b34801561082557600080fd5b506104806004803603602081101561083c57600080fd5b50356117a5565b34801561084f57600080fd5b5061035b6004803603604081101561086657600080fd5b506001600160a01b038135169060200135611831565b34801561088857600080fd5b5061035b6004803603604081101561089f57600080fd5b506001600160a01b038135169060200135611899565b3480156108c157600080fd5b506103846118ad565b3480156108d657600080fd5b50610384600480360360208110156108ed57600080fd5b50356001600160a01b03166118de565b34801561090957600080fd5b506103ab611942565b34801561091e57600080fd5b506103ab611951565b34801561093357600080fd5b50610480600480360360c081101561094a57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135611962565b34801561098757600080fd5b506104806004803603604081101561099e57600080fd5b506001600160a01b0381351690602001351515611bd5565b3480156109c257600080fd5b50610384611c49565b3480156109d757600080fd5b50610384600480360360408110156109ee57600080fd5b506001600160a01b0381358116916020013516611c4f565b348015610a1257600080fd5b50610384611c7a565b348015610a2757600080fd5b5061058c611c9e565b348015610a3c57600080fd5b50610a6f60048036036040811015610a5357600080fd5b5080356001600160a01b0316906020013563ffffffff16611cad565b6040805163ffffffff909316835260208301919091528051918290030190f35b348015610a9b57600080fd5b5061048060048036036020811015610ab257600080fd5b50356001600160a01b0316611cda565b348015610ace57600080fd5b5061048060048036036020811015610ae557600080fd5b503561ffff16611ddc565b348015610afc57600080fd5b5061058c611ed6565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b5050505050905090565b6000610baf610ba8611edc565b8484611ee0565b5060015b92915050565b60035490565b606481565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610bf5848484611fcc565b610c6584610c01611edc565b610c6085604051806060016040528060288152602001612f4a602891396001600160a01b038a16600090815260026020526040812090610c3f611edc565b6001600160a01b031681526020810191909152604001600020549190612245565b611ee0565b5060019392505050565b6001600160a01b031660009081526007602052604090205460ff1690565b600c546001600160a01b03163314610cd65760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b6001600160a01b038116610d1b5760405162461bcd60e51b81526004018080602001828103825260388152602001806130596038913960400191505060405180910390fd5b600c546040516001600160a01b038084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60065460ff1690565b600c546001600160a01b03163314610dc95760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b606461ffff82161115610e0d5760405162461bcd60e51b8152600401808060200182810382526050815260200180612dc76050913960600191505060405180910390fd5b6006546040805161ffff610100909304831681529183166020830152805133927fe9d5c8ee2a65d4fb859c680669d8f902172d53e3f15f9f11108a31bbada4b70b92908290030190a26006805461ffff9092166101000262ffff0019909216919091179055565b6000610baf610e81611edc565b84610c608560026000610e92611edc565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906122dc565b600654600160281b900461ffff1681565b610edb611edc565b6001600160a01b0316610eec611624565b6001600160a01b031614610f35576040805162461bcd60e51b81526020600482018190526024820152600080516020613017833981519152604482015290519081900360640190fd5b610f3f8282612336565b6001600160a01b038083166000908152600d6020526040812054610f6492168361241c565b5050565b60085460ff1681565b600b546001600160a01b031681565b600c546001600160a01b03163314610fc95760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b600a80546001600160a01b0319166001600160a01b0383811691909117918290556040805163c45a015560e01b81529051929091169163c45a015591600480820192602092909190829003018186803b15801561102557600080fd5b505afa158015611039573d6000803e3d6000fd5b505050506040513d602081101561104f57600080fd5b5051600a54604080516315ab88c960e31b815290516001600160a01b039384169363e6a4390593309391169163ad5c464891600480820192602092909190829003018186803b1580156110a157600080fd5b505afa1580156110b5573d6000803e3d6000fd5b505050506040513d60208110156110cb57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b15801561111b57600080fd5b505afa15801561112f573d6000803e3d6000fd5b505050506040513d602081101561114557600080fd5b5051600b80546001600160a01b0319166001600160a01b039283161790819055166111a15760405162461bcd60e51b8152600401808060200182810382526033815260200180612e176033913960400191505060405180910390fd5b600b54600a546040516001600160a01b03928316929091169033907f2b15c4ae5404bae619320cc4054625901844bde4f6fafffa58f097726efd8a8590600090a450565b600c546001600160a01b031690565b6001600160a01b039081166000908152600d60205260409020541690565b61121c338261255e565b50565b600c546001600160a01b031633146112685760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b6127108161ffff1611156112ad5760405162461bcd60e51b815260040180806020018281038252605d815260200180612eb9605d913960600191505060405180910390fd5b6006546040805161ffff600160281b909304831681529183166020830152805133927fb62a50fc861a770636e85357becb3b82a32e911106609d4985871eaf29011e0892908290030190a26006805461ffff909216600160281b0266ffff000000000019909216919091179055565b600f6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526001602052604090205490565b611357611edc565b6001600160a01b0316611368611624565b6001600160a01b0316146113b1576040805162461bcd60e51b81526020600482018190526024820152600080516020613017833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600043821061143b5760405162461bcd60e51b81526004018080602001828103825260278152602001806131876027913960400191505060405180910390fd5b6001600160a01b0383166000908152600f602052604090205463ffffffff1680611469576000915050610bb3565b6001600160a01b0384166000908152600e6020908152604080832063ffffffff6000198601811685529252909120541683106114d8576001600160a01b0384166000908152600e602090815260408083206000199490940163ffffffff16835292905220600101549050610bb3565b6001600160a01b0384166000908152600e6020908152604080832083805290915290205463ffffffff16831015611513576000915050610bb3565b600060001982015b8163ffffffff168163ffffffff1611156115cc57600282820363ffffffff16048103611545612daf565b506001600160a01b0387166000908152600e6020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152908714156115a757602001519450610bb39350505050565b805163ffffffff168711156115be578193506115c5565b6001820392505b505061151b565b506001600160a01b0385166000908152600e6020908152604080832063ffffffff9094168352929052206001015491505092915050565b60106020526000908152604090205481565b600061161f611624565b905090565b6000546001600160a01b031690565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b915780601f10610b6657610100808354040283529160200191610b91565b600c546001600160a01b031633146116dd5760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b604080518215158152905133917f3ca65588b29182880283bc8778fea5f01b351e01d874839a39a99e1c281a2113919081900360200190a26008805460ff1916911515919091179055565b6000611732611edc565b6001600160a01b0316611743611624565b6001600160a01b03161461178c576040805162461bcd60e51b81526020600482018190526024820152600080516020613017833981519152604482015290519081900360640190fd5b61179d611797611edc565b83612336565b506001919050565b600c546001600160a01b031633146117ee5760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b6009546040805191825260208201839052805133927f54c7a13ff01698e4ed3550a23216585f8472c7b1515a932eac98c9a6d48990c592908290030190a2600955565b6000610baf61183e611edc565b84610c60856040518060600160405280602581526020016130fe6025913960026000611868611edc565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190612245565b6000610baf6118a6611edc565b8484611fcc565b60065460009061161f90612710906118d890600160281b900461ffff166118d2610bb9565b906125f3565b9061264c565b6001600160a01b0381166000908152600f602052604081205463ffffffff168061190957600061193b565b6001600160a01b0383166000908152600e6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b600654610100900461ffff1681565b6006546301000000900461ffff1681565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661198d610b05565b8051906020012061199c6126b3565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015611acf573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611b215760405162461bcd60e51b81526004018080602001828103825260268152602001806131236026913960400191505060405180910390fd5b6001600160a01b03811660009081526010602052604090208054600181019091558914611b7f5760405162461bcd60e51b8152600401808060200182810382526022815260200180612fd46022913960400191505060405180910390fd5b87421115611bbe5760405162461bcd60e51b81526004018080602001828103825260268152602001806131ae6026913960400191505060405180910390fd5b611bc8818b61255e565b505050505b505050505050565b600c546001600160a01b03163314611c1e5760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b60095481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600a546001600160a01b031681565b600e6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b611ce2611edc565b6001600160a01b0316611cf3611624565b6001600160a01b031614611d3c576040805162461bcd60e51b81526020600482018190526024820152600080516020613017833981519152604482015290519081900360640190fd5b6001600160a01b038116611d815760405162461bcd60e51b8152600401808060200182810382526026815260200180612e936026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600c546001600160a01b03163314611e255760405162461bcd60e51b81526004018080602001828103825260248152602001806130916024913960400191505060405180910390fd5b60648161ffff161115611e695760405162461bcd60e51b8152600401808060200182810382526041815260200180612f936041913960600191505060405180910390fd5b6006546040805161ffff6301000000909304831681529183166020830152805133927f3eec69630b6f49d4e10eec296fce4baddec5f34c5430fb2cd72f8c4218f63fd092908290030190a26006805461ffff90921663010000000264ffff00000019909216919091179055565b61dead81565b3390565b6001600160a01b038316611f255760405162461bcd60e51b8152600401808060200182810382526024815260200180612e6f6024913960400191505060405180910390fd5b6001600160a01b038216611f6a5760405162461bcd60e51b81526004018080602001828103825260228152602001806131d46022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8282826000611fd96118ad565b111561206c576001600160a01b03831660009081526007602052604090205460ff1615801561202157506001600160a01b03821660009081526007602052604090205460ff16155b1561206c5761202e6118ad565b81111561206c5760405162461bcd60e51b815260040180806020018281038252603e815260200180613149603e913960400191505060405180910390fd5b60085460ff161515600114801561208d5750600b54600160a01b900460ff16155b80156120a35750600a546001600160a01b031615155b80156120b95750600b546001600160a01b031615155b80156120d35750600b546001600160a01b03878116911614155b80156120f857506120e2611624565b6001600160a01b0316866001600160a01b031614155b15612105576121056126b7565b6001600160a01b03851661dead14806121275750600654610100900461ffff16155b1561213c576121378686866127ca565b611bcd565b60065460009061215e90612710906118d8908890610100900461ffff166125f3565b600654909150600090612184906064906118d89085906301000000900461ffff166125f3565b90506000612192838361291c565b905080820183146121d45760405162461bcd60e51b81526004018080602001828103825260228152602001806130376022913960400191505060405180910390fd5b60006121e0888561291c565b905083810188146122225760405162461bcd60e51b8152600401808060200182810382526021815260200180612f726021913960400191505060405180910390fd5b61222f8a61dead856127ca565b61223a8a30846127ca565b611bc88a8a836127ca565b600081848411156122d45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612299578181015183820152602001612281565b50505050905090810190601f1680156122c65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008282018381101561193b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216612391576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60035461239e90826122dc565b6003556001600160a01b0382166000908152600160205260409020546123c490826122dc565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b816001600160a01b0316836001600160a01b03161415801561243e5750600081115b15612559576001600160a01b038316156124d0576001600160a01b0383166000908152600f602052604081205463ffffffff16908161247e5760006124b0565b6001600160a01b0385166000908152600e6020908152604080832063ffffffff60001987011684529091529020600101545b905060006124be828561291c565b90506124cc86848484612979565b5050505b6001600160a01b03821615612559576001600160a01b0382166000908152600f602052604081205463ffffffff16908161250b57600061253d565b6001600160a01b0384166000908152600e6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061254b82856122dc565b9050611bcd85848484612979565b505050565b6001600160a01b038083166000908152600d60205260408120549091169061258584611334565b6001600160a01b038581166000818152600d602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46125ed82848361241c565b50505050565b60008261260257506000610bb3565b8282028284828161260f57fe5b041461193b5760405162461bcd60e51b8152600401808060200182810382526021815260200180612ff66021913960400191505060405180910390fd5b60008082116126a2576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816126ab57fe5b049392505050565b4690565b600b805460ff60a01b1916600160a01b1790556006805462ffff0019811690915561ffff6101009091041660006126ed30611334565b905060006126f96118ad565b9050808211612708578161270a565b805b9150600954821061279d57600954600061272582600261264c565b90506000612733838361291c565b90504761273f83612ade565b600061274b478361291c565b90506127578382612c84565b604080518581526020810183905280820185905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a150505050505b50506006805461ffff9092166101000262ffff0019909216919091179055600b805460ff60a01b19169055565b6001600160a01b03831661280f5760405162461bcd60e51b8152600401808060200182810382526025815260200180612e4a6025913960400191505060405180910390fd5b6001600160a01b0382166128545760405162461bcd60e51b81526004018080602001828103825260238152602001806130db6023913960400191505060405180910390fd5b612891816040518060600160405280602681526020016130b5602691396001600160a01b0386166000908152600160205260409020549190612245565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546128c090826122dc565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082821115612973576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600061299d43604051806060016040528060348152602001612f1660349139612d51565b905060008463ffffffff161180156129e657506001600160a01b0385166000908152600e6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15612a23576001600160a01b0385166000908152600e6020908152604080832063ffffffff60001989011684529091529020600101829055612a94565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600e84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600f9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b60408051600280825260608083018452926020830190803683370190505090503081600081518110612b0c57fe5b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015612b6057600080fd5b505afa158015612b74573d6000803e3d6000fd5b505050506040513d6020811015612b8a57600080fd5b5051815182906001908110612b9b57fe5b6001600160a01b039283166020918202929092010152600a54612bc19130911684611ee0565b600a5460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b83811015612c47578181015183820152602001612c2f565b505050509050019650505050505050600060405180830381600087803b158015612c7057600080fd5b505af1158015611bcd573d6000803e3d6000fd5b600a54612c9c9030906001600160a01b031684611ee0565b600a546001600160a01b031663f305d719823085600080612cbb6111e5565b426040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b158015612d2657600080fd5b505af1158015612d3a573d6000803e3d6000fd5b50505050506040513d60608110156125ed57600080fd5b6000816401000000008410612da75760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612299578181015183820152602001612281565b509192915050565b60408051808201909152600080825260208201529056fe53414b453a3a7570646174655472616e73666572546178526174653a205472616e73666572207461782072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e53414b453a3a75706461746553616c6d6f6e44656669526f757465723a20496e76616c6964207061697220616464726573732e42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737353414b453a3a7570646174654d61785472616e73666572416d6f756e74526174653a204d6178207472616e7366657220616d6f756e742072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e53414b453a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636553414b453a3a7472616e736665723a205461782076616c756520696e76616c696453414b453a3a7570646174654275726e526174653a204275726e2072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e53414b453a3a64656c656761746542795369673a20696e76616c6964206e6f6e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657253414b453a3a7472616e736665723a204275726e2076616c756520696e76616c696453414b453a3a7472616e736665724f70657261746f723a206e6577206f70657261746f7220697320746865207a65726f20616464726573736f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f206164647265737342455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f53414b453a3a64656c656761746542795369673a20696e76616c6964207369676e617475726553414b453a3a616e74695768616c653a205472616e7366657220616d6f756e74206578636565647320746865206d61785472616e73666572416d6f756e7453414b453a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656453414b453a3a64656c656761746542795369673a207369676e6174757265206578706972656442455032303a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220db95c6cef19b8cc94a8445bd24a3c02420d27ba476499f0df724ca22186500bf64736f6c634300060c0033

Deployed Bytecode Sourcemap

40744:20409:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24398:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25885:161;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25885:161:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;24874:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;41033:54;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;53575:122;;;;;;;;;;;;;:::i;26517:397::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26517:397:0;;;;;;;;;;;;;;;;;:::i;48824:136::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48824:136:0;-1:-1:-1;;;;;48824:136:0;;:::i;52287:273::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52287:273:0;-1:-1:-1;;;;;52287:273:0;;:::i;:::-;;24557:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49177:363;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49177:363:0;;;;:::i;27322:210::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27322:210:0;;;;;;;;:::i;41287:40::-;;;;;;;;;;;;;:::i;44243:162::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44243:162:0;;;;;;;;:::i;41486:41::-;;;;;;;;;;;;;:::i;41812:29::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;41812:29:0;;;;;;;;;;;;;;51506:452;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51506:452:0;-1:-1:-1;;;;;51506:452:0;;:::i;52042:85::-;;;;;;;;;;;;;:::i;54558:149::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54558:149:0;-1:-1:-1;;;;;54558:149:0;;:::i;54851:104::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54851:104:0;-1:-1:-1;;;;;54851:104:0;;:::i;50051:404::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50051:404:0;;;;:::i;53453:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53453:49:0;-1:-1:-1;;;;;53453:49:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;25036:119;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25036:119:0;-1:-1:-1;;;;;25036:119:0;;:::i;2752:148::-;;;;;;;;;;;;;:::i;57454:1253::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;57454:1253:0;;;;;;;;:::i;53989:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53989:39:0;-1:-1:-1;;;;;53989:39:0;;:::i;24241:94::-;;;;;;;;;;;;;:::i;2101:87::-;;;;;;;;;;;;;:::i;24714:96::-;;;;;;;;;;;;;:::i;51202:189::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51202:189:0;;;;:::i;28563:130::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28563:130:0;;:::i;50580:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50580:209:0;;:::i;28034:311::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28034:311:0;;;;;;;;:::i;25367:167::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25367:167:0;;;;;;;;:::i;48594:136::-;;;;;;;;;;;;;:::i;56768:255::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56768:255:0;-1:-1:-1;;;;;56768:255:0;;:::i;40841:35::-;;;;;;;;;;;;;:::i;40963:27::-;;;;;;;;;;;;;:::i;55389:1178::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55389:1178:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;50926:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50926:151:0;;;;;;;;;;:::i;41585:45::-;;;;;;;;;;;;;:::i;25596:143::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25596:143:0;;;;;;;;;;:::i;53791:117::-;;;;;;;;;;;;;:::i;41738:42::-;;;;;;;;;;;;;:::i;53314:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53314:70:0;;-1:-1:-1;;;;;53314:70:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;3055:244;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3055:244:0;-1:-1:-1;;;;;3055:244:0;;:::i;49653:270::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49653:270:0;;;;:::i;41115:81::-;;;;;;;;;;;;;:::i;24398:92::-;24477:5;24470:12;;;;;;;;-1:-1:-1;;24470:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24444:13;;24470:12;;24477:5;;24470:12;;24477:5;24470:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24398:92;:::o;25885:161::-;25960:4;25977:39;25986:12;:10;:12::i;:::-;26000:7;26009:6;25977:8;:39::i;:::-;-1:-1:-1;26034:4:0;25885:161;;;;;:::o;24874:100::-;24954:12;;24874:100;:::o;41033:54::-;41084:3;41033:54;:::o;53575:122::-;53617:80;53575:122;:::o;26517:397::-;26649:4;26666:36;26676:6;26684:9;26695:6;26666:9;:36::i;:::-;26713:171;26736:6;26757:12;:10;:12::i;:::-;26784:89;26822:6;26784:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26784:19:0;;;;;;:11;:19;;;;;;26804:12;:10;:12::i;:::-;-1:-1:-1;;;;;26784:33:0;;;;;;;;;;;;-1:-1:-1;26784:33:0;;;:89;:37;:89::i;:::-;26713:8;:171::i;:::-;-1:-1:-1;26902:4:0;26517:397;;;;;:::o;48824:136::-;-1:-1:-1;;;;;48920:32:0;48896:4;48920:32;;;:22;:32;;;;;;;;;48824:136::o;52287:273::-;42857:9;;-1:-1:-1;;;;;42857:9:0;42870:10;42857:23;42849:72;;;;-1:-1:-1;;;42849:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52373:25:0;::::1;52365:94;;;;-1:-1:-1::0;;;52365:94:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52495:9;::::0;52475:43:::1;::::0;-1:-1:-1;;;;;52475:43:0;;::::1;::::0;52495:9:::1;::::0;52475:43:::1;::::0;52495:9:::1;::::0;52475:43:::1;52529:9;:23:::0;;-1:-1:-1;;;;;;52529:23:0::1;-1:-1:-1::0;;;;;52529:23:0;;;::::1;::::0;;;::::1;::::0;;52287:273::o;24557:92::-;24632:9;;;;24557:92;:::o;49177:363::-;42857:9;;-1:-1:-1;;;;;42857:9:0;42870:10;42857:23;42849:72;;;;-1:-1:-1;;;42849:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41084:3:::1;49272:45;::::0;::::1;;;49264:138;;;;-1:-1:-1::0;;;49264:138:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49453:15;::::0;49418:69:::1;::::0;;49453:15:::1;;::::0;;::::1;::::0;::::1;49418:69:::0;;;;::::1;;::::0;::::1;::::0;;;49441:10:::1;::::0;49418:69:::1;::::0;;;;;;;::::1;49498:15;:34:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;49498:34:0;;::::1;::::0;;;::::1;::::0;;49177:363::o;27322:210::-;27402:4;27419:83;27428:12;:10;:12::i;:::-;27442:7;27451:50;27490:10;27451:11;:25;27463:12;:10;:12::i;:::-;-1:-1:-1;;;;;27451:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;27451:25:0;;;:34;;;;;;;;;;;:38;:50::i;41287:40::-;;;-1:-1:-1;;;41287:40:0;;;;;:::o;44243:162::-;2332:12;:10;:12::i;:::-;-1:-1:-1;;;;;2321:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2321:23:0;;2313:68;;;;;-1:-1:-1;;;2313:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2313:68:0;;;;;;;;;;;;;;;44315:19:::1;44321:3;44326:7;44315:5;:19::i;:::-;-1:-1:-1::0;;;;;44372:15:0;;::::1;44368:1;44372:15:::0;;;:10:::1;:15;::::0;;;;;44345:52:::1;::::0;44372:15:::1;44389:7:::0;44345:14:::1;:52::i;:::-;44243:162:::0;;:::o;41486:41::-;;;;;;:::o;41812:29::-;;;-1:-1:-1;;;;;41812:29:0;;:::o;51506:452::-;42857:9;;-1:-1:-1;;;;;42857:9:0;42870:10;42857:23;42849:72;;;;-1:-1:-1;;;42849:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51586:16:::1;:46:::0;;-1:-1:-1;;;;;;51586:46:0::1;-1:-1:-1::0;;;;;51586:46:0;;::::1;::::0;;;::::1;::::0;;;;51678:26:::1;::::0;;-1:-1:-1;;;51678:26:0;;;;:16;;;::::1;::::0;:24:::1;::::0;:26:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;:16;:26;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;51678:26:0;51729:16:::1;::::0;:23:::1;::::0;;-1:-1:-1;;;51729:23:0;;;;-1:-1:-1;;;;;51660:53:0;;::::1;::::0;::::1;::::0;51722:4:::1;::::0;51729:16;::::1;::::0;:21:::1;::::0;:23:::1;::::0;;::::1;::::0;51678:26:::1;::::0;51729:23;;;;;;;;:16;:23;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;51729:23:0;51660:93:::1;::::0;;-1:-1:-1;;;;;;51660:93:0::1;::::0;;;;;;-1:-1:-1;;;;;51660:93:0;;::::1;;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;51729:23:::1;::::0;51660:93;;;;;;;;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;51660:93:0;51643:14:::1;:110:::0;;-1:-1:-1;;;;;;51643:110:0::1;-1:-1:-1::0;;;;;51643:110:0;;::::1;;::::0;;;;51772:14:::1;51764:92;;;;-1:-1:-1::0;;;51764:92:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51935:14;::::0;51916:16:::1;::::0;51872:78:::1;::::0;-1:-1:-1;;;;;51935:14:0;;::::1;::::0;51916:16;;::::1;::::0;51896:10:::1;::::0;51872:78:::1;::::0;51935:14:::1;::::0;51872:78:::1;51506:452:::0;:::o;52042:85::-;52110:9;;-1:-1:-1;;;;;52110:9:0;52042:85;:::o;54558:149::-;-1:-1:-1;;;;;54678:21:0;;;54646:7;54678:21;;;:10;:21;;;;;;;;54558:149::o;54851:104::-;54915:32;54925:10;54937:9;54915;:32::i;:::-;54851:104;:::o;50051:404::-;42857:9;;-1:-1:-1;;;;;42857:9:0;42870:10;42857:23;42849:72;;;;-1:-1:-1;;;42849:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50184:5:::1;50158:22;:31;;;;50150:137;;;;-1:-1:-1::0;;;50150:137:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50344:21;::::0;50303:87:::1;::::0;;50344:21:::1;-1:-1:-1::0;;;50344:21:0;;::::1;::::0;::::1;50303:87:::0;;;;::::1;;::::0;::::1;::::0;;;50332:10:::1;::::0;50303:87:::1;::::0;;;;;;;::::1;50401:21;:46:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;50401:46:0::1;-1:-1:-1::0;;50401:46:0;;::::1;::::0;;;::::1;::::0;;50051:404::o;53453:49::-;;;;;;;;;;;;;;;:::o;25036:119::-;-1:-1:-1;;;;;25129:18:0;25102:7;25129:18;;;:9;:18;;;;;;;25036:119::o;2752:148::-;2332:12;:10;:12::i;:::-;-1:-1:-1;;;;;2321:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2321:23:0;;2313:68;;;;;-1:-1:-1;;;2313:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2313:68:0;;;;;;;;;;;;;;;2859:1:::1;2843:6:::0;;2822:40:::1;::::0;-1:-1:-1;;;;;2843:6:0;;::::1;::::0;2822:40:::1;::::0;2859:1;;2822:40:::1;2890:1;2873:19:::0;;-1:-1:-1;;;;;;2873:19:0::1;::::0;;2752:148::o;57454:1253::-;57562:7;57609:12;57595:11;:26;57587:78;;;;-1:-1:-1;;;57587:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;57700:23:0;;57678:19;57700:23;;;:14;:23;;;;;;;;57738:17;57734:58;;57779:1;57772:8;;;;;57734:58;-1:-1:-1;;;;;57852:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;57873:16:0;;57852:38;;;;;;;;;:48;;:63;-1:-1:-1;57848:147:0;;-1:-1:-1;;;;;57939:20:0;;;;;;:11;:20;;;;;;;;-1:-1:-1;;57960:16:0;;;;57939:38;;;;;;;;57975:1;57939:44;;;-1:-1:-1;57932:51:0;;57848:147;-1:-1:-1;;;;;58056:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;58052:88:0;;;58127:1;58120:8;;;;;58052:88;58152:12;-1:-1:-1;;58194:16:0;;58221:428;58236:5;58228:13;;:5;:13;;;58221:428;;;58300:1;58283:13;;;58282:19;;;58274:27;;58343:20;;:::i;:::-;-1:-1:-1;;;;;;58366:20:0;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;58343:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58413:27;;58409:229;;;58468:8;;;;-1:-1:-1;58461:15:0;;-1:-1:-1;;;;58461:15:0;58409:229;58502:12;;:26;;;-1:-1:-1;58498:140:0;;;58557:6;58549:14;;58498:140;;;58621:1;58612:6;:10;58604:18;;58498:140;58221:428;;;;;-1:-1:-1;;;;;;58666:20:0;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;57454:1253:0;;;;:::o;53989:39::-;;;;;;;;;;;;;:::o;24241:94::-;24293:7;24320;:5;:7::i;:::-;24313:14;;24241:94;:::o;2101:87::-;2147:7;2174:6;-1:-1:-1;;;;;2174:6:0;2101:87;:::o;24714:96::-;24795:7;24788:14;;;;;;;;-1:-1:-1;;24788:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24762:13;;24788:14;;24795:7;;24788:14;;24795:7;24788:14;;;;;;;;;;;;;;;;;;;;;;;;51202:189;42857:9;;-1:-1:-1;;;;;42857:9:0;42870:10;42857:23;42849:72;;;;-1:-1:-1;;;42849:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51290:50:::1;::::0;;;::::1;;::::0;;;;51319:10:::1;::::0;51290:50:::1;::::0;;;;;::::1;::::0;;::::1;51351:21;:32:::0;;-1:-1:-1;;51351:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;51202:189::o;28563:130::-;28619:4;2332:12;:10;:12::i;:::-;-1:-1:-1;;;;;2321:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2321:23:0;;2313:68;;;;;-1:-1:-1;;;2313:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2313:68:0;;;;;;;;;;;;;;;28636:27:::1;28642:12;:10;:12::i;:::-;28656:6;28636:5;:27::i;:::-;-1:-1:-1::0;28681:4:0::1;28563:130:::0;;;:::o;50580:209::-;42857:9;;-1:-1:-1;;;;;42857:9:0;42870:10;42857:23;42849:72;;;;-1:-1:-1;;;42849:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50708:18:::1;::::0;50670:69:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;50696:10:::1;::::0;50670:69:::1;::::0;;;;;;;::::1;50750:18;:31:::0;50580:209::o;28034:311::-;28119:4;28136:179;28159:12;:10;:12::i;:::-;28186:7;28208:96;28247:15;28208:96;;;;;;;;;;;;;;;;;:11;:25;28220:12;:10;:12::i;:::-;-1:-1:-1;;;;;28208:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;28208:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;25367:167::-;25445:4;25462:42;25472:12;:10;:12::i;:::-;25486:9;25497:6;25462:9;:42::i;48594:136::-;48689:21;;48644:7;;48671:51;;48716:5;;48671:40;;-1:-1:-1;;;48689:21:0;;;;48671:13;:11;:13::i;:::-;:17;;:40::i;:::-;:44;;:51::i;56768:255::-;-1:-1:-1;;;;;56907:23:0;;56860:7;56907:23;;;:14;:23;;;;;;;;56948:16;:67;;57014:1;56948:67;;;-1:-1:-1;;;;;56967:20:0;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;56988:16:0;;56967:38;;;;;;;;57003:1;56967:44;;56948:67;56941:74;56768:255;-1:-1:-1;;;56768:255:0:o;40841:35::-;;;;;;;;;:::o;40963:27::-;;;;;;;;;:::o;55389:1178::-;55582:23;53617:80;55711:6;:4;:6::i;:::-;55695:24;;;;;;55738:12;:10;:12::i;:::-;55632:165;;;;;;;;;;;;;;;;;;;;;;;;;55777:4;55632:165;;;;;;;;;;;;;;;;;;;;;;;55608:200;;;;;;53837:71;55866:140;;;;-1:-1:-1;;;;;55866:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55842:175;;;;;;-1:-1:-1;;;56071:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56047:158;;;;;;;;;-1:-1:-1;56238:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55608:200;;-1:-1:-1;55842:175:0;;56047:158;;-1:-1:-1;;56238:26:0;;;;;;;-1:-1:-1;;56238:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;56238:26:0;;-1:-1:-1;;56238:26:0;;;-1:-1:-1;;;;;;;56283:23:0;;56275:74;;;;-1:-1:-1;;;56275:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56377:17:0;;;;;;:6;:17;;;;;:19;;;;;;;;56368:28;;56360:75;;;;-1:-1:-1;;;56360:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56461:6;56454:3;:13;;56446:64;;;;-1:-1:-1;;;56446:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56528:31;56538:9;56549;56528;:31::i;:::-;56521:38;;;;55389:1178;;;;;;;:::o;50926:151::-;42857:9;;-1:-1:-1;;;;;42857:9:0;42870:10;42857:23;42849:72;;;;-1:-1:-1;;;42849:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51025:32:0;;;::::1;;::::0;;;:22:::1;:32;::::0;;;;:44;;-1:-1:-1;;51025:44:0::1;::::0;::::1;;::::0;;;::::1;::::0;;50926:151::o;41585:45::-;;;;:::o;25596:143::-;-1:-1:-1;;;;;25704:18:0;;;25677:7;25704:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;25596:143::o;53791:117::-;53837:71;53791:117;:::o;41738:42::-;;;-1:-1:-1;;;;;41738:42:0;;:::o;53314:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3055:244::-;2332:12;:10;:12::i;:::-;-1:-1:-1;;;;;2321:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2321:23:0;;2313:68;;;;;-1:-1:-1;;;2313:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2313:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3144:22:0;::::1;3136:73;;;;-1:-1:-1::0;;;3136:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3246:6;::::0;;3225:38:::1;::::0;-1:-1:-1;;;;;3225:38:0;;::::1;::::0;3246:6;::::1;::::0;3225:38:::1;::::0;::::1;3274:6;:17:::0;;-1:-1:-1;;;;;;3274:17:0::1;-1:-1:-1::0;;;;;3274:17:0;;;::::1;::::0;;;::::1;::::0;;3055:244::o;49653:270::-;42857:9;;-1:-1:-1;;;;;42857:9:0;42870:10;42857:23;42849:72;;;;-1:-1:-1;;;42849:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49747:3:::1;49734:9;:16;;;;49726:94;;;;-1:-1:-1::0;;;49726:94:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49864:8;::::0;49836:48:::1;::::0;;49864:8:::1;::::0;;;::::1;::::0;::::1;49836:48:::0;;;;::::1;;::::0;::::1;::::0;;;49852:10:::1;::::0;49836:48:::1;::::0;;;;;;;::::1;49895:8;:20:::0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;49895:20:0;;::::1;::::0;;;::::1;::::0;;49653:270::o;41115:81::-;41154:42;41115:81;:::o;636:106::-;724:10;636:106;:::o;31405:372::-;-1:-1:-1;;;;;31533:19:0;;31525:68;;;;-1:-1:-1;;;31525:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31612:21:0;;31604:68;;;;-1:-1:-1;;;31604:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31685:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;31737:32;;;;;;;;;;;;;;;;;31405:372;;;:::o;44482:1458::-;44588:6;44596:9;44607:6;43056:1;43034:19;:17;:19::i;:::-;:23;43030:334;;;-1:-1:-1;;;;;43096:30:0;;;;;;:22;:30;;;;;;;;:39;;;:102;;-1:-1:-1;;;;;;43156:33:0;;;;;;:22;:33;;;;;;;;:42;43096:102;43074:279;;;43251:19;:17;:19::i;:::-;43241:6;:29;;43233:104;;;;-1:-1:-1;;;43233:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44673:21:::1;::::0;::::1;;:29;;:21:::0;:29:::1;:72:::0;::::1;;;-1:-1:-1::0;44719:17:0::1;::::0;-1:-1:-1;;;44719:17:0;::::1;;;:26;44673:72;:128;;;;-1:-1:-1::0;44770:16:0::1;::::0;-1:-1:-1;;;;;44770:16:0::1;44762:39:::0;::::1;44673:128;:173;;;;-1:-1:-1::0;44818:14:0::1;::::0;-1:-1:-1;;;;;44818:14:0::1;:28:::0;::::1;44673:173;:214;;;;-1:-1:-1::0;44873:14:0::1;::::0;-1:-1:-1;;;;;44863:24:0;;::::1;44873:14:::0;::::1;44863:24;;44673:214;:248;;;;;44914:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;44904:17:0::1;:6;-1:-1:-1::0;;;;;44904:17:0::1;;;44673:248;44655:321;;;44948:16;:14;:16::i;:::-;-1:-1:-1::0;;;;;44992:25:0;::::1;41154:42;44992:25;::::0;:49:::1;;-1:-1:-1::0;45021:15:0::1;::::0;::::1;::::0;::::1;;;:20:::0;44992:49:::1;44988:945;;;45058:42;45074:6;45082:9;45093:6;45058:15;:42::i;:::-;44988:945;;;45216:15;::::0;45185:17:::1;::::0;45205:38:::1;::::0;45237:5:::1;::::0;45205:27:::1;::::0;:6;;45216:15:::1;::::0;::::1;;;45205:10;:27::i;:38::-;45293:8;::::0;45185:58;;-1:-1:-1;45258:18:0::1;::::0;45279:32:::1;::::0;45307:3:::1;::::0;45279:23:::1;::::0;45185:58;;45293:8;;::::1;;;45279:13;:23::i;:32::-;45258:53:::0;-1:-1:-1;45326:23:0::1;45352:25;:9:::0;45258:53;45352:13:::1;:25::i;:::-;45326:51;;45426:15;45413:10;:28;45400:9;:41;45392:88;;;;-1:-1:-1::0;;;45392:88:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45555:18;45576:21;:6:::0;45587:9;45576:10:::1;:21::i;:::-;45555:42;;45643:9;45630:10;:22;45620:6;:32;45612:78;;;;-1:-1:-1::0;;;45612:78:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45707:49;45723:6;41154:42;45745:10;45707:15;:49::i;:::-;45771:55;45787:6;45803:4;45810:15;45771;:55::i;:::-;45841:46;45857:6;45865:9;45876:10;45841:15;:46::i;12193:166::-:0;12279:7;12315:12;12307:6;;;;12299:29;;;;-1:-1:-1;;;12299:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;12346:5:0;;;12193:166::o;9366:179::-;9424:7;9456:5;;;9480:6;;;;9472:46;;;;;-1:-1:-1;;;9472:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;29977:308;-1:-1:-1;;;;;30053:21:0;;30045:65;;;;;-1:-1:-1;;;30045:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30138:12;;:24;;30155:6;30138:16;:24::i;:::-;30123:12;:39;-1:-1:-1;;;;;30194:18:0;;;;;;:9;:18;;;;;;:30;;30217:6;30194:22;:30::i;:::-;-1:-1:-1;;;;;30173:18:0;;;;;;:9;:18;;;;;;;;:51;;;;30240:37;;;;;;;30173:18;;;;30240:37;;;;;;;;;;29977:308;;:::o;59161:947::-;59267:6;-1:-1:-1;;;;;59257:16:0;:6;-1:-1:-1;;;;;59257:16:0;;;:30;;;;;59286:1;59277:6;:10;59257:30;59253:848;;;-1:-1:-1;;;;;59308:20:0;;;59304:385;;-1:-1:-1;;;;;59416:22:0;;59397:16;59416:22;;;:14;:22;;;;;;;;;59477:13;:60;;59536:1;59477:60;;;-1:-1:-1;;;;;59493:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;59513:13:0;;59493:34;;;;;;;;59525:1;59493:40;;59477:60;59457:80;-1:-1:-1;59556:17:0;59576:21;59457:80;59590:6;59576:13;:21::i;:::-;59556:41;;59616:57;59633:6;59641:9;59652;59663;59616:16;:57::i;:::-;59304:385;;;;-1:-1:-1;;;;;59709:20:0;;;59705:385;;-1:-1:-1;;;;;59817:22:0;;59798:16;59817:22;;;:14;:22;;;;;;;;;59878:13;:60;;59937:1;59878:60;;;-1:-1:-1;;;;;59894:19:0;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;59914:13:0;;59894:34;;;;;;;;59926:1;59894:40;;59878:60;59858:80;-1:-1:-1;59957:17:0;59977:21;59858:80;59991:6;59977:13;:21::i;:::-;59957:41;;60017:57;60034:6;60042:9;60053;60064;60017:16;:57::i;59705:385::-;59161:947;;;:::o;58715:438::-;-1:-1:-1;;;;;58832:21:0;;;58806:23;58832:21;;;:10;:21;;;;;;;;;;58891:20;58843:9;58891;:20::i;:::-;-1:-1:-1;;;;;58967:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;58967:33:0;;;;;;;;;;59018:54;;58864:47;;-1:-1:-1;58967:33:0;59018:54;;;;;;58967:21;59018:54;59085:60;59100:15;59117:9;59128:16;59085:14;:60::i;:::-;58715:438;;;;:::o;10245:220::-;10303:7;10327:6;10323:20;;-1:-1:-1;10342:1:0;10335:8;;10323:20;10366:5;;;10370:1;10366;:5;:1;10390:5;;;;;:10;10382:56;;;;-1:-1:-1;;;10382:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10943:153;11001:7;11033:1;11029;:5;11021:44;;;;;-1:-1:-1;;;11021:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;11087:1;11083;:5;;;;;;;10943:153;-1:-1:-1;;;10943:153:0:o;60997:::-;61107:9;60997:153;:::o;45979:1343::-;43423:17;:24;;-1:-1:-1;;;;43423:24:0;-1:-1:-1;;;43423:24:0;;;43573:15:::1;::::0;;-1:-1:-1;;43599:19:0;::::1;::::0;;;43573:15:::1;43423:24:::0;43573:15;;::::1;;43423:24:::0;46083::::2;46101:4;46083:9;:24::i;:::-;46052:55;;46118:25;46146:19;:17;:19::i;:::-;46118:47;;46222:17;46199:20;:40;:83;;46262:20;46199:83;;;46242:17;46199:83;46176:106;;46323:18;;46299:20;:42;46295:1020;;46425:18;::::0;46401:21:::2;46528:20;46425:18:::0;46546:1:::2;46528:17;:20::i;:::-;46513:35:::0;-1:-1:-1;46563:17:0::2;46583:23;:13:::0;46513:35;46583:17:::2;:23::i;:::-;46563:43:::0;-1:-1:-1;46929:21:0::2;47003:22;47020:4:::0;47003:16:::2;:22::i;:::-;47094:18;47115:41;:21;47141:14:::0;47115:25:::2;:41::i;:::-;47094:62;;47203:35;47216:9;47227:10;47203:12;:35::i;:::-;47260:43;::::0;;;;;::::2;::::0;::::2;::::0;;;;;;;;;;;::::2;::::0;;;;;;;::::2;46295:1020;;;;;;-1:-1:-1::0;;43641:15:0::1;:34:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;43641:34:0;;::::1;::::0;;;::::1;::::0;;43470:17;:25;;-1:-1:-1;;;;43470:25:0;;;45979:1343::o;29183:513::-;-1:-1:-1;;;;;29323:20:0;;29315:70;;;;-1:-1:-1;;;29315:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29404:23:0;;29396:71;;;;-1:-1:-1;;;29396:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29500;29522:6;29500:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29500:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;29480:17:0;;;;;;;:9;:17;;;;;;:91;;;;29605:20;;;;;;;:32;;29630:6;29605:24;:32::i;:::-;-1:-1:-1;;;;;29582:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;29653:35;;;;;;;29582:20;;29653:35;;;;;;;;;;;;;29183:513;;;:::o;9828:158::-;9886:7;9919:1;9914;:6;;9906:49;;;;;-1:-1:-1;;;9906:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9973:5:0;;;9828:158::o;60116:704::-;60295:18;60316:76;60323:12;60316:76;;;;;;;;;;;;;;;;;:6;:76::i;:::-;60295:97;;60424:1;60409:12;:16;;;:85;;;;-1:-1:-1;;;;;;60429:22:0;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;60452:16:0;;60429:40;;;;;;;;;:50;:65;;;:50;;:65;60409:85;60405:339;;;-1:-1:-1;;;;;60511:22:0;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;60534:16:0;;60511:40;;;;;;;;60549:1;60511:46;:57;;;60405:339;;;60640:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60601:22:0;;-1:-1:-1;60601:22:0;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;60601:72:0;;;;;;;;;;;;;60688:25;;;:14;:25;;;;;;:44;;60716:16;;;60688:44;;;;;;;;;;60405:339;60761:51;;;;;;;;;;;;;;-1:-1:-1;;;;;60761:51:0;;;;;;;;;;;60116:704;;;;;:::o;47364:604::-;47526:16;;;47540:1;47526:16;;;47502:21;47526:16;;;;;47502:21;47526:16;;;;;;;;;;-1:-1:-1;47526:16:0;47502:40;;47571:4;47553;47558:1;47553:7;;;;;;;;-1:-1:-1;;;;;47553:23:0;;;:7;;;;;;;;;;:23;;;;47597:16;;:23;;;-1:-1:-1;;;47597:23:0;;;;:16;;;;;:21;;:23;;;;;47553:7;;47597:23;;;;;:16;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47597:23:0;47587:7;;:4;;47592:1;;47587:7;;;;;;-1:-1:-1;;;;;47587:33:0;;;:7;;;;;;;;;:33;47665:16;;47633:63;;47650:4;;47665:16;47684:11;47633:8;:63::i;:::-;47735:16;;:225;;-1:-1:-1;;;47735:225:0;;;;;;;;:16;:225;;;;;;47914:4;47735:225;;;;;;47934:15;47735:225;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47735:16:0;;;;:67;;47817:11;;47887:4;;47914;47934:15;47735:225;;;;;;;;;;;;;;;;:16;:225;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48004:518;48184:16;;48152:63;;48169:4;;-1:-1:-1;;;;;48184:16:0;48203:11;48152:8;:63::i;:::-;48258:16;;-1:-1:-1;;;;;48258:16:0;:32;48298:9;48331:4;48351:11;48258:16;;48463:10;:8;:10::i;:::-;48488:15;48258:256;;;;;;;;;;;;;-1:-1:-1;;;;;48258:256:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48258:256:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60828:161;60903:6;60941:12;60934:5;60930:9;;60922:32;;;;-1:-1:-1;;;60922:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60979:1:0;;60828:161;-1:-1:-1;;60828:161:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://db95c6cef19b8cc94a8445bd24a3c02420d27ba476499f0df724ca22186500bf

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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