Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
2,700 EJ
Holders
269
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Ethjets
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "hardhat/console.sol"; /* * ╔═══════╗ * █| |█ * █ █ * █ ╔══ █ * █ ╔╝ █ * █ ╔╝═══ █ * █ █ * @@@@@@@@@ * * @title ERC1155 token for the ETHJETS * @author - https://twitter.com/theincubator_ */ contract Ethjets is ERC1155, Ownable { struct MintContext { bool isSaleActive; bool isMintListSet; bool isPresaleActive; bool isTopGunSaleActive; MintConfig globalConfig; MintConfig captainConfig; MintConfig topGunConfig; int256 remainingGlobalPresaleMintCount; int256 remainingCaptainPresaleMintCount; int256 remainingTopGunMintCount; } struct MintConfig { uint256 maxPresaleMint; uint256 maxPublicMint; uint256 maxSupply; uint256 currentMintCount; uint256 pricePerToken; string tokenURI; } mapping(uint256 => MintConfig) public configs; mapping(uint256 => mapping(address => uint256)) public numberMinted; string public name; string public symbol; uint256 public constant TOKEN_ID_GLOBAL = 1; uint256 public constant TOKEN_ID_CAPTAIN = 2; uint256 public constant TOKEN_ID_TOP_GUN = 3; bool public isSaleActive = false; bool public isPresaleActive = false; bool public isTopGunSaleActive = false; bool public isMintListSet = false; address[] private payoutAddresses; uint256[] private payoutAmountPerNFT; address private ethjetsPayoutAddress; address private fallbackPayoutAddress; mapping(address => uint256) public numOfNFTsPaidOut; uint256 public totalReservedNFTs; bytes32 public mintlistMerkleRoot; bytes32 public topGunMerkleRoot; constructor( string memory _name, string memory _symbol, string memory _uriBase, string memory _uriGlobal, string memory _uriCaptain, string memory _uriTopGun, address[] memory _payoutAddresses, uint256[] memory _payoutAmountPerNFT, address _ethjetsPayoutAddress ) ERC1155(_uriBase) { name = _name; symbol = _symbol; payoutAddresses = _payoutAddresses; payoutAmountPerNFT = _payoutAmountPerNFT; ethjetsPayoutAddress = _ethjetsPayoutAddress; configs[TOKEN_ID_GLOBAL] = MintConfig({ maxPresaleMint: 5, maxPublicMint: 5, maxSupply: 1500, currentMintCount: 0, pricePerToken: 0.59 ether, tokenURI: _uriGlobal }); configs[TOKEN_ID_CAPTAIN] = MintConfig({ maxPresaleMint: 5, maxPublicMint: 5, maxSupply: 1000, currentMintCount: 0, pricePerToken: 1.42 ether, tokenURI: _uriCaptain }); /* maxPresaleMint is not used for the topgun pass. We only use the maxPublicMint */ configs[TOKEN_ID_TOP_GUN] = MintConfig({ maxPresaleMint: 0, maxPublicMint: 1, maxSupply: 200, currentMintCount: 0, pricePerToken: 0.91 ether, tokenURI: _uriTopGun }); } function totalSupply() public view returns (uint256) { uint256 totalSupply; for (uint256 i = TOKEN_ID_GLOBAL; i <= TOKEN_ID_TOP_GUN; i++) { totalSupply += configs[i].currentMintCount; } return totalSupply; } function exists(uint256 id) public view returns (bool) { return configs[id].maxSupply > 0; } function transitionToPublicSale() external onlyOwner { isSaleActive = true; isPresaleActive = false; } function setIsSaleActive(bool _newState) external onlyOwner { isSaleActive = _newState; } function setEthjetsPayoutAddress(address _ethjetsPayoutAddress) external onlyOwner { ethjetsPayoutAddress = _ethjetsPayoutAddress; } function setPayout(address[] calldata _payoutAddresses, uint256[] calldata _payoutAmountPerNFT) external onlyOwner { require(_payoutAddresses.length == _payoutAmountPerNFT.length, "array length"); payoutAddresses = _payoutAddresses; payoutAmountPerNFT = _payoutAmountPerNFT; } function setIsTopGunSaleActive(bool _newState) external onlyOwner { isTopGunSaleActive = _newState; } function setIsPresaleActive(bool _isPresaleActive) external onlyOwner { isPresaleActive = _isPresaleActive; } function setFallbackPayoutAddress(address _fallbackPayoutAddress) external onlyOwner { fallbackPayoutAddress = _fallbackPayoutAddress; } function requireExists(uint256 _tokenId) internal view { require(exists(_tokenId), "token id doesn't exist"); } function requireLessThanMaxSupply(uint256 _tokenId, uint256 _numOfTokens) internal view { require(_numOfTokens <= configs[_tokenId].maxSupply, "Purchase exceeds max supply"); } function editConfig( uint256 _tokenId, uint256 _maxPresaleMint, uint256 _maxPublicMint, uint256 _pricePerToken, uint256 _maxSupply, string calldata _tokenURI ) external onlyOwner { requireExists(_tokenId); configs[_tokenId].maxPresaleMint = _maxPresaleMint; configs[_tokenId].maxPublicMint = _maxPublicMint; configs[_tokenId].pricePerToken = _pricePerToken; configs[_tokenId].tokenURI = _tokenURI; if (configs[_tokenId].currentMintCount == 0) { configs[_tokenId].maxSupply = _maxSupply; } } function uri(uint256 _tokenId) public view override returns (string memory) { // If no URI exists for the specific id requested, fallback to the default ERC-1155 URI. return exists(_tokenId) ? configs[_tokenId].tokenURI : super.uri(_tokenId); } function isOnMintlist(bytes32[] calldata proof) public view returns (bool) { return MerkleProof.verify(proof, mintlistMerkleRoot, keccak256(abi.encodePacked(msg.sender))); } function setMintlistMerkleRoot(bytes32 newMintlistMerkleRoot) external onlyOwner { mintlistMerkleRoot = newMintlistMerkleRoot; } function isOnTopGunlist(bytes32[] calldata proof) public view returns (bool) { return MerkleProof.verify(proof, topGunMerkleRoot, keccak256(abi.encodePacked(msg.sender))); } function setTopGunMerkleRoot(bytes32 newTopGunMerkleRoot) external onlyOwner { topGunMerkleRoot = newTopGunMerkleRoot; } function getMintContext() external view returns (MintContext memory) { return MintContext({ isSaleActive: isSaleActive, isPresaleActive: isPresaleActive, isTopGunSaleActive: isTopGunSaleActive, isMintListSet: mintlistMerkleRoot[0] != 0, globalConfig: configs[TOKEN_ID_GLOBAL], captainConfig: configs[TOKEN_ID_CAPTAIN], topGunConfig: configs[TOKEN_ID_TOP_GUN], remainingGlobalPresaleMintCount: int256(configs[TOKEN_ID_GLOBAL].maxPresaleMint) - int256(numberMinted[TOKEN_ID_GLOBAL][msg.sender]), remainingCaptainPresaleMintCount: int256(configs[TOKEN_ID_CAPTAIN].maxPresaleMint) - int256(numberMinted[TOKEN_ID_CAPTAIN][msg.sender]), remainingTopGunMintCount: int256(configs[TOKEN_ID_TOP_GUN].maxPublicMint) - int256(numberMinted[TOKEN_ID_TOP_GUN][msg.sender]) }); } function gift( uint256 _tokenId, address[] calldata _receivers, uint256[] calldata _numberOfTokens ) external onlyOwner { requireExists(_tokenId); require(_receivers.length == _numberOfTokens.length, "array length"); uint256 totalGifts = 0; for (uint256 i = 0; i < _numberOfTokens.length; i++) { totalGifts += _numberOfTokens[i]; } requireLessThanMaxSupply(_tokenId, (configs[_tokenId].currentMintCount + totalGifts)); for (uint256 i = 0; i < _receivers.length; i++) { numberMinted[_tokenId][_receivers[i]] += _numberOfTokens[i]; configs[_tokenId].currentMintCount += _numberOfTokens[i]; _mint(_receivers[i], _tokenId, _numberOfTokens[i], ""); } totalReservedNFTs += totalGifts; } function mintTopGun(bytes32[] calldata proof, uint256 _numberOfTokens) external payable { require(isTopGunSaleActive, "Sale is not active"); require(isOnTopGunlist(proof), "not on top gun list"); require( _numberOfTokens + numberMinted[TOKEN_ID_TOP_GUN][msg.sender] <= configs[TOKEN_ID_TOP_GUN].maxPublicMint, "Exceeded max purchase" ); mint(TOKEN_ID_TOP_GUN, _numberOfTokens); } function mintPresale( bytes32[] calldata proof, uint256 _tokenId, uint256 _numberOfTokens ) external payable { require(isPresaleActive, "presale is not active"); require(isOnMintlist(proof), "not on the mintlist"); require( _numberOfTokens + numberMinted[_tokenId][msg.sender] <= configs[_tokenId].maxPresaleMint, "Exceeded max purchase" ); mint(_tokenId, _numberOfTokens); } function mintPublic(uint256 _tokenId, uint256 _numberOfTokens) external payable { require(isSaleActive, "Sale has not started yet"); require(_numberOfTokens <= configs[_tokenId].maxPublicMint, "Exceeded max purchase"); mint(_tokenId, _numberOfTokens); } function mint(uint256 _tokenId, uint256 _numberOfTokens) internal { requireExists(_tokenId); requireLessThanMaxSupply(_tokenId, configs[_tokenId].currentMintCount + _numberOfTokens); require(configs[_tokenId].pricePerToken * _numberOfTokens <= msg.value, "Ether value sent is not correct"); require(tx.origin == msg.sender, "Transaction origin must be the message sender"); numberMinted[_tokenId][msg.sender] += _numberOfTokens; configs[_tokenId].currentMintCount += _numberOfTokens; _mint(msg.sender, _tokenId, _numberOfTokens, ""); } function withdrawDistributeOnChain() external onlyOwner { for (uint256 i = 0; i < payoutAddresses.length; i++) { uint256 nftsToBePaidOut = totalSupply() - totalReservedNFTs - numOfNFTsPaidOut[payoutAddresses[i]]; (bool partnerSuccess, ) = payable(payoutAddresses[i]).call{ value: nftsToBePaidOut * payoutAmountPerNFT[i] }(""); require(partnerSuccess, "unable to send partner value, recipient may have reverted"); numOfNFTsPaidOut[payoutAddresses[i]] += nftsToBePaidOut; } (bool ownerSuccess, ) = payable(ethjetsPayoutAddress).call{ value: address(this).balance }(""); require(ownerSuccess, "unable to send owner value, recipient may have reverted"); } function withdraw() external onlyOwner { require(fallbackPayoutAddress != address(0), "fallback address needs to be set before calling withdraw"); (bool success, ) = payable(fallbackPayoutAddress).call{ value: address(this).balance }(""); require(success, "unable to send, recipient may have reverted"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _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 v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason 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 { // 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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/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); }
{ "optimizer": { "enabled": true, "runs": 800 }, "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":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_uriBase","type":"string"},{"internalType":"string","name":"_uriGlobal","type":"string"},{"internalType":"string","name":"_uriCaptain","type":"string"},{"internalType":"string","name":"_uriTopGun","type":"string"},{"internalType":"address[]","name":"_payoutAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_payoutAmountPerNFT","type":"uint256[]"},{"internalType":"address","name":"_ethjetsPayoutAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"TOKEN_ID_CAPTAIN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_ID_GLOBAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_ID_TOP_GUN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"configs","outputs":[{"internalType":"uint256","name":"maxPresaleMint","type":"uint256"},{"internalType":"uint256","name":"maxPublicMint","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"currentMintCount","type":"uint256"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_maxPresaleMint","type":"uint256"},{"internalType":"uint256","name":"_maxPublicMint","type":"uint256"},{"internalType":"uint256","name":"_pricePerToken","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"editConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintContext","outputs":[{"components":[{"internalType":"bool","name":"isSaleActive","type":"bool"},{"internalType":"bool","name":"isMintListSet","type":"bool"},{"internalType":"bool","name":"isPresaleActive","type":"bool"},{"internalType":"bool","name":"isTopGunSaleActive","type":"bool"},{"components":[{"internalType":"uint256","name":"maxPresaleMint","type":"uint256"},{"internalType":"uint256","name":"maxPublicMint","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"currentMintCount","type":"uint256"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"internalType":"struct Ethjets.MintConfig","name":"globalConfig","type":"tuple"},{"components":[{"internalType":"uint256","name":"maxPresaleMint","type":"uint256"},{"internalType":"uint256","name":"maxPublicMint","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"currentMintCount","type":"uint256"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"internalType":"struct Ethjets.MintConfig","name":"captainConfig","type":"tuple"},{"components":[{"internalType":"uint256","name":"maxPresaleMint","type":"uint256"},{"internalType":"uint256","name":"maxPublicMint","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"currentMintCount","type":"uint256"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"internalType":"struct Ethjets.MintConfig","name":"topGunConfig","type":"tuple"},{"internalType":"int256","name":"remainingGlobalPresaleMintCount","type":"int256"},{"internalType":"int256","name":"remainingCaptainPresaleMintCount","type":"int256"},{"internalType":"int256","name":"remainingTopGunMintCount","type":"int256"}],"internalType":"struct Ethjets.MintContext","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address[]","name":"_receivers","type":"address[]"},{"internalType":"uint256[]","name":"_numberOfTokens","type":"uint256[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintListSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"isOnMintlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"isOnTopGunlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTopGunSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"mintTopGun","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numOfNFTsPaidOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ethjetsPayoutAddress","type":"address"}],"name":"setEthjetsPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fallbackPayoutAddress","type":"address"}],"name":"setFallbackPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPresaleActive","type":"bool"}],"name":"setIsPresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newState","type":"bool"}],"name":"setIsSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_newState","type":"bool"}],"name":"setIsTopGunSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMintlistMerkleRoot","type":"bytes32"}],"name":"setMintlistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_payoutAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_payoutAmountPerNFT","type":"uint256[]"}],"name":"setPayout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newTopGunMerkleRoot","type":"bytes32"}],"name":"setTopGunMerkleRoot","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":[],"name":"topGunMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReservedNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transitionToPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDistributeOnChain","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526008805463ffffffff191690553480156200001e57600080fd5b5060405162004ab038038062004ab083398101604081905262000041916200082c565b866200004d8162000487565b506200005933620004a0565b88516200006e9060069060208c0190620004f2565b508751620000849060079060208b0190620004f2565b5082516200009a90600990602086019062000581565b508151620000b090600a906020850190620005d9565b50600b80546001600160a01b0319166001600160a01b0383161790556040805160c081018252600580825260208083019182526105dc93830193845260006060840181815267083019dfc17b00006080860190815260a086018d815260019093526004845285517fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0590815594517fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe065595517fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0755517fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe085593517fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0955925180519293919262000201927fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0a920190620004f2565b50506040805160c081018252600580825260208083019182526103e89383019384526000606084018181526713b4da79fd0e00006080860190815260a086018d815260029093526004845285517f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a790815594517f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a85595517f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a955517f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2aa5593517f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2ab559251805192945090926200033b927f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2ac9290910190620004f2565b50506040805160c08101825260008082526001602080840191825260c894840194855260608401838152670ca0f82db99b00006080860190815260a086018c815260039095526004835285517f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa090815593517f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa15595517f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa255517f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa35593517f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa45590518051929450909262000474927f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa59290910190620004f2565b50905050505050505050505050620009d4565b80516200049c906002906020840190620004f2565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620005009062000997565b90600052602060002090601f0160209004810192826200052457600085556200056f565b82601f106200053f57805160ff19168380011785556200056f565b828001600101855582156200056f579182015b828111156200056f57825182559160200191906001019062000552565b506200057d92915062000616565b5090565b8280548282559060005260206000209081019282156200056f579160200282015b828111156200056f57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620005a2565b8280548282559060005260206000209081019282156200056f57916020028201828111156200056f57825182559160200191906001019062000552565b5b808211156200057d576000815560010162000617565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156200066e576200066e6200062d565b604052919050565b600082601f8301126200068857600080fd5b81516001600160401b03811115620006a457620006a46200062d565b6020620006ba601f8301601f1916820162000643565b8281528582848701011115620006cf57600080fd5b60005b83811015620006ef578581018301518282018401528201620006d2565b83811115620007015760008385840101525b5095945050505050565b60006001600160401b038211156200072757620007276200062d565b5060051b60200190565b80516001600160a01b03811681146200074957600080fd5b919050565b600082601f8301126200076057600080fd5b815160206200077962000773836200070b565b62000643565b82815260059290921b840181019181810190868411156200079957600080fd5b8286015b84811015620007bf57620007b18162000731565b83529183019183016200079d565b509695505050505050565b600082601f830112620007dc57600080fd5b81516020620007ef62000773836200070b565b82815260059290921b840181019181810190868411156200080f57600080fd5b8286015b84811015620007bf578051835291830191830162000813565b60008060008060008060008060006101208a8c0312156200084c57600080fd5b89516001600160401b03808211156200086457600080fd5b620008728d838e0162000676565b9a5060208c01519150808211156200088957600080fd5b620008978d838e0162000676565b995060408c0151915080821115620008ae57600080fd5b620008bc8d838e0162000676565b985060608c0151915080821115620008d357600080fd5b620008e18d838e0162000676565b975060808c0151915080821115620008f857600080fd5b620009068d838e0162000676565b965060a08c01519150808211156200091d57600080fd5b6200092b8d838e0162000676565b955060c08c01519150808211156200094257600080fd5b620009508d838e016200074e565b945060e08c01519150808211156200096757600080fd5b50620009768c828d01620007ca565b925050620009886101008b0162000731565b90509295985092959850929598565b600181811c90821680620009ac57607f821691505b60208210811415620009ce57634e487b7160e01b600052602260045260246000fd5b50919050565b6140cc80620009e46000396000f3fe6080604052600436106103045760003560e01c806364e4c8441161019a578063d2d65ff5116100e1578063e985e9c51161008a578063f2fde38b11610064578063f2fde38b14610899578063f8335ccf146108b9578063ffc62fc1146108cf57600080fd5b8063e985e9c51461081d578063ed5ab3f614610866578063f242432a1461087957600080fd5b8063d87ba295116100bb578063d87ba295146107a5578063d92bbe40146107c5578063e35805b3146107fd57600080fd5b8063d2d65ff514610743578063d4bdb2ec14610763578063d71c61981461077857600080fd5b806395d89b4111610143578063c00d6c551161011d578063c00d6c55146106fa578063c63263431461070f578063cdac3b421461072257600080fd5b806395d89b41146106af578063a22cb465146106c4578063b6920d90146106e457600080fd5b80636fe7b14b116101745780636fe7b14b14610652578063715018a6146106725780638da5cb5b1461068757600080fd5b806364e4c844146105fd5780636d5b6938146106105780636ddca2101461063057600080fd5b80633bb0cbdc1161025e5780634f558e79116102075780635d3751ec116101e15780635d3751ec146105b35780635ee38d61146105c857806360d938dc146105de57600080fd5b80634f558e79146105525780635266cfb514610584578063564566a81461059957600080fd5b80633fc3a03e116102385780633fc3a03e146104f0578063443da2a2146105055780634e1273f41461052557600080fd5b80633bb0cbdc1461049b5780633ccfd60b146104bb5780633f990435146104d057600080fd5b806306fdde03116102c057806318160ddd1161029a57806318160ddd1461044657806329ce44ab1461045b5780632eb2c2d61461047b57600080fd5b806306fdde03146103e45780630df1dfa4146104065780630e89341c1461042657600080fd5b8062fdd58e116102ef578062fdd58e1461037457806301ffc9a7146103a2578063047ee10a146103c257600080fd5b806298fa2214610309578062f4c0dd14610344575b600080fd5b34801561031557600080fd5b50610329610324366004613476565b6108ef565b60405161033b969594939291906134dc565b60405180910390f35b34801561035057600080fd5b5061036461035f366004613565565b6109b3565b604051901515815260200161033b565b34801561038057600080fd5b5061039461038f3660046135c3565b610a32565b60405190815260200161033b565b3480156103ae57600080fd5b506103646103bd366004613603565b610adb565b3480156103ce57600080fd5b506103e26103dd366004613620565b610b2d565b005b3480156103f057600080fd5b506103f9610be2565b60405161033b91906136c3565b34801561041257600080fd5b50610364610421366004613565565b610c70565b34801561043257600080fd5b506103f9610441366004613476565b610cd1565b34801561045257600080fd5b50610394610d98565b34801561046757600080fd5b506103e26104763660046136d6565b610ddc565b34801561048757600080fd5b506103e261049636600461388e565b610e82565b3480156104a757600080fd5b506103e26104b6366004613938565b610f1d565b3480156104c757600080fd5b506103e2610f87565b3480156104dc57600080fd5b506103e26104eb366004613963565b611119565b3480156104fc57600080fd5b50610394600281565b34801561051157600080fd5b506103e2610520366004613963565b61117d565b34801561053157600080fd5b5061054561054036600461397e565b6111df565b60405161033b9190613a84565b34801561055e57600080fd5b5061036461056d366004613476565b600090815260046020526040902060020154151590565b34801561059057600080fd5b50610394600181565b3480156105a557600080fd5b506008546103649060ff1681565b3480156105bf57600080fd5b50610394600381565b3480156105d457600080fd5b5061039460105481565b3480156105ea57600080fd5b5060085461036490610100900460ff1681565b6103e261060b366004613a97565b61131d565b34801561061c57600080fd5b506103e261062b366004613938565b611455565b34801561063c57600080fd5b506106456114bf565b60405161033b9190613b37565b34801561065e57600080fd5b506103e261066d366004613476565b611b46565b34801561067e57600080fd5b506103e2611b93565b34801561069357600080fd5b506003546040516001600160a01b03909116815260200161033b565b3480156106bb57600080fd5b506103f9611be7565b3480156106d057600080fd5b506103e26106df366004613c01565b611bf4565b3480156106f057600080fd5b50610394600f5481565b34801561070657600080fd5b506103e2611c03565b6103e261071d366004613c34565b611ef8565b34801561072e57600080fd5b50600854610364906301000000900460ff1681565b34801561074f57600080fd5b506103e261075e366004613963565b61205f565b34801561076f57600080fd5b506103e26120ba565b34801561078457600080fd5b50610394610793366004613938565b600d6020526000908152604090205481565b3480156107b157600080fd5b506103e26107c0366004613476565b612112565b3480156107d157600080fd5b506103946107e0366004613c80565b600560209081526000928352604080842090915290825290205481565b34801561080957600080fd5b506103e2610818366004613ca3565b61215f565b34801561082957600080fd5b50610364610838366004613d1d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6103e2610874366004613d47565b6123bf565b34801561088557600080fd5b506103e2610894366004613d69565b61247c565b3480156108a557600080fd5b506103e26108b4366004613938565b612517565b3480156108c557600080fd5b50610394600e5481565b3480156108db57600080fd5b506008546103649062010000900460ff1681565b600460205280600052604060002060009150905080600001549080600101549080600201549080600301549080600401549080600501805461093090613dce565b80601f016020809104026020016040519081016040528092919081815260200182805461095c90613dce565b80156109a95780601f1061097e576101008083540402835291602001916109a9565b820191906000526020600020905b81548152906001019060200180831161098c57829003601f168201915b5050505050905086565b6000610a2b83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040516bffffffffffffffffffffffff193360601b16602082015290925060340190505b604051602081830303815290604052805190602001206125e4565b9392505050565b60006001600160a01b038316610ab55760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b1480610b0c57506001600160e01b031982166303a24d0760e21b145b80610b2757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6003546001600160a01b03163314610b755760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b610b7e876125fa565b600087815260046020819052604090912087815560018101879055908101859055610bad906005018383613250565b50600087815260046020526040902060030154610bd95760008781526004602052604090206002018390555b50505050505050565b60068054610bef90613dce565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1b90613dce565b8015610c685780601f10610c3d57610100808354040283529160200191610c68565b820191906000526020600020905b815481529060010190602001808311610c4b57829003601f168201915b505050505081565b6000610a2b838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050610a10565b600081815260046020526040902060020154606090610cf857610cf382612658565b610b27565b60008281526004602052604090206005018054610d1490613dce565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4090613dce565b8015610d8d5780601f10610d6257610100808354040283529160200191610d8d565b820191906000526020600020905b815481529060010190602001808311610d7057829003601f168201915b505050505092915050565b60008060015b60038111610dd657600081815260046020526040902060030154610dc29083613e19565b915080610dce81613e31565b915050610d9e565b50919050565b6003546001600160a01b03163314610e245760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b828114610e625760405162461bcd60e51b815260206004820152600c60248201526b0c2e4e4c2f240d8cadccee8d60a31b6044820152606401610aac565b610e6e600985856132d4565b50610e7b600a8383613327565b5050505050565b6001600160a01b038516331480610e9e5750610e9e8533610838565b610f105760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610aac565b610e7b8585858585612667565b6003546001600160a01b03163314610f655760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b03163314610fcf5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b600c546001600160a01b031661104d5760405162461bcd60e51b815260206004820152603860248201527f66616c6c6261636b2061646472657373206e6565647320746f2062652073657460448201527f206265666f72652063616c6c696e6720776974686472617700000000000000006064820152608401610aac565b600c546040516000916001600160a01b03169047908381818185875af1925050503d806000811461109a576040519150601f19603f3d011682016040523d82523d6000602084013e61109f565b606091505b50509050806111165760405162461bcd60e51b815260206004820152602b60248201527f756e61626c6520746f2073656e642c20726563697069656e74206d617920686160448201527f76652072657665727465640000000000000000000000000000000000000000006064820152608401610aac565b50565b6003546001600160a01b031633146111615760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b60088054911515620100000262ff000019909216919091179055565b6003546001600160a01b031633146111c55760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b600880549115156101000261ff0019909216919091179055565b606081518351146112585760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610aac565b6000835167ffffffffffffffff81111561127457611274613742565b60405190808252806020026020018201604052801561129d578160200160208202803683370190505b50905060005b8451811015611315576112e88582815181106112c1576112c1613e4c565b60200260200101518583815181106112db576112db613e4c565b6020026020010151610a32565b8282815181106112fa576112fa613e4c565b602090810291909101015261130e81613e31565b90506112a3565b509392505050565b600854610100900460ff166113745760405162461bcd60e51b815260206004820152601560248201527f70726573616c65206973206e6f742061637469766500000000000000000000006044820152606401610aac565b61137e84846109b3565b6113ca5760405162461bcd60e51b815260206004820152601360248201527f6e6f74206f6e20746865206d696e746c697374000000000000000000000000006044820152606401610aac565b60008281526004602090815260408083205460058352818420338552909252909120546113f79083613e19565b11156114455760405162461bcd60e51b815260206004820152601560248201527f4578636565646564206d617820707572636861736500000000000000000000006044820152606401610aac565b61144f82826128da565b50505050565b6003546001600160a01b0316331461149d5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6114c7613361565b60408051610140810190915260085460ff1615158152600f54602082019060001a60f81b7fff000000000000000000000000000000000000000000000000000000000000001615158152600854610100810460ff908116151560208085019190915262010000909204161515604080840191909152600160005260048252805160c0810182527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe05805482527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0654938201939093527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0754918101919091527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe08546060808301919091527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe095460808301527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0a8054919094019391929160a084019161164f90613dce565b80601f016020809104026020016040519081016040528092919081815260200182805461167b90613dce565b80156116c85780601f1061169d576101008083540402835291602001916116c8565b820191906000526020600020905b8154815290600101906020018083116116ab57829003601f168201915b5050509190925250505081526002600052600460209081526040805160c0810182527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a7805482527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a854828501527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a954928201929092527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2aa5460608201527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2ab5460808201527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2ac80549390940193909260a0840191906117e590613dce565b80601f016020809104026020016040519081016040528092919081815260200182805461181190613dce565b801561185e5780601f106118335761010080835404028352916020019161185e565b820191906000526020600020905b81548152906001019060200180831161184157829003601f168201915b5050509190925250505081526003600052600460209081526040805160c0810182527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa0805482527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa154828501527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa254928201929092527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa35460608201527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa45460808201527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa580549390940193909260a08401919061197b90613dce565b80601f01602080910402602001604051908101604052809291908181526020018280546119a790613dce565b80156119f45780601f106119c9576101008083540402835291602001916119f4565b820191906000526020600020905b8154815290600101906020018083116119d757829003601f168201915b5050509190925250505081523360009081527f1471eb6eb2c5e789fc3de43f8ce62938c7d1836ec861730447e2ada8fd81017b602090815260408220546001909252600481527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0554920191611a699190613e62565b81523360009081527f89832631fb3c3307a103ba2c84ab569c64d6182a18893dcd163f0f1c2090733a602090815260408220546002909252600481527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a754920191611ad49190613e62565b81523360009081527fa9bc9a3a348c357ba16b37005d7e6b3236198c0e939f4af8c5f19b8deeb8ebc0602090815260408220546003909252600481527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa154920191611b3f9190613e62565b9052919050565b6003546001600160a01b03163314611b8e5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b600f55565b6003546001600160a01b03163314611bdb5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b611be56000612a5a565b565b60078054610bef90613dce565b611bff338383612aac565b5050565b6003546001600160a01b03163314611c4b5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b60005b600954811015611e2e576000600d600060098481548110611c7157611c71613e4c565b60009182526020808320909101546001600160a01b03168352820192909252604001902054600e54611ca1610d98565b611cab9190613eba565b611cb59190613eba565b9050600060098381548110611ccc57611ccc613e4c565b600091825260209091200154600a80546001600160a01b039092169185908110611cf857611cf8613e4c565b906000526020600020015483611d0e9190613ed1565b604051600081818185875af1925050503d8060008114611d4a576040519150601f19603f3d011682016040523d82523d6000602084013e611d4f565b606091505b5050905080611dc65760405162461bcd60e51b815260206004820152603960248201527f756e61626c6520746f2073656e6420706172746e65722076616c75652c20726560448201527f63697069656e74206d61792068617665207265766572746564000000000000006064820152608401610aac565b81600d600060098681548110611dde57611dde613e4c565b60009182526020808320909101546001600160a01b0316835282019290925260400181208054909190611e12908490613e19565b9250508190555050508080611e2690613e31565b915050611c4e565b50600b546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611e7c576040519150601f19603f3d011682016040523d82523d6000602084013e611e81565b606091505b50509050806111165760405162461bcd60e51b815260206004820152603760248201527f756e61626c6520746f2073656e64206f776e65722076616c75652c207265636960448201527f7069656e74206d617920686176652072657665727465640000000000000000006064820152608401610aac565b60085462010000900460ff16611f505760405162461bcd60e51b815260206004820152601260248201527f53616c65206973206e6f742061637469766500000000000000000000000000006044820152606401610aac565b611f5a8383610c70565b611fa65760405162461bcd60e51b815260206004820152601360248201527f6e6f74206f6e20746f702067756e206c697374000000000000000000000000006044820152606401610aac565b7f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa1543360009081527fa9bc9a3a348c357ba16b37005d7e6b3236198c0e939f4af8c5f19b8deeb8ebc060205260409020546120019083613e19565b111561204f5760405162461bcd60e51b815260206004820152601560248201527f4578636565646564206d617820707572636861736500000000000000000000006044820152606401610aac565b61205a6003826128da565b505050565b6003546001600160a01b031633146120a75760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b6008805460ff1916911515919091179055565b6003546001600160a01b031633146121025760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b6008805461ffff19166001179055565b6003546001600160a01b0316331461215a5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b601055565b6003546001600160a01b031633146121a75760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b6121b0856125fa565b8281146121ee5760405162461bcd60e51b815260206004820152600c60248201526b0c2e4e4c2f240d8cadccee8d60a31b6044820152606401610aac565b6000805b828110156122325783838281811061220c5761220c613e4c565b905060200201358261221e9190613e19565b91508061222a81613e31565b9150506121f2565b5060008681526004602052604090206003015461225b908790612256908490613e19565b612ba1565b60005b8481101561239f5783838281811061227857612278613e4c565b905060200201356005600089815260200190815260200160002060008888858181106122a6576122a6613e4c565b90506020020160208101906122bb9190613938565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546122ea9190613e19565b90915550849050838281811061230257612302613e4c565b9050602002013560046000898152602001908152602001600020600301600082825461232e9190613e19565b9091555061238d905086868381811061234957612349613e4c565b905060200201602081019061235e9190613938565b8886868581811061237157612371613e4c565b9050602002013560405180602001604052806000815250612c02565b8061239781613e31565b91505061225e565b5080600e60008282546123b29190613e19565b9091555050505050505050565b60085460ff166124115760405162461bcd60e51b815260206004820152601860248201527f53616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610aac565b6000828152600460205260409020600101548111156124725760405162461bcd60e51b815260206004820152601560248201527f4578636565646564206d617820707572636861736500000000000000000000006044820152606401610aac565b611bff82826128da565b6001600160a01b03851633148061249857506124988533610838565b61250a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610aac565b610e7b8585858585612d0c565b6003546001600160a01b0316331461255f5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b6001600160a01b0381166125db5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610aac565b61111681612a5a565b6000826125f18584612ea1565b14949350505050565b6000818152600460205260409020600201546111165760405162461bcd60e51b815260206004820152601660248201527f746f6b656e20696420646f65736e2774206578697374000000000000000000006044820152606401610aac565b606060028054610d1490613dce565b81518351146126de5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610aac565b6001600160a01b0384166127425760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610aac565b3360005b845181101561286c57600085828151811061276357612763613e4c565b60200260200101519050600085838151811061278157612781613e4c565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156128145760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610aac565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612851908490613e19565b925050819055505050508061286590613e31565b9050612746565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516128bc929190613ef0565b60405180910390a46128d2818787878787612f45565b505050505050565b6128e3826125fa565b600082815260046020526040902060030154612906908390612256908490613e19565b600082815260046020819052604090912001543490612926908390613ed1565b11156129745760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610aac565b3233146129e95760405162461bcd60e51b815260206004820152602d60248201527f5472616e73616374696f6e206f726967696e206d75737420626520746865206d60448201527f6573736167652073656e646572000000000000000000000000000000000000006064820152608401610aac565b600082815260056020908152604080832033845290915281208054839290612a12908490613e19565b909155505060008281526004602052604081206003018054839290612a38908490613e19565b92505081905550611bff33838360405180602001604052806000815250612c02565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612b345760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610aac565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600082815260046020526040902060020154811115611bff5760405162461bcd60e51b815260206004820152601b60248201527f50757263686173652065786365656473206d617820737570706c7900000000006044820152606401610aac565b6001600160a01b038416612c625760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610aac565b33612c7c81600087612c73886130fa565b610e7b886130fa565b6000848152602081815260408083206001600160a01b038916845290915281208054859290612cac908490613e19565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610e7b81600087878787613145565b6001600160a01b038416612d705760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610aac565b33612d80818787612c73886130fa565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015612e045760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610aac565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612e41908490613e19565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610bd9828888888888613145565b600081815b8451811015611315576000858281518110612ec357612ec3613e4c565b60200260200101519050808311612f05576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612f32565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612f3d81613e31565b915050612ea6565b6001600160a01b0384163b156128d25760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612f899089908990889088908890600401613f1e565b602060405180830381600087803b158015612fa357600080fd5b505af1925050508015612fd3575060408051601f3d908101601f19168201909252612fd091810190613f70565b60015b61308957612fdf613f8d565b806308c379a014156130195750612ff4613fa9565b80612fff575061301b565b8060405162461bcd60e51b8152600401610aac91906136c3565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610aac565b6001600160e01b0319811663bc197c8160e01b14610bd95760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610aac565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061313457613134613e4c565b602090810291909101015292915050565b6001600160a01b0384163b156128d25760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906131899089908990889088908890600401614033565b602060405180830381600087803b1580156131a357600080fd5b505af19250505080156131d3575060408051601f3d908101601f191682019092526131d091810190613f70565b60015b6131df57612fdf613f8d565b6001600160e01b0319811663f23a6e6160e01b14610bd95760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610aac565b82805461325c90613dce565b90600052602060002090601f01602090048101928261327e57600085556132c4565b82601f106132975782800160ff198235161785556132c4565b828001600101855582156132c4579182015b828111156132c45782358255916020019190600101906132a9565b506132d0929150613461565b5090565b8280548282559060005260206000209081019282156132c4579160200282015b828111156132c45781546001600160a01b0319166001600160a01b038435161782556020909201916001909101906132f4565b8280548282559060005260206000209081019282156132c457916020028201828111156132c45782358255916020019190600101906132a9565b6040518061014001604052806000151581526020016000151581526020016000151581526020016000151581526020016133ca6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001606081525090565b81526020016134086040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001606081525090565b81526020016134466040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001606081525090565b81526020016000815260200160008152602001600081525090565b5b808211156132d05760008155600101613462565b60006020828403121561348857600080fd5b5035919050565b6000815180845260005b818110156134b557602081850181015186830182015201613499565b818111156134c7576000602083870101525b50601f01601f19169290920160200192915050565b86815285602082015284604082015283606082015282608082015260c060a0820152600061350d60c083018461348f565b98975050505050505050565b60008083601f84011261352b57600080fd5b50813567ffffffffffffffff81111561354357600080fd5b6020830191508360208260051b850101111561355e57600080fd5b9250929050565b6000806020838503121561357857600080fd5b823567ffffffffffffffff81111561358f57600080fd5b61359b85828601613519565b90969095509350505050565b80356001600160a01b03811681146135be57600080fd5b919050565b600080604083850312156135d657600080fd5b6135df836135a7565b946020939093013593505050565b6001600160e01b03198116811461111657600080fd5b60006020828403121561361557600080fd5b8135610a2b816135ed565b600080600080600080600060c0888a03121561363b57600080fd5b873596506020880135955060408801359450606088013593506080880135925060a088013567ffffffffffffffff8082111561367657600080fd5b818a0191508a601f83011261368a57600080fd5b81358181111561369957600080fd5b8b60208285010111156136ab57600080fd5b60208301945080935050505092959891949750929550565b602081526000610a2b602083018461348f565b600080600080604085870312156136ec57600080fd5b843567ffffffffffffffff8082111561370457600080fd5b61371088838901613519565b9096509450602087013591508082111561372957600080fd5b5061373687828801613519565b95989497509550505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff8111828210171561377e5761377e613742565b6040525050565b600067ffffffffffffffff82111561379f5761379f613742565b5060051b60200190565b600082601f8301126137ba57600080fd5b813560206137c782613785565b6040516137d48282613758565b83815260059390931b85018201928281019150868411156137f457600080fd5b8286015b8481101561380f57803583529183019183016137f8565b509695505050505050565b600082601f83011261382b57600080fd5b813567ffffffffffffffff81111561384557613845613742565b60405161385c601f8301601f191660200182613758565b81815284602083860101111561387157600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156138a657600080fd5b6138af866135a7565b94506138bd602087016135a7565b9350604086013567ffffffffffffffff808211156138da57600080fd5b6138e689838a016137a9565b945060608801359150808211156138fc57600080fd5b61390889838a016137a9565b9350608088013591508082111561391e57600080fd5b5061392b8882890161381a565b9150509295509295909350565b60006020828403121561394a57600080fd5b610a2b826135a7565b803580151581146135be57600080fd5b60006020828403121561397557600080fd5b610a2b82613953565b6000806040838503121561399157600080fd5b823567ffffffffffffffff808211156139a957600080fd5b818501915085601f8301126139bd57600080fd5b813560206139ca82613785565b6040516139d78282613758565b83815260059390931b85018201928281019150898411156139f757600080fd5b948201945b83861015613a1c57613a0d866135a7565b825294820194908201906139fc565b96505086013592505080821115613a3257600080fd5b50613a3f858286016137a9565b9150509250929050565b600081518084526020808501945080840160005b83811015613a7957815187529582019590820190600101613a5d565b509495945050505050565b602081526000610a2b6020830184613a49565b60008060008060608587031215613aad57600080fd5b843567ffffffffffffffff811115613ac457600080fd5b613ad087828801613519565b90989097506020870135966040013595509350505050565b8051825260208101516020830152604081015160408301526060810151606083015260808101516080830152600060a082015160c060a0850152613b2f60c085018261348f565b949350505050565b60208152613b4a60208201835115159052565b60006020830151613b5f604084018215159052565b506040830151801515606084015250606083015180151560808401525060808301516101408060a0850152613b98610160850183613ae8565b915060a0850151601f19808685030160c0870152613bb68483613ae8565b935060c08701519150808685030160e087015250613bd48382613ae8565b60e08701516101008781019190915287015161012080880191909152909601519190940152509192915050565b60008060408385031215613c1457600080fd5b613c1d836135a7565b9150613c2b60208401613953565b90509250929050565b600080600060408486031215613c4957600080fd5b833567ffffffffffffffff811115613c6057600080fd5b613c6c86828701613519565b909790965060209590950135949350505050565b60008060408385031215613c9357600080fd5b82359150613c2b602084016135a7565b600080600080600060608688031215613cbb57600080fd5b85359450602086013567ffffffffffffffff80821115613cda57600080fd5b613ce689838a01613519565b90965094506040880135915080821115613cff57600080fd5b50613d0c88828901613519565b969995985093965092949392505050565b60008060408385031215613d3057600080fd5b613d39836135a7565b9150613c2b602084016135a7565b60008060408385031215613d5a57600080fd5b50508035926020909101359150565b600080600080600060a08688031215613d8157600080fd5b613d8a866135a7565b9450613d98602087016135a7565b93506040860135925060608601359150608086013567ffffffffffffffff811115613dc257600080fd5b61392b8882890161381a565b600181811c90821680613de257607f821691505b60208210811415610dd657634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115613e2c57613e2c613e03565b500190565b6000600019821415613e4557613e45613e03565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008083128015600160ff1b850184121615613e8057613e80613e03565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018313811615613eb457613eb4613e03565b50500390565b600082821015613ecc57613ecc613e03565b500390565b6000816000190483118215151615613eeb57613eeb613e03565b500290565b604081526000613f036040830185613a49565b8281036020840152613f158185613a49565b95945050505050565b60006001600160a01b03808816835280871660208401525060a06040830152613f4a60a0830186613a49565b8281036060840152613f5c8186613a49565b9050828103608084015261350d818561348f565b600060208284031215613f8257600080fd5b8151610a2b816135ed565b600060033d1115613fa65760046000803e5060005160e01c5b90565b600060443d1015613fb75790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715613fe757505050505090565b8285019150815181811115613fff5750505050505090565b843d87010160208285010111156140195750505050505090565b61402860208286010187613758565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261406b60a083018461348f565b97965050505050505056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220e5c11ddd4b48be88afc365e56fb79a15d9a1cc20faa3b7abf7fea687b836d39a64736f6c634300080900330000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000c04f468b09fca2118d2aa01683ed732f9c22874200000000000000000000000000000000000000000000000000000000000000074554484a455453000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002454a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654716945415a65346355364c447531636932666f37452f000000000000000000000000000000000000000000000000000000000000000000000000000000000037697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654716945415a65346355364c447531636932666f37452f310000000000000000000000000000000000000000000000000000000000000000000000000000000037697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654716945415a65346355364c447531636932666f37452f320000000000000000000000000000000000000000000000000000000000000000000000000000000037697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654716945415a65346355364c447531636932666f37452f3300000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000fddbd8e7fea8d3b294ab328f5ada9feba087ab0000000000000000000000000e71c3b753b21c6d082afc3cc62bb744ac546fd54000000000000000000000000fcdfeb974c160ee267a245250e49e9ecaacd0fa500000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000058d15e1762800000000000000000000000000000000000000000000000000000470de4df820000000000000000000000000000000000000000000000000000002386f26fc10000
Deployed Bytecode
0x6080604052600436106103045760003560e01c806364e4c8441161019a578063d2d65ff5116100e1578063e985e9c51161008a578063f2fde38b11610064578063f2fde38b14610899578063f8335ccf146108b9578063ffc62fc1146108cf57600080fd5b8063e985e9c51461081d578063ed5ab3f614610866578063f242432a1461087957600080fd5b8063d87ba295116100bb578063d87ba295146107a5578063d92bbe40146107c5578063e35805b3146107fd57600080fd5b8063d2d65ff514610743578063d4bdb2ec14610763578063d71c61981461077857600080fd5b806395d89b4111610143578063c00d6c551161011d578063c00d6c55146106fa578063c63263431461070f578063cdac3b421461072257600080fd5b806395d89b41146106af578063a22cb465146106c4578063b6920d90146106e457600080fd5b80636fe7b14b116101745780636fe7b14b14610652578063715018a6146106725780638da5cb5b1461068757600080fd5b806364e4c844146105fd5780636d5b6938146106105780636ddca2101461063057600080fd5b80633bb0cbdc1161025e5780634f558e79116102075780635d3751ec116101e15780635d3751ec146105b35780635ee38d61146105c857806360d938dc146105de57600080fd5b80634f558e79146105525780635266cfb514610584578063564566a81461059957600080fd5b80633fc3a03e116102385780633fc3a03e146104f0578063443da2a2146105055780634e1273f41461052557600080fd5b80633bb0cbdc1461049b5780633ccfd60b146104bb5780633f990435146104d057600080fd5b806306fdde03116102c057806318160ddd1161029a57806318160ddd1461044657806329ce44ab1461045b5780632eb2c2d61461047b57600080fd5b806306fdde03146103e45780630df1dfa4146104065780630e89341c1461042657600080fd5b8062fdd58e116102ef578062fdd58e1461037457806301ffc9a7146103a2578063047ee10a146103c257600080fd5b806298fa2214610309578062f4c0dd14610344575b600080fd5b34801561031557600080fd5b50610329610324366004613476565b6108ef565b60405161033b969594939291906134dc565b60405180910390f35b34801561035057600080fd5b5061036461035f366004613565565b6109b3565b604051901515815260200161033b565b34801561038057600080fd5b5061039461038f3660046135c3565b610a32565b60405190815260200161033b565b3480156103ae57600080fd5b506103646103bd366004613603565b610adb565b3480156103ce57600080fd5b506103e26103dd366004613620565b610b2d565b005b3480156103f057600080fd5b506103f9610be2565b60405161033b91906136c3565b34801561041257600080fd5b50610364610421366004613565565b610c70565b34801561043257600080fd5b506103f9610441366004613476565b610cd1565b34801561045257600080fd5b50610394610d98565b34801561046757600080fd5b506103e26104763660046136d6565b610ddc565b34801561048757600080fd5b506103e261049636600461388e565b610e82565b3480156104a757600080fd5b506103e26104b6366004613938565b610f1d565b3480156104c757600080fd5b506103e2610f87565b3480156104dc57600080fd5b506103e26104eb366004613963565b611119565b3480156104fc57600080fd5b50610394600281565b34801561051157600080fd5b506103e2610520366004613963565b61117d565b34801561053157600080fd5b5061054561054036600461397e565b6111df565b60405161033b9190613a84565b34801561055e57600080fd5b5061036461056d366004613476565b600090815260046020526040902060020154151590565b34801561059057600080fd5b50610394600181565b3480156105a557600080fd5b506008546103649060ff1681565b3480156105bf57600080fd5b50610394600381565b3480156105d457600080fd5b5061039460105481565b3480156105ea57600080fd5b5060085461036490610100900460ff1681565b6103e261060b366004613a97565b61131d565b34801561061c57600080fd5b506103e261062b366004613938565b611455565b34801561063c57600080fd5b506106456114bf565b60405161033b9190613b37565b34801561065e57600080fd5b506103e261066d366004613476565b611b46565b34801561067e57600080fd5b506103e2611b93565b34801561069357600080fd5b506003546040516001600160a01b03909116815260200161033b565b3480156106bb57600080fd5b506103f9611be7565b3480156106d057600080fd5b506103e26106df366004613c01565b611bf4565b3480156106f057600080fd5b50610394600f5481565b34801561070657600080fd5b506103e2611c03565b6103e261071d366004613c34565b611ef8565b34801561072e57600080fd5b50600854610364906301000000900460ff1681565b34801561074f57600080fd5b506103e261075e366004613963565b61205f565b34801561076f57600080fd5b506103e26120ba565b34801561078457600080fd5b50610394610793366004613938565b600d6020526000908152604090205481565b3480156107b157600080fd5b506103e26107c0366004613476565b612112565b3480156107d157600080fd5b506103946107e0366004613c80565b600560209081526000928352604080842090915290825290205481565b34801561080957600080fd5b506103e2610818366004613ca3565b61215f565b34801561082957600080fd5b50610364610838366004613d1d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6103e2610874366004613d47565b6123bf565b34801561088557600080fd5b506103e2610894366004613d69565b61247c565b3480156108a557600080fd5b506103e26108b4366004613938565b612517565b3480156108c557600080fd5b50610394600e5481565b3480156108db57600080fd5b506008546103649062010000900460ff1681565b600460205280600052604060002060009150905080600001549080600101549080600201549080600301549080600401549080600501805461093090613dce565b80601f016020809104026020016040519081016040528092919081815260200182805461095c90613dce565b80156109a95780601f1061097e576101008083540402835291602001916109a9565b820191906000526020600020905b81548152906001019060200180831161098c57829003601f168201915b5050505050905086565b6000610a2b83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040516bffffffffffffffffffffffff193360601b16602082015290925060340190505b604051602081830303815290604052805190602001206125e4565b9392505050565b60006001600160a01b038316610ab55760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b1480610b0c57506001600160e01b031982166303a24d0760e21b145b80610b2757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6003546001600160a01b03163314610b755760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b610b7e876125fa565b600087815260046020819052604090912087815560018101879055908101859055610bad906005018383613250565b50600087815260046020526040902060030154610bd95760008781526004602052604090206002018390555b50505050505050565b60068054610bef90613dce565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1b90613dce565b8015610c685780601f10610c3d57610100808354040283529160200191610c68565b820191906000526020600020905b815481529060010190602001808311610c4b57829003601f168201915b505050505081565b6000610a2b838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010546040516bffffffffffffffffffffffff193360601b1660208201529092506034019050610a10565b600081815260046020526040902060020154606090610cf857610cf382612658565b610b27565b60008281526004602052604090206005018054610d1490613dce565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4090613dce565b8015610d8d5780601f10610d6257610100808354040283529160200191610d8d565b820191906000526020600020905b815481529060010190602001808311610d7057829003601f168201915b505050505092915050565b60008060015b60038111610dd657600081815260046020526040902060030154610dc29083613e19565b915080610dce81613e31565b915050610d9e565b50919050565b6003546001600160a01b03163314610e245760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b828114610e625760405162461bcd60e51b815260206004820152600c60248201526b0c2e4e4c2f240d8cadccee8d60a31b6044820152606401610aac565b610e6e600985856132d4565b50610e7b600a8383613327565b5050505050565b6001600160a01b038516331480610e9e5750610e9e8533610838565b610f105760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610aac565b610e7b8585858585612667565b6003546001600160a01b03163314610f655760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b03163314610fcf5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b600c546001600160a01b031661104d5760405162461bcd60e51b815260206004820152603860248201527f66616c6c6261636b2061646472657373206e6565647320746f2062652073657460448201527f206265666f72652063616c6c696e6720776974686472617700000000000000006064820152608401610aac565b600c546040516000916001600160a01b03169047908381818185875af1925050503d806000811461109a576040519150601f19603f3d011682016040523d82523d6000602084013e61109f565b606091505b50509050806111165760405162461bcd60e51b815260206004820152602b60248201527f756e61626c6520746f2073656e642c20726563697069656e74206d617920686160448201527f76652072657665727465640000000000000000000000000000000000000000006064820152608401610aac565b50565b6003546001600160a01b031633146111615760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b60088054911515620100000262ff000019909216919091179055565b6003546001600160a01b031633146111c55760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b600880549115156101000261ff0019909216919091179055565b606081518351146112585760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610aac565b6000835167ffffffffffffffff81111561127457611274613742565b60405190808252806020026020018201604052801561129d578160200160208202803683370190505b50905060005b8451811015611315576112e88582815181106112c1576112c1613e4c565b60200260200101518583815181106112db576112db613e4c565b6020026020010151610a32565b8282815181106112fa576112fa613e4c565b602090810291909101015261130e81613e31565b90506112a3565b509392505050565b600854610100900460ff166113745760405162461bcd60e51b815260206004820152601560248201527f70726573616c65206973206e6f742061637469766500000000000000000000006044820152606401610aac565b61137e84846109b3565b6113ca5760405162461bcd60e51b815260206004820152601360248201527f6e6f74206f6e20746865206d696e746c697374000000000000000000000000006044820152606401610aac565b60008281526004602090815260408083205460058352818420338552909252909120546113f79083613e19565b11156114455760405162461bcd60e51b815260206004820152601560248201527f4578636565646564206d617820707572636861736500000000000000000000006044820152606401610aac565b61144f82826128da565b50505050565b6003546001600160a01b0316331461149d5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6114c7613361565b60408051610140810190915260085460ff1615158152600f54602082019060001a60f81b7fff000000000000000000000000000000000000000000000000000000000000001615158152600854610100810460ff908116151560208085019190915262010000909204161515604080840191909152600160005260048252805160c0810182527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe05805482527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0654938201939093527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0754918101919091527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe08546060808301919091527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe095460808301527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0a8054919094019391929160a084019161164f90613dce565b80601f016020809104026020016040519081016040528092919081815260200182805461167b90613dce565b80156116c85780601f1061169d576101008083540402835291602001916116c8565b820191906000526020600020905b8154815290600101906020018083116116ab57829003601f168201915b5050509190925250505081526002600052600460209081526040805160c0810182527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a7805482527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a854828501527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a954928201929092527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2aa5460608201527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2ab5460808201527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2ac80549390940193909260a0840191906117e590613dce565b80601f016020809104026020016040519081016040528092919081815260200182805461181190613dce565b801561185e5780601f106118335761010080835404028352916020019161185e565b820191906000526020600020905b81548152906001019060200180831161184157829003601f168201915b5050509190925250505081526003600052600460209081526040805160c0810182527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa0805482527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa154828501527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa254928201929092527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa35460608201527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa45460808201527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa580549390940193909260a08401919061197b90613dce565b80601f01602080910402602001604051908101604052809291908181526020018280546119a790613dce565b80156119f45780601f106119c9576101008083540402835291602001916119f4565b820191906000526020600020905b8154815290600101906020018083116119d757829003601f168201915b5050509190925250505081523360009081527f1471eb6eb2c5e789fc3de43f8ce62938c7d1836ec861730447e2ada8fd81017b602090815260408220546001909252600481527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0554920191611a699190613e62565b81523360009081527f89832631fb3c3307a103ba2c84ab569c64d6182a18893dcd163f0f1c2090733a602090815260408220546002909252600481527f91da3fd0782e51c6b3986e9e672fd566868e71f3dbc2d6c2cd6fbb3e361af2a754920191611ad49190613e62565b81523360009081527fa9bc9a3a348c357ba16b37005d7e6b3236198c0e939f4af8c5f19b8deeb8ebc0602090815260408220546003909252600481527f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa154920191611b3f9190613e62565b9052919050565b6003546001600160a01b03163314611b8e5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b600f55565b6003546001600160a01b03163314611bdb5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b611be56000612a5a565b565b60078054610bef90613dce565b611bff338383612aac565b5050565b6003546001600160a01b03163314611c4b5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b60005b600954811015611e2e576000600d600060098481548110611c7157611c71613e4c565b60009182526020808320909101546001600160a01b03168352820192909252604001902054600e54611ca1610d98565b611cab9190613eba565b611cb59190613eba565b9050600060098381548110611ccc57611ccc613e4c565b600091825260209091200154600a80546001600160a01b039092169185908110611cf857611cf8613e4c565b906000526020600020015483611d0e9190613ed1565b604051600081818185875af1925050503d8060008114611d4a576040519150601f19603f3d011682016040523d82523d6000602084013e611d4f565b606091505b5050905080611dc65760405162461bcd60e51b815260206004820152603960248201527f756e61626c6520746f2073656e6420706172746e65722076616c75652c20726560448201527f63697069656e74206d61792068617665207265766572746564000000000000006064820152608401610aac565b81600d600060098681548110611dde57611dde613e4c565b60009182526020808320909101546001600160a01b0316835282019290925260400181208054909190611e12908490613e19565b9250508190555050508080611e2690613e31565b915050611c4e565b50600b546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611e7c576040519150601f19603f3d011682016040523d82523d6000602084013e611e81565b606091505b50509050806111165760405162461bcd60e51b815260206004820152603760248201527f756e61626c6520746f2073656e64206f776e65722076616c75652c207265636960448201527f7069656e74206d617920686176652072657665727465640000000000000000006064820152608401610aac565b60085462010000900460ff16611f505760405162461bcd60e51b815260206004820152601260248201527f53616c65206973206e6f742061637469766500000000000000000000000000006044820152606401610aac565b611f5a8383610c70565b611fa65760405162461bcd60e51b815260206004820152601360248201527f6e6f74206f6e20746f702067756e206c697374000000000000000000000000006044820152606401610aac565b7f2e174c10e159ea99b867ce3205125c24a42d128804e4070ed6fcc8cc98166aa1543360009081527fa9bc9a3a348c357ba16b37005d7e6b3236198c0e939f4af8c5f19b8deeb8ebc060205260409020546120019083613e19565b111561204f5760405162461bcd60e51b815260206004820152601560248201527f4578636565646564206d617820707572636861736500000000000000000000006044820152606401610aac565b61205a6003826128da565b505050565b6003546001600160a01b031633146120a75760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b6008805460ff1916911515919091179055565b6003546001600160a01b031633146121025760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b6008805461ffff19166001179055565b6003546001600160a01b0316331461215a5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b601055565b6003546001600160a01b031633146121a75760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b6121b0856125fa565b8281146121ee5760405162461bcd60e51b815260206004820152600c60248201526b0c2e4e4c2f240d8cadccee8d60a31b6044820152606401610aac565b6000805b828110156122325783838281811061220c5761220c613e4c565b905060200201358261221e9190613e19565b91508061222a81613e31565b9150506121f2565b5060008681526004602052604090206003015461225b908790612256908490613e19565b612ba1565b60005b8481101561239f5783838281811061227857612278613e4c565b905060200201356005600089815260200190815260200160002060008888858181106122a6576122a6613e4c565b90506020020160208101906122bb9190613938565b6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546122ea9190613e19565b90915550849050838281811061230257612302613e4c565b9050602002013560046000898152602001908152602001600020600301600082825461232e9190613e19565b9091555061238d905086868381811061234957612349613e4c565b905060200201602081019061235e9190613938565b8886868581811061237157612371613e4c565b9050602002013560405180602001604052806000815250612c02565b8061239781613e31565b91505061225e565b5080600e60008282546123b29190613e19565b9091555050505050505050565b60085460ff166124115760405162461bcd60e51b815260206004820152601860248201527f53616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610aac565b6000828152600460205260409020600101548111156124725760405162461bcd60e51b815260206004820152601560248201527f4578636565646564206d617820707572636861736500000000000000000000006044820152606401610aac565b611bff82826128da565b6001600160a01b03851633148061249857506124988533610838565b61250a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610aac565b610e7b8585858585612d0c565b6003546001600160a01b0316331461255f5760405162461bcd60e51b815260206004820181905260248201526000805160206140778339815191526044820152606401610aac565b6001600160a01b0381166125db5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610aac565b61111681612a5a565b6000826125f18584612ea1565b14949350505050565b6000818152600460205260409020600201546111165760405162461bcd60e51b815260206004820152601660248201527f746f6b656e20696420646f65736e2774206578697374000000000000000000006044820152606401610aac565b606060028054610d1490613dce565b81518351146126de5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610aac565b6001600160a01b0384166127425760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610aac565b3360005b845181101561286c57600085828151811061276357612763613e4c565b60200260200101519050600085838151811061278157612781613e4c565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156128145760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610aac565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612851908490613e19565b925050819055505050508061286590613e31565b9050612746565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516128bc929190613ef0565b60405180910390a46128d2818787878787612f45565b505050505050565b6128e3826125fa565b600082815260046020526040902060030154612906908390612256908490613e19565b600082815260046020819052604090912001543490612926908390613ed1565b11156129745760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610aac565b3233146129e95760405162461bcd60e51b815260206004820152602d60248201527f5472616e73616374696f6e206f726967696e206d75737420626520746865206d60448201527f6573736167652073656e646572000000000000000000000000000000000000006064820152608401610aac565b600082815260056020908152604080832033845290915281208054839290612a12908490613e19565b909155505060008281526004602052604081206003018054839290612a38908490613e19565b92505081905550611bff33838360405180602001604052806000815250612c02565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612b345760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610aac565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600082815260046020526040902060020154811115611bff5760405162461bcd60e51b815260206004820152601b60248201527f50757263686173652065786365656473206d617820737570706c7900000000006044820152606401610aac565b6001600160a01b038416612c625760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610aac565b33612c7c81600087612c73886130fa565b610e7b886130fa565b6000848152602081815260408083206001600160a01b038916845290915281208054859290612cac908490613e19565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610e7b81600087878787613145565b6001600160a01b038416612d705760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610aac565b33612d80818787612c73886130fa565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015612e045760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610aac565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612e41908490613e19565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610bd9828888888888613145565b600081815b8451811015611315576000858281518110612ec357612ec3613e4c565b60200260200101519050808311612f05576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612f32565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612f3d81613e31565b915050612ea6565b6001600160a01b0384163b156128d25760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612f899089908990889088908890600401613f1e565b602060405180830381600087803b158015612fa357600080fd5b505af1925050508015612fd3575060408051601f3d908101601f19168201909252612fd091810190613f70565b60015b61308957612fdf613f8d565b806308c379a014156130195750612ff4613fa9565b80612fff575061301b565b8060405162461bcd60e51b8152600401610aac91906136c3565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610aac565b6001600160e01b0319811663bc197c8160e01b14610bd95760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610aac565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061313457613134613e4c565b602090810291909101015292915050565b6001600160a01b0384163b156128d25760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906131899089908990889088908890600401614033565b602060405180830381600087803b1580156131a357600080fd5b505af19250505080156131d3575060408051601f3d908101601f191682019092526131d091810190613f70565b60015b6131df57612fdf613f8d565b6001600160e01b0319811663f23a6e6160e01b14610bd95760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610aac565b82805461325c90613dce565b90600052602060002090601f01602090048101928261327e57600085556132c4565b82601f106132975782800160ff198235161785556132c4565b828001600101855582156132c4579182015b828111156132c45782358255916020019190600101906132a9565b506132d0929150613461565b5090565b8280548282559060005260206000209081019282156132c4579160200282015b828111156132c45781546001600160a01b0319166001600160a01b038435161782556020909201916001909101906132f4565b8280548282559060005260206000209081019282156132c457916020028201828111156132c45782358255916020019190600101906132a9565b6040518061014001604052806000151581526020016000151581526020016000151581526020016000151581526020016133ca6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001606081525090565b81526020016134086040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001606081525090565b81526020016134466040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001606081525090565b81526020016000815260200160008152602001600081525090565b5b808211156132d05760008155600101613462565b60006020828403121561348857600080fd5b5035919050565b6000815180845260005b818110156134b557602081850181015186830182015201613499565b818111156134c7576000602083870101525b50601f01601f19169290920160200192915050565b86815285602082015284604082015283606082015282608082015260c060a0820152600061350d60c083018461348f565b98975050505050505050565b60008083601f84011261352b57600080fd5b50813567ffffffffffffffff81111561354357600080fd5b6020830191508360208260051b850101111561355e57600080fd5b9250929050565b6000806020838503121561357857600080fd5b823567ffffffffffffffff81111561358f57600080fd5b61359b85828601613519565b90969095509350505050565b80356001600160a01b03811681146135be57600080fd5b919050565b600080604083850312156135d657600080fd5b6135df836135a7565b946020939093013593505050565b6001600160e01b03198116811461111657600080fd5b60006020828403121561361557600080fd5b8135610a2b816135ed565b600080600080600080600060c0888a03121561363b57600080fd5b873596506020880135955060408801359450606088013593506080880135925060a088013567ffffffffffffffff8082111561367657600080fd5b818a0191508a601f83011261368a57600080fd5b81358181111561369957600080fd5b8b60208285010111156136ab57600080fd5b60208301945080935050505092959891949750929550565b602081526000610a2b602083018461348f565b600080600080604085870312156136ec57600080fd5b843567ffffffffffffffff8082111561370457600080fd5b61371088838901613519565b9096509450602087013591508082111561372957600080fd5b5061373687828801613519565b95989497509550505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff8111828210171561377e5761377e613742565b6040525050565b600067ffffffffffffffff82111561379f5761379f613742565b5060051b60200190565b600082601f8301126137ba57600080fd5b813560206137c782613785565b6040516137d48282613758565b83815260059390931b85018201928281019150868411156137f457600080fd5b8286015b8481101561380f57803583529183019183016137f8565b509695505050505050565b600082601f83011261382b57600080fd5b813567ffffffffffffffff81111561384557613845613742565b60405161385c601f8301601f191660200182613758565b81815284602083860101111561387157600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156138a657600080fd5b6138af866135a7565b94506138bd602087016135a7565b9350604086013567ffffffffffffffff808211156138da57600080fd5b6138e689838a016137a9565b945060608801359150808211156138fc57600080fd5b61390889838a016137a9565b9350608088013591508082111561391e57600080fd5b5061392b8882890161381a565b9150509295509295909350565b60006020828403121561394a57600080fd5b610a2b826135a7565b803580151581146135be57600080fd5b60006020828403121561397557600080fd5b610a2b82613953565b6000806040838503121561399157600080fd5b823567ffffffffffffffff808211156139a957600080fd5b818501915085601f8301126139bd57600080fd5b813560206139ca82613785565b6040516139d78282613758565b83815260059390931b85018201928281019150898411156139f757600080fd5b948201945b83861015613a1c57613a0d866135a7565b825294820194908201906139fc565b96505086013592505080821115613a3257600080fd5b50613a3f858286016137a9565b9150509250929050565b600081518084526020808501945080840160005b83811015613a7957815187529582019590820190600101613a5d565b509495945050505050565b602081526000610a2b6020830184613a49565b60008060008060608587031215613aad57600080fd5b843567ffffffffffffffff811115613ac457600080fd5b613ad087828801613519565b90989097506020870135966040013595509350505050565b8051825260208101516020830152604081015160408301526060810151606083015260808101516080830152600060a082015160c060a0850152613b2f60c085018261348f565b949350505050565b60208152613b4a60208201835115159052565b60006020830151613b5f604084018215159052565b506040830151801515606084015250606083015180151560808401525060808301516101408060a0850152613b98610160850183613ae8565b915060a0850151601f19808685030160c0870152613bb68483613ae8565b935060c08701519150808685030160e087015250613bd48382613ae8565b60e08701516101008781019190915287015161012080880191909152909601519190940152509192915050565b60008060408385031215613c1457600080fd5b613c1d836135a7565b9150613c2b60208401613953565b90509250929050565b600080600060408486031215613c4957600080fd5b833567ffffffffffffffff811115613c6057600080fd5b613c6c86828701613519565b909790965060209590950135949350505050565b60008060408385031215613c9357600080fd5b82359150613c2b602084016135a7565b600080600080600060608688031215613cbb57600080fd5b85359450602086013567ffffffffffffffff80821115613cda57600080fd5b613ce689838a01613519565b90965094506040880135915080821115613cff57600080fd5b50613d0c88828901613519565b969995985093965092949392505050565b60008060408385031215613d3057600080fd5b613d39836135a7565b9150613c2b602084016135a7565b60008060408385031215613d5a57600080fd5b50508035926020909101359150565b600080600080600060a08688031215613d8157600080fd5b613d8a866135a7565b9450613d98602087016135a7565b93506040860135925060608601359150608086013567ffffffffffffffff811115613dc257600080fd5b61392b8882890161381a565b600181811c90821680613de257607f821691505b60208210811415610dd657634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115613e2c57613e2c613e03565b500190565b6000600019821415613e4557613e45613e03565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008083128015600160ff1b850184121615613e8057613e80613e03565b837f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018313811615613eb457613eb4613e03565b50500390565b600082821015613ecc57613ecc613e03565b500390565b6000816000190483118215151615613eeb57613eeb613e03565b500290565b604081526000613f036040830185613a49565b8281036020840152613f158185613a49565b95945050505050565b60006001600160a01b03808816835280871660208401525060a06040830152613f4a60a0830186613a49565b8281036060840152613f5c8186613a49565b9050828103608084015261350d818561348f565b600060208284031215613f8257600080fd5b8151610a2b816135ed565b600060033d1115613fa65760046000803e5060005160e01c5b90565b600060443d1015613fb75790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715613fe757505050505090565b8285019150815181811115613fff5750505050505090565b843d87010160208285010111156140195750505050505090565b61402860208286010187613758565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261406b60a083018461348f565b97965050505050505056fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220e5c11ddd4b48be88afc365e56fb79a15d9a1cc20faa3b7abf7fea687b836d39a64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000c04f468b09fca2118d2aa01683ed732f9c22874200000000000000000000000000000000000000000000000000000000000000074554484a455453000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002454a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654716945415a65346355364c447531636932666f37452f000000000000000000000000000000000000000000000000000000000000000000000000000000000037697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654716945415a65346355364c447531636932666f37452f310000000000000000000000000000000000000000000000000000000000000000000000000000000037697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654716945415a65346355364c447531636932666f37452f320000000000000000000000000000000000000000000000000000000000000000000000000000000037697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654716945415a65346355364c447531636932666f37452f3300000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000fddbd8e7fea8d3b294ab328f5ada9feba087ab0000000000000000000000000e71c3b753b21c6d082afc3cc62bb744ac546fd54000000000000000000000000fcdfeb974c160ee267a245250e49e9ecaacd0fa500000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000058d15e1762800000000000000000000000000000000000000000000000000000470de4df820000000000000000000000000000000000000000000000000000002386f26fc10000
-----Decoded View---------------
Arg [0] : _name (string): ETHJETS
Arg [1] : _symbol (string): EJ
Arg [2] : _uriBase (string): ipfs://QmP36XEQsJNMENqiUW8JL4FFTqiEAZe4cU6LDu1ci2fo7E/
Arg [3] : _uriGlobal (string): ipfs://QmP36XEQsJNMENqiUW8JL4FFTqiEAZe4cU6LDu1ci2fo7E/1
Arg [4] : _uriCaptain (string): ipfs://QmP36XEQsJNMENqiUW8JL4FFTqiEAZe4cU6LDu1ci2fo7E/2
Arg [5] : _uriTopGun (string): ipfs://QmP36XEQsJNMENqiUW8JL4FFTqiEAZe4cU6LDu1ci2fo7E/3
Arg [6] : _payoutAddresses (address[]): 0x0FddbD8E7fEA8D3B294AB328F5aDa9FebA087ab0,0xE71C3B753B21C6D082aFc3cc62Bb744AC546fd54,0xFCDFEB974c160EE267A245250e49e9eCAacD0fA5
Arg [7] : _payoutAmountPerNFT (uint256[]): 25000000000000000,20000000000000000,10000000000000000
Arg [8] : _ethjetsPayoutAddress (address): 0xC04F468B09Fca2118d2Aa01683eD732f9c228742
-----Encoded View---------------
33 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [5] : 00000000000000000000000000000000000000000000000000000000000002c0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [7] : 00000000000000000000000000000000000000000000000000000000000003a0
Arg [8] : 000000000000000000000000c04f468b09fca2118d2aa01683ed732f9c228742
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [10] : 4554484a45545300000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [12] : 454a000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [14] : 697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654
Arg [15] : 716945415a65346355364c447531636932666f37452f00000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000037
Arg [17] : 697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654
Arg [18] : 716945415a65346355364c447531636932666f37452f31000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000037
Arg [20] : 697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654
Arg [21] : 716945415a65346355364c447531636932666f37452f32000000000000000000
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000037
Arg [23] : 697066733a2f2f516d503336584551734a4e4d454e71695557384a4c34464654
Arg [24] : 716945415a65346355364c447531636932666f37452f33000000000000000000
Arg [25] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [26] : 0000000000000000000000000fddbd8e7fea8d3b294ab328f5ada9feba087ab0
Arg [27] : 000000000000000000000000e71c3b753b21c6d082afc3cc62bb744ac546fd54
Arg [28] : 000000000000000000000000fcdfeb974c160ee267a245250e49e9ecaacd0fa5
Arg [29] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [30] : 0000000000000000000000000000000000000000000000000058d15e17628000
Arg [31] : 00000000000000000000000000000000000000000000000000470de4df820000
Arg [32] : 000000000000000000000000000000000000000000000000002386f26fc10000
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.