ERC-721
Overview
Max Total Supply
1,088 Founders Coin
Holders
165
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 Founders CoinLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FoundersCoin
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * Blimpie-GB721 provides low-gas * * mints + transfers * ****************************************/ import "@openzeppelin/contracts/utils/Strings.sol"; import '../Blimpie/PaymentSplitterMod.sol'; import '../Blimpie/Signed.sol'; import './FC721Batch.sol'; import 'hardhat/console.sol'; contract FoundersCoin is FC721Batch, PaymentSplitterMod, Signed { using Strings for uint256; uint public PRICE = 0.04 ether; uint public MAX_ORDER = 6; uint public MAX_SUPPLY = 1200; uint public MAX_WALLET = 6; bool public isMainsaleActive = false; string private _tokenURIPrefix = 'https://cryptodelinkuents.com/metadata/'; string private _tokenURISuffix = '.json'; address[] private addressList = [ 0xed5CCAf5FF3D360eE7cF2C10bA9888266eeC78d0, 0x785cB4961B71c9A3e1661E5E63D7198A48036348 ]; uint[] private shareList = [ 90, 10 ]; constructor() FC721("Founders Coin", "") PaymentSplitterMod(addressList, shareList){ } //view: external fallback() external payable {} function ownerPoints( address owner ) public view returns ( uint ){ uint points; for( uint i; i < balances[owner].length; ++i ){ points += tokens[i ].points; } return points; } function tokenPoints( uint tokenId ) external view returns ( uint16 ){ return tokens[ tokenId ].points; } function isLocked() external view returns( bool ){ return !isMainsaleActive; } function maxOrder() external view returns( uint ){ return MAX_ORDER; } function maxWallet() external view returns( uint ){ return MAX_WALLET; } function price() external view returns( uint ){ return PRICE; } function TOTAL_SUPPLY() external view returns( uint ){ return MAX_SUPPLY; } //view: IERC721Metadata function tokenURI( uint tokenId ) external view override returns( string memory ){ require(_exists(tokenId), "FoundersCoin: query for nonexistent token"); return string(abi.encodePacked(_tokenURIPrefix, tokenId.toString(), _tokenURISuffix)); } //payable function mint( uint quantity ) external payable { require( isMainsaleActive, "FoundersCoin: Sale is not active" ); require( quantity <= MAX_ORDER, "FoundersCoin: order too big" ); require( msg.value >= PRICE * quantity, "FoundersCoin: ether sent is not correct" ); require( balances[ msg.sender ].length + quantity <= MAX_WALLET, "FoundersCoin: don't be greedy" ); uint supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "FoundersCoin: mint/order exceeds supply" ); unchecked{ for(uint i; i < quantity; ++i){ _mint( msg.sender, tokens.length ); } } } //onlyDelegates function addPoints(uint fromTokenId, uint toTokenId, uint16 points ) external onlyDelegates { require( toTokenId < totalSupply(), "Invalid end token" ); for( ; fromTokenId <= toTokenId; ++fromTokenId ){ tokens[fromTokenId].points += points; } } function usePoints(address owner, uint points) external onlyDelegates{ require( points > 0, "Invalid points" ); for(uint i; i < balances[owner].length; ++i){ Token storage token = tokens[ balances[owner][i] ]; if( points > token.points ){ points = points - token.points; token.points = 0; } //points <= token.points else{ token.points = token.points - uint16(points); points = 0; break; } } if( points > 0 ) revert( "Not enough points" ); } function mintTo(address[] calldata accounts, uint[] calldata quantity ) external payable onlyDelegates{ require(quantity.length == accounts.length, "FoundersCoin: must provide equal quantities and accounts" ); uint totalQuantity; unchecked{ for(uint i; i < quantity.length; ++i){ totalQuantity += quantity[i]; } } uint supply = totalSupply(); require( supply + totalQuantity < MAX_SUPPLY, "FoundersCoin: mint/order exceeds supply" ); unchecked{ for(uint i; i < accounts.length; ++i){ for(uint j; j < quantity[i]; ++j){ _mint( accounts[i], tokens.length ); } } } } function setActive(bool isMainsaleActive_) external onlyDelegates{ isMainsaleActive = isMainsaleActive_; } function setBaseURI(string calldata _newPrefix, string calldata _newSuffix) external onlyDelegates{ _tokenURIPrefix = _newPrefix; _tokenURISuffix = _newSuffix; } function setMax(uint maxOrder_, uint maxSupply_, uint maxWallet_) external onlyDelegates{ require( maxSupply_ >= totalSupply(), "FoundersCoin: specified supply is lower than current balance" ); MAX_ORDER = maxOrder_; MAX_SUPPLY = maxSupply_; MAX_WALLET = maxWallet_; } function setPrice( uint ethPrice ) external onlyDelegates{ PRICE = ethPrice; } function addPayee( address account, uint shares ) external onlyOwner { _addPayee( account, shares ); } function resetPayments() external onlyOwner{ _resetCounters(); } function setPayee( uint index, address account, uint newShares ) external onlyOwner { _setPayee( index, account, newShares ); } //private function _mint( address to, uint tokenId ) private { _beforeTokenTransfer( address(0), to, tokenId ); if( tokenId < 200 ) tokens.push( Token( to, 2 ) ); else tokens.push( Token( to, 1 ) ); emit Transfer(address(0), to, tokenId); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * Blimpie-ERC721 provides low-gas * * mints + transfers * ****************************************/ import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "./FC721.sol"; abstract contract FC721Enumerable is FC721, IERC721Enumerable { function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, FC721) returns( bool isSupported ){ return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint index) external view override returns( uint tokenId ){ uint count; for( uint i; i < tokens.length; ++i ){ if( owner == tokens[i].owner ){ if( count == index ) return i; else ++count; } } revert( "FC721Enumerable: owner index out of bounds" ); } function tokenByIndex(uint index) external view override returns( uint tokenId ){ require(index < tokens.length, "FC721Enumerable: query for nonexistent token"); return index; } function totalSupply() public view override returns( uint ){ return tokens.length; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * Blimpie-ERC721 provides low-gas * * mints + transfers * ****************************************/ import "../Blimpie/IERC721Batch.sol"; import "./FC721Enumerable.sol"; abstract contract FC721Batch is FC721Enumerable, IERC721Batch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){ for(uint i; i < tokenIds.length; ++i ){ if( account != tokens[ tokenIds[i] ].owner ) return false; } return true; } function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{ for(uint i; i < tokenIds.length; ++i ){ safeTransferFrom( from, to, tokenIds[i], data ); } } function walletOfOwner( address account ) public view override returns( uint[] memory wallet_ ){ uint count; uint quantity = balanceOf( account ); uint[] memory wallet = new uint[]( quantity ); for( uint i; i < tokens.length; ++i ){ if( account == tokens[i].owner ){ wallet[ count++ ] = i; if( count == quantity ) break; } } return wallet; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * Blimpie-ERC721 provides low-gas * * mints + transfers * ****************************************/ import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract FC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; struct Token{ address owner; uint16 points; } Token[] public tokens; mapping(address => uint[]) public balances; string private _name; string private _symbol; mapping(uint => address) internal _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_){ _name = name_; _symbol = symbol_; } //public view function balanceOf(address owner) public view override returns (uint balance){ return balances[owner].length; } function name() external view override returns( string memory name_ ){ return _name; } function ownerOf(uint tokenId) public view override returns( address owner ){ require(_exists(tokenId), "FC721: query for nonexistent token"); return tokens[tokenId].owner; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns( bool isSupported ){ return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function symbol() external view override returns( string memory symbol_ ){ return _symbol; } //approvals function approve(address to, uint tokenId) external override { address owner = ownerOf(tokenId); require(to != owner, "FC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "FC721: caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint tokenId) public view override returns( address approver ){ require(_exists(tokenId), "FC721: query for nonexistent token"); return _tokenApprovals[tokenId]; } function isApprovedForAll(address owner, address operator) public view override returns( bool isApproved ){ return _operatorApprovals[owner][operator]; } function setApprovalForAll(address operator, bool approved) external override { _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } //transfers function safeTransferFrom(address from, address to, uint tokenId) external override{ safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom(address from, address to, uint tokenId, bytes memory _data) public override { require(_isApprovedOrOwner(_msgSender(), tokenId), "FC721: caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } function transferFrom(address from, address to, uint tokenId) external override { require(_isApprovedOrOwner(_msgSender(), tokenId), "FC721: caller is not owner nor approved"); _transfer(from, to, tokenId); } //internal function _approve(address to, uint tokenId) internal{ _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } function _beforeTokenTransfer(address from, address to, uint tokenId) internal virtual { if( from != address(0) ){ uint length = balances[from].length; for( uint i; i < length; ++i ){ if( balances[from][i] == tokenId ){ balances[from][i] = balances[from][length - 1]; balances[from].pop(); break; } } } if( to != address(0) ) balances[to].push( tokenId ); } function _checkOnERC721Received(address from, address to, uint tokenId, bytes memory _data)private returns ( bool ){ if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("FC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _exists(uint tokenId) internal view returns ( bool ){ return tokenId < tokens.length && tokens[tokenId].owner != address(0); } function _isApprovedOrOwner(address spender, uint tokenId) internal view returns( bool ){ require(_exists(tokenId), "FC721: query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _safeTransfer(address from, address to, uint tokenId, bytes memory _data) internal{ _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "FC721: transfer to non ERC721Receiver implementer"); } function _transfer(address from, address to, uint tokenId) internal { require(ownerOf(tokenId) == from, "FC721: transfer of token that is not own"); _beforeTokenTransfer( from, to, tokenId ); // Clear approvals from the previous owner _approve(address(0), tokenId); tokens[tokenId].owner = to; emit Transfer(from, to, tokenId); } }
// SPDX-License-Identifier: BSD-3 pragma solidity ^0.8.0; import './Delegated.sol'; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract Signed is Delegated{ using Strings for uint256; using ECDSA for bytes32; string private _secret; address private _signer; function setSecret( string calldata secret ) external onlyOwner{ _secret = secret; } function setSigner( address signer ) external onlyOwner{ _signer = signer; } function createHash( string memory data ) internal view returns ( bytes32 ){ return keccak256( abi.encodePacked( address(this), msg.sender, data, _secret ) ); } function getSigner( bytes32 hash, bytes memory signature ) internal pure returns( address ){ return hash.toEthSignedMessageHash().recover( signature ); } function isAuthorizedSigner( address extracted ) internal view virtual returns( bool ){ return extracted == _signer; } function verifySignature( string memory data, bytes calldata signature ) internal view { address extracted = getSigner( createHash( data ), signature ); require( isAuthorizedSigner( extracted ), "Signature verification failed" ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitterMod is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } function _addPayee(address account, uint256 shares_) internal { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } function _resetCounters() internal { _totalReleased = 0; for(uint i; i < _payees.length; ++i ){ _released[ _payees[i] ] = 0; } } function _setPayee( uint index, address account, uint newShares ) internal { _totalShares = _totalShares - _shares[ account ] + newShares; _shares[ account ] = newShares; _payees[ index ] = account; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; interface IERC721Batch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool ); function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external; function walletOfOwner( address account ) external view returns( uint[] memory ); }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /*********************** * @author: squeebo_nft * ************************/ import "@openzeppelin/contracts/access/Ownable.sol"; contract Delegated is Ownable{ mapping(address => bool) internal _delegates; constructor(){ _delegates[owner()] = true; } modifier onlyDelegates { require(_delegates[msg.sender], "Invalid delegate" ); _; } //onlyOwner function isDelegate( address addr ) external view onlyOwner returns ( bool ){ return _delegates[addr]; } function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{ _delegates[addr] = isDelegate_; } function transferOwnership(address newOwner) public virtual override onlyOwner { _delegates[newOwner] = true; super.transferOwnership( newOwner ); } }
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) 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 generally not needed starting with Solidity 0.8, since 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"MAX_ORDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"addPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"internalType":"uint256","name":"toTokenId","type":"uint256"},{"internalType":"uint16","name":"points","type":"uint16"}],"name":"addPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"approver","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isApproved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMainsaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxOrder","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"quantity","type":"uint256[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"name_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ownerPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetPayments","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isMainsaleActive_","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newPrefix","type":"string"},{"internalType":"string","name":"_newSuffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxOrder_","type":"uint256"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"uint256","name":"maxWallet_","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"newShares","type":"uint256"}],"name":"setPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"secret","type":"string"}],"name":"setSecret","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"isSupported","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenPoints","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint16","name":"points","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"points","type":"uint256"}],"name":"usePoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"wallet_","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
668e1bc9bf040000600f55600660108190556104b06011556012556013805460ff1916905560e0604052602760808181529062003e1960a03980516200004e91601491602090910190620005e7565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200007d91601591620005e7565b506040805180820190915273ed5ccaf5ff3d360ee7cf2c10ba9888266eec78d0815273785cb4961b71c9a3e1661e5e63d7198a480363486020820152620000c990601690600262000676565b5060408051808201909152605a8152600a6020820152620000ef906017906002620006ce565b50348015620000fd57600080fd5b5060168054806020026020016040519081016040528092919081815260200182805480156200015657602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000137575b50505050506017805480602002602001604051908101604052809291908181526020018280548015620001a957602002820191906000526020600020905b81548152602001906001019080831162000194575b5050604080518082018252600d81526c2337bab73232b9399021b7b4b760991b60208083019182528351908101909352600083528151919550919350620001f5925060029190620005e7565b5080516200020b906003906020840190620005e7565b5050508051825114620002805760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620002d35760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000277565b60005b82518110156200033f576200032a838281518110620002f957620002f962000728565b602002602001015183838151811062000316576200031662000728565b6020026020010151620003a360201b60201c565b80620003368162000754565b915050620002d6565b5050506200035c620003566200059160201b60201c565b62000595565b6001600c600062000375600b546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620007ca565b6001600160a01b038216620004105760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000277565b60008111620004625760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000277565b6001600160a01b03821660009081526008602052604090205415620004de5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000277565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b0319166001600160a01b03841690811790915560009081526008602052604090208190556006546200054890829062000772565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620005f5906200078d565b90600052602060002090601f01602090048101928262000619576000855562000664565b82601f106200063457805160ff191683800117855562000664565b8280016001018555821562000664579182015b828111156200066457825182559160200191906001019062000647565b506200067292915062000711565b5090565b82805482825590600052602060002090810192821562000664579160200282015b828111156200066457825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000697565b82805482825590600052602060002090810192821562000664579160200282015b8281111562000664578251829060ff16905591602001919060010190620006ef565b5b8082111562000672576000815560010162000712565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156200076b576200076b6200073e565b5060010190565b600082198211156200078857620007886200073e565b500190565b600181811c90821680620007a257607f821691505b60208210811415620007c457634e487b7160e01b600052602260045260246000fd5b50919050565b61363f80620007da6000396000f3fe6080604052600436106103495760003560e01c806370a08231116101b9578063a0712d68116100f6578063cbf1304d1161009a578063e33b7de31161006c578063e33b7de314610a48578063e985e9c514610a5d578063f2fde38b14610aa6578063f8b45b0514610ac657005b8063cbf1304d146109bc578063ce7c2ac2146109dc578063df23880014610a12578063df7787a414610a3257005b8063acec338a116100d3578063acec338a1461093c578063b534a5c41461095c578063b88d4fde1461097c578063c87b56dd1461099c57005b8063a0712d68146108f0578063a22cb46514610903578063a4e2d6341461092357005b80638d859f3e1161015d57806391b7f5ed1161013a57806391b7f5ed1461087057806395d89b41146108905780639852595c146108a5578063a035b1fe146108db57005b80638d859f3e146108275780638da5cb5b1461083d578063902d55a51461085b57005b80637ed6c926116101965780637ed6c926146107ad5780637f75c315146107cd57806382affb48146107e75780638b83209b1461080757005b806370a0823114610742578063715018a614610778578063746d0e1f1461078d57005b80633a98ef391161028757806350c5a00c1161022b5780636790a9de116102085780636790a9de146106cf57806369add11d146106ef5780636c19e783146107025780636f6098521461072257005b806350c5a00c1461066657806357e973401461067c5780636352211e146106af57005b80634a994eef116102645780634a994eef146105c45780634d44660c146105e45780634f64b2be146106045780634f6ccce71461064657005b80633a98ef391461056257806342842e0e14610577578063438b63001461059757005b80630f3b73b1116102ee57806319165587116102cb57806319165587146104ec57806323b872dd1461050c5780632f745c591461052c57806332cb6b0c1461054c57005b80630f3b73b1146104a257806318160ddd146104b757806318f9b023146104cc57005b806306fdde031161032757806306fdde0314610408578063077796271461042a578063081812fc1461044a578063095ea7b31461048257005b80624510261461039457806301ffc9a7146103b857806302fbd0aa146103e857005b36610392577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156103a057600080fd5b506010545b6040519081526020015b60405180910390f35b3480156103c457600080fd5b506103d86103d3366004612bc9565b610adb565b60405190151581526020016103af565b3480156103f457600080fd5b50610392610403366004612bfb565b610b06565b34801561041457600080fd5b5061041d610ccb565b6040516103af9190612c7f565b34801561043657600080fd5b506103d8610445366004612c92565b610d5d565b34801561045657600080fd5b5061046a610465366004612caf565b610dad565b6040516001600160a01b0390911681526020016103af565b34801561048e57600080fd5b5061039261049d366004612bfb565b610df0565b3480156104ae57600080fd5b50610392610eee565b3480156104c357600080fd5b506000546103a5565b3480156104d857600080fd5b506103926104e7366004612bfb565b610f22565b3480156104f857600080fd5b50610392610507366004612c92565b610f56565b34801561051857600080fd5b50610392610527366004612cc8565b611127565b34801561053857600080fd5b506103a5610547366004612bfb565b611158565b34801561055857600080fd5b506103a560115481565b34801561056e57600080fd5b506006546103a5565b34801561058357600080fd5b50610392610592366004612cc8565b611223565b3480156105a357600080fd5b506105b76105b2366004612c92565b61123e565b6040516103af9190612d09565b3480156105d057600080fd5b506103926105df366004612d5d565b61133a565b3480156105f057600080fd5b506103d86105ff366004612dde565b61138f565b34801561061057600080fd5b5061062461061f366004612caf565b61140b565b604080516001600160a01b03909316835261ffff9091166020830152016103af565b34801561065257600080fd5b506103a5610661366004612caf565b611441565b34801561067257600080fd5b506103a560105481565b34801561068857600080fd5b5061069c610697366004612caf565b6114ac565b60405161ffff90911681526020016103af565b3480156106bb57600080fd5b5061046a6106ca366004612caf565b6114dd565b3480156106db57600080fd5b506103926106ea366004612e75565b611532565b6103926106fd366004612ee1565b611581565b34801561070e57600080fd5b5061039261071d366004612c92565b611701565b34801561072e57600080fd5b5061039261073d366004612f41565b61174d565b34801561074e57600080fd5b506103a561075d366004612c92565b6001600160a01b031660009081526001602052604090205490565b34801561078457600080fd5b50610392611802565b34801561079957600080fd5b506103926107a8366004612f6d565b611836565b3480156107b957600080fd5b506103926107c8366004612fad565b611916565b3480156107d957600080fd5b506013546103d89060ff1681565b3480156107f357600080fd5b506103a5610802366004612c92565b61194c565b34801561081357600080fd5b5061046a610822366004612caf565b6119bf565b34801561083357600080fd5b506103a5600f5481565b34801561084957600080fd5b50600b546001600160a01b031661046a565b34801561086757600080fd5b506011546103a5565b34801561087c57600080fd5b5061039261088b366004612caf565b6119d4565b34801561089c57600080fd5b5061041d611a08565b3480156108b157600080fd5b506103a56108c0366004612c92565b6001600160a01b031660009081526009602052604090205490565b3480156108e757600080fd5b50600f546103a5565b6103926108fe366004612caf565b611a17565b34801561090f57600080fd5b5061039261091e366004612d5d565b611be3565b34801561092f57600080fd5b5060135460ff16156103d8565b34801561094857600080fd5b50610392610957366004612fef565b611c4f565b34801561096857600080fd5b5061039261097736600461300a565b611c91565b34801561098857600080fd5b506103926109973660046130b5565b611d06565b3480156109a857600080fd5b5061041d6109b7366004612caf565b611d3e565b3480156109c857600080fd5b506103a56109d7366004612bfb565b611ddc565b3480156109e857600080fd5b506103a56109f7366004612c92565b6001600160a01b031660009081526008602052604090205490565b348015610a1e57600080fd5b50610392610a2d366004613195565b611e0d565b348015610a3e57600080fd5b506103a560125481565b348015610a5457600080fd5b506007546103a5565b348015610a6957600080fd5b506103d8610a783660046131bc565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610ab257600080fd5b50610392610ac1366004612c92565b611e42565b348015610ad257600080fd5b506012546103a5565b60006001600160e01b0319821663780e9d6360e01b1480610b005750610b0082611e9b565b92915050565b336000908152600c602052604090205460ff16610b3e5760405162461bcd60e51b8152600401610b35906131f5565b60405180910390fd5b60008111610b7f5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c696420706f696e747360901b6044820152606401610b35565b60005b6001600160a01b038316600090815260016020526040902054811015610c84576001600160a01b0383166000908152600160205260408120805482919084908110610bcf57610bcf61321f565b906000526020600020015481548110610bea57610bea61321f565b60009182526020909120018054909150600160a01b900461ffff16831115610c36578054610c2390600160a01b900461ffff168461324b565b815461ffff60a01b191682559250610c73565b8054610c4e908490600160a01b900461ffff16613262565b815461ffff91909116600160a01b0261ffff60a01b1990911617905560009150610c84565b50610c7d81613285565b9050610b82565b508015610cc75760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820706f696e747360781b6044820152606401610b35565b5050565b606060028054610cda906132a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610d06906132a0565b8015610d535780601f10610d2857610100808354040283529160200191610d53565b820191906000526020600020905b815481529060010190602001808311610d3657829003601f168201915b5050505050905090565b600b546000906001600160a01b03163314610d8a5760405162461bcd60e51b8152600401610b35906132db565b506001600160a01b0381166000908152600c602052604090205460ff165b919050565b6000610db882611eeb565b610dd45760405162461bcd60e51b8152600401610b3590613310565b506000908152600460205260409020546001600160a01b031690565b6000610dfb826114dd565b9050806001600160a01b0316836001600160a01b03161415610e5f5760405162461bcd60e51b815260206004820181905260248201527f46433732313a20617070726f76616c20746f2063757272656e74206f776e65726044820152606401610b35565b336001600160a01b0382161480610e7b5750610e7b8133610a78565b610edf5760405162461bcd60e51b815260206004820152602f60248201527f46433732313a2063616c6c6572206973206e6f74206f776e6572206e6f72206160448201526e1c1c1c9bdd995908199bdc88185b1b608a1b6064820152608401610b35565b610ee98383611f33565b505050565b600b546001600160a01b03163314610f185760405162461bcd60e51b8152600401610b35906132db565b610f20611fa1565b565b600b546001600160a01b03163314610f4c5760405162461bcd60e51b8152600401610b35906132db565b610cc78282612001565b6001600160a01b038116600090815260086020526040902054610fca5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610b35565b600060075447610fda9190613352565b6001600160a01b0383166000908152600960209081526040808320546006546008909352908320549394509192611011908561336a565b61101b919061339f565b611025919061324b565b9050806110885760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610b35565b6001600160a01b0383166000908152600960205260409020546110ac908290613352565b6001600160a01b0384166000908152600960205260409020556007546110d3908290613352565b6007556110e083826121e7565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6111313382612300565b61114d5760405162461bcd60e51b8152600401610b35906133b3565b610ee98383836123a5565b60008060005b6000548110156111c7576000818154811061117b5761117b61321f565b6000918252602090912001546001600160a01b03868116911614156111b757838214156111ab579150610b009050565b6111b482613285565b91505b6111c081613285565b905061115e565b5060405162461bcd60e51b815260206004820152602a60248201527f4643373231456e756d657261626c653a206f776e657220696e646578206f7574604482015269206f6620626f756e647360b01b6064820152608401610b35565b610ee983838360405180602001604052806000815250611d06565b6060600080611262846001600160a01b031660009081526001602052604090205490565b905060008167ffffffffffffffff81111561127f5761127f61309f565b6040519080825280602002602001820160405280156112a8578160200160208202803683370190505b50905060005b60005481101561133157600081815481106112cb576112cb61321f565b6000918252602090912001546001600160a01b0387811691161415611321578082856112f681613285565b9650815181106113085761130861321f565b6020026020010181815250508284141561132157611331565b61132a81613285565b90506112ae565b50949350505050565b600b546001600160a01b031633146113645760405162461bcd60e51b8152600401610b35906132db565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6000805b828110156113fe5760008484838181106113af576113af61321f565b90506020020135815481106113c6576113c661321f565b6000918252602090912001546001600160a01b038681169116146113ee576000915050611404565b6113f781613285565b9050611393565b50600190505b9392505050565b6000818154811061141b57600080fd5b6000918252602090912001546001600160a01b0381169150600160a01b900461ffff1682565b6000805482106114a85760405162461bcd60e51b815260206004820152602c60248201527f4643373231456e756d657261626c653a20717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b35565b5090565b60008082815481106114c0576114c061321f565b600091825260209091200154600160a01b900461ffff1692915050565b60006114e882611eeb565b6115045760405162461bcd60e51b8152600401610b3590613310565b600082815481106115175761151761321f565b6000918252602090912001546001600160a01b031692915050565b336000908152600c602052604090205460ff166115615760405162461bcd60e51b8152600401610b35906131f5565b61156d60148585612b23565b5061157a60158383612b23565b5050505050565b336000908152600c602052604090205460ff166115b05760405162461bcd60e51b8152600401610b35906131f5565b8083146116255760405162461bcd60e51b815260206004820152603860248201527f466f756e64657273436f696e3a206d7573742070726f7669646520657175616c60448201527f207175616e74697469657320616e64206163636f756e747300000000000000006064820152608401610b35565b6000805b82811015611659578383828181106116435761164361321f565b9050602002013582019150806001019050611629565b5060005460115461166a8383613352565b106116875760405162461bcd60e51b8152600401610b35906133fa565b60005b858110156116f85760005b8585838181106116a7576116a761321f565b905060200201358110156116ef576116e78888848181106116ca576116ca61321f565b90506020020160208101906116df9190612c92565b6000546124a3565b600101611695565b5060010161168a565b50505050505050565b600b546001600160a01b0316331461172b5760405162461bcd60e51b8152600401610b35906132db565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b336000908152600c602052604090205460ff1661177c5760405162461bcd60e51b8152600401610b35906131f5565b6000548210156117f45760405162461bcd60e51b815260206004820152603c60248201527f466f756e64657273436f696e3a2073706563696669656420737570706c79206960448201527f73206c6f776572207468616e2063757272656e742062616c616e6365000000006064820152608401610b35565b601092909255601155601255565b600b546001600160a01b0316331461182c5760405162461bcd60e51b8152600401610b35906132db565b610f2060006125eb565b336000908152600c602052604090205460ff166118655760405162461bcd60e51b8152600401610b35906131f5565b60005482106118aa5760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21032b732103a37b5b2b760791b6044820152606401610b35565b818311610ee95780600084815481106118c5576118c561321f565b600091825260209091200180546014906118eb908490600160a01b900461ffff16613441565b92506101000a81548161ffff021916908361ffff1602179055508261190f90613285565b92506118aa565b600b546001600160a01b031633146119405760405162461bcd60e51b8152600401610b35906132db565b610ee9600d8383612b23565b60008060005b6001600160a01b0384166000908152600160205260409020548110156119b857600081815481106119855761198561321f565b6000918252602090912001546119a690600160a01b900461ffff1683613352565b91506119b181613285565b9050611952565b5092915050565b6000600a82815481106115175761151761321f565b336000908152600c602052604090205460ff16611a035760405162461bcd60e51b8152600401610b35906131f5565b600f55565b606060038054610cda906132a0565b60135460ff16611a695760405162461bcd60e51b815260206004820181905260248201527f466f756e64657273436f696e3a2053616c65206973206e6f74206163746976656044820152606401610b35565b601054811115611abb5760405162461bcd60e51b815260206004820152601b60248201527f466f756e64657273436f696e3a206f7264657220746f6f2062696700000000006044820152606401610b35565b80600f54611ac9919061336a565b341015611b285760405162461bcd60e51b815260206004820152602760248201527f466f756e64657273436f696e3a2065746865722073656e74206973206e6f742060448201526618dbdc9c9958dd60ca1b6064820152608401610b35565b60125433600090815260016020526040902054611b46908390613352565b1115611b945760405162461bcd60e51b815260206004820152601d60248201527f466f756e64657273436f696e3a20646f6e2774206265206772656564790000006044820152606401610b35565b600054601154611ba48383613352565b1115611bc25760405162461bcd60e51b8152600401610b35906133fa565b60005b82811015610ee957600054611bdb9033906124a3565b600101611bc5565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336000908152600c602052604090205460ff16611c7e5760405162461bcd60e51b8152600401610b35906131f5565b6013805460ff1916911515919091179055565b60005b838110156116f857611cf68787878785818110611cb357611cb361321f565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611d0692505050565b611cff81613285565b9050611c94565b611d103383612300565b611d2c5760405162461bcd60e51b8152600401610b35906133b3565b611d388484848461263d565b50505050565b6060611d4982611eeb565b611da75760405162461bcd60e51b815260206004820152602960248201527f466f756e64657273436f696e3a20717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b35565b6014611db283612670565b6015604051602001611dc693929190613501565b6040516020818303038152906040529050919050565b60016020528160005260406000208181548110611df857600080fd5b90600052602060002001600091509150505481565b600b546001600160a01b03163314611e375760405162461bcd60e51b8152600401610b35906132db565b610ee983838361276e565b600b546001600160a01b03163314611e6c5760405162461bcd60e51b8152600401610b35906132db565b6001600160a01b0381166000908152600c60205260409020805460ff19166001179055611e9881612807565b50565b60006001600160e01b031982166380ac58cd60e01b1480611ecc57506001600160e01b03198216635b5e139f60e01b145b80610b0057506301ffc9a760e01b6001600160e01b0319831614610b00565b6000805482108015610b00575060006001600160a01b031660008381548110611f1657611f1661321f565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f68826114dd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600060078190555b600a54811015611e9857600060096000600a8481548110611fcc57611fcc61321f565b60009182526020808320909101546001600160a01b03168352820192909252604001902055611ffa81613285565b9050611fa9565b6001600160a01b03821661206c5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610b35565b600081116120bc5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610b35565b6001600160a01b038216600090815260086020526040902054156121365760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610b35565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b0319166001600160a01b038416908117909155600090815260086020526040902081905560065461219e908290613352565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b804710156122375760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b35565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612284576040519150601f19603f3d011682016040523d82523d6000602084013e612289565b606091505b5050905080610ee95760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b35565b600061230b82611eeb565b6123275760405162461bcd60e51b8152600401610b3590613310565b6000612332836114dd565b9050806001600160a01b0316846001600160a01b0316148061236d5750836001600160a01b031661236284610dad565b6001600160a01b0316145b8061239d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166123b8826114dd565b6001600160a01b03161461241f5760405162461bcd60e51b815260206004820152602860248201527f46433732313a207472616e73666572206f6620746f6b656e2074686174206973604482015267103737ba1037bbb760c11b6064820152608401610b35565b61242a83838361289f565b612435600082611f33565b81600082815481106124495761244961321f565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6124af6000838361289f565b60c881101561253857604080518082019091526001600160a01b0380841682526002602083019081526000805460018101825590805292517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5639093018054915161ffff16600160a01b026001600160b01b031990921693909216929092179190911790556125af565b604080518082019091526001600160a01b038084168252600160208301818152600080549283018155805292517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5639091018054935161ffff16600160a01b026001600160b01b031990941691909216179190911790555b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6126488484846123a5565b61265484848484612a25565b611d385760405162461bcd60e51b8152600401610b3590613534565b6060816126945750506040805180820190915260018152600360fc1b602082015290565b8160005b81156126be57806126a881613285565b91506126b79050600a8361339f565b9150612698565b60008167ffffffffffffffff8111156126d9576126d961309f565b6040519080825280601f01601f191660200182016040528015612703576020820181803683370190505b5090505b841561239d5761271860018361324b565b9150612725600a86613585565b612730906030613352565b60f81b8183815181106127455761274561321f565b60200101906001600160f81b031916908160001a905350612767600a8661339f565b9450612707565b6001600160a01b03821660009081526008602052604090205460065482916127959161324b565b61279f9190613352565b6006556001600160a01b0382166000908152600860205260409020819055600a8054839190859081106127d4576127d461321f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b600b546001600160a01b031633146128315760405162461bcd60e51b8152600401610b35906132db565b6001600160a01b0381166128965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b35565b611e98816125eb565b6001600160a01b038316156129e9576001600160a01b038316600090815260016020526040812054905b818110156129e6576001600160a01b03851660009081526001602052604090208054849190839081106128fe576128fe61321f565b906000526020600020015414156129d6576001600160a01b038516600090815260016020819052604090912090612935908461324b565b815481106129455761294561321f565b906000526020600020015460016000876001600160a01b03166001600160a01b0316815260200190815260200160002082815481106129865761298661321f565b60009182526020808320909101929092556001600160a01b03871681526001909152604090208054806129bb576129bb613599565b600190038181906000526020600020016000905590556129e6565b6129df81613285565b90506128c9565b50505b6001600160a01b03821615610ee9576001600160a01b039190911660009081526001602081815260408320805492830181558352909120015550565b60006001600160a01b0384163b15612b1857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612a699033908990889088906004016135af565b6020604051808303816000875af1925050508015612aa4575060408051601f3d908101601f19168201909252612aa1918101906135ec565b60015b612afe573d808015612ad2576040519150601f19603f3d011682016040523d82523d6000602084013e612ad7565b606091505b508051612af65760405162461bcd60e51b8152600401610b3590613534565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061239d565b506001949350505050565b828054612b2f906132a0565b90600052602060002090601f016020900481019282612b515760008555612b97565b82601f10612b6a5782800160ff19823516178555612b97565b82800160010185558215612b97579182015b82811115612b97578235825591602001919060010190612b7c565b506114a89291505b808211156114a85760008155600101612b9f565b6001600160e01b031981168114611e9857600080fd5b600060208284031215612bdb57600080fd5b813561140481612bb3565b6001600160a01b0381168114611e9857600080fd5b60008060408385031215612c0e57600080fd5b8235612c1981612be6565b946020939093013593505050565b60005b83811015612c42578181015183820152602001612c2a565b83811115611d385750506000910152565b60008151808452612c6b816020860160208601612c27565b601f01601f19169290920160200192915050565b6020815260006114046020830184612c53565b600060208284031215612ca457600080fd5b813561140481612be6565b600060208284031215612cc157600080fd5b5035919050565b600080600060608486031215612cdd57600080fd5b8335612ce881612be6565b92506020840135612cf881612be6565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b81811015612d4157835183529284019291840191600101612d25565b50909695505050505050565b80358015158114610da857600080fd5b60008060408385031215612d7057600080fd5b8235612d7b81612be6565b9150612d8960208401612d4d565b90509250929050565b60008083601f840112612da457600080fd5b50813567ffffffffffffffff811115612dbc57600080fd5b6020830191508360208260051b8501011115612dd757600080fd5b9250929050565b600080600060408486031215612df357600080fd5b8335612dfe81612be6565b9250602084013567ffffffffffffffff811115612e1a57600080fd5b612e2686828701612d92565b9497909650939450505050565b60008083601f840112612e4557600080fd5b50813567ffffffffffffffff811115612e5d57600080fd5b602083019150836020828501011115612dd757600080fd5b60008060008060408587031215612e8b57600080fd5b843567ffffffffffffffff80821115612ea357600080fd5b612eaf88838901612e33565b90965094506020870135915080821115612ec857600080fd5b50612ed587828801612e33565b95989497509550505050565b60008060008060408587031215612ef757600080fd5b843567ffffffffffffffff80821115612f0f57600080fd5b612f1b88838901612d92565b90965094506020870135915080821115612f3457600080fd5b50612ed587828801612d92565b600080600060608486031215612f5657600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215612f8257600080fd5b8335925060208401359150604084013561ffff81168114612fa257600080fd5b809150509250925092565b60008060208385031215612fc057600080fd5b823567ffffffffffffffff811115612fd757600080fd5b612fe385828601612e33565b90969095509350505050565b60006020828403121561300157600080fd5b61140482612d4d565b6000806000806000806080878903121561302357600080fd5b863561302e81612be6565b9550602087013561303e81612be6565b9450604087013567ffffffffffffffff8082111561305b57600080fd5b6130678a838b01612d92565b9096509450606089013591508082111561308057600080fd5b5061308d89828a01612e33565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156130cb57600080fd5b84356130d681612be6565b935060208501356130e681612be6565b925060408501359150606085013567ffffffffffffffff8082111561310a57600080fd5b818701915087601f83011261311e57600080fd5b8135818111156131305761313061309f565b604051601f8201601f19908116603f011681019083821181831017156131585761315861309f565b816040528281528a602084870101111561317157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000606084860312156131aa57600080fd5b833592506020840135612cf881612be6565b600080604083850312156131cf57600080fd5b82356131da81612be6565b915060208301356131ea81612be6565b809150509250929050565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008282101561325d5761325d613235565b500390565b600061ffff8381169083168181101561327d5761327d613235565b039392505050565b600060001982141561329957613299613235565b5060010190565b600181811c908216806132b457607f821691505b602082108114156132d557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f46433732313a20717565727920666f72206e6f6e6578697374656e7420746f6b60408201526132b760f11b606082015260800190565b6000821982111561336557613365613235565b500190565b600081600019048311821515161561338457613384613235565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826133ae576133ae613389565b500490565b60208082526027908201527f46433732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220616040820152661c1c1c9bdd995960ca1b606082015260800190565b60208082526027908201527f466f756e64657273436f696e3a206d696e742f6f72646572206578636565647360408201526620737570706c7960c81b606082015260800190565b600061ffff80831681851680830382111561345e5761345e613235565b01949350505050565b8054600090600181811c908083168061348157607f831692505b60208084108214156134a357634e487b7160e01b600052602260045260246000fd5b8180156134b757600181146134c8576134f5565b60ff198616895284890196506134f5565b60008881526020902060005b868110156134ed5781548b8201529085019083016134d4565b505084890196505b50505050505092915050565b600061350d8286613467565b845161351d818360208901612c27565b61352981830186613467565b979650505050505050565b60208082526031908201527f46433732313a207472616e7366657220746f206e6f6e2045524337323152656360408201527032b4bb32b91034b6b83632b6b2b73a32b960791b606082015260800190565b60008261359457613594613389565b500690565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906135e290830184612c53565b9695505050505050565b6000602082840312156135fe57600080fd5b815161140481612bb356fea264697066735822122062ec417c00bf6e6f7da23d8aa9e0bc425714a353981e36b9453af4f9efb70eb364736f6c634300080b003368747470733a2f2f63727970746f64656c696e6b75656e74732e636f6d2f6d657461646174612f
Deployed Bytecode
0x6080604052600436106103495760003560e01c806370a08231116101b9578063a0712d68116100f6578063cbf1304d1161009a578063e33b7de31161006c578063e33b7de314610a48578063e985e9c514610a5d578063f2fde38b14610aa6578063f8b45b0514610ac657005b8063cbf1304d146109bc578063ce7c2ac2146109dc578063df23880014610a12578063df7787a414610a3257005b8063acec338a116100d3578063acec338a1461093c578063b534a5c41461095c578063b88d4fde1461097c578063c87b56dd1461099c57005b8063a0712d68146108f0578063a22cb46514610903578063a4e2d6341461092357005b80638d859f3e1161015d57806391b7f5ed1161013a57806391b7f5ed1461087057806395d89b41146108905780639852595c146108a5578063a035b1fe146108db57005b80638d859f3e146108275780638da5cb5b1461083d578063902d55a51461085b57005b80637ed6c926116101965780637ed6c926146107ad5780637f75c315146107cd57806382affb48146107e75780638b83209b1461080757005b806370a0823114610742578063715018a614610778578063746d0e1f1461078d57005b80633a98ef391161028757806350c5a00c1161022b5780636790a9de116102085780636790a9de146106cf57806369add11d146106ef5780636c19e783146107025780636f6098521461072257005b806350c5a00c1461066657806357e973401461067c5780636352211e146106af57005b80634a994eef116102645780634a994eef146105c45780634d44660c146105e45780634f64b2be146106045780634f6ccce71461064657005b80633a98ef391461056257806342842e0e14610577578063438b63001461059757005b80630f3b73b1116102ee57806319165587116102cb57806319165587146104ec57806323b872dd1461050c5780632f745c591461052c57806332cb6b0c1461054c57005b80630f3b73b1146104a257806318160ddd146104b757806318f9b023146104cc57005b806306fdde031161032757806306fdde0314610408578063077796271461042a578063081812fc1461044a578063095ea7b31461048257005b80624510261461039457806301ffc9a7146103b857806302fbd0aa146103e857005b36610392577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156103a057600080fd5b506010545b6040519081526020015b60405180910390f35b3480156103c457600080fd5b506103d86103d3366004612bc9565b610adb565b60405190151581526020016103af565b3480156103f457600080fd5b50610392610403366004612bfb565b610b06565b34801561041457600080fd5b5061041d610ccb565b6040516103af9190612c7f565b34801561043657600080fd5b506103d8610445366004612c92565b610d5d565b34801561045657600080fd5b5061046a610465366004612caf565b610dad565b6040516001600160a01b0390911681526020016103af565b34801561048e57600080fd5b5061039261049d366004612bfb565b610df0565b3480156104ae57600080fd5b50610392610eee565b3480156104c357600080fd5b506000546103a5565b3480156104d857600080fd5b506103926104e7366004612bfb565b610f22565b3480156104f857600080fd5b50610392610507366004612c92565b610f56565b34801561051857600080fd5b50610392610527366004612cc8565b611127565b34801561053857600080fd5b506103a5610547366004612bfb565b611158565b34801561055857600080fd5b506103a560115481565b34801561056e57600080fd5b506006546103a5565b34801561058357600080fd5b50610392610592366004612cc8565b611223565b3480156105a357600080fd5b506105b76105b2366004612c92565b61123e565b6040516103af9190612d09565b3480156105d057600080fd5b506103926105df366004612d5d565b61133a565b3480156105f057600080fd5b506103d86105ff366004612dde565b61138f565b34801561061057600080fd5b5061062461061f366004612caf565b61140b565b604080516001600160a01b03909316835261ffff9091166020830152016103af565b34801561065257600080fd5b506103a5610661366004612caf565b611441565b34801561067257600080fd5b506103a560105481565b34801561068857600080fd5b5061069c610697366004612caf565b6114ac565b60405161ffff90911681526020016103af565b3480156106bb57600080fd5b5061046a6106ca366004612caf565b6114dd565b3480156106db57600080fd5b506103926106ea366004612e75565b611532565b6103926106fd366004612ee1565b611581565b34801561070e57600080fd5b5061039261071d366004612c92565b611701565b34801561072e57600080fd5b5061039261073d366004612f41565b61174d565b34801561074e57600080fd5b506103a561075d366004612c92565b6001600160a01b031660009081526001602052604090205490565b34801561078457600080fd5b50610392611802565b34801561079957600080fd5b506103926107a8366004612f6d565b611836565b3480156107b957600080fd5b506103926107c8366004612fad565b611916565b3480156107d957600080fd5b506013546103d89060ff1681565b3480156107f357600080fd5b506103a5610802366004612c92565b61194c565b34801561081357600080fd5b5061046a610822366004612caf565b6119bf565b34801561083357600080fd5b506103a5600f5481565b34801561084957600080fd5b50600b546001600160a01b031661046a565b34801561086757600080fd5b506011546103a5565b34801561087c57600080fd5b5061039261088b366004612caf565b6119d4565b34801561089c57600080fd5b5061041d611a08565b3480156108b157600080fd5b506103a56108c0366004612c92565b6001600160a01b031660009081526009602052604090205490565b3480156108e757600080fd5b50600f546103a5565b6103926108fe366004612caf565b611a17565b34801561090f57600080fd5b5061039261091e366004612d5d565b611be3565b34801561092f57600080fd5b5060135460ff16156103d8565b34801561094857600080fd5b50610392610957366004612fef565b611c4f565b34801561096857600080fd5b5061039261097736600461300a565b611c91565b34801561098857600080fd5b506103926109973660046130b5565b611d06565b3480156109a857600080fd5b5061041d6109b7366004612caf565b611d3e565b3480156109c857600080fd5b506103a56109d7366004612bfb565b611ddc565b3480156109e857600080fd5b506103a56109f7366004612c92565b6001600160a01b031660009081526008602052604090205490565b348015610a1e57600080fd5b50610392610a2d366004613195565b611e0d565b348015610a3e57600080fd5b506103a560125481565b348015610a5457600080fd5b506007546103a5565b348015610a6957600080fd5b506103d8610a783660046131bc565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610ab257600080fd5b50610392610ac1366004612c92565b611e42565b348015610ad257600080fd5b506012546103a5565b60006001600160e01b0319821663780e9d6360e01b1480610b005750610b0082611e9b565b92915050565b336000908152600c602052604090205460ff16610b3e5760405162461bcd60e51b8152600401610b35906131f5565b60405180910390fd5b60008111610b7f5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c696420706f696e747360901b6044820152606401610b35565b60005b6001600160a01b038316600090815260016020526040902054811015610c84576001600160a01b0383166000908152600160205260408120805482919084908110610bcf57610bcf61321f565b906000526020600020015481548110610bea57610bea61321f565b60009182526020909120018054909150600160a01b900461ffff16831115610c36578054610c2390600160a01b900461ffff168461324b565b815461ffff60a01b191682559250610c73565b8054610c4e908490600160a01b900461ffff16613262565b815461ffff91909116600160a01b0261ffff60a01b1990911617905560009150610c84565b50610c7d81613285565b9050610b82565b508015610cc75760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820706f696e747360781b6044820152606401610b35565b5050565b606060028054610cda906132a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610d06906132a0565b8015610d535780601f10610d2857610100808354040283529160200191610d53565b820191906000526020600020905b815481529060010190602001808311610d3657829003601f168201915b5050505050905090565b600b546000906001600160a01b03163314610d8a5760405162461bcd60e51b8152600401610b35906132db565b506001600160a01b0381166000908152600c602052604090205460ff165b919050565b6000610db882611eeb565b610dd45760405162461bcd60e51b8152600401610b3590613310565b506000908152600460205260409020546001600160a01b031690565b6000610dfb826114dd565b9050806001600160a01b0316836001600160a01b03161415610e5f5760405162461bcd60e51b815260206004820181905260248201527f46433732313a20617070726f76616c20746f2063757272656e74206f776e65726044820152606401610b35565b336001600160a01b0382161480610e7b5750610e7b8133610a78565b610edf5760405162461bcd60e51b815260206004820152602f60248201527f46433732313a2063616c6c6572206973206e6f74206f776e6572206e6f72206160448201526e1c1c1c9bdd995908199bdc88185b1b608a1b6064820152608401610b35565b610ee98383611f33565b505050565b600b546001600160a01b03163314610f185760405162461bcd60e51b8152600401610b35906132db565b610f20611fa1565b565b600b546001600160a01b03163314610f4c5760405162461bcd60e51b8152600401610b35906132db565b610cc78282612001565b6001600160a01b038116600090815260086020526040902054610fca5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610b35565b600060075447610fda9190613352565b6001600160a01b0383166000908152600960209081526040808320546006546008909352908320549394509192611011908561336a565b61101b919061339f565b611025919061324b565b9050806110885760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610b35565b6001600160a01b0383166000908152600960205260409020546110ac908290613352565b6001600160a01b0384166000908152600960205260409020556007546110d3908290613352565b6007556110e083826121e7565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b6111313382612300565b61114d5760405162461bcd60e51b8152600401610b35906133b3565b610ee98383836123a5565b60008060005b6000548110156111c7576000818154811061117b5761117b61321f565b6000918252602090912001546001600160a01b03868116911614156111b757838214156111ab579150610b009050565b6111b482613285565b91505b6111c081613285565b905061115e565b5060405162461bcd60e51b815260206004820152602a60248201527f4643373231456e756d657261626c653a206f776e657220696e646578206f7574604482015269206f6620626f756e647360b01b6064820152608401610b35565b610ee983838360405180602001604052806000815250611d06565b6060600080611262846001600160a01b031660009081526001602052604090205490565b905060008167ffffffffffffffff81111561127f5761127f61309f565b6040519080825280602002602001820160405280156112a8578160200160208202803683370190505b50905060005b60005481101561133157600081815481106112cb576112cb61321f565b6000918252602090912001546001600160a01b0387811691161415611321578082856112f681613285565b9650815181106113085761130861321f565b6020026020010181815250508284141561132157611331565b61132a81613285565b90506112ae565b50949350505050565b600b546001600160a01b031633146113645760405162461bcd60e51b8152600401610b35906132db565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6000805b828110156113fe5760008484838181106113af576113af61321f565b90506020020135815481106113c6576113c661321f565b6000918252602090912001546001600160a01b038681169116146113ee576000915050611404565b6113f781613285565b9050611393565b50600190505b9392505050565b6000818154811061141b57600080fd5b6000918252602090912001546001600160a01b0381169150600160a01b900461ffff1682565b6000805482106114a85760405162461bcd60e51b815260206004820152602c60248201527f4643373231456e756d657261626c653a20717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b35565b5090565b60008082815481106114c0576114c061321f565b600091825260209091200154600160a01b900461ffff1692915050565b60006114e882611eeb565b6115045760405162461bcd60e51b8152600401610b3590613310565b600082815481106115175761151761321f565b6000918252602090912001546001600160a01b031692915050565b336000908152600c602052604090205460ff166115615760405162461bcd60e51b8152600401610b35906131f5565b61156d60148585612b23565b5061157a60158383612b23565b5050505050565b336000908152600c602052604090205460ff166115b05760405162461bcd60e51b8152600401610b35906131f5565b8083146116255760405162461bcd60e51b815260206004820152603860248201527f466f756e64657273436f696e3a206d7573742070726f7669646520657175616c60448201527f207175616e74697469657320616e64206163636f756e747300000000000000006064820152608401610b35565b6000805b82811015611659578383828181106116435761164361321f565b9050602002013582019150806001019050611629565b5060005460115461166a8383613352565b106116875760405162461bcd60e51b8152600401610b35906133fa565b60005b858110156116f85760005b8585838181106116a7576116a761321f565b905060200201358110156116ef576116e78888848181106116ca576116ca61321f565b90506020020160208101906116df9190612c92565b6000546124a3565b600101611695565b5060010161168a565b50505050505050565b600b546001600160a01b0316331461172b5760405162461bcd60e51b8152600401610b35906132db565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b336000908152600c602052604090205460ff1661177c5760405162461bcd60e51b8152600401610b35906131f5565b6000548210156117f45760405162461bcd60e51b815260206004820152603c60248201527f466f756e64657273436f696e3a2073706563696669656420737570706c79206960448201527f73206c6f776572207468616e2063757272656e742062616c616e6365000000006064820152608401610b35565b601092909255601155601255565b600b546001600160a01b0316331461182c5760405162461bcd60e51b8152600401610b35906132db565b610f2060006125eb565b336000908152600c602052604090205460ff166118655760405162461bcd60e51b8152600401610b35906131f5565b60005482106118aa5760405162461bcd60e51b815260206004820152601160248201527024b73b30b634b21032b732103a37b5b2b760791b6044820152606401610b35565b818311610ee95780600084815481106118c5576118c561321f565b600091825260209091200180546014906118eb908490600160a01b900461ffff16613441565b92506101000a81548161ffff021916908361ffff1602179055508261190f90613285565b92506118aa565b600b546001600160a01b031633146119405760405162461bcd60e51b8152600401610b35906132db565b610ee9600d8383612b23565b60008060005b6001600160a01b0384166000908152600160205260409020548110156119b857600081815481106119855761198561321f565b6000918252602090912001546119a690600160a01b900461ffff1683613352565b91506119b181613285565b9050611952565b5092915050565b6000600a82815481106115175761151761321f565b336000908152600c602052604090205460ff16611a035760405162461bcd60e51b8152600401610b35906131f5565b600f55565b606060038054610cda906132a0565b60135460ff16611a695760405162461bcd60e51b815260206004820181905260248201527f466f756e64657273436f696e3a2053616c65206973206e6f74206163746976656044820152606401610b35565b601054811115611abb5760405162461bcd60e51b815260206004820152601b60248201527f466f756e64657273436f696e3a206f7264657220746f6f2062696700000000006044820152606401610b35565b80600f54611ac9919061336a565b341015611b285760405162461bcd60e51b815260206004820152602760248201527f466f756e64657273436f696e3a2065746865722073656e74206973206e6f742060448201526618dbdc9c9958dd60ca1b6064820152608401610b35565b60125433600090815260016020526040902054611b46908390613352565b1115611b945760405162461bcd60e51b815260206004820152601d60248201527f466f756e64657273436f696e3a20646f6e2774206265206772656564790000006044820152606401610b35565b600054601154611ba48383613352565b1115611bc25760405162461bcd60e51b8152600401610b35906133fa565b60005b82811015610ee957600054611bdb9033906124a3565b600101611bc5565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336000908152600c602052604090205460ff16611c7e5760405162461bcd60e51b8152600401610b35906131f5565b6013805460ff1916911515919091179055565b60005b838110156116f857611cf68787878785818110611cb357611cb361321f565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611d0692505050565b611cff81613285565b9050611c94565b611d103383612300565b611d2c5760405162461bcd60e51b8152600401610b35906133b3565b611d388484848461263d565b50505050565b6060611d4982611eeb565b611da75760405162461bcd60e51b815260206004820152602960248201527f466f756e64657273436f696e3a20717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b35565b6014611db283612670565b6015604051602001611dc693929190613501565b6040516020818303038152906040529050919050565b60016020528160005260406000208181548110611df857600080fd5b90600052602060002001600091509150505481565b600b546001600160a01b03163314611e375760405162461bcd60e51b8152600401610b35906132db565b610ee983838361276e565b600b546001600160a01b03163314611e6c5760405162461bcd60e51b8152600401610b35906132db565b6001600160a01b0381166000908152600c60205260409020805460ff19166001179055611e9881612807565b50565b60006001600160e01b031982166380ac58cd60e01b1480611ecc57506001600160e01b03198216635b5e139f60e01b145b80610b0057506301ffc9a760e01b6001600160e01b0319831614610b00565b6000805482108015610b00575060006001600160a01b031660008381548110611f1657611f1661321f565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611f68826114dd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600060078190555b600a54811015611e9857600060096000600a8481548110611fcc57611fcc61321f565b60009182526020808320909101546001600160a01b03168352820192909252604001902055611ffa81613285565b9050611fa9565b6001600160a01b03821661206c5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610b35565b600081116120bc5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610b35565b6001600160a01b038216600090815260086020526040902054156121365760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610b35565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b0319166001600160a01b038416908117909155600090815260086020526040902081905560065461219e908290613352565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b804710156122375760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b35565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612284576040519150601f19603f3d011682016040523d82523d6000602084013e612289565b606091505b5050905080610ee95760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b35565b600061230b82611eeb565b6123275760405162461bcd60e51b8152600401610b3590613310565b6000612332836114dd565b9050806001600160a01b0316846001600160a01b0316148061236d5750836001600160a01b031661236284610dad565b6001600160a01b0316145b8061239d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166123b8826114dd565b6001600160a01b03161461241f5760405162461bcd60e51b815260206004820152602860248201527f46433732313a207472616e73666572206f6620746f6b656e2074686174206973604482015267103737ba1037bbb760c11b6064820152608401610b35565b61242a83838361289f565b612435600082611f33565b81600082815481106124495761244961321f565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6124af6000838361289f565b60c881101561253857604080518082019091526001600160a01b0380841682526002602083019081526000805460018101825590805292517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5639093018054915161ffff16600160a01b026001600160b01b031990921693909216929092179190911790556125af565b604080518082019091526001600160a01b038084168252600160208301818152600080549283018155805292517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5639091018054935161ffff16600160a01b026001600160b01b031990941691909216179190911790555b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6126488484846123a5565b61265484848484612a25565b611d385760405162461bcd60e51b8152600401610b3590613534565b6060816126945750506040805180820190915260018152600360fc1b602082015290565b8160005b81156126be57806126a881613285565b91506126b79050600a8361339f565b9150612698565b60008167ffffffffffffffff8111156126d9576126d961309f565b6040519080825280601f01601f191660200182016040528015612703576020820181803683370190505b5090505b841561239d5761271860018361324b565b9150612725600a86613585565b612730906030613352565b60f81b8183815181106127455761274561321f565b60200101906001600160f81b031916908160001a905350612767600a8661339f565b9450612707565b6001600160a01b03821660009081526008602052604090205460065482916127959161324b565b61279f9190613352565b6006556001600160a01b0382166000908152600860205260409020819055600a8054839190859081106127d4576127d461321f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b600b546001600160a01b031633146128315760405162461bcd60e51b8152600401610b35906132db565b6001600160a01b0381166128965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b35565b611e98816125eb565b6001600160a01b038316156129e9576001600160a01b038316600090815260016020526040812054905b818110156129e6576001600160a01b03851660009081526001602052604090208054849190839081106128fe576128fe61321f565b906000526020600020015414156129d6576001600160a01b038516600090815260016020819052604090912090612935908461324b565b815481106129455761294561321f565b906000526020600020015460016000876001600160a01b03166001600160a01b0316815260200190815260200160002082815481106129865761298661321f565b60009182526020808320909101929092556001600160a01b03871681526001909152604090208054806129bb576129bb613599565b600190038181906000526020600020016000905590556129e6565b6129df81613285565b90506128c9565b50505b6001600160a01b03821615610ee9576001600160a01b039190911660009081526001602081815260408320805492830181558352909120015550565b60006001600160a01b0384163b15612b1857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612a699033908990889088906004016135af565b6020604051808303816000875af1925050508015612aa4575060408051601f3d908101601f19168201909252612aa1918101906135ec565b60015b612afe573d808015612ad2576040519150601f19603f3d011682016040523d82523d6000602084013e612ad7565b606091505b508051612af65760405162461bcd60e51b8152600401610b3590613534565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061239d565b506001949350505050565b828054612b2f906132a0565b90600052602060002090601f016020900481019282612b515760008555612b97565b82601f10612b6a5782800160ff19823516178555612b97565b82800160010185558215612b97579182015b82811115612b97578235825591602001919060010190612b7c565b506114a89291505b808211156114a85760008155600101612b9f565b6001600160e01b031981168114611e9857600080fd5b600060208284031215612bdb57600080fd5b813561140481612bb3565b6001600160a01b0381168114611e9857600080fd5b60008060408385031215612c0e57600080fd5b8235612c1981612be6565b946020939093013593505050565b60005b83811015612c42578181015183820152602001612c2a565b83811115611d385750506000910152565b60008151808452612c6b816020860160208601612c27565b601f01601f19169290920160200192915050565b6020815260006114046020830184612c53565b600060208284031215612ca457600080fd5b813561140481612be6565b600060208284031215612cc157600080fd5b5035919050565b600080600060608486031215612cdd57600080fd5b8335612ce881612be6565b92506020840135612cf881612be6565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b81811015612d4157835183529284019291840191600101612d25565b50909695505050505050565b80358015158114610da857600080fd5b60008060408385031215612d7057600080fd5b8235612d7b81612be6565b9150612d8960208401612d4d565b90509250929050565b60008083601f840112612da457600080fd5b50813567ffffffffffffffff811115612dbc57600080fd5b6020830191508360208260051b8501011115612dd757600080fd5b9250929050565b600080600060408486031215612df357600080fd5b8335612dfe81612be6565b9250602084013567ffffffffffffffff811115612e1a57600080fd5b612e2686828701612d92565b9497909650939450505050565b60008083601f840112612e4557600080fd5b50813567ffffffffffffffff811115612e5d57600080fd5b602083019150836020828501011115612dd757600080fd5b60008060008060408587031215612e8b57600080fd5b843567ffffffffffffffff80821115612ea357600080fd5b612eaf88838901612e33565b90965094506020870135915080821115612ec857600080fd5b50612ed587828801612e33565b95989497509550505050565b60008060008060408587031215612ef757600080fd5b843567ffffffffffffffff80821115612f0f57600080fd5b612f1b88838901612d92565b90965094506020870135915080821115612f3457600080fd5b50612ed587828801612d92565b600080600060608486031215612f5657600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215612f8257600080fd5b8335925060208401359150604084013561ffff81168114612fa257600080fd5b809150509250925092565b60008060208385031215612fc057600080fd5b823567ffffffffffffffff811115612fd757600080fd5b612fe385828601612e33565b90969095509350505050565b60006020828403121561300157600080fd5b61140482612d4d565b6000806000806000806080878903121561302357600080fd5b863561302e81612be6565b9550602087013561303e81612be6565b9450604087013567ffffffffffffffff8082111561305b57600080fd5b6130678a838b01612d92565b9096509450606089013591508082111561308057600080fd5b5061308d89828a01612e33565b979a9699509497509295939492505050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156130cb57600080fd5b84356130d681612be6565b935060208501356130e681612be6565b925060408501359150606085013567ffffffffffffffff8082111561310a57600080fd5b818701915087601f83011261311e57600080fd5b8135818111156131305761313061309f565b604051601f8201601f19908116603f011681019083821181831017156131585761315861309f565b816040528281528a602084870101111561317157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000606084860312156131aa57600080fd5b833592506020840135612cf881612be6565b600080604083850312156131cf57600080fd5b82356131da81612be6565b915060208301356131ea81612be6565b809150509250929050565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008282101561325d5761325d613235565b500390565b600061ffff8381169083168181101561327d5761327d613235565b039392505050565b600060001982141561329957613299613235565b5060010190565b600181811c908216806132b457607f821691505b602082108114156132d557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f46433732313a20717565727920666f72206e6f6e6578697374656e7420746f6b60408201526132b760f11b606082015260800190565b6000821982111561336557613365613235565b500190565b600081600019048311821515161561338457613384613235565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826133ae576133ae613389565b500490565b60208082526027908201527f46433732313a2063616c6c6572206973206e6f74206f776e6572206e6f7220616040820152661c1c1c9bdd995960ca1b606082015260800190565b60208082526027908201527f466f756e64657273436f696e3a206d696e742f6f72646572206578636565647360408201526620737570706c7960c81b606082015260800190565b600061ffff80831681851680830382111561345e5761345e613235565b01949350505050565b8054600090600181811c908083168061348157607f831692505b60208084108214156134a357634e487b7160e01b600052602260045260246000fd5b8180156134b757600181146134c8576134f5565b60ff198616895284890196506134f5565b60008881526020902060005b868110156134ed5781548b8201529085019083016134d4565b505084890196505b50505050505092915050565b600061350d8286613467565b845161351d818360208901612c27565b61352981830186613467565b979650505050505050565b60208082526031908201527f46433732313a207472616e7366657220746f206e6f6e2045524337323152656360408201527032b4bb32b91034b6b83632b6b2b73a32b960791b606082015260800190565b60008261359457613594613389565b500690565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906135e290830184612c53565b9695505050505050565b6000602082840312156135fe57600080fd5b815161140481612bb356fea264697066735822122062ec417c00bf6e6f7da23d8aa9e0bc425714a353981e36b9453af4f9efb70eb364736f6c634300080b0033
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.