ERC-721
Overview
Max Total Supply
0 BAYC
Holders
5,362
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 BAYCLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
NFTMirror
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.28;import {ERC721} from "solady/tokens/ERC721.sol";import {LibString} from "solady/utils/LibString.sol";import {OwnableRoles} from "solady/auth/OwnableRoles.sol";contract NFTMirror is ERC721, OwnableRoles {error ArrayLengthMismatch();uint256 public immutable BASE_CONTRACT_CHAIN_ID;address public immutable BASE_CONTRACT_ADDRESS;string private _baseTokenUri;string private _name;string private _symbol;uint256 private constant _TRANSFER_ROLE = _ROLE_0;constructor(string memory _collectionName,string memory _collectionSymbol,string memory _baseTokenURI,uint256 _baseContractChainId,address _baseContractAddress) {BASE_CONTRACT_CHAIN_ID = _baseContractChainId;BASE_CONTRACT_ADDRESS = _baseContractAddress;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.4;/// @notice Simple ERC721 implementation with storage hitchhiking./// @author Solady (https://github.com/vectorized/solady/blob/main/src/tokens/ERC721.sol)/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/tree/master/contracts/token/ERC721/ERC721.sol)////// @dev Note:/// - The ERC721 standard allows for self-approvals./// For performance, this implementation WILL NOT revert for such actions./// Please add any checks with overrides if desired./// - For performance, methods are made payable where permitted by the ERC721 standard./// - The `safeTransfer` functions use the identity precompile (0x4)/// to copy memory internally.////// If you are overriding:/// - NEVER violate the ERC721 invariant:/// the balance of an owner MUST always be equal to their number of ownership slots./// The transfer functions do not have an underflow guard for user token balances./// - Make sure all variables written to storage are properly cleaned// (e.g. the bool value for `isApprovedForAll` MUST be either 1 or 0 under the hood)./// - Check that the overridden function is actually used in the function you want to/// change the behavior of. Much of the code has been manually inlined for performance.abstract contract ERC721 {/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.4;/// @notice Library for converting numbers into strings and other string operations./// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/LibString.sol)/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/LibString.sol)////// @dev Note:/// For performance and bytecode compactness, most of the string operations are restricted to/// byte strings (7-bit ASCII), except where otherwise specified./// Usage of byte string operations on charsets with runes spanning two or more bytes/// can lead to undefined behavior.library LibString {/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*//* CUSTOM ERRORS *//*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*//// @dev The length of the output is too small to contain all the hex digits.error HexLengthInsufficient();/// @dev The length of the string is more than 32 bytes.error TooBigForSmallString();/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*//* CONSTANTS *//*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.4;import {Ownable} from "./Ownable.sol";/// @notice Simple single owner and multiroles authorization mixin./// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)/// @dev While the ownable portion follows [EIP-173](https://eips.ethereum.org/EIPS/eip-173)/// for compatibility, the nomenclature for the 2-step ownership handover and roles/// may be unique to this codebase.abstract contract OwnableRoles is Ownable {/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*//* EVENTS *//*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*//// @dev The `user`'s roles is updated to `roles`./// Each bit of `roles` represents whether the role is set.event RolesUpdated(address indexed user, uint256 indexed roles);/// @dev `keccak256(bytes("RolesUpdated(address,uint256)"))`.uint256 private constant _ROLES_UPDATED_EVENT_SIGNATURE =0x715ad5ce61fc9595c7b415289d59cf203f23a94fa06f04af7e489a0a76e1fe26;/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*//* STORAGE *//*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma 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();
1234567891011121314151617181920212223242526{"remappings": ["forge-std/=lib/forge-std/src/","solady/=lib/solady/src/","pyth/=lib/pyth-sdk-solidity/","NFTMIrror/=lib/NFTMIrror/src/","pyth-sdk-solidity/=lib/pyth-sdk-solidity/"],"optimizer": {"enabled": true,"runs": 200},"metadata": {"useLiteralContent": false,"bytecodeHash": "ipfs","appendCBOR": true},"outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_collectionName","type":"string"},{"internalType":"string","name":"_collectionSymbol","type":"string"},{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"uint256","name":"_baseContractChainId","type":"uint256"},{"internalType":"address","name":"_baseContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccountBalanceOverflow","type":"error"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"ArrayLengthMismatch","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NoHandoverRequest","type":"error"},{"inputs":[],"name":"NotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","type":"error"},{"inputs":[],"name":"TokenDoesNotExist","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"isApproved","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":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"roles","type":"uint256"}],"name":"RolesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BASE_CONTRACT_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BASE_CONTRACT_CHAIN_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"sources","type":"address[]"},{"internalType":"address[]","name":"destinations","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"payable","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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"result","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"roles","type":"uint256"}],"name":"grantRoles","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"roles","type":"uint256"}],"name":"hasAllRoles","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"roles","type":"uint256"}],"name":"hasAnyRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"destinations","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","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":[{"internalType":"uint256","name":"roles","type":"uint256"}],"name":"renounceRoles","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"requestOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"roles","type":"uint256"}],"name":"revokeRoles","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"rolesOf","outputs":[{"internalType":"uint256","name":"roles","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"isApproved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60c06040523461052f57611a8e8038038061001981610534565b928339810160a08282031261052f5781516001600160401b03811161052f5781610044918401610559565b60208301519091906001600160401b03811161052f5781610066918501610559565b604084015190916001600160401b03821161052f57610086918501610559565b606084015160809094015190936001600160a01b038216820361052f5760805260a05282516001600160401b03811161035b57600054600181811c91168015610525575b602082101461033b57601f81116104c1575b506020601f821160011461045b5781929394600092610450575b50508160011b916000199060031b1c1916176000555b81516001600160401b03811161035b57600154600181811c91168015610446575b602082101461033b57601f81116103e1575b50602092601f821160011461037c5792819293600092610371575b50508160011b916000199060031b1c1916176001555b80516001600160401b03811161035b57600254600181811c91168015610351575b602082101461033b57601f81116102d6575b50602091601f821160011461027257918192600092610267575b50508160011b916000199060031b1c1916176002555b32638b78c6d819553260007f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a3638b78c6d8600c52326000526020600c206001815417809155600c5160601c7f715ad5ce61fc9595c7b415289d59cf203f23a94fa06f04af7e489a0a76e1fe26600080a36040516114c990816105c5823960805181610ba9015260a05181610b620152f35b0151905038806101bd565b601f198216926002600052806000209160005b8581106102be575083600195106102a5575b505050811b016002556101d3565b015160001960f88460031b161c19169055388080610297565b91926020600181928685015181550194019201610285565b60026000527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace601f830160051c81019160208410610331575b601f0160051c01905b81811061032557506101a3565b60008155600101610318565b909150819061030f565b634e487b7160e01b600052602260045260246000fd5b90607f1690610191565b634e487b7160e01b600052604160045260246000fd5b01519050388061015a565b601f198216936001600052806000209160005b8681106103c957508360019596106103b0575b505050811b01600155610170565b015160001960f88460031b161c191690553880806103a2565b9192602060018192868501518155019401920161038f565b60016000527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f830160051c8101916020841061043c575b601f0160051c01905b818110610430575061013f565b60008155600101610423565b909150819061041a565b90607f169061012d565b0151905038806100f6565b601f1982169060008052806000209160005b8181106104a957509583600195969710610490575b505050811b0160005561010c565b015160001960f88460031b161c19169055388080610482565b9192602060018192868b01518155019401920161046d565b600080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563601f830160051c8101916020841061051b575b601f0160051c01905b81811061050f57506100dc565b60008155600101610502565b90915081906104f9565b90607f16906100ca565b600080fd5b6040519190601f01601f191682016001600160401b0381118382101761035b57604052565b81601f8201121561052f578051906001600160401b03821161035b57610588601f8301601f1916602001610534565b928284526020838301011161052f5760005b8281106105af57505060206000918301015290565b8060208092840101518282870101520161059a56fe6080604052600436101561001257600080fd5b60003560e01c806301ffc9a71461020757806306fdde0314610202578063081812fc146101fd578063095ea7b3146101f8578063183a4f6e146101f35780631c10893f146101ee5780631cd64df4146101e957806323b872dd146101e457806325692962146101df5780632de94807146101da57806342842e0e146101d55780634a4ee7b1146101d0578063514e62fc146101cb57806354d1f13d146101c65780636352211e146101c157806369add11d146101bc57806370a08231146101b7578063715018a6146101b25780638da5cb5b146101ad57806395d89b41146101a857806399a2557a146101a3578063a22cb4651461019e578063a408fc6514610199578063b4862ee214610194578063b818f9e41461018f578063b88d4fde1461018a578063c87b56dd14610185578063e985e9c514610180578063f04e283e1461017b578063f2fde38b146101765763fee81cf41461017157600080fd5b610ec6565b610e86565b610e32565b610e02565b610d25565b610cb2565b610bcc565b610b91565b610b4c565b610ad3565b610a62565b6109aa565b61097d565b610931565b61090a565b6107d2565b61074d565b610705565b6106c0565b610694565b610651565b610613565b6105c7565b6105ad565b61053b565b6104d3565b6104b9565b610409565b610398565b6102a2565b34610254576020366003190112610254576004356001600160e01b0319811681036102545760209060e01c60405190635b5e139f8114906301ffc9a76380ac58cd82149114171715158152f35b600080fd5b91909160208152825180602083015260005b81811061028c575060409293506000838284010152601f8019910116010190565b806020809287010151604082860101520161026b565b346102545760003660031901126102545760405160006001548060011c906001811690811561038e575b60208310821461037a578285526020850191908115610361575060011461030e575b61030a846102fe81860382610f13565b60405191829182610259565b0390f35b600160009081529250907fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b81841061034d575050016102fe826102ee565b80548484015260209093019260010161033a565b60ff191682525090151560051b0190506102fe826102ee565b634e487b7160e01b84526022600452602484fd5b91607f16916102cc565b34610254576020366003190112610254576004356000818152673ec412a9852d173d60c11b601c5260209020810101805460601b156103ea57600101546040516001600160a01b039091168152602090f35b63ceea21b66000526004601cfd5b6001600160a01b0381160361025457565b604036600319011261025457600435610421816103f8565b6024356000818152673ec412a9852d173d60c11b3317601c526020902081018101805491926001600160a01b0390811692169081156103ea57829082331433151715610493575b600101557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4005b9050816000526030600c2054156104ab578290610468565b634b6e7f186000526004601cfd5b6020366003190112610254576104d16004353361144c565b005b6040366003190112610254576004356104eb816103f8565b602435906104f7611102565b638b78c6d8600c526000526020600c2090815417809155600c5160601c7f715ad5ce61fc9595c7b415289d59cf203f23a94fa06f04af7e489a0a76e1fe26600080a3005b3461025457604036600319011261025457602061057760043561055d816103f8565b602435918291638b78c6d8600c526000526020600c205490565b1614604051908152f35b606090600319011261025457600435610599816103f8565b906024356105a6816103f8565b9060443590565b6104d16105b936610581565b916105c261111f565b61113b565b60003660031901126102545763389a75e1600c52336000526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a2005b34610254576020366003190112610254576020610649600435610635816103f8565b638b78c6d8600c526000526020600c205490565b604051908152f35b61065a36610581565b61066592919261111f565b61067081848461113b565b823b61067857005b6104d1926040519261068b602085610f13565b60008452611238565b6040366003190112610254576104d16004356106af816103f8565b602435906106bb611102565b61144c565b346102545760403660031901126102545760206004356106df816103f8565b6106fa60243591638b78c6d8600c526000526020600c205490565b161515604051908152f35b60003660031901126102545763389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2005b34610254576020366003190112610254576004356000818152673ec412a9852d173d60c11b601c5260209020810101546001600160a01b031680156103ea576040516001600160a01b039091168152602090f35b9181601f840112156102545782359167ffffffffffffffff8311610254576020808501948460051b01011161025457565b60403660031901126102545760043567ffffffffffffffff8111610254576107fe9036906004016107a1565b60243567ffffffffffffffff81116102545761081e9036906004016107a1565b91909261082961111f565b610834838314611012565b60005b82811061084057005b61084b818484611040565b35610855816103f8565b610860828688611040565b356000818152673ec412a9852d173d60c11b601c526020902081018101805491926001600160a01b031691606081901b6108fc578217905580600052601c600c2060018154019063ffffffff82168302156108e75755600192919060007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a401610837565b67ea553b3401336cea831560021b526004601cfd5b63c991cbb16000526004601cfd5b3461025457602036600319011261025457602061064960043561092c816103f8565b611055565b600036600319011261025457610945611102565b6000638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a36000638b78c6d81955005b3461025457600036600319011261025457638b78c6d819546040516001600160a01b039091168152602090f35b346102545760003660031901126102545760405160006002548060011c9060018116908115610a58575b60208310821461037a5782855260208501919081156103615750600114610a055761030a846102fe81860382610f13565b600260009081529250907f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b818410610a44575050016102fe826102ee565b805484840152602090930192600101610a31565b91607f16916109d4565b3461025457606036600319011261025457610a8e600435610a82816103f8565b6024356044359161138e565b60405180916020820160208352815180915260206040840192019060005b818110610aba575050500390f35b8251845285945060209384019390920191600101610aac565b3461025457604036600319011261025457600435610af0816103f8565b6024358015158091036102545781601c52670a5a2e7a0000000060085233600052806030600c205560005260018060a01b0316337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160206000a3005b34610254576000366003190112610254576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346102545760003660031901126102545760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b60603660031901126102545760043567ffffffffffffffff811161025457610bf89036906004016107a1565b60243567ffffffffffffffff811161025457610c189036906004016107a1565b919060443567ffffffffffffffff811161025457610c3a9036906004016107a1565b94610c4361111f565b84841480610ca9575b610c5590611012565b60005b868110610c6157005b80610ca3610c726001938886611040565b35610c7c816103f8565b610c87838a89611040565b35610c91816103f8565b610c9c848c89611040565b359161113b565b01610c58565b50838614610c4c565b608036600319011261025457600435610cca816103f8565b602435610cd6816103f8565b6064359160443567ffffffffffffffff841161025457366023850112156102545783600401359267ffffffffffffffff84116102545736602485870101116102545760246104d195019261108a565b3461025457602036600319011261025457600435604051600a608082019260a0830160405260008452925b6000190192603082820601845304918215610d6d57600a90610d50565b90608082601f1981019203018152610d83610f3a565b9160405191835193601f1960208601165b8181015185820152601f1901908115610dad5790610d94565b5050519082840160208301601f19165b601f198184018101518383015201918215610dd85791610dbd565b50505061030a920180820190600060208301528252603f601f199101169182918260405282610259565b3461025457604036600319011261025457610e1e6004356103f8565b6020600180610577602435610635816103f8565b602036600319011261025457600435610e4a816103f8565b610e52611102565b63389a75e1600c52806000526020600c209081544211610e785760006104d192556112cd565b636f5e88186000526004601cfd5b602036600319011261025457600435610e9e816103f8565b610ea6611102565b8060601b15610eb8576104d1906112cd565b637448fbae6000526004601cfd5b3461025457602036600319011261025457600435610ee3816103f8565b63389a75e1600c52600052602080600c2054604051908152f35b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff821117610f3557604052565b610efd565b6040519060008054908160011c9160018116908115611008575b602084108214610ff45783865285929160208401918115610fdb5750600114610f87575b50610f8592500383610f13565b565b600080805291507f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b848310610fc45750610f8593500138610f78565b805482840152869350602090920191600101610fb0565b60ff1916825250610f8593151560051b01905038610f78565b634e487b7160e01b83526022600452602483fd5b92607f1692610f54565b1561101957565b63512509d360e11b60005260046000fd5b634e487b7160e01b600052603260045260246000fd5b91908110156110505760051b0190565b61102a565b801561107c57673ec412a9852d173d60c11b601c5260005263ffffffff601c600c20541690565b638f4eb6046000526004601cfd5b93929361109561111f565b6110a083838361113b565b813b6110ae575b5050505050565b67ffffffffffffffff8411610f3557604051936110d5601f8201601f191660200186610f13565b8085523681870111610254576020816000926110f8988389013786010152611238565b38808080806110a7565b638b78c6d81954330361111157565b6382b429006000526004601cfd5b638b78c6d8600c523360005260016020600c2054161561111157565b6000838152673ec412a9852d173d60c11b601c52602090208301830180546001600160a01b039384169392831692811680841481021561122357508260005281600101805480158515176001171561120b575b611201575b50838318189055601c600c20600019815401905581600052601c600c2060018154019063ffffffff82168402156111ec57557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4565b67ea553b3401336cea841560021b526004601cfd5b6000905538611193565b6030600c205461118e57634b6e7f186000526004601cfd5b67ceea21b6a1148100901560021b526004601cfd5b9060a46020939460405195869463150b7a028652338787015260018060a01b03166040860152606085015260808085015280518091818060a08801526112b9575b505001906000601c8401915af1156112aa575b5163757a42ff60e11b0161129c57565b63d1a57ed66000526004601cfd5b3d1561128c573d6000823e3d90fd5b818760c08801920160045afa508038611279565b60018060a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3638b78c6d81955565b67ffffffffffffffff8111610f355760051b60200190565b9061132d8261130b565b61133a6040519182610f13565b828152809261134b601f199161130b565b0190602036910137565b60001981146113645760010190565b634e487b7160e01b600052601160045260246000fd5b80518210156110505760209160051b010190565b90929161139a82611055565b6000926113a682611323565b955b838111156113ee57505050506113bd81611323565b9060005b8181106113cf575090925050565b806113dc6001928761137a565b516113e7828661137a565b52016113c1565b6000818152673ec412a9852d173d60c11b601c526020902081018101546001600160a01b0383811691161461142c575b61142790611355565b6113a8565b93808561143b6001938a61137a565b52019382850361141e575050505050565b638b78c6d8600c526000526020600c2090815490811618809155600c5160601c7f715ad5ce61fc9595c7b415289d59cf203f23a94fa06f04af7e489a0a76e1fe26600080a356fea264697066735822122090c82226bef3e188c956f4d9a34f8ce843d06fd4c86673f4890a0508b601ffc464736f6c634300081c003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d0000000000000000000000000000000000000000000000000000000000000014426f7265642041706520596163687420436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442415943000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d65536a53696e4870506e6d586d73704d6a776958794e367a533445397a63636172694752336a7863615774712f00000000000000000000
Deployed Bytecode
0x6080604052600436101561001257600080fd5b60003560e01c806301ffc9a71461020757806306fdde0314610202578063081812fc146101fd578063095ea7b3146101f8578063183a4f6e146101f35780631c10893f146101ee5780631cd64df4146101e957806323b872dd146101e457806325692962146101df5780632de94807146101da57806342842e0e146101d55780634a4ee7b1146101d0578063514e62fc146101cb57806354d1f13d146101c65780636352211e146101c157806369add11d146101bc57806370a08231146101b7578063715018a6146101b25780638da5cb5b146101ad57806395d89b41146101a857806399a2557a146101a3578063a22cb4651461019e578063a408fc6514610199578063b4862ee214610194578063b818f9e41461018f578063b88d4fde1461018a578063c87b56dd14610185578063e985e9c514610180578063f04e283e1461017b578063f2fde38b146101765763fee81cf41461017157600080fd5b610ec6565b610e86565b610e32565b610e02565b610d25565b610cb2565b610bcc565b610b91565b610b4c565b610ad3565b610a62565b6109aa565b61097d565b610931565b61090a565b6107d2565b61074d565b610705565b6106c0565b610694565b610651565b610613565b6105c7565b6105ad565b61053b565b6104d3565b6104b9565b610409565b610398565b6102a2565b34610254576020366003190112610254576004356001600160e01b0319811681036102545760209060e01c60405190635b5e139f8114906301ffc9a76380ac58cd82149114171715158152f35b600080fd5b91909160208152825180602083015260005b81811061028c575060409293506000838284010152601f8019910116010190565b806020809287010151604082860101520161026b565b346102545760003660031901126102545760405160006001548060011c906001811690811561038e575b60208310821461037a578285526020850191908115610361575060011461030e575b61030a846102fe81860382610f13565b60405191829182610259565b0390f35b600160009081529250907fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b81841061034d575050016102fe826102ee565b80548484015260209093019260010161033a565b60ff191682525090151560051b0190506102fe826102ee565b634e487b7160e01b84526022600452602484fd5b91607f16916102cc565b34610254576020366003190112610254576004356000818152673ec412a9852d173d60c11b601c5260209020810101805460601b156103ea57600101546040516001600160a01b039091168152602090f35b63ceea21b66000526004601cfd5b6001600160a01b0381160361025457565b604036600319011261025457600435610421816103f8565b6024356000818152673ec412a9852d173d60c11b3317601c526020902081018101805491926001600160a01b0390811692169081156103ea57829082331433151715610493575b600101557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4005b9050816000526030600c2054156104ab578290610468565b634b6e7f186000526004601cfd5b6020366003190112610254576104d16004353361144c565b005b6040366003190112610254576004356104eb816103f8565b602435906104f7611102565b638b78c6d8600c526000526020600c2090815417809155600c5160601c7f715ad5ce61fc9595c7b415289d59cf203f23a94fa06f04af7e489a0a76e1fe26600080a3005b3461025457604036600319011261025457602061057760043561055d816103f8565b602435918291638b78c6d8600c526000526020600c205490565b1614604051908152f35b606090600319011261025457600435610599816103f8565b906024356105a6816103f8565b9060443590565b6104d16105b936610581565b916105c261111f565b61113b565b60003660031901126102545763389a75e1600c52336000526202a30042016020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a2005b34610254576020366003190112610254576020610649600435610635816103f8565b638b78c6d8600c526000526020600c205490565b604051908152f35b61065a36610581565b61066592919261111f565b61067081848461113b565b823b61067857005b6104d1926040519261068b602085610f13565b60008452611238565b6040366003190112610254576104d16004356106af816103f8565b602435906106bb611102565b61144c565b346102545760403660031901126102545760206004356106df816103f8565b6106fa60243591638b78c6d8600c526000526020600c205490565b161515604051908152f35b60003660031901126102545763389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2005b34610254576020366003190112610254576004356000818152673ec412a9852d173d60c11b601c5260209020810101546001600160a01b031680156103ea576040516001600160a01b039091168152602090f35b9181601f840112156102545782359167ffffffffffffffff8311610254576020808501948460051b01011161025457565b60403660031901126102545760043567ffffffffffffffff8111610254576107fe9036906004016107a1565b60243567ffffffffffffffff81116102545761081e9036906004016107a1565b91909261082961111f565b610834838314611012565b60005b82811061084057005b61084b818484611040565b35610855816103f8565b610860828688611040565b356000818152673ec412a9852d173d60c11b601c526020902081018101805491926001600160a01b031691606081901b6108fc578217905580600052601c600c2060018154019063ffffffff82168302156108e75755600192919060007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a401610837565b67ea553b3401336cea831560021b526004601cfd5b63c991cbb16000526004601cfd5b3461025457602036600319011261025457602061064960043561092c816103f8565b611055565b600036600319011261025457610945611102565b6000638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a36000638b78c6d81955005b3461025457600036600319011261025457638b78c6d819546040516001600160a01b039091168152602090f35b346102545760003660031901126102545760405160006002548060011c9060018116908115610a58575b60208310821461037a5782855260208501919081156103615750600114610a055761030a846102fe81860382610f13565b600260009081529250907f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b818410610a44575050016102fe826102ee565b805484840152602090930192600101610a31565b91607f16916109d4565b3461025457606036600319011261025457610a8e600435610a82816103f8565b6024356044359161138e565b60405180916020820160208352815180915260206040840192019060005b818110610aba575050500390f35b8251845285945060209384019390920191600101610aac565b3461025457604036600319011261025457600435610af0816103f8565b6024358015158091036102545781601c52670a5a2e7a0000000060085233600052806030600c205560005260018060a01b0316337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160206000a3005b34610254576000366003190112610254576040517f000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d6001600160a01b03168152602090f35b346102545760003660031901126102545760206040517f00000000000000000000000000000000000000000000000000000000000000018152f35b60603660031901126102545760043567ffffffffffffffff811161025457610bf89036906004016107a1565b60243567ffffffffffffffff811161025457610c189036906004016107a1565b919060443567ffffffffffffffff811161025457610c3a9036906004016107a1565b94610c4361111f565b84841480610ca9575b610c5590611012565b60005b868110610c6157005b80610ca3610c726001938886611040565b35610c7c816103f8565b610c87838a89611040565b35610c91816103f8565b610c9c848c89611040565b359161113b565b01610c58565b50838614610c4c565b608036600319011261025457600435610cca816103f8565b602435610cd6816103f8565b6064359160443567ffffffffffffffff841161025457366023850112156102545783600401359267ffffffffffffffff84116102545736602485870101116102545760246104d195019261108a565b3461025457602036600319011261025457600435604051600a608082019260a0830160405260008452925b6000190192603082820601845304918215610d6d57600a90610d50565b90608082601f1981019203018152610d83610f3a565b9160405191835193601f1960208601165b8181015185820152601f1901908115610dad5790610d94565b5050519082840160208301601f19165b601f198184018101518383015201918215610dd85791610dbd565b50505061030a920180820190600060208301528252603f601f199101169182918260405282610259565b3461025457604036600319011261025457610e1e6004356103f8565b6020600180610577602435610635816103f8565b602036600319011261025457600435610e4a816103f8565b610e52611102565b63389a75e1600c52806000526020600c209081544211610e785760006104d192556112cd565b636f5e88186000526004601cfd5b602036600319011261025457600435610e9e816103f8565b610ea6611102565b8060601b15610eb8576104d1906112cd565b637448fbae6000526004601cfd5b3461025457602036600319011261025457600435610ee3816103f8565b63389a75e1600c52600052602080600c2054604051908152f35b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff821117610f3557604052565b610efd565b6040519060008054908160011c9160018116908115611008575b602084108214610ff45783865285929160208401918115610fdb5750600114610f87575b50610f8592500383610f13565b565b600080805291507f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b848310610fc45750610f8593500138610f78565b805482840152869350602090920191600101610fb0565b60ff1916825250610f8593151560051b01905038610f78565b634e487b7160e01b83526022600452602483fd5b92607f1692610f54565b1561101957565b63512509d360e11b60005260046000fd5b634e487b7160e01b600052603260045260246000fd5b91908110156110505760051b0190565b61102a565b801561107c57673ec412a9852d173d60c11b601c5260005263ffffffff601c600c20541690565b638f4eb6046000526004601cfd5b93929361109561111f565b6110a083838361113b565b813b6110ae575b5050505050565b67ffffffffffffffff8411610f3557604051936110d5601f8201601f191660200186610f13565b8085523681870111610254576020816000926110f8988389013786010152611238565b38808080806110a7565b638b78c6d81954330361111157565b6382b429006000526004601cfd5b638b78c6d8600c523360005260016020600c2054161561111157565b6000838152673ec412a9852d173d60c11b601c52602090208301830180546001600160a01b039384169392831692811680841481021561122357508260005281600101805480158515176001171561120b575b611201575b50838318189055601c600c20600019815401905581600052601c600c2060018154019063ffffffff82168402156111ec57557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4565b67ea553b3401336cea841560021b526004601cfd5b6000905538611193565b6030600c205461118e57634b6e7f186000526004601cfd5b67ceea21b6a1148100901560021b526004601cfd5b9060a46020939460405195869463150b7a028652338787015260018060a01b03166040860152606085015260808085015280518091818060a08801526112b9575b505001906000601c8401915af1156112aa575b5163757a42ff60e11b0161129c57565b63d1a57ed66000526004601cfd5b3d1561128c573d6000823e3d90fd5b818760c08801920160045afa508038611279565b60018060a01b031680638b78c6d819547f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3638b78c6d81955565b67ffffffffffffffff8111610f355760051b60200190565b9061132d8261130b565b61133a6040519182610f13565b828152809261134b601f199161130b565b0190602036910137565b60001981146113645760010190565b634e487b7160e01b600052601160045260246000fd5b80518210156110505760209160051b010190565b90929161139a82611055565b6000926113a682611323565b955b838111156113ee57505050506113bd81611323565b9060005b8181106113cf575090925050565b806113dc6001928761137a565b516113e7828661137a565b52016113c1565b6000818152673ec412a9852d173d60c11b601c526020902081018101546001600160a01b0383811691161461142c575b61142790611355565b6113a8565b93808561143b6001938a61137a565b52019382850361141e575050505050565b638b78c6d8600c526000526020600c2090815490811618809155600c5160601c7f715ad5ce61fc9595c7b415289d59cf203f23a94fa06f04af7e489a0a76e1fe26600080a356fea264697066735822122090c82226bef3e188c956f4d9a34f8ce843d06fd4c86673f4890a0508b601ffc464736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d0000000000000000000000000000000000000000000000000000000000000014426f7265642041706520596163687420436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442415943000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d65536a53696e4870506e6d586d73704d6a776958794e367a533445397a63636172694752336a7863615774712f00000000000000000000
-----Decoded View---------------
Arg [0] : _collectionName (string): Bored Ape Yacht Club
Arg [1] : _collectionSymbol (string): BAYC
Arg [2] : _baseTokenURI (string): ipfs://QmeSjSinHpPnmXmspMjwiXyN6zS4E9zccariGR3jxcaWtq/
Arg [3] : _baseContractChainId (uint256): 1
Arg [4] : _baseContractAddress (address): 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 000000000000000000000000bc4ca0eda7647a8ab7c2061c2e118a18a936f13d
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [6] : 426f7265642041706520596163687420436c7562000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4241594300000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d65536a53696e4870506e6d586d73704d6a776958794e36
Arg [11] : 7a533445397a63636172694752336a7863615774712f00000000000000000000
[ 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.