subscan
Runtime Modules / CorporateAction
Spec Version:
Storage Functions
Name
Type
MaxDetailsLength{"origin":"PlainType","plain_type":"u32"}
DefaultTargetIdentities{"origin":"MapType","map_type":{"key":"Ticker","hasher":"Blake2_128Concat","value":"TargetIdentities","isLinked":false}}
DefaultWithholdingTax{"origin":"MapType","map_type":{"key":"Ticker","hasher":"Blake2_128Concat","value":"Tax","isLinked":false}}
DidWithholdingTax{"origin":"MapType","map_type":{"key":"Ticker","hasher":"Blake2_128Concat","value":"Vec<(IdentityId, Tax)>","isLinked":false}}
CAIdSequence{"origin":"MapType","map_type":{"key":"Ticker","hasher":"Blake2_128Concat","value":"LocalCAId","isLinked":false}}
CorporateActions{"origin":"DoubleMapType","double_map_type":{"key":"Ticker","key2":"LocalCAId","hasher":"Blake2_128Concat","key2Hasher":"Twox64Concat","value":"CorporateAction","isLinked":false}}
CADocLink{"origin":"MapType","map_type":{"key":"CAId","hasher":"Blake2_128Concat","value":"Vec<DocumentId>","isLinked":false}}
Details{"origin":"MapType","map_type":{"key":"CAId","hasher":"Blake2_128Concat","value":"CADetails","isLinked":false}}
StorageVersion{"origin":"PlainType","plain_type":"Version"}
Constants
Name
Type
Value
MaxTargetIdsu320xe8030000
MaxDidWhtsu320xe8030000
Error Types
Name
Docs
AuthNotCAATransfer The authorization type is not to transfer the CAA to another DID.
DetailsTooLong The `details` of a CA exceeded the max allowed length.
LocalCAIdOverflow There have been too many CAs for this ticker and the ID would overflow. This won't occur in practice.
DuplicateDidTax A withholding tax override for a given DID was specified more than once. The chain refused to make a choice, and hence there was an error.
TooManyDidTaxes Too many withholding tax overrides were specified.
TooManyTargetIds Too many identities in `TargetIdentities` were specified.
NoSuchCheckpointId On CA creation, a checkpoint ID was provided which doesn't exist.
NoSuchCA A CA with the given `CAId` did not exist.
NoRecordDate The CA did not have a record date.
RecordDateAfterStart A CA's record date was strictly after the "start" time, where "start" is context dependent. For example, it could be the start of a ballot, or the start-of-payment in capital distribution.
DeclDateAfterRecordDate A CA's declaration date was strictly after its record date.
DeclDateInFuture A CA's declaration date occurs in the future.
NotTargetedByCA CA does not target the DID.