Contract 0xfa2c2d3d7f5d40d40242ce987a59b1cf0b1611db

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x0cf57aaa3cc6a536655381601eaf220acee1419ad46608bd0daf1feef584223bSet Exclude Both...176170602021-08-04 15:42:41287 days 11 hrs ago0xa949027ade80946f514c0e8e878e87c69609fa63 IN  0xfa2c2d3d7f5d40d40242ce987a59b1cf0b1611db0 MATIC0.0000317901541.111
0xfc45a2255a59c3976c52f4c1a6da798892756dfc3a3e6f03205b30b89562bd35Set Erc1820Regis...176170602021-08-04 15:42:41287 days 11 hrs ago0xa949027ade80946f514c0e8e878e87c69609fa63 IN  0xfa2c2d3d7f5d40d40242ce987a59b1cf0b1611db0 MATIC0.00005088381.111
0x4c2c79500eb90827c38afd4d5691e8b7c7fe5393ee5910d5b53d33b24d4fdd8aMint176170602021-08-04 15:42:41287 days 11 hrs ago0xa949027ade80946f514c0e8e878e87c69609fa63 IN  0xfa2c2d3d7f5d40d40242ce987a59b1cf0b1611db0 MATIC0.0000530013661.111
0xd08081814e20a6bb0fb0cef0c18ba8612c38ba310888f5ee46d4a4a029cd55f7Set Cap174336782021-07-30 18:33:20292 days 8 hrs ago0xa949027ade80946f514c0e8e878e87c69609fa63 IN  0xfa2c2d3d7f5d40d40242ce987a59b1cf0b1611db0 MATIC0.00155150
0x8710d7606f625416b57a1bd98ae10310408c9c47ce567b8f24a58e832adf9d35Mint174336342021-07-30 18:31:44292 days 8 hrs ago0xa949027ade80946f514c0e8e878e87c69609fa63 IN  0xfa2c2d3d7f5d40d40242ce987a59b1cf0b1611db0 MATIC0.0011917525
0xf54304675e2e3a9f644222a4801f499f516dc93900d5dbabe9e451ed23ae377dMint174335772021-07-30 18:29:46292 days 8 hrs ago0xa949027ade80946f514c0e8e878e87c69609fa63 IN  0xfa2c2d3d7f5d40d40242ce987a59b1cf0b1611db0 MATIC0.002383550
0xd8c0a693bb5665bd592412e46b0d969778d4024705180f8884b14d7c38e6e5c5Set Minter Cap174335172021-07-30 18:27:42292 days 8 hrs ago0xa949027ade80946f514c0e8e878e87c69609fa63 IN  0xfa2c2d3d7f5d40d40242ce987a59b1cf0b1611db0 MATIC0.0023912550
0x29bce5a6419f772cdc4d5b4df3f6602cc21462a32e9eafbd3fe40e3d070c92e6Initialize174334512021-07-30 18:24:46292 days 8 hrs ago0xa949027ade80946f514c0e8e878e87c69609fa63 IN  0xfa2c2d3d7f5d40d40242ce987a59b1cf0b1611db0 MATIC0.0004491226561.901
0xf8e69dbe097967f668377e5faa65852d9c30e0f8881c6955f5fcffe6b3601cd10x60806040160006912021-06-22 2:37:43331 days 39 mins agoFirebird Finance: Deployer IN  Create: HOPE0 MATIC0.00871448822.2
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HOPE

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-06-22
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

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

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

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

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

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

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

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

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

/**
 * @title Initializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 */
contract Initializable {

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

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

  /**
   * @dev Modifier to use in the initializer function of a contract.
   */
  modifier initializer() {
    require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

    bool isTopLevelCall = !initializing;
    if (isTopLevelCall) {
      initializing = true;
      initialized = true;
    }

    _;

    if (isTopLevelCall) {
      initializing = false;
    }
  }

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

  // Reserved storage space to allow for layout changes in the future.
  uint256[50] private ______gap;
}

/*
 * @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.
 */
contract ContextUpgradeSafe is Initializable {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.

    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {


    }


    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

    uint256[50] private __gap;
}

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */

    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {


        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);

    }


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

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

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

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

    uint256[49] private __gap;
}

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

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


/**
 * @dev Interface of the ERC777Token standard as defined in the EIP.
 *
 * This contract uses the
 * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 registry standard] to let
 * token holders and recipients react to token movements by using setting implementers
 * for the associated interfaces in said registry. See {IERC1820Registry} and
 * {ERC1820Implementer}.
 */
