Contract 0x13a732046142024627f69325a038f26af0629495

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xaf915bed6766d87c3164f991312e113c3a31bf97bfb1ac965074ab563a30ca35Safe Transfer Fr...240865412022-01-24 1:24:1317 secs ago0xbe451b2e5a34cca964d42c1489342bba6e8dd335 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00180942636931.651588666
0xbff53c3707e60c3250073fa7496e72501ddaff696c8d464a045246236cde66b3Safe Transfer Fr...240865412022-01-24 1:24:1317 secs ago0x0659382e9bf3f1eb30287ba744f8a50735a974bd IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00181199871531.696585707
0x1ba4b233b8b18c31b85bad1949f0c7a8fcb1b4147214dd10e67e29a0859892fcSafe Transfer Fr...240865412022-01-24 1:24:1317 secs ago0xba44d1036c3c4b98a546c2093474d9dfeb819b17 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00181523563631.753207912
0x1c7b49a4ed4674af197f7c7aebca787ec9b6f38c94211af7b2d699ce63a870cfSafe Transfer Fr...240865362022-01-24 1:24:0327 secs ago0x1b39a1b480e29bf6d275937d16f76c0c4627c5bd IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00181033916931.667555922
0x0dc594e0616503a684d8b2db3865a62727644a1aec1a1c4d255246e4c2842753Safe Transfer Fr...240865332022-01-24 1:23:5733 secs ago0x6970963847e189c4e2524b3acce2c981ac7cffa0 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00180726279931.613742193
0x24fb0f0e1bf16e0db63ab57fe4367da4105454f3df14117dcecf3f2bdb407d53Safe Transfer Fr...240865332022-01-24 1:23:5733 secs ago0xb5c3129a52dc469171da99062528276fd4a4da47 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00180726279931.613742193
0x040041e9fe7f85a36b0e13ff7ffc9f9ee4caf5c08f78e3bc2d75a27108ecf17aSafe Transfer Fr...240865332022-01-24 1:23:5733 secs ago0x996f764aa6460b620d065d3d622e56e74742d402 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00180726279931.613742193
0xd60cf4f4aadcc8ea5267f4d44636d1a30852694bec4d3053ce665a216435233bSafe Transfer Fr...240865292022-01-24 1:23:4941 secs ago0x9c92506e146ffa031144dd9ed8f999226fcbaa61 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00180873823431.639551392
0x3ba854bf158c06bf12a86469c53936eab06fda5adb60a98c5e57d0c2205bb575Safe Transfer Fr...240865292022-01-24 1:23:4941 secs ago0xbe451b2e5a34cca964d42c1489342bba6e8dd335 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00180902113831.644500126
0x08e76c57c644ef53e47d43c974610f29ce8bd8b6ea04bf2bedbcf5d31f1e1195Safe Transfer Fr...240865272022-01-24 1:23:4149 secs ago0x0659382e9bf3f1eb30287ba744f8a50735a974bd IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00180952609531.65333313
0x30657749b1161a34be1e96981a5ae61d5cda3f6557fdd980a110caadbb95f1baSafe Transfer Fr...240865242022-01-24 1:23:3555 secs ago0xba44d1036c3c4b98a546c2093474d9dfeb819b17 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00180908602131.645635098
0xa0f3541f9545ee253a94ed13b82c3ce476f87578886a9d39f4a29341e1f651f2Safe Transfer Fr...240865232022-01-24 1:23:3357 secs ago0x5be02f385d6d9c9f11984bb45bfd5f7f3c84603d IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00180953798531.653541127
0x0fffe4174b2e0ff0a53ef6134833d3b05a59295c7a2b54628b5a3e5e9920e9fbSafe Transfer Fr...240865222022-01-24 1:23:3159 secs ago0x1b39a1b480e29bf6d275937d16f76c0c4627c5bd IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.0018097433731.657133842
0x565cbdd35297fae66dd1c9bdbf8ee213635f781c24474c51b944f1dd9aacc906Safe Transfer Fr...240865192022-01-24 1:23:251 min ago0x6970963847e189c4e2524b3acce2c981ac7cffa0 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.0018115507631.688749817
0x2e4d20109e7d7ce733588e3b2a76456cb495e71a3db262fd67c259fc604ca3ceSafe Transfer Fr...240865182022-01-24 1:23:231 min ago0x996f764aa6460b620d065d3d622e56e74742d402 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.0018115507631.688749817
0x25a72064d8ca96bd97bb1ad8559adfc497724238edb8bdae64165874e4fd6adcSafe Transfer Fr...240865162022-01-24 1:23:191 min ago0xb5c3129a52dc469171da99062528276fd4a4da47 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00181296126731.713423258
0x9a53d237aa810f4a18980dcf16e2841cc3bc605920b94bf95245c638ccd9902eSafe Transfer Fr...240865122022-01-24 1:23:111 min ago0xbe451b2e5a34cca964d42c1489342bba6e8dd335 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00181192267131.695255509
0x3a2c0f61cb7afedbcfd41fcd1a0168d8d0dd3e1011b4283c88e0537bb71548a0Safe Transfer Fr...240865092022-01-24 1:23:051 min ago0x0659382e9bf3f1eb30287ba744f8a50735a974bd IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00181406129431.732665609
0x801ab9949328ee2c00badee4a108cdde6eeb633c5eb60e6ad6d8bf31a2f58c48Safe Transfer Fr...240865082022-01-24 1:23:031 min ago0x9c92506e146ffa031144dd9ed8f999226fcbaa61 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00085413151331.729689552
0x72695bddcddac71638d00732ccd4c1d4ba3674c258ec0449f36f7af360061b4aSafe Transfer Fr...240865082022-01-24 1:23:031 min ago0xba44d1036c3c4b98a546c2093474d9dfeb819b17 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00181480012631.745589704
0x5f4a950b3ce8097049b366111f295318b6a3592dbf12ec8fdbb0c4d1b7dd2670Safe Transfer Fr...240865072022-01-24 1:23:011 min ago0x5be02f385d6d9c9f11984bb45bfd5f7f3c84603d IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00181449963631.740333351
0x74420a7714e9b3c8ff40d066ee2313b6324a96b33e9586fab33e8906ac57f006Safe Transfer Fr...240865052022-01-24 1:22:571 min ago0x1b39a1b480e29bf6d275937d16f76c0c4627c5bd IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00181500898831.74924325
0x0380c1d434ff8bba4584c27b00dc884d5336ba61b40cd1e7e91d91143910a599Safe Transfer Fr...240865032022-01-24 1:22:531 min ago0x6970963847e189c4e2524b3acce2c981ac7cffa0 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.00181632610531.772283061
0xc7e6ee3968a2747a51987c4606cb6168173e8f51f569543cbf14c6b2441f2e1eSafe Transfer Fr...240865032022-01-24 1:22:531 min ago0x996f764aa6460b620d065d3d622e56e74742d402 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.0018165706831.783232975
0xa2344fe0bfa0ace963253fd65679bac5d7b1805721d819b3e56df8f7fda7d59eSafe Transfer Fr...240865002022-01-24 1:22:471 min ago0xb5c3129a52dc469171da99062528276fd4a4da47 IN  0x13a732046142024627f69325a038f26af06294950 MATIC0.0018161401231.769029697
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Rugnation

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-10-27
*/

