Contract 0x7a8318d91b6f750e28ee6dc963e225644cf07920

Contract Overview

Balance:
0 HT
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6d3cb9a1ac3333ca9d643b195d0c5f0757977af24a51c4d683cbc96a4237fe9a0x6080604070036182021-08-02 10:53:0684 days 5 hrs ago0x1963dd5b88accda8f86c0d9a487c36ccdc0aba0f IN  Contract Creation0 HT0.0019736691
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FpERC1155

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at hecoinfo.com on 2021-08-02
*/

// File: @openzeppelin/contracts/introspection/IERC165.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/token/ERC1155/IERC1155.sol

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external;
}

// File: @openzeppelin/contracts/token/ERC1155/IERC1155MetadataURI.sol

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

// File: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol


/**
 * _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {

    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    )
        external
        returns(bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    )
        external
        returns(bytes4);
}

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

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

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

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


// File: @openzeppelin/contracts/introspection/ERC165.sol


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/nft/ExtendERC1155.sol

/**
 *
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ExtendERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using SafeMath for uint256;
    using Address for address;

    // Mapping from token ID to account balances
    mapping (uint256 => mapping(address => uint256)) private _balances;

    // Mapping from account to operator approvals
    mapping (address => mapping(address => bool)) private _operatorApprovals;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /*
     *     bytes4(keccak256('balanceOf(address,uint256)')) == 0x00fdd58e
     *     bytes4(keccak256('balanceOfBatch(address[],uint256[])')) == 0x4e1273f4
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,uint256,bytes)')) == 0xf242432a
     *     bytes4(keccak256('safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)')) == 0x2eb2c2d6
     *
     *     => 0x00fdd58e ^ 0x4e1273f4 ^ 0xa22cb465 ^
     *        0xe985e9c5 ^ 0xf242432a ^ 0x2eb2c2d6 == 0xd9b67a26
     */
    bytes4 private constant _INTERFACE_ID_ERC1155 = 0xd9b67a26;

    /*
     *     bytes4(keccak256('uri(uint256)')) == 0x0e89341c
     */
    bytes4 private constant _INTERFACE_ID_ERC1155_METADATA_URI = 0x0e89341c;

    /**
     * @dev See {_setURI}.
     */
    constructor (string memory uri_) public {
        _setURI(uri_);

        // register the supported interfaces to conform to ERC1155 via ERC165
        _registerInterface(_INTERFACE_ID_ERC1155);

        // register the supported interfaces to conform to ERC1155MetadataURI via ERC165
        _registerInterface(_INTERFACE_ID_ERC1155_METADATA_URI);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) external view override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    )
        public
        view
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            require(accounts[i] != address(0), "ERC1155: batch balance query for the zero address");
            batchBalances[i] = _balances[ids[i]][accounts[i]];
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        public
        virtual
        override
    {
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][from] = _balances[id][from].sub(amount, "ERC1155: insufficient balance for transfer");
        _balances[id][to] = _balances[id][to].add(amount);

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        public
        virtual
        override
    {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            _balances[id][from] = _balances[id][from].sub(
                amount,
                "ERC1155: insufficient balance for transfer"
            );
            _balances[id][to] = _balances[id][to].add(amount);
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] = _balances[id][account].add(amount);
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] = amounts[i].add(_balances[ids[i]][to]);
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(address account, uint256 id, uint256 amount) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        _balances[id][account] = _balances[id][account].sub(
            amount,
            "ERC1155: burn amount exceeds balance"
        );

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    function _transfer(
        address from,
        address to,
        uint256 id,
        uint256 amount
    )
        internal
        virtual
    {
        require(to != address(0), "ERC1155: transfer to the zero address");

        _balances[id][from] = _balances[id][from].sub(amount, "ERC1155: insufficient balance for transfer");
        _balances[id][to] = _balances[id][to].add(amount);

        emit TransferSingle(msg.sender, from, to, id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][account] = _balances[ids[i]][account].sub(
                amounts[i],
                "ERC1155: burn amount exceeds balance"
            );
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * 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[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        internal virtual
    { }

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

// File: contracts/nft/FpERC1155.sol

pragma solidity ^0.6.0;


contract FpERC1155 is ExtendERC1155 {
    address public owner;
    address public fpCoupon;

    modifier onlyOwner() {
        require(msg.sender == owner, "only owner allowed");
        _;
    }

    modifier onlyFpCoupon() {
        require(msg.sender == fpCoupon, "only FpCoupon allowed");
        _;
    }

    constructor() public ExtendERC1155("") {
        owner = msg.sender;
    }

    function setFpCoupon(address fp) public onlyOwner {
        fpCoupon = fp;
    }

    function setURI(string memory _uri) public onlyOwner {
        _setURI(_uri);
    }

    function mint(address to, uint256 tokenId, uint256 amount, bytes memory data) public onlyFpCoupon {
        _mint(to, tokenId, amount, data);
    }

    function burn(address from, uint256 tokenId, uint256 amount) public onlyFpCoupon {
        _burn(from, tokenId, amount);
    }

    function transfer(address from, address to, uint256 tokenId, uint256 amount) public onlyFpCoupon {
        _transfer(from, to, tokenId, amount);
    }

    function batchBalanceOf(address account, uint256[] memory tokenIds) public view returns(uint256[] memory) {
        uint256[] memory amounts = new uint256[](tokenIds.length);
        for (uint i = 0; i < tokenIds.length; i++) {
            amounts[i] = balanceOf(account, tokenIds[i]);
        }
        return amounts;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","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":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchBalanceOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fpCoupon","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fp","type":"address"}],"name":"setFpCoupon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040805160208101909152600081526200003c6301ffc9a760e01b6001600160e01b036200009f16565b62000050816001600160e01b036200012416565b6200006b636cdb3d1360e11b6001600160e01b036200009f16565b620000866303a24d0760e21b6001600160e01b036200009f16565b50600480546001600160a01b03191633179055620001e2565b6001600160e01b03198082161415620000ff576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b8051620001399060039060208401906200013d565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200018057805160ff1916838001178555620001b0565b82800160010185558215620001b0579182015b82811115620001b057825182559160200191906001019062000193565b50620001be929150620001c2565b5090565b620001df91905b80821115620001be5760008155600101620001c9565b90565b61210c80620001f26000396000f3fe608060405234801561001057600080fd5b50600436106100ff5760003560e01c80635bbde3a411610097578063e985e9c511610066578063e985e9c5146107f0578063f242432a1461081e578063f5298aca146108e7578063f5bd047114610919576100ff565b80635bbde3a4146106d6578063731133e9146106fa5780638da5cb5b146107ba578063a22cb465146107c2576100ff565b80630e89341c116100d35780630e89341c1461025f578063237db965146102f15780632eb2c2d6146103f25780634e1273f4146105b3576100ff565b8062fdd58e1461010457806301ffc9a71461014257806302fe53051461017d5780630411b25214610223575b600080fd5b6101306004803603604081101561011a57600080fd5b506001600160a01b03813516906020013561093f565b60408051918252519081900360200190f35b6101696004803603602081101561015857600080fd5b50356001600160e01b0319166109ae565b604080519115158252519081900360200190f35b6102216004803603602081101561019357600080fd5b810190602081018135600160201b8111156101ad57600080fd5b8201836020820111156101bf57600080fd5b803590602001918460018302840111600160201b831117156101e057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506109cd945050505050565b005b6102216004803603608081101561023957600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135610a2d565b61027c6004803603602081101561027557600080fd5b5035610a96565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102b657818101518382015260200161029e565b50505050905090810190601f1680156102e35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103a26004803603604081101561030757600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561033157600080fd5b82018360208201111561034357600080fd5b803590602001918460208302840111600160201b8311171561036457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610b2e945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156103de5781810151838201526020016103c6565b505050509050019250505060405180910390f35b610221600480360360a081101561040857600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561043b57600080fd5b82018360208201111561044d57600080fd5b803590602001918460208302840111600160201b8311171561046e57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156104bd57600080fd5b8201836020820111156104cf57600080fd5b803590602001918460208302840111600160201b831117156104f057600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561053f57600080fd5b82018360208201111561055157600080fd5b803590602001918460018302840111600160201b8311171561057257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610bc6945050505050565b6103a2600480360360408110156105c957600080fd5b810190602081018135600160201b8111156105e357600080fd5b8201836020820111156105f557600080fd5b803590602001918460208302840111600160201b8311171561061657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561066557600080fd5b82018360208201111561067757600080fd5b803590602001918460208302840111600160201b8311171561069857600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610ec4945050505050565b6106de61103a565b604080516001600160a01b039092168252519081900360200190f35b6102216004803603608081101561071057600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561074657600080fd5b82018360208201111561075857600080fd5b803590602001918460018302840111600160201b8311171561077957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611049945050505050565b6106de6110ac565b610221600480360360408110156107d857600080fd5b506001600160a01b03813516906020013515156110bb565b6101696004803603604081101561080657600080fd5b506001600160a01b03813581169160200135166111aa565b610221600480360360a081101561083457600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561087357600080fd5b82018360208201111561088557600080fd5b803590602001918460018302840111600160201b831117156108a657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506111d8945050505050565b610221600480360360608110156108fd57600080fd5b506001600160a01b038135169060208101359060400135611397565b6102216004803603602081101561092f57600080fd5b50356001600160a01b03166113fe565b60006001600160a01b0383166109865760405162461bcd60e51b815260040180806020018281038252602b815260200180611eef602b913960400191505060405180910390fd5b5060009081526001602090815260408083206001600160a01b03949094168352929052205490565b6001600160e01b03191660009081526020819052604090205460ff1690565b6004546001600160a01b03163314610a21576040805162461bcd60e51b81526020600482015260126024820152711bdb9b1e481bdddb995c88185b1b1bddd95960721b604482015290519081900360640190fd5b610a2a81611474565b50565b6005546001600160a01b03163314610a84576040805162461bcd60e51b81526020600482015260156024820152741bdb9b1e48119c10dbdd5c1bdb88185b1b1bddd959605a1b604482015290519081900360640190fd5b610a908484848461148b565b50505050565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b225780601f10610af757610100808354040283529160200191610b22565b820191906000526020600020905b815481529060010190602001808311610b0557829003601f168201915b50505050509050919050565b606080825167ffffffffffffffff81118015610b4957600080fd5b50604051908082528060200260200182016040528015610b73578160200160208202803683370190505b50905060005b8351811015610bbe57610b9f85858381518110610b9257fe5b602002602001015161093f565b828281518110610bab57fe5b6020908102919091010152600101610b79565b509392505050565b8151835114610c065760405162461bcd60e51b815260040180806020018281038252602881526020018061208e6028913960400191505060405180910390fd5b6001600160a01b038416610c4b5760405162461bcd60e51b8152600401808060200182810382526025815260200180611f986025913960400191505060405180910390fd5b610c536115ae565b6001600160a01b0316856001600160a01b03161480610c7e5750610c7e85610c796115ae565b6111aa565b610cb95760405162461bcd60e51b8152600401808060200182810382526032815260200180611fbd6032913960400191505060405180910390fd5b6000610cc36115ae565b9050610cd3818787878787610ebc565b60005b8451811015610dd4576000858281518110610ced57fe5b602002602001015190506000858381518110610d0557fe5b60200260200101519050610d72816040518060600160405280602a8152602001612012602a91396001600086815260200190815260200160002060008d6001600160a01b03166001600160a01b03168152602001908152602001600020546115b39092919063ffffffff16565b60008381526001602090815260408083206001600160a01b038e811685529252808320939093558a1681522054610da9908261164a565b60009283526001602081815260408086206001600160a01b038d168752909152909320555001610cd6565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015610e5a578181015183820152602001610e42565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015610e99578181015183820152602001610e81565b5050505090500194505050505060405180910390a4610ebc8187878787876116ab565b505050505050565b60608151835114610f065760405162461bcd60e51b81526004018080602001828103825260298152602001806120656029913960400191505060405180910390fd5b6060835167ffffffffffffffff81118015610f2057600080fd5b50604051908082528060200260200182016040528015610f4a578160200160208202803683370190505b50905060005b8451811015610bbe5760006001600160a01b0316858281518110610f7057fe5b60200260200101516001600160a01b03161415610fbe5760405162461bcd60e51b8152600401808060200182810382526031815260200180611f1a6031913960400191505060405180910390fd5b60016000858381518110610fce57fe5b602002602001015181526020019081526020016000206000868381518110610ff257fe5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000205482828151811061102757fe5b6020908102919091010152600101610f50565b6005546001600160a01b031681565b6005546001600160a01b031633146110a0576040805162461bcd60e51b81526020600482015260156024820152741bdb9b1e48119c10dbdd5c1bdb88185b1b1bddd959605a1b604482015290519081900360640190fd5b610a908484848461193c565b6004546001600160a01b031681565b816001600160a01b03166110cd6115ae565b6001600160a01b031614156111135760405162461bcd60e51b815260040180806020018281038252602981526020018061203c6029913960400191505060405180910390fd5b80600260006111206115ae565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556111646115ae565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b6001600160a01b03841661121d5760405162461bcd60e51b8152600401808060200182810382526025815260200180611f986025913960400191505060405180910390fd5b6112256115ae565b6001600160a01b0316856001600160a01b0316148061124b575061124b85610c796115ae565b6112865760405162461bcd60e51b8152600401808060200182810382526029815260200180611f6f6029913960400191505060405180910390fd5b60006112906115ae565b90506112b08187876112a188611a38565b6112aa88611a38565b87610ebc565b6112fd836040518060600160405280602a8152602001612012602a913960008781526001602090815260408083206001600160a01b038d168452909152902054919063ffffffff6115b316565b60008581526001602090815260408083206001600160a01b038b81168552925280832093909355871681522054611334908461164a565b60008581526001602090815260408083206001600160a01b03808b168086529184529382902094909455805188815291820187905280518a841693861692600080516020611ecf83398151915292908290030190a4610ebc818787878787611a7c565b6005546001600160a01b031633146113ee576040805162461bcd60e51b81526020600482015260156024820152741bdb9b1e48119c10dbdd5c1bdb88185b1b1bddd959605a1b604482015290519081900360640190fd5b6113f9838383611bff565b505050565b6004546001600160a01b03163314611452576040805162461bcd60e51b81526020600482015260126024820152711bdb9b1e481bdddb995c88185b1b1bddd95960721b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b8051611487906003906020840190611d2c565b5050565b6001600160a01b0383166114d05760405162461bcd60e51b8152600401808060200182810382526025815260200180611f986025913960400191505060405180910390fd5b61151d816040518060600160405280602a8152602001612012602a913960008581526001602090815260408083206001600160a01b038b168452909152902054919063ffffffff6115b316565b60008381526001602090815260408083206001600160a01b038981168552925280832093909355851681522054611554908261164a565b60008381526001602090815260408083206001600160a01b03808916808652918452938290209490945580518681529182018590528051928816923392600080516020611ecf83398151915292908290030190a450505050565b335b90565b600081848411156116425760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156116075781810151838201526020016115ef565b50505050905090810190601f1680156116345780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156116a4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6116bd846001600160a01b0316611d26565b15610ebc57836001600160a01b031663bc197c8187878686866040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561175d578181015183820152602001611745565b50505050905001848103835286818151815260200191508051906020019060200280838360005b8381101561179c578181015183820152602001611784565b50505050905001848103825285818151815260200191508051906020019080838360005b838110156117d85781810151838201526020016117c0565b50505050905090810190601f1680156118055780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b15801561182a57600080fd5b505af192505050801561184f57506040513d602081101561184a57600080fd5b505160015b6118e45761185b611dca565b8061186657506118ad565b60405162461bcd60e51b81526020600482018181528351602484015283518493919283926044019190850190808383600083156116075781810151838201526020016115ef565b60405162461bcd60e51b8152600401808060200182810382526034815260200180611e736034913960400191505060405180910390fd5b6001600160e01b0319811663bc197c8160e01b146119335760405162461bcd60e51b8152600401808060200182810382526028815260200180611ea76028913960400191505060405180910390fd5b50505050505050565b6001600160a01b0384166119815760405162461bcd60e51b81526004018080602001828103825260218152602001806120b66021913960400191505060405180910390fd5b600061198b6115ae565b905061199d816000876112a188611a38565b60008481526001602090815260408083206001600160a01b03891684529091529020546119d0908463ffffffff61164a16565b60008581526001602090815260408083206001600160a01b03808b1680865291845282852095909555815189815292830188905281519094861692600080516020611ecf83398151915292908290030190a4611a3181600087878787611a7c565b5050505050565b604080516001808252818301909252606091829190602080830190803683370190505090508281600081518110611a6b57fe5b602090810291909101015292915050565b611a8e846001600160a01b0316611d26565b15610ebc57836001600160a01b031663f23a6e6187878686866040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611b2f578181015183820152602001611b17565b50505050905090810190601f168015611b5c5780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b158015611b7f57600080fd5b505af1925050508015611ba457506040513d6020811015611b9f57600080fd5b505160015b611bb05761185b611dca565b6001600160e01b0319811663f23a6e6160e01b146119335760405162461bcd60e51b8152600401808060200182810382526028815260200180611ea76028913960400191505060405180910390fd5b6001600160a01b038316611c445760405162461bcd60e51b8152600401808060200182810382526023815260200180611fef6023913960400191505060405180910390fd5b6000611c4e6115ae565b9050611c7e81856000611c6087611a38565b611c6987611a38565b60405180602001604052806000815250610ebc565b611ccb82604051806060016040528060248152602001611f4b6024913960008681526001602090815260408083206001600160a01b038b168452909152902054919063ffffffff6115b316565b60008481526001602090815260408083206001600160a01b03808a1680865291845282852095909555815188815292830187905281519394909390861692600080516020611ecf83398151915292908290030190a450505050565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611d6d57805160ff1916838001178555611d9a565b82800160010185558215611d9a579182015b82811115611d9a578251825591602001919060010190611d7f565b50611da6929150611daa565b5090565b6115b091905b80821115611da65760008155600101611db0565b60e01c90565b600060443d1015611dda576115b0565b600481823e6308c379a0611dee8251611dc4565b14611df8576115b0565b6040513d600319016004823e80513d67ffffffffffffffff8160248401118184111715611e2857505050506115b0565b82840191508151925080831115611e4257505050506115b0565b503d83016020838301011115611e5a575050506115b0565b601f91909101601f191681016020016040529150509056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e73c3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62455243313135353a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a2062617463682062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a206275726e20616d6f756e7420657863656564732062616c616e6365455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a206275726e2066726f6d20746865207a65726f2061646472657373455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d61746368455243313135353a206d696e7420746f20746865207a65726f2061646472657373a2646970667358221220b4b5d7c6a8079ee992d3ae14dbefca651a1fc64416ffd71f4fc6d15eb73f4aeb64736f6c63430006080033

Deployed ByteCode Sourcemap

40934:1385:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;40934:1385:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;28748:223:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;28748:223:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;9777:150;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;9777:150:0;-1:-1:-1;;;;;;9777:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;41439:85;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;41439:85:0;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;41439:85:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;41439:85:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;41439:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;41439:85:0;;-1:-1:-1;41439:85:0;;-1:-1:-1;;;;;41439:85:0:i;:::-;;41825:152;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;;41825:152:0;;;;;;;;;;;;;;;;;;;;;;:::i;28498:99::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;28498:99:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;28498:99:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41985:331;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;41985:331:0;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;41985:331:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;41985:331:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;41985:331:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;41985:331:0;;-1:-1:-1;41985:331:0;;-1:-1:-1;;;;;41985:331:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;41985:331:0;;;;;;;;;;;;;;;;;31460:1220;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;31460:1220:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;31460:1220:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;31460:1220:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;31460:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;31460:1220:0;;;;;;;;-1:-1:-1;31460:1220:0;;-1:-1:-1;;;;;11:28;;8:2;;;52:1;49;42:12;8:2;31460:1220:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;31460:1220:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;31460:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;31460:1220:0;;;;;;;;-1:-1:-1;31460:1220:0;;-1:-1:-1;;;;;11:28;;8:2;;;52:1;49;42:12;8:2;31460:1220:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;31460:1220:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;31460:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;31460:1220:0;;-1:-1:-1;31460:1220:0;;-1:-1:-1;;;;;31460:1220:0:i;29137:634::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;29137:634:0;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;29137:634:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;29137:634:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;29137:634:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;29137:634:0;;;;;;;;-1:-1:-1;29137:634:0;;-1:-1:-1;;;;;11:28;;8:2;;;52:1;49;42:12;8:2;29137:634:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;29137:634:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;29137:634:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;29137:634:0;;-1:-1:-1;29137:634:0;;-1:-1:-1;;;;;29137:634:0:i;41004:23::-;;;:::i;:::-;;;;-1:-1:-1;;;;;41004:23:0;;;;;;;;;;;;;;41532:149;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;41532:149:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;41532:149:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;41532:149:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;41532:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;41532:149:0;;-1:-1:-1;41532:149:0;;-1:-1:-1;;;;;41532:149:0:i;40977:20::-;;;:::i;29844:311::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;29844:311:0;;;;;;;;;;:::i;30227:160::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;30227:160:0;;;;;;;;;;:::i;30459:924::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;30459:924:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;30459:924:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;30459:924:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;30459:924:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;30459:924:0;;-1:-1:-1;30459:924:0;;-1:-1:-1;;;;;30459:924:0:i;41689:128::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;41689:128:0;;;;;;;;;;;;;:::i;41349:82::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;41349:82:0;-1:-1:-1;;;;;41349:82:0;;:::i;28748:223::-;28826:7;-1:-1:-1;;;;;28854:21:0;;28846:77;;;;-1:-1:-1;;;28846:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28941:13:0;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;28941:22:0;;;;;;;;;;;;28748:223::o;9777:150::-;-1:-1:-1;;;;;;9886:33:0;9862:4;9886:33;;;;;;;;;;;;;;9777:150::o;41439:85::-;41090:5;;-1:-1:-1;;;;;41090:5:0;41076:10;:19;41068:50;;;;;-1:-1:-1;;;41068:50:0;;;;;;;;;;;;-1:-1:-1;;;41068:50:0;;;;;;;;;;;;;;;41503:13:::1;41511:4;41503:7;:13::i;:::-;41439:85:::0;:::o;41825:152::-;41203:8;;-1:-1:-1;;;;;41203:8:0;41189:10;:22;41181:56;;;;;-1:-1:-1;;;41181:56:0;;;;;;;;;;;;-1:-1:-1;;;41181:56:0;;;;;;;;;;;;;;;41933:36:::1;41943:4;41949:2;41953:7;41962:6;41933:9;:36::i;:::-;41825:152:::0;;;;:::o;28498:99::-;28585:4;28578:11;;;;;;;;-1:-1:-1;;28578:11:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28552:13;;28578:11;;28585:4;;28578:11;;28585:4;28578:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28498:99;;;:::o;41985:331::-;42073:16;42102:24;42143:8;:15;42129:30;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;42129:30:0;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;42129:30:0;-1:-1:-1;42102:57:0;-1:-1:-1;42175:6:0;42170:114;42191:8;:15;42187:1;:19;42170:114;;;42241:31;42251:7;42260:8;42269:1;42260:11;;;;;;;;;;;;;;42241:9;:31::i;:::-;42228:7;42236:1;42228:10;;;;;;;;;;;;;;;;;:44;42208:3;;42170:114;;;-1:-1:-1;42301:7:0;41985:331;-1:-1:-1;;;41985:331:0:o;31460:1220::-;31725:7;:14;31711:3;:10;:28;31703:81;;;;-1:-1:-1;;;31703:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31803:16:0;;31795:66;;;;-1:-1:-1;;;31795:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31902:12;:10;:12::i;:::-;-1:-1:-1;;;;;31894:20:0;:4;-1:-1:-1;;;;;31894:20:0;;:60;;;;31918:36;31935:4;31941:12;:10;:12::i;:::-;31918:16;:36::i;:::-;31872:160;;;;-1:-1:-1;;;31872:160:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32045:16;32064:12;:10;:12::i;:::-;32045:31;;32089:60;32110:8;32120:4;32126:2;32130:3;32135:7;32144:4;32089:20;:60::i;:::-;32167:9;32162:358;32186:3;:10;32182:1;:14;32162:358;;;32218:10;32231:3;32235:1;32231:6;;;;;;;;;;;;;;32218:19;;32252:14;32269:7;32277:1;32269:10;;;;;;;;;;;;;;32252:27;;32318:126;32360:6;32318:126;;;;;;;;;;;;;;;;;:9;:13;32328:2;32318:13;;;;;;;;;;;:19;32332:4;-1:-1:-1;;;;;32318:19:0;-1:-1:-1;;;;;32318:19:0;;;;;;;;;;;;;:23;;:126;;;;;:::i;:::-;32296:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;32296:19:0;;;;;;;;;;:148;;;;32479:17;;;;;;:29;;32501:6;32479:21;:29::i;:::-;32459:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;32459:17:0;;;;;;;;;;:49;-1:-1:-1;32198:3:0;32162:358;;;;32567:2;-1:-1:-1;;;;;32537:47:0;32561:4;-1:-1:-1;;;;;32537:47:0;32551:8;-1:-1:-1;;;;;32537:47:0;;32571:3;32576:7;32537:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;32537:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;32537:47:0;;;;;;;;;;;;;;;;;;;32597:75;32633:8;32643:4;32649:2;32653:3;32658:7;32667:4;32597:35;:75::i;:::-;31460:1220;;;;;;:::o;29137:634::-;29301:16;29362:3;:10;29343:8;:15;:29;29335:83;;;;-1:-1:-1;;;29335:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29431:30;29478:8;:15;29464:30;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;29464:30:0;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;;-1:-1;29464:30:0;-1:-1:-1;29431:63:0;-1:-1:-1;29512:9:0;29507:224;29531:8;:15;29527:1;:19;29507:224;;;29599:1;-1:-1:-1;;;;;29576:25:0;:8;29585:1;29576:11;;;;;;;;;;;;;;-1:-1:-1;;;;;29576:25:0;;;29568:87;;;;-1:-1:-1;;;29568:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29689:9;:17;29699:3;29703:1;29699:6;;;;;;;;;;;;;;29689:17;;;;;;;;;;;:30;29707:8;29716:1;29707:11;;;;;;;;;;;;;;-1:-1:-1;;;;;29689:30:0;-1:-1:-1;;;;;29689:30:0;;;;;;;;;;;;;29670:13;29684:1;29670:16;;;;;;;;;;;;;;;;;:49;29548:3;;29507:224;;41004:23;;;-1:-1:-1;;;;;41004:23:0;;:::o;41532:149::-;41203:8;;-1:-1:-1;;;;;41203:8:0;41189:10;:22;41181:56;;;;;-1:-1:-1;;;41181:56:0;;;;;;;;;;;;-1:-1:-1;;;41181:56:0;;;;;;;;;;;;;;;41641:32:::1;41647:2;41651:7;41660:6;41668:4;41641:5;:32::i;40977:20::-:0;;;-1:-1:-1;;;;;40977:20:0;;:::o;29844:311::-;29963:8;-1:-1:-1;;;;;29947:24:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;29947:24:0;;;29939:78;;;;-1:-1:-1;;;29939:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30075:8;30030:18;:32;30049:12;:10;:12::i;:::-;-1:-1:-1;;;;;30030:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;30030:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;30030:53:0;;;;;;;;;;;30114:12;:10;:12::i;:::-;30099:48;;;;;;;;;;-1:-1:-1;;;;;30099:48:0;;;;;;;;;;;;;;29844:311;;:::o;30227:160::-;-1:-1:-1;;;;;30342:27:0;;;30318:4;30342:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;30227:160::o;30459:924::-;-1:-1:-1;;;;;30685:16:0;;30677:66;;;;-1:-1:-1;;;30677:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30784:12;:10;:12::i;:::-;-1:-1:-1;;;;;30776:20:0;:4;-1:-1:-1;;;;;30776:20:0;;:60;;;;30800:36;30817:4;30823:12;:10;:12::i;30800:36::-;30754:151;;;;-1:-1:-1;;;30754:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30918:16;30937:12;:10;:12::i;:::-;30918:31;;30962:96;30983:8;30993:4;30999:2;31003:21;31021:2;31003:17;:21::i;:::-;31026:25;31044:6;31026:17;:25::i;:::-;31053:4;30962:20;:96::i;:::-;31093:77;31117:6;31093:77;;;;;;;;;;;;;;;;;:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;31093:19:0;;;;;;;;;;;:77;;:23;:77;:::i;:::-;31071:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;31071:19:0;;;;;;;;;;:99;;;;31201:17;;;;;;:29;;31223:6;31201:21;:29::i;:::-;31181:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;31181:17:0;;;;;;;;;;;;;:49;;;;31248:46;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31248:46:0;;;;;;;;31307:68;31338:8;31348:4;31354:2;31358;31362:6;31370:4;31307:30;:68::i;41689:128::-;41203:8;;-1:-1:-1;;;;;41203:8:0;41189:10;:22;41181:56;;;;;-1:-1:-1;;;41181:56:0;;;;;;;;;;;;-1:-1:-1;;;41181:56:0;;;;;;;;;;;;;;;41781:28:::1;41787:4;41793:7;41802:6;41781:5;:28::i;:::-;41689:128:::0;;;:::o;41349:82::-;41090:5;;-1:-1:-1;;;;;41090:5:0;41076:10;:19;41068:50;;;;;-1:-1:-1;;;41068:50:0;;;;;;;;;;;;-1:-1:-1;;;41068:50:0;;;;;;;;;;;;;;;41410:8:::1;:13:::0;;-1:-1:-1;;;;;;41410:13:0::1;-1:-1:-1::0;;;;;41410:13:0;;;::::1;::::0;;;::::1;::::0;;41349:82::o;33524:88::-;33591:13;;;;:4;;:13;;;;;:::i;:::-;;33524:88;:::o;36480:479::-;-1:-1:-1;;;;;36655:16:0;;36647:66;;;;-1:-1:-1;;;36647:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36748:77;36772:6;36748:77;;;;;;;;;;;;;;;;;:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;36748:19:0;;;;;;;;;;;:77;;:23;:77;:::i;:::-;36726:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;36726:19:0;;;;;;;;;;:99;;;;36856:17;;;;;;:29;;36878:6;36856:21;:29::i;:::-;36836:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;36836:17:0;;;;;;;;;;;;;:49;;;;36903:48;;;;;;;;;;;;;;;;;36918:10;;-1:-1:-1;;;;;;;;;;;36903:48:0;;;;;;;;36480:479;;;;:::o;8404:106::-;8492:10;8404:106;;:::o;16127:166::-;16213:7;16249:12;16241:6;;;;16233:29;;;;-1:-1:-1;;;16233:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;16233:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16280:5:0;;;16127:166::o;13300:179::-;13358:7;13390:5;;;13414:6;;;;13406:46;;;;;-1:-1:-1;;;13406:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13470:1;13300:179;-1:-1:-1;;;13300:179:0:o;39853:799::-;40107:15;:2;-1:-1:-1;;;;;40107:13:0;;:15::i;:::-;40103:542;;;40160:2;-1:-1:-1;;;;;40143:43:0;;40187:8;40197:4;40203:3;40208:7;40217:4;40143:79;;;;;;;;;;;;;-1:-1:-1;;;;;40143:79:0;-1:-1:-1;;;;;40143:79:0;;;;;;-1:-1:-1;;;;;40143:79:0;-1:-1:-1;;;;;40143:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;40143:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;40143:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;40143:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;40143:79:0;;;;;;;;;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;40143:79:0;;;40139:495;;;;;;;;;;;;;40500:14;;-1:-1:-1;;;40500:14:0;;;;;;;;;;;;;;;;;40507:6;;40500:14;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;40139:495:0;40556:62;;-1:-1:-1;;;40556:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40139:495;-1:-1:-1;;;;;;40272:64:0;;-1:-1:-1;;;40272:64:0;40268:163;;40361:50;;-1:-1:-1;;;40361:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40268:163;40223:223;39853:799;;;;;;:::o;34008:583::-;-1:-1:-1;;;;;34123:21:0;;34115:67;;;;-1:-1:-1;;;34115:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34195:16;34214:12;:10;:12::i;:::-;34195:31;;34239:107;34260:8;34278:1;34282:7;34291:21;34309:2;34291:17;:21::i;34239:107::-;34384:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;34384:22:0;;;;;;;;;;:34;;34411:6;34384:34;:26;:34;:::i;:::-;34359:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;34359:22:0;;;;;;;;;;;;:59;;;;34434:57;;;;;;;;;;;;;34359:22;;34434:57;;;-1:-1:-1;;;;;;;;;;;34434:57:0;;;;;;;;34504:79;34535:8;34553:1;34557:7;34566:2;34570:6;34578:4;34504:30;:79::i;:::-;34008:583;;;;;:::o;40660:198::-;40780:16;;;40794:1;40780:16;;;;;;;;;40726;;;;40780;;;;;;;109:14:-1;40780:16:0;88:42:-1;144:17;;-1:-1;40780:16:0;40755:41;;40818:7;40807:5;40813:1;40807:8;;;;;;;;;;;;;;;;;:18;40845:5;40660:198;-1:-1:-1;;40660:198:0:o;39083:762::-;39312:15;:2;-1:-1:-1;;;;;39312:13:0;;:15::i;:::-;39308:530;;;39365:2;-1:-1:-1;;;;;39348:38:0;;39387:8;39397:4;39403:2;39407:6;39415:4;39348:72;;;;;;;;;;;;;-1:-1:-1;;;;;39348:72:0;-1:-1:-1;;;;;39348:72:0;;;;;;-1:-1:-1;;;;;39348:72:0;-1:-1:-1;;;;;39348:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;39348:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;39348:72:0;;;;;;;;;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;39348:72:0;;;39344:483;;;;;;-1:-1:-1;;;;;;39470:59:0;;-1:-1:-1;;;39470:59:0;39466:158;;39554:50;;-1:-1:-1;;;39554:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35921:551;-1:-1:-1;;;;;36017:21:0;;36009:69;;;;-1:-1:-1;;;36009:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36091:16;36110:12;:10;:12::i;:::-;36091:31;;36135:105;36156:8;36166:7;36183:1;36187:21;36205:2;36187:17;:21::i;:::-;36210:25;36228:6;36210:17;:25::i;:::-;36135:105;;;;;;;;;;;;:20;:105::i;:::-;36278:111;36319:6;36278:111;;;;;;;;;;;;;;;;;:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;36278:22:0;;;;;;;;;;;:111;;:26;:111;:::i;:::-;36253:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;36253:22:0;;;;;;;;;;;;:136;;;;36407:57;;;;;;;;;;;;;36253:13;;:22;;36407:57;;;;-1:-1:-1;;;;;;;;;;;36407:57:0;;;;;;;;35921:551;;;;:::o;18702:422::-;19069:20;19108:8;;;18702:422::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;110:106;195:3;191:15;;163:53;224:739;;297:4;279:16;276:26;273:2;;;305:5;;273:2;339:1;-1:-1;;318:23;414:10;357:34;-1:-1;382:8;357:34;;;406:19;396:2;;429:5;;396:2;460;454:9;496:16;-1:-1;;492:24;339:1;454:9;468:49;543:4;537:11;624:16;576:18;624:16;617:4;609:6;605:17;602:39;576:18;568:6;565:30;556:91;553:2;;;655:5;;;;;;553:2;693:6;687:4;683:17;672:28;;725:3;719:10;705:24;;576:18;740:6;737:30;734:2;;;770:5;;;;;;734:2;;847:16;841:4;837:27;807:4;814:6;802:3;794:27;;829:36;826:2;;;868:5;;;;;826:2;89:7;73:14;;;;-1:-1;;69:28;892:50;;807:4;892:50;460:2;881:62;900:3;-1:-1;;267:696;

Swarm Source

ipfs://b4b5d7c6a8079ee992d3ae14dbefca651a1fc64416ffd71f4fc6d15eb73f4aeb
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading