Contract 0x68aEa268f92b715E073d2F5170039fAa4b94A47B 1

 
 
Txn Hash
Method
Block
From
To
Value
0x94974efb4d7865757bfece9a9108db71b6f5f8a895ed17810c4d6d8fb087a3a6Set Approval For...159497272022-11-11 22:22:4721 days 23 hrs ago0x2112134feff010321a1692f3bda6c9373552306f IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00038323 15.6160813
0x4391590f1a03290bb4c15edca8f8aa9b77854bf78a741781265d9a052d08ddbdSet Approval For...158497412022-10-28 23:07:5935 days 23 hrs agoENS Name 0xbuffalo.eth IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00028864 11.76190623
0xcc07f11332306d80621770f1c82b32b4c4ae7e70d54434e9ad3d6d9cf722795aSet Approval For...157909362022-10-20 17:54:5944 days 4 hrs ago0x0cc8b8ad1f59731af28a9ad9e5027a12a7511fd3 IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00101841 38.35391313
0xd500aa3d9dc1bfa5bc60b741c29b56a7ea6fd09cdc07758096f6ee92f0e0fdf8Set Approval For...157909352022-10-20 17:54:4744 days 4 hrs ago0x0cc8b8ad1f59731af28a9ad9e5027a12a7511fd3 IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00177913 38.29973828
0x86b99805c8b572f22b0006867cd1c3092e16aeab0660781a55a6532ec2e39057Set Approval For...157790122022-10-19 1:56:4745 days 20 hrs ago0xfe71b161ebcafe01a6eae1e765e874ebef737ff7 IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00090106 19.3974288
0xdb27d06bf3ffd5fd28fd4f8077a0457667d3a0449d908d51dab3f2d85fd825b2Set Approval For...157084982022-10-09 5:37:5955 days 16 hrs ago0x0add957d58701bfc1bef8a7a5a5de7d95b1b374e IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00124128 26.72128628
0xc9dbefa8b0121b9f0c21bedc0ae48553049a37c01ab8daa3af17361d7e64961eSafe Transfer Fr...157084032022-10-09 5:18:5955 days 16 hrs ago0x19157075e5c4222392bed53f464549c2e349491a IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.0011496 22.07675628
0x944fb0b496e9da8e1ffad7908776a68792104696467b383e5fe1c31bf96774e1Set Approval For...156462672022-09-30 12:51:3564 days 9 hrs ago0x72f060b4b0c7fb7b9631379d4b78ea802997dedd IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.0007009 15.08849825
0x83facda560374946a59b3cf6e0d1e6734e7796062142e2dafb3ef52ae67e5cfdSet Approval For...155952622022-09-23 9:50:2371 days 12 hrs agoENS Name 0xsha256.eth IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00036378 7.83135053
0x69e11af6f5c3b461ddec78a11637ebf08cc5f8e428a5703dbb09e55838c1a71cSet Approval For...155951412022-09-23 9:26:1171 days 12 hrs agoENS Name chengdaye.eth IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00031238 6.72474473
0xe3a70dd8d453087af3ac65fc01c72e755b7373ebfc12792aca6e5ec064847018Safe Transfer Fr...155832542022-09-21 17:32:5973 days 4 hrs ago0xfa4b234cc423f8f461c1cd37c7dcd241ec9b8f5e IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.0003963 11.29043261
0x143fac8614c1f331ed3f93f8178876c34506d7620af2adb1c7aca503f538594bSafe Transfer Fr...155832282022-09-21 17:27:4773 days 4 hrs ago0x28aa2470347bca58adffc49c8b3410ccfd811982 IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.0003861111
0x24dc847f16d262ac412483337364937464b74d1fa9bffda1639e8ff62343d872Safe Transfer Fr...155831392022-09-21 17:09:4773 days 4 hrs ago0x28aa2470347bca58adffc49c8b3410ccfd811982 IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.0009405116.5
0x81665679ada9cb3ce765ed13a83636eb42f8fda373076310dca66b3e8a168288Safe Transfer Fr...155830212022-09-21 16:45:4773 days 5 hrs ago0x2fb85abfa93d2e1ff547b48c964e903c24de6181 IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00087194 16.70361478
0x1caee82a8ded105e1ff5b44db64bad315dcffdb9aa22e44ad39296f5e80b6958Set Approval For...155829782022-09-21 16:37:1173 days 5 hrs ago0xa34971d06e0f6b2036e7e7f794d8e69d5d832b7b IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00077418 16.6659707
0x3e83206e8fa8901cde3c51d3faa66bd09573f586d5537b6cdb88b2b388c176eeSet Approval For...155829742022-09-21 16:36:2373 days 5 hrs ago0x2fb85abfa93d2e1ff547b48c964e903c24de6181 IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00081863 17.62277105
0x1e5e9f4c20cd6c3d5a4462d57df80b57b3f340b08f3932f4376666430e8a4026Safe Transfer Fr...155828922022-09-21 16:19:4773 days 5 hrs ago0x2fb85abfa93d2e1ff547b48c964e903c24de6181 IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00264386 46.38276492
0x0ac00a6e1476d3fb7ae74351ce558e65a440463175e8a4808c2f390fb699745bSet Approval For...155781862022-09-21 0:13:3573 days 21 hrs agoENS Name tosla.eth IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.0003374 12.71265024
0x5fbd828ff2cd1a4bece5ce744de674b11095cf351418fbf8056ac74112335094Set Approval For...155781862022-09-21 0:13:3573 days 21 hrs agoENS Name tosla.eth IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.0003374 12.71265024
0x4387370dc9fe2a6c9bf061e0424a6db8f905b5a312394515e5c2af76a3a5ec3eSet Approval For...155781782022-09-21 0:11:5973 days 21 hrs agoENS Name tosla.eth IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00034012 13.85929512
0xfbeb4cd6a16c57f3ea3e58f80a6b0ffc20c89445da758bd6e309be01a1138d95Set Approval For...155781482022-09-21 0:05:5973 days 22 hrs agoENS Name tosla.eth IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00101424 21.83388399
0x181236d21ee9e836da1a57c4b445c721bf15e9847b9c3020f6e2c68d46de1337Set Approval For...155746682022-09-20 12:23:5974 days 9 hrs agoENS Name silhouette114.eth IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00029319 11.94726855
0x652dc6476f2c32a3c639aca9f52927553d450b2f39e188319f10f34151f0ee6bSet Approval For...155745782022-09-20 12:05:4774 days 10 hrs agoENS Name silhouette114.eth IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.0002702 5.81684666
0x829b7541e3cf1bb0fb40d2a23f07ee40fd231562f0b658ccd56ef58bba85b481Set Approval For...155733612022-09-20 7:59:3574 days 14 hrs agoENS Name acacad.eth IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00033876 7.29270254
0xed48ad61faa6695e610ae6f34f1f9106947284a11d3296dd1788aa8bf8c97665Set Approval For...155262832022-09-13 10:02:1981 days 12 hrs ago0x961a5398878742192370e4c6590d6d0ffbc047e1 IN  0x68aea268f92b715e073d2f5170039faa4b94a47b0 Ether0.00050313 10.83101704
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x62051ee320365e5d8b1adfb3695eca1f6401612d

Contract Name:
RaribleUserToken

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-06-03
*/

pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;


/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

    /**
    * @dev Multiplies two numbers, throws on overflow.
    */
    function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
        // Gas optimization: this is cheaper than asserting 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
        if (a == 0) {
            return 0;
        }

        c = a * b;
        assert(c / a == b);
        return c;
    }

    /**
    * @dev Integer division of two numbers, truncating the quotient.
    */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // assert(b > 0); // Solidity automatically throws when dividing by 0
        // uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold
        return a / b;
    }

    /**
    * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
    */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        assert(b <= a);
        return a - b;
    }

    /**
    * @dev Adds two numbers, throws on overflow.
    */
    function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
        c = a + b;
        assert(c >= a);
        return c;
    }
}

/**
    Note: Simple contract to use as base for const vals
*/
contract CommonConstants {

    bytes4 constant internal ERC1155_ACCEPTED = 0xf23a6e61; // bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))
    bytes4 constant internal ERC1155_BATCH_ACCEPTED = 0xbc197c81; // bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))
}

/**
    Note: The ERC-165 identifier for this interface is 0x4e2312e0.
*/
interface ERC1155TokenReceiver {
    /**
        @notice Handle the receipt of a single ERC1155 token type.
        @dev An ERC1155-compliant smart contract MUST call this function on the token recipient contract, at the end of a `safeTransferFrom` after the balance has been updated.
        This function MUST return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61) if it accepts the transfer.
        This function MUST revert if it rejects the transfer.
        Return of any other value than the prescribed keccak256 generated value MUST result in the transaction being reverted by the caller.
        @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)"))`
    */
    function onERC1155Received(address _operator, address _from, uint256 _id, uint256 _value, bytes calldata _data) external returns(bytes4);

    /**
        @notice Handle the receipt of multiple ERC1155 token types.
        @dev An ERC1155-compliant smart contract MUST call this function on the token recipient contract, at the end of a `safeBatchTransferFrom` after the balances have been updated.
        This function MUST return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81) if it accepts the transfer(s).
        This function MUST revert if it rejects the transfer(s).
        Return of any other value than the prescribed keccak256 generated value MUST result in the transaction being reverted by the caller.
        @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)"))`
    */
    function onERC1155BatchReceived(address _operator, address _from, uint256[] calldata _ids, uint256[] calldata _values, bytes calldata _data) external returns(bytes4);
}

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

/**
    @title ERC-1155 Multi Token Standard
    @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1155.md
    Note: The ERC-165 identifier for this interface is 0xd9b67a26.
 */