// File @openzeppelin/contracts/introspection/[email protected]

// 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/[email protected]

pragma solidity >=0.6.2 <0.8.0;


/**
 * @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/[email protected]

pragma solidity >=0.6.2 <0.8.0;


/**
 * @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/[email protected]

pragma solidity >=0.6.0 <0.8.0;


/**
 * _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/[email protected]

pragma solidity >=0.6.0 <0.8.0;

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

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

// File @openzeppelin/contracts/introspection/[email protected]

pragma solidity >=0.6.0 <0.8.0;


/**
 * @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/[email protected]

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

// File @openzeppelin/contracts/utils/[email protected]

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File @openzeppelin/contracts/token/ERC1155/[email protected]

pragma solidity >=0.6.0 <0.8.0;


/**
 *
 * @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 ERC1155 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 virtual 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 virtual 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
        virtual
        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) {
            batchBalances[i] = balanceOf(accounts[i], ids[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 virtual 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 `account` 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);
    }

    /**
     * @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 @openzeppelin/contracts/access/[email protected]

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/Initializable.sol
 */

//pragma solidity 0.6.6;
pragma solidity >=0.6.6 <0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}


/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/EIP712Base.sol
 */

//pragma solidity 0.6.6;
pragma solidity >=0.6.6 <0.8.0;

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contractsa that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public pure returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}



// File contracts/Rugnation.sol

pragma solidity >=0.6.0 <0.8.0;


