ERC-1155
Overview
Max Total Supply
1,000 ORCPASS
Holders
182
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:
OnChainRobotsClubPass
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.15; //SPDX-License-Identifier: MIT import "./Base.sol"; error TooManyTokensToMintPerTransaction(); error TooManyTokensToMint(); error MintingAlreadyStarted(); error EtherSentIsNotCorrect(); error MintingNotStarted(); error CantChangeRenderer(); /* _____ ___ _ ___ _ _ ___ _ _ ( _ ) ( _`\ ( ) _ | _`\ ( ) ( )_ ( _`\ (_ ) ( ) | ( ) | ___ | ( (_)| |__ _ _ (_) ___ | (_) ) _ | |_ _ | ,_) ___ | ( (_) | | _ _ | |_ | | | |/' _ `\| | _ | _ `\ /'_` )| |/' _ `\ | , / /'_`\ | '_`\ /'_`\ | | /',__) | | _ | | ( ) ( )| '_`\ | (_) || ( ) || (_( )| | | |( (_| || || ( ) | | |\ \ ( (_) )| |_) )( (_) )| |_ \__, \ | (_( ) | | | (_) || |_) ) (_____)(_) (_)(____/'(_) (_)`\__,_)(_)(_) (_) (_) (_)`\___/'(_,__/'`\___/'`\__)(____/ (____/'(___)`\___/'(_,__/' */ contract OnChainRobotsClubPass is Base { constructor(address defaultTreasury, IORCPassRender render_) ERC1155("OnChain Robots Club Pass", "ORCPASS") { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); setTreasuryAddress(payable(defaultTreasury)); setRoyaltyInfo(750); mintStartTime = block.timestamp; render = render_; } function setRendererContract(IORCPassRender render_) public onlyAdmin { if (!canChangeRenderer) revert CantChangeRenderer(); render = render_; emit RendererContractChanged( address(render), address(render_), block.timestamp ); } function disableRendererChange() public onlyAdmin { canChangeRenderer = false; emit RendererChangeBlockedForever(_msgSender()); } function mint(address to, uint16 numberOfTokens) public payable { if (numberOfTokens > MAX_TOKENS_PER_TRANSACTION) revert TooManyTokensToMintPerTransaction(); if (msg.value != getMintPrice() * numberOfTokens) revert EtherSentIsNotCorrect(); _mintTokens(to, numberOfTokens); } function mintAirdrop(address[] memory to, uint16[] memory numberOfTokens) public onlyAdmin { for (uint256 i; i < to.length; i++) { _mintTokens(to[i], numberOfTokens[i]); } } function _mintTokens(address to, uint16 numberOfTokens) private { uint256 currentTokenSupply = totalSupply; if (totalSupply + numberOfTokens > MAX_SUPPLY) revert TooManyTokensToMint(); unchecked { totalSupply += numberOfTokens; } for (uint256 i = 1; i <= numberOfTokens; i++) { uint16 tokenID = uint16(currentTokenSupply + i); if (tokenID == MAX_SUPPLY) { _owners[tokenID].passType = PassType.SOLD_OUT; } else if (tokenID % 100 == 0) { _owners[tokenID].passType = PassType.FIRE; } else { uint256 randomPercent = (getRandomNounce() % 1000) + 1; if (randomPercent <= 50) { _owners[tokenID].passType = PassType.PLATINUM; } else if (randomPercent <= 200) { _owners[tokenID].passType = PassType.GOLD; } else if (randomPercent <= 500) { _owners[tokenID].passType = PassType.BRONZE; } else { _owners[tokenID].passType = PassType.SILVER; } } _mint(to, tokenID, 1, ""); emit Minted(msg.sender, to, tokenID); } } function uri(uint256 tokenID) public view override returns (string memory) { return render.getSVGContent( tokenID, _owners[tokenID].addr, _owners[tokenID].passType ); } function getMintPrice() public view returns (uint256) { uint256 mintPrice = _mintPrice; for ( uint256 i = 0; i < (block.timestamp - mintStartTime) / 1 weeks; i++ ) { mintPrice *= mintPrice; } return mintPrice; } function setMintPrice(uint256 mintPrice_) external onlyAdmin { _mintPrice = mintPrice_; } function getTokenDetails(uint256 tokenID) public view returns (Owner memory) { return _owners[tokenID]; } function getPassType(uint256 tokenID) public view returns (PassType) { return _owners[tokenID].passType; } // ============================================================ // ==================== UTIL FUNCTIONS ======================= // ============================================================ function getRandomNounce() private view returns (uint256) { return uint256( keccak256( abi.encodePacked( msg.sender, block.coinbase, block.difficulty, block.timestamp ) ) ); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.15; import "@openzeppelin/contracts/security/Pausable.sol"; import "./MerkleProof.sol"; import "./ERC1155D.sol"; import "./Fields.sol"; import "./Treasury.sol"; abstract contract Base is Fields, Pausable, Treasury, ERC1155 { /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function pause() public onlyAdmin { super._pause(); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function unpause() public onlyAdmin { super._unpause(); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(Treasury, ERC1155) returns (bool) { return ERC1155.supportsInterface(interfaceId) || Treasury.supportsInterface(interfaceId); } function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (paused()) revert PASSTransferPaused(); } function ownerOfERC721Like(uint256 id) external view returns (address) { if (id > MAX_SUPPLY) revert IdNotValid(); address owner_ = _owners[id].addr; if (owner_ == address(0)) revert IdNotValid(); return owner_; } function getERC721BalanceOffChain(address _address) public view returns (uint256) { uint256 counter = 0; for (uint256 i; i < _owners.length; i++) { if (_owners[i].addr == _address) { counter++; } } return counter; } function getERC721OffChainTokensOf(address _address) public view returns (uint256[] memory) { uint256 ownerBalance = getERC721BalanceOffChain(_address); uint256[] memory result = new uint256[](ownerBalance); uint256 counter = 0; for (uint256 i = 1; i <= totalSupply; i++) { if (_owners[i].addr == _address) { result[counter] = i; unchecked { counter++; } } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.5; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./Treasury.sol"; import "hardhat/console.sol"; /** * @dev These functions deal with verification of Merkle trees (hash trees), */ contract MerkleProof is Treasury { using ECDSA for bytes32; // ECDSA signing address address public signingAddress; /** * @dev To decrypt ECDSA sigs or invalidate signed but not claimed tokens */ function setSigningAddress(address newSigningAddress) public onlyAdmin { if (newSigningAddress == address(0)) revert CannotSetZeroAddress(); signingAddress = newSigningAddress; } /** * @dev Verify the ECDSA signature */ function verifySig(address sender, bytes memory signature) internal view returns (bool) { // bytes32 messageHash = keccak256( // abi.encodePacked(sender, maxMintable, valueSent) // ); return signingAddress == keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", bytes32(uint256(uint160(sender))) ) ).recover(signature); } }
// SPDX-License-Identifier: MIT // Donkeverse Contracts v0.0.1 pragma solidity 0.8.15; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./Common.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, Common { using Address for address; uint256 internal constant MAX_SUPPLY = 1000; struct Owner { address addr; PassType passType; } Owner[MAX_SUPPLY + 1] internal _owners; // 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; // Token name string private _name; // Token symbol string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Metadata-name}. */ function name() public view returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view returns (string memory) { return _symbol; } /** * @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" ); require(id < MAX_SUPPLY, "ERC1155D: id exceeds maximum"); return _owners[id].addr == account ? 1 : 0; } /** * @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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); require( _owners[id].addr == from && amount < 2, "ERC1155: insufficient balance for transfer" ); // The ERC1155 spec allows for transfering zero tokens, but we are still expected // to run the other checks and emit the event. But we don't want an ownership change // in that case if (amount == 1) { _owners[id].addr = to; } emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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]; require( _owners[id].addr == from && amounts[i] < 2, "ERC1155: insufficient balance for transfer" ); if (amounts[i] == 1) { _owners[id].addr = to; } } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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"); require(amount < 2, "ERC1155D: exceeds supply"); require(id <= MAX_SUPPLY, "ERC1155D: invalid id"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); // The ERC1155 spec allows for transfering zero tokens, but we are still expected // to run the other checks and emit the event. But we don't want an ownership change // in that case if (amount == 1) { _owners[id].addr = to; } emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck( operator, address(0), to, id, amount, data ); } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `id` must be less than MAX_SUPPLY; * This does not implement smart contract checks according to ERC1155 so it exists as a separate function */ function _mintSingle(address to, uint256 id) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); // you can remove this if only minting to msg.sender require(_owners[id].addr == address(0), "ERC1155D: supply exceeded"); require(id < MAX_SUPPLY, "ERC1155D: invalid id"); // you can remove this if the check is done outside _owners[id].addr = to; // this can be made more efficient with assembly if you know what you are doing! emit TransferSingle(to, address(0), to, id, 1); } /** * @dev Creates one token of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * This does not implement smart contract checks according to ERC1155 so it exists as a separate function */ function _mintPrize(address to, uint256 id) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); // you can remove this if only minting to msg.sender require(_owners[id].addr == address(0), "ERC1155D: supply exceeded"); _owners[id].addr = to; // this can be made more efficient with assembly if you know what you are doing! emit TransferSingle(to, address(0), to, id, 1); } /** * @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++) { require(amounts[i] < 2, "ERC1155D: exceeds supply"); require( _owners[ids[i]].addr == address(0), "ERC1155D: supply exceeded" ); if (amounts[i] == 1) { _owners[ids[i]].addr = to; } } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck( operator, address(0), to, ids, amounts, data ); } /** * @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 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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); require( _owners[id].addr == from && amount < 2, "ERC1155: burn amount exceeds balance" ); if (amount == 1) { _owners[id].addr = address(0); } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @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]; require( _owners[id].addr == from && amounts[i] < 2, "ERC1155: burn amount exceeds balance" ); if (amounts[i] == 1) { _owners[id].addr = address(0); } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after 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 _afterTokenTransfer( 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) internal pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
pragma solidity 0.8.15; // SPDX-License-Identifier: MIT import "./IORCPassRender.sol"; error IdNotValid(); error ETHTransferFailed(); error PASSTransferPaused(); contract Fields { /** @dev Emitted when somebody mints a PASS to a given address */ event Minted( address indexed minter, address indexed to, uint256 passID // TODO add more things here ); /** @dev Emitted when metadata renderer contract change is blocked */ event RendererChangeBlockedForever(address indexed sender); /** @dev Emitted the renderer contract changes */ event RendererContractChanged( address oldRendererContract, address newRendererContract, uint256 changeTime ); IORCPassRender public render; bool public canChangeRenderer = true; uint256 public totalSupply; uint256 internal MAX_TOKENS_PER_TRANSACTION = 3; uint256 internal _mintPrice = 0.02 ether; uint256 internal mintStartTime; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.15; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "./Administered.sol"; error CannotSetZeroAddress(); contract Treasury is Administered, ERC2981 { using Address for address; event Received(address, uint256); receive() external payable { emit Received(msg.sender, msg.value); } // Sets Treasury Address for withdraw() and ERC2981 royaltyInfo address public treasuryAddress; /** * @dev Withdraw funds to treasuryAddress */ function withdraw() external onlyAdmin { Address.sendValue(payable(treasuryAddress), address(this).balance); } /** * @dev Update the royalty percentage (100 = 1%) */ function setRoyaltyInfo(uint96 newRoyaltyPercentage) public onlyAdmin { _setDefaultRoyalty(treasuryAddress, newRoyaltyPercentage); } /** * @dev Update the royalty wallet address */ function setTreasuryAddress(address payable newAddress) public onlyAdmin { if (newAddress == address(0)) revert CannotSetZeroAddress(); treasuryAddress = newAddress; } /** * @dev {ERC165-supportsInterface} Adding IERC2981 */ function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControl, ERC2981) returns (bool) { return ERC2981.supportsInterface(interfaceId) || super.supportsInterface(interfaceId); } }
// 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 (last updated v4.7.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: 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 (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.15; import "@openzeppelin/contracts/access/AccessControl.sol"; abstract contract Administered is AccessControl { /// @dev Remove oneself from the admin role. function renounceAdmin() public virtual { renounceRole(DEFAULT_ADMIN_ROLE, msg.sender); } /// @dev Restricted to members of the admin role. modifier onlyAdmin() { require(isAdmin(_msgSender()), "Restricted to admins."); _; } /// @dev Return `true` if the account belongs to the admin role. function isAdmin(address account) public view virtual returns (bool) { return hasRole(DEFAULT_ADMIN_ROLE, account); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 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 (last updated v4.5.0) (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. * * NOTE: 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. * * NOTE: 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 pragma solidity 0.8.15; interface CommonTypes { enum PassType { NONE, SILVER, BRONZE, GOLD, PLATINUM, FIRE, SOLD_OUT } } contract Common is CommonTypes { string private constant DNone = "NONE"; string private constant DSilver = "SILVER"; string private constant DBronze = "BRONZE"; string private constant DGold = "GOLD"; string private constant DPlatinum = "PLATINUM"; string private constant DFire = "FIRE"; string private constant DSoldOut = "SOLD OUT"; string private constant None = "None"; string private constant Silver = "Silver"; string private constant Bronze = "Bronze"; string private constant Gold = "Gold"; string private constant Platinum = "Platinum"; string private constant Fire = "Fire"; string private constant SoldOut = "SoldOut"; function getPassName(PassType passType) internal pure returns (string memory) { if (passType == PassType.SILVER) { return Silver; } else if (passType == PassType.BRONZE) { return Bronze; } else if (passType == PassType.GOLD) { return Gold; } else if (passType == PassType.PLATINUM) { return Platinum; } else if (passType == PassType.FIRE) { return Fire; } else if (passType == PassType.SOLD_OUT) { return SoldOut; } return None; } function getPassDisplayName(PassType passType) internal pure returns (string memory) { if (passType == PassType.SILVER) { return DSilver; } else if (passType == PassType.BRONZE) { return DBronze; } else if (passType == PassType.GOLD) { return DGold; } else if (passType == PassType.PLATINUM) { return DPlatinum; } else if (passType == PassType.FIRE) { return DFire; } else if (passType == PassType.SOLD_OUT) { return DSoldOut; } return DNone; } }
pragma solidity 0.8.15; //SPDX-License-Identifier: MIT import "./Common.sol"; interface IORCPassRender is CommonTypes { function getSVGContent( uint256 tokenID, address owner, PassType passType ) external view returns (string memory); }
{ "viaIR": true, "optimizer": { "enabled": true, "runs": 10000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"defaultTreasury","type":"address"},{"internalType":"contract IORCPassRender","name":"render_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CannotSetZeroAddress","type":"error"},{"inputs":[],"name":"CantChangeRenderer","type":"error"},{"inputs":[],"name":"EtherSentIsNotCorrect","type":"error"},{"inputs":[],"name":"IdNotValid","type":"error"},{"inputs":[],"name":"PASSTransferPaused","type":"error"},{"inputs":[],"name":"TooManyTokensToMint","type":"error"},{"inputs":[],"name":"TooManyTokensToMintPerTransaction","type":"error"},{"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":"minter","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"passID","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RendererChangeBlockedForever","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldRendererContract","type":"address"},{"indexed":false,"internalType":"address","name":"newRendererContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"changeTime","type":"uint256"}],"name":"RendererContractChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[],"name":"canChangeRenderer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableRendererChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getERC721BalanceOffChain","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getERC721OffChainTokensOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getPassType","outputs":[{"internalType":"enum CommonTypes.PassType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getTokenDetails","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"enum CommonTypes.PassType","name":"passType","type":"uint8"}],"internalType":"struct ERC1155.Owner","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint16","name":"numberOfTokens","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint16[]","name":"numberOfTokens","type":"uint16[]"}],"name":"mintAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOfERC721Like","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"render","outputs":[{"internalType":"contract IORCPassRender","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":"uint256","name":"mintPrice_","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IORCPassRender","name":"render_","type":"address"}],"name":"setRendererContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"newRoyaltyPercentage","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newAddress","type":"address"}],"name":"setTreasuryAddress","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080346200051b5762003a0790601f38839003908101601f19168201906001600160401b038211838310176200029f57808391604095869485528339810103126200051b578051906001600160a01b039081831683036200051b576020015181811681036200051b576200007262000520565b601881527f4f6e436861696e20526f626f747320436c7562205061737300000000000000006020820152620000a662000520565b60078152664f52435041535360c81b60208201526000805460ff60a01b1916600160a01b1790556003600281905566470de4df82000090556005805460ff19169055815190916001600160401b0382116200029f576103f55490600182811c9216801562000510575b6020831014620004055781601f849311620004ae575b50602090601f8311600114620004325760009262000426575b50508160011b916000199060031b1c1916176103f5555b8051906001600160401b0382116200029f576103f65490600182811c921680156200041b575b6020831014620004055781601f849311620003a0575b50602090601f8311600114620003245760009262000318575b50508160011b916000199060031b1c1916176103f6555b600080526006602052836000203360005260205260ff84600020541615620002c6575b60008052600660205283600020336000526020526200020a60ff85600020541662000540565b81831615620002b55760018060a01b03199282811684600954161760095560008052600660205284600020336000526020526200024e60ff86600020541662000540565b84518086016001600160401b038111828210176200029f576102ee916020918852858416815201528261017760a11b91161760075542600455169060005416176000555161343990816200058e8239f35b634e487b7160e01b600052604160045260246000fd5b8351632969679960e11b8152600490fd5b600080526006602052836000203360005260205283600020600160ff19825416179055333360007f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d818851a4620001e4565b015190503880620001aa565b6103f66000908152600080516020620039c78339815191529350601f198516905b8181106200038757509084600195949392106200036d575b505050811b016103f655620001c1565b015160001960f88460031b161c191690553880806200035d565b9293602060018192878601518155019501930162000345565b6103f6600052909150600080516020620039c7833981519152601f840160051c81019160208510620003fa575b90601f859493920160051c01905b818110620003ea575062000191565b60008155849350600101620003db565b9091508190620003cd565b634e487b7160e01b600052602260045260246000fd5b91607f16916200017b565b0151905038806200013e565b6103f56000908152600080516020620039e78339815191529350601f198516905b8181106200049557509084600195949392106200047b575b505050811b016103f55562000155565b015160001960f88460031b161c191690553880806200046b565b9293602060018192878601518155019501930162000453565b6103f5600052909150600080516020620039e7833981519152601f840160051c81016020851062000508575b90849392915b601f830160051c82018110620004f857505062000125565b60008155859450600101620004e0565b5080620004da565b91607f16916200010f565b600080fd5b60408051919082016001600160401b038111838210176200029f57604052565b156200054857565b60405162461bcd60e51b815260206004820152601560248201527f5265737472696374656420746f2061646d696e732e00000000000000000000006044820152606490fdfe60406080815260048036101561004e575b50361561001c57600080fd5b513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587490604090a1005b600090813560e01c908162fdd58e1461206d57816301ffc9a714611f9857816306fdde0314611eca5781630e89341c14611d7957816318160ddd14611d5a578163248a9ca314611d2e57816324d7806c14611cdc5781632a55205a14611c035781632eb2c2d6146117fe5781632f2ff15d1461174857816336568abe1461169b57816339f81d8b146116755781633ccfd60b146115375781633f4ba83a146114805781634af9345e146113225781634e1273f4146111ed5781635c975abb146111c95781635df4efa4146111a45781636605bfda146110f55781638456cb591461103b5781638bad0c0a14610fc35781638e47778914610f1e57816391d1485414610eca57816395cd0e8114610ddb57816395d89b4114610cc0578163a167440b14610ba6578163a217fddf14610b8b578163a22cb46514610a86578163a7f93ebd14610a62578163ad0be4bd146109be578163c1e037281461090d578163c5f956af146108d8578163d547741f14610898578163d607497a14610865578163e85b08ec1461079d578163e985e9c514610741578163eee401c2146106ef578163f242432a146102d0578163f4a0a52814610291575063f62824820361001057903461028d578160031936011261028d57818052600660205280822033835260205261023f60ff8284205416612829565b7fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416825551337f3bd0290aa5bdee095b875f32fb44e989ee9ef5ebdc67448948b768573d4632c58383a2f35b5080fd5b839150346102cc5760206003193601126102cc5782805260066020528183203384526020526102c560ff8385205416612829565b3560035551f35b8280fd5b82843461028d5760a060031936011261028d576102eb612096565b926102f46120be565b6044356064359160843567ffffffffffffffff81116106eb5761031a903690860161227c565b9073ffffffffffffffffffffffffffffffffffffffff8098169333851480156106cc575b156106635788821691610352831515612a69565b61035b85612c13565b5061036582612c13565b5060ff6005541661063b576103e98510156106285788998386600a9b98999a9b0191898354918216148061061e575b61039d90612ada565b600185146105f1575b509050878a518781528460208201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628c3392a43b6103e457848851f35b61043f946020948951968795869485937ff23a6e61000000000000000000000000000000000000000000000000000000009b8c86528d339087015260248601526044850152606484015260a0608484015260a4830190612116565b03925af18591816105c1575b50610523575050600161045c612b83565b6308c379a0146104ee575b61047957505b82808381808080848851f35b6104ea915191829162461bcd60e51b8352820160809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e74657200000000000000000000000060608201520190565b0390fd5b6104f6612ba1565b806105015750610467565b6104ea91506020935193849362461bcd60e51b85528401526024830190612116565b7fffffffff000000000000000000000000000000000000000000000000000000001603610550575061046d565b6104ea915191829162461bcd60e51b8352820160809060208152602860208201527f455243313135353a204552433131353552656365697665722072656a6563746560408201527f6420746f6b656e7300000000000000000000000000000000000000000000000060608201520190565b6105e391925060203d81116105ea575b6105db818361218b565b810190612b4b565b908661044b565b503d6105d1565b7fffffffffffffffffffffffff0000000000000000000000000000000000000000161790558a83816103a6565b5060028510610394565b602489603289634e487b7160e01b835252fd5b8688517f93577f15000000000000000000000000000000000000000000000000000000008152fd5b608486602089519162461bcd60e51b8352820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152fd5b508488526103f360205286882033895260205260ff878920541661033e565b8680fd5b83833461073e57602060031936011261073e578235926103e984101561072b5760208361072960ff87600a015460a01c1691518092612372565bf35b906032602492634e487b7160e01b835252fd5b80fd5b82843461028d578060031936011261028d5760ff81602093610761612096565b6107696120be565b73ffffffffffffffffffffffffffffffffffffffff91821683526103f3875283832091168252855220549151911615158152f35b82843461028d57602060031936011261028d576107b8612096565b916107ca6107c5846128a1565b6128fc565b9281600191829083549473ffffffffffffffffffffffffffffffffffffffff809216925b8681111561080f5787516020808252819061080b9082018c61233e565b0390f35b6103e98110156108525785848483600a01541614610837575b5061083290612874565b6107ee565b858261084761083294988d612958565b520194905085610828565b60248260328c634e487b7160e01b835252fd5b82843461028d578160031936011261028d5773ffffffffffffffffffffffffffffffffffffffff60209254169051908152f35b839150346102cc57816003193601126102cc576108d590356108b86120be565b9080855260066020526108d060018587200154612395565b612729565b51f35b82843461028d578160031936011261028d5760209073ffffffffffffffffffffffffffffffffffffffff600954169051908152f35b83833461073e57602060031936011261073e57823590806020845161093181612159565b82815201526103e98210156109ab5782519161094c83612159565b600a015460ff73ffffffffffffffffffffffffffffffffffffffff91828116855260a01c1660208401926007821015610998575082528351925116825251610729906020830190612372565b80602188634e487b7160e01b6024945252fd5b80603285634e487b7160e01b6024945252fd5b838092506003193601126102cc576109d4612096565b6024359161ffff8316808403610a5e576002548111610a36576109fe906109f96132e8565b6127af565b3403610a0f5750906108d591612c38565b83517f92c35a18000000000000000000000000000000000000000000000000000000008152fd5b5083517fed771b28000000000000000000000000000000000000000000000000000000008152fd5b8580fd5b82843461028d578160031936011261028d57602090610a7f6132e8565b9051908152f35b839150346102cc57816003193601126102cc57610aa1612096565b60243590811515809203610b875773ffffffffffffffffffffffffffffffffffffffff1691823314610b1e57503384526103f360205282842082855260205282842060ff1981541660ff831617905582519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a351f35b608490602085519162461bcd60e51b8352820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152fd5b8480fd5b82843461028d578160031936011261028d5751908152602090f35b839150346102cc57816003193601126102cc5767ffffffffffffffff92813584811161028d57610bd990369084016122c3565b9160243594851161028d573660238601121561028d57840135610bfb816121cc565b94610c088551968761218b565b81865260209160248388019160051b83010191368311610b8757602401905b828210610ca657505050818052600681528382209033835252610c4f60ff8483205416612829565b805b8251811015610ca15780610c9773ffffffffffffffffffffffffffffffffffffffff610c80610c9c9487612958565b511661ffff610c8f848a612958565b511690612c38565b612874565b610c51565b508251f35b813561ffff81168103610a5e578152908301908301610c27565b83833461073e578060031936011261073e57815191816103f680549360019085821c92828716968715610dd1575b6020978886108114610dbe57899a509789979886829b529182600014610d94575050600114610d39575b858861080b89610d2a848a038561218b565b51928284938452830190612116565b815286935091907fd91b41ba85e0f04c71193a29c7dbc37a04aebede2332cfb97647622c051bc1cb5b828410610d7c5750505082010181610d2a61080b88610d18565b8054848a018601528895508794909301928101610d62565b60ff19168882015294151560051b87019094019450859350610d2a925061080b9150899050610d18565b60248460228d634e487b7160e01b835252fd5b93607f1693610cee565b839150346102cc5760206003193601126102cc5780359073ffffffffffffffffffffffffffffffffffffffff8216809203610ec6578380526006602052828420338552602052610e3060ff8486205416612829565b83549060ff8260a01c1615610e9f5750817fd2ca50423ea73a82392039238291d6762a19f99b810b8f37a02505469d37446a927fffffffffffffffffffffffff00000000000000000000000000000000000000006060931617855583519080825260208201524284820152a151f35b83517f744e7a7c000000000000000000000000000000000000000000000000000000008152fd5b8380fd5b839150346102cc57816003193601126102cc578160209360ff92610eec6120be565b903582526006865273ffffffffffffffffffffffffffffffffffffffff83832091168252855220541690519015158152f35b83833461073e57602060031936011261073e578235906103e88211610f9b576103e98210156109ab5750600a015473ffffffffffffffffffffffffffffffffffffffff16908115610f73576020925051908152f35b9050517fb3d2f3f8000000000000000000000000000000000000000000000000000000008152fd5b5050517fb3d2f3f8000000000000000000000000000000000000000000000000000000008152fd5b82843461028d578160031936011261028d57818052600660205280822033835260205260ff8183205416610ff45751f35b818052600660205280822033835260205280822060ff1981541690553333837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b818551a451f35b839150346102cc57826003193601126102cc57828052600660205281832033845260205261106e60ff8385205416612829565b6005549060ff82166110b2575060ff1960019116176005557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25860208251338152a151f35b606490602084519162461bcd60e51b8352820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152fd5b839150346102cc5760206003193601126102cc5780359073ffffffffffffffffffffffffffffffffffffffff8216809203610ec657838052600660205282842033855260205261114a60ff8486205416612829565b811561117d57507fffffffffffffffffffffffff0000000000000000000000000000000000000000600954161760095551f35b82517f52d2cf32000000000000000000000000000000000000000000000000000000008152fd5b82843461028d578160031936011261028d5760ff6020925460a01c1690519015158152f35b82843461028d578160031936011261028d5760209060ff6005541690519015158152f35b83833461073e578160031936011261073e5767ffffffffffffffff83358181116102cc5761121e90369086016122c3565b906024359081116102cc5761123690369086016121e4565b9381518551036112b9575061124b81516128fc565b915b81518110156112a4578061128f73ffffffffffffffffffffffffffffffffffffffff61127c61129f9486612958565b51166112888389612958565b519061296c565b6112998286612958565b52612874565b61124d565b83516020808252819061080b9082018661233e565b608490602085519162461bcd60e51b8352820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152fd5b839150346102cc57602080600319360112610ec6578135906bffffffffffffffffffffffff821690818303610a5e5785805260068152848620338752815261136f60ff8688205416612829565b73ffffffffffffffffffffffffffffffffffffffff600954169361271083116114195784156113d85750907fffffffffffffffffffffffff0000000000000000000000000000000000000000929185516113c881612159565b858152015260a01b161760075551f35b60649186519162461bcd60e51b8352820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152fd5b60849186519162461bcd60e51b8352820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152fd5b839150346102cc57826003193601126102cc5782805260066020528183203384526020526114b360ff8385205416612829565b6005549060ff8216156114f4575060ff19166005557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa60208251338152a151f35b606490602084519162461bcd60e51b8352820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152fd5b839150346102cc57826003193601126102cc57828052600660205281832033845260205261156a60ff8385205416612829565b73ffffffffffffffffffffffffffffffffffffffff60095416478047106116325784809281928651915af13d1561162d573d6115a581612242565b906115b28551928361218b565b81528460203d92013e5b156115c5575051f35b6020608492519162461bcd60e51b8352820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152fd5b6115bc565b606483602086519162461bcd60e51b8352820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152fd5b82843461028d57602060031936011261028d57602090610a7f611696612096565b6128a1565b839150346102cc57816003193601126102cc576116b66120be565b903373ffffffffffffffffffffffffffffffffffffffff8316036116df57906108d59135612729565b608490602084519162461bcd60e51b8352820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152fd5b839150346102cc57816003193601126102cc57356117646120be565b818452600660205261177b60018486200154612395565b818452600660205273ffffffffffffffffffffffffffffffffffffffff83852091169081855260205260ff8385205416156117b557505051f35b8184526006602052828420818552602052828420600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d858551a451f35b82843461028d576003199060a0823601126102cc5761181b612096565b6118236120be565b9367ffffffffffffffff9060443582811161028d5761184590369089016121e4565b6064358381116102cc5761185c9036908a016121e4565b926084359081116102cc576118749036908a0161227c565b9473ffffffffffffffffffffffffffffffffffffffff809516963388148015611be4575b15611b7b578251855103611b1257858916966118b5881515612a69565b60ff60055416611aea57845b845181101561197a576118d48186612958565b516103e981101561196757600a01805461191e9291908b90611903818d168f14858d82611950575b5050612ada565b600161190f858d612958565b5114611923575b505050612874565b6118c1565b7fffffffffffffffffffffffff0000000000000000000000000000000000000000161790558d8a81611916565b600292509061195e91612958565b5110858d6118fc565b60248760328f634e487b7160e01b835252fd5b50889294958b9489928c84878a518b81527f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb6119b88d83018861233e565b918083036020820152806119cd33948b61233e565b0390a43b6119da57888851f35b875194859384937fbc197c810000000000000000000000000000000000000000000000000000000098898652338b87015260248601526044850160a0905260a48501611a259161233e565b82858203016064860152611a389161233e565b90838203016084840152611a4b91612116565b0381885a94602095f1859181611aca575b50611a9d5750506001611a6d612b83565b6308c379a014611a8a575b61047957505b82808080808080888851f35b611a92612ba1565b806105015750611a78565b7fffffffff0000000000000000000000000000000000000000000000000000000016036105505750611a7e565b611ae391925060203d81116105ea576105db818361218b565b9086611a5c565b8a83517f93577f15000000000000000000000000000000000000000000000000000000008152fd5b60848a602084519162461bcd60e51b8352820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152fd5b60848a602084519162461bcd60e51b8352820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152fd5b508784526103f360205281842033855260205260ff8285205416611898565b839150346102cc57816003193601126102cc5791819235815260086020522090805191611c2f83612159565b549173ffffffffffffffffffffffffffffffffffffffff908184169384825260a01c60208201529215611cb4575b61080b90612710611c826bffffffffffffffffffffffff6020870151166024356127af565b049351169151928392836020909392919373ffffffffffffffffffffffffffffffffffffffff60408201951681520152565b915061080b8151611cc481612159565b600754848116825260a01c6020820152929050611c5d565b82843461028d57602060031936011261028d5760ff81602093611cfd612096565b8180526006865273ffffffffffffffffffffffffffffffffffffffff83832091168252855220541690519015158152f35b839150346102cc5760206003193601126102cc5781602093600192358152600685522001549051908152f35b82843461028d578160031936011261028d576020906001549051908152f35b905082346102cc5760209182600319360112610ec657803573ffffffffffffffffffffffffffffffffffffffff91828654166103e9831015611eb7578291606491611e078995600a0154885197889687957fdb792ccd0000000000000000000000000000000000000000000000000000000087528601528116602485015260ff604485019160a01c16612372565b5afa938415611eac578094611e2c575b505061080b9051928284938452830190612116565b909193503d8082843e611e3f818461218b565b820191838184031261028d5780519067ffffffffffffffff82116102cc570182601f8201121561028d57805191611e7583612242565b93611e828751958661218b565b83855285848401011161073e57508291611ea491858061080b960191016120e1565b929084611e17565b8251903d90823e3d90fd5b602487603284634e487b7160e01b835252fd5b83833461073e578060031936011261073e57815191816103f580549360019085821c92828716968715611f8e575b6020978886108114610dbe57899a509789979886829b529182600014610d94575050600114611f3357858861080b89610d2a848a038561218b565b815286935091907fb8185a2a38e4f2cde4446a34b6f25fd8e95fc9212ac6a26c20818a3741c3df995b828410611f765750505082010181610d2a61080b88610d18565b8054848a018601528895508794909301928101611f5c565b93607f1693611ef8565b839150346102cc5760206003193601126102cc5735907fffffffff00000000000000000000000000000000000000000000000000000000821691828103610ec657602093507fd9b67a26000000000000000000000000000000000000000000000000000000008314928315612043575b508215612032575b8215612020575b50519015158152f35b61202b919250613348565b9083612017565b915061203d82613348565b91612010565b7f0e89341c0000000000000000000000000000000000000000000000000000000014925084612008565b82843461028d578060031936011261028d57602090610a7f61208d612096565b6024359061296c565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036120b957565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff821682036120b957565b918091926000905b8282106121015750116120fa575050565b6000910152565b915080602091830151818601520182916120e9565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602093612152815180928187528780880191016120e1565b0116010190565b6040810190811067ffffffffffffffff82111761217557604052565b634e487b7160e01b600052604160045260246000fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761217557604052565b67ffffffffffffffff81116121755760051b60200190565b81601f820112156120b9578035916121fb836121cc565b92612209604051948561218b565b808452602092838086019260051b8201019283116120b9578301905b828210612233575050505090565b81358152908301908301612225565b67ffffffffffffffff811161217557601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b81601f820112156120b95780359061229382612242565b926122a1604051948561218b565b828452602083830101116120b957816000926020809301838601378301015290565b81601f820112156120b9578035916122da836121cc565b926122e8604051948561218b565b808452602092838086019260051b8201019283116120b9578301905b828210612312575050505090565b813573ffffffffffffffffffffffffffffffffffffffff811681036120b9578152908301908301612304565b90815180825260208080930193019160005b82811061235e575050505090565b835185529381019392810192600101612350565b90600782101561237f5752565b634e487b7160e01b600052602160045260246000fd5b60009080825260209060068252604092838120338252835260ff8482205416156123bf5750505050565b83519167ffffffffffffffff90336060850183811186821017612715578752602a8552858501918736843785511561270157603083538551916001928310156126ed576078602188015360295b83811161265857506126165790875193608085019085821090821117612602578852604284528684019460603687378451156125ee576030865384518210156125ee5790607860218601536041915b81831161255557505050612513576104ea9386936124f7936124e86048946124b39a519a8b957f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008c88015251809260378801906120e1565b8401917f206973206d697373696e6720726f6c65200000000000000000000000000000006037840152518093868401906120e1565b0103602881018752018561218b565b5192839262461bcd60e51b845260048401526024830190612116565b60648587519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f811660108110156125da577f3031323334353637383961626364656600000000000000000000000000000000901a6125928588612802565b5360041c9280156125c6577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01919061245b565b602482634e487b7160e01b81526011600452fd5b602483634e487b7160e01b81526032600452fd5b80634e487b7160e01b602492526032600452fd5b602486634e487b7160e01b81526041600452fd5b60648789519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b90600f811660108110156126d9577f3031323334353637383961626364656600000000000000000000000000000000901a612693838a612802565b5360041c9080156126c5577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0161240c565b602487634e487b7160e01b81526011600452fd5b602488634e487b7160e01b81526032600452fd5b602486634e487b7160e01b81526032600452fd5b602485634e487b7160e01b81526032600452fd5b602485634e487b7160e01b81526041600452fd5b90600091808352600660205273ffffffffffffffffffffffffffffffffffffffff6040842092169182845260205260ff60408420541661276857505050565b8083526006602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b3393604051a4565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211811515166127e0570290565b634e487b7160e01b600052601160045260246000fd5b811981116127e0570190565b908151811015612813570160200190565b634e487b7160e01b600052603260045260246000fd5b1561283057565b606460405162461bcd60e51b815260206004820152601560248201527f5265737472696374656420746f2061646d696e732e00000000000000000000006044820152fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146127e05760010190565b600090815b6103e981106128b457505090565b73ffffffffffffffffffffffffffffffffffffffff8082600a015416908316146128e7575b6128e290612874565b6128a6565b916128f46128e291612874565b9290506128d9565b90612906826121cc565b612913604051918261218b565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe061294182946121cc565b0190602036910137565b8051156128135760200190565b80518210156128135760209160051b010190565b73ffffffffffffffffffffffffffffffffffffffff8091169182156129ff576103e88110156129bb576103e981101561281357600a015416146000906000146129b55750600190565b60ff1690565b606460405162461bcd60e51b815260206004820152601c60248201527f45524331313535443a2069642065786365656473206d6178696d756d000000006044820152fd5b608460405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152fd5b15612a7057565b608460405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b15612ae157565b608460405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152fd5b908160209103126120b957517fffffffff00000000000000000000000000000000000000000000000000000000811681036120b95790565b60009060033d11612b9057565b905060046000803e60005160e01c90565b600060443d10612bff5760405160031991823d016004833e815167ffffffffffffffff918282113d602484011117612c0257818401948551938411612c0a573d85010160208487010111612c025750612bff9291016020019061218b565b90565b949350505050565b50949350505050565b60405190612c2082612159565b6001825260203681840137612c348261294b565b5290565b919060019081549361ffff809216916103e89182612c5685896127f6565b116132be578387018555845b84811115612c74575050505050509050565b82612c7f828a6127f6565b1684810361306c576103e98110156130575780600a01740600000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8254161790555b60409081519160209081840184811067ffffffffffffffff82111761304257815260009384815273ffffffffffffffffffffffffffffffffffffffff8716948515612fd957898511612f9657612d2885612c13565b508b612d468451612d3881612159565b82815286368183013761294b565b5260ff60055416612f6d576103e98510156125ee578b9085600a01877fffffffffffffffffffffffff00000000000000000000000000000000000000008254161790558681855188815284888201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62873392a4883b612dfe575b505050612df9949392917f9d228d69b5fdb8d273a2336f8fb8612d039631024ea9bf09c424a9503aa078f091519283523392a3612874565b612c62565b83517ff23a6e610000000000000000000000000000000000000000000000000000000090818152868180612e57600498338a840152602498888a8501528d6044850152606484015260a0608484015260a4830190612116565b0381868d5af1839181612f4e575b50612ef45750508c91612e76612b83565b6308c379a014612ebf575b50506104795750612df9949392917f9d228d69b5fdb8d273a2336f8fb8612d039631024ea9bf09c424a9503aa078f0915b9150919293948a38612dc1565b612ec7612ba1565b9182612ed35750612e81565b6104ea9350948695505194859462461bcd60e51b8652850152830190612116565b7fffffffff000000000000000000000000000000000000000000000000000000001603915061055090505750612df9949392917f9d228d69b5fdb8d273a2336f8fb8612d039631024ea9bf09c424a9503aa078f091612eb2565b612f66919250883d8a116105ea576105db818361218b565b9038612e65565b600483517f93577f15000000000000000000000000000000000000000000000000000000008152fd5b60648484519062461bcd60e51b82526004820152601460248201527f45524331313535443a20696e76616c69642069640000000000000000000000006044820152fd5b60848484519062461bcd60e51b82526004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b60246000634e487b7160e01b81526041600452fd5b60246000634e487b7160e01b81526032600452fd5b6064810684166130c6576103e98110156130575780600a01740500000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055612cd3565b604080516020810190606033811b835241901b603482015244604882015260684281830152815260a0810181811067ffffffffffffffff82111761304257889352519020067ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81116132a95760329088018181116131a557506103e9821015613190575080600a01740400000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055612cd3565b602490600090634e487b7160e01b8252600452fd5b60c881116131ff57506103e9821015613190575080600a01740300000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055612cd3565b6101f410613258576103e9821015613190575080600a01740200000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055612cd3565b6103e9821015613190575080600a01740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055612cd3565b60246000634e487b7160e01b81526011600452fd5b60046040517f806ea0f5000000000000000000000000000000000000000000000000000000008152fd5b62093a809060035490600091826004805492834210968794420304935b613335578386101561332b5761331e81613324926127af565b95612874565b9486613305565b9450505050915090565b602483601184634e487b7160e01b835252fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f2a55205a0000000000000000000000000000000000000000000000000000000081149081156133a6575b508080156133a1575090565b905090565b7f7965db0b000000000000000000000000000000000000000000000000000000008114915081156133d9575b5038613395565b7f01ffc9a700000000000000000000000000000000000000000000000000000000915014386133d256fea26469706673582212202788794e18cfdb4184437e0af2e296378cbf485148eaed4a28853c3333839a9564736f6c634300080f0033d91b41ba85e0f04c71193a29c7dbc37a04aebede2332cfb97647622c051bc1cbb8185a2a38e4f2cde4446a34b6f25fd8e95fc9212ac6a26c20818a3741c3df99000000000000000000000000dab3a39668a77c12b9b3f0593ebc534d5e861d340000000000000000000000009cf7c2bd5eeffed4e0357dbc5b8f934e3045473b
Deployed Bytecode
0x60406080815260048036101561004e575b50361561001c57600080fd5b513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587490604090a1005b600090813560e01c908162fdd58e1461206d57816301ffc9a714611f9857816306fdde0314611eca5781630e89341c14611d7957816318160ddd14611d5a578163248a9ca314611d2e57816324d7806c14611cdc5781632a55205a14611c035781632eb2c2d6146117fe5781632f2ff15d1461174857816336568abe1461169b57816339f81d8b146116755781633ccfd60b146115375781633f4ba83a146114805781634af9345e146113225781634e1273f4146111ed5781635c975abb146111c95781635df4efa4146111a45781636605bfda146110f55781638456cb591461103b5781638bad0c0a14610fc35781638e47778914610f1e57816391d1485414610eca57816395cd0e8114610ddb57816395d89b4114610cc0578163a167440b14610ba6578163a217fddf14610b8b578163a22cb46514610a86578163a7f93ebd14610a62578163ad0be4bd146109be578163c1e037281461090d578163c5f956af146108d8578163d547741f14610898578163d607497a14610865578163e85b08ec1461079d578163e985e9c514610741578163eee401c2146106ef578163f242432a146102d0578163f4a0a52814610291575063f62824820361001057903461028d578160031936011261028d57818052600660205280822033835260205261023f60ff8284205416612829565b7fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416825551337f3bd0290aa5bdee095b875f32fb44e989ee9ef5ebdc67448948b768573d4632c58383a2f35b5080fd5b839150346102cc5760206003193601126102cc5782805260066020528183203384526020526102c560ff8385205416612829565b3560035551f35b8280fd5b82843461028d5760a060031936011261028d576102eb612096565b926102f46120be565b6044356064359160843567ffffffffffffffff81116106eb5761031a903690860161227c565b9073ffffffffffffffffffffffffffffffffffffffff8098169333851480156106cc575b156106635788821691610352831515612a69565b61035b85612c13565b5061036582612c13565b5060ff6005541661063b576103e98510156106285788998386600a9b98999a9b0191898354918216148061061e575b61039d90612ada565b600185146105f1575b509050878a518781528460208201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628c3392a43b6103e457848851f35b61043f946020948951968795869485937ff23a6e61000000000000000000000000000000000000000000000000000000009b8c86528d339087015260248601526044850152606484015260a0608484015260a4830190612116565b03925af18591816105c1575b50610523575050600161045c612b83565b6308c379a0146104ee575b61047957505b82808381808080848851f35b6104ea915191829162461bcd60e51b8352820160809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e74657200000000000000000000000060608201520190565b0390fd5b6104f6612ba1565b806105015750610467565b6104ea91506020935193849362461bcd60e51b85528401526024830190612116565b7fffffffff000000000000000000000000000000000000000000000000000000001603610550575061046d565b6104ea915191829162461bcd60e51b8352820160809060208152602860208201527f455243313135353a204552433131353552656365697665722072656a6563746560408201527f6420746f6b656e7300000000000000000000000000000000000000000000000060608201520190565b6105e391925060203d81116105ea575b6105db818361218b565b810190612b4b565b908661044b565b503d6105d1565b7fffffffffffffffffffffffff0000000000000000000000000000000000000000161790558a83816103a6565b5060028510610394565b602489603289634e487b7160e01b835252fd5b8688517f93577f15000000000000000000000000000000000000000000000000000000008152fd5b608486602089519162461bcd60e51b8352820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152fd5b508488526103f360205286882033895260205260ff878920541661033e565b8680fd5b83833461073e57602060031936011261073e578235926103e984101561072b5760208361072960ff87600a015460a01c1691518092612372565bf35b906032602492634e487b7160e01b835252fd5b80fd5b82843461028d578060031936011261028d5760ff81602093610761612096565b6107696120be565b73ffffffffffffffffffffffffffffffffffffffff91821683526103f3875283832091168252855220549151911615158152f35b82843461028d57602060031936011261028d576107b8612096565b916107ca6107c5846128a1565b6128fc565b9281600191829083549473ffffffffffffffffffffffffffffffffffffffff809216925b8681111561080f5787516020808252819061080b9082018c61233e565b0390f35b6103e98110156108525785848483600a01541614610837575b5061083290612874565b6107ee565b858261084761083294988d612958565b520194905085610828565b60248260328c634e487b7160e01b835252fd5b82843461028d578160031936011261028d5773ffffffffffffffffffffffffffffffffffffffff60209254169051908152f35b839150346102cc57816003193601126102cc576108d590356108b86120be565b9080855260066020526108d060018587200154612395565b612729565b51f35b82843461028d578160031936011261028d5760209073ffffffffffffffffffffffffffffffffffffffff600954169051908152f35b83833461073e57602060031936011261073e57823590806020845161093181612159565b82815201526103e98210156109ab5782519161094c83612159565b600a015460ff73ffffffffffffffffffffffffffffffffffffffff91828116855260a01c1660208401926007821015610998575082528351925116825251610729906020830190612372565b80602188634e487b7160e01b6024945252fd5b80603285634e487b7160e01b6024945252fd5b838092506003193601126102cc576109d4612096565b6024359161ffff8316808403610a5e576002548111610a36576109fe906109f96132e8565b6127af565b3403610a0f5750906108d591612c38565b83517f92c35a18000000000000000000000000000000000000000000000000000000008152fd5b5083517fed771b28000000000000000000000000000000000000000000000000000000008152fd5b8580fd5b82843461028d578160031936011261028d57602090610a7f6132e8565b9051908152f35b839150346102cc57816003193601126102cc57610aa1612096565b60243590811515809203610b875773ffffffffffffffffffffffffffffffffffffffff1691823314610b1e57503384526103f360205282842082855260205282842060ff1981541660ff831617905582519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a351f35b608490602085519162461bcd60e51b8352820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152fd5b8480fd5b82843461028d578160031936011261028d5751908152602090f35b839150346102cc57816003193601126102cc5767ffffffffffffffff92813584811161028d57610bd990369084016122c3565b9160243594851161028d573660238601121561028d57840135610bfb816121cc565b94610c088551968761218b565b81865260209160248388019160051b83010191368311610b8757602401905b828210610ca657505050818052600681528382209033835252610c4f60ff8483205416612829565b805b8251811015610ca15780610c9773ffffffffffffffffffffffffffffffffffffffff610c80610c9c9487612958565b511661ffff610c8f848a612958565b511690612c38565b612874565b610c51565b508251f35b813561ffff81168103610a5e578152908301908301610c27565b83833461073e578060031936011261073e57815191816103f680549360019085821c92828716968715610dd1575b6020978886108114610dbe57899a509789979886829b529182600014610d94575050600114610d39575b858861080b89610d2a848a038561218b565b51928284938452830190612116565b815286935091907fd91b41ba85e0f04c71193a29c7dbc37a04aebede2332cfb97647622c051bc1cb5b828410610d7c5750505082010181610d2a61080b88610d18565b8054848a018601528895508794909301928101610d62565b60ff19168882015294151560051b87019094019450859350610d2a925061080b9150899050610d18565b60248460228d634e487b7160e01b835252fd5b93607f1693610cee565b839150346102cc5760206003193601126102cc5780359073ffffffffffffffffffffffffffffffffffffffff8216809203610ec6578380526006602052828420338552602052610e3060ff8486205416612829565b83549060ff8260a01c1615610e9f5750817fd2ca50423ea73a82392039238291d6762a19f99b810b8f37a02505469d37446a927fffffffffffffffffffffffff00000000000000000000000000000000000000006060931617855583519080825260208201524284820152a151f35b83517f744e7a7c000000000000000000000000000000000000000000000000000000008152fd5b8380fd5b839150346102cc57816003193601126102cc578160209360ff92610eec6120be565b903582526006865273ffffffffffffffffffffffffffffffffffffffff83832091168252855220541690519015158152f35b83833461073e57602060031936011261073e578235906103e88211610f9b576103e98210156109ab5750600a015473ffffffffffffffffffffffffffffffffffffffff16908115610f73576020925051908152f35b9050517fb3d2f3f8000000000000000000000000000000000000000000000000000000008152fd5b5050517fb3d2f3f8000000000000000000000000000000000000000000000000000000008152fd5b82843461028d578160031936011261028d57818052600660205280822033835260205260ff8183205416610ff45751f35b818052600660205280822033835260205280822060ff1981541690553333837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b818551a451f35b839150346102cc57826003193601126102cc57828052600660205281832033845260205261106e60ff8385205416612829565b6005549060ff82166110b2575060ff1960019116176005557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25860208251338152a151f35b606490602084519162461bcd60e51b8352820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152fd5b839150346102cc5760206003193601126102cc5780359073ffffffffffffffffffffffffffffffffffffffff8216809203610ec657838052600660205282842033855260205261114a60ff8486205416612829565b811561117d57507fffffffffffffffffffffffff0000000000000000000000000000000000000000600954161760095551f35b82517f52d2cf32000000000000000000000000000000000000000000000000000000008152fd5b82843461028d578160031936011261028d5760ff6020925460a01c1690519015158152f35b82843461028d578160031936011261028d5760209060ff6005541690519015158152f35b83833461073e578160031936011261073e5767ffffffffffffffff83358181116102cc5761121e90369086016122c3565b906024359081116102cc5761123690369086016121e4565b9381518551036112b9575061124b81516128fc565b915b81518110156112a4578061128f73ffffffffffffffffffffffffffffffffffffffff61127c61129f9486612958565b51166112888389612958565b519061296c565b6112998286612958565b52612874565b61124d565b83516020808252819061080b9082018661233e565b608490602085519162461bcd60e51b8352820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152fd5b839150346102cc57602080600319360112610ec6578135906bffffffffffffffffffffffff821690818303610a5e5785805260068152848620338752815261136f60ff8688205416612829565b73ffffffffffffffffffffffffffffffffffffffff600954169361271083116114195784156113d85750907fffffffffffffffffffffffff0000000000000000000000000000000000000000929185516113c881612159565b858152015260a01b161760075551f35b60649186519162461bcd60e51b8352820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152fd5b60849186519162461bcd60e51b8352820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152fd5b839150346102cc57826003193601126102cc5782805260066020528183203384526020526114b360ff8385205416612829565b6005549060ff8216156114f4575060ff19166005557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa60208251338152a151f35b606490602084519162461bcd60e51b8352820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152fd5b839150346102cc57826003193601126102cc57828052600660205281832033845260205261156a60ff8385205416612829565b73ffffffffffffffffffffffffffffffffffffffff60095416478047106116325784809281928651915af13d1561162d573d6115a581612242565b906115b28551928361218b565b81528460203d92013e5b156115c5575051f35b6020608492519162461bcd60e51b8352820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152fd5b6115bc565b606483602086519162461bcd60e51b8352820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152fd5b82843461028d57602060031936011261028d57602090610a7f611696612096565b6128a1565b839150346102cc57816003193601126102cc576116b66120be565b903373ffffffffffffffffffffffffffffffffffffffff8316036116df57906108d59135612729565b608490602084519162461bcd60e51b8352820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152fd5b839150346102cc57816003193601126102cc57356117646120be565b818452600660205261177b60018486200154612395565b818452600660205273ffffffffffffffffffffffffffffffffffffffff83852091169081855260205260ff8385205416156117b557505051f35b8184526006602052828420818552602052828420600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d858551a451f35b82843461028d576003199060a0823601126102cc5761181b612096565b6118236120be565b9367ffffffffffffffff9060443582811161028d5761184590369089016121e4565b6064358381116102cc5761185c9036908a016121e4565b926084359081116102cc576118749036908a0161227c565b9473ffffffffffffffffffffffffffffffffffffffff809516963388148015611be4575b15611b7b578251855103611b1257858916966118b5881515612a69565b60ff60055416611aea57845b845181101561197a576118d48186612958565b516103e981101561196757600a01805461191e9291908b90611903818d168f14858d82611950575b5050612ada565b600161190f858d612958565b5114611923575b505050612874565b6118c1565b7fffffffffffffffffffffffff0000000000000000000000000000000000000000161790558d8a81611916565b600292509061195e91612958565b5110858d6118fc565b60248760328f634e487b7160e01b835252fd5b50889294958b9489928c84878a518b81527f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb6119b88d83018861233e565b918083036020820152806119cd33948b61233e565b0390a43b6119da57888851f35b875194859384937fbc197c810000000000000000000000000000000000000000000000000000000098898652338b87015260248601526044850160a0905260a48501611a259161233e565b82858203016064860152611a389161233e565b90838203016084840152611a4b91612116565b0381885a94602095f1859181611aca575b50611a9d5750506001611a6d612b83565b6308c379a014611a8a575b61047957505b82808080808080888851f35b611a92612ba1565b806105015750611a78565b7fffffffff0000000000000000000000000000000000000000000000000000000016036105505750611a7e565b611ae391925060203d81116105ea576105db818361218b565b9086611a5c565b8a83517f93577f15000000000000000000000000000000000000000000000000000000008152fd5b60848a602084519162461bcd60e51b8352820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152fd5b60848a602084519162461bcd60e51b8352820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152fd5b508784526103f360205281842033855260205260ff8285205416611898565b839150346102cc57816003193601126102cc5791819235815260086020522090805191611c2f83612159565b549173ffffffffffffffffffffffffffffffffffffffff908184169384825260a01c60208201529215611cb4575b61080b90612710611c826bffffffffffffffffffffffff6020870151166024356127af565b049351169151928392836020909392919373ffffffffffffffffffffffffffffffffffffffff60408201951681520152565b915061080b8151611cc481612159565b600754848116825260a01c6020820152929050611c5d565b82843461028d57602060031936011261028d5760ff81602093611cfd612096565b8180526006865273ffffffffffffffffffffffffffffffffffffffff83832091168252855220541690519015158152f35b839150346102cc5760206003193601126102cc5781602093600192358152600685522001549051908152f35b82843461028d578160031936011261028d576020906001549051908152f35b905082346102cc5760209182600319360112610ec657803573ffffffffffffffffffffffffffffffffffffffff91828654166103e9831015611eb7578291606491611e078995600a0154885197889687957fdb792ccd0000000000000000000000000000000000000000000000000000000087528601528116602485015260ff604485019160a01c16612372565b5afa938415611eac578094611e2c575b505061080b9051928284938452830190612116565b909193503d8082843e611e3f818461218b565b820191838184031261028d5780519067ffffffffffffffff82116102cc570182601f8201121561028d57805191611e7583612242565b93611e828751958661218b565b83855285848401011161073e57508291611ea491858061080b960191016120e1565b929084611e17565b8251903d90823e3d90fd5b602487603284634e487b7160e01b835252fd5b83833461073e578060031936011261073e57815191816103f580549360019085821c92828716968715611f8e575b6020978886108114610dbe57899a509789979886829b529182600014610d94575050600114611f3357858861080b89610d2a848a038561218b565b815286935091907fb8185a2a38e4f2cde4446a34b6f25fd8e95fc9212ac6a26c20818a3741c3df995b828410611f765750505082010181610d2a61080b88610d18565b8054848a018601528895508794909301928101611f5c565b93607f1693611ef8565b839150346102cc5760206003193601126102cc5735907fffffffff00000000000000000000000000000000000000000000000000000000821691828103610ec657602093507fd9b67a26000000000000000000000000000000000000000000000000000000008314928315612043575b508215612032575b8215612020575b50519015158152f35b61202b919250613348565b9083612017565b915061203d82613348565b91612010565b7f0e89341c0000000000000000000000000000000000000000000000000000000014925084612008565b82843461028d578060031936011261028d57602090610a7f61208d612096565b6024359061296c565b6004359073ffffffffffffffffffffffffffffffffffffffff821682036120b957565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff821682036120b957565b918091926000905b8282106121015750116120fa575050565b6000910152565b915080602091830151818601520182916120e9565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602093612152815180928187528780880191016120e1565b0116010190565b6040810190811067ffffffffffffffff82111761217557604052565b634e487b7160e01b600052604160045260246000fd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761217557604052565b67ffffffffffffffff81116121755760051b60200190565b81601f820112156120b9578035916121fb836121cc565b92612209604051948561218b565b808452602092838086019260051b8201019283116120b9578301905b828210612233575050505090565b81358152908301908301612225565b67ffffffffffffffff811161217557601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b81601f820112156120b95780359061229382612242565b926122a1604051948561218b565b828452602083830101116120b957816000926020809301838601378301015290565b81601f820112156120b9578035916122da836121cc565b926122e8604051948561218b565b808452602092838086019260051b8201019283116120b9578301905b828210612312575050505090565b813573ffffffffffffffffffffffffffffffffffffffff811681036120b9578152908301908301612304565b90815180825260208080930193019160005b82811061235e575050505090565b835185529381019392810192600101612350565b90600782101561237f5752565b634e487b7160e01b600052602160045260246000fd5b60009080825260209060068252604092838120338252835260ff8482205416156123bf5750505050565b83519167ffffffffffffffff90336060850183811186821017612715578752602a8552858501918736843785511561270157603083538551916001928310156126ed576078602188015360295b83811161265857506126165790875193608085019085821090821117612602578852604284528684019460603687378451156125ee576030865384518210156125ee5790607860218601536041915b81831161255557505050612513576104ea9386936124f7936124e86048946124b39a519a8b957f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008c88015251809260378801906120e1565b8401917f206973206d697373696e6720726f6c65200000000000000000000000000000006037840152518093868401906120e1565b0103602881018752018561218b565b5192839262461bcd60e51b845260048401526024830190612116565b60648587519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f811660108110156125da577f3031323334353637383961626364656600000000000000000000000000000000901a6125928588612802565b5360041c9280156125c6577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01919061245b565b602482634e487b7160e01b81526011600452fd5b602483634e487b7160e01b81526032600452fd5b80634e487b7160e01b602492526032600452fd5b602486634e487b7160e01b81526041600452fd5b60648789519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b90600f811660108110156126d9577f3031323334353637383961626364656600000000000000000000000000000000901a612693838a612802565b5360041c9080156126c5577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0161240c565b602487634e487b7160e01b81526011600452fd5b602488634e487b7160e01b81526032600452fd5b602486634e487b7160e01b81526032600452fd5b602485634e487b7160e01b81526032600452fd5b602485634e487b7160e01b81526041600452fd5b90600091808352600660205273ffffffffffffffffffffffffffffffffffffffff6040842092169182845260205260ff60408420541661276857505050565b8083526006602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b3393604051a4565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211811515166127e0570290565b634e487b7160e01b600052601160045260246000fd5b811981116127e0570190565b908151811015612813570160200190565b634e487b7160e01b600052603260045260246000fd5b1561283057565b606460405162461bcd60e51b815260206004820152601560248201527f5265737472696374656420746f2061646d696e732e00000000000000000000006044820152fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146127e05760010190565b600090815b6103e981106128b457505090565b73ffffffffffffffffffffffffffffffffffffffff8082600a015416908316146128e7575b6128e290612874565b6128a6565b916128f46128e291612874565b9290506128d9565b90612906826121cc565b612913604051918261218b565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe061294182946121cc565b0190602036910137565b8051156128135760200190565b80518210156128135760209160051b010190565b73ffffffffffffffffffffffffffffffffffffffff8091169182156129ff576103e88110156129bb576103e981101561281357600a015416146000906000146129b55750600190565b60ff1690565b606460405162461bcd60e51b815260206004820152601c60248201527f45524331313535443a2069642065786365656473206d6178696d756d000000006044820152fd5b608460405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152fd5b15612a7057565b608460405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152fd5b15612ae157565b608460405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152fd5b908160209103126120b957517fffffffff00000000000000000000000000000000000000000000000000000000811681036120b95790565b60009060033d11612b9057565b905060046000803e60005160e01c90565b600060443d10612bff5760405160031991823d016004833e815167ffffffffffffffff918282113d602484011117612c0257818401948551938411612c0a573d85010160208487010111612c025750612bff9291016020019061218b565b90565b949350505050565b50949350505050565b60405190612c2082612159565b6001825260203681840137612c348261294b565b5290565b919060019081549361ffff809216916103e89182612c5685896127f6565b116132be578387018555845b84811115612c74575050505050509050565b82612c7f828a6127f6565b1684810361306c576103e98110156130575780600a01740600000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8254161790555b60409081519160209081840184811067ffffffffffffffff82111761304257815260009384815273ffffffffffffffffffffffffffffffffffffffff8716948515612fd957898511612f9657612d2885612c13565b508b612d468451612d3881612159565b82815286368183013761294b565b5260ff60055416612f6d576103e98510156125ee578b9085600a01877fffffffffffffffffffffffff00000000000000000000000000000000000000008254161790558681855188815284888201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62873392a4883b612dfe575b505050612df9949392917f9d228d69b5fdb8d273a2336f8fb8612d039631024ea9bf09c424a9503aa078f091519283523392a3612874565b612c62565b83517ff23a6e610000000000000000000000000000000000000000000000000000000090818152868180612e57600498338a840152602498888a8501528d6044850152606484015260a0608484015260a4830190612116565b0381868d5af1839181612f4e575b50612ef45750508c91612e76612b83565b6308c379a014612ebf575b50506104795750612df9949392917f9d228d69b5fdb8d273a2336f8fb8612d039631024ea9bf09c424a9503aa078f0915b9150919293948a38612dc1565b612ec7612ba1565b9182612ed35750612e81565b6104ea9350948695505194859462461bcd60e51b8652850152830190612116565b7fffffffff000000000000000000000000000000000000000000000000000000001603915061055090505750612df9949392917f9d228d69b5fdb8d273a2336f8fb8612d039631024ea9bf09c424a9503aa078f091612eb2565b612f66919250883d8a116105ea576105db818361218b565b9038612e65565b600483517f93577f15000000000000000000000000000000000000000000000000000000008152fd5b60648484519062461bcd60e51b82526004820152601460248201527f45524331313535443a20696e76616c69642069640000000000000000000000006044820152fd5b60848484519062461bcd60e51b82526004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152fd5b60246000634e487b7160e01b81526041600452fd5b60246000634e487b7160e01b81526032600452fd5b6064810684166130c6576103e98110156130575780600a01740500000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055612cd3565b604080516020810190606033811b835241901b603482015244604882015260684281830152815260a0810181811067ffffffffffffffff82111761304257889352519020067ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81116132a95760329088018181116131a557506103e9821015613190575080600a01740400000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055612cd3565b602490600090634e487b7160e01b8252600452fd5b60c881116131ff57506103e9821015613190575080600a01740300000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055612cd3565b6101f410613258576103e9821015613190575080600a01740200000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055612cd3565b6103e9821015613190575080600a01740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055612cd3565b60246000634e487b7160e01b81526011600452fd5b60046040517f806ea0f5000000000000000000000000000000000000000000000000000000008152fd5b62093a809060035490600091826004805492834210968794420304935b613335578386101561332b5761331e81613324926127af565b95612874565b9486613305565b9450505050915090565b602483601184634e487b7160e01b835252fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f2a55205a0000000000000000000000000000000000000000000000000000000081149081156133a6575b508080156133a1575090565b905090565b7f7965db0b000000000000000000000000000000000000000000000000000000008114915081156133d9575b5038613395565b7f01ffc9a700000000000000000000000000000000000000000000000000000000915014386133d256fea26469706673582212202788794e18cfdb4184437e0af2e296378cbf485148eaed4a28853c3333839a9564736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000dab3a39668a77c12b9b3f0593ebc534d5e861d340000000000000000000000009cf7c2bd5eeffed4e0357dbc5b8f934e3045473b
-----Decoded View---------------
Arg [0] : defaultTreasury (address): 0xDAb3A39668a77C12B9B3f0593ebc534d5E861d34
Arg [1] : render_ (address): 0x9cF7c2Bd5eEfFED4E0357DbC5B8F934E3045473b
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000dab3a39668a77c12b9b3f0593ebc534d5e861d34
Arg [1] : 0000000000000000000000009cf7c2bd5eeffed4e0357dbc5b8f934e3045473b
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.