Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
880 LIGHT
Holders
811
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 LIGHTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CodexLight
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 420 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.18; /// ## ###### ###### ###### ## ## ###### ##### ###### ##### ###### ## ###### #### ## ## ###### /// ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## /// ## #### ## ## ###### #### ##### #### ##### #### ## ## ## ### ###### ## /// ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## /// ###### ###### ## ## ## ## ###### ## ## ###### ##### ###### ###### ###### #### ## ## ## import { Base64 } from "@openzeppelin/contracts/utils/Base64.sol"; import { ERC721, IERC721, IERC165 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import { ERC721Burnable } from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; import { IERC721Receiver } from "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import { Counters } from "@openzeppelin/contracts/utils/Counters.sol"; import { strings } from "./strings.sol"; import { IERC4906 } from "./IERC4906.sol"; /// @title CodexLight /// @author akuti.eth /// @notice Lights by Codex Library (https://codexlibrary.org). CodexLight is minted by burning a matchbook. contract CodexLight is IERC4906, ERC721, ERC721Burnable, IERC721Receiver, Ownable { using Counters for Counters.Counter; using Strings for uint256; using strings for *; struct AttributeCategory { // trait names within category string[] names; // commulative thresholds per trait within this category uint16[] thresholds; } struct UserData { uint8 reservedTokenId; bool hasMinted; } // constants address public constant MATCHBOOKS = 0xd1466d7A2e13A47677608F68093c5eA9fE910611; uint256 internal constant MAX_SUPPLY = 3001; uint256 internal constant NR_ATTRIBUTES = 6; uint256 internal constant NR_RESERVED = 10; // token and minting related data Counters.Counter internal _tokenIdCounter; Counters.Counter internal _reservedTokenIdCounter; Counters.Counter internal _burnCounter; mapping(address user => UserData data) internal _userData; // metadata string internal _imageBaseURI; string internal _externalBaseURI = "https://codexlibrary.org/light/"; string internal _description = "May light show us the way."; string[NR_ATTRIBUTES] internal _attributeNames; uint64[MAX_SUPPLY] internal _seeds; mapping(string name => AttributeCategory traits) internal _attributes; // errors error InvalidToken(); error AlreadyMinted(); error OutOfStock(); constructor( string[] memory categoryNames, AttributeCategory[] memory categories, address[] memory reserved_ ) ERC721("CodexLight", "LIGHT") { require(categoryNames.length == categories.length); require(reserved_.length == NR_RESERVED); _setAttributes(categoryNames, categories); _setReserved(reserved_); } // external admin functions /** * @dev Sets the external token URI description to `externalBaseURI_`. The URI should end in a `/`. * * Emits a {BatchMetadataUpdate} event. */ function setBaseURI(string calldata baseURI_) external onlyOwner { _imageBaseURI = baseURI_; emit BatchMetadataUpdate(1, MAX_SUPPLY); } /** * @dev Sets the external token URI description to `externalBaseURI_`. * * Emits a {BatchMetadataUpdate} event. */ function setExternalBaseURI(string calldata externalBaseURI_) external onlyOwner { _externalBaseURI = externalBaseURI_; emit BatchMetadataUpdate(1, MAX_SUPPLY); } /** * @dev Sets the token description to `description_`. * * Emits a {BatchMetadataUpdate} event. */ function setDescription(string calldata description_) external onlyOwner { _description = description_; emit BatchMetadataUpdate(1, MAX_SUPPLY); } // external/public functions /** * @dev See {ERC721Burnable-burn}. */ function burn(uint256 tokenId) public override { super.burn(tokenId); _burnCounter.increment(); } // external/public functions /** * @notice Mint a Candle when receiving a Matchbook. Limited to one per address. * @dev Hook for `saveTransferFrom` of ERC721 tokens to this contract * @param from The address which previously owned the token * @param tokenId The ID of the token being transferred */ function onERC721Received( address, address from, uint256 tokenId, bytes calldata ) external override returns (bytes4) { if (msg.sender != MATCHBOOKS) revert InvalidToken(); UserData memory user = _userData[from]; if (user.hasMinted) revert AlreadyMinted(); uint256 newTokenId; if (user.reservedTokenId > 0) { _reservedTokenIdCounter.increment(); newTokenId = user.reservedTokenId; } else if (_tokenIdCounter.current() + NR_RESERVED == MAX_SUPPLY) { revert OutOfStock(); } else { _tokenIdCounter.increment(); newTokenId = _tokenIdCounter.current() + NR_RESERVED; } // light up user.hasMinted = true; _userData[from] = user; ERC721Burnable(MATCHBOOKS).burn(tokenId); // get pseudo-random seed // -1 since tokens are 1 based _seeds[newTokenId - 1] = uint64( uint256(keccak256(abi.encodePacked(newTokenId, block.coinbase, block.prevrandao, block.basefee))) ); _mint(from, newTokenId); return IERC721Receiver.onERC721Received.selector; } // external/public view functions /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory tokenIdStr = tokenId.toString(); string memory tokenURI_ = string.concat( '{"name":"Light #', tokenIdStr, '","description":"', _description, '","image":"', _imageBaseURI, uint256(_seeds[tokenId - 1]).toString(), '.png","external_url":"', _externalBaseURI, tokenIdStr, '","attributes":', _attributeJson(tokenId), "}" ); return string.concat("data:application/json;base64,", Base64.encode(bytes(tokenURI_))); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) { // adds interface for IERC4906 return interfaceId == bytes4(0x49064906) || super.supportsInterface(interfaceId); } /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256) { return _tokenIdCounter.current() + _reservedTokenIdCounter.current() - _burnCounter.current(); } // internal functions function _setAttributes(string[] memory categoryNames, AttributeCategory[] memory categories) internal { uint256 length = categoryNames.length; for (uint256 i = 0; i < length; ) { _attributeNames[i] = categoryNames[i]; _attributes[categoryNames[i]] = categories[i]; unchecked { i++; } } } function _setReserved(address[] memory reserved_) internal { uint256 length = reserved_.length; for (uint256 i = 0; i < length; ) { _userData[reserved_[i]].reservedTokenId = uint8(i + 1); unchecked { i++; } } } // internal view functions function _getLight(uint256 tokenId) internal view returns (string[NR_ATTRIBUTES] memory attributes) { uint256 seed = _seeds[tokenId - 1]; // -1 since tokens are 1 based for (uint256 i = 0; i < NR_ATTRIBUTES; i++) { uint256 current = seed % 256; AttributeCategory memory category = _attributes[_attributeNames[i]]; for (uint256 j = 0; j < category.names.length; j++) { if (current > category.thresholds[j]) { continue; } attributes[i] = category.names[j]; break; } seed >>= 8; } } function _attributeJson(uint256 tokenId) internal view returns (string memory out) { string[NR_ATTRIBUTES] memory attributes = _getLight(tokenId); out = "["; strings.slice memory delim = "_".toSlice(); for (uint256 traitIdx = 0; traitIdx < NR_ATTRIBUTES; traitIdx++) { strings.slice memory name_ = attributes[traitIdx].toSlice(); strings.slice[] memory parts = new strings.slice[](name_.count(delim) + 1); for (uint i = 0; i < parts.length; i++) { parts[i] = name_.split(delim); } out = string.concat( out, '{"trait_type":"', _attributeNames[traitIdx], '","value":"', " ".toSlice().join(parts), '"}' ); if (traitIdx < NR_ATTRIBUTES - 1) out = string.concat(out, ","); } out = string.concat(out, "]"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.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 Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); /// @solidity memory-safe-assembly assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: CC0-1.0 pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /// @title EIP-721 Metadata Update Extension interface IERC4906 is IERC165, IERC721 { /// @dev This event emits when the metadata of a token is changed. /// So that the third-party platforms such as NFT market could /// timely update the images and related attributes of the NFT. event MetadataUpdate(uint256 _tokenId); /// @dev This event emits when the metadata of a range of tokens is changed. /// So that the third-party platforms such as NFT market could /// timely update the images and related attributes of the NFTs. event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId); }
// SPDX-License-Identifier: Apache-2.0 /* * @title String & slice utility library for Solidity contracts. * @author Nick Johnson <[email protected]> * * @dev Functionality in this library is largely implemented using an * abstraction called a 'slice'. A slice represents a part of a string - * anything from the entire string to a single character, or even no * characters at all (a 0-length slice). Since a slice only has to specify * an offset and a length, copying and manipulating slices is a lot less * expensive than copying and manipulating the strings they reference. * * To further reduce gas costs, most functions on slice that need to return * a slice modify the original one instead of allocating a new one; for * instance, `s.split(".")` will return the text up to the first '.', * modifying s to only contain the remainder of the string after the '.'. * In situations where you do not want to modify the original slice, you * can make a copy first with `.copy()`, for example: * `s.copy().split(".")`. Try and avoid using this idiom in loops; since * Solidity has no memory management, it will result in allocating many * short-lived slices that are later discarded. * * Functions that return two slices come in two versions: a non-allocating * version that takes the second slice as an argument, modifying it in * place, and an allocating version that allocates and returns the second * slice; see `nextRune` for example. * * Functions that have to copy string data will return strings rather than * slices; these can be cast back to slices for further processing if * required. * * For convenience, some functions are provided with non-modifying * variants that create a new slice and return both; for instance, * `s.splitNew('.')` leaves s unmodified, and returns two values * corresponding to the left and right parts of the string. * * Changes: * - Add SPDX-License-Identifier * - Rename len in memcpy to _len to fix shadowed declaration warning */ pragma solidity ^0.8.0; library strings { struct slice { uint256 _len; uint256 _ptr; } function memcpy(uint256 dest, uint256 src, uint256 _len) private pure { // Copy word-length chunks while possible for (; _len >= 32; _len -= 32) { assembly { mstore(dest, mload(src)) } dest += 32; src += 32; } // Copy remaining bytes uint256 mask = type(uint256).max; if (_len > 0) { mask = 256 ** (32 - _len) - 1; } assembly { let srcpart := and(mload(src), not(mask)) let destpart := and(mload(dest), mask) mstore(dest, or(destpart, srcpart)) } } /* * @dev Returns a slice containing the entire string. * @param self The string to make a slice from. * @return A newly allocated slice containing the entire string. */ function toSlice(string memory self) internal pure returns (slice memory) { uint256 ptr; assembly { ptr := add(self, 0x20) } return slice(bytes(self).length, ptr); } /* * @dev Returns the length of a null-terminated bytes32 string. * @param self The value to find the length of. * @return The length of the string, from 0 to 32. */ function len(bytes32 self) internal pure returns (uint256) { uint256 ret; if (self == 0) return 0; if (uint256(self) & type(uint128).max == 0) { ret += 16; self = bytes32(uint256(self) / 0x100000000000000000000000000000000); } if (uint256(self) & type(uint64).max == 0) { ret += 8; self = bytes32(uint256(self) / 0x10000000000000000); } if (uint256(self) & type(uint32).max == 0) { ret += 4; self = bytes32(uint256(self) / 0x100000000); } if (uint256(self) & type(uint16).max == 0) { ret += 2; self = bytes32(uint256(self) / 0x10000); } if (uint256(self) & type(uint8).max == 0) { ret += 1; } return 32 - ret; } /* * @dev Returns a slice containing the entire bytes32, interpreted as a * null-terminated utf-8 string. * @param self The bytes32 value to convert to a slice. * @return A new slice containing the value of the input argument up to the * first null. */ function toSliceB32(bytes32 self) internal pure returns (slice memory ret) { // Allocate space for `self` in memory, copy it there, and point ret at it assembly { let ptr := mload(0x40) mstore(0x40, add(ptr, 0x20)) mstore(ptr, self) mstore(add(ret, 0x20), ptr) } ret._len = len(self); } /* * @dev Returns a new slice containing the same data as the current slice. * @param self The slice to copy. * @return A new slice containing the same data as `self`. */ function copy(slice memory self) internal pure returns (slice memory) { return slice(self._len, self._ptr); } /* * @dev Copies a slice to a new string. * @param self The slice to copy. * @return A newly allocated string containing the slice's text. */ function toString(slice memory self) internal pure returns (string memory) { string memory ret = new string(self._len); uint256 retptr; assembly { retptr := add(ret, 32) } memcpy(retptr, self._ptr, self._len); return ret; } /* * @dev Returns the length in runes of the slice. Note that this operation * takes time proportional to the length of the slice; avoid using it * in loops, and call `slice.empty()` if you only need to know whether * the slice is empty or not. * @param self The slice to operate on. * @return The length of the slice in runes. */ function len(slice memory self) internal pure returns (uint256 l) { // Starting at ptr-31 means the LSB will be the byte we care about uint256 ptr = self._ptr - 31; uint256 end = ptr + self._len; for (l = 0; ptr < end; l++) { uint8 b; assembly { b := and(mload(ptr), 0xFF) } if (b < 0x80) { ptr += 1; } else if (b < 0xE0) { ptr += 2; } else if (b < 0xF0) { ptr += 3; } else if (b < 0xF8) { ptr += 4; } else if (b < 0xFC) { ptr += 5; } else { ptr += 6; } } } /* * @dev Returns true if the slice is empty (has a length of 0). * @param self The slice to operate on. * @return True if the slice is empty, False otherwise. */ function empty(slice memory self) internal pure returns (bool) { return self._len == 0; } /* * @dev Returns a positive number if `other` comes lexicographically after * `self`, a negative number if it comes before, or zero if the * contents of the two slices are equal. Comparison is done per-rune, * on unicode codepoints. * @param self The first slice to compare. * @param other The second slice to compare. * @return The result of the comparison. */ function compare(slice memory self, slice memory other) internal pure returns (int256) { uint256 shortest = self._len; if (other._len < self._len) shortest = other._len; uint256 selfptr = self._ptr; uint256 otherptr = other._ptr; for (uint256 idx = 0; idx < shortest; idx += 32) { uint256 a; uint256 b; assembly { a := mload(selfptr) b := mload(otherptr) } if (a != b) { // Mask out irrelevant bytes and check again uint256 mask = type(uint256).max; // 0xffff... if (shortest < 32) { mask = ~(2 ** (8 * (32 - shortest + idx)) - 1); } unchecked { uint256 diff = (a & mask) - (b & mask); if (diff != 0) return int256(diff); } } selfptr += 32; otherptr += 32; } return int256(self._len) - int256(other._len); } /* * @dev Returns true if the two slices contain the same text. * @param self The first slice to compare. * @param self The second slice to compare. * @return True if the slices are equal, false otherwise. */ function equals(slice memory self, slice memory other) internal pure returns (bool) { return compare(self, other) == 0; } /* * @dev Extracts the first rune in the slice into `rune`, advancing the * slice to point to the next rune and returning `self`. * @param self The slice to operate on. * @param rune The slice that will contain the first rune. * @return `rune`. */ function nextRune(slice memory self, slice memory rune) internal pure returns (slice memory) { rune._ptr = self._ptr; if (self._len == 0) { rune._len = 0; return rune; } uint256 l; uint256 b; // Load the first byte of the rune into the LSBs of b assembly { b := and(mload(sub(mload(add(self, 32)), 31)), 0xFF) } if (b < 0x80) { l = 1; } else if (b < 0xE0) { l = 2; } else if (b < 0xF0) { l = 3; } else { l = 4; } // Check for truncated codepoints if (l > self._len) { rune._len = self._len; self._ptr += self._len; self._len = 0; return rune; } self._ptr += l; self._len -= l; rune._len = l; return rune; } /* * @dev Returns the first rune in the slice, advancing the slice to point * to the next rune. * @param self The slice to operate on. * @return A slice containing only the first rune from `self`. */ function nextRune(slice memory self) internal pure returns (slice memory ret) { nextRune(self, ret); } /* * @dev Returns the number of the first codepoint in the slice. * @param self The slice to operate on. * @return The number of the first codepoint in the slice. */ function ord(slice memory self) internal pure returns (uint256 ret) { if (self._len == 0) { return 0; } uint256 word; uint256 length; uint256 divisor = 2 ** 248; // Load the rune into the MSBs of b assembly { word := mload(mload(add(self, 32))) } uint256 b = word / divisor; if (b < 0x80) { ret = b; length = 1; } else if (b < 0xE0) { ret = b & 0x1F; length = 2; } else if (b < 0xF0) { ret = b & 0x0F; length = 3; } else { ret = b & 0x07; length = 4; } // Check for truncated codepoints if (length > self._len) { return 0; } for (uint256 i = 1; i < length; i++) { divisor = divisor / 256; b = (word / divisor) & 0xFF; if (b & 0xC0 != 0x80) { // Invalid UTF-8 sequence return 0; } ret = (ret * 64) | (b & 0x3F); } return ret; } /* * @dev Returns the keccak-256 hash of the slice. * @param self The slice to hash. * @return The hash of the slice. */ function keccak(slice memory self) internal pure returns (bytes32 ret) { assembly { ret := keccak256(mload(add(self, 32)), mload(self)) } } /* * @dev Returns true if `self` starts with `needle`. * @param self The slice to operate on. * @param needle The slice to search for. * @return True if the slice starts with the provided text, false otherwise. */ function startsWith(slice memory self, slice memory needle) internal pure returns (bool) { if (self._len < needle._len) { return false; } if (self._ptr == needle._ptr) { return true; } bool equal; assembly { let length := mload(needle) let selfptr := mload(add(self, 0x20)) let needleptr := mload(add(needle, 0x20)) equal := eq(keccak256(selfptr, length), keccak256(needleptr, length)) } return equal; } /* * @dev If `self` starts with `needle`, `needle` is removed from the * beginning of `self`. Otherwise, `self` is unmodified. * @param self The slice to operate on. * @param needle The slice to search for. * @return `self` */ function beyond(slice memory self, slice memory needle) internal pure returns (slice memory) { if (self._len < needle._len) { return self; } bool equal = true; if (self._ptr != needle._ptr) { assembly { let length := mload(needle) let selfptr := mload(add(self, 0x20)) let needleptr := mload(add(needle, 0x20)) equal := eq(keccak256(selfptr, length), keccak256(needleptr, length)) } } if (equal) { self._len -= needle._len; self._ptr += needle._len; } return self; } /* * @dev Returns true if the slice ends with `needle`. * @param self The slice to operate on. * @param needle The slice to search for. * @return True if the slice starts with the provided text, false otherwise. */ function endsWith(slice memory self, slice memory needle) internal pure returns (bool) { if (self._len < needle._len) { return false; } uint256 selfptr = self._ptr + self._len - needle._len; if (selfptr == needle._ptr) { return true; } bool equal; assembly { let length := mload(needle) let needleptr := mload(add(needle, 0x20)) equal := eq(keccak256(selfptr, length), keccak256(needleptr, length)) } return equal; } /* * @dev If `self` ends with `needle`, `needle` is removed from the * end of `self`. Otherwise, `self` is unmodified. * @param self The slice to operate on. * @param needle The slice to search for. * @return `self` */ function until(slice memory self, slice memory needle) internal pure returns (slice memory) { if (self._len < needle._len) { return self; } uint256 selfptr = self._ptr + self._len - needle._len; bool equal = true; if (selfptr != needle._ptr) { assembly { let length := mload(needle) let needleptr := mload(add(needle, 0x20)) equal := eq(keccak256(selfptr, length), keccak256(needleptr, length)) } } if (equal) { self._len -= needle._len; } return self; } // Returns the memory address of the first byte of the first occurrence of // `needle` in `self`, or the first byte after `self` if not found. function findPtr( uint256 selflen, uint256 selfptr, uint256 needlelen, uint256 needleptr ) private pure returns (uint256) { uint256 ptr = selfptr; uint256 idx; if (needlelen <= selflen) { if (needlelen <= 32) { bytes32 mask; if (needlelen > 0) { mask = bytes32(~(2 ** (8 * (32 - needlelen)) - 1)); } bytes32 needledata; assembly { needledata := and(mload(needleptr), mask) } uint256 end = selfptr + selflen - needlelen; bytes32 ptrdata; assembly { ptrdata := and(mload(ptr), mask) } while (ptrdata != needledata) { if (ptr >= end) return selfptr + selflen; ptr++; assembly { ptrdata := and(mload(ptr), mask) } } return ptr; } else { // For long needles, use hashing bytes32 hash; assembly { hash := keccak256(needleptr, needlelen) } for (idx = 0; idx <= selflen - needlelen; idx++) { bytes32 testHash; assembly { testHash := keccak256(ptr, needlelen) } if (hash == testHash) return ptr; ptr += 1; } } } return selfptr + selflen; } // Returns the memory address of the first byte after the last occurrence of // `needle` in `self`, or the address of `self` if not found. function rfindPtr( uint256 selflen, uint256 selfptr, uint256 needlelen, uint256 needleptr ) private pure returns (uint256) { uint256 ptr; if (needlelen <= selflen) { if (needlelen <= 32) { bytes32 mask; if (needlelen > 0) { mask = bytes32(~(2 ** (8 * (32 - needlelen)) - 1)); } bytes32 needledata; assembly { needledata := and(mload(needleptr), mask) } ptr = selfptr + selflen - needlelen; bytes32 ptrdata; assembly { ptrdata := and(mload(ptr), mask) } while (ptrdata != needledata) { if (ptr <= selfptr) return selfptr; ptr--; assembly { ptrdata := and(mload(ptr), mask) } } return ptr + needlelen; } else { // For long needles, use hashing bytes32 hash; assembly { hash := keccak256(needleptr, needlelen) } ptr = selfptr + (selflen - needlelen); while (ptr >= selfptr) { bytes32 testHash; assembly { testHash := keccak256(ptr, needlelen) } if (hash == testHash) return ptr + needlelen; ptr -= 1; } } } return selfptr; } /* * @dev Modifies `self` to contain everything from the first occurrence of * `needle` to the end of the slice. `self` is set to the empty slice * if `needle` is not found. * @param self The slice to search and modify. * @param needle The text to search for. * @return `self`. */ function find(slice memory self, slice memory needle) internal pure returns (slice memory) { uint256 ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr); self._len -= ptr - self._ptr; self._ptr = ptr; return self; } /* * @dev Modifies `self` to contain the part of the string from the start of * `self` to the end of the first occurrence of `needle`. If `needle` * is not found, `self` is set to the empty slice. * @param self The slice to search and modify. * @param needle The text to search for. * @return `self`. */ function rfind(slice memory self, slice memory needle) internal pure returns (slice memory) { uint256 ptr = rfindPtr(self._len, self._ptr, needle._len, needle._ptr); self._len = ptr - self._ptr; return self; } /* * @dev Splits the slice, setting `self` to everything after the first * occurrence of `needle`, and `token` to everything before it. If * `needle` does not occur in `self`, `self` is set to the empty slice, * and `token` is set to the entirety of `self`. * @param self The slice to split. * @param needle The text to search for in `self`. * @param token An output parameter to which the first token is written. * @return `token`. */ function split(slice memory self, slice memory needle, slice memory token) internal pure returns (slice memory) { uint256 ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr); token._ptr = self._ptr; token._len = ptr - self._ptr; if (ptr == self._ptr + self._len) { // Not found self._len = 0; } else { self._len -= token._len + needle._len; self._ptr = ptr + needle._len; } return token; } /* * @dev Splits the slice, setting `self` to everything after the first * occurrence of `needle`, and returning everything before it. If * `needle` does not occur in `self`, `self` is set to the empty slice, * and the entirety of `self` is returned. * @param self The slice to split. * @param needle The text to search for in `self`. * @return The part of `self` up to the first occurrence of `delim`. */ function split(slice memory self, slice memory needle) internal pure returns (slice memory token) { split(self, needle, token); } /* * @dev Splits the slice, setting `self` to everything before the last * occurrence of `needle`, and `token` to everything after it. If * `needle` does not occur in `self`, `self` is set to the empty slice, * and `token` is set to the entirety of `self`. * @param self The slice to split. * @param needle The text to search for in `self`. * @param token An output parameter to which the first token is written. * @return `token`. */ function rsplit(slice memory self, slice memory needle, slice memory token) internal pure returns (slice memory) { uint256 ptr = rfindPtr(self._len, self._ptr, needle._len, needle._ptr); token._ptr = ptr; token._len = self._len - (ptr - self._ptr); if (ptr == self._ptr) { // Not found self._len = 0; } else { self._len -= token._len + needle._len; } return token; } /* * @dev Splits the slice, setting `self` to everything before the last * occurrence of `needle`, and returning everything after it. If * `needle` does not occur in `self`, `self` is set to the empty slice, * and the entirety of `self` is returned. * @param self The slice to split. * @param needle The text to search for in `self`. * @return The part of `self` after the last occurrence of `delim`. */ function rsplit(slice memory self, slice memory needle) internal pure returns (slice memory token) { rsplit(self, needle, token); } /* * @dev Counts the number of nonoverlapping occurrences of `needle` in `self`. * @param self The slice to search. * @param needle The text to search for in `self`. * @return The number of occurrences of `needle` found in `self`. */ function count(slice memory self, slice memory needle) internal pure returns (uint256 cnt) { uint256 ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr) + needle._len; while (ptr <= self._ptr + self._len) { cnt++; ptr = findPtr(self._len - (ptr - self._ptr), ptr, needle._len, needle._ptr) + needle._len; } } /* * @dev Returns True if `self` contains `needle`. * @param self The slice to search. * @param needle The text to search for in `self`. * @return True if `needle` is found in `self`, false otherwise. */ function contains(slice memory self, slice memory needle) internal pure returns (bool) { return rfindPtr(self._len, self._ptr, needle._len, needle._ptr) != self._ptr; } /* * @dev Returns a newly allocated string containing the concatenation of * `self` and `other`. * @param self The first slice to concatenate. * @param other The second slice to concatenate. * @return The concatenation of the two strings. */ function concat(slice memory self, slice memory other) internal pure returns (string memory) { string memory ret = new string(self._len + other._len); uint256 retptr; assembly { retptr := add(ret, 32) } memcpy(retptr, self._ptr, self._len); memcpy(retptr + self._len, other._ptr, other._len); return ret; } /* * @dev Joins an array of slices, using `self` as a delimiter, returning a * newly allocated string. * @param self The delimiter to use. * @param parts A list of slices to join. * @return A newly allocated string containing all the slices in `parts`, * joined with `self`. */ function join(slice memory self, slice[] memory parts) internal pure returns (string memory) { if (parts.length == 0) return ""; uint256 length = self._len * (parts.length - 1); for (uint256 i = 0; i < parts.length; i++) length += parts[i]._len; string memory ret = new string(length); uint256 retptr; assembly { retptr := add(ret, 32) } for (uint256 i = 0; i < parts.length; i++) { memcpy(retptr, parts[i]._ptr, parts[i]._len); retptr += parts[i]._len; if (i < parts.length - 1) { memcpy(retptr, self._ptr, self._len); retptr += self._len; } } return ret; } }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": true, "runs": 420 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string[]","name":"categoryNames","type":"string[]"},{"components":[{"internalType":"string[]","name":"names","type":"string[]"},{"internalType":"uint16[]","name":"thresholds","type":"uint16[]"}],"internalType":"struct CodexLight.AttributeCategory[]","name":"categories","type":"tuple[]"},{"internalType":"address[]","name":"reserved_","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyMinted","type":"error"},{"inputs":[],"name":"InvalidToken","type":"error"},{"inputs":[],"name":"OutOfStock","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"MetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MATCHBOOKS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"description_","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"externalBaseURI_","type":"string"}],"name":"setExternalBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052601f60809081527f68747470733a2f2f636f6465786c6962726172792e6f72672f6c696768742f0060a052600c906200003e908262000558565b5060408051808201909152601a81527f4d6179206c696768742073686f7720757320746865207761792e0000000000006020820152600d9062000082908262000558565b503480156200009057600080fd5b506040516200367238038062003672833981016040819052620000b3916200084c565b6040518060400160405280600a81526020016910dbd9195e131a59da1d60b21b81525060405180604001604052806005815260200164131251d21560da1b815250816000908162000105919062000558565b50600162000114828262000558565b505050620001316200012b6200016f60201b60201c565b62000173565b81518351146200014057600080fd5b600a8151146200014f57600080fd5b6200015b8383620001c5565b6200016681620002ba565b50505062000a92565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b815160005b81811015620002b457838181518110620001e857620001e862000a36565b6020026020010151600e826006811062000206576200020662000a36565b019062000214908262000558565b508281815181106200022a576200022a62000a36565b60200260200101516103038583815181106200024a576200024a62000a36565b602002602001015160405162000261919062000a4c565b908152602001604051809103902060008201518160000190805190602001906200028d92919062000331565b506020828101518051620002a892600185019201906200038e565b505050600101620001ca565b50505050565b805160005b818110156200032c57620002d581600162000a6a565b600a6000858481518110620002ee57620002ee62000a36565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191660ff92909216919091179055600101620002bf565b505050565b8280548282559060005260206000209081019282156200037c579160200282015b828111156200037c57825182906200036b908262000558565b509160200191906001019062000352565b506200038a9291506200043a565b5090565b82805482825590600052602060002090600f016010900481019282156200042c5791602002820160005b83821115620003fa57835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302620003b8565b80156200042a5782816101000a81549061ffff0219169055600201602081600101049283019260010302620003fa565b505b506200038a9291506200045b565b808211156200038a57600062000451828262000472565b506001016200043a565b5b808211156200038a57600081556001016200045c565b5080546200048090620004ca565b6000825580601f1062000491575050565b601f016020900490600052602060002090810190620004b191906200045b565b50565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620004df57607f821691505b6020821081036200050057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200032c57600081815260208120601f850160051c810160208610156200052f5750805b601f850160051c820191505b8181101562000550578281556001016200053b565b505050505050565b81516001600160401b03811115620005745762000574620004b4565b6200058c81620005858454620004ca565b8462000506565b602080601f831160018114620005c45760008415620005ab5750858301515b600019600386901b1c1916600185901b17855562000550565b600085815260208120601f198616915b82811015620005f557888601518255948401946001909101908401620005d4565b5085821015620006145787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b604080519081016001600160401b0381118282101715620006495762000649620004b4565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200067a576200067a620004b4565b604052919050565b60006001600160401b038211156200069e576200069e620004b4565b5060051b60200190565b60005b83811015620006c5578181015183820152602001620006ab565b50506000910152565b6000601f8381840112620006e157600080fd5b82516020620006fa620006f48362000682565b6200064f565b82815260059290921b850181019181810190878411156200071a57600080fd5b8287015b84811015620007bc5780516001600160401b0380821115620007405760008081fd5b818a0191508a603f830112620007565760008081fd5b858201516040828211156200076f576200076f620004b4565b62000782828b01601f191689016200064f565b92508183528c818386010111156200079a5760008081fd5b620007ab82898501838701620006a8565b50508452509183019183016200071e565b50979650505050505050565b600082601f830112620007da57600080fd5b81516020620007ed620006f48362000682565b82815260059290921b840181019181810190868411156200080d57600080fd5b8286015b84811015620008415780516001600160a01b0381168114620008335760008081fd5b835291830191830162000811565b509695505050505050565b6000806000606084860312156200086257600080fd5b83516001600160401b03808211156200087a57600080fd5b6200088887838801620006ce565b945060208601519150808211156200089f57600080fd5b818601915086601f830112620008b457600080fd5b8151620008c5620006f48262000682565b8082825260208201915060208360051b860101925089831115620008e857600080fd5b602085015b8381101562000a02578051858111156200090657600080fd5b86016040818d03601f190112156200091d57600080fd5b6200092762000624565b6020820151878111156200093a57600080fd5b6200094b8e602083860101620006ce565b8252506040820151878111156200096157600080fd5b8083019250508c603f8301126200097757600080fd5b60208201516200098b620006f48262000682565b81815260059190911b83016040019060208101908f831115620009ad57600080fd5b6040850194505b82851015620009e257845161ffff81168114620009d057600080fd5b825260209485019490910190620009b4565b8060208501525050508085525050602083019250602081019050620008ed565b506040890151909650935050508082111562000a1d57600080fd5b5062000a2c86828701620007c8565b9150509250925092565b634e487b7160e01b600052603260045260246000fd5b6000825162000a60818460208701620006a8565b9190910192915050565b8082018082111562000a8c57634e487b7160e01b600052601160045260246000fd5b92915050565b612bd08062000aa26000396000f3fe608060405234801561001057600080fd5b506004361061017d5760003560e01c80636352211e116100e3578063a22cb4651161008c578063e985e9c511610066578063e985e9c51461033b578063f2fde38b14610377578063f8654e821461038a57600080fd5b8063a22cb46514610302578063b88d4fde14610315578063c87b56dd1461032857600080fd5b80638da5cb5b116100bd5780638da5cb5b146102d657806390c3f38f146102e757806395d89b41146102fa57600080fd5b80636352211e146102a857806370a08231146102bb578063715018a6146102ce57600080fd5b8063150b7a021161014557806342842e0e1161011f57806342842e0e1461026f57806342966c681461028257806355f804b31461029557600080fd5b8063150b7a021461021a57806318160ddd1461024657806323b872dd1461025c57600080fd5b806301ffc9a714610182578063042ce53b146101aa57806306fdde03146101dd578063081812fc146101f2578063095ea7b314610205575b600080fd5b61019561019036600461219f565b61039d565b60405190151581526020015b60405180910390f35b6101c573d1466d7a2e13a47677608f68093c5ea9fe91061181565b6040516001600160a01b0390911681526020016101a1565b6101e56103c8565b6040516101a19190612213565b6101c5610200366004612226565b61045a565b61021861021336600461225b565b610481565b005b61022d6102283660046122ce565b6105b9565b6040516001600160e01b031990911681526020016101a1565b61024e61083a565b6040519081526020016101a1565b61021861026a36600461233d565b610864565b61021861027d36600461233d565b610896565b610218610290366004612226565b6108b1565b6102186102a3366004612379565b6108cb565b6101c56102b6366004612226565b610920565b61024e6102c93660046123bb565b610985565b610218610a0b565b6006546001600160a01b03166101c5565b6102186102f5366004612379565b610a1f565b6101e5610a34565b6102186103103660046123d6565b610a43565b610218610323366004612428565b610a52565b6101e5610336366004612226565b610a8a565b610195610349366004612504565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102186103853660046123bb565b610b5d565b610218610398366004612379565b610bd3565b60006001600160e01b03198216632483248360e11b14806103c257506103c282610be8565b92915050565b6060600080546103d790612537565b80601f016020809104026020016040519081016040528092919081815260200182805461040390612537565b80156104505780601f1061042557610100808354040283529160200191610450565b820191906000526020600020905b81548152906001019060200180831161043357829003601f168201915b5050505050905090565b600061046582610c38565b506000908152600460205260409020546001600160a01b031690565b600061048c82610920565b9050806001600160a01b0316836001600160a01b0316036104fe5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061053857506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6105aa5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104f5565b6105b48383610c9c565b505050565b60003373d1466d7a2e13a47677608f68093c5ea9fe910611146105ef5760405163c1ab6dc160e01b815260040160405180910390fd5b6001600160a01b0385166000908152600a602090815260409182902082518084019093525460ff8082168452610100909104161580159183019190915261064957604051631bbdf5c560e31b815260040160405180910390fd5b805160009060ff161561066f57610664600880546001019055565b50805160ff166106cb565b610bb9600a61067d60075490565b6106879190612587565b036106a55760405163ade1cb4160e01b815260040160405180910390fd5b6106b3600780546001019055565b600a6106be60075490565b6106c89190612587565b90505b600160208084019182526001600160a01b0389166000908152600a90915260409081902084518154935115156101000261ffff1990941660ff909116179290921790915551630852cd8d60e31b815273d1466d7a2e13a47677608f68093c5ea9fe910611906342966c689061074890899060040190815260200190565b600060405180830381600087803b15801561076257600080fd5b505af1158015610776573d6000803e3d6000fd5b505060408051602081018590526bffffffffffffffffffffffff194160601b169181019190915244605482015248607482015260940191506107b59050565b60408051601f19818403018152919052805160209091012060146107da60018461259a565b610bb981106107eb576107eb6125ad565b600491828204019190066008026101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506108268782610d0a565b50630a85bd0160e11b979650505050505050565b600061084560095490565b6008546007546108559190612587565b61085f919061259a565b905090565b61086f335b82610e95565b61088b5760405162461bcd60e51b81526004016104f5906125c3565b6105b4838383610f14565b6105b483838360405180602001604052806000815250610a52565b6108ba816110f4565b6108c8600980546001019055565b50565b6108d3611122565b600b6108e082848361265e565b506040805160018152610bb960208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6000818152600260205260408120546001600160a01b0316806103c25760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104f5565b60006001600160a01b0382166109ef5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104f5565b506001600160a01b031660009081526003602052604090205490565b610a13611122565b610a1d600061117c565b565b610a27611122565b600d6108e082848361265e565b6060600180546103d790612537565b610a4e3383836111ce565b5050565b610a5c3383610e95565b610a785760405162461bcd60e51b81526004016104f5906125c3565b610a848484848461129c565b50505050565b6060610a9582610c38565b6000610aa08361131a565b9050600081600d600b610af96014610ab960018a61259a565b610bb98110610aca57610aca6125ad565b600491828204019190066008029054906101000a900467ffffffffffffffff1667ffffffffffffffff1661131a565b600c86610b058a6113ad565b604051602001610b1b9796959493929190612792565b6040516020818303038152906040529050610b3581611603565b604051602001610b4591906128b6565b60405160208183030381529060405292505050919050565b610b65611122565b6001600160a01b038116610bca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104f5565b6108c88161117c565b610bdb611122565b600c6108e082848361265e565b60006001600160e01b031982166380ac58cd60e01b1480610c1957506001600160e01b03198216635b5e139f60e01b145b806103c257506301ffc9a760e01b6001600160e01b03198316146103c2565b6000818152600260205260409020546001600160a01b03166108c85760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104f5565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610cd182610920565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216610d605760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104f5565b6000818152600260205260409020546001600160a01b031615610dc55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104f5565b6000818152600260205260409020546001600160a01b031615610e2a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104f5565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080610ea183610920565b9050806001600160a01b0316846001600160a01b03161480610ee857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610f0c5750836001600160a01b0316610f018461045a565b6001600160a01b0316145b949350505050565b826001600160a01b0316610f2782610920565b6001600160a01b031614610f8b5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104f5565b6001600160a01b038216610fed5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104f5565b826001600160a01b031661100082610920565b6001600160a01b0316146110645760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104f5565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6110fd33610869565b6111195760405162461bcd60e51b81526004016104f5906125c3565b6108c881611756565b6006546001600160a01b03163314610a1d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104f5565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03160361122f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104f5565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6112a7848484610f14565b6112b3848484846117eb565b610a845760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104f5565b6060600061132783611937565b600101905060008167ffffffffffffffff81111561134757611347612412565b6040519080825280601f01601f191660200182016040528015611371576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461137b57509392505050565b606060006113ba83611a19565b6040805180820182526001808252605b60f81b60208084019190915283518085018552918252605f60f81b82820190815284518086018652600080825290830181905285518087019096529251855290840152909450919250905b60068110156115f1576000611467848360068110611435576114356125ad565b602002015160408051808201825260008082526020918201528151808301909252825182529182019181019190915290565b905060006114758285611cb9565b611480906001612587565b67ffffffffffffffff81111561149857611498612412565b6040519080825280602002602001820160405280156114dd57816020015b60408051808201909152600080825260208201528152602001906001900390816114b65790505b50905060005b8151811015611526576114f68386611d5a565b828281518110611508576115086125ad565b6020026020010181905250808061151e90612911565b9150506114e3565b5085600e846006811061153b5761153b6125ad565b60408051808201825260018152600160fd1b602080830191825283518085018552600080825290820152835180850190945291518352908201529101906115829084611d79565b6040516020016115949392919061292a565b60408051601f1981840301815291905295506115b26001600661259a565b8310156115dc57856040516020016115ca91906129a5565b60405160208183030381529060405295505b505080806115e990612911565b915050611415565b5082604051602001610b4591906129ca565b6060815160000361162257505060408051602081019091526000815290565b6000604051806060016040528060408152602001612b8460409139905060006003845160026116519190612587565b61165b91906129ef565b611666906004612a03565b67ffffffffffffffff81111561167e5761167e612412565b6040519080825280601f01601f1916602001820160405280156116a8576020820181803683370190505b509050600182016020820185865187015b80821015611714576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453506001830192506116b9565b505060038651066001811461173057600281146117435761174b565b603d6001830353603d600283035361174b565b603d60018303535b509195945050505050565b600061176182610920565b905061176c82610920565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160a01b0384163b1561192c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061182f903390899088908890600401612a1a565b6020604051808303816000875af192505050801561186a575060408051601f3d908101601f1916820190925261186791810190612a56565b60015b611912573d808015611898576040519150601f19603f3d011682016040523d82523d6000602084013e61189d565b606091505b50805160000361190a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104f5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f0c565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611980577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106119ac576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106119ca57662386f26fc10000830492506010015b6305f5e10083106119e2576305f5e100830492506008015b61271083106119f657612710830492506004015b60648310611a08576064830492506002015b600a83106103c25760010192915050565b611a21612162565b60006014611a3060018561259a565b610bb98110611a4157611a416125ad565b600491828204019190066008029054906101000a900467ffffffffffffffff1667ffffffffffffffff16905060005b6006811015611cb2576000611a8761010084612a73565b90506000610303600e8460068110611aa157611aa16125ad565b01604051611aaf9190612a87565b908152604080519182900360209081018320805460609281028501830184529284018381529092849284919060009085015b82821015611b8d578382906000526020600020018054611b0090612537565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2c90612537565b8015611b795780601f10611b4e57610100808354040283529160200191611b79565b820191906000526020600020905b815481529060010190602001808311611b5c57829003601f168201915b505050505081526020019060010190611ae1565b50505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015611c0c57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411611bd35790505b505050505081525050905060005b815151811015611c965781602001518181518110611c3a57611c3a6125ad565b602002602001015161ffff168311611c84578151805182908110611c6057611c606125ad565b6020026020010151868560068110611c7a57611c7a6125ad565b6020020152611c96565b80611c8e81612911565b915050611c1a565b50505060089190911c9080611caa81612911565b915050611a70565b5050919050565b6000808260000151611cdd8560000151866020015186600001518760200151611f1d565b611ce79190612587565b90505b83516020850151611cfb9190612587565b8111611d535781611d0b81612911565b9250508260000151611d42856020015183611d26919061259a565b8651611d32919061259a565b8386600001518760200151611f1d565b611d4c9190612587565b9050611cea565b5092915050565b6040805180820190915260008082526020820152611d5383838361203d565b60608151600003611d9957506040805160208101909152600081526103c2565b600060018351611da9919061259a565b8451611db59190612a03565b905060005b8351811015611e0057838181518110611dd557611dd56125ad565b60200260200101516000015182611dec9190612587565b915080611df881612911565b915050611dba565b5060008167ffffffffffffffff811115611e1c57611e1c612412565b6040519080825280601f01601f191660200182016040528015611e46576020820181803683370190505b5090506020810160005b8551811015611f1257611e9e82878381518110611e6f57611e6f6125ad565b602002602001015160200151888481518110611e8d57611e8d6125ad565b6020026020010151600001516120e8565b858181518110611eb057611eb06125ad565b60200260200101516000015182611ec79190612587565b915060018651611ed7919061259a565b811015611f0057611ef182886020015189600001516120e8565b8651611efd9083612587565b91505b80611f0a81612911565b915050611e50565b509095945050505050565b600083818685116120285760208511611fd75760008515611f69576001611f4587602061259a565b611f50906008612a03565b611f5b906002612b77565b611f65919061259a565b1990505b84518116600087611f7a8b8b612587565b611f84919061259a565b855190915083165b828114611fc957818610611fb157611fa48b8b612587565b9650505050505050610f0c565b85611fbb81612911565b965050838651169050611f8c565b859650505050505050610f0c565b508383206000905b611fe9868961259a565b8211612026578583208082036120055783945050505050610f0c565b612010600185612587565b935050818061201e90612911565b925050611fdf565b505b6120328787612587565b979650505050505050565b6040805180820190915260008082526020820152600061206f8560000151866020015186600001518760200151611f1d565b60208087018051918601919091525190915061208b908261259a565b83528451602086015161209e9190612587565b81036120ad57600085526120df565b835183516120bb9190612587565b855186906120ca90839061259a565b90525083516120d99082612587565b60208601525b50909392505050565b6020811061212057815183526120ff602084612587565b925061210c602083612587565b915061211960208261259a565b90506120e8565b600019811561214f57600161213683602061259a565b61214290610100612b77565b61214c919061259a565b90505b9151835183169219169190911790915250565b6040518060c001604052806006905b60608152602001906001900390816121715790505090565b6001600160e01b0319811681146108c857600080fd5b6000602082840312156121b157600080fd5b81356121bc81612189565b9392505050565b60005b838110156121de5781810151838201526020016121c6565b50506000910152565b600081518084526121ff8160208601602086016121c3565b601f01601f19169290920160200192915050565b6020815260006121bc60208301846121e7565b60006020828403121561223857600080fd5b5035919050565b80356001600160a01b038116811461225657600080fd5b919050565b6000806040838503121561226e57600080fd5b6122778361223f565b946020939093013593505050565b60008083601f84011261229757600080fd5b50813567ffffffffffffffff8111156122af57600080fd5b6020830191508360208285010111156122c757600080fd5b9250929050565b6000806000806000608086880312156122e657600080fd5b6122ef8661223f565b94506122fd6020870161223f565b935060408601359250606086013567ffffffffffffffff81111561232057600080fd5b61232c88828901612285565b969995985093965092949392505050565b60008060006060848603121561235257600080fd5b61235b8461223f565b92506123696020850161223f565b9150604084013590509250925092565b6000806020838503121561238c57600080fd5b823567ffffffffffffffff8111156123a357600080fd5b6123af85828601612285565b90969095509350505050565b6000602082840312156123cd57600080fd5b6121bc8261223f565b600080604083850312156123e957600080fd5b6123f28361223f565b91506020830135801515811461240757600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561243e57600080fd5b6124478561223f565b93506124556020860161223f565b925060408501359150606085013567ffffffffffffffff8082111561247957600080fd5b818701915087601f83011261248d57600080fd5b81358181111561249f5761249f612412565b604051601f8201601f19908116603f011681019083821181831017156124c7576124c7612412565b816040528281528a60208487010111156124e057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561251757600080fd5b6125208361223f565b915061252e6020840161223f565b90509250929050565b600181811c9082168061254b57607f821691505b60208210810361256b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103c2576103c2612571565b818103818111156103c2576103c2612571565b634e487b7160e01b600052603260045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b601f8211156105b457600081815260208120601f850160051c810160208610156126375750805b601f850160051c820191505b8181101561265657828155600101612643565b505050505050565b67ffffffffffffffff83111561267657612676612412565b61268a836126848354612537565b83612610565b6000601f8411600181146126be57600085156126a65750838201355b600019600387901b1c1916600186901b178355612718565b600083815260209020601f19861690835b828110156126ef57868501358255602094850194600190920191016126cf565b508682101561270c5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6000815461272c81612537565b60018281168015612744576001811461275957612788565b60ff1984168752821515830287019450612788565b8560005260208060002060005b8581101561277f5781548a820152908401908201612766565b50505082870194505b5050505092915050565b6f7b226e616d65223a224c69676874202360801b815287516000906127be816010850160208d016121c3565b7f222c226465736372697074696f6e223a220000000000000000000000000000006010918401918201526127f5602182018a61271f565b6a11161134b6b0b3b2911d1160a91b81529050612815600b82018961271f565b90508651612827818360208b016121c3565b7f2e706e67222c2265787465726e616c5f75726c223a2200000000000000000000910190815261285a601682018761271f565b9050845161286c8183602089016121c3565b6e11161130ba3a3934b13aba32b9911d60891b9101908152835161289781600f8401602088016121c3565b607d60f81b600f92909101918201526010019998505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516128ee81601d8501602087016121c3565b91909101601d0192915050565b634e487b7160e01b600052601260045260246000fd5b60006001820161292357612923612571565b5060010190565b6000845161293c8184602089016121c3565b6e3d913a3930b4ba2fba3cb832911d1160891b908301908152612962600f82018661271f565b6a1116113b30b63ab2911d1160a91b8152845190915061298981600b8401602088016121c3565b61227d60f01b600b9290910191820152600d0195945050505050565b600082516129b78184602087016121c3565b600b60fa1b920191825250600101919050565b600082516129dc8184602087016121c3565b605d60f81b920191825250600101919050565b6000826129fe576129fe6128fb565b500490565b80820281158282048414176103c2576103c2612571565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612a4c60808301846121e7565b9695505050505050565b600060208284031215612a6857600080fd5b81516121bc81612189565b600082612a8257612a826128fb565b500690565b60006121bc828461271f565b600181815b80851115612ace578160001904821115612ab457612ab4612571565b80851615612ac157918102915b93841c9390800290612a98565b509250929050565b600082612ae5575060016103c2565b81612af2575060006103c2565b8160018114612b085760028114612b1257612b2e565b60019150506103c2565b60ff841115612b2357612b23612571565b50506001821b6103c2565b5060208310610133831016604e8410600b8410161715612b51575081810a6103c2565b612b5b8383612a93565b8060001904821115612b6f57612b6f612571565b029392505050565b60006121bc8383612ad656fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa164736f6c6343000812000a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000002aa0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000006486f6c6465720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000643616e646c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045769636b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005466c616d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055368696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d65726974000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000dc000000000000000000000000000000000000000000000000000000000000016c00000000000000000000000000000000000000000000000000000000000001ac00000000000000000000000000000000000000000000000000000000000001fc000000000000000000000000000000000000000000000000000000000000023c0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000004a000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000520000000000000000000000000000000000000000000000000000000000000056000000000000000000000000000000000000000000000000000000000000005a000000000000000000000000000000000000000000000000000000000000005e00000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000006e00000000000000000000000000000000000000000000000000000000000000720000000000000000000000000000000000000000000000000000000000000076000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000000000000000000000000000000000000000007e00000000000000000000000000000000000000000000000000000000000000820000000000000000000000000000000000000000000000000000000000000086000000000000000000000000000000000000000000000000000000000000008a000000000000000000000000000000000000000000000000000000000000008e000000000000000000000000000000000000000000000000000000000000009200000000000000000000000000000000000000000000000000000000000000014332d4c696e65735f537465656c5f48616e646c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e537465656c5f5371756967676c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a332d4c696e65735f537465656c5f54617065725f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000014537465656c5f5472756e63617465645f436f6e650000000000000000000000000000000000000000000000000000000000000000000000000000000000000011537465656c5f46696e5f546578747572650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011537465656c5f46696e735f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012537465656c5f57617665735f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b537465656c5f5472756e63617465645f436f6e655f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000e537465656c5f475f48616e646c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e537465656c5f535f48616e646c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d342d4c696e65735f537465656c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c537465656c5f416e676c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015332d4c696e65735f42726f6e7a655f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000f42726f6e7a655f5371756967676c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b332d4c696e65735f42726f6e7a655f54617065725f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000001542726f6e7a655f5472756e63617465645f436f6e650000000000000000000000000000000000000000000000000000000000000000000000000000000000000b42726f6e7a655f46696e73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001342726f6e7a655f57617665735f48616e646c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c42726f6e7a655f5472756e63617465645f436f6e655f48616e646c6500000000000000000000000000000000000000000000000000000000000000000000000f42726f6e7a655f475f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f42726f6e7a655f535f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e342d4c696e65735f42726f6e7a65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d42726f6e7a655f416e676c6573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013332d4c696e65735f476f6c645f48616e646c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b476f6c645f416e676c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001b0000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000003b0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000004b0000000000000000000000000000000000000000000000000000000000000055000000000000000000000000000000000000000000000000000000000000005b00000000000000000000000000000000000000000000000000000000000000650000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000007e0000000000000000000000000000000000000000000000000000000000000088000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a200000000000000000000000000000000000000000000000000000000000000b000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000000000000000000000000000000000000000000c500000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000da00000000000000000000000000000000000000000000000000000000000000e100000000000000000000000000000000000000000000000000000000000000e800000000000000000000000000000000000000000000000000000000000000f700000000000000000000000000000000000000000000000000000000000000fb00000000000000000000000000000000000000000000000000000000000000fe00000000000000000000000000000000000000000000000000000000000000ff000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000004a000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000520000000000000000000000000000000000000000000000000000000000000056000000000000000000000000000000000000000000000000000000000000005a000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006200000000000000000000000000000000000000000000000000000000000000009576964655f526f7365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095468696e5f526f7365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084469705f526f7365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c546578747572655f526f73650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c536c616e7465645f526f736500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010576964655f50696574726173616e74610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000105468696e5f50696574726173616e746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f4469705f50696574726173616e746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013536c616e7465645f50696574726173616e74610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000164d656c7465645f5761785f50696574726173616e7461000000000000000000000000000000000000000000000000000000000000000000000000000000000017496e74656e73655f5761785f50696574726173616e74610000000000000000000000000000000000000000000000000000000000000000000000000000000011536f6c69645f50696574726173616e74610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012446f747465645f50696574726173616e746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012416e676c65645f50696574726173616e7461000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000134c6179657265645f50696574726173616e7461000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013447269707065645f50696574726173616e7461000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010576176655f50696574726173616e7461000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000001d0000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002d00000000000000000000000000000000000000000000000000000000000000670000000000000000000000000000000000000000000000000000000000000081000000000000000000000000000000000000000000000000000000000000008b000000000000000000000000000000000000000000000000000000000000009a00000000000000000000000000000000000000000000000000000000000000a700000000000000000000000000000000000000000000000000000000000000b500000000000000000000000000000000000000000000000000000000000000c300000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000d200000000000000000000000000000000000000000000000000000000000000e200000000000000000000000000000000000000000000000000000000000000f100000000000000000000000000000000000000000000000000000000000000ff00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000000044e6f6e65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008566572746963616c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4c6566745f4275726e6564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c52696768745f4275726e6564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000104c6566745f576964655f4275726e656400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e476c6f77696e675f4275726e65640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014566572746963616c5f576964655f4275726e65640000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000056000000000000000000000000000000000000000000000000000000000000008b00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000ec00000000000000000000000000000000000000000000000000000000000000ee00000000000000000000000000000000000000000000000000000000000000ff000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000000b4c696768745f466c616d650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010547269616e67756c61725f466c616d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4375727665645f466c616d650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4c6566745f466c616d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d412d53686170655f466c616d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b52696768745f466c616d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000114c6566745f4375727665645f466c616d65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b57696e64795f466c616d65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4172726f775f466c616d650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000007a00000000000000000000000000000000000000000000000000000000000000aa00000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000da00000000000000000000000000000000000000000000000000000000000000ea00000000000000000000000000000000000000000000000000000000000000ef00000000000000000000000000000000000000000000000000000000000000ff00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000000044e6f6e650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124c696768745f436972636c655f5368696e650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f457870616e64696e675f5368696e650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e43697263756c61725f5368696e65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d496e74656e73655f5368696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d5368696d6d65725f5368696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001342726f61645f496e74656e73655f5368696e65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000004d000000000000000000000000000000000000000000000000000000000000009900000000000000000000000000000000000000000000000000000000000000aa00000000000000000000000000000000000000000000000000000000000000d500000000000000000000000000000000000000000000000000000000000000d700000000000000000000000000000000000000000000000000000000000000f900000000000000000000000000000000000000000000000000000000000000ff00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000014496e7361746961626c655f437572696f7369747900000000000000000000000000000000000000000000000000000000000000000000000000000000000000185072696e6369706c65645f496e646976696475616c69736d00000000000000000000000000000000000000000000000000000000000000000000000000000014426f756e646c6573735f437265617469766974790000000000000000000000000000000000000000000000000000000000000000000000000000000000000013556e7969656c64696e675f48756d616e69736d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011556e7761766572696e675f5669727475650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016556e61737361696c61626c655f496e74656772697479000000000000000000000000000000000000000000000000000000000000000000000000000000000013496d7065636361626c655f436976696c697479000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000290000000000000000000000000000000000000000000000000000000000000069000000000000000000000000000000000000000000000000000000000000008f00000000000000000000000000000000000000000000000000000000000000cf00000000000000000000000000000000000000000000000000000000000000e300000000000000000000000000000000000000000000000000000000000000ff000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000072d8fb174707783ef8d0197f317849dd941f9ff00000000000000000000000014d4d2a6dafdfef9d9c0043b561bd7aba7cc015b0000000000000000000000006301add4fb128de9778b8651a2a9278b8676142300000000000000000000000096ab2ba10f76a5d8488b78f8a21576b883e6d799000000000000000000000000fb741cee563593f815c2788e5f1f03b49064c25c00000000000000000000000073bafd0b00ed096abe14f7d752a7f3259ac3e9e3000000000000000000000000941658db1f8bf68148d1c0ef3b03b5dd0dd9ce730000000000000000000000007b1c6f103c0851173f1c343a7e34d2fd1d5bae7b000000000000000000000000ce1a11c0f641c7219b19bfb5e1cb5900f27ff92c000000000000000000000000d9b078117e8bacd60a63f6f77cf2b8aef6f8b98b
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061017d5760003560e01c80636352211e116100e3578063a22cb4651161008c578063e985e9c511610066578063e985e9c51461033b578063f2fde38b14610377578063f8654e821461038a57600080fd5b8063a22cb46514610302578063b88d4fde14610315578063c87b56dd1461032857600080fd5b80638da5cb5b116100bd5780638da5cb5b146102d657806390c3f38f146102e757806395d89b41146102fa57600080fd5b80636352211e146102a857806370a08231146102bb578063715018a6146102ce57600080fd5b8063150b7a021161014557806342842e0e1161011f57806342842e0e1461026f57806342966c681461028257806355f804b31461029557600080fd5b8063150b7a021461021a57806318160ddd1461024657806323b872dd1461025c57600080fd5b806301ffc9a714610182578063042ce53b146101aa57806306fdde03146101dd578063081812fc146101f2578063095ea7b314610205575b600080fd5b61019561019036600461219f565b61039d565b60405190151581526020015b60405180910390f35b6101c573d1466d7a2e13a47677608f68093c5ea9fe91061181565b6040516001600160a01b0390911681526020016101a1565b6101e56103c8565b6040516101a19190612213565b6101c5610200366004612226565b61045a565b61021861021336600461225b565b610481565b005b61022d6102283660046122ce565b6105b9565b6040516001600160e01b031990911681526020016101a1565b61024e61083a565b6040519081526020016101a1565b61021861026a36600461233d565b610864565b61021861027d36600461233d565b610896565b610218610290366004612226565b6108b1565b6102186102a3366004612379565b6108cb565b6101c56102b6366004612226565b610920565b61024e6102c93660046123bb565b610985565b610218610a0b565b6006546001600160a01b03166101c5565b6102186102f5366004612379565b610a1f565b6101e5610a34565b6102186103103660046123d6565b610a43565b610218610323366004612428565b610a52565b6101e5610336366004612226565b610a8a565b610195610349366004612504565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102186103853660046123bb565b610b5d565b610218610398366004612379565b610bd3565b60006001600160e01b03198216632483248360e11b14806103c257506103c282610be8565b92915050565b6060600080546103d790612537565b80601f016020809104026020016040519081016040528092919081815260200182805461040390612537565b80156104505780601f1061042557610100808354040283529160200191610450565b820191906000526020600020905b81548152906001019060200180831161043357829003601f168201915b5050505050905090565b600061046582610c38565b506000908152600460205260409020546001600160a01b031690565b600061048c82610920565b9050806001600160a01b0316836001600160a01b0316036104fe5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061053857506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6105aa5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104f5565b6105b48383610c9c565b505050565b60003373d1466d7a2e13a47677608f68093c5ea9fe910611146105ef5760405163c1ab6dc160e01b815260040160405180910390fd5b6001600160a01b0385166000908152600a602090815260409182902082518084019093525460ff8082168452610100909104161580159183019190915261064957604051631bbdf5c560e31b815260040160405180910390fd5b805160009060ff161561066f57610664600880546001019055565b50805160ff166106cb565b610bb9600a61067d60075490565b6106879190612587565b036106a55760405163ade1cb4160e01b815260040160405180910390fd5b6106b3600780546001019055565b600a6106be60075490565b6106c89190612587565b90505b600160208084019182526001600160a01b0389166000908152600a90915260409081902084518154935115156101000261ffff1990941660ff909116179290921790915551630852cd8d60e31b815273d1466d7a2e13a47677608f68093c5ea9fe910611906342966c689061074890899060040190815260200190565b600060405180830381600087803b15801561076257600080fd5b505af1158015610776573d6000803e3d6000fd5b505060408051602081018590526bffffffffffffffffffffffff194160601b169181019190915244605482015248607482015260940191506107b59050565b60408051601f19818403018152919052805160209091012060146107da60018461259a565b610bb981106107eb576107eb6125ad565b600491828204019190066008026101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506108268782610d0a565b50630a85bd0160e11b979650505050505050565b600061084560095490565b6008546007546108559190612587565b61085f919061259a565b905090565b61086f335b82610e95565b61088b5760405162461bcd60e51b81526004016104f5906125c3565b6105b4838383610f14565b6105b483838360405180602001604052806000815250610a52565b6108ba816110f4565b6108c8600980546001019055565b50565b6108d3611122565b600b6108e082848361265e565b506040805160018152610bb960208201527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6000818152600260205260408120546001600160a01b0316806103c25760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104f5565b60006001600160a01b0382166109ef5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104f5565b506001600160a01b031660009081526003602052604090205490565b610a13611122565b610a1d600061117c565b565b610a27611122565b600d6108e082848361265e565b6060600180546103d790612537565b610a4e3383836111ce565b5050565b610a5c3383610e95565b610a785760405162461bcd60e51b81526004016104f5906125c3565b610a848484848461129c565b50505050565b6060610a9582610c38565b6000610aa08361131a565b9050600081600d600b610af96014610ab960018a61259a565b610bb98110610aca57610aca6125ad565b600491828204019190066008029054906101000a900467ffffffffffffffff1667ffffffffffffffff1661131a565b600c86610b058a6113ad565b604051602001610b1b9796959493929190612792565b6040516020818303038152906040529050610b3581611603565b604051602001610b4591906128b6565b60405160208183030381529060405292505050919050565b610b65611122565b6001600160a01b038116610bca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104f5565b6108c88161117c565b610bdb611122565b600c6108e082848361265e565b60006001600160e01b031982166380ac58cd60e01b1480610c1957506001600160e01b03198216635b5e139f60e01b145b806103c257506301ffc9a760e01b6001600160e01b03198316146103c2565b6000818152600260205260409020546001600160a01b03166108c85760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016104f5565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610cd182610920565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216610d605760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104f5565b6000818152600260205260409020546001600160a01b031615610dc55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104f5565b6000818152600260205260409020546001600160a01b031615610e2a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104f5565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080610ea183610920565b9050806001600160a01b0316846001600160a01b03161480610ee857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610f0c5750836001600160a01b0316610f018461045a565b6001600160a01b0316145b949350505050565b826001600160a01b0316610f2782610920565b6001600160a01b031614610f8b5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104f5565b6001600160a01b038216610fed5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104f5565b826001600160a01b031661100082610920565b6001600160a01b0316146110645760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104f5565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6110fd33610869565b6111195760405162461bcd60e51b81526004016104f5906125c3565b6108c881611756565b6006546001600160a01b03163314610a1d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104f5565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03160361122f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104f5565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6112a7848484610f14565b6112b3848484846117eb565b610a845760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104f5565b6060600061132783611937565b600101905060008167ffffffffffffffff81111561134757611347612412565b6040519080825280601f01601f191660200182016040528015611371576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461137b57509392505050565b606060006113ba83611a19565b6040805180820182526001808252605b60f81b60208084019190915283518085018552918252605f60f81b82820190815284518086018652600080825290830181905285518087019096529251855290840152909450919250905b60068110156115f1576000611467848360068110611435576114356125ad565b602002015160408051808201825260008082526020918201528151808301909252825182529182019181019190915290565b905060006114758285611cb9565b611480906001612587565b67ffffffffffffffff81111561149857611498612412565b6040519080825280602002602001820160405280156114dd57816020015b60408051808201909152600080825260208201528152602001906001900390816114b65790505b50905060005b8151811015611526576114f68386611d5a565b828281518110611508576115086125ad565b6020026020010181905250808061151e90612911565b9150506114e3565b5085600e846006811061153b5761153b6125ad565b60408051808201825260018152600160fd1b602080830191825283518085018552600080825290820152835180850190945291518352908201529101906115829084611d79565b6040516020016115949392919061292a565b60408051601f1981840301815291905295506115b26001600661259a565b8310156115dc57856040516020016115ca91906129a5565b60405160208183030381529060405295505b505080806115e990612911565b915050611415565b5082604051602001610b4591906129ca565b6060815160000361162257505060408051602081019091526000815290565b6000604051806060016040528060408152602001612b8460409139905060006003845160026116519190612587565b61165b91906129ef565b611666906004612a03565b67ffffffffffffffff81111561167e5761167e612412565b6040519080825280601f01601f1916602001820160405280156116a8576020820181803683370190505b509050600182016020820185865187015b80821015611714576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453506001830192506116b9565b505060038651066001811461173057600281146117435761174b565b603d6001830353603d600283035361174b565b603d60018303535b509195945050505050565b600061176182610920565b905061176c82610920565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160a01b0384163b1561192c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061182f903390899088908890600401612a1a565b6020604051808303816000875af192505050801561186a575060408051601f3d908101601f1916820190925261186791810190612a56565b60015b611912573d808015611898576040519150601f19603f3d011682016040523d82523d6000602084013e61189d565b606091505b50805160000361190a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016104f5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f0c565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611980577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106119ac576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106119ca57662386f26fc10000830492506010015b6305f5e10083106119e2576305f5e100830492506008015b61271083106119f657612710830492506004015b60648310611a08576064830492506002015b600a83106103c25760010192915050565b611a21612162565b60006014611a3060018561259a565b610bb98110611a4157611a416125ad565b600491828204019190066008029054906101000a900467ffffffffffffffff1667ffffffffffffffff16905060005b6006811015611cb2576000611a8761010084612a73565b90506000610303600e8460068110611aa157611aa16125ad565b01604051611aaf9190612a87565b908152604080519182900360209081018320805460609281028501830184529284018381529092849284919060009085015b82821015611b8d578382906000526020600020018054611b0090612537565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2c90612537565b8015611b795780601f10611b4e57610100808354040283529160200191611b79565b820191906000526020600020905b815481529060010190602001808311611b5c57829003601f168201915b505050505081526020019060010190611ae1565b50505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015611c0c57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411611bd35790505b505050505081525050905060005b815151811015611c965781602001518181518110611c3a57611c3a6125ad565b602002602001015161ffff168311611c84578151805182908110611c6057611c606125ad565b6020026020010151868560068110611c7a57611c7a6125ad565b6020020152611c96565b80611c8e81612911565b915050611c1a565b50505060089190911c9080611caa81612911565b915050611a70565b5050919050565b6000808260000151611cdd8560000151866020015186600001518760200151611f1d565b611ce79190612587565b90505b83516020850151611cfb9190612587565b8111611d535781611d0b81612911565b9250508260000151611d42856020015183611d26919061259a565b8651611d32919061259a565b8386600001518760200151611f1d565b611d4c9190612587565b9050611cea565b5092915050565b6040805180820190915260008082526020820152611d5383838361203d565b60608151600003611d9957506040805160208101909152600081526103c2565b600060018351611da9919061259a565b8451611db59190612a03565b905060005b8351811015611e0057838181518110611dd557611dd56125ad565b60200260200101516000015182611dec9190612587565b915080611df881612911565b915050611dba565b5060008167ffffffffffffffff811115611e1c57611e1c612412565b6040519080825280601f01601f191660200182016040528015611e46576020820181803683370190505b5090506020810160005b8551811015611f1257611e9e82878381518110611e6f57611e6f6125ad565b602002602001015160200151888481518110611e8d57611e8d6125ad565b6020026020010151600001516120e8565b858181518110611eb057611eb06125ad565b60200260200101516000015182611ec79190612587565b915060018651611ed7919061259a565b811015611f0057611ef182886020015189600001516120e8565b8651611efd9083612587565b91505b80611f0a81612911565b915050611e50565b509095945050505050565b600083818685116120285760208511611fd75760008515611f69576001611f4587602061259a565b611f50906008612a03565b611f5b906002612b77565b611f65919061259a565b1990505b84518116600087611f7a8b8b612587565b611f84919061259a565b855190915083165b828114611fc957818610611fb157611fa48b8b612587565b9650505050505050610f0c565b85611fbb81612911565b965050838651169050611f8c565b859650505050505050610f0c565b508383206000905b611fe9868961259a565b8211612026578583208082036120055783945050505050610f0c565b612010600185612587565b935050818061201e90612911565b925050611fdf565b505b6120328787612587565b979650505050505050565b6040805180820190915260008082526020820152600061206f8560000151866020015186600001518760200151611f1d565b60208087018051918601919091525190915061208b908261259a565b83528451602086015161209e9190612587565b81036120ad57600085526120df565b835183516120bb9190612587565b855186906120ca90839061259a565b90525083516120d99082612587565b60208601525b50909392505050565b6020811061212057815183526120ff602084612587565b925061210c602083612587565b915061211960208261259a565b90506120e8565b600019811561214f57600161213683602061259a565b61214290610100612b77565b61214c919061259a565b90505b9151835183169219169190911790915250565b6040518060c001604052806006905b60608152602001906001900390816121715790505090565b6001600160e01b0319811681146108c857600080fd5b6000602082840312156121b157600080fd5b81356121bc81612189565b9392505050565b60005b838110156121de5781810151838201526020016121c6565b50506000910152565b600081518084526121ff8160208601602086016121c3565b601f01601f19169290920160200192915050565b6020815260006121bc60208301846121e7565b60006020828403121561223857600080fd5b5035919050565b80356001600160a01b038116811461225657600080fd5b919050565b6000806040838503121561226e57600080fd5b6122778361223f565b946020939093013593505050565b60008083601f84011261229757600080fd5b50813567ffffffffffffffff8111156122af57600080fd5b6020830191508360208285010111156122c757600080fd5b9250929050565b6000806000806000608086880312156122e657600080fd5b6122ef8661223f565b94506122fd6020870161223f565b935060408601359250606086013567ffffffffffffffff81111561232057600080fd5b61232c88828901612285565b969995985093965092949392505050565b60008060006060848603121561235257600080fd5b61235b8461223f565b92506123696020850161223f565b9150604084013590509250925092565b6000806020838503121561238c57600080fd5b823567ffffffffffffffff8111156123a357600080fd5b6123af85828601612285565b90969095509350505050565b6000602082840312156123cd57600080fd5b6121bc8261223f565b600080604083850312156123e957600080fd5b6123f28361223f565b91506020830135801515811461240757600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561243e57600080fd5b6124478561223f565b93506124556020860161223f565b925060408501359150606085013567ffffffffffffffff8082111561247957600080fd5b818701915087601f83011261248d57600080fd5b81358181111561249f5761249f612412565b604051601f8201601f19908116603f011681019083821181831017156124c7576124c7612412565b816040528281528a60208487010111156124e057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561251757600080fd5b6125208361223f565b915061252e6020840161223f565b90509250929050565b600181811c9082168061254b57607f821691505b60208210810361256b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103c2576103c2612571565b818103818111156103c2576103c2612571565b634e487b7160e01b600052603260045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b601f8211156105b457600081815260208120601f850160051c810160208610156126375750805b601f850160051c820191505b8181101561265657828155600101612643565b505050505050565b67ffffffffffffffff83111561267657612676612412565b61268a836126848354612537565b83612610565b6000601f8411600181146126be57600085156126a65750838201355b600019600387901b1c1916600186901b178355612718565b600083815260209020601f19861690835b828110156126ef57868501358255602094850194600190920191016126cf565b508682101561270c5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6000815461272c81612537565b60018281168015612744576001811461275957612788565b60ff1984168752821515830287019450612788565b8560005260208060002060005b8581101561277f5781548a820152908401908201612766565b50505082870194505b5050505092915050565b6f7b226e616d65223a224c69676874202360801b815287516000906127be816010850160208d016121c3565b7f222c226465736372697074696f6e223a220000000000000000000000000000006010918401918201526127f5602182018a61271f565b6a11161134b6b0b3b2911d1160a91b81529050612815600b82018961271f565b90508651612827818360208b016121c3565b7f2e706e67222c2265787465726e616c5f75726c223a2200000000000000000000910190815261285a601682018761271f565b9050845161286c8183602089016121c3565b6e11161130ba3a3934b13aba32b9911d60891b9101908152835161289781600f8401602088016121c3565b607d60f81b600f92909101918201526010019998505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516128ee81601d8501602087016121c3565b91909101601d0192915050565b634e487b7160e01b600052601260045260246000fd5b60006001820161292357612923612571565b5060010190565b6000845161293c8184602089016121c3565b6e3d913a3930b4ba2fba3cb832911d1160891b908301908152612962600f82018661271f565b6a1116113b30b63ab2911d1160a91b8152845190915061298981600b8401602088016121c3565b61227d60f01b600b9290910191820152600d0195945050505050565b600082516129b78184602087016121c3565b600b60fa1b920191825250600101919050565b600082516129dc8184602087016121c3565b605d60f81b920191825250600101919050565b6000826129fe576129fe6128fb565b500490565b80820281158282048414176103c2576103c2612571565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612a4c60808301846121e7565b9695505050505050565b600060208284031215612a6857600080fd5b81516121bc81612189565b600082612a8257612a826128fb565b500690565b60006121bc828461271f565b600181815b80851115612ace578160001904821115612ab457612ab4612571565b80851615612ac157918102915b93841c9390800290612a98565b509250929050565b600082612ae5575060016103c2565b81612af2575060006103c2565b8160018114612b085760028114612b1257612b2e565b60019150506103c2565b60ff841115612b2357612b23612571565b50506001821b6103c2565b5060208310610133831016604e8410600b8410161715612b51575081810a6103c2565b612b5b8383612a93565b8060001904821115612b6f57612b6f612571565b029392505050565b60006121bc8383612ad656fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa164736f6c6343000812000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000002aa0000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000006486f6c6465720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000643616e646c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045769636b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005466c616d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055368696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d65726974000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000dc000000000000000000000000000000000000000000000000000000000000016c00000000000000000000000000000000000000000000000000000000000001ac00000000000000000000000000000000000000000000000000000000000001fc000000000000000000000000000000000000000000000000000000000000023c0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000009c000000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000004a000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000520000000000000000000000000000000000000000000000000000000000000056000000000000000000000000000000000000000000000000000000000000005a000000000000000000000000000000000000000000000000000000000000005e00000000000000000000000000000000000000000000000000000000000000620000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000006e00000000000000000000000000000000000000000000000000000000000000720000000000000000000000000000000000000000000000000000000000000076000000000000000000000000000000000000000000000000000000000000007a000000000000000000000000000000000000000000000000000000000000007e00000000000000000000000000000000000000000000000000000000000000820000000000000000000000000000000000000000000000000000000000000086000000000000000000000000000000000000000000000000000000000000008a000000000000000000000000000000000000000000000000000000000000008e000000000000000000000000000000000000000000000000000000000000009200000000000000000000000000000000000000000000000000000000000000014332d4c696e65735f537465656c5f48616e646c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e537465656c5f5371756967676c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a332d4c696e65735f537465656c5f54617065725f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000014537465656c5f5472756e63617465645f436f6e650000000000000000000000000000000000000000000000000000000000000000000000000000000000000011537465656c5f46696e5f546578747572650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011537465656c5f46696e735f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012537465656c5f57617665735f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b537465656c5f5472756e63617465645f436f6e655f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000e537465656c5f475f48616e646c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e537465656c5f535f48616e646c65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d342d4c696e65735f537465656c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c537465656c5f416e676c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015332d4c696e65735f42726f6e7a655f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000f42726f6e7a655f5371756967676c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b332d4c696e65735f42726f6e7a655f54617065725f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000001542726f6e7a655f5472756e63617465645f436f6e650000000000000000000000000000000000000000000000000000000000000000000000000000000000000b42726f6e7a655f46696e73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001342726f6e7a655f57617665735f48616e646c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c42726f6e7a655f5472756e63617465645f436f6e655f48616e646c6500000000000000000000000000000000000000000000000000000000000000000000000f42726f6e7a655f475f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f42726f6e7a655f535f48616e646c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e342d4c696e65735f42726f6e7a65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d42726f6e7a655f416e676c6573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013332d4c696e65735f476f6c645f48616e646c6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b476f6c645f416e676c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001b0000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000003b0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000004b0000000000000000000000000000000000000000000000000000000000000055000000000000000000000000000000000000000000000000000000000000005b00000000000000000000000000000000000000000000000000000000000000650000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000007e0000000000000000000000000000000000000000000000000000000000000088000000000000000000000000000000000000000000000000000000000000009c00000000000000000000000000000000000000000000000000000000000000a200000000000000000000000000000000000000000000000000000000000000b000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000000000000000000000000000000000000000000c500000000000000000000000000000000000000000000000000000000000000cc00000000000000000000000000000000000000000000000000000000000000da00000000000000000000000000000000000000000000000000000000000000e100000000000000000000000000000000000000000000000000000000000000e800000000000000000000000000000000000000000000000000000000000000f700000000000000000000000000000000000000000000000000000000000000fb00000000000000000000000000000000000000000000000000000000000000fe00000000000000000000000000000000000000000000000000000000000000ff000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000006c000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000004a000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000520000000000000000000000000000000000000000000000000000000000000056000000000000000000000000000000000000000000000000000000000000005a000000000000000000000000000000000000000000000000000000000000005e000000000000000000000000000000000000000000000000000000000000006200000000000000000000000000000000000000000000000000000000000000009576964655f526f7365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095468696e5f526f7365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084469705f526f7365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c546578747572655f526f73650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c536c616e7465645f526f736500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010576964655f50696574726173616e74610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000105468696e5f50696574726173616e746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f4469705f50696574726173616e746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013536c616e7465645f50696574726173616e74610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000164d656c7465645f5761785f50696574726173616e7461000000000000000000000000000000000000000000000000000000000000000000000000000000000017496e74656e73655f5761785f50696574726173616e74610000000000000000000000000000000000000000000000000000000000000000000000000000000011536f6c69645f50696574726173616e74610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012446f747465645f50696574726173616e746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012416e676c65645f50696574726173616e7461000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000134c6179657265645f50696574726173616e7461000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013447269707065645f50696574726173616e7461000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010576176655f50696574726173616e7461000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000000b0000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000001d0000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000002d00000000000000000000000000000000000000000000000000000000000000670000000000000000000000000000000000000000000000000000000000000081000000000000000000000000000000000000000000000000000000000000008b000000000000000000000000000000000000000000000000000000000000009a00000000000000000000000000000000000000000000000000000000000000a700000000000000000000000000000000000000000000000000000000000000b500000000000000000000000000000000000000000000000000000000000000c300000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000d200000000000000000000000000000000000000000000000000000000000000e200000000000000000000000000000000000000000000000000000000000000f100000000000000000000000000000000000000000000000000000000000000ff00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000000044e6f6e65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008566572746963616c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4c6566745f4275726e6564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c52696768745f4275726e6564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000104c6566745f576964655f4275726e656400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e476c6f77696e675f4275726e65640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014566572746963616c5f576964655f4275726e65640000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000056000000000000000000000000000000000000000000000000000000000000008b00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000ec00000000000000000000000000000000000000000000000000000000000000ee00000000000000000000000000000000000000000000000000000000000000ff000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000000b4c696768745f466c616d650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010547269616e67756c61725f466c616d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4375727665645f466c616d650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4c6566745f466c616d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d412d53686170655f466c616d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b52696768745f466c616d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000114c6566745f4375727665645f466c616d65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b57696e64795f466c616d65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b4172726f775f466c616d650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000001b000000000000000000000000000000000000000000000000000000000000007a00000000000000000000000000000000000000000000000000000000000000aa00000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000ca00000000000000000000000000000000000000000000000000000000000000da00000000000000000000000000000000000000000000000000000000000000ea00000000000000000000000000000000000000000000000000000000000000ef00000000000000000000000000000000000000000000000000000000000000ff00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000000044e6f6e650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000124c696768745f436972636c655f5368696e650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f457870616e64696e675f5368696e650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e43697263756c61725f5368696e65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d496e74656e73655f5368696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d5368696d6d65725f5368696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001342726f61645f496e74656e73655f5368696e65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000004d000000000000000000000000000000000000000000000000000000000000009900000000000000000000000000000000000000000000000000000000000000aa00000000000000000000000000000000000000000000000000000000000000d500000000000000000000000000000000000000000000000000000000000000d700000000000000000000000000000000000000000000000000000000000000f900000000000000000000000000000000000000000000000000000000000000ff00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000014496e7361746961626c655f437572696f7369747900000000000000000000000000000000000000000000000000000000000000000000000000000000000000185072696e6369706c65645f496e646976696475616c69736d00000000000000000000000000000000000000000000000000000000000000000000000000000014426f756e646c6573735f437265617469766974790000000000000000000000000000000000000000000000000000000000000000000000000000000000000013556e7969656c64696e675f48756d616e69736d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011556e7761766572696e675f5669727475650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016556e61737361696c61626c655f496e74656772697479000000000000000000000000000000000000000000000000000000000000000000000000000000000013496d7065636361626c655f436976696c697479000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000290000000000000000000000000000000000000000000000000000000000000069000000000000000000000000000000000000000000000000000000000000008f00000000000000000000000000000000000000000000000000000000000000cf00000000000000000000000000000000000000000000000000000000000000e300000000000000000000000000000000000000000000000000000000000000ff000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000072d8fb174707783ef8d0197f317849dd941f9ff00000000000000000000000014d4d2a6dafdfef9d9c0043b561bd7aba7cc015b0000000000000000000000006301add4fb128de9778b8651a2a9278b8676142300000000000000000000000096ab2ba10f76a5d8488b78f8a21576b883e6d799000000000000000000000000fb741cee563593f815c2788e5f1f03b49064c25c00000000000000000000000073bafd0b00ed096abe14f7d752a7f3259ac3e9e3000000000000000000000000941658db1f8bf68148d1c0ef3b03b5dd0dd9ce730000000000000000000000007b1c6f103c0851173f1c343a7e34d2fd1d5bae7b000000000000000000000000ce1a11c0f641c7219b19bfb5e1cb5900f27ff92c000000000000000000000000d9b078117e8bacd60a63f6f77cf2b8aef6f8b98b
-----Decoded View---------------
Arg [0] : categoryNames (string[]): Holder,Candle,Wick,Flame,Shine,Merit
Arg [1] : categories (tuple[]): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [2] : reserved_ (address[]): 0x072d8fb174707783eF8D0197f317849DD941F9ff,0x14D4D2a6DaFDFEF9D9C0043b561bd7abA7CC015b,0x6301Add4fb128de9778B8651a2a9278B86761423,0x96Ab2BA10F76a5D8488b78F8A21576b883e6D799,0xfB741cEe563593f815c2788e5f1F03b49064c25C,0x73baFd0b00ED096AbE14F7d752a7f3259Ac3E9E3,0x941658dB1f8bf68148D1C0eF3b03b5dd0dd9ce73,0x7B1c6f103C0851173F1c343A7e34d2fD1d5BAe7B,0xCE1a11c0f641c7219B19BFb5e1Cb5900F27ff92c,0xd9B078117e8baCD60A63f6F77cf2B8aEF6f8B98B
-----Encoded View---------------
352 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000002c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002aa0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [8] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [11] : 486f6c6465720000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [13] : 43616e646c650000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [15] : 5769636b00000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [17] : 466c616d65000000000000000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [19] : 5368696e65000000000000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [21] : 4d65726974000000000000000000000000000000000000000000000000000000
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [23] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000dc0
Arg [25] : 00000000000000000000000000000000000000000000000000000000000016c0
Arg [26] : 0000000000000000000000000000000000000000000000000000000000001ac0
Arg [27] : 0000000000000000000000000000000000000000000000000000000000001fc0
Arg [28] : 00000000000000000000000000000000000000000000000000000000000023c0
Arg [29] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [30] : 00000000000000000000000000000000000000000000000000000000000009c0
Arg [31] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [32] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [33] : 0000000000000000000000000000000000000000000000000000000000000360
Arg [34] : 00000000000000000000000000000000000000000000000000000000000003a0
Arg [35] : 00000000000000000000000000000000000000000000000000000000000003e0
Arg [36] : 0000000000000000000000000000000000000000000000000000000000000420
Arg [37] : 0000000000000000000000000000000000000000000000000000000000000460
Arg [38] : 00000000000000000000000000000000000000000000000000000000000004a0
Arg [39] : 00000000000000000000000000000000000000000000000000000000000004e0
Arg [40] : 0000000000000000000000000000000000000000000000000000000000000520
Arg [41] : 0000000000000000000000000000000000000000000000000000000000000560
Arg [42] : 00000000000000000000000000000000000000000000000000000000000005a0
Arg [43] : 00000000000000000000000000000000000000000000000000000000000005e0
Arg [44] : 0000000000000000000000000000000000000000000000000000000000000620
Arg [45] : 0000000000000000000000000000000000000000000000000000000000000660
Arg [46] : 00000000000000000000000000000000000000000000000000000000000006a0
Arg [47] : 00000000000000000000000000000000000000000000000000000000000006e0
Arg [48] : 0000000000000000000000000000000000000000000000000000000000000720
Arg [49] : 0000000000000000000000000000000000000000000000000000000000000760
Arg [50] : 00000000000000000000000000000000000000000000000000000000000007a0
Arg [51] : 00000000000000000000000000000000000000000000000000000000000007e0
Arg [52] : 0000000000000000000000000000000000000000000000000000000000000820
Arg [53] : 0000000000000000000000000000000000000000000000000000000000000860
Arg [54] : 00000000000000000000000000000000000000000000000000000000000008a0
Arg [55] : 00000000000000000000000000000000000000000000000000000000000008e0
Arg [56] : 0000000000000000000000000000000000000000000000000000000000000920
Arg [57] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [58] : 332d4c696e65735f537465656c5f48616e646c65000000000000000000000000
Arg [59] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [60] : 537465656c5f5371756967676c65000000000000000000000000000000000000
Arg [61] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [62] : 332d4c696e65735f537465656c5f54617065725f48616e646c65000000000000
Arg [63] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [64] : 537465656c5f5472756e63617465645f436f6e65000000000000000000000000
Arg [65] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [66] : 537465656c5f46696e5f54657874757265000000000000000000000000000000
Arg [67] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [68] : 537465656c5f46696e735f48616e646c65000000000000000000000000000000
Arg [69] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [70] : 537465656c5f57617665735f48616e646c650000000000000000000000000000
Arg [71] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [72] : 537465656c5f5472756e63617465645f436f6e655f48616e646c650000000000
Arg [73] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [74] : 537465656c5f475f48616e646c65000000000000000000000000000000000000
Arg [75] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [76] : 537465656c5f535f48616e646c65000000000000000000000000000000000000
Arg [77] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [78] : 342d4c696e65735f537465656c00000000000000000000000000000000000000
Arg [79] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [80] : 537465656c5f416e676c65730000000000000000000000000000000000000000
Arg [81] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [82] : 332d4c696e65735f42726f6e7a655f48616e646c650000000000000000000000
Arg [83] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [84] : 42726f6e7a655f5371756967676c650000000000000000000000000000000000
Arg [85] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [86] : 332d4c696e65735f42726f6e7a655f54617065725f48616e646c650000000000
Arg [87] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [88] : 42726f6e7a655f5472756e63617465645f436f6e650000000000000000000000
Arg [89] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [90] : 42726f6e7a655f46696e73000000000000000000000000000000000000000000
Arg [91] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [92] : 42726f6e7a655f57617665735f48616e646c6500000000000000000000000000
Arg [93] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [94] : 42726f6e7a655f5472756e63617465645f436f6e655f48616e646c6500000000
Arg [95] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [96] : 42726f6e7a655f475f48616e646c650000000000000000000000000000000000
Arg [97] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [98] : 42726f6e7a655f535f48616e646c650000000000000000000000000000000000
Arg [99] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [100] : 342d4c696e65735f42726f6e7a65000000000000000000000000000000000000
Arg [101] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [102] : 42726f6e7a655f416e676c657300000000000000000000000000000000000000
Arg [103] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [104] : 332d4c696e65735f476f6c645f48616e646c6500000000000000000000000000
Arg [105] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [106] : 476f6c645f416e676c6573000000000000000000000000000000000000000000
Arg [107] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [108] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [109] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [110] : 0000000000000000000000000000000000000000000000000000000000000030
Arg [111] : 000000000000000000000000000000000000000000000000000000000000003b
Arg [112] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [113] : 000000000000000000000000000000000000000000000000000000000000004b
Arg [114] : 0000000000000000000000000000000000000000000000000000000000000055
Arg [115] : 000000000000000000000000000000000000000000000000000000000000005b
Arg [116] : 0000000000000000000000000000000000000000000000000000000000000065
Arg [117] : 0000000000000000000000000000000000000000000000000000000000000070
Arg [118] : 000000000000000000000000000000000000000000000000000000000000007e
Arg [119] : 0000000000000000000000000000000000000000000000000000000000000088
Arg [120] : 000000000000000000000000000000000000000000000000000000000000009c
Arg [121] : 00000000000000000000000000000000000000000000000000000000000000a2
Arg [122] : 00000000000000000000000000000000000000000000000000000000000000b0
Arg [123] : 00000000000000000000000000000000000000000000000000000000000000b7
Arg [124] : 00000000000000000000000000000000000000000000000000000000000000c5
Arg [125] : 00000000000000000000000000000000000000000000000000000000000000cc
Arg [126] : 00000000000000000000000000000000000000000000000000000000000000da
Arg [127] : 00000000000000000000000000000000000000000000000000000000000000e1
Arg [128] : 00000000000000000000000000000000000000000000000000000000000000e8
Arg [129] : 00000000000000000000000000000000000000000000000000000000000000f7
Arg [130] : 00000000000000000000000000000000000000000000000000000000000000fb
Arg [131] : 00000000000000000000000000000000000000000000000000000000000000fe
Arg [132] : 00000000000000000000000000000000000000000000000000000000000000ff
Arg [133] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [134] : 00000000000000000000000000000000000000000000000000000000000006c0
Arg [135] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [136] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [137] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [138] : 00000000000000000000000000000000000000000000000000000000000002a0
Arg [139] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [140] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [141] : 0000000000000000000000000000000000000000000000000000000000000360
Arg [142] : 00000000000000000000000000000000000000000000000000000000000003a0
Arg [143] : 00000000000000000000000000000000000000000000000000000000000003e0
Arg [144] : 0000000000000000000000000000000000000000000000000000000000000420
Arg [145] : 0000000000000000000000000000000000000000000000000000000000000460
Arg [146] : 00000000000000000000000000000000000000000000000000000000000004a0
Arg [147] : 00000000000000000000000000000000000000000000000000000000000004e0
Arg [148] : 0000000000000000000000000000000000000000000000000000000000000520
Arg [149] : 0000000000000000000000000000000000000000000000000000000000000560
Arg [150] : 00000000000000000000000000000000000000000000000000000000000005a0
Arg [151] : 00000000000000000000000000000000000000000000000000000000000005e0
Arg [152] : 0000000000000000000000000000000000000000000000000000000000000620
Arg [153] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [154] : 576964655f526f73650000000000000000000000000000000000000000000000
Arg [155] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [156] : 5468696e5f526f73650000000000000000000000000000000000000000000000
Arg [157] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [158] : 4469705f526f7365000000000000000000000000000000000000000000000000
Arg [159] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [160] : 546578747572655f526f73650000000000000000000000000000000000000000
Arg [161] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [162] : 536c616e7465645f526f73650000000000000000000000000000000000000000
Arg [163] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [164] : 576964655f50696574726173616e746100000000000000000000000000000000
Arg [165] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [166] : 5468696e5f50696574726173616e746100000000000000000000000000000000
Arg [167] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [168] : 4469705f50696574726173616e74610000000000000000000000000000000000
Arg [169] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [170] : 536c616e7465645f50696574726173616e746100000000000000000000000000
Arg [171] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [172] : 4d656c7465645f5761785f50696574726173616e746100000000000000000000
Arg [173] : 0000000000000000000000000000000000000000000000000000000000000017
Arg [174] : 496e74656e73655f5761785f50696574726173616e7461000000000000000000
Arg [175] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [176] : 536f6c69645f50696574726173616e7461000000000000000000000000000000
Arg [177] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [178] : 446f747465645f50696574726173616e74610000000000000000000000000000
Arg [179] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [180] : 416e676c65645f50696574726173616e74610000000000000000000000000000
Arg [181] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [182] : 4c6179657265645f50696574726173616e746100000000000000000000000000
Arg [183] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [184] : 447269707065645f50696574726173616e746100000000000000000000000000
Arg [185] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [186] : 576176655f50696574726173616e746100000000000000000000000000000000
Arg [187] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [188] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [189] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [190] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [191] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [192] : 000000000000000000000000000000000000000000000000000000000000002d
Arg [193] : 0000000000000000000000000000000000000000000000000000000000000067
Arg [194] : 0000000000000000000000000000000000000000000000000000000000000081
Arg [195] : 000000000000000000000000000000000000000000000000000000000000008b
Arg [196] : 000000000000000000000000000000000000000000000000000000000000009a
Arg [197] : 00000000000000000000000000000000000000000000000000000000000000a7
Arg [198] : 00000000000000000000000000000000000000000000000000000000000000b5
Arg [199] : 00000000000000000000000000000000000000000000000000000000000000c3
Arg [200] : 00000000000000000000000000000000000000000000000000000000000000c4
Arg [201] : 00000000000000000000000000000000000000000000000000000000000000d2
Arg [202] : 00000000000000000000000000000000000000000000000000000000000000e2
Arg [203] : 00000000000000000000000000000000000000000000000000000000000000f1
Arg [204] : 00000000000000000000000000000000000000000000000000000000000000ff
Arg [205] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [206] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [207] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [208] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [209] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [210] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [211] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [212] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [213] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [214] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [215] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [216] : 4e6f6e6500000000000000000000000000000000000000000000000000000000
Arg [217] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [218] : 566572746963616c000000000000000000000000000000000000000000000000
Arg [219] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [220] : 4c6566745f4275726e6564000000000000000000000000000000000000000000
Arg [221] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [222] : 52696768745f4275726e65640000000000000000000000000000000000000000
Arg [223] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [224] : 4c6566745f576964655f4275726e656400000000000000000000000000000000
Arg [225] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [226] : 476c6f77696e675f4275726e6564000000000000000000000000000000000000
Arg [227] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [228] : 566572746963616c5f576964655f4275726e6564000000000000000000000000
Arg [229] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [230] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [231] : 0000000000000000000000000000000000000000000000000000000000000056
Arg [232] : 000000000000000000000000000000000000000000000000000000000000008b
Arg [233] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [234] : 00000000000000000000000000000000000000000000000000000000000000ec
Arg [235] : 00000000000000000000000000000000000000000000000000000000000000ee
Arg [236] : 00000000000000000000000000000000000000000000000000000000000000ff
Arg [237] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [238] : 00000000000000000000000000000000000000000000000000000000000003c0
Arg [239] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [240] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [241] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [242] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [243] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [244] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [245] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [246] : 00000000000000000000000000000000000000000000000000000000000002a0
Arg [247] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [248] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [249] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [250] : 4c696768745f466c616d65000000000000000000000000000000000000000000
Arg [251] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [252] : 547269616e67756c61725f466c616d6500000000000000000000000000000000
Arg [253] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [254] : 4375727665645f466c616d650000000000000000000000000000000000000000
Arg [255] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [256] : 4c6566745f466c616d6500000000000000000000000000000000000000000000
Arg [257] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [258] : 412d53686170655f466c616d6500000000000000000000000000000000000000
Arg [259] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [260] : 52696768745f466c616d65000000000000000000000000000000000000000000
Arg [261] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [262] : 4c6566745f4375727665645f466c616d65000000000000000000000000000000
Arg [263] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [264] : 57696e64795f466c616d65000000000000000000000000000000000000000000
Arg [265] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [266] : 4172726f775f466c616d65000000000000000000000000000000000000000000
Arg [267] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [268] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [269] : 000000000000000000000000000000000000000000000000000000000000007a
Arg [270] : 00000000000000000000000000000000000000000000000000000000000000aa
Arg [271] : 00000000000000000000000000000000000000000000000000000000000000ba
Arg [272] : 00000000000000000000000000000000000000000000000000000000000000ca
Arg [273] : 00000000000000000000000000000000000000000000000000000000000000da
Arg [274] : 00000000000000000000000000000000000000000000000000000000000000ea
Arg [275] : 00000000000000000000000000000000000000000000000000000000000000ef
Arg [276] : 00000000000000000000000000000000000000000000000000000000000000ff
Arg [277] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [278] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [279] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [280] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [281] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [282] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [283] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [284] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [285] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [286] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [287] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [288] : 4e6f6e6500000000000000000000000000000000000000000000000000000000
Arg [289] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [290] : 4c696768745f436972636c655f5368696e650000000000000000000000000000
Arg [291] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [292] : 457870616e64696e675f5368696e650000000000000000000000000000000000
Arg [293] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [294] : 43697263756c61725f5368696e65000000000000000000000000000000000000
Arg [295] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [296] : 496e74656e73655f5368696e6500000000000000000000000000000000000000
Arg [297] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [298] : 5368696d6d65725f5368696e6500000000000000000000000000000000000000
Arg [299] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [300] : 42726f61645f496e74656e73655f5368696e6500000000000000000000000000
Arg [301] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [302] : 000000000000000000000000000000000000000000000000000000000000004d
Arg [303] : 0000000000000000000000000000000000000000000000000000000000000099
Arg [304] : 00000000000000000000000000000000000000000000000000000000000000aa
Arg [305] : 00000000000000000000000000000000000000000000000000000000000000d5
Arg [306] : 00000000000000000000000000000000000000000000000000000000000000d7
Arg [307] : 00000000000000000000000000000000000000000000000000000000000000f9
Arg [308] : 00000000000000000000000000000000000000000000000000000000000000ff
Arg [309] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [310] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [311] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [312] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [313] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [314] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [315] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [316] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [317] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [318] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [319] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [320] : 496e7361746961626c655f437572696f73697479000000000000000000000000
Arg [321] : 0000000000000000000000000000000000000000000000000000000000000018
Arg [322] : 5072696e6369706c65645f496e646976696475616c69736d0000000000000000
Arg [323] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [324] : 426f756e646c6573735f43726561746976697479000000000000000000000000
Arg [325] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [326] : 556e7969656c64696e675f48756d616e69736d00000000000000000000000000
Arg [327] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [328] : 556e7761766572696e675f566972747565000000000000000000000000000000
Arg [329] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [330] : 556e61737361696c61626c655f496e7465677269747900000000000000000000
Arg [331] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [332] : 496d7065636361626c655f436976696c69747900000000000000000000000000
Arg [333] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [334] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [335] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [336] : 0000000000000000000000000000000000000000000000000000000000000069
Arg [337] : 000000000000000000000000000000000000000000000000000000000000008f
Arg [338] : 00000000000000000000000000000000000000000000000000000000000000cf
Arg [339] : 00000000000000000000000000000000000000000000000000000000000000e3
Arg [340] : 00000000000000000000000000000000000000000000000000000000000000ff
Arg [341] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [342] : 000000000000000000000000072d8fb174707783ef8d0197f317849dd941f9ff
Arg [343] : 00000000000000000000000014d4d2a6dafdfef9d9c0043b561bd7aba7cc015b
Arg [344] : 0000000000000000000000006301add4fb128de9778b8651a2a9278b86761423
Arg [345] : 00000000000000000000000096ab2ba10f76a5d8488b78f8a21576b883e6d799
Arg [346] : 000000000000000000000000fb741cee563593f815c2788e5f1f03b49064c25c
Arg [347] : 00000000000000000000000073bafd0b00ed096abe14f7d752a7f3259ac3e9e3
Arg [348] : 000000000000000000000000941658db1f8bf68148d1c0ef3b03b5dd0dd9ce73
Arg [349] : 0000000000000000000000007b1c6f103c0851173f1c343a7e34d2fd1d5bae7b
Arg [350] : 000000000000000000000000ce1a11c0f641c7219b19bfb5e1cb5900f27ff92c
Arg [351] : 000000000000000000000000d9b078117e8bacd60a63f6f77cf2b8aef6f8b98b
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.