Somnium
Verified contract
Proxy
Active on
Ethereum with 25 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x0506…e3a3
0x56fe…7ba5
Balances ($0.00)
No balances found for "Somnium"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20833261 | 2 months ago | | | 0 | 0.0020697797 | |
| 20695686 | 2 months ago | | | 0 | 0.00022017084 | |
| 20695663 | 2 months ago | | | 0 | 0.00022743189 | |
| 20671197 | 2 months ago | | | 0 | 0.00027080664 | |
| 20439382 | 3 months ago | | | 0 | 0.00017802288 | |
| 20384458 | 4 months ago | | | 0 | 0.00075157736 | |
| 20383394 | 4 months ago | | | 0 | 0.00039974627 | |
| 20383371 | 4 months ago | | | 0 | 0.00038814837 | |
| 20383348 | 4 months ago | | | 0 | 0.00038573208 | |
| 20383234 | 4 months ago | | | 0 | 0.00041411435 |
ABI
ABI objects
Getter at block 21191546
ADMIN_ROLE() view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
APPROVED_MINT_CONTRACT() view returns (bytes32)
0xf0178e81e3689af48153edf0e1b2d669fe2786ab9e21fdecf3e3771c70330af5
BASIS() view returns (uint256)
10000
VERSION() view returns (string)
3.1.1
blocklistRegistry() view returns (address)
0x56fe4de01b15bb2afa969f914692867acac27ba5
floatWhenUnpinned() view returns (bool)
false
getDefaultRoyaltyRecipientAndPercentage() view returns (address, uint256)
(0x373d419979862c6845e74cee5ae1e075801b6abc, 1000)
name() view returns (string)
Somnium
owner() view returns (address)
0x373d419979862c6845e74cee5ae1e075801b6abc
storyEnabled() view returns (bool)
true
symbol() view returns (string)
SOMNI
tlNftDelegationRegistry() view returns (address)
0x05060a6dade0ab0a9f762976f03634ff9a14e3a3
totalSupply() view returns (uint256)
19
Read-only
balanceOf(address owner) view returns (uint256)
getApproved(uint256 tokenId) view returns (address)
getRoleMembers(bytes32 role) view returns (address[])
hasPinnedTokenURI(uint256 tokenId) view returns (bool)
hasRole(bytes32 role, address potentialRoleMember) view returns (bool)
isApprovedForAll(address owner, address operator) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
royaltyInfo(uint256 tokenId, uint256 salePrice) view returns (address receiver, uint256 royaltyAmount)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenURI(uint256 tokenId) view returns (string uri)
tokenURIs(uint256 tokenId) view returns (uint256 index, string[] uris, bool pinned)
State-modifying
Events addCollectionStory(string, string story)
addCreatorStory(uint256 tokenId, string, string story)
addStory(uint256 tokenId, string, string story)
addTokenUris(uint256[] tokenIds, string baseUri)
airdrop(address[] addresses, string baseUri)
approve(address to, uint256 tokenId)
batchMint(address recipient, uint128 numTokens, string baseUri)
burn(uint256 tokenId)
externalMint(address recipient, string uri)
initialize(string name, string symbol, string personalization, address defaultRoyaltyRecipient, uint256 defaultRoyaltyPercentage, address initOwner, address[] admins, bool enableStory, address initBlockListRegistry, address initNftDelegationRegistry)
mint(address recipient, string uri)
mint(address recipient, string uri, address royaltyAddress, uint256 royaltyPercent)
pinTokenURI(uint256 tokenId, uint256 index)
renounceOwnership()
renounceRole(bytes32 role)
revokeAllRoles()
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
setApprovalForAll(address operator, bool approved)
setApprovedMintContracts(address[] minters, bool status)
setBlockListRegistry(address newBlockListRegistry)
setDefaultRoyalty(address newRecipient, uint256 newPercentage)
setNftDelegationRegistry(address newNftDelegationRegistry)
setRole(bytes32 role, address[] roleMembers, bool status)
setStoryStatus(bool status)
setTokenRoyalty(uint256 tokenId, address newRecipient, uint256 newPercentage)
setUnpinnedFloatState(bool float)
transferFrom(address from, address to, uint256 tokenId)
transferOwnership(address newOwner)
unpinTokenURI(uint256 tokenId)
AllRolesRevoked(address indexed from)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
BlockListRegistryUpdate(address indexed sender, address indexed prevBlockListRegistry, address indexed newBlockListRegistry)
CollectionStory(address indexed creatorAddress, string creatorName, string story)
CreatorStory(uint256 indexed tokenId, address indexed creatorAddress, string creatorName, string story)
DefaultRoyaltyUpdate(address indexed sender, address newRecipient, uint256 newPercentage)
Initialized(uint64 version)
MetadataUpdate(uint256 _tokenId)
NftDelegationRegistryUpdate(address indexed sender, address indexed prevNftDelegationRegistry, address indexed newNftDelegationRegistry)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RoleChange(address indexed from, address indexed user, bool indexed approved, bytes32 role)
Story(uint256 indexed tokenId, address indexed collectorAddress, string collectorName, string story)
StoryStatusUpdate(address indexed sender, bool indexed status)
TokenRoyaltyOverride(address indexed sender, uint256 indexed tokenId, address newRecipient, uint256 newPercentage)
TokenUriPinned(uint256 indexed tokenId, uint256 indexed index)
TokenUriUnpinned(uint256 indexed tokenId)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AirdropTooFewAddresses()
BatchSizeTooSmall()
CallerNotApprovedOrOwner()
CallerNotTokenOwnerOrDelegate()
ERC721IncorrectOwner(address sender, uint256 tokenId, address owner)
ERC721InsufficientApproval(address operator, uint256 tokenId)
ERC721InvalidApprover(address approver)
ERC721InvalidOperator(address operator)
ERC721InvalidOwner(address owner)
ERC721InvalidReceiver(address receiver)
ERC721InvalidSender(address sender)
ERC721NonexistentToken(uint256 tokenId)
EmptyTokenURI()
InvalidInitialization()
InvalidTokenURIIndex()
MaxRoyaltyError()
MintToZeroAddress()
NoTokensSpecified()
NotInitializing()
NotOwnerAdminOrMintContract()
NotRoleOrOwner(bytes32 role)
NotSpecifiedRole(bytes32 role)
OperatorBlocked()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
StoryNotEnabled()
StringsInsufficientHexLength(uint256 value, uint256 length)
TokenDoesntExist()
ZeroAddressError()