ERC-721
Overview
Max Total Supply
3,733 AGR
Holders
893
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
6 AGRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheAgoriansClubNFT
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-01 */ /** *Submitted for verification at Etherscan.io on 2022-07-20 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @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`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); // ============================== // IERC721Metadata // ============================== /** * @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); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren"t clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, "")`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot"s value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren"t clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren"t clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender"s balance is impossible because we check for // ownership above and the recipient"s balance can"t realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot"s address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender"s balance is impossible because we check for // ownership above and the recipient"s balance can"t realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot"s address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`"s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`"s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`"s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of "0". mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } 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); } } pragma solidity ^0.8.0; contract TheAgoriansClubNFT is ERC721A, Ownable { using Strings for uint; uint public constant MAX_PER_WALLET = 3; uint public maxSupply = 3555; bool public isPaused = true; string private _baseURL = ""; mapping(address => uint) private _walletMintedCount; constructor() // Name ERC721A("The Agorians", "AGR") { } function _baseURI() internal view override returns (string memory) { return _baseURL; } function _startTokenId() internal pure override returns (uint) { return 1; } function contractURI() public pure returns (string memory) { return ""; } function mintedCount(address owner) external view returns (uint) { return _walletMintedCount[owner]; } function setBaseUri(string memory url) external onlyOwner { _baseURL = url; } function start() external onlyOwner { isPaused = false; } function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success); } function devMint(address to, uint count) external onlyOwner { require( _totalMinted() + count <= maxSupply, "Exceeds max supply" ); _safeMint(to, count); } function setMaxSupply(uint newMaxSupply) external onlyOwner { maxSupply = newMaxSupply; } function tokenURI(uint tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return bytes(_baseURI()).length > 0 ? string(abi.encodePacked(_baseURI(), tokenId.toString(), ".json")) : ""; } function mint(uint count,uint signature) external payable { //uint count=MAX_PER_WALLET; require(!isPaused, "Sales are off"); require(_totalMinted() + count <= maxSupply,"Exceeds max supply"); require(count <= MAX_PER_WALLET,"Exceeds max per transaction"); require(_walletMintedCount[msg.sender] + count <= MAX_PER_WALLET * 3,"Exceeds max per wallet"); require(signature<=block.timestamp && signature >= block.timestamp-400,"Bad Signature!"); _walletMintedCount[msg.sender] += count; _safeMint(msg.sender, count); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","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":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"signature","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"mintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610de3600955600a805460ff1916600117905560a060405260006080908152600b906200002d9082620001ad565b503480156200003b57600080fd5b506040518060400160405280600c81526020016b5468652041676f7269616e7360a01b8152506040518060400160405280600381526020016220a3a960e91b81525081600290816200008e9190620001ad565b5060036200009d8282620001ad565b5050600160005550620000b033620000b6565b62000279565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200013357607f821691505b6020821081036200015457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001a857600081815260208120601f850160051c81016020861015620001835750805b601f850160051c820191505b81811015620001a4578281556001016200018f565b5050505b505050565b81516001600160401b03811115620001c957620001c962000108565b620001e181620001da84546200011e565b846200015a565b602080601f831160018114620002195760008415620002005750858301515b600019600386901b1c1916600185901b178555620001a4565b600085815260208120601f198616915b828110156200024a5788860151825594840194600190910190840162000229565b5085821015620002695787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61194480620002896000396000f3fe6080604052600436106101b75760003560e01c8063715018a6116100ec578063be9a65551161008a578063e8a3d48511610064578063e8a3d485146104a2578063e985e9c5146104c3578063f2fde38b1461050c578063fddcb5ea1461052c57600080fd5b8063be9a655514610457578063c87b56dd1461046c578063d5abeb011461048c57600080fd5b8063a0bcfc7f116100c6578063a0bcfc7f146103dd578063a22cb465146103fd578063b187bd261461041d578063b88d4fde1461043757600080fd5b8063715018a6146103955780638da5cb5b146103aa57806395d89b41146103c857600080fd5b806323b872dd11610159578063627804af11610133578063627804af146103155780636352211e146103355780636f8b44b01461035557806370a082311461037557600080fd5b806323b872dd146102c05780633ccfd60b146102e057806342842e0e146102f557600080fd5b8063095ea7b311610195578063095ea7b31461024b5780630f2cdd6c1461026d57806318160ddd146102905780631b2ef1ca146102ad57600080fd5b806301ffc9a7146101bc57806306fdde03146101f1578063081812fc14610213575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611344565b610562565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b506102066105b4565b6040516101e891906113b9565b34801561021f57600080fd5b5061023361022e3660046113cc565b610646565b6040516001600160a01b0390911681526020016101e8565b34801561025757600080fd5b5061026b610266366004611401565b61068a565b005b34801561027957600080fd5b50610282600381565b6040519081526020016101e8565b34801561029c57600080fd5b506001546000540360001901610282565b61026b6102bb36600461142b565b61072a565b3480156102cc57600080fd5b5061026b6102db36600461144d565b610919565b3480156102ec57600080fd5b5061026b610ab2565b34801561030157600080fd5b5061026b61031036600461144d565b610b12565b34801561032157600080fd5b5061026b610330366004611401565b610b32565b34801561034157600080fd5b506102336103503660046113cc565b610ba2565b34801561036157600080fd5b5061026b6103703660046113cc565b610bad565b34801561038157600080fd5b50610282610390366004611489565b610bba565b3480156103a157600080fd5b5061026b610c09565b3480156103b657600080fd5b506008546001600160a01b0316610233565b3480156103d457600080fd5b50610206610c1d565b3480156103e957600080fd5b5061026b6103f8366004611530565b610c2c565b34801561040957600080fd5b5061026b610418366004611579565b610c40565b34801561042957600080fd5b50600a546101dc9060ff1681565b34801561044357600080fd5b5061026b6104523660046115b5565b610cd5565b34801561046357600080fd5b5061026b610d1f565b34801561047857600080fd5b506102066104873660046113cc565b610d33565b34801561049857600080fd5b5061028260095481565b3480156104ae57600080fd5b50604080516020810190915260008152610206565b3480156104cf57600080fd5b506101dc6104de366004611631565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561051857600080fd5b5061026b610527366004611489565b610dfe565b34801561053857600080fd5b50610282610547366004611489565b6001600160a01b03166000908152600c602052604090205490565b60006301ffc9a760e01b6001600160e01b03198316148061059357506380ac58cd60e01b6001600160e01b03198316145b806105ae5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105c390611664565b80601f01602080910402602001604051908101604052809291908181526020018280546105ef90611664565b801561063c5780601f106106115761010080835404028352916020019161063c565b820191906000526020600020905b81548152906001019060200180831161061f57829003601f168201915b5050505050905090565b600061065182610e74565b61066e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061069582610ba2565b9050336001600160a01b038216146106ce576106b181336104de565b6106ce576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a5460ff16156107725760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b60448201526064015b60405180910390fd5b600954826107836000546000190190565b61078d91906116b4565b11156107d05760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610769565b60038211156108215760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d617820706572207472616e73616374696f6e00000000006044820152606401610769565b61082c6003806116cc565b336000908152600c60205260409020546108479084906116b4565b111561088e5760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b6044820152606401610769565b4281111580156108a957506108a5610190426116eb565b8110155b6108e65760405162461bcd60e51b815260206004820152600e60248201526d426164205369676e61747572652160901b6044820152606401610769565b336000908152600c6020526040812080548492906109059084906116b4565b9091555061091590503383610ea9565b5050565b600061092482610ec3565b9050836001600160a01b0316816001600160a01b0316146109575760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109a45761098786336104de565b6109a457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109cb57604051633a954ecd60e21b815260040160405180910390fd5b80156109d657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a6857600184016000818152600460205260408120549003610a66576000548114610a665760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610aba610f39565b604051600090339047908381818185875af1925050503d8060008114610afc576040519150601f19603f3d011682016040523d82523d6000602084013e610b01565b606091505b5050905080610b0f57600080fd5b50565b610b2d83838360405180602001604052806000815250610cd5565b505050565b610b3a610f39565b60095481610b4b6000546000190190565b610b5591906116b4565b1115610b985760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610769565b6109158282610ea9565b60006105ae82610ec3565b610bb5610f39565b600955565b60006001600160a01b038216610be3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c11610f39565b610c1b6000610f93565b565b6060600380546105c390611664565b610c34610f39565b600b6109158282611748565b336001600160a01b03831603610c695760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ce0848484610919565b6001600160a01b0383163b15610d1957610cfc84848484610fe5565b610d19576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610d27610f39565b600a805460ff19169055565b6060610d3e82610e74565b610da25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610769565b6000610dac6110d1565b5111610dc757604051806020016040528060008152506105ae565b610dcf6110d1565b610dd8836110e0565b604051602001610de9929190611808565b60405160208183030381529060405292915050565b610e06610f39565b6001600160a01b038116610e6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610769565b610b0f81610f93565b600081600111158015610e88575060005482105b80156105ae575050600090815260046020526040902054600160e01b161590565b6109158282604051806020016040528060008152506111e1565b60008180600111610f2057600054811015610f205760008181526004602052604081205490600160e01b82169003610f1e575b80600003610f17575060001901600081815260046020526040902054610ef6565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610c1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610769565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061101a903390899088908890600401611847565b6020604051808303816000875af1925050508015611055575060408051601f3d908101601f1916820190925261105291810190611884565b60015b6110b3573d808015611083576040519150601f19603f3d011682016040523d82523d6000602084013e611088565b606091505b5080516000036110ab576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546105c390611664565b6060816000036111075750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611131578061111b816118a1565b915061112a9050600a836118d0565b915061110b565b60008167ffffffffffffffff81111561114c5761114c6114a4565b6040519080825280601f01601f191660200182016040528015611176576020820181803683370190505b5090505b84156110c95761118b6001836116eb565b9150611198600a866118e4565b6111a39060306116b4565b60f81b8183815181106111b8576111b86118f8565b60200101906001600160f81b031916908160001a9053506111da600a866118d0565b945061117a565b6111eb838361124e565b6001600160a01b0383163b15610b2d576000548281035b6112156000868380600101945086610fe5565b611232576040516368d2bf6b60e11b815260040160405180910390fd5b81811061120257816000541461124757600080fd5b5050505050565b6000546001600160a01b03831661127757604051622e076360e81b815260040160405180910390fd5b816000036112985760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106112e25760005550505050565b6001600160e01b031981168114610b0f57600080fd5b60006020828403121561135657600080fd5b8135610f178161132e565b60005b8381101561137c578181015183820152602001611364565b83811115610d195750506000910152565b600081518084526113a5816020860160208601611361565b601f01601f19169290920160200192915050565b602081526000610f17602083018461138d565b6000602082840312156113de57600080fd5b5035919050565b80356001600160a01b03811681146113fc57600080fd5b919050565b6000806040838503121561141457600080fd5b61141d836113e5565b946020939093013593505050565b6000806040838503121561143e57600080fd5b50508035926020909101359150565b60008060006060848603121561146257600080fd5b61146b846113e5565b9250611479602085016113e5565b9150604084013590509250925092565b60006020828403121561149b57600080fd5b610f17826113e5565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114d5576114d56114a4565b604051601f8501601f19908116603f011681019082821181831017156114fd576114fd6114a4565b8160405280935085815286868601111561151657600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561154257600080fd5b813567ffffffffffffffff81111561155957600080fd5b8201601f8101841361156a57600080fd5b6110c9848235602084016114ba565b6000806040838503121561158c57600080fd5b611595836113e5565b9150602083013580151581146115aa57600080fd5b809150509250929050565b600080600080608085870312156115cb57600080fd5b6115d4856113e5565b93506115e2602086016113e5565b925060408501359150606085013567ffffffffffffffff81111561160557600080fd5b8501601f8101871361161657600080fd5b611625878235602084016114ba565b91505092959194509250565b6000806040838503121561164457600080fd5b61164d836113e5565b915061165b602084016113e5565b90509250929050565b600181811c9082168061167857607f821691505b60208210810361169857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156116c7576116c761169e565b500190565b60008160001904831182151516156116e6576116e661169e565b500290565b6000828210156116fd576116fd61169e565b500390565b601f821115610b2d57600081815260208120601f850160051c810160208610156117295750805b601f850160051c820191505b81811015610aaa57828155600101611735565b815167ffffffffffffffff811115611762576117626114a4565b611776816117708454611664565b84611702565b602080601f8311600181146117ab57600084156117935750858301515b600019600386901b1c1916600185901b178555610aaa565b600085815260208120601f198616915b828110156117da578886015182559484019460019091019084016117bb565b50858210156117f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000835161181a818460208801611361565b83519083019061182e818360208801611361565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061187a9083018461138d565b9695505050505050565b60006020828403121561189657600080fd5b8151610f178161132e565b6000600182016118b3576118b361169e565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826118df576118df6118ba565b500490565b6000826118f3576118f36118ba565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220fbbd87957b99c645d72f654941c6c2427b1cfce37f32af5fc3eb7c3dc0325ed964736f6c634300080f0033
Deployed Bytecode
0x6080604052600436106101b75760003560e01c8063715018a6116100ec578063be9a65551161008a578063e8a3d48511610064578063e8a3d485146104a2578063e985e9c5146104c3578063f2fde38b1461050c578063fddcb5ea1461052c57600080fd5b8063be9a655514610457578063c87b56dd1461046c578063d5abeb011461048c57600080fd5b8063a0bcfc7f116100c6578063a0bcfc7f146103dd578063a22cb465146103fd578063b187bd261461041d578063b88d4fde1461043757600080fd5b8063715018a6146103955780638da5cb5b146103aa57806395d89b41146103c857600080fd5b806323b872dd11610159578063627804af11610133578063627804af146103155780636352211e146103355780636f8b44b01461035557806370a082311461037557600080fd5b806323b872dd146102c05780633ccfd60b146102e057806342842e0e146102f557600080fd5b8063095ea7b311610195578063095ea7b31461024b5780630f2cdd6c1461026d57806318160ddd146102905780631b2ef1ca146102ad57600080fd5b806301ffc9a7146101bc57806306fdde03146101f1578063081812fc14610213575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611344565b610562565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b506102066105b4565b6040516101e891906113b9565b34801561021f57600080fd5b5061023361022e3660046113cc565b610646565b6040516001600160a01b0390911681526020016101e8565b34801561025757600080fd5b5061026b610266366004611401565b61068a565b005b34801561027957600080fd5b50610282600381565b6040519081526020016101e8565b34801561029c57600080fd5b506001546000540360001901610282565b61026b6102bb36600461142b565b61072a565b3480156102cc57600080fd5b5061026b6102db36600461144d565b610919565b3480156102ec57600080fd5b5061026b610ab2565b34801561030157600080fd5b5061026b61031036600461144d565b610b12565b34801561032157600080fd5b5061026b610330366004611401565b610b32565b34801561034157600080fd5b506102336103503660046113cc565b610ba2565b34801561036157600080fd5b5061026b6103703660046113cc565b610bad565b34801561038157600080fd5b50610282610390366004611489565b610bba565b3480156103a157600080fd5b5061026b610c09565b3480156103b657600080fd5b506008546001600160a01b0316610233565b3480156103d457600080fd5b50610206610c1d565b3480156103e957600080fd5b5061026b6103f8366004611530565b610c2c565b34801561040957600080fd5b5061026b610418366004611579565b610c40565b34801561042957600080fd5b50600a546101dc9060ff1681565b34801561044357600080fd5b5061026b6104523660046115b5565b610cd5565b34801561046357600080fd5b5061026b610d1f565b34801561047857600080fd5b506102066104873660046113cc565b610d33565b34801561049857600080fd5b5061028260095481565b3480156104ae57600080fd5b50604080516020810190915260008152610206565b3480156104cf57600080fd5b506101dc6104de366004611631565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561051857600080fd5b5061026b610527366004611489565b610dfe565b34801561053857600080fd5b50610282610547366004611489565b6001600160a01b03166000908152600c602052604090205490565b60006301ffc9a760e01b6001600160e01b03198316148061059357506380ac58cd60e01b6001600160e01b03198316145b806105ae5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105c390611664565b80601f01602080910402602001604051908101604052809291908181526020018280546105ef90611664565b801561063c5780601f106106115761010080835404028352916020019161063c565b820191906000526020600020905b81548152906001019060200180831161061f57829003601f168201915b5050505050905090565b600061065182610e74565b61066e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061069582610ba2565b9050336001600160a01b038216146106ce576106b181336104de565b6106ce576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a5460ff16156107725760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b60448201526064015b60405180910390fd5b600954826107836000546000190190565b61078d91906116b4565b11156107d05760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610769565b60038211156108215760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d617820706572207472616e73616374696f6e00000000006044820152606401610769565b61082c6003806116cc565b336000908152600c60205260409020546108479084906116b4565b111561088e5760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b6044820152606401610769565b4281111580156108a957506108a5610190426116eb565b8110155b6108e65760405162461bcd60e51b815260206004820152600e60248201526d426164205369676e61747572652160901b6044820152606401610769565b336000908152600c6020526040812080548492906109059084906116b4565b9091555061091590503383610ea9565b5050565b600061092482610ec3565b9050836001600160a01b0316816001600160a01b0316146109575760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109a45761098786336104de565b6109a457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109cb57604051633a954ecd60e21b815260040160405180910390fd5b80156109d657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610a6857600184016000818152600460205260408120549003610a66576000548114610a665760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610aba610f39565b604051600090339047908381818185875af1925050503d8060008114610afc576040519150601f19603f3d011682016040523d82523d6000602084013e610b01565b606091505b5050905080610b0f57600080fd5b50565b610b2d83838360405180602001604052806000815250610cd5565b505050565b610b3a610f39565b60095481610b4b6000546000190190565b610b5591906116b4565b1115610b985760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610769565b6109158282610ea9565b60006105ae82610ec3565b610bb5610f39565b600955565b60006001600160a01b038216610be3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c11610f39565b610c1b6000610f93565b565b6060600380546105c390611664565b610c34610f39565b600b6109158282611748565b336001600160a01b03831603610c695760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ce0848484610919565b6001600160a01b0383163b15610d1957610cfc84848484610fe5565b610d19576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610d27610f39565b600a805460ff19169055565b6060610d3e82610e74565b610da25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610769565b6000610dac6110d1565b5111610dc757604051806020016040528060008152506105ae565b610dcf6110d1565b610dd8836110e0565b604051602001610de9929190611808565b60405160208183030381529060405292915050565b610e06610f39565b6001600160a01b038116610e6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610769565b610b0f81610f93565b600081600111158015610e88575060005482105b80156105ae575050600090815260046020526040902054600160e01b161590565b6109158282604051806020016040528060008152506111e1565b60008180600111610f2057600054811015610f205760008181526004602052604081205490600160e01b82169003610f1e575b80600003610f17575060001901600081815260046020526040902054610ef6565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610c1b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610769565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061101a903390899088908890600401611847565b6020604051808303816000875af1925050508015611055575060408051601f3d908101601f1916820190925261105291810190611884565b60015b6110b3573d808015611083576040519150601f19603f3d011682016040523d82523d6000602084013e611088565b606091505b5080516000036110ab576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546105c390611664565b6060816000036111075750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611131578061111b816118a1565b915061112a9050600a836118d0565b915061110b565b60008167ffffffffffffffff81111561114c5761114c6114a4565b6040519080825280601f01601f191660200182016040528015611176576020820181803683370190505b5090505b84156110c95761118b6001836116eb565b9150611198600a866118e4565b6111a39060306116b4565b60f81b8183815181106111b8576111b86118f8565b60200101906001600160f81b031916908160001a9053506111da600a866118d0565b945061117a565b6111eb838361124e565b6001600160a01b0383163b15610b2d576000548281035b6112156000868380600101945086610fe5565b611232576040516368d2bf6b60e11b815260040160405180910390fd5b81811061120257816000541461124757600080fd5b5050505050565b6000546001600160a01b03831661127757604051622e076360e81b815260040160405180910390fd5b816000036112985760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106112e25760005550505050565b6001600160e01b031981168114610b0f57600080fd5b60006020828403121561135657600080fd5b8135610f178161132e565b60005b8381101561137c578181015183820152602001611364565b83811115610d195750506000910152565b600081518084526113a5816020860160208601611361565b601f01601f19169290920160200192915050565b602081526000610f17602083018461138d565b6000602082840312156113de57600080fd5b5035919050565b80356001600160a01b03811681146113fc57600080fd5b919050565b6000806040838503121561141457600080fd5b61141d836113e5565b946020939093013593505050565b6000806040838503121561143e57600080fd5b50508035926020909101359150565b60008060006060848603121561146257600080fd5b61146b846113e5565b9250611479602085016113e5565b9150604084013590509250925092565b60006020828403121561149b57600080fd5b610f17826113e5565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114d5576114d56114a4565b604051601f8501601f19908116603f011681019082821181831017156114fd576114fd6114a4565b8160405280935085815286868601111561151657600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561154257600080fd5b813567ffffffffffffffff81111561155957600080fd5b8201601f8101841361156a57600080fd5b6110c9848235602084016114ba565b6000806040838503121561158c57600080fd5b611595836113e5565b9150602083013580151581146115aa57600080fd5b809150509250929050565b600080600080608085870312156115cb57600080fd5b6115d4856113e5565b93506115e2602086016113e5565b925060408501359150606085013567ffffffffffffffff81111561160557600080fd5b8501601f8101871361161657600080fd5b611625878235602084016114ba565b91505092959194509250565b6000806040838503121561164457600080fd5b61164d836113e5565b915061165b602084016113e5565b90509250929050565b600181811c9082168061167857607f821691505b60208210810361169857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156116c7576116c761169e565b500190565b60008160001904831182151516156116e6576116e661169e565b500290565b6000828210156116fd576116fd61169e565b500390565b601f821115610b2d57600081815260208120601f850160051c810160208610156117295750805b601f850160051c820191505b81811015610aaa57828155600101611735565b815167ffffffffffffffff811115611762576117626114a4565b611776816117708454611664565b84611702565b602080601f8311600181146117ab57600084156117935750858301515b600019600386901b1c1916600185901b178555610aaa565b600085815260208120601f198616915b828110156117da578886015182559484019460019091019084016117bb565b50858210156117f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000835161181a818460208801611361565b83519083019061182e818360208801611361565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061187a9083018461138d565b9695505050505050565b60006020828403121561189657600080fd5b8151610f178161132e565b6000600182016118b3576118b361169e565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826118df576118df6118ba565b500490565b6000826118f3576118f36118ba565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220fbbd87957b99c645d72f654941c6c2427b1cfce37f32af5fc3eb7c3dc0325ed964736f6c634300080f0033
Deployed Bytecode Sourcemap
50476:2277:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18289:615;;;;;;;;;;-1:-1:-1;18289:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18289:615:0;;;;;;;;23936:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25882:204::-;;;;;;;;;;-1:-1:-1;25882:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;25882:204:0;1528:203:1;25430:386:0;;;;;;;;;;-1:-1:-1;25430:386:0;;;;;:::i;:::-;;:::i;:::-;;50559:39;;;;;;;;;;;;50597:1;50559:39;;;;;2319:25:1;;;2307:2;2292:18;50559:39:0;2173:177:1;17343:315:0;;;;;;;;;;-1:-1:-1;51004:1:0;17609:12;17396:7;17593:13;:28;-1:-1:-1;;17593:46:0;17343:315;;52179:571;;;;;;:::i;:::-;;:::i;35147:2800::-;;;;;;;;;;-1:-1:-1;35147:2800:0;;;;;:::i;:::-;;:::i;51385:177::-;;;;;;;;;;;;;:::i;26772:185::-;;;;;;;;;;-1:-1:-1;26772:185:0;;;;;:::i;:::-;;:::i;51567:174::-;;;;;;;;;;-1:-1:-1;51567:174:0;;;;;:::i;:::-;;:::i;23725:144::-;;;;;;;;;;-1:-1:-1;23725:144:0;;;;;:::i;:::-;;:::i;51746:94::-;;;;;;;;;;-1:-1:-1;51746:94:0;;;;;:::i;:::-;;:::i;18968:224::-;;;;;;;;;;-1:-1:-1;18968:224:0;;;;;:::i;:::-;;:::i;2880:103::-;;;;;;;;;;;;;:::i;2232:87::-;;;;;;;;;;-1:-1:-1;2305:6:0;;-1:-1:-1;;;;;2305:6:0;2232:87;;24105:104;;;;;;;;;;;;;:::i;51225:85::-;;;;;;;;;;-1:-1:-1;51225:85:0;;;;;:::i;:::-;;:::i;26158:308::-;;;;;;;;;;-1:-1:-1;26158:308:0;;;;;:::i;:::-;;:::i;50636:27::-;;;;;;;;;;-1:-1:-1;50636:27:0;;;;;;;;27028:399;;;;;;;;;;-1:-1:-1;27028:399:0;;;;;:::i;:::-;;:::i;51315:65::-;;;;;;;;;;;;;:::i;51845:329::-;;;;;;;;;;-1:-1:-1;51845:329:0;;;;;:::i;:::-;;:::i;50602:28::-;;;;;;;;;;;;;;;;51015:78;;;;;;;;;;-1:-1:-1;51079:9:0;;;;;;;;;-1:-1:-1;51079:9:0;;51015:78;;26537:164;;;;;;;;;;-1:-1:-1;26537:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26658:25:0;;;26634:4;26658:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26537:164;3138:201;;;;;;;;;;-1:-1:-1;3138:201:0;;;;;:::i;:::-;;:::i;51101:116::-;;;;;;;;;;-1:-1:-1;51101:116:0;;;;;:::i;:::-;-1:-1:-1;;;;;51184:25:0;51160:4;51184:25;;;:18;:25;;;;;;;51101:116;18289:615;18374:4;-1:-1:-1;;;;;;;;;18674:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18751:25:0;;;18674:102;:179;;;-1:-1:-1;;;;;;;;;;18828:25:0;;;18674:179;18654:199;18289:615;-1:-1:-1;;18289:615:0:o;23936:100::-;23990:13;24023:5;24016:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23936:100;:::o;25882:204::-;25950:7;25975:16;25983:7;25975;:16::i;:::-;25970:64;;26000:34;;-1:-1:-1;;;26000:34:0;;;;;;;;;;;25970:64;-1:-1:-1;26054:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26054:24:0;;25882:204::o;25430:386::-;25503:13;25519:16;25527:7;25519;:16::i;:::-;25503:32;-1:-1:-1;46330:10:0;-1:-1:-1;;;;;25552:28:0;;;25548:175;;25600:44;25617:5;46330:10;26537:164;:::i;25600:44::-;25595:128;;25672:35;;-1:-1:-1;;;25672:35:0;;;;;;;;;;;25595:128;25735:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;25735:29:0;-1:-1:-1;;;;;25735:29:0;;;;;;;;;25780:28;;25735:24;;25780:28;;;;;;;25492:324;25430:386;;:::o;52179:571::-;52289:8;;;;52288:9;52280:35;;;;-1:-1:-1;;;52280:35:0;;6233:2:1;52280:35:0;;;6215:21:1;6272:2;6252:18;;;6245:30;-1:-1:-1;;;6291:18:1;;;6284:43;6344:18;;52280:35:0;;;;;;;;;52360:9;;52351:5;52334:14;17803:7;17991:13;-1:-1:-1;;17991:31:0;;17756:285;52334:14;:22;;;;:::i;:::-;:35;;52326:65;;;;-1:-1:-1;;;52326:65:0;;6840:2:1;52326:65:0;;;6822:21:1;6879:2;6859:18;;;6852:30;-1:-1:-1;;;6898:18:1;;;6891:48;6956:18;;52326:65:0;6638:342:1;52326:65:0;50597:1;52410:5;:23;;52402:62;;;;-1:-1:-1;;;52402:62:0;;7187:2:1;52402:62:0;;;7169:21:1;7226:2;7206:18;;;7199:30;7265:29;7245:18;;;7238:57;7312:18;;52402:62:0;6985:351:1;52402:62:0;52525:18;50597:1;;52525:18;:::i;:::-;52502:10;52483:30;;;;:18;:30;;;;;;:38;;52516:5;;52483:38;:::i;:::-;:60;;52475:94;;;;-1:-1:-1;;;52475:94:0;;7716:2:1;52475:94:0;;;7698:21:1;7755:2;7735:18;;;7728:30;-1:-1:-1;;;7774:18:1;;;7767:52;7836:18;;52475:94:0;7514:346:1;52475:94:0;52599:15;52588:9;:26;;:62;;;;-1:-1:-1;52631:19:0;52647:3;52631:15;:19;:::i;:::-;52618:9;:32;;52588:62;52580:88;;;;-1:-1:-1;;;52580:88:0;;8197:2:1;52580:88:0;;;8179:21:1;8236:2;8216:18;;;8209:30;-1:-1:-1;;;8255:18:1;;;8248:44;8309:18;;52580:88:0;7995:338:1;52580:88:0;52692:10;52673:30;;;;:18;:30;;;;;:39;;52707:5;;52673:30;:39;;52707:5;;52673:39;:::i;:::-;;;;-1:-1:-1;52717:28:0;;-1:-1:-1;52727:10:0;52739:5;52717:9;:28::i;:::-;52179:571;;:::o;35147:2800::-;35281:27;35311;35330:7;35311:18;:27::i;:::-;35281:57;;35396:4;-1:-1:-1;;;;;35355:45:0;35371:19;-1:-1:-1;;;;;35355:45:0;;35351:86;;35409:28;;-1:-1:-1;;;35409:28:0;;;;;;;;;;;35351:86;35451:27;33877:21;;;33704:15;33919:4;33912:36;34001:4;33985:21;;34091:26;;46330:10;34844:30;;;-1:-1:-1;;;;;34542:26:0;;34823:19;;;34820:55;35630:174;;35717:43;35734:4;46330:10;26537:164;:::i;35717:43::-;35712:92;;35769:35;;-1:-1:-1;;;35769:35:0;;;;;;;;;;;35712:92;-1:-1:-1;;;;;35821:16:0;;35817:52;;35846:23;;-1:-1:-1;;;35846:23:0;;;;;;;;;;;35817:52;36018:15;36015:160;;;36158:1;36137:19;36130:30;36015:160;-1:-1:-1;;;;;36553:24:0;;;;;;;:18;:24;;;;;;36551:26;;-1:-1:-1;;36551:26:0;;;36622:22;;;;;;;;;36620:24;;-1:-1:-1;36620:24:0;;;23624:11;23600:22;23596:40;23583:62;-1:-1:-1;;;23583:62:0;36915:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;37209:46:0;;:51;;37205:626;;37313:1;37303:11;;37281:19;37436:30;;;:17;:30;;;;;;:35;;37432:384;;37574:13;;37559:11;:28;37555:242;;37721:30;;;;:17;:30;;;;;:52;;;37555:242;37262:569;37205:626;37878:7;37874:2;-1:-1:-1;;;;;37859:27:0;37868:4;-1:-1:-1;;;;;37859:27:0;;;;;;;;;;;37897:42;35270:2677;;;35147:2800;;;:::o;51385:177::-;2118:13;:11;:13::i;:::-;51448:82:::1;::::0;51430:12:::1;::::0;51456:10:::1;::::0;51494:21:::1;::::0;51430:12;51448:82;51430:12;51448:82;51494:21;51456:10;51448:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51429:101;;;51549:7;51541:16;;;::::0;::::1;;51424:138;51385:177::o:0;26772:185::-;26910:39;26927:4;26933:2;26937:7;26910:39;;;;;;;;;;;;:16;:39::i;:::-;26772:185;;;:::o;51567:174::-;2118:13;:11;:13::i;:::-;51671:9:::1;;51662:5;51645:14;17803:7:::0;17991:13;-1:-1:-1;;17991:31:0;;17756:285;51645:14:::1;:22;;;;:::i;:::-;:35;;51632:79;;;::::0;-1:-1:-1;;;51632:79:0;;6840:2:1;51632:79:0::1;::::0;::::1;6822:21:1::0;6879:2;6859:18;;;6852:30;-1:-1:-1;;;6898:18:1;;;6891:48;6956:18;;51632:79:0::1;6638:342:1::0;51632:79:0::1;51716:20;51726:2;51730:5;51716:9;:20::i;23725:144::-:0;23789:7;23832:27;23851:7;23832:18;:27::i;51746:94::-;2118:13;:11;:13::i;:::-;51811:9:::1;:24:::0;51746:94::o;18968:224::-;19032:7;-1:-1:-1;;;;;19056:19:0;;19052:60;;19084:28;;-1:-1:-1;;;19084:28:0;;;;;;;;;;;19052:60;-1:-1:-1;;;;;;19130:25:0;;;;;:18;:25;;;;;;13523:13;19130:54;;18968:224::o;2880:103::-;2118:13;:11;:13::i;:::-;2945:30:::1;2972:1;2945:18;:30::i;:::-;2880:103::o:0;24105:104::-;24161:13;24194:7;24187:14;;;;;:::i;51225:85::-;2118:13;:11;:13::i;:::-;51291:8:::1;:14;51302:3:::0;51291:8;:14:::1;:::i;26158:308::-:0;46330:10;-1:-1:-1;;;;;26257:31:0;;;26253:61;;26297:17;;-1:-1:-1;;;26297:17:0;;;;;;;;;;;26253:61;46330:10;26327:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26327:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26327:60:0;;;;;;;;;;26403:55;;540:41:1;;;26327:49:0;;46330:10;26403:55;;513:18:1;26403:55:0;;;;;;;26158:308;;:::o;27028:399::-;27195:31;27208:4;27214:2;27218:7;27195:12;:31::i;:::-;-1:-1:-1;;;;;27241:14:0;;;:19;27237:183;;27280:56;27311:4;27317:2;27321:7;27330:5;27280:30;:56::i;:::-;27275:145;;27364:40;;-1:-1:-1;;;27364:40:0;;;;;;;;;;;27275:145;27028:399;;;;:::o;51315:65::-;2118:13;:11;:13::i;:::-;51359:8:::1;:16:::0;;-1:-1:-1;;51359:16:0::1;::::0;;51315:65::o;51845:329::-;51919:13;51955:16;51963:7;51955;:16::i;:::-;51947:76;;;;-1:-1:-1;;;51947:76:0;;10954:2:1;51947:76:0;;;10936:21:1;10993:2;10973:18;;;10966:30;11032:34;11012:18;;;11005:62;-1:-1:-1;;;11083:18:1;;;11076:45;11138:19;;51947:76:0;10752:411:1;51947:76:0;52068:1;52047:10;:8;:10::i;:::-;52041:24;:28;:128;;;;;;;;;;;;;;;;;52110:10;:8;:10::i;:::-;52122:18;:7;:16;:18::i;:::-;52093:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;52034:135;51845:329;-1:-1:-1;;51845:329:0:o;3138:201::-;2118:13;:11;:13::i;:::-;-1:-1:-1;;;;;3227:22:0;::::1;3219:73;;;::::0;-1:-1:-1;;;3219:73:0;;12012:2:1;3219:73:0::1;::::0;::::1;11994:21:1::0;12051:2;12031:18;;;12024:30;12090:34;12070:18;;;12063:62;-1:-1:-1;;;12141:18:1;;;12134:36;12187:19;;3219:73:0::1;11810:402:1::0;3219:73:0::1;3303:28;3322:8;3303:18;:28::i;27682:273::-:0;27739:4;27795:7;51004:1;27776:26;;:66;;;;;27829:13;;27819:7;:23;27776:66;:152;;;;-1:-1:-1;;27880:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27880:43:0;:48;;27682:273::o;28039:104::-;28108:27;28118:2;28122:8;28108:27;;;;;;;;;;;;:9;:27::i;20642:1129::-;20709:7;20744;;51004:1;20793:23;20789:915;;20846:13;;20839:4;:20;20835:869;;;20884:14;20901:23;;;:17;:23;;;;;;;-1:-1:-1;;;20990:23:0;;:28;;20986:699;;21509:113;21516:6;21526:1;21516:11;21509:113;;-1:-1:-1;;;21587:6:0;21569:25;;;;:17;:25;;;;;;21509:113;;;21655:6;20642:1129;-1:-1:-1;;;20642:1129:0:o;20986:699::-;20861:843;20835:869;21732:31;;-1:-1:-1;;;21732:31:0;;;;;;;;;;;2397:132;2305:6;;-1:-1:-1;;;;;2305:6:0;46330:10;2461:23;2453:68;;;;-1:-1:-1;;;2453:68:0;;12419:2:1;2453:68:0;;;12401:21:1;;;12438:18;;;12431:30;12497:34;12477:18;;;12470:62;12549:18;;2453:68:0;12217:356:1;3499:191:0;3592:6;;;-1:-1:-1;;;;;3609:17:0;;;-1:-1:-1;;;;;;3609:17:0;;;;;;;3642:40;;3592:6;;;3609:17;3592:6;;3642:40;;3573:16;;3642:40;3562:128;3499:191;:::o;41898:716::-;42082:88;;-1:-1:-1;;;42082:88:0;;42061:4;;-1:-1:-1;;;;;42082:45:0;;;;;:88;;46330:10;;42149:4;;42155:7;;42164:5;;42082:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42082:88:0;;;;;;;;-1:-1:-1;;42082:88:0;;;;;;;;;;;;:::i;:::-;;;42078:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42365:6;:13;42382:1;42365:18;42361:235;;42411:40;;-1:-1:-1;;;42411:40:0;;;;;;;;;;;42361:235;42554:6;42548:13;42539:6;42535:2;42531:15;42524:38;42078:529;-1:-1:-1;;;;;;42241:64:0;-1:-1:-1;;;42241:64:0;;-1:-1:-1;42078:529:0;41898:716;;;;;;:::o;50832:92::-;50884:13;50911:8;50904:15;;;;;:::i;48680:723::-;48736:13;48957:5;48966:1;48957:10;48953:53;;-1:-1:-1;;48984:10:0;;;;;;;;;;;;-1:-1:-1;;;48984:10:0;;;;;48680:723::o;48953:53::-;49031:5;49016:12;49072:78;49079:9;;49072:78;;49105:8;;;;:::i;:::-;;-1:-1:-1;49128:10:0;;-1:-1:-1;49136:2:0;49128:10;;:::i;:::-;;;49072:78;;;49160:19;49192:6;49182:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49182:17:0;;49160:39;;49210:154;49217:10;;49210:154;;49244:11;49254:1;49244:11;;:::i;:::-;;-1:-1:-1;49313:10:0;49321:2;49313:5;:10;:::i;:::-;49300:24;;:2;:24;:::i;:::-;49287:39;;49270:6;49277;49270:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;49270:56:0;;;;;;;;-1:-1:-1;49341:11:0;49350:2;49341:11;;:::i;:::-;;;49210:154;;28559:681;28682:19;28688:2;28692:8;28682:5;:19::i;:::-;-1:-1:-1;;;;;28743:14:0;;;:19;28739:483;;28783:11;28797:13;28845:14;;;28878:233;28909:62;28948:1;28952:2;28956:7;;;;;;28965:5;28909:30;:62::i;:::-;28904:167;;29007:40;;-1:-1:-1;;;29007:40:0;;;;;;;;;;;28904:167;29106:3;29098:5;:11;28878:233;;29193:3;29176:13;;:20;29172:34;;29198:8;;;29172:34;28764:458;;28559:681;;;:::o;29513:1529::-;29578:20;29601:13;-1:-1:-1;;;;;29629:16:0;;29625:48;;29654:19;;-1:-1:-1;;;29654:19:0;;;;;;;;;;;29625:48;29688:8;29700:1;29688:13;29684:44;;29710:18;;-1:-1:-1;;;29710:18:0;;;;;;;;;;;29684:44;-1:-1:-1;;;;;30216:22:0;;;;;;:18;:22;;13660:2;30216:22;;:70;;30254:31;30242:44;;30216:70;;;23624:11;23600:22;23596:40;-1:-1:-1;25334:15:0;;25309:23;25305:45;23593:51;23583:62;30529:31;;;;:17;:31;;;;;:173;30547:12;30778:23;;;30816:101;30843:35;;30868:9;;;;;-1:-1:-1;;;;;30843:35:0;;;30860:1;;30843:35;;30860:1;;30843:35;30912:3;30902:7;:13;30816:101;;30933:13;:19;-1:-1:-1;26772:185:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:248::-;2423:6;2431;2484:2;2472:9;2463:7;2459:23;2455:32;2452:52;;;2500:1;2497;2490:12;2452:52;-1:-1:-1;;2523:23:1;;;2593:2;2578:18;;;2565:32;;-1:-1:-1;2355:248:1:o;2608:328::-;2685:6;2693;2701;2754:2;2742:9;2733:7;2729:23;2725:32;2722:52;;;2770:1;2767;2760:12;2722:52;2793:29;2812:9;2793:29;:::i;:::-;2783:39;;2841:38;2875:2;2864:9;2860:18;2841:38;:::i;:::-;2831:48;;2926:2;2915:9;2911:18;2898:32;2888:42;;2608:328;;;;;:::o;2941:186::-;3000:6;3053:2;3041:9;3032:7;3028:23;3024:32;3021:52;;;3069:1;3066;3059:12;3021:52;3092:29;3111:9;3092:29;:::i;3132:127::-;3193:10;3188:3;3184:20;3181:1;3174:31;3224:4;3221:1;3214:15;3248:4;3245:1;3238:15;3264:632;3329:5;3359:18;3400:2;3392:6;3389:14;3386:40;;;3406:18;;:::i;:::-;3481:2;3475:9;3449:2;3535:15;;-1:-1:-1;;3531:24:1;;;3557:2;3527:33;3523:42;3511:55;;;3581:18;;;3601:22;;;3578:46;3575:72;;;3627:18;;:::i;:::-;3667:10;3663:2;3656:22;3696:6;3687:15;;3726:6;3718;3711:22;3766:3;3757:6;3752:3;3748:16;3745:25;3742:45;;;3783:1;3780;3773:12;3742:45;3833:6;3828:3;3821:4;3813:6;3809:17;3796:44;3888:1;3881:4;3872:6;3864;3860:19;3856:30;3849:41;;;;3264:632;;;;;:::o;3901:451::-;3970:6;4023:2;4011:9;4002:7;3998:23;3994:32;3991:52;;;4039:1;4036;4029:12;3991:52;4079:9;4066:23;4112:18;4104:6;4101:30;4098:50;;;4144:1;4141;4134:12;4098:50;4167:22;;4220:4;4212:13;;4208:27;-1:-1:-1;4198:55:1;;4249:1;4246;4239:12;4198:55;4272:74;4338:7;4333:2;4320:16;4315:2;4311;4307:11;4272:74;:::i;4357:347::-;4422:6;4430;4483:2;4471:9;4462:7;4458:23;4454:32;4451:52;;;4499:1;4496;4489:12;4451:52;4522:29;4541:9;4522:29;:::i;:::-;4512:39;;4601:2;4590:9;4586:18;4573:32;4648:5;4641:13;4634:21;4627:5;4624:32;4614:60;;4670:1;4667;4660:12;4614:60;4693:5;4683:15;;;4357:347;;;;;:::o;4709:667::-;4804:6;4812;4820;4828;4881:3;4869:9;4860:7;4856:23;4852:33;4849:53;;;4898:1;4895;4888:12;4849:53;4921:29;4940:9;4921:29;:::i;:::-;4911:39;;4969:38;5003:2;4992:9;4988:18;4969:38;:::i;:::-;4959:48;;5054:2;5043:9;5039:18;5026:32;5016:42;;5109:2;5098:9;5094:18;5081:32;5136:18;5128:6;5125:30;5122:50;;;5168:1;5165;5158:12;5122:50;5191:22;;5244:4;5236:13;;5232:27;-1:-1:-1;5222:55:1;;5273:1;5270;5263:12;5222:55;5296:74;5362:7;5357:2;5344:16;5339:2;5335;5331:11;5296:74;:::i;:::-;5286:84;;;4709:667;;;;;;;:::o;5381:260::-;5449:6;5457;5510:2;5498:9;5489:7;5485:23;5481:32;5478:52;;;5526:1;5523;5516:12;5478:52;5549:29;5568:9;5549:29;:::i;:::-;5539:39;;5597:38;5631:2;5620:9;5616:18;5597:38;:::i;:::-;5587:48;;5381:260;;;;;:::o;5646:380::-;5725:1;5721:12;;;;5768;;;5789:61;;5843:4;5835:6;5831:17;5821:27;;5789:61;5896:2;5888:6;5885:14;5865:18;5862:38;5859:161;;5942:10;5937:3;5933:20;5930:1;5923:31;5977:4;5974:1;5967:15;6005:4;6002:1;5995:15;5859:161;;5646:380;;;:::o;6373:127::-;6434:10;6429:3;6425:20;6422:1;6415:31;6465:4;6462:1;6455:15;6489:4;6486:1;6479:15;6505:128;6545:3;6576:1;6572:6;6569:1;6566:13;6563:39;;;6582:18;;:::i;:::-;-1:-1:-1;6618:9:1;;6505:128::o;7341:168::-;7381:7;7447:1;7443;7439:6;7435:14;7432:1;7429:21;7424:1;7417:9;7410:17;7406:45;7403:71;;;7454:18;;:::i;:::-;-1:-1:-1;7494:9:1;;7341:168::o;7865:125::-;7905:4;7933:1;7930;7927:8;7924:34;;;7938:18;;:::i;:::-;-1:-1:-1;7975:9:1;;7865:125::o;8674:545::-;8776:2;8771:3;8768:11;8765:448;;;8812:1;8837:5;8833:2;8826:17;8882:4;8878:2;8868:19;8952:2;8940:10;8936:19;8933:1;8929:27;8923:4;8919:38;8988:4;8976:10;8973:20;8970:47;;;-1:-1:-1;9011:4:1;8970:47;9066:2;9061:3;9057:12;9054:1;9050:20;9044:4;9040:31;9030:41;;9121:82;9139:2;9132:5;9129:13;9121:82;;;9184:17;;;9165:1;9154:13;9121:82;;9395:1352;9521:3;9515:10;9548:18;9540:6;9537:30;9534:56;;;9570:18;;:::i;:::-;9599:97;9689:6;9649:38;9681:4;9675:11;9649:38;:::i;:::-;9643:4;9599:97;:::i;:::-;9751:4;;9815:2;9804:14;;9832:1;9827:663;;;;10534:1;10551:6;10548:89;;;-1:-1:-1;10603:19:1;;;10597:26;10548:89;-1:-1:-1;;9352:1:1;9348:11;;;9344:24;9340:29;9330:40;9376:1;9372:11;;;9327:57;10650:81;;9797:944;;9827:663;8621:1;8614:14;;;8658:4;8645:18;;-1:-1:-1;;9863:20:1;;;9981:236;9995:7;9992:1;9989:14;9981:236;;;10084:19;;;10078:26;10063:42;;10176:27;;;;10144:1;10132:14;;;;10011:19;;9981:236;;;9985:3;10245:6;10236:7;10233:19;10230:201;;;10306:19;;;10300:26;-1:-1:-1;;10389:1:1;10385:14;;;10401:3;10381:24;10377:37;10373:42;10358:58;10343:74;;10230:201;-1:-1:-1;;;;;10477:1:1;10461:14;;;10457:22;10444:36;;-1:-1:-1;9395:1352:1:o;11168:637::-;11448:3;11486:6;11480:13;11502:53;11548:6;11543:3;11536:4;11528:6;11524:17;11502:53;:::i;:::-;11618:13;;11577:16;;;;11640:57;11618:13;11577:16;11674:4;11662:17;;11640:57;:::i;:::-;-1:-1:-1;;;11719:20:1;;11748:22;;;11797:1;11786:13;;11168:637;-1:-1:-1;;;;11168:637:1:o;12578:489::-;-1:-1:-1;;;;;12847:15:1;;;12829:34;;12899:15;;12894:2;12879:18;;12872:43;12946:2;12931:18;;12924:34;;;12994:3;12989:2;12974:18;;12967:31;;;12772:4;;13015:46;;13041:19;;13033:6;13015:46;:::i;:::-;13007:54;12578:489;-1:-1:-1;;;;;;12578:489:1:o;13072:249::-;13141:6;13194:2;13182:9;13173:7;13169:23;13165:32;13162:52;;;13210:1;13207;13200:12;13162:52;13242:9;13236:16;13261:30;13285:5;13261:30;:::i;13326:135::-;13365:3;13386:17;;;13383:43;;13406:18;;:::i;:::-;-1:-1:-1;13453:1:1;13442:13;;13326:135::o;13466:127::-;13527:10;13522:3;13518:20;13515:1;13508:31;13558:4;13555:1;13548:15;13582:4;13579:1;13572:15;13598:120;13638:1;13664;13654:35;;13669:18;;:::i;:::-;-1:-1:-1;13703:9:1;;13598:120::o;13723:112::-;13755:1;13781;13771:35;;13786:18;;:::i;:::-;-1:-1:-1;13820:9:1;;13723:112::o;13840:127::-;13901:10;13896:3;13892:20;13889:1;13882:31;13932:4;13929:1;13922:15;13956:4;13953:1;13946:15
Swarm Source
ipfs://fbbd87957b99c645d72f654941c6c2427b1cfce37f32af5fc3eb7c3dc0325ed9
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.