//contract Rugnation is ERC1155, Ownable {
contract Rugnation is ERC1155, Ownable {

    
    string public name;
    string public symbol;
    string private _contractURI;
    uint256 private highestId;
    
    //mappings
    mapping(uint256 => string) private metadata;
    mapping(uint256 => uint256) private idSupply;
    
    constructor() public ERC1155("") {
        name = "Rugnation";
        symbol = "RUGNATION";
        highestId = 0;
        transferOwnership(msg.sender);
        _contractURI = "https://ipfs.io/ipfs/Qmb2ge7stDZf3cKTaEHgaiDq3EEfJG17jEMQhv7Cu8Voqx";
    }
    
    mapping (address => mapping(uint256 => bool)) approvedMinter;
    
    function setApprovedMinter(address a, uint256 id, bool approved) public onlyOwner {
        approvedMinter[a][id] = approved;
    }
    function isApprovedMinter(address a, uint256 id) public view returns (bool){
        return approvedMinter[a][id];
    }

    function mint(address account, uint256 id, uint256 amount, string memory _metadata) public onlyOwner {
        require(owner() == _msgSender() || approvedMinter[_msgSender()][id], "Not approved to mint");
        _customMint(account, id, amount);
        bytes memory bytesData = bytes(_metadata);
        if (bytesData.length != 0) metadata[id] = _metadata;
    }
    
    function _customMint(address account, uint256 id, uint256 amount) private {
        //require(owner() == _msgSender() || isApprovedForAll(account, _msgSender()), "Need operator approval for 3rd party burns.");
        require(owner() == _msgSender() || approvedMinter[_msgSender()][id], "Not approved to mint");
        _mint(account, id, amount, "");
        if (id > highestId) { highestId = id;}
        idSupply[id]+=amount;
    }
    
    function burn(address account, uint256 id, uint256 amount) public {
        require(account == _msgSender() || isApprovedForAll(account, _msgSender()), "Need operator approval for 3rd party burns.");
        _burn(account, id, amount);
        idSupply[id]-=amount;
    }
    
    function setTokenUri(uint256 id, string memory _metadata) public onlyOwner {
        require(id >= 0, "Id needs be 0 or greater");
        metadata[id] = _metadata;
    }
    
    function totalSupply(uint256 id) public view returns(uint256 total_supply) {
        return idSupply[id];
    }
    
    function totalBalance(address _owner) public view returns(uint256) {
        uint256 count = 0;
        for (uint256 id = 0; id <= highestId; id++) {
            if (balanceOf(_owner, id) > 0) count++;
        }
        return count; 
    }
    
    function tokenTypesOf(address _owner) public view returns(uint256[] memory ids) {
        uint256[] memory result = new uint256[](totalBalance(_owner));
        uint256 c = 0;
        for (uint256 id = 0; id <= highestId; id++) {
            if (balanceOf(_owner, id) > 0) {result[c] = id;c++;}
        }
        return result;
    }
    
    function totalTokenTypes() public view returns(uint256) {
        uint256 count = 0;
        for (uint256 id = 0; id <= highestId; id++) {
            if (totalSupply(id) > 0) count++;
        }
        return count; 
    }
    
    function uri(uint256 id) public view override returns(string memory) {
        return metadata[id];
      }

    function contractURI() public view returns (string memory) {
        return _contractURI;
    }

    function changeContractURI(string memory newContractURI) onlyOwner external {
       _contractURI = newContractURI;
    }

    /**
     * Override isApprovedForAll to whitelist proxy accounts
     */
    function isApprovedForAll(
        address _owner,
        address _operator
    ) public override view returns (bool isOperator) {
        // Use 0x58807baD0B376efc12F5AD86aAc70E78ed67deaE as the whitelisted address for ERC721's.
        if (_operator == address(0x207Fa8Df3a17D96Ca7EA4f2893fcdCb78a304101)) {
            return true;
        }
        
        return ERC1155.isApprovedForAll(_owner, _operator);
    }

}

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":"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":"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":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"changeContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"isApprovedMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"_metadata","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"a","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovedMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"_metadata","type":"string"}],"name":"setTokenUri","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokenTypesOf","outputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"totalBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"total_supply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokenTypes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604080516020810190915260008152620000336301ffc9a760e01b62000159565b6200003e81620001de565b62000050636cdb3d1360e11b62000159565b620000626303a24d0760e21b62000159565b5060006200006f620001f7565b600480546001600160a01b0319166001600160a01b0383169081179091556040519192509060009060008051602062002ade833981519152908290a35060408051808201909152600980825268293ab3b730ba34b7b760b91b6020909201918252620000de9160059162000315565b5060408051808201909152600980825268292aa3a720aa24a7a760b91b6020909201918252620001119160069162000315565b5060006008556200012233620001fb565b60405180608001604052806043815260200162002a9b604391398051620001529160079160209091019062000315565b50620003b1565b6001600160e01b03198082161415620001b9576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b8051620001f390600390602084019062000315565b5050565b3390565b62000205620001f7565b6001600160a01b03166200021862000306565b6001600160a01b03161462000274576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116620002bb5760405162461bcd60e51b815260040180806020018281038252602681526020018062002a756026913960400191505060405180910390fd5b6004546040516001600160a01b0380841692169060008051602062002ade83398151915290600090a3600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200035857805160ff191683800117855562000388565b8280016001018555821562000388579182015b82811115620003885782518255916020019190600101906200036b565b50620003969291506200039a565b5090565b5b808211156200039657600081556001016200039b565b6126b480620003c16000396000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c80638da5cb5b116100c3578063bd85b0391161007c578063bd85b039146108ca578063e8a3d485146108e7578063e985e9c5146108ef578063f242432a1461091d578063f2fde38b146109e6578063f5298aca14610a0c57610157565b80638da5cb5b1461077c5780638dfde339146107a0578063957aee7b146107a857806395d89b41146107d4578063a22cb465146107dc578063bb7fde711461080a57610157565b80634e1273f4116101155780634e1273f4146104665780635699b904146105d957806357f7789e1461067d5780636a05025f146107285780636eacd3981461074e578063715018a61461077457610157565b8062fdd58e1461015c57806301ffc9a71461019a57806306fdde03146101d55780630e89341c1461025257806320e4506f1461026f5780632eb2c2d6146102a5575b600080fd5b6101886004803603604081101561017257600080fd5b506001600160a01b038135169060200135610a3e565b60408051918252519081900360200190f35b6101c1600480360360208110156101b057600080fd5b50356001600160e01b031916610ab0565b604080519115158252519081900360200190f35b6101dd610acf565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102175781810151838201526020016101ff565b50505050905090810190601f1680156102445780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101dd6004803603602081101561026857600080fd5b5035610b5d565b6102a36004803603606081101561028557600080fd5b506001600160a01b0381351690602081013590604001351515610bfe565b005b6102a3600480360360a08110156102bb57600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b8111156102ee57600080fd5b82018360208201111561030057600080fd5b803590602001918460208302840111600160201b8311171561032157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561037057600080fd5b82018360208201111561038257600080fd5b803590602001918460208302840111600160201b831117156103a357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156103f257600080fd5b82018360208201111561040457600080fd5b803590602001918460018302840111600160201b8311171561042557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610c95945050505050565b6105896004803603604081101561047c57600080fd5b810190602081018135600160201b81111561049657600080fd5b8201836020820111156104a857600080fd5b803590602001918460208302840111600160201b831117156104c957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561051857600080fd5b82018360208201111561052a57600080fd5b803590602001918460208302840111600160201b8311171561054b57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610f93945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156105c55781810151838201526020016105ad565b505050509050019250505060405180910390f35b6102a3600480360360208110156105ef57600080fd5b810190602081018135600160201b81111561060957600080fd5b82018360208201111561061b57600080fd5b803590602001918460018302840111600160201b8311171561063c57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061107f945050505050565b6102a36004803603604081101561069357600080fd5b81359190810190604081016020820135600160201b8111156106b457600080fd5b8201836020820111156106c657600080fd5b803590602001918460018302840111600160201b831117156106e757600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506110f8945050505050565b6105896004803603602081101561073e57600080fd5b50356001600160a01b031661117e565b6101886004803603602081101561076457600080fd5b50356001600160a01b031661121c565b6102a3611252565b6107846112fe565b604080516001600160a01b039092168252519081900360200190f35b61018861130e565b6101c1600480360360408110156107be57600080fd5b506001600160a01b038135169060200135611342565b6101dd61136d565b6102a3600480360360408110156107f257600080fd5b506001600160a01b03813516906020013515156113c8565b6102a36004803603608081101561082057600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b81111561085657600080fd5b82018360208201111561086857600080fd5b803590602001918460018302840111600160201b8311171561088957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506114b7945050505050565b610188600480360360208110156108e057600080fd5b50356115fb565b6101dd61160d565b6101c16004803603604081101561090557600080fd5b506001600160a01b03813581169160200135166116a3565b6102a3600480360360a081101561093357600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561097257600080fd5b82018360208201111561098457600080fd5b803590602001918460018302840111600160201b831117156109a557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506116e3945050505050565b6102a3600480360360208110156109fc57600080fd5b50356001600160a01b03166118ae565b6102a360048036036060811015610a2257600080fd5b506001600160a01b0381351690602081013590604001356119b1565b60006001600160a01b038316610a855760405162461bcd60e51b815260040180806020018281038252602b815260200180612457602b913960400191505060405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6001600160e01b03191660009081526020819052604090205460ff1690565b6005805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610b555780601f10610b2a57610100808354040283529160200191610b55565b820191906000526020600020905b815481529060010190602001808311610b3857829003601f168201915b505050505081565b60008181526009602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015610bf25780601f10610bc757610100808354040283529160200191610bf2565b820191906000526020600020905b815481529060010190602001808311610bd557829003601f168201915b50505050509050919050565b610c06611a3f565b6001600160a01b0316610c176112fe565b6001600160a01b031614610c60576040805162461bcd60e51b815260206004820181905260248201526000805160206125c4833981519152604482015290519081900360640190fd5b6001600160a01b03929092166000908152600b6020908152604080832093835292905220805460ff1916911515919091179055565b8151835114610cd55760405162461bcd60e51b81526004018080602001828103825260288152602001806126366028913960400191505060405180910390fd5b6001600160a01b038416610d1a5760405162461bcd60e51b81526004018080602001828103825260258152602001806124f56025913960400191505060405180910390fd5b610d22611a3f565b6001600160a01b0316856001600160a01b03161480610d4d5750610d4d85610d48611a3f565b6116a3565b610d885760405162461bcd60e51b815260040180806020018281038252603281526020018061251a6032913960400191505060405180910390fd5b6000610d92611a3f565b9050610da2818787878787610f8b565b60005b8451811015610ea3576000858281518110610dbc57fe5b602002602001015190506000858381518110610dd457fe5b60200260200101519050610e41816040518060600160405280602a815260200161259a602a91396001600086815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611a439092919063ffffffff16565b60008381526001602090815260408083206001600160a01b038e811685529252808320939093558a1681522054610e789082611ada565b60009283526001602081815260408086206001600160a01b038d168752909152909320555001610da5565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015610f29578181015183820152602001610f11565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015610f68578181015183820152602001610f50565b5050505090500194505050505060405180910390a4610f8b818787878787611b34565b505050505050565b60608151835114610fd55760405162461bcd60e51b815260040180806020018281038252602981526020018061260d6029913960400191505060405180910390fd5b6060835167ffffffffffffffff81118015610fef57600080fd5b50604051908082528060200260200182016040528015611019578160200160208202803683370190505b50905060005b84518110156110775761105885828151811061103757fe5b602002602001015185838151811061104b57fe5b6020026020010151610a3e565b82828151811061106457fe5b602090810291909101015260010161101f565b509392505050565b611087611a3f565b6001600160a01b03166110986112fe565b6001600160a01b0316146110e1576040805162461bcd60e51b815260206004820181905260248201526000805160206125c4833981519152604482015290519081900360640190fd5b80516110f49060079060208401906122bc565b5050565b611100611a3f565b6001600160a01b03166111116112fe565b6001600160a01b03161461115a576040805162461bcd60e51b815260206004820181905260248201526000805160206125c4833981519152604482015290519081900360640190fd5b60008281526009602090815260409091208251611179928401906122bc565b505050565b60608061118a8361121c565b67ffffffffffffffff811180156111a057600080fd5b506040519080825280602002602001820160405280156111ca578160200160208202803683370190505b5090506000805b60085481116112135760006111e68683610a3e565b111561120b57808383815181106111f957fe5b60209081029190910101526001909101905b6001016111d1565b50909392505050565b600080805b600854811161124b5760006112368583610a3e565b1115611243576001909101905b600101611221565b5092915050565b61125a611a3f565b6001600160a01b031661126b6112fe565b6001600160a01b0316146112b4576040805162461bcd60e51b815260206004820181905260248201526000805160206125c4833981519152604482015290519081900360640190fd5b6004546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600480546001600160a01b0319169055565b6004546001600160a01b03165b90565b600080805b600854811161133c576000611327826115fb565b1115611334576001909101905b600101611313565b50905090565b6001600160a01b03919091166000908152600b60209081526040808320938352929052205460ff1690565b6006805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610b555780601f10610b2a57610100808354040283529160200191610b55565b816001600160a01b03166113da611a3f565b6001600160a01b031614156114205760405162461bcd60e51b81526004018080602001828103825260298152602001806125e46029913960400191505060405180910390fd5b806002600061142d611a3f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611471611a3f565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6114bf611a3f565b6001600160a01b03166114d06112fe565b6001600160a01b031614611519576040805162461bcd60e51b815260206004820181905260248201526000805160206125c4833981519152604482015290519081900360640190fd5b611521611a3f565b6001600160a01b03166115326112fe565b6001600160a01b031614806115795750600b600061154e611a3f565b6001600160a01b031681526020808201929092526040908101600090812086825290925290205460ff165b6115c1576040805162461bcd60e51b8152602060048201526014602482015273139bdd08185c1c1c9bdd9959081d1bc81b5a5b9d60621b604482015290519081900360640190fd5b6115cc848484611db3565b80518190156115f45760008481526009602090815260409091208351610f8b928501906122bc565b5050505050565b6000908152600a602052604090205490565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156116995780601f1061166e57610100808354040283529160200191611699565b820191906000526020600020905b81548152906001019060200180831161167c57829003601f168201915b5050505050905090565b60006001600160a01b03821673207fa8df3a17d96ca7ea4f2893fcdcb78a30410114156116d257506001610aaa565b6116dc8383611e9f565b9392505050565b6001600160a01b0384166117285760405162461bcd60e51b81526004018080602001828103825260258152602001806124f56025913960400191505060405180910390fd5b611730611a3f565b6001600160a01b0316856001600160a01b03161480611756575061175685610d48611a3f565b6117915760405162461bcd60e51b81526004018080602001828103825260298152602001806124cc6029913960400191505060405180910390fd5b600061179b611a3f565b90506117bb8187876117ac88611ecd565b6117b588611ecd565b87610f8b565b611802836040518060600160405280602a815260200161259a602a913960008781526001602090815260408083206001600160a01b038d1684529091529020549190611a43565b60008581526001602090815260408083206001600160a01b038b811685529252808320939093558716815220546118399084611ada565b60008581526001602090815260408083206001600160a01b03808b168086529184529382902094909455805188815291820187905280518a8416938616927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a4610f8b818787878787611f11565b6118b6611a3f565b6001600160a01b03166118c76112fe565b6001600160a01b031614611910576040805162461bcd60e51b815260206004820181905260248201526000805160206125c4833981519152604482015290519081900360640190fd5b6001600160a01b0381166119555760405162461bcd60e51b81526004018080602001828103825260268152602001806124826026913960400191505060405180910390fd5b6004546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480546001600160a01b0319166001600160a01b0392909216919091179055565b6119b9611a3f565b6001600160a01b0316836001600160a01b031614806119df57506119df83610d48611a3f565b611a1a5760405162461bcd60e51b815260040180806020018281038252602b81526020018061254c602b913960400191505060405180910390fd5b611a25838383612082565b6000918252600a6020526040909120805491909103905550565b3390565b60008184841115611ad25760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a97578181015183820152602001611a7f565b50505050905090810190601f168015611ac45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156116dc576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b611b46846001600160a01b03166121b5565b15610f8b57836001600160a01b031663bc197c8187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b83811015611bd4578181015183820152602001611bbc565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015611c13578181015183820152602001611bfb565b50505050905001848103825285818151815260200191508051906020019080838360005b83811015611c4f578181015183820152602001611c37565b50505050905090810190601f168015611c7c5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015611ca157600080fd5b505af1925050508015611cc657506040513d6020811015611cc157600080fd5b505160015b611d5b57611cd2612355565b80611cdd5750611d24565b60405162461bcd60e51b8152602060048201818152835160248401528351849391928392604401919085019080838360008315611a97578181015183820152602001611a7f565b60405162461bcd60e51b81526004018080602001828103825260348152602001806123fb6034913960400191505060405180910390fd5b6001600160e01b0319811663bc197c8160e01b14611daa5760405162461bcd60e51b815260040180806020018281038252602881526020018061242f6028913960400191505060405180910390fd5b50505050505050565b611dbb611a3f565b6001600160a01b0316611dcc6112fe565b6001600160a01b03161480611e135750600b6000611de8611a3f565b6001600160a01b031681526020808201929092526040908101600090812085825290925290205460ff165b611e5b576040805162461bcd60e51b8152602060048201526014602482015273139bdd08185c1c1c9bdd9959081d1bc81b5a5b9d60621b604482015290519081900360640190fd5b611e76838383604051806020016040528060008152506121bb565b600854821115611e865760088290555b6000918252600a60205260409091208054909101905550565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b604080516001808252818301909252606091829190602080830190803683370190505090508281600081518110611f0057fe5b602090810291909101015292915050565b611f23846001600160a01b03166121b5565b15610f8b57836001600160a01b031663f23a6e6187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611fb2578181015183820152602001611f9a565b50505050905090810190601f168015611fdf5780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15801561200257600080fd5b505af192505050801561202757506040513d602081101561202257600080fd5b505160015b61203357611cd2612355565b6001600160e01b0319811663f23a6e6160e01b14611daa5760405162461bcd60e51b815260040180806020018281038252602881526020018061242f6028913960400191505060405180910390fd5b6001600160a01b0383166120c75760405162461bcd60e51b81526004018080602001828103825260238152602001806125776023913960400191505060405180910390fd5b60006120d1611a3f565b9050612101818560006120e387611ecd565b6120ec87611ecd565b60405180602001604052806000815250610f8b565b612148826040518060600160405280602481526020016124a86024913960008681526001602090815260408083206001600160a01b038b1684529091529020549190611a43565b60008481526001602090815260408083206001600160a01b03808a16808652918452828520959095558151888152928301879052815193949093908616927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a450505050565b3b151590565b6001600160a01b0384166122005760405162461bcd60e51b815260040180806020018281038252602181526020018061265e6021913960400191505060405180910390fd5b600061220a611a3f565b905061221c816000876117ac88611ecd565b60008481526001602090815260408083206001600160a01b03891684529091529020546122499084611ada565b60008581526001602090815260408083206001600160a01b03808b16808652918452828520959095558151898152928301889052815190948616927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a46115f481600087878787611f11565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106122fd57805160ff191683800117855561232a565b8280016001018555821561232a579182015b8281111561232a57825182559160200191906001019061230f565b5061233692915061233a565b5090565b5b80821115612336576000815560010161233b565b60e01c90565b600060443d10156123655761130b565b600481823e6308c379a0612379825161234f565b146123835761130b565b6040513d600319016004823e80513d67ffffffffffffffff81602484011181841117156123b3575050505061130b565b828401925082519150808211156123cd575050505061130b565b503d830160208284010111156123e55750505061130b565b601f01601f191681016020016040529150509056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e73455243313135353a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373455243313135353a206275726e20616d6f756e7420657863656564732062616c616e6365455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665644e656564206f70657261746f7220617070726f76616c20666f7220337264207061727479206275726e732e455243313135353a206275726e2066726f6d20746865207a65726f2061646472657373455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e736665724f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d61746368455243313135353a206d696e7420746f20746865207a65726f2061646472657373a26469706673582212207568f71da302177195f3f00247c0cb88f64b2c96208631c54ed42a1e95ed027e64736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737368747470733a2f2f697066732e696f2f697066732f516d62326765377374445a6633634b546145486761694471334545664a4731376a454d51687637437538566f71788be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0