interface IERC777 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the smallest part of the token that is not divisible. This
     * means all token operations (creation, movement and destruction) must have
     * amounts that are a multiple of this number.
     *
     * For most token contracts, this value will equal 1.
     */
    function granularity() external view returns (uint256);

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

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * If send or receive hooks are registered for the caller and `recipient`,
     * the corresponding functions will be called with `data` and empty
     * `operatorData`. See {IERC777Sender} and {IERC777Recipient}.
     *
     * Emits a {Sent} event.
     *
     * Requirements
     *
     * - the caller must have at least `amount` tokens.
     * - `recipient` cannot be the zero address.
     * - if `recipient` is a contract, it must implement the {IERC777Recipient}
     * interface.
     */
    function send(address recipient, uint256 amount, bytes calldata data) external;

    /**
     * @dev Destroys `amount` tokens from the caller's account, reducing the
     * total supply.
     *
     * If a send hook is registered for the caller, the corresponding function
     * will be called with `data` and empty `operatorData`. See {IERC777Sender}.
     *
     * Emits a {Burned} event.
     *
     * Requirements
     *
     * - the caller must have at least `amount` tokens.
     */
    function burn(uint256 amount, bytes calldata data) external;

    /**
     * @dev Returns true if an account is an operator of `tokenHolder`.
     * Operators can send and burn tokens on behalf of their owners. All
     * accounts are their own operator.
     *
     * See {operatorSend} and {operatorBurn}.
     */
    function isOperatorFor(address operator, address tokenHolder) external view returns (bool);

    /**
     * @dev Make an account an operator of the caller.
     *
     * See {isOperatorFor}.
     *
     * Emits an {AuthorizedOperator} event.
     *
     * Requirements
     *
     * - `operator` cannot be calling address.
     */
    function authorizeOperator(address operator) external;

    /**
     * @dev Revoke an account's operator status for the caller.
     *
     * See {isOperatorFor} and {defaultOperators}.
     *
     * Emits a {RevokedOperator} event.
     *
     * Requirements
     *
     * - `operator` cannot be calling address.
     */
    function revokeOperator(address operator) external;

    /**
     * @dev Returns the list of default operators. These accounts are operators
     * for all token holders, even if {authorizeOperator} was never called on
     * them.
     *
     * This list is immutable, but individual holders may revoke these via
     * {revokeOperator}, in which case {isOperatorFor} will return false.
     */
    function defaultOperators() external view returns (address[] memory);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient`. The caller must
     * be an operator of `sender`.
     *
     * If send or receive hooks are registered for `sender` and `recipient`,
     * the corresponding functions will be called with `data` and
     * `operatorData`. See {IERC777Sender} and {IERC777Recipient}.
     *
     * Emits a {Sent} event.
     *
     * Requirements
     *
     * - `sender` cannot be the zero address.
     * - `sender` must have at least `amount` tokens.
     * - the caller must be an operator for `sender`.
     * - `recipient` cannot be the zero address.
     * - if `recipient` is a contract, it must implement the {IERC777Recipient}
     * interface.
     */
    function operatorSend(
        address sender,
        address recipient,
        uint256 amount,
        bytes calldata data,
        bytes calldata operatorData
    ) external;

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the total supply.
     * The caller must be an operator of `account`.
     *
     * If a send hook is registered for `account`, the corresponding function
     * will be called with `data` and `operatorData`. See {IERC777Sender}.
     *
     * Emits a {Burned} event.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     * - the caller must be an operator for `account`.
     */
    function operatorBurn(
        address account,
        uint256 amount,
        bytes calldata data,
        bytes calldata operatorData
    ) external;

    event Sent(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256 amount,
        bytes data,
        bytes operatorData
    );

    event Minted(address indexed operator, address indexed to, uint256 amount, bytes data, bytes operatorData);

    event Burned(address indexed operator, address indexed from, uint256 amount, bytes data, bytes operatorData);

    event AuthorizedOperator(address indexed operator, address indexed tokenHolder);

    event RevokedOperator(address indexed operator, address indexed tokenHolder);
}

/**
 * @dev Interface of the ERC777TokensRecipient standard as defined in the EIP.
 *
 * Accounts can be notified of {IERC777} tokens being sent to them by having a
 * contract implement this interface (contract holders can be their own
 * implementer) and registering it on the
 * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry].
 *
 * See {IERC1820Registry} and {ERC1820Implementer}.
 */
interface IERC777Recipient {
    /**
     * @dev Called by an {IERC777} token contract whenever tokens are being
     * moved or created into a registered account (`to`). The type of operation
     * is conveyed by `from` being the zero address or not.
     *
     * This call occurs _after_ the token contract's state is updated, so
     * {IERC777-balanceOf}, etc., can be used to query the post-operation state.
     *
     * This function may revert to prevent the operation from being executed.
     */
    function tokensReceived(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes calldata userData,
        bytes calldata operatorData
    ) external;
}

/**
 * @dev Interface of the ERC777TokensSender standard as defined in the EIP.
 *
 * {IERC777} Token holders can be notified of operations performed on their
 * tokens by having a contract implement this interface (contract holders can be
 *  their own implementer) and registering it on the
 * https://eips.ethereum.org/EIPS/eip-1820[ERC1820 global registry].
 *
 * See {IERC1820Registry} and {ERC1820Implementer}.
 */
interface IERC777Sender {
    /**
     * @dev Called by an {IERC777} token contract whenever a registered holder's
     * (`from`) tokens are about to be moved or destroyed. The type of operation
     * is conveyed by `to` being the zero address or not.
     *
     * This call occurs _before_ the token contract's state is updated, so
     * {IERC777-balanceOf}, etc., can be used to query the pre-operation state.
     *
     * This function may revert to prevent the operation from being executed.
     */
    function tokensToSend(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes calldata userData,
        bytes calldata operatorData
    ) external;
}

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

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

/**
 * @dev Interface of the global ERC1820 Registry, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1820[EIP]. Accounts may register
 * implementers for interfaces in this registry, as well as query support.
 *
 * Implementers may be shared by multiple accounts, and can also implement more
 * than a single interface for each account. Contracts can implement interfaces
 * for themselves, but externally-owned accounts (EOA) must delegate this to a
 * contract.
 *
 * {IERC165} interfaces can also be queried via the registry.
 *
 * For an in-depth explanation and source code analysis, see the EIP text.
 */
interface IERC1820Registry {
    /**
     * @dev Sets `newManager` as the manager for `account`. A manager of an
     * account is able to set interface implementers for it.
     *
     * By default, each account is its own manager. Passing a value of `0x0` in
     * `newManager` will reset the manager to this initial state.
     *
     * Emits a {ManagerChanged} event.
     *
     * Requirements:
     *
     * - the caller must be the current manager for `account`.
     */
    function setManager(address account, address newManager) external;

    /**
     * @dev Returns the manager for `account`.
     *
     * See {setManager}.
     */
    function getManager(address account) external view returns (address);

    /**
     * @dev Sets the `implementer` contract as ``account``'s implementer for
     * `interfaceHash`.
     *
     * `account` being the zero address is an alias for the caller's address.
     * The zero address can also be used in `implementer` to remove an old one.
     *
     * See {interfaceHash} to learn how these are created.
     *
     * Emits an {InterfaceImplementerSet} event.
     *
     * Requirements:
     *
     * - the caller must be the current manager for `account`.
     * - `interfaceHash` must not be an {IERC165} interface id (i.e. it must not
     * end in 28 zeroes).
     * - `implementer` must implement {IERC1820Implementer} and return true when
     * queried for support, unless `implementer` is the caller. See
     * {IERC1820Implementer-canImplementInterfaceForAddress}.
     */
    function setInterfaceImplementer(address account, bytes32 _interfaceHash, address implementer) external;

    /**
     * @dev Returns the implementer of `interfaceHash` for `account`. If no such
     * implementer is registered, returns the zero address.
     *
     * If `interfaceHash` is an {IERC165} interface id (i.e. it ends with 28
     * zeroes), `account` will be queried for support of it.
     *
     * `account` being the zero address is an alias for the caller's address.
     */
    function getInterfaceImplementer(address account, bytes32 _interfaceHash) external view returns (address);

    /**
     * @dev Returns the interface hash for an `interfaceName`, as defined in the
     * corresponding
     * https://eips.ethereum.org/EIPS/eip-1820#interface-name[section of the EIP].
     */
    function interfaceHash(string calldata interfaceName) external pure returns (bytes32);

    /**
     *  @notice Updates the cache with whether the contract implements an ERC165 interface or not.
     *  @param account Address of the contract for which to update the cache.
     *  @param interfaceId ERC165 interface for which to update the cache.
     */
    function updateERC165Cache(address account, bytes4 interfaceId) external;

    /**
     *  @notice Checks whether a contract implements an ERC165 interface or not.
     *  If the result is not cached a direct lookup on the contract address is performed.
     *  If the result is not cached or the cached value is out-of-date, the cache MUST be updated manually by calling
     *  {updateERC165Cache} with the contract address.
     *  @param account Address of the contract to check.
     *  @param interfaceId ERC165 interface to check.
     *  @return True if `account` implements `interfaceId`, false otherwise.
     */
    function implementsERC165Interface(address account, bytes4 interfaceId) external view returns (bool);

    /**
     *  @notice Checks whether a contract implements an ERC165 interface or not without using nor updating the cache.
     *  @param account Address of the contract to check.
     *  @param interfaceId ERC165 interface to check.
     *  @return True if `account` implements `interfaceId`, false otherwise.
     */
    function implementsERC165InterfaceNoCache(address account, bytes4 interfaceId) external view returns (bool);

    event InterfaceImplementerSet(address indexed account, bytes32 indexed interfaceHash, address indexed implementer);

    event ManagerChanged(address indexed account, address indexed newManager);
}

/**
 * @dev Implementation of the {IERC777} 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}.
 *
 * Support for ERC20 is included in this contract, as specified by the EIP: both
 * the ERC777 and ERC20 interfaces can be safely used when interacting with it.
 * Both {IERC777-Sent} and {IERC20-Transfer} events are emitted on token
 * movements.
 *
 * Additionally, the {IERC777-granularity} value is hard-coded to `1`, meaning that there
 * are no special restrictions in the amount of tokens that created, moved, or
 * destroyed. This makes integration with ERC20 applications seamless.
 *
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract ERC777OwnableUpgradeSafe is Context, IERC777, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    bool private initialized;
    bool private initializing;

    address private _owner;

    IERC1820Registry constant internal _ERC1820_REGISTRY = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24);

    mapping(address => uint256) internal _balances;

    uint256 private _totalSupply;
    uint256 private _totalBurned;

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

    // We inline the result of the following hashes because Solidity doesn't resolve them at compile time.
    // See https://github.com/ethereum/solidity/issues/4024.

    // keccak256("ERC777TokensSender")
    bytes32 constant private _TOKENS_SENDER_INTERFACE_HASH = 0x29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe895;

    // keccak256("ERC777TokensRecipient")
    bytes32 constant private _TOKENS_RECIPIENT_INTERFACE_HASH = 0xb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b;

    // This isn't ever read from - it's only used to respond to the defaultOperators query.
    address[] private _defaultOperatorsArray;

    // Immutable, but accounts may revoke them (tracked in __revokedDefaultOperators).
    mapping(address => bool) private _defaultOperators;

    // For each account, a mapping of its operators and revoked default operators.
    mapping(address => mapping(address => bool)) private _operators;
    mapping(address => mapping(address => bool)) private _revokedDefaultOperators;

    // ERC20-allowances
    mapping (address => mapping (address => uint256)) private _allowances;

    bool internal __ERC1820_REGISTRY_ENABLED = false;

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

    /**
     * @dev Modifier to use in the initializer function of a contract.
     */
    modifier initializer() {
        require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

        bool isTopLevelCall = !initializing;
        if (isTopLevelCall) {
            initializing = true;
            initialized = true;
        }

        _;

        if (isTopLevelCall) {
            initializing = false;
        }
    }

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

    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {}

    // Reserved storage space to allow for layout changes in the future.
    uint256[50] private __gap;

    function __ERC777_init(string memory name, string memory symbol) internal initializer {
        __Context_init_unchained();
        __ERC777_init_unchained(name, symbol);
        __Ownable_init_unchained();

        // register interfaces
        if (__ERC1820_REGISTRY_ENABLED) {
            _ERC1820_REGISTRY.setInterfaceImplementer(address(this), keccak256("ERC777Token"), address(this));
            _ERC1820_REGISTRY.setInterfaceImplementer(address(this), keccak256("ERC20Token"), address(this));
        }
    }

    function __ERC777_init_unchained(string memory name, string memory symbol) internal initializer {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    function __Ownable_init_unchained() internal initializer {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev See {IERC777-name}.
     */
    function name() public view override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC777-symbol}.
     */
    function symbol() public view override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {ERC20-decimals}.
     *
     * Always returns 18, as per the
     * [ERC777 EIP](https://eips.ethereum.org/EIPS/eip-777#backward-compatibility).
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC777-granularity}.
     *
     * This implementation always returns `1`.
     */
    function granularity() public view override returns (uint256) {
        return 1;
    }

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

    function totalBurned() public view returns (uint256) {
        return _totalBurned;
    }

    /**
     * @dev Returns the amount of tokens owned by an account (`tokenHolder`).
     */
    function balanceOf(address tokenHolder) public view override(IERC20, IERC777) returns (uint256) {
        return _balances[tokenHolder];
    }

    /**
     * @dev See {IERC777-send}.
     *
     * Also emits a {IERC20-Transfer} event for ERC20 compatibility.
     */
    function send(address recipient, uint256 amount, bytes memory data) public override  {
        _send(_msgSender(), recipient, amount, data, "", true);
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Unlike `send`, `recipient` is _not_ required to implement the {IERC777Recipient}
     * interface if it is a contract.
     *
     * Also emits a {Sent} event.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        require(recipient != address(0), "ERC777: transfer to the zero address");

        address from = _msgSender();

        _callTokensToSend(from, from, recipient, amount, "", "");

        _move(from, from, recipient, amount, "", "");

        _callTokensReceived(from, from, recipient, amount, "", "", false);

        return true;
    }

    /**
     * @dev See {IERC777-burn}.
     *
     * Also emits a {IERC20-Transfer} event for ERC20 compatibility.
     */
    function burn(uint256 amount, bytes memory data) public override  {
        _burn(_msgSender(), amount, data, "");
    }

    /**
     * @dev See {IERC777-isOperatorFor}.
     */
    function isOperatorFor(
        address operator,
        address tokenHolder
    ) public view override returns (bool) {
        return operator == tokenHolder ||
        (_defaultOperators[operator] && !_revokedDefaultOperators[tokenHolder][operator]) ||
        _operators[tokenHolder][operator];
    }

    /**
     * @dev See {IERC777-authorizeOperator}.
     */
    function authorizeOperator(address operator) public override  {
        require(_msgSender() != operator, "ERC777: authorizing self as operator");

        if (_defaultOperators[operator]) {
            delete _revokedDefaultOperators[_msgSender()][operator];
        } else {
            _operators[_msgSender()][operator] = true;
        }

        emit AuthorizedOperator(operator, _msgSender());
    }

    /**
     * @dev See {IERC777-revokeOperator}.
     */
    function revokeOperator(address operator) public override  {
        require(operator != _msgSender(), "ERC777: revoking self as operator");

        if (_defaultOperators[operator]) {
            _revokedDefaultOperators[_msgSender()][operator] = true;
        } else {
            delete _operators[_msgSender()][operator];
        }

        emit RevokedOperator(operator, _msgSender());
    }

    /**
     * @dev See {IERC777-defaultOperators}.
     */
    function defaultOperators() public view override returns (address[] memory) {
        return _defaultOperatorsArray;
    }

    /**
     * @dev See {IERC777-operatorSend}.
     *
     * Emits {Sent} and {IERC20-Transfer} events.
     */
    function operatorSend(
        address sender,
        address recipient,
        uint256 amount,
        bytes memory data,
        bytes memory operatorData
    )
    public override
    {
        require(isOperatorFor(_msgSender(), sender), "ERC777: caller is not an operator for holder");
        _send(sender, recipient, amount, data, operatorData, true);
    }

    /**
     * @dev See {IERC777-operatorBurn}.
     *
     * Emits {Burned} and {IERC20-Transfer} events.
     */
    function operatorBurn(address account, uint256 amount, bytes memory data, bytes memory operatorData) public override {
        require(isOperatorFor(_msgSender(), account), "ERC777: caller is not an operator for holder");
        _burn(account, amount, data, operatorData);
    }

    /**
     * @dev See {IERC20-allowance}.
     *
     * Note that operator and allowance concepts are orthogonal: operators may
     * not have allowance, and accounts with allowance may not be operators
     * themselves.
     */
    function allowance(address holder, address spender) public view override returns (uint256) {
        return _allowances[holder][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Note that accounts cannot have allowance issued by their operators.
     */
    function approve(address spender, uint256 value) public override returns (bool) {
        address holder = _msgSender();
        _approve(holder, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Note that operator and allowance concepts are orthogonal: operators cannot
     * call `transferFrom` (unless they have allowance), and accounts with
     * allowance cannot call `operatorSend` (unless they are operators).
     *
     * Emits {Sent}, {IERC20-Transfer} and {IERC20-Approval} events.
     */
    function transferFrom(address holder, address recipient, uint256 amount) public virtual override returns (bool) {
        require(recipient != address(0), "ERC777: transfer to the zero address");
        require(holder != address(0), "ERC777: transfer from the zero address");

        address spender = _msgSender();

        _callTokensToSend(spender, holder, recipient, amount, "", "");

        _move(spender, holder, recipient, amount, "", "");
        _approve(holder, spender, _allowances[holder][spender].sub(amount, "ERC777: transfer amount exceeds allowance"));

        _callTokensReceived(spender, holder, recipient, amount, "", "", false);

        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * If a send hook is registered for `account`, the corresponding function
     * will be called with `operator`, `data` and `operatorData`.
     *
     * See {IERC777Sender} and {IERC777Recipient}.
     *
     * Emits {Minted} and {IERC20-Transfer} events.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - if `account` is a contract, it must implement the {IERC777Recipient}
     * interface.
     */
    function _mint(
        address account,
        uint256 amount,
        bytes memory userData,
        bytes memory operatorData
    )
    internal virtual
    {
        require(account != address(0), "ERC777: mint to the zero address");

        address operator = _msgSender();

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

        // Update state variables
        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);

        _callTokensReceived(operator, address(0), account, amount, userData, operatorData, false);

        emit Minted(operator, account, amount, userData, operatorData);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Send tokens
     * @param from address token holder address
     * @param to address recipient address
     * @param amount uint256 amount of tokens to transfer
     * @param userData bytes extra information provided by the token holder (if any)
     * @param operatorData bytes extra information provided by the operator (if any)
     * @param requireReceptionAck if true, contract recipients are required to implement ERC777TokensRecipient
     */
    function _send(
        address from,
        address to,
        uint256 amount,
        bytes memory userData,
        bytes memory operatorData,
        bool requireReceptionAck
    )
    internal virtual
    {
        require(from != address(0), "ERC777: send from the zero address");
        require(to != address(0), "ERC777: send to the zero address");

        address operator = _msgSender();

        _callTokensToSend(operator, from, to, amount, userData, operatorData);

        _move(operator, from, to, amount, userData, operatorData);

        _callTokensReceived(operator, from, to, amount, userData, operatorData, requireReceptionAck);
    }

    /**
     * @dev Burn tokens
     * @param from address token holder address
     * @param amount uint256 amount of tokens to burn
     * @param data bytes extra information provided by the token holder
     * @param operatorData bytes extra information provided by the operator (if any)
     */
    function _burn(
        address from,
        uint256 amount,
        bytes memory data,
        bytes memory operatorData
    )
    internal virtual
    {
        require(from != address(0), "ERC777: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), amount);

        _callTokensToSend(operator, from, address(0), amount, data, operatorData);

        // Update state variables
        _balances[from] = _balances[from].sub(amount, "ERC777: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        _totalBurned = _totalBurned.add(amount);

        emit Burned(operator, from, amount, data, operatorData);
        emit Transfer(from, address(0), amount);
    }

    function _move(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes memory userData,
        bytes memory operatorData
    )
    internal virtual returns (uint256 _amountSent)
    {
        _beforeTokenTransfer(operator, from, to, amount);

        _balances[from] = _balances[from].sub(amount, "ERC777: transfer amount exceeds balance");
        _balances[to] = _balances[to].add(amount);
        _amountSent = amount;

        emit Sent(operator, from, to, amount, userData, operatorData);
        emit Transfer(from, to, amount);
    }

    /**
     * @dev See {ERC20-_approve}.
     *
     * Note that accounts cannot have allowance issued by their operators.
     */
    function _approve(address holder, address spender, uint256 value) internal {
        require(holder != address(0), "ERC777: approve from the zero address");
        require(spender != address(0), "ERC777: approve to the zero address");

        _allowances[holder][spender] = value;
        emit Approval(holder, spender, value);
    }

    /**
     * @dev Call from.tokensToSend() if the interface is registered
     * @param operator address operator requesting the transfer
     * @param from address token holder address
     * @param to address recipient address
     * @param amount uint256 amount of tokens to transfer
     * @param userData bytes extra information provided by the token holder (if any)
     * @param operatorData bytes extra information provided by the operator (if any)
     */
    function _callTokensToSend(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes memory userData,
        bytes memory operatorData
    )
    internal
    {
        if (__ERC1820_REGISTRY_ENABLED) {
            address implementer = _ERC1820_REGISTRY.getInterfaceImplementer(from, _TOKENS_SENDER_INTERFACE_HASH);
            if (implementer != address(0)) {
                IERC777Sender(implementer).tokensToSend(operator, from, to, amount, userData, operatorData);
            }
        }
    }

    /**
     * @dev Call to.tokensReceived() if the interface is registered. Reverts if the recipient is a contract but
     * tokensReceived() was not registered for the recipient
     * @param operator address operator requesting the transfer
     * @param from address token holder address
     * @param to address recipient address
     * @param amount uint256 amount of tokens to transfer
     * @param userData bytes extra information provided by the token holder (if any)
     * @param operatorData bytes extra information provided by the operator (if any)
     * @param requireReceptionAck if true, contract recipients are required to implement ERC777TokensRecipient
     */
    function _callTokensReceived(
        address operator,
        address from,
        address to,
        uint256 amount,
        bytes memory userData,
        bytes memory operatorData,
        bool requireReceptionAck
    )
    internal
    {
        if (__ERC1820_REGISTRY_ENABLED) {
            address implementer = _ERC1820_REGISTRY.getInterfaceImplementer(to, _TOKENS_RECIPIENT_INTERFACE_HASH);
            if (implementer != address(0)) {
                IERC777Recipient(implementer).tokensReceived(operator, from, to, amount, userData, operatorData);
            } else if (requireReceptionAck) {
                require(!to.isContract(), "ERC777: token recipient contract has no implementer for ERC777TokensRecipient");
            }
        }
    }

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

contract HOPE is ERC777OwnableUpgradeSafe {
    uint256 public cap;

    mapping(address => uint256) public minterCap;

    uint256 public burnRate;

    mapping(address => bool) private _isExcludedFromFee;
    mapping(address => bool) private _isExcludedToFee;

    /* =================== Added variables (need to keep orders for proxy to work) =================== */
    // ...

    /* ========== EVENTS ========== */

    event MinterCapUpdate(address indexed account, uint256 cap);

    /* ========== Modifiers =============== */

    modifier onlyMinter() {
        require(minterCap[msg.sender] > 0, "!minter");
        _;
    }

    /* ========== GOVERNANCE ========== */

    // - Max Supply: 500,000,000
    function initialize(uint256 _cap) public initializer {
        __ERC777_init("Firebird.Finance", "HOPE");
        cap = _cap;
        burnRate = 0; // 0%
        _mint(_msgSender(), 10 ether, "", ""); // pre mint 10 HOPE for initial liquidity supply purpose
        _isExcludedFromFee[_msgSender()] = true;
        _isExcludedToFee[_msgSender()] = true;
    }

    function setErc1820RegistryEnabled(bool _status) external onlyOwner {
        __ERC1820_REGISTRY_ENABLED = _status;
    }

    function setMinterCap(address _account, uint256 _minterCap) external onlyOwner {
        require(_account != address(0), "zero");
        minterCap[_account] = _minterCap;
        emit MinterCapUpdate(_account, _minterCap);
    }

    function setCap(uint256 _cap) external onlyOwner {
        require(_cap >= totalSupply(), "_cap is below current total supply");
        cap = _cap;
    }

    function setBurnRate(uint256 _burnRate) external onlyOwner {
        require(_burnRate <= 1000, "too high"); // <= 10%
        burnRate = _burnRate;
    }

    function setExcludeFromFee(address _account, bool _status) external onlyOwner {
        _isExcludedFromFee[_account] = _status;
    }

    function setExcludeToFee(address _account, bool _status) external onlyOwner {
        _isExcludedToFee[_account] = _status;
    }

    function setExcludeBothDirectionsFee(address _account, bool _status) external onlyOwner {
        _isExcludedFromFee[_account] = _status;
        _isExcludedToFee[_account] = _status;
    }

    /* ========== VIEW FUNCTIONS ========== */

    function isExcludedFromFee(address _account) external view returns (bool) {
        return _isExcludedFromFee[_account];
    }

    function isExcludedToFee(address _account) external view returns (bool) {
        return _isExcludedToFee[_account];
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    function mint(address _recipient, uint256 _amount) public onlyMinter {
        minterCap[_msgSender()] = minterCap[_msgSender()].sub(_amount, "HOPE: minting amount exceeds minter cap");
        _mint(_recipient, _amount, "", "");
    }

    function burn(uint256 _amount) external {
        _burn(msg.sender, _amount, "", "");
    }

    function burnFrom(address _account, uint256 _amount) external {
        _approve(_account, _msgSender(), allowance(_account, _msgSender()).sub(_amount, "HOPE: burn amount exceeds allowance"));
        _burn(_account, _amount, "", "");
    }

    /* ========== OVERRIDE STANDARD FUNCTIONS ========== */

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        require(recipient != address(0), "HOPE: transfer to the zero address");

        address from = _msgSender();

        _callTokensToSend(from, from, recipient, amount, "", "");

        uint256 _amountSent = _move(from, from, recipient, amount, "", "");

        _callTokensReceived(from, from, recipient, _amountSent, "", "", false);

        return true;
    }

    function transferFrom(address holder, address recipient, uint256 amount) public override returns (bool) {
        require(recipient != address(0), "HOPE: transfer to the zero address");
        require(holder != address(0), "HOPE: transfer from the zero address");

        address spender = _msgSender();

        _callTokensToSend(spender, holder, recipient, amount, "", "");

        uint256 _amountSent = _move(spender, holder, recipient, amount, "", "");
        _approve(holder, spender, allowance(holder, spender).sub(amount, "HOPE: transfer amount exceeds allowance"));

        _callTokensReceived(spender, holder, recipient, _amountSent, "", "", false);

        return true;
    }

    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - minted tokens must not cause the total supply to go over the cap.
     */
    function _beforeTokenTransfer(address _operator, address _from, address _to, uint256 _amount) internal override {
        super._beforeTokenTransfer(_operator, _from, _to, _amount);
        if (_from == address(0)) {
            // When minting tokens
            require(totalSupply().add(_amount) <= cap, "cap exceeded");
        }
        if (_to == address(0)) {
            // When burning tokens
            cap = cap.sub(_amount, "burn amount exceeds cap");
        }
    }

    /**
     * @dev Send tokens
     * @param from address token holder address
     * @param to address recipient address
     * @param amount uint256 amount of tokens to transfer
     * @param userData bytes extra information provided by the token holder (if any)
     * @param operatorData bytes extra information provided by the operator (if any)
     * @param requireReceptionAck if true, contract recipients are required to implement ERC777TokensRecipient
     */
    function _send(address from, address to, uint256 amount, bytes memory userData, bytes memory operatorData, bool requireReceptionAck) internal override {
        require(from != address(0), "HOPE: send from the zero address");
        require(to != address(0), "HOPE: send to the zero address");

        address _operator = _msgSender();

        _callTokensToSend(_operator, from, to, amount, userData, operatorData);

        uint256 _amountSent = _move(_operator, from, to, amount, userData, operatorData);

        _callTokensReceived(_operator, from, to, _amountSent, userData, operatorData, requireReceptionAck);
    }

    function _move(address _operator, address from, address to, uint256 amount, bytes memory userData, bytes memory operatorData) internal override returns (uint256 _amountSent) {
        _beforeTokenTransfer(_operator, from, to, amount);

        uint256 _amount = amount;

        if (!_isExcludedFromFee[from] && !_isExcludedToFee[to]) {
            uint256 _burnAmount = 0;
            uint256 _burnRate = burnRate;
            if (_burnRate > 0) {
                _burnAmount = amount.mul(_burnRate).div(10000);
                _amount = _amount.sub(_burnAmount);
                _burn(from, _burnAmount, "", "");
            }
        }

        _balances[from] = _balances[from].sub(_amount, "HOPE: transfer amount exceeds balance");
        _balances[to] = _balances[to].add(_amount);
        _amountSent = _amount;

        emit Sent(_operator, from, to, _amount, userData, operatorData);
        emit Transfer(from, to, _amount);
    }

    /* ========== EMERGENCY ========== */

    function governanceRecoverUnsupported(address _token, uint256 _amount, address _to) external onlyOwner {
        IERC20(_token).transfer(_to, _amount);
    }
}

Contract Security Audit

Contract ABI

[{"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":true,"internalType":"address","name":"tokenHolder","type":"address"}],"name":"AuthorizedOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"cap","type":"uint256"}],"name":"MinterCapUpdate","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":"tokenHolder","type":"address"}],"name":"RevokedOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"Sent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"holder","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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"authorizeOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenHolder","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultOperators","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"granularity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isExcludedToFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"tokenHolder","type":"address"}],"name":"isOperatorFor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minterCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"operatorBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"operatorData","type":"bytes"}],"name":"operatorSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"revokeOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"send","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnRate","type":"uint256"}],"name":"setBurnRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"setCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setErc1820RegistryEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setExcludeBothDirectionsFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setExcludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setExcludeToFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_minterCap","type":"uint256"}],"name":"setMinterCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"holder","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600c805460ff1916905534801561001a57600080fd5b506146f48061002a6000396000f3fe608060405234801561001057600080fd5b50600436106102ad5760003560e01c806370a082311161017b578063bed99850116100d8578063f2fde38b1161008c578063fc673c4f11610071578063fc673c4f14610afd578063fe4b84df14610c4c578063fe9d930314610c69576102ad565b8063f2fde38b14610a97578063fad8b32a14610aca576102ad565b8063d89135cd116100bd578063d89135cd14610a19578063d95b637114610a21578063dd62ed3e14610a5c576102ad565b8063bed99850146109d8578063c8e1b4ce146109e0576102ad565b8063959b8c3f1161012f5780639bd9bbc6116101145780639bd9bbc61461089c578063a9059cbb14610964578063af9549e01461099d576102ad565b8063959b8c3f1461086157806395d89b4114610894576102ad565b806379cc67901161016057806379cc6790146107c4578063844f30fb146107fd5780638da5cb5b14610830576102ad565b806370a0823114610789578063715018a6146107bc576102ad565b806340c10f191161022957806354575af4116101dd578063556f0dc7116101c2578063556f0dc7146105ec57806362ad1b83146105f45780636409de781461074e576102ad565b806354575af41461057657806354a65fcc146105b9576102ad565b806347786d371161020e57806347786d37146105075780634c2cc2ab146105245780635342acb414610543576102ad565b806340c10f19146104b157806342966c68146104ea576102ad565b806318160ddd1161028057806323b872dd1161026557806323b872dd14610448578063313ce5671461048b578063355274ea146104a9576102ad565b806318160ddd14610411578063189d165e1461042b576102ad565b806302317601146102b257806306e48538146102ef57806306fdde0314610347578063095ea7b3146103c4575b600080fd5b6102ed600480360360408110156102c857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515610d16565b005b6102f7610e16565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561033357818101518382015260200161031b565b505050509050019250505060405180910390f35b61034f610e85565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610389578181015183820152602001610371565b50505050905090810190601f1680156103b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103fd600480360360408110156103da57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610f30565b604080519115158252519081900360200190f35b610419610f54565b60408051918252519081900360200190f35b6102ed6004803603602081101561044157600080fd5b5035610f5a565b6103fd6004803603606081101561045e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135611067565b61049361121b565b6040805160ff9092168252519081900360200190f35b610419611224565b6102ed600480360360408110156104c757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561122a565b6102ed6004803603602081101561050057600080fd5b5035611374565b6102ed6004803603602081101561051d57600080fd5b50356113a1565b6102ed6004803603602081101561053a57600080fd5b5035151561149d565b6103fd6004803603602081101561055957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611565565b6102ed6004803603606081101561058c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359160409091013516611590565b610419600480360360208110156105cf57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166116c9565b6104196116db565b6102ed600480360360a081101561060a57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135909116916040820135919081019060808101606082013564010000000081111561065257600080fd5b82018360208201111561066457600080fd5b8035906020019184600183028401116401000000008311171561068657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156106d957600080fd5b8201836020820111156106eb57600080fd5b8035906020019184600183028401116401000000008311171561070d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506116e0945050505050565b6102ed6004803603604081101561076457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515611755565b6104196004803603602081101561079f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611842565b6102ed61186a565b6102ed600480360360408110156107da57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611975565b6103fd6004803603602081101561081357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166119d9565b610838611a04565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6102ed6004803603602081101561087757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611a26565b61034f611c23565b6102ed600480360360608110156108b257600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516916020810135918101906060810160408201356401000000008111156108ef57600080fd5b82018360208201111561090157600080fd5b8035906020019184600183028401116401000000008311171561092357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611ca2945050505050565b6103fd6004803603604081101561097a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611ccc565b6102ed600480360360408110156109b357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515611ddb565b610419611ec8565b6102ed600480360360408110156109f657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611ece565b610419612049565b6103fd60048036036040811015610a3757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661204f565b61041960048036036040811015610a7257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516612132565b6102ed60048036036020811015610aad57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661216a565b6102ed60048036036020811015610ae057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612306565b6102ed60048036036080811015610b1357600080fd5b73ffffffffffffffffffffffffffffffffffffffff82351691602081013591810190606081016040820135640100000000811115610b5057600080fd5b820183602082011115610b6257600080fd5b80359060200191846001830284011164010000000083111715610b8457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050640100000000811115610bd757600080fd5b820183602082011115610be957600080fd5b80359060200191846001830284011164010000000083111715610c0b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612503945050505050565b6102ed60048036036020811015610c6257600080fd5b503561257b565b6102ed60048036036040811015610c7f57600080fd5b81359190810190604081016020820135640100000000811115610ca157600080fd5b820183602082011115610cb357600080fd5b80359060200191846001830284011164010000000083111715610cd557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612806945050505050565b610d1e612828565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff908116911614610dad57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff909116600090815260426020908152604080832080549415157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00958616811790915560439092529091208054909216179055565b60606007805480602002602001604051908101604052809291908181526020018280548015610e7b57602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff168152600190910190602001808311610e50575b5050505050905090565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610e7b5780601f10610f0457610100808354040283529160200191610e7b565b820191906000526020600020905b815481529060010190602001808311610f1257509395945050505050565b600080610f3b612828565b9050610f4881858561282c565b60019150505b92915050565b60025490565b610f62612828565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff908116911614610ff157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6103e881111561106257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f746f6f2068696768000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b604155565b600073ffffffffffffffffffffffffffffffffffffffff83166110d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061444b6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8416611141576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806145006024913960400191505060405180910390fd5b600061114b612828565b9050611179818686866040518060200160405280600081525060405180602001604052806000815250612973565b60006111a7828787876040518060200160405280600081525060405180602001604052806000815250612c13565b90506111e186836111dc87604051806060016040528060278152602001614566602791396111d58c89612132565b9190612f6a565b61282c565b61120f828787846040518060200160405280600081525060405180602001604052806000815250600061301b565b50600195945050505050565b60065460ff1690565b603f5481565b336000908152604060208190529020546112a557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f216d696e74657200000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6112fc8160405180606001604052806027815260200161449360279139604060006112ce612828565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020549190612f6a565b60406000611308612828565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061137082826040518060200160405280600081525060405180602001604052806000815250613339565b5050565b61139e338260405180602001604052806000815250604051806020016040528060008152506135d8565b50565b6113a9612828565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff90811691161461143857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b611440610f54565b811015611498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061462b6022913960400191505060405180910390fd5b603f55565b6114a5612828565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff90811691161461153457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b73ffffffffffffffffffffffffffffffffffffffff1660009081526042602052604090205460ff1690565b611598612828565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff90811691161461162757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561169857600080fd5b505af11580156116ac573d6000803e3d6000fd5b505050506040513d60208110156116c257600080fd5b5050505050565b60406020819052600091825290205481565b600190565b6116f16116eb612828565b8661204f565b611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061464d602c913960400191505060405180910390fd5b6116c28585858585600161388a565b61175d612828565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff9081169116146117ec57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260436020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b611872612828565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff90811691161461190157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516201000090910473ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffff0000000000000000000000000000000000000000ffff169055565b6119af82611981612828565b6111dc8460405180606001604052806023815260200161458d602391396111d5886119aa612828565b612132565b611370828260405180602001604052806000815250604051806020016040528060008152506135d8565b73ffffffffffffffffffffffffffffffffffffffff1660009081526043602052604090205460ff1690565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff1690565b8073ffffffffffffffffffffffffffffffffffffffff16611a45612828565b73ffffffffffffffffffffffffffffffffffffffff161415611ab2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806144dc6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526008602052604090205460ff1615611b4d57600a6000611aec612828565b73ffffffffffffffffffffffffffffffffffffffff90811682526020808301939093526040918201600090812091851681529252902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055611bbf565b600160096000611b5b612828565b73ffffffffffffffffffffffffffffffffffffffff90811682526020808301939093526040918201600090812091861681529252902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790555b611bc7612828565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167ff4caeb2d6ca8932a215a353d0703c326ec2d81fc68170f320eb2ab49e9df61f960405160405180910390a350565b60058054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610e7b5780601f10610f0457610100808354040283529160200191610e7b565b611cc7611cad612828565b84848460405180602001604052806000815250600161388a565b505050565b600073ffffffffffffffffffffffffffffffffffffffff8316611d3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061444b6022913960400191505060405180910390fd5b6000611d44612828565b9050611d72818286866040518060200160405280600081525060405180602001604052806000815250612973565b6000611da0828387876040518060200160405280600081525060405180602001604052806000815250612c13565b9050611dd0828387846040518060200160405280600081525060405180602001604052806000815250600061301b565b506001949350505050565b611de3612828565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff908116911614611e7257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260426020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60415481565b611ed6612828565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff908116911614611f6557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8216611fe957604080517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048083019190915260248201527f7a65726f00000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821660008181526040602081815291819020849055805184815290517f6f86a21faaa96f0c7c23b73f38df387f420f574cde0162ab70024470726672af929181900390910190a25050565b60035490565b60008173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806120ee575073ffffffffffffffffffffffffffffffffffffffff831660009081526008602052604090205460ff1680156120ee575073ffffffffffffffffffffffffffffffffffffffff8083166000908152600a602090815260408083209387168352929052205460ff16155b8061212b575073ffffffffffffffffffffffffffffffffffffffff80831660009081526009602090815260408083209387168352929052205460ff165b9392505050565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600b6020908152604080832093909416825291909152205490565b612172612828565b60005462010000900473ffffffffffffffffffffffffffffffffffffffff90811691161461220157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661226d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061446d6026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516936201000090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff90921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b61230e612828565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612392576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806145246021913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff811660009081526008602052604090205460ff1615612436576001600a60006123ce612828565b73ffffffffffffffffffffffffffffffffffffffff90811682526020808301939093526040918201600090812091861681529252902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001691151591909117905561249f565b60096000612442612828565b73ffffffffffffffffffffffffffffffffffffffff90811682526020808301939093526040918201600090812091851681529252902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690555b6124a7612828565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f50546e66e5f44d728365dc3908c63bc5cfeeab470722c1677e3073a6ac294aa160405160405180910390a350565b61251461250e612828565b8561204f565b612569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061464d602c913960400191505060405180910390fd5b612575848484846135d8565b50505050565b600054610100900460ff168061259457506125946139c9565b806125a2575060005460ff16155b6125f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806145fd602e913960400191505060405180910390fd5b600054610100900460ff1615801561265d57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909116610100171660011790555b6126d16040518060400160405280601081526020017f46697265626972642e46696e616e6365000000000000000000000000000000008152506040518060400160405280600481526020017f484f5045000000000000000000000000000000000000000000000000000000008152506139cf565b603f82905560006041556127146126e6612828565b678ac7230489e800006040518060200160405280600081525060405180602001604052806000815250613339565b600160426000612722612828565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160436000612781612828565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055801561137057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555050565b611370612811612828565b8383604051806020016040528060008152506135d8565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316612898576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806144266025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216612904576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061469c6023913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600b6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600c5460ff1615612c0b57604080517faabbb8ca00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff871660048201527f29ddb589b1fb5fc7cf394961c1adf5f8c6454761adf795e67fe149f658abe89560248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b158015612a2857600080fd5b505afa158015612a3c573d6000803e3d6000fd5b505050506040513d6020811015612a5257600080fd5b5051905073ffffffffffffffffffffffffffffffffffffffff811615612c09578073ffffffffffffffffffffffffffffffffffffffff166375ab97828888888888886040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612b3e578181015183820152602001612b26565b50505050905090810190601f168015612b6b5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612b9e578181015183820152602001612b86565b50505050905090810190601f168015612bcb5780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b158015612bf057600080fd5b505af1158015612c04573d6000803e3d6000fd5b505050505b505b505050505050565b6000612c2187878787613c6a565b73ffffffffffffffffffffffffffffffffffffffff8616600090815260426020526040902054849060ff16158015612c7f575073ffffffffffffffffffffffffffffffffffffffff861660009081526043602052604090205460ff16155b15612ce1576041546000908015612cde57612ca6612710612ca08984613d79565b90613dec565b9150612cb28383613e6d565b9250612cde898360405180602001604052806000815250604051806020016040528060008152506135d8565b50505b612d2b816040518060600160405280602581526020016144016025913973ffffffffffffffffffffffffffffffffffffffff8a166000908152600160205260409020549190612f6a565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600160205260408082209390935590881681522054612d679082613ee4565b600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508091508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f06b541ddaa720db2b10a4d0cdac39b8d360425fc073085fac19bc82614677987848888604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612e5d578181015183820152602001612e45565b50505050905090810190601f168015612e8a5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612ebd578181015183820152602001612ea5565b50505050905090810190601f168015612eea5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a48573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3509695505050505050565b60008184841115613013576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612fd8578181015183820152602001612fc0565b50505050905090810190601f1680156130055780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600c5460ff1615612c0957604080517faabbb8ca00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff871660048201527fb281fc8c12954d22544db45de3159a39272895b169a852b314f9cc762e44c53b60248201529051600091731820a4b7618bde71dce8cdc73aab6c95905fad249163aabbb8ca91604480820192602092909190829003018186803b1580156130d057600080fd5b505afa1580156130e4573d6000803e3d6000fd5b505050506040513d60208110156130fa57600080fd5b5051905073ffffffffffffffffffffffffffffffffffffffff8116156132b4578073ffffffffffffffffffffffffffffffffffffffff166223de298989898989896040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156131e55781810151838201526020016131cd565b50505050905090810190601f1680156132125780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561324557818101518382015260200161322d565b50505050905090810190601f1680156132725780820380516001836020036101000a031916815260200191505b5098505050505050505050600060405180830381600087803b15801561329757600080fd5b505af11580156132ab573d6000803e3d6000fd5b5050505061332f565b811561332f576132d98673ffffffffffffffffffffffffffffffffffffffff16613f58565b1561332f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252604d8152602001806145b0604d913960600191505060405180910390fd5b5050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84166133bb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433737373a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b60006133c5612828565b90506133d48160008787613c6a565b6002546133e19085613ee4565b60025573ffffffffffffffffffffffffffffffffffffffff85166000908152600160205260409020546134149085613ee4565b73ffffffffffffffffffffffffffffffffffffffff861660009081526001602052604081209190915561344d908290878787878461301b565b8473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f2fe5be0146f74c5bce36c0b80911af6c7d86ff27e89d5cfa61fc681327954e5d868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156134e65781810151838201526020016134ce565b50505050905090810190601f1680156135135780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561354657818101518382015260200161352e565b50505050905090810190601f1680156135735780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a360408051858152905173ffffffffffffffffffffffffffffffffffffffff8716916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b73ffffffffffffffffffffffffffffffffffffffff8416613644576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806144ba6022913960400191505060405180910390fd5b600061364e612828565b905061365d8186600087613c6a565b61366c81866000878787612973565b6136b6846040518060600160405280602381526020016146796023913973ffffffffffffffffffffffffffffffffffffffff88166000908152600160205260409020549190612f6a565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600160205260409020556002546136e99085613e6d565b6002556003546136f99085613ee4565b6003819055508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fa78a9be3a7b862d26933ad85fb11d80ef66b8f972d7cbba06621d583943a4098868686604051808481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015613798578181015183820152602001613780565b50505050905090810190601f1680156137c55780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b838110156137f85781810151838201526020016137e0565b50505050905090810190601f1680156138255780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a360408051858152905160009173ffffffffffffffffffffffffffffffffffffffff8816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050505050565b73ffffffffffffffffffffffffffffffffffffffff861661390c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f484f50453a2073656e642066726f6d20746865207a65726f2061646472657373604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff851661398e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f484f50453a2073656e6420746f20746865207a65726f20616464726573730000604482015290519081900360640190fd5b6000613998612828565b90506139a8818888888888612973565b60006139b8828989898989612c13565b905061332f8289898489898961301b565b303b1590565b600054610100900460ff16806139e857506139e86139c9565b806139f6575060005460ff16155b613a4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806145fd602e913960400191505060405180910390fd5b600054610100900460ff16158015613ab157600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909116610100171660011790555b613ab9613f5e565b613ac38383614071565b613acb6141d9565b600c5460ff1615613c3757604080517f29965a1d00000000000000000000000000000000000000000000000000000000815230600482018190527fac7fbab5f54a3ca8194167523c6753bfeb96a445279294b6125b68cce2177054602483015260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad24916329965a1d91606480830192600092919082900301818387803b158015613b6e57600080fd5b505af1158015613b82573d6000803e3d6000fd5b5050604080517f29965a1d00000000000000000000000000000000000000000000000000000000815230600482018190527faea199e31a596269b42cdafd93407f14436db6e4cad65417994c2eb37381e05a602483015260448201529051731820a4b7618bde71dce8cdc73aab6c95905fad2493506329965a1d9250606480830192600092919082900301818387803b158015613c1e57600080fd5b505af1158015613c32573d6000803e3d6000fd5b505050505b8015611cc757600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055505050565b613c7684848484612575565b73ffffffffffffffffffffffffffffffffffffffff8316613d1357603f54613ca682613ca0610f54565b90613ee4565b1115613d1357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f6361702065786365656465640000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff82166125755760408051808201909152601781527f6275726e20616d6f756e742065786365656473206361700000000000000000006020820152603f54613d70918390612f6a565b603f5550505050565b600082613d8857506000610f4e565b82820282848281613d9557fe5b041461212b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806145456021913960400191505060405180910390fd5b6000808211613e5c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381613e6557fe5b049392505050565b600082821115613ede57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008282018381101561212b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3b151590565b600054610100900460ff1680613f775750613f776139c9565b80613f85575060005460ff16155b613fda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806145fd602e913960400191505060405180910390fd5b600054610100900460ff1615801561404057600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909116610100171660011790555b801561139e57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b600054610100900460ff168061408a575061408a6139c9565b80614098575060005460ff16155b6140ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806145fd602e913960400191505060405180910390fd5b600054610100900460ff1615801561415357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909116610100171660011790555b825161416690600490602086019061436d565b50815161417a90600590602085019061436d565b50600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660121790558015611cc757600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055505050565b600054610100900460ff16806141f257506141f26139c9565b80614200575060005460ff16155b614255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806145fd602e913960400191505060405180910390fd5b600054610100900460ff161580156142bb57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909116610100171660011790555b60006142c5612828565b600080547fffffffffffffffffffff0000000000000000000000000000000000000000ffff166201000073ffffffffffffffffffffffffffffffffffffffff8416908102919091178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801561139e57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106143ae57805160ff19168380011785556143db565b828001600101855582156143db579182015b828111156143db5782518255916020019190600101906143c0565b506143e79291506143eb565b5090565b5b808211156143e757600081556001016143ec56fe484f50453a207472616e7366657220616d6f756e7420657863656564732062616c616e63654552433737373a20617070726f76652066726f6d20746865207a65726f2061646472657373484f50453a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373484f50453a206d696e74696e6720616d6f756e742065786365656473206d696e746572206361704552433737373a206275726e2066726f6d20746865207a65726f20616464726573734552433737373a20617574686f72697a696e672073656c66206173206f70657261746f72484f50453a207472616e736665722066726f6d20746865207a65726f20616464726573734552433737373a207265766f6b696e672073656c66206173206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77484f50453a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365484f50453a206275726e20616d6f756e74206578636565647320616c6c6f77616e63654552433737373a20746f6b656e20726563697069656e7420636f6e747261637420686173206e6f20696d706c656d656e74657220666f7220455243373737546f6b656e73526563697069656e74436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65645f6361702069732062656c6f772063757272656e7420746f74616c20737570706c794552433737373a2063616c6c6572206973206e6f7420616e206f70657261746f7220666f7220686f6c6465724552433737373a206275726e20616d6f756e7420657863656564732062616c616e63654552433737373a20617070726f766520746f20746865207a65726f2061646472657373a2646970667358221220e18ea8d978ceafc6858150b3eb31fef1a4bf377cba4374920806cd608762d88e64736f6c634300060c0033

Deployed ByteCode Sourcemap

59774:7500:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61876:192;;;;;;;;;;;;;;;;-1:-1:-1;61876:192:0;;;;;;;;;;;:::i;:::-;;48921:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44996:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50496:193;;;;;;;;;;;;;;;;-1:-1:-1;50496:193:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;45797:117;;;:::i;:::-;;;;;;;;;;;;;;;;61429:157;;;;;;;;;;;;;;;;-1:-1:-1;61429:157:0;;:::i;63585:705::-;;;;;;;;;;;;;;;;-1:-1:-1;63585:705:0;;;;;;;;;;;;;;;;;;:::i;45437:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;59823:18;;;:::i;62448:238::-;;;;;;;;;;;;;;;;-1:-1:-1;62448:238:0;;;;;;;;;:::i;62694:93::-;;;;;;;;;;;;;;;;-1:-1:-1;62694:93:0;;:::i;61264:157::-;;;;;;;;;;;;;;;;-1:-1:-1;61264:157:0;;:::i;60892:123::-;;;;;;;;;;;;;;;;-1:-1:-1;60892:123:0;;;;:::i;62126:128::-;;;;;;;;;;;;;;;;-1:-1:-1;62126:128:0;;;;:::i;67112:159::-;;;;;;;;;;;;;;;;-1:-1:-1;67112:159:0;;;;;;;;;;;;;;;;;;:::i;59850:44::-;;;;;;;;;;;;;;;;-1:-1:-1;59850:44:0;;;;:::i;45642:89::-;;;:::i;49171:377::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49171:377:0;;;;;;;;-1:-1:-1;49171:377:0;;-1:-1:-1;;49171:377:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49171:377:0;;-1:-1:-1;49171:377:0;;-1:-1:-1;;;;;49171:377:0:i;61737:131::-;;;;;;;;;;;;;;;;-1:-1:-1;61737:131:0;;;;;;;;;;;:::i;46118:144::-;;;;;;;;;;;;;;;;-1:-1:-1;46118:144:0;;;;:::i;44292:148::-;;;:::i;62795:243::-;;;;;;;;;;;;;;;;-1:-1:-1;62795:243:0;;;;;;;;;:::i;62262:124::-;;;;;;;;;;;;;;;;-1:-1:-1;62262:124:0;;;;:::i;43650:79::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;47960:415;;;;;;;;;;;;;;;;-1:-1:-1;47960:415:0;;;;:::i;45149:96::-;;;:::i;46399:158::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46399:158:0;;-1:-1:-1;46399:158:0;;-1:-1:-1;;;;;46399:158:0:i;63109:468::-;;;;;;;;;;;;;;;;-1:-1:-1;63109:468:0;;;;;;;;;:::i;61594:135::-;;;;;;;;;;;;;;;;-1:-1:-1;61594:135:0;;;;;;;;;;;:::i;59903:23::-;;;:::i;61023:233::-;;;;;;;;;;;;;;;;-1:-1:-1;61023:233:0;;;;;;;;;:::i;45922:91::-;;;:::i;47576:312::-;;;;;;;;;;;;;;;;-1:-1:-1;47576:312:0;;;;;;;;;;;:::i;50206:145::-;;;;;;;;;;;;;;;;-1:-1:-1;50206:145:0;;;;;;;;;;;:::i;44595:244::-;;;;;;;;;;;;;;;;-1:-1:-1;44595:244:0;;;;:::i;48444:406::-;;;;;;;;;;;;;;;;-1:-1:-1;48444:406:0;;;;:::i;49676:282::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49676:282:0;;;;;;;;-1:-1:-1;49676:282:0;;-1:-1:-1;;49676:282:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49676:282:0;;-1:-1:-1;49676:282:0;;-1:-1:-1;;;;;49676:282:0:i;60518:366::-;;;;;;;;;;;;;;;;-1:-1:-1;60518:366:0;;:::i;47386:122::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47386:122:0;;-1:-1:-1;47386:122:0;;-1:-1:-1;;;;;47386:122:0:i;61876:192::-;43872:12;:10;:12::i;:::-;43862:6;;;;;:22;:6;;;:22;;;43854:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61975:28:::1;::::0;;::::1;;::::0;;;:18:::1;:28;::::0;;;;;;;:38;;;::::1;;::::0;;;::::1;::::0;::::1;::::0;;;62024:16:::1;:26:::0;;;;;;:36;;;;::::1;;::::0;;61876:192::o;48921:124::-;48979:16;49015:22;49008:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48921:124;:::o;44996:92::-;45075:5;45068:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45042:13;;45068:12;;45075:5;;45068:12;;45075:5;45068:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45068:12:0;;44996:92;-1:-1:-1;;;;;44996:92:0:o;50496:193::-;50570:4;50587:14;50604:12;:10;:12::i;:::-;50587:29;;50627:32;50636:6;50644:7;50653:5;50627:8;:32::i;:::-;50677:4;50670:11;;;50496:193;;;;;:::o;45797:117::-;45894:12;;45797:117;:::o;61429:157::-;43872:12;:10;:12::i;:::-;43862:6;;;;;:22;:6;;;:22;;;43854:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61520:4:::1;61507:9;:17;;61499:38;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;61558:8;:20:::0;61429:157::o;63585:705::-;63683:4;63708:23;;;63700:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63789:20;;;63781:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63863:15;63881:12;:10;:12::i;:::-;63863:30;;63906:61;63924:7;63933:6;63941:9;63952:6;63906:61;;;;;;;;;;;;;;;;;;;;;;;;:17;:61::i;:::-;63980:19;64002:49;64008:7;64017:6;64025:9;64036:6;64002:49;;;;;;;;;;;;;;;;;;;;;;;;:5;:49::i;:::-;63980:71;;64062:108;64071:6;64079:7;64088:81;64119:6;64088:81;;;;;;;;;;;;;;;;;:26;64098:6;64106:7;64088:9;:26::i;:::-;:30;:81;:30;:81::i;:::-;64062:8;:108::i;:::-;64183:75;64203:7;64212:6;64220:9;64231:11;64183:75;;;;;;;;;;;;;;;;;;;;;;;;64252:5;64183:19;:75::i;:::-;-1:-1:-1;64278:4:0;;63585:705;-1:-1:-1;;;;;63585:705:0:o;45437:83::-;45503:9;;;;45437:83;:::o;59823:18::-;;;;:::o;62448:238::-;60383:10;60397:1;60373:21;;;:9;:21;;;;;;;60365:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62554:79:::1;62582:7;62554:79;;;;;;;;;;;;;;;;;:9;:23;62564:12;:10;:12::i;:::-;62554:23;;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;62554:23:0;;;:79;:27:::1;:79::i;:::-;62528:9;:23;62538:12;:10;:12::i;:::-;62528:23;;;;;;;;;;;;;;;:105;;;;62644:34;62650:10;62662:7;62644:34;;;;;;;;;;;::::0;::::1;;;;;;;;;;;::::0;:5:::1;:34::i;:::-;62448:238:::0;;:::o;62694:93::-;62745:34;62751:10;62763:7;62745:34;;;;;;;;;;;;;;;;;;;;;;;;:5;:34::i;:::-;62694:93;:::o;61264:157::-;43872:12;:10;:12::i;:::-;43862:6;;;;;:22;:6;;;:22;;;43854:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61340:13:::1;:11;:13::i;:::-;61332:4;:21;;61324:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61403:3;:10:::0;61264:157::o;60892:123::-;43872:12;:10;:12::i;:::-;43862:6;;;;;:22;:6;;;:22;;;43854:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60971:26:::1;:36:::0;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;60892:123::o;62126:128::-;62218:28;;62194:4;62218:28;;;:18;:28;;;;;;;;;62126:128::o;67112:159::-;43872:12;:10;:12::i;:::-;43862:6;;;;;:22;:6;;;:22;;;43854:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67233:6:::1;67226:23;;;67250:3;67255:7;67226:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;;;67112:159:0:o;59850:44::-;;;;;;;;;;;;;;:::o;45642:89::-;45722:1;45642:89;:::o;49171:377::-;49387:35;49401:12;:10;:12::i;:::-;49415:6;49387:13;:35::i;:::-;49379:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49482:58;49488:6;49496:9;49507:6;49515:4;49521:12;49535:4;49482:5;:58::i;61737:131::-;43872:12;:10;:12::i;:::-;43862:6;;;;;:22;:6;;;:22;;;43854:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61824:26:::1;::::0;;;::::1;;::::0;;;:16:::1;:26;::::0;;;;:36;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;61737:131::o;46118:144::-;46232:22;;46205:7;46232:22;;;:9;:22;;;;;;;46118:144::o;44292:148::-;43872:12;:10;:12::i;:::-;43862:6;;;;;:22;:6;;;:22;;;43854:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44399:1:::1;44383:6:::0;;44362:40:::1;::::0;44383:6;;;::::1;44362:40;44383:6;::::0;44362:40:::1;::::0;44399:1;;44362:40:::1;44430:1;44413:19:::0;;;::::1;::::0;;44292:148::o;62795:243::-;62868:119;62877:8;62887:12;:10;:12::i;:::-;62901:85;62939:7;62901:85;;;;;;;;;;;;;;;;;:33;62911:8;62921:12;:10;:12::i;:::-;62901:9;:33::i;62868:119::-;62998:32;63004:8;63014:7;62998:32;;;;;;;;;;;;;;;;;;;;;;;;:5;:32::i;62262:124::-;62352:26;;62328:4;62352:26;;;:16;:26;;;;;;;;;62262:124::o;43650:79::-;43688:7;43715:6;;;;;;;43650:79::o;47960:415::-;48057:8;48041:24;;:12;:10;:12::i;:::-;:24;;;;48033:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48123:27;;;;;;;:17;:27;;;;;;;;48119:189;;;48174:24;:38;48199:12;:10;:12::i;:::-;48174:38;;;;;;;;;;;;;;;;;;-1:-1:-1;48174:38:0;;;:48;;;;;;;;;48167:55;;;;;;48119:189;;;48292:4;48255:10;:24;48266:12;:10;:12::i;:::-;48255:24;;;;;;;;;;;;;;;;;;-1:-1:-1;48255:24:0;;;:34;;;;;;;;;:41;;;;;;;;;;;;;48119:189;48354:12;:10;:12::i;:::-;48325:42;;48344:8;48325:42;;;;;;;;;;;;47960:415;:::o;45149:96::-;45230:7;45223:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45197:13;;45223:14;;45230:7;;45223:14;;45230:7;45223:14;;;;;;;;;;;;;;;;;;;;;;;;46399:158;46495:54;46501:12;:10;:12::i;:::-;46515:9;46526:6;46534:4;46495:54;;;;;;;;;;;;46544:4;46495:5;:54::i;:::-;46399:158;;;:::o;63109:468::-;63187:4;63212:23;;;63204:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63287:12;63302;:10;:12::i;:::-;63287:27;;63327:56;63345:4;63351;63357:9;63368:6;63327:56;;;;;;;;;;;;;;;;;;;;;;;;:17;:56::i;:::-;63396:19;63418:44;63424:4;63430;63436:9;63447:6;63418:44;;;;;;;;;;;;;;;;;;;;;;;;:5;:44::i;:::-;63396:66;;63475:70;63495:4;63501;63507:9;63518:11;63475:70;;;;;;;;;;;;;;;;;;;;;;;;63539:5;63475:19;:70::i;:::-;-1:-1:-1;63565:4:0;;63109:468;-1:-1:-1;;;;63109:468:0:o;61594:135::-;43872:12;:10;:12::i;:::-;43862:6;;;;;:22;:6;;;:22;;;43854:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61683:28:::1;::::0;;;::::1;;::::0;;;:18:::1;:28;::::0;;;;:38;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;61594:135::o;59903:23::-;;;;:::o;61023:233::-;43872:12;:10;:12::i;:::-;43862:6;;;;;:22;:6;;;:22;;;43854:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61121:22:::1;::::0;::::1;61113:39;;;::::0;;::::1;::::0;;::::1;;::::0;;::::1;::::0;;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;61163:19;::::0;::::1;;::::0;;;:9:::1;:19;::::0;;;;;;;:32;;;61211:37;;;;;;;::::1;::::0;;;;;;;;;::::1;61023:233:::0;;:::o;45922:91::-;45993:12;;45922:91;:::o;47576:312::-;47693:4;47729:11;47717:23;;:8;:23;;;:117;;;-1:-1:-1;47754:27:0;;;;;;;:17;:27;;;;;;;;:79;;;;-1:-1:-1;47786:37:0;;;;;;;;:24;:37;;;;;;;;:47;;;;;;;;;;;;47785:48;47754:79;47717:163;;;-1:-1:-1;47847:23:0;;;;;;;;:10;:23;;;;;;;;:33;;;;;;;;;;;;47717:163;47710:170;47576:312;-1:-1:-1;;;47576:312:0:o;50206:145::-;50315:19;;;;50288:7;50315:19;;;:11;:19;;;;;;;;:28;;;;;;;;;;;;;50206:145::o;44595:244::-;43872:12;:10;:12::i;:::-;43862:6;;;;;:22;:6;;;:22;;;43854:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44684:22:::1;::::0;::::1;44676:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44786:6;::::0;;44765:38:::1;::::0;::::1;::::0;;::::1;::::0;44786:6;;;::::1;;::::0;44765:38:::1;::::0;::::1;44814:6;:17:::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;44595:244::o;48444:406::-;48534:12;:10;:12::i;:::-;48522:24;;:8;:24;;;;48514:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48601:27;;;;;;;:17;:27;;;;;;;;48597:189;;;48696:4;48645:24;:38;48670:12;:10;:12::i;:::-;48645:38;;;;;;;;;;;;;;;;;;-1:-1:-1;48645:38:0;;;:48;;;;;;;;;:55;;;;;;;;;;;;;48597:189;;;48740:10;:24;48751:12;:10;:12::i;:::-;48740:24;;;;;;;;;;;;;;;;;;-1:-1:-1;48740:24:0;;;:34;;;;;;;;;48733:41;;;;;;48597:189;48829:12;:10;:12::i;:::-;48803:39;;48819:8;48803:39;;;;;;;;;;;;48444:406;:::o;49676:282::-;49812:36;49826:12;:10;:12::i;:::-;49840:7;49812:13;:36::i;:::-;49804:93;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49908:42;49914:7;49923:6;49931:4;49937:12;49908:5;:42::i;:::-;49676:282;;;;:::o;60518:366::-;41373:12;;;;;;;;:31;;;41389:15;:13;:15::i;:::-;41373:47;;;-1:-1:-1;41409:11:0;;;;41408:12;41373:47;41365:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41484:19;41507:12;;;;;;41506:13;41530:99;;;;41565:12;:19;;41599:18;41565:19;;;;;;41599:18;41580:4;41599:18;;;41530:99;60582:41:::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;::::0;:13:::1;:41::i;:::-;60634:3;:10:::0;;;60666:1:::1;60655:8;:12:::0;60684:37:::1;60690:12;:10;:12::i;:::-;60704:8;60684:37;;;;;;;;;;;::::0;::::1;;;;;;;;;;;::::0;:5:::1;:37::i;:::-;60824:4;60789:18;:32;60808:12;:10;:12::i;:::-;60789:32;;;;;;;;;;;;;;;;:39;;;;;;;;;;;;;;;;;;60872:4;60839:16;:30;60856:12;:10;:12::i;:::-;60839:30;;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;60839:30:0;:37;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;41655:67;;;;41705:5;41690:20;;;;;;60518:366;;:::o;47386:122::-;47463:37;47469:12;:10;:12::i;:::-;47483:6;47491:4;47463:37;;;;;;;;;;;;:5;:37::i;9101:106::-;9189:10;9101:106;:::o;56141:341::-;56235:20;;;56227:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56316:21;;;56308:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56390:19;;;;;;;;:11;:19;;;;;;;;:28;;;;;;;;;;;;;:36;;;56442:32;;;;;;;;;;;;;;;;;56141:341;;;:::o;56966:565::-;57198:26;;;;57194:330;;;57263:78;;;;;;:41;:78;;;;;;40207:66;57263:78;;;;;;57241:19;;39671:42;;57263:41;;:78;;;;;;;;;;;;;;;39671:42;57263:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57263:78:0;;-1:-1:-1;57360:25:0;;;;57356:157;;57420:11;57406:39;;;57446:8;57456:4;57462:2;57466:6;57474:8;57484:12;57406:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57406:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57356:157;57194:330;;56966:565;;;;;;:::o;66097:962::-;66250:19;66282:49;66303:9;66314:4;66320:2;66324:6;66282:20;:49::i;:::-;66386:24;;;66344:15;66386:24;;;:18;:24;;;;;;66362:6;;66386:24;;66385:25;:50;;;;-1:-1:-1;66415:20:0;;;;;;;:16;:20;;;;;;;;66414:21;66385:50;66381:367;;;66510:8;;66452:19;;66537:13;;66533:204;;66585:32;66611:5;66585:21;:6;66596:9;66585:10;:21::i;:::-;:25;;:32::i;:::-;66571:46;-1:-1:-1;66646:24:0;:7;66571:46;66646:11;:24::i;:::-;66636:34;;66689:32;66695:4;66701:11;66689:32;;;;;;;;;;;;;;;;;;;;;;;;:5;:32::i;:::-;66381:367;;;66778:69;66798:7;66778:69;;;;;;;;;;;;;;;;;:15;;;;;;;:9;:15;;;;;;;:69;:19;:69::i;:::-;66760:15;;;;;;;;:9;:15;;;;;;:87;;;;66874:13;;;;;;;:26;;66892:7;66874:17;:26::i;:::-;66858:9;:13;66868:2;66858:13;;;;;;;;;;;;;;;:42;;;;66925:7;66911:21;;66972:2;66950:58;;66966:4;66950:58;;66955:9;66950:58;;;66976:7;66985:8;66995:12;66950:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66950:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67039:2;67024:27;;67033:4;67024:27;;;67043:7;67024:27;;;;;;;;;;;;;;;;;;66097:962;;;;;;;;;:::o;23546:166::-;23632:7;23668:12;23660:6;;;;23652:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;23699:5:0;;;23546:166::o;58233:780::-;58502:26;;;;58498:508;;;58567:79;;;;;;:41;:79;;;;;;40385:66;58567:79;;;;;;58545:19;;39671:42;;58567:41;;:79;;;;;;;;;;;;;;;39671:42;58567:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58567:79:0;;-1:-1:-1;58665:25:0;;;;58661:334;;58728:11;58711:44;;;58756:8;58766:4;58772:2;58776:6;58784:8;58794:12;58711:96;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58711:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58661:334;;;58833:19;58829:166;;;58882:15;:2;:13;;;:15::i;:::-;58881:16;58873:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58498:508;58233:780;;;;;;;:::o;52357:748::-;52544:21;;;52536:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52615:16;52634:12;:10;:12::i;:::-;52615:31;;52659:59;52680:8;52698:1;52702:7;52711:6;52659:20;:59::i;:::-;52781:12;;:24;;52798:6;52781:16;:24::i;:::-;52766:12;:39;52837:18;;;;;;;:9;:18;;;;;;:30;;52860:6;52837:22;:30::i;:::-;52816:18;;;;;;;:9;:18;;;;;:51;;;;52880:89;;52900:8;;52826:7;52931:6;52939:8;52949:12;52816:18;52880:19;:89::i;:::-;53004:7;52987:57;;52994:8;52987:57;;;53013:6;53021:8;53031:12;52987:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52987:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53060:37;;;;;;;;;;;;53077:1;;53060:37;;;;;;;;;52357:748;;;;;:::o;54584:794::-;54764:18;;;54756:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54834:16;54853:12;:10;:12::i;:::-;54834:31;;54878:56;54899:8;54909:4;54923:1;54927:6;54878:20;:56::i;:::-;54947:73;54965:8;54975:4;54989:1;54993:6;55001:4;55007:12;54947:17;:73::i;:::-;55086:66;55106:6;55086:66;;;;;;;;;;;;;;;;;:15;;;;;;;:9;:15;;;;;;;:66;:19;:66::i;:::-;55068:15;;;;;;;:9;:15;;;;;:84;55178:12;;:24;;55195:6;55178:16;:24::i;:::-;55163:12;:39;55228:12;;:24;;55245:6;55228:16;:24::i;:::-;55213:12;:39;;;;55287:4;55270:50;;55277:8;55270:50;;;55293:6;55301:4;55307:12;55270:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55270:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55336:34;;;;;;;;55359:1;;55336:34;;;;;;;;;;;;;54584:794;;;;;:::o;65454:635::-;65624:18;;;65616:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65698:16;;;65690:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65762:17;65782:12;:10;:12::i;:::-;65762:32;;65807:70;65825:9;65836:4;65842:2;65846:6;65854:8;65864:12;65807:17;:70::i;:::-;65890:19;65912:58;65918:9;65929:4;65935:2;65939:6;65947:8;65957:12;65912:5;:58::i;:::-;65890:80;;65983:98;66003:9;66014:4;66020:2;66024:11;66037:8;66047:12;66061:19;65983;:98::i;41822:546::-;42263:4;42317:17;42353:7;41822:546;:::o;42651:527::-;41373:12;;;;;;;;:31;;;41389:15;:13;:15::i;:::-;41373:47;;;-1:-1:-1;41409:11:0;;;;41408:12;41373:47;41365:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41484:19;41507:12;;;;;;41506:13;41530:99;;;;41565:12;:19;;41599:18;41565:19;;;;;;41599:18;41580:4;41599:18;;;41530:99;42748:26:::1;:24;:26::i;:::-;42785:37;42809:4;42815:6;42785:23;:37::i;:::-;42833:26;:24;:26::i;:::-;42908;::::0;::::1;;42904:267;;;42951:97;::::0;;;;;43001:4:::1;42951:97;::::0;::::1;::::0;;;43008:24:::1;42951:97:::0;;;;;;;;;;39671:42:::1;::::0;42951:41:::1;::::0;:97;;;;;-1:-1:-1;;42951:97:0;;;;;;;-1:-1:-1;39671:42:0;42951:97;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;43063:96:0::1;::::0;;;;;43113:4:::1;43063:96;::::0;::::1;::::0;;;43120:23:::1;43063:96:::0;;;;;;;;;;39671:42:::1;::::0;-1:-1:-1;43063:41:0::1;::::0;-1:-1:-1;43063:96:0;;;;;-1:-1:-1;;43063:96:0;;;;;;;-1:-1:-1;39671:42:0;43063:96;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;42904:267;41659:14:::0;41655:67;;;41705:5;41690:20;;;;;;42651:527;;;:::o;64477:490::-;64600:58;64627:9;64638:5;64645:3;64650:7;64600:26;:58::i;:::-;64673:19;;;64669:146;;64783:3;;64753:26;64771:7;64753:13;:11;:13::i;:::-;:17;;:26::i;:::-;:33;;64745:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64829:17;;;64825:135;;64905:43;;;;;;;;;;;;;;;;;:3;;:43;;64913:7;;64905;:43::i;:::-;64899:3;:49;64477:490;;;;:::o;21598:220::-;21656:7;21680:6;21676:20;;-1:-1:-1;21695:1:0;21688:8;;21676:20;21719:5;;;21723:1;21719;:5;:1;21743:5;;;;;:10;21735:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22296:153;22354:7;22386:1;22382;:5;22374:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22440:1;22436;:5;;;;;;;22296:153;-1:-1:-1;;;22296:153:0:o;21181:158::-;21239:7;21272:1;21267;:6;;21259:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21326:5:0;;;21181:158::o;20719:179::-;20777:7;20809:5;;;20833:6;;;;20825:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26067:422;26434:20;26473:8;;;26067:422::o;42476:59::-;41373:12;;;;;;;;:31;;;41389:15;:13;:15::i;:::-;41373:47;;;-1:-1:-1;41409:11:0;;;;41408:12;41373:47;41365:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41484:19;41507:12;;;;;;41506:13;41530:99;;;;41565:12;:19;;41599:18;41565:19;;;;;;41599:18;41580:4;41599:18;;;41530:99;41659:14;41655:67;;;41705:5;41690:20;;;;;;42476:59;:::o;43186:179::-;41373:12;;;;;;;;:31;;;41389:15;:13;:15::i;:::-;41373:47;;;-1:-1:-1;41409:11:0;;;;41408:12;41373:47;41365:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41484:19;41507:12;;;;;;41506:13;41530:99;;;;41565:12;:19;;41599:18;41565:19;;;;;;41599:18;41580:4;41599:18;;;41530:99;43293:12;;::::1;::::0;:5:::1;::::0;:12:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;43316:16:0;;::::1;::::0;:7:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;43343:9:0::1;:14:::0;;;::::1;43355:2;43343:14;::::0;;41655:67;;;;41705:5;41690:20;;;;;;43186:179;;;:::o;43373:196::-;41373:12;;;;;;;;:31;;;41389:15;:13;:15::i;:::-;41373:47;;;-1:-1:-1;41409:11:0;;;;41408:12;41373:47;41365:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41484:19;41507:12;;;;;;41506:13;41530:99;;;;41565:12;:19;;41599:18;41565:19;;;;;;41599:18;41580:4;41599:18;;;41530:99;43441:17:::1;43461:12;:10;:12::i;:::-;43484:6;:18:::0;;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;43518:43:::1;::::0;43484:18;;-1:-1:-1;43484:18:0;43518:43:::1;::::0;43484:6;;43518:43:::1;41641:1;41659:14:::0;41655:67;;;41705:5;41690:20;;;;;;43373:196;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

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