Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
0 TCKT
Holders
893
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BidTicket
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 10000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; // _.-^-._ .--. // .-' _ '-. |__| // / |_| \| | // / \ | // /| _____ |\ | // | |==|==| | | // |---|---|---|---|---| |--|--| | | // |---|---|---|---|---| |==|==| | | // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // ______ Harvest.art v3 (BidTicket) _______ import "ERC1155P/contracts/ERC1155P.sol"; import "solady/src/auth/Ownable.sol"; import "./IBidTicket.sol"; contract BidTicket is ERC1155P, Ownable, IBidTicket { address public harvestContract; address public auctionsContract; mapping(uint256 => string) private _tokenURIs; error NotAuthorized(); modifier onlyMinters() { if (msg.sender != harvestContract) { if (msg.sender != owner()) { revert NotAuthorized(); } } _; } modifier onlyBurners() { if (msg.sender != auctionsContract) { if (msg.sender != owner()) { revert NotAuthorized(); } } _; } constructor() { _initializeOwner(msg.sender); } function name() public view virtual override returns (string memory) { return "BidTicket"; } function symbol() public view virtual override returns (string memory) { return "TCKT"; } function uri(uint256 id) public view virtual override returns (string memory) { return _tokenURIs[id]; } function mint(address to, uint256 id, uint256 amount) external virtual onlyMinters { _mint(to, id, amount, ""); } function mintBatch(address to, uint256[] calldata ids, uint256[] calldata amounts) public onlyMinters { _mintBatch(to, ids, amounts, ""); } function burn(address from, uint256 id, uint256 amount) external onlyBurners { _burn(from, id, amount); } function burnBatch(address from, uint256[] calldata ids, uint256[] calldata amounts) external onlyBurners { _burnBatch(from, ids, amounts); } function setURI(uint256 tokenId, string calldata tokenURI) external virtual onlyOwner { _tokenURIs[tokenId] = tokenURI; emit URI(uri(tokenId), tokenId); } function setHarvestContract(address harvestContract_) external onlyOwner { harvestContract = harvestContract_; } function setAuctionsContract(address auctionsContract_) external onlyOwner { auctionsContract = auctionsContract_; } }
// SPDX-License-Identifier: MIT // ERC1155P Contracts v1.1 // Creator: 0xjustadev/0xth0mas pragma solidity ^0.8.20; import "./IERC1155P.sol"; /** * @dev Interface of ERC1155 token receiver. */ interface ERC1155P__IERC1155Receiver { function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); } /** * @dev Interface for IERC1155MetadataURI. */ interface ERC1155P__IERC1155MetadataURI { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); } /** * @title ERC1155P * * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 including the Metadata extension. * Optimized for lower gas for users collecting multiple tokens. * * Assumptions: * - An owner cannot have more than 2**16 - 1 of a single token * - The maximum token ID cannot exceed 2**100 - 1 */ abstract contract ERC1155P is IERC1155P, ERC1155P__IERC1155MetadataURI { /** * @dev MAX_ACCOUNT_TOKEN_BALANCE is 2^16-1 because token balances are * are being packed into 16 bits within each bucket. */ uint256 private constant MAX_ACCOUNT_TOKEN_BALANCE = 0xFFFF; uint256 private constant BALANCE_STORAGE_OFFSET = 0xE000000000000000000000000000000000000000000000000000000000000000; uint256 private constant APPROVAL_STORAGE_OFFSET = 0xD000000000000000000000000000000000000000000000000000000000000000; /** * @dev MAX_TOKEN_ID is derived from custom storage pointer location for * account/token balance data. Wallet address is shifted 92 bits left * and leaves 92 bits for bucket #'s. Each bucket holds 8 token balances * 2^92*8-1 = MAX_TOKEN_ID */ uint256 private constant MAX_TOKEN_ID = 0x07FFFFFFFFFFFFFFFFFFFFFFF; // The `TransferSingle` event signature is given by: // `keccak256(bytes("TransferSingle(address,address,address,uint256,uint256)"))`. bytes32 private constant _TRANSFER_SINGLE_EVENT_SIGNATURE = 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62; // The `TransferBatch` event signature is given by: // `keccak256(bytes("TransferBatch(address,address,address,uint256[],uint256[])"))`. bytes32 private constant _TRANSFER_BATCH_EVENT_SIGNATURE = 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb; // The `ApprovalForAll` event signature is given by: // `keccak256(bytes("ApprovalForAll(address,address,bool)"))`. bytes32 private constant _APPROVAL_FOR_ALL_EVENT_SIGNATURE = 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31; /// @dev Returns the name of the token. function name() public view virtual returns(string memory); /// @dev Returns the symbol of the token. function symbol() public view virtual returns(string memory); /** * @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 == 0xd9b67a26 || // ERC165 interface ID for ERC1155. interfaceId == 0x0e89341c; // ERC165 interface ID for ERC1155MetadataURI. } /// @dev Returns the URI for token `id`. /// /// You can either return the same templated URI for all token IDs, /// (e.g. "https://example.com/api/{id}.json"), /// or return a unique URI for each `id`. /// /// See: https://eips.ethereum.org/EIPS/eip-1155#metadata function uri(uint256 id) public view virtual returns (string memory); /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { if(account == address(0)) { _revert(BalanceQueryForZeroAddress.selector); } return getBalance(account, id); } /** * @dev Gets the amount of tokens minted by an account for a given token id */ function _numberMinted(address account, uint256 id) internal view returns (uint256) { if(account == address(0)) { _revert(BalanceQueryForZeroAddress.selector); } return getMinted(account, id); } /** * @dev Gets the balance of an account's token id from packed token data * */ function getBalance(address account, uint256 id) private view returns (uint256 _balance) { /// @solidity memory-safe-assembly assembly { mstore(0x00, or(BALANCE_STORAGE_OFFSET, or(shr(4, shl(96, account)), shr(3, id)))) _balance := shr(shl(5, and(id, 0x07)), and(sload(keccak256(0x00, 0x20)), shl(shl(5, and(id, 0x07)), 0x0000FFFF))) } } /** * @dev Sets the balance of an account's token id in packed token data * */ function setBalance(address account, uint256 id, uint256 amount) private { /// @solidity memory-safe-assembly assembly { mstore(0x00, or(BALANCE_STORAGE_OFFSET, or(shr(4, shl(96, account)), shr(3, id)))) mstore(0x00, keccak256(0x00, 0x20)) sstore(mload(0x00), or(and(not(shl(shl(5, and(id, 0x07)), 0x0000FFFF)), sload(mload(0x00))), shl(shl(5, and(id, 0x07)), amount))) } } /** * @dev Gets the number minted of an account's token id from packed token data * */ function getMinted(address account, uint256 id) private view returns (uint256 _minted) { /// @solidity memory-safe-assembly assembly { mstore(0x00, or(BALANCE_STORAGE_OFFSET, or(shr(4, shl(96, account)), shr(3, id)))) _minted := shr(16, shr(shl(5, and(id, 0x07)), and(sload(keccak256(0x00, 0x20)), shl(shl(5, and(id, 0x07)), 0xFFFF0000)))) } } /** * @dev Sets the number minted of an account's token id in packed token data * */ function setMinted(address account, uint256 id, uint256 amount) private { /// @solidity memory-safe-assembly assembly { mstore(0x00, or(BALANCE_STORAGE_OFFSET, or(shr(4, shl(96, account)), shr(3, id)))) mstore(0x00, keccak256(0x00, 0x20)) sstore(mload(0x00), or(and(not(shl(shl(5, and(id, 0x07)), 0xFFFF0000)), sload(mload(0x00))), shl(shl(5, and(id, 0x07)), shl(16, amount)))) } } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch( address[] calldata accounts, uint256[] calldata ids ) public view virtual override returns (uint256[] memory) { if(accounts.length != ids.length) { _revert(ArrayLengthMismatch.selector); } uint256[] memory batchBalances = new uint256[](accounts.length); for(uint256 i = 0; i < accounts.length;) { batchBalances[i] = balanceOf(accounts[i], ids[i]); unchecked { ++i; } } return batchBalances; } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool _approved) { /// @solidity memory-safe-assembly assembly { mstore(0x00, shr(96, shl(96, account))) mstore(0x20, or(APPROVAL_STORAGE_OFFSET, shr(96, shl(96, operator)))) mstore(0x00, keccak256(0x00, 0x40)) _approved := sload(mload(0x00)) } return _approved; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes memory data ) public virtual override { _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { if(id > MAX_TOKEN_ID) { _revert(ExceedsMaximumTokenId.selector); } if(to == address(0)) { _revert(TransferToZeroAddress.selector); } if(from != _msgSenderERC1155P()) if (!isApprovedForAll(from, _msgSenderERC1155P())) _revert(TransferCallerNotOwnerNorApproved.selector); address operator = _msgSenderERC1155P(); _beforeTokenTransfer(operator, from, to, id, amount, data); uint256 fromBalance = getBalance(from, id); if(amount > fromBalance) { _revert(TransferExceedsBalance.selector); } if(from != to) { uint256 toBalance = getBalance(to, id); unchecked { fromBalance -= amount; toBalance += amount; } if(toBalance > MAX_ACCOUNT_TOKEN_BALANCE) { _revert(ExceedsMaximumBalance.selector); } setBalance(from, id, fromBalance); setBalance(to, id, toBalance); } /// @solidity memory-safe-assembly assembly { // Emit the `TransferSingle` event. let memOffset := mload(0x40) mstore(memOffset, id) mstore(add(memOffset, 0x20), amount) log4( memOffset, // Start of data . 0x40, // Length of data. _TRANSFER_SINGLE_EVENT_SIGNATURE, // Signature. operator, // `operator`. from, // `from`. to // `to`. ) } _afterTokenTransfer(operator, from, to, id, amount, data); if(to.code.length != 0) if(!_checkContractOnERC1155Received(from, to, id, amount, data)) { _revert(TransferToNonERC1155ReceiverImplementer.selector); } } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes memory data ) internal virtual { if(to == address(0)) { _revert(TransferToZeroAddress.selector); } if(ids.length != amounts.length) { _revert(ArrayLengthMismatch.selector); } if(from != _msgSenderERC1155P()) if (!isApprovedForAll(from, _msgSenderERC1155P())) _revert(TransferCallerNotOwnerNorApproved.selector); address operator = _msgSenderERC1155P(); _beforeBatchTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length;) { uint256 id = ids[i]; uint256 amount = amounts[i]; if(id > MAX_TOKEN_ID) { _revert(ExceedsMaximumTokenId.selector); } uint256 fromBalance = getBalance(from, id); if(amount > fromBalance) { _revert(TransferExceedsBalance.selector); } if(from != to) { uint256 toBalance = getBalance(to, id); unchecked { fromBalance -= amount; toBalance += amount; } if(toBalance > MAX_ACCOUNT_TOKEN_BALANCE) { _revert(ExceedsMaximumBalance.selector); } setBalance(from, id, fromBalance); setBalance(to, id, toBalance); } unchecked { ++i; } } /// @solidity memory-safe-assembly assembly { let memOffset := mload(0x40) mstore(memOffset, 0x40) mstore(add(memOffset,0x20), add(0x60, mul(0x20,ids.length))) mstore(add(memOffset,0x40), ids.length) calldatacopy(add(memOffset,0x60), ids.offset, mul(0x20,ids.length)) mstore(add(add(memOffset,0x60),mul(0x20,ids.length)), amounts.length) calldatacopy(add(add(memOffset,0x80),mul(0x20,ids.length)), amounts.offset, mul(0x20,amounts.length)) log4( memOffset, add(0x80,mul(0x40,amounts.length)), _TRANSFER_BATCH_EVENT_SIGNATURE, // Signature. operator, // `operator`. from, // `from`. to // `to`. ) } _afterBatchTokenTransfer(operator, from, to, ids, amounts, data); if(to.code.length != 0) if(!_checkContractOnERC1155BatchReceived(from, to, ids, amounts, data)) { _revert(TransferToNonERC1155ReceiverImplementer.selector); } } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint(address to, uint256 id, uint256 amount, bytes memory data) internal virtual { if(id > MAX_TOKEN_ID) { _revert(ExceedsMaximumTokenId.selector); } if(to == address(0)) { _revert(MintToZeroAddress.selector); } if(amount == 0) { _revert(MintZeroQuantity.selector); } address operator = _msgSenderERC1155P(); _beforeTokenTransfer(operator, address(0), to, id, amount, data); uint256 toBalanceBefore = getBalance(to, id); uint256 toBalanceAfter; unchecked { toBalanceAfter = toBalanceBefore + amount; } if(toBalanceAfter > MAX_ACCOUNT_TOKEN_BALANCE) { _revert(ExceedsMaximumBalance.selector); } if(toBalanceAfter < toBalanceBefore) { _revert(ExceedsMaximumBalance.selector); } // catches overflow setBalance(to, id, toBalanceAfter); uint256 toMintedBefore = getMinted(to, id); uint256 toMintedAfter; unchecked { toMintedAfter = toMintedBefore + amount; } if(toMintedAfter > MAX_ACCOUNT_TOKEN_BALANCE) { _revert(ExceedsMaximumBalance.selector); } if(toMintedAfter < toMintedBefore) { _revert(ExceedsMaximumBalance.selector); } // catches overflow setMinted(to, id, toMintedAfter); /// @solidity memory-safe-assembly assembly { // Emit the `TransferSingle` event. let memOffset := mload(0x40) mstore(memOffset, id) mstore(add(memOffset, 0x20), amount) log4( memOffset, // Start of data . 0x40, // Length of data. _TRANSFER_SINGLE_EVENT_SIGNATURE, // Signature. operator, // `operator`. 0, // `from`. to // `to`. ) } _afterTokenTransfer(operator, address(0), to, id, amount, data); if(to.code.length != 0) if(!_checkContractOnERC1155Received(address(0), to, id, amount, data)) { _revert(TransferToNonERC1155ReceiverImplementer.selector); } } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] calldata ids, uint256[] calldata amounts, bytes memory data ) internal virtual { if(to == address(0)) { _revert(MintToZeroAddress.selector); } if(ids.length != amounts.length) { _revert(ArrayLengthMismatch.selector); } address operator = _msgSenderERC1155P(); _beforeBatchTokenTransfer(operator, address(0), to, ids, amounts, data); uint256 id; uint256 amount; for (uint256 i = 0; i < ids.length;) { id = ids[i]; amount = amounts[i]; if(id > MAX_TOKEN_ID) { _revert(ExceedsMaximumTokenId.selector); } if(amount == 0) { _revert(MintZeroQuantity.selector); } uint256 toBalanceBefore = getBalance(to, id); uint256 toBalanceAfter; unchecked { toBalanceAfter = toBalanceBefore + amount; } if(toBalanceAfter > MAX_ACCOUNT_TOKEN_BALANCE) { _revert(ExceedsMaximumBalance.selector); } if(toBalanceAfter < toBalanceBefore) { _revert(ExceedsMaximumBalance.selector); } // catches overflow setBalance(to, id, toBalanceAfter); uint256 toMintedBefore = getMinted(to, id); uint256 toMintedAfter; unchecked { toMintedAfter = toMintedBefore + amount; } if(toMintedAfter > MAX_ACCOUNT_TOKEN_BALANCE) { _revert(ExceedsMaximumBalance.selector); } if(toMintedAfter < toMintedBefore) { _revert(ExceedsMaximumBalance.selector); } // catches overflow setMinted(to, id, toMintedAfter); unchecked { ++i; } } /// @solidity memory-safe-assembly assembly { let memOffset := mload(0x40) mstore(memOffset, 0x40) mstore(add(memOffset,0x20), add(0x60, mul(0x20,ids.length))) mstore(add(memOffset,0x40), ids.length) calldatacopy(add(memOffset,0x60), ids.offset, mul(0x20,ids.length)) mstore(add(add(memOffset,0x60),mul(0x20,ids.length)), amounts.length) calldatacopy(add(add(memOffset,0x80),mul(0x20,ids.length)), amounts.offset, mul(0x20,amounts.length)) log4( memOffset, add(0x80,mul(0x40,amounts.length)), _TRANSFER_BATCH_EVENT_SIGNATURE, // Signature. operator, // `operator`. 0, // `from`. to // `to`. ) } _afterBatchTokenTransfer(operator, address(0), to, ids, amounts, data); if(to.code.length != 0) if(!_checkContractOnERC1155BatchReceived(address(0), to, ids, amounts, data)) { _revert(TransferToNonERC1155ReceiverImplementer.selector); } } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn(address from, uint256 id, uint256 amount) internal virtual { if(id > MAX_TOKEN_ID) { _revert(ExceedsMaximumTokenId.selector); } if(from == address(0)) { _revert(BurnFromZeroAddress.selector); } address operator = _msgSenderERC1155P(); _beforeTokenTransfer(operator, from, address(0), id, amount, ""); uint256 fromBalance = getBalance(from, id); if(amount > fromBalance) { _revert(BurnExceedsBalance.selector); } unchecked { fromBalance -= amount; } setBalance(from, id, fromBalance); /// @solidity memory-safe-assembly assembly { // Emit the `TransferSingle` event. let memOffset := mload(0x40) mstore(memOffset, id) mstore(add(memOffset, 0x20), amount) log4( memOffset, // Start of data. 0x40, // Length of data. _TRANSFER_SINGLE_EVENT_SIGNATURE, // Signature. operator, // `operator`. from, // `from`. 0 // `to`. ) } _afterTokenTransfer(operator, from, address(0), id, amount, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch(address from, uint256[] calldata ids, uint256[] calldata amounts) internal virtual { if(from == address(0)) { _revert(BurnFromZeroAddress.selector); } if(ids.length != amounts.length) { _revert(ArrayLengthMismatch.selector); } address operator = _msgSenderERC1155P(); _beforeBatchTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length;) { uint256 id = ids[i]; uint256 amount = amounts[i]; if(id > MAX_TOKEN_ID) { _revert(ExceedsMaximumTokenId.selector); } uint256 fromBalance = getBalance(from, id); if(amount > fromBalance) { _revert(BurnExceedsBalance.selector); } unchecked { fromBalance -= amount; } setBalance(from, id, fromBalance); unchecked { ++i; } } /// @solidity memory-safe-assembly assembly { let memOffset := mload(0x40) mstore(memOffset, 0x40) mstore(add(memOffset,0x20), add(0x60, mul(0x20,ids.length))) mstore(add(memOffset,0x40), ids.length) calldatacopy(add(memOffset,0x60), ids.offset, mul(0x20,ids.length)) mstore(add(add(memOffset,0x60),mul(0x20,ids.length)), amounts.length) calldatacopy(add(add(memOffset,0x80),mul(0x20,ids.length)), amounts.offset, mul(0x20,amounts.length)) log4( memOffset, add(0x80,mul(0x40,amounts.length)), _TRANSFER_BATCH_EVENT_SIGNATURE, // Signature. operator, // `operator`. from, // `from`. 0 // `to`. ) } _afterBatchTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { /// @solidity memory-safe-assembly assembly { mstore(0x00, caller()) mstore(0x20, or(APPROVAL_STORAGE_OFFSET, shr(96, shl(96, operator)))) mstore(0x00, keccak256(0x00, 0x40)) mstore(0x20, approved) sstore(mload(0x00), mload(0x20)) log3( 0x20, 0x20, _APPROVAL_FOR_ALL_EVENT_SIGNATURE, caller(), shr(96, shl(96, operator)) ) } } /** * @dev Hook that is called before any single token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual {} /** * @dev Hook that is called before any batch token transfer. This includes minting * and burning. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeBatchTokenTransfer( address operator, address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any single token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any batch token transfer. This includes minting * and burning. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterBatchTokenTransfer( address operator, address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes memory data ) internal virtual {} /** * @dev Private function to invoke {IERC1155Receiver-onERC155Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `id` - Token ID to be transferred. * `amount` - Balance of token to be transferred * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC1155Received( address from, address to, uint256 id, uint256 amount, bytes memory _data ) private returns (bool) { try ERC1155P__IERC1155Receiver(to).onERC1155Received(_msgSenderERC1155P(), from, id, amount, _data) returns ( bytes4 retval ) { return retval == ERC1155P__IERC1155Receiver(to).onERC1155Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { _revert(TransferToNonERC1155ReceiverImplementer.selector); } /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } /** * @dev Private function to invoke {IERC1155Receiver-onERC155Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `id` - Token ID to be transferred. * `amount` - Balance of token to be transferred * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC1155BatchReceived( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes memory _data ) private returns (bool) { try ERC1155P__IERC1155Receiver(to).onERC1155BatchReceived(_msgSenderERC1155P(), from, ids, amounts, _data) returns ( bytes4 retval ) { return retval == ERC1155P__IERC1155Receiver(to).onERC1155BatchReceived.selector; } catch (bytes memory reason) { if (reason.length == 0) { _revert(TransferToNonERC1155ReceiverImplementer.selector); } /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC1155P() 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) { /// @solidity memory-safe-assembly 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) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { /// @solidity memory-safe-assembly assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @notice Simple single owner authorization mixin. /// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol) /// /// @dev Note: /// This implementation does NOT auto-initialize the owner to `msg.sender`. /// You MUST call the `_initializeOwner` in the constructor / initializer. /// /// While the ownable portion follows /// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility, /// the nomenclature for the 2-step ownership handover may be unique to this codebase. abstract contract Ownable { /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* CUSTOM ERRORS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The caller is not authorized to call the function. error Unauthorized(); /// @dev The `newOwner` cannot be the zero address. error NewOwnerIsZeroAddress(); /// @dev The `pendingOwner` does not have a valid handover request. error NoHandoverRequest(); /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* EVENTS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The ownership is transferred from `oldOwner` to `newOwner`. /// This event is intentionally kept the same as OpenZeppelin's Ownable to be /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), /// despite it not being as lightweight as a single argument event. event OwnershipTransferred(address indexed oldOwner, address indexed newOwner); /// @dev An ownership handover to `pendingOwner` has been requested. event OwnershipHandoverRequested(address indexed pendingOwner); /// @dev The ownership handover to `pendingOwner` has been canceled. event OwnershipHandoverCanceled(address indexed pendingOwner); /// @dev `keccak256(bytes("OwnershipTransferred(address,address)"))`. uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE = 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0; /// @dev `keccak256(bytes("OwnershipHandoverRequested(address)"))`. uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE = 0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d; /// @dev `keccak256(bytes("OwnershipHandoverCanceled(address)"))`. uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE = 0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92; /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* STORAGE */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The owner slot is given by: `not(_OWNER_SLOT_NOT)`. /// It is intentionally chosen to be a high value /// to avoid collision with lower slots. /// The choice of manual storage layout is to enable compatibility /// with both regular and upgradeable contracts. uint256 private constant _OWNER_SLOT_NOT = 0x8b78c6d8; /// The ownership handover slot of `newOwner` is given by: /// ``` /// mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED)) /// let handoverSlot := keccak256(0x00, 0x20) /// ``` /// It stores the expiry timestamp of the two-step ownership handover. uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1; /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* INTERNAL FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Initializes the owner directly without authorization guard. /// This function must be called upon initialization, /// regardless of whether the contract is upgradeable or not. /// This is to enable generalization to both regular and upgradeable contracts, /// and to save gas in case the initial owner is not the caller. /// For performance reasons, this function will not check if there /// is an existing owner. function _initializeOwner(address newOwner) internal virtual { /// @solidity memory-safe-assembly assembly { // Clean the upper 96 bits. newOwner := shr(96, shl(96, newOwner)) // Store the new value. sstore(not(_OWNER_SLOT_NOT), newOwner) // Emit the {OwnershipTransferred} event. log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner) } } /// @dev Sets the owner directly without authorization guard. function _setOwner(address newOwner) internal virtual { /// @solidity memory-safe-assembly assembly { let ownerSlot := not(_OWNER_SLOT_NOT) // Clean the upper 96 bits. newOwner := shr(96, shl(96, newOwner)) // Emit the {OwnershipTransferred} event. log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner) // Store the new value. sstore(ownerSlot, newOwner) } } /// @dev Throws if the sender is not the owner. function _checkOwner() internal view virtual { /// @solidity memory-safe-assembly assembly { // If the caller is not the stored owner, revert. if iszero(eq(caller(), sload(not(_OWNER_SLOT_NOT)))) { mstore(0x00, 0x82b42900) // `Unauthorized()`. revert(0x1c, 0x04) } } } /// @dev Returns how long a two-step ownership handover is valid for in seconds. /// Override to return a different value if needed. /// Made internal to conserve bytecode. Wrap it in a public function if needed. function _ownershipHandoverValidFor() internal view virtual returns (uint64) { return 48 * 3600; } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* PUBLIC UPDATE FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Allows the owner to transfer the ownership to `newOwner`. function transferOwnership(address newOwner) public payable virtual onlyOwner { /// @solidity memory-safe-assembly assembly { if iszero(shl(96, newOwner)) { mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`. revert(0x1c, 0x04) } } _setOwner(newOwner); } /// @dev Allows the owner to renounce their ownership. function renounceOwnership() public payable virtual onlyOwner { _setOwner(address(0)); } /// @dev Request a two-step ownership handover to the caller. /// The request will automatically expire in 48 hours (172800 seconds) by default. function requestOwnershipHandover() public payable virtual { unchecked { uint256 expires = block.timestamp + _ownershipHandoverValidFor(); /// @solidity memory-safe-assembly assembly { // Compute and set the handover slot to `expires`. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, caller()) sstore(keccak256(0x0c, 0x20), expires) // Emit the {OwnershipHandoverRequested} event. log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller()) } } } /// @dev Cancels the two-step ownership handover to the caller, if any. function cancelOwnershipHandover() public payable virtual { /// @solidity memory-safe-assembly assembly { // Compute and set the handover slot to 0. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, caller()) sstore(keccak256(0x0c, 0x20), 0) // Emit the {OwnershipHandoverCanceled} event. log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller()) } } /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`. /// Reverts if there is no existing ownership handover requested by `pendingOwner`. function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner { /// @solidity memory-safe-assembly assembly { // Compute and set the handover slot to 0. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, pendingOwner) let handoverSlot := keccak256(0x0c, 0x20) // If the handover does not exist, or has expired. if gt(timestamp(), sload(handoverSlot)) { mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`. revert(0x1c, 0x04) } // Set the handover slot to 0. sstore(handoverSlot, 0) } _setOwner(pendingOwner); } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* PUBLIC READ FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Returns the owner of the contract. function owner() public view virtual returns (address result) { /// @solidity memory-safe-assembly assembly { result := sload(not(_OWNER_SLOT_NOT)) } } /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`. function ownershipHandoverExpiresAt(address pendingOwner) public view virtual returns (uint256 result) { /// @solidity memory-safe-assembly assembly { // Compute the handover slot. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, pendingOwner) // Load the handover slot. result := sload(keccak256(0x0c, 0x20)) } } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* MODIFIERS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Marks a function as only callable by the owner. modifier onlyOwner() virtual { _checkOwner(); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "ERC1155P/contracts/IERC1155P.sol"; interface IBidTicket is IERC1155P { function setURI(uint256 tokenId, string calldata tokenURI) external; function mint(address to, uint256 id, uint256 amount) external; function mintBatch(address to, uint256[] calldata ids, uint256[] calldata amounts) external; function burn(address from, uint256 id, uint256 amount) external; function burnBatch(address from, uint256[] calldata ids, uint256[] calldata amounts) external; function setHarvestContract(address harvestContract_) external; function setAuctionsContract(address auctionsContract_) external; }
// SPDX-License-Identifier: MIT // ERC721P Contracts v1.1 pragma solidity ^0.8.20; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155P { /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Arrays cannot be different lengths. */ error ArrayLengthMismatch(); /** * Cannot burn from the zero address. */ error BurnFromZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The quantity of tokens being burned is greater than account balance. */ error BurnExceedsBalance(); /** * The quantity of tokens being transferred is greater than account balance. */ error TransferExceedsBalance(); /** * The resulting token balance exceeds the maximum storable by ERC1155P */ error ExceedsMaximumBalance(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * Cannot safely transfer to a contract that does not implement the * ERC1155Receiver interface. */ error TransferToNonERC1155ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * Exceeds max token ID */ error ExceedsMaximumTokenId(); // ============================================================= // 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); /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch( address[] calldata accounts, uint256[] calldata ids ) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "@openzeppelin/=lib/openzeppelin-contracts/", "ERC1155P/=lib/ERC1155P/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/", "solady/=lib/solady/" ], "optimizer": { "enabled": true, "runs": 10000 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "viaIR": true, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ArrayLengthMismatch","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"BurnExceedsBalance","type":"error"},{"inputs":[],"name":"BurnFromZeroAddress","type":"error"},{"inputs":[],"name":"ExceedsMaximumBalance","type":"error"},{"inputs":[],"name":"ExceedsMaximumTokenId","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NoHandoverRequest","type":"error"},{"inputs":[],"name":"NotAuthorized","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferExceedsBalance","type":"error"},{"inputs":[],"name":"TransferToNonERC1155ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"auctionsContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cancelOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"completeOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"harvestContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"_approved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"requestOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"auctionsContract_","type":"address"}],"name":"setAuctionsContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"harvestContract_","type":"address"}],"name":"setHarvestContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608080604052346100455733638b78c6d819553360007f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a36128d9908161004b8239f35b600080fdfe6040608081526004908136101561001557600080fd5b600091823560e01c908162fdd58e146120c257816301ffc9a714611ff057816306fdde0314611f935781630e89341c14611eab5781631102fb5714611e78578163156e29f614611b5c5781632569296214611b115781632eb2c2d6146116cd5781634e1273f41461151a57816354d1f13d146114d45781636b20c45414611249578163715018a614611203578163862440e214610f055781638da5cb5b14610ecc57816395d89b4114610e6a57816396a1521e14610e065781639a604a7a14610da4578163a22cb46514610d08578163d81d0a15146108e2578163e8ca3bbb146108ad578163e985e9c51461082e578163f04e283e1461079e578163f242432a146103f3578163f2fde38b14610378578163f5298aca14610176575063fee81cf41461014057600080fd5b346101725760206003193601126101725760209161015c6120f2565b9063389a75e1600c525281600c20549051908152f35b5080fd5b838334610172576101863661219b565b90919473ffffffffffffffffffffffffffffffffffffffff80600154163303610340575b6b7fffffffffffffffffffffff8411610319578616156102f3578484516101d08161224e565b5261022383879060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b908183116102cd575091816102958697936102ca97950383859190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b845191825260208201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62843392a45161224e565b80f35b857f588569f7000000000000000000000000000000000000000000000000000000008152fd5b847fb817eee7000000000000000000000000000000000000000000000000000000008152fd5b50847f8ceeefe2000000000000000000000000000000000000000000000000000000008152fd5b80638b78c6d81954163303156101aa575083517fea8e4eb5000000000000000000000000000000000000000000000000000000008152fd5b839060206003193601126101725761038e6120f2565b90610397612833565b8160601b156103e8575073ffffffffffffffffffffffffffffffffffffffff16638b78c6d8198181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a35580f35b637448fbae8352601cfd5b9190503461079a5760a060031936011261079a5761040f6120f2565b9061041861211a565b6044356064359160843567ffffffffffffffff81116107965761043e90369088016122e5565b936b7fffffffffffffffffffffff831161076f5773ffffffffffffffffffffffffffffffffffffffff808316908115610748578716903382036106d2575b6104ce85899060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b918287116106ab579184939189930361055a575b507fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628151918683528760208401523392a4803b61051d578680f35b61052694612612565b156105345780808080808680f35b907f9c05499b000000000000000000000000000000000000000000000000000000008152fd5b9150916105b08587929060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b019061ffff8211610684579161067e88926106238887960388869190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b86859190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b386104e2565b888a7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b898b7f169b037b000000000000000000000000000000000000000000000000000000008152fd5b73ffffffffffffffffffffffffffffffffffffffff881660009081527fd000000000000000000000000000000000000000000000000000000000000000331760205260408120908190525461047c57888a7f59c896be000000000000000000000000000000000000000000000000000000008152fd5b888a7fea553b34000000000000000000000000000000000000000000000000000000008152fd5b86887f8ceeefe2000000000000000000000000000000000000000000000000000000008152fd5b8780fd5b8280fd5b83602060031936011261082b576107b36120f2565b6107bb612833565b63389a75e1600c528082526020600c20928354421161082057508173ffffffffffffffffffffffffffffffffffffffff92935516638b78c6d8198181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a35580f35b636f5e88188352601cfd5b80fd5b5050346101725780600319360112610172576020906108a461084e6120f2565b61085661211a565b73ffffffffffffffffffffffffffffffffffffffff809216600052167fd000000000000000000000000000000000000000000000000000000000000000176020526040600020806000525490565b90519015158152f35b50503461017257816003193601126101725760209073ffffffffffffffffffffffffffffffffffffffff600154169051908152f35b90503461079a576108f23661232c565b9273ffffffffffffffffffffffffffffffffffffffff96949692919294858954163303610cd0575b8051956109268761224e565b898752881615610ca957848303610c82578890815b8481106109c757509081899899925190808252858060051b918260600160208501528301528085606084013781018760608201528660808960051b9201377f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb33918860061b60800190a4853b6109af578780f35b6109b8956126c7565b15610534578080808080808780f35b9091506109d581858561244c565b356109e182888861244c565b35906b7fffffffffffffffffffffff8111610c5b578115610c3457610a4e818c9060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b9180830161ffff93848211610c0d578110610be657610ac290838e9190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b610b19828d9060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1663ffff0000811b60206000205416901c60101c90565b908101928311610bbf578210610b985791610b926001928d95948d9190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169063ffff000083549160101b831b921b1916179055565b0161093b565b898c7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b8a8d7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b8b8e7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b8c8f7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b898c7fb562e8dd000000000000000000000000000000000000000000000000000000008152fd5b898c7f8ceeefe2000000000000000000000000000000000000000000000000000000008152fd5b86897fa24a13a6000000000000000000000000000000000000000000000000000000008152fd5b86897f2e076300000000000000000000000000000000000000000000000000000000008152fd5b85638b78c6d819541633031561091a578690517fea8e4eb5000000000000000000000000000000000000000000000000000000008152fd5b505034610172578060031936011261017257610d226120f2565b602435908115158203610da05773ffffffffffffffffffffffffffffffffffffffff903385521691827fd0000000000000000000000000000000000000000000000000000000000000001760205283208160205255337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31602080a380f35b8380fd5b833461082b57602060031936011261082b5773ffffffffffffffffffffffffffffffffffffffff610dd36120f2565b610ddb612833565b167fffffffffffffffffffffffff000000000000000000000000000000000000000082541617815580f35b833461082b57602060031936011261082b5773ffffffffffffffffffffffffffffffffffffffff610e356120f2565b610e3d612833565b167fffffffffffffffffffffffff0000000000000000000000000000000000000000600154161760015580f35b9190503461079a578260031936011261079a57610ec89250805191610e8e83612203565b82527f54434b540000000000000000000000000000000000000000000000000000000060208301525191829160208352602083019061213d565b0390f35b50503461017257816003193601126101725760209073ffffffffffffffffffffffffffffffffffffffff638b78c6d81954915191168152f35b9190503461079a578060031936011261079a5781359160249081359067ffffffffffffffff908183116111ff57366023840112156111ff578201359081116111fb57368382840101116111fb57610f5a612833565b848652806020936002855285882093610f738554612850565b601f81116111ab575b508890601f84116001146111035789936110f6575b5050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790555b828452600281528184209180519285908054610fdf81612850565b808752916001918083169081156110985750600114611044575b50505083929161102f7f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b9561103e93038561226a565b5192828493845283019061213d565b0390a280f35b88528488208893505b82841061108557505050830182018161102f7f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b610ff9565b805487850187015292850192810161104d565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001687890152505050151560051b8401830190508161102f7f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b610ff9565b0101359050388080610f91565b9190927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692858a52868a20938a5b8882821061119357505090856001969594939210611159575b50505050811b019055610fc4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88660031b161c19920101351690553880808061114b565b60018497868394968901013581550196019201611132565b90919250848952858920601f850160051c8101918786106111f1575b90601f86959493920160051c01905b8181106111e35750610f7c565b8a81558594506001016111d6565b90915081906111c7565b8580fd5b8680fd5b838060031936011261082b57611217612833565b80638b78c6d8198181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35580f35b838334610172576112593661232c565b9290919673ffffffffffffffffffffffffffffffffffffffff60019080825416330361149c575b8616156114755784890361144e5787875161129a8161224e565b52875b8981106113125750876102ca888289897f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8f8b8b8751928884528060051b9182918260600160208701528a860152606085013782019084606083015260808560051b920137339260061b60800190a45161224e565b61131d818b8661244c565b3561132982888861244c565b356b7fffffffffffffffffffffff82116114275761138f828a9060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b80821161140057916113fa9185949303908a9190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b0161129d565b858c7f588569f7000000000000000000000000000000000000000000000000000000008152fd5b848b7f8ceeefe2000000000000000000000000000000000000000000000000000000008152fd5b50867fa24a13a6000000000000000000000000000000000000000000000000000000008152fd5b50867fb817eee7000000000000000000000000000000000000000000000000000000008152fd5b80638b78c6d8195416330315611280578288517fea8e4eb5000000000000000000000000000000000000000000000000000000008152fd5b838060031936011261082b5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b8391503461017257826003193601126101725767ffffffffffffffff9181358381116101725761154d90369084016121d2565b919093602490813590811161079a5761156990369086016121d2565b9590948685036116a757611581859897969495612434565b9361158e8851958661226a565b88855261159a89612434565b966020997fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08b88019901368a37875b818110611612575050505050505083519485948186019282875251809352850193925b8281106115fb57505050500390f35b8351855286955093810193928101926001016115ec565b6116238183889e9b9a9c9d9e61244c565b3573ffffffffffffffffffffffffffffffffffffffff811681036116a3576116579061165083868861244c565b3590612399565b8a5182101561167857600582901b8b018a0152979a999896976001016115c9565b87896032887f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8880fd5b837fa24a13a6000000000000000000000000000000000000000000000000000000008152fd5b9190503461079a5760a060031936011261079a576116e96120f2565b906116f261211a565b67ffffffffffffffff6044358181116111ff5761171290369087016121d2565b906064358381116116a35761172a90369089016121d2565b949093608435908111611b0d576117449036908a016122e5565b9573ffffffffffffffffffffffffffffffffffffffff808316908115611ae657878603611abf57891690338203611a49575b83928a92909114158c5b878110611809575050805190808252868060051b918260600160208501528301528086606084013781018860608201528760808a60051b9201377f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb33918960061b60800190a4803b6117f0578880f35b6117f99661277c565b1561053457808080808080808880f35b919350915061181981878761244c565b35611825828a8a61244c565b35906b7fffffffffffffffffffffff8111611a225761188c818d9060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b918281116119fb57846118ab575b505050600101909183928a92611780565b806118fe83899060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b019261ffff84116119d357916119718e8260019796946119cb960390917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b879190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b90388061189a565b508d8f7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b8d8f7f169b037b000000000000000000000000000000000000000000000000000000008152fd5b8c8e7f8ceeefe2000000000000000000000000000000000000000000000000000000008152fd5b73ffffffffffffffffffffffffffffffffffffffff8a1660009081527fd0000000000000000000000000000000000000000000000000000000000000003317602052604081209081905254611776578a8c7f59c896be000000000000000000000000000000000000000000000000000000008152fd5b8a8c7fa24a13a6000000000000000000000000000000000000000000000000000000008152fd5b8a8c7fea553b34000000000000000000000000000000000000000000000000000000008152fd5b8980fd5b838060031936011261082b5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b9190503461079a57611b6d3661219b565b9073ffffffffffffffffffffffffffffffffffffffff93929392838754163303611e40575b805193611b9e8561224e565b8785526b7fffffffffffffffffffffff831161076f57851615611e19578215611df257611c1382869060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b83810161ffff91828211610684578110611dcb57611c869084889190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b611cdd83879060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1663ffff0000811b60206000205416901c60101c90565b848101918211611dcb578110611da4578591611d54899285859190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169063ffff000083549160101b831b921b1916179055565b7fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628151918583528660208401523392a4833b611d8e578580f35b611d97936124f3565b1561053457808080808580f35b86887fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b87897fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b85877fb562e8dd000000000000000000000000000000000000000000000000000000008152fd5b85877f2e076300000000000000000000000000000000000000000000000000000000008152fd5b83638b78c6d8195416330315611b92578590517fea8e4eb5000000000000000000000000000000000000000000000000000000008152fd5b50503461017257816003193601126101725773ffffffffffffffffffffffffffffffffffffffff60209254169051908152f35b9190503461079a5760209182600319360112610da05735835260028252808320815193849181815490611edd82612850565b92838652600192888482169182600014611f4b575050600114611f0d575b8588610ec88961102f848a038561226a565b87945081939291528383205b828410611f33575050508201018161102f610ec838611efb565b8054848a018601528895508794909301928101611f19565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168882015294151560051b8701909401945085935061102f9250610ec89150389050611efb565b5050346101725781600319360112610172578051610ec891611fb482612203565b600982527f4269645469636b6574000000000000000000000000000000000000000000000060208301525191829160208352602083019061213d565b90503461079a57602060031936011261079a5735907fffffffff00000000000000000000000000000000000000000000000000000000821680920361079a57602092507f01ffc9a7000000000000000000000000000000000000000000000000000000008214918215612098575b821561206e575b50519015158152f35b7f0e89341c0000000000000000000000000000000000000000000000000000000014915038612065565b7fd9b67a26000000000000000000000000000000000000000000000000000000008114925061205e565b5050346101725780600319360112610172576020906120eb6120e26120f2565b60243590612399565b9051908152f35b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361211557565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361211557565b919082519283825260005b8481106121875750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006020809697860101520116010190565b602081830181015184830182015201612148565b60031960609101126121155760043573ffffffffffffffffffffffffffffffffffffffff8116810361211557906024359060443590565b9181601f840112156121155782359167ffffffffffffffff8311612115576020808501948460051b01011161211557565b6040810190811067ffffffffffffffff82111761221f57604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6020810190811067ffffffffffffffff82111761221f57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761221f57604052565b67ffffffffffffffff811161221f57601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b81601f82011215612115578035906122fc826122ab565b9261230a604051948561226a565b8284526020838301011161211557816000926020809301838601378301015290565b9060606003198301126121155760043573ffffffffffffffffffffffffffffffffffffffff81168103612115579167ffffffffffffffff91602435838111612115578261237b916004016121d2565b9390939260443591821161211557612395916004016121d2565b9091565b9073ffffffffffffffffffffffffffffffffffffffff82161561240a57612407919060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b90565b7f8f4eb6040000000000000000000000000000000000000000000000000000000060005260046000fd5b67ffffffffffffffff811161221f5760051b60200190565b919081101561245c5760051b0190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9081602091031261211557517fffffffff00000000000000000000000000000000000000000000000000000000811681036121155790565b3d156124ee573d906124d4826122ab565b916124e2604051938461226a565b82523d6000602084013e565b606090565b926020919361256893600073ffffffffffffffffffffffffffffffffffffffff6040518097819682957ff23a6e61000000000000000000000000000000000000000000000000000000009b8c85523360048601528660248601526044850152606484015260a0608484015260a483019061213d565b0393165af1600091816125e2575b506125bc576125836124c3565b80511561259257805190602001fd5b7f9c05499b0000000000000000000000000000000000000000000000000000000060005260046000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000161490565b61260491925060203d811161260b575b6125fc818361226a565b81019061248b565b9038612576565b503d6125f2565b9061256893600060209496936040518097819682957ff23a6e61000000000000000000000000000000000000000000000000000000009b8c855233600486015273ffffffffffffffffffffffffffffffffffffffff80961660248601526044850152606484015260a0608484015260a483019061213d565b90918281527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83116121155760209260051b809284830137010190565b92919460405194859384937fbc197c81000000000000000000000000000000000000000000000000000000009889865233600487015260248601600090526044860160a0905260a486019061271b9261268a565b60031992838683030160648701526127329261268a565b908382030160848401526127459161213d565b039173ffffffffffffffffffffffffffffffffffffffff1691815a602094600091f1600091816125e257506125bc576125836124c3565b919093929560405195869485937fbc197c8100000000000000000000000000000000000000000000000000000000998a865233600487015273ffffffffffffffffffffffffffffffffffffffff80971660248701526044860160a0905260a48601906127e79261268a565b60031992838683030160648701526127fe9261268a565b908382030160848401526128119161213d565b03921691815a602094600091f1600091816125e257506125bc576125836124c3565b638b78c6d81954330361284257565b6382b429006000526004601cfd5b90600182811c92168015612899575b602083101461286a57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f169161285f56fea2646970667358221220c62b6c4a774668339bc3342fc2ff8127e944f80218edb37ad890391eac9d27ab64736f6c63430008140033
Deployed Bytecode
0x6040608081526004908136101561001557600080fd5b600091823560e01c908162fdd58e146120c257816301ffc9a714611ff057816306fdde0314611f935781630e89341c14611eab5781631102fb5714611e78578163156e29f614611b5c5781632569296214611b115781632eb2c2d6146116cd5781634e1273f41461151a57816354d1f13d146114d45781636b20c45414611249578163715018a614611203578163862440e214610f055781638da5cb5b14610ecc57816395d89b4114610e6a57816396a1521e14610e065781639a604a7a14610da4578163a22cb46514610d08578163d81d0a15146108e2578163e8ca3bbb146108ad578163e985e9c51461082e578163f04e283e1461079e578163f242432a146103f3578163f2fde38b14610378578163f5298aca14610176575063fee81cf41461014057600080fd5b346101725760206003193601126101725760209161015c6120f2565b9063389a75e1600c525281600c20549051908152f35b5080fd5b838334610172576101863661219b565b90919473ffffffffffffffffffffffffffffffffffffffff80600154163303610340575b6b7fffffffffffffffffffffff8411610319578616156102f3578484516101d08161224e565b5261022383879060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b908183116102cd575091816102958697936102ca97950383859190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b845191825260208201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62843392a45161224e565b80f35b857f588569f7000000000000000000000000000000000000000000000000000000008152fd5b847fb817eee7000000000000000000000000000000000000000000000000000000008152fd5b50847f8ceeefe2000000000000000000000000000000000000000000000000000000008152fd5b80638b78c6d81954163303156101aa575083517fea8e4eb5000000000000000000000000000000000000000000000000000000008152fd5b839060206003193601126101725761038e6120f2565b90610397612833565b8160601b156103e8575073ffffffffffffffffffffffffffffffffffffffff16638b78c6d8198181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a35580f35b637448fbae8352601cfd5b9190503461079a5760a060031936011261079a5761040f6120f2565b9061041861211a565b6044356064359160843567ffffffffffffffff81116107965761043e90369088016122e5565b936b7fffffffffffffffffffffff831161076f5773ffffffffffffffffffffffffffffffffffffffff808316908115610748578716903382036106d2575b6104ce85899060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b918287116106ab579184939189930361055a575b507fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628151918683528760208401523392a4803b61051d578680f35b61052694612612565b156105345780808080808680f35b907f9c05499b000000000000000000000000000000000000000000000000000000008152fd5b9150916105b08587929060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b019061ffff8211610684579161067e88926106238887960388869190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b86859190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b386104e2565b888a7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b898b7f169b037b000000000000000000000000000000000000000000000000000000008152fd5b73ffffffffffffffffffffffffffffffffffffffff881660009081527fd000000000000000000000000000000000000000000000000000000000000000331760205260408120908190525461047c57888a7f59c896be000000000000000000000000000000000000000000000000000000008152fd5b888a7fea553b34000000000000000000000000000000000000000000000000000000008152fd5b86887f8ceeefe2000000000000000000000000000000000000000000000000000000008152fd5b8780fd5b8280fd5b83602060031936011261082b576107b36120f2565b6107bb612833565b63389a75e1600c528082526020600c20928354421161082057508173ffffffffffffffffffffffffffffffffffffffff92935516638b78c6d8198181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08580a35580f35b636f5e88188352601cfd5b80fd5b5050346101725780600319360112610172576020906108a461084e6120f2565b61085661211a565b73ffffffffffffffffffffffffffffffffffffffff809216600052167fd000000000000000000000000000000000000000000000000000000000000000176020526040600020806000525490565b90519015158152f35b50503461017257816003193601126101725760209073ffffffffffffffffffffffffffffffffffffffff600154169051908152f35b90503461079a576108f23661232c565b9273ffffffffffffffffffffffffffffffffffffffff96949692919294858954163303610cd0575b8051956109268761224e565b898752881615610ca957848303610c82578890815b8481106109c757509081899899925190808252858060051b918260600160208501528301528085606084013781018760608201528660808960051b9201377f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb33918860061b60800190a4853b6109af578780f35b6109b8956126c7565b15610534578080808080808780f35b9091506109d581858561244c565b356109e182888861244c565b35906b7fffffffffffffffffffffff8111610c5b578115610c3457610a4e818c9060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b9180830161ffff93848211610c0d578110610be657610ac290838e9190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b610b19828d9060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1663ffff0000811b60206000205416901c60101c90565b908101928311610bbf578210610b985791610b926001928d95948d9190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169063ffff000083549160101b831b921b1916179055565b0161093b565b898c7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b8a8d7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b8b8e7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b8c8f7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b898c7fb562e8dd000000000000000000000000000000000000000000000000000000008152fd5b898c7f8ceeefe2000000000000000000000000000000000000000000000000000000008152fd5b86897fa24a13a6000000000000000000000000000000000000000000000000000000008152fd5b86897f2e076300000000000000000000000000000000000000000000000000000000008152fd5b85638b78c6d819541633031561091a578690517fea8e4eb5000000000000000000000000000000000000000000000000000000008152fd5b505034610172578060031936011261017257610d226120f2565b602435908115158203610da05773ffffffffffffffffffffffffffffffffffffffff903385521691827fd0000000000000000000000000000000000000000000000000000000000000001760205283208160205255337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31602080a380f35b8380fd5b833461082b57602060031936011261082b5773ffffffffffffffffffffffffffffffffffffffff610dd36120f2565b610ddb612833565b167fffffffffffffffffffffffff000000000000000000000000000000000000000082541617815580f35b833461082b57602060031936011261082b5773ffffffffffffffffffffffffffffffffffffffff610e356120f2565b610e3d612833565b167fffffffffffffffffffffffff0000000000000000000000000000000000000000600154161760015580f35b9190503461079a578260031936011261079a57610ec89250805191610e8e83612203565b82527f54434b540000000000000000000000000000000000000000000000000000000060208301525191829160208352602083019061213d565b0390f35b50503461017257816003193601126101725760209073ffffffffffffffffffffffffffffffffffffffff638b78c6d81954915191168152f35b9190503461079a578060031936011261079a5781359160249081359067ffffffffffffffff908183116111ff57366023840112156111ff578201359081116111fb57368382840101116111fb57610f5a612833565b848652806020936002855285882093610f738554612850565b601f81116111ab575b508890601f84116001146111035789936110f6575b5050507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790555b828452600281528184209180519285908054610fdf81612850565b808752916001918083169081156110985750600114611044575b50505083929161102f7f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b9561103e93038561226a565b5192828493845283019061213d565b0390a280f35b88528488208893505b82841061108557505050830182018161102f7f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b610ff9565b805487850187015292850192810161104d565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001687890152505050151560051b8401830190508161102f7f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b610ff9565b0101359050388080610f91565b9190927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01692858a52868a20938a5b8882821061119357505090856001969594939210611159575b50505050811b019055610fc4565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88660031b161c19920101351690553880808061114b565b60018497868394968901013581550196019201611132565b90919250848952858920601f850160051c8101918786106111f1575b90601f86959493920160051c01905b8181106111e35750610f7c565b8a81558594506001016111d6565b90915081906111c7565b8580fd5b8680fd5b838060031936011261082b57611217612833565b80638b78c6d8198181547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a35580f35b838334610172576112593661232c565b9290919673ffffffffffffffffffffffffffffffffffffffff60019080825416330361149c575b8616156114755784890361144e5787875161129a8161224e565b52875b8981106113125750876102ca888289897f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8f8b8b8751928884528060051b9182918260600160208701528a860152606085013782019084606083015260808560051b920137339260061b60800190a45161224e565b61131d818b8661244c565b3561132982888861244c565b356b7fffffffffffffffffffffff82116114275761138f828a9060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b80821161140057916113fa9185949303908a9190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b0161129d565b858c7f588569f7000000000000000000000000000000000000000000000000000000008152fd5b848b7f8ceeefe2000000000000000000000000000000000000000000000000000000008152fd5b50867fa24a13a6000000000000000000000000000000000000000000000000000000008152fd5b50867fb817eee7000000000000000000000000000000000000000000000000000000008152fd5b80638b78c6d8195416330315611280578288517fea8e4eb5000000000000000000000000000000000000000000000000000000008152fd5b838060031936011261082b5763389a75e1600c52338152806020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c928280a280f35b8391503461017257826003193601126101725767ffffffffffffffff9181358381116101725761154d90369084016121d2565b919093602490813590811161079a5761156990369086016121d2565b9590948685036116a757611581859897969495612434565b9361158e8851958661226a565b88855261159a89612434565b966020997fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08b88019901368a37875b818110611612575050505050505083519485948186019282875251809352850193925b8281106115fb57505050500390f35b8351855286955093810193928101926001016115ec565b6116238183889e9b9a9c9d9e61244c565b3573ffffffffffffffffffffffffffffffffffffffff811681036116a3576116579061165083868861244c565b3590612399565b8a5182101561167857600582901b8b018a0152979a999896976001016115c9565b87896032887f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b8880fd5b837fa24a13a6000000000000000000000000000000000000000000000000000000008152fd5b9190503461079a5760a060031936011261079a576116e96120f2565b906116f261211a565b67ffffffffffffffff6044358181116111ff5761171290369087016121d2565b906064358381116116a35761172a90369089016121d2565b949093608435908111611b0d576117449036908a016122e5565b9573ffffffffffffffffffffffffffffffffffffffff808316908115611ae657878603611abf57891690338203611a49575b83928a92909114158c5b878110611809575050805190808252868060051b918260600160208501528301528086606084013781018860608201528760808a60051b9201377f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb33918960061b60800190a4803b6117f0578880f35b6117f99661277c565b1561053457808080808080808880f35b919350915061181981878761244c565b35611825828a8a61244c565b35906b7fffffffffffffffffffffff8111611a225761188c818d9060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b918281116119fb57846118ab575b505050600101909183928a92611780565b806118fe83899060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b019261ffff84116119d357916119718e8260019796946119cb960390917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b879190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b90388061189a565b508d8f7fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b8d8f7f169b037b000000000000000000000000000000000000000000000000000000008152fd5b8c8e7f8ceeefe2000000000000000000000000000000000000000000000000000000008152fd5b73ffffffffffffffffffffffffffffffffffffffff8a1660009081527fd0000000000000000000000000000000000000000000000000000000000000003317602052604081209081905254611776578a8c7f59c896be000000000000000000000000000000000000000000000000000000008152fd5b8a8c7fa24a13a6000000000000000000000000000000000000000000000000000000008152fd5b8a8c7fea553b34000000000000000000000000000000000000000000000000000000008152fd5b8980fd5b838060031936011261082b5763389a75e1600c523381526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d8280a280f35b9190503461079a57611b6d3661219b565b9073ffffffffffffffffffffffffffffffffffffffff93929392838754163303611e40575b805193611b9e8561224e565b8785526b7fffffffffffffffffffffff831161076f57851615611e19578215611df257611c1382869060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b83810161ffff91828211610684578110611dcb57611c869084889190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169061ffff835491831b921b1916179055565b611cdd83879060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1663ffff0000811b60206000205416901c60101c90565b848101918211611dcb578110611da4578591611d54899285859190917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008360031c91605c1b1617600760fd1b1760005260e06020600020928360005260051b169063ffff000083549160101b831b921b1916179055565b7fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628151918583528660208401523392a4833b611d8e578580f35b611d97936124f3565b1561053457808080808580f35b86887fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b87897fb6cdf5d0000000000000000000000000000000000000000000000000000000008152fd5b85877fb562e8dd000000000000000000000000000000000000000000000000000000008152fd5b85877f2e076300000000000000000000000000000000000000000000000000000000008152fd5b83638b78c6d8195416330315611b92578590517fea8e4eb5000000000000000000000000000000000000000000000000000000008152fd5b50503461017257816003193601126101725773ffffffffffffffffffffffffffffffffffffffff60209254169051908152f35b9190503461079a5760209182600319360112610da05735835260028252808320815193849181815490611edd82612850565b92838652600192888482169182600014611f4b575050600114611f0d575b8588610ec88961102f848a038561226a565b87945081939291528383205b828410611f33575050508201018161102f610ec838611efb565b8054848a018601528895508794909301928101611f19565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168882015294151560051b8701909401945085935061102f9250610ec89150389050611efb565b5050346101725781600319360112610172578051610ec891611fb482612203565b600982527f4269645469636b6574000000000000000000000000000000000000000000000060208301525191829160208352602083019061213d565b90503461079a57602060031936011261079a5735907fffffffff00000000000000000000000000000000000000000000000000000000821680920361079a57602092507f01ffc9a7000000000000000000000000000000000000000000000000000000008214918215612098575b821561206e575b50519015158152f35b7f0e89341c0000000000000000000000000000000000000000000000000000000014915038612065565b7fd9b67a26000000000000000000000000000000000000000000000000000000008114925061205e565b5050346101725780600319360112610172576020906120eb6120e26120f2565b60243590612399565b9051908152f35b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361211557565b600080fd5b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361211557565b919082519283825260005b8481106121875750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006020809697860101520116010190565b602081830181015184830182015201612148565b60031960609101126121155760043573ffffffffffffffffffffffffffffffffffffffff8116810361211557906024359060443590565b9181601f840112156121155782359167ffffffffffffffff8311612115576020808501948460051b01011161211557565b6040810190811067ffffffffffffffff82111761221f57604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6020810190811067ffffffffffffffff82111761221f57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761221f57604052565b67ffffffffffffffff811161221f57601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b81601f82011215612115578035906122fc826122ab565b9261230a604051948561226a565b8284526020838301011161211557816000926020809301838601378301015290565b9060606003198301126121155760043573ffffffffffffffffffffffffffffffffffffffff81168103612115579167ffffffffffffffff91602435838111612115578261237b916004016121d2565b9390939260443591821161211557612395916004016121d2565b9091565b9073ffffffffffffffffffffffffffffffffffffffff82161561240a57612407919060e0917f0ffffffffffffffffffffffffffffffffffffffff000000000000000000000008260031c91605c1b1617600760fd1b1760005260051b1661ffff811b60206000205416901c90565b90565b7f8f4eb6040000000000000000000000000000000000000000000000000000000060005260046000fd5b67ffffffffffffffff811161221f5760051b60200190565b919081101561245c5760051b0190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9081602091031261211557517fffffffff00000000000000000000000000000000000000000000000000000000811681036121155790565b3d156124ee573d906124d4826122ab565b916124e2604051938461226a565b82523d6000602084013e565b606090565b926020919361256893600073ffffffffffffffffffffffffffffffffffffffff6040518097819682957ff23a6e61000000000000000000000000000000000000000000000000000000009b8c85523360048601528660248601526044850152606484015260a0608484015260a483019061213d565b0393165af1600091816125e2575b506125bc576125836124c3565b80511561259257805190602001fd5b7f9c05499b0000000000000000000000000000000000000000000000000000000060005260046000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000161490565b61260491925060203d811161260b575b6125fc818361226a565b81019061248b565b9038612576565b503d6125f2565b9061256893600060209496936040518097819682957ff23a6e61000000000000000000000000000000000000000000000000000000009b8c855233600486015273ffffffffffffffffffffffffffffffffffffffff80961660248601526044850152606484015260a0608484015260a483019061213d565b90918281527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83116121155760209260051b809284830137010190565b92919460405194859384937fbc197c81000000000000000000000000000000000000000000000000000000009889865233600487015260248601600090526044860160a0905260a486019061271b9261268a565b60031992838683030160648701526127329261268a565b908382030160848401526127459161213d565b039173ffffffffffffffffffffffffffffffffffffffff1691815a602094600091f1600091816125e257506125bc576125836124c3565b919093929560405195869485937fbc197c8100000000000000000000000000000000000000000000000000000000998a865233600487015273ffffffffffffffffffffffffffffffffffffffff80971660248701526044860160a0905260a48601906127e79261268a565b60031992838683030160648701526127fe9261268a565b908382030160848401526128119161213d565b03921691815a602094600091f1600091816125e257506125bc576125836124c3565b638b78c6d81954330361284257565b6382b429006000526004601cfd5b90600182811c92168015612899575b602083101461286a57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f169161285f56fea2646970667358221220c62b6c4a774668339bc3342fc2ff8127e944f80218edb37ad890391eac9d27ab64736f6c63430008140033
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.