ERC-1155
NFT
Overview
Max Total Supply
170 OZ
Holders
170
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:
OzV2
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; import "@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "./DefaultOperatorFilterer.sol"; import "./ERC1155CollectionBase.sol"; import "hardhat/console.sol"; // ▄▄▄ ██▓ ██▓ ██▓▄▄▄█████▓ ▄▄▄█████▓ ▄▄▄ ██ ▄█▀▓█████ ██████ // ▒████▄ ▓██▒ ▓██▒ ▓██▒▓ ██▒ ▓▒ ▓ ██▒ ▓▒▒████▄ ██▄█▒ ▓█ ▀ ▒██ ▒ // ▒██ ▀█▄ ▒██░ ▒██░ ▒██▒▒ ▓██░ ▒░ ▒ ▓██░ ▒░▒██ ▀█▄ ▓███▄░ ▒███ ░ ▓██▄ // ░██▄▄▄▄██ ▒██░ ▒██░ ░██░░ ▓██▓ ░ ░ ▓██▓ ░ ░██▄▄▄▄██ ▓██ █▄ ▒▓█ ▄ ▒ ██▒ // ▓█ ▓██▒░██████▒░██████▒ ░██░ ▒██▒ ░ ▒██▒ ░ ▓█ ▓██▒▒██▒ █▄░▒████▒▒██████▒▒ // ▒▒ ▓▒█░░ ▒░▓ ░░ ▒░▓ ░ ░▓ ▒ ░░ ▒ ░░ ▒▒ ▓▒█░▒ ▒▒ ▓▒░░ ▒░ ░▒ ▒▓▒ ▒ ░ // ▒ ▒▒ ░░ ░ ▒ ░░ ░ ▒ ░ ▒ ░ ░ ░ ▒ ▒▒ ░░ ░▒ ▒░ ░ ░ ░░ ░▒ ░ ░ // ░ ▒ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ▒ ░ ░░ ░ ░ ░ ░ ░ // ░ ░ ░ ░ ░ ░ ░ ░ ░░ ░ ░ ░ ░ // ██▓ ██████ ▒█████ ███▄ █ ▓█████ ▄▄▄█████▓ ██▀███ ▄▄▄ ▓█████▄ ▓█████ // ▓██▒▒██ ▒ ▒██▒ ██▒ ██ ▀█ █ ▓█ ▀ ▓ ██▒ ▓▒▓██ ▒ ██▒▒████▄ ▒██▀ ██▌▓█ ▀ // ▒██▒░ ▓██▄ ▒██░ ██▒▓██ ▀█ ██▒▒███ ▒ ▓██░ ▒░▓██ ░▄█ ▒▒██ ▀█▄ ░██ █▌▒███ // ░██░ ▒ ██▒ ▒██ ██░▓██▒ ▐▌██▒▒▓█ ▄ ░ ▓██▓ ░ ▒██▀▀█▄ ░██▄▄▄▄██ ░▓█▄ ▌▒▓█ ▄ // ░██░▒██████▒▒ ░ ████▓▒░▒██░ ▓██░░▒████▒ ▒██▒ ░ ░██▓ ▒██▒ ▓█ ▓██▒░▒████▓ ░▒████▒ // ░▓ ▒ ▒▓▒ ▒ ░ ░ ▒░▒░▒░ ░ ▒░ ▒ ▒ ░░ ▒░ ░ ▒ ░░ ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░ ▒▒▓ ▒ ░░ ▒░ ░ // ▒ ░░ ░▒ ░ ░ ░ ▒ ▒░ ░ ░░ ░ ▒░ ░ ░ ░ ░ ░▒ ░ ▒░ ▒ ▒▒ ░ ░ ▒ ▒ ░ ░ ░ // ▒ ░░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░░ ░ ░ ▒ ░ ░ ░ ░ // ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ // ░ contract OzV2 is ERC1155, ERC1155CollectionBase, DefaultOperatorFilterer { address public OZ_V1_ADDRESS; mapping(address => bool) freezeList; string public name = "OzDAO"; string public symbol = "OZ"; constructor(address signingAddress_, address _ozV1Address) ERC1155("") { _initialize( // total supply 500, // total supply available to purchase 500, 0, // purchase limit (0 for no limit) 0, // transaction limit (0 for no limit) 0, 0, // presale limit (unused but 0 for no limit) 0, signingAddress_, // use dynamic presale purchase limit true ); OZ_V1_ADDRESS = _ozV1Address; _setURI("https://ozdao.art/"); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, ERC1155CollectionBase) returns (bool) { return ERC1155CollectionBase.supportsInterface(interfaceId) || ERC1155.supportsInterface(interfaceId) || AdminControl.supportsInterface(interfaceId); } /** * @dev See {IERC1155Collection-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { return ERC1155.balanceOf(owner, TOKEN_ID); } /** * @dev See {IERC1155Collection-balanceOf}. */ function balanceOf(address owner, uint256 _tokenId) public view virtual override returns (uint256) { return ERC1155.balanceOf(owner, _tokenId); } /** * @dev See {IERC1155Collection-withdraw}. */ function withdraw(address payable recipient, uint256 amount) external override adminRequired { _withdraw(recipient, amount); } function exchange(uint16 tokenId) external { ERC1155(OZ_V1_ADDRESS).safeTransferFrom( msg.sender, address(0x000000000000000000000000000000000000dEaD), tokenId, 1, "" ); _mint(msg.sender, tokenId, 1, ""); } function uri(uint256 _id) public view virtual override returns (string memory) { require(TOKEN_ID >= _id, "Token ID does not exist"); return string(abi.encodePacked(baseMetadataURI, Strings.toString(_id))); } /** * @dev See {IERC1155Collection-activate}. */ function activate() external override adminRequired { _activate(); } /** * @dev See {IERC1155Collection-deactivate}. */ function deactivate() external override adminRequired { _deactivate(); } /** * @dev See {IERC1155Collection-setCollectionURI}. */ function setCollectionURI(string calldata uri) external override adminRequired { _setURI(uri); } /** * @dev See {ERC1155CollectionBase-_mint}. */ function _mintERC1155(address to, uint16 amount) internal virtual override { ERC1155._mint(to, TOKEN_ID, amount, ""); } function setFreezeList(address _address, bool _freeze) external adminRequired { freezeList[_address] = _freeze; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); require( !freezeList[from], "Transfers of the pass are frozen for this address" ); } /** * @dev Update royalties */ function updateRoyalties(address payable recipient, uint256 bps) external adminRequired { _updateRoyalties(recipient, bps); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function safeTransferFrom( address from, address to, uint256 tokenId, uint256 amount, bytes memory data ) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, amount, data); } function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override onlyAllowedOperator(from) { super.safeBatchTransferFrom(from, to, ids, amounts, data); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/Strings.sol"; import "@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol"; import "./IERC1155Collection.sol"; import "./CollectionBase.sol"; /** * ERC1155 Collection Drop Contract (Base) */ abstract contract ERC1155CollectionBase is CollectionBase, IERC1155Collection, AdminControl { // Token ID to mint uint16 internal TOKEN_ID = 175; uint16 internal MAX_SUPPLY_MINT = 325; // Immutable variables that should only be set by the constructor or initializer uint16 public transactionLimit; uint16 public purchaseMax; uint16 public purchaseLimit; uint256 public purchasePrice; uint16 public presalePurchaseLimit; uint256 public presalePurchasePrice; uint16 public maxSupply; bool public useDynamicPresalePurchaseLimit; // Mutable mint state uint16 public purchaseCount; uint16 public reserveCount; mapping(address => uint16) private _mintCount; // Royalty uint256 private _royaltyBps; address payable private _royaltyRecipient; bytes4 private constant _INTERFACE_ID_ROYALTIES_CREATORCORE = 0xbb3bafd6; bytes4 private constant _INTERFACE_ID_ROYALTIES_EIP2981 = 0x2a55205a; bytes4 private constant _INTERFACE_ID_ROYALTIES_RARIBLE = 0xb7799584; // Transfer lock bool public transferLocked; /** * Initializer */ function _initialize(uint16 maxSupply_, uint16 purchaseMax_, uint256 purchasePrice_, uint16 purchaseLimit_, uint16 transactionLimit_, uint256 presalePurchasePrice_, uint16 presalePurchaseLimit_, address signingAddress_, bool useDynamicPresalePurchaseLimit_) internal { require(_signingAddress == address(0), "Already initialized"); require(maxSupply_ >= purchaseMax_, "Invalid input"); maxSupply = maxSupply_; purchaseMax = purchaseMax_; purchasePrice = purchasePrice_; purchaseLimit = purchaseLimit_; transactionLimit = transactionLimit_; presalePurchaseLimit = presalePurchaseLimit_; presalePurchasePrice = presalePurchasePrice_; _signingAddress = signingAddress_; useDynamicPresalePurchaseLimit = useDynamicPresalePurchaseLimit_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, AdminControl) returns (bool) { return interfaceId == type(IERC1155Collection).interfaceId ||interfaceId == _INTERFACE_ID_ROYALTIES_CREATORCORE || interfaceId == _INTERFACE_ID_ROYALTIES_EIP2981 || interfaceId == _INTERFACE_ID_ROYALTIES_RARIBLE; } /** * @dev See {IERC1155Collection-purchase}. */ function purchase(uint16 amount) external virtual override adminRequired { _validatePurchaseRestrictions(); _validatePrice(amount); for(uint i = 0; i < amount; i++) { require(TOKEN_ID < MAX_SUPPLY_MINT, "Public mint limit reached"); _mint(msg.sender, 1); TOKEN_ID++; } } /** * @dev See {IERC1155Collection-state} */ function state() external override view returns (CollectionState memory) { // No message sender, no purchase balance uint16 balance = msg.sender == address(0) ? 0 : uint16(_getMintBalance()); return CollectionState(transactionLimit, purchaseMax, purchaseRemaining(), purchasePrice, purchaseLimit, presalePurchasePrice, presalePurchaseLimit, balance, active, startTime, endTime, presaleInterval, claimStartTime, claimEndTime, useDynamicPresalePurchaseLimit); } /** * @dev Get balance of address. Similar to IERC1155-balanceOf, but doesn't require token ID * @param owner The address to get the token balance of */ function balanceOf(address owner) public virtual override view returns (uint256); /** * @dev See {IERC1155Collection-purchaseRemaining}. */ function purchaseRemaining() public virtual override view returns (uint16) { return purchaseMax - purchaseCount; } /** * Mint function internal to ERC1155CollectionBase to keep track of state */ function _mint(address to, uint16 amount) internal { purchaseCount += amount; _mintERC1155(to, amount); } /** * @dev A _mint function is required that calls the underlying ERC1155 mint. */ function _mintERC1155(address to, uint16 amount) internal virtual; /** * Validate price (override for custom pricing mechanics) */ function _validatePrice(uint16 amount) internal { require(msg.value == amount * purchasePrice, "Invalid purchase amount sent"); } /** * Validate price (override for custom pricing mechanics) */ function _validatePresalePrice(uint16 amount) internal virtual { require(msg.value == amount * presalePurchasePrice, "Invalid purchase amount sent"); } /** * If enabled, lock token transfers until after the sale has ended. * * This helps enforce purchase limits, so someone can't buy -> transfer -> buy again * while the token is minting. */ function _validateTokenTransferability() internal view { require(!transferLocked, "Transfer locked"); } /** * Set whether or not token transfers are locked till end of sale */ function _setTransferLocked(bool locked) internal { transferLocked = locked; } /** * @dev Update royalties */ function _updateRoyalties(address payable recipient, uint256 bps) internal { _royaltyRecipient = recipient; _royaltyBps = bps; } /** * @dev Return mint count or balanceOf */ function _getMintBalance() internal view returns (uint256) { uint256 balance; if (_shouldUseMintCount()) { balance = _mintCount[msg.sender]; } else { balance = balanceOf(msg.sender); } return balance; } /** * @dev Return whether to use our own mint count vs balanceOf. * * Tokens minted via `premint` and `claim`, for example, don't affect mint count. */ function _shouldUseMintCount() internal view returns (bool) { return !transferLocked && (purchaseLimit > 0 || presalePurchaseLimit > 0); } }
// 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(int256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int256)", p0)); } function logUint(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256)", 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(uint256 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256)", 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(uint256 p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1)); } function log(uint256 p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1)); } function log(uint256 p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1)); } function log(uint256 p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1)); } function log(string memory p0, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256)", 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, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", 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, uint256 p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256)", 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(uint256 p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2)); } function log(uint256 p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2)); } function log(uint256 p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2)); } function log(uint256 p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2)); } function log(uint256 p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2)); } function log(uint256 p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2)); } function log(uint256 p0, bool p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2)); } function log(uint256 p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2)); } function log(uint256 p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2)); } function log(uint256 p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2)); } function log(uint256 p0, address p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2)); } function log(uint256 p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2)); } function log(uint256 p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2)); } function log(uint256 p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2)); } function log(string memory p0, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2)); } function log(string memory p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2)); } function log(string memory p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2)); } function log(string memory p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", 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, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2)); } function log(bool p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2)); } function log(bool p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2)); } function log(bool p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", 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, uint256 p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2)); } function log(address p0, uint256 p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2)); } function log(address p0, uint256 p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2)); } function log(address p0, uint256 p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", 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, uint256 p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", 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(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3)); } function log(uint256 p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", 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, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", 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, uint256 p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint256 p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", 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, uint256 p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint256 p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", 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, uint256 p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", 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 pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./IAdminControl.sol"; abstract contract AdminControl is Ownable, IAdminControl, ERC165 { using EnumerableSet for EnumerableSet.AddressSet; // Track registered admins EnumerableSet.AddressSet private _admins; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IAdminControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Only allows approved admins to call the specified function */ modifier adminRequired() { require(owner() == msg.sender || _admins.contains(msg.sender), "AdminControl: Must be owner or admin"); _; } /** * @dev See {IAdminControl-getAdmins}. */ function getAdmins() external view override returns (address[] memory admins) { admins = new address[](_admins.length()); for (uint i = 0; i < _admins.length(); i++) { admins[i] = _admins.at(i); } return admins; } /** * @dev See {IAdminControl-approveAdmin}. */ function approveAdmin(address admin) external override onlyOwner { if (!_admins.contains(admin)) { emit AdminApproved(admin, msg.sender); _admins.add(admin); } } /** * @dev See {IAdminControl-revokeAdmin}. */ function revokeAdmin(address admin) external override onlyOwner { if (_admins.contains(admin)) { emit AdminRevoked(admin, msg.sender); _admins.remove(admin); } } /** * @dev See {IAdminControl-isAdmin}. */ function isAdmin(address admin) public override view returns (bool) { return (owner() == admin || _admins.contains(admin)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; import "../../utils/Strings.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // URI's default URI prefix string internal baseMetadataURI; /***********************************| | Metadata Public Function s | |__________________________________*/ /** * @notice A distinct Uniform Resource Identifier (URI) for a given token. * @dev URIs are defined in RFC 3986. * URIs are assumed to be deterministically generated based on token ID * Token IDs are assumed to be represented in their hex format in URIs * @return URI string */ function uri(uint256 _id) public view virtual override returns (string memory) { return string(abi.encodePacked(baseMetadataURI, Strings.toString(_id), ".json")); } /***********************************| | Metadata Internal Functions | |__________________________________*/ /** * @notice Will emit default URI log event for corresponding token _id * @param _tokenIDs Array of IDs of tokens to log default URI */ function _logURIs(uint256[] memory _tokenIDs) internal { string memory baseURL = baseMetadataURI; string memory tokenURI; for (uint256 i = 0; i < _tokenIDs.length; i++) { tokenURI = string(abi.encodePacked(baseURL, Strings.toString(_tokenIDs[i]), ".json")); emit URI(tokenURI, _tokenIDs[i]); } } /** * @notice Will emit a specific URI log event for corresponding token * @param _tokenIDs IDs of the token corresponding to the _uris logged * @param _URIs The URIs of the specified _tokenIDs */ function _logURIs(uint256[] memory _tokenIDs, string[] memory _URIs) internal { require(_tokenIDs.length == _URIs.length, "ERC1155Metadata#_logURIs: INVALID_ARRAYS_LENGTH"); for (uint256 i = 0; i < _tokenIDs.length; i++) { emit URI(_URIs[i], _tokenIDs[i]); } } /** * @notice Will update the base URL of token's URI * @param _newBaseMetadataURI New base URL of token's URI */ function _setBaseMetadataURI(string memory _newBaseMetadataURI) internal { baseMetadataURI = _newBaseMetadataURI; } /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } // /** // * @dev See {IERC1155MetadataURI-uri}. // * // * This implementation returns the same URI for *all* token types. It relies // * on the token type ID substitution mechanism // * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. // * // * Clients calling this function must replace the `\{id\}` substring with the // * actual token type ID. // */ // function uri(uint256 tokenId) public view virtual override returns (string memory) { // return string(abi.encodePacked(_uri, Strings.toString(tokenId), ".json")); // } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { baseMetadataURI = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // @author: manifold.xyz import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "./ICollectionBase.sol"; /** * @dev ERC1155 Collection Interface */ interface IERC1155Collection is ICollectionBase, IERC165 { struct CollectionState { uint16 transactionLimit; uint16 purchaseMax; uint16 purchaseRemaining; uint256 purchasePrice; uint16 purchaseLimit; uint256 presalePurchasePrice; uint16 presalePurchaseLimit; uint16 purchaseCount; bool active; uint256 startTime; uint256 endTime; uint256 presaleInterval; uint256 claimStartTime; uint256 claimEndTime; bool useDynamicPresalePurchaseLimit; } /** * @dev Activates the contract. */ function activate() external; /** * @dev Deactivate the contract */ function deactivate() external; /** * @dev Purchase - mint with validation. * @param amount The number of tokens to mint. */ function purchase(uint16 amount) external; /** * @dev Set the URI for the metadata for the collection. * @param uri The metadata URI. */ function setCollectionURI(string calldata uri) external; /** * @dev returns the collection state */ function state() external view returns (CollectionState memory); /** * @dev Total amount of tokens remaining for the given token id. */ function purchaseRemaining() external view returns (uint16); /** * @dev Withdraw funds (requires contract admin). * @param recipient The address to withdraw funds to * @param amount The amount to withdraw */ function withdraw(address payable recipient, uint256 amount) external; /** * @dev Get balance of address. Similar to IERC1155-balanceOf, but doesn't require token ID * @param owner The address to get the token balance of */ function balanceOf(address owner) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./ICollectionBase.sol"; /** * Collection Drop Contract (Base) */ abstract contract CollectionBase is ICollectionBase { using ECDSA for bytes32; using Strings for uint256; // Immutable variables that should only be set by the constructor or initializer address internal _signingAddress; // Message nonces mapping(bytes32 => bool) private _usedNonces; // Sale start/end control bool public active; uint256 public startTime; uint256 public endTime; uint256 public presaleInterval; // Claim period start/end control uint256 public claimStartTime; uint256 public claimEndTime; /** * Withdraw funds */ function _withdraw(address payable recipient, uint256 amount) internal { (bool success,) = recipient.call{value:amount}(""); require(success); } /** * Activate the sale */ function _activate() internal virtual { require(!active, "Already active"); active = true; } /** * Deactivate the sale */ function _deactivate() internal virtual { startTime = 0; endTime = 0; active = false; claimStartTime = 0; claimEndTime = 0; emit CollectionDeactivated(); } function _getNonceBytes32(string memory nonce) internal pure returns(bytes32 nonceBytes32) { bytes memory nonceBytes = bytes(nonce); require(nonceBytes.length <= 32, "Invalid nonce"); assembly { nonceBytes32 := mload(add(nonce, 32)) } } /** * Validate claim signature */ function _validateClaimRequest(bytes32 message, bytes calldata signature, string calldata nonce, uint16 amount) internal virtual { _validatePurchaseRequestWithAmount(message, signature, nonce, amount); } /** * Validate claim restrictions */ function _validateClaimRestrictions() internal virtual { require(active, "Inactive"); // require(block.timestamp >= claimStartTime && block.timestamp <= claimEndTime, "Outside claim period."); } /** * Validate purchase signature */ function _validatePurchaseRequest(bytes32 message, bytes calldata signature, string calldata nonce) internal virtual { // Verify nonce usage/re-use bytes32 nonceBytes32 = _getNonceBytes32(nonce); require(!_usedNonces[nonceBytes32], "Cannot replay transaction"); // Verify valid message based on input variables bytes32 expectedMessage = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", (20+bytes(nonce).length).toString(), msg.sender, nonce)); require(message == expectedMessage, "Malformed message"); // Verify signature was performed by the expected signing address address signer = message.recover(signature); require(signer == _signingAddress, "Invalid signature"); _usedNonces[nonceBytes32] = true; } /** * Validate purchase signature with amount */ function _validatePurchaseRequestWithAmount(bytes32 message, bytes calldata signature, string calldata nonce, uint16 amount) internal virtual { // Verify nonce usage/re-use bytes32 nonceBytes32 = _getNonceBytes32(nonce); require(!_usedNonces[nonceBytes32], "Cannot replay transaction"); // Verify valid message based on input variables bytes32 expectedMessage = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", (20+bytes(nonce).length+bytes(uint256(amount).toString()).length).toString(), msg.sender, nonce, uint256(amount).toString())); require(message == expectedMessage, "Malformed message"); // Verify signature was performed by the expected signing address address signer = message.recover(signature); require(signer == _signingAddress, "Invalid signature"); _usedNonces[nonceBytes32] = true; } /** * Perform purchase restriciton checks. Override if more logic is needed */ function _validatePurchaseRestrictions() internal virtual { require(active, "Inactive"); // require(block.timestamp >= startTime, "Purchasing not active"); } /** * @dev See {ICollectionBase-nonceUsed}. */ function nonceUsed(string memory nonce) external view override returns(bool) { bytes32 nonceBytes32 = _getNonceBytes32(nonce); return _usedNonces[nonceBytes32]; } /** * @dev Check if currently in presale */ function _isPresale() internal view returns (bool) { return block.timestamp > startTime && block.timestamp - startTime < presaleInterval; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @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); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: manifold.xyz /** * @dev Collection Interface */ interface ICollectionBase { event CollectionActivated(uint256 startTime, uint256 endTime, uint256 presaleInterval, uint256 claimStartTime, uint256 claimEndTime); event CollectionDeactivated(); /** * @dev Check if nonce has been used */ function nonceUsed(string memory nonce) external view returns(bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 v4.4.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. 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. 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; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 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 v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Interface for admin control */ interface IAdminControl is IERC165 { event AdminApproved(address indexed account, address indexed sender); event AdminRevoked(address indexed account, address indexed sender); /** * @dev gets address of all admins */ function getAdmins() external view returns (address[] memory); /** * @dev add an admin. Can only be called by contract owner. */ function approveAdmin(address admin) external; /** * @dev remove an admin. Can only be called by contract owner. */ function revokeAdmin(address admin) external; /** * @dev checks whether or not given address is an admin * Returns True if they are */ function isAdmin(address admin) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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 be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"signingAddress_","type":"address"},{"internalType":"address","name":"_ozV1Address","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminRevoked","type":"event"},{"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":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"presaleInterval","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimStartTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimEndTime","type":"uint256"}],"name":"CollectionActivated","type":"event"},{"anonymous":false,"inputs":[],"name":"CollectionDeactivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OZ_V1_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"approveAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"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":"claimEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deactivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"tokenId","type":"uint16"}],"name":"exchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAdmins","outputs":[{"internalType":"address[]","name":"admins","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"admin","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":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"nonce","type":"string"}],"name":"nonceUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePurchaseLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePurchasePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"}],"name":"purchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"purchaseCount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"purchaseLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"purchaseMax","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"purchasePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"purchaseRemaining","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveCount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"revokeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"string","name":"uri","type":"string"}],"name":"setCollectionURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_freeze","type":"bool"}],"name":"setFreezeList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state","outputs":[{"components":[{"internalType":"uint16","name":"transactionLimit","type":"uint16"},{"internalType":"uint16","name":"purchaseMax","type":"uint16"},{"internalType":"uint16","name":"purchaseRemaining","type":"uint16"},{"internalType":"uint256","name":"purchasePrice","type":"uint256"},{"internalType":"uint16","name":"purchaseLimit","type":"uint16"},{"internalType":"uint256","name":"presalePurchasePrice","type":"uint256"},{"internalType":"uint16","name":"presalePurchaseLimit","type":"uint16"},{"internalType":"uint16","name":"purchaseCount","type":"uint16"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"presaleInterval","type":"uint256"},{"internalType":"uint256","name":"claimStartTime","type":"uint256"},{"internalType":"uint256","name":"claimEndTime","type":"uint256"},{"internalType":"bool","name":"useDynamicPresalePurchaseLimit","type":"bool"}],"internalType":"struct IERC1155Collection.CollectionState","name":"","type":"tuple"}],"stateMutability":"view","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":"transactionLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transferLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"updateRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"useDynamicPresalePurchaseLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260af600e60006101000a81548161ffff021916908361ffff160217905550610145600e60026101000a81548161ffff021916908361ffff1602179055506040518060400160405280600581526020017f4f7a44414f0000000000000000000000000000000000000000000000000000008152506018908162000087919062000941565b506040518060400160405280600281526020017f4f5a00000000000000000000000000000000000000000000000000000000000081525060199081620000ce919062000941565b50348015620000dc57600080fd5b50604051620068bb380380620068bb833981810160405281019062000102919062000a92565b733cc6cdda760b79bafa08df41ecfa224f810dceb6600160405180602001604052806000815250620001496200013d6200040060201b60201c565b6200040860201b60201c565b6200015a81620004ce60201b60201c565b5060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200035057801562000216576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001dc92919062000aea565b600060405180830381600087803b158015620001f757600080fd5b505af11580156200020c573d6000803e3d6000fd5b505050506200034f565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002d0576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200029692919062000aea565b600060405180830381600087803b158015620002b157600080fd5b505af1158015620002c6573d6000803e3d6000fd5b505050506200034e565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000319919062000b17565b600060405180830381600087803b1580156200033457600080fd5b505af115801562000349573d6000803e3d6000fd5b505050505b5b5b5050620003716101f4806000806000806000896001620004e360201b60201c565b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003f86040518060400160405280601281526020017f68747470733a2f2f6f7a64616f2e6172742f0000000000000000000000000000815250620004ce60201b60201c565b505062000c29565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600b9081620004df919062000941565b5050565b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161462000575576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200056c9062000b95565b60405180910390fd5b8761ffff168961ffff161015620005c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005ba9062000c07565b60405180910390fd5b88601260006101000a81548161ffff021916908361ffff16021790555087600e60066101000a81548161ffff021916908361ffff16021790555086600f8190555085600e60086101000a81548161ffff021916908361ffff16021790555084600e60046101000a81548161ffff021916908361ffff16021790555082601060006101000a81548161ffff021916908361ffff16021790555083601181905550816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601260026101000a81548160ff021916908315150217905550505050505050505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200074957607f821691505b6020821081036200075f576200075e62000701565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007c97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200078a565b620007d586836200078a565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620008226200081c6200081684620007ed565b620007f7565b620007ed565b9050919050565b6000819050919050565b6200083e8362000801565b620008566200084d8262000829565b84845462000797565b825550505050565b600090565b6200086d6200085e565b6200087a81848462000833565b505050565b5b81811015620008a2576200089660008262000863565b60018101905062000880565b5050565b601f821115620008f157620008bb8162000765565b620008c6846200077a565b81016020851015620008d6578190505b620008ee620008e5856200077a565b8301826200087f565b50505b505050565b600082821c905092915050565b60006200091660001984600802620008f6565b1980831691505092915050565b600062000931838362000903565b9150826002028217905092915050565b6200094c82620006c7565b67ffffffffffffffff811115620009685762000967620006d2565b5b62000974825462000730565b62000981828285620008a6565b600060209050601f831160018114620009b95760008415620009a4578287015190505b620009b0858262000923565b86555062000a20565b601f198416620009c98662000765565b60005b82811015620009f357848901518255600182019150602085019450602081019050620009cc565b8683101562000a13578489015162000a0f601f89168262000903565b8355505b6001600288020188555050505b505050505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000a5a8262000a2d565b9050919050565b62000a6c8162000a4d565b811462000a7857600080fd5b50565b60008151905062000a8c8162000a61565b92915050565b6000806040838503121562000aac5762000aab62000a28565b5b600062000abc8582860162000a7b565b925050602062000acf8582860162000a7b565b9150509250929050565b62000ae48162000a4d565b82525050565b600060408201905062000b01600083018562000ad9565b62000b10602083018462000ad9565b9392505050565b600060208201905062000b2e600083018462000ad9565b92915050565b600082825260208201905092915050565b7f416c726561647920696e697469616c697a656400000000000000000000000000600082015250565b600062000b7d60138362000b34565b915062000b8a8262000b45565b602082019050919050565b6000602082019050818103600083015262000bb08162000b6e565b9050919050565b7f496e76616c696420696e70757400000000000000000000000000000000000000600082015250565b600062000bef600d8362000b34565b915062000bfc8262000bb7565b602082019050919050565b6000602082019050818103600083015262000c228162000be0565b9050919050565b615c828062000c396000396000f3fe608060405234801561001057600080fd5b506004361061029f5760003560e01c8063715018a611610167578063c8a84a82116100ce578063f19605d611610087578063f19605d6146107d2578063f242432a146107f0578063f2fde38b1461080c578063f3fef3a314610828578063f474307014610844578063fe73ad77146108625761029f565b8063c8a84a821461070e578063d5abeb011461072c578063defd6c5f1461074a578063e3b9398b14610768578063e985e9c514610786578063efbce030146107b65761029f565b806395d89b411161012057806395d89b411461065e578063a22cb4651461067c578063a6a11bb114610698578063b670a48c146106b6578063bd409f84146106d2578063c19d93fb146106f05761029f565b8063715018a6146105ae57806378e97925146105b857806381960b5c146105d65780638da5cb5b146105f45780639142432c14610612578063923c235b1461062e5761029f565b80632d3456701161020b5780634e1273f4116101c45780634e1273f4146104ee57806351b42b001461051e57806355461d6d146105285780636c2f5acd146105465780636d73e6691461056257806370a082311461057e5761029f565b80632d3456701461043e5780632eb2c2d61461045a5780633197cbb61461047657806331ae450b1461049457806340d1d255146104b257806341f43434146104d05761029f565b806312686aae1161025d57806312686aae1461037a57806316317c211461039857806318886657146103b657806324d7806c146103d45780632639f460146104045780632b85ed9c146104205761029f565b8062fdd58e146102a457806301ffc9a7146102d457806302fb0c5e1461030457806306fdde03146103225780630e89341c146103405780630f15f4c014610370575b600080fd5b6102be60048036038101906102b99190613900565b610880565b6040516102cb919061394f565b60405180910390f35b6102ee60048036038101906102e991906139c2565b610894565b6040516102fb9190613a0a565b60405180910390f35b61030c6108c6565b6040516103199190613a0a565b60405180910390f35b61032a6108d9565b6040516103379190613ab5565b60405180910390f35b61035a60048036038101906103559190613ad7565b610967565b6040516103679190613ab5565b60405180910390f35b6103786109f2565b005b610382610a8c565b60405161038f9190613a0a565b60405180910390f35b6103a0610a9f565b6040516103ad9190613b21565b60405180910390f35b6103be610ab3565b6040516103cb9190613b21565b60405180910390f35b6103ee60048036038101906103e99190613b3c565b610ac7565b6040516103fb9190613a0a565b60405180910390f35b61041e60048036038101906104199190613bce565b610b21565b005b610428610c02565b6040516104359190613b21565b60405180910390f35b61045860048036038101906104539190613b3c565b610c16565b005b610474600480360381019061046f9190613e0e565b610d1e565b005b61047e610d71565b60405161048b919061394f565b60405180910390f35b61049c610d77565b6040516104a99190613f9b565b60405180910390f35b6104ba610e59565b6040516104c7919061394f565b60405180910390f35b6104d8610e5f565b6040516104e5919061401c565b60405180910390f35b610508600480360381019061050391906140fa565b610e71565b6040516105159190614230565b60405180910390f35b610526610f8a565b005b610530611024565b60405161053d9190613a0a565b60405180910390f35b610560600480360381019061055b9190614290565b611037565b005b61057c60048036038101906105779190613b3c565b6110d5565b005b61059860048036038101906105939190613b3c565b6111dc565b6040516105a5919061394f565b60405180910390f35b6105b6611203565b005b6105c061128b565b6040516105cd919061394f565b60405180910390f35b6105de611291565b6040516105eb919061394f565b60405180910390f35b6105fc611297565b60405161060991906142df565b60405180910390f35b61062c60048036038101906106279190614326565b6112c1565b005b610648600480360381019061064391906143f4565b61137a565b6040516106559190613a0a565b60405180910390f35b6106666113b1565b6040516106739190613ab5565b60405180910390f35b61069660048036038101906106919190614469565b61143f565b005b6106a0611458565b6040516106ad919061394f565b60405180910390f35b6106d060048036038101906106cb9190614469565b61145e565b005b6106da611549565b6040516106e791906142df565b60405180910390f35b6106f861156f565b60405161070591906145fc565b60405180910390f35b6107166116b7565b6040516107239190613b21565b60405180910390f35b6107346116cb565b6040516107419190613b21565b60405180910390f35b6107526116df565b60405161075f919061394f565b60405180910390f35b6107706116e5565b60405161077d919061394f565b60405180910390f35b6107a0600480360381019061079b9190614618565b6116eb565b6040516107ad9190613a0a565b60405180910390f35b6107d060048036038101906107cb9190614326565b61177f565b005b6107da6118f6565b6040516107e79190613b21565b60405180910390f35b61080a60048036038101906108059190614658565b61190a565b005b61082660048036038101906108219190613b3c565b61195d565b005b610842600480360381019061083d9190614290565b611a54565b005b61084c611af2565b6040516108599190613b21565b60405180910390f35b61086a611b06565b6040516108779190613b21565b60405180910390f35b600061088c8383611b39565b905092915050565b600061089f82611c02565b806108af57506108ae82611d59565b5b806108bf57506108be82611e3b565b5b9050919050565b600260009054906101000a900460ff1681565b601880546108e69061471e565b80601f01602080910402602001604051908101604052809291908181526020018280546109129061471e565b801561095f5780601f106109345761010080835404028352916020019161095f565b820191906000526020600020905b81548152906001019060200180831161094257829003601f168201915b505050505081565b606081600e60009054906101000a900461ffff1661ffff1610156109c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b79061479b565b60405180910390fd5b600b6109cb83611eb5565b6040516020016109dc92919061488f565b6040516020818303038152906040529050919050565b3373ffffffffffffffffffffffffffffffffffffffff16610a11611297565b73ffffffffffffffffffffffffffffffffffffffff161480610a435750610a4233600c61201590919063ffffffff16565b5b610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7990614925565b60405180910390fd5b610a8a612045565b565b601560149054906101000a900460ff1681565b601260059054906101000a900461ffff1681565b600e60089054906101000a900461ffff1681565b60008173ffffffffffffffffffffffffffffffffffffffff16610ae8611297565b73ffffffffffffffffffffffffffffffffffffffff161480610b1a5750610b1982600c61201590919063ffffffff16565b5b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff16610b40611297565b73ffffffffffffffffffffffffffffffffffffffff161480610b725750610b7133600c61201590919063ffffffff16565b5b610bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba890614925565b60405180910390fd5b610bfe82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506120b2565b5050565b601260039054906101000a900461ffff1681565b610c1e6120c5565b73ffffffffffffffffffffffffffffffffffffffff16610c3c611297565b73ffffffffffffffffffffffffffffffffffffffff1614610c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8990614991565b60405180910390fd5b610ca681600c61201590919063ffffffff16565b15610d1b573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d560405160405180910390a3610d1981600c6120cd90919063ffffffff16565b505b50565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d5c57610d5b336120fd565b5b610d6986868686866121fa565b505050505050565b60045481565b6060610d83600c61229b565b67ffffffffffffffff811115610d9c57610d9b613c1b565b5b604051908082528060200260200182016040528015610dca5781602001602082028036833780820191505090505b50905060005b610dda600c61229b565b811015610e5557610df581600c6122b090919063ffffffff16565b828281518110610e0857610e076149b1565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508080610e4d90614a0f565b915050610dd0565b5090565b60075481565b6daaeb6d7670e522a718067333cd4e81565b60608151835114610eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eae90614ac9565b60405180910390fd5b6000835167ffffffffffffffff811115610ed457610ed3613c1b565b5b604051908082528060200260200182016040528015610f025781602001602082028036833780820191505090505b50905060005b8451811015610f7f57610f4f858281518110610f2757610f266149b1565b5b6020026020010151858381518110610f4257610f416149b1565b5b6020026020010151610880565b828281518110610f6257610f616149b1565b5b60200260200101818152505080610f7890614a0f565b9050610f08565b508091505092915050565b3373ffffffffffffffffffffffffffffffffffffffff16610fa9611297565b73ffffffffffffffffffffffffffffffffffffffff161480610fdb5750610fda33600c61201590919063ffffffff16565b5b61101a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101190614925565b60405180910390fd5b6110226122ca565b565b601260029054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff16611056611297565b73ffffffffffffffffffffffffffffffffffffffff161480611088575061108733600c61201590919063ffffffff16565b5b6110c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110be90614925565b60405180910390fd5b6110d18282612333565b5050565b6110dd6120c5565b73ffffffffffffffffffffffffffffffffffffffff166110fb611297565b73ffffffffffffffffffffffffffffffffffffffff1614611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114890614991565b60405180910390fd5b61116581600c61201590919063ffffffff16565b6111d9573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb160405160405180910390a36111d781600c61237f90919063ffffffff16565b505b50565b60006111fc82600e60009054906101000a900461ffff1661ffff16611b39565b9050919050565b61120b6120c5565b73ffffffffffffffffffffffffffffffffffffffff16611229611297565b73ffffffffffffffffffffffffffffffffffffffff161461127f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127690614991565b60405180910390fd5b61128960006123af565b565b60035481565b60115481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead8460016040518563ffffffff1660e01b81526004016113259493929190614b8c565b600060405180830381600087803b15801561133f57600080fd5b505af1158015611353573d6000803e3d6000fd5b50505050611377338261ffff16600160405180602001604052806000815250612475565b50565b6000806113868361260b565b90506001600082815260200190815260200160002060009054906101000a900460ff16915050919050565b601980546113be9061471e565b80601f01602080910402602001604051908101604052809291908181526020018280546113ea9061471e565b80156114375780601f1061140c57610100808354040283529160200191611437565b820191906000526020600020905b81548152906001019060200180831161141a57829003601f168201915b505050505081565b81611449816120fd565b6114538383612663565b505050565b60065481565b3373ffffffffffffffffffffffffffffffffffffffff1661147d611297565b73ffffffffffffffffffffffffffffffffffffffff1614806114af57506114ae33600c61201590919063ffffffff16565b5b6114ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e590614925565b60405180910390fd5b80601760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115776137c6565b60008073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115b9576115b4612679565b6115bc565b60005b9050604051806101e00160405280600e60049054906101000a900461ffff1661ffff168152602001600e60069054906101000a900461ffff1661ffff168152602001611606611b06565b61ffff168152602001600f548152602001600e60089054906101000a900461ffff1661ffff1681526020016011548152602001601060009054906101000a900461ffff1661ffff1681526020018261ffff168152602001600260009054906101000a900460ff161515815260200160035481526020016004548152602001600554815260200160065481526020016007548152602001601260029054906101000a900460ff16151581525091505090565b600e60069054906101000a900461ffff1681565b601260009054906101000a900461ffff1681565b600f5481565b60055481565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff1661179e611297565b73ffffffffffffffffffffffffffffffffffffffff1614806117d057506117cf33600c61201590919063ffffffff16565b5b61180f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180690614925565b60405180910390fd5b6118176126f5565b61182081612746565b60005b8161ffff168110156118f257600e60029054906101000a900461ffff1661ffff16600e60009054906101000a900461ffff1661ffff1610611899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189090614c30565b60405180910390fd5b6118a433600161279c565b600e600081819054906101000a900461ffff16809291906118c490614c50565b91906101000a81548161ffff021916908361ffff1602179055505080806118ea90614a0f565b915050611823565b5050565b600e60049054906101000a900461ffff1681565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461194857611947336120fd565b5b61195586868686866127e3565b505050505050565b6119656120c5565b73ffffffffffffffffffffffffffffffffffffffff16611983611297565b73ffffffffffffffffffffffffffffffffffffffff16146119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d090614991565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3f90614cec565b60405180910390fd5b611a51816123af565b50565b3373ffffffffffffffffffffffffffffffffffffffff16611a73611297565b73ffffffffffffffffffffffffffffffffffffffff161480611aa55750611aa433600c61201590919063ffffffff16565b5b611ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adb90614925565b60405180910390fd5b611aee8282612884565b5050565b601060009054906101000a900461ffff1681565b6000601260039054906101000a900461ffff16600e60069054906101000a900461ffff16611b349190614d0c565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba090614db4565b60405180910390fd5b6009600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f2b94848e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cb4575063bb3bafd660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d035750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d52575063b779958460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e2457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e345750611e33826128ff565b5b9050919050565b60007f553e757e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611eae5750611ead82611d59565b5b9050919050565b606060008203611efc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612010565b600082905060005b60008214611f2e578080611f1790614a0f565b915050600a82611f279190614e03565b9150611f04565b60008167ffffffffffffffff811115611f4a57611f49613c1b565b5b6040519080825280601f01601f191660200182016040528015611f7c5781602001600182028036833780820191505090505b5090505b6000851461200957600182611f959190614e34565b9150600a85611fa49190614e68565b6030611fb09190614e99565b60f81b818381518110611fc657611fc56149b1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120029190614e03565b9450611f80565b8093505050505b919050565b600061203d836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612969565b905092915050565b600260009054906101000a900460ff1615612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c90614f19565b60405180910390fd5b6001600260006101000a81548160ff021916908315150217905550565b80600b90816120c191906150c6565b5050565b600033905090565b60006120f5836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61298c565b905092915050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156121f7576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612174929190615198565b602060405180830381865afa158015612191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b591906151d6565b6121f657806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016121ed91906142df565b60405180910390fd5b5b50565b6122026120c5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806122485750612247856122426120c5565b6116eb565b5b612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e90615275565b60405180910390fd5b6122948585858585612aa0565b5050505050565b60006122a982600001612db6565b9050919050565b60006122bf8360000183612dc7565b60001c905092915050565b600060038190555060006004819055506000600260006101000a81548160ff021916908315150217905550600060068190555060006007819055507fb02389feab3af620e2374d4d559b436ea226b1e6c9c31fe77dfbff3d40cbe9ba60405160405180910390a1565b81601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806014819055505050565b60006123a7836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612df2565b905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036124e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124db90615307565b60405180910390fd5b60006124ee6120c5565b905061250f8160008761250088612e62565b61250988612e62565b87612edc565b826009600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461256f9190614e99565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516125ed929190615327565b60405180910390a461260481600087878787612f7f565b5050505050565b600080829050602081511115612656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264d9061539c565b60405180910390fd5b6020830151915050919050565b61267561266e6120c5565b8383613156565b5050565b6000806126846132c2565b156126e257601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff1690506126ee565b6126eb336111dc565b90505b8091505090565b600260009054906101000a900460ff16612744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273b90615408565b60405180910390fd5b565b600f548161ffff166127589190615428565b3414612799576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612790906154b6565b60405180910390fd5b50565b80601260038282829054906101000a900461ffff166127bb91906154d6565b92506101000a81548161ffff021916908361ffff1602179055506127df8282613319565b5050565b6127eb6120c5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061283157506128308561282b6120c5565b6116eb565b5b612870576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128679061557e565b60405180910390fd5b61287d8585858585613350565b5050505050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128aa906155cc565b60006040518083038185875af1925050503d80600081146128e7576040519150601f19603f3d011682016040523d82523d6000602084013e6128ec565b606091505b50509050806128fa57600080fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083600101600084815260200190815260200160002054905060008114612a945760006001826129be9190614e34565b90506000600186600001805490506129d69190614e34565b9050818114612a455760008660000182815481106129f7576129f66149b1565b5b9060005260206000200154905080876000018481548110612a1b57612a1a6149b1565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612a5957612a586155e1565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612a9a565b60009150505b92915050565b8151835114612ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adb90615682565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4a90615714565b60405180910390fd5b6000612b5d6120c5565b9050612b6d818787878787612edc565b60005b8451811015612d21576000858281518110612b8e57612b8d6149b1565b5b602002602001015190506000858381518110612bad57612bac6149b1565b5b6020026020010151905060006009600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c46906157a6565b60405180910390fd5b8181036009600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816009600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d069190614e99565b9250508190555050505080612d1a90614a0f565b9050612b70565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612d989291906157c6565b60405180910390a4612dae8187878787876135d4565b505050505050565b600081600001805490509050919050565b6000826000018281548110612ddf57612dde6149b1565b5b9060005260206000200154905092915050565b6000612dfe8383612969565b612e57578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612e5c565b600090505b92915050565b60606000600167ffffffffffffffff811115612e8157612e80613c1b565b5b604051908082528060200260200182016040528015612eaf5781602001602082028036833780820191505090505b5090508281600081518110612ec757612ec66149b1565b5b60200260200101818152505080915050919050565b612eea8686868686866137ab565b601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6e9061586f565b60405180910390fd5b505050505050565b612f9e8473ffffffffffffffffffffffffffffffffffffffff166137b3565b1561314e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612fe49594939291906158d3565b6020604051808303816000875af192505050801561302057506040513d601f19601f8201168201806040525081019061301d9190615942565b60015b6130c55761302c61597c565b806308c379a003613088575061304061599e565b8061304b575061308a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307f9190613ab5565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130bc90615aa0565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461314c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314390615b32565b60405180910390fd5b505b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036131c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bb90615bc4565b60405180910390fd5b80600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132b59190613a0a565b60405180910390a3505050565b6000601560149054906101000a900460ff1615801561331457506000600e60089054906101000a900461ffff1661ffff16118061331357506000601060009054906101000a900461ffff1661ffff16115b5b905090565b61334c82600e60009054906101000a900461ffff1661ffff168361ffff1660405180602001604052806000815250612475565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036133bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b690615714565b60405180910390fd5b60006133c96120c5565b90506133e98187876133da88612e62565b6133e388612e62565b87612edc565b60006009600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015613481576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613478906157a6565b60405180910390fd5b8381036009600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836009600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135389190614e99565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516135b5929190615327565b60405180910390a46135cb828888888888612f7f565b50505050505050565b6135f38473ffffffffffffffffffffffffffffffffffffffff166137b3565b156137a3578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401613639959493929190615be4565b6020604051808303816000875af192505050801561367557506040513d601f19601f820116820180604052508101906136729190615942565b60015b61371a5761368161597c565b806308c379a0036136dd575061369561599e565b806136a057506136df565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d49190613ab5565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371190615aa0565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146137a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379890615b32565b60405180910390fd5b505b505050505050565b505050505050565b600080823b905060008111915050919050565b604051806101e00160405280600061ffff168152602001600061ffff168152602001600061ffff16815260200160008152602001600061ffff16815260200160008152602001600061ffff168152602001600061ffff16815260200160001515815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138978261386c565b9050919050565b6138a78161388c565b81146138b257600080fd5b50565b6000813590506138c48161389e565b92915050565b6000819050919050565b6138dd816138ca565b81146138e857600080fd5b50565b6000813590506138fa816138d4565b92915050565b6000806040838503121561391757613916613862565b5b6000613925858286016138b5565b9250506020613936858286016138eb565b9150509250929050565b613949816138ca565b82525050565b60006020820190506139646000830184613940565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61399f8161396a565b81146139aa57600080fd5b50565b6000813590506139bc81613996565b92915050565b6000602082840312156139d8576139d7613862565b5b60006139e6848285016139ad565b91505092915050565b60008115159050919050565b613a04816139ef565b82525050565b6000602082019050613a1f60008301846139fb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a5f578082015181840152602081019050613a44565b60008484015250505050565b6000601f19601f8301169050919050565b6000613a8782613a25565b613a918185613a30565b9350613aa1818560208601613a41565b613aaa81613a6b565b840191505092915050565b60006020820190508181036000830152613acf8184613a7c565b905092915050565b600060208284031215613aed57613aec613862565b5b6000613afb848285016138eb565b91505092915050565b600061ffff82169050919050565b613b1b81613b04565b82525050565b6000602082019050613b366000830184613b12565b92915050565b600060208284031215613b5257613b51613862565b5b6000613b60848285016138b5565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613b8e57613b8d613b69565b5b8235905067ffffffffffffffff811115613bab57613baa613b6e565b5b602083019150836001820283011115613bc757613bc6613b73565b5b9250929050565b60008060208385031215613be557613be4613862565b5b600083013567ffffffffffffffff811115613c0357613c02613867565b5b613c0f85828601613b78565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c5382613a6b565b810181811067ffffffffffffffff82111715613c7257613c71613c1b565b5b80604052505050565b6000613c85613858565b9050613c918282613c4a565b919050565b600067ffffffffffffffff821115613cb157613cb0613c1b565b5b602082029050602081019050919050565b6000613cd5613cd084613c96565b613c7b565b90508083825260208201905060208402830185811115613cf857613cf7613b73565b5b835b81811015613d215780613d0d88826138eb565b845260208401935050602081019050613cfa565b5050509392505050565b600082601f830112613d4057613d3f613b69565b5b8135613d50848260208601613cc2565b91505092915050565b600080fd5b600067ffffffffffffffff821115613d7957613d78613c1b565b5b613d8282613a6b565b9050602081019050919050565b82818337600083830152505050565b6000613db1613dac84613d5e565b613c7b565b905082815260208101848484011115613dcd57613dcc613d59565b5b613dd8848285613d8f565b509392505050565b600082601f830112613df557613df4613b69565b5b8135613e05848260208601613d9e565b91505092915050565b600080600080600060a08688031215613e2a57613e29613862565b5b6000613e38888289016138b5565b9550506020613e49888289016138b5565b945050604086013567ffffffffffffffff811115613e6a57613e69613867565b5b613e7688828901613d2b565b935050606086013567ffffffffffffffff811115613e9757613e96613867565b5b613ea388828901613d2b565b925050608086013567ffffffffffffffff811115613ec457613ec3613867565b5b613ed088828901613de0565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f128161388c565b82525050565b6000613f248383613f09565b60208301905092915050565b6000602082019050919050565b6000613f4882613edd565b613f528185613ee8565b9350613f5d83613ef9565b8060005b83811015613f8e578151613f758882613f18565b9750613f8083613f30565b925050600181019050613f61565b5085935050505092915050565b60006020820190508181036000830152613fb58184613f3d565b905092915050565b6000819050919050565b6000613fe2613fdd613fd88461386c565b613fbd565b61386c565b9050919050565b6000613ff482613fc7565b9050919050565b600061400682613fe9565b9050919050565b61401681613ffb565b82525050565b6000602082019050614031600083018461400d565b92915050565b600067ffffffffffffffff82111561405257614051613c1b565b5b602082029050602081019050919050565b600061407661407184614037565b613c7b565b9050808382526020820190506020840283018581111561409957614098613b73565b5b835b818110156140c257806140ae88826138b5565b84526020840193505060208101905061409b565b5050509392505050565b600082601f8301126140e1576140e0613b69565b5b81356140f1848260208601614063565b91505092915050565b6000806040838503121561411157614110613862565b5b600083013567ffffffffffffffff81111561412f5761412e613867565b5b61413b858286016140cc565b925050602083013567ffffffffffffffff81111561415c5761415b613867565b5b61416885828601613d2b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6141a7816138ca565b82525050565b60006141b9838361419e565b60208301905092915050565b6000602082019050919050565b60006141dd82614172565b6141e7818561417d565b93506141f28361418e565b8060005b8381101561422357815161420a88826141ad565b9750614215836141c5565b9250506001810190506141f6565b5085935050505092915050565b6000602082019050818103600083015261424a81846141d2565b905092915050565b600061425d8261386c565b9050919050565b61426d81614252565b811461427857600080fd5b50565b60008135905061428a81614264565b92915050565b600080604083850312156142a7576142a6613862565b5b60006142b58582860161427b565b92505060206142c6858286016138eb565b9150509250929050565b6142d98161388c565b82525050565b60006020820190506142f460008301846142d0565b92915050565b61430381613b04565b811461430e57600080fd5b50565b600081359050614320816142fa565b92915050565b60006020828403121561433c5761433b613862565b5b600061434a84828501614311565b91505092915050565b600067ffffffffffffffff82111561436e5761436d613c1b565b5b61437782613a6b565b9050602081019050919050565b600061439761439284614353565b613c7b565b9050828152602081018484840111156143b3576143b2613d59565b5b6143be848285613d8f565b509392505050565b600082601f8301126143db576143da613b69565b5b81356143eb848260208601614384565b91505092915050565b60006020828403121561440a57614409613862565b5b600082013567ffffffffffffffff81111561442857614427613867565b5b614434848285016143c6565b91505092915050565b614446816139ef565b811461445157600080fd5b50565b6000813590506144638161443d565b92915050565b600080604083850312156144805761447f613862565b5b600061448e858286016138b5565b925050602061449f85828601614454565b9150509250929050565b6144b281613b04565b82525050565b6144c1816139ef565b82525050565b6101e0820160008201516144de60008501826144a9565b5060208201516144f160208501826144a9565b50604082015161450460408501826144a9565b506060820151614517606085018261419e565b50608082015161452a60808501826144a9565b5060a082015161453d60a085018261419e565b5060c082015161455060c08501826144a9565b5060e082015161456360e08501826144a9565b506101008201516145786101008501826144b8565b5061012082015161458d61012085018261419e565b506101408201516145a261014085018261419e565b506101608201516145b761016085018261419e565b506101808201516145cc61018085018261419e565b506101a08201516145e16101a085018261419e565b506101c08201516145f66101c08501826144b8565b50505050565b60006101e08201905061461260008301846144c7565b92915050565b6000806040838503121561462f5761462e613862565b5b600061463d858286016138b5565b925050602061464e858286016138b5565b9150509250929050565b600080600080600060a0868803121561467457614673613862565b5b6000614682888289016138b5565b9550506020614693888289016138b5565b94505060406146a4888289016138eb565b93505060606146b5888289016138eb565b925050608086013567ffffffffffffffff8111156146d6576146d5613867565b5b6146e288828901613de0565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061473657607f821691505b602082108103614749576147486146ef565b5b50919050565b7f546f6b656e20494420646f6573206e6f74206578697374000000000000000000600082015250565b6000614785601783613a30565b91506147908261474f565b602082019050919050565b600060208201905081810360008301526147b481614778565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546147e88161471e565b6147f281866147bb565b9450600182166000811461480d576001811461482257614855565b60ff1983168652811515820286019350614855565b61482b856147c6565b60005b8381101561484d5781548189015260018201915060208101905061482e565b838801955050505b50505092915050565b600061486982613a25565b61487381856147bb565b9350614883818560208601613a41565b80840191505092915050565b600061489b82856147db565b91506148a7828461485e565b91508190509392505050565b7f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f72206160008201527f646d696e00000000000000000000000000000000000000000000000000000000602082015250565b600061490f602483613a30565b915061491a826148b3565b604082019050919050565b6000602082019050818103600083015261493e81614902565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061497b602083613a30565b915061498682614945565b602082019050919050565b600060208201905081810360008301526149aa8161496e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a1a826138ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a4c57614a4b6149e0565b5b600182019050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614ab3602983613a30565b9150614abe82614a57565b604082019050919050565b60006020820190508181036000830152614ae281614aa6565b9050919050565b6000614b04614aff614afa84613b04565b613fbd565b6138ca565b9050919050565b614b1481614ae9565b82525050565b6000819050919050565b6000614b3f614b3a614b3584614b1a565b613fbd565b6138ca565b9050919050565b614b4f81614b24565b82525050565b600082825260208201905092915050565b50565b6000614b76600083614b55565b9150614b8182614b66565b600082019050919050565b600060a082019050614ba160008301876142d0565b614bae60208301866142d0565b614bbb6040830185614b0b565b614bc86060830184614b46565b8181036080830152614bd981614b69565b905095945050505050565b7f5075626c6963206d696e74206c696d6974207265616368656400000000000000600082015250565b6000614c1a601983613a30565b9150614c2582614be4565b602082019050919050565b60006020820190508181036000830152614c4981614c0d565b9050919050565b6000614c5b82613b04565b915061ffff8203614c6f57614c6e6149e0565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cd6602683613a30565b9150614ce182614c7a565b604082019050919050565b60006020820190508181036000830152614d0581614cc9565b9050919050565b6000614d1782613b04565b9150614d2283613b04565b9250828203905061ffff811115614d3c57614d3b6149e0565b5b92915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614d9e602b83613a30565b9150614da982614d42565b604082019050919050565b60006020820190508181036000830152614dcd81614d91565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e0e826138ca565b9150614e19836138ca565b925082614e2957614e28614dd4565b5b828204905092915050565b6000614e3f826138ca565b9150614e4a836138ca565b9250828203905081811115614e6257614e616149e0565b5b92915050565b6000614e73826138ca565b9150614e7e836138ca565b925082614e8e57614e8d614dd4565b5b828206905092915050565b6000614ea4826138ca565b9150614eaf836138ca565b9250828201905080821115614ec757614ec66149e0565b5b92915050565b7f416c726561647920616374697665000000000000000000000000000000000000600082015250565b6000614f03600e83613a30565b9150614f0e82614ecd565b602082019050919050565b60006020820190508181036000830152614f3281614ef6565b9050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614f867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614f49565b614f908683614f49565b95508019841693508086168417925050509392505050565b6000614fc3614fbe614fb9846138ca565b613fbd565b6138ca565b9050919050565b6000819050919050565b614fdd83614fa8565b614ff1614fe982614fca565b848454614f56565b825550505050565b600090565b615006614ff9565b615011818484614fd4565b505050565b5b818110156150355761502a600082614ffe565b600181019050615017565b5050565b601f82111561507a5761504b816147c6565b61505484614f39565b81016020851015615063578190505b61507761506f85614f39565b830182615016565b50505b505050565b600082821c905092915050565b600061509d6000198460080261507f565b1980831691505092915050565b60006150b6838361508c565b9150826002028217905092915050565b6150cf82613a25565b67ffffffffffffffff8111156150e8576150e7613c1b565b5b6150f2825461471e565b6150fd828285615039565b600060209050601f831160018114615130576000841561511e578287015190505b61512885826150aa565b865550615190565b601f19841661513e866147c6565b60005b8281101561516657848901518255600182019150602085019450602081019050615141565b86831015615183578489015161517f601f89168261508c565b8355505b6001600288020188555050505b505050505050565b60006040820190506151ad60008301856142d0565b6151ba60208301846142d0565b9392505050565b6000815190506151d08161443d565b92915050565b6000602082840312156151ec576151eb613862565b5b60006151fa848285016151c1565b91505092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061525f603283613a30565b915061526a82615203565b604082019050919050565b6000602082019050818103600083015261528e81615252565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006152f1602183613a30565b91506152fc82615295565b604082019050919050565b60006020820190508181036000830152615320816152e4565b9050919050565b600060408201905061533c6000830185613940565b6153496020830184613940565b9392505050565b7f496e76616c6964206e6f6e636500000000000000000000000000000000000000600082015250565b6000615386600d83613a30565b915061539182615350565b602082019050919050565b600060208201905081810360008301526153b581615379565b9050919050565b7f496e616374697665000000000000000000000000000000000000000000000000600082015250565b60006153f2600883613a30565b91506153fd826153bc565b602082019050919050565b60006020820190508181036000830152615421816153e5565b9050919050565b6000615433826138ca565b915061543e836138ca565b925082820261544c816138ca565b91508282048414831517615463576154626149e0565b5b5092915050565b7f496e76616c696420707572636861736520616d6f756e742073656e7400000000600082015250565b60006154a0601c83613a30565b91506154ab8261546a565b602082019050919050565b600060208201905081810360008301526154cf81615493565b9050919050565b60006154e182613b04565b91506154ec83613b04565b9250828201905061ffff811115615506576155056149e0565b5b92915050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000615568602983613a30565b91506155738261550c565b604082019050919050565b600060208201905081810360008301526155978161555b565b9050919050565b600081905092915050565b60006155b660008361559e565b91506155c182614b66565b600082019050919050565b60006155d7826155a9565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061566c602883613a30565b915061567782615610565b604082019050919050565b6000602082019050818103600083015261569b8161565f565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006156fe602583613a30565b9150615709826156a2565b604082019050919050565b6000602082019050818103600083015261572d816156f1565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000615790602a83613a30565b915061579b82615734565b604082019050919050565b600060208201905081810360008301526157bf81615783565b9050919050565b600060408201905081810360008301526157e081856141d2565b905081810360208301526157f481846141d2565b90509392505050565b7f5472616e7366657273206f66207468652070617373206172652066726f7a656e60008201527f20666f7220746869732061646472657373000000000000000000000000000000602082015250565b6000615859603183613a30565b9150615864826157fd565b604082019050919050565b600060208201905081810360008301526158888161584c565b9050919050565b600081519050919050565b60006158a58261588f565b6158af8185614b55565b93506158bf818560208601613a41565b6158c881613a6b565b840191505092915050565b600060a0820190506158e860008301886142d0565b6158f560208301876142d0565b6159026040830186613940565b61590f6060830185613940565b8181036080830152615921818461589a565b90509695505050505050565b60008151905061593c81613996565b92915050565b60006020828403121561595857615957613862565b5b60006159668482850161592d565b91505092915050565b60008160e01c9050919050565b600060033d111561599b5760046000803e61599860005161596f565b90505b90565b600060443d10615a2b576159b0613858565b60043d036004823e80513d602482011167ffffffffffffffff821117156159d8575050615a2b565b808201805167ffffffffffffffff8111156159f65750505050615a2b565b80602083010160043d038501811115615a13575050505050615a2b565b615a2282602001850186613c4a565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615a8a603483613a30565b9150615a9582615a2e565b604082019050919050565b60006020820190508181036000830152615ab981615a7d565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615b1c602883613a30565b9150615b2782615ac0565b604082019050919050565b60006020820190508181036000830152615b4b81615b0f565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615bae602983613a30565b9150615bb982615b52565b604082019050919050565b60006020820190508181036000830152615bdd81615ba1565b9050919050565b600060a082019050615bf960008301886142d0565b615c0660208301876142d0565b8181036040830152615c1881866141d2565b90508181036060830152615c2c81856141d2565b90508181036080830152615c40818461589a565b9050969550505050505056fea26469706673582212204c7fb9482d1a914861beb64b1366ed85e56fee830a0bcb87c0724aec0f1790c164736f6c63430008110033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000599699bbfc3a92589ad249607f7265c08a1fb61
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061029f5760003560e01c8063715018a611610167578063c8a84a82116100ce578063f19605d611610087578063f19605d6146107d2578063f242432a146107f0578063f2fde38b1461080c578063f3fef3a314610828578063f474307014610844578063fe73ad77146108625761029f565b8063c8a84a821461070e578063d5abeb011461072c578063defd6c5f1461074a578063e3b9398b14610768578063e985e9c514610786578063efbce030146107b65761029f565b806395d89b411161012057806395d89b411461065e578063a22cb4651461067c578063a6a11bb114610698578063b670a48c146106b6578063bd409f84146106d2578063c19d93fb146106f05761029f565b8063715018a6146105ae57806378e97925146105b857806381960b5c146105d65780638da5cb5b146105f45780639142432c14610612578063923c235b1461062e5761029f565b80632d3456701161020b5780634e1273f4116101c45780634e1273f4146104ee57806351b42b001461051e57806355461d6d146105285780636c2f5acd146105465780636d73e6691461056257806370a082311461057e5761029f565b80632d3456701461043e5780632eb2c2d61461045a5780633197cbb61461047657806331ae450b1461049457806340d1d255146104b257806341f43434146104d05761029f565b806312686aae1161025d57806312686aae1461037a57806316317c211461039857806318886657146103b657806324d7806c146103d45780632639f460146104045780632b85ed9c146104205761029f565b8062fdd58e146102a457806301ffc9a7146102d457806302fb0c5e1461030457806306fdde03146103225780630e89341c146103405780630f15f4c014610370575b600080fd5b6102be60048036038101906102b99190613900565b610880565b6040516102cb919061394f565b60405180910390f35b6102ee60048036038101906102e991906139c2565b610894565b6040516102fb9190613a0a565b60405180910390f35b61030c6108c6565b6040516103199190613a0a565b60405180910390f35b61032a6108d9565b6040516103379190613ab5565b60405180910390f35b61035a60048036038101906103559190613ad7565b610967565b6040516103679190613ab5565b60405180910390f35b6103786109f2565b005b610382610a8c565b60405161038f9190613a0a565b60405180910390f35b6103a0610a9f565b6040516103ad9190613b21565b60405180910390f35b6103be610ab3565b6040516103cb9190613b21565b60405180910390f35b6103ee60048036038101906103e99190613b3c565b610ac7565b6040516103fb9190613a0a565b60405180910390f35b61041e60048036038101906104199190613bce565b610b21565b005b610428610c02565b6040516104359190613b21565b60405180910390f35b61045860048036038101906104539190613b3c565b610c16565b005b610474600480360381019061046f9190613e0e565b610d1e565b005b61047e610d71565b60405161048b919061394f565b60405180910390f35b61049c610d77565b6040516104a99190613f9b565b60405180910390f35b6104ba610e59565b6040516104c7919061394f565b60405180910390f35b6104d8610e5f565b6040516104e5919061401c565b60405180910390f35b610508600480360381019061050391906140fa565b610e71565b6040516105159190614230565b60405180910390f35b610526610f8a565b005b610530611024565b60405161053d9190613a0a565b60405180910390f35b610560600480360381019061055b9190614290565b611037565b005b61057c60048036038101906105779190613b3c565b6110d5565b005b61059860048036038101906105939190613b3c565b6111dc565b6040516105a5919061394f565b60405180910390f35b6105b6611203565b005b6105c061128b565b6040516105cd919061394f565b60405180910390f35b6105de611291565b6040516105eb919061394f565b60405180910390f35b6105fc611297565b60405161060991906142df565b60405180910390f35b61062c60048036038101906106279190614326565b6112c1565b005b610648600480360381019061064391906143f4565b61137a565b6040516106559190613a0a565b60405180910390f35b6106666113b1565b6040516106739190613ab5565b60405180910390f35b61069660048036038101906106919190614469565b61143f565b005b6106a0611458565b6040516106ad919061394f565b60405180910390f35b6106d060048036038101906106cb9190614469565b61145e565b005b6106da611549565b6040516106e791906142df565b60405180910390f35b6106f861156f565b60405161070591906145fc565b60405180910390f35b6107166116b7565b6040516107239190613b21565b60405180910390f35b6107346116cb565b6040516107419190613b21565b60405180910390f35b6107526116df565b60405161075f919061394f565b60405180910390f35b6107706116e5565b60405161077d919061394f565b60405180910390f35b6107a0600480360381019061079b9190614618565b6116eb565b6040516107ad9190613a0a565b60405180910390f35b6107d060048036038101906107cb9190614326565b61177f565b005b6107da6118f6565b6040516107e79190613b21565b60405180910390f35b61080a60048036038101906108059190614658565b61190a565b005b61082660048036038101906108219190613b3c565b61195d565b005b610842600480360381019061083d9190614290565b611a54565b005b61084c611af2565b6040516108599190613b21565b60405180910390f35b61086a611b06565b6040516108779190613b21565b60405180910390f35b600061088c8383611b39565b905092915050565b600061089f82611c02565b806108af57506108ae82611d59565b5b806108bf57506108be82611e3b565b5b9050919050565b600260009054906101000a900460ff1681565b601880546108e69061471e565b80601f01602080910402602001604051908101604052809291908181526020018280546109129061471e565b801561095f5780601f106109345761010080835404028352916020019161095f565b820191906000526020600020905b81548152906001019060200180831161094257829003601f168201915b505050505081565b606081600e60009054906101000a900461ffff1661ffff1610156109c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b79061479b565b60405180910390fd5b600b6109cb83611eb5565b6040516020016109dc92919061488f565b6040516020818303038152906040529050919050565b3373ffffffffffffffffffffffffffffffffffffffff16610a11611297565b73ffffffffffffffffffffffffffffffffffffffff161480610a435750610a4233600c61201590919063ffffffff16565b5b610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7990614925565b60405180910390fd5b610a8a612045565b565b601560149054906101000a900460ff1681565b601260059054906101000a900461ffff1681565b600e60089054906101000a900461ffff1681565b60008173ffffffffffffffffffffffffffffffffffffffff16610ae8611297565b73ffffffffffffffffffffffffffffffffffffffff161480610b1a5750610b1982600c61201590919063ffffffff16565b5b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff16610b40611297565b73ffffffffffffffffffffffffffffffffffffffff161480610b725750610b7133600c61201590919063ffffffff16565b5b610bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba890614925565b60405180910390fd5b610bfe82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506120b2565b5050565b601260039054906101000a900461ffff1681565b610c1e6120c5565b73ffffffffffffffffffffffffffffffffffffffff16610c3c611297565b73ffffffffffffffffffffffffffffffffffffffff1614610c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8990614991565b60405180910390fd5b610ca681600c61201590919063ffffffff16565b15610d1b573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d560405160405180910390a3610d1981600c6120cd90919063ffffffff16565b505b50565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d5c57610d5b336120fd565b5b610d6986868686866121fa565b505050505050565b60045481565b6060610d83600c61229b565b67ffffffffffffffff811115610d9c57610d9b613c1b565b5b604051908082528060200260200182016040528015610dca5781602001602082028036833780820191505090505b50905060005b610dda600c61229b565b811015610e5557610df581600c6122b090919063ffffffff16565b828281518110610e0857610e076149b1565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508080610e4d90614a0f565b915050610dd0565b5090565b60075481565b6daaeb6d7670e522a718067333cd4e81565b60608151835114610eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eae90614ac9565b60405180910390fd5b6000835167ffffffffffffffff811115610ed457610ed3613c1b565b5b604051908082528060200260200182016040528015610f025781602001602082028036833780820191505090505b50905060005b8451811015610f7f57610f4f858281518110610f2757610f266149b1565b5b6020026020010151858381518110610f4257610f416149b1565b5b6020026020010151610880565b828281518110610f6257610f616149b1565b5b60200260200101818152505080610f7890614a0f565b9050610f08565b508091505092915050565b3373ffffffffffffffffffffffffffffffffffffffff16610fa9611297565b73ffffffffffffffffffffffffffffffffffffffff161480610fdb5750610fda33600c61201590919063ffffffff16565b5b61101a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101190614925565b60405180910390fd5b6110226122ca565b565b601260029054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff16611056611297565b73ffffffffffffffffffffffffffffffffffffffff161480611088575061108733600c61201590919063ffffffff16565b5b6110c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110be90614925565b60405180910390fd5b6110d18282612333565b5050565b6110dd6120c5565b73ffffffffffffffffffffffffffffffffffffffff166110fb611297565b73ffffffffffffffffffffffffffffffffffffffff1614611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114890614991565b60405180910390fd5b61116581600c61201590919063ffffffff16565b6111d9573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb160405160405180910390a36111d781600c61237f90919063ffffffff16565b505b50565b60006111fc82600e60009054906101000a900461ffff1661ffff16611b39565b9050919050565b61120b6120c5565b73ffffffffffffffffffffffffffffffffffffffff16611229611297565b73ffffffffffffffffffffffffffffffffffffffff161461127f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127690614991565b60405180910390fd5b61128960006123af565b565b60035481565b60115481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead8460016040518563ffffffff1660e01b81526004016113259493929190614b8c565b600060405180830381600087803b15801561133f57600080fd5b505af1158015611353573d6000803e3d6000fd5b50505050611377338261ffff16600160405180602001604052806000815250612475565b50565b6000806113868361260b565b90506001600082815260200190815260200160002060009054906101000a900460ff16915050919050565b601980546113be9061471e565b80601f01602080910402602001604051908101604052809291908181526020018280546113ea9061471e565b80156114375780601f1061140c57610100808354040283529160200191611437565b820191906000526020600020905b81548152906001019060200180831161141a57829003601f168201915b505050505081565b81611449816120fd565b6114538383612663565b505050565b60065481565b3373ffffffffffffffffffffffffffffffffffffffff1661147d611297565b73ffffffffffffffffffffffffffffffffffffffff1614806114af57506114ae33600c61201590919063ffffffff16565b5b6114ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e590614925565b60405180910390fd5b80601760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115776137c6565b60008073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115b9576115b4612679565b6115bc565b60005b9050604051806101e00160405280600e60049054906101000a900461ffff1661ffff168152602001600e60069054906101000a900461ffff1661ffff168152602001611606611b06565b61ffff168152602001600f548152602001600e60089054906101000a900461ffff1661ffff1681526020016011548152602001601060009054906101000a900461ffff1661ffff1681526020018261ffff168152602001600260009054906101000a900460ff161515815260200160035481526020016004548152602001600554815260200160065481526020016007548152602001601260029054906101000a900460ff16151581525091505090565b600e60069054906101000a900461ffff1681565b601260009054906101000a900461ffff1681565b600f5481565b60055481565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff1661179e611297565b73ffffffffffffffffffffffffffffffffffffffff1614806117d057506117cf33600c61201590919063ffffffff16565b5b61180f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180690614925565b60405180910390fd5b6118176126f5565b61182081612746565b60005b8161ffff168110156118f257600e60029054906101000a900461ffff1661ffff16600e60009054906101000a900461ffff1661ffff1610611899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189090614c30565b60405180910390fd5b6118a433600161279c565b600e600081819054906101000a900461ffff16809291906118c490614c50565b91906101000a81548161ffff021916908361ffff1602179055505080806118ea90614a0f565b915050611823565b5050565b600e60049054906101000a900461ffff1681565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461194857611947336120fd565b5b61195586868686866127e3565b505050505050565b6119656120c5565b73ffffffffffffffffffffffffffffffffffffffff16611983611297565b73ffffffffffffffffffffffffffffffffffffffff16146119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d090614991565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3f90614cec565b60405180910390fd5b611a51816123af565b50565b3373ffffffffffffffffffffffffffffffffffffffff16611a73611297565b73ffffffffffffffffffffffffffffffffffffffff161480611aa55750611aa433600c61201590919063ffffffff16565b5b611ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adb90614925565b60405180910390fd5b611aee8282612884565b5050565b601060009054906101000a900461ffff1681565b6000601260039054906101000a900461ffff16600e60069054906101000a900461ffff16611b349190614d0c565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611ba9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba090614db4565b60405180910390fd5b6009600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f2b94848e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cb4575063bb3bafd660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d035750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d52575063b779958460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e2457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e345750611e33826128ff565b5b9050919050565b60007f553e757e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611eae5750611ead82611d59565b5b9050919050565b606060008203611efc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612010565b600082905060005b60008214611f2e578080611f1790614a0f565b915050600a82611f279190614e03565b9150611f04565b60008167ffffffffffffffff811115611f4a57611f49613c1b565b5b6040519080825280601f01601f191660200182016040528015611f7c5781602001600182028036833780820191505090505b5090505b6000851461200957600182611f959190614e34565b9150600a85611fa49190614e68565b6030611fb09190614e99565b60f81b818381518110611fc657611fc56149b1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120029190614e03565b9450611f80565b8093505050505b919050565b600061203d836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612969565b905092915050565b600260009054906101000a900460ff1615612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c90614f19565b60405180910390fd5b6001600260006101000a81548160ff021916908315150217905550565b80600b90816120c191906150c6565b5050565b600033905090565b60006120f5836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61298c565b905092915050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156121f7576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612174929190615198565b602060405180830381865afa158015612191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b591906151d6565b6121f657806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016121ed91906142df565b60405180910390fd5b5b50565b6122026120c5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806122485750612247856122426120c5565b6116eb565b5b612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e90615275565b60405180910390fd5b6122948585858585612aa0565b5050505050565b60006122a982600001612db6565b9050919050565b60006122bf8360000183612dc7565b60001c905092915050565b600060038190555060006004819055506000600260006101000a81548160ff021916908315150217905550600060068190555060006007819055507fb02389feab3af620e2374d4d559b436ea226b1e6c9c31fe77dfbff3d40cbe9ba60405160405180910390a1565b81601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806014819055505050565b60006123a7836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612df2565b905092915050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036124e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124db90615307565b60405180910390fd5b60006124ee6120c5565b905061250f8160008761250088612e62565b61250988612e62565b87612edc565b826009600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461256f9190614e99565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516125ed929190615327565b60405180910390a461260481600087878787612f7f565b5050505050565b600080829050602081511115612656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264d9061539c565b60405180910390fd5b6020830151915050919050565b61267561266e6120c5565b8383613156565b5050565b6000806126846132c2565b156126e257601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff1690506126ee565b6126eb336111dc565b90505b8091505090565b600260009054906101000a900460ff16612744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273b90615408565b60405180910390fd5b565b600f548161ffff166127589190615428565b3414612799576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612790906154b6565b60405180910390fd5b50565b80601260038282829054906101000a900461ffff166127bb91906154d6565b92506101000a81548161ffff021916908361ffff1602179055506127df8282613319565b5050565b6127eb6120c5565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061283157506128308561282b6120c5565b6116eb565b5b612870576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128679061557e565b60405180910390fd5b61287d8585858585613350565b5050505050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128aa906155cc565b60006040518083038185875af1925050503d80600081146128e7576040519150601f19603f3d011682016040523d82523d6000602084013e6128ec565b606091505b50509050806128fa57600080fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083600101600084815260200190815260200160002054905060008114612a945760006001826129be9190614e34565b90506000600186600001805490506129d69190614e34565b9050818114612a455760008660000182815481106129f7576129f66149b1565b5b9060005260206000200154905080876000018481548110612a1b57612a1a6149b1565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612a5957612a586155e1565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612a9a565b60009150505b92915050565b8151835114612ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adb90615682565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4a90615714565b60405180910390fd5b6000612b5d6120c5565b9050612b6d818787878787612edc565b60005b8451811015612d21576000858281518110612b8e57612b8d6149b1565b5b602002602001015190506000858381518110612bad57612bac6149b1565b5b6020026020010151905060006009600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c46906157a6565b60405180910390fd5b8181036009600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816009600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d069190614e99565b9250508190555050505080612d1a90614a0f565b9050612b70565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612d989291906157c6565b60405180910390a4612dae8187878787876135d4565b505050505050565b600081600001805490509050919050565b6000826000018281548110612ddf57612dde6149b1565b5b9060005260206000200154905092915050565b6000612dfe8383612969565b612e57578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612e5c565b600090505b92915050565b60606000600167ffffffffffffffff811115612e8157612e80613c1b565b5b604051908082528060200260200182016040528015612eaf5781602001602082028036833780820191505090505b5090508281600081518110612ec757612ec66149b1565b5b60200260200101818152505080915050919050565b612eea8686868686866137ab565b601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6e9061586f565b60405180910390fd5b505050505050565b612f9e8473ffffffffffffffffffffffffffffffffffffffff166137b3565b1561314e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612fe49594939291906158d3565b6020604051808303816000875af192505050801561302057506040513d601f19601f8201168201806040525081019061301d9190615942565b60015b6130c55761302c61597c565b806308c379a003613088575061304061599e565b8061304b575061308a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307f9190613ab5565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130bc90615aa0565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461314c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314390615b32565b60405180910390fd5b505b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036131c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bb90615bc4565b60405180910390fd5b80600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516132b59190613a0a565b60405180910390a3505050565b6000601560149054906101000a900460ff1615801561331457506000600e60089054906101000a900461ffff1661ffff16118061331357506000601060009054906101000a900461ffff1661ffff16115b5b905090565b61334c82600e60009054906101000a900461ffff1661ffff168361ffff1660405180602001604052806000815250612475565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036133bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b690615714565b60405180910390fd5b60006133c96120c5565b90506133e98187876133da88612e62565b6133e388612e62565b87612edc565b60006009600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015613481576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613478906157a6565b60405180910390fd5b8381036009600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836009600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135389190614e99565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516135b5929190615327565b60405180910390a46135cb828888888888612f7f565b50505050505050565b6135f38473ffffffffffffffffffffffffffffffffffffffff166137b3565b156137a3578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401613639959493929190615be4565b6020604051808303816000875af192505050801561367557506040513d601f19601f820116820180604052508101906136729190615942565b60015b61371a5761368161597c565b806308c379a0036136dd575061369561599e565b806136a057506136df565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d49190613ab5565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371190615aa0565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146137a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379890615b32565b60405180910390fd5b505b505050505050565b505050505050565b600080823b905060008111915050919050565b604051806101e00160405280600061ffff168152602001600061ffff168152602001600061ffff16815260200160008152602001600061ffff16815260200160008152602001600061ffff168152602001600061ffff16815260200160001515815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138978261386c565b9050919050565b6138a78161388c565b81146138b257600080fd5b50565b6000813590506138c48161389e565b92915050565b6000819050919050565b6138dd816138ca565b81146138e857600080fd5b50565b6000813590506138fa816138d4565b92915050565b6000806040838503121561391757613916613862565b5b6000613925858286016138b5565b9250506020613936858286016138eb565b9150509250929050565b613949816138ca565b82525050565b60006020820190506139646000830184613940565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61399f8161396a565b81146139aa57600080fd5b50565b6000813590506139bc81613996565b92915050565b6000602082840312156139d8576139d7613862565b5b60006139e6848285016139ad565b91505092915050565b60008115159050919050565b613a04816139ef565b82525050565b6000602082019050613a1f60008301846139fb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a5f578082015181840152602081019050613a44565b60008484015250505050565b6000601f19601f8301169050919050565b6000613a8782613a25565b613a918185613a30565b9350613aa1818560208601613a41565b613aaa81613a6b565b840191505092915050565b60006020820190508181036000830152613acf8184613a7c565b905092915050565b600060208284031215613aed57613aec613862565b5b6000613afb848285016138eb565b91505092915050565b600061ffff82169050919050565b613b1b81613b04565b82525050565b6000602082019050613b366000830184613b12565b92915050565b600060208284031215613b5257613b51613862565b5b6000613b60848285016138b5565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613b8e57613b8d613b69565b5b8235905067ffffffffffffffff811115613bab57613baa613b6e565b5b602083019150836001820283011115613bc757613bc6613b73565b5b9250929050565b60008060208385031215613be557613be4613862565b5b600083013567ffffffffffffffff811115613c0357613c02613867565b5b613c0f85828601613b78565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c5382613a6b565b810181811067ffffffffffffffff82111715613c7257613c71613c1b565b5b80604052505050565b6000613c85613858565b9050613c918282613c4a565b919050565b600067ffffffffffffffff821115613cb157613cb0613c1b565b5b602082029050602081019050919050565b6000613cd5613cd084613c96565b613c7b565b90508083825260208201905060208402830185811115613cf857613cf7613b73565b5b835b81811015613d215780613d0d88826138eb565b845260208401935050602081019050613cfa565b5050509392505050565b600082601f830112613d4057613d3f613b69565b5b8135613d50848260208601613cc2565b91505092915050565b600080fd5b600067ffffffffffffffff821115613d7957613d78613c1b565b5b613d8282613a6b565b9050602081019050919050565b82818337600083830152505050565b6000613db1613dac84613d5e565b613c7b565b905082815260208101848484011115613dcd57613dcc613d59565b5b613dd8848285613d8f565b509392505050565b600082601f830112613df557613df4613b69565b5b8135613e05848260208601613d9e565b91505092915050565b600080600080600060a08688031215613e2a57613e29613862565b5b6000613e38888289016138b5565b9550506020613e49888289016138b5565b945050604086013567ffffffffffffffff811115613e6a57613e69613867565b5b613e7688828901613d2b565b935050606086013567ffffffffffffffff811115613e9757613e96613867565b5b613ea388828901613d2b565b925050608086013567ffffffffffffffff811115613ec457613ec3613867565b5b613ed088828901613de0565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f128161388c565b82525050565b6000613f248383613f09565b60208301905092915050565b6000602082019050919050565b6000613f4882613edd565b613f528185613ee8565b9350613f5d83613ef9565b8060005b83811015613f8e578151613f758882613f18565b9750613f8083613f30565b925050600181019050613f61565b5085935050505092915050565b60006020820190508181036000830152613fb58184613f3d565b905092915050565b6000819050919050565b6000613fe2613fdd613fd88461386c565b613fbd565b61386c565b9050919050565b6000613ff482613fc7565b9050919050565b600061400682613fe9565b9050919050565b61401681613ffb565b82525050565b6000602082019050614031600083018461400d565b92915050565b600067ffffffffffffffff82111561405257614051613c1b565b5b602082029050602081019050919050565b600061407661407184614037565b613c7b565b9050808382526020820190506020840283018581111561409957614098613b73565b5b835b818110156140c257806140ae88826138b5565b84526020840193505060208101905061409b565b5050509392505050565b600082601f8301126140e1576140e0613b69565b5b81356140f1848260208601614063565b91505092915050565b6000806040838503121561411157614110613862565b5b600083013567ffffffffffffffff81111561412f5761412e613867565b5b61413b858286016140cc565b925050602083013567ffffffffffffffff81111561415c5761415b613867565b5b61416885828601613d2b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6141a7816138ca565b82525050565b60006141b9838361419e565b60208301905092915050565b6000602082019050919050565b60006141dd82614172565b6141e7818561417d565b93506141f28361418e565b8060005b8381101561422357815161420a88826141ad565b9750614215836141c5565b9250506001810190506141f6565b5085935050505092915050565b6000602082019050818103600083015261424a81846141d2565b905092915050565b600061425d8261386c565b9050919050565b61426d81614252565b811461427857600080fd5b50565b60008135905061428a81614264565b92915050565b600080604083850312156142a7576142a6613862565b5b60006142b58582860161427b565b92505060206142c6858286016138eb565b9150509250929050565b6142d98161388c565b82525050565b60006020820190506142f460008301846142d0565b92915050565b61430381613b04565b811461430e57600080fd5b50565b600081359050614320816142fa565b92915050565b60006020828403121561433c5761433b613862565b5b600061434a84828501614311565b91505092915050565b600067ffffffffffffffff82111561436e5761436d613c1b565b5b61437782613a6b565b9050602081019050919050565b600061439761439284614353565b613c7b565b9050828152602081018484840111156143b3576143b2613d59565b5b6143be848285613d8f565b509392505050565b600082601f8301126143db576143da613b69565b5b81356143eb848260208601614384565b91505092915050565b60006020828403121561440a57614409613862565b5b600082013567ffffffffffffffff81111561442857614427613867565b5b614434848285016143c6565b91505092915050565b614446816139ef565b811461445157600080fd5b50565b6000813590506144638161443d565b92915050565b600080604083850312156144805761447f613862565b5b600061448e858286016138b5565b925050602061449f85828601614454565b9150509250929050565b6144b281613b04565b82525050565b6144c1816139ef565b82525050565b6101e0820160008201516144de60008501826144a9565b5060208201516144f160208501826144a9565b50604082015161450460408501826144a9565b506060820151614517606085018261419e565b50608082015161452a60808501826144a9565b5060a082015161453d60a085018261419e565b5060c082015161455060c08501826144a9565b5060e082015161456360e08501826144a9565b506101008201516145786101008501826144b8565b5061012082015161458d61012085018261419e565b506101408201516145a261014085018261419e565b506101608201516145b761016085018261419e565b506101808201516145cc61018085018261419e565b506101a08201516145e16101a085018261419e565b506101c08201516145f66101c08501826144b8565b50505050565b60006101e08201905061461260008301846144c7565b92915050565b6000806040838503121561462f5761462e613862565b5b600061463d858286016138b5565b925050602061464e858286016138b5565b9150509250929050565b600080600080600060a0868803121561467457614673613862565b5b6000614682888289016138b5565b9550506020614693888289016138b5565b94505060406146a4888289016138eb565b93505060606146b5888289016138eb565b925050608086013567ffffffffffffffff8111156146d6576146d5613867565b5b6146e288828901613de0565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061473657607f821691505b602082108103614749576147486146ef565b5b50919050565b7f546f6b656e20494420646f6573206e6f74206578697374000000000000000000600082015250565b6000614785601783613a30565b91506147908261474f565b602082019050919050565b600060208201905081810360008301526147b481614778565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546147e88161471e565b6147f281866147bb565b9450600182166000811461480d576001811461482257614855565b60ff1983168652811515820286019350614855565b61482b856147c6565b60005b8381101561484d5781548189015260018201915060208101905061482e565b838801955050505b50505092915050565b600061486982613a25565b61487381856147bb565b9350614883818560208601613a41565b80840191505092915050565b600061489b82856147db565b91506148a7828461485e565b91508190509392505050565b7f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f72206160008201527f646d696e00000000000000000000000000000000000000000000000000000000602082015250565b600061490f602483613a30565b915061491a826148b3565b604082019050919050565b6000602082019050818103600083015261493e81614902565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061497b602083613a30565b915061498682614945565b602082019050919050565b600060208201905081810360008301526149aa8161496e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a1a826138ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a4c57614a4b6149e0565b5b600182019050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614ab3602983613a30565b9150614abe82614a57565b604082019050919050565b60006020820190508181036000830152614ae281614aa6565b9050919050565b6000614b04614aff614afa84613b04565b613fbd565b6138ca565b9050919050565b614b1481614ae9565b82525050565b6000819050919050565b6000614b3f614b3a614b3584614b1a565b613fbd565b6138ca565b9050919050565b614b4f81614b24565b82525050565b600082825260208201905092915050565b50565b6000614b76600083614b55565b9150614b8182614b66565b600082019050919050565b600060a082019050614ba160008301876142d0565b614bae60208301866142d0565b614bbb6040830185614b0b565b614bc86060830184614b46565b8181036080830152614bd981614b69565b905095945050505050565b7f5075626c6963206d696e74206c696d6974207265616368656400000000000000600082015250565b6000614c1a601983613a30565b9150614c2582614be4565b602082019050919050565b60006020820190508181036000830152614c4981614c0d565b9050919050565b6000614c5b82613b04565b915061ffff8203614c6f57614c6e6149e0565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614cd6602683613a30565b9150614ce182614c7a565b604082019050919050565b60006020820190508181036000830152614d0581614cc9565b9050919050565b6000614d1782613b04565b9150614d2283613b04565b9250828203905061ffff811115614d3c57614d3b6149e0565b5b92915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614d9e602b83613a30565b9150614da982614d42565b604082019050919050565b60006020820190508181036000830152614dcd81614d91565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e0e826138ca565b9150614e19836138ca565b925082614e2957614e28614dd4565b5b828204905092915050565b6000614e3f826138ca565b9150614e4a836138ca565b9250828203905081811115614e6257614e616149e0565b5b92915050565b6000614e73826138ca565b9150614e7e836138ca565b925082614e8e57614e8d614dd4565b5b828206905092915050565b6000614ea4826138ca565b9150614eaf836138ca565b9250828201905080821115614ec757614ec66149e0565b5b92915050565b7f416c726561647920616374697665000000000000000000000000000000000000600082015250565b6000614f03600e83613a30565b9150614f0e82614ecd565b602082019050919050565b60006020820190508181036000830152614f3281614ef6565b9050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614f867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614f49565b614f908683614f49565b95508019841693508086168417925050509392505050565b6000614fc3614fbe614fb9846138ca565b613fbd565b6138ca565b9050919050565b6000819050919050565b614fdd83614fa8565b614ff1614fe982614fca565b848454614f56565b825550505050565b600090565b615006614ff9565b615011818484614fd4565b505050565b5b818110156150355761502a600082614ffe565b600181019050615017565b5050565b601f82111561507a5761504b816147c6565b61505484614f39565b81016020851015615063578190505b61507761506f85614f39565b830182615016565b50505b505050565b600082821c905092915050565b600061509d6000198460080261507f565b1980831691505092915050565b60006150b6838361508c565b9150826002028217905092915050565b6150cf82613a25565b67ffffffffffffffff8111156150e8576150e7613c1b565b5b6150f2825461471e565b6150fd828285615039565b600060209050601f831160018114615130576000841561511e578287015190505b61512885826150aa565b865550615190565b601f19841661513e866147c6565b60005b8281101561516657848901518255600182019150602085019450602081019050615141565b86831015615183578489015161517f601f89168261508c565b8355505b6001600288020188555050505b505050505050565b60006040820190506151ad60008301856142d0565b6151ba60208301846142d0565b9392505050565b6000815190506151d08161443d565b92915050565b6000602082840312156151ec576151eb613862565b5b60006151fa848285016151c1565b91505092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061525f603283613a30565b915061526a82615203565b604082019050919050565b6000602082019050818103600083015261528e81615252565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006152f1602183613a30565b91506152fc82615295565b604082019050919050565b60006020820190508181036000830152615320816152e4565b9050919050565b600060408201905061533c6000830185613940565b6153496020830184613940565b9392505050565b7f496e76616c6964206e6f6e636500000000000000000000000000000000000000600082015250565b6000615386600d83613a30565b915061539182615350565b602082019050919050565b600060208201905081810360008301526153b581615379565b9050919050565b7f496e616374697665000000000000000000000000000000000000000000000000600082015250565b60006153f2600883613a30565b91506153fd826153bc565b602082019050919050565b60006020820190508181036000830152615421816153e5565b9050919050565b6000615433826138ca565b915061543e836138ca565b925082820261544c816138ca565b91508282048414831517615463576154626149e0565b5b5092915050565b7f496e76616c696420707572636861736520616d6f756e742073656e7400000000600082015250565b60006154a0601c83613a30565b91506154ab8261546a565b602082019050919050565b600060208201905081810360008301526154cf81615493565b9050919050565b60006154e182613b04565b91506154ec83613b04565b9250828201905061ffff811115615506576155056149e0565b5b92915050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000615568602983613a30565b91506155738261550c565b604082019050919050565b600060208201905081810360008301526155978161555b565b9050919050565b600081905092915050565b60006155b660008361559e565b91506155c182614b66565b600082019050919050565b60006155d7826155a9565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061566c602883613a30565b915061567782615610565b604082019050919050565b6000602082019050818103600083015261569b8161565f565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006156fe602583613a30565b9150615709826156a2565b604082019050919050565b6000602082019050818103600083015261572d816156f1565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000615790602a83613a30565b915061579b82615734565b604082019050919050565b600060208201905081810360008301526157bf81615783565b9050919050565b600060408201905081810360008301526157e081856141d2565b905081810360208301526157f481846141d2565b90509392505050565b7f5472616e7366657273206f66207468652070617373206172652066726f7a656e60008201527f20666f7220746869732061646472657373000000000000000000000000000000602082015250565b6000615859603183613a30565b9150615864826157fd565b604082019050919050565b600060208201905081810360008301526158888161584c565b9050919050565b600081519050919050565b60006158a58261588f565b6158af8185614b55565b93506158bf818560208601613a41565b6158c881613a6b565b840191505092915050565b600060a0820190506158e860008301886142d0565b6158f560208301876142d0565b6159026040830186613940565b61590f6060830185613940565b8181036080830152615921818461589a565b90509695505050505050565b60008151905061593c81613996565b92915050565b60006020828403121561595857615957613862565b5b60006159668482850161592d565b91505092915050565b60008160e01c9050919050565b600060033d111561599b5760046000803e61599860005161596f565b90505b90565b600060443d10615a2b576159b0613858565b60043d036004823e80513d602482011167ffffffffffffffff821117156159d8575050615a2b565b808201805167ffffffffffffffff8111156159f65750505050615a2b565b80602083010160043d038501811115615a13575050505050615a2b565b615a2282602001850186613c4a565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615a8a603483613a30565b9150615a9582615a2e565b604082019050919050565b60006020820190508181036000830152615ab981615a7d565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615b1c602883613a30565b9150615b2782615ac0565b604082019050919050565b60006020820190508181036000830152615b4b81615b0f565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615bae602983613a30565b9150615bb982615b52565b604082019050919050565b60006020820190508181036000830152615bdd81615ba1565b9050919050565b600060a082019050615bf960008301886142d0565b615c0660208301876142d0565b8181036040830152615c1881866141d2565b90508181036060830152615c2c81856141d2565b90508181036080830152615c40818461589a565b9050969550505050505056fea26469706673582212204c7fb9482d1a914861beb64b1366ed85e56fee830a0bcb87c0724aec0f1790c164736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000599699bbfc3a92589ad249607f7265c08a1fb61
-----Decoded View---------------
Arg [0] : signingAddress_ (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : _ozV1Address (address): 0x0599699BBFC3a92589AD249607f7265c08A1FB61
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : 0000000000000000000000000599699bbfc3a92589ad249607f7265c08a1fb61
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.