altair
subscan
Runtime Modules / Anchor
Spec Version:
Call Functions
Name
Lookup
Parameters
pre_commit5b002
commit5b014
evict_pre_commits5b021
evict_anchors5b03-
Storage Functions
Name
Type
PreCommits{"origin":"MapType","map_type":{"key":"Hash","hasher":"Blake2_256","value":"PreCommitData<Hash, AccountId, BlockNumber>","isLinked":false}}
PreCommitEvictionBuckets{"origin":"MapType","map_type":{"key":"(BlockNumber, u64)","hasher":"Blake2_256","value":"Hash","isLinked":false}}
PreCommitEvictionBucketIndex{"origin":"MapType","map_type":{"key":"BlockNumber","hasher":"Blake2_256","value":"u64","isLinked":false}}
AnchorEvictDates{"origin":"MapType","map_type":{"key":"Hash","hasher":"Blake2_256","value":"u32","isLinked":false}}
AnchorIndexes{"origin":"MapType","map_type":{"key":"u64","hasher":"Blake2_256","value":"Hash","isLinked":false}}
LatestAnchorIndex{"origin":"PlainType","plain_type":"u64"}
LatestEvictedAnchorIndex{"origin":"PlainType","plain_type":"u64"}
LatestEvictedDate{"origin":"PlainType","plain_type":"u32"}
EvictedAnchorRoots{"origin":"MapType","map_type":{"key":"u32","hasher":"Blake2_256","value":"Bytes","isLinked":false}}
Error Types
Name
Docs
AnchorAlreadyExists Anchor with anchor_id already exists
AnchorStoreDateInPast Anchor store date must be in now or future
AnchorStoreDateAboveMaxLimit Anchor store date must not be more than max store date
FeeNotSet State rent fee not set in the Fee Pallet
PreCommitAlreadyExists Pre-commit already exists
NotOwnerOfPreCommit Sender is not the owner of pre commit
InvalidPreCommitProof Invalid pre commit proof
PreCommitExpirationTooBig Pre Commit expiration block too big
EvictionDateTooBig Eviction date too big for conversion
FailedToConvertEpochToDays Failed to convert epoch in MS to days
EvictionNotPossible Bucket eviction not possible