Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- ERC1155RaribleMeta
- Optimization enabled
- true
- Compiler version
- v0.7.6+commit.7338295f
- Optimization runs
- 200
- EVM Version
- istanbul
- Verified at
- 2024-02-09T13:54:38.002751Z
@rarible/tokens/contracts/erc-1155/erc-1155-meta/ERC1155RaribleMeta.sol
// SPDX-License-Identifier: MITpragma solidity 0.7.6;pragma abicoder v2;import "@rarible/meta-tx/contracts/EIP712MetaTransaction.sol";import "../ERC1155Base.sol";import "../../IsPrivateCollection.sol";import "../../access/MinterAccessControl.sol";contract ERC1155RaribleMeta is ERC1155Base, IsPrivateCollection, MinterAccessControl, EIP712MetaTransaction {event CreateERC1155Rarible(address owner, string name, string symbol);event CreateERC1155RaribleUser(address owner, string name, string symbol);function __ERC1155RaribleUser_init(string memory _name, string memory _symbol, string memory baseURI, string memory contractURI, address[] memory operators, address transferProxy, address lazyTransferProxy) external {__ERC1155Rarible_init_unchained(_name, _symbol, baseURI, contractURI, transferProxy, lazyTransferProxy);__MetaTransaction_init_unchained("ERC1155RaribleUserMeta", "1");isPrivate = true;emit CreateERC1155RaribleUser(_msgSender(), _name, _symbol);}function __ERC1155Rarible_init(string memory _name, string memory _symbol, string memory baseURI, string memory contractURI, address transferProxy, address lazyTransferProxy) external {__ERC1155Rarible_init_unchained(_name, _symbol, baseURI, contractURI, transferProxy, lazyTransferProxy);__MetaTransaction_init_unchained("ERC1155RaribleMeta", "1");isPrivate = false;emit CreateERC1155Rarible(_msgSender(), _name, _symbol);}function _msgSender() internal view virtual override(ContextUpgradeable, EIP712MetaTransaction) returns (address payable) {return super._msgSender();}function __ERC1155Rarible_init_unchained(string memory _name, string memory _symbol, string memory baseURI, string memory contractURI, address transferProxy, address lazyTransferProxy) internal initializer {__Ownable_init_unchained();__ERC1155Lazy_init_unchained();
@rarible/royalties/contracts/LibRoyalties2981.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;import "@rarible/lib-part/contracts/LibPart.sol";library LibRoyalties2981 {/** https://eips.ethereum.org/EIPS/eip-2981: bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;*/bytes4 constant _INTERFACE_ID_ROYALTIES = 0x2a55205a;uint96 constant _WEIGHT_VALUE = 1000000;/*Method for converting amount to percent and forming LibPart*/function calculateRoyalties(address to, uint256 amount) internal view returns (LibPart.Part[] memory) {LibPart.Part[] memory result;if (amount == 0) {return result;}uint256 percent = amount * 10000 / _WEIGHT_VALUE;require(percent < 10000, "Royalties 2981 exceeds 100%");result = new LibPart.Part[](1);result[0].account = payable(to);result[0].value = uint96(percent);return result;}}
@rarible/tokens/contracts/HasContractURI.sol
// SPDX-License-Identifier: MITpragma solidity 0.7.6;import "@openzeppelin/contracts-upgradeable/introspection/ERC165Upgradeable.sol";abstract contract HasContractURI is ERC165Upgradeable {string public contractURI;/** bytes4(keccak256('contractURI()')) == 0xe8a3d485*/bytes4 private constant _INTERFACE_ID_CONTRACT_URI = 0xe8a3d485;function __HasContractURI_init_unchained(string memory _contractURI) internal initializer {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;}uint256[49] private __gap;}
@openzeppelin/contracts-upgradeable/introspection/IERC165Upgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;/*** @dev Interface of the ERC165 standard, as defined in the* https://eips.ethereum.org/EIPS/eip-165[EIP].** Implementers can declare support of contract interfaces, which can then be* queried by others ({ERC165Checker}).** For an implementation, see {ERC165}.*/interface IERC165Upgradeable {/*** @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);}
@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;/*** @dev Collection of functions related to the address type*/library AddressUpgradeable {/*** @dev Returns true if `account` is a contract.** [IMPORTANT]* ====* It is unsafe to assume that an address for which this function returns* false is an externally-owned account (EOA) and not a contract.** Among others, `isContract` will return false for the following* types of addresses:** - an externally-owned account* - a contract in construction* - an address where a contract will be created* - an address where a contract lived, but was destroyed* ====*/function isContract(address account) internal view returns (bool) {// This method relies on extcodesize, which returns 0 for contracts in// construction, since the code is only stored at the end of the// constructor execution.uint256 size;// solhint-disable-next-line no-inline-assemblyassembly { size := extcodesize(account) }return size > 0;}/*** @dev Replacement for Solidity's `transfer`: sends `amount` wei to* `recipient`, forwarding all available gas and reverting on errors.** https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155ReceiverUpgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;import "../../introspection/IERC165Upgradeable.sol";/*** _Available since v3.1._*/interface IERC1155ReceiverUpgradeable is IERC165Upgradeable {/**@dev Handles the receipt of a single ERC1155 token type. This function iscalled at the end of a `safeTransferFrom` after the balance has been updated.To accept the transfer, this must return`bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`(i.e. 0xf23a6e61, or its own function selector).@param operator The address which initiated the transfer (i.e. msg.sender)@param from The address which previously owned the token@param id The ID of the token being transferred@param value The amount of tokens being transferred@param data Additional data with no specified format@return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed*/function onERC1155Received(address operator,address from,uint256 id,uint256 value,bytes calldata data)externalreturns(bytes4);/**@dev Handles the receipt of a multiple ERC1155 token types. This functionis called at the end of a `safeBatchTransferFrom` after the balances havebeen updated. To accept the transfer(s), this must return`bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`(i.e. 0xbc197c81, or its own function selector).@param operator The address which initiated the batch transfer (i.e. msg.sender)
@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155MetadataURIUpgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;import "./IERC1155Upgradeable.sol";/*** @dev Interface of the optional ERC1155MetadataExtension interface, as defined* in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].** _Available since v3.1._*/interface IERC1155MetadataURIUpgradeable is IERC1155Upgradeable {/*** @dev Returns the URI for token type `id`.** If the `\{id\}` substring is present in the URI, it must be replaced by* clients with the actual token type ID.*/function uri(uint256 id) external view returns (string memory);}
@rarible/lib-signature/contracts/ERC1271.sol
// SPDX-License-Identifier: MITpragma solidity 0.7.6;abstract contract ERC1271 {bytes4 constant public ERC1271_INTERFACE_ID = 0xfb855dc9; // this.isValidSignature.selectorbytes4 constant public ERC1271_RETURN_VALID_SIGNATURE = 0x1626ba7e;bytes4 constant public ERC1271_RETURN_INVALID_SIGNATURE = 0x00000000;/*** @dev Function must be implemented by deriving contract* @param _hash Arbitrary length data signed on the behalf of address(this)* @param _signature Signature byte array associated with _data* @return A bytes4 magic value 0x1626ba7e if the signature check passes, 0x00000000 if not** MUST NOT modify state (using STATICCALL for solc < 0.5, view modifier for solc > 0.5)* MUST allow external calls*/function isValidSignature(bytes32 _hash, bytes memory _signature) public virtual view returns (bytes4);function returnIsValidSignatureMagicNumber(bool isValid) internal pure returns (bytes4) {return isValid ? ERC1271_RETURN_VALID_SIGNATURE : ERC1271_RETURN_INVALID_SIGNATURE;}}
@rarible/royalties-upgradeable/contracts/RoyaltiesV2Upgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;pragma abicoder v2;import "@openzeppelin/contracts-upgradeable/introspection/ERC165Upgradeable.sol";import "@rarible/royalties/contracts/LibRoyaltiesV2.sol";import "@rarible/royalties/contracts/RoyaltiesV2.sol";abstract contract RoyaltiesV2Upgradeable is ERC165Upgradeable, RoyaltiesV2 {function __RoyaltiesV2Upgradeable_init_unchained() internal initializer {_registerInterface(LibRoyaltiesV2._INTERFACE_ID_ROYALTIES);}}
@rarible/tokens/contracts/erc-1155/ERC1155Base.sol
// SPDX-License-Identifier: MITpragma solidity 0.7.6;pragma abicoder v2;import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";import "./ERC1155BurnableUpgradeable.sol";import "./ERC1155DefaultApproval.sol";import "./ERC1155Lazy.sol";import "../HasContractURI.sol";abstract contract ERC1155Base is OwnableUpgradeable, ERC1155DefaultApproval, ERC1155BurnableUpgradeable, ERC1155Lazy, HasContractURI {string public name;string public symbol;event BurnLazy(address indexed operator, address indexed account, uint256 id, uint256 amount);event BurnLazyBatch(address indexed operator, address indexed account, uint256[] ids, uint256[] amounts);event BaseUriChanged(string newBaseURI);function isApprovedForAll(address _owner, address _operator) public override(ERC1155Upgradeable, ERC1155DefaultApproval, IERC1155Upgradeable) view returns (bool) {return ERC1155DefaultApproval.isApprovedForAll(_owner, _operator);}function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155Lazy, ERC165Upgradeable) returns (bool) {return super.supportsInterface(interfaceId);}function burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) public virtual override {require(ids.length == amounts.length, "ids != amounts");uint256[] memory leftToBurns = new uint256[](ids.length);uint256[] memory lazyToBurns = new uint256[](ids.length);for (uint i = 0; i < ids.length; ++i) {(leftToBurns[i], lazyToBurns[i]) = _burnLazy(ids[i], amounts[i]);}ERC1155BurnableUpgradeable.burnBatch(account, ids, leftToBurns);emit BurnLazyBatch(_msgSender(), account, ids, lazyToBurns);}function burn(address account, uint256 id, uint256 amount) public virtual override {(uint256 leftToBurn, uint256 lazyToBurn) = _burnLazy(id, amount);if (leftToBurn > 0) {
@rarible/tokens/contracts/erc-1155/Mint1155Validator.sol
// SPDX-License-Identifier: MITpragma solidity 0.7.6;import "../erc-1271/ERC1271Validator.sol";import "@rarible/lazy-mint/contracts/erc-1155/LibERC1155LazyMint.sol";contract Mint1155Validator is ERC1271Validator {function __Mint1155Validator_init_unchained() internal initializer {__EIP712_init_unchained("Mint1155", "1");}function validate(address account, bytes32 hash, bytes memory signature) internal view {validate1271(account, hash, signature);}uint256[50] private __gap;}
@rarible/tokens/contracts/erc-1155/ERC1155DefaultApproval.sol
// SPDX-License-Identifier: MITpragma solidity 0.7.6;import "./ERC1155Upgradeable.sol";abstract contract ERC1155DefaultApproval is ERC1155Upgradeable {mapping(address => bool) private defaultApprovals;event DefaultApproval(address indexed operator, bool hasApproval);function _setDefaultApproval(address operator, bool hasApproval) internal {defaultApprovals[operator] = hasApproval;emit DefaultApproval(operator, hasApproval);}function isApprovedForAll(address _owner, address _operator) public virtual override view returns (bool) {return defaultApprovals[_operator] || super.isApprovedForAll(_owner, _operator);}uint256[50] private __gap;}
@openzeppelin/contracts-upgradeable/introspection/ERC165Upgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;import "./IERC165Upgradeable.sol";import "../proxy/Initializable.sol";/*** @dev Implementation of the {IERC165} interface.** Contracts may inherit from this and call {_registerInterface} to declare* their support of an interface.*/abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable {/** 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;function __ERC165_init() internal initializer {__ERC165_init_unchained();}function __ERC165_init_unchained() internal initializer {// Derived contracts need only register support for their own interfaces,// we register support for ERC165 itself here_registerInterface(_INTERFACE_ID_ERC165);}/*** @dev See {IERC165-supportsInterface}.** Time complexity O(1), guaranteed to always use less than 30 000 gas.*/function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {return _supportedInterfaces[interfaceId];
@openzeppelin/contracts-upgradeable/proxy/Initializable.sol
// SPDX-License-Identifier: MIT// solhint-disable-next-line compiler-versionpragma solidity >=0.4.24 <0.8.0;import "../utils/AddressUpgradeable.sol";/*** @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed* behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.** TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as* possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.** CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.*/abstract contract Initializable {/*** @dev Indicates that the contract has been initialized.*/bool private _initialized;/*** @dev Indicates that the contract is in the process of being initialized.*/bool private _initializing;/*** @dev Modifier to protect an initializer function from being invoked twice.*/modifier initializer() {require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized");bool isTopLevelCall = !_initializing;if (isTopLevelCall) {_initializing = true;_initialized = true;
@rarible/tokens/contracts/IsPrivateCollection.sol
// SPDX-License-Identifier: MITpragma solidity 0.7.6;contract IsPrivateCollection {/// @dev true if collection is private, false if publicbool isPrivate;uint256[49] private __gap;}
@rarible/lib-signature/contracts/LibSignature.sol
// SPDX-License-Identifier: MITpragma solidity ^0.7.0;library LibSignature {/*** @dev Returns the address that signed a hashed message (`hash`) with* `signature`. This address can then be used for verification purposes.** The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:* this function rejects them by requiring the `s` value to be in the lower* half order, and the `v` value to be either 27 or 28.** IMPORTANT: `hash` _must_ be the result of a hash operation for the* verification to be secure: it is possible to craft signatures that* recover to arbitrary addresses for non-hashed data. A safe way to ensure* this is by receiving a hash of the original message (which may otherwise* be too long), and then calling {toEthSignedMessageHash} on it.*/function recover(bytes32 hash, bytes memory signature)internalpurereturns (address){// Check the signature lengthif (signature.length != 65) {revert("ECDSA: invalid signature length");}// Divide the signature in r, s and v variablesbytes32 r;bytes32 s;uint8 v;// ecrecover takes the signature parameters, and the only way to get them// currently is to use assembly.// solhint-disable-next-line no-inline-assemblyassembly {r := mload(add(signature, 0x20))s := mload(add(signature, 0x40))v := byte(0, mload(add(signature, 0x60)))
@rarible/royalties/contracts/impl/AbstractRoyalties.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;import "@rarible/lib-part/contracts/LibPart.sol";abstract contract AbstractRoyalties {mapping (uint256 => LibPart.Part[]) internal royalties;function _saveRoyalties(uint256 id, LibPart.Part[] memory _royalties) internal {uint256 totalValue;for (uint i = 0; i < _royalties.length; ++i) {require(_royalties[i].account != address(0x0), "Recipient should be present");require(_royalties[i].value != 0, "Royalty value should be positive");totalValue += _royalties[i].value;royalties[id].push(_royalties[i]);}require(totalValue < 10000, "Royalty total value should be < 10000");_onRoyaltiesSet(id, _royalties);}function _updateAccount(uint256 _id, address _from, address _to) internal {uint length = royalties[_id].length;for(uint i = 0; i < length; ++i) {if (royalties[_id][i].account == _from) {royalties[_id][i].account = payable(address(uint160(_to)));}}}function _onRoyaltiesSet(uint256 id, LibPart.Part[] memory _royalties) virtual internal;}
@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;/*** @dev String operations.*/library StringsUpgradeable {/*** @dev Converts a `uint256` to its ASCII `string` representation.*/function toString(uint256 value) internal pure returns (string memory) {// Inspired by OraclizeAPI's implementation - MIT licence// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.solif (value == 0) {return "0";}uint256 temp = value;uint256 digits;while (temp != 0) {digits++;temp /= 10;}bytes memory buffer = new bytes(digits);uint256 index = digits - 1;temp = value;while (temp != 0) {buffer[index--] = bytes1(uint8(48 + temp % 10));temp /= 10;}return string(buffer);}}
@openzeppelin/contracts-upgradeable/drafts/EIP712Upgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;import "../proxy/Initializable.sol";/*** @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.** The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding* they need in their contracts using a combination of `abi.encode` and `keccak256`.** This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA* ({_hashTypedDataV4}).** The implementation of the domain separator was designed to be as efficient as possible while still properly updating* the chain id to protect against replay attacks on an eventual fork of the chain.** NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].** _Available since v3.4._*/abstract contract EIP712Upgradeable is Initializable {/* solhint-disable var-name-mixedcase */bytes32 private _HASHED_NAME;bytes32 private _HASHED_VERSION;bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");/* solhint-enable var-name-mixedcase *//*** @dev Initializes the domain separator and parameter caches.** The meaning of `name` and `version` is specified in* https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:** - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.* - `version`: the current major version of the signing domain.** NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;/*** @dev Wrappers over Solidity's arithmetic operations with added overflow* checks.** Arithmetic operations in Solidity wrap on overflow. This can easily result* in bugs, because programmers usually assume that an overflow raises an* error, which is the standard behavior in high level programming languages.* `SafeMath` restores this intuition by reverting the transaction when an* operation overflows.** Using this library instead of the unchecked operations eliminates an entire* class of bugs, so it's recommended to use it always.*/library SafeMathUpgradeable {/*** @dev Returns the addition of two unsigned integers, with an overflow flag.** _Available since v3.4._*/function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {uint256 c = a + b;if (c < a) return (false, 0);return (true, c);}/*** @dev Returns the substraction of two unsigned integers, with an overflow flag.** _Available since v3.4._*/function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {if (b > a) return (false, 0);return (true, a - b);}/*** @dev Returns the multiplication of two unsigned integers, with an overflow flag.
@rarible/royalties/contracts/impl/RoyaltiesV2Impl.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;pragma abicoder v2;import "./AbstractRoyalties.sol";import "../RoyaltiesV2.sol";import "../IERC2981.sol";import "../LibRoyalties2981.sol";contract RoyaltiesV2Impl is AbstractRoyalties, RoyaltiesV2, IERC2981 {function getRaribleV2Royalties(uint256 id) override external view returns (LibPart.Part[] memory) {return royalties[id];}function _onRoyaltiesSet(uint256 id, LibPart.Part[] memory _royalties) override internal {emit RoyaltiesSet(id, _royalties);}/**Token (ERC721, ERC721Minimal, ERC721MinimalMeta, ERC1155 ) can have a number of different royalties beneficiaries*calculate sum all royalties, but royalties beneficiary will be only one royalties[0].account, according to rules of IERC2981*/function royaltyInfo(uint256 id, uint256 _salePrice) override external view returns (address receiver, uint256 royaltyAmount) {if (royalties[id].length == 0) {receiver = address(0);royaltyAmount = 0;return(receiver, royaltyAmount);}LibPart.Part[] memory _royalties = royalties[id];receiver = _royalties[0].account;uint percent;for (uint i = 0; i < _royalties.length; ++i) {percent += _royalties[i].value;}//don`t need require(percent < 10000, "Token royalty > 100%"); here, because check later in calculateRoyaltiesroyaltyAmount = percent * _salePrice / 10000;}}
@rarible/tokens/contracts/access/MinterAccessControl.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";abstract contract MinterAccessControl is OwnableUpgradeable {mapping(address => bool) private _minters;event MinterStatusChanged(address indexed minter, bool indexed status);function __MinterAccessControl_init() internal initializer {__Ownable_init_unchained();__MinterAccessControl_init_unchained();}function __MinterAccessControl_init_unchained() internal initializer {}/*** @dev Add `minter` to the list of allowed minters.*/function addMinter(address minter) external onlyOwner {_minters[minter] = true;emit MinterStatusChanged(minter, true);}/*** @dev Add `minters` to the list of allowed minters.*/function addMinters(address[] memory minters) external onlyOwner {for (uint i = 0; i < minters.length; ++i) {address minter = minters[i];_minters[minter] = true;emit MinterStatusChanged(minter, true);}}/*** @dev Revoke `_minter` from the list of allowed minters.*/
@rarible/tokens/contracts/erc-1155/ERC1155Upgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;import "@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol";import "@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155MetadataURIUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155ReceiverUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/introspection/ERC165Upgradeable.sol";import "@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol";import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";/**** @dev Implementation of the basic standard multi-token.* See https://eips.ethereum.org/EIPS/eip-1155* Originally based on code by Enjin: https://github.com/enjin/erc-1155** _Available since v3.1._*/contract ERC1155Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC1155Upgradeable, IERC1155MetadataURIUpgradeable {using SafeMathUpgradeable for uint256;using AddressUpgradeable for address;// Mapping from token ID to account balancesmapping (uint256 => mapping(address => uint256)) internal _balances;// Mapping from account to operator approvalsmapping (address => mapping(address => bool)) private _operatorApprovals;// Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.jsonstring private _uri;/** bytes4(keccak256('balanceOf(address,uint256)')) == 0x00fdd58e* bytes4(keccak256('balanceOfBatch(address[],uint256[])')) == 0x4e1273f4* bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465* bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5* bytes4(keccak256('safeTransferFrom(address,address,uint256,uint256,bytes)')) == 0xf242432a* bytes4(keccak256('safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)')) == 0x2eb2c2d6
@rarible/lazy-mint/contracts/erc-1155/LibERC1155LazyMint.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;import "@rarible/lib-part/contracts/LibPart.sol";library LibERC1155LazyMint {bytes4 constant public ERC1155_LAZY_ASSET_CLASS = bytes4(keccak256("ERC1155_LAZY"));bytes4 constant _INTERFACE_ID_MINT_AND_TRANSFER = 0x6db15a0f;struct Mint1155Data {uint tokenId;string tokenURI;uint supply;LibPart.Part[] creators;LibPart.Part[] royalties;bytes[] signatures;}bytes32 public constant MINT_AND_TRANSFER_TYPEHASH = keccak256("Mint1155(uint256 tokenId,uint256 supply,string tokenURI,Part[] creators,Part[] royalties)Part(address account,uint96 value)");function hash(Mint1155Data memory data) internal pure returns (bytes32) {bytes32[] memory royaltiesBytes = new bytes32[](data.royalties.length);for (uint i = 0; i < data.royalties.length; ++i) {royaltiesBytes[i] = LibPart.hash(data.royalties[i]);}bytes32[] memory creatorsBytes = new bytes32[](data.creators.length);for (uint i = 0; i < data.creators.length; ++i) {creatorsBytes[i] = LibPart.hash(data.creators[i]);}return keccak256(abi.encode(MINT_AND_TRANSFER_TYPEHASH,data.tokenId,data.supply,keccak256(bytes(data.tokenURI)),keccak256(abi.encodePacked(creatorsBytes)),keccak256(abi.encodePacked(royaltiesBytes))));}}
@rarible/tokens/contracts/erc-1155/ERC1155Lazy.sol
// SPDX-License-Identifier: MITpragma solidity 0.7.6;pragma abicoder v2;import "./ERC1155Upgradeable.sol";import "@rarible/royalties/contracts/impl/RoyaltiesV2Impl.sol";import "@rarible/royalties-upgradeable/contracts/RoyaltiesV2Upgradeable.sol";import "@rarible/lazy-mint/contracts/erc-1155/IERC1155LazyMint.sol";import "./Mint1155Validator.sol";import "./ERC1155BaseURI.sol";abstract contract ERC1155Lazy is IERC1155LazyMint, ERC1155BaseURI, Mint1155Validator, RoyaltiesV2Upgradeable, RoyaltiesV2Impl {using SafeMathUpgradeable for uint;bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;bytes4 private constant _INTERFACE_ID_ERC1155 = 0xd9b67a26;bytes4 private constant _INTERFACE_ID_ERC1155_METADATA_URI = 0x0e89341c;mapping(uint256 => LibPart.Part[]) private creators;mapping(uint => uint) private supply;mapping(uint => uint) private minted;function __ERC1155Lazy_init_unchained() internal {}function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165Upgradeable, ERC165Upgradeable) returns (bool) {return interfaceId == LibERC1155LazyMint._INTERFACE_ID_MINT_AND_TRANSFER|| interfaceId == LibRoyaltiesV2._INTERFACE_ID_ROYALTIES|| interfaceId == LibRoyalties2981._INTERFACE_ID_ROYALTIES|| interfaceId == _INTERFACE_ID_ERC165|| interfaceId == _INTERFACE_ID_ERC1155|| interfaceId == _INTERFACE_ID_ERC1155_METADATA_URI;}function transferFromOrMint(LibERC1155LazyMint.Mint1155Data memory data,address from,address to,uint256 amount
@rarible/lib-part/contracts/LibPart.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;library LibPart {bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)");struct Part {address payable account;uint96 value;}function hash(Part memory part) internal pure returns (bytes32) {return keccak256(abi.encode(TYPE_HASH, part.account, part.value));}}
@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;import "../utils/ContextUpgradeable.sol";import "../proxy/Initializable.sol";/*** @dev Contract module which provides a basic access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** By default, the owner account will be the one that deploys the contract. This* can later be changed with {transferOwnership}.** This module is used through inheritance. It will make available the modifier* `onlyOwner`, which can be applied to your functions to restrict their use to* the owner.*/abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {address private _owner;event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);/*** @dev Initializes the contract setting the deployer as the initial owner.*/function __Ownable_init() internal initializer {__Context_init_unchained();__Ownable_init_unchained();}function __Ownable_init_unchained() internal initializer {address msgSender = _msgSender();_owner = msgSender;emit OwnershipTransferred(address(0), msgSender);}/*** @dev Returns the address of the current owner.*/function owner() public view virtual returns (address) {
@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;import "../proxy/Initializable.sol";/** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with GSN meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).** This contract is only required for intermediate, library-like contracts.*/abstract contract ContextUpgradeable is Initializable {function __Context_init() internal initializer {__Context_init_unchained();}function __Context_init_unchained() internal initializer {}function _msgSender() internal view virtual returns (address payable) {return msg.sender;}function _msgData() internal view virtual returns (bytes memory) {this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691return msg.data;}uint256[50] private __gap;}
@rarible/royalties/contracts/IERC2981.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;import "@rarible/lib-part/contracts/LibPart.sol";////// @dev Interface for the NFT Royalty Standard/////interface IERC2981 is IERC165 {interface IERC2981 {/// ERC165 bytes to add to interface array - set in parent contract/// implementing this standard////// bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a/// bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;/// _registerInterface(_INTERFACE_ID_ERC2981);/// @notice Called with the sale price to determine how much royalty// is owed and to whom./// @param _tokenId - the NFT asset queried for royalty information/// @param _salePrice - the sale price of the NFT asset specified by _tokenId/// @return receiver - address of who should be sent the royalty payment/// @return royaltyAmount - the royalty payment amount for _salePricefunction royaltyInfo(uint256 _tokenId,uint256 _salePrice) external view returns (address receiver,uint256 royaltyAmount);}
@rarible/tokens/contracts/erc-1155/ERC1155BurnableUpgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;import "./ERC1155Upgradeable.sol";import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";/*** @dev Extension of {ERC1155} that allows token holders to destroy both their* own tokens and those that they have been approved to use.** _Available since v3.1._*/abstract contract ERC1155BurnableUpgradeable is Initializable, ERC1155Upgradeable {function __ERC1155Burnable_init() internal {__Context_init_unchained();__ERC165_init_unchained();__ERC1155Burnable_init_unchained();}function __ERC1155Burnable_init_unchained() internal {}function burn(address account, uint256 id, uint256 value) public virtual {require(account == _msgSender() || isApprovedForAll(account, _msgSender()),"ERC1155: caller is not owner nor approved");_burn(account, id, value);}function burnBatch(address account, uint256[] memory ids, uint256[] memory values) public virtual {require(account == _msgSender() || isApprovedForAll(account, _msgSender()),"ERC1155: caller is not owner nor approved");_burnBatch(account, ids, values);}uint256[50] private __gap;
@openzeppelin/contracts/math/SafeMath.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;/*** @dev Wrappers over Solidity's arithmetic operations with added overflow* checks.** Arithmetic operations in Solidity wrap on overflow. This can easily result* in bugs, because programmers usually assume that an overflow raises an* error, which is the standard behavior in high level programming languages.* `SafeMath` restores this intuition by reverting the transaction when an* operation overflows.** Using this library instead of the unchecked operations eliminates an entire* class of bugs, so it's recommended to use it always.*/library SafeMath {/*** @dev Returns the addition of two unsigned integers, with an overflow flag.** _Available since v3.4._*/function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {uint256 c = a + b;if (c < a) return (false, 0);return (true, c);}/*** @dev Returns the substraction of two unsigned integers, with an overflow flag.** _Available since v3.4._*/function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {if (b > a) return (false, 0);return (true, a - b);}/*** @dev Returns the multiplication of two unsigned integers, with an overflow flag.
@rarible/royalties/contracts/LibRoyaltiesV2.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;library LibRoyaltiesV2 {/** bytes4(keccak256('getRaribleV2Royalties(uint256)')) == 0xcad96cca*/bytes4 constant _INTERFACE_ID_ROYALTIES = 0xcad96cca;}
@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155ReceiverUpgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.0 <0.8.0;import "./IERC1155ReceiverUpgradeable.sol";import "../../introspection/ERC165Upgradeable.sol";import "../../proxy/Initializable.sol";/*** @dev _Available since v3.1._*/abstract contract ERC1155ReceiverUpgradeable is Initializable, ERC165Upgradeable, IERC1155ReceiverUpgradeable {function __ERC1155Receiver_init() internal initializer {__ERC165_init_unchained();__ERC1155Receiver_init_unchained();}function __ERC1155Receiver_init_unchained() internal initializer {_registerInterface(ERC1155ReceiverUpgradeable(address(0)).onERC1155Received.selector ^ERC1155ReceiverUpgradeable(address(0)).onERC1155BatchReceived.selector);}uint256[50] private __gap;}
@rarible/meta-tx/contracts/EIP712MetaTransaction.sol
//SPDX-License-Identifier: MITpragma solidity 0.7.6;import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";import "@openzeppelin/contracts/math/SafeMath.sol";abstract contract EIP712MetaTransaction is ContextUpgradeable {using SafeMath for uint256;bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(bytes("MetaTransaction(uint256 nonce,address from,bytes functionSignature)"));bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)");mapping(address => uint256) private nonces;bytes32 internal domainSeparator;/** Meta transaction structure.* No point of including value field here as if user is doing value transfer then he has the funds to pay for gas* He should call the desired function directly in that case.*/struct MetaTransaction {uint256 nonce;address from;bytes functionSignature;}/** Domain structure.* Data(information to for making metaTransaction method uniq.) about method and contract*/struct EIP712Domain {string name;string version;address verifyingContract;bytes32 salt;}event MetaTransactionExecuted(address userAddress, address payable relayerAddress, bytes functionSignature);function __MetaTransaction_init_unchained(string memory name, string memory version) internal {
@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;import "../../introspection/IERC165Upgradeable.sol";/*** @dev Required interface of an ERC1155 compliant contract, as defined in the* https://eips.ethereum.org/EIPS/eip-1155[EIP].** _Available since v3.1._*/interface IERC1155Upgradeable is IERC165Upgradeable {/*** @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.*/event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);/*** @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all* transfers.*/event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);/*** @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to* `approved`.*/event ApprovalForAll(address indexed account, address indexed operator, bool approved);/*** @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.** If an {URI} event was emitted for `id`, the standard* https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value* returned by {IERC1155MetadataURI-uri}.*/event URI(string value, uint256 indexed id);/*** @dev Returns the amount of tokens of token type `id` owned by `account`.
@rarible/tokens/contracts/erc-1155/ERC1155BaseURI.sol
// SPDX-License-Identifier: MITpragma solidity 0.7.6;import "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol";import "../LibURI.sol";import "./ERC1155Upgradeable.sol";contract ERC1155BaseURI is ERC1155Upgradeable {using StringsUpgradeable for uint;// Optional mapping for token URIsmapping (uint256 => string) private _tokenURIs;// Base URIstring private _baseURI;/*** @dev Returns the base URI set via {_setBaseURI}. This will be* automatically added as a prefix in {tokenURI} to each token's URI, or* to the token ID if no specific URI is set for that token ID.*/function baseURI() public view virtual returns (string memory) {return _baseURI;}function uri(uint id) external view override virtual returns (string memory) {return _tokenURI(id);}function _tokenURI(uint256 tokenId) internal view virtual returns (string memory) {string memory __tokenURI = _tokenURIs[tokenId];string memory base = baseURI();// If there is no base URI, return the token URI.if (bytes(base).length == 0) {return __tokenURI;}// If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).if (bytes(__tokenURI).length > 0) {
@rarible/lazy-mint/contracts/erc-1155/IERC1155LazyMint.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;pragma abicoder v2;import "@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol";import "./LibERC1155LazyMint.sol";import "@rarible/lib-part/contracts/LibPart.sol";interface IERC1155LazyMint is IERC1155Upgradeable {event Supply(uint256 tokenId,uint256 value);event Creators(uint256 tokenId,LibPart.Part[] creators);function mintAndTransfer(LibERC1155LazyMint.Mint1155Data memory data,address to,uint256 _amount) external;function transferFromOrMint(LibERC1155LazyMint.Mint1155Data memory data,address from,address to,uint256 amount) external;}
@rarible/tokens/contracts/erc-1271/ERC1271Validator.sol
// SPDX-License-Identifier: MITpragma solidity 0.7.6;import "@rarible/lib-signature/contracts/ERC1271.sol";import "@openzeppelin/contracts-upgradeable/drafts/EIP712Upgradeable.sol";import "@rarible/lib-signature/contracts/LibSignature.sol";abstract contract ERC1271Validator is EIP712Upgradeable {using AddressUpgradeable for address;using LibSignature for bytes32;string constant SIGNATURE_ERROR = "signature verification error";bytes4 constant internal MAGICVALUE = 0x1626ba7e;function validate1271(address signer, bytes32 structHash, bytes memory signature) internal view {bytes32 hash = _hashTypedDataV4(structHash);address signerFromSig;if (signature.length == 65) {signerFromSig = hash.recover(signature);}if (signerFromSig != signer) {if (signer.isContract()) {require(ERC1271(signer).isValidSignature(hash, signature) == MAGICVALUE,SIGNATURE_ERROR);} else {revert(SIGNATURE_ERROR);}}}uint256[50] private __gap;}
@rarible/tokens/contracts/LibURI.sol
// SPDX-License-Identifier: MITpragma solidity 0.7.6;library LibURI {/// @dev checks if _tokenURI starts with base. if true returns _tokenURI, else base + _tokenURIfunction checkPrefix(string memory base, string memory _tokenURI)internalpurereturns (string memory){bytes memory whatBytes = bytes(base);bytes memory whereBytes = bytes(_tokenURI);if (whatBytes.length > whereBytes.length) {return string(abi.encodePacked(base, _tokenURI));}for (uint256 j = 0; j < whatBytes.length; j++) {if (whereBytes[j] != whatBytes[j]) {return string(abi.encodePacked(base, _tokenURI));}}return _tokenURI;}}
@rarible/royalties/contracts/RoyaltiesV2.sol
// SPDX-License-Identifier: MITpragma solidity >=0.6.2 <0.8.0;pragma abicoder v2;import "@rarible/lib-part/contracts/LibPart.sol";interface RoyaltiesV2 {event RoyaltiesSet(uint256 tokenId, LibPart.Part[] royalties);function getRaribleV2Royalties(uint256 id) external view returns (LibPart.Part[] memory);}
Compiler Settings
{"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers"]}},"optimizer":{"runs":200,"enabled":true},"metadata":{"useLiteralContent":true,"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"istanbul"}
Contract ABI
[{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"BaseUriChanged","inputs":[{"type":"string","name":"newBaseURI","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"BurnLazy","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"BurnLazyBatch","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"uint256[]","name":"ids","internalType":"uint256[]","indexed":false},{"type":"uint256[]","name":"amounts","internalType":"uint256[]","indexed":false}],"anonymous":false},{"type":"event","name":"CreateERC1155Rarible","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":false},{"type":"string","name":"name","internalType":"string","indexed":false},{"type":"string","name":"symbol","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"CreateERC1155RaribleUser","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":false},{"type":"string","name":"name","internalType":"string","indexed":false},{"type":"string","name":"symbol","internalType":"string","indexed":false}],"anonymous":false},{"type":"event","name":"Creators","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":false},{"type":"tuple[]","name":"creators","internalType":"struct LibPart.Part[]","indexed":false,"components":[{"type":"address","name":"account","internalType":"address payable"},{"type":"uint96","name":"value","internalType":"uint96"}]}],"anonymous":false},{"type":"event","name":"DefaultApproval","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"hasApproval","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"MetaTransactionExecuted","inputs":[{"type":"address","name":"userAddress","internalType":"address","indexed":false},{"type":"address","name":"relayerAddress","internalType":"address payable","indexed":false},{"type":"bytes","name":"functionSignature","internalType":"bytes","indexed":false}],"anonymous":false},{"type":"event","name":"MinterStatusChanged","inputs":[{"type":"address","name":"minter","internalType":"address","indexed":true},{"type":"bool","name":"status","internalType":"bool","indexed":true}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoyaltiesSet","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":false},{"type":"tuple[]","name":"royalties","internalType":"struct LibPart.Part[]","indexed":false,"components":[{"type":"address","name":"account","internalType":"address payable"},{"type":"uint96","name":"value","internalType":"uint96"}]}],"anonymous":false},{"type":"event","name":"Supply","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":false},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"TransferBatch","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256[]","name":"ids","internalType":"uint256[]","indexed":false},{"type":"uint256[]","name":"values","internalType":"uint256[]","indexed":false}],"anonymous":false},{"type":"event","name":"TransferSingle","inputs":[{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"id","internalType":"uint256","indexed":false},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"URI","inputs":[{"type":"string","name":"value","internalType":"string","indexed":false},{"type":"uint256","name":"id","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"__ERC1155RaribleUser_init","inputs":[{"type":"string","name":"_name","internalType":"string"},{"type":"string","name":"_symbol","internalType":"string"},{"type":"string","name":"baseURI","internalType":"string"},{"type":"string","name":"contractURI","internalType":"string"},{"type":"address[]","name":"operators","internalType":"address[]"},{"type":"address","name":"transferProxy","internalType":"address"},{"type":"address","name":"lazyTransferProxy","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"__ERC1155Rarible_init","inputs":[{"type":"string","name":"_name","internalType":"string"},{"type":"string","name":"_symbol","internalType":"string"},{"type":"string","name":"baseURI","internalType":"string"},{"type":"string","name":"contractURI","internalType":"string"},{"type":"address","name":"transferProxy","internalType":"address"},{"type":"address","name":"lazyTransferProxy","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addMinter","inputs":[{"type":"address","name":"minter","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addMinters","inputs":[{"type":"address[]","name":"minters","internalType":"address[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"balanceOfBatch","inputs":[{"type":"address[]","name":"accounts","internalType":"address[]"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"baseURI","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burnBatch","inputs":[{"type":"address","name":"account","internalType":"address"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"contractURI","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[{"type":"bytes","name":"","internalType":"bytes"}],"name":"executeMetaTransaction","inputs":[{"type":"address","name":"userAddress","internalType":"address"},{"type":"bytes","name":"functionSignature","internalType":"bytes"},{"type":"bytes32","name":"sigR","internalType":"bytes32"},{"type":"bytes32","name":"sigS","internalType":"bytes32"},{"type":"uint8","name":"sigV","internalType":"uint8"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct LibPart.Part[]","components":[{"type":"address","name":"account","internalType":"address payable"},{"type":"uint96","name":"value","internalType":"uint96"}]}],"name":"getCreators","inputs":[{"type":"uint256","name":"_id","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"nonce","internalType":"uint256"}],"name":"getNonce","inputs":[{"type":"address","name":"user","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct LibPart.Part[]","components":[{"type":"address","name":"account","internalType":"address payable"},{"type":"uint96","name":"value","internalType":"uint96"}]}],"name":"getRaribleV2Royalties","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"_owner","internalType":"address"},{"type":"address","name":"_operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isMinter","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mintAndTransfer","inputs":[{"type":"tuple","name":"data","internalType":"struct LibERC1155LazyMint.Mint1155Data","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"string","name":"tokenURI","internalType":"string"},{"type":"uint256","name":"supply","internalType":"uint256"},{"type":"tuple[]","name":"creators","internalType":"struct LibPart.Part[]","components":[{"type":"address","name":"account","internalType":"address payable"},{"type":"uint96","name":"value","internalType":"uint96"}]},{"type":"tuple[]","name":"royalties","internalType":"struct LibPart.Part[]","components":[{"type":"address","name":"account","internalType":"address payable"},{"type":"uint96","name":"value","internalType":"uint96"}]},{"type":"bytes[]","name":"signatures","internalType":"bytes[]"}]},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeMinter","inputs":[{"type":"address","name":"_minter","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"receiver","internalType":"address"},{"type":"uint256","name":"royaltyAmount","internalType":"uint256"}],"name":"royaltyInfo","inputs":[{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"_salePrice","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeBatchTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256[]","name":"ids","internalType":"uint256[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"id","internalType":"uint256"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBaseURI","inputs":[{"type":"string","name":"newBaseURI","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFromOrMint","inputs":[{"type":"tuple","name":"data","internalType":"struct LibERC1155LazyMint.Mint1155Data","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"string","name":"tokenURI","internalType":"string"},{"type":"uint256","name":"supply","internalType":"uint256"},{"type":"tuple[]","name":"creators","internalType":"struct LibPart.Part[]","components":[{"type":"address","name":"account","internalType":"address payable"},{"type":"uint96","name":"value","internalType":"uint96"}]},{"type":"tuple[]","name":"royalties","internalType":"struct LibPart.Part[]","components":[{"type":"address","name":"account","internalType":"address payable"},{"type":"uint96","name":"value","internalType":"uint96"}]},{"type":"bytes[]","name":"signatures","internalType":"bytes[]"}]},{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateAccount","inputs":[{"type":"uint256","name":"_id","internalType":"uint256"},{"type":"address","name":"_from","internalType":"address"},{"type":"address","name":"_to","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"uri","inputs":[{"type":"uint256","name":"id","internalType":"uint256"}]}]
Contract Creation Code
0x608060405234801561001057600080fd5b50615f8c80620000216000396000f3fe6080604052600436106101e25760003560e01c8063715018a611610102578063cad96cca11610095578063f242432a11610064578063f242432a1461057f578063f2fde38b1461059f578063f5298aca146105bf578063ffc4e0a7146105df576101e2565b8063cad96cca1461050a578063e07f23191461052a578063e8a3d4851461054a578063e985e9c51461055f576101e2565b806395d89b41116100d157806395d89b4114610495578063983b2d56146104aa578063a22cb465146104ca578063aa271e1a146104ea576101e2565b8063715018a61461041157806371e2a65714610426578063891be974146104465780638da5cb5b14610473576101e2565b80632d0335ab1161017a57806355f804b31161014957806355f804b31461039c57806361e05459146103bc5780636b20c454146103dc5780636c0360eb146103fc576101e2565b80632d0335ab1461030f5780632eb2c2d61461032f5780633092afd51461034f5780634e1273f41461036f576101e2565b80630e89341c116101b65780630e89341c1461027f5780630eaead671461029f578063173c43d2146102c15780632a55205a146102e1576101e2565b8062fdd58e146101e757806301ffc9a71461021d57806306fdde031461024a5780630c53c51c1461026c575b600080fd5b3480156101f357600080fd5b50610207610202366004615268565b6105ff565b6040516102149190615ad4565b60405180910390f35b34801561022957600080fd5b5061023d610238366004615361565b610671565b6040516102149190615825565b34801561025657600080fd5b5061025f610684565b6040516102149190615830565b61025f61027a3660046151ee565b610713565b34801561028b57600080fd5b5061025f61029a36600461562c565b610a8c565b3480156102ab57600080fd5b506102bf6102ba3660046155d5565b610a97565b005b3480156102cd57600080fd5b506102bf6102dc3660046153bb565b610b3b565b3480156102ed57600080fd5b506103016102fc366004615685565b610beb565b6040516102149291906157c1565b34801561031b57600080fd5b5061020761032a366004614fe8565b610cf9565b34801561033b57600080fd5b506102bf61034a36600461503c565b610d15565b34801561035b57600080fd5b506102bf61036a366004614fe8565b611013565b34801561037b57600080fd5b5061038f61038a366004615301565b6110c3565b60405161021491906157ed565b3480156103a857600080fd5b506102bf6103b7366004615389565b6111ae565b3480156103c857600080fd5b506102bf6103d7366004615482565b611253565b3480156103e857600080fd5b506102bf6103f736600461514b565b61130b565b34801561040857600080fd5b5061025f611491565b34801561041d57600080fd5b506102bf611529565b34801561043257600080fd5b506102bf6104413660046152c7565b6115d5565b34801561045257600080fd5b5061046661046136600461562c565b6116be565b60405161021491906157da565b34801561047f57600080fd5b5061048861174e565b6040516102149190615777565b3480156104a157600080fd5b5061025f61175d565b3480156104b657600080fd5b506102bf6104c5366004614fe8565b6117b9565b3480156104d657600080fd5b506102bf6104e53660046151bd565b61186e565b3480156104f657600080fd5b5061023d610505366004614fe8565b61195d565b34801561051657600080fd5b5061046661052536600461562c565b61197c565b34801561053657600080fd5b506102bf610545366004615644565b6119f7565b34801561055657600080fd5b5061025f611a3a565b34801561056b57600080fd5b5061023d61057a366004615004565b611a96565b34801561058b57600080fd5b506102bf61059a3660046150e5565b611aa9565b3480156105ab57600080fd5b506102bf6105ba366004614fe8565b611c62565b3480156105cb57600080fd5b506102bf6105da366004615293565b611d65565b3480156105eb57600080fd5b506102bf6105fa36600461556e565b611de1565b60006001600160a01b0383166106465760405162461bcd60e51b815260040180806020018281038252602b815260200180615c80602b913960400191505060405180910390fd5b5060008181526097602090815260408083206001600160a01b03861684529091529020545b92915050565b600061067c82611e89565b90505b919050565b610262805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561070b5780601f106106e05761010080835404028352916020019161070b565b820191906000526020600020905b8154815290600101906020018083116106ee57829003601f168201915b505050505081565b6060600061072086611f28565b90506000356001600160e01b03199081169082161415610787576040805162461bcd60e51b815260206004820152601760248201527f57726f6e672066756e6374696f6e5369676e6174757265000000000000000000604482015290519081900360640190fd5b604080516060810182526001600160a01b03891660008181526102fb6020908152908490205483528201529081018790526107c58882888888611f44565b6108005760405162461bcd60e51b8152600401808060200182810382526021815260200180615e976021913960400191505060405180910390fd5b6001600160a01b03881660009081526102fb602052604090205461082590600161202e565b6102fb60008a6001600160a01b03166001600160a01b0316815260200190815260200160002081905550600080306001600160a01b0316898b6040516020018083805190602001908083835b602083106108905780518252601f199092019160209182019101610871565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b8152601401925050506040516020818303038152906040526040518082805190602001908083835b602083106109065780518252601f1990920191602091820191016108e7565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610968576040519150601f19603f3d011682016040523d82523d6000602084013e61096d565b606091505b5091509150816109c4576040805162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604482015290519081900360640190fd5b7f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b8a338b60405180846001600160a01b03168152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610a43578181015183820152602001610a2b565b50505050905090810190601f168015610a705780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a19998505050505050505050565b606061067c82612088565b6102965460ff1615610b2b578260600151600081518110610ab457fe5b6020026020010151600001516001600160a01b0316610ad161174e565b6001600160a01b03161480610b065750610b068360600151600081518110610af557fe5b60200260200101516000015161195d565b610b2b5760405162461bcd60e51b8152600401610b229061586e565b60405180910390fd5b610b3683838361221e565b505050565b610b4986868686868661251a565b610b96604051806040016040528060128152602001714552433131353552617269626c654d65746160701b815250604051806040016040528060018152602001603160f81b81525061264c565b610296805460ff191690557fcc215b7682459c30faa0e854780165d503a7d62d22a9aaaad6334585dc63343e610bca6126dc565b8787604051610bdb9392919061578b565b60405180910390a1505050505050565b60008281526101fa60205260408120548190610c0c57506000905080610cf2565b60008481526101fa6020908152604080832080548251818502810185019093528083529192909190849084015b82821015610c8857600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b031681830152825260019092019101610c39565b50505050905080600081518110610c9b57fe5b60209081029190910101515192506000805b8251811015610ce657828181518110610cc257fe5b6020026020010151602001516001600160601b031682019150806001019050610cad565b50612710908502049150505b9250929050565b6001600160a01b031660009081526102fb602052604090205490565b8151835114610d555760405162461bcd60e51b8152600401808060200182810382526028815260200180615f2f6028913960400191505060405180910390fd5b6001600160a01b038416610d9a5760405162461bcd60e51b8152600401808060200182810382526025815260200180615d836025913960400191505060405180910390fd5b610da26126dc565b6001600160a01b0316856001600160a01b03161480610dc85750610dc88561057a6126dc565b610e035760405162461bcd60e51b8152600401808060200182810382526032815260200180615da86032913960400191505060405180910390fd5b6000610e0d6126dc565b9050610e1d81878787878761100b565b60005b8451811015610f23576000858281518110610e3757fe5b602002602001015190506000858381518110610e4f57fe5b60200260200101519050610ebc816040518060600160405280602a8152602001615e4d602a91396097600086815260200190815260200160002060008d6001600160a01b03166001600160a01b03168152602001908152602001600020546126eb9092919063ffffffff16565b60008381526097602090815260408083206001600160a01b038e811685529252808320939093558a1681522054610ef3908261202e565b60009283526097602090815260408085206001600160a01b038c1686529091529092209190915550600101610e20565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015610fa9578181015183820152602001610f91565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015610fe8578181015183820152602001610fd0565b5050505090500194505050505060405180910390a461100b818787878787612782565b505050505050565b61101b6126dc565b6001600160a01b031661102c61174e565b6001600160a01b031614611075576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b6001600160a01b03811660008181526102c86020526040808220805460ff19169055519091907f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd908390a350565b606081518351146111055760405162461bcd60e51b8152600401808060200182810382526029815260200180615f066029913960400191505060405180910390fd5b600083516001600160401b038111801561111e57600080fd5b50604051908082528060200260200182016040528015611148578160200160208202803683370190505b50905060005b84518110156111a65761118785828151811061116657fe5b602002602001015185838151811061117a57fe5b60200260200101516105ff565b82828151811061119357fe5b602090810291909101015260010161114e565b509392505050565b6111b66126dc565b6001600160a01b03166111c761174e565b6001600160a01b031614611210576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b611219816129f8565b7f87cdeaffd8e70903d6ce7cc983fac3b09ca79e83818124c98e47a1d70f8027d6816040516112489190615830565b60405180910390a150565b61126187878787868661251a565b6112b2604051806040016040528060168152602001754552433131353552617269626c65557365724d65746160501b815250604051806040016040528060018152602001603160f81b81525061264c565b610296805460ff191660011790557f7da6bc204c8c4856a6aff786a6cb81c59477c782191dc51837d644a8ad50f2cc6112e96126dc565b88886040516112fa9392919061578b565b60405180910390a150505050505050565b805182511461132c5760405162461bcd60e51b8152600401610b2290615a1d565b600082516001600160401b038111801561134557600080fd5b5060405190808252806020026020018201604052801561136f578160200160208202803683370190505b509050600083516001600160401b038111801561138b57600080fd5b506040519080825280602002602001820160405280156113b5578160200160208202803683370190505b50905060005b845181101561142a576113f48582815181106113d357fe5b60200260200101518583815181106113e757fe5b6020026020010151612a0c565b84838151811061140057fe5b6020026020010184848151811061141357fe5b6020908102919091010191909152526001016113bb565b50611436858584612a81565b846001600160a01b03166114486126dc565b6001600160a01b03167fcf3391513e21a9d4a0348f8e890080170eba18dc62db35b60d8a518b7088eb3a8684604051611482929190615800565b60405180910390a35050505050565b61012f8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561151e5780601f106114f35761010080835404028352916020019161151e565b820191906000526020600020905b81548152906001019060200180831161150157829003601f168201915b505050505090505b90565b6115316126dc565b6001600160a01b031661154261174e565b6001600160a01b03161461158b576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b6115dd6126dc565b6001600160a01b03166115ee61174e565b6001600160a01b031614611637576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b60005b81518110156116ba57600082828151811061165157fe5b6020908102919091018101516001600160a01b03811660008181526102c89093526040808420805460ff1916600190811790915590519294509290917f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd9190a35060010161163a565b5050565b60606101fb6000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b8282101561174357600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b0316818301528252600190920191016116f4565b505050509050919050565b6033546001600160a01b031690565b610263805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561070b5780601f106106e05761010080835404028352916020019161070b565b6117c16126dc565b6001600160a01b03166117d261174e565b6001600160a01b03161461181b576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b6001600160a01b03811660008181526102c86020526040808220805460ff1916600190811790915590519092917f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd91a350565b816001600160a01b03166118806126dc565b6001600160a01b031614156118c65760405162461bcd60e51b8152600401808060200182810382526029815260200180615edd6029913960400191505060405180910390fd5b80609860006118d36126dc565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556119176126dc565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6001600160a01b031660009081526102c8602052604090205460ff1690565b60008181526101fa6020908152604080832080548251818502810185019093528083526060949293919290918401821561174357600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b0316818301528252600190920191016116f4565b816001600160a01b0316611a096126dc565b6001600160a01b031614611a2f5760405162461bcd60e51b8152600401610b2290615925565b610b36838383612af5565b610230805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561070b5780601f106106e05761010080835404028352916020019161070b565b6000611aa28383612ba1565b9392505050565b6001600160a01b038416611aee5760405162461bcd60e51b8152600401808060200182810382526025815260200180615d836025913960400191505060405180910390fd5b611af66126dc565b6001600160a01b0316856001600160a01b03161480611b1c5750611b1c8561057a6126dc565b611b575760405162461bcd60e51b8152600401808060200182810382526029815260200180615d386029913960400191505060405180910390fd5b6000611b616126dc565b9050611b81818787611b7288612bcd565b611b7b88612bcd565b8761100b565b611bc8836040518060600160405280602a8152602001615e4d602a913960008781526097602090815260408083206001600160a01b038d16845290915290205491906126eb565b60008581526097602090815260408083206001600160a01b038b81168552925280832093909355871681522054611bff908461202e565b60008581526097602090815260408083206001600160a01b03808b168086529184529382902094909455805188815291820187905280518a841693861692600080516020615c6083398151915292908290030190a461100b818787878787612c12565b611c6a6126dc565b6001600160a01b0316611c7b61174e565b6001600160a01b031614611cc4576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b6001600160a01b038116611d095760405162461bcd60e51b8152600401808060200182810382526026815260200180615cee6026913960400191505060405180910390fd5b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b600080611d728484612a0c565b90925090508115611d8857611d88858584612d83565b8015611dda57846001600160a01b0316611da06126dc565b6001600160a01b03167f5110a21391aa55386de41fe7a3e3dffb40132d38d629a113a7f4afff251b1a018684604051611482929190615af6565b5050505050565b6000611df18486600001516105ff565b9050818115611e2b578280831015611e065750815b611e26868689600001518460405180602001604052806000815250611aa9565b830390505b801561100b578560600151600081518110611e4257fe5b6020026020010151600001516001600160a01b0316856001600160a01b031614611e7e5760405162461bcd60e51b8152600401610b2290615843565b61100b868583610a97565b60006001600160e01b03198216636db15a0f60e01b1480611eba57506001600160e01b0319821663656cb66560e11b145b80611ed557506001600160e01b0319821663152a902d60e11b145b80611ef057506001600160e01b031982166301ffc9a760e01b145b80611f0b57506001600160e01b03198216636cdb3d1360e11b145b8061067c5750506001600160e01b0319166303a24d0760e21b1490565b6000815160001415611f3c5750600061067f565b506020015190565b6000806001611f5a611f5588612df7565b612e7a565b84878760405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611fb1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661200d576040805162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b604482015290519081900360640190fd5b866001600160a01b0316816001600160a01b03161491505095945050505050565b600082820183811015611aa2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600081815261012e6020908152604080832080548251601f600260001961010060018616150201909316929092049182018590048502810185019093528083526060949383018282801561211d5780601f106120f25761010080835404028352916020019161211d565b820191906000526020600020905b81548152906001019060200180831161210057829003601f168201915b50505050509050600061212e611491565b90508051600014156121425750905061067f565b81511561215c576121538183612ec6565b9250505061067f565b80612166856130ab565b6040516020018083805190602001908083835b602083106121985780518252601f199092019160209182019101612179565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106121e05780518252601f1990920191602091820191016121c1565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b825160601c600061222d6126dc565b9050806001600160a01b0316826001600160a01b0316148061225457506122548282611a96565b6122705760405162461bcd60e51b8152600401610b2290615974565b600083116122905760405162461bcd60e51b8152600401610b229061594a565b845160009081526101fc60205260409020546123f95784606001516000815181106122b757fe5b6020026020010151600001516001600160a01b0316826001600160a01b0316146122f35760405162461bcd60e51b8152600401610b22906158fa565b60008560400151116123175760405162461bcd60e51b8152600401610b229061589b565b8460a00151518560600151511461232d57600080fd5b600061233886613185565b905060005b8660600151518110156123ae5760008760600151828151811061235c57fe5b6020026020010151600001519050836001600160a01b0316816001600160a01b0316146123a5576123a581848a60a00151858151811061239857fe5b60200260200101516133d8565b5060010161233d565b506123c1866000015187604001516133e3565b6123d38660000151876080015161344d565b6123e58660000151876060015161363c565b6123f7866000015187602001516137eb565b505b61241884866000015185604051806020016040528060008152506138af565b836001600160a01b0316826001600160a01b0316146124c957816001600160a01b031660006001600160a01b0316826001600160a01b0316600080516020615c60833981519152886000015187604051612473929190615af6565b60405180910390a4836001600160a01b0316826001600160a01b0316826001600160a01b0316600080516020615c608339815191528860000151876040516124bc929190615af6565b60405180910390a4611dda565b836001600160a01b031660006001600160a01b0316826001600160a01b0316600080516020615c6083398151915288600001518760405161250b929190615af6565b60405180910390a45050505050565b600054610100900460ff168061253357506125336138c1565b80612541575060005460ff16155b61257c5760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff161580156125a7576000805460ff1961ff0019909116610100171660011790555b6125af6138d2565b6125b76139cc565b6125bf6139ce565b6125c7613a7f565b6125cf613b1f565b6125e760405180602001604052806000815250613bef565b6125f084613cba565b6125f86139cc565b612600613d6c565b61260a8787613e09565b612612613a7f565b61261b856129f8565b612626836001613e32565b612631826001613e32565b8015612643576000805461ff00191690555b50505050505050565b7f36c25de3e541d5d970f66e4210d728721220fff5c077cc6cd008b3a0c62adab78280519060200120828051906020012030612686613e92565b60405160200180868152602001858152602001848152602001836001600160a01b0316815260200182815260200195505050505050604051602081830303815290604052805190602001206102fc819055505050565b60006126e6613e9c565b905090565b6000818484111561277a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561273f578181015183820152602001612727565b50505050905090810190601f16801561276c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b612794846001600160a01b0316613ef8565b1561100b57836001600160a01b031663bc197c8187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561282257818101518382015260200161280a565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015612861578181015183820152602001612849565b50505050905001848103825285818151815260200191508051906020019080838360005b8381101561289d578181015183820152602001612885565b50505050905090810190601f1680156128ca5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b1580156128ef57600080fd5b505af192505050801561291457506040513d602081101561290f57600080fd5b505160015b6129a957612920615b4a565b8061292b5750612972565b60405162461bcd60e51b815260206004820181815283516024840152835184939192839260440191908501908083836000831561273f578181015183820152602001612727565b60405162461bcd60e51b8152600401808060200182810382526034815260200180615c046034913960400191505060405180910390fd5b6001600160e01b0319811663bc197c8160e01b146126435760405162461bcd60e51b8152600401808060200182810382526028815260200180615c386028913960400191505060405180910390fd5b80516116ba9061012f906020840190614c2c565b806000606084901c612a1c6126dc565b6001600160a01b0316816001600160a01b03161415612a79578391506000612a4386613efe565b90508015612a68576000612a5687613f11565b8203905080861115612a66578093505b505b612a728684613f24565b8285039350505b509250929050565b612a896126dc565b6001600160a01b0316836001600160a01b03161480612aaf5750612aaf8361057a6126dc565b612aea5760405162461bcd60e51b8152600401808060200182810382526029815260200180615d386029913960400191505060405180910390fd5b610b36838383613f3d565b60008381526101fa6020526040812054905b81811015611dda5760008581526101fa6020526040902080546001600160a01b038616919083908110612b3657fe5b6000918252602090912001546001600160a01b03161415612b995760008581526101fa60205260409020805484919083908110612b6f57fe5b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790555b600101612b07565b6001600160a01b038116600090815260c9602052604081205460ff1680611aa25750611aa283836141ab565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612c0157fe5b602090810291909101015292915050565b612c24846001600160a01b0316613ef8565b1561100b57836001600160a01b031663f23a6e6187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612cb3578181015183820152602001612c9b565b50505050905090810190601f168015612ce05780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b158015612d0357600080fd5b505af1925050508015612d2857506040513d6020811015612d2357600080fd5b505160015b612d3457612920615b4a565b6001600160e01b0319811663f23a6e6160e01b146126435760405162461bcd60e51b8152600401808060200182810382526028815260200180615c386028913960400191505060405180910390fd5b612d8b6126dc565b6001600160a01b0316836001600160a01b03161480612db15750612db18361057a6126dc565b612dec5760405162461bcd60e51b8152600401808060200182810382526029815260200180615d386029913960400191505060405180910390fd5b610b368383836141d9565b6000604051806080016040528060438152602001615cab60439139805190602001208260000151836020015184604001518051906020012060405160200180858152602001848152602001836001600160a01b03168152602001828152602001945050505050604051602081830303815290604052805190602001209050919050565b6000612e846142fa565b82604051602001808061190160f01b81525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b80518251606091849184911015612f915784846040516020018083805190602001908083835b60208310612f0b5780518252601f199092019160209182019101612eec565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310612f535780518252601f199092019160209182019101612f34565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529250505061066b565b60005b82518110156130a157828181518110612fa957fe5b602001015160f81c60f81b6001600160f81b031916828281518110612fca57fe5b01602001516001600160f81b031916146130995785856040516020018083805190602001908083835b602083106130125780518252601f199092019160209182019101612ff3565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b6020831061305a5780518252601f19909201916020918201910161303b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052935050505061066b565b600101612f94565b5092949350505050565b6060816130d057506040805180820190915260018152600360fc1b602082015261067f565b8160005b81156130e857600101600a820491506130d4565b6000816001600160401b038111801561310057600080fd5b506040519080825280601f01601f19166020018201604052801561312b576020820181803683370190505b50859350905060001982015b831561317c57600a840660300160f81b8282806001900393508151811061315a57fe5b60200101906001600160f81b031916908160001a905350600a84049350613137565b50949350505050565b6000808260800151516001600160401b03811180156131a357600080fd5b506040519080825280602002602001820160405280156131cd578160200160208202803683370190505b50905060005b83608001515181101561321f57613200846080015182815181106131f357fe5b6020026020010151614301565b82828151811061320c57fe5b60209081029190910101526001016131d3565b5060008360600151516001600160401b038111801561323d57600080fd5b50604051908082528060200260200182016040528015613267578160200160208202803683370190505b50905060005b8460600151518110156132ac5761328d856060015182815181106131f357fe5b82828151811061329957fe5b602090810291909101015260010161326d565b507ffb988707ebb338694f318760b0fd5cfe756d00a2ade251fda110b80c336a3c7f846000015185604001518660200151805190602001208460405160200180828051906020019060200280838360005b838110156133155781810151838201526020016132fd565b50505050905001915050604051602081830303815290604052805190602001208660405160200180828051906020019060200280838360005b8381101561336657818101518382015260200161334e565b50505050905001915050604051602081830303815290604052805190602001206040516020018087815260200186815260200185815260200184815260200183815260200182815260200196505050505050506040516020818303038152906040528051906020012092505050919050565b610b3683838361436e565b60008281526101fc6020526040902054156133fd57600080fd5b60008281526101fc602052604090819020829055517f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c906134419084908490615af6565b60405180910390a15050565b6000805b82518110156135f15760006001600160a01b031683828151811061347157fe5b6020026020010151600001516001600160a01b031614156134d9576040805162461bcd60e51b815260206004820152601b60248201527f526563697069656e742073686f756c642062652070726573656e740000000000604482015290519081900360640190fd5b8281815181106134e557fe5b6020026020010151602001516001600160601b03166000141561354f576040805162461bcd60e51b815260206004820181905260248201527f526f79616c74792076616c75652073686f756c6420626520706f736974697665604482015290519081900360640190fd5b82818151811061355b57fe5b6020026020010151602001516001600160601b0316820191506101fa600085815260200190815260200160002083828151811061359457fe5b60209081029190910181015182546001818101855560009485529383902082519101805492909301516001600160601b0316600160a01b026001600160a01b039182166001600160a01b0319909316929092171617905501613451565b5061271081106136325760405162461bcd60e51b8152600401808060200182810382526025815260200180615eb86025913960400191505060405180910390fd5b610b3683836145b0565b60008281526101fb6020526040812090805b835181101561378a5760006001600160a01b031684828151811061366e57fe5b6020026020010151600001516001600160a01b031614156136a15760405162461bcd60e51b8152600401610b22906159e6565b8381815181106136ad57fe5b6020026020010151602001516001600160601b0316600014156136e25760405162461bcd60e51b8152600401610b22906158c5565b828482815181106136ef57fe5b602090810291909101810151825460018101845560009384529282902081519301805491909201516001600160601b0316600160a01b026001600160a01b039384166001600160a01b03199092169190911790921691909117905583516137809085908390811061375c57fe5b6020026020010151602001516001600160601b03168361202e90919063ffffffff16565b915060010161364e565b5080612710146137ac5760405162461bcd60e51b8152600401610b2290615a86565b7f841ffb90d4cabdd1f16034f3fa831d79060febbb8167bdd54a49269365bdf78f84846040516137dd929190615add565b60405180910390a150505050565b600082815261012e60209081526040909120825161380b92840190614c2c565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b61383784612088565b6040805160208082528351818301528351919283929083019185019080838360005b83811015613871578181015183820152602001613859565b50505050905090810190601f16801561389e5780820380516001836020036101000a031916815260200191505b509250505060405180910390a25050565b6138bb848484846145e1565b50505050565b60006138cc30613ef8565b15905090565b600054610100900460ff16806138eb57506138eb6138c1565b806138f9575060005460ff16155b6139345760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff1615801561395f576000805460ff1961ff0019909116610100171660011790555b60006139696126dc565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156139c9576000805461ff00191690555b50565b565b600054610100900460ff16806139e757506139e76138c1565b806139f5575060005460ff16155b613a305760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613a5b576000805460ff1961ff0019909116610100171660011790555b613a6b6301ffc9a760e01b6146f3565b80156139c9576000805461ff001916905550565b600054610100900460ff1680613a985750613a986138c1565b80613aa6575060005460ff16155b613ae15760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613a6b576000805460ff1961ff00199091166101001716600117905580156139c9576000805461ff001916905550565b600054610100900460ff1680613b385750613b386138c1565b80613b46575060005460ff16155b613b815760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613bac576000805460ff1961ff0019909116610100171660011790555b613a6b604051806040016040528060088152602001674d696e743131353560c01b815250604051806040016040528060018152602001603160f81b815250614777565b600054610100900460ff1680613c085750613c086138c1565b80613c16575060005460ff16155b613c515760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613c7c576000805460ff1961ff0019909116610100171660011790555b613c8582614839565b613c95636cdb3d1360e11b6146f3565b613ca56303a24d0760e21b6146f3565b80156116ba576000805461ff00191690555050565b600054610100900460ff1680613cd35750613cd36138c1565b80613ce1575060005460ff16155b613d1c5760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613d47576000805460ff1961ff0019909116610100171660011790555b8151613d5b90610230906020850190614c2c565b50613ca563e8a3d48560e01b6146f3565b600054610100900460ff1680613d855750613d856138c1565b80613d93575060005460ff16155b613dce5760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613df9576000805460ff1961ff0019909116610100171660011790555b613a6b63656cb66560e11b6146f3565b8151613e1d90610262906020850190614c2c565b508051610b3690610263906020840190614c2c565b6001600160a01b038216600081815260c96020908152604091829020805460ff1916851515908117909155825190815291517f270dbb8ba4292910ae92862466486be25c355c837270a3d8824b36a8bc7c653b9281900390910190a25050565b60006126e661484c565b600033301415613ef357600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506115269050565b503390565b3b151590565b60009081526101fc602052604090205490565b60009081526101fd602052604090205490565b60009182526101fd602052604090912080549091019055565b6001600160a01b038316613f825760405162461bcd60e51b8152600401808060200182810382526023815260200180615e2a6023913960400191505060405180910390fd5b8051825114613fc25760405162461bcd60e51b8152600401808060200182810382526028815260200180615f2f6028913960400191505060405180910390fd5b6000613fcc6126dc565b9050613fec8185600086866040518060200160405280600081525061100b565b60005b83518110156140ca5761408183828151811061400757fe5b6020026020010151604051806060016040528060248152602001615d14602491396097600088868151811061403857fe5b602002602001015181526020019081526020016000206000896001600160a01b03166001600160a01b03168152602001908152602001600020546126eb9092919063ffffffff16565b6097600086848151811061409157fe5b602090810291909101810151825281810192909252604090810160009081206001600160a01b038a168252909252902055600101613fef565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015614151578181015183820152602001614139565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015614190578181015183820152602001614178565b5050505090500194505050505060405180910390a450505050565b6001600160a01b03918216600090815260986020908152604080832093909416825291909152205460ff1690565b6001600160a01b03831661421e5760405162461bcd60e51b8152600401808060200182810382526023815260200180615e2a6023913960400191505060405180910390fd5b60006142286126dc565b90506142588185600061423a87612bcd565b61424387612bcd565b6040518060200160405280600081525061100b565b61429f82604051806060016040528060248152602001615d146024913960008681526097602090815260408083206001600160a01b038b16845290915290205491906126eb565b60008481526097602090815260408083206001600160a01b03808a1680865291845282852095909555815188815292830187905281519394909390861692600080516020615c6083398151915292908290030190a450505050565b6102fc5490565b8051602091820151604080517f397e04204c1e1a60ee8724b71f8244e10ab5f2e9009854d80f602bda21b59ebb818601526001600160a01b03909316838201526001600160601b039091166060808401919091528151808403909101815260809092019052805191012090565b600061437983614850565b9050600082516041141561439457614391828461485a565b90505b846001600160a01b0316816001600160a01b031614611dda576143bf856001600160a01b0316613ef8565b156145385760408051630b135d3f60e11b808252600482018581526024830193845286516044840152865191936001600160a01b038a1693631626ba7e9388938a9390929091606490910190602085019080838360005b8381101561442e578181015183820152602001614416565b50505050905090810190601f16801561445b5780820380516001836020036101000a031916815260200191505b50935050505060206040518083038186803b15801561447957600080fd5b505afa15801561448d573d6000803e3d6000fd5b505050506040513d60208110156144a357600080fd5b505160408051808201909152601c81527f7369676e617475726520766572696669636174696f6e206572726f72000000006020820152916001600160e01b0319909116146145325760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561273f578181015183820152602001612727565b50611dda565b604080518082018252601c81527f7369676e617475726520766572696669636174696f6e206572726f72000000006020808301918252925162461bcd60e51b8152600481019384528251602482015282519293928392604490920191908083836000831561273f578181015183820152602001612727565b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df8282604051613441929190615add565b60008381526101fd60205260408120546145fc90849061202e565b60008581526101fc602052604090205490915081111561462e5760405162461bcd60e51b8152600401610b22906159bc565b60008481526101fd602052604090208190556001600160a01b0385166146665760405162461bcd60e51b8152600401610b2290615a45565b60006146706126dc565b90506146918160008861468289612bcd565b61468b89612bcd565b8861100b565b60008581526097602090815260408083206001600160a01b038a1684529091529020546146be908561202e565b60008681526097602090815260408083206001600160a01b038b16845290915281209190915561100b90829088888888612c12565b6001600160e01b03198082161415614752576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152606560205260409020805460ff19166001179055565b600054610100900460ff168061479057506147906138c1565b8061479e575060005460ff16155b6147d95760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015614804576000805460ff1961ff0019909116610100171660011790555b825160208085019190912083519184019190912061016291909155610163558015610b36576000805461ff0019169055505050565b80516116ba906099906020840190614c2c565b4690565b6000612e846148da565b600081516041146148b2576040805162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015290519081900360640190fd5b60208201516040830151606084015160001a6148d086828585614915565b9695505050505050565b60006126e67f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f614908614b6b565b614910614b72565b614b79565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156149765760405162461bcd60e51b8152600401808060200182810382526022815260200180615d616022913960400191505060405180910390fd5b6000601e8560ff161115614a50576004850360ff16601b148061499f57506004850360ff16601c145b6149da5760405162461bcd60e51b8152600401808060200182810382526022815260200180615e086022913960400191505060405180910390fd5b60016149e587614bdb565b60048703868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015614a3f573d6000803e3d6000fd5b505050602060405103519050614b07565b8460ff16601b1480614a6557508460ff16601c145b614aa05760405162461bcd60e51b8152600401808060200182810382526022815260200180615e086022913960400191505060405180910390fd5b60018686868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015614afa573d6000803e3d6000fd5b5050506020604051035190505b6001600160a01b038116614b62576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b95945050505050565b6101625490565b6101635490565b6000838383614b8661484c565b3060405160200180868152602001858152602001848152602001838152602001826001600160a01b03168152602001955050505050506040516020818303038152906040528051906020012090509392505050565b604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c8083019490945282518083039094018452605c909101909152815191012090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282614c625760008555614ca8565b82601f10614c7b57805160ff1916838001178555614ca8565b82800160010185558215614ca8579182015b82811115614ca8578251825591602001919060010190614c8d565b50614cb4929150614cb8565b5090565b5b80821115614cb45760008155600101614cb9565b803561067f81615bee565b600082601f830112614ce8578081fd5b81356020614cfd614cf883615b27565b615b04565b8281528181019085830183850287018401881015614d19578586fd5b855b85811015614d40578135614d2e81615bee565b84529284019290840190600101614d1b565b5090979650505050505050565b600082601f830112614d5d578081fd5b81356020614d6d614cf883615b27565b82815281810190858301855b85811015614d4057614d90898684358b0101614eb7565b84529284019290840190600101614d79565b600082601f830112614db2578081fd5b81356020614dc2614cf883615b27565b82815281810190858301604080860288018501891015614de0578687fd5b865b86811015614e4f5781838b031215614df8578788fd5b81518281018181106001600160401b0382111715614e1257fe5b83528335614e1f81615bee565b8152838701356001600160601b0381168114614e3957898afd5b8188015285529385019391810191600101614de2565b509198975050505050505050565b600082601f830112614e6d578081fd5b81356020614e7d614cf883615b27565b8281528181019085830183850287018401881015614e99578586fd5b855b85811015614d4057813584529284019290840190600101614e9b565b600082601f830112614ec7578081fd5b81356001600160401b03811115614eda57fe5b614eed601f8201601f1916602001615b04565b818152846020838601011115614f01578283fd5b816020850160208301379081016020019190915292915050565b600060c08284031215614f2c578081fd5b614f3660c0615b04565b90508135815260208201356001600160401b0380821115614f5657600080fd5b614f6285838601614eb7565b6020840152604084013560408401526060840135915080821115614f8557600080fd5b614f9185838601614da2565b60608401526080840135915080821115614faa57600080fd5b614fb685838601614da2565b608084015260a0840135915080821115614fcf57600080fd5b50614fdc84828501614d4d565b60a08301525092915050565b600060208284031215614ff9578081fd5b8135611aa281615bee565b60008060408385031215615016578081fd5b823561502181615bee565b9150602083013561503181615bee565b809150509250929050565b600080600080600060a08688031215615053578081fd5b853561505e81615bee565b9450602086013561506e81615bee565b935060408601356001600160401b0380821115615089578283fd5b61509589838a01614e5d565b945060608801359150808211156150aa578283fd5b6150b689838a01614e5d565b935060808801359150808211156150cb578283fd5b506150d888828901614eb7565b9150509295509295909350565b600080600080600060a086880312156150fc578283fd5b853561510781615bee565b9450602086013561511781615bee565b9350604086013592506060860135915060808601356001600160401b0381111561513f578182fd5b6150d888828901614eb7565b60008060006060848603121561515f578081fd5b833561516a81615bee565b925060208401356001600160401b0380821115615185578283fd5b61519187838801614e5d565b935060408601359150808211156151a6578283fd5b506151b386828701614e5d565b9150509250925092565b600080604083850312156151cf578182fd5b82356151da81615bee565b915060208301358015158114615031578182fd5b600080600080600060a08688031215615205578283fd5b853561521081615bee565b945060208601356001600160401b0381111561522a578384fd5b61523688828901614eb7565b9450506040860135925060608601359150608086013560ff8116811461525a578182fd5b809150509295509295909350565b6000806040838503121561527a578182fd5b823561528581615bee565b946020939093013593505050565b6000806000606084860312156152a7578081fd5b83356152b281615bee565b95602085013595506040909401359392505050565b6000602082840312156152d8578081fd5b81356001600160401b038111156152ed578182fd5b6152f984828501614cd8565b949350505050565b60008060408385031215615313578182fd5b82356001600160401b0380821115615329578384fd5b61533586838701614cd8565b9350602085013591508082111561534a578283fd5b5061535785828601614e5d565b9150509250929050565b600060208284031215615372578081fd5b81356001600160e01b031981168114611aa2578182fd5b60006020828403121561539a578081fd5b81356001600160401b038111156153af578182fd5b6152f984828501614eb7565b60008060008060008060c087890312156153d3578384fd5b86356001600160401b03808211156153e9578586fd5b6153f58a838b01614eb7565b9750602089013591508082111561540a578586fd5b6154168a838b01614eb7565b9650604089013591508082111561542b578586fd5b6154378a838b01614eb7565b9550606089013591508082111561544c578283fd5b5061545989828a01614eb7565b93505061546860808801614ccd565b915061547660a08801614ccd565b90509295509295509295565b600080600080600080600060e0888a03121561549c578485fd5b87356001600160401b03808211156154b2578687fd5b6154be8b838c01614eb7565b985060208a01359150808211156154d3578687fd5b6154df8b838c01614eb7565b975060408a01359150808211156154f4578687fd5b6155008b838c01614eb7565b965060608a0135915080821115615515578283fd5b6155218b838c01614eb7565b955060808a0135915080821115615536578283fd5b506155438a828b01614cd8565b93505061555260a08901614ccd565b915061556060c08901614ccd565b905092959891949750929550565b60008060008060808587031215615583578182fd5b84356001600160401b03811115615598578283fd5b6155a487828801614f1b565b94505060208501356155b581615bee565b925060408501356155c581615bee565b9396929550929360600135925050565b6000806000606084860312156155e9578081fd5b83356001600160401b038111156155fe578182fd5b61560a86828701614f1b565b935050602084013561561b81615bee565b929592945050506040919091013590565b60006020828403121561563d578081fd5b5035919050565b600080600060608486031215615658578081fd5b83359250602084013561566a81615bee565b9150604084013561567a81615bee565b809150509250925092565b60008060408385031215615697578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156156f257815180516001600160a01b031688528301516001600160601b031683880152604090960195908201906001016156b9565b509495945050505050565b6000815180845260208085019450808401835b838110156156f257815187529582019590820190600101615710565b60008151808452815b8181101561575157602081850181015186830182015201615735565b818111156157625782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03841681526060602082018190526000906157af9083018561572c565b82810360408401526148d0818561572c565b6001600160a01b03929092168252602082015260400190565b600060208252611aa260208301846156a6565b600060208252611aa260208301846156fd565b60006040825261581360408301856156fd565b8281036020840152614b6281856156fd565b901515815260200190565b600060208252611aa2602083018461572c565b6020808252601190820152703bb937b7339037b93232b91036b0b5b2b960791b604082015260600190565b6020808252601390820152723737ba1037bbb732b91037b91036b4b73a32b960691b604082015260600190565b60208082526010908201526f1cdd5c1c1b1e481a5b98dbdc9c9958dd60821b604082015260600190565b6020808252818101527f43726561746f722073686172652073686f756c6420626520706f736974697665604082015260600190565b6020808252601190820152701d1bdad95b9259081a5b98dbdc9c9958dd607a1b604082015260600190565b6020808252600b908201526a1b9bdd08185b1b1bddd95960aa1b604082015260600190565b60208082526010908201526f185b5bdd5b9d081a5b98dbdc9c9958dd60821b604082015260600190565b60208082526028908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f7420604082015267185c1c1c9bdd995960c21b606082015260800190565b60208082526010908201526f6d6f7265207468616e20737570706c7960801b604082015260600190565b60208082526019908201527f4163636f756e742073686f756c642062652070726573656e7400000000000000604082015260600190565b6020808252600e908201526d69647320213d20616d6f756e747360901b604082015260600190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252602e908201527f746f74616c20616d6f756e74206f662063726561746f7273207368617265207360408201526d0686f756c642062652031303030360941b606082015260800190565b90815260200190565b6000838252604060208301526152f960408301846156a6565b918252602082015260400190565b6040518181016001600160401b0381118282101715615b1f57fe5b604052919050565b60006001600160401b03821115615b3a57fe5b5060209081020190565b60e01c90565b600060443d1015615b5a57611526565b600481823e6308c379a0615b6e8251615b44565b14615b7857611526565b6040513d600319016004823e80513d6001600160401b038160248401118184111715615ba75750505050611526565b82840192508251915080821115615bc15750505050611526565b503d83016020828401011115615bd957505050611526565b601f01601f1916810160200160405291505090565b6001600160a01b03811681146139c957600080fdfe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e73c3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62455243313135353a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373455243313135353a206275726e20616d6f756e7420657863656564732062616c616e6365455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656445434453413a20696e76616c6964207369676e6174757265202773272076616c7565455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a656445434453413a20696e76616c6964207369676e6174757265202776272076616c7565455243313135353a206275726e2066726f6d20746865207a65726f2061646472657373455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e736665724f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725369676e657220616e64207369676e617475726520646f206e6f74206d61746368526f79616c747920746f74616c2076616c75652073686f756c64206265203c203130303030455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d61746368a2646970667358221220ce4d4dc3b1fad263d8a31f95005350f34678e0a530aabeb658eb6667bb8dcdd964736f6c63430007060033
Deployed ByteCode
0x6080604052600436106101e25760003560e01c8063715018a611610102578063cad96cca11610095578063f242432a11610064578063f242432a1461057f578063f2fde38b1461059f578063f5298aca146105bf578063ffc4e0a7146105df576101e2565b8063cad96cca1461050a578063e07f23191461052a578063e8a3d4851461054a578063e985e9c51461055f576101e2565b806395d89b41116100d157806395d89b4114610495578063983b2d56146104aa578063a22cb465146104ca578063aa271e1a146104ea576101e2565b8063715018a61461041157806371e2a65714610426578063891be974146104465780638da5cb5b14610473576101e2565b80632d0335ab1161017a57806355f804b31161014957806355f804b31461039c57806361e05459146103bc5780636b20c454146103dc5780636c0360eb146103fc576101e2565b80632d0335ab1461030f5780632eb2c2d61461032f5780633092afd51461034f5780634e1273f41461036f576101e2565b80630e89341c116101b65780630e89341c1461027f5780630eaead671461029f578063173c43d2146102c15780632a55205a146102e1576101e2565b8062fdd58e146101e757806301ffc9a71461021d57806306fdde031461024a5780630c53c51c1461026c575b600080fd5b3480156101f357600080fd5b50610207610202366004615268565b6105ff565b6040516102149190615ad4565b60405180910390f35b34801561022957600080fd5b5061023d610238366004615361565b610671565b6040516102149190615825565b34801561025657600080fd5b5061025f610684565b6040516102149190615830565b61025f61027a3660046151ee565b610713565b34801561028b57600080fd5b5061025f61029a36600461562c565b610a8c565b3480156102ab57600080fd5b506102bf6102ba3660046155d5565b610a97565b005b3480156102cd57600080fd5b506102bf6102dc3660046153bb565b610b3b565b3480156102ed57600080fd5b506103016102fc366004615685565b610beb565b6040516102149291906157c1565b34801561031b57600080fd5b5061020761032a366004614fe8565b610cf9565b34801561033b57600080fd5b506102bf61034a36600461503c565b610d15565b34801561035b57600080fd5b506102bf61036a366004614fe8565b611013565b34801561037b57600080fd5b5061038f61038a366004615301565b6110c3565b60405161021491906157ed565b3480156103a857600080fd5b506102bf6103b7366004615389565b6111ae565b3480156103c857600080fd5b506102bf6103d7366004615482565b611253565b3480156103e857600080fd5b506102bf6103f736600461514b565b61130b565b34801561040857600080fd5b5061025f611491565b34801561041d57600080fd5b506102bf611529565b34801561043257600080fd5b506102bf6104413660046152c7565b6115d5565b34801561045257600080fd5b5061046661046136600461562c565b6116be565b60405161021491906157da565b34801561047f57600080fd5b5061048861174e565b6040516102149190615777565b3480156104a157600080fd5b5061025f61175d565b3480156104b657600080fd5b506102bf6104c5366004614fe8565b6117b9565b3480156104d657600080fd5b506102bf6104e53660046151bd565b61186e565b3480156104f657600080fd5b5061023d610505366004614fe8565b61195d565b34801561051657600080fd5b5061046661052536600461562c565b61197c565b34801561053657600080fd5b506102bf610545366004615644565b6119f7565b34801561055657600080fd5b5061025f611a3a565b34801561056b57600080fd5b5061023d61057a366004615004565b611a96565b34801561058b57600080fd5b506102bf61059a3660046150e5565b611aa9565b3480156105ab57600080fd5b506102bf6105ba366004614fe8565b611c62565b3480156105cb57600080fd5b506102bf6105da366004615293565b611d65565b3480156105eb57600080fd5b506102bf6105fa36600461556e565b611de1565b60006001600160a01b0383166106465760405162461bcd60e51b815260040180806020018281038252602b815260200180615c80602b913960400191505060405180910390fd5b5060008181526097602090815260408083206001600160a01b03861684529091529020545b92915050565b600061067c82611e89565b90505b919050565b610262805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561070b5780601f106106e05761010080835404028352916020019161070b565b820191906000526020600020905b8154815290600101906020018083116106ee57829003601f168201915b505050505081565b6060600061072086611f28565b90506000356001600160e01b03199081169082161415610787576040805162461bcd60e51b815260206004820152601760248201527f57726f6e672066756e6374696f6e5369676e6174757265000000000000000000604482015290519081900360640190fd5b604080516060810182526001600160a01b03891660008181526102fb6020908152908490205483528201529081018790526107c58882888888611f44565b6108005760405162461bcd60e51b8152600401808060200182810382526021815260200180615e976021913960400191505060405180910390fd5b6001600160a01b03881660009081526102fb602052604090205461082590600161202e565b6102fb60008a6001600160a01b03166001600160a01b0316815260200190815260200160002081905550600080306001600160a01b0316898b6040516020018083805190602001908083835b602083106108905780518252601f199092019160209182019101610871565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b031660601b8152601401925050506040516020818303038152906040526040518082805190602001908083835b602083106109065780518252601f1990920191602091820191016108e7565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610968576040519150601f19603f3d011682016040523d82523d6000602084013e61096d565b606091505b5091509150816109c4576040805162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604482015290519081900360640190fd5b7f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b8a338b60405180846001600160a01b03168152602001836001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610a43578181015183820152602001610a2b565b50505050905090810190601f168015610a705780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a19998505050505050505050565b606061067c82612088565b6102965460ff1615610b2b578260600151600081518110610ab457fe5b6020026020010151600001516001600160a01b0316610ad161174e565b6001600160a01b03161480610b065750610b068360600151600081518110610af557fe5b60200260200101516000015161195d565b610b2b5760405162461bcd60e51b8152600401610b229061586e565b60405180910390fd5b610b3683838361221e565b505050565b610b4986868686868661251a565b610b96604051806040016040528060128152602001714552433131353552617269626c654d65746160701b815250604051806040016040528060018152602001603160f81b81525061264c565b610296805460ff191690557fcc215b7682459c30faa0e854780165d503a7d62d22a9aaaad6334585dc63343e610bca6126dc565b8787604051610bdb9392919061578b565b60405180910390a1505050505050565b60008281526101fa60205260408120548190610c0c57506000905080610cf2565b60008481526101fa6020908152604080832080548251818502810185019093528083529192909190849084015b82821015610c8857600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b031681830152825260019092019101610c39565b50505050905080600081518110610c9b57fe5b60209081029190910101515192506000805b8251811015610ce657828181518110610cc257fe5b6020026020010151602001516001600160601b031682019150806001019050610cad565b50612710908502049150505b9250929050565b6001600160a01b031660009081526102fb602052604090205490565b8151835114610d555760405162461bcd60e51b8152600401808060200182810382526028815260200180615f2f6028913960400191505060405180910390fd5b6001600160a01b038416610d9a5760405162461bcd60e51b8152600401808060200182810382526025815260200180615d836025913960400191505060405180910390fd5b610da26126dc565b6001600160a01b0316856001600160a01b03161480610dc85750610dc88561057a6126dc565b610e035760405162461bcd60e51b8152600401808060200182810382526032815260200180615da86032913960400191505060405180910390fd5b6000610e0d6126dc565b9050610e1d81878787878761100b565b60005b8451811015610f23576000858281518110610e3757fe5b602002602001015190506000858381518110610e4f57fe5b60200260200101519050610ebc816040518060600160405280602a8152602001615e4d602a91396097600086815260200190815260200160002060008d6001600160a01b03166001600160a01b03168152602001908152602001600020546126eb9092919063ffffffff16565b60008381526097602090815260408083206001600160a01b038e811685529252808320939093558a1681522054610ef3908261202e565b60009283526097602090815260408085206001600160a01b038c1686529091529092209190915550600101610e20565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015610fa9578181015183820152602001610f91565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015610fe8578181015183820152602001610fd0565b5050505090500194505050505060405180910390a461100b818787878787612782565b505050505050565b61101b6126dc565b6001600160a01b031661102c61174e565b6001600160a01b031614611075576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b6001600160a01b03811660008181526102c86020526040808220805460ff19169055519091907f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd908390a350565b606081518351146111055760405162461bcd60e51b8152600401808060200182810382526029815260200180615f066029913960400191505060405180910390fd5b600083516001600160401b038111801561111e57600080fd5b50604051908082528060200260200182016040528015611148578160200160208202803683370190505b50905060005b84518110156111a65761118785828151811061116657fe5b602002602001015185838151811061117a57fe5b60200260200101516105ff565b82828151811061119357fe5b602090810291909101015260010161114e565b509392505050565b6111b66126dc565b6001600160a01b03166111c761174e565b6001600160a01b031614611210576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b611219816129f8565b7f87cdeaffd8e70903d6ce7cc983fac3b09ca79e83818124c98e47a1d70f8027d6816040516112489190615830565b60405180910390a150565b61126187878787868661251a565b6112b2604051806040016040528060168152602001754552433131353552617269626c65557365724d65746160501b815250604051806040016040528060018152602001603160f81b81525061264c565b610296805460ff191660011790557f7da6bc204c8c4856a6aff786a6cb81c59477c782191dc51837d644a8ad50f2cc6112e96126dc565b88886040516112fa9392919061578b565b60405180910390a150505050505050565b805182511461132c5760405162461bcd60e51b8152600401610b2290615a1d565b600082516001600160401b038111801561134557600080fd5b5060405190808252806020026020018201604052801561136f578160200160208202803683370190505b509050600083516001600160401b038111801561138b57600080fd5b506040519080825280602002602001820160405280156113b5578160200160208202803683370190505b50905060005b845181101561142a576113f48582815181106113d357fe5b60200260200101518583815181106113e757fe5b6020026020010151612a0c565b84838151811061140057fe5b6020026020010184848151811061141357fe5b6020908102919091010191909152526001016113bb565b50611436858584612a81565b846001600160a01b03166114486126dc565b6001600160a01b03167fcf3391513e21a9d4a0348f8e890080170eba18dc62db35b60d8a518b7088eb3a8684604051611482929190615800565b60405180910390a35050505050565b61012f8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561151e5780601f106114f35761010080835404028352916020019161151e565b820191906000526020600020905b81548152906001019060200180831161150157829003601f168201915b505050505090505b90565b6115316126dc565b6001600160a01b031661154261174e565b6001600160a01b03161461158b576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b6115dd6126dc565b6001600160a01b03166115ee61174e565b6001600160a01b031614611637576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b60005b81518110156116ba57600082828151811061165157fe5b6020908102919091018101516001600160a01b03811660008181526102c89093526040808420805460ff1916600190811790915590519294509290917f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd9190a35060010161163a565b5050565b60606101fb6000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b8282101561174357600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b0316818301528252600190920191016116f4565b505050509050919050565b6033546001600160a01b031690565b610263805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561070b5780601f106106e05761010080835404028352916020019161070b565b6117c16126dc565b6001600160a01b03166117d261174e565b6001600160a01b03161461181b576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b6001600160a01b03811660008181526102c86020526040808220805460ff1916600190811790915590519092917f3042b80e435ae46c334b2cfec51a66d64c9a8a8af4cd0c279a124c35a09e91dd91a350565b816001600160a01b03166118806126dc565b6001600160a01b031614156118c65760405162461bcd60e51b8152600401808060200182810382526029815260200180615edd6029913960400191505060405180910390fd5b80609860006118d36126dc565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556119176126dc565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6001600160a01b031660009081526102c8602052604090205460ff1690565b60008181526101fa6020908152604080832080548251818502810185019093528083526060949293919290918401821561174357600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b0316818301528252600190920191016116f4565b816001600160a01b0316611a096126dc565b6001600160a01b031614611a2f5760405162461bcd60e51b8152600401610b2290615925565b610b36838383612af5565b610230805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561070b5780601f106106e05761010080835404028352916020019161070b565b6000611aa28383612ba1565b9392505050565b6001600160a01b038416611aee5760405162461bcd60e51b8152600401808060200182810382526025815260200180615d836025913960400191505060405180910390fd5b611af66126dc565b6001600160a01b0316856001600160a01b03161480611b1c5750611b1c8561057a6126dc565b611b575760405162461bcd60e51b8152600401808060200182810382526029815260200180615d386029913960400191505060405180910390fd5b6000611b616126dc565b9050611b81818787611b7288612bcd565b611b7b88612bcd565b8761100b565b611bc8836040518060600160405280602a8152602001615e4d602a913960008781526097602090815260408083206001600160a01b038d16845290915290205491906126eb565b60008581526097602090815260408083206001600160a01b038b81168552925280832093909355871681522054611bff908461202e565b60008581526097602090815260408083206001600160a01b03808b168086529184529382902094909455805188815291820187905280518a841693861692600080516020615c6083398151915292908290030190a461100b818787878787612c12565b611c6a6126dc565b6001600160a01b0316611c7b61174e565b6001600160a01b031614611cc4576040805162461bcd60e51b81526020600482018190526024820152600080516020615e77833981519152604482015290519081900360640190fd5b6001600160a01b038116611d095760405162461bcd60e51b8152600401808060200182810382526026815260200180615cee6026913960400191505060405180910390fd5b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b600080611d728484612a0c565b90925090508115611d8857611d88858584612d83565b8015611dda57846001600160a01b0316611da06126dc565b6001600160a01b03167f5110a21391aa55386de41fe7a3e3dffb40132d38d629a113a7f4afff251b1a018684604051611482929190615af6565b5050505050565b6000611df18486600001516105ff565b9050818115611e2b578280831015611e065750815b611e26868689600001518460405180602001604052806000815250611aa9565b830390505b801561100b578560600151600081518110611e4257fe5b6020026020010151600001516001600160a01b0316856001600160a01b031614611e7e5760405162461bcd60e51b8152600401610b2290615843565b61100b868583610a97565b60006001600160e01b03198216636db15a0f60e01b1480611eba57506001600160e01b0319821663656cb66560e11b145b80611ed557506001600160e01b0319821663152a902d60e11b145b80611ef057506001600160e01b031982166301ffc9a760e01b145b80611f0b57506001600160e01b03198216636cdb3d1360e11b145b8061067c5750506001600160e01b0319166303a24d0760e21b1490565b6000815160001415611f3c5750600061067f565b506020015190565b6000806001611f5a611f5588612df7565b612e7a565b84878760405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611fb1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661200d576040805162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b604482015290519081900360640190fd5b866001600160a01b0316816001600160a01b03161491505095945050505050565b600082820183811015611aa2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600081815261012e6020908152604080832080548251601f600260001961010060018616150201909316929092049182018590048502810185019093528083526060949383018282801561211d5780601f106120f25761010080835404028352916020019161211d565b820191906000526020600020905b81548152906001019060200180831161210057829003601f168201915b50505050509050600061212e611491565b90508051600014156121425750905061067f565b81511561215c576121538183612ec6565b9250505061067f565b80612166856130ab565b6040516020018083805190602001908083835b602083106121985780518252601f199092019160209182019101612179565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106121e05780518252601f1990920191602091820191016121c1565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b825160601c600061222d6126dc565b9050806001600160a01b0316826001600160a01b0316148061225457506122548282611a96565b6122705760405162461bcd60e51b8152600401610b2290615974565b600083116122905760405162461bcd60e51b8152600401610b229061594a565b845160009081526101fc60205260409020546123f95784606001516000815181106122b757fe5b6020026020010151600001516001600160a01b0316826001600160a01b0316146122f35760405162461bcd60e51b8152600401610b22906158fa565b60008560400151116123175760405162461bcd60e51b8152600401610b229061589b565b8460a00151518560600151511461232d57600080fd5b600061233886613185565b905060005b8660600151518110156123ae5760008760600151828151811061235c57fe5b6020026020010151600001519050836001600160a01b0316816001600160a01b0316146123a5576123a581848a60a00151858151811061239857fe5b60200260200101516133d8565b5060010161233d565b506123c1866000015187604001516133e3565b6123d38660000151876080015161344d565b6123e58660000151876060015161363c565b6123f7866000015187602001516137eb565b505b61241884866000015185604051806020016040528060008152506138af565b836001600160a01b0316826001600160a01b0316146124c957816001600160a01b031660006001600160a01b0316826001600160a01b0316600080516020615c60833981519152886000015187604051612473929190615af6565b60405180910390a4836001600160a01b0316826001600160a01b0316826001600160a01b0316600080516020615c608339815191528860000151876040516124bc929190615af6565b60405180910390a4611dda565b836001600160a01b031660006001600160a01b0316826001600160a01b0316600080516020615c6083398151915288600001518760405161250b929190615af6565b60405180910390a45050505050565b600054610100900460ff168061253357506125336138c1565b80612541575060005460ff16155b61257c5760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff161580156125a7576000805460ff1961ff0019909116610100171660011790555b6125af6138d2565b6125b76139cc565b6125bf6139ce565b6125c7613a7f565b6125cf613b1f565b6125e760405180602001604052806000815250613bef565b6125f084613cba565b6125f86139cc565b612600613d6c565b61260a8787613e09565b612612613a7f565b61261b856129f8565b612626836001613e32565b612631826001613e32565b8015612643576000805461ff00191690555b50505050505050565b7f36c25de3e541d5d970f66e4210d728721220fff5c077cc6cd008b3a0c62adab78280519060200120828051906020012030612686613e92565b60405160200180868152602001858152602001848152602001836001600160a01b0316815260200182815260200195505050505050604051602081830303815290604052805190602001206102fc819055505050565b60006126e6613e9c565b905090565b6000818484111561277a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561273f578181015183820152602001612727565b50505050905090810190601f16801561276c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b612794846001600160a01b0316613ef8565b1561100b57836001600160a01b031663bc197c8187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b8381101561282257818101518382015260200161280a565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015612861578181015183820152602001612849565b50505050905001848103825285818151815260200191508051906020019080838360005b8381101561289d578181015183820152602001612885565b50505050905090810190601f1680156128ca5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b1580156128ef57600080fd5b505af192505050801561291457506040513d602081101561290f57600080fd5b505160015b6129a957612920615b4a565b8061292b5750612972565b60405162461bcd60e51b815260206004820181815283516024840152835184939192839260440191908501908083836000831561273f578181015183820152602001612727565b60405162461bcd60e51b8152600401808060200182810382526034815260200180615c046034913960400191505060405180910390fd5b6001600160e01b0319811663bc197c8160e01b146126435760405162461bcd60e51b8152600401808060200182810382526028815260200180615c386028913960400191505060405180910390fd5b80516116ba9061012f906020840190614c2c565b806000606084901c612a1c6126dc565b6001600160a01b0316816001600160a01b03161415612a79578391506000612a4386613efe565b90508015612a68576000612a5687613f11565b8203905080861115612a66578093505b505b612a728684613f24565b8285039350505b509250929050565b612a896126dc565b6001600160a01b0316836001600160a01b03161480612aaf5750612aaf8361057a6126dc565b612aea5760405162461bcd60e51b8152600401808060200182810382526029815260200180615d386029913960400191505060405180910390fd5b610b36838383613f3d565b60008381526101fa6020526040812054905b81811015611dda5760008581526101fa6020526040902080546001600160a01b038616919083908110612b3657fe5b6000918252602090912001546001600160a01b03161415612b995760008581526101fa60205260409020805484919083908110612b6f57fe5b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790555b600101612b07565b6001600160a01b038116600090815260c9602052604081205460ff1680611aa25750611aa283836141ab565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612c0157fe5b602090810291909101015292915050565b612c24846001600160a01b0316613ef8565b1561100b57836001600160a01b031663f23a6e6187878686866040518663ffffffff1660e01b815260040180866001600160a01b03168152602001856001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612cb3578181015183820152602001612c9b565b50505050905090810190601f168015612ce05780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b158015612d0357600080fd5b505af1925050508015612d2857506040513d6020811015612d2357600080fd5b505160015b612d3457612920615b4a565b6001600160e01b0319811663f23a6e6160e01b146126435760405162461bcd60e51b8152600401808060200182810382526028815260200180615c386028913960400191505060405180910390fd5b612d8b6126dc565b6001600160a01b0316836001600160a01b03161480612db15750612db18361057a6126dc565b612dec5760405162461bcd60e51b8152600401808060200182810382526029815260200180615d386029913960400191505060405180910390fd5b610b368383836141d9565b6000604051806080016040528060438152602001615cab60439139805190602001208260000151836020015184604001518051906020012060405160200180858152602001848152602001836001600160a01b03168152602001828152602001945050505050604051602081830303815290604052805190602001209050919050565b6000612e846142fa565b82604051602001808061190160f01b81525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b80518251606091849184911015612f915784846040516020018083805190602001908083835b60208310612f0b5780518252601f199092019160209182019101612eec565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310612f535780518252601f199092019160209182019101612f34565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529250505061066b565b60005b82518110156130a157828181518110612fa957fe5b602001015160f81c60f81b6001600160f81b031916828281518110612fca57fe5b01602001516001600160f81b031916146130995785856040516020018083805190602001908083835b602083106130125780518252601f199092019160209182019101612ff3565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b6020831061305a5780518252601f19909201916020918201910161303b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052935050505061066b565b600101612f94565b5092949350505050565b6060816130d057506040805180820190915260018152600360fc1b602082015261067f565b8160005b81156130e857600101600a820491506130d4565b6000816001600160401b038111801561310057600080fd5b506040519080825280601f01601f19166020018201604052801561312b576020820181803683370190505b50859350905060001982015b831561317c57600a840660300160f81b8282806001900393508151811061315a57fe5b60200101906001600160f81b031916908160001a905350600a84049350613137565b50949350505050565b6000808260800151516001600160401b03811180156131a357600080fd5b506040519080825280602002602001820160405280156131cd578160200160208202803683370190505b50905060005b83608001515181101561321f57613200846080015182815181106131f357fe5b6020026020010151614301565b82828151811061320c57fe5b60209081029190910101526001016131d3565b5060008360600151516001600160401b038111801561323d57600080fd5b50604051908082528060200260200182016040528015613267578160200160208202803683370190505b50905060005b8460600151518110156132ac5761328d856060015182815181106131f357fe5b82828151811061329957fe5b602090810291909101015260010161326d565b507ffb988707ebb338694f318760b0fd5cfe756d00a2ade251fda110b80c336a3c7f846000015185604001518660200151805190602001208460405160200180828051906020019060200280838360005b838110156133155781810151838201526020016132fd565b50505050905001915050604051602081830303815290604052805190602001208660405160200180828051906020019060200280838360005b8381101561336657818101518382015260200161334e565b50505050905001915050604051602081830303815290604052805190602001206040516020018087815260200186815260200185815260200184815260200183815260200182815260200196505050505050506040516020818303038152906040528051906020012092505050919050565b610b3683838361436e565b60008281526101fc6020526040902054156133fd57600080fd5b60008281526101fc602052604090819020829055517f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c906134419084908490615af6565b60405180910390a15050565b6000805b82518110156135f15760006001600160a01b031683828151811061347157fe5b6020026020010151600001516001600160a01b031614156134d9576040805162461bcd60e51b815260206004820152601b60248201527f526563697069656e742073686f756c642062652070726573656e740000000000604482015290519081900360640190fd5b8281815181106134e557fe5b6020026020010151602001516001600160601b03166000141561354f576040805162461bcd60e51b815260206004820181905260248201527f526f79616c74792076616c75652073686f756c6420626520706f736974697665604482015290519081900360640190fd5b82818151811061355b57fe5b6020026020010151602001516001600160601b0316820191506101fa600085815260200190815260200160002083828151811061359457fe5b60209081029190910181015182546001818101855560009485529383902082519101805492909301516001600160601b0316600160a01b026001600160a01b039182166001600160a01b0319909316929092171617905501613451565b5061271081106136325760405162461bcd60e51b8152600401808060200182810382526025815260200180615eb86025913960400191505060405180910390fd5b610b3683836145b0565b60008281526101fb6020526040812090805b835181101561378a5760006001600160a01b031684828151811061366e57fe5b6020026020010151600001516001600160a01b031614156136a15760405162461bcd60e51b8152600401610b22906159e6565b8381815181106136ad57fe5b6020026020010151602001516001600160601b0316600014156136e25760405162461bcd60e51b8152600401610b22906158c5565b828482815181106136ef57fe5b602090810291909101810151825460018101845560009384529282902081519301805491909201516001600160601b0316600160a01b026001600160a01b039384166001600160a01b03199092169190911790921691909117905583516137809085908390811061375c57fe5b6020026020010151602001516001600160601b03168361202e90919063ffffffff16565b915060010161364e565b5080612710146137ac5760405162461bcd60e51b8152600401610b2290615a86565b7f841ffb90d4cabdd1f16034f3fa831d79060febbb8167bdd54a49269365bdf78f84846040516137dd929190615add565b60405180910390a150505050565b600082815261012e60209081526040909120825161380b92840190614c2c565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b61383784612088565b6040805160208082528351818301528351919283929083019185019080838360005b83811015613871578181015183820152602001613859565b50505050905090810190601f16801561389e5780820380516001836020036101000a031916815260200191505b509250505060405180910390a25050565b6138bb848484846145e1565b50505050565b60006138cc30613ef8565b15905090565b600054610100900460ff16806138eb57506138eb6138c1565b806138f9575060005460ff16155b6139345760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff1615801561395f576000805460ff1961ff0019909116610100171660011790555b60006139696126dc565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35080156139c9576000805461ff00191690555b50565b565b600054610100900460ff16806139e757506139e76138c1565b806139f5575060005460ff16155b613a305760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613a5b576000805460ff1961ff0019909116610100171660011790555b613a6b6301ffc9a760e01b6146f3565b80156139c9576000805461ff001916905550565b600054610100900460ff1680613a985750613a986138c1565b80613aa6575060005460ff16155b613ae15760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613a6b576000805460ff1961ff00199091166101001716600117905580156139c9576000805461ff001916905550565b600054610100900460ff1680613b385750613b386138c1565b80613b46575060005460ff16155b613b815760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613bac576000805460ff1961ff0019909116610100171660011790555b613a6b604051806040016040528060088152602001674d696e743131353560c01b815250604051806040016040528060018152602001603160f81b815250614777565b600054610100900460ff1680613c085750613c086138c1565b80613c16575060005460ff16155b613c515760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613c7c576000805460ff1961ff0019909116610100171660011790555b613c8582614839565b613c95636cdb3d1360e11b6146f3565b613ca56303a24d0760e21b6146f3565b80156116ba576000805461ff00191690555050565b600054610100900460ff1680613cd35750613cd36138c1565b80613ce1575060005460ff16155b613d1c5760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613d47576000805460ff1961ff0019909116610100171660011790555b8151613d5b90610230906020850190614c2c565b50613ca563e8a3d48560e01b6146f3565b600054610100900460ff1680613d855750613d856138c1565b80613d93575060005460ff16155b613dce5760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015613df9576000805460ff1961ff0019909116610100171660011790555b613a6b63656cb66560e11b6146f3565b8151613e1d90610262906020850190614c2c565b508051610b3690610263906020840190614c2c565b6001600160a01b038216600081815260c96020908152604091829020805460ff1916851515908117909155825190815291517f270dbb8ba4292910ae92862466486be25c355c837270a3d8824b36a8bc7c653b9281900390910190a25050565b60006126e661484c565b600033301415613ef357600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506115269050565b503390565b3b151590565b60009081526101fc602052604090205490565b60009081526101fd602052604090205490565b60009182526101fd602052604090912080549091019055565b6001600160a01b038316613f825760405162461bcd60e51b8152600401808060200182810382526023815260200180615e2a6023913960400191505060405180910390fd5b8051825114613fc25760405162461bcd60e51b8152600401808060200182810382526028815260200180615f2f6028913960400191505060405180910390fd5b6000613fcc6126dc565b9050613fec8185600086866040518060200160405280600081525061100b565b60005b83518110156140ca5761408183828151811061400757fe5b6020026020010151604051806060016040528060248152602001615d14602491396097600088868151811061403857fe5b602002602001015181526020019081526020016000206000896001600160a01b03166001600160a01b03168152602001908152602001600020546126eb9092919063ffffffff16565b6097600086848151811061409157fe5b602090810291909101810151825281810192909252604090810160009081206001600160a01b038a168252909252902055600101613fef565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015614151578181015183820152602001614139565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015614190578181015183820152602001614178565b5050505090500194505050505060405180910390a450505050565b6001600160a01b03918216600090815260986020908152604080832093909416825291909152205460ff1690565b6001600160a01b03831661421e5760405162461bcd60e51b8152600401808060200182810382526023815260200180615e2a6023913960400191505060405180910390fd5b60006142286126dc565b90506142588185600061423a87612bcd565b61424387612bcd565b6040518060200160405280600081525061100b565b61429f82604051806060016040528060248152602001615d146024913960008681526097602090815260408083206001600160a01b038b16845290915290205491906126eb565b60008481526097602090815260408083206001600160a01b03808a1680865291845282852095909555815188815292830187905281519394909390861692600080516020615c6083398151915292908290030190a450505050565b6102fc5490565b8051602091820151604080517f397e04204c1e1a60ee8724b71f8244e10ab5f2e9009854d80f602bda21b59ebb818601526001600160a01b03909316838201526001600160601b039091166060808401919091528151808403909101815260809092019052805191012090565b600061437983614850565b9050600082516041141561439457614391828461485a565b90505b846001600160a01b0316816001600160a01b031614611dda576143bf856001600160a01b0316613ef8565b156145385760408051630b135d3f60e11b808252600482018581526024830193845286516044840152865191936001600160a01b038a1693631626ba7e9388938a9390929091606490910190602085019080838360005b8381101561442e578181015183820152602001614416565b50505050905090810190601f16801561445b5780820380516001836020036101000a031916815260200191505b50935050505060206040518083038186803b15801561447957600080fd5b505afa15801561448d573d6000803e3d6000fd5b505050506040513d60208110156144a357600080fd5b505160408051808201909152601c81527f7369676e617475726520766572696669636174696f6e206572726f72000000006020820152916001600160e01b0319909116146145325760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561273f578181015183820152602001612727565b50611dda565b604080518082018252601c81527f7369676e617475726520766572696669636174696f6e206572726f72000000006020808301918252925162461bcd60e51b8152600481019384528251602482015282519293928392604490920191908083836000831561273f578181015183820152602001612727565b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df8282604051613441929190615add565b60008381526101fd60205260408120546145fc90849061202e565b60008581526101fc602052604090205490915081111561462e5760405162461bcd60e51b8152600401610b22906159bc565b60008481526101fd602052604090208190556001600160a01b0385166146665760405162461bcd60e51b8152600401610b2290615a45565b60006146706126dc565b90506146918160008861468289612bcd565b61468b89612bcd565b8861100b565b60008581526097602090815260408083206001600160a01b038a1684529091529020546146be908561202e565b60008681526097602090815260408083206001600160a01b038b16845290915281209190915561100b90829088888888612c12565b6001600160e01b03198082161415614752576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152606560205260409020805460ff19166001179055565b600054610100900460ff168061479057506147906138c1565b8061479e575060005460ff16155b6147d95760405162461bcd60e51b815260040180806020018281038252602e815260200180615dda602e913960400191505060405180910390fd5b600054610100900460ff16158015614804576000805460ff1961ff0019909116610100171660011790555b825160208085019190912083519184019190912061016291909155610163558015610b36576000805461ff0019169055505050565b80516116ba906099906020840190614c2c565b4690565b6000612e846148da565b600081516041146148b2576040805162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015290519081900360640190fd5b60208201516040830151606084015160001a6148d086828585614915565b9695505050505050565b60006126e67f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f614908614b6b565b614910614b72565b614b79565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156149765760405162461bcd60e51b8152600401808060200182810382526022815260200180615d616022913960400191505060405180910390fd5b6000601e8560ff161115614a50576004850360ff16601b148061499f57506004850360ff16601c145b6149da5760405162461bcd60e51b8152600401808060200182810382526022815260200180615e086022913960400191505060405180910390fd5b60016149e587614bdb565b60048703868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015614a3f573d6000803e3d6000fd5b505050602060405103519050614b07565b8460ff16601b1480614a6557508460ff16601c145b614aa05760405162461bcd60e51b8152600401808060200182810382526022815260200180615e086022913960400191505060405180910390fd5b60018686868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015614afa573d6000803e3d6000fd5b5050506020604051035190505b6001600160a01b038116614b62576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b95945050505050565b6101625490565b6101635490565b6000838383614b8661484c565b3060405160200180868152602001858152602001848152602001838152602001826001600160a01b03168152602001955050505050506040516020818303038152906040528051906020012090509392505050565b604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c8083019490945282518083039094018452605c909101909152815191012090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282614c625760008555614ca8565b82601f10614c7b57805160ff1916838001178555614ca8565b82800160010185558215614ca8579182015b82811115614ca8578251825591602001919060010190614c8d565b50614cb4929150614cb8565b5090565b5b80821115614cb45760008155600101614cb9565b803561067f81615bee565b600082601f830112614ce8578081fd5b81356020614cfd614cf883615b27565b615b04565b8281528181019085830183850287018401881015614d19578586fd5b855b85811015614d40578135614d2e81615bee565b84529284019290840190600101614d1b565b5090979650505050505050565b600082601f830112614d5d578081fd5b81356020614d6d614cf883615b27565b82815281810190858301855b85811015614d4057614d90898684358b0101614eb7565b84529284019290840190600101614d79565b600082601f830112614db2578081fd5b81356020614dc2614cf883615b27565b82815281810190858301604080860288018501891015614de0578687fd5b865b86811015614e4f5781838b031215614df8578788fd5b81518281018181106001600160401b0382111715614e1257fe5b83528335614e1f81615bee565b8152838701356001600160601b0381168114614e3957898afd5b8188015285529385019391810191600101614de2565b509198975050505050505050565b600082601f830112614e6d578081fd5b81356020614e7d614cf883615b27565b8281528181019085830183850287018401881015614e99578586fd5b855b85811015614d4057813584529284019290840190600101614e9b565b600082601f830112614ec7578081fd5b81356001600160401b03811115614eda57fe5b614eed601f8201601f1916602001615b04565b818152846020838601011115614f01578283fd5b816020850160208301379081016020019190915292915050565b600060c08284031215614f2c578081fd5b614f3660c0615b04565b90508135815260208201356001600160401b0380821115614f5657600080fd5b614f6285838601614eb7565b6020840152604084013560408401526060840135915080821115614f8557600080fd5b614f9185838601614da2565b60608401526080840135915080821115614faa57600080fd5b614fb685838601614da2565b608084015260a0840135915080821115614fcf57600080fd5b50614fdc84828501614d4d565b60a08301525092915050565b600060208284031215614ff9578081fd5b8135611aa281615bee565b60008060408385031215615016578081fd5b823561502181615bee565b9150602083013561503181615bee565b809150509250929050565b600080600080600060a08688031215615053578081fd5b853561505e81615bee565b9450602086013561506e81615bee565b935060408601356001600160401b0380821115615089578283fd5b61509589838a01614e5d565b945060608801359150808211156150aa578283fd5b6150b689838a01614e5d565b935060808801359150808211156150cb578283fd5b506150d888828901614eb7565b9150509295509295909350565b600080600080600060a086880312156150fc578283fd5b853561510781615bee565b9450602086013561511781615bee565b9350604086013592506060860135915060808601356001600160401b0381111561513f578182fd5b6150d888828901614eb7565b60008060006060848603121561515f578081fd5b833561516a81615bee565b925060208401356001600160401b0380821115615185578283fd5b61519187838801614e5d565b935060408601359150808211156151a6578283fd5b506151b386828701614e5d565b9150509250925092565b600080604083850312156151cf578182fd5b82356151da81615bee565b915060208301358015158114615031578182fd5b600080600080600060a08688031215615205578283fd5b853561521081615bee565b945060208601356001600160401b0381111561522a578384fd5b61523688828901614eb7565b9450506040860135925060608601359150608086013560ff8116811461525a578182fd5b809150509295509295909350565b6000806040838503121561527a578182fd5b823561528581615bee565b946020939093013593505050565b6000806000606084860312156152a7578081fd5b83356152b281615bee565b95602085013595506040909401359392505050565b6000602082840312156152d8578081fd5b81356001600160401b038111156152ed578182fd5b6152f984828501614cd8565b949350505050565b60008060408385031215615313578182fd5b82356001600160401b0380821115615329578384fd5b61533586838701614cd8565b9350602085013591508082111561534a578283fd5b5061535785828601614e5d565b9150509250929050565b600060208284031215615372578081fd5b81356001600160e01b031981168114611aa2578182fd5b60006020828403121561539a578081fd5b81356001600160401b038111156153af578182fd5b6152f984828501614eb7565b60008060008060008060c087890312156153d3578384fd5b86356001600160401b03808211156153e9578586fd5b6153f58a838b01614eb7565b9750602089013591508082111561540a578586fd5b6154168a838b01614eb7565b9650604089013591508082111561542b578586fd5b6154378a838b01614eb7565b9550606089013591508082111561544c578283fd5b5061545989828a01614eb7565b93505061546860808801614ccd565b915061547660a08801614ccd565b90509295509295509295565b600080600080600080600060e0888a03121561549c578485fd5b87356001600160401b03808211156154b2578687fd5b6154be8b838c01614eb7565b985060208a01359150808211156154d3578687fd5b6154df8b838c01614eb7565b975060408a01359150808211156154f4578687fd5b6155008b838c01614eb7565b965060608a0135915080821115615515578283fd5b6155218b838c01614eb7565b955060808a0135915080821115615536578283fd5b506155438a828b01614cd8565b93505061555260a08901614ccd565b915061556060c08901614ccd565b905092959891949750929550565b60008060008060808587031215615583578182fd5b84356001600160401b03811115615598578283fd5b6155a487828801614f1b565b94505060208501356155b581615bee565b925060408501356155c581615bee565b9396929550929360600135925050565b6000806000606084860312156155e9578081fd5b83356001600160401b038111156155fe578182fd5b61560a86828701614f1b565b935050602084013561561b81615bee565b929592945050506040919091013590565b60006020828403121561563d578081fd5b5035919050565b600080600060608486031215615658578081fd5b83359250602084013561566a81615bee565b9150604084013561567a81615bee565b809150509250925092565b60008060408385031215615697578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156156f257815180516001600160a01b031688528301516001600160601b031683880152604090960195908201906001016156b9565b509495945050505050565b6000815180845260208085019450808401835b838110156156f257815187529582019590820190600101615710565b60008151808452815b8181101561575157602081850181015186830182015201615735565b818111156157625782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03841681526060602082018190526000906157af9083018561572c565b82810360408401526148d0818561572c565b6001600160a01b03929092168252602082015260400190565b600060208252611aa260208301846156a6565b600060208252611aa260208301846156fd565b60006040825261581360408301856156fd565b8281036020840152614b6281856156fd565b901515815260200190565b600060208252611aa2602083018461572c565b6020808252601190820152703bb937b7339037b93232b91036b0b5b2b960791b604082015260600190565b6020808252601390820152723737ba1037bbb732b91037b91036b4b73a32b960691b604082015260600190565b60208082526010908201526f1cdd5c1c1b1e481a5b98dbdc9c9958dd60821b604082015260600190565b6020808252818101527f43726561746f722073686172652073686f756c6420626520706f736974697665604082015260600190565b6020808252601190820152701d1bdad95b9259081a5b98dbdc9c9958dd607a1b604082015260600190565b6020808252600b908201526a1b9bdd08185b1b1bddd95960aa1b604082015260600190565b60208082526010908201526f185b5bdd5b9d081a5b98dbdc9c9958dd60821b604082015260600190565b60208082526028908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f7420604082015267185c1c1c9bdd995960c21b606082015260800190565b60208082526010908201526f6d6f7265207468616e20737570706c7960801b604082015260600190565b60208082526019908201527f4163636f756e742073686f756c642062652070726573656e7400000000000000604082015260600190565b6020808252600e908201526d69647320213d20616d6f756e747360901b604082015260600190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252602e908201527f746f74616c20616d6f756e74206f662063726561746f7273207368617265207360408201526d0686f756c642062652031303030360941b606082015260800190565b90815260200190565b6000838252604060208301526152f960408301846156a6565b918252602082015260400190565b6040518181016001600160401b0381118282101715615b1f57fe5b604052919050565b60006001600160401b03821115615b3a57fe5b5060209081020190565b60e01c90565b600060443d1015615b5a57611526565b600481823e6308c379a0615b6e8251615b44565b14615b7857611526565b6040513d600319016004823e80513d6001600160401b038160248401118184111715615ba75750505050611526565b82840192508251915080821115615bc15750505050611526565b503d83016020828401011115615bd957505050611526565b601f01601f1916810160200160405291505090565b6001600160a01b03811681146139c957600080fdfe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e73c3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62455243313135353a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373455243313135353a206275726e20616d6f756e7420657863656564732062616c616e6365455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656445434453413a20696e76616c6964207369676e6174757265202773272076616c7565455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a656445434453413a20696e76616c6964207369676e6174757265202776272076616c7565455243313135353a206275726e2066726f6d20746865207a65726f2061646472657373455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e736665724f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725369676e657220616e64207369676e617475726520646f206e6f74206d61746368526f79616c747920746f74616c2076616c75652073686f756c64206265203c203130303030455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d61746368a2646970667358221220ce4d4dc3b1fad263d8a31f95005350f34678e0a530aabeb658eb6667bb8dcdd964736f6c63430007060033