ERC-1155
Overview
Max Total Supply
269 PASS
Holders
123
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:
LilFranksMintPassportFactory
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* * * Dev by @andrewjiang * Thanks to @PixelVault_, @bitcoinski, @ultra_dao for driving forward the mint pass approach. * This smart contract was heavily inspired by you guys. Way to lead the way. * * Thanks to the Lil Franks team members: * Project Lead: @Frankie_Sutera * Artist: @axlittlexjuice * Community & Marketing: @JamesHalldon | @taylortresca * Website & Web3: @andrewjiang | @Frankie_Sutera | @JamesHalldon * Smart Contracts: @andrewjiang * */ pragma solidity 0.8.0; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import './AbstractMintPassportFactory.sol'; import "./console.sol"; /* ,sM""""%W, ,#" 7m ,mAWmw, # ]p @" "W# ]p # s##WWmw @ @ # ,# %b #%m, ]b j `@, @b @ @p %m ,' ]b "Wp "= ,,sMW""^````"5# # ]##W ,e#"` 15b ,#Q,,ssmmw,, ,####ll5#b # ^%#mw,e###bGl#f##Q##WGl##m ;#@S#####p@b @Q @#b GGGG ^'' GGGG@##f# @#########"%m ###m, ]b( ,;,,QJQ G,QQ"#`%W@b #SG##@"\QkpQQ@###MMWW%%"""""7""""""""""""""^``` `"%##""@p #5#Q# ,Q##"` ,,s,, s######wssm p %Qp@ ##5#S5##W p 'WW############## "@@@########### .p @m# @###b#@# , ]#########@### .#MW55WM @@############s @b %####@b , 7@############# `^"%p @############ .p .# ] %### ^############b ,# ^@####@##### s ;# sM%M `%#Q G7bGGGG,G "@##@####M "7WWWWWW" '"%##W7 ,#" "%mp GGG GGGGG ' GGG GGG.#7p ,,#M" `"WmQQ, GGGGGGGGGGGG "We###" GG ,,sm#M"` `"""%%W####mmmmmmm##m#MWW%""""` ######"^ GG@ @#b^ GGGGGGGG^Q # "WQ ,#b ," "%w, s" "m ,s#""#m @@ #"W, ,s#" "@W, # ,M `""=m,, ,#M` ""@Wm,@#` @#"m @#p @#" # @ @N ^p ,#" ##@ b @ # b sM` """ b jb @ ^p @ ;##p , # b # @ ] @p "WM ]#l@ @ # ` `` ` ``` ` `` ` */ contract LilFranksMintPassportFactory is AbstractMintPassportFactory { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private mpCounter; bytes32 public constant LIL_FRANKS_OPERATOR_ROLE = keccak256("LIL_FRANKS_OPERATOR_ROLE"); mapping(uint256 => MintPass) public mintPasses; event Claimed(uint index, address indexed account, uint amount); event ClaimedMultiple(uint[] index, address indexed account, uint[] amount); event Node(bytes32 node); struct MintPass { bytes32 merkleRoot; bool saleIsOpen; uint256 windowOpens; uint256 windowCloses; uint256 mintPrice; uint256 maxSupply; uint256 maxPerWallet; uint256 maxMintPerTxn; string ipfsMetadataHash; address redeemableContract; mapping(address => uint256) claimedMPs; } constructor() public ERC1155("ipfs://ipfs/") { name_ = "Lil Franks Mint Passport"; symbol_ = "PASS"; _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(DEFAULT_ADMIN_ROLE, 0x760e7B42c920c2a0FeB58DDD610c14A6Bdd2Ebea); //@andrewjiang _setupRole(DEFAULT_ADMIN_ROLE, 0xbEC0ddF1ce342BC00aD090c79c351941eE1303C6); //@Frankie_Sutera grantRole(LIL_FRANKS_OPERATOR_ROLE, msg.sender); } function addMintPass( bytes32 _merkleRoot, uint256 _windowOpens, uint256 _windowCloses, uint256 _mintPrice, uint256 _maxSupply, uint256 _maxMintPerTxn, string memory _ipfsMetadataHash, address _redeemableContract, uint256 _maxPerWallet ) external onlyOwner { require(_windowOpens < _windowCloses, "addMintPass: open window must be before close window"); require(_windowOpens > 0 && _windowCloses > 0, "addMintPass: window cannot be 0"); MintPass storage mp = mintPasses[mpCounter.current()]; mp.saleIsOpen = false; mp.merkleRoot = _merkleRoot; mp.windowOpens = _windowOpens; mp.windowCloses = _windowCloses; mp.mintPrice = _mintPrice; mp.maxSupply = _maxSupply; mp.maxMintPerTxn = _maxMintPerTxn; mp.maxPerWallet = _maxPerWallet; mp.ipfsMetadataHash = _ipfsMetadataHash; mp.redeemableContract = _redeemableContract; mpCounter.increment(); } function editMintPass( bytes32 _merkleRoot, uint256 _windowOpens, uint256 _windowCloses, uint256 _mintPrice, uint256 _maxSupply, uint256 _maxMintPerTxn, string memory _ipfsMetadataHash, address _redeemableContract, uint256 _mpIndex, bool _saleIsOpen, uint256 _maxPerWallet ) external onlyOwner { require(_windowOpens < _windowCloses, "editMintPass: open window must be before close window"); require(_windowOpens > 0 && _windowCloses > 0, "editMintPass: window cannot be 0"); mintPasses[_mpIndex].merkleRoot = _merkleRoot; mintPasses[_mpIndex].windowOpens = _windowOpens; mintPasses[_mpIndex].windowCloses = _windowCloses; mintPasses[_mpIndex].mintPrice = _mintPrice; mintPasses[_mpIndex].maxSupply = _maxSupply; mintPasses[_mpIndex].maxMintPerTxn = _maxMintPerTxn; mintPasses[_mpIndex].ipfsMetadataHash = _ipfsMetadataHash; mintPasses[_mpIndex].redeemableContract = _redeemableContract; mintPasses[_mpIndex].saleIsOpen = _saleIsOpen; mintPasses[_mpIndex].maxPerWallet = _maxPerWallet; } function burnFromRedeem( address account, uint256 mpIndex, uint256 amount ) external { require(mintPasses[mpIndex].redeemableContract == msg.sender, "Burnable: Only allowed from redeemable contract"); _burn(account, mpIndex, amount); } function claim( uint256 numPasses, uint256 mpIndex, bytes32[] calldata merkleProof ) external payable { require(isValidClaim(numPasses,mpIndex,merkleProof)); //return any excess funds to sender if overpaid uint256 excessPayment = msg.value.sub(numPasses.mul(mintPasses[mpIndex].mintPrice)); if (excessPayment > 0) { (bool returnExcessStatus, ) = _msgSender().call{value: excessPayment}(""); require(returnExcessStatus, "Error returning excess payment"); } mintPasses[mpIndex].claimedMPs[msg.sender] = mintPasses[mpIndex].claimedMPs[msg.sender].add(numPasses); _mint(msg.sender, mpIndex, numPasses, ""); emit Claimed(mpIndex, msg.sender, numPasses); } function claimMultiple( uint256[] calldata numPasses, uint256[] calldata mpIndexs, bytes32[][] calldata merkleProofs ) external payable { require(!paused(), "Claim: claiming is paused"); for (uint i=0; i< mpIndexs.length; i++) { require(isValidClaim(numPasses[i],mpIndexs[i],merkleProofs[i]), "One or more claims are invalid"); } for (uint i=0; i< mpIndexs.length; i++) { mintPasses[mpIndexs[i]].claimedMPs[msg.sender] = mintPasses[mpIndexs[i]].claimedMPs[msg.sender].add(numPasses[i]); } _mintBatch(msg.sender, mpIndexs, numPasses, ""); emit ClaimedMultiple(mpIndexs, msg.sender, numPasses); } function mint( address to, uint256 numPasses, uint256 mpIndex) public { require(isLilFranksTeamMember(msg.sender), "Caller does not have required role"); _mint(to, mpIndex, numPasses, ""); } function mintBatch( address to, uint256[] calldata numPasses, uint256[] calldata mpIndexs) public { require(isLilFranksTeamMember(msg.sender), "Caller does not have required role"); _mintBatch(to, mpIndexs, numPasses, ""); } function isValidClaim( uint256 numPasses, uint256 mpIndex, bytes32[] calldata merkleProof) internal view returns (bool) { // verify contract is not paused require(mintPasses[mpIndex].saleIsOpen, "Sale is paused"); require(!paused(), "Claim: claiming is paused"); // verify mint pass for given index exists require(mintPasses[mpIndex].windowOpens != 0, "Claim: Mint pass does not exist"); // Verify within window require (block.timestamp > mintPasses[mpIndex].windowOpens && block.timestamp < mintPasses[mpIndex].windowCloses, "Claim: time window closed"); // Verify minting price require(msg.value >= numPasses.mul(mintPasses[mpIndex].mintPrice), "Claim: Ether value incorrect"); // Verify numPasses is within remaining claimable amount // require(mintPasses[mpIndex].claimedMPs[msg.sender].add(numPasses) <= amount, "Claim: Not allowed to claim given amount"); require(mintPasses[mpIndex].claimedMPs[msg.sender].add(numPasses) <= mintPasses[mpIndex].maxPerWallet, "Claim: Not allowed to claim that many from one wallet"); require(numPasses <= mintPasses[mpIndex].maxMintPerTxn, "Max quantity per transaction exceeded"); console.log('total supply left', totalSupply(mpIndex)); require(totalSupply(mpIndex) + numPasses <= mintPasses[mpIndex].maxSupply, "Purchase would exceed max supply"); console.log('isValidClaim leaf sender', msg.sender); bool isValid = verifyMerkleProof(merkleProof, mpIndex); console.log('ISVALIDMERKLEPROOF', isValid); require( isValid, "MerkleDistributor: Invalid proof." ); return isValid; } function isSaleOpen(uint256 mpIndex) public view returns (bool) { return mintPasses[mpIndex].saleIsOpen; } function turnSaleOn(uint256 mpIndex) external{ require(isLilFranksTeamMember(msg.sender), "Caller does not have required role"); mintPasses[mpIndex].saleIsOpen = true; } function turnSaleOff(uint256 mpIndex) external{ require(isLilFranksTeamMember(msg.sender), "Caller does not have required role"); mintPasses[mpIndex].saleIsOpen = false; } function promoteTeamMember(address _addr) public{ console.log('promoteTeamMember', _addr); grantRole(LIL_FRANKS_OPERATOR_ROLE, _addr); } function demoteTeamMember(address _addr) public { revokeRole(LIL_FRANKS_OPERATOR_ROLE, _addr); } function isLilFranksTeamMember(address _addr) internal view returns (bool){ return hasRole(LIL_FRANKS_OPERATOR_ROLE, _addr) || hasRole(DEFAULT_ADMIN_ROLE, _addr); } function makeLeaf(address _addr) public view returns (bytes32) { bytes32 node = keccak256(abi.encodePacked(_addr)); return node; } function verifyMerkleProof(bytes32[] calldata merkleProof, uint256 mpIndex) public view returns (bool) { if(mintPasses[mpIndex].merkleRoot == 0x000000000000000000000000000000000000000000007075626c696373616c65){ return true; } bytes32 node = makeLeaf(msg.sender); return MerkleProof.verify(merkleProof, mintPasses[mpIndex].merkleRoot, node); } function toAsciiString(address x) internal view returns (string memory) { bytes memory s = new bytes(40); for (uint i = 0; i < 20; i++) { bytes1 b = bytes1(uint8(uint(uint160(x)) / (2**(8*(19 - i))))); bytes1 hi = bytes1(uint8(b) / 16); bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi)); s[2*i] = char(hi); s[2*i+1] = char(lo); } return string(s); } function char(bytes1 b) internal view returns (bytes1 c) { if (uint8(b) < 10) return bytes1(uint8(b) + 0x30); else return bytes1(uint8(b) + 0x57); } function withdrawEther(address payable _to, uint256 _amount) public onlyOwner { _to.transfer(_amount); } function getClaimedMps(uint256 poolId, address userAddress) public view returns (uint256) { return mintPasses[poolId].claimedMPs[userAddress]; } function uri(uint256 _id) public view override returns (string memory) { require(totalSupply(_id) > 0, "URI: nonexistent token"); return string(abi.encodePacked(super.uri(_id), mintPasses[_id].ipfsMetadataHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] += amount; emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, 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 `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } emit TransferSingle(operator, account, 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 account, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} 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.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT 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; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts/access/AccessControl.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol'; import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol'; import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol'; abstract contract AbstractMintPassportFactory is AccessControl, ERC1155Pausable, ERC1155Supply, ERC1155Burnable, Ownable { string public name_; string public symbol_; function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } function setURI(string memory baseURI) external onlyOwner { _setURI(baseURI); } function name() public view returns (string memory) { return name_; } function symbol() public view returns (string memory) { return symbol_; } function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual override(ERC1155, ERC1155Supply) { super._mint(account, id, amount, data); } function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override(ERC1155, ERC1155Supply) { super._mintBatch(to, ids, amounts, data); } function _burn( address account, uint256 id, uint256 amount ) internal virtual override(ERC1155, ERC1155Supply) { super._burn(account, id, amount); } function _burnBatch( address account, uint256[] memory ids, uint256[] memory amounts ) internal virtual override(ERC1155, ERC1155Supply) { super._burnBatch(account, ids, amounts); } function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override(ERC1155Pausable, ERC1155) { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } function setOwner(address _addr) public onlyOwner { transferOwnership(_addr); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT 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 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; /** * @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 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 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 pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.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 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC1155.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC1155 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. * * _Available since v3.1._ */ abstract contract ERC1155Pausable is ERC1155, Pausable { /** * @dev See {ERC1155-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ 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(!paused(), "ERC1155Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates weither any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_mint}. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual override { super._mint(account, id, amount, data); _totalSupply[id] += amount; } /** * @dev See {ERC1155-_mintBatch}. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._mintBatch(to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } /** * @dev See {ERC1155-_burn}. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual override { super._burn(account, id, amount); _totalSupply[id] -= amount; } /** * @dev See {ERC1155-_burnBatch}. */ function _burnBatch( address account, uint256[] memory ids, uint256[] memory amounts ) internal virtual override { super._burnBatch(account, ids, amounts); for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"index","type":"uint256[]"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"ClaimedMultiple","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"Node","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIL_FRANKS_OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_windowOpens","type":"uint256"},{"internalType":"uint256","name":"_windowCloses","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintPerTxn","type":"uint256"},{"internalType":"string","name":"_ipfsMetadataHash","type":"string"},{"internalType":"address","name":"_redeemableContract","type":"address"},{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"addMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"mpIndex","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFromRedeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numPasses","type":"uint256"},{"internalType":"uint256","name":"mpIndex","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"numPasses","type":"uint256[]"},{"internalType":"uint256[]","name":"mpIndexs","type":"uint256[]"},{"internalType":"bytes32[][]","name":"merkleProofs","type":"bytes32[][]"}],"name":"claimMultiple","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"demoteTeamMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_windowOpens","type":"uint256"},{"internalType":"uint256","name":"_windowCloses","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintPerTxn","type":"uint256"},{"internalType":"string","name":"_ipfsMetadataHash","type":"string"},{"internalType":"address","name":"_redeemableContract","type":"address"},{"internalType":"uint256","name":"_mpIndex","type":"uint256"},{"internalType":"bool","name":"_saleIsOpen","type":"bool"},{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"editMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"poolId","type":"uint256"},{"internalType":"address","name":"userAddress","type":"address"}],"name":"getClaimedMps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mpIndex","type":"uint256"}],"name":"isSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"makeLeaf","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numPasses","type":"uint256"},{"internalType":"uint256","name":"mpIndex","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"numPasses","type":"uint256[]"},{"internalType":"uint256[]","name":"mpIndexs","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintPasses","outputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"bool","name":"saleIsOpen","type":"bool"},{"internalType":"uint256","name":"windowOpens","type":"uint256"},{"internalType":"uint256","name":"windowCloses","type":"uint256"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxMintPerTxn","type":"uint256"},{"internalType":"string","name":"ipfsMetadataHash","type":"string"},{"internalType":"address","name":"redeemableContract","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name_","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"promoteTeamMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol_","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mpIndex","type":"uint256"}],"name":"turnSaleOff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mpIndex","type":"uint256"}],"name":"turnSaleOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","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":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"mpIndex","type":"uint256"}],"name":"verifyMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060408051808201909152600c81526b697066733a2f2f697066732f60a01b6020820152620000408162000155565b506004805460ff191690556200005f620000596200016e565b62000172565b6040805180820190915260188082527f4c696c204672616e6b73204d696e742050617373706f727400000000000000006020909201918252620000a59160079162000522565b50604080518082019091526004808252635041535360e01b6020909201918252620000d39160089162000522565b50620000e1600033620001c4565b62000102600073760e7b42c920c2a0feb58ddd610c14a6bdd2ebea620001c4565b62000123600073bec0ddf1ce342bc00ad090c79c351941ee1303c6620001c4565b6200014f7f7134ed5ff49271deb044fbad11674069fc122f9be1f0042e7622ee9ab85706c233620001d0565b62000788565b80516200016a90600390602084019062000522565b5050565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200016a828262000201565b620001db826200028b565b620001f081620001ea6200016e565b620002a0565b620001fc838362000201565b505050565b6200020d82826200032c565b6200016a576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002476200016e565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60009081526020819052604090206001015490565b620002ac82826200032c565b6200016a57620002d2816001600160a01b031660146200035560201b62001bb61760201c565b620002e883602062001bb662000355821b17811c565b604051602001620002fb929190620005c8565b60408051601f198184030181529082905262461bcd60e51b8252620003239160040162000641565b60405180910390fd5b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600062000366836002620006c6565b62000373906002620006ab565b6001600160401b038111156200039957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015620003c4576020820181803683370190505b509050600360fc1b81600081518110620003ee57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106200042c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600062000452846002620006c6565b6200045f906001620006ab565b90505b6001811115620004f9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110620004a357634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110620004c857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93620004f1816200071b565b905062000462565b5083156200051b5760405162461bcd60e51b8152600401620003239062000676565b9392505050565b828054620005309062000735565b90600052602060002090601f0160209004810192826200055457600085556200059f565b82601f106200056f57805160ff19168380011785556200059f565b828001600101855582156200059f579182015b828111156200059f57825182559160200191906001019062000582565b50620005ad929150620005b1565b5090565b5b80821115620005ad5760008155600101620005b2565b60007f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008252835162000602816017850160208801620006e8565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835162000635816028840160208801620006e8565b01602801949350505050565b600060208252825180602084015262000662816040850160208701620006e8565b601f01601f19169190910160400192915050565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60008219821115620006c157620006c162000772565b500190565b6000816000190483118215151615620006e357620006e362000772565b500290565b60005b8381101562000705578181015183820152602001620006eb565b8381111562000715576000848401525b50505050565b6000816200072d576200072d62000772565b506000190190565b6002810460018216806200074a57607f821691505b602082108114156200076c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b614b8e80620007986000396000f3fe6080604052600436106102925760003560e01c80636b20c4541161015a578063af95f9fb116100c1578063e2b9e1861161007a578063e2b9e186146107bc578063e985e9c5146107d1578063f242432a146107f1578063f2fde38b14610811578063f5298aca14610831578063f8b6b62b1461085157610292565b8063af95f9fb146106f3578063bd85b03914610729578063c0b09e5b14610749578063c195a4ef1461075c578063d547741f1461077c578063d81d0a151461079c57610292565b806395d89b411161011357806395d89b4114610661578063a217fddf14610676578063a22cb4651461068b578063aae33b97146106ab578063ae0b51df146106cb578063af17dea6146106de57610292565b80636b20c454146105b55780636d51188b146105d5578063715018a6146105f55780638456cb591461060a5780638da5cb5b1461061f57806391d148541461064157610292565b80632f2ff15d116101fe5780634e29f441116101b75780634e29f441146105005780634f558e791461052057806350e5c8a614610540578063522f6815146105605780635c975abb146105805780635dc709e21461059557610292565b80632f2ff15d1461043e57806336568abe1461045e5780633aeca2101461047e5780633f4ba83a1461049e5780634044556d146104b35780634e1273f4146104d357610292565b80630e89341c116102505780630e89341c1461037e57806313af40351461039e57806313c7bd7d146103be578063156e29f6146103de578063248a9ca3146103fe5780632eb2c2d61461041e57610292565b8062fdd58e1461029757806301ffc9a7146102cd57806302fe5305146102fa578063033e16201461031c57806306fdde031461033c57806307550c671461035e575b600080fd5b3480156102a357600080fd5b506102b76102b23660046136e4565b610866565b6040516102c49190613e10565b60405180910390f35b3480156102d957600080fd5b506102ed6102e8366004613a44565b6108bf565b6040516102c49190613e05565b34801561030657600080fd5b5061031a610315366004613a7c565b6108d2565b005b34801561032857600080fd5b506102ed6103373660046137e9565b61091d565b34801561034857600080fd5b506103516109a8565b6040516102c49190613e81565b34801561036a57600080fd5b5061031a610379366004613431565b610a3b565b34801561038a57600080fd5b506103516103993660046138c7565b610a53565b3480156103aa57600080fd5b5061031a6103b9366004613431565b610abf565b3480156103ca57600080fd5b506102b76103d9366004613431565b610b07565b3480156103ea57600080fd5b5061031a6103f93660046136f6565b610b3a565b34801561040a57600080fd5b506102b76104193660046138c7565b610b7f565b34801561042a57600080fd5b5061031a6104393660046134b0565b610b94565b34801561044a57600080fd5b5061031a6104593660046138df565b610bf2565b34801561046a57600080fd5b5061031a6104793660046138df565b610c16565b34801561048a57600080fd5b5061031a6104993660046136f6565b610c5c565b3480156104aa57600080fd5b5061031a610ca0565b3480156104bf57600080fd5b506102ed6104ce3660046138c7565b610ce9565b3480156104df57600080fd5b506104f36104ee36600461372a565b610d01565b6040516102c49190613dcd565b34801561050c57600080fd5b5061031a61051b3660046138c7565b610e20565b34801561052c57600080fd5b506102ed61053b3660046138c7565b610e65565b34801561054c57600080fd5b5061031a61055b366004613431565b610e78565b34801561056c57600080fd5b5061031a61057b36600461344d565b610ec3565b34801561058c57600080fd5b506102ed610f38565b3480156105a157600080fd5b5061031a6105b0366004613996565b610f41565b3480156105c157600080fd5b5061031a6105d036600461363e565b61106b565b3480156105e157600080fd5b5061031a6105f0366004613903565b6110c0565b34801561060157600080fd5b5061031a6111ef565b34801561061657600080fd5b5061031a611238565b34801561062b57600080fd5b5061063461127f565b6040516102c49190613cef565b34801561064d57600080fd5b506102ed61065c3660046138df565b61128e565b34801561066d57600080fd5b506103516112b7565b34801561068257600080fd5b506102b76112c6565b34801561069757600080fd5b5061031a6106a63660046136b0565b6112cb565b3480156106b757600080fd5b5061031a6106c63660046138c7565b611399565b61031a6106d9366004613ab6565b6113d9565b3480156106ea57600080fd5b5061035161154b565b3480156106ff57600080fd5b5061071361070e3660046138c7565b6115d9565b6040516102c49a99989796959493929190613e19565b34801561073557600080fd5b506102b76107443660046138c7565b6116c1565b61031a610757366004613832565b6116d3565b34801561076857600080fd5b506102b76107773660046138df565b61196f565b34801561078857600080fd5b5061031a6107973660046138df565b61199a565b3480156107a857600080fd5b5061031a6107b73660046135bf565b6119b9565b3480156107c857600080fd5b50610351611a5a565b3480156107dd57600080fd5b506102ed6107ec366004613478565b611a67565b3480156107fd57600080fd5b5061031a61080c366004613559565b611a95565b34801561081d57600080fd5b5061031a61082c366004613431565b611aec565b34801561083d57600080fd5b5061031a61084c3660046136f6565b611b5a565b34801561085d57600080fd5b506102b7611ba4565b60006001600160a01b0383166108975760405162461bcd60e51b815260040161088e90614003565b60405180910390fd5b5060009081526001602090815260408083206001600160a01b03949094168352929052205490565b60006108ca82611d67565b90505b919050565b6108da611da7565b6001600160a01b03166108eb61127f565b6001600160a01b0316146109115760405162461bcd60e51b815260040161088e906144f4565b61091a81611dab565b50565b6000818152600a6020526040812054697075626c696373616c651415610945575060016109a1565b600061095033610b07565b905061099d8585808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250888152600a60205260409020549250859150611dbe9050565b9150505b9392505050565b6060600780546109b7906149e1565b80601f01602080910402602001604051908101604052809291908181526020018280546109e3906149e1565b8015610a305780601f10610a0557610100808354040283529160200191610a30565b820191906000526020600020905b815481529060010190602001808311610a1357829003601f168201915b505050505090505b90565b61091a600080516020614b398339815191528261199a565b60606000610a60836116c1565b11610a7d5760405162461bcd60e51b815260040161088e90614597565b610a8682611e79565b6000838152600a60209081526040918290209151610aa993926008019101613bcb565b6040516020818303038152906040529050919050565b610ac7611da7565b6001600160a01b0316610ad861127f565b6001600160a01b031614610afe5760405162461bcd60e51b815260040161088e906144f4565b61091a81611aec565b60008082604051602001610b1b9190613ba0565b60408051808303601f1901815291905280516020909101209392505050565b610b4333611f0d565b610b5f5760405162461bcd60e51b815260040161088e9061468a565b610b7a83828460405180602001604052806000815250611f38565b505050565b60009081526020819052604090206001015490565b610b9c611da7565b6001600160a01b0316856001600160a01b03161480610bc25750610bc2856107ec611da7565b610bde5760405162461bcd60e51b815260040161088e9061432d565b610beb8585858585611f4a565b5050505050565b610bfb82610b7f565b610c0c81610c07611da7565b61211e565b610b7a8383612182565b610c1e611da7565b6001600160a01b0316816001600160a01b031614610c4e5760405162461bcd60e51b815260040161088e9061480f565b610c588282612207565b5050565b6000828152600a60205260409020600901546001600160a01b03163314610c955760405162461bcd60e51b815260040161088e906141f7565b610b7a83838361228a565b610ca8611da7565b6001600160a01b0316610cb961127f565b6001600160a01b031614610cdf5760405162461bcd60e51b815260040161088e906144f4565b610ce7612295565b565b6000908152600a602052604090206001015460ff1690565b60608151835114610d245760405162461bcd60e51b815260040161088e90614715565b600083516001600160401b03811115610d4d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d76578160200160208202803683370190505b50905060005b8451811015610e1857610ddd858281518110610da857634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610dd057634e487b7160e01b600052603260045260246000fd5b6020026020010151610866565b828281518110610dfd57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610e1181614a1c565b9050610d7c565b509392505050565b610e2933611f0d565b610e455760405162461bcd60e51b815260040161088e9061468a565b6000908152600a602052604090206001908101805460ff19169091179055565b600080610e71836116c1565b1192915050565b610eab60405180604001604052806011815260200170383937b6b7ba32aa32b0b6a6b2b6b132b960791b81525082612303565b61091a600080516020614b3983398151915282610bf2565b610ecb611da7565b6001600160a01b0316610edc61127f565b6001600160a01b031614610f025760405162461bcd60e51b815260040161088e906144f4565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610b7a573d6000803e3d6000fd5b60045460ff1690565b610f49611da7565b6001600160a01b0316610f5a61127f565b6001600160a01b031614610f805760405162461bcd60e51b815260040161088e906144f4565b888a10610f9f5760405162461bcd60e51b815260040161088e906140d8565b60008a118015610faf5750600089115b610fcb5760405162461bcd60e51b815260040161088e906141c2565b6000838152600a602090815260409091208c8155600281018c9055600381018b9055600481018a9055600581018990556007810188905586516110169260089092019188019061326a565b506000928352600a60205260409092206009810180546001600160a01b0319166001600160a01b03959095169490941790935560018301805460ff191691151591909117905560069091015550505050505050565b611073611da7565b6001600160a01b0316836001600160a01b031614806110995750611099836107ec611da7565b6110b55760405162461bcd60e51b815260040161088e90614179565b610b7a838383612348565b6110c8611da7565b6001600160a01b03166110d961127f565b6001600160a01b0316146110ff5760405162461bcd60e51b815260040161088e906144f4565b86881061111e5760405162461bcd60e51b815260040161088e9061485e565b60008811801561112e5750600087115b61114a5760405162461bcd60e51b815260040161088e90614560565b6000600a600061115a6009612353565b815260208082019290925260400160002060018101805460ff191690558b8155600281018b9055600381018a90556004810189905560058101889055600781018790556006810184905585519092506111bb9160088401919087019061326a565b50600981810180546001600160a01b0319166001600160a01b0386161790556111e390612357565b50505050505050505050565b6111f7611da7565b6001600160a01b031661120861127f565b6001600160a01b03161461122e5760405162461bcd60e51b815260040161088e906144f4565b610ce76000612360565b611240611da7565b6001600160a01b031661125161127f565b6001600160a01b0316146112775760405162461bcd60e51b815260040161088e906144f4565b610ce76123b2565b6006546001600160a01b031690565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600880546109b7906149e1565b600081565b816001600160a01b03166112dd611da7565b6001600160a01b031614156113045760405162461bcd60e51b815260040161088e906146cc565b8060026000611311611da7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611355611da7565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161138d9190613e05565b60405180910390a35050565b6113a233611f0d565b6113be5760405162461bcd60e51b815260040161088e9061468a565b6000908152600a60205260409020600101805460ff19169055565b6113e58484848461240d565b6113ee57600080fd5b6000838152600a60205260408120600401546114169061140f9087906126bb565b34906126c7565b905080156114a3576000611428611da7565b6001600160a01b03168260405161143e90610a38565b60006040518083038185875af1925050503d806000811461147b576040519150601f19603f3d011682016040523d82523d6000602084013e611480565b606091505b50509050806114a15760405162461bcd60e51b815260040161088e906143f7565b505b6000848152600a6020818152604080842033855290920190529020546114c990866126d3565b6000858152600a6020818152604080842033808652930182528084209490945583519081019093529082526115019186908890611f38565b336001600160a01b03167f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed026858760405161153c929190613bbd565b60405180910390a25050505050565b60088054611558906149e1565b80601f0160208091040260200160405190810160405280929190818152602001828054611584906149e1565b80156115d15780601f106115a6576101008083540402835291602001916115d1565b820191906000526020600020905b8154815290600101906020018083116115b457829003601f168201915b505050505081565b600a60205260009081526040902080546001820154600283015460038401546004850154600586015460068701546007880154600889018054989960ff9098169896979596949593949293919261162f906149e1565b80601f016020809104026020016040519081016040528092919081815260200182805461165b906149e1565b80156116a85780601f1061167d576101008083540402835291602001916116a8565b820191906000526020600020905b81548152906001019060200180831161168b57829003601f168201915b505050600990930154919250506001600160a01b03168a565b60009081526005602052604090205490565b6116db610f38565b156116f85760405162461bcd60e51b815260040161088e90614246565b60005b838110156117b95761178b87878381811061172657634e487b7160e01b600052603260045260246000fd5b9050602002013586868481811061174d57634e487b7160e01b600052603260045260246000fd5b9050602002013585858581811061177457634e487b7160e01b600052603260045260246000fd5b905060200281019061178691906148b2565b61240d565b6117a75760405162461bcd60e51b815260040161088e90614653565b806117b181614a1c565b9150506116fb565b5060005b838110156118a3576118438787838181106117e857634e487b7160e01b600052603260045260246000fd5b90506020020135600a600088888681811061181357634e487b7160e01b600052603260045260246000fd5b602090810292909201358352508181019290925260409081016000908120338252600a01909252902054906126d3565b600a600087878581811061186757634e487b7160e01b600052603260045260246000fd5b602090810292909201358352508181019290925260409081016000908120338252600a019092529020558061189b81614a1c565b9150506117bd565b506119203385858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808d0282810182019093528c82529093508c92508b9182918501908490808284376000920182905250604080516020810190915290815292506126df915050565b336001600160a01b03167f1f36743b8f77937c5a06ebeca4819ea0c795222f7ecf5a42583ff5d0063adabf8585898960405161195f9493929190613da6565b60405180910390a2505050505050565b6000828152600a602081815260408084206001600160a01b0386168552909201905290205492915050565b6119a382610b7f565b6119af81610c07611da7565b610b7a8383612207565b6119c233611f0d565b6119de5760405162461bcd60e51b815260040161088e9061468a565b610beb8583838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808b0282810182019093528a82529093508a9250899182918501908490808284376000920182905250604080516020810190915290815292506126df915050565b60078054611558906149e1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b611a9d611da7565b6001600160a01b0316856001600160a01b03161480611ac35750611ac3856107ec611da7565b611adf5760405162461bcd60e51b815260040161088e90614179565b610beb85858585856126eb565b611af4611da7565b6001600160a01b0316611b0561127f565b6001600160a01b031614611b2b5760405162461bcd60e51b815260040161088e906144f4565b6001600160a01b038116611b515760405162461bcd60e51b815260040161088e9061404e565b61091a81612360565b611b62611da7565b6001600160a01b0316836001600160a01b03161480611b885750611b88836107ec611da7565b610c955760405162461bcd60e51b815260040161088e90614179565b600080516020614b3983398151915281565b60606000611bc5836002614968565b611bd0906002614950565b6001600160401b03811115611bf557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611c1f576020820181803683370190505b509050600360fc1b81600081518110611c4857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c8557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611ca9846002614968565b611cb4906001614950565b90505b6001811115611d48576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611cf657634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611d1a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611d41816149ca565b9050611cb7565b5083156109a15760405162461bcd60e51b815260040161088e90613f58565b60006001600160e01b03198216636cdb3d1360e11b1480611d9857506001600160e01b031982166303a24d0760e21b145b806108ca57506108ca82612832565b3390565b8051610c5890600390602084019061326a565b600081815b8551811015611e6e576000868281518110611dee57634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611e2f578281604051602001611e12929190613bbd565b604051602081830303815290604052805190602001209250611e5b565b8083604051602001611e42929190613bbd565b6040516020818303038152906040528051906020012092505b5080611e6681614a1c565b915050611dc3565b509092149392505050565b606060038054611e88906149e1565b80601f0160208091040260200160405190810160405280929190818152602001828054611eb4906149e1565b8015611f015780601f10611ed657610100808354040283529160200191611f01565b820191906000526020600020905b815481529060010190602001808311611ee457829003601f168201915b50505050509050919050565b6000611f27600080516020614b398339815191528361128e565b806108ca57506108ca60008361128e565b611f4484848484612857565b50505050565b8151835114611f6b5760405162461bcd60e51b815260040161088e9061475e565b6001600160a01b038416611f915760405162461bcd60e51b815260040161088e906142e8565b6000611f9b611da7565b9050611fab81878787878761288c565b60005b84518110156120b0576000858281518110611fd957634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061200557634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526001835260408082206001600160a01b038e1683529093529190912054909150818110156120565760405162461bcd60e51b815260040161088e9061442e565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612095908490614950565b92505081905550505050806120a990614a1c565b9050611fae565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612100929190613de0565b60405180910390a461211681878787878761289a565b505050505050565b612128828261128e565b610c5857612140816001600160a01b03166014611bb6565b61214b836020611bb6565b60405160200161215c929190613c7a565b60408051601f198184030181529082905262461bcd60e51b825261088e91600401613e81565b61218c828261128e565b610c58576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556121c3611da7565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b612211828261128e565b15610c58576000828152602081815260408083206001600160a01b03851684529091529020805460ff19169055612246611da7565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b610b7a8383836129a8565b61229d610f38565b6122b95760405162461bcd60e51b815260040161088e90613fd5565b6004805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6122ec611da7565b6040516122f99190613cef565b60405180910390a1565b610c588282604051602401612319929190613e94565b60408051601f198184030181529190526020810180516001600160e01b031663319af33360e01b1790526129db565b610b7a8383836129fc565b5490565b80546001019055565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6123ba610f38565b156123d75760405162461bcd60e51b815260040161088e9061427d565b6004805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586122ec611da7565b6000838152600a602052604081206001015460ff1661243e5760405162461bcd60e51b815260040161088e906147a6565b612446610f38565b156124635760405162461bcd60e51b815260040161088e90614246565b6000848152600a60205260409020600201546124915760405162461bcd60e51b815260040161088e9061461c565b6000848152600a6020526040902060020154421180156124c157506000848152600a602052604090206003015442105b6124dd5760405162461bcd60e51b815260040161088e906144bd565b6000848152600a60205260409020600401546124fa9086906126bb565b3410156125195760405162461bcd60e51b815260040161088e90614529565b6000848152600a60208181526040808420600681015433865293019091529091205461254590876126d3565b11156125635760405162461bcd60e51b815260040161088e906145c7565b6000848152600a60205260409020600701548511156125945760405162461bcd60e51b815260040161088e90614478565b6125cf604051806040016040528060118152602001701d1bdd185b081cdd5c1c1b1e481b19599d607a1b8152506125ca866116c1565b612a9a565b6000848152600a6020526040902060050154856125eb866116c1565b6125f59190614950565b11156126135760405162461bcd60e51b815260040161088e9061437f565b6126526040518060400160405280601881526020017f697356616c6964436c61696d206c6561662073656e646572000000000000000081525033612303565b600061265f84848761091d565b90506126956040518060400160405280601281526020017124a9ab20a624a226a2a925a622a82927a7a360711b81525082612adf565b806126b25760405162461bcd60e51b815260040161088e906142a7565b95945050505050565b60006109a18284614968565b60006109a18284614987565b60006109a18284614950565b611f4484848484612b24565b6001600160a01b0384166127115760405162461bcd60e51b815260040161088e906142e8565b600061271b611da7565b905061273b81878761272c88612bc3565b61273588612bc3565b8761288c565b60008481526001602090815260408083206001600160a01b038a1684529091529020548381101561277e5760405162461bcd60e51b815260040161088e9061442e565b60008581526001602090815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906127bd908490614950565b92505081905550856001600160a01b0316876001600160a01b0316836001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612813929190613bbd565b60405180910390a4612829828888888888612c1c565b50505050505050565b60006001600160e01b03198216637965db0b60e01b14806108ca57506108ca82612ced565b61286384848484612d06565b60008381526005602052604081208054849290612881908490614950565b909155505050505050565b612116868686868686612de8565b6128ac846001600160a01b0316612e1b565b156121165760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906128e59089908990889088908890600401613d03565b602060405180830381600087803b1580156128ff57600080fd5b505af192505050801561292f575060408051601f3d908101601f1916820190925261292c91810190613a60565b60015b6129785761293b614a69565b806129465750612960565b8060405162461bcd60e51b815260040161088e9190613e81565b60405162461bcd60e51b815260040161088e90613f04565b6001600160e01b0319811663bc197c8160e01b146128295760405162461bcd60e51b815260040161088e90613f8d565b6129b3838383612e21565b600082815260056020526040812080548392906129d1908490614987565b9091555050505050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b612a07838383612f34565b60005b8251811015611f4457818181518110612a3357634e487b7160e01b600052603260045260246000fd5b602002602001015160056000858481518110612a5f57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612a849190614987565b90915550612a93905081614a1c565b9050612a0a565b610c588282604051602401612ab0929190613ee2565b60408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b1790526129db565b610c588282604051602401612af5929190613ebe565b60408051601f198184030181529190526020810180516001600160e01b031663c3b5563560e01b1790526129db565b612b30848484846130e8565b60005b8351811015610beb57828181518110612b5c57634e487b7160e01b600052603260045260246000fd5b602002602001015160056000868481518110612b8857634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612bad9190614950565b90915550612bbc905081614a1c565b9050612b33565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612c0b57634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b612c2e846001600160a01b0316612e1b565b156121165760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190612c679089908990889088908890600401613d61565b602060405180830381600087803b158015612c8157600080fd5b505af1925050508015612cb1575060408051601f3d908101601f19168201909252612cae91810190613a60565b60015b612cbd5761293b614a69565b6001600160e01b0319811663f23a6e6160e01b146128295760405162461bcd60e51b815260040161088e90613f8d565b6001600160e01b031981166301ffc9a760e01b14919050565b6001600160a01b038416612d2c5760405162461bcd60e51b815260040161088e906147ce565b6000612d36611da7565b9050612d488160008761272c88612bc3565b60008481526001602090815260408083206001600160a01b038916845290915281208054859290612d7a908490614950565b92505081905550846001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612dd1929190613bbd565b60405180910390a4610beb81600087878787612c1c565b612df6868686868686612116565b612dfe610f38565b156121165760405162461bcd60e51b815260040161088e9061412d565b3b151590565b6001600160a01b038316612e475760405162461bcd60e51b815260040161088e906143b4565b6000612e51611da7565b9050612e8181856000612e6387612bc3565b612e6c87612bc3565b6040518060200160405280600081525061288c565b60008381526001602090815260408083206001600160a01b038816845290915290205482811015612ec45760405162461bcd60e51b815260040161088e90614094565b60008481526001602090815260408083206001600160a01b03808a16808652919093528184208786039055905190918516907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6290612f259089908990613bbd565b60405180910390a45050505050565b6001600160a01b038316612f5a5760405162461bcd60e51b815260040161088e906143b4565b8051825114612f7b5760405162461bcd60e51b815260040161088e9061475e565b6000612f85611da7565b9050612fa58185600086866040518060200160405280600081525061288c565b60005b8351811015613089576000848281518110612fd357634e487b7160e01b600052603260045260246000fd5b602002602001015190506000848381518110612fff57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526001835260408082206001600160a01b038c1683529093529190912054909150818110156130505760405162461bcd60e51b815260040161088e90614094565b60009283526001602090815260408085206001600160a01b038b168652909152909220910390558061308181614a1c565b915050612fa8565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516130da929190613de0565b60405180910390a450505050565b6001600160a01b03841661310e5760405162461bcd60e51b815260040161088e906147ce565b815183511461312f5760405162461bcd60e51b815260040161088e9061475e565b6000613139611da7565b905061314a8160008787878761288c565b60005b84518110156132025783818151811061317657634e487b7160e01b600052603260045260246000fd5b6020026020010151600160008784815181106131a257634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546131ea9190614950565b909155508190506131fa81614a1c565b91505061314d565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051613253929190613de0565b60405180910390a4610beb8160008787878761289a565b828054613276906149e1565b90600052602060002090601f01602090048101928261329857600085556132de565b82601f106132b157805160ff19168380011785556132de565b828001600101855582156132de579182015b828111156132de5782518255916020019190600101906132c3565b506132ea9291506132ee565b5090565b5b808211156132ea57600081556001016132ef565b60008083601f840112613314578182fd5b5081356001600160401b0381111561332a578182fd5b602083019150836020808302850101111561334457600080fd5b9250929050565b600082601f83011261335b578081fd5b8135602061337061336b83614921565b6148f8565b828152818101908583018385028701840188101561338c578586fd5b855b858110156133aa5781358452928401929084019060010161338e565b5090979650505050505050565b803580151581146108cd57600080fd5b600082601f8301126133d7578081fd5b81356001600160401b038111156133f0576133f0614a4d565b613403601f8201601f19166020016148f8565b818152846020838601011115613417578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215613442578081fd5b81356109a181614b0d565b6000806040838503121561345f578081fd5b823561346a81614b0d565b946020939093013593505050565b6000806040838503121561348a578182fd5b823561349581614b0d565b915060208301356134a581614b0d565b809150509250929050565b600080600080600060a086880312156134c7578081fd5b85356134d281614b0d565b945060208601356134e281614b0d565b935060408601356001600160401b03808211156134fd578283fd5b61350989838a0161334b565b9450606088013591508082111561351e578283fd5b61352a89838a0161334b565b9350608088013591508082111561353f578283fd5b5061354c888289016133c7565b9150509295509295909350565b600080600080600060a08688031215613570578081fd5b853561357b81614b0d565b9450602086013561358b81614b0d565b9350604086013592506060860135915060808601356001600160401b038111156135b3578182fd5b61354c888289016133c7565b6000806000806000606086880312156135d6578283fd5b85356135e181614b0d565b945060208601356001600160401b03808211156135fc578485fd5b61360889838a01613303565b90965094506040880135915080821115613620578283fd5b5061362d88828901613303565b969995985093965092949392505050565b600080600060608486031215613652578081fd5b833561365d81614b0d565b925060208401356001600160401b0380821115613678578283fd5b6136848783880161334b565b93506040860135915080821115613699578283fd5b506136a68682870161334b565b9150509250925092565b600080604083850312156136c2578182fd5b82356136cd81614b0d565b91506136db602084016133b7565b90509250929050565b6000806040838503121561345f578182fd5b60008060006060848603121561370a578081fd5b833561371581614b0d565b95602085013595506040909401359392505050565b6000806040838503121561373c578182fd5b82356001600160401b0380821115613752578384fd5b818501915085601f830112613765578384fd5b8135602061377561336b83614921565b82815281810190858301838502870184018b1015613791578889fd5b8896505b848710156137bc5780356137a881614b0d565b835260019690960195918301918301613795565b50965050860135925050808211156137d2578283fd5b506137df8582860161334b565b9150509250929050565b6000806000604084860312156137fd578081fd5b83356001600160401b03811115613812578182fd5b61381e86828701613303565b909790965060209590950135949350505050565b6000806000806000806060878903121561384a578384fd5b86356001600160401b0380821115613860578586fd5b61386c8a838b01613303565b90985096506020890135915080821115613884578586fd5b6138908a838b01613303565b909650945060408901359150808211156138a8578283fd5b506138b589828a01613303565b979a9699509497509295939492505050565b6000602082840312156138d8578081fd5b5035919050565b600080604083850312156138f1578182fd5b8235915060208301356134a581614b0d565b60008060008060008060008060006101208a8c031215613921578687fd5b8935985060208a0135975060408a0135965060608a0135955060808a0135945060a08a0135935060c08a01356001600160401b03811115613960578384fd5b61396c8c828d016133c7565b93505060e08a013561397d81614b0d565b809250506101008a013590509295985092959850929598565b60008060008060008060008060008060006101608c8e0312156139b7578485fd5b8b359a5060208c0135995060408c0135985060608c0135975060808c0135965060a08c0135955060c08c01356001600160401b038111156139f6578586fd5b613a028e828f016133c7565b95505060e08c0135613a1381614b0d565b93506101008c01359250613a2a6101208d016133b7565b91506101408c013590509295989b509295989b9093969950565b600060208284031215613a55578081fd5b81356109a181614b22565b600060208284031215613a71578081fd5b81516109a181614b22565b600060208284031215613a8d578081fd5b81356001600160401b03811115613aa2578182fd5b613aae848285016133c7565b949350505050565b60008060008060608587031215613acb578182fd5b843593506020850135925060408501356001600160401b03811115613aee578283fd5b613afa87828801613303565b95989497509550505050565b81835260006001600160fb1b03831115613b1e578081fd5b6020830280836020870137939093016020019283525090919050565b6000815180845260208085019450808401835b83811015613b6957815187529582019590820190600101613b4d565b509495945050505050565b60008151808452613b8c81602086016020860161499e565b601f01601f19169290920160200192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b600083516020613bde828583890161499e565b845491840191839060028104600180831680613bfb57607f831692505b858310811415613c1957634e487b7160e01b88526022600452602488fd5b808015613c2d5760018114613c3e57613c6a565b60ff19851688528388019550613c6a565b613c478b614944565b895b85811015613c625781548a820152908401908801613c49565b505083880195505b50939a9950505050505050505050565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351613cb281601785016020880161499e565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613ce381602884016020880161499e565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0386811682528516602082015260a060408201819052600090613d2f90830186613b3a565b8281036060840152613d418186613b3a565b90508281036080840152613d558185613b74565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090613d9b90830184613b74565b979650505050505050565b600060408252613dba604083018688613b06565b8281036020840152613d9b818587613b06565b6000602082526109a16020830184613b3a565b600060408252613df36040830185613b3a565b828103602084015261099d8185613b3a565b901515815260200190565b90815260200190565b60006101408c83528b151560208401528a60408401528960608401528860808401528760a08401528660c08401528560e084015280610100840152613e6081840186613b74565b91505060018060a01b0383166101208301529b9a5050505050505050505050565b6000602082526109a16020830184613b74565b600060408252613ea76040830185613b74565b905060018060a01b03831660208301529392505050565b600060408252613ed16040830185613b74565b905082151560208301529392505050565b600060408252613ef56040830185613b74565b90508260208301529392505050565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606082015260800190565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b60208082526035908201527f656469744d696e74506173733a206f70656e2077696e646f77206d757374206260408201527465206265666f726520636c6f73652077696e646f7760581b606082015260800190565b6020808252602c908201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060408201526b1dda1a5b19481c185d5cd95960a21b606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b6020808252818101527f656469744d696e74506173733a2077696e646f772063616e6e6f742062652030604082015260600190565b6020808252602f908201527f4275726e61626c653a204f6e6c7920616c6c6f7765642066726f6d207265646560408201526e195b58589b194818dbdb9d1c9858dd608a1b606082015260800190565b60208082526019908201527f436c61696d3a20636c61696d696e672069732070617573656400000000000000604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526021908201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f666040820152601760f91b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252601e908201527f4572726f722072657475726e696e6720657863657373207061796d656e740000604082015260600190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60208082526025908201527f4d6178207175616e7469747920706572207472616e73616374696f6e20657863604082015264195959195960da1b606082015260800190565b60208082526019908201527f436c61696d3a2074696d652077696e646f7720636c6f73656400000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601c908201527f436c61696d3a2045746865722076616c756520696e636f727265637400000000604082015260600190565b6020808252601f908201527f6164644d696e74506173733a2077696e646f772063616e6e6f74206265203000604082015260600190565b6020808252601690820152752aa9249d103737b732bc34b9ba32b73a103a37b5b2b760511b604082015260600190565b60208082526035908201527f436c61696d3a204e6f7420616c6c6f77656420746f20636c61696d2074686174604082015274081b585b9e48199c9bdb481bdb99481dd85b1b195d605a1b606082015260800190565b6020808252601f908201527f436c61696d3a204d696e74207061737320646f6573206e6f7420657869737400604082015260600190565b6020808252601e908201527f4f6e65206f72206d6f726520636c61696d732061726520696e76616c69640000604082015260600190565b60208082526022908201527f43616c6c657220646f6573206e6f74206861766520726571756972656420726f6040820152616c6560f01b606082015260800190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604082015268103337b91039b2b63360b91b606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604082015268040dad2e6dac2e8c6d60bb1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b6020808252600e908201526d14d85b19481a5cc81c185d5cd95960921b604082015260600190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60208082526034908201527f6164644d696e74506173733a206f70656e2077696e646f77206d757374206265604082015273206265666f726520636c6f73652077696e646f7760601b606082015260800190565b6000808335601e198436030181126148c8578283fd5b8301803591506001600160401b038211156148e1578283fd5b602090810192508102360382131561334457600080fd5b6040518181016001600160401b038111828210171561491957614919614a4d565b604052919050565b60006001600160401b0382111561493a5761493a614a4d565b5060209081020190565b60009081526020902090565b6000821982111561496357614963614a37565b500190565b600081600019048311821515161561498257614982614a37565b500290565b60008282101561499957614999614a37565b500390565b60005b838110156149b95781810151838201526020016149a1565b83811115611f445750506000910152565b6000816149d9576149d9614a37565b506000190190565b6002810460018216806149f557607f821691505b60208210811415614a1657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415614a3057614a30614a37565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d1015614a7957610a38565b600481823e6308c379a0614a8d8251614a63565b14614a9757610a38565b6040513d600319016004823e80513d6001600160401b038160248401118184111715614ac65750505050610a38565b82840192508251915080821115614ae05750505050610a38565b503d83016020828401011115614af857505050610a38565b601f01601f1916810160200160405291505090565b6001600160a01b038116811461091a57600080fd5b6001600160e01b03198116811461091a57600080fdfe7134ed5ff49271deb044fbad11674069fc122f9be1f0042e7622ee9ab85706c2a2646970667358221220c246355482bea4155a3628433dba154462246127ccc628fa2241041ee4309ecf64736f6c63430008000033
Deployed Bytecode
0x6080604052600436106102925760003560e01c80636b20c4541161015a578063af95f9fb116100c1578063e2b9e1861161007a578063e2b9e186146107bc578063e985e9c5146107d1578063f242432a146107f1578063f2fde38b14610811578063f5298aca14610831578063f8b6b62b1461085157610292565b8063af95f9fb146106f3578063bd85b03914610729578063c0b09e5b14610749578063c195a4ef1461075c578063d547741f1461077c578063d81d0a151461079c57610292565b806395d89b411161011357806395d89b4114610661578063a217fddf14610676578063a22cb4651461068b578063aae33b97146106ab578063ae0b51df146106cb578063af17dea6146106de57610292565b80636b20c454146105b55780636d51188b146105d5578063715018a6146105f55780638456cb591461060a5780638da5cb5b1461061f57806391d148541461064157610292565b80632f2ff15d116101fe5780634e29f441116101b75780634e29f441146105005780634f558e791461052057806350e5c8a614610540578063522f6815146105605780635c975abb146105805780635dc709e21461059557610292565b80632f2ff15d1461043e57806336568abe1461045e5780633aeca2101461047e5780633f4ba83a1461049e5780634044556d146104b35780634e1273f4146104d357610292565b80630e89341c116102505780630e89341c1461037e57806313af40351461039e57806313c7bd7d146103be578063156e29f6146103de578063248a9ca3146103fe5780632eb2c2d61461041e57610292565b8062fdd58e1461029757806301ffc9a7146102cd57806302fe5305146102fa578063033e16201461031c57806306fdde031461033c57806307550c671461035e575b600080fd5b3480156102a357600080fd5b506102b76102b23660046136e4565b610866565b6040516102c49190613e10565b60405180910390f35b3480156102d957600080fd5b506102ed6102e8366004613a44565b6108bf565b6040516102c49190613e05565b34801561030657600080fd5b5061031a610315366004613a7c565b6108d2565b005b34801561032857600080fd5b506102ed6103373660046137e9565b61091d565b34801561034857600080fd5b506103516109a8565b6040516102c49190613e81565b34801561036a57600080fd5b5061031a610379366004613431565b610a3b565b34801561038a57600080fd5b506103516103993660046138c7565b610a53565b3480156103aa57600080fd5b5061031a6103b9366004613431565b610abf565b3480156103ca57600080fd5b506102b76103d9366004613431565b610b07565b3480156103ea57600080fd5b5061031a6103f93660046136f6565b610b3a565b34801561040a57600080fd5b506102b76104193660046138c7565b610b7f565b34801561042a57600080fd5b5061031a6104393660046134b0565b610b94565b34801561044a57600080fd5b5061031a6104593660046138df565b610bf2565b34801561046a57600080fd5b5061031a6104793660046138df565b610c16565b34801561048a57600080fd5b5061031a6104993660046136f6565b610c5c565b3480156104aa57600080fd5b5061031a610ca0565b3480156104bf57600080fd5b506102ed6104ce3660046138c7565b610ce9565b3480156104df57600080fd5b506104f36104ee36600461372a565b610d01565b6040516102c49190613dcd565b34801561050c57600080fd5b5061031a61051b3660046138c7565b610e20565b34801561052c57600080fd5b506102ed61053b3660046138c7565b610e65565b34801561054c57600080fd5b5061031a61055b366004613431565b610e78565b34801561056c57600080fd5b5061031a61057b36600461344d565b610ec3565b34801561058c57600080fd5b506102ed610f38565b3480156105a157600080fd5b5061031a6105b0366004613996565b610f41565b3480156105c157600080fd5b5061031a6105d036600461363e565b61106b565b3480156105e157600080fd5b5061031a6105f0366004613903565b6110c0565b34801561060157600080fd5b5061031a6111ef565b34801561061657600080fd5b5061031a611238565b34801561062b57600080fd5b5061063461127f565b6040516102c49190613cef565b34801561064d57600080fd5b506102ed61065c3660046138df565b61128e565b34801561066d57600080fd5b506103516112b7565b34801561068257600080fd5b506102b76112c6565b34801561069757600080fd5b5061031a6106a63660046136b0565b6112cb565b3480156106b757600080fd5b5061031a6106c63660046138c7565b611399565b61031a6106d9366004613ab6565b6113d9565b3480156106ea57600080fd5b5061035161154b565b3480156106ff57600080fd5b5061071361070e3660046138c7565b6115d9565b6040516102c49a99989796959493929190613e19565b34801561073557600080fd5b506102b76107443660046138c7565b6116c1565b61031a610757366004613832565b6116d3565b34801561076857600080fd5b506102b76107773660046138df565b61196f565b34801561078857600080fd5b5061031a6107973660046138df565b61199a565b3480156107a857600080fd5b5061031a6107b73660046135bf565b6119b9565b3480156107c857600080fd5b50610351611a5a565b3480156107dd57600080fd5b506102ed6107ec366004613478565b611a67565b3480156107fd57600080fd5b5061031a61080c366004613559565b611a95565b34801561081d57600080fd5b5061031a61082c366004613431565b611aec565b34801561083d57600080fd5b5061031a61084c3660046136f6565b611b5a565b34801561085d57600080fd5b506102b7611ba4565b60006001600160a01b0383166108975760405162461bcd60e51b815260040161088e90614003565b60405180910390fd5b5060009081526001602090815260408083206001600160a01b03949094168352929052205490565b60006108ca82611d67565b90505b919050565b6108da611da7565b6001600160a01b03166108eb61127f565b6001600160a01b0316146109115760405162461bcd60e51b815260040161088e906144f4565b61091a81611dab565b50565b6000818152600a6020526040812054697075626c696373616c651415610945575060016109a1565b600061095033610b07565b905061099d8585808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250888152600a60205260409020549250859150611dbe9050565b9150505b9392505050565b6060600780546109b7906149e1565b80601f01602080910402602001604051908101604052809291908181526020018280546109e3906149e1565b8015610a305780601f10610a0557610100808354040283529160200191610a30565b820191906000526020600020905b815481529060010190602001808311610a1357829003601f168201915b505050505090505b90565b61091a600080516020614b398339815191528261199a565b60606000610a60836116c1565b11610a7d5760405162461bcd60e51b815260040161088e90614597565b610a8682611e79565b6000838152600a60209081526040918290209151610aa993926008019101613bcb565b6040516020818303038152906040529050919050565b610ac7611da7565b6001600160a01b0316610ad861127f565b6001600160a01b031614610afe5760405162461bcd60e51b815260040161088e906144f4565b61091a81611aec565b60008082604051602001610b1b9190613ba0565b60408051808303601f1901815291905280516020909101209392505050565b610b4333611f0d565b610b5f5760405162461bcd60e51b815260040161088e9061468a565b610b7a83828460405180602001604052806000815250611f38565b505050565b60009081526020819052604090206001015490565b610b9c611da7565b6001600160a01b0316856001600160a01b03161480610bc25750610bc2856107ec611da7565b610bde5760405162461bcd60e51b815260040161088e9061432d565b610beb8585858585611f4a565b5050505050565b610bfb82610b7f565b610c0c81610c07611da7565b61211e565b610b7a8383612182565b610c1e611da7565b6001600160a01b0316816001600160a01b031614610c4e5760405162461bcd60e51b815260040161088e9061480f565b610c588282612207565b5050565b6000828152600a60205260409020600901546001600160a01b03163314610c955760405162461bcd60e51b815260040161088e906141f7565b610b7a83838361228a565b610ca8611da7565b6001600160a01b0316610cb961127f565b6001600160a01b031614610cdf5760405162461bcd60e51b815260040161088e906144f4565b610ce7612295565b565b6000908152600a602052604090206001015460ff1690565b60608151835114610d245760405162461bcd60e51b815260040161088e90614715565b600083516001600160401b03811115610d4d57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d76578160200160208202803683370190505b50905060005b8451811015610e1857610ddd858281518110610da857634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610dd057634e487b7160e01b600052603260045260246000fd5b6020026020010151610866565b828281518110610dfd57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610e1181614a1c565b9050610d7c565b509392505050565b610e2933611f0d565b610e455760405162461bcd60e51b815260040161088e9061468a565b6000908152600a602052604090206001908101805460ff19169091179055565b600080610e71836116c1565b1192915050565b610eab60405180604001604052806011815260200170383937b6b7ba32aa32b0b6a6b2b6b132b960791b81525082612303565b61091a600080516020614b3983398151915282610bf2565b610ecb611da7565b6001600160a01b0316610edc61127f565b6001600160a01b031614610f025760405162461bcd60e51b815260040161088e906144f4565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610b7a573d6000803e3d6000fd5b60045460ff1690565b610f49611da7565b6001600160a01b0316610f5a61127f565b6001600160a01b031614610f805760405162461bcd60e51b815260040161088e906144f4565b888a10610f9f5760405162461bcd60e51b815260040161088e906140d8565b60008a118015610faf5750600089115b610fcb5760405162461bcd60e51b815260040161088e906141c2565b6000838152600a602090815260409091208c8155600281018c9055600381018b9055600481018a9055600581018990556007810188905586516110169260089092019188019061326a565b506000928352600a60205260409092206009810180546001600160a01b0319166001600160a01b03959095169490941790935560018301805460ff191691151591909117905560069091015550505050505050565b611073611da7565b6001600160a01b0316836001600160a01b031614806110995750611099836107ec611da7565b6110b55760405162461bcd60e51b815260040161088e90614179565b610b7a838383612348565b6110c8611da7565b6001600160a01b03166110d961127f565b6001600160a01b0316146110ff5760405162461bcd60e51b815260040161088e906144f4565b86881061111e5760405162461bcd60e51b815260040161088e9061485e565b60008811801561112e5750600087115b61114a5760405162461bcd60e51b815260040161088e90614560565b6000600a600061115a6009612353565b815260208082019290925260400160002060018101805460ff191690558b8155600281018b9055600381018a90556004810189905560058101889055600781018790556006810184905585519092506111bb9160088401919087019061326a565b50600981810180546001600160a01b0319166001600160a01b0386161790556111e390612357565b50505050505050505050565b6111f7611da7565b6001600160a01b031661120861127f565b6001600160a01b03161461122e5760405162461bcd60e51b815260040161088e906144f4565b610ce76000612360565b611240611da7565b6001600160a01b031661125161127f565b6001600160a01b0316146112775760405162461bcd60e51b815260040161088e906144f4565b610ce76123b2565b6006546001600160a01b031690565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600880546109b7906149e1565b600081565b816001600160a01b03166112dd611da7565b6001600160a01b031614156113045760405162461bcd60e51b815260040161088e906146cc565b8060026000611311611da7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611355611da7565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161138d9190613e05565b60405180910390a35050565b6113a233611f0d565b6113be5760405162461bcd60e51b815260040161088e9061468a565b6000908152600a60205260409020600101805460ff19169055565b6113e58484848461240d565b6113ee57600080fd5b6000838152600a60205260408120600401546114169061140f9087906126bb565b34906126c7565b905080156114a3576000611428611da7565b6001600160a01b03168260405161143e90610a38565b60006040518083038185875af1925050503d806000811461147b576040519150601f19603f3d011682016040523d82523d6000602084013e611480565b606091505b50509050806114a15760405162461bcd60e51b815260040161088e906143f7565b505b6000848152600a6020818152604080842033855290920190529020546114c990866126d3565b6000858152600a6020818152604080842033808652930182528084209490945583519081019093529082526115019186908890611f38565b336001600160a01b03167f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed026858760405161153c929190613bbd565b60405180910390a25050505050565b60088054611558906149e1565b80601f0160208091040260200160405190810160405280929190818152602001828054611584906149e1565b80156115d15780601f106115a6576101008083540402835291602001916115d1565b820191906000526020600020905b8154815290600101906020018083116115b457829003601f168201915b505050505081565b600a60205260009081526040902080546001820154600283015460038401546004850154600586015460068701546007880154600889018054989960ff9098169896979596949593949293919261162f906149e1565b80601f016020809104026020016040519081016040528092919081815260200182805461165b906149e1565b80156116a85780601f1061167d576101008083540402835291602001916116a8565b820191906000526020600020905b81548152906001019060200180831161168b57829003601f168201915b505050600990930154919250506001600160a01b03168a565b60009081526005602052604090205490565b6116db610f38565b156116f85760405162461bcd60e51b815260040161088e90614246565b60005b838110156117b95761178b87878381811061172657634e487b7160e01b600052603260045260246000fd5b9050602002013586868481811061174d57634e487b7160e01b600052603260045260246000fd5b9050602002013585858581811061177457634e487b7160e01b600052603260045260246000fd5b905060200281019061178691906148b2565b61240d565b6117a75760405162461bcd60e51b815260040161088e90614653565b806117b181614a1c565b9150506116fb565b5060005b838110156118a3576118438787838181106117e857634e487b7160e01b600052603260045260246000fd5b90506020020135600a600088888681811061181357634e487b7160e01b600052603260045260246000fd5b602090810292909201358352508181019290925260409081016000908120338252600a01909252902054906126d3565b600a600087878581811061186757634e487b7160e01b600052603260045260246000fd5b602090810292909201358352508181019290925260409081016000908120338252600a019092529020558061189b81614a1c565b9150506117bd565b506119203385858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808d0282810182019093528c82529093508c92508b9182918501908490808284376000920182905250604080516020810190915290815292506126df915050565b336001600160a01b03167f1f36743b8f77937c5a06ebeca4819ea0c795222f7ecf5a42583ff5d0063adabf8585898960405161195f9493929190613da6565b60405180910390a2505050505050565b6000828152600a602081815260408084206001600160a01b0386168552909201905290205492915050565b6119a382610b7f565b6119af81610c07611da7565b610b7a8383612207565b6119c233611f0d565b6119de5760405162461bcd60e51b815260040161088e9061468a565b610beb8583838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808b0282810182019093528a82529093508a9250899182918501908490808284376000920182905250604080516020810190915290815292506126df915050565b60078054611558906149e1565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b611a9d611da7565b6001600160a01b0316856001600160a01b03161480611ac35750611ac3856107ec611da7565b611adf5760405162461bcd60e51b815260040161088e90614179565b610beb85858585856126eb565b611af4611da7565b6001600160a01b0316611b0561127f565b6001600160a01b031614611b2b5760405162461bcd60e51b815260040161088e906144f4565b6001600160a01b038116611b515760405162461bcd60e51b815260040161088e9061404e565b61091a81612360565b611b62611da7565b6001600160a01b0316836001600160a01b03161480611b885750611b88836107ec611da7565b610c955760405162461bcd60e51b815260040161088e90614179565b600080516020614b3983398151915281565b60606000611bc5836002614968565b611bd0906002614950565b6001600160401b03811115611bf557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611c1f576020820181803683370190505b509050600360fc1b81600081518110611c4857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c8557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611ca9846002614968565b611cb4906001614950565b90505b6001811115611d48576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611cf657634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611d1a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611d41816149ca565b9050611cb7565b5083156109a15760405162461bcd60e51b815260040161088e90613f58565b60006001600160e01b03198216636cdb3d1360e11b1480611d9857506001600160e01b031982166303a24d0760e21b145b806108ca57506108ca82612832565b3390565b8051610c5890600390602084019061326a565b600081815b8551811015611e6e576000868281518110611dee57634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311611e2f578281604051602001611e12929190613bbd565b604051602081830303815290604052805190602001209250611e5b565b8083604051602001611e42929190613bbd565b6040516020818303038152906040528051906020012092505b5080611e6681614a1c565b915050611dc3565b509092149392505050565b606060038054611e88906149e1565b80601f0160208091040260200160405190810160405280929190818152602001828054611eb4906149e1565b8015611f015780601f10611ed657610100808354040283529160200191611f01565b820191906000526020600020905b815481529060010190602001808311611ee457829003601f168201915b50505050509050919050565b6000611f27600080516020614b398339815191528361128e565b806108ca57506108ca60008361128e565b611f4484848484612857565b50505050565b8151835114611f6b5760405162461bcd60e51b815260040161088e9061475e565b6001600160a01b038416611f915760405162461bcd60e51b815260040161088e906142e8565b6000611f9b611da7565b9050611fab81878787878761288c565b60005b84518110156120b0576000858281518110611fd957634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061200557634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526001835260408082206001600160a01b038e1683529093529190912054909150818110156120565760405162461bcd60e51b815260040161088e9061442e565b60008381526001602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612095908490614950565b92505081905550505050806120a990614a1c565b9050611fae565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612100929190613de0565b60405180910390a461211681878787878761289a565b505050505050565b612128828261128e565b610c5857612140816001600160a01b03166014611bb6565b61214b836020611bb6565b60405160200161215c929190613c7a565b60408051601f198184030181529082905262461bcd60e51b825261088e91600401613e81565b61218c828261128e565b610c58576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556121c3611da7565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b612211828261128e565b15610c58576000828152602081815260408083206001600160a01b03851684529091529020805460ff19169055612246611da7565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b610b7a8383836129a8565b61229d610f38565b6122b95760405162461bcd60e51b815260040161088e90613fd5565b6004805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6122ec611da7565b6040516122f99190613cef565b60405180910390a1565b610c588282604051602401612319929190613e94565b60408051601f198184030181529190526020810180516001600160e01b031663319af33360e01b1790526129db565b610b7a8383836129fc565b5490565b80546001019055565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6123ba610f38565b156123d75760405162461bcd60e51b815260040161088e9061427d565b6004805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586122ec611da7565b6000838152600a602052604081206001015460ff1661243e5760405162461bcd60e51b815260040161088e906147a6565b612446610f38565b156124635760405162461bcd60e51b815260040161088e90614246565b6000848152600a60205260409020600201546124915760405162461bcd60e51b815260040161088e9061461c565b6000848152600a6020526040902060020154421180156124c157506000848152600a602052604090206003015442105b6124dd5760405162461bcd60e51b815260040161088e906144bd565b6000848152600a60205260409020600401546124fa9086906126bb565b3410156125195760405162461bcd60e51b815260040161088e90614529565b6000848152600a60208181526040808420600681015433865293019091529091205461254590876126d3565b11156125635760405162461bcd60e51b815260040161088e906145c7565b6000848152600a60205260409020600701548511156125945760405162461bcd60e51b815260040161088e90614478565b6125cf604051806040016040528060118152602001701d1bdd185b081cdd5c1c1b1e481b19599d607a1b8152506125ca866116c1565b612a9a565b6000848152600a6020526040902060050154856125eb866116c1565b6125f59190614950565b11156126135760405162461bcd60e51b815260040161088e9061437f565b6126526040518060400160405280601881526020017f697356616c6964436c61696d206c6561662073656e646572000000000000000081525033612303565b600061265f84848761091d565b90506126956040518060400160405280601281526020017124a9ab20a624a226a2a925a622a82927a7a360711b81525082612adf565b806126b25760405162461bcd60e51b815260040161088e906142a7565b95945050505050565b60006109a18284614968565b60006109a18284614987565b60006109a18284614950565b611f4484848484612b24565b6001600160a01b0384166127115760405162461bcd60e51b815260040161088e906142e8565b600061271b611da7565b905061273b81878761272c88612bc3565b61273588612bc3565b8761288c565b60008481526001602090815260408083206001600160a01b038a1684529091529020548381101561277e5760405162461bcd60e51b815260040161088e9061442e565b60008581526001602090815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906127bd908490614950565b92505081905550856001600160a01b0316876001600160a01b0316836001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612813929190613bbd565b60405180910390a4612829828888888888612c1c565b50505050505050565b60006001600160e01b03198216637965db0b60e01b14806108ca57506108ca82612ced565b61286384848484612d06565b60008381526005602052604081208054849290612881908490614950565b909155505050505050565b612116868686868686612de8565b6128ac846001600160a01b0316612e1b565b156121165760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906128e59089908990889088908890600401613d03565b602060405180830381600087803b1580156128ff57600080fd5b505af192505050801561292f575060408051601f3d908101601f1916820190925261292c91810190613a60565b60015b6129785761293b614a69565b806129465750612960565b8060405162461bcd60e51b815260040161088e9190613e81565b60405162461bcd60e51b815260040161088e90613f04565b6001600160e01b0319811663bc197c8160e01b146128295760405162461bcd60e51b815260040161088e90613f8d565b6129b3838383612e21565b600082815260056020526040812080548392906129d1908490614987565b9091555050505050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b612a07838383612f34565b60005b8251811015611f4457818181518110612a3357634e487b7160e01b600052603260045260246000fd5b602002602001015160056000858481518110612a5f57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612a849190614987565b90915550612a93905081614a1c565b9050612a0a565b610c588282604051602401612ab0929190613ee2565b60408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b1790526129db565b610c588282604051602401612af5929190613ebe565b60408051601f198184030181529190526020810180516001600160e01b031663c3b5563560e01b1790526129db565b612b30848484846130e8565b60005b8351811015610beb57828181518110612b5c57634e487b7160e01b600052603260045260246000fd5b602002602001015160056000868481518110612b8857634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612bad9190614950565b90915550612bbc905081614a1c565b9050612b33565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612c0b57634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b612c2e846001600160a01b0316612e1b565b156121165760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190612c679089908990889088908890600401613d61565b602060405180830381600087803b158015612c8157600080fd5b505af1925050508015612cb1575060408051601f3d908101601f19168201909252612cae91810190613a60565b60015b612cbd5761293b614a69565b6001600160e01b0319811663f23a6e6160e01b146128295760405162461bcd60e51b815260040161088e90613f8d565b6001600160e01b031981166301ffc9a760e01b14919050565b6001600160a01b038416612d2c5760405162461bcd60e51b815260040161088e906147ce565b6000612d36611da7565b9050612d488160008761272c88612bc3565b60008481526001602090815260408083206001600160a01b038916845290915281208054859290612d7a908490614950565b92505081905550846001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612dd1929190613bbd565b60405180910390a4610beb81600087878787612c1c565b612df6868686868686612116565b612dfe610f38565b156121165760405162461bcd60e51b815260040161088e9061412d565b3b151590565b6001600160a01b038316612e475760405162461bcd60e51b815260040161088e906143b4565b6000612e51611da7565b9050612e8181856000612e6387612bc3565b612e6c87612bc3565b6040518060200160405280600081525061288c565b60008381526001602090815260408083206001600160a01b038816845290915290205482811015612ec45760405162461bcd60e51b815260040161088e90614094565b60008481526001602090815260408083206001600160a01b03808a16808652919093528184208786039055905190918516907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6290612f259089908990613bbd565b60405180910390a45050505050565b6001600160a01b038316612f5a5760405162461bcd60e51b815260040161088e906143b4565b8051825114612f7b5760405162461bcd60e51b815260040161088e9061475e565b6000612f85611da7565b9050612fa58185600086866040518060200160405280600081525061288c565b60005b8351811015613089576000848281518110612fd357634e487b7160e01b600052603260045260246000fd5b602002602001015190506000848381518110612fff57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526001835260408082206001600160a01b038c1683529093529190912054909150818110156130505760405162461bcd60e51b815260040161088e90614094565b60009283526001602090815260408085206001600160a01b038b168652909152909220910390558061308181614a1c565b915050612fa8565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516130da929190613de0565b60405180910390a450505050565b6001600160a01b03841661310e5760405162461bcd60e51b815260040161088e906147ce565b815183511461312f5760405162461bcd60e51b815260040161088e9061475e565b6000613139611da7565b905061314a8160008787878761288c565b60005b84518110156132025783818151811061317657634e487b7160e01b600052603260045260246000fd5b6020026020010151600160008784815181106131a257634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546131ea9190614950565b909155508190506131fa81614a1c565b91505061314d565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051613253929190613de0565b60405180910390a4610beb8160008787878761289a565b828054613276906149e1565b90600052602060002090601f01602090048101928261329857600085556132de565b82601f106132b157805160ff19168380011785556132de565b828001600101855582156132de579182015b828111156132de5782518255916020019190600101906132c3565b506132ea9291506132ee565b5090565b5b808211156132ea57600081556001016132ef565b60008083601f840112613314578182fd5b5081356001600160401b0381111561332a578182fd5b602083019150836020808302850101111561334457600080fd5b9250929050565b600082601f83011261335b578081fd5b8135602061337061336b83614921565b6148f8565b828152818101908583018385028701840188101561338c578586fd5b855b858110156133aa5781358452928401929084019060010161338e565b5090979650505050505050565b803580151581146108cd57600080fd5b600082601f8301126133d7578081fd5b81356001600160401b038111156133f0576133f0614a4d565b613403601f8201601f19166020016148f8565b818152846020838601011115613417578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215613442578081fd5b81356109a181614b0d565b6000806040838503121561345f578081fd5b823561346a81614b0d565b946020939093013593505050565b6000806040838503121561348a578182fd5b823561349581614b0d565b915060208301356134a581614b0d565b809150509250929050565b600080600080600060a086880312156134c7578081fd5b85356134d281614b0d565b945060208601356134e281614b0d565b935060408601356001600160401b03808211156134fd578283fd5b61350989838a0161334b565b9450606088013591508082111561351e578283fd5b61352a89838a0161334b565b9350608088013591508082111561353f578283fd5b5061354c888289016133c7565b9150509295509295909350565b600080600080600060a08688031215613570578081fd5b853561357b81614b0d565b9450602086013561358b81614b0d565b9350604086013592506060860135915060808601356001600160401b038111156135b3578182fd5b61354c888289016133c7565b6000806000806000606086880312156135d6578283fd5b85356135e181614b0d565b945060208601356001600160401b03808211156135fc578485fd5b61360889838a01613303565b90965094506040880135915080821115613620578283fd5b5061362d88828901613303565b969995985093965092949392505050565b600080600060608486031215613652578081fd5b833561365d81614b0d565b925060208401356001600160401b0380821115613678578283fd5b6136848783880161334b565b93506040860135915080821115613699578283fd5b506136a68682870161334b565b9150509250925092565b600080604083850312156136c2578182fd5b82356136cd81614b0d565b91506136db602084016133b7565b90509250929050565b6000806040838503121561345f578182fd5b60008060006060848603121561370a578081fd5b833561371581614b0d565b95602085013595506040909401359392505050565b6000806040838503121561373c578182fd5b82356001600160401b0380821115613752578384fd5b818501915085601f830112613765578384fd5b8135602061377561336b83614921565b82815281810190858301838502870184018b1015613791578889fd5b8896505b848710156137bc5780356137a881614b0d565b835260019690960195918301918301613795565b50965050860135925050808211156137d2578283fd5b506137df8582860161334b565b9150509250929050565b6000806000604084860312156137fd578081fd5b83356001600160401b03811115613812578182fd5b61381e86828701613303565b909790965060209590950135949350505050565b6000806000806000806060878903121561384a578384fd5b86356001600160401b0380821115613860578586fd5b61386c8a838b01613303565b90985096506020890135915080821115613884578586fd5b6138908a838b01613303565b909650945060408901359150808211156138a8578283fd5b506138b589828a01613303565b979a9699509497509295939492505050565b6000602082840312156138d8578081fd5b5035919050565b600080604083850312156138f1578182fd5b8235915060208301356134a581614b0d565b60008060008060008060008060006101208a8c031215613921578687fd5b8935985060208a0135975060408a0135965060608a0135955060808a0135945060a08a0135935060c08a01356001600160401b03811115613960578384fd5b61396c8c828d016133c7565b93505060e08a013561397d81614b0d565b809250506101008a013590509295985092959850929598565b60008060008060008060008060008060006101608c8e0312156139b7578485fd5b8b359a5060208c0135995060408c0135985060608c0135975060808c0135965060a08c0135955060c08c01356001600160401b038111156139f6578586fd5b613a028e828f016133c7565b95505060e08c0135613a1381614b0d565b93506101008c01359250613a2a6101208d016133b7565b91506101408c013590509295989b509295989b9093969950565b600060208284031215613a55578081fd5b81356109a181614b22565b600060208284031215613a71578081fd5b81516109a181614b22565b600060208284031215613a8d578081fd5b81356001600160401b03811115613aa2578182fd5b613aae848285016133c7565b949350505050565b60008060008060608587031215613acb578182fd5b843593506020850135925060408501356001600160401b03811115613aee578283fd5b613afa87828801613303565b95989497509550505050565b81835260006001600160fb1b03831115613b1e578081fd5b6020830280836020870137939093016020019283525090919050565b6000815180845260208085019450808401835b83811015613b6957815187529582019590820190600101613b4d565b509495945050505050565b60008151808452613b8c81602086016020860161499e565b601f01601f19169290920160200192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b600083516020613bde828583890161499e565b845491840191839060028104600180831680613bfb57607f831692505b858310811415613c1957634e487b7160e01b88526022600452602488fd5b808015613c2d5760018114613c3e57613c6a565b60ff19851688528388019550613c6a565b613c478b614944565b895b85811015613c625781548a820152908401908801613c49565b505083880195505b50939a9950505050505050505050565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351613cb281601785016020880161499e565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613ce381602884016020880161499e565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0386811682528516602082015260a060408201819052600090613d2f90830186613b3a565b8281036060840152613d418186613b3a565b90508281036080840152613d558185613b74565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090613d9b90830184613b74565b979650505050505050565b600060408252613dba604083018688613b06565b8281036020840152613d9b818587613b06565b6000602082526109a16020830184613b3a565b600060408252613df36040830185613b3a565b828103602084015261099d8185613b3a565b901515815260200190565b90815260200190565b60006101408c83528b151560208401528a60408401528960608401528860808401528760a08401528660c08401528560e084015280610100840152613e6081840186613b74565b91505060018060a01b0383166101208301529b9a5050505050505050505050565b6000602082526109a16020830184613b74565b600060408252613ea76040830185613b74565b905060018060a01b03831660208301529392505050565b600060408252613ed16040830185613b74565b905082151560208301529392505050565b600060408252613ef56040830185613b74565b90508260208301529392505050565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b606082015260800190565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201526a65726f206164647265737360a81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b60208082526035908201527f656469744d696e74506173733a206f70656e2077696e646f77206d757374206260408201527465206265666f726520636c6f73652077696e646f7760581b606082015260800190565b6020808252602c908201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060408201526b1dda1a5b19481c185d5cd95960a21b606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b6020808252818101527f656469744d696e74506173733a2077696e646f772063616e6e6f742062652030604082015260600190565b6020808252602f908201527f4275726e61626c653a204f6e6c7920616c6c6f7765642066726f6d207265646560408201526e195b58589b194818dbdb9d1c9858dd608a1b606082015260800190565b60208082526019908201527f436c61696d3a20636c61696d696e672069732070617573656400000000000000604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526021908201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f666040820152601760f91b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206040820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606082015260800190565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252601e908201527f4572726f722072657475726e696e6720657863657373207061796d656e740000604082015260600190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60208082526025908201527f4d6178207175616e7469747920706572207472616e73616374696f6e20657863604082015264195959195960da1b606082015260800190565b60208082526019908201527f436c61696d3a2074696d652077696e646f7720636c6f73656400000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601c908201527f436c61696d3a2045746865722076616c756520696e636f727265637400000000604082015260600190565b6020808252601f908201527f6164644d696e74506173733a2077696e646f772063616e6e6f74206265203000604082015260600190565b6020808252601690820152752aa9249d103737b732bc34b9ba32b73a103a37b5b2b760511b604082015260600190565b60208082526035908201527f436c61696d3a204e6f7420616c6c6f77656420746f20636c61696d2074686174604082015274081b585b9e48199c9bdb481bdb99481dd85b1b195d605a1b606082015260800190565b6020808252601f908201527f436c61696d3a204d696e74207061737320646f6573206e6f7420657869737400604082015260600190565b6020808252601e908201527f4f6e65206f72206d6f726520636c61696d732061726520696e76616c69640000604082015260600190565b60208082526022908201527f43616c6c657220646f6573206e6f74206861766520726571756972656420726f6040820152616c6560f01b606082015260800190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604082015268103337b91039b2b63360b91b606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604082015268040dad2e6dac2e8c6d60bb1b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b6020808252600e908201526d14d85b19481a5cc81c185d5cd95960921b604082015260600190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60208082526034908201527f6164644d696e74506173733a206f70656e2077696e646f77206d757374206265604082015273206265666f726520636c6f73652077696e646f7760601b606082015260800190565b6000808335601e198436030181126148c8578283fd5b8301803591506001600160401b038211156148e1578283fd5b602090810192508102360382131561334457600080fd5b6040518181016001600160401b038111828210171561491957614919614a4d565b604052919050565b60006001600160401b0382111561493a5761493a614a4d565b5060209081020190565b60009081526020902090565b6000821982111561496357614963614a37565b500190565b600081600019048311821515161561498257614982614a37565b500290565b60008282101561499957614999614a37565b500390565b60005b838110156149b95781810151838201526020016149a1565b83811115611f445750506000910152565b6000816149d9576149d9614a37565b506000190190565b6002810460018216806149f557607f821691505b60208210811415614a1657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415614a3057614a30614a37565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d1015614a7957610a38565b600481823e6308c379a0614a8d8251614a63565b14614a9757610a38565b6040513d600319016004823e80513d6001600160401b038160248401118184111715614ac65750505050610a38565b82840192508251915080821115614ae05750505050610a38565b503d83016020828401011115614af857505050610a38565b601f01601f1916810160200160405291505090565b6001600160a01b038116811461091a57600080fd5b6001600160e01b03198116811461091a57600080fdfe7134ed5ff49271deb044fbad11674069fc122f9be1f0042e7622ee9ab85706c2a2646970667358221220c246355482bea4155a3628433dba154462246127ccc628fa2241041ee4309ecf64736f6c63430008000033
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.