Deployed ByteCode Sourcemap

45677:4064:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29054:231;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;29054:231:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;9938:150;;;;;;;;;;;;;;;;-1:-1:-1;9938:150:0;-1:-1:-1;;;;;;9938:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;45731:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48873:109;;;;;;;;;;;;;;;;-1:-1:-1;48873:109:0;;:::i;46323:133::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46323:133:0;;;;;;;;;;;;;;;:::i;:::-;;31697:1220;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31697:1220:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31697:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31697:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31697:1220:0;;;;;;;;-1:-1:-1;31697:1220:0;;-1:-1:-1;;;;;31697:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31697:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31697:1220:0;;;;;;;;-1:-1:-1;31697:1220:0;;-1:-1:-1;;;;;31697:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31697:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31697:1220:0;;-1:-1:-1;31697:1220:0;;-1:-1:-1;;;;;31697:1220:0:i;29451:549::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;29451:549:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;29451:549:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29451:549:0;;;;;;;;-1:-1:-1;29451:549:0;;-1:-1:-1;;;;;29451:549:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;29451:549:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29451:549:0;;-1:-1:-1;29451:549:0;;-1:-1:-1;;;;;29451:549:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49095:123;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49095:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;49095:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49095:123:0;;-1:-1:-1;49095:123:0;;-1:-1:-1;;;;;49095:123:0:i;47712:173::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47712:173:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47712:173:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47712:173:0;;-1:-1:-1;47712:173:0;;-1:-1:-1;;;;;47712:173:0:i;48280:340::-;;;;;;;;;;;;;;;;-1:-1:-1;48280:340:0;-1:-1:-1;;;;;48280:340:0;;:::i;48022:246::-;;;;;;;;;;;;;;;;-1:-1:-1;48022:246:0;-1:-1:-1;;;;;48022:246:0;;:::i;42393:148::-;;;:::i;41742:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;41742:87:0;;;;;;;;;;;;;;48632:229;;;:::i;46462:122::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46462:122:0;;;;;;;;:::i;45756:20::-;;;:::i;30073:311::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30073:311:0;;;;;;;;;;:::i;46592:369::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46592:369:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;46592:369:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;46592:369:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46592:369:0;;-1:-1:-1;46592:369:0;;-1:-1:-1;;;;;46592:369:0:i;47897:113::-;;;;;;;;;;;;;;;;-1:-1:-1;47897:113:0;;:::i;48990:97::-;;;:::i;49306:430::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;49306:430:0;;;;;;;;;;:::i;30696:924::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30696:924:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;30696:924:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;30696:924:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30696:924:0;;-1:-1:-1;30696:924:0;;-1:-1:-1;;;;;30696:924:0:i;42696:244::-;;;;;;;;;;;;;;;;-1:-1:-1;42696:244:0;-1:-1:-1;;;;;42696:244:0;;:::i;47425:275::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47425:275:0;;;;;;;;;;;;;:::i;29054:231::-;29140:7;-1:-1:-1;;;;;29168:21:0;;29160:77;;;;-1:-1:-1;;;29160:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29255:13:0;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;29255:22:0;;;;;;;;;;29054:231;;;;;:::o;9938:150::-;-1:-1:-1;;;;;;10047:33:0;10023:4;10047:33;;;;;;;;;;;;;;9938:150::o;45731:18::-;;;;;;;;;;;;;;;-1:-1:-1;;45731:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;48873:109::-;48960:12;;;;:8;:12;;;;;;;;;48953:19;;;;;;-1:-1:-1;;48953:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48927:13;;48953:19;;;48960:12;48953:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48873:109;;;:::o;46323:133::-;41973:12;:10;:12::i;:::-;-1:-1:-1;;;;;41962:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;41962:23:0;;41954:68;;;;;-1:-1:-1;;;41954:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41954:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;46416:17:0;;;::::1;;::::0;;;:14:::1;:17;::::0;;;;;;;:21;;;;;;;:32;;-1:-1:-1;;46416:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;46323:133::o;31697:1220::-;31962:7;:14;31948:3;:10;:28;31940:81;;;;-1:-1:-1;;;31940:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;32040:16:0;;32032:66;;;;-1:-1:-1;;;32032:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32139:12;:10;:12::i;:::-;-1:-1:-1;;;;;32131:20:0;:4;-1:-1:-1;;;;;32131:20:0;;:60;;;;32155:36;32172:4;32178:12;:10;:12::i;:::-;32155:16;:36::i;:::-;32109:160;;;;-1:-1:-1;;;32109:160:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32282:16;32301:12;:10;:12::i;:::-;32282:31;;32326:60;32347:8;32357:4;32363:2;32367:3;32372:7;32381:4;32326:20;:60::i;:::-;32404:9;32399:358;32423:3;:10;32419:1;:14;32399:358;;;32455:10;32468:3;32472:1;32468:6;;;;;;;;;;;;;;32455:19;;32489:14;32506:7;32514:1;32506:10;;;;;;;;;;;;;;32489:27;;32555:126;32597:6;32555:126;;;;;;;;;;;;;;;;;:9;:13;32565:2;32555:13;;;;;;;;;;;:19;32569:4;-1:-1:-1;;;;;32555:19:0;-1:-1:-1;;;;;32555:19:0;;;;;;;;;;;;;:23;;:126;;;;;:::i;:::-;32533:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;32533:19:0;;;;;;;;;;:148;;;;32716:17;;;;;;:29;;32738:6;32716:21;:29::i;:::-;32696:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;32696:17:0;;;;;;;;;;:49;-1:-1:-1;32435:3:0;32399:358;;;;32804:2;-1:-1:-1;;;;;32774:47:0;32798:4;-1:-1:-1;;;;;32774:47:0;32788:8;-1:-1:-1;;;;;32774:47:0;;32808:3;32813:7;32774:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32834:75;32870:8;32880:4;32886:2;32890:3;32895:7;32904:4;32834:35;:75::i;:::-;31697:1220;;;;;;:::o;29451:549::-;29632:16;29693:3;:10;29674:8;:15;:29;29666:83;;;;-1:-1:-1;;;29666:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29762:30;29809:8;:15;29795:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29795:30:0;;29762:63;;29843:9;29838:122;29862:8;:15;29858:1;:19;29838:122;;;29918:30;29928:8;29937:1;29928:11;;;;;;;;;;;;;;29941:3;29945:1;29941:6;;;;;;;;;;;;;;29918:9;:30::i;:::-;29899:13;29913:1;29899:16;;;;;;;;;;;;;;;;;:49;29879:3;;29838:122;;;-1:-1:-1;29979:13:0;29451:549;-1:-1:-1;;;29451:549:0:o;49095:123::-;41973:12;:10;:12::i;:::-;-1:-1:-1;;;;;41962:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;41962:23:0;;41954:68;;;;;-1:-1:-1;;;41954:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41954:68:0;;;;;;;;;;;;;;;49181:29;;::::1;::::0;:12:::1;::::0;:29:::1;::::0;::::1;::::0;::::1;:::i;:::-;;49095:123:::0;:::o;47712:173::-;41973:12;:10;:12::i;:::-;-1:-1:-1;;;;;41962:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;41962:23:0;;41954:68;;;;;-1:-1:-1;;;41954:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41954:68:0;;;;;;;;;;;;;;;47853:12:::1;::::0;;;:8:::1;:12;::::0;;;;;;;:24;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;47712:173:::0;;:::o;48280:340::-;48338:20;48371:23;48411:20;48424:6;48411:12;:20::i;:::-;48397:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48397:35:0;;48371:61;;48443:9;48472:10;48467:122;48494:9;;48488:2;:15;48467:122;;48554:1;48530:21;48540:6;48548:2;48530:9;:21::i;:::-;:25;48526:52;;;48570:2;48558:6;48565:1;48558:9;;;;;;;;;;;;;;;;;:14;48573:3;;;;;48526:52;48505:4;;48467:122;;;-1:-1:-1;48606:6:0;;48280:340;-1:-1:-1;;;48280:340:0:o;48022:246::-;48080:7;;;48128:109;48155:9;;48149:2;:15;48128:109;;48215:1;48191:21;48201:6;48209:2;48191:9;:21::i;:::-;:25;48187:38;;;48218:7;;;;;48187:38;48166:4;;48128:109;;;-1:-1:-1;48254:5:0;48022:246;-1:-1:-1;;48022:246:0:o;42393:148::-;41973:12;:10;:12::i;:::-;-1:-1:-1;;;;;41962:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;41962:23:0;;41954:68;;;;;-1:-1:-1;;;41954:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41954:68:0;;;;;;;;;;;;;;;42484:6:::1;::::0;42463:40:::1;::::0;42500:1:::1;::::0;-1:-1:-1;;;;;42484:6:0::1;::::0;42463:40:::1;::::0;42500:1;;42463:40:::1;42514:6;:19:::0;;-1:-1:-1;;;;;;42514:19:0::1;::::0;;42393:148::o;41742:87::-;41815:6;;-1:-1:-1;;;;;41815:6:0;41742:87;;:::o;48632:229::-;48679:7;;;48727:103;48754:9;;48748:2;:15;48727:103;;48808:1;48790:15;48802:2;48790:11;:15::i;:::-;:19;48786:32;;;48811:7;;;;;48786:32;48765:4;;48727:103;;;-1:-1:-1;48847:5:0;-1:-1:-1;48632:229:0;:::o;46462:122::-;-1:-1:-1;;;;;46555:17:0;;;;46532:4;46555:17;;;:14;:17;;;;;;;;:21;;;;;;;;;;;46462:122::o;45756:20::-;;;;;;;;;;;;;;;-1:-1:-1;;45756:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30073:311;30192:8;-1:-1:-1;;;;;30176:24:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;30176:24:0;;;30168:78;;;;-1:-1:-1;;;30168:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30304:8;30259:18;:32;30278:12;:10;:12::i;:::-;-1:-1:-1;;;;;30259:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;30259:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;30259:53:0;;;;;;;;;;;30343:12;:10;:12::i;:::-;-1:-1:-1;;;;;30328:48:0;;30367:8;30328:48;;;;;;;;;;;;;;;;;;;;30073:311;;:::o;46592:369::-;41973:12;:10;:12::i;:::-;-1:-1:-1;;;;;41962:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;41962:23:0;;41954:68;;;;;-1:-1:-1;;;41954:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41954:68:0;;;;;;;;;;;;;;;46723:12:::1;:10;:12::i;:::-;-1:-1:-1::0;;;;;46712:23:0::1;:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;46712:23:0::1;;:59;;;;46739:14;:28;46754:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;46739:28:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;46739:28:0;;;:32;;;;;;;;;::::1;;46712:59;46704:92;;;::::0;;-1:-1:-1;;;46704:92:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46704:92:0;;;;;;;;;;;;;::::1;;46807:32;46819:7;46828:2;46832:6;46807:11;:32::i;:::-;46906:16:::0;;46881:9;;46906:21;46902:51:::1;;46929:12;::::0;;;:8:::1;:12;::::0;;;;;;;:24;;::::1;::::0;;::::1;::::0;::::1;:::i;46902:51::-;42033:1;46592:369:::0;;;;:::o;47897:113::-;47950:20;47990:12;;;:8;:12;;;;;;;47897:113::o;48990:97::-;49067:12;49060:19;;;;;;;;-1:-1:-1;;49060:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49034:13;;49060:19;;49067:12;;49060:19;;49067:12;49060:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48990:97;:::o;49306:430::-;49422:15;-1:-1:-1;;;;;49554:64:0;;49575:42;49554:64;49550:108;;;-1:-1:-1;49642:4:0;49635:11;;49550:108;49685:43;49710:6;49718:9;49685:24;:43::i;:::-;49678:50;49306:430;-1:-1:-1;;;49306:430:0:o;30696:924::-;-1:-1:-1;;;;;30922:16:0;;30914:66;;;;-1:-1:-1;;;30914:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31021:12;:10;:12::i;:::-;-1:-1:-1;;;;;31013:20:0;:4;-1:-1:-1;;;;;31013:20:0;;:60;;;;31037:36;31054:4;31060:12;:10;:12::i;31037:36::-;30991:151;;;;-1:-1:-1;;;30991:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31155:16;31174:12;:10;:12::i;:::-;31155:31;;31199:96;31220:8;31230:4;31236:2;31240:21;31258:2;31240:17;:21::i;:::-;31263:25;31281:6;31263:17;:25::i;:::-;31290:4;31199:20;:96::i;:::-;31330:77;31354:6;31330:77;;;;;;;;;;;;;;;;;:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;31330:19:0;;;;;;;;;;;:77;:23;:77::i;:::-;31308:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;31308:19:0;;;;;;;;;;:99;;;;31438:17;;;;;;:29;;31460:6;31438:21;:29::i;:::-;31418:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;31418:17:0;;;;;;;;;;;;;:49;;;;31485:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31544:68;31575:8;31585:4;31591:2;31595;31599:6;31607:4;31544:30;:68::i;42696:244::-;41973:12;:10;:12::i;:::-;-1:-1:-1;;;;;41962:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;41962:23:0;;41954:68;;;;;-1:-1:-1;;;41954:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;41954:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;42785:22:0;::::1;42777:73;;;;-1:-1:-1::0;;;42777:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42887:6;::::0;42866:38:::1;::::0;-1:-1:-1;;;;;42866:38:0;;::::1;::::0;42887:6:::1;::::0;42866:38:::1;::::0;42887:6:::1;::::0;42866:38:::1;42915:6;:17:::0;;-1:-1:-1;;;;;;42915:17:0::1;-1:-1:-1::0;;;;;42915:17:0;;;::::1;::::0;;;::::1;::::0;;42696:244::o;47425:275::-;47521:12;:10;:12::i;:::-;-1:-1:-1;;;;;47510:23:0;:7;-1:-1:-1;;;;;47510:23:0;;:66;;;;47537:39;47554:7;47563:12;:10;:12::i;47537:39::-;47502:122;;;;-1:-1:-1;;;47502:122:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47635:26;47641:7;47650:2;47654:6;47635:5;:26::i;:::-;47672:12;;;;:8;:12;;;;;;:20;;;;;;;;-1:-1:-1;47425:275:0:o;8578:106::-;8666:10;8578:106;:::o;16329:166::-;16415:7;16451:12;16443:6;;;;16435:29;;;;-1:-1:-1;;;16435:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16482:5:0;;;16329:166::o;13502:179::-;13560:7;13592:5;;;13616:6;;;;13608:46;;;;;-1:-1:-1;;;13608:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;39617:799;39871:15;:2;-1:-1:-1;;;;;39871:13:0;;:15::i;:::-;39867:542;;;39924:2;-1:-1:-1;;;;;39907:43:0;;39951:8;39961:4;39967:3;39972:7;39981:4;39907:79;;;;;;;;;;;;;-1:-1:-1;;;;;39907:79:0;;;;;;-1:-1:-1;;;;;39907:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39907:79:0;;;39903:495;;;;:::i;:::-;;;;;;;;40264:14;;-1:-1:-1;;;40264:14:0;;;;;;;;;;;;;;;;;40271:6;;40264:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39903:495;40320:62;;-1:-1:-1;;;40320:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39903:495;-1:-1:-1;;;;;;40036:64:0;;-1:-1:-1;;;40036:64:0;40032:163;;40125:50;;-1:-1:-1;;;40125:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40032:163;39987:223;39617:799;;;;;;:::o;46973:440::-;47212:12;:10;:12::i;:::-;-1:-1:-1;;;;;47201:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47201:23:0;;:59;;;;47228:14;:28;47243:12;:10;:12::i;:::-;-1:-1:-1;;;;;47228:28:0;;;;;;;;;;;;;;;-1:-1:-1;47228:28:0;;;:32;;;;;;;;;;;47201:59;47193:92;;;;;-1:-1:-1;;;47193:92:0;;;;;;;;;;;;-1:-1:-1;;;47193:92:0;;;;;;;;;;;;;;;47296:30;47302:7;47311:2;47315:6;47296:30;;;;;;;;;;;;:5;:30::i;:::-;47346:9;;47341:2;:14;47337:38;;;47359:9;:14;;;47337:38;47385:12;;;;:8;:12;;;;;;:20;;;;;;;-1:-1:-1;46973:440:0:o;30456:168::-;-1:-1:-1;;;;;30579:27:0;;;30555:4;30579:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;30456:168::o;40424:198::-;40544:16;;;40558:1;40544:16;;;;;;;;;40490;;;;40544;;;;;;;;;;;;-1:-1:-1;40544:16:0;40519:41;;40582:7;40571:5;40577:1;40571:8;;;;;;;;;;;;;;;;;:18;40609:5;40424:198;-1:-1:-1;;40424:198:0:o;38847:762::-;39076:15;:2;-1:-1:-1;;;;;39076:13:0;;:15::i;:::-;39072:530;;;39129:2;-1:-1:-1;;;;;39112:38:0;;39151:8;39161:4;39167:2;39171:6;39179:4;39112:72;;;;;;;;;;;;;-1:-1:-1;;;;;39112:72:0;;;;;;-1:-1:-1;;;;;39112:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39112:72:0;;;39108:483;;;;:::i;:::-;-1:-1:-1;;;;;;39234:59:0;;-1:-1:-1;;;39234:59:0;39230:158;;39318:50;;-1:-1:-1;;;39318:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36163:551;-1:-1:-1;;;;;36259:21:0;;36251:69;;;;-1:-1:-1;;;36251:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36333:16;36352:12;:10;:12::i;:::-;36333:31;;36377:105;36398:8;36408:7;36425:1;36429:21;36447:2;36429:17;:21::i;:::-;36452:25;36470:6;36452:17;:25::i;:::-;36377:105;;;;;;;;;;;;:20;:105::i;:::-;36520:111;36561:6;36520:111;;;;;;;;;;;;;;;;;:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;36520:22:0;;;;;;;;;;;:111;:26;:111::i;:::-;36495:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;36495:22:0;;;;;;;;;;;;:136;;;;36649:57;;;;;;;;;;;;;36495:13;;:22;;36649:57;;;;;;;;;;;;;36163:551;;;;:::o;18945:422::-;19312:20;19351:8;;;18945:422::o;34250:583::-;-1:-1:-1;;;;;34365:21:0;;34357:67;;;;-1:-1:-1;;;34357:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34437:16;34456:12;:10;:12::i;:::-;34437:31;;34481:107;34502:8;34520:1;34524:7;34533:21;34551:2;34533:17;:21::i;34481:107::-;34626:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;34626:22:0;;;;;;;;;;:34;;34653:6;34626:26;:34::i;:::-;34601:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;34601:22:0;;;;;;;;;;;;:59;;;;34676:57;;;;;;;;;;;;;34601:22;;34676:57;;;;;;;;;;;;34746:79;34777:8;34795:1;34799:7;34808:2;34812:6;34820:4;34746:30;:79::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;110:106;195:3;191:15;;163:53::o;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;:::i;:::-;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;:::o

Swarm Source

ipfs://7568f71da302177195f3f00247c0cb88f64b2c96208631c54ed42a1e95ed027e
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.