contract IERC1155 is IERC165 {
    /**
        @dev Either `TransferSingle` or `TransferBatch` MUST emit when tokens are transferred, including zero value transfers as well as minting or burning (see "Safe Transfer Rules" section of the standard).
        The `_operator` argument MUST be msg.sender.
        The `_from` argument MUST be the address of the holder whose balance is decreased.
        The `_to` argument MUST be the address of the recipient whose balance is increased.
        The `_id` argument MUST be the token type being transferred.
        The `_value` argument MUST be the number of tokens the holder balance is decreased by and match what the recipient balance is increased by.
        When minting/creating tokens, the `_from` argument MUST be set to `0x0` (i.e. zero address).
        When burning/destroying tokens, the `_to` argument MUST be set to `0x0` (i.e. zero address).
    */
    event TransferSingle(address indexed _operator, address indexed _from, address indexed _to, uint256 _id, uint256 _value);

    /**
        @dev Either `TransferSingle` or `TransferBatch` MUST emit when tokens are transferred, including zero value transfers as well as minting or burning (see "Safe Transfer Rules" section of the standard).
        The `_operator` argument MUST be msg.sender.
        The `_from` argument MUST be the address of the holder whose balance is decreased.
        The `_to` argument MUST be the address of the recipient whose balance is increased.
        The `_ids` argument MUST be the list of tokens being transferred.
        The `_values` argument MUST be the list of number of tokens (matching the list and order of tokens specified in _ids) the holder balance is decreased by and match what the recipient balance is increased by.
        When minting/creating tokens, the `_from` argument MUST be set to `0x0` (i.e. zero address).
        When burning/destroying tokens, the `_to` argument MUST be set to `0x0` (i.e. zero address).
    */
    event TransferBatch(address indexed _operator, address indexed _from, address indexed _to, uint256[] _ids, uint256[] _values);

    /**
        @dev MUST emit when approval for a second party/operator address to manage all tokens for an owner address is enabled or disabled (absense of an event assumes disabled).
    */
    event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved);

    /**
        @dev MUST emit when the URI is updated for a token ID.
        URIs are defined in RFC 3986.
        The URI MUST point a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".
    */
    event URI(string _value, uint256 indexed _id);

    /**
        @notice Transfers `_value` amount of an `_id` from the `_from` address to the `_to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard).
        MUST revert if `_to` is the zero address.
        MUST revert if balance of holder for token `_id` is lower than the `_value` sent.
        MUST revert on any other error.
        MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard).
        After the above conditions are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard).
        @param _from    Source address
        @param _to      Target address
        @param _id      ID of the token type
        @param _value   Transfer amount
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `_to`
    */
    function safeTransferFrom(address _from, address _to, uint256 _id, uint256 _value, bytes calldata _data) external;

    /**
        @notice Transfers `_values` amount(s) of `_ids` from the `_from` address to the `_to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard).
        MUST revert if `_to` is the zero address.
        MUST revert if length of `_ids` is not the same as length of `_values`.
        MUST revert if any of the balance(s) of the holder(s) for token(s) in `_ids` is lower than the respective amount(s) in `_values` sent to the recipient.
        MUST revert on any other error.
        MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard).
        Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc).
        After the above conditions for the transfer(s) in the batch are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard).
        @param _from    Source address
        @param _to      Target address
        @param _ids     IDs of each token type (order and length must match _values array)
        @param _values  Transfer amounts per token type (order and length must match _ids array)
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `_to`
    */
    function safeBatchTransferFrom(address _from, address _to, uint256[] calldata _ids, uint256[] calldata _values, bytes calldata _data) external;

    /**
        @notice Get the balance of an account's Tokens.
        @param _owner  The address of the token holder
        @param _id     ID of the Token
        @return        The _owner's balance of the Token type requested
     */
    function balanceOf(address _owner, uint256 _id) external view returns (uint256);

    /**
        @notice Get the balance of multiple account/token pairs
        @param _owners The addresses of the token holders
        @param _ids    ID of the Tokens
        @return        The _owner's balance of the Token types requested (i.e. balance for each (owner, id) pair)
     */
    function balanceOfBatch(address[] calldata _owners, uint256[] calldata _ids) external view returns (uint256[] memory);

    /**
        @notice Enable or disable approval for a third party ("operator") to manage all of the caller's tokens.
        @dev MUST emit the ApprovalForAll event on success.
        @param _operator  Address to add to the set of authorized operators
        @param _approved  True if the operator is approved, false to revoke approval
    */
    function setApprovalForAll(address _operator, bool _approved) external;

    /**
        @notice Queries the approval status of an operator for a given owner.
        @param _owner     The owner of the Tokens
        @param _operator  Address of authorized operator
        @return           True if the operator is approved, false if not
    */
    function isApprovedForAll(address _owner, address _operator) external view returns (bool);
}

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
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) external view 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 {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

// A sample implementation of core ERC1155 function.
contract ERC1155 is IERC1155, ERC165, CommonConstants
{
    using SafeMath for uint256;
    using Address for address;

    // id => (owner => balance)
    mapping (uint256 => mapping(address => uint256)) internal balances;

    // owner => (operator => approved)
    mapping (address => mapping(address => bool)) internal operatorApproval;

/////////////////////////////////////////// ERC165 //////////////////////////////////////////////

    /*
        bytes4(keccak256("safeTransferFrom(address,address,uint256,uint256,bytes)")) ^
        bytes4(keccak256("safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)")) ^
        bytes4(keccak256("balanceOf(address,uint256)")) ^
        bytes4(keccak256("balanceOfBatch(address[],uint256[])")) ^
        bytes4(keccak256("setApprovalForAll(address,bool)")) ^
        bytes4(keccak256("isApprovedForAll(address,address)"));
    */
    bytes4 constant private INTERFACE_SIGNATURE_ERC1155 = 0xd9b67a26;

/////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////

    constructor() public {
        _registerInterface(INTERFACE_SIGNATURE_ERC1155);
    }

/////////////////////////////////////////// ERC1155 //////////////////////////////////////////////

    /**
        @notice Transfers `_value` amount of an `_id` from the `_from` address to the `_to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard).
        MUST revert if `_to` is the zero address.
        MUST revert if balance of holder for token `_id` is lower than the `_value` sent.
        MUST revert on any other error.
        MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard).
        After the above conditions are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard).
        @param _from    Source address
        @param _to      Target address
        @param _id      ID of the token type
        @param _value   Transfer amount
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `_to`
    */
    function safeTransferFrom(address _from, address _to, uint256 _id, uint256 _value, bytes calldata _data) external {

        require(_to != address(0x0), "_to must be non-zero.");
        require(_from == msg.sender || operatorApproval[_from][msg.sender] == true, "Need operator approval for 3rd party transfers.");

        // SafeMath will throw with insuficient funds _from
        // or if _id is not valid (balance will be 0)
        balances[_id][_from] = balances[_id][_from].sub(_value);
        balances[_id][_to]   = _value.add(balances[_id][_to]);

        // MUST emit event
        emit TransferSingle(msg.sender, _from, _to, _id, _value);

        // Now that the balance is updated and the event was emitted,
        // call onERC1155Received if the destination is a contract.
        if (_to.isContract()) {
            _doSafeTransferAcceptanceCheck(msg.sender, _from, _to, _id, _value, _data);
        }
    }

    /**
        @notice Transfers `_values` amount(s) of `_ids` from the `_from` address to the `_to` address specified (with safety call).
        @dev Caller must be approved to manage the tokens being transferred out of the `_from` account (see "Approval" section of the standard).
        MUST revert if `_to` is the zero address.
        MUST revert if length of `_ids` is not the same as length of `_values`.
        MUST revert if any of the balance(s) of the holder(s) for token(s) in `_ids` is lower than the respective amount(s) in `_values` sent to the recipient.
        MUST revert on any other error.
        MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard).
        Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before _ids[1]/_values[1], etc).
        After the above conditions for the transfer(s) in the batch are met, this function MUST check if `_to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `_to` and act appropriately (see "Safe Transfer Rules" section of the standard).
        @param _from    Source address
        @param _to      Target address
        @param _ids     IDs of each token type (order and length must match _values array)
        @param _values  Transfer amounts per token type (order and length must match _ids array)
        @param _data    Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `_to`
    */
    function safeBatchTransferFrom(address _from, address _to, uint256[] calldata _ids, uint256[] calldata _values, bytes calldata _data) external {

        // MUST Throw on errors
        require(_to != address(0x0), "destination address must be non-zero.");
        require(_ids.length == _values.length, "_ids and _values array lenght must match.");
        require(_from == msg.sender || operatorApproval[_from][msg.sender] == true, "Need operator approval for 3rd party transfers.");

        for (uint256 i = 0; i < _ids.length; ++i) {
            uint256 id = _ids[i];
            uint256 value = _values[i];

            // SafeMath will throw with insuficient funds _from
            // or if _id is not valid (balance will be 0)
            balances[id][_from] = balances[id][_from].sub(value);
            balances[id][_to]   = value.add(balances[id][_to]);
        }

        // Note: instead of the below batch versions of event and acceptance check you MAY have emitted a TransferSingle
        // event and a subsequent call to _doSafeTransferAcceptanceCheck in above loop for each balance change instead.
        // Or emitted a TransferSingle event for each in the loop and then the single _doSafeBatchTransferAcceptanceCheck below.
        // However it is implemented the balance changes and events MUST match when a check (i.e. calling an external contract) is done.

        // MUST emit event
        emit TransferBatch(msg.sender, _from, _to, _ids, _values);

        // Now that the balances are updated and the events are emitted,
        // call onERC1155BatchReceived if the destination is a contract.
        if (_to.isContract()) {
            _doSafeBatchTransferAcceptanceCheck(msg.sender, _from, _to, _ids, _values, _data);
        }
    }

    /**
        @notice Get the balance of an account's Tokens.
        @param _owner  The address of the token holder
        @param _id     ID of the Token
        @return        The _owner's balance of the Token type requested
     */
    function balanceOf(address _owner, uint256 _id) external view returns (uint256) {
        // The balance of any account can be calculated from the Transfer events history.
        // However, since we need to keep the balances to validate transfer request,
        // there is no extra cost to also privide a querry function.
        return balances[_id][_owner];
    }


    /**
        @notice Get the balance of multiple account/token pairs
        @param _owners The addresses of the token holders
        @param _ids    ID of the Tokens
        @return        The _owner's balance of the Token types requested (i.e. balance for each (owner, id) pair)
     */
    function balanceOfBatch(address[] calldata _owners, uint256[] calldata _ids) external view returns (uint256[] memory) {

        require(_owners.length == _ids.length);

        uint256[] memory balances_ = new uint256[](_owners.length);

        for (uint256 i = 0; i < _owners.length; ++i) {
            balances_[i] = balances[_ids[i]][_owners[i]];
        }

        return balances_;
    }

    /**
        @notice Enable or disable approval for a third party ("operator") to manage all of the caller's tokens.
        @dev MUST emit the ApprovalForAll event on success.
        @param _operator  Address to add to the set of authorized operators
        @param _approved  True if the operator is approved, false to revoke approval
    */
    function setApprovalForAll(address _operator, bool _approved) external {
        operatorApproval[msg.sender][_operator] = _approved;
        emit ApprovalForAll(msg.sender, _operator, _approved);
    }

    /**
        @notice Queries the approval status of an operator for a given owner.
        @param _owner     The owner of the Tokens
        @param _operator  Address of authorized operator
        @return           True if the operator is approved, false if not
    */
    function isApprovedForAll(address _owner, address _operator) external view returns (bool) {
        return operatorApproval[_owner][_operator];
    }

/////////////////////////////////////////// Internal //////////////////////////////////////////////

    function _doSafeTransferAcceptanceCheck(address _operator, address _from, address _to, uint256 _id, uint256 _value, bytes memory _data) internal {

        // If this was a hybrid standards solution you would have to check ERC165(_to).supportsInterface(0x4e2312e0) here but as this is a pure implementation of an ERC-1155 token set as recommended by
        // the standard, it is not necessary. The below should revert in all failure cases i.e. _to isn't a receiver, or it is and either returns an unknown value or it reverts in the call to indicate non-acceptance.


        // Note: if the below reverts in the onERC1155Received function of the _to address you will have an undefined revert reason returned rather than the one in the require test.
        // If you want predictable revert reasons consider using low level _to.call() style instead so the revert does not bubble up and you can revert yourself on the ERC1155_ACCEPTED test.
        require(ERC1155TokenReceiver(_to).onERC1155Received(_operator, _from, _id, _value, _data) == ERC1155_ACCEPTED, "contract returned an unknown value from onERC1155Received");
    }

    function _doSafeBatchTransferAcceptanceCheck(address _operator, address _from, address _to, uint256[] memory _ids, uint256[] memory _values, bytes memory _data) internal {

        // If this was a hybrid standards solution you would have to check ERC165(_to).supportsInterface(0x4e2312e0) here but as this is a pure implementation of an ERC-1155 token set as recommended by
        // the standard, it is not necessary. The below should revert in all failure cases i.e. _to isn't a receiver, or it is and either returns an unknown value or it reverts in the call to indicate non-acceptance.

        // Note: if the below reverts in the onERC1155BatchReceived function of the _to address you will have an undefined revert reason returned rather than the one in the require test.
        // If you want predictable revert reasons consider using low level _to.call() style instead so the revert does not bubble up and you can revert yourself on the ERC1155_BATCH_ACCEPTED test.
        require(ERC1155TokenReceiver(_to).onERC1155BatchReceived(_operator, _from, _ids, _values, _data) == ERC1155_BATCH_ACCEPTED, "contract returned an unknown value from onERC1155BatchReceived");
    }
}

library UintLibrary {
    function toString(uint256 _i) internal pure returns (string memory) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len - 1;
        while (_i != 0) {
            bstr[k--] = byte(uint8(48 + _i % 10));
            _i /= 10;
        }
        return string(bstr);
    }
}

library StringLibrary {
    using UintLibrary for uint256;

    function append(string memory _a, string memory _b) internal pure returns (string memory) {
        bytes memory _ba = bytes(_a);
        bytes memory _bb = bytes(_b);
        bytes memory bab = new bytes(_ba.length + _bb.length);
        uint k = 0;
        for (uint i = 0; i < _ba.length; i++) bab[k++] = _ba[i];
        for (uint i = 0; i < _bb.length; i++) bab[k++] = _bb[i];
        return string(bab);
    }

    function append(string memory _a, string memory _b, string memory _c) internal pure returns (string memory) {
        bytes memory _ba = bytes(_a);
        bytes memory _bb = bytes(_b);
        bytes memory _bc = bytes(_c);
        bytes memory bbb = new bytes(_ba.length + _bb.length + _bc.length);
        uint k = 0;
        for (uint i = 0; i < _ba.length; i++) bbb[k++] = _ba[i];
        for (uint i = 0; i < _bb.length; i++) bbb[k++] = _bb[i];
        for (uint i = 0; i < _bc.length; i++) bbb[k++] = _bc[i];
        return string(bbb);
    }

    function recover(string memory message, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        bytes memory msgBytes = bytes(message);
        bytes memory fullMessage = concat(
            bytes("\x19Ethereum Signed Message:\n"),
            bytes(msgBytes.length.toString()),
            msgBytes,
            new bytes(0), new bytes(0), new bytes(0), new bytes(0)
        );
        return ecrecover(keccak256(fullMessage), v, r, s);
    }

    function concat(bytes memory _ba, bytes memory _bb, bytes memory _bc, bytes memory _bd, bytes memory _be, bytes memory _bf, bytes memory _bg) internal pure returns (bytes memory) {
        bytes memory resultBytes = new bytes(_ba.length + _bb.length + _bc.length + _bd.length + _be.length + _bf.length + _bg.length);
        uint k = 0;
        for (uint i = 0; i < _ba.length; i++) resultBytes[k++] = _ba[i];
        for (uint i = 0; i < _bb.length; i++) resultBytes[k++] = _bb[i];
        for (uint i = 0; i < _bc.length; i++) resultBytes[k++] = _bc[i];
        for (uint i = 0; i < _bd.length; i++) resultBytes[k++] = _bd[i];
        for (uint i = 0; i < _be.length; i++) resultBytes[k++] = _be[i];
        for (uint i = 0; i < _bf.length; i++) resultBytes[k++] = _bf[i];
        for (uint i = 0; i < _bg.length; i++) resultBytes[k++] = _bg[i];
        return resultBytes;
    }
}

contract HasContractURI is ERC165 {

    string public contractURI;

    /*
     * bytes4(keccak256('contractURI()')) == 0xe8a3d485
     */
    bytes4 private constant _INTERFACE_ID_CONTRACT_URI = 0xe8a3d485;

    constructor(string memory _contractURI) public {
        contractURI = _contractURI;
        _registerInterface(_INTERFACE_ID_CONTRACT_URI);
    }

    /**
     * @dev Internal function to set the contract URI
     * @param _contractURI string URI prefix to assign
     */
    function _setContractURI(string memory _contractURI) internal {
        contractURI = _contractURI;
    }
}

