ERC-1155
Overview
Max Total Supply
142
Holders
55
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NextDAOEvents
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.15; import "solmate/tokens/ERC1155.sol"; import "solmate/auth/Owned.sol"; contract NextDAOEvents is ERC1155, Owned { string public constant name = "NextDAO Events"; string public tokenURI; constructor(address _owner, string memory _uri) Owned(_owner) { tokenURI = _uri; } function create( address recipient, uint256[] calldata ids, uint256[] calldata amounts ) external onlyOwner { _batchMint(recipient, ids, amounts, ""); } function burn( address from, uint256[] calldata ids, uint256[] calldata amounts ) external onlyOwner { _batchBurn(from, ids, amounts); } function uri(uint256 id) public view override returns (string memory) { return tokenURI; } function updateURI(string calldata _uri) external onlyOwner { tokenURI = _uri; } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Minimalist and gas efficient standard ERC1155 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC1155.sol) abstract contract ERC1155 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event TransferSingle( address indexed operator, address indexed from, address indexed to, uint256 id, uint256 amount ); event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] amounts ); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); event URI(string value, uint256 indexed id); /*////////////////////////////////////////////////////////////// ERC1155 STORAGE //////////////////////////////////////////////////////////////*/ mapping(address => mapping(uint256 => uint256)) public balanceOf; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// METADATA LOGIC //////////////////////////////////////////////////////////////*/ function uri(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC1155 LOGIC //////////////////////////////////////////////////////////////*/ function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) public virtual { require(msg.sender == from || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED"); balanceOf[from][id] -= amount; balanceOf[to][id] += amount; emit TransferSingle(msg.sender, from, to, id, amount); require( to.code.length == 0 ? to != address(0) : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, from, id, amount, data) == ERC1155TokenReceiver.onERC1155Received.selector, "UNSAFE_RECIPIENT" ); } function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) public virtual { require(ids.length == amounts.length, "LENGTH_MISMATCH"); require(msg.sender == from || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED"); // Storing these outside the loop saves ~15 gas per iteration. uint256 id; uint256 amount; for (uint256 i = 0; i < ids.length; ) { id = ids[i]; amount = amounts[i]; balanceOf[from][id] -= amount; balanceOf[to][id] += amount; // An array can't have a total length // larger than the max uint256 value. unchecked { ++i; } } emit TransferBatch(msg.sender, from, to, ids, amounts); require( to.code.length == 0 ? to != address(0) : ERC1155TokenReceiver(to).onERC1155BatchReceived(msg.sender, from, ids, amounts, data) == ERC1155TokenReceiver.onERC1155BatchReceived.selector, "UNSAFE_RECIPIENT" ); } function balanceOfBatch(address[] calldata owners, uint256[] calldata ids) public view virtual returns (uint256[] memory balances) { require(owners.length == ids.length, "LENGTH_MISMATCH"); balances = new uint256[](owners.length); // Unchecked because the only math done is incrementing // the array index counter which cannot possibly overflow. unchecked { for (uint256 i = 0; i < owners.length; ++i) { balances[i] = balanceOf[owners[i]][ids[i]]; } } } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0xd9b67a26 || // ERC165 Interface ID for ERC1155 interfaceId == 0x0e89341c; // ERC165 Interface ID for ERC1155MetadataURI } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { balanceOf[to][id] += amount; emit TransferSingle(msg.sender, address(0), to, id, amount); require( to.code.length == 0 ? to != address(0) : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, address(0), id, amount, data) == ERC1155TokenReceiver.onERC1155Received.selector, "UNSAFE_RECIPIENT" ); } function _batchMint( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { uint256 idsLength = ids.length; // Saves MLOADs. require(idsLength == amounts.length, "LENGTH_MISMATCH"); for (uint256 i = 0; i < idsLength; ) { balanceOf[to][ids[i]] += amounts[i]; // An array can't have a total length // larger than the max uint256 value. unchecked { ++i; } } emit TransferBatch(msg.sender, address(0), to, ids, amounts); require( to.code.length == 0 ? to != address(0) : ERC1155TokenReceiver(to).onERC1155BatchReceived(msg.sender, address(0), ids, amounts, data) == ERC1155TokenReceiver.onERC1155BatchReceived.selector, "UNSAFE_RECIPIENT" ); } function _batchBurn( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { uint256 idsLength = ids.length; // Saves MLOADs. require(idsLength == amounts.length, "LENGTH_MISMATCH"); for (uint256 i = 0; i < idsLength; ) { balanceOf[from][ids[i]] -= amounts[i]; // An array can't have a total length // larger than the max uint256 value. unchecked { ++i; } } emit TransferBatch(msg.sender, from, address(0), ids, amounts); } function _burn( address from, uint256 id, uint256 amount ) internal virtual { balanceOf[from][id] -= amount; emit TransferSingle(msg.sender, from, address(0), id, amount); } } /// @notice A generic interface for a contract which properly accepts ERC1155 tokens. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC1155.sol) abstract contract ERC1155TokenReceiver { function onERC1155Received( address, address, uint256, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC1155TokenReceiver.onERC1155Received.selector; } function onERC1155BatchReceived( address, address, uint256[] calldata, uint256[] calldata, bytes calldata ) external virtual returns (bytes4) { return ERC1155TokenReceiver.onERC1155BatchReceived.selector; } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnerUpdated(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; emit OwnerUpdated(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function setOwner(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnerUpdated(msg.sender, newOwner); } }
{ "remappings": [ "ds-test/=lib/solmate/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "solmate/=lib/solmate/src/", "src/=src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"string","name":"_uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"balances","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"create","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"updateURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001b0d38038062001b0d8339810160408190526200003491620000ae565b600280546001600160a01b0319166001600160a01b0384169081179091556040518391906000907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d76908290a35060036200008f82826200023d565b50505062000309565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215620000c257600080fd5b82516001600160a01b0381168114620000da57600080fd5b602084810151919350906001600160401b0380821115620000fa57600080fd5b818601915086601f8301126200010f57600080fd5b81518181111562000124576200012462000098565b604051601f8201601f19908116603f011681019083821181831017156200014f576200014f62000098565b8160405282815289868487010111156200016857600080fd5b600093505b828410156200018c57848401860151818501870152928501926200016d565b828411156200019e5760008684830101525b8096505050505050509250929050565b600181811c90821680620001c357607f821691505b602082108103620001e457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023857600081815260208120601f850160051c81016020861015620002135750805b601f850160051c820191505b8181101562000234578281556001016200021f565b5050505b505050565b81516001600160401b0381111562000259576200025962000098565b62000271816200026a8454620001ae565b84620001ea565b602080601f831160018114620002a95760008415620002905750858301515b600019600386901b1c1916600185901b17855562000234565b600085815260208120601f198616915b82811015620002da57888601518255948401946001909101908401620002b9565b5085821015620002f95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6117f480620003196000396000f3fe608060405234801561001057600080fd5b50600436106100f45760003560e01c80633db0f8ab11610097578063c30f4a5a11610066578063c30f4a5a14610245578063d47d21e214610258578063e985e9c51461026b578063f242432a1461029957600080fd5b80633db0f8ab146101d45780634e1273f4146101e75780638da5cb5b14610207578063a22cb4651461023257600080fd5b80630e89341c116100d35780630e89341c1461019157806313af4035146101a45780632eb2c2d6146101b95780633c130d90146101cc57600080fd5b8062fdd58e146100f957806301ffc9a71461013457806306fdde0314610157575b600080fd5b610121610107366004610f13565b600060208181529281526040808220909352908152205481565b6040519081526020015b60405180910390f35b610147610142366004610f56565b6102ac565b604051901515815260200161012b565b6101846040518060400160405280600e81526020016d4e65787444414f204576656e747360901b81525081565b60405161012b9190610fc7565b61018461019f366004610fda565b6102fe565b6101b76101b2366004610ff3565b610392565b005b6101b76101c736600461109c565b610411565b610184610692565b6101b76101e2366004611157565b610720565b6101fa6101f53660046111d8565b6107bf565b60405161012b919061127f565b60025461021a906001600160a01b031681565b6040516001600160a01b03909116815260200161012b565b6101b7610240366004611292565b6108d2565b6101b76102533660046112ce565b61093e565b6101b7610266366004611157565b61097a565b610147610279366004611310565b600160209081526000928352604080842090915290825290205460ff1681565b6101b76102a7366004611343565b610a20565b60006301ffc9a760e01b6001600160e01b0319831614806102dd5750636cdb3d1360e11b6001600160e01b03198316145b806102f857506303a24d0760e21b6001600160e01b03198316145b92915050565b60606003805461030d906113bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610339906113bb565b80156103865780601f1061035b57610100808354040283529160200191610386565b820191906000526020600020905b81548152906001019060200180831161036957829003601f168201915b50505050509050919050565b6002546001600160a01b031633146103c55760405162461bcd60e51b81526004016103bc906113f5565b60405180910390fd5b600280546001600160a01b0319166001600160a01b03831690811790915560405133907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a350565b8483146104305760405162461bcd60e51b81526004016103bc9061141b565b336001600160a01b038916148061046a57506001600160a01b038816600090815260016020908152604080832033845290915290205460ff165b6104a75760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016103bc565b60008060005b87811015610562578888828181106104c7576104c7611444565b9050602002013592508686828181106104e2576104e2611444565b6001600160a01b038e166000908152602081815260408083208984528252822080549390910294909401359550859392509061051f908490611470565b90915550506001600160a01b038a1660009081526020818152604080832086845290915281208054849290610555908490611487565b90915550506001016104ad565b50886001600160a01b03168a6001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8b8b8b8b6040516105b694939291906114d5565b60405180910390a46001600160a01b0389163b1561065d5760405163bc197c8160e01b808252906001600160a01b038b169063bc197c819061060a9033908f908e908e908e908e908e908e90600401611530565b6020604051808303816000875af1158015610629573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064d9190611594565b6001600160e01b0319161461066a565b6001600160a01b03891615155b6106865760405162461bcd60e51b81526004016103bc906115b1565b50505050505050505050565b6003805461069f906113bb565b80601f01602080910402602001604051908101604052809291908181526020018280546106cb906113bb565b80156107185780601f106106ed57610100808354040283529160200191610718565b820191906000526020600020905b8154815290600101906020018083116106fb57829003601f168201915b505050505081565b6002546001600160a01b0316331461074a5760405162461bcd60e51b81526004016103bc906113f5565b6107b88585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808902828101820190935288825290935088925087918291850190849080828437600092019190915250610c1a92505050565b5050505050565b60608382146107e05760405162461bcd60e51b81526004016103bc9061141b565b8367ffffffffffffffff8111156107f9576107f96115db565b604051908082528060200260200182016040528015610822578160200160208202803683370190505b50905060005b848110156108c95760008087878481811061084557610845611444565b905060200201602081019061085a9190610ff3565b6001600160a01b03166001600160a01b03168152602001908152602001600020600085858481811061088e5761088e611444565b905060200201358152602001908152602001600020548282815181106108b6576108b6611444565b6020908102919091010152600101610828565b50949350505050565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6002546001600160a01b031633146109685760405162461bcd60e51b81526004016103bc906113f5565b6003610975828483611637565b505050565b6002546001600160a01b031633146109a45760405162461bcd60e51b81526004016103bc906113f5565b6107b88585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808902828101820190935288825290935088925087918291850190849080828437600092018290525060408051602081019091529081529250610d2a915050565b336001600160a01b0387161480610a5a57506001600160a01b038616600090815260016020908152604080832033845290915290205460ff165b610a975760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016103bc565b6001600160a01b03861660009081526020818152604080832087845290915281208054859290610ac8908490611470565b90915550506001600160a01b03851660009081526020818152604080832087845290915281208054859290610afe908490611487565b909155505060408051858152602081018590526001600160a01b03808816929089169133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46001600160a01b0385163b15610be95760405163f23a6e6160e01b808252906001600160a01b0387169063f23a6e6190610b969033908b908a908a908a908a906004016116f7565b6020604051808303816000875af1158015610bb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd99190611594565b6001600160e01b03191614610bf6565b6001600160a01b03851615155b610c125760405162461bcd60e51b81526004016103bc906115b1565b505050505050565b815181518114610c3c5760405162461bcd60e51b81526004016103bc9061141b565b60005b81811015610ccb57828181518110610c5957610c59611444565b6020026020010151600080876001600160a01b03166001600160a01b031681526020019081526020016000206000868481518110610c9957610c99611444565b602002602001015181526020019081526020016000206000828254610cbe9190611470565b9091555050600101610c3f565b5060006001600160a01b0316846001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051610d1c92919061173e565b60405180910390a450505050565b825182518114610d4c5760405162461bcd60e51b81526004016103bc9061141b565b60005b81811015610ddb57838181518110610d6957610d69611444565b6020026020010151600080886001600160a01b03166001600160a01b031681526020019081526020016000206000878481518110610da957610da9611444565b602002602001015181526020019081526020016000206000828254610dce9190611487565b9091555050600101610d4f565b50846001600160a01b031660006001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610e2c92919061173e565b60405180910390a46001600160a01b0385163b15610ece5760405163bc197c8160e01b808252906001600160a01b0387169063bc197c8190610e7b9033906000908a908a908a9060040161176c565b6020604051808303816000875af1158015610e9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebe9190611594565b6001600160e01b03191614610edb565b6001600160a01b03851615155b6107b85760405162461bcd60e51b81526004016103bc906115b1565b80356001600160a01b0381168114610f0e57600080fd5b919050565b60008060408385031215610f2657600080fd5b610f2f83610ef7565b946020939093013593505050565b6001600160e01b031981168114610f5357600080fd5b50565b600060208284031215610f6857600080fd5b8135610f7381610f3d565b9392505050565b6000815180845260005b81811015610fa057602081850181015186830182015201610f84565b81811115610fb2576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610f736020830184610f7a565b600060208284031215610fec57600080fd5b5035919050565b60006020828403121561100557600080fd5b610f7382610ef7565b60008083601f84011261102057600080fd5b50813567ffffffffffffffff81111561103857600080fd5b6020830191508360208260051b850101111561105357600080fd5b9250929050565b60008083601f84011261106c57600080fd5b50813567ffffffffffffffff81111561108457600080fd5b60208301915083602082850101111561105357600080fd5b60008060008060008060008060a0898b0312156110b857600080fd5b6110c189610ef7565b97506110cf60208a01610ef7565b9650604089013567ffffffffffffffff808211156110ec57600080fd5b6110f88c838d0161100e565b909850965060608b013591508082111561111157600080fd5b61111d8c838d0161100e565b909650945060808b013591508082111561113657600080fd5b506111438b828c0161105a565b999c989b5096995094979396929594505050565b60008060008060006060868803121561116f57600080fd5b61117886610ef7565b9450602086013567ffffffffffffffff8082111561119557600080fd5b6111a189838a0161100e565b909650945060408801359150808211156111ba57600080fd5b506111c78882890161100e565b969995985093965092949392505050565b600080600080604085870312156111ee57600080fd5b843567ffffffffffffffff8082111561120657600080fd5b6112128883890161100e565b9096509450602087013591508082111561122b57600080fd5b506112388782880161100e565b95989497509550505050565b600081518084526020808501945080840160005b8381101561127457815187529582019590820190600101611258565b509495945050505050565b602081526000610f736020830184611244565b600080604083850312156112a557600080fd5b6112ae83610ef7565b9150602083013580151581146112c357600080fd5b809150509250929050565b600080602083850312156112e157600080fd5b823567ffffffffffffffff8111156112f857600080fd5b6113048582860161105a565b90969095509350505050565b6000806040838503121561132357600080fd5b61132c83610ef7565b915061133a60208401610ef7565b90509250929050565b60008060008060008060a0878903121561135c57600080fd5b61136587610ef7565b955061137360208801610ef7565b94506040870135935060608701359250608087013567ffffffffffffffff81111561139d57600080fd5b6113a989828a0161105a565b979a9699509497509295939492505050565b600181811c908216806113cf57607f821691505b6020821081036113ef57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b6020808252600f908201526e0988a9c8ea890be9a92a69a82a8869608b1b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156114825761148261145a565b500390565b6000821982111561149a5761149a61145a565b500190565b81835260006001600160fb1b038311156114b857600080fd5b8260051b8083602087013760009401602001938452509192915050565b6040815260006114e960408301868861149f565b82810360208401526114fc81858761149f565b979650505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682528816602082015260a06040820181905260009061155d908301888a61149f565b828103606084015261157081878961149f565b90508281036080840152611585818587611507565b9b9a5050505050505050505050565b6000602082840312156115a657600080fd5b8151610f7381610f3d565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b601f82111561097557600081815260208120601f850160051c810160208610156116185750805b601f850160051c820191505b81811015610c1257828155600101611624565b67ffffffffffffffff83111561164f5761164f6115db565b6116638361165d83546113bb565b836115f1565b6000601f841160018114611697576000851561167f5750838201355b600019600387901b1c1916600186901b1783556107b8565b600083815260209020601f19861690835b828110156116c857868501358255602094850194600190920191016116a8565b50868210156116e55760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a0608082018190526000906117329083018486611507565b98975050505050505050565b6040815260006117516040830185611244565b82810360208401526117638185611244565b95945050505050565b6001600160a01b0386811682528516602082015260a06040820181905260009061179890830186611244565b82810360608401526117aa8186611244565b905082810360808401526117328185610f7a56fea264697066735822122021b03223329b39b92de34a978b0a9c4edd776734e9505c6b3ec0278e9bdd100064736f6c634300080f0033000000000000000000000000e8161c68c6c83f36c5eb44f9bb67f2ad8cdd321d0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003368747470733a2f2f643231696568777a7137697965382e636c6f756466726f6e742e6e65742f6d657461646174612f7b69647d00000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f45760003560e01c80633db0f8ab11610097578063c30f4a5a11610066578063c30f4a5a14610245578063d47d21e214610258578063e985e9c51461026b578063f242432a1461029957600080fd5b80633db0f8ab146101d45780634e1273f4146101e75780638da5cb5b14610207578063a22cb4651461023257600080fd5b80630e89341c116100d35780630e89341c1461019157806313af4035146101a45780632eb2c2d6146101b95780633c130d90146101cc57600080fd5b8062fdd58e146100f957806301ffc9a71461013457806306fdde0314610157575b600080fd5b610121610107366004610f13565b600060208181529281526040808220909352908152205481565b6040519081526020015b60405180910390f35b610147610142366004610f56565b6102ac565b604051901515815260200161012b565b6101846040518060400160405280600e81526020016d4e65787444414f204576656e747360901b81525081565b60405161012b9190610fc7565b61018461019f366004610fda565b6102fe565b6101b76101b2366004610ff3565b610392565b005b6101b76101c736600461109c565b610411565b610184610692565b6101b76101e2366004611157565b610720565b6101fa6101f53660046111d8565b6107bf565b60405161012b919061127f565b60025461021a906001600160a01b031681565b6040516001600160a01b03909116815260200161012b565b6101b7610240366004611292565b6108d2565b6101b76102533660046112ce565b61093e565b6101b7610266366004611157565b61097a565b610147610279366004611310565b600160209081526000928352604080842090915290825290205460ff1681565b6101b76102a7366004611343565b610a20565b60006301ffc9a760e01b6001600160e01b0319831614806102dd5750636cdb3d1360e11b6001600160e01b03198316145b806102f857506303a24d0760e21b6001600160e01b03198316145b92915050565b60606003805461030d906113bb565b80601f0160208091040260200160405190810160405280929190818152602001828054610339906113bb565b80156103865780601f1061035b57610100808354040283529160200191610386565b820191906000526020600020905b81548152906001019060200180831161036957829003601f168201915b50505050509050919050565b6002546001600160a01b031633146103c55760405162461bcd60e51b81526004016103bc906113f5565b60405180910390fd5b600280546001600160a01b0319166001600160a01b03831690811790915560405133907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a350565b8483146104305760405162461bcd60e51b81526004016103bc9061141b565b336001600160a01b038916148061046a57506001600160a01b038816600090815260016020908152604080832033845290915290205460ff165b6104a75760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016103bc565b60008060005b87811015610562578888828181106104c7576104c7611444565b9050602002013592508686828181106104e2576104e2611444565b6001600160a01b038e166000908152602081815260408083208984528252822080549390910294909401359550859392509061051f908490611470565b90915550506001600160a01b038a1660009081526020818152604080832086845290915281208054849290610555908490611487565b90915550506001016104ad565b50886001600160a01b03168a6001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8b8b8b8b6040516105b694939291906114d5565b60405180910390a46001600160a01b0389163b1561065d5760405163bc197c8160e01b808252906001600160a01b038b169063bc197c819061060a9033908f908e908e908e908e908e908e90600401611530565b6020604051808303816000875af1158015610629573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064d9190611594565b6001600160e01b0319161461066a565b6001600160a01b03891615155b6106865760405162461bcd60e51b81526004016103bc906115b1565b50505050505050505050565b6003805461069f906113bb565b80601f01602080910402602001604051908101604052809291908181526020018280546106cb906113bb565b80156107185780601f106106ed57610100808354040283529160200191610718565b820191906000526020600020905b8154815290600101906020018083116106fb57829003601f168201915b505050505081565b6002546001600160a01b0316331461074a5760405162461bcd60e51b81526004016103bc906113f5565b6107b88585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808902828101820190935288825290935088925087918291850190849080828437600092019190915250610c1a92505050565b5050505050565b60608382146107e05760405162461bcd60e51b81526004016103bc9061141b565b8367ffffffffffffffff8111156107f9576107f96115db565b604051908082528060200260200182016040528015610822578160200160208202803683370190505b50905060005b848110156108c95760008087878481811061084557610845611444565b905060200201602081019061085a9190610ff3565b6001600160a01b03166001600160a01b03168152602001908152602001600020600085858481811061088e5761088e611444565b905060200201358152602001908152602001600020548282815181106108b6576108b6611444565b6020908102919091010152600101610828565b50949350505050565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6002546001600160a01b031633146109685760405162461bcd60e51b81526004016103bc906113f5565b6003610975828483611637565b505050565b6002546001600160a01b031633146109a45760405162461bcd60e51b81526004016103bc906113f5565b6107b88585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808902828101820190935288825290935088925087918291850190849080828437600092018290525060408051602081019091529081529250610d2a915050565b336001600160a01b0387161480610a5a57506001600160a01b038616600090815260016020908152604080832033845290915290205460ff165b610a975760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016103bc565b6001600160a01b03861660009081526020818152604080832087845290915281208054859290610ac8908490611470565b90915550506001600160a01b03851660009081526020818152604080832087845290915281208054859290610afe908490611487565b909155505060408051858152602081018590526001600160a01b03808816929089169133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46001600160a01b0385163b15610be95760405163f23a6e6160e01b808252906001600160a01b0387169063f23a6e6190610b969033908b908a908a908a908a906004016116f7565b6020604051808303816000875af1158015610bb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd99190611594565b6001600160e01b03191614610bf6565b6001600160a01b03851615155b610c125760405162461bcd60e51b81526004016103bc906115b1565b505050505050565b815181518114610c3c5760405162461bcd60e51b81526004016103bc9061141b565b60005b81811015610ccb57828181518110610c5957610c59611444565b6020026020010151600080876001600160a01b03166001600160a01b031681526020019081526020016000206000868481518110610c9957610c99611444565b602002602001015181526020019081526020016000206000828254610cbe9190611470565b9091555050600101610c3f565b5060006001600160a01b0316846001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051610d1c92919061173e565b60405180910390a450505050565b825182518114610d4c5760405162461bcd60e51b81526004016103bc9061141b565b60005b81811015610ddb57838181518110610d6957610d69611444565b6020026020010151600080886001600160a01b03166001600160a01b031681526020019081526020016000206000878481518110610da957610da9611444565b602002602001015181526020019081526020016000206000828254610dce9190611487565b9091555050600101610d4f565b50846001600160a01b031660006001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610e2c92919061173e565b60405180910390a46001600160a01b0385163b15610ece5760405163bc197c8160e01b808252906001600160a01b0387169063bc197c8190610e7b9033906000908a908a908a9060040161176c565b6020604051808303816000875af1158015610e9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebe9190611594565b6001600160e01b03191614610edb565b6001600160a01b03851615155b6107b85760405162461bcd60e51b81526004016103bc906115b1565b80356001600160a01b0381168114610f0e57600080fd5b919050565b60008060408385031215610f2657600080fd5b610f2f83610ef7565b946020939093013593505050565b6001600160e01b031981168114610f5357600080fd5b50565b600060208284031215610f6857600080fd5b8135610f7381610f3d565b9392505050565b6000815180845260005b81811015610fa057602081850181015186830182015201610f84565b81811115610fb2576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610f736020830184610f7a565b600060208284031215610fec57600080fd5b5035919050565b60006020828403121561100557600080fd5b610f7382610ef7565b60008083601f84011261102057600080fd5b50813567ffffffffffffffff81111561103857600080fd5b6020830191508360208260051b850101111561105357600080fd5b9250929050565b60008083601f84011261106c57600080fd5b50813567ffffffffffffffff81111561108457600080fd5b60208301915083602082850101111561105357600080fd5b60008060008060008060008060a0898b0312156110b857600080fd5b6110c189610ef7565b97506110cf60208a01610ef7565b9650604089013567ffffffffffffffff808211156110ec57600080fd5b6110f88c838d0161100e565b909850965060608b013591508082111561111157600080fd5b61111d8c838d0161100e565b909650945060808b013591508082111561113657600080fd5b506111438b828c0161105a565b999c989b5096995094979396929594505050565b60008060008060006060868803121561116f57600080fd5b61117886610ef7565b9450602086013567ffffffffffffffff8082111561119557600080fd5b6111a189838a0161100e565b909650945060408801359150808211156111ba57600080fd5b506111c78882890161100e565b969995985093965092949392505050565b600080600080604085870312156111ee57600080fd5b843567ffffffffffffffff8082111561120657600080fd5b6112128883890161100e565b9096509450602087013591508082111561122b57600080fd5b506112388782880161100e565b95989497509550505050565b600081518084526020808501945080840160005b8381101561127457815187529582019590820190600101611258565b509495945050505050565b602081526000610f736020830184611244565b600080604083850312156112a557600080fd5b6112ae83610ef7565b9150602083013580151581146112c357600080fd5b809150509250929050565b600080602083850312156112e157600080fd5b823567ffffffffffffffff8111156112f857600080fd5b6113048582860161105a565b90969095509350505050565b6000806040838503121561132357600080fd5b61132c83610ef7565b915061133a60208401610ef7565b90509250929050565b60008060008060008060a0878903121561135c57600080fd5b61136587610ef7565b955061137360208801610ef7565b94506040870135935060608701359250608087013567ffffffffffffffff81111561139d57600080fd5b6113a989828a0161105a565b979a9699509497509295939492505050565b600181811c908216806113cf57607f821691505b6020821081036113ef57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b6020808252600f908201526e0988a9c8ea890be9a92a69a82a8869608b1b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156114825761148261145a565b500390565b6000821982111561149a5761149a61145a565b500190565b81835260006001600160fb1b038311156114b857600080fd5b8260051b8083602087013760009401602001938452509192915050565b6040815260006114e960408301868861149f565b82810360208401526114fc81858761149f565b979650505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682528816602082015260a06040820181905260009061155d908301888a61149f565b828103606084015261157081878961149f565b90508281036080840152611585818587611507565b9b9a5050505050505050505050565b6000602082840312156115a657600080fd5b8151610f7381610f3d565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b634e487b7160e01b600052604160045260246000fd5b601f82111561097557600081815260208120601f850160051c810160208610156116185750805b601f850160051c820191505b81811015610c1257828155600101611624565b67ffffffffffffffff83111561164f5761164f6115db565b6116638361165d83546113bb565b836115f1565b6000601f841160018114611697576000851561167f5750838201355b600019600387901b1c1916600186901b1783556107b8565b600083815260209020601f19861690835b828110156116c857868501358255602094850194600190920191016116a8565b50868210156116e55760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a0608082018190526000906117329083018486611507565b98975050505050505050565b6040815260006117516040830185611244565b82810360208401526117638185611244565b95945050505050565b6001600160a01b0386811682528516602082015260a06040820181905260009061179890830186611244565b82810360608401526117aa8186611244565b905082810360808401526117328185610f7a56fea264697066735822122021b03223329b39b92de34a978b0a9c4edd776734e9505c6b3ec0278e9bdd100064736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e8161c68c6c83f36c5eb44f9bb67f2ad8cdd321d0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003368747470733a2f2f643231696568777a7137697965382e636c6f756466726f6e742e6e65742f6d657461646174612f7b69647d00000000000000000000000000
-----Decoded View---------------
Arg [0] : _owner (address): 0xE8161C68C6c83f36c5eb44f9BB67f2Ad8CDd321d
Arg [1] : _uri (string): https://d21iehwzq7iye8.cloudfront.net/metadata/{id}
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000e8161c68c6c83f36c5eb44f9bb67f2ad8cdd321d
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000033
Arg [3] : 68747470733a2f2f643231696568777a7137697965382e636c6f756466726f6e
Arg [4] : 742e6e65742f6d657461646174612f7b69647d00000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.