Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,045 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21172767 | 32 days ago | IN | 0 ETH | 0.00165358 | ||||
Set Approval For... | 20604290 | 112 days ago | IN | 0 ETH | 0.00004669 | ||||
Set Approval For... | 18099668 | 462 days ago | IN | 0 ETH | 0.00050013 | ||||
Set Approval For... | 18099650 | 462 days ago | IN | 0 ETH | 0.00094218 | ||||
Set Approval For... | 17570474 | 536 days ago | IN | 0 ETH | 0.00076829 | ||||
Safe Transfer Fr... | 17563577 | 537 days ago | IN | 0 ETH | 0.00090916 | ||||
Safe Transfer Fr... | 17562216 | 538 days ago | IN | 0 ETH | 0.00095231 | ||||
Set Approval For... | 17032271 | 612 days ago | IN | 0 ETH | 0.00100602 | ||||
Set Approval For... | 16909943 | 630 days ago | IN | 0 ETH | 0.00058187 | ||||
Set Approval For... | 16901102 | 631 days ago | IN | 0 ETH | 0.00089483 | ||||
Set Approval For... | 16699743 | 659 days ago | IN | 0 ETH | 0.0014748 | ||||
Set Approval For... | 16633587 | 668 days ago | IN | 0 ETH | 0.00101952 | ||||
Set Approval For... | 16284672 | 717 days ago | IN | 0 ETH | 0.00102262 | ||||
Safe Transfer Fr... | 16238269 | 724 days ago | IN | 0 ETH | 0.00103469 | ||||
Set Approval For... | 16125623 | 739 days ago | IN | 0 ETH | 0.00066029 | ||||
Set Approval For... | 16099740 | 743 days ago | IN | 0 ETH | 0.00085038 | ||||
Set Approval For... | 16084617 | 745 days ago | IN | 0 ETH | 0.00088572 | ||||
Set Approval For... | 16079602 | 746 days ago | IN | 0 ETH | 0.00052405 | ||||
Set Approval For... | 16077915 | 746 days ago | IN | 0 ETH | 0.00082677 | ||||
Set Approval For... | 16077640 | 746 days ago | IN | 0 ETH | 0.00110242 | ||||
Set Approval For... | 16077457 | 746 days ago | IN | 0 ETH | 0.00059268 | ||||
Set Approval For... | 16077415 | 746 days ago | IN | 0 ETH | 0.00083227 | ||||
Set Approval For... | 16077402 | 746 days ago | IN | 0 ETH | 0.00079717 | ||||
Set Approval For... | 16077384 | 746 days ago | IN | 0 ETH | 0.00073759 | ||||
Set Approval For... | 16077384 | 746 days ago | IN | 0 ETH | 0.00073759 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
16077195 | 746 days ago | 0.998 ETH |
Loading...
Loading
Contract Name:
ButtPunksz
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-29 */ /** *Submitted for verification at Etherscan.io on 2022-10-27 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.17; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if ( !( operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender) && operatorFilterRegistry.isOperatorAllowed(address(this), from) ) ) { revert OperatorNotAllowed(msg.sender); } } _; } } abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } /** * @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(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // 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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](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); } contract ERC721 is IERC721A { address private _owner; function owner() public view returns(address){ return _owner; } modifier onlyOwner() { require(_owner==msg.sender); _; } uint256 public constant MAX_SUPPLY = 2000; uint256 public MAX_FREE = 1566; uint256 public MAX_FREE_PER_WALLET = 1; uint256 public COST = 0.001 ether; string private constant _name = "ButtPunksz"; string private constant _symbol = "ButtPunksz"; string public constant contractURI = "ipfs://abc"; string private _baseURI = "abc"; constructor() { _owner = msg.sender; } function mint(uint256 amount) external payable{ address _caller = _msgSenderERC721A(); require(totalSupply() + amount <= MAX_SUPPLY, "SoldOut"); require(amount*COST <= msg.value, "Value to Low"); _mint(_caller, amount); } function freeMint() external{ address _caller = _msgSenderERC721A(); uint256 amount = 1; require(totalSupply() + amount <= MAX_FREE, "Freemint SoldOut"); require(amount + _numberMinted(_caller) <= MAX_FREE_PER_WALLET, "Max per Wallet"); _mint(_caller, amount); } // 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 tokenId of the next token to be minted. uint256 private _currentIndex = 0; // The number of tokens burned. // uint256 private _burnCounter; // 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` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; function setData(string memory _base) external onlyOwner{ _baseURI = _base; } function setConfig(uint256 _MAX_FREE_PER_WALLET, uint256 _COST, uint256 _MAX_FREE) external onlyOwner{ MAX_FREE_PER_WALLET = _MAX_FREE_PER_WALLET; COST = _COST; MAX_FREE = _MAX_FREE; } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (_addressToUint256(owner) == 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 auxillary 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } 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("ipfs://", baseURI, "/", _toString(tokenId), ".json")) : ""; } /* function contractURI() public view returns (string memory) { return string(abi.encodePacked("ipfs://", _contractURI)); } */ /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ /* function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } */ /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ /* function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; //if (_addressToUint256(to) == 0) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } */ /** * @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. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (_addressToUint256(to) == 0) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); address approvedAddress = _tokenApprovals[tokenId]; bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); //X if (_addressToUint256(to) == 0) revert TransferToZeroAddress(); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { delete _tokenApprovals[tokenId]; } // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // 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 Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } } contract ButtPunksz is ERC721, DefaultOperatorFilterer{ function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"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":"COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MAX_FREE_PER_WALLET","type":"uint256"},{"internalType":"uint256","name":"_COST","type":"uint256"},{"internalType":"uint256","name":"_MAX_FREE","type":"uint256"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_base","type":"string"}],"name":"setData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61061e600190815560025566038d7ea4c68000600390815560c060405260809081526261626360e81b60a0526004906200003a908262000269565b5060006005553480156200004d57600080fd5b50600080546001600160a01b03191633179055733cc6cdda760b79bafa08df41ecfa224f810dceb660016daaeb6d7670e522a718067333cd4e3b15620001bc5780156200010a57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000eb57600080fd5b505af115801562000100573d6000803e3d6000fd5b50505050620001bc565b6001600160a01b038216156200015b5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000d0565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001a257600080fd5b505af1158015620001b7573d6000803e3d6000fd5b505050505b505062000335565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001ef57607f821691505b6020821081036200021057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026457600081815260208120601f850160051c810160208610156200023f5750805b601f850160051c820191505b8181101562000260578281556001016200024b565b5050505b505050565b81516001600160401b03811115620002855762000285620001c4565b6200029d81620002968454620001da565b8462000216565b602080601f831160018114620002d55760008415620002bc5750858301515b600019600386901b1c1916600185901b17855562000260565b600085815260208120601f198616915b828110156200030657888601518255948401946001909101908401620002e5565b5085821015620003255787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6116e080620003456000396000f3fe6080604052600436106101665760003560e01c80636352211e116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd146103f2578063e8a3d48514610412578063e985e9c514610448578063ed6661c21461046857600080fd5b8063a22cb4651461039c578063b88d4fde146103bc578063bf8fbbd2146103dc57600080fd5b80636352211e1461031557806370a08231146103355780638da5cb5b1461035557806395d89b41146101a057806398710d1e14610373578063a0712d681461038957600080fd5b806323b872dd1161012357806323b872dd1461027557806332cb6b0c146102955780633ccfd60b146102ab57806342842e0e146102c057806347064d6a146102e05780635b70ea9f1461030057600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101dc578063095ea7b314610214578063129ee21a1461023657806318160ddd14610256575b600080fd5b34801561017757600080fd5b5061018b610186366004611175565b61047e565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b5060408051808201909152600a815269213aba3a283ab735b9bd60b11b60208201525b60405161019791906111c3565b3480156101e857600080fd5b506101fc6101f73660046111f6565b6104d0565b6040516001600160a01b039091168152602001610197565b34801561022057600080fd5b5061023461022f36600461122b565b610516565b005b34801561024257600080fd5b50610234610251366004611255565b6105d4565b34801561026257600080fd5b506005545b604051908152602001610197565b34801561028157600080fd5b50610234610290366004611281565b6105f9565b3480156102a157600080fd5b506102676107d081565b3480156102b757600080fd5b5061023461075a565b3480156102cc57600080fd5b506102346102db366004611281565b6107a4565b3480156102ec57600080fd5b506102346102fb366004611349565b6108f5565b34801561030c57600080fd5b50610234610918565b34801561032157600080fd5b506101fc6103303660046111f6565b6109f0565b34801561034157600080fd5b5061026761035036600461139a565b6109fb565b34801561036157600080fd5b506000546001600160a01b03166101fc565b34801561037f57600080fd5b5061026760025481565b6102346103973660046111f6565b610a44565b3480156103a857600080fd5b506102346103b73660046113c6565b610aea565b3480156103c857600080fd5b506102346103d73660046113fd565b610b7f565b3480156103e857600080fd5b5061026760035481565b3480156103fe57600080fd5b506101cf61040d3660046111f6565b610cde565b34801561041e57600080fd5b506101cf6040518060400160405280600a815260200169697066733a2f2f61626360b01b81525081565b34801561045457600080fd5b5061018b610463366004611479565b610de7565b34801561047457600080fd5b5061026760015481565b60006301ffc9a760e01b6001600160e01b0319831614806104af57506380ac58cd60e01b6001600160e01b03198316145b806104ca5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60006104dd826005541190565b6104fa576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061052182610e15565b9050806001600160a01b0316836001600160a01b03160361054157600080fd5b336001600160a01b038216146105785761055b8133610de7565b610578576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146105eb57600080fd5b600292909255600355600155565b826daaeb6d7670e522a718067333cd4e3b1561074957336001600160a01b0382160361062f5761062a848484610e7c565b610754565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561067e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a291906114ac565b80156107255750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610701573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072591906114ac565b61074957604051633b79c77360e21b81523360048201526024015b60405180910390fd5b610754848484610e7c565b50505050565b6000546001600160a01b0316331461077157600080fd5b6040514790339082156108fc029083906000818181858888f193505050501580156107a0573d6000803e3d6000fd5b5050565b826daaeb6d7670e522a718067333cd4e3b156108ea57336001600160a01b038216036107d55761062a848484610e8c565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610824573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084891906114ac565b80156108cb5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156108a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cb91906114ac565b6108ea57604051633b79c77360e21b8152336004820152602401610740565b610754848484610e8c565b6000546001600160a01b0316331461090c57600080fd5b60046107a08282611549565b600180543391908161092960055490565b610933919061161f565b11156109745760405162461bcd60e51b815260206004820152601060248201526f119c99595b5a5b9d0814dbdb1913dd5d60821b6044820152606401610740565b6002546001600160a01b03831660009081526007602052604090819020546109a7911c67ffffffffffffffff168361161f565b11156109e65760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c8815d85b1b195d60921b6044820152606401610740565b6107a08282610ea7565b60006104ca82610e15565b600081600003610a1e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b336107d082610a5260055490565b610a5c919061161f565b1115610a945760405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b6044820152606401610740565b3460035483610aa39190611632565b1115610ae05760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b6044820152606401610740565b6107a08183610ea7565b336001600160a01b03831603610b135760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836daaeb6d7670e522a718067333cd4e3b15610ccb57336001600160a01b03821603610bb657610bb185858585610f82565b610cd7565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2991906114ac565b8015610cac5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cac91906114ac565b610ccb57604051633b79c77360e21b8152336004820152602401610740565b610cd785858585610f82565b5050505050565b6060610ceb826005541190565b610d0857604051630a14c4b560e41b815260040160405180910390fd5b600060048054610d17906114c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610d43906114c9565b8015610d905780601f10610d6557610100808354040283529160200191610d90565b820191906000526020600020905b815481529060010190602001808311610d7357829003601f168201915b505050505090508051600003610db55760405180602001604052806000815250610de0565b80610dbf84610f8d565b604051602001610dd0929190611649565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b600081600554811015610e635760008181526006602052604081205490600160e01b82169003610e61575b80600003610de0575060001901600081815260066020526040902054610e40565b505b604051636f96cda160e11b815260040160405180910390fd5b610e87838383610fdc565b505050565b610e8783838360405180602001604052806000815250610b7f565b60055482600003610eca57604051622e076360e81b815260040160405180910390fd5b81600003610eeb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526007602090815260408083208054680100000000000000018702019055838352600690915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f365750600555505050565b610754848484610fdc565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610fca57600183039250600a81066030018353600a9004610fac565b50819003601f19909101908152919050565b6000610fe782610e15565b9050836001600160a01b0316816001600160a01b03161461101a5760405162a1148160e81b815260040160405180910390fd5b6000828152600860205260408120546001600160a01b039081169190861633148061104a575061104a8633610de7565b8061105d57506001600160a01b03821633145b90508061107d57604051632ce44b5f60e11b815260040160405180910390fd5b81156110a057600084815260086020526040902080546001600160a01b03191690555b6001600160a01b038681166000908152600760209081526040808320805460001901905592881682528282208054600101905586825260069052908120600160e11b4260a01b881781179091558416900361112b576001840160008181526006602052604081205490036111295760055481146111295760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60006020828403121561118757600080fd5b81356001600160e01b031981168114610de057600080fd5b60005b838110156111ba5781810151838201526020016111a2565b50506000910152565b60208152600082518060208401526111e281604085016020870161119f565b601f01601f19169190910160400192915050565b60006020828403121561120857600080fd5b5035919050565b80356001600160a01b038116811461122657600080fd5b919050565b6000806040838503121561123e57600080fd5b6112478361120f565b946020939093013593505050565b60008060006060848603121561126a57600080fd5b505081359360208301359350604090920135919050565b60008060006060848603121561129657600080fd5b61129f8461120f565b92506112ad6020850161120f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156112ee576112ee6112bd565b604051601f8501601f19908116603f01168101908282118183101715611316576113166112bd565b8160405280935085815286868601111561132f57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561135b57600080fd5b813567ffffffffffffffff81111561137257600080fd5b8201601f8101841361138357600080fd5b611392848235602084016112d3565b949350505050565b6000602082840312156113ac57600080fd5b610de08261120f565b80151581146113c357600080fd5b50565b600080604083850312156113d957600080fd5b6113e28361120f565b915060208301356113f2816113b5565b809150509250929050565b6000806000806080858703121561141357600080fd5b61141c8561120f565b935061142a6020860161120f565b925060408501359150606085013567ffffffffffffffff81111561144d57600080fd5b8501601f8101871361145e57600080fd5b61146d878235602084016112d3565b91505092959194509250565b6000806040838503121561148c57600080fd5b6114958361120f565b91506114a36020840161120f565b90509250929050565b6000602082840312156114be57600080fd5b8151610de0816113b5565b600181811c908216806114dd57607f821691505b6020821081036114fd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610e8757600081815260208120601f850160051c8101602086101561152a5750805b601f850160051c820191505b8181101561116d57828155600101611536565b815167ffffffffffffffff811115611563576115636112bd565b6115778161157184546114c9565b84611503565b602080601f8311600181146115ac57600084156115945750858301515b600019600386901b1c1916600185901b17855561116d565b600085815260208120601f198616915b828110156115db578886015182559484019460019091019084016115bc565b50858210156115f95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808201808211156104ca576104ca611609565b80820281158282048414176104ca576104ca611609565b66697066733a2f2f60c81b81526000835161166b81600785016020880161119f565b602f60f81b600791840191820152835161168c81600884016020880161119f565b64173539b7b760d91b60089290910191820152600d0194935050505056fea26469706673582212200cc6927b7fb549a3b08011fb45e389955fe48aff6605df78ff1a98d82d19da1364736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101665760003560e01c80636352211e116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd146103f2578063e8a3d48514610412578063e985e9c514610448578063ed6661c21461046857600080fd5b8063a22cb4651461039c578063b88d4fde146103bc578063bf8fbbd2146103dc57600080fd5b80636352211e1461031557806370a08231146103355780638da5cb5b1461035557806395d89b41146101a057806398710d1e14610373578063a0712d681461038957600080fd5b806323b872dd1161012357806323b872dd1461027557806332cb6b0c146102955780633ccfd60b146102ab57806342842e0e146102c057806347064d6a146102e05780635b70ea9f1461030057600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101dc578063095ea7b314610214578063129ee21a1461023657806318160ddd14610256575b600080fd5b34801561017757600080fd5b5061018b610186366004611175565b61047e565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b5060408051808201909152600a815269213aba3a283ab735b9bd60b11b60208201525b60405161019791906111c3565b3480156101e857600080fd5b506101fc6101f73660046111f6565b6104d0565b6040516001600160a01b039091168152602001610197565b34801561022057600080fd5b5061023461022f36600461122b565b610516565b005b34801561024257600080fd5b50610234610251366004611255565b6105d4565b34801561026257600080fd5b506005545b604051908152602001610197565b34801561028157600080fd5b50610234610290366004611281565b6105f9565b3480156102a157600080fd5b506102676107d081565b3480156102b757600080fd5b5061023461075a565b3480156102cc57600080fd5b506102346102db366004611281565b6107a4565b3480156102ec57600080fd5b506102346102fb366004611349565b6108f5565b34801561030c57600080fd5b50610234610918565b34801561032157600080fd5b506101fc6103303660046111f6565b6109f0565b34801561034157600080fd5b5061026761035036600461139a565b6109fb565b34801561036157600080fd5b506000546001600160a01b03166101fc565b34801561037f57600080fd5b5061026760025481565b6102346103973660046111f6565b610a44565b3480156103a857600080fd5b506102346103b73660046113c6565b610aea565b3480156103c857600080fd5b506102346103d73660046113fd565b610b7f565b3480156103e857600080fd5b5061026760035481565b3480156103fe57600080fd5b506101cf61040d3660046111f6565b610cde565b34801561041e57600080fd5b506101cf6040518060400160405280600a815260200169697066733a2f2f61626360b01b81525081565b34801561045457600080fd5b5061018b610463366004611479565b610de7565b34801561047457600080fd5b5061026760015481565b60006301ffc9a760e01b6001600160e01b0319831614806104af57506380ac58cd60e01b6001600160e01b03198316145b806104ca5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60006104dd826005541190565b6104fa576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061052182610e15565b9050806001600160a01b0316836001600160a01b03160361054157600080fd5b336001600160a01b038216146105785761055b8133610de7565b610578576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146105eb57600080fd5b600292909255600355600155565b826daaeb6d7670e522a718067333cd4e3b1561074957336001600160a01b0382160361062f5761062a848484610e7c565b610754565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561067e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a291906114ac565b80156107255750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610701573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072591906114ac565b61074957604051633b79c77360e21b81523360048201526024015b60405180910390fd5b610754848484610e7c565b50505050565b6000546001600160a01b0316331461077157600080fd5b6040514790339082156108fc029083906000818181858888f193505050501580156107a0573d6000803e3d6000fd5b5050565b826daaeb6d7670e522a718067333cd4e3b156108ea57336001600160a01b038216036107d55761062a848484610e8c565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610824573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084891906114ac565b80156108cb5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156108a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cb91906114ac565b6108ea57604051633b79c77360e21b8152336004820152602401610740565b610754848484610e8c565b6000546001600160a01b0316331461090c57600080fd5b60046107a08282611549565b600180543391908161092960055490565b610933919061161f565b11156109745760405162461bcd60e51b815260206004820152601060248201526f119c99595b5a5b9d0814dbdb1913dd5d60821b6044820152606401610740565b6002546001600160a01b03831660009081526007602052604090819020546109a7911c67ffffffffffffffff168361161f565b11156109e65760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c8815d85b1b195d60921b6044820152606401610740565b6107a08282610ea7565b60006104ca82610e15565b600081600003610a1e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b336107d082610a5260055490565b610a5c919061161f565b1115610a945760405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b6044820152606401610740565b3460035483610aa39190611632565b1115610ae05760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b6044820152606401610740565b6107a08183610ea7565b336001600160a01b03831603610b135760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836daaeb6d7670e522a718067333cd4e3b15610ccb57336001600160a01b03821603610bb657610bb185858585610f82565b610cd7565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2991906114ac565b8015610cac5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cac91906114ac565b610ccb57604051633b79c77360e21b8152336004820152602401610740565b610cd785858585610f82565b5050505050565b6060610ceb826005541190565b610d0857604051630a14c4b560e41b815260040160405180910390fd5b600060048054610d17906114c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610d43906114c9565b8015610d905780601f10610d6557610100808354040283529160200191610d90565b820191906000526020600020905b815481529060010190602001808311610d7357829003601f168201915b505050505090508051600003610db55760405180602001604052806000815250610de0565b80610dbf84610f8d565b604051602001610dd0929190611649565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b600081600554811015610e635760008181526006602052604081205490600160e01b82169003610e61575b80600003610de0575060001901600081815260066020526040902054610e40565b505b604051636f96cda160e11b815260040160405180910390fd5b610e87838383610fdc565b505050565b610e8783838360405180602001604052806000815250610b7f565b60055482600003610eca57604051622e076360e81b815260040160405180910390fd5b81600003610eeb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526007602090815260408083208054680100000000000000018702019055838352600690915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f365750600555505050565b610754848484610fdc565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610fca57600183039250600a81066030018353600a9004610fac565b50819003601f19909101908152919050565b6000610fe782610e15565b9050836001600160a01b0316816001600160a01b03161461101a5760405162a1148160e81b815260040160405180910390fd5b6000828152600860205260408120546001600160a01b039081169190861633148061104a575061104a8633610de7565b8061105d57506001600160a01b03821633145b90508061107d57604051632ce44b5f60e11b815260040160405180910390fd5b81156110a057600084815260086020526040902080546001600160a01b03191690555b6001600160a01b038681166000908152600760209081526040808320805460001901905592881682528282208054600101905586825260069052908120600160e11b4260a01b881781179091558416900361112b576001840160008181526006602052604081205490036111295760055481146111295760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60006020828403121561118757600080fd5b81356001600160e01b031981168114610de057600080fd5b60005b838110156111ba5781810151838201526020016111a2565b50506000910152565b60208152600082518060208401526111e281604085016020870161119f565b601f01601f19169190910160400192915050565b60006020828403121561120857600080fd5b5035919050565b80356001600160a01b038116811461122657600080fd5b919050565b6000806040838503121561123e57600080fd5b6112478361120f565b946020939093013593505050565b60008060006060848603121561126a57600080fd5b505081359360208301359350604090920135919050565b60008060006060848603121561129657600080fd5b61129f8461120f565b92506112ad6020850161120f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156112ee576112ee6112bd565b604051601f8501601f19908116603f01168101908282118183101715611316576113166112bd565b8160405280935085815286868601111561132f57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561135b57600080fd5b813567ffffffffffffffff81111561137257600080fd5b8201601f8101841361138357600080fd5b611392848235602084016112d3565b949350505050565b6000602082840312156113ac57600080fd5b610de08261120f565b80151581146113c357600080fd5b50565b600080604083850312156113d957600080fd5b6113e28361120f565b915060208301356113f2816113b5565b809150509250929050565b6000806000806080858703121561141357600080fd5b61141c8561120f565b935061142a6020860161120f565b925060408501359150606085013567ffffffffffffffff81111561144d57600080fd5b8501601f8101871361145e57600080fd5b61146d878235602084016112d3565b91505092959194509250565b6000806040838503121561148c57600080fd5b6114958361120f565b91506114a36020840161120f565b90509250929050565b6000602082840312156114be57600080fd5b8151610de0816113b5565b600181811c908216806114dd57607f821691505b6020821081036114fd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610e8757600081815260208120601f850160051c8101602086101561152a5750805b601f850160051c820191505b8181101561116d57828155600101611536565b815167ffffffffffffffff811115611563576115636112bd565b6115778161157184546114c9565b84611503565b602080601f8311600181146115ac57600084156115945750858301515b600019600386901b1c1916600185901b17855561116d565b600085815260208120601f198616915b828110156115db578886015182559484019460019091019084016115bc565b50858210156115f95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808201808211156104ca576104ca611609565b80820281158282048414176104ca576104ca611609565b66697066733a2f2f60c81b81526000835161166b81600785016020880161119f565b602f60f81b600791840191820152835161168c81600884016020880161119f565b64173539b7b760d91b60089290910191820152600d0194935050505056fea26469706673582212200cc6927b7fb549a3b08011fb45e389955fe48aff6605df78ff1a98d82d19da1364736f6c63430008110033
Deployed Bytecode Sourcemap
37935:650:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18657:615;;;;;;;;;;-1:-1:-1;18657:615:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;18657:615:0;;;;;;;;23410:100;;;;;;;;;;-1:-1:-1;23497:5:0;;;;;;;;;;;;-1:-1:-1;;;23497:5:0;;;;23410:100;;;;;;;:::i;25235:204::-;;;;;;;;;;-1:-1:-1;25235:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1502:32:1;;;1484:51;;1472:2;1457:18;25235:204:0;1338:203:1;24718:451:0;;;;;;;;;;-1:-1:-1;24718:451:0;;;;;:::i;:::-;;:::i;:::-;;17064:216;;;;;;;;;;-1:-1:-1;17064:216:0;;;;;:::i;:::-;;:::i;17900:300::-;;;;;;;;;;-1:-1:-1;18150:13:0;;17900:300;;;2450:25:1;;;2438:2;2423:18;17900:300:0;2304:177:1;38004:163:0;;;;;;;;;;-1:-1:-1;38004:163:0;;;;;:::i;:::-;;:::i;13683:41::-;;;;;;;;;;;;13720:4;13683:41;;37783:145;;;;;;;;;;;;;:::i;38175:171::-;;;;;;;;;;-1:-1:-1;38175:171:0;;;;;:::i;:::-;;:::i;16965:91::-;;;;;;;;;;-1:-1:-1;16965:91:0;;;;;:::i;:::-;;:::i;14389:316::-;;;;;;;;;;;;;:::i;23199:144::-;;;;;;;;;;-1:-1:-1;23199:144:0;;;;;:::i;:::-;;:::i;19336:234::-;;;;;;;;;;-1:-1:-1;19336:234:0;;;;;:::i;:::-;;:::i;13509:77::-;;;;;;;;;;-1:-1:-1;13546:7:0;13572:6;-1:-1:-1;;;;;13572:6:0;13509:77;;13768:38;;;;;;;;;;;;;;;;14115:266;;;;;;:::i;:::-;;:::i;25511:308::-;;;;;;;;;;-1:-1:-1;25511:308:0;;;;;:::i;:::-;;:::i;38354:228::-;;;;;;;;;;-1:-1:-1;38354:228:0;;;;;:::i;:::-;;:::i;13813:33::-;;;;;;;;;;;;;;;;23697:339;;;;;;;;;;-1:-1:-1;23697:339:0;;;;;:::i;:::-;;:::i;13959:49::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13959:49:0;;;;;25890:164;;;;;;;;;;-1:-1:-1;25890:164:0;;;;;:::i;:::-;;:::i;13731:30::-;;;;;;;;;;;;;;;;18657:615;18742:4;-1:-1:-1;;;;;;;;;19042:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19119:25:0;;;19042:102;:179;;;-1:-1:-1;;;;;;;;;;19196:25:0;;;19042:179;19022:199;18657:615;-1:-1:-1;;18657:615:0:o;25235:204::-;25303:7;25328:16;25336:7;27287:13;;-1:-1:-1;27277:23:0;27140:168;25328:16;25323:64;;25353:34;;-1:-1:-1;;;25353:34:0;;;;;;;;;;;25323:64;-1:-1:-1;25407:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25407:24:0;;25235:204::o;24718:451::-;24791:13;24823:27;24842:7;24823:18;:27::i;:::-;24791:61;;24873:5;-1:-1:-1;;;;;24867:11:0;:2;-1:-1:-1;;;;;24867:11:0;;24863:25;;24880:8;;;24863:25;35769:10;-1:-1:-1;;;;;24905:28:0;;;24901:175;;24953:44;24970:5;35769:10;25890:164;:::i;24953:44::-;24948:128;;25025:35;;-1:-1:-1;;;25025:35:0;;;;;;;;;;;24948:128;25088:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;25088:29:0;-1:-1:-1;;;;;25088:29:0;;;;;;;;;25133:28;;25088:24;;25133:28;;;;;;;24780:389;24718:451;;:::o;17064:216::-;13635:6;;-1:-1:-1;;;;;13635:6:0;13643:10;13635:18;13627:27;;;;;;17176:19:::1;:42:::0;;;;17229:4:::1;:12:::0;17252:8:::1;:20:::0;17064:216::o;38004:163::-;38105:4;2382:42;3522:43;:47;3518:699;;3809:10;-1:-1:-1;;;;;3801:18:0;;;3797:85;;38122:37:::1;38141:4;38147:2;38151:7;38122:18;:37::i;:::-;3860:7:::0;;3797:85;3942:67;;-1:-1:-1;;;3942:67:0;;3991:4;3942:67;;;5827:34:1;3998:10:0;5877:18:1;;;5870:43;2382:42:0;;3942:40;;5762:18:1;;3942:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4038:61:0;;-1:-1:-1;;;4038:61:0;;4087:4;4038:61;;;5827:34:1;-1:-1:-1;;;;;5897:15:1;;5877:18;;;5870:43;2382:42:0;;4038:40;;5762:18:1;;4038:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3896:310;;4160:30;;-1:-1:-1;;;4160:30:0;;4179:10;4160:30;;;1484:51:1;1457:18;;4160:30:0;;;;;;;;3896:310;38122:37:::1;38141:4;38147:2;38151:7;38122:18;:37::i;:::-;38004:163:::0;;;;:::o;37783:145::-;13635:6;;-1:-1:-1;;;;;13635:6:0;13643:10;13635:18;13627:27;;;;;;37883:37:::1;::::0;37851:21:::1;::::0;37891:10:::1;::::0;37883:37;::::1;;;::::0;37851:21;;37833:15:::1;37883:37:::0;37833:15;37883:37;37851:21;37891:10;37883:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;37822:106;37783:145::o:0;38175:171::-;38280:4;2382:42;3522:43;:47;3518:699;;3809:10;-1:-1:-1;;;;;3801:18:0;;;3797:85;;38297:41:::1;38320:4;38326:2;38330:7;38297:22;:41::i;3797:85::-:0;3942:67;;-1:-1:-1;;;3942:67:0;;3991:4;3942:67;;;5827:34:1;3998:10:0;5877:18:1;;;5870:43;2382:42:0;;3942:40;;5762:18:1;;3942:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4038:61:0;;-1:-1:-1;;;4038:61:0;;4087:4;4038:61;;;5827:34:1;-1:-1:-1;;;;;5897:15:1;;5877:18;;;5870:43;2382:42:0;;4038:40;;5762:18:1;;4038:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3896:310;;4160:30;;-1:-1:-1;;;4160:30:0;;4179:10;4160:30;;;1484:51:1;1457:18;;4160:30:0;1338:203:1;3896:310:0;38297:41:::1;38320:4;38326:2;38330:7;38297:22;:41::i;16965:91::-:0;13635:6;;-1:-1:-1;;;;;13635:6:0;13643:10;13635:18;13627:27;;;;;;17032:8:::1;:16;17043:5:::0;17032:8;:16:::1;:::i;14389:316::-:0;14493:1;14541:8;;35769:10;;14493:1;;14515:13;18150;;;17900:300;14515:13;:22;;;;:::i;:::-;:34;;14507:63;;;;-1:-1:-1;;;14507:63:0;;9227:2:1;14507:63:0;;;9209:21:1;9266:2;9246:18;;;9239:30;-1:-1:-1;;;9285:18:1;;;9278:46;9341:18;;14507:63:0;9025:340:1;14507:63:0;14624:19;;-1:-1:-1;;;;;19741:25:0;;19713:7;19741:25;;;:18;:25;;14953:2;19741:25;;;;;14589:31;;19741:49;14816:13;19740:80;14589:6;:31;:::i;:::-;:54;;14581:81;;;;-1:-1:-1;;;14581:81:0;;9572:2:1;14581:81:0;;;9554:21:1;9611:2;9591:18;;;9584:30;-1:-1:-1;;;9630:18:1;;;9623:44;9684:18;;14581:81:0;9370:338:1;14581:81:0;14675:22;14681:7;14690:6;14675:5;:22::i;23199:144::-;23263:7;23306:27;23325:7;23306:18;:27::i;19336:234::-;19400:7;19442:5;19452:1;19424:29;19420:70;;19462:28;;-1:-1:-1;;;19462:28:0;;;;;;;;;;;19420:70;-1:-1:-1;;;;;;19508:25:0;;;;;:18;:25;;;;;;14816:13;19508:54;;19336:234::o;14115:266::-;35769:10;13720:4;14246:6;14230:13;18150;;;17900:300;14230:13;:22;;;;:::i;:::-;:36;;14222:56;;;;-1:-1:-1;;;14222:56:0;;9915:2:1;14222:56:0;;;9897:21:1;9954:1;9934:18;;;9927:29;-1:-1:-1;;;9972:18:1;;;9965:37;10019:18;;14222:56:0;9713:330:1;14222:56:0;14312:9;14304:4;;14297:6;:11;;;;:::i;:::-;:24;;14289:49;;;;-1:-1:-1;;;14289:49:0;;10423:2:1;14289:49:0;;;10405:21:1;10462:2;10442:18;;;10435:30;-1:-1:-1;;;10481:18:1;;;10474:42;10533:18;;14289:49:0;10221:336:1;14289:49:0;14351:22;14357:7;14366:6;14351:5;:22::i;25511:308::-;35769:10;-1:-1:-1;;;;;25610:31:0;;;25606:61;;25650:17;;-1:-1:-1;;;25650:17:0;;;;;;;;;;;25606:61;35769:10;25680:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;25680:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;25680:60:0;;;;;;;;;;25756:55;;445:41:1;;;25680:49:0;;35769:10;25756:55;;418:18:1;25756:55:0;;;;;;;25511:308;;:::o;38354:228::-;38505:4;2382:42;3522:43;:47;3518:699;;3809:10;-1:-1:-1;;;;;3801:18:0;;;3797:85;;38527:47:::1;38550:4;38556:2;38560:7;38569:4;38527:22;:47::i;:::-;3860:7:::0;;3797:85;3942:67;;-1:-1:-1;;;3942:67:0;;3991:4;3942:67;;;5827:34:1;3998:10:0;5877:18:1;;;5870:43;2382:42:0;;3942:40;;5762:18:1;;3942:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4038:61:0;;-1:-1:-1;;;4038:61:0;;4087:4;4038:61;;;5827:34:1;-1:-1:-1;;;;;5897:15:1;;5877:18;;;5870:43;2382:42:0;;4038:40;;5762:18:1;;4038:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3896:310;;4160:30;;-1:-1:-1;;;4160:30:0;;4179:10;4160:30;;;1484:51:1;1457:18;;4160:30:0;1338:203:1;3896:310:0;38527:47:::1;38550:4;38556:2;38560:7;38569:4;38527:22;:47::i;:::-;38354:228:::0;;;;;:::o;23697:339::-;23770:13;23801:16;23809:7;27287:13;;-1:-1:-1;27277:23:0;27140:168;23801:16;23796:59;;23826:29;;-1:-1:-1;;;23826:29:0;;;;;;;;;;;23796:59;23866:21;23890:8;23866:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23922:7;23916:21;23941:1;23916:26;:112;;;;;;;;;;;;;;;;;23980:7;23994:18;24004:7;23994:9;:18::i;:::-;23952:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;23916:112;23909:119;23697:339;-1:-1:-1;;;23697:339:0:o;25890:164::-;-1:-1:-1;;;;;26011:25:0;;;25987:4;26011:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25890:164::o;20714:1129::-;20781:7;20816;20918:13;;20911:4;:20;20907:869;;;20956:14;20973:23;;;:17;:23;;;;;;;-1:-1:-1;;;21062:23:0;;:28;;21058:699;;21581:113;21588:6;21598:1;21588:11;21581:113;;-1:-1:-1;;;21659:6:0;21641:25;;;;:17;:25;;;;;;21581:113;;21058:699;20933:843;20907:869;21804:31;;-1:-1:-1;;;21804:31:0;;;;;;;;;;;26121:190;26275:28;26285:4;26291:2;26295:7;26275:9;:28::i;:::-;26121:190;;;:::o;26382:205::-;26540:39;26557:4;26563:2;26567:7;26540:39;;;;;;;;;;;;:16;:39::i;30160:1594::-;30248:13;;30294:2;30301:1;30276:26;30272:58;;30311:19;;-1:-1:-1;;;30311:19:0;;;;;;;;;;;30272:58;30345:8;30357:1;30345:13;30341:44;;30367:18;;-1:-1:-1;;;30367:18:0;;;;;;;;;;;30341:44;-1:-1:-1;;;;;30862:22:0;;;;;;:18;:22;;;;14953:2;30862:22;;;:70;;30900:31;30888:44;;30862:70;;;31175:31;;;:17;:31;;;;;31268:15;15470:3;31268:41;31226:84;;-1:-1:-1;31346:13:0;;15729:3;31331:56;31226:162;31175:213;;:31;31469:23;;;31509:111;31536:40;;31561:14;;;;;-1:-1:-1;;;;;31536:40:0;;;31553:1;;31536:40;;31553:1;;31536:40;31615:3;31600:12;:18;31509:111;;-1:-1:-1;31636:13:0;:28;26121:190;;;:::o;26658:227::-;26849:28;26859:4;26865:2;26869:7;26849:9;:28::i;35893:1882::-;36364:4;36358:11;;36371:3;36354:21;;36445:17;;;;37117:11;;;36994:5;37251:2;37265;37255:13;;37247:22;37117:11;37234:36;37307:2;37297:13;;36891:661;37323:4;36891:661;;;37491:1;37486:3;37482:11;37475:18;;37535:2;37529:4;37525:13;37521:2;37517:22;37512:3;37504:36;37408:2;37398:13;;36891:661;;;-1:-1:-1;37575:13:0;;;-1:-1:-1;;37684:12:0;;;37738:19;;;37684:12;35893:1882;-1:-1:-1;35893:1882:0:o;32008:2636::-;32145:27;32175;32194:7;32175:18;:27::i;:::-;32145:57;;32260:4;-1:-1:-1;;;;;32219:45:0;32235:19;-1:-1:-1;;;;;32219:45:0;;32215:86;;32273:28;;-1:-1:-1;;;32273:28:0;;;;;;;;;;;32215:86;32314:23;32340:24;;;:15;:24;;;;;;-1:-1:-1;;;;;32340:24:0;;;;32314:23;32403:27;;35769:10;32403:27;;:91;;-1:-1:-1;32451:43:0;32468:4;35769:10;25890:164;:::i;32451:43::-;32403:150;;;-1:-1:-1;;;;;;32515:38:0;;35769:10;32515:38;32403:150;32377:177;;32572:17;32567:66;;32598:35;;-1:-1:-1;;;32598:35:0;;;;;;;;;;;32567:66;32802:15;32784:39;32780:103;;32847:24;;;;:15;:24;;;;;32840:31;;-1:-1:-1;;;;;;32840:31:0;;;32780:103;-1:-1:-1;;;;;33250:24:0;;;;;;;:18;:24;;;;;;;;33248:26;;-1:-1:-1;;33248:26:0;;;33319:22;;;;;;;;33317:24;;-1:-1:-1;33317:24:0;;;33612:26;;;:17;:26;;;;;-1:-1:-1;;;33700:15:0;15470:3;33700:41;33658:84;;:128;;33612:174;;;33906:46;;:51;;33902:626;;34010:1;34000:11;;33978:19;34133:30;;;:17;:30;;;;;;:35;;34129:384;;34271:13;;34256:11;:28;34252:242;;34418:30;;;;:17;:30;;;;;:52;;;34252:242;33959:569;33902:626;34575:7;34571:2;-1:-1:-1;;;;;34556:27:0;34565:4;-1:-1:-1;;;;;34556:27:0;;;;;;;;;;;34594:42;32132:2512;;;32008:2636;;;:::o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:250;582:1;592:113;606:6;603:1;600:13;592:113;;;682:11;;;676:18;663:11;;;656:39;628:2;621:10;592:113;;;-1:-1:-1;;739:1:1;721:16;;714:27;497:250::o;752:396::-;901:2;890:9;883:21;864:4;933:6;927:13;976:6;971:2;960:9;956:18;949:34;992:79;1064:6;1059:2;1048:9;1044:18;1039:2;1031:6;1027:15;992:79;:::i;:::-;1132:2;1111:15;-1:-1:-1;;1107:29:1;1092:45;;;;1139:2;1088:54;;752:396;-1:-1:-1;;752:396:1:o;1153:180::-;1212:6;1265:2;1253:9;1244:7;1240:23;1236:32;1233:52;;;1281:1;1278;1271:12;1233:52;-1:-1:-1;1304:23:1;;1153:180;-1:-1:-1;1153:180:1:o;1546:173::-;1614:20;;-1:-1:-1;;;;;1663:31:1;;1653:42;;1643:70;;1709:1;1706;1699:12;1643:70;1546:173;;;:::o;1724:254::-;1792:6;1800;1853:2;1841:9;1832:7;1828:23;1824:32;1821:52;;;1869:1;1866;1859:12;1821:52;1892:29;1911:9;1892:29;:::i;:::-;1882:39;1968:2;1953:18;;;;1940:32;;-1:-1:-1;;;1724:254:1:o;1983:316::-;2060:6;2068;2076;2129:2;2117:9;2108:7;2104:23;2100:32;2097:52;;;2145:1;2142;2135:12;2097:52;-1:-1:-1;;2168:23:1;;;2238:2;2223:18;;2210:32;;-1:-1:-1;2289:2:1;2274:18;;;2261:32;;1983:316;-1:-1:-1;1983:316:1:o;2486:328::-;2563:6;2571;2579;2632:2;2620:9;2611:7;2607:23;2603:32;2600:52;;;2648:1;2645;2638:12;2600:52;2671:29;2690:9;2671:29;:::i;:::-;2661:39;;2719:38;2753:2;2742:9;2738:18;2719:38;:::i;:::-;2709:48;;2804:2;2793:9;2789:18;2776:32;2766:42;;2486:328;;;;;:::o;2819:127::-;2880:10;2875:3;2871:20;2868:1;2861:31;2911:4;2908:1;2901:15;2935:4;2932:1;2925:15;2951:632;3016:5;3046:18;3087:2;3079:6;3076:14;3073:40;;;3093:18;;:::i;:::-;3168:2;3162:9;3136:2;3222:15;;-1:-1:-1;;3218:24:1;;;3244:2;3214:33;3210:42;3198:55;;;3268:18;;;3288:22;;;3265:46;3262:72;;;3314:18;;:::i;:::-;3354:10;3350:2;3343:22;3383:6;3374:15;;3413:6;3405;3398:22;3453:3;3444:6;3439:3;3435:16;3432:25;3429:45;;;3470:1;3467;3460:12;3429:45;3520:6;3515:3;3508:4;3500:6;3496:17;3483:44;3575:1;3568:4;3559:6;3551;3547:19;3543:30;3536:41;;;;2951:632;;;;;:::o;3588:451::-;3657:6;3710:2;3698:9;3689:7;3685:23;3681:32;3678:52;;;3726:1;3723;3716:12;3678:52;3766:9;3753:23;3799:18;3791:6;3788:30;3785:50;;;3831:1;3828;3821:12;3785:50;3854:22;;3907:4;3899:13;;3895:27;-1:-1:-1;3885:55:1;;3936:1;3933;3926:12;3885:55;3959:74;4025:7;4020:2;4007:16;4002:2;3998;3994:11;3959:74;:::i;:::-;3949:84;3588:451;-1:-1:-1;;;;3588:451:1:o;4044:186::-;4103:6;4156:2;4144:9;4135:7;4131:23;4127:32;4124:52;;;4172:1;4169;4162:12;4124:52;4195:29;4214:9;4195:29;:::i;4235:118::-;4321:5;4314:13;4307:21;4300:5;4297:32;4287:60;;4343:1;4340;4333:12;4287:60;4235:118;:::o;4358:315::-;4423:6;4431;4484:2;4472:9;4463:7;4459:23;4455:32;4452:52;;;4500:1;4497;4490:12;4452:52;4523:29;4542:9;4523:29;:::i;:::-;4513:39;;4602:2;4591:9;4587:18;4574:32;4615:28;4637:5;4615:28;:::i;:::-;4662:5;4652:15;;;4358:315;;;;;:::o;4678:667::-;4773:6;4781;4789;4797;4850:3;4838:9;4829:7;4825:23;4821:33;4818:53;;;4867:1;4864;4857:12;4818:53;4890:29;4909:9;4890:29;:::i;:::-;4880:39;;4938:38;4972:2;4961:9;4957:18;4938:38;:::i;:::-;4928:48;;5023:2;5012:9;5008:18;4995:32;4985:42;;5078:2;5067:9;5063:18;5050:32;5105:18;5097:6;5094:30;5091:50;;;5137:1;5134;5127:12;5091:50;5160:22;;5213:4;5205:13;;5201:27;-1:-1:-1;5191:55:1;;5242:1;5239;5232:12;5191:55;5265:74;5331:7;5326:2;5313:16;5308:2;5304;5300:11;5265:74;:::i;:::-;5255:84;;;4678:667;;;;;;;:::o;5350:260::-;5418:6;5426;5479:2;5467:9;5458:7;5454:23;5450:32;5447:52;;;5495:1;5492;5485:12;5447:52;5518:29;5537:9;5518:29;:::i;:::-;5508:39;;5566:38;5600:2;5589:9;5585:18;5566:38;:::i;:::-;5556:48;;5350:260;;;;;:::o;5924:245::-;5991:6;6044:2;6032:9;6023:7;6019:23;6015:32;6012:52;;;6060:1;6057;6050:12;6012:52;6092:9;6086:16;6111:28;6133:5;6111:28;:::i;6174:380::-;6253:1;6249:12;;;;6296;;;6317:61;;6371:4;6363:6;6359:17;6349:27;;6317:61;6424:2;6416:6;6413:14;6393:18;6390:38;6387:161;;6470:10;6465:3;6461:20;6458:1;6451:31;6505:4;6502:1;6495:15;6533:4;6530:1;6523:15;6387:161;;6174:380;;;:::o;6685:545::-;6787:2;6782:3;6779:11;6776:448;;;6823:1;6848:5;6844:2;6837:17;6893:4;6889:2;6879:19;6963:2;6951:10;6947:19;6944:1;6940:27;6934:4;6930:38;6999:4;6987:10;6984:20;6981:47;;;-1:-1:-1;7022:4:1;6981:47;7077:2;7072:3;7068:12;7065:1;7061:20;7055:4;7051:31;7041:41;;7132:82;7150:2;7143:5;7140:13;7132:82;;;7195:17;;;7176:1;7165:13;7132:82;;7406:1352;7532:3;7526:10;7559:18;7551:6;7548:30;7545:56;;;7581:18;;:::i;:::-;7610:97;7700:6;7660:38;7692:4;7686:11;7660:38;:::i;:::-;7654:4;7610:97;:::i;:::-;7762:4;;7826:2;7815:14;;7843:1;7838:663;;;;8545:1;8562:6;8559:89;;;-1:-1:-1;8614:19:1;;;8608:26;8559:89;-1:-1:-1;;7363:1:1;7359:11;;;7355:24;7351:29;7341:40;7387:1;7383:11;;;7338:57;8661:81;;7808:944;;7838:663;6632:1;6625:14;;;6669:4;6656:18;;-1:-1:-1;;7874:20:1;;;7992:236;8006:7;8003:1;8000:14;7992:236;;;8095:19;;;8089:26;8074:42;;8187:27;;;;8155:1;8143:14;;;;8022:19;;7992:236;;;7996:3;8256:6;8247:7;8244:19;8241:201;;;8317:19;;;8311:26;-1:-1:-1;;8400:1:1;8396:14;;;8412:3;8392:24;8388:37;8384:42;8369:58;8354:74;;8241:201;-1:-1:-1;;;;;8488:1:1;8472:14;;;8468:22;8455:36;;-1:-1:-1;7406:1352:1:o;8763:127::-;8824:10;8819:3;8815:20;8812:1;8805:31;8855:4;8852:1;8845:15;8879:4;8876:1;8869:15;8895:125;8960:9;;;8981:10;;;8978:36;;;8994:18;;:::i;10048:168::-;10121:9;;;10152;;10169:15;;;10163:22;;10149:37;10139:71;;10190:18;;:::i;10562:935::-;-1:-1:-1;;;11069:3:1;11062:22;11044:3;11113:6;11107:13;11129:74;11196:6;11192:1;11187:3;11183:11;11176:4;11168:6;11164:17;11129:74;:::i;:::-;-1:-1:-1;;;11262:1:1;11222:16;;;11254:10;;;11247:23;11295:13;;11317:75;11295:13;11379:1;11371:10;;11364:4;11352:17;;11317:75;:::i;:::-;-1:-1:-1;;;11452:1:1;11411:17;;;;11444:10;;;11437:27;11488:2;11480:11;;10562:935;-1:-1:-1;;;;10562:935:1:o
Swarm Source
ipfs://0cc6927b7fb549a3b08011fb45e389955fe48aff6605df78ff1a98d82d19da13
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.