contract HasTokenURI {
    using StringLibrary for string;

    //Token URI prefix
    string public tokenURIPrefix;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    constructor(string memory _tokenURIPrefix) public {
        tokenURIPrefix = _tokenURIPrefix;
    }

    /**
     * @dev Returns an URI for a given token ID.
     * Throws if the token ID does not exist. May return an empty string.
     * @param tokenId uint256 ID of the token to query
     */
    function _tokenURI(uint256 tokenId) internal view returns (string memory) {
        return tokenURIPrefix.append(_tokenURIs[tokenId]);
    }

    /**
     * @dev Internal function to set the token URI for a given token.
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to set its URI
     * @param uri string URI to assign
     */
    function _setTokenURI(uint256 tokenId, string memory uri) internal {
        _tokenURIs[tokenId] = uri;
    }

    /**
     * @dev Internal function to set the token URI prefix.
     * @param _tokenURIPrefix string URI prefix to assign
     */
    function _setTokenURIPrefix(string memory _tokenURIPrefix) internal {
        tokenURIPrefix = _tokenURIPrefix;
    }

    function _clearTokenURI(uint256 tokenId) internal {
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

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

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

/**
 * @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.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract 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 returns (address) {
        return _owner;
    }

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

/**
    Note: The ERC-165 identifier for this interface is 0x0e89341c.
*/
interface IERC1155Metadata_URI {
    /**
        @notice A distinct Uniform Resource Identifier (URI) for a given token.
        @dev URIs are defined in RFC 3986.
        The URI may point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".
        @return URI string
    */
    function uri(uint256 _id) external view returns (string memory);
}

/**
    Note: The ERC-165 identifier for this interface is 0x0e89341c.
*/
contract ERC1155Metadata_URI is IERC1155Metadata_URI, HasTokenURI {

    constructor(string memory _tokenURIPrefix) HasTokenURI(_tokenURIPrefix) public {

    }

    function uri(uint256 _id) external view returns (string memory) {
        return _tokenURI(_id);
    }
}

contract HasSecondarySaleFees is ERC165 {

    event SecondarySaleFees(uint256 tokenId, address[] recipients, uint[] bps);

    /*
     * bytes4(keccak256('getFeeBps(uint256)')) == 0x0ebd4c7f
     * bytes4(keccak256('getFeeRecipients(uint256)')) == 0xb9c4d9fb
     *
     * => 0x0ebd4c7f ^ 0xb9c4d9fb == 0xb7799584
     */
    bytes4 private constant _INTERFACE_ID_FEES = 0xb7799584;

    constructor() public {
        _registerInterface(_INTERFACE_ID_FEES);
    }

    function getFeeRecipients(uint256 id) public view returns (address payable[] memory);
    function getFeeBps(uint256 id) public view returns (uint[] memory);
}

contract ERC1155Base is HasSecondarySaleFees, Ownable, ERC1155Metadata_URI, HasContractURI, ERC1155 {

    struct Fee {
        address payable recipient;
        uint256 value;
    }

    // id => creator
    mapping (uint256 => address) public creators;
    // id => fees
    mapping (uint256 => Fee[]) public fees;

    constructor(string memory contractURI, string memory tokenURIPrefix) HasContractURI(contractURI) ERC1155Metadata_URI(tokenURIPrefix) public {

    }

    function getFeeRecipients(uint256 id) public view returns (address payable[] memory) {
        Fee[] memory _fees = fees[id];
        address payable[] memory result = new address payable[](_fees.length);
        for (uint i = 0; i < _fees.length; i++) {
            result[i] = _fees[i].recipient;
        }
        return result;
    }

    function getFeeBps(uint256 id) public view returns (uint[] memory) {
        Fee[] memory _fees = fees[id];
        uint[] memory result = new uint[](_fees.length);
        for (uint i = 0; i < _fees.length; i++) {
            result[i] = _fees[i].value;
        }
        return result;
    }

    // Creates a new token type and assings _initialSupply to minter
    function _mint(uint256 _id, Fee[] memory _fees, uint256 _supply, string memory _uri) internal {
        require(creators[_id] == address(0x0), "Token is already minted");
        require(_supply != 0, "Supply should be positive");
        require(bytes(_uri).length > 0, "uri should be set");

        creators[_id] = msg.sender;
        address[] memory recipients = new address[](_fees.length);
        uint[] memory bps = new uint[](_fees.length);
        for (uint i = 0; i < _fees.length; i++) {
            require(_fees[i].recipient != address(0x0), "Recipient should be present");
            require(_fees[i].value != 0, "Fee value should be positive");
            fees[_id].push(_fees[i]);
            recipients[i] = _fees[i].recipient;
            bps[i] = _fees[i].value;
        }
        if (_fees.length > 0) {
            emit SecondarySaleFees(_id, recipients, bps);
        }
        balances[_id][msg.sender] = _supply;
        _setTokenURI(_id, _uri);

        // Transfer event with mint semantic
        emit TransferSingle(msg.sender, address(0x0), msg.sender, _id, _supply);
        emit URI(_uri, _id);
    }

    function burn(address _owner, uint256 _id, uint256 _value) external {

        require(_owner == msg.sender || operatorApproval[_owner][msg.sender] == true, "Need operator approval for 3rd party burns.");

        // SafeMath will throw with insuficient funds _owner
        // or if _id is not valid (balance will be 0)
        balances[_id][_owner] = balances[_id][_owner].sub(_value);

        // MUST emit event
        emit TransferSingle(msg.sender, _owner, address(0x0), _id, _value);
    }

    /**
     * @dev Internal function to set the token URI for a given token.
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to set its URI
     * @param uri string URI to assign
     */
    function _setTokenURI(uint256 tokenId, string memory uri) internal {
        require(creators[tokenId] != address(0x0), "_setTokenURI: Token should exist");
        super._setTokenURI(tokenId, uri);
    }

    function setTokenURIPrefix(string memory tokenURIPrefix) public onlyOwner {
        _setTokenURIPrefix(tokenURIPrefix);
    }

    function setContractURI(string memory contractURI) public onlyOwner {
        _setContractURI(contractURI);
    }
}

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}

contract SignerRole is Context {
    using Roles for Roles.Role;

    event SignerAdded(address indexed account);
    event SignerRemoved(address indexed account);

    Roles.Role private _signers;

    constructor () internal {
        _addSigner(_msgSender());
    }

    modifier onlySigner() {
        require(isSigner(_msgSender()), "SignerRole: caller does not have the Signer role");
        _;
    }

    function isSigner(address account) public view returns (bool) {
        return _signers.has(account);
    }

    function addSigner(address account) public onlySigner {
        _addSigner(account);
    }

    function renounceSigner() public {
        _removeSigner(_msgSender());
    }

    function _addSigner(address account) internal {
        _signers.add(account);
        emit SignerAdded(account);
    }

    function _removeSigner(address account) internal {
        _signers.remove(account);
        emit SignerRemoved(account);
    }
}






contract RaribleToken is Ownable, SignerRole, ERC1155Base {
    string public name;
    string public symbol;

    constructor(string memory _name, string memory _symbol, address signer, string memory contractURI, string memory tokenURIPrefix) ERC1155Base(contractURI, tokenURIPrefix) public {
        name = _name;
        symbol = _symbol;

        _addSigner(signer);
        _registerInterface(bytes4(keccak256('MINT_WITH_ADDRESS')));
    }

    function addSigner(address account) public onlyOwner {
        _addSigner(account);
    }

    function removeSigner(address account) public onlyOwner {
        _removeSigner(account);
    }

    function mint(uint256 id, uint8 v, bytes32 r, bytes32 s, Fee[] memory fees, uint256 supply, string memory uri) public {
        require(isSigner(ecrecover(keccak256(abi.encodePacked(this, id)), v, r, s)), "signer should sign tokenId");
        _mint(id, fees, supply, uri);
    }
}



contract RaribleUserToken is RaribleToken {
    event CreateERC1155_v1(address indexed creator, string name, string symbol);

    constructor(string memory name, string memory symbol, string memory contractURI, string memory tokenURIPrefix, address signer) RaribleToken(name, symbol, signer, contractURI, tokenURIPrefix) public {
        emit CreateERC1155_v1(msg.sender, name, symbol);
    }

    function mint(uint256 id, uint8 v, bytes32 r, bytes32 s, Fee[] memory fees, uint256 supply, string memory uri) onlyOwner public {
        super.mint(id, v, r, s, fees, supply, uri);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"string","name":"tokenURIPrefix","type":"string"},{"internalType":"address","name":"signer","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","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":"creator","type":"address"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"}],"name":"CreateERC1155_v1","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":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"recipients","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"bps","type":"uint256[]"}],"name":"SecondarySaleFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"SignerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"SignerRemoved","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"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addSigner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address[]","name":"_owners","type":"address[]"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"creators","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"fees","outputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getFeeBps","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getFeeRecipients","outputs":[{"internalType":"address payable[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"components":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct ERC1155Base.Fee[]","name":"fees","type":"tuple[]"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeSigner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceSigner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"contractURI","type":"string"}],"name":"setContractURI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"tokenURIPrefix","type":"string"}],"name":"setTokenURIPrefix","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenURIPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200359e3803806200359e833981016040819052620000349162000489565b84848285858181818180620000596301ffc9a760e01b6001600160e01b036200022316565b62000074632dde656160e21b6001600160e01b036200022316565b6000620000896001600160e01b036200027e16565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000fd620000ee6001600160e01b036200027e16565b6001600160e01b036200028316565b8051620001129060039060208401906200037e565b505081516200012a915060059060208401906200037e565b506200014663e8a3d48560e01b6001600160e01b036200022316565b5062000162636cdb3d1360e11b6001600160e01b036200022316565b505084516200017990600a9060208801906200037e565b5083516200018f90600b9060208701906200037e565b50620001a4836001600160e01b036200028316565b620001ce604051620001b69062000693565b6040519081900390206001600160e01b036200022316565b5050505050336001600160a01b03167f658fd9a983a35f4a0bb697abb2c6971d688010d8bc264928a164ae391b87472c868660405162000210929190620006a0565b60405180910390a25050505050620007d1565b6001600160e01b03198082161415620002595760405162461bcd60e51b81526004016200025090620006e3565b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b335b90565b6200029e816002620002d560201b62001ae61790919060201c565b6040516001600160a01b038216907f47d1c22a25bb3a5d4e481b9b1e6944c2eade3181a0a20b495ed61d35b5323f2490600090a250565b620002ea82826001600160e01b036200032f16565b156200030a5760405162461bcd60e51b81526004016200025090620006d1565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b0382166200035a5760405162461bcd60e51b81526004016200025090620006f5565b506001600160a01b03811660009081526020839052604090205460ff165b92915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003c157805160ff1916838001178555620003f1565b82800160010185558215620003f1579182015b82811115620003f1578251825591602001919060010190620003d4565b50620003ff92915062000403565b5090565b6200028091905b80821115620003ff57600081556001016200040a565b80516200037881620007b7565b600082601f8301126200043f57600080fd5b81516200045662000450826200072e565b62000707565b915080825260208301602083018583830111156200047357600080fd5b620004808382846200077a565b50505092915050565b600080600080600060a08688031215620004a257600080fd5b85516001600160401b03811115620004b957600080fd5b620004c7888289016200042d565b95505060208601516001600160401b03811115620004e457600080fd5b620004f2888289016200042d565b94505060408601516001600160401b038111156200050f57600080fd5b6200051d888289016200042d565b93505060608601516001600160401b038111156200053a57600080fd5b62000548888289016200042d565b92505060806200055b8882890162000420565b9150509295509295909350565b6000620005758262000756565b6200058181856200075a565b9350620005938185602086016200077a565b6200059e81620007ad565b9093019392505050565b6000620005b7601f836200075a565b7f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500815260200192915050565b6000620005f2601c836200075a565b7f4552433136353a20696e76616c696420696e7465726661636520696400000000815260200192915050565b60006200062d6022836200075a565b7f526f6c65733a206163636f756e7420697320746865207a65726f206164647265815261737360f01b602082015260400192915050565b60006200067360118362000763565b704d494e545f574954485f4144445245535360781b815260110192915050565b6000620003788262000664565b60408082528101620006b3818562000568565b90508181036020830152620006c9818462000568565b949350505050565b602080825281016200037881620005a8565b602080825281016200037881620005e3565b6020808252810162000378816200061e565b6040518181016001600160401b03811182821017156200072657600080fd5b604052919050565b60006001600160401b038211156200074557600080fd5b506020601f91909101601f19160190565b5190565b90815260200190565b919050565b60006001600160a01b03821662000378565b60005b83811015620007975781810151838201526020016200077d565b83811115620007a7576000848401525b50505050565b601f01601f191690565b620007c28162000768565b8114620007ce57600080fd5b50565b612dbd80620007e16000396000f3fe608060405234801561001057600080fd5b50600436106101c35760003560e01c806395d89b41116100f9578063e5c8b03d11610097578063eb12d61e11610071578063eb12d61e1461039f578063f242432a146103b2578063f2fde38b146103c5578063f5298aca146103d8576101c3565b8063e5c8b03d1461037c578063e8a3d48514610384578063e985e9c51461038c576101c3565b8063b9c4d9fb116100d3578063b9c4d9fb1461032e578063c0ac99831461034e578063c6bf326214610356578063cd53d08e14610369576101c3565b806395d89b411461030057806399e0dd7c14610308578063a22cb4651461031b576101c3565b80634e1273f4116101665780637df73e27116101405780637df73e27146102bd5780638da5cb5b146102d05780638f32d59b146102e5578063938e3d7b146102ed576101c3565b80634e1273f4146102815780636308f1cd14610294578063715018a6146102b5576101c3565b80630e316ab7116101a25780630e316ab7146102265780630e89341c1461023b5780630ebd4c7f1461024e5780632eb2c2d61461026e576101c3565b8062fdd58e146101c857806301ffc9a7146101f157806306fdde0314610211575b600080fd5b6101db6101d6366004611fe7565b6103eb565b6040516101e89190612bdb565b60405180910390f35b6102046101ff3660046120d2565b610415565b6040516101e89190612a4e565b610219610434565b6040516101e89190612a9a565b610239610234366004611e09565b6104c2565b005b610219610249366004612142565b6104fb565b61026161025c366004612142565b610506565b6040516101e89190612a3d565b61023961027c366004611e61565b6105f9565b61026161028f366004612064565b6108ef565b6102a76102a2366004612160565b6109c9565b6040516101e8929190612932565b610239610a0c565b6102046102cb366004611e09565b610a7a565b6102d8610a8d565b6040516101e89190612924565b610204610a9d565b6102396102fb36600461210e565b610ac3565b610219610af0565b61023961031636600461210e565b610b4b565b610239610329366004611fb7565b610b78565b61034161033c366004612142565b610be7565b6040516101e891906129fb565b610219610cdf565b61023961036436600461217f565b610d3a565b6102d8610377366004612142565b610d76565b610239610d91565b610219610da3565b61020461039a366004611e27565b610dfe565b6102396103ad366004611e09565b610e2c565b6102396103c0366004611f28565b610e59565b6102396103d3366004611e09565b611013565b6102396103e6366004612017565b611040565b60008181526006602090815260408083206001600160a01b03861684529091529020545b92915050565b6001600160e01b03191660009081526020819052604090205460ff1690565b600a805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104ba5780601f1061048f576101008083540402835291602001916104ba565b820191906000526020600020905b81548152906001019060200180831161049d57829003601f168201915b505050505081565b6104ca610a9d565b6104ef5760405162461bcd60e51b81526004016104e690612b3b565b60405180910390fd5b6104f881611138565b50565b606061040f82611180565b60008181526009602090815260408083208054825181850281018501909352808352606094859484015b82821015610578576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610530565b505050509050606081516040519080825280602002602001820160405280156105ab578160200160208202803883390190505b50905060005b82518110156105f1578281815181106105c657fe5b6020026020010151602001518282815181106105de57fe5b60209081029190910101526001016105b1565b509392505050565b6001600160a01b03871661061f5760405162461bcd60e51b81526004016104e690612aeb565b84831461063e5760405162461bcd60e51b81526004016104e690612b7b565b6001600160a01b03881633148061067d57506001600160a01b038816600090815260076020908152604080832033845290915290205460ff1615156001145b6106995760405162461bcd60e51b81526004016104e690612b1b565b60005b858110156107ce5760008787838181106106b257fe5b90506020020135905060008686848181106106c957fe5b90506020020135905061071b816006600085815260200190815260200160002060008e6001600160a01b03166001600160a01b03168152602001908152602001600020546112bb90919063ffffffff16565b6006600084815260200190815260200160002060008d6001600160a01b03166001600160a01b031681526020019081526020016000208190555061079e6006600084815260200190815260200160002060008c6001600160a01b03166001600160a01b0316815260200190815260200160002054826112cd90919063ffffffff16565b60009283526006602090815260408085206001600160a01b038e168652909152909220919091555060010161069c565b50866001600160a01b0316886001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb898989896040516108229493929190612a0c565b60405180910390a461083c876001600160a01b03166112da565b156108e5576108e533898989898080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808d0282810182019093528c82529093508c92508b91829185019084908082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a915089908190840183828082843760009201919091525061131692505050565b5050505050505050565b60608382146108fd57600080fd5b604080518581526020808702820101909152606090858015610929578160200160208202803883390190505b50905060005b858110156109bf576006600086868481811061094757fe5b905060200201358152602001908152602001600020600088888481811061096a57fe5b905060200201602061097f9190810190611e09565b6001600160a01b03166001600160a01b03168152602001908152602001600020548282815181106109ac57fe5b602090810291909101015260010161092f565b5095945050505050565b600960205281600052604060002081815481106109e257fe5b6000918252602090912060029091020180546001909101546001600160a01b039091169250905082565b610a14610a9d565b610a305760405162461bcd60e51b81526004016104e690612b3b565b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b600061040f60028363ffffffff6113c516565b6001546001600160a01b03165b90565b6001546000906001600160a01b0316610ab461140d565b6001600160a01b031614905090565b610acb610a9d565b610ae75760405162461bcd60e51b81526004016104e690612b3b565b6104f881611411565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104ba5780601f1061048f576101008083540402835291602001916104ba565b610b53610a9d565b610b6f5760405162461bcd60e51b81526004016104e690612b3b565b6104f881611428565b3360008181526007602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190610bdb908590612a4e565b60405180910390a35050565b60008181526009602090815260408083208054825181850281018501909352808352606094859484015b82821015610c59576000848152602090819020604080518082019091526002850290910180546001600160a01b03168252600190810154828401529083529092019101610c11565b50505050905060608151604051908082528060200260200182016040528015610c8c578160200160208202803883390190505b50905060005b82518110156105f157828181518110610ca757fe5b602002602001015160000151828281518110610cbf57fe5b6001600160a01b0390921660209283029190910190910152600101610c92565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104ba5780601f1061048f576101008083540402835291602001916104ba565b610d42610a9d565b610d5e5760405162461bcd60e51b81526004016104e690612b3b565b610d6d8787878787878761143b565b50505050505050565b6008602052600090815260409020546001600160a01b031681565b610da1610d9c61140d565b611138565b565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104ba5780601f1061048f576101008083540402835291602001916104ba565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610e34610a9d565b610e505760405162461bcd60e51b81526004016104e690612b3b565b6104f8816114e2565b6001600160a01b038516610e7f5760405162461bcd60e51b81526004016104e690612bab565b6001600160a01b038616331480610ebe57506001600160a01b038616600090815260076020908152604080832033845290915290205460ff1615156001145b610eda5760405162461bcd60e51b81526004016104e690612b1b565b60008481526006602090815260408083206001600160a01b038a168452909152902054610f0d908463ffffffff6112bb16565b60008581526006602090815260408083206001600160a01b038b81168552925280832093909355871681522054610f459084906112cd565b60008581526006602090815260408083206001600160a01b03808b168086529190935292819020939093559151909188169033907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6290610fa89089908990612c1d565b60405180910390a4610fc2856001600160a01b03166112da565b1561100b5761100b338787878787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061152a92505050565b505050505050565b61101b610a9d565b6110375760405162461bcd60e51b81526004016104e690612b3b565b6104f8816115d9565b6001600160a01b03831633148061107f57506001600160a01b038316600090815260076020908152604080832033845290915290205460ff1615156001145b61109b5760405162461bcd60e51b81526004016104e690612b0b565b60008281526006602090815260408083206001600160a01b03871684529091529020546110ce908263ffffffff6112bb16565b60008381526006602090815260408083206001600160a01b038816808552925280832093909355915190919033907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f629061112b9087908790612c1d565b60405180910390a4505050565b61114960028263ffffffff61165b16565b6040516001600160a01b038216907f3525e22824a8a7df2c9a6029941c824cf95b6447f1e13d5128fd3826d35afe8b90600090a250565b6000818152600460209081526040918290208054835160026001831615610100026000190190921691909104601f810184900484028201840190945283815260609361040f9391929183018282801561121a5780601f106111ef5761010080835404028352916020019161121a565b820191906000526020600020905b8154815290600101906020018083116111fd57829003601f168201915b505060038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152955091935091508301828280156112a85780601f1061127d576101008083540402835291602001916112a8565b820191906000526020600020905b81548152906001019060200180831161128b57829003601f168201915b50505050506116a390919063ffffffff16565b6000828211156112c757fe5b50900390565b8181018281101561040f57fe5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061130e57508115155b949350505050565b60405163bc197c8160e01b808252906001600160a01b0386169063bc197c819061134c908a908a90899089908990600401612954565b602060405180830381600087803b15801561136657600080fd5b505af115801561137a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061139e91908101906120f0565b6001600160e01b0319161461100b5760405162461bcd60e51b81526004016104e690612b2b565b60006001600160a01b0382166113ed5760405162461bcd60e51b81526004016104e690612b4b565b506001600160a01b03166000908152602091909152604090205460ff1690565b3390565b8051611424906005906020840190611b8f565b5050565b8051611424906003906020840190611b8f565b6114ba600130896040516020016114539291906128fe565b60405160208183030381529060405280519060200120888888604051600081526020016040526040516114899493929190612a5c565b6020604051602081039080840390855afa1580156114ab573d6000803e3d6000fd5b50505060206040510351610a7a565b6114d65760405162461bcd60e51b81526004016104e690612bbb565b610d6d87848484611798565b6114f360028263ffffffff611ae616565b6040516001600160a01b038216907f47d1c22a25bb3a5d4e481b9b1e6944c2eade3181a0a20b495ed61d35b5323f2490600090a250565b60405163f23a6e6160e01b808252906001600160a01b0386169063f23a6e6190611560908a908a908990899089906004016129b4565b602060405180830381600087803b15801561157a57600080fd5b505af115801561158e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506115b291908101906120f0565b6001600160e01b0319161461100b5760405162461bcd60e51b81526004016104e690612b9b565b6001600160a01b0381166115ff5760405162461bcd60e51b81526004016104e690612acb565b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b61166582826113c5565b6116815760405162461bcd60e51b81526004016104e690612afb565b6001600160a01b0316600090815260209190915260409020805460ff19169055565b6060808390506060839050606081518351016040519080825280601f01601f1916602001820160405280156116df576020820181803883390190505b5090506000805b8451811015611737578481815181106116fb57fe5b602001015160f81c60f81b83838060010194508151811061171857fe5b60200101906001600160f81b031916908160001a9053506001016116e6565b5060005b835181101561178c5783818151811061175057fe5b602001015160f81c60f81b83838060010194508151811061176d57fe5b60200101906001600160f81b031916908160001a90535060010161173b565b50909695505050505050565b6000848152600860205260409020546001600160a01b0316156117cd5760405162461bcd60e51b81526004016104e690612b5b565b816117ea5760405162461bcd60e51b81526004016104e690612b6b565b600081511161180b5760405162461bcd60e51b81526004016104e690612bcb565b60008481526008602090815260409182902080546001600160a01b031916331790558451825181815281830281019092019092526060918015611858578160200160208202803883390190505b50905060608451604051908082528060200260200182016040528015611888578160200160208202803883390190505b50905060005b85518110156119fb5760006001600160a01b03168682815181106118ae57fe5b6020026020010151600001516001600160a01b031614156118e15760405162461bcd60e51b81526004016104e690612b8b565b8581815181106118ed57fe5b602002602001015160200151600014156119195760405162461bcd60e51b81526004016104e690612aab565b6000878152600960205260409020865187908390811061193557fe5b602090810291909101810151825460018082018555600094855293839020825160029092020180546001600160a01b0319166001600160a01b03909216919091178155910151910155855186908290811061198c57fe5b6020026020010151600001518382815181106119a457fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508581815181106119d057fe5b6020026020010151602001518282815181106119e857fe5b602090810291909101015260010161188e565b50845115611a3f577f99aba1d63749cfd5ad1afda7c4663840924d54eb5f005bbbeadedc6ec13674b2868383604051611a3693929190612be9565b60405180910390a15b60008681526006602090815260408083203384529091529020849055611a658684611b32565b604051339060009082907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6290611a9e908b908a90612c1d565b60405180910390a4857f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b84604051611ad69190612a9a565b60405180910390a2505050505050565b611af082826113c5565b15611b0d5760405162461bcd60e51b81526004016104e690612abb565b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6000828152600860205260409020546001600160a01b0316611b665760405162461bcd60e51b81526004016104e690612adb565b611424828260008281526004602090815260409091208251611b8a92840190611b8f565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611bd057805160ff1916838001178555611bfd565b82800160010185558215611bfd579182015b82811115611bfd578251825591602001919060010190611be2565b50611c09929150611c0d565b5090565b610a9a91905b80821115611c095760008155600101611c13565b803561040f81612d42565b60008083601f840112611c4457600080fd5b5081356001600160401b03811115611c5b57600080fd5b602083019150836020820283011115611c7357600080fd5b9250929050565b600082601f830112611c8b57600080fd5b8135611c9e611c9982612c51565b612c2b565b91508181835260208401935060208101905083856040840282011115611cc357600080fd5b60005b83811015611cf15781611cd98882611db7565b84525060209092019160409190910190600101611cc6565b5050505092915050565b803561040f81612d56565b803561040f81612d5f565b803561040f81612d68565b805161040f81612d68565b60008083601f840112611d3957600080fd5b5081356001600160401b03811115611d5057600080fd5b602083019150836001820283011115611c7357600080fd5b600082601f830112611d7957600080fd5b8135611d87611c9982612c71565b91508082526020830160208301858383011115611da357600080fd5b611dae838284612ce5565b50505092915050565b600060408284031215611dc957600080fd5b611dd36040612c2b565b90506000611de18484611c27565b8252506020611df284848301611d06565b60208301525092915050565b803561040f81612d71565b600060208284031215611e1b57600080fd5b600061130e8484611c27565b60008060408385031215611e3a57600080fd5b6000611e468585611c27565b9250506020611e5785828601611c27565b9150509250929050565b60008060008060008060008060a0898b031215611e7d57600080fd5b6000611e898b8b611c27565b9850506020611e9a8b828c01611c27565b97505060408901356001600160401b03811115611eb657600080fd5b611ec28b828c01611c32565b965096505060608901356001600160401b03811115611ee057600080fd5b611eec8b828c01611c32565b945094505060808901356001600160401b03811115611f0a57600080fd5b611f168b828c01611d27565b92509250509295985092959890939650565b60008060008060008060a08789031215611f4157600080fd5b6000611f4d8989611c27565b9650506020611f5e89828a01611c27565b9550506040611f6f89828a01611d06565b9450506060611f8089828a01611d06565b93505060808701356001600160401b03811115611f9c57600080fd5b611fa889828a01611d27565b92509250509295509295509295565b60008060408385031215611fca57600080fd5b6000611fd68585611c27565b9250506020611e5785828601611cfb565b60008060408385031215611ffa57600080fd5b60006120068585611c27565b9250506020611e5785828601611d06565b60008060006060848603121561202c57600080fd5b60006120388686611c27565b935050602061204986828701611d06565b925050604061205a86828701611d06565b9150509250925092565b6000806000806040858703121561207a57600080fd5b84356001600160401b0381111561209057600080fd5b61209c87828801611c32565b945094505060208501356001600160401b038111156120ba57600080fd5b6120c687828801611c32565b95989497509550505050565b6000602082840312156120e457600080fd5b600061130e8484611d11565b60006020828403121561210257600080fd5b600061130e8484611d1c565b60006020828403121561212057600080fd5b81356001600160401b0381111561213657600080fd5b61130e84828501611d68565b60006020828403121561215457600080fd5b600061130e8484611d06565b6000806040838503121561217357600080fd5b60006120068585611d06565b600080600080600080600060e0888a03121561219a57600080fd5b60006121a68a8a611d06565b97505060206121b78a828b01611dfe565b96505060406121c88a828b01611d06565b95505060606121d98a828b01611d06565b94505060808801356001600160401b038111156121f557600080fd5b6122018a828b01611c7a565b93505060a06122128a828b01611d06565b92505060c08801356001600160401b0381111561222e57600080fd5b61223a8a828b01611d68565b91505092959891949750929550565b60006122558383612269565b505060200190565b600061225583836123af565b61227281612cab565b82525050565b600061228382612c9e565b61228d8185612ca2565b935061229883612c98565b8060005b838110156122c65781516122b08882612249565b97506122bb83612c98565b92505060010161229c565b509495945050505050565b60006122dc82612c9e565b6122e68185612ca2565b93506122f183612c98565b8060005b838110156122c65781516123098882612249565b975061231483612c98565b9250506001016122f5565b600061232b8385612ca2565b93506001600160fb1b0383111561234157600080fd5b602083029250612352838584612ce5565b50500190565b600061236382612c9e565b61236d8185612ca2565b935061237883612c98565b8060005b838110156122c6578151612390888261225d565b975061239b83612c98565b92505060010161237c565b61227281612cb6565b61227281610a9a565b60006123c382612c9e565b6123cd8185612ca2565b93506123dd818560208601612cf1565b6123e681612d32565b9093019392505050565b6122726123fc82612cda565b612d21565b600061240e601c83612ca2565b7f4665652076616c75652073686f756c6420626520706f73697469766500000000815260200192915050565b6000612447601f83612ca2565b7f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500815260200192915050565b6000612480602683612ca2565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b602082015260400192915050565b60006124c8602083612ca2565b7f5f736574546f6b656e5552493a20546f6b656e2073686f756c64206578697374815260200192915050565b6000612501602583612ca2565b7f64657374696e6174696f6e2061646472657373206d757374206265206e6f6e2d8152643d32b9379760d91b602082015260400192915050565b6000612548602183612ca2565b7f526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c8152606560f81b602082015260400192915050565b600061258b602b83612ca2565b7f4e656564206f70657261746f7220617070726f76616c20666f7220337264207081526a30b93a3c90313ab937399760a91b602082015260400192915050565b60006125d8602f83612ca2565b7f4e656564206f70657261746f7220617070726f76616c20666f7220337264207081526e30b93a3c903a3930b739b332b9399760891b602082015260400192915050565b6000612629603e83612ca2565b7f636f6e74726163742072657475726e656420616e20756e6b6e6f776e2076616c81527f75652066726f6d206f6e45524331313535426174636852656365697665640000602082015260400192915050565b6000612688602083612ca2565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572815260200192915050565b60006126c1602283612ca2565b7f526f6c65733a206163636f756e7420697320746865207a65726f206164647265815261737360f01b602082015260400192915050565b6000612705601783612ca2565b7f546f6b656e20697320616c7265616479206d696e746564000000000000000000815260200192915050565b600061273e601983612ca2565b7f537570706c792073686f756c6420626520706f73697469766500000000000000815260200192915050565b6000612777602983612ca2565b7f5f69647320616e64205f76616c756573206172726179206c656e676874206d7581526839ba1036b0ba31b41760b91b602082015260400192915050565b60006127c2601b83612ca2565b7f526563697069656e742073686f756c642062652070726573656e740000000000815260200192915050565b60006127fb603983612ca2565b7f636f6e74726163742072657475726e656420616e20756e6b6e6f776e2076616c81527f75652066726f6d206f6e45524331313535526563656976656400000000000000602082015260400192915050565b600061285a601583612ca2565b742fba379036bab9ba103132903737b716bd32b9379760591b815260200192915050565b600061288b601a83612ca2565b7f7369676e65722073686f756c64207369676e20746f6b656e4964000000000000815260200192915050565b60006128c4601183612ca2565b701d5c9a481cda1bdd5b19081899481cd95d607a1b815260200192915050565b6122726128f082610a9a565b610a9a565b61227281612cd4565b600061290a82856123f0565b60148201915061291a82846128e4565b5060200192915050565b6020810161040f8284612269565b604081016129408285612269565b61294d60208301846123af565b9392505050565b60a081016129628288612269565b61296f6020830187612269565b81810360408301526129818186612358565b905081810360608301526129958185612358565b905081810360808301526129a981846123b8565b979650505050505050565b60a081016129c28288612269565b6129cf6020830187612269565b6129dc60408301866123af565b6129e960608301856123af565b81810360808301526129a981846123b8565b6020808252810161294d81846122d1565b60408082528101612a1e81868861231f565b90508181036020830152612a3381848661231f565b9695505050505050565b6020808252810161294d8184612358565b6020810161040f82846123a6565b60808101612a6a82876123af565b612a7760208301866128f5565b612a8460408301856123af565b612a9160608301846123af565b95945050505050565b6020808252810161294d81846123b8565b6020808252810161040f81612401565b6020808252810161040f8161243a565b6020808252810161040f81612473565b6020808252810161040f816124bb565b6020808252810161040f816124f4565b6020808252810161040f8161253b565b6020808252810161040f8161257e565b6020808252810161040f816125cb565b6020808252810161040f8161261c565b6020808252810161040f8161267b565b6020808252810161040f816126b4565b6020808252810161040f816126f8565b6020808252810161040f81612731565b6020808252810161040f8161276a565b6020808252810161040f816127b5565b6020808252810161040f816127ee565b6020808252810161040f8161284d565b6020808252810161040f8161287e565b6020808252810161040f816128b7565b6020810161040f82846123af565b60608101612bf782866123af565b8181036020830152612c098185612278565b90508181036040830152612a918184612358565b6040810161294082856123af565b6040518181016001600160401b0381118282101715612c4957600080fd5b604052919050565b60006001600160401b03821115612c6757600080fd5b5060209081020190565b60006001600160401b03821115612c8757600080fd5b506020601f91909101601f19160190565b60200190565b5190565b90815260200190565b600061040f82612cc8565b151590565b6001600160e01b03191690565b6001600160a01b031690565b60ff1690565b600061040f82612cab565b82818337506000910152565b60005b83811015612d0c578181015183820152602001612cf4565b83811115612d1b576000848401525b50505050565b600061040f82600061040f82612d3c565b601f01601f191690565b60601b90565b612d4b81612cab565b81146104f857600080fd5b612d4b81612cb6565b612d4b81610a9a565b612d4b81612cbb565b612d4b81612cd456fea365627a7a723158207063bdda34a1ef9960513e4e549a839c15c117d62710a82a3de03d89bd2e16ca6c6578706572696d656e74616cf564736f6c6343000511004000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000f03ba06dd459ae597357b491219fcb573f5fe6830000000000000000000000000000000000000000000000000000000000000006e69d82e7bbaa000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f6170692d6d61696e6e65742e72617269626c652e636f6d2f636f6e74726163744d657461646174612f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001968747470733a2f2f697066732e64616f6e6f6d69632e636f6d00000000000000

Deployed ByteCode Sourcemap

45952:597:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;45952:597:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24775:374;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;13901:135;;;;;;;;;:::i;:::-;;;;;;;;45058:18;;;:::i;:::-;;;;;;;;45554:97;;;;;;;;;:::i;:::-;;38610:104;;;;;;;;;:::i;40218:300::-;;;;;;;;;:::i;:::-;;;;;;;;22725:1798;;;;;;;;;:::i;25457:405::-;;;;;;;;;:::i;39661:38::-;;;;;;;;;:::i;:::-;;;;;;;;;37159:140;;;:::i;44412:109::-;;;;;;;;;:::i;36348:79::-;;;:::i;:::-;;;;;;;;36714:94;;;:::i;42867:115::-;;;;;;;;;:::i;45083:20::-;;;:::i;42732:127::-;;;;;;;;;:::i;26224:205::-;;;;;;;;;:::i;39866:344::-;;;;;;;;;:::i;:::-;;;;;;;;32977:28;;;:::i;46357:189::-;;;;;;;;;:::i;39591:44::-;;;;;;;;;:::i;44629:79::-;;;:::i;32306:25::-;;;:::i;26716:151::-;;;;;;;;;:::i;45455:91::-;;;;;;;;;:::i;20132:945::-;;;;;;;;;:::i;37454:109::-;;;;;;;;;:::i;41763:507::-;;;;;;;;;:::i;24775:374::-;24846:7;25120:13;;;:8;:13;;;;;;;;-1:-1:-1;;;;;25120:21:0;;;;;;;;;;24775:374;;;;;:::o;13901:135::-;-1:-1:-1;;;;;;13995:33:0;13971:4;13995:33;;;;;;;;;;;;;;13901:135::o;45058:18::-;;;;;;;;;;;;;;;-1:-1:-1;;45058:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45554:97::-;36560:9;:7;:9::i;:::-;36552:54;;;;-1:-1:-1;;;36552:54:0;;;;;;;;;;;;;;;;;45621:22;45635:7;45621:13;:22::i;:::-;45554:97;:::o;38610:104::-;38659:13;38692:14;38702:3;38692:9;:14::i;40218:300::-;40317:8;;;;:4;:8;;;;;;;;40296:29;;;;;;;;;;;;;;;;;40270:13;;;;40296:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40296:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40336:20;40370:5;:12;40359:24;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;40359:24:0;-1:-1:-1;40336:47:0;-1:-1:-1;40399:6:0;40394:93;40415:5;:12;40411:1;:16;40394:93;;;40461:5;40467:1;40461:8;;;;;;;;;;;;;;:14;;;40449:6;40456:1;40449:9;;;;;;;;;;;;;;;;;:26;40429:3;;40394:93;;;-1:-1:-1;40504:6:0;40218:300;-1:-1:-1;;;40218:300:0:o;22725:1798::-;-1:-1:-1;;;;;22922:19:0;;22914:69;;;;-1:-1:-1;;;22914:69:0;;;;;;;;;23002:29;;;22994:83;;;;-1:-1:-1;;;22994:83:0;;;;;;;;;-1:-1:-1;;;;;23096:19:0;;23105:10;23096:19;;:66;;-1:-1:-1;;;;;;23119:23:0;;;;;;:16;:23;;;;;;;;23143:10;23119:35;;;;;;;;;;:43;;:35;:43;23096:66;23088:126;;;;-1:-1:-1;;;23088:126:0;;;;;;;;;23232:9;23227:388;23247:15;;;23227:388;;;23284:10;23297:4;;23302:1;23297:7;;;;;;;;;;;;;23284:20;;23319:13;23335:7;;23343:1;23335:10;;;;;;;;;;;;;23319:26;;23508:30;23532:5;23508:8;:12;23517:2;23508:12;;;;;;;;;;;:19;23521:5;-1:-1:-1;;;;;23508:19:0;-1:-1:-1;;;;;23508:19:0;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;23486:8;:12;23495:2;23486:12;;;;;;;;;;;:19;23499:5;-1:-1:-1;;;;;23486:19:0;-1:-1:-1;;;;;23486:19:0;;;;;;;;;;;;:52;;;;23575:28;23585:8;:12;23594:2;23585:12;;;;;;;;;;;:17;23598:3;-1:-1:-1;;;;;23585:17:0;-1:-1:-1;;;;;23585:17:0;;;;;;;;;;;;;23575:5;:9;;:28;;;;:::i;:::-;23553:12;;;;:8;:12;;;;;;;;-1:-1:-1;;;;;23553:17:0;;;;;;;;;;:50;;;;-1:-1:-1;23264:3:0;;23227:388;;;;24206:3;-1:-1:-1;;;;;24173:52:0;24199:5;-1:-1:-1;;;;;24173:52:0;24187:10;-1:-1:-1;;;;;24173:52:0;;24211:4;;24217:7;;24173:52;;;;;;;;;;;;;;;;;;24390:16;:3;-1:-1:-1;;;;;24390:14:0;;:16::i;:::-;24386:130;;;24423:81;24459:10;24471:5;24478:3;24483:4;;24423:81;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;24423:81:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24489:7:0;;-1:-1:-1;24489:7:0;;;;24423:81;;;24489:7;;24423:81;24489:7;24423:81;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;;24423:81:0;;;;137:4:-1;24423:81:0;;;;;;;;;;;;;;;;;;-1:-1:-1;24498:5:0;;-1:-1:-1;24498:5:0;;;;24423:81;;24498:5;;;;24423:81;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;24423:35:0;;-1:-1:-1;;;24423:81:0:i;:::-;22725:1798;;;;;;;;:::o;25457:405::-;25557:16;25596:29;;;25588:38;;;;;;25668:29;;;;;;;;;;;;;;;;25639:26;;25682:7;25668:29;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;25668:29:0;-1:-1:-1;25639:58:0;-1:-1:-1;25715:9:0;25710:116;25730:18;;;25710:116;;;25785:8;:17;25794:4;;25799:1;25794:7;;;;;;;;;;;;;25785:17;;;;;;;;;;;:29;25803:7;;25811:1;25803:10;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25785:29:0;-1:-1:-1;;;;;25785:29:0;;;;;;;;;;;;;25770:9;25780:1;25770:12;;;;;;;;;;;;;;;;;:44;25750:3;;25710:116;;;-1:-1:-1;25845:9:0;25457:405;-1:-1:-1;;;;;25457:405:0:o;39661:38::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39661:38:0;;;;-1:-1:-1;39661:38:0;-1:-1:-1;39661:38:0;:::o;37159:140::-;36560:9;:7;:9::i;:::-;36552:54;;;;-1:-1:-1;;;36552:54:0;;;;;;;;;37242:6;;37221:40;;37258:1;;-1:-1:-1;;;;;37242:6:0;;37221:40;;37258:1;;37221:40;37272:6;:19;;-1:-1:-1;;;;;;37272:19:0;;;37159:140::o;44412:109::-;44468:4;44492:21;:8;44505:7;44492:21;:12;:21;:::i;36348:79::-;36413:6;;-1:-1:-1;;;;;36413:6:0;36348:79;;:::o;36714:94::-;36794:6;;36754:4;;-1:-1:-1;;;;;36794:6:0;36778:12;:10;:12::i;:::-;-1:-1:-1;;;;;36778:22:0;;36771:29;;36714:94;:::o;42867:115::-;36560:9;:7;:9::i;:::-;36552:54;;;;-1:-1:-1;;;36552:54:0;;;;;;;;;42946:28;42962:11;42946:15;:28::i;45083:20::-;;;;;;;;;;;;;;;-1:-1:-1;;45083:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42732:127;36560:9;:7;:9::i;:::-;36552:54;;;;-1:-1:-1;;;36552:54:0;;;;;;;;;42817:34;42836:14;42817:18;:34::i;26224:205::-;26323:10;26306:28;;;;:16;:28;;;;;;;;-1:-1:-1;;;;;26306:39:0;;;;;;;;;;;:51;;-1:-1:-1;;26306:51:0;;;;;;;26373:48;;26306:39;;26323:10;26373:48;;;;26306:51;;26373:48;;;;;;;;;;26224:205;;:::o;39866:344::-;39983:8;;;;:4;:8;;;;;;;;39962:29;;;;;;;;;;;;;;;;;39925:24;;;;39962:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;39962:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40002:31;40058:5;:12;40036:35;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;40036:35:0;-1:-1:-1;40002:69:0;-1:-1:-1;40087:6:0;40082:97;40103:5;:12;40099:1;:16;40082:97;;;40149:5;40155:1;40149:8;;;;;;;;;;;;;;:18;;;40137:6;40144:1;40137:9;;;;;;;;-1:-1:-1;;;;;40137:30:0;;;:9;;;;;;;;;;;:30;40117:3;;40082:97;;32977:28;;;;;;;;;;;;;;;-1:-1:-1;;32977:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46357:189;36560:9;:7;:9::i;:::-;36552:54;;;;-1:-1:-1;;;36552:54:0;;;;;;;;;46496:42;46507:2;46511:1;46514;46517;46520:4;46526:6;46534:3;46496:10;:42::i;:::-;46357:189;;;;;;;:::o;39591:44::-;;;;;;;;;;;;-1:-1:-1;;;;;39591:44:0;;:::o;44629:79::-;44673:27;44687:12;:10;:12::i;:::-;44673:13;:27::i;:::-;44629:79::o;32306:25::-;;;;;;;;;;;;;;;-1:-1:-1;;32306:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26716:151;-1:-1:-1;;;;;26824:24:0;;;26800:4;26824:24;;;:16;:24;;;;;;;;:35;;;;;;;;;;;;;;;26716:151::o;45455:91::-;36560:9;:7;:9::i;:::-;36552:54;;;;-1:-1:-1;;;36552:54:0;;;;;;;;;45519:19;45530:7;45519:10;:19::i;20132:945::-;-1:-1:-1;;;;;20267:19:0;;20259:53;;;;-1:-1:-1;;;20259:53:0;;;;;;;;;-1:-1:-1;;;;;20331:19:0;;20340:10;20331:19;;:66;;-1:-1:-1;;;;;;20354:23:0;;;;;;:16;:23;;;;;;;;20378:10;20354:35;;;;;;;;;;:43;;:35;:43;20331:66;20323:126;;;;-1:-1:-1;;;20323:126:0;;;;;;;;;20601:13;;;;:8;:13;;;;;;;;-1:-1:-1;;;;;20601:20:0;;;;;;;;;;:32;;20626:6;20601:32;:24;:32;:::i;:::-;20578:13;;;;:8;:13;;;;;;;;-1:-1:-1;;;;;20578:20:0;;;;;;;;;;:55;;;;20678:18;;;;;;20667:30;;:6;;:10;:30::i;:::-;20644:13;;;;:8;:13;;;;;;;;-1:-1:-1;;;;;20644:18:0;;;;;;;;;;;;;;:53;;;;20743:51;;20644:18;;20743:51;;;20758:10;;20743:51;;;;20653:3;;20787:6;;20743:51;;;;;;;;;;20951:16;:3;-1:-1:-1;;;;;20951:14:0;;:16::i;:::-;20947:123;;;20984:74;21015:10;21027:5;21034:3;21039;21044:6;21052:5;;20984:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;20984:30:0;;-1:-1:-1;;;20984:74:0:i;:::-;20132:945;;;;;;:::o;37454:109::-;36560:9;:7;:9::i;:::-;36552:54;;;;-1:-1:-1;;;36552:54:0;;;;;;;;;37527:28;37546:8;37527:18;:28::i;41763:507::-;-1:-1:-1;;;;;41852:20:0;;41862:10;41852:20;;:68;;-1:-1:-1;;;;;;41876:24:0;;;;;;:16;:24;;;;;;;;41901:10;41876:36;;;;;;;;;;:44;;:36;:44;41852:68;41844:124;;;;-1:-1:-1;;;41844:124:0;;;;;;;;;42122:13;;;;:8;:13;;;;;;;;-1:-1:-1;;;;;42122:21:0;;;;;;;;;;:33;;42148:6;42122:33;:25;:33;:::i;:::-;42098:13;;;;:8;:13;;;;;;;;-1:-1:-1;;;;;42098:21:0;;;;;;;;;;:57;;;;42201:61;;42098:13;;:21;42216:10;;42201:61;;;;42107:3;;42255:6;;42201:61;;;;;;;;;;41763:507;;;:::o;44846:130::-;44906:24;:8;44922:7;44906:24;:15;:24;:::i;:::-;44946:22;;-1:-1:-1;;;;;44946:22:0;;;;;;;;44846:130;:::o;33416:142::-;33530:19;;;;:10;:19;;;;;;;;;33508:42;;;;;;;;;;;-1:-1:-1;;33508:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;33475:13;;33508:42;;;;33530:19;33508:42;;33530:19;33508:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33508:14:0;:21;;;;;;;;-1:-1:-1;;33508:21:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33508:14:0;;-1:-1:-1;33508:21:0;-1:-1:-1;33508:21:0;;:14;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:42;;;;:::i;1196:123::-;1254:7;1286:1;1281;:6;;1274:14;;;;-1:-1:-1;1306:5:0;;;1196:123::o;1394:141::-;1478:5;;;1501:6;;;;1494:14;;;15325:619;15385:4;15853:20;;15696:66;15893:23;;;;;;:42;;-1:-1:-1;15920:15:0;;;15893:42;15885:51;15325:619;-1:-1:-1;;;;15325:619:0:o;28123:1189::-;29123:88;;-1:-1:-1;;;29123:88:0;;;29215:22;-1:-1:-1;;;;;29123:48:0;;;1834:10;;29123:88;;29172:9;;29183:5;;29190:4;;29196:7;;29205:5;;29123:88;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29123:88:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;29123:88:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;29123:88:0;;;;;;;;;-1:-1:-1;;;;;;29123:114:0;;29115:189;;;;-1:-1:-1;;;29115:189:0;;;;;;;;43772:203;43844:4;-1:-1:-1;;;;;43869:21:0;;43861:68;;;;-1:-1:-1;;;43861:68:0;;;;;;;;;-1:-1:-1;;;;;;43947:20:0;:11;:20;;;;;;;;;;;;;;;43772:203::o;35139:98::-;35219:10;35139:98;:::o;32772:107::-;32845:26;;;;:11;;:26;;;;;:::i;:::-;;32772:107;:::o;34061:119::-;34140:32;;;;:14;;:32;;;;;:::i;45659:282::-;45796:67;45805:57;45842:4;45848:2;45825:26;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;45825:26:0;;;45815:37;;;;;;45854:1;45857;45860;45805:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45805:57:0;;;;;;;;45796:8;:67::i;:::-;45788:106;;;;-1:-1:-1;;;45788:106:0;;;;;;;;;45905:28;45911:2;45915:4;45921:6;45929:3;45905:5;:28::i;44716:122::-;44773:21;:8;44786:7;44773:21;:12;:21;:::i;:::-;44810:20;;-1:-1:-1;;;;;44810:20:0;;;;;;;;44716:122;:::o;26978:1137::-;27944:81;;-1:-1:-1;;;27944:81:0;;;28029:16;-1:-1:-1;;;;;27944:43:0;;;1686:10;;27944:81;;27988:9;;27999:5;;28006:3;;28011:6;;28019:5;;27944:81;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27944:81:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27944:81:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;27944:81:0;;;;;;;;;-1:-1:-1;;;;;;27944:101:0;;27936:171;;;;-1:-1:-1;;;27936:171:0;;;;;;;;37669:229;-1:-1:-1;;;;;37743:22:0;;37735:73;;;;-1:-1:-1;;;37735:73:0;;;;;;;;;37845:6;;37824:38;;-1:-1:-1;;;;;37824:38:0;;;;37845:6;;37824:38;;37845:6;;37824:38;37873:6;:17;;-1:-1:-1;;;;;;37873:17:0;-1:-1:-1;;;;;37873:17:0;;;;;;;;;;37669:229::o;43494:183::-;43574:18;43578:4;43584:7;43574:3;:18::i;:::-;43566:64;;;;-1:-1:-1;;;43566:64:0;;;;;;;;;-1:-1:-1;;;;;43641:20:0;43664:5;43641:20;;;;;;;;;;;:28;;-1:-1:-1;;43641:28:0;;;43494:183::o;29891:422::-;29966:13;29992:16;30017:2;29992:28;;30031:16;30056:2;30031:28;;30070:16;30112:3;:10;30099:3;:10;:23;30089:34;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;30089:34:0;87::-1;135:17;;-1:-1;30089:34:0;-1:-1:-1;30070:53:0;-1:-1:-1;30134:6:0;;30155:55;30176:3;:10;30172:1;:14;30155:55;;;30204:3;30208:1;30204:6;;;;;;;;;;;;;;;;30193:3;30197;;;;;;30193:8;;;;;;;;;;;:17;-1:-1:-1;;;;;30193:17:0;;;;;;;;-1:-1:-1;30188:3:0;;30155:55;;;-1:-1:-1;30226:6:0;30221:55;30242:3;:10;30238:1;:14;30221:55;;;30270:3;30274:1;30270:6;;;;;;;;;;;;;;;;30259:3;30263;;;;;;30259:8;;;;;;;;;;;:17;-1:-1:-1;;;;;30259:17:0;;;;;;;;-1:-1:-1;30254:3:0;;30221:55;;;-1:-1:-1;30301:3:0;;29891:422;-1:-1:-1;;;;;;29891:422:0:o;40596:1159::-;40734:3;40709:13;;;:8;:13;;;;;;-1:-1:-1;;;;;40709:13:0;:29;40701:65;;;;-1:-1:-1;;;40701:65:0;;;;;;;;;40785:12;40777:50;;;;-1:-1:-1;;;40777:50:0;;;;;;;;;40867:1;40852:4;40846:18;:22;40838:52;;;;-1:-1:-1;;;40838:52:0;;;;;;;;;40903:13;;;;:8;:13;;;;;;;;;:26;;-1:-1:-1;;;;;;40903:26:0;40919:10;40903:26;;;40984:12;;40970:27;;;;;;;;;;;;;;;;40940;;40970;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;40970:27:0;;40940:57;;41008:17;41039:5;:12;41028:24;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;41028:24:0;-1:-1:-1;41008:44:0;-1:-1:-1;41068:6:0;41063:342;41084:5;:12;41080:1;:16;41063:342;;;41156:3;-1:-1:-1;;;;;41126:34:0;:5;41132:1;41126:8;;;;;;;;;;;;;;:18;;;-1:-1:-1;;;;;41126:34:0;;;41118:74;;;;-1:-1:-1;;;41118:74:0;;;;;;;;;41215:5;41221:1;41215:8;;;;;;;;;;;;;;:14;;;41233:1;41215:19;;41207:60;;;;-1:-1:-1;;;41207:60:0;;;;;;;;;41282:9;;;;:4;:9;;;;;41297:8;;:5;;41303:1;;41297:8;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;-1:-1;41282:24:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;41282:24:0;-1:-1:-1;;;;;41282:24:0;;;;;;;;;;;;;;;41337:8;;;;41343:1;;41337:8;;;;;;;;;;;;:18;;;41321:10;41332:1;41321:13;;;;;;;;;;;;;:34;-1:-1:-1;;;;;41321:34:0;;;-1:-1:-1;;;;;41321:34:0;;;;;41379:5;41385:1;41379:8;;;;;;;;;;;;;;:14;;;41370:3;41374:1;41370:6;;;;;;;;;;;;;;;;;:23;41098:3;;41063:342;;;-1:-1:-1;41419:12:0;;:16;41415:93;;41457:39;41475:3;41480:10;41492:3;41457:39;;;;;;;;;;;;;;;;;41415:93;41518:13;;;;:8;:13;;;;;;;;41532:10;41518:25;;;;;;;:35;;;41564:23;41527:3;41582:4;41564:12;:23::i;:::-;41651:66;;41692:10;;41686:3;;41692:10;;41651:66;;;;41704:3;;41709:7;;41651:66;;;;;;;;;;41743:3;41733:14;41737:4;41733:14;;;;;;;;;;;;;;;40596:1159;;;;;;:::o;43236:178::-;43314:18;43318:4;43324:7;43314:3;:18::i;:::-;43313:19;43305:63;;;;-1:-1:-1;;;43305:63:0;;;;;;;;;-1:-1:-1;;;;;43379:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;43379:27:0;43402:4;43379:27;;;43236:178::o;42517:207::-;42632:3;42603:17;;;:8;:17;;;;;;-1:-1:-1;;;;;42603:17:0;42595:78;;;;-1:-1:-1;;;42595:78:0;;;;;;;;;42684:32;42703:7;42712:3;33883:19;;;;:10;:19;;;;;;;;:25;;;;;;;;:::i;:::-;;33805:111;;:::o;45952:597::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45952:597:0;;;-1:-1:-1;45952:597:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;5:130:-1;72:20;;97:33;72:20;97:33;;313:352;;;443:3;436:4;428:6;424:17;420:27;410:2;;461:1;458;451:12;410:2;-1:-1;481:20;;-1:-1;;;;;510:30;;507:2;;;553:1;550;543:12;507:2;587:4;579:6;575:17;563:29;;638:3;630:4;622:6;618:17;608:8;604:32;601:41;598:2;;;655:1;652;645:12;598:2;403:262;;;;;;706:758;;840:3;833:4;825:6;821:17;817:27;807:2;;858:1;855;848:12;807:2;895:6;882:20;917:97;932:81;1006:6;932:81;;;917:97;;;908:106;;1031:5;1056:6;1049:5;1042:21;1086:4;1078:6;1074:17;1064:27;;1108:4;1103:3;1099:14;1092:21;;1161:6;1208:3;1200:4;1192:6;1188:17;1183:3;1179:27;1176:36;1173:2;;;1225:1;1222;1215:12;1173:2;1250:1;1235:223;1260:6;1257:1;1254:13;1235:223;;;1318:3;1340:54;1390:3;1378:10;1340:54;;;1328:67;;-1:-1;1418:4;1409:14;;;;1446:4;1437:14;;;;;1282:1;1275:9;1235:223;;;1239:14;800:664;;;;;;;;1850:124;1914:20;;1939:30;1914:20;1939:30;;1981:130;2048:20;;2073:33;2048:20;2073:33;;2118:128;2184:20;;2209:32;2184:20;2209:32;;2253:132;2330:13;;2348:32;2330:13;2348:32;;2406:336;;;2520:3;2513:4;2505:6;2501:17;2497:27;2487:2;;2538:1;2535;2528:12;2487:2;-1:-1;2558:20;;-1:-1;;;;;2587:30;;2584:2;;;2630:1;2627;2620:12;2584:2;2664:4;2656:6;2652:17;2640:29;;2715:3;2707:4;2699:6;2695:17;2685:8;2681:32;2678:41;2675:2;;;2732:1;2729;2722:12;2751:442;;2853:3;2846:4;2838:6;2834:17;2830:27;2820:2;;2871:1;2868;2861:12;2820:2;2908:6;2895:20;2930:65;2945:49;2987:6;2945:49;;2930:65;2921:74;;3015:6;3008:5;3001:21;3051:4;3043:6;3039:17;3084:4;3077:5;3073:16;3119:3;3110:6;3105:3;3101:16;3098:25;3095:2;;;3136:1;3133;3126:12;3095:2;3146:41;3180:6;3175:3;3170;3146:41;;;2813:380;;;;;;;;3230:473;;3336:4;3324:9;3319:3;3315:19;3311:30;3308:2;;;3354:1;3351;3344:12;3308:2;3372:20;3387:4;3372:20;;;3363:29;-1:-1;3447:1;3479:57;3532:3;3512:9;3479:57;;;3454:83;;-1:-1;3599:2;3632:49;3677:3;3653:22;;;3632:49;;;3625:4;3618:5;3614:16;3607:75;3558:135;3302:401;;;;;3847:126;3912:20;;3937:31;3912:20;3937:31;;3980:241;;4084:2;4072:9;4063:7;4059:23;4055:32;4052:2;;;4100:1;4097;4090:12;4052:2;4135:1;4152:53;4197:7;4177:9;4152:53;;4228:366;;;4349:2;4337:9;4328:7;4324:23;4320:32;4317:2;;;4365:1;4362;4355:12;4317:2;4400:1;4417:53;4462:7;4442:9;4417:53;;;4407:63;;4379:97;4507:2;4525:53;4570:7;4561:6;4550:9;4546:22;4525:53;;;4515:63;;4486:98;4311:283;;;;;;4601:1179;;;;;;;;;4862:3;4850:9;4841:7;4837:23;4833:33;4830:2;;;4879:1;4876;4869:12;4830:2;4914:1;4931:53;4976:7;4956:9;4931:53;;;4921:63;;4893:97;5021:2;5039:53;5084:7;5075:6;5064:9;5060:22;5039:53;;;5029:63;;5000:98;5157:2;5146:9;5142:18;5129:32;-1:-1;;;;;5173:6;5170:30;5167:2;;;5213:1;5210;5203:12;5167:2;5241:80;5313:7;5304:6;5293:9;5289:22;5241:80;;;5231:90;;;;5108:219;5386:2;5375:9;5371:18;5358:32;-1:-1;;;;;5402:6;5399:30;5396:2;;;5442:1;5439;5432:12;5396:2;5470:80;5542:7;5533:6;5522:9;5518:22;5470:80;;;5460:90;;;;5337:219;5615:3;5604:9;5600:19;5587:33;-1:-1;;;;;5632:6;5629:30;5626:2;;;5672:1;5669;5662:12;5626:2;5700:64;5756:7;5747:6;5736:9;5732:22;5700:64;;;5690:74;;;;5566:204;4824:956;;;;;;;;;;;;5787:867;;;;;;;5978:3;5966:9;5957:7;5953:23;5949:33;5946:2;;;5995:1;5992;5985:12;5946:2;6030:1;6047:53;6092:7;6072:9;6047:53;;;6037:63;;6009:97;6137:2;6155:53;6200:7;6191:6;6180:9;6176:22;6155:53;;;6145:63;;6116:98;6245:2;6263:53;6308:7;6299:6;6288:9;6284:22;6263:53;;;6253:63;;6224:98;6353:2;6371:53;6416:7;6407:6;6396:9;6392:22;6371:53;;;6361:63;;6332:98;6489:3;6478:9;6474:19;6461:33;-1:-1;;;;;6506:6;6503:30;6500:2;;;6546:1;6543;6536:12;6500:2;6574:64;6630:7;6621:6;6610:9;6606:22;6574:64;;;6564:74;;;;6440:204;5940:714;;;;;;;;;6661:360;;;6779:2;6767:9;6758:7;6754:23;6750:32;6747:2;;;6795:1;6792;6785:12;6747:2;6830:1;6847:53;6892:7;6872:9;6847:53;;;6837:63;;6809:97;6937:2;6955:50;6997:7;6988:6;6977:9;6973:22;6955:50;;7028:366;;;7149:2;7137:9;7128:7;7124:23;7120:32;7117:2;;;7165:1;7162;7155:12;7117:2;7200:1;7217:53;7262:7;7242:9;7217:53;;;7207:63;;7179:97;7307:2;7325:53;7370:7;7361:6;7350:9;7346:22;7325:53;;7401:491;;;;7539:2;7527:9;7518:7;7514:23;7510:32;7507:2;;;7555:1;7552;7545:12;7507:2;7590:1;7607:53;7652:7;7632:9;7607:53;;;7597:63;;7569:97;7697:2;7715:53;7760:7;7751:6;7740:9;7736:22;7715:53;;;7705:63;;7676:98;7805:2;7823:53;7868:7;7859:6;7848:9;7844:22;7823:53;;;7813:63;;7784:98;7501:391;;;;;;7899:678;;;;;8090:2;8078:9;8069:7;8065:23;8061:32;8058:2;;;8106:1;8103;8096:12;8058:2;8141:31;;-1:-1;;;;;8181:30;;8178:2;;;8224:1;8221;8214:12;8178:2;8252:80;8324:7;8315:6;8304:9;8300:22;8252:80;;;8242:90;;;;8120:218;8397:2;8386:9;8382:18;8369:32;-1:-1;;;;;8413:6;8410:30;8407:2;;;8453:1;8450;8443:12;8407:2;8481:80;8553:7;8544:6;8533:9;8529:22;8481:80;;;8052:525;;;;-1:-1;8471:90;-1:-1;;;;8052:525;8584:239;;8687:2;8675:9;8666:7;8662:23;8658:32;8655:2;;;8703:1;8700;8693:12;8655:2;8738:1;8755:52;8799:7;8779:9;8755:52;;8830:261;;8944:2;8932:9;8923:7;8919:23;8915:32;8912:2;;;8960:1;8957;8950:12;8912:2;8995:1;9012:63;9067:7;9047:9;9012:63;;9098:347;;9212:2;9200:9;9191:7;9187:23;9183:32;9180:2;;;9228:1;9225;9218:12;9180:2;9263:31;;-1:-1;;;;;9303:30;;9300:2;;;9346:1;9343;9336:12;9300:2;9366:63;9421:7;9412:6;9401:9;9397:22;9366:63;;9452:241;;9556:2;9544:9;9535:7;9531:23;9527:32;9524:2;;;9572:1;9569;9562:12;9524:2;9607:1;9624:53;9669:7;9649:9;9624:53;;9700:366;;;9821:2;9809:9;9800:7;9796:23;9792:32;9789:2;;;9837:1;9834;9827:12;9789:2;9872:1;9889:53;9934:7;9914:9;9889:53;;10073:1267;;;;;;;;10329:3;10317:9;10308:7;10304:23;10300:33;10297:2;;;10346:1;10343;10336:12;10297:2;10381:1;10398:53;10443:7;10423:9;10398:53;;;10388:63;;10360:97;10488:2;10506:51;10549:7;10540:6;10529:9;10525:22;10506:51;;;10496:61;;10467:96;10594:2;10612:53;10657:7;10648:6;10637:9;10633:22;10612:53;;;10602:63;;10573:98;10702:2;10720:53;10765:7;10756:6;10745:9;10741:22;10720:53;;;10710:63;;10681:98;10838:3;10827:9;10823:19;10810:33;-1:-1;;;;;10855:6;10852:30;10849:2;;;10895:1;10892;10885:12;10849:2;10915:95;11002:7;10993:6;10982:9;10978:22;10915:95;;;10905:105;;10789:227;11047:3;11066:53;11111:7;11102:6;11091:9;11087:22;11066:53;;;11056:63;;11026:99;11184:3;11173:9;11169:19;11156:33;-1:-1;;;;;11201:6;11198:30;11195:2;;;11241:1;11238;11231:12;11195:2;11261:63;11316:7;11307:6;11296:9;11292:22;11261:63;;;11251:73;;11135:195;10291:1049;;;;;;;;;;;11348:205;;11451:62;11509:3;11501:6;11451:62;;;-1:-1;;11542:4;11533:14;;11444:109;11744:173;;11831:46;11873:3;11865:6;11831:46;;11925:127;12014:32;12040:5;12014:32;;;12009:3;12002:45;11996:56;;;12464:690;;12609:54;12657:5;12609:54;;;12676:86;12755:6;12750:3;12676:86;;;12669:93;;12783:56;12833:5;12783:56;;;12859:7;12887:1;12872:260;12897:6;12894:1;12891:13;12872:260;;;12964:6;12958:13;12985:63;13044:3;13029:13;12985:63;;;12978:70;;13065:60;13118:6;13065:60;;;13055:70;-1:-1;;12919:1;12912:9;12872:260;;;-1:-1;13145:3;;12588:566;-1:-1;;;;;12588:566;13209:754;;13370:62;13426:5;13370:62;;;13445:94;13532:6;13527:3;13445:94;;;13438:101;;13560:64;13618:5;13560:64;;;13644:7;13672:1;13657:284;13682:6;13679:1;13676:13;13657:284;;;13749:6;13743:13;13770:79;13845:3;13830:13;13770:79;;;13763:86;;13866:68;13927:6;13866:68;;;13856:78;-1:-1;;13704:1;13697:9;13657:284;;14002:467;;14148:86;14227:6;14222:3;14148:86;;;14141:93;;-1:-1;;;;;14253:6;14250:78;14247:2;;;14341:1;14338;14331:12;14247:2;14374:4;14366:6;14362:17;14352:27;;14391:43;14427:6;14422:3;14415:5;14391:43;;;-1:-1;;14447:16;;14134:335;14508:690;;14653:54;14701:5;14653:54;;;14720:86;14799:6;14794:3;14720:86;;;14713:93;;14827:56;14877:5;14827:56;;;14903:7;14931:1;14916:260;14941:6;14938:1;14935:13;14916:260;;;15008:6;15002:13;15029:63;15088:3;15073:13;15029:63;;;15022:70;;15109:60;15162:6;15109:60;;;15099:70;-1:-1;;14963:1;14956:9;14916:260;;15206:104;15283:21;15298:5;15283:21;;15317:113;15400:24;15418:5;15400:24;;15437:343;;15547:38;15579:5;15547:38;;;15597:70;15660:6;15655:3;15597:70;;;15590:77;;15672:52;15717:6;15712:3;15705:4;15698:5;15694:16;15672:52;;;15745:29;15767:6;15745:29;;;15736:39;;;;15527:253;-1:-1;;;15527:253;15787:207;15909:79;15929:58;15981:5;15929:58;;;15909:79;;16702:328;;16862:67;16926:2;16921:3;16862:67;;;16962:30;16942:51;;17021:2;17012:12;;16848:182;-1:-1;;16848:182;17039:331;;17199:67;17263:2;17258:3;17199:67;;;17299:33;17279:54;;17361:2;17352:12;;17185:185;-1:-1;;17185:185;17379:375;;17539:67;17603:2;17598:3;17539:67;;;17639:34;17619:55;;-1:-1;;;17703:2;17694:12;;17687:30;17745:2;17736:12;;17525:229;-1:-1;;17525:229;17763:332;;17923:67;17987:2;17982:3;17923:67;;;18023:34;18003:55;;18086:2;18077:12;;17909:186;-1:-1;;17909:186;18104:374;;18264:67;18328:2;18323:3;18264:67;;;18364:34;18344:55;;-1:-1;;;18428:2;18419:12;;18412:29;18469:2;18460:12;;18250:228;-1:-1;;18250:228;18487:370;;18647:67;18711:2;18706:3;18647:67;;;18747:34;18727:55;;-1:-1;;;18811:2;18802:12;;18795:25;18848:2;18839:12;;18633:224;-1:-1;;18633:224;18866:380;;19026:67;19090:2;19085:3;19026:67;;;19126:34;19106:55;;-1:-1;;;19190:2;19181:12;;19174:35;19237:2;19228:12;;19012:234;-1:-1;;19012:234;19255:384;;19415:67;19479:2;19474:3;19415:67;;;19515:34;19495:55;;-1:-1;;;19579:2;19570:12;;19563:39;19630:2;19621:12;;19401:238;-1:-1;;19401:238;19648:399;;19808:67;19872:2;19867:3;19808:67;;;19908:34;19888:55;;19977:32;19972:2;19963:12;;19956:54;20038:2;20029:12;;19794:253;-1:-1;;19794:253;20056:332;;20216:67;20280:2;20275:3;20216:67;;;20316:34;20296:55;;20379:2;20370:12;;20202:186;-1:-1;;20202:186;20397:371;;20557:67;20621:2;20616:3;20557:67;;;20657:34;20637:55;;-1:-1;;;20721:2;20712:12;;20705:26;20759:2;20750:12;;20543:225;-1:-1;;20543:225;20777:323;;20937:67;21001:2;20996:3;20937:67;;;21037:25;21017:46;;21091:2;21082:12;;20923:177;-1:-1;;20923:177;21109:325;;21269:67;21333:2;21328:3;21269:67;;;21369:27;21349:48;;21425:2;21416:12;;21255:179;-1:-1;;21255:179;21443:378;;21603:67;21667:2;21662:3;21603:67;;;21703:34;21683:55;;-1:-1;;;21767:2;21758:12;;21751:33;21812:2;21803:12;;21589:232;-1:-1;;21589:232;21830:327;;21990:67;22054:2;22049:3;21990:67;;;22090:29;22070:50;;22148:2;22139:12;;21976:181;-1:-1;;21976:181;22166:394;;22326:67;22390:2;22385:3;22326:67;;;22426:34;22406:55;;22495:27;22490:2;22481:12;;22474:49;22551:2;22542:12;;22312:248;-1:-1;;22312:248;22569:321;;22729:67;22793:2;22788:3;22729:67;;;-1:-1;;;22809:44;;22881:2;22872:12;;22715:175;-1:-1;;22715:175;22899:326;;23059:67;23123:2;23118:3;23059:67;;;23159:28;23139:49;;23216:2;23207:12;;23045:180;-1:-1;;23045:180;23234:317;;23394:67;23458:2;23453:3;23394:67;;;-1:-1;;;23474:40;;23542:2;23533:12;;23380:171;-1:-1;;23380:171;23789:152;23890:45;23910:24;23928:5;23910:24;;;23890:45;;23948:107;24027:22;24043:5;24027:22;;24062:425;;24230:96;24322:3;24313:6;24230:96;;;24348:2;24343:3;24339:12;24332:19;;24362:75;24433:3;24424:6;24362:75;;;-1:-1;24459:2;24450:12;;24218:269;-1:-1;;24218:269;24494:213;24612:2;24597:18;;24626:71;24601:9;24670:6;24626:71;;24714:356;24876:2;24861:18;;24890:87;24865:9;24950:6;24890:87;;;24988:72;25056:2;25045:9;25041:18;25032:6;24988:72;;;24847:223;;;;;;25077:1039;25425:3;25410:19;;25440:71;25414:9;25484:6;25440:71;;;25522:72;25590:2;25579:9;25575:18;25566:6;25522:72;;;25642:9;25636:4;25632:20;25627:2;25616:9;25612:18;25605:48;25667:108;25770:4;25761:6;25667:108;;;25659:116;;25823:9;25817:4;25813:20;25808:2;25797:9;25793:18;25786:48;25848:108;25951:4;25942:6;25848:108;;;25840:116;;26005:9;25999:4;25995:20;25989:3;25978:9;25974:19;25967:49;26030:76;26101:4;26092:6;26030:76;;;26022:84;25396:720;-1:-1;;;;;;;25396:720;26123:743;26371:3;26356:19;;26386:71;26360:9;26430:6;26386:71;;;26468:72;26536:2;26525:9;26521:18;26512:6;26468:72;;;26551;26619:2;26608:9;26604:18;26595:6;26551:72;;;26634;26702:2;26691:9;26687:18;26678:6;26634:72;;;26755:9;26749:4;26745:20;26739:3;26728:9;26724:19;26717:49;26780:76;26851:4;26842:6;26780:76;;26873:393;27057:2;27071:47;;;27042:18;;27132:124;27042:18;27242:6;27132:124;;27273:660;27539:2;27553:47;;;27524:18;;27614:118;27524:18;27718:6;27710;27614:118;;;27606:126;;27780:9;27774:4;27770:20;27765:2;27754:9;27750:18;27743:48;27805:118;27918:4;27909:6;27901;27805:118;;;27797:126;27510:423;-1:-1;;;;;;27510:423;27940:361;28108:2;28122:47;;;28093:18;;28183:108;28093:18;28277:6;28183:108;;28308:201;28420:2;28405:18;;28434:65;28409:9;28472:6;28434:65;;28516:539;28714:3;28699:19;;28729:71;28703:9;28773:6;28729:71;;;28811:68;28875:2;28864:9;28860:18;28851:6;28811:68;;;28890:72;28958:2;28947:9;28943:18;28934:6;28890:72;;;28973;29041:2;29030:9;29026:18;29017:6;28973:72;;;28685:370;;;;;;;;29062:293;29196:2;29210:47;;;29181:18;;29271:74;29181:18;29331:6;29271:74;;29670:407;29861:2;29875:47;;;29846:18;;29936:131;29846:18;29936:131;;30084:407;30275:2;30289:47;;;30260:18;;30350:131;30260:18;30350:131;;30498:407;30689:2;30703:47;;;30674:18;;30764:131;30674:18;30764:131;;30912:407;31103:2;31117:47;;;31088:18;;31178:131;31088:18;31178:131;;31326:407;31517:2;31531:47;;;31502:18;;31592:131;31502:18;31592:131;;31740:407;31931:2;31945:47;;;31916:18;;32006:131;31916:18;32006:131;;32154:407;32345:2;32359:47;;;32330:18;;32420:131;32330:18;32420:131;;32568:407;32759:2;32773:47;;;32744:18;;32834:131;32744:18;32834:131;;32982:407;33173:2;33187:47;;;33158:18;;33248:131;33158:18;33248:131;;33396:407;33587:2;33601:47;;;33572:18;;33662:131;33572:18;33662:131;;33810:407;34001:2;34015:47;;;33986:18;;34076:131;33986:18;34076:131;;34224:407;34415:2;34429:47;;;34400:18;;34490:131;34400:18;34490:131;;34638:407;34829:2;34843:47;;;34814:18;;34904:131;34814:18;34904:131;;35052:407;35243:2;35257:47;;;35228:18;;35318:131;35228:18;35318:131;;35466:407;35657:2;35671:47;;;35642:18;;35732:131;35642:18;35732:131;;35880:407;36071:2;36085:47;;;36056:18;;36146:131;36056:18;36146:131;;36294:407;36485:2;36499:47;;;36470:18;;36560:131;36470:18;36560:131;;36708:407;36899:2;36913:47;;;36884:18;;36974:131;36884:18;36974:131;;37122:407;37313:2;37327:47;;;37298:18;;37388:131;37298:18;37388:131;;37536:213;37654:2;37639:18;;37668:71;37643:9;37712:6;37668:71;;37756:731;38030:2;38015:18;;38044:71;38019:9;38088:6;38044:71;;;38163:9;38157:4;38153:20;38148:2;38137:9;38133:18;38126:48;38188:108;38291:4;38282:6;38188:108;;;38180:116;;38344:9;38338:4;38334:20;38329:2;38318:9;38314:18;38307:48;38369:108;38472:4;38463:6;38369:108;;38494:324;38640:2;38625:18;;38654:71;38629:9;38698:6;38654:71;;38825:256;38887:2;38881:9;38913:17;;;-1:-1;;;;;38973:34;;39009:22;;;38970:62;38967:2;;;39045:1;39042;39035:12;38967:2;39061;39054:22;38865:216;;-1:-1;38865:216;39088:321;;-1:-1;;;;;39256:6;39253:30;39250:2;;;39296:1;39293;39286:12;39250:2;-1:-1;39331:4;39319:17;;;39384:15;;39187:222;39416:322;;-1:-1;;;;;39552:6;39549:30;39546:2;;;39592:1;39589;39582:12;39546:2;-1:-1;39723:4;39659;39636:17;;;;-1:-1;;39632:33;39713:15;;39483:255;39745:151;39869:4;39860:14;;39817:79;40227:137;40330:12;;40301:63;41403:178;41521:19;;;41570:4;41561:14;;41514:67;42314:91;;42376:24;42394:5;42376:24;;42518:85;42584:13;42577:21;;42560:43;42689:144;-1:-1;;;;;;42750:78;;42733:100;42840:121;-1:-1;;;;;42902:54;;42885:76;43047:81;43118:4;43107:16;;43090:38;43135:163;;43235:58;43287:5;43235:58;;43442:145;43523:6;43518:3;43513;43500:30;-1:-1;43579:1;43561:16;;43554:27;43493:94;43596:268;43661:1;43668:101;43682:6;43679:1;43676:13;43668:101;;;43749:11;;;43743:18;43730:11;;;43723:39;43704:2;43697:10;43668:101;;;43784:6;43781:1;43778:13;43775:2;;;43849:1;43840:6;43835:3;43831:16;43824:27;43775:2;43645:219;;;;;43872:95;;43936:26;43956:5;43974:89;44038:20;44052:5;44038:20;;44151:97;44239:2;44219:14;-1:-1;;44215:28;;44199:49;44256:94;44330:2;44326:14;;44298:52;44358:117;44427:24;44445:5;44427:24;;;44420:5;44417:35;44407:2;;44466:1;44463;44456:12;44622:111;44688:21;44703:5;44688:21;;44740:117;44809:24;44827:5;44809:24;;44864:115;44932:23;44949:5;44932:23;;45110:113;45177:22;45193:5;45177:22;

Swarm Source

bzzr://7063bdda34a1ef9960513e4e549a839c15c117d62710a82a3de03d89bd2e16ca
Block Transaction Difficulty Gas Used Reward
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.

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