ERC-721
Overview
Max Total Supply
7 AFB
Holders
6
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 AFBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Badge
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-21 */ // Sources flattened with hardhat v2.9.9 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/access/[email protected] // 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/[email protected] // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * 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(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores 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 via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @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() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 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`, * 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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` 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 payable; /** * @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 payable; /** * @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](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File erc721a/contracts/[email protected] // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // 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 `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID 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 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual 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 virtual { 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; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ 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: [ERC165](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. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ 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 ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * 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 initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev 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); } /** * @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 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)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(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 `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns 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)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @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 virtual { uint256 startTokenId = _currentIndex; 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 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _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 virtual { 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 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 virtual { _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 Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @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) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(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++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { 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 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 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; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @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 virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File contracts/Badge.sol /* _ _ _ _ _ _ _ _ _ _ / /\ /\ \ /\ \ / /\ /\ \ / /\ /\ \ /\ \ /\ \ /\ \ / / \ / \ \ / \ \ / / \ \_\ \ / / \ / \ \ \_\ \ / \ \ / \ \ / / /\ \ / /\ \ \ / /\ \ \ / / /\ \__ /\__ \ / / /\ \ / /\ \ \ /\__ \ / /\ \ \ / /\ \ \ / / /\ \ \ / / /\ \_\ / / /\ \_\ / / /\ \___\ / /_ \ \ / / /\ \ \ / / /\ \_\ / /_ \ \ / / /\ \_\ / / /\ \_\ / / / \ \ \ / / /_/ / // /_/_ \/_/ \ \ \ \/___// / /\ \ \ / / / \ \ \ / / /_/ / / / / /\ \ \ / /_/_ \/_/ / / /_/ / / / / /___/ /\ \ / / /__\/ // /____/\ \ \ \ / / / \/_// / /___/ /\ \ / / /__\/ / / / / \/_// /____/\ / / /__\/ / / / /_____/ /\ \ / / /_____// /\____\/ _ \ \ \ / / / / / /_____/ /\ \ / / /_____/ / / / / /\____\/ / / /_____/ / /_________/\ \ \ / / / / / /______ /_/\__/ / / / / / / /_________/\ \ \ / / /\ \ \ / / / / / /______ / / /\ \ \ / / /_ __\ \_\/ / / / / /_______\ \ \/___/ / /_/ / / / /_ __\ \_\/ / / \ \ \/_/ / / / /_______\/ / / \ \ \ \_\___\ /____/_/\/_/ \/__________/ \_____\/ \_\/ \_\___\ /____/_/\/_/ \_\/\_\/ \/__________/\/_/ \_\/ */ pragma solidity 0.8.19; contract Badge is Ownable, ERC721A { uint16 public constant MAX_TOKENS = 500; uint8 public constant MAX_PER_ADDRESS = 2; bool public allowMinting = true; address public GNOSIS_SAFE = 0x69214B2884399Ec0A9807329BAfE02bBF55D18F6; string public constant baseURI = "ipfs://QmXuTN4cZxrGaSUFBptbqq2TxYZtNQ9wPcNzsgXoro3YcF/"; constructor(address _safe) ERC721A("Apefather Badge", "AFB") { if (_safe != address(0)) { GNOSIS_SAFE = _safe; } } /** senderIsOrigin prevents contracts from creating sub contracts and purchasing badges. */ function senderIsOrigin() private view returns (bool) { return msg.sender == tx.origin; } /** canMintMore verifies that the sender will have at most 2 badges after minting */ function canMintMore(uint16 _amount) private view returns (bool) { return (balanceOf(msg.sender) + _amount) <= MAX_PER_ADDRESS; } /** getNextTokenId retuns the token id of the next token that can be minted. */ function getNextTokenId() public view returns (uint256) { return _nextTokenId(); } /** toggleMint allows contract owner to pause and resume minting. */ function toggleMint() public onlyOwner { allowMinting = !allowMinting; } /** _baseURI returns the ipfs address of the nft metadata. overriding ERC721A's implementation as their _baseURI returns an empty string. */ function _baseURI() internal view virtual override returns (string memory) { return baseURI; } /** contractURI returns the ipfs address of the contract metadata */ function contractURI() public pure returns (string memory) { return "ipfs://Qmf836CvH6UbaTBsHrPkwoX4FynHo2zw8tEGgmBBzhRhig"; } /** mintBadge verifies wether sender can mint, and if so will mint a badge. */ function mintBadge(uint16 _amount) public payable { require(allowMinting, "minting is currently paused."); require( (_nextTokenId() + _amount) <= MAX_TOKENS, "requested mint would exceed maximum about of badges." ); require( _amount <= MAX_PER_ADDRESS, "cannot mint more than 2 badges at a time." ); require( canMintMore(_amount), "requested mint would exceed maximum amount of badges per wallet." ); if (_amount == MAX_PER_ADDRESS) { require(msg.value == 0.138 ether, "incorrect amount of ETH sent. Should be .069 per token."); } else { require(msg.value == 0.069 ether, "incorrect amount of ETH sent. Should be .069 per token."); } require(senderIsOrigin(), "sender does not match origin."); _safeMint(msg.sender, _amount); } /** withdraw transfers the total balance of a contract's ETH to GNOSIS_SAFE. */ function withdraw() public onlyOwner { (bool success, ) = GNOSIS_SAFE.call{value: address(this).balance}(""); require(success, "Failed to withdraw ETH"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_safe","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","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":"GNOSIS_SAFE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_ADDRESS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"mintBadge","outputs":[],"stateMutability":"payable","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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","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":"payable","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
60806040526001600960006101000a81548160ff0219169083151502179055507369214b2884399ec0a9807329bafe02bbf55d18f6600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200008157600080fd5b50604051620031bd380380620031bd8339818101604052810190620000a7919062000328565b6040518060400160405280600f81526020017f41706566617468657220426164676500000000000000000000000000000000008152506040518060400160405280600381526020017f41464200000000000000000000000000000000000000000000000000000000008152506200013362000127620001ed60201b60201c565b620001f560201b60201c565b8160039081620001449190620005d4565b508060049081620001569190620005d4565b5062000167620002b960201b60201c565b6001819055505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614620001e65780600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50620006bb565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002f082620002c3565b9050919050565b6200030281620002e3565b81146200030e57600080fd5b50565b6000815190506200032281620002f7565b92915050565b600060208284031215620003415762000340620002be565b5b6000620003518482850162000311565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003dc57607f821691505b602082108103620003f257620003f162000394565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200045c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200041d565b6200046886836200041d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004b5620004af620004a98462000480565b6200048a565b62000480565b9050919050565b6000819050919050565b620004d18362000494565b620004e9620004e082620004bc565b8484546200042a565b825550505050565b600090565b62000500620004f1565b6200050d818484620004c6565b505050565b5b81811015620005355762000529600082620004f6565b60018101905062000513565b5050565b601f82111562000584576200054e81620003f8565b62000559846200040d565b8101602085101562000569578190505b6200058162000578856200040d565b83018262000512565b50505b505050565b600082821c905092915050565b6000620005a96000198460080262000589565b1980831691505092915050565b6000620005c4838362000596565b9150826002028217905092915050565b620005df826200035a565b67ffffffffffffffff811115620005fb57620005fa62000365565b5b620006078254620003c3565b6200061482828562000539565b600060209050601f8311600181146200064c576000841562000637578287015190505b620006438582620005b6565b865550620006b3565b601f1984166200065c86620003f8565b60005b8281101562000686578489015182556001820191506020850194506020810190506200065f565b86831015620006a65784890151620006a2601f89168262000596565b8355505b6001600288020188555050505b505050505050565b612af280620006cb6000396000f3fe60806040526004361061019c5760003560e01c8063715018a6116100ec578063caa0f92a1161008a578063e985e9c511610064578063e985e9c51461055e578063f2fde38b1461059b578063f47c84c5146105c4578063fedf57fa146105ef5761019c565b8063caa0f92a146104f1578063d3dd5fe01461051c578063e8a3d485146105335761019c565b80639d5dd2c0116100c65780639d5dd2c014610444578063a22cb4651461046f578063b88d4fde14610498578063c87b56dd146104b45761019c565b8063715018a6146103d75780638da5cb5b146103ee57806395d89b41146104195761019c565b806318160ddd1161015957806342842e0e1161013357806342842e0e146103165780636352211e146103325780636c0360eb1461036f57806370a082311461039a5761019c565b806318160ddd146102b857806323b872dd146102e35780633ccfd60b146102ff5761019c565b806301ffc9a7146101a157806306fdde03146101de578063081812fc14610209578063095ea7b3146102465780630aaef285146102625780631602a1241461028d575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c39190611d65565b61060b565b6040516101d59190611dad565b60405180910390f35b3480156101ea57600080fd5b506101f361069d565b6040516102009190611e58565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b9190611eb0565b61072f565b60405161023d9190611f1e565b60405180910390f35b610260600480360381019061025b9190611f65565b6107ae565b005b34801561026e57600080fd5b506102776108f2565b6040516102849190611fc1565b60405180910390f35b34801561029957600080fd5b506102a26108f7565b6040516102af9190611dad565b60405180910390f35b3480156102c457600080fd5b506102cd61090a565b6040516102da9190611feb565b60405180910390f35b6102fd60048036038101906102f89190612006565b610921565b005b34801561030b57600080fd5b50610314610c43565b005b610330600480360381019061032b9190612006565b610d1c565b005b34801561033e57600080fd5b5061035960048036038101906103549190611eb0565b610d3c565b6040516103669190611f1e565b60405180910390f35b34801561037b57600080fd5b50610384610d4e565b6040516103919190611e58565b60405180910390f35b3480156103a657600080fd5b506103c160048036038101906103bc9190612059565b610d6a565b6040516103ce9190611feb565b60405180910390f35b3480156103e357600080fd5b506103ec610e22565b005b3480156103fa57600080fd5b50610403610e36565b6040516104109190611f1e565b60405180910390f35b34801561042557600080fd5b5061042e610e5f565b60405161043b9190611e58565b60405180910390f35b34801561045057600080fd5b50610459610ef1565b6040516104669190611f1e565b60405180910390f35b34801561047b57600080fd5b50610496600480360381019061049191906120b2565b610f17565b005b6104b260048036038101906104ad9190612227565b611022565b005b3480156104c057600080fd5b506104db60048036038101906104d69190611eb0565b611095565b6040516104e89190611e58565b60405180910390f35b3480156104fd57600080fd5b50610506611133565b6040516105139190611feb565b60405180910390f35b34801561052857600080fd5b50610531611142565b005b34801561053f57600080fd5b50610548611176565b6040516105559190611e58565b60405180910390f35b34801561056a57600080fd5b50610585600480360381019061058091906122aa565b611196565b6040516105929190611dad565b60405180910390f35b3480156105a757600080fd5b506105c260048036038101906105bd9190612059565b61122a565b005b3480156105d057600080fd5b506105d96112ad565b6040516105e69190612307565b60405180910390f35b6106096004803603810190610604919061234e565b6112b3565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061066657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106965750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600380546106ac906123aa565b80601f01602080910402602001604051908101604052809291908181526020018280546106d8906123aa565b80156107255780601f106106fa57610100808354040283529160200191610725565b820191906000526020600020905b81548152906001019060200180831161070857829003601f168201915b5050505050905090565b600061073a826114f4565b610770576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107b982610d3c565b90508073ffffffffffffffffffffffffffffffffffffffff166107da611553565b73ffffffffffffffffffffffffffffffffffffffff161461083d5761080681610801611553565b611196565b61083c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600281565b600960009054906101000a900460ff1681565b600061091461155b565b6002546001540303905090565b600061092c82611560565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610993576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061099f8461162c565b915091506109b581876109b0611553565b611653565b610a01576109ca866109c5611553565b611196565b610a00576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610a67576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a748686866001611697565b8015610a7f57600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610b4d85610b2988888761169d565b7c0200000000000000000000000000000000000000000000000000000000176116c5565b600560008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610bd35760006001850190506000600560008381526020019081526020016000205403610bd1576001548114610bd0578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c3b86868660016116f0565b505050505050565b610c4b6116f6565b6000600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610c939061240c565b60006040518083038185875af1925050503d8060008114610cd0576040519150601f19603f3d011682016040523d82523d6000602084013e610cd5565b606091505b5050905080610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d109061246d565b60405180910390fd5b50565b610d3783838360405180602001604052806000815250611022565b505050565b6000610d4782611560565b9050919050565b604051806060016040528060368152602001612a876036913981565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610dd1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610e2a6116f6565b610e346000611774565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610e6e906123aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9a906123aa565b8015610ee75780601f10610ebc57610100808354040283529160200191610ee7565b820191906000526020600020905b815481529060010190602001808311610eca57829003601f168201915b5050505050905090565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8060086000610f24611553565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610fd1611553565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110169190611dad565b60405180910390a35050565b61102d848484610921565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461108f5761105884848484611838565b61108e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606110a0826114f4565b6110d6576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006110e0611988565b90506000815103611100576040518060200160405280600081525061112b565b8061110a846119a8565b60405160200161111b9291906124c9565b6040516020818303038152906040525b915050919050565b600061113d6119f8565b905090565b61114a6116f6565b600960009054906101000a900460ff1615600960006101000a81548160ff021916908315150217905550565b6060604051806060016040528060358152602001612a5260359139905090565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112326116f6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112989061255f565b60405180910390fd5b6112aa81611774565b50565b6101f481565b600960009054906101000a900460ff16611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f9906125cb565b60405180910390fd5b6101f461ffff168161ffff166113166119f8565b611320919061261a565b1115611361576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611358906126c0565b60405180910390fd5b600260ff168161ffff1611156113ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a390612752565b60405180910390fd5b6113b581611a02565b6113f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113eb906127e4565b60405180910390fd5b600260ff168161ffff1603611452576701ea4644d3010000341461144d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144490612876565b60405180910390fd5b61149c565b66f5232269808000341461149b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149290612876565b60405180910390fd5b5b6114a4611a2a565b6114e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114da906128e2565b60405180910390fd5b6114f1338261ffff16611a60565b50565b6000816114ff61155b565b1115801561150e575060015482105b801561154c575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061156f61155b565b116115f5576001548110156115f45760006005600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036115f2575b600081036115e85760056000836001900393508381526020019081526020016000205490506115be565b8092505050611627565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86116b4868684611a7e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6116fe611a87565b73ffffffffffffffffffffffffffffffffffffffff1661171c610e36565b73ffffffffffffffffffffffffffffffffffffffff1614611772576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117699061294e565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261185e611553565b8786866040518563ffffffff1660e01b815260040161188094939291906129c3565b6020604051808303816000875af19250505080156118bc57506040513d601f19601f820116820180604052508101906118b99190612a24565b60015b611935573d80600081146118ec576040519150601f19603f3d011682016040523d82523d6000602084013e6118f1565b606091505b50600081510361192d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060604051806060016040528060368152602001612a8760369139905090565b606060a060405101806040526020810391506000825281835b6001156119e357600184039350600a81066030018453600a81049050806119c1575b50828103602084039350808452505050919050565b6000600154905090565b6000600260ff168261ffff16611a1733610d6a565b611a21919061261a565b11159050919050565b60003273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b611a7a828260405180602001604052806000815250611a8f565b5050565b60009392505050565b600033905090565b611a998383611b2d565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611b285760006001549050600083820390505b611ada6000868380600101945086611838565b611b10576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611ac7578160015414611b2557600080fd5b50505b505050565b6000600154905060008203611b6e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b7b6000848385611697565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611bf283611be3600086600061169d565b611bec85611ce9565b176116c5565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611c9357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611c58565b5060008203611cce576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001819055505050611ce460008483856116f0565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611d4281611d0d565b8114611d4d57600080fd5b50565b600081359050611d5f81611d39565b92915050565b600060208284031215611d7b57611d7a611d03565b5b6000611d8984828501611d50565b91505092915050565b60008115159050919050565b611da781611d92565b82525050565b6000602082019050611dc26000830184611d9e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611e02578082015181840152602081019050611de7565b60008484015250505050565b6000601f19601f8301169050919050565b6000611e2a82611dc8565b611e348185611dd3565b9350611e44818560208601611de4565b611e4d81611e0e565b840191505092915050565b60006020820190508181036000830152611e728184611e1f565b905092915050565b6000819050919050565b611e8d81611e7a565b8114611e9857600080fd5b50565b600081359050611eaa81611e84565b92915050565b600060208284031215611ec657611ec5611d03565b5b6000611ed484828501611e9b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f0882611edd565b9050919050565b611f1881611efd565b82525050565b6000602082019050611f336000830184611f0f565b92915050565b611f4281611efd565b8114611f4d57600080fd5b50565b600081359050611f5f81611f39565b92915050565b60008060408385031215611f7c57611f7b611d03565b5b6000611f8a85828601611f50565b9250506020611f9b85828601611e9b565b9150509250929050565b600060ff82169050919050565b611fbb81611fa5565b82525050565b6000602082019050611fd66000830184611fb2565b92915050565b611fe581611e7a565b82525050565b60006020820190506120006000830184611fdc565b92915050565b60008060006060848603121561201f5761201e611d03565b5b600061202d86828701611f50565b935050602061203e86828701611f50565b925050604061204f86828701611e9b565b9150509250925092565b60006020828403121561206f5761206e611d03565b5b600061207d84828501611f50565b91505092915050565b61208f81611d92565b811461209a57600080fd5b50565b6000813590506120ac81612086565b92915050565b600080604083850312156120c9576120c8611d03565b5b60006120d785828601611f50565b92505060206120e88582860161209d565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61213482611e0e565b810181811067ffffffffffffffff82111715612153576121526120fc565b5b80604052505050565b6000612166611cf9565b9050612172828261212b565b919050565b600067ffffffffffffffff821115612192576121916120fc565b5b61219b82611e0e565b9050602081019050919050565b82818337600083830152505050565b60006121ca6121c584612177565b61215c565b9050828152602081018484840111156121e6576121e56120f7565b5b6121f18482856121a8565b509392505050565b600082601f83011261220e5761220d6120f2565b5b813561221e8482602086016121b7565b91505092915050565b6000806000806080858703121561224157612240611d03565b5b600061224f87828801611f50565b945050602061226087828801611f50565b935050604061227187828801611e9b565b925050606085013567ffffffffffffffff81111561229257612291611d08565b5b61229e878288016121f9565b91505092959194509250565b600080604083850312156122c1576122c0611d03565b5b60006122cf85828601611f50565b92505060206122e085828601611f50565b9150509250929050565b600061ffff82169050919050565b612301816122ea565b82525050565b600060208201905061231c60008301846122f8565b92915050565b61232b816122ea565b811461233657600080fd5b50565b60008135905061234881612322565b92915050565b60006020828403121561236457612363611d03565b5b600061237284828501612339565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806123c257607f821691505b6020821081036123d5576123d461237b565b5b50919050565b600081905092915050565b50565b60006123f66000836123db565b9150612401826123e6565b600082019050919050565b6000612417826123e9565b9150819050919050565b7f4661696c656420746f2077697468647261772045544800000000000000000000600082015250565b6000612457601683611dd3565b915061246282612421565b602082019050919050565b600060208201905081810360008301526124868161244a565b9050919050565b600081905092915050565b60006124a382611dc8565b6124ad818561248d565b93506124bd818560208601611de4565b80840191505092915050565b60006124d58285612498565b91506124e18284612498565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612549602683611dd3565b9150612554826124ed565b604082019050919050565b600060208201905081810360008301526125788161253c565b9050919050565b7f6d696e74696e672069732063757272656e746c79207061757365642e00000000600082015250565b60006125b5601c83611dd3565b91506125c08261257f565b602082019050919050565b600060208201905081810360008301526125e4816125a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061262582611e7a565b915061263083611e7a565b9250828201905080821115612648576126476125eb565b5b92915050565b7f726571756573746564206d696e7420776f756c6420657863656564206d61786960008201527f6d756d2061626f7574206f66206261646765732e000000000000000000000000602082015250565b60006126aa603483611dd3565b91506126b58261264e565b604082019050919050565b600060208201905081810360008301526126d98161269d565b9050919050565b7f63616e6e6f74206d696e74206d6f7265207468616e203220626164676573206160008201527f7420612074696d652e0000000000000000000000000000000000000000000000602082015250565b600061273c602983611dd3565b9150612747826126e0565b604082019050919050565b6000602082019050818103600083015261276b8161272f565b9050919050565b7f726571756573746564206d696e7420776f756c6420657863656564206d61786960008201527f6d756d20616d6f756e74206f6620626164676573207065722077616c6c65742e602082015250565b60006127ce604083611dd3565b91506127d982612772565b604082019050919050565b600060208201905081810360008301526127fd816127c1565b9050919050565b7f696e636f727265637420616d6f756e74206f66204554482073656e742e20536860008201527f6f756c64206265202e3036392070657220746f6b656e2e000000000000000000602082015250565b6000612860603783611dd3565b915061286b82612804565b604082019050919050565b6000602082019050818103600083015261288f81612853565b9050919050565b7f73656e64657220646f6573206e6f74206d61746368206f726967696e2e000000600082015250565b60006128cc601d83611dd3565b91506128d782612896565b602082019050919050565b600060208201905081810360008301526128fb816128bf565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612938602083611dd3565b915061294382612902565b602082019050919050565b600060208201905081810360008301526129678161292b565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006129958261296e565b61299f8185612979565b93506129af818560208601611de4565b6129b881611e0e565b840191505092915050565b60006080820190506129d86000830187611f0f565b6129e56020830186611f0f565b6129f26040830185611fdc565b8181036060830152612a04818461298a565b905095945050505050565b600081519050612a1e81611d39565b92915050565b600060208284031215612a3a57612a39611d03565b5b6000612a4884828501612a0f565b9150509291505056fe697066733a2f2f516d66383336437648365562615442734872506b776f583446796e486f327a7738744547676d42427a6852686967697066733a2f2f516d5875544e34635a78724761535546427074627171325478595a744e51397750634e7a7367586f726f335963462fa26469706673582212204734b1e8e7b91be6bd8057d930fbfdac19cb98c560f68ec60471543f611bb53664736f6c634300081300330000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061019c5760003560e01c8063715018a6116100ec578063caa0f92a1161008a578063e985e9c511610064578063e985e9c51461055e578063f2fde38b1461059b578063f47c84c5146105c4578063fedf57fa146105ef5761019c565b8063caa0f92a146104f1578063d3dd5fe01461051c578063e8a3d485146105335761019c565b80639d5dd2c0116100c65780639d5dd2c014610444578063a22cb4651461046f578063b88d4fde14610498578063c87b56dd146104b45761019c565b8063715018a6146103d75780638da5cb5b146103ee57806395d89b41146104195761019c565b806318160ddd1161015957806342842e0e1161013357806342842e0e146103165780636352211e146103325780636c0360eb1461036f57806370a082311461039a5761019c565b806318160ddd146102b857806323b872dd146102e35780633ccfd60b146102ff5761019c565b806301ffc9a7146101a157806306fdde03146101de578063081812fc14610209578063095ea7b3146102465780630aaef285146102625780631602a1241461028d575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c39190611d65565b61060b565b6040516101d59190611dad565b60405180910390f35b3480156101ea57600080fd5b506101f361069d565b6040516102009190611e58565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b9190611eb0565b61072f565b60405161023d9190611f1e565b60405180910390f35b610260600480360381019061025b9190611f65565b6107ae565b005b34801561026e57600080fd5b506102776108f2565b6040516102849190611fc1565b60405180910390f35b34801561029957600080fd5b506102a26108f7565b6040516102af9190611dad565b60405180910390f35b3480156102c457600080fd5b506102cd61090a565b6040516102da9190611feb565b60405180910390f35b6102fd60048036038101906102f89190612006565b610921565b005b34801561030b57600080fd5b50610314610c43565b005b610330600480360381019061032b9190612006565b610d1c565b005b34801561033e57600080fd5b5061035960048036038101906103549190611eb0565b610d3c565b6040516103669190611f1e565b60405180910390f35b34801561037b57600080fd5b50610384610d4e565b6040516103919190611e58565b60405180910390f35b3480156103a657600080fd5b506103c160048036038101906103bc9190612059565b610d6a565b6040516103ce9190611feb565b60405180910390f35b3480156103e357600080fd5b506103ec610e22565b005b3480156103fa57600080fd5b50610403610e36565b6040516104109190611f1e565b60405180910390f35b34801561042557600080fd5b5061042e610e5f565b60405161043b9190611e58565b60405180910390f35b34801561045057600080fd5b50610459610ef1565b6040516104669190611f1e565b60405180910390f35b34801561047b57600080fd5b50610496600480360381019061049191906120b2565b610f17565b005b6104b260048036038101906104ad9190612227565b611022565b005b3480156104c057600080fd5b506104db60048036038101906104d69190611eb0565b611095565b6040516104e89190611e58565b60405180910390f35b3480156104fd57600080fd5b50610506611133565b6040516105139190611feb565b60405180910390f35b34801561052857600080fd5b50610531611142565b005b34801561053f57600080fd5b50610548611176565b6040516105559190611e58565b60405180910390f35b34801561056a57600080fd5b50610585600480360381019061058091906122aa565b611196565b6040516105929190611dad565b60405180910390f35b3480156105a757600080fd5b506105c260048036038101906105bd9190612059565b61122a565b005b3480156105d057600080fd5b506105d96112ad565b6040516105e69190612307565b60405180910390f35b6106096004803603810190610604919061234e565b6112b3565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061066657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106965750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600380546106ac906123aa565b80601f01602080910402602001604051908101604052809291908181526020018280546106d8906123aa565b80156107255780601f106106fa57610100808354040283529160200191610725565b820191906000526020600020905b81548152906001019060200180831161070857829003601f168201915b5050505050905090565b600061073a826114f4565b610770576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107b982610d3c565b90508073ffffffffffffffffffffffffffffffffffffffff166107da611553565b73ffffffffffffffffffffffffffffffffffffffff161461083d5761080681610801611553565b611196565b61083c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600281565b600960009054906101000a900460ff1681565b600061091461155b565b6002546001540303905090565b600061092c82611560565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610993576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061099f8461162c565b915091506109b581876109b0611553565b611653565b610a01576109ca866109c5611553565b611196565b610a00576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610a67576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a748686866001611697565b8015610a7f57600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610b4d85610b2988888761169d565b7c0200000000000000000000000000000000000000000000000000000000176116c5565b600560008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610bd35760006001850190506000600560008381526020019081526020016000205403610bd1576001548114610bd0578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610c3b86868660016116f0565b505050505050565b610c4b6116f6565b6000600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610c939061240c565b60006040518083038185875af1925050503d8060008114610cd0576040519150601f19603f3d011682016040523d82523d6000602084013e610cd5565b606091505b5050905080610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d109061246d565b60405180910390fd5b50565b610d3783838360405180602001604052806000815250611022565b505050565b6000610d4782611560565b9050919050565b604051806060016040528060368152602001612a876036913981565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610dd1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610e2a6116f6565b610e346000611774565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610e6e906123aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9a906123aa565b8015610ee75780601f10610ebc57610100808354040283529160200191610ee7565b820191906000526020600020905b815481529060010190602001808311610eca57829003601f168201915b5050505050905090565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8060086000610f24611553565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610fd1611553565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110169190611dad565b60405180910390a35050565b61102d848484610921565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461108f5761105884848484611838565b61108e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606110a0826114f4565b6110d6576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006110e0611988565b90506000815103611100576040518060200160405280600081525061112b565b8061110a846119a8565b60405160200161111b9291906124c9565b6040516020818303038152906040525b915050919050565b600061113d6119f8565b905090565b61114a6116f6565b600960009054906101000a900460ff1615600960006101000a81548160ff021916908315150217905550565b6060604051806060016040528060358152602001612a5260359139905090565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112326116f6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112989061255f565b60405180910390fd5b6112aa81611774565b50565b6101f481565b600960009054906101000a900460ff16611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f9906125cb565b60405180910390fd5b6101f461ffff168161ffff166113166119f8565b611320919061261a565b1115611361576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611358906126c0565b60405180910390fd5b600260ff168161ffff1611156113ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a390612752565b60405180910390fd5b6113b581611a02565b6113f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113eb906127e4565b60405180910390fd5b600260ff168161ffff1603611452576701ea4644d3010000341461144d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144490612876565b60405180910390fd5b61149c565b66f5232269808000341461149b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149290612876565b60405180910390fd5b5b6114a4611a2a565b6114e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114da906128e2565b60405180910390fd5b6114f1338261ffff16611a60565b50565b6000816114ff61155b565b1115801561150e575060015482105b801561154c575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061156f61155b565b116115f5576001548110156115f45760006005600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036115f2575b600081036115e85760056000836001900393508381526020019081526020016000205490506115be565b8092505050611627565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86116b4868684611a7e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6116fe611a87565b73ffffffffffffffffffffffffffffffffffffffff1661171c610e36565b73ffffffffffffffffffffffffffffffffffffffff1614611772576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117699061294e565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261185e611553565b8786866040518563ffffffff1660e01b815260040161188094939291906129c3565b6020604051808303816000875af19250505080156118bc57506040513d601f19601f820116820180604052508101906118b99190612a24565b60015b611935573d80600081146118ec576040519150601f19603f3d011682016040523d82523d6000602084013e6118f1565b606091505b50600081510361192d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060604051806060016040528060368152602001612a8760369139905090565b606060a060405101806040526020810391506000825281835b6001156119e357600184039350600a81066030018453600a81049050806119c1575b50828103602084039350808452505050919050565b6000600154905090565b6000600260ff168261ffff16611a1733610d6a565b611a21919061261a565b11159050919050565b60003273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b611a7a828260405180602001604052806000815250611a8f565b5050565b60009392505050565b600033905090565b611a998383611b2d565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611b285760006001549050600083820390505b611ada6000868380600101945086611838565b611b10576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611ac7578160015414611b2557600080fd5b50505b505050565b6000600154905060008203611b6e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b7b6000848385611697565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611bf283611be3600086600061169d565b611bec85611ce9565b176116c5565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114611c9357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050611c58565b5060008203611cce576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001819055505050611ce460008483856116f0565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611d4281611d0d565b8114611d4d57600080fd5b50565b600081359050611d5f81611d39565b92915050565b600060208284031215611d7b57611d7a611d03565b5b6000611d8984828501611d50565b91505092915050565b60008115159050919050565b611da781611d92565b82525050565b6000602082019050611dc26000830184611d9e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611e02578082015181840152602081019050611de7565b60008484015250505050565b6000601f19601f8301169050919050565b6000611e2a82611dc8565b611e348185611dd3565b9350611e44818560208601611de4565b611e4d81611e0e565b840191505092915050565b60006020820190508181036000830152611e728184611e1f565b905092915050565b6000819050919050565b611e8d81611e7a565b8114611e9857600080fd5b50565b600081359050611eaa81611e84565b92915050565b600060208284031215611ec657611ec5611d03565b5b6000611ed484828501611e9b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f0882611edd565b9050919050565b611f1881611efd565b82525050565b6000602082019050611f336000830184611f0f565b92915050565b611f4281611efd565b8114611f4d57600080fd5b50565b600081359050611f5f81611f39565b92915050565b60008060408385031215611f7c57611f7b611d03565b5b6000611f8a85828601611f50565b9250506020611f9b85828601611e9b565b9150509250929050565b600060ff82169050919050565b611fbb81611fa5565b82525050565b6000602082019050611fd66000830184611fb2565b92915050565b611fe581611e7a565b82525050565b60006020820190506120006000830184611fdc565b92915050565b60008060006060848603121561201f5761201e611d03565b5b600061202d86828701611f50565b935050602061203e86828701611f50565b925050604061204f86828701611e9b565b9150509250925092565b60006020828403121561206f5761206e611d03565b5b600061207d84828501611f50565b91505092915050565b61208f81611d92565b811461209a57600080fd5b50565b6000813590506120ac81612086565b92915050565b600080604083850312156120c9576120c8611d03565b5b60006120d785828601611f50565b92505060206120e88582860161209d565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61213482611e0e565b810181811067ffffffffffffffff82111715612153576121526120fc565b5b80604052505050565b6000612166611cf9565b9050612172828261212b565b919050565b600067ffffffffffffffff821115612192576121916120fc565b5b61219b82611e0e565b9050602081019050919050565b82818337600083830152505050565b60006121ca6121c584612177565b61215c565b9050828152602081018484840111156121e6576121e56120f7565b5b6121f18482856121a8565b509392505050565b600082601f83011261220e5761220d6120f2565b5b813561221e8482602086016121b7565b91505092915050565b6000806000806080858703121561224157612240611d03565b5b600061224f87828801611f50565b945050602061226087828801611f50565b935050604061227187828801611e9b565b925050606085013567ffffffffffffffff81111561229257612291611d08565b5b61229e878288016121f9565b91505092959194509250565b600080604083850312156122c1576122c0611d03565b5b60006122cf85828601611f50565b92505060206122e085828601611f50565b9150509250929050565b600061ffff82169050919050565b612301816122ea565b82525050565b600060208201905061231c60008301846122f8565b92915050565b61232b816122ea565b811461233657600080fd5b50565b60008135905061234881612322565b92915050565b60006020828403121561236457612363611d03565b5b600061237284828501612339565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806123c257607f821691505b6020821081036123d5576123d461237b565b5b50919050565b600081905092915050565b50565b60006123f66000836123db565b9150612401826123e6565b600082019050919050565b6000612417826123e9565b9150819050919050565b7f4661696c656420746f2077697468647261772045544800000000000000000000600082015250565b6000612457601683611dd3565b915061246282612421565b602082019050919050565b600060208201905081810360008301526124868161244a565b9050919050565b600081905092915050565b60006124a382611dc8565b6124ad818561248d565b93506124bd818560208601611de4565b80840191505092915050565b60006124d58285612498565b91506124e18284612498565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612549602683611dd3565b9150612554826124ed565b604082019050919050565b600060208201905081810360008301526125788161253c565b9050919050565b7f6d696e74696e672069732063757272656e746c79207061757365642e00000000600082015250565b60006125b5601c83611dd3565b91506125c08261257f565b602082019050919050565b600060208201905081810360008301526125e4816125a8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061262582611e7a565b915061263083611e7a565b9250828201905080821115612648576126476125eb565b5b92915050565b7f726571756573746564206d696e7420776f756c6420657863656564206d61786960008201527f6d756d2061626f7574206f66206261646765732e000000000000000000000000602082015250565b60006126aa603483611dd3565b91506126b58261264e565b604082019050919050565b600060208201905081810360008301526126d98161269d565b9050919050565b7f63616e6e6f74206d696e74206d6f7265207468616e203220626164676573206160008201527f7420612074696d652e0000000000000000000000000000000000000000000000602082015250565b600061273c602983611dd3565b9150612747826126e0565b604082019050919050565b6000602082019050818103600083015261276b8161272f565b9050919050565b7f726571756573746564206d696e7420776f756c6420657863656564206d61786960008201527f6d756d20616d6f756e74206f6620626164676573207065722077616c6c65742e602082015250565b60006127ce604083611dd3565b91506127d982612772565b604082019050919050565b600060208201905081810360008301526127fd816127c1565b9050919050565b7f696e636f727265637420616d6f756e74206f66204554482073656e742e20536860008201527f6f756c64206265202e3036392070657220746f6b656e2e000000000000000000602082015250565b6000612860603783611dd3565b915061286b82612804565b604082019050919050565b6000602082019050818103600083015261288f81612853565b9050919050565b7f73656e64657220646f6573206e6f74206d61746368206f726967696e2e000000600082015250565b60006128cc601d83611dd3565b91506128d782612896565b602082019050919050565b600060208201905081810360008301526128fb816128bf565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612938602083611dd3565b915061294382612902565b602082019050919050565b600060208201905081810360008301526129678161292b565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006129958261296e565b61299f8185612979565b93506129af818560208601611de4565b6129b881611e0e565b840191505092915050565b60006080820190506129d86000830187611f0f565b6129e56020830186611f0f565b6129f26040830185611fdc565b8181036060830152612a04818461298a565b905095945050505050565b600081519050612a1e81611d39565b92915050565b600060208284031215612a3a57612a39611d03565b5b6000612a4884828501612a0f565b9150509291505056fe697066733a2f2f516d66383336437648365562615442734872506b776f583446796e486f327a7738744547676d42427a6852686967697066733a2f2f516d5875544e34635a78724761535546427074627171325478595a744e51397750634e7a7367586f726f335963462fa26469706673582212204734b1e8e7b91be6bd8057d930fbfdac19cb98c560f68ec60471543f611bb53664736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _safe (address): 0x0000000000000000000000000000000000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
56772:3236:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22118:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23020:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;29511:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28944:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;56860:41;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56908:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;18771:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33150:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;59827:178;;;;;;;;;;;;;:::i;:::-;;36071:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;24413:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57028:89;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19955:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2883:103;;;;;;;;;;;;;:::i;:::-;;2235:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23196:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56948:71;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;30069:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;36862:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;23406:318;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;57864:96;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58056:86;;;;;;;;;;;;;:::i;:::-;;58524:140;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;30460:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3141:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;56814:39;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58770:950;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;22118:639;22203:4;22542:10;22527:25;;:11;:25;;;;:102;;;;22619:10;22604:25;;:11;:25;;;;22527:102;:179;;;;22696:10;22681:25;;:11;:25;;;;22527:179;22507:199;;22118:639;;;:::o;23020:100::-;23074:13;23107:5;23100:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23020:100;:::o;29511:218::-;29587:7;29612:16;29620:7;29612;:16::i;:::-;29607:64;;29637:34;;;;;;;;;;;;;;29607:64;29691:15;:24;29707:7;29691:24;;;;;;;;;;;:30;;;;;;;;;;;;29684:37;;29511:218;;;:::o;28944:408::-;29033:13;29049:16;29057:7;29049;:16::i;:::-;29033:32;;29105:5;29082:28;;:19;:17;:19::i;:::-;:28;;;29078:175;;29130:44;29147:5;29154:19;:17;:19::i;:::-;29130:16;:44::i;:::-;29125:128;;29202:35;;;;;;;;;;;;;;29125:128;29078:175;29298:2;29265:15;:24;29281:7;29265:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;29336:7;29332:2;29316:28;;29325:5;29316:28;;;;;;;;;;;;29022:330;28944:408;;:::o;56860:41::-;56900:1;56860:41;:::o;56908:31::-;;;;;;;;;;;;;:::o;18771:323::-;18832:7;19060:15;:13;:15::i;:::-;19045:12;;19029:13;;:28;:46;19022:53;;18771:323;:::o;33150:2825::-;33292:27;33322;33341:7;33322:18;:27::i;:::-;33292:57;;33407:4;33366:45;;33382:19;33366:45;;;33362:86;;33420:28;;;;;;;;;;;;;;33362:86;33462:27;33491:23;33518:35;33545:7;33518:26;:35::i;:::-;33461:92;;;;33653:68;33678:15;33695:4;33701:19;:17;:19::i;:::-;33653:24;:68::i;:::-;33648:180;;33741:43;33758:4;33764:19;:17;:19::i;:::-;33741:16;:43::i;:::-;33736:92;;33793:35;;;;;;;;;;;;;;33736:92;33648:180;33859:1;33845:16;;:2;:16;;;33841:52;;33870:23;;;;;;;;;;;;;;33841:52;33906:43;33928:4;33934:2;33938:7;33947:1;33906:21;:43::i;:::-;34042:15;34039:160;;;34182:1;34161:19;34154:30;34039:160;34579:18;:24;34598:4;34579:24;;;;;;;;;;;;;;;;34577:26;;;;;;;;;;;;34648:18;:22;34667:2;34648:22;;;;;;;;;;;;;;;;34646:24;;;;;;;;;;;34970:146;35007:2;35056:45;35071:4;35077:2;35081:19;35056:14;:45::i;:::-;15170:8;35028:73;34970:18;:146::i;:::-;34941:17;:26;34959:7;34941:26;;;;;;;;;;;:175;;;;35287:1;15170:8;35236:19;:47;:52;35232:627;;35309:19;35341:1;35331:7;:11;35309:33;;35498:1;35464:17;:30;35482:11;35464:30;;;;;;;;;;;;:35;35460:384;;35602:13;;35587:11;:28;35583:242;;35782:19;35749:17;:30;35767:11;35749:30;;;;;;;;;;;:52;;;;35583:242;35460:384;35290:569;35232:627;35906:7;35902:2;35887:27;;35896:4;35887:27;;;;;;;;;;;;35925:42;35946:4;35952:2;35956:7;35965:1;35925:20;:42::i;:::-;33281:2694;;;33150:2825;;;:::o;59827:178::-;2121:13;:11;:13::i;:::-;59876:12:::1;59894:11;;;;;;;;;;;:16;;59918:21;59894:50;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59875:69;;;59963:7;59955:42;;;;;;;;;;;;:::i;:::-;;;;;;;;;59864:141;59827:178::o:0;36071:193::-;36217:39;36234:4;36240:2;36244:7;36217:39;;;;;;;;;;;;:16;:39::i;:::-;36071:193;;;:::o;24413:152::-;24485:7;24528:27;24547:7;24528:18;:27::i;:::-;24505:52;;24413:152;;;:::o;57028:89::-;;;;;;;;;;;;;;;;;;;:::o;19955:233::-;20027:7;20068:1;20051:19;;:5;:19;;;20047:60;;20079:28;;;;;;;;;;;;;;20047:60;14114:13;20125:18;:25;20144:5;20125:25;;;;;;;;;;;;;;;;:55;20118:62;;19955:233;;;:::o;2883:103::-;2121:13;:11;:13::i;:::-;2948:30:::1;2975:1;2948:18;:30::i;:::-;2883:103::o:0;2235:87::-;2281:7;2308:6;;;;;;;;;;;2301:13;;2235:87;:::o;23196:104::-;23252:13;23285:7;23278:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23196:104;:::o;56948:71::-;;;;;;;;;;;;;:::o;30069:234::-;30216:8;30164:18;:39;30183:19;:17;:19::i;:::-;30164:39;;;;;;;;;;;;;;;:49;30204:8;30164:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;30276:8;30240:55;;30255:19;:17;:19::i;:::-;30240:55;;;30286:8;30240:55;;;;;;:::i;:::-;;;;;;;;30069:234;;:::o;36862:407::-;37037:31;37050:4;37056:2;37060:7;37037:12;:31::i;:::-;37101:1;37083:2;:14;;;:19;37079:183;;37122:56;37153:4;37159:2;37163:7;37172:5;37122:30;:56::i;:::-;37117:145;;37206:40;;;;;;;;;;;;;;37117:145;37079:183;36862:407;;;;:::o;23406:318::-;23479:13;23510:16;23518:7;23510;:16::i;:::-;23505:59;;23535:29;;;;;;;;;;;;;;23505:59;23577:21;23601:10;:8;:10::i;:::-;23577:34;;23654:1;23635:7;23629:21;:26;:87;;;;;;;;;;;;;;;;;23682:7;23691:18;23701:7;23691:9;:18::i;:::-;23665:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;23629:87;23622:94;;;23406:318;;;:::o;57864:96::-;57911:7;57938:14;:12;:14::i;:::-;57931:21;;57864:96;:::o;58056:86::-;2121:13;:11;:13::i;:::-;58122:12:::1;;;;;;;;;;;58121:13;58106:12;;:28;;;;;;;;;;;;;;;;;;58056:86::o:0;58524:140::-;58568:13;58594:62;;;;;;;;;;;;;;;;;;;58524:140;:::o;30460:164::-;30557:4;30581:18;:25;30600:5;30581:25;;;;;;;;;;;;;;;:35;30607:8;30581:35;;;;;;;;;;;;;;;;;;;;;;;;;30574:42;;30460:164;;;;:::o;3141:201::-;2121:13;:11;:13::i;:::-;3250:1:::1;3230:22;;:8;:22;;::::0;3222:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;3306:28;3325:8;3306:18;:28::i;:::-;3141:201:::0;:::o;56814:39::-;56850:3;56814:39;:::o;58770:950::-;58839:12;;;;;;;;;;;58831:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;56850:3;58917:40;;58935:7;58918:24;;:14;:12;:14::i;:::-;:24;;;;:::i;:::-;58917:40;;58895:142;;;;;;;;;;;;:::i;:::-;;;;;;;;;56900:1;59070:26;;:7;:26;;;;59048:117;;;;;;;;;;;;:::i;:::-;;;;;;;;;59198:20;59210:7;59198:11;:20::i;:::-;59176:134;;;;;;;;;;;;:::i;:::-;;;;;;;;;56900:1;59327:26;;:7;:26;;;59323:276;;59391:11;59378:9;:24;59370:92;;;;;;;;;;;;:::i;:::-;;;;;;;;;59323:276;;;59516:11;59503:9;:24;59495:92;;;;;;;;;;;;:::i;:::-;;;;;;;;;59323:276;59619:16;:14;:16::i;:::-;59611:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;59682:30;59692:10;59704:7;59682:30;;:9;:30::i;:::-;58770:950;:::o;30882:282::-;30947:4;31003:7;30984:15;:13;:15::i;:::-;:26;;:66;;;;;31037:13;;31027:7;:23;30984:66;:153;;;;;31136:1;14890:8;31088:17;:26;31106:7;31088:26;;;;;;;;;;;;:44;:49;30984:153;30964:173;;30882:282;;;:::o;53190:105::-;53250:7;53277:10;53270:17;;53190:105;:::o;18287:92::-;18343:7;18287:92;:::o;25568:1275::-;25635:7;25655:12;25670:7;25655:22;;25738:4;25719:15;:13;:15::i;:::-;:23;25715:1061;;25772:13;;25765:4;:20;25761:1015;;;25810:14;25827:17;:23;25845:4;25827:23;;;;;;;;;;;;25810:40;;25944:1;14890:8;25916:6;:24;:29;25912:845;;26581:113;26598:1;26588:6;:11;26581:113;;26641:17;:25;26659:6;;;;;;;26641:25;;;;;;;;;;;;26632:34;;26581:113;;;26727:6;26720:13;;;;;;25912:845;25787:989;25761:1015;25715:1061;26804:31;;;;;;;;;;;;;;25568:1275;;;;:::o;32045:485::-;32147:27;32176:23;32217:38;32258:15;:24;32274:7;32258:24;;;;;;;;;;;32217:65;;32435:18;32412:41;;32492:19;32486:26;32467:45;;32397:126;32045:485;;;:::o;31273:659::-;31422:11;31587:16;31580:5;31576:28;31567:37;;31747:16;31736:9;31732:32;31719:45;;31897:15;31886:9;31883:30;31875:5;31864:9;31861:20;31858:56;31848:66;;31273:659;;;;;:::o;37931:159::-;;;;;:::o;52499:311::-;52634:7;52654:16;15294:3;52680:19;:41;;52654:68;;15294:3;52748:31;52759:4;52765:2;52769:9;52748:10;:31::i;:::-;52740:40;;:62;;52733:69;;;52499:311;;;;;:::o;27391:450::-;27471:14;27639:16;27632:5;27628:28;27619:37;;27816:5;27802:11;27777:23;27773:41;27770:52;27763:5;27760:63;27750:73;;27391:450;;;;:::o;38755:158::-;;;;;:::o;2400:132::-;2475:12;:10;:12::i;:::-;2464:23;;:7;:5;:7::i;:::-;:23;;;2456:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2400:132::o;3502:191::-;3576:16;3595:6;;;;;;;;;;;3576:25;;3621:8;3612:6;;:17;;;;;;;;;;;;;;;;;;3676:8;3645:40;;3666:8;3645:40;;;;;;;;;;;;3565:128;3502:191;:::o;39353:716::-;39516:4;39562:2;39537:45;;;39583:19;:17;:19::i;:::-;39604:4;39610:7;39619:5;39537:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;39533:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39837:1;39820:6;:13;:18;39816:235;;39866:40;;;;;;;;;;;;;;39816:235;40009:6;40003:13;39994:6;39990:2;39986:15;39979:38;39533:529;39706:54;;;39696:64;;;:6;:64;;;;39689:71;;;39353:716;;;;;;:::o;58320:108::-;58380:13;58413:7;;;;;;;;;;;;;;;;;58406:14;;58320:108;:::o;53397:1745::-;53462:17;53896:4;53889;53883:11;53879:22;53988:1;53982:4;53975:15;54063:4;54060:1;54056:12;54049:19;;54145:1;54140:3;54133:14;54249:3;54488:5;54470:428;54496:1;54470:428;;;54536:1;54531:3;54527:11;54520:18;;54707:2;54701:4;54697:13;54693:2;54689:22;54684:3;54676:36;54801:2;54795:4;54791:13;54783:21;;54868:4;54470:428;54858:25;54470:428;54474:21;54937:3;54932;54928:13;55052:4;55047:3;55043:14;55036:21;;55117:6;55112:3;55105:19;53501:1634;;;53397:1745;;;:::o;18458:103::-;18513:7;18540:13;;18533:20;;18458:103;:::o;57614:143::-;57673:4;56900:1;57697:52;;57722:7;57698:31;;:21;57708:10;57698:9;:21::i;:::-;:31;;;;:::i;:::-;57697:52;;57690:59;;57614:143;;;:::o;57399:103::-;57447:4;57485:9;57471:23;;:10;:23;;;57464:30;;57399:103;:::o;47022:112::-;47099:27;47109:2;47113:8;47099:27;;;;;;;;;;;;:9;:27::i;:::-;47022:112;;:::o;52200:147::-;52337:6;52200:147;;;;;:::o;780:98::-;833:7;860:10;853:17;;780:98;:::o;46249:689::-;46380:19;46386:2;46390:8;46380:5;:19::i;:::-;46459:1;46441:2;:14;;;:19;46437:483;;46481:11;46495:13;;46481:27;;46527:13;46549:8;46543:3;:14;46527:30;;46576:233;46607:62;46646:1;46650:2;46654:7;;;;;;46663:5;46607:30;:62::i;:::-;46602:167;;46705:40;;;;;;;;;;;;;;46602:167;46804:3;46796:5;:11;46576:233;;46891:3;46874:13;;:20;46870:34;;46896:8;;;46870:34;46462:458;;46437:483;46249:689;;;:::o;40531:2966::-;40604:20;40627:13;;40604:36;;40667:1;40655:8;:13;40651:44;;40677:18;;;;;;;;;;;;;;40651:44;40708:61;40738:1;40742:2;40746:12;40760:8;40708:21;:61::i;:::-;41252:1;14252:2;41222:1;:26;;41221:32;41209:8;:45;41183:18;:22;41202:2;41183:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;41531:139;41568:2;41622:33;41645:1;41649:2;41653:1;41622:14;:33::i;:::-;41589:30;41610:8;41589:20;:30::i;:::-;:66;41531:18;:139::i;:::-;41497:17;:31;41515:12;41497:31;;;;;;;;;;;:173;;;;41687:16;41718:11;41747:8;41732:12;:23;41718:37;;42268:16;42264:2;42260:25;42248:37;;42640:12;42600:8;42559:1;42497:25;42438:1;42377;42350:335;43011:1;42997:12;42993:20;42951:346;43052:3;43043:7;43040:16;42951:346;;43270:7;43260:8;43257:1;43230:25;43227:1;43224;43219:59;43105:1;43096:7;43092:15;43081:26;;42951:346;;;42955:77;43342:1;43330:8;:13;43326:45;;43352:19;;;;;;;;;;;;;;43326:45;43404:3;43388:13;:19;;;;40957:2462;;43429:60;43458:1;43462:2;43466:12;43480:8;43429:20;:60::i;:::-;40593:2904;40531:2966;;:::o;27943:324::-;28013:14;28246:1;28236:8;28233:15;28207:24;28203:46;28193:56;;27943:324;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:246::-;1879:1;1889:113;1903:6;1900:1;1897:13;1889:113;;;1988:1;1983:3;1979:11;1973:18;1969:1;1964:3;1960:11;1953:39;1925:2;1922:1;1918:10;1913:15;;1889:113;;;2036:1;2027:6;2022:3;2018:16;2011:27;1860:184;1798:246;;;:::o;2050:102::-;2091:6;2142:2;2138:7;2133:2;2126:5;2122:14;2118:28;2108:38;;2050:102;;;:::o;2158:377::-;2246:3;2274:39;2307:5;2274:39;:::i;:::-;2329:71;2393:6;2388:3;2329:71;:::i;:::-;2322:78;;2409:65;2467:6;2462:3;2455:4;2448:5;2444:16;2409:65;:::i;:::-;2499:29;2521:6;2499:29;:::i;:::-;2494:3;2490:39;2483:46;;2250:285;2158:377;;;;:::o;2541:313::-;2654:4;2692:2;2681:9;2677:18;2669:26;;2741:9;2735:4;2731:20;2727:1;2716:9;2712:17;2705:47;2769:78;2842:4;2833:6;2769:78;:::i;:::-;2761:86;;2541:313;;;;:::o;2860:77::-;2897:7;2926:5;2915:16;;2860:77;;;:::o;2943:122::-;3016:24;3034:5;3016:24;:::i;:::-;3009:5;3006:35;2996:63;;3055:1;3052;3045:12;2996:63;2943:122;:::o;3071:139::-;3117:5;3155:6;3142:20;3133:29;;3171:33;3198:5;3171:33;:::i;:::-;3071:139;;;;:::o;3216:329::-;3275:6;3324:2;3312:9;3303:7;3299:23;3295:32;3292:119;;;3330:79;;:::i;:::-;3292:119;3450:1;3475:53;3520:7;3511:6;3500:9;3496:22;3475:53;:::i;:::-;3465:63;;3421:117;3216:329;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:86::-;4925:7;4965:4;4958:5;4954:16;4943:27;;4890:86;;;:::o;4982:112::-;5065:22;5081:5;5065:22;:::i;:::-;5060:3;5053:35;4982:112;;:::o;5100:214::-;5189:4;5227:2;5216:9;5212:18;5204:26;;5240:67;5304:1;5293:9;5289:17;5280:6;5240:67;:::i;:::-;5100:214;;;;:::o;5320:118::-;5407:24;5425:5;5407:24;:::i;:::-;5402:3;5395:37;5320:118;;:::o;5444:222::-;5537:4;5575:2;5564:9;5560:18;5552:26;;5588:71;5656:1;5645:9;5641:17;5632:6;5588:71;:::i;:::-;5444:222;;;;:::o;5672:619::-;5749:6;5757;5765;5814:2;5802:9;5793:7;5789:23;5785:32;5782:119;;;5820:79;;:::i;:::-;5782:119;5940:1;5965:53;6010:7;6001:6;5990:9;5986:22;5965:53;:::i;:::-;5955:63;;5911:117;6067:2;6093:53;6138:7;6129:6;6118:9;6114:22;6093:53;:::i;:::-;6083:63;;6038:118;6195:2;6221:53;6266:7;6257:6;6246:9;6242:22;6221:53;:::i;:::-;6211:63;;6166:118;5672:619;;;;;:::o;6297:329::-;6356:6;6405:2;6393:9;6384:7;6380:23;6376:32;6373:119;;;6411:79;;:::i;:::-;6373:119;6531:1;6556:53;6601:7;6592:6;6581:9;6577:22;6556:53;:::i;:::-;6546:63;;6502:117;6297:329;;;;:::o;6632:116::-;6702:21;6717:5;6702:21;:::i;:::-;6695:5;6692:32;6682:60;;6738:1;6735;6728:12;6682:60;6632:116;:::o;6754:133::-;6797:5;6835:6;6822:20;6813:29;;6851:30;6875:5;6851:30;:::i;:::-;6754:133;;;;:::o;6893:468::-;6958:6;6966;7015:2;7003:9;6994:7;6990:23;6986:32;6983:119;;;7021:79;;:::i;:::-;6983:119;7141:1;7166:53;7211:7;7202:6;7191:9;7187:22;7166:53;:::i;:::-;7156:63;;7112:117;7268:2;7294:50;7336:7;7327:6;7316:9;7312:22;7294:50;:::i;:::-;7284:60;;7239:115;6893:468;;;;;:::o;7367:117::-;7476:1;7473;7466:12;7490:117;7599:1;7596;7589:12;7613:180;7661:77;7658:1;7651:88;7758:4;7755:1;7748:15;7782:4;7779:1;7772:15;7799:281;7882:27;7904:4;7882:27;:::i;:::-;7874:6;7870:40;8012:6;8000:10;7997:22;7976:18;7964:10;7961:34;7958:62;7955:88;;;8023:18;;:::i;:::-;7955:88;8063:10;8059:2;8052:22;7842:238;7799:281;;:::o;8086:129::-;8120:6;8147:20;;:::i;:::-;8137:30;;8176:33;8204:4;8196:6;8176:33;:::i;:::-;8086:129;;;:::o;8221:307::-;8282:4;8372:18;8364:6;8361:30;8358:56;;;8394:18;;:::i;:::-;8358:56;8432:29;8454:6;8432:29;:::i;:::-;8424:37;;8516:4;8510;8506:15;8498:23;;8221:307;;;:::o;8534:146::-;8631:6;8626:3;8621;8608:30;8672:1;8663:6;8658:3;8654:16;8647:27;8534:146;;;:::o;8686:423::-;8763:5;8788:65;8804:48;8845:6;8804:48;:::i;:::-;8788:65;:::i;:::-;8779:74;;8876:6;8869:5;8862:21;8914:4;8907:5;8903:16;8952:3;8943:6;8938:3;8934:16;8931:25;8928:112;;;8959:79;;:::i;:::-;8928:112;9049:54;9096:6;9091:3;9086;9049:54;:::i;:::-;8769:340;8686:423;;;;;:::o;9128:338::-;9183:5;9232:3;9225:4;9217:6;9213:17;9209:27;9199:122;;9240:79;;:::i;:::-;9199:122;9357:6;9344:20;9382:78;9456:3;9448:6;9441:4;9433:6;9429:17;9382:78;:::i;:::-;9373:87;;9189:277;9128:338;;;;:::o;9472:943::-;9567:6;9575;9583;9591;9640:3;9628:9;9619:7;9615:23;9611:33;9608:120;;;9647:79;;:::i;:::-;9608:120;9767:1;9792:53;9837:7;9828:6;9817:9;9813:22;9792:53;:::i;:::-;9782:63;;9738:117;9894:2;9920:53;9965:7;9956:6;9945:9;9941:22;9920:53;:::i;:::-;9910:63;;9865:118;10022:2;10048:53;10093:7;10084:6;10073:9;10069:22;10048:53;:::i;:::-;10038:63;;9993:118;10178:2;10167:9;10163:18;10150:32;10209:18;10201:6;10198:30;10195:117;;;10231:79;;:::i;:::-;10195:117;10336:62;10390:7;10381:6;10370:9;10366:22;10336:62;:::i;:::-;10326:72;;10121:287;9472:943;;;;;;;:::o;10421:474::-;10489:6;10497;10546:2;10534:9;10525:7;10521:23;10517:32;10514:119;;;10552:79;;:::i;:::-;10514:119;10672:1;10697:53;10742:7;10733:6;10722:9;10718:22;10697:53;:::i;:::-;10687:63;;10643:117;10799:2;10825:53;10870:7;10861:6;10850:9;10846:22;10825:53;:::i;:::-;10815:63;;10770:118;10421:474;;;;;:::o;10901:89::-;10937:7;10977:6;10970:5;10966:18;10955:29;;10901:89;;;:::o;10996:115::-;11081:23;11098:5;11081:23;:::i;:::-;11076:3;11069:36;10996:115;;:::o;11117:218::-;11208:4;11246:2;11235:9;11231:18;11223:26;;11259:69;11325:1;11314:9;11310:17;11301:6;11259:69;:::i;:::-;11117:218;;;;:::o;11341:120::-;11413:23;11430:5;11413:23;:::i;:::-;11406:5;11403:34;11393:62;;11451:1;11448;11441:12;11393:62;11341:120;:::o;11467:137::-;11512:5;11550:6;11537:20;11528:29;;11566:32;11592:5;11566:32;:::i;:::-;11467:137;;;;:::o;11610:327::-;11668:6;11717:2;11705:9;11696:7;11692:23;11688:32;11685:119;;;11723:79;;:::i;:::-;11685:119;11843:1;11868:52;11912:7;11903:6;11892:9;11888:22;11868:52;:::i;:::-;11858:62;;11814:116;11610:327;;;;:::o;11943:180::-;11991:77;11988:1;11981:88;12088:4;12085:1;12078:15;12112:4;12109:1;12102:15;12129:320;12173:6;12210:1;12204:4;12200:12;12190:22;;12257:1;12251:4;12247:12;12278:18;12268:81;;12334:4;12326:6;12322:17;12312:27;;12268:81;12396:2;12388:6;12385:14;12365:18;12362:38;12359:84;;12415:18;;:::i;:::-;12359:84;12180:269;12129:320;;;:::o;12455:147::-;12556:11;12593:3;12578:18;;12455:147;;;;:::o;12608:114::-;;:::o;12728:398::-;12887:3;12908:83;12989:1;12984:3;12908:83;:::i;:::-;12901:90;;13000:93;13089:3;13000:93;:::i;:::-;13118:1;13113:3;13109:11;13102:18;;12728:398;;;:::o;13132:379::-;13316:3;13338:147;13481:3;13338:147;:::i;:::-;13331:154;;13502:3;13495:10;;13132:379;;;:::o;13517:172::-;13657:24;13653:1;13645:6;13641:14;13634:48;13517:172;:::o;13695:366::-;13837:3;13858:67;13922:2;13917:3;13858:67;:::i;:::-;13851:74;;13934:93;14023:3;13934:93;:::i;:::-;14052:2;14047:3;14043:12;14036:19;;13695:366;;;:::o;14067:419::-;14233:4;14271:2;14260:9;14256:18;14248:26;;14320:9;14314:4;14310:20;14306:1;14295:9;14291:17;14284:47;14348:131;14474:4;14348:131;:::i;:::-;14340:139;;14067:419;;;:::o;14492:148::-;14594:11;14631:3;14616:18;;14492:148;;;;:::o;14646:390::-;14752:3;14780:39;14813:5;14780:39;:::i;:::-;14835:89;14917:6;14912:3;14835:89;:::i;:::-;14828:96;;14933:65;14991:6;14986:3;14979:4;14972:5;14968:16;14933:65;:::i;:::-;15023:6;15018:3;15014:16;15007:23;;14756:280;14646:390;;;;:::o;15042:435::-;15222:3;15244:95;15335:3;15326:6;15244:95;:::i;:::-;15237:102;;15356:95;15447:3;15438:6;15356:95;:::i;:::-;15349:102;;15468:3;15461:10;;15042:435;;;;;:::o;15483:225::-;15623:34;15619:1;15611:6;15607:14;15600:58;15692:8;15687:2;15679:6;15675:15;15668:33;15483:225;:::o;15714:366::-;15856:3;15877:67;15941:2;15936:3;15877:67;:::i;:::-;15870:74;;15953:93;16042:3;15953:93;:::i;:::-;16071:2;16066:3;16062:12;16055:19;;15714:366;;;:::o;16086:419::-;16252:4;16290:2;16279:9;16275:18;16267:26;;16339:9;16333:4;16329:20;16325:1;16314:9;16310:17;16303:47;16367:131;16493:4;16367:131;:::i;:::-;16359:139;;16086:419;;;:::o;16511:178::-;16651:30;16647:1;16639:6;16635:14;16628:54;16511:178;:::o;16695:366::-;16837:3;16858:67;16922:2;16917:3;16858:67;:::i;:::-;16851:74;;16934:93;17023:3;16934:93;:::i;:::-;17052:2;17047:3;17043:12;17036:19;;16695:366;;;:::o;17067:419::-;17233:4;17271:2;17260:9;17256:18;17248:26;;17320:9;17314:4;17310:20;17306:1;17295:9;17291:17;17284:47;17348:131;17474:4;17348:131;:::i;:::-;17340:139;;17067:419;;;:::o;17492:180::-;17540:77;17537:1;17530:88;17637:4;17634:1;17627:15;17661:4;17658:1;17651:15;17678:191;17718:3;17737:20;17755:1;17737:20;:::i;:::-;17732:25;;17771:20;17789:1;17771:20;:::i;:::-;17766:25;;17814:1;17811;17807:9;17800:16;;17835:3;17832:1;17829:10;17826:36;;;17842:18;;:::i;:::-;17826:36;17678:191;;;;:::o;17875:239::-;18015:34;18011:1;18003:6;17999:14;17992:58;18084:22;18079:2;18071:6;18067:15;18060:47;17875:239;:::o;18120:366::-;18262:3;18283:67;18347:2;18342:3;18283:67;:::i;:::-;18276:74;;18359:93;18448:3;18359:93;:::i;:::-;18477:2;18472:3;18468:12;18461:19;;18120:366;;;:::o;18492:419::-;18658:4;18696:2;18685:9;18681:18;18673:26;;18745:9;18739:4;18735:20;18731:1;18720:9;18716:17;18709:47;18773:131;18899:4;18773:131;:::i;:::-;18765:139;;18492:419;;;:::o;18917:228::-;19057:34;19053:1;19045:6;19041:14;19034:58;19126:11;19121:2;19113:6;19109:15;19102:36;18917:228;:::o;19151:366::-;19293:3;19314:67;19378:2;19373:3;19314:67;:::i;:::-;19307:74;;19390:93;19479:3;19390:93;:::i;:::-;19508:2;19503:3;19499:12;19492:19;;19151:366;;;:::o;19523:419::-;19689:4;19727:2;19716:9;19712:18;19704:26;;19776:9;19770:4;19766:20;19762:1;19751:9;19747:17;19740:47;19804:131;19930:4;19804:131;:::i;:::-;19796:139;;19523:419;;;:::o;19948:251::-;20088:34;20084:1;20076:6;20072:14;20065:58;20157:34;20152:2;20144:6;20140:15;20133:59;19948:251;:::o;20205:366::-;20347:3;20368:67;20432:2;20427:3;20368:67;:::i;:::-;20361:74;;20444:93;20533:3;20444:93;:::i;:::-;20562:2;20557:3;20553:12;20546:19;;20205:366;;;:::o;20577:419::-;20743:4;20781:2;20770:9;20766:18;20758:26;;20830:9;20824:4;20820:20;20816:1;20805:9;20801:17;20794:47;20858:131;20984:4;20858:131;:::i;:::-;20850:139;;20577:419;;;:::o;21002:242::-;21142:34;21138:1;21130:6;21126:14;21119:58;21211:25;21206:2;21198:6;21194:15;21187:50;21002:242;:::o;21250:366::-;21392:3;21413:67;21477:2;21472:3;21413:67;:::i;:::-;21406:74;;21489:93;21578:3;21489:93;:::i;:::-;21607:2;21602:3;21598:12;21591:19;;21250:366;;;:::o;21622:419::-;21788:4;21826:2;21815:9;21811:18;21803:26;;21875:9;21869:4;21865:20;21861:1;21850:9;21846:17;21839:47;21903:131;22029:4;21903:131;:::i;:::-;21895:139;;21622:419;;;:::o;22047:179::-;22187:31;22183:1;22175:6;22171:14;22164:55;22047:179;:::o;22232:366::-;22374:3;22395:67;22459:2;22454:3;22395:67;:::i;:::-;22388:74;;22471:93;22560:3;22471:93;:::i;:::-;22589:2;22584:3;22580:12;22573:19;;22232:366;;;:::o;22604:419::-;22770:4;22808:2;22797:9;22793:18;22785:26;;22857:9;22851:4;22847:20;22843:1;22832:9;22828:17;22821:47;22885:131;23011:4;22885:131;:::i;:::-;22877:139;;22604:419;;;:::o;23029:182::-;23169:34;23165:1;23157:6;23153:14;23146:58;23029:182;:::o;23217:366::-;23359:3;23380:67;23444:2;23439:3;23380:67;:::i;:::-;23373:74;;23456:93;23545:3;23456:93;:::i;:::-;23574:2;23569:3;23565:12;23558:19;;23217:366;;;:::o;23589:419::-;23755:4;23793:2;23782:9;23778:18;23770:26;;23842:9;23836:4;23832:20;23828:1;23817:9;23813:17;23806:47;23870:131;23996:4;23870:131;:::i;:::-;23862:139;;23589:419;;;:::o;24014:98::-;24065:6;24099:5;24093:12;24083:22;;24014:98;;;:::o;24118:168::-;24201:11;24235:6;24230:3;24223:19;24275:4;24270:3;24266:14;24251:29;;24118:168;;;;:::o;24292:373::-;24378:3;24406:38;24438:5;24406:38;:::i;:::-;24460:70;24523:6;24518:3;24460:70;:::i;:::-;24453:77;;24539:65;24597:6;24592:3;24585:4;24578:5;24574:16;24539:65;:::i;:::-;24629:29;24651:6;24629:29;:::i;:::-;24624:3;24620:39;24613:46;;24382:283;24292:373;;;;:::o;24671:640::-;24866:4;24904:3;24893:9;24889:19;24881:27;;24918:71;24986:1;24975:9;24971:17;24962:6;24918:71;:::i;:::-;24999:72;25067:2;25056:9;25052:18;25043:6;24999:72;:::i;:::-;25081;25149:2;25138:9;25134:18;25125:6;25081:72;:::i;:::-;25200:9;25194:4;25190:20;25185:2;25174:9;25170:18;25163:48;25228:76;25299:4;25290:6;25228:76;:::i;:::-;25220:84;;24671:640;;;;;;;:::o;25317:141::-;25373:5;25404:6;25398:13;25389:22;;25420:32;25446:5;25420:32;:::i;:::-;25317:141;;;;:::o;25464:349::-;25533:6;25582:2;25570:9;25561:7;25557:23;25553:32;25550:119;;;25588:79;;:::i;:::-;25550:119;25708:1;25733:63;25788:7;25779:6;25768:9;25764:22;25733:63;:::i;:::-;25723:73;;25679:127;25464:349;;;;:::o
Swarm Source
ipfs://4734b1e8e7b91be6bd8057d930fbfdac19cb98c560f68ec60471543f611bb536
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.