Overview
TokenID
294
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x21C2E3C6...94dcdBfE1 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.24+commit.e11b9ed9
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @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 */ /*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/ event Approval(address indexed owner, address indexed spender, uint256 indexed id); event Transfer(address indexed from, address indexed to, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /// @dev `keccak256(bytes("Transfer(address,address,uint256)"))`. uint256 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; /*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/ /* CUSTOM ERRORS */ /*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/ /// @dev Thrown when a call for an NFT function did not originate /// from the base DN404 contract. error Unauthorized(); /// @dev Thrown when transferring an NFT to a contract address that /// does not implement ERC721Receiver. error TransferToNonERC721ReceiverImplementer(); /// @dev Thrown when linking to the DN404 base contract and the /// DN404 supportsInterface check fails or the call reverts. error CannotLink(); /// @dev Thrown when a linkMirrorContract call is received and the /// NFT mirror contract has already been linked to a DN404 base contract. error AlreadyLinked(); /// @dev Thrown when retrieving the rootERC20 address when a link has not /// been established. error NotLinked(); /*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/ /* STORAGE */ /*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/ /// @dev Struct contain the NFT mirror contract storage. struct DN404NFTStorage { address rootERC20; address deployer; } /// @dev Returns a storage pointer for DN404NFTStorage. function _getDN404NFTStorage() internal pure returns (DN404NFTStorage storage $) { /// @solidity memory-safe-assembly assembly { // keccak256(abi.encode(uint256(keccak256("dn404.nft")) - 1)) & ~bytes32(uint256(0xff)) $.slot := 0xe8cb618a1de8ad2a6a7b358523c369cb09f40cc15da64205134c7e55c6a86700 } } /*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/ /* CONSTRUCTOR */ /*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/ constructor(address deployer) { // For non-proxies, we will store the deployer so that only the deployer can // link the root contract. _getDN404NFTStorage().deployer = deployer; } /*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/ /* ERC721 OPERATIONS */ /*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/ /// @dev Returns the token collection name from the base DN404 contract. function name() public view virtual returns (string memory result) { address root = rootERC20(); /// @solidity memory-safe-assembly assembly { result := mload(0x40) mstore(result, 0x06fdde03) // `name()`. if iszero(staticcall(gas(), root, add(result, 0x1c), 0x04, 0x00, 0x00)) { returndatacopy(result, 0x00, returndatasize()) revert(result, returndatasize()) } returndatacopy(0x00, 0x00, 0x20) returndatacopy(result, mload(0x00), 0x20) returndatacopy(add(result, 0x20), add(mload(0x00), 0x20), mload(result)) mstore(0x40, add(add(result, 0x20), mload(result))) } } /// @dev Returns the token collection symbol from the base DN404 contract. function symbol() public view virtual returns (string memory result) { address root = rootERC20(); /// @solidity memory-safe-assembly assembly { result := mload(0x40) mstore(result, 0x95d89b41) // `symbol()`. if iszero(staticcall(gas(), root, add(result, 0x1c), 0x04, 0x00, 0x00)) { returndatacopy(result, 0x00, returndatasize()) revert(result, returndatasize()) } returndatacopy(0x00, 0x00, 0x20) returndatacopy(result, mload(0x00), 0x20) returndatacopy(add(result, 0x20), add(mload(0x00), 0x20), mload(result)) mstore(0x40, add(add(result, 0x20), mload(result))) } } /// @dev Returns the Uniform Resource Identifier (URI) for token `id` from the base DN404 contract. function tokenURI(uint256 id) public view virtual returns (string memory result) { address root = rootERC20(); /// @solidity memory-safe-assembly assembly { result := mload(0x40) mstore(result, 0xc87b56dd) // `tokenURI()`. mstore(add(result, 0x20), id) if iszero(staticcall(gas(), root, add(result, 0x1c), 0x24, 0x00, 0x00)) { returndatacopy(result, 0x00, returndatasize()) revert(result, returndatasize()) } returndatacopy(0x00, 0x00, 0x20) returndatacopy(result, mload(0x00), 0x20) returndatacopy(add(result, 0x20), add(mload(0x00), 0x20), mload(result)) mstore(0x40, add(add(result, 0x20), mload(result))) } } /// @dev Returns the total NFT supply from the base DN404 contract. function totalSupply() public view returns (uint256 result) { address root = rootERC20(); /// @solidity memory-safe-assembly assembly { mstore(0x00, 0xe2c79281) // `totalNFTSupply()`. if iszero( and(gt(returndatasize(), 0x1f), staticcall(gas(), root, 0x1c, 0x04, 0x00, 0x20)) ) { returndatacopy(mload(0x40), 0x00, returndatasize()) revert(mload(0x40), returndatasize()) } result := mload(0x00) } } /// @dev Returns the number of NFT tokens owned by `owner` from the base DN404 contract. /// /// Requirements: /// - `owner` must not be the zero address. function balanceOf(address owner) public view virtual returns (uint256 result) { address root = rootERC20(); /// @solidity memory-safe-assembly assembly { mstore(0x00, 0xf5b100ea) // `balanceOfNFT(address)`. mstore(0x20, shr(96, shl(96, owner))) if iszero( and(gt(returndatasize(), 0x1f), staticcall(gas(), root, 0x1c, 0x24, 0x00, 0x20)) ) { returndatacopy(mload(0x40), 0x00, returndatasize()) revert(mload(0x40), returndatasize()) } result := mload(0x00) } } /// @dev Returns the owner of token `id` from the base DN404 contract. /// /// Requirements: /// - Token `id` must exist. function ownerOf(uint256 id) public view virtual returns (address result) { address root = rootERC20(); /// @solidity memory-safe-assembly assembly { mstore(0x00, 0x6352211e) // `ownerOf(uint256)`. mstore(0x20, id) if iszero( and(gt(returndatasize(), 0x1f), staticcall(gas(), root, 0x1c, 0x24, 0x00, 0x20)) ) { returndatacopy(mload(0x40), 0x00, returndatasize()) revert(mload(0x40), returndatasize()) } result := shr(96, shl(96, mload(0x00))) } } /// @dev Sets `spender` as the approved account to manage token `id` in the base DN404 contract. /// /// Requirements: /// - Token `id` must exist. /// - The caller must be the owner of the token, /// or an approved operator for the token owner. /// /// Emits an {Approval} event. function approve(address spender, uint256 id) public virtual { address root = rootERC20(); address owner; /// @solidity memory-safe-assembly assembly { let m := mload(0x40) mstore(0x00, 0xd10b6e0c) // `approveNFT(address,uint256,address)`. mstore(0x20, shr(96, shl(96, spender))) mstore(0x40, id) mstore(0x60, caller()) if iszero( and( gt(returndatasize(), 0x1f), call(gas(), root, callvalue(), 0x1c, 0x64, 0x00, 0x20) ) ) { returndatacopy(m, 0x00, returndatasize()) revert(m, returndatasize()) } mstore(0x40, m) // Restore the free memory pointer. mstore(0x60, 0) // Restore the zero pointer. owner := shr(96, shl(96, mload(0x00))) } emit Approval(owner, spender, id); } /// @dev Returns the account approved to manage token `id` from the base DN404 contract. /// /// Requirements: /// - Token `id` must exist. function getApproved(uint256 id) public view virtual returns (address result) { address root = rootERC20(); /// @solidity memory-safe-assembly assembly { mstore(0x00, 0x081812fc) // `getApproved(uint256)`. mstore(0x20, id) if iszero( and(gt(returndatasize(), 0x1f), staticcall(gas(), root, 0x1c, 0x24, 0x00, 0x20)) ) { returndatacopy(mload(0x40), 0x00, returndatasize()) revert(mload(0x40), returndatasize()) } result := shr(96, shl(96, mload(0x00))) } } /// @dev Sets whether `operator` is approved to manage the tokens of the caller in the base DN404 contract. /// /// Emits an {ApprovalForAll} event. function setApprovalForAll(address operator, bool approved) public virtual { address root = rootERC20(); /// @solidity memory-safe-assembly assembly { let m := mload(0x40) mstore(0x00, 0x813500fc) // `setApprovalForAll(address,bool,address)`. mstore(0x20, shr(96, shl(96, operator))) mstore(0x40, iszero(iszero(approved))) mstore(0x60, caller()) if iszero( and( and(eq(mload(0x00), 1), gt(returndatasize(), 0x1f)), call(gas(), root, callvalue(), 0x1c, 0x64, 0x00, 0x20) ) ) { returndatacopy(m, 0x00, returndatasize()) revert(m, returndatasize()) } mstore(0x40, m) // Restore the free memory pointer. mstore(0x60, 0) // Restore the zero pointer. } emit ApprovalForAll(msg.sender, operator, approved); } /// @dev Returns whether `operator` is approved to manage the tokens of `owner` from the base DN404 contract. function isApprovedForAll(address owner, address operator) public view virtual returns (bool result) { address root = rootERC20(); /// @solidity memory-safe-assembly assembly { let m := mload(0x40) mstore(0x00, 0xe985e9c5) // `isApprovedForAll(address,address)`. mstore(0x20, shr(96, shl(96, owner))) mstore(0x40, shr(96, shl(96, operator))) if iszero( and(gt(returndatasize(), 0x1f), staticcall(gas(), root, 0x1c, 0x44, 0x00, 0x20)) ) { returndatacopy(m, 0x00, returndatasize()) revert(m, returndatasize()) } mstore(0x40, m) // Restore the free memory pointer. result := iszero(iszero(mload(0x00))) } } /// @dev Transfers token `id` from `from` to `to`. /// /// Requirements: /// /// - Token `id` must exist. /// - `from` must be the owner of the token. /// - `to` cannot be the zero address. /// - The caller must be the owner of the token, or be approved to manage the token. /// /// Emits a {Transfer} event. function transferFrom(address from, address to, uint256 id) public virtual { address root = rootERC20(); /// @solidity memory-safe-assembly assembly { let m := mload(0x40) mstore(m, 0xe5eb36c8) // `transferFromNFT(address,address,uint256,address)`. mstore(add(m, 0x20), shr(96, shl(96, from))) mstore(add(m, 0x40), shr(96, shl(96, to))) mstore(add(m, 0x60), id) mstore(add(m, 0x80), caller()) if iszero( and( and(eq(mload(0x00), 1), gt(returndatasize(), 0x1f)), call(gas(), root, callvalue(), add(m, 0x1c), 0x84, 0x00, 0x20) ) ) { returndatacopy(m, 0x00, returndatasize()) revert(m, returndatasize()) } } emit Transfer(from, to, id); } /// @dev Equivalent to `safeTransferFrom(from, to, id, "")`. function safeTransferFrom(address from, address to, uint256 id) public payable virtual { transferFrom(from, to, id); if (_hasCode(to)) _checkOnERC721Received(from, to, id, ""); } /// @dev Transfers token `id` from `from` to `to`. /// /// Requirements: /// /// - Token `id` must exist. /// - `from` must be the owner of the token. /// - `to` cannot be the zero address. /// - The caller must be the owner of the token, or be approved to manage the token. /// - If `to` refers to a smart contract, it must implement /// {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. /// /// Emits a {Transfer} event. function safeTransferFrom(address from, address to, uint256 id, bytes calldata data) public virtual { transferFrom(from, to, id); if (_hasCode(to)) _checkOnERC721Received(from, to, id, data); } /// @dev Returns true if this contract implements the interface defined by `interfaceId`. /// See: https://eips.ethereum.org/EIPS/eip-165 /// This function call must use less than 30000 gas. function supportsInterface(bytes4 interfaceId) public view virtual returns (bool result) { /// @solidity memory-safe-assembly assembly { let s := shr(224, interfaceId) // ERC165: 0x01ffc9a7, ERC721: 0x80ac58cd, ERC721Metadata: 0x5b5e139f. result := or(or(eq(s, 0x01ffc9a7), eq(s, 0x80ac58cd)), eq(s, 0x5b5e139f)) } } /// @dev Returns if `a` has bytecode of non-zero length. function _hasCode(address a) private view returns (bool result) { /// @solidity memory-safe-assembly assembly { result := extcodesize(a) // Can handle dirty upper bits. } } /// @dev Perform a call to invoke {IERC721Receiver-onERC721Received} on `to`. /// Reverts if the target does not support the function correctly. function _checkOnERC721Received(address from, address to, uint256 id, bytes memory data) private { /// @solidity memory-safe-assembly assembly { // Prepare the calldata. let m := mload(0x40) let onERC721ReceivedSelector := 0x150b7a02 mstore(m, onERC721ReceivedSelector) mstore(add(m, 0x20), caller()) // The `operator`, which is always `msg.sender`. mstore(add(m, 0x40), shr(96, shl(96, from))) mstore(add(m, 0x60), id) mstore(add(m, 0x80), 0x80) let n := mload(data) mstore(add(m, 0xa0), n) if n { pop(staticcall(gas(), 4, add(data, 0x20), n, add(m, 0xc0), n)) } // Revert if the call reverts. if iszero(call(gas(), to, 0, add(m, 0x1c), add(n, 0xa4), m, 0x20)) { if returndatasize() { // Bubble up the revert if the call reverts. returndatacopy(m, 0x00, returndatasize()) revert(m, returndatasize()) } } // Load the returndata and compare it. if iszero(eq(mload(m), shl(224, onERC721ReceivedSelector))) { mstore(0x00, 0xd1a57ed6) // `TransferToNonERC721ReceiverImplementer()`. revert(0x1c, 0x04) } } } /*«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-«-*/ /* MIRROR OPERATIONS */ /*-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»-»*/ /// @dev Returns the address of the base DN404 contract. function rootERC20() public view returns (address root) { root = _getDN404NFTStorage().rootERC20; if (root == address(0)) revert NotLinked(); } /// @dev Fallback modifier to execute calls from the base DN404 contract. modifier dn404NFTFallback() virtual { DN404NFTStorage storage $ = _getDN404NFTStorage(); uint256 fnSelector = _calldataload(0x00) >> 224; // `logTransfer(uint256[])`. if (fnSelector == 0x263c69d6) { if (msg.sender != $.rootERC20) revert Unauthorized(); /// @solidity memory-safe-assembly assembly { // When returndatacopy copies 1 or more out-of-bounds bytes, it reverts. returndatacopy(0x00, returndatasize(), lt(calldatasize(), 0x20)) let o := add(0x24, calldataload(0x04)) // Packed logs offset. returndatacopy(0x00, returndatasize(), lt(calldatasize(), o)) let end := add(o, shl(5, calldataload(sub(o, 0x20)))) returndatacopy(0x00, returndatasize(), lt(calldatasize(), end)) for {} iszero(eq(o, end)) { o := add(0x20, o) } { let d := calldataload(o) // Entry in the packed logs. let a := shr(96, d) // The address. let b := and(1, d) // Whether it is a burn. log4( codesize(), 0x00, _TRANSFER_EVENT_SIGNATURE, mul(a, b), mul(a, iszero(b)), shr(168, shl(160, d)) ) } mstore(0x00, 0x01) return(0x00, 0x20) } } // `linkMirrorContract(address)`. if (fnSelector == 0x0f4599e5) { if ($.deployer != address(0)) { if (address(uint160(_calldataload(0x04))) != $.deployer) { revert Unauthorized(); } } if ($.rootERC20 != address(0)) revert AlreadyLinked(); $.rootERC20 = msg.sender; /// @solidity memory-safe-assembly assembly { mstore(0x00, 0x01) return(0x00, 0x20) } } _; } /// @dev Fallback function for calls from base DN404 contract. fallback() external payable virtual dn404NFTFallback {} receive() external payable virtual {} /// @dev Returns the calldata value at `offset`. function _calldataload(uint256 offset) private pure returns (uint256 value) { /// @solidity memory-safe-assembly assembly { value := calldataload(offset) } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"CannotLink","type":"error"},{"inputs":[],"name":"NotLinked","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","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":"approved","type":"bool"}],"name":"ApprovalForAll","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"result","type":"string"}],"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":[],"name":"rootERC20","outputs":[{"internalType":"address","name":"root","type":"address"}],"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":"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":"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":"result","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"result","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","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":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801562000010575f80fd5b50604051620013b4380380620013b483398181016040528101906200003691906200011a565b80620000476200008e60201b60201c565b6001015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506200014a565b5f7fe8cb618a1de8ad2a6a7b358523c369cb09f40cc15da64205134c7e55c6a86700905090565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620000e482620000b9565b9050919050565b620000f681620000d8565b811462000101575f80fd5b50565b5f815190506200011481620000eb565b92915050565b5f60208284031215620001325762000131620000b5565b5b5f620001418482850162000104565b91505092915050565b61125c80620001585f395ff3fe6080604052600436106100eb575f3560e01c806342842e0e11610089578063a22cb46511610058578063a22cb465146105e7578063b88d4fde1461060f578063c87b56dd14610637578063e985e9c514610673576100f2565b806342842e0e146105295780636352211e1461054557806370a082311461058157806395d89b41146105bd576100f2565b8063095ea7b3116100c5578063095ea7b31461048557806318160ddd146104ad57806323b872dd146104d75780633d36e5e9146104ff576100f2565b806301ffc9a7146103e357806306fdde031461041f578063081812fc14610449576100f2565b366100f257005b5f6100fb6106af565b90505f60e06101095f6106d6565b901c905063263c69d6810361021d57815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461019f576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602036103d5f3e6004356024018036103d5f3e602081033560051b81018036103d5f3e5b8082146102145781358060601c816001168260a01b60a81c811583028284027fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f38a45050508160200191506101c3565b60015f5260205ff35b630f4599e581036103e1575f73ffffffffffffffffffffffffffffffffffffffff16826001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461031057816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166102c260046106d6565b73ffffffffffffffffffffffffffffffffffffffff161461030f576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff16825f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610397576040517fbf656a4600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33825f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060015f5260205ff35b005b3480156103ee575f80fd5b5061040960048036038101906104049190610dd2565b6106e0565b6040516104169190610e17565b60405180910390f35b34801561042a575f80fd5b50610433610704565b6040516104409190610eba565b60405180910390f35b348015610454575f80fd5b5061046f600480360381019061046a9190610f0d565b610759565b60405161047c9190610f77565b60405180910390f35b348015610490575f80fd5b506104ab60048036038101906104a69190610fba565b61079f565b005b3480156104b8575f80fd5b506104c1610857565b6040516104ce9190611007565b60405180910390f35b3480156104e2575f80fd5b506104fd60048036038101906104f89190611020565b610891565b005b34801561050a575f80fd5b50610513610950565b6040516105209190610f77565b60405180910390f35b610543600480360381019061053e9190611020565b6109e5565b005b348015610550575f80fd5b5061056b60048036038101906105669190610f0d565b610a1e565b6040516105789190610f77565b60405180910390f35b34801561058c575f80fd5b506105a760048036038101906105a29190611070565b610a64565b6040516105b49190611007565b60405180910390f35b3480156105c8575f80fd5b506105d1610aaa565b6040516105de9190610eba565b60405180910390f35b3480156105f2575f80fd5b5061060d600480360381019061060891906110c5565b610aff565b005b34801561061a575f80fd5b5061063560048036038101906106309190611164565b610bbd565b005b348015610642575f80fd5b5061065d60048036038101906106589190610f0d565b610c2d565b60405161066a9190610eba565b60405180910390f35b34801561067e575f80fd5b50610699600480360381019061069491906111e8565b610c8a565b6040516106a69190610e17565b60405180910390f35b5f7fe8cb618a1de8ad2a6a7b358523c369cb09f40cc15da64205134c7e55c6a86700905090565b5f81359050919050565b5f8160e01c635b5e139f81146380ac58cd82146301ffc9a783141717915050919050565b60605f61070f610950565b905060405191506306fdde0382525f806004601c8501845afa610734573d5f833e3d82fd5b60205f803e60205f51833e815160205f5101602084013e815160208301016040525090565b5f80610763610950565b905063081812fc5f528260205260205f6024601c845afa601f3d111661078f573d5f6040513e3d604051fd5b5f5160601b60601c915050919050565b5f6107a8610950565b90505f60405163d10b6e0c5f528460601b60601c602052836040523360605260205f6064601c34875af1601f3d11166107e3573d5f823e3d81fd5b806040525f6060525f5160601b60601c915050828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f80610861610950565b905063e2c792815f5260205f6004601c845afa601f3d1116610889573d5f6040513e3d604051fd5b5f5191505090565b5f61089a610950565b905060405163e5eb36c881528460601b60601c60208201528360601b60601c604082015282606082015233608082015260205f6084601c840134865af1601f3d1160015f511416166108ee573d5f823e3d81fd5b50818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b5f6109596106af565b5f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109e2576040517f5b2a47ae00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b90565b6109f0838383610891565b6109f982610ce1565b15610a1957610a1883838360405180602001604052805f815250610ceb565b5b505050565b5f80610a28610950565b9050636352211e5f528260205260205f6024601c845afa601f3d1116610a54573d5f6040513e3d604051fd5b5f5160601b60601c915050919050565b5f80610a6e610950565b905063f5b100ea5f528260601b60601c60205260205f6024601c845afa601f3d1116610aa0573d5f6040513e3d604051fd5b5f51915050919050565b60605f610ab5610950565b905060405191506395d89b4182525f806004601c8501845afa610ada573d5f833e3d82fd5b60205f803e60205f51833e815160205f5101602084013e815160208301016040525090565b5f610b08610950565b905060405163813500fc5f528360601b60601c6020528215156040523360605260205f6064601c34865af1601f3d1160015f51141616610b4a573d5f823e3d81fd5b806040525f606052508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3184604051610bb09190610e17565b60405180910390a3505050565b610bc8858585610891565b610bd184610ce1565b15610c2657610c2585858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f82011690508083019250505050505050610ceb565b5b5050505050565b60605f610c38610950565b9050604051915063c87b56dd82528260208301525f806024601c8501845afa610c63573d5f833e3d82fd5b60205f803e60205f51833e815160205f5101602084013e8151602083010160405250919050565b5f80610c94610950565b905060405163e985e9c55f528460601b60601c6020528360601b60601c60405260205f6044601c855afa601f3d1116610ccf573d5f823e3d81fd5b806040525f5115159250505092915050565b5f813b9050919050565b60405163150b7a028082523360208301528560601b60601c604083015283606083015260808083015282518060a08401528015610d32578060c08401826020870160045afa505b60208360a48301601c86015f8a5af1610d54573d15610d53573d5f843e3d83fd5b5b8160e01b835114610d6c5763d1a57ed65f526004601cfd5b50505050505050565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610db181610d7d565b8114610dbb575f80fd5b50565b5f81359050610dcc81610da8565b92915050565b5f60208284031215610de757610de6610d75565b5b5f610df484828501610dbe565b91505092915050565b5f8115159050919050565b610e1181610dfd565b82525050565b5f602082019050610e2a5f830184610e08565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610e67578082015181840152602081019050610e4c565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610e8c82610e30565b610e968185610e3a565b9350610ea6818560208601610e4a565b610eaf81610e72565b840191505092915050565b5f6020820190508181035f830152610ed28184610e82565b905092915050565b5f819050919050565b610eec81610eda565b8114610ef6575f80fd5b50565b5f81359050610f0781610ee3565b92915050565b5f60208284031215610f2257610f21610d75565b5b5f610f2f84828501610ef9565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610f6182610f38565b9050919050565b610f7181610f57565b82525050565b5f602082019050610f8a5f830184610f68565b92915050565b610f9981610f57565b8114610fa3575f80fd5b50565b5f81359050610fb481610f90565b92915050565b5f8060408385031215610fd057610fcf610d75565b5b5f610fdd85828601610fa6565b9250506020610fee85828601610ef9565b9150509250929050565b61100181610eda565b82525050565b5f60208201905061101a5f830184610ff8565b92915050565b5f805f6060848603121561103757611036610d75565b5b5f61104486828701610fa6565b935050602061105586828701610fa6565b925050604061106686828701610ef9565b9150509250925092565b5f6020828403121561108557611084610d75565b5b5f61109284828501610fa6565b91505092915050565b6110a481610dfd565b81146110ae575f80fd5b50565b5f813590506110bf8161109b565b92915050565b5f80604083850312156110db576110da610d75565b5b5f6110e885828601610fa6565b92505060206110f9858286016110b1565b9150509250929050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261112457611123611103565b5b8235905067ffffffffffffffff81111561114157611140611107565b5b60208301915083600182028301111561115d5761115c61110b565b5b9250929050565b5f805f805f6080868803121561117d5761117c610d75565b5b5f61118a88828901610fa6565b955050602061119b88828901610fa6565b94505060406111ac88828901610ef9565b935050606086013567ffffffffffffffff8111156111cd576111cc610d79565b5b6111d98882890161110f565b92509250509295509295909350565b5f80604083850312156111fe576111fd610d75565b5b5f61120b85828601610fa6565b925050602061121c85828601610fa6565b915050925092905056fea26469706673582212205447f63504fb9475da4442497e1ef12348315f5f2f15c20c08d4d69d7377f1a564736f6c63430008180033000000000000000000000000aaa36a94f0f5ed3f96a5446f9d4bc9705cfb381b
Deployed Bytecode
0x6080604052600436106100eb575f3560e01c806342842e0e11610089578063a22cb46511610058578063a22cb465146105e7578063b88d4fde1461060f578063c87b56dd14610637578063e985e9c514610673576100f2565b806342842e0e146105295780636352211e1461054557806370a082311461058157806395d89b41146105bd576100f2565b8063095ea7b3116100c5578063095ea7b31461048557806318160ddd146104ad57806323b872dd146104d75780633d36e5e9146104ff576100f2565b806301ffc9a7146103e357806306fdde031461041f578063081812fc14610449576100f2565b366100f257005b5f6100fb6106af565b90505f60e06101095f6106d6565b901c905063263c69d6810361021d57815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461019f576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b602036103d5f3e6004356024018036103d5f3e602081033560051b81018036103d5f3e5b8082146102145781358060601c816001168260a01b60a81c811583028284027fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f38a45050508160200191506101c3565b60015f5260205ff35b630f4599e581036103e1575f73ffffffffffffffffffffffffffffffffffffffff16826001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461031057816001015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166102c260046106d6565b73ffffffffffffffffffffffffffffffffffffffff161461030f576040517f82b4290000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff16825f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610397576040517fbf656a4600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33825f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060015f5260205ff35b005b3480156103ee575f80fd5b5061040960048036038101906104049190610dd2565b6106e0565b6040516104169190610e17565b60405180910390f35b34801561042a575f80fd5b50610433610704565b6040516104409190610eba565b60405180910390f35b348015610454575f80fd5b5061046f600480360381019061046a9190610f0d565b610759565b60405161047c9190610f77565b60405180910390f35b348015610490575f80fd5b506104ab60048036038101906104a69190610fba565b61079f565b005b3480156104b8575f80fd5b506104c1610857565b6040516104ce9190611007565b60405180910390f35b3480156104e2575f80fd5b506104fd60048036038101906104f89190611020565b610891565b005b34801561050a575f80fd5b50610513610950565b6040516105209190610f77565b60405180910390f35b610543600480360381019061053e9190611020565b6109e5565b005b348015610550575f80fd5b5061056b60048036038101906105669190610f0d565b610a1e565b6040516105789190610f77565b60405180910390f35b34801561058c575f80fd5b506105a760048036038101906105a29190611070565b610a64565b6040516105b49190611007565b60405180910390f35b3480156105c8575f80fd5b506105d1610aaa565b6040516105de9190610eba565b60405180910390f35b3480156105f2575f80fd5b5061060d600480360381019061060891906110c5565b610aff565b005b34801561061a575f80fd5b5061063560048036038101906106309190611164565b610bbd565b005b348015610642575f80fd5b5061065d60048036038101906106589190610f0d565b610c2d565b60405161066a9190610eba565b60405180910390f35b34801561067e575f80fd5b50610699600480360381019061069491906111e8565b610c8a565b6040516106a69190610e17565b60405180910390f35b5f7fe8cb618a1de8ad2a6a7b358523c369cb09f40cc15da64205134c7e55c6a86700905090565b5f81359050919050565b5f8160e01c635b5e139f81146380ac58cd82146301ffc9a783141717915050919050565b60605f61070f610950565b905060405191506306fdde0382525f806004601c8501845afa610734573d5f833e3d82fd5b60205f803e60205f51833e815160205f5101602084013e815160208301016040525090565b5f80610763610950565b905063081812fc5f528260205260205f6024601c845afa601f3d111661078f573d5f6040513e3d604051fd5b5f5160601b60601c915050919050565b5f6107a8610950565b90505f60405163d10b6e0c5f528460601b60601c602052836040523360605260205f6064601c34875af1601f3d11166107e3573d5f823e3d81fd5b806040525f6060525f5160601b60601c915050828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f80610861610950565b905063e2c792815f5260205f6004601c845afa601f3d1116610889573d5f6040513e3d604051fd5b5f5191505090565b5f61089a610950565b905060405163e5eb36c881528460601b60601c60208201528360601b60601c604082015282606082015233608082015260205f6084601c840134865af1601f3d1160015f511416166108ee573d5f823e3d81fd5b50818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b5f6109596106af565b5f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036109e2576040517f5b2a47ae00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b90565b6109f0838383610891565b6109f982610ce1565b15610a1957610a1883838360405180602001604052805f815250610ceb565b5b505050565b5f80610a28610950565b9050636352211e5f528260205260205f6024601c845afa601f3d1116610a54573d5f6040513e3d604051fd5b5f5160601b60601c915050919050565b5f80610a6e610950565b905063f5b100ea5f528260601b60601c60205260205f6024601c845afa601f3d1116610aa0573d5f6040513e3d604051fd5b5f51915050919050565b60605f610ab5610950565b905060405191506395d89b4182525f806004601c8501845afa610ada573d5f833e3d82fd5b60205f803e60205f51833e815160205f5101602084013e815160208301016040525090565b5f610b08610950565b905060405163813500fc5f528360601b60601c6020528215156040523360605260205f6064601c34865af1601f3d1160015f51141616610b4a573d5f823e3d81fd5b806040525f606052508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3184604051610bb09190610e17565b60405180910390a3505050565b610bc8858585610891565b610bd184610ce1565b15610c2657610c2585858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f81840152601f19601f82011690508083019250505050505050610ceb565b5b5050505050565b60605f610c38610950565b9050604051915063c87b56dd82528260208301525f806024601c8501845afa610c63573d5f833e3d82fd5b60205f803e60205f51833e815160205f5101602084013e8151602083010160405250919050565b5f80610c94610950565b905060405163e985e9c55f528460601b60601c6020528360601b60601c60405260205f6044601c855afa601f3d1116610ccf573d5f823e3d81fd5b806040525f5115159250505092915050565b5f813b9050919050565b60405163150b7a028082523360208301528560601b60601c604083015283606083015260808083015282518060a08401528015610d32578060c08401826020870160045afa505b60208360a48301601c86015f8a5af1610d54573d15610d53573d5f843e3d83fd5b5b8160e01b835114610d6c5763d1a57ed65f526004601cfd5b50505050505050565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610db181610d7d565b8114610dbb575f80fd5b50565b5f81359050610dcc81610da8565b92915050565b5f60208284031215610de757610de6610d75565b5b5f610df484828501610dbe565b91505092915050565b5f8115159050919050565b610e1181610dfd565b82525050565b5f602082019050610e2a5f830184610e08565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610e67578082015181840152602081019050610e4c565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610e8c82610e30565b610e968185610e3a565b9350610ea6818560208601610e4a565b610eaf81610e72565b840191505092915050565b5f6020820190508181035f830152610ed28184610e82565b905092915050565b5f819050919050565b610eec81610eda565b8114610ef6575f80fd5b50565b5f81359050610f0781610ee3565b92915050565b5f60208284031215610f2257610f21610d75565b5b5f610f2f84828501610ef9565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610f6182610f38565b9050919050565b610f7181610f57565b82525050565b5f602082019050610f8a5f830184610f68565b92915050565b610f9981610f57565b8114610fa3575f80fd5b50565b5f81359050610fb481610f90565b92915050565b5f8060408385031215610fd057610fcf610d75565b5b5f610fdd85828601610fa6565b9250506020610fee85828601610ef9565b9150509250929050565b61100181610eda565b82525050565b5f60208201905061101a5f830184610ff8565b92915050565b5f805f6060848603121561103757611036610d75565b5b5f61104486828701610fa6565b935050602061105586828701610fa6565b925050604061106686828701610ef9565b9150509250925092565b5f6020828403121561108557611084610d75565b5b5f61109284828501610fa6565b91505092915050565b6110a481610dfd565b81146110ae575f80fd5b50565b5f813590506110bf8161109b565b92915050565b5f80604083850312156110db576110da610d75565b5b5f6110e885828601610fa6565b92505060206110f9858286016110b1565b9150509250929050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261112457611123611103565b5b8235905067ffffffffffffffff81111561114157611140611107565b5b60208301915083600182028301111561115d5761115c61110b565b5b9250929050565b5f805f805f6080868803121561117d5761117c610d75565b5b5f61118a88828901610fa6565b955050602061119b88828901610fa6565b94505060406111ac88828901610ef9565b935050606086013567ffffffffffffffff8111156111cd576111cc610d79565b5b6111d98882890161110f565b92509250509295509295909350565b5f80604083850312156111fe576111fd610d75565b5b5f61120b85828601610fa6565b925050602061121c85828601610fa6565b915050925092905056fea26469706673582212205447f63504fb9475da4442497e1ef12348315f5f2f15c20c08d4d69d7377f1a564736f6c63430008180033
Loading...
Loading
Loading...
Loading
[ 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.