Overview
TokenID
26064
Total Transfers
-
Market
Onchain Market Cap
-
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xad8c9cE7...58e6Aa875 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
DN404Mirror
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 1000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity ^0.8.4;/// @title DN404Mirror/// @notice DN404Mirror provides an interface for interacting with the/// NFT tokens in a DN404 implementation.////// @author vectorized.eth (@optimizoor)/// @author Quit (@0xQuit)/// @author Michael Amadi (@AmadiMichaels)/// @author cygaar (@0xCygaar)/// @author Thomas (@0xjustadev)/// @author Harrison (@PopPunkOnChain)////// @dev Note:/// - The ERC721 data is stored in the base DN404 contract.contract DN404Mirror {/*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*//* EVENTS *//*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*//// @dev Emitted when token `id` is transferred from `from` to `to`.event Transfer(address indexed from, address indexed to, uint256 indexed id);/// @dev Emitted when `owner` enables `account` to manage the `id` token.event Approval(address indexed owner, address indexed account, uint256 indexed id);
1234567891011121314151617181920{"optimizer": {"enabled": true,"runs": 1000},"evmVersion": "paris","outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"]}},"libraries": {}}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"deployer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyLinked","type":"error"},{"inputs":[],"name":"FnSelectorNotRecognized","type":"error"},{"inputs":[],"name":"NotLinked","type":"error"},{"inputs":[],"name":"SenderNotBase","type":"error"},{"inputs":[],"name":"SenderNotDeployer","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","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":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"nftOwner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseERC20","outputs":[{"internalType":"address","name":"base","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"nftOwner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerAt","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pullOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"approved","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052348015600f57600080fd5b50604051610e47380380610e47833981016040819052602c916058565b683602298b8c10b0123180546001600160a01b0319166001600160a01b03929092169190911790556086565b600060208284031215606957600080fd5b81516001600160a01b0381168114607f57600080fd5b9392505050565b610db2806100956000396000f3fe60806040526004361061012d5760003560e01c80636cef16e6116100a557806397e5311c11610074578063b88d4fde11610059578063b88d4fde14610584578063c87b56dd14610597578063e985e9c5146105b75761013f565b806397e5311c1461054f578063a22cb465146105645761013f565b80636cef16e6146104df57806370a08231146104f45780638da5cb5b1461051457806395d89b411461053a5761013f565b806318160ddd116100fc57806324359879116100e1578063243598791461048c57806342842e0e146104ac5780636352211e146104bf5761013f565b806318160ddd1461045657806323b872dd146104795761013f565b806301ffc9a71461039757806306fdde03146103e9578063081812fc1461040b578063095ea7b3146104435761013f565b3661013f57341561013d57600080fd5b005b683602298b8c10b0123060003560e01c63263c69d68190036101f55781546001600160a01b0316331461018557604051631b1e598960e11b815260040160405180910390fd5b600435602401602081033560051b81015b8082146101e85781358060601c816001168260a01b60a81c811583028284027fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600038a4505050816020019150610196565b5050600160005260206000f35b8063144027d30361028b5781546001600160a01b0316331461022a57604051631b1e598960e11b815260040160405180910390fd5b600435602435604435602401602081033560051b81015b80821461027c57813583857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600038a4816020019150610241565b50505050600160005260206000f35b80630f4599e5036103655760018201546001600160a01b0316156102fa5760018201546001600160a01b03166004356001600160a01b0316146102fa576040517fc59ec47a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81546001600160a01b03161561033c576040517fbf656a4600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b815473ffffffffffffffffffffffffffffffffffffffff19163317825560016000908152602090f35b6040517f3c10b94e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3480156103a357600080fd5b506103d46103b2366004610b22565b6301ffc9a760e09190911c9081146380ac58cd821417635b5e139f9091141790565b60405190151581526020015b60405180910390f35b3480156103f557600080fd5b506103fe6105d7565b6040516103e09190610b6b565b34801561041757600080fd5b5061042b610426366004610bb9565b6105ed565b6040516001600160a01b0390911681526020016103e0565b61013d610451366004610bee565b610605565b34801561046257600080fd5b5061046b61068b565b6040519081526020016103e0565b61013d610487366004610c18565b61069d565b34801561049857600080fd5b5061042b6104a7366004610bb9565b61072c565b61013d6104ba366004610c18565b61073e565b3480156104cb57600080fd5b5061042b6104da366004610bb9565b610770565b3480156104eb57600080fd5b506103d4610782565b34801561050057600080fd5b5061046b61050f366004610c55565b61084a565b34801561052057600080fd5b50683602298b8c10b01232546001600160a01b031661042b565b34801561054657600080fd5b506103fe610865565b34801561055b57600080fd5b5061042b610876565b34801561057057600080fd5b5061013d61057f366004610c70565b6108c4565b61013d610592366004610cac565b610947565b3480156105a357600080fd5b506103fe6105b2366004610bb9565b6109a2565b3480156105c357600080fd5b506103d46105d2366004610d49565b6109bc565b60606105e86306fdde0360006109e8565b905090565b60006105ff6327ef5495836000610a4e565b92915050565b600061060f610876565b90508260601b60601c925060405163d10b6e0c600052836020528260405233606052602060006064601c34865af1601f3d111661064f573d6000823e3d81fd5b806040525060006060528183600c5160601c7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600038a4505050565b60006105e863e2c79281600080610a4e565b60006106a7610876565b90508360601b60601c93508260601b60601c925060405163e5eb36c881528460208201528360408201528260608201523360808201526020816084601c840134865af16001825114166106fd573d6000823e3d81fd5b508183857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600038a450505050565b60006105ff63c016aa52836000610a4e565b61074983838361069d565b813b1561076b5761076b83838360405180602001604052806000815250610a96565b505050565b60006105ff632d8a746e836000610a4e565b600080600061078f610876565b9050638da5cb5b600052602060006004601c845afa600c51683602298b8c10b0123254601f3d119290921660609190911c029250683602298b8c10b01230906001600160a01b03908116908416811461083f5760028201805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925560405190918316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35b600194505050505090565b60006105ff63f5b100ea836001600160a01b03166000610a4e565b60606105e86395d89b4160006109e8565b683602298b8c10b01230546001600160a01b0316806108c1576040517f5b2a47ae00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b90565b60006108ce610876565b90508260601b60601c925060405163f6916ddd6000528360205282151560405233606052602060006064601c34865af160016000511416610912573d6000823e3d81fd5b83337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160206040a36040525050600060605250565b61095285858561069d565b833b1561099b5761099b85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610a9692505050565b5050505050565b60606109ad82610770565b506105ff63cb30b460836109e8565b60006109df6362fb246d846001600160a01b0316846001600160a01b0316610a4e565b15159392505050565b606060006109f4610876565b9050604051915083600052826020526000806024601c845afa610a1a573d6000833e3d82fd5b60206000803e6020600051833e8151602060005101602084013e815160208301016000815260208101604052505092915050565b600080610a59610876565b9050604051856000528460205283604052602060006044601c855afa601f3d1116610a87573d6000823e3d81fd5b60405250506000519392505050565b60405163150b7a028082523360208301528560601b60601c604083015283606083015260808083015282518060a08401528015610add578060c08401826020870160045afa505b60208360a48301601c860160008a5af1610b00573d15610b00573d6000843e3d83fd5b508060e01b825114610b1a5763d1a57ed66000526004601cfd5b505050505050565b600060208284031215610b3457600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610b6457600080fd5b9392505050565b602081526000825180602084015260005b81811015610b995760208186018101516040868401015201610b7c565b506000604082850101526040601f19601f83011684010191505092915050565b600060208284031215610bcb57600080fd5b5035919050565b80356001600160a01b0381168114610be957600080fd5b919050565b60008060408385031215610c0157600080fd5b610c0a83610bd2565b946020939093013593505050565b600080600060608486031215610c2d57600080fd5b610c3684610bd2565b9250610c4460208501610bd2565b929592945050506040919091013590565b600060208284031215610c6757600080fd5b610b6482610bd2565b60008060408385031215610c8357600080fd5b610c8c83610bd2565b915060208301358015158114610ca157600080fd5b809150509250929050565b600080600080600060808688031215610cc457600080fd5b610ccd86610bd2565b9450610cdb60208701610bd2565b935060408601359250606086013567ffffffffffffffff811115610cfe57600080fd5b8601601f81018813610d0f57600080fd5b803567ffffffffffffffff811115610d2657600080fd5b886020828401011115610d3857600080fd5b959894975092955050506020019190565b60008060408385031215610d5c57600080fd5b610d6583610bd2565b9150610d7360208401610bd2565b9050925092905056fea2646970667358221220a9b7d847a030354ce12b35b7043136c50245387e17caa2b6cefce7912c917bc564736f6c634300081c003300000000000000000000000066e0260fafe126327022c5cd9a3b92b37f50f5a6
Deployed Bytecode
0x60806040526004361061012d5760003560e01c80636cef16e6116100a557806397e5311c11610074578063b88d4fde11610059578063b88d4fde14610584578063c87b56dd14610597578063e985e9c5146105b75761013f565b806397e5311c1461054f578063a22cb465146105645761013f565b80636cef16e6146104df57806370a08231146104f45780638da5cb5b1461051457806395d89b411461053a5761013f565b806318160ddd116100fc57806324359879116100e1578063243598791461048c57806342842e0e146104ac5780636352211e146104bf5761013f565b806318160ddd1461045657806323b872dd146104795761013f565b806301ffc9a71461039757806306fdde03146103e9578063081812fc1461040b578063095ea7b3146104435761013f565b3661013f57341561013d57600080fd5b005b683602298b8c10b0123060003560e01c63263c69d68190036101f55781546001600160a01b0316331461018557604051631b1e598960e11b815260040160405180910390fd5b600435602401602081033560051b81015b8082146101e85781358060601c816001168260a01b60a81c811583028284027fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600038a4505050816020019150610196565b5050600160005260206000f35b8063144027d30361028b5781546001600160a01b0316331461022a57604051631b1e598960e11b815260040160405180910390fd5b600435602435604435602401602081033560051b81015b80821461027c57813583857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600038a4816020019150610241565b50505050600160005260206000f35b80630f4599e5036103655760018201546001600160a01b0316156102fa5760018201546001600160a01b03166004356001600160a01b0316146102fa576040517fc59ec47a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81546001600160a01b03161561033c576040517fbf656a4600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b815473ffffffffffffffffffffffffffffffffffffffff19163317825560016000908152602090f35b6040517f3c10b94e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3480156103a357600080fd5b506103d46103b2366004610b22565b6301ffc9a760e09190911c9081146380ac58cd821417635b5e139f9091141790565b60405190151581526020015b60405180910390f35b3480156103f557600080fd5b506103fe6105d7565b6040516103e09190610b6b565b34801561041757600080fd5b5061042b610426366004610bb9565b6105ed565b6040516001600160a01b0390911681526020016103e0565b61013d610451366004610bee565b610605565b34801561046257600080fd5b5061046b61068b565b6040519081526020016103e0565b61013d610487366004610c18565b61069d565b34801561049857600080fd5b5061042b6104a7366004610bb9565b61072c565b61013d6104ba366004610c18565b61073e565b3480156104cb57600080fd5b5061042b6104da366004610bb9565b610770565b3480156104eb57600080fd5b506103d4610782565b34801561050057600080fd5b5061046b61050f366004610c55565b61084a565b34801561052057600080fd5b50683602298b8c10b01232546001600160a01b031661042b565b34801561054657600080fd5b506103fe610865565b34801561055b57600080fd5b5061042b610876565b34801561057057600080fd5b5061013d61057f366004610c70565b6108c4565b61013d610592366004610cac565b610947565b3480156105a357600080fd5b506103fe6105b2366004610bb9565b6109a2565b3480156105c357600080fd5b506103d46105d2366004610d49565b6109bc565b60606105e86306fdde0360006109e8565b905090565b60006105ff6327ef5495836000610a4e565b92915050565b600061060f610876565b90508260601b60601c925060405163d10b6e0c600052836020528260405233606052602060006064601c34865af1601f3d111661064f573d6000823e3d81fd5b806040525060006060528183600c5160601c7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600038a4505050565b60006105e863e2c79281600080610a4e565b60006106a7610876565b90508360601b60601c93508260601b60601c925060405163e5eb36c881528460208201528360408201528260608201523360808201526020816084601c840134865af16001825114166106fd573d6000823e3d81fd5b508183857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600038a450505050565b60006105ff63c016aa52836000610a4e565b61074983838361069d565b813b1561076b5761076b83838360405180602001604052806000815250610a96565b505050565b60006105ff632d8a746e836000610a4e565b600080600061078f610876565b9050638da5cb5b600052602060006004601c845afa600c51683602298b8c10b0123254601f3d119290921660609190911c029250683602298b8c10b01230906001600160a01b03908116908416811461083f5760028201805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925560405190918316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35b600194505050505090565b60006105ff63f5b100ea836001600160a01b03166000610a4e565b60606105e86395d89b4160006109e8565b683602298b8c10b01230546001600160a01b0316806108c1576040517f5b2a47ae00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b90565b60006108ce610876565b90508260601b60601c925060405163f6916ddd6000528360205282151560405233606052602060006064601c34865af160016000511416610912573d6000823e3d81fd5b83337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160206040a36040525050600060605250565b61095285858561069d565b833b1561099b5761099b85858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610a9692505050565b5050505050565b60606109ad82610770565b506105ff63cb30b460836109e8565b60006109df6362fb246d846001600160a01b0316846001600160a01b0316610a4e565b15159392505050565b606060006109f4610876565b9050604051915083600052826020526000806024601c845afa610a1a573d6000833e3d82fd5b60206000803e6020600051833e8151602060005101602084013e815160208301016000815260208101604052505092915050565b600080610a59610876565b9050604051856000528460205283604052602060006044601c855afa601f3d1116610a87573d6000823e3d81fd5b60405250506000519392505050565b60405163150b7a028082523360208301528560601b60601c604083015283606083015260808083015282518060a08401528015610add578060c08401826020870160045afa505b60208360a48301601c860160008a5af1610b00573d15610b00573d6000843e3d83fd5b508060e01b825114610b1a5763d1a57ed66000526004601cfd5b505050505050565b600060208284031215610b3457600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114610b6457600080fd5b9392505050565b602081526000825180602084015260005b81811015610b995760208186018101516040868401015201610b7c565b506000604082850101526040601f19601f83011684010191505092915050565b600060208284031215610bcb57600080fd5b5035919050565b80356001600160a01b0381168114610be957600080fd5b919050565b60008060408385031215610c0157600080fd5b610c0a83610bd2565b946020939093013593505050565b600080600060608486031215610c2d57600080fd5b610c3684610bd2565b9250610c4460208501610bd2565b929592945050506040919091013590565b600060208284031215610c6757600080fd5b610b6482610bd2565b60008060408385031215610c8357600080fd5b610c8c83610bd2565b915060208301358015158114610ca157600080fd5b809150509250929050565b600080600080600060808688031215610cc457600080fd5b610ccd86610bd2565b9450610cdb60208701610bd2565b935060408601359250606086013567ffffffffffffffff811115610cfe57600080fd5b8601601f81018813610d0f57600080fd5b803567ffffffffffffffff811115610d2657600080fd5b886020828401011115610d3857600080fd5b959894975092955050506020019190565b60008060408385031215610d5c57600080fd5b610d6583610bd2565b9150610d7360208401610bd2565b9050925092905056fea2646970667358221220a9b7d847a030354ce12b35b7043136c50245387e17caa2b6cefce7912c917bc564736f6c634300081c0033
[ 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.