subscan
Runtime Modules / CorporateAction
Spec Version:
Events
Name
Lookup
Attributes
MaxDetailsLengthChanged1e00["IdentityId","u32"]
DefaultTargetIdentitiesChanged1e01["IdentityId","Ticker","TargetIdentities"]
DefaultWithholdingTaxChanged1e02["IdentityId","Ticker","Tax"]
DidWithholdingTaxChanged1e03["IdentityId","Ticker","IdentityId","Option<Tax>"]
CAInitiated1e04["EventDid","CAId","CorporateAction","CADetails"]
CALinkedToDoc1e05["IdentityId","CAId","Vec<DocumentId>"]
CARemoved1e06["EventDid","CAId"]
RecordDateChanged1e07["EventDid","CAId","CorporateAction"]
Storage Functions
Name
Type
MaxDetailsLength{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
DefaultTargetIdentities{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"pallet_corporate_actions:TargetIdentities","keys_id":42,"value_id":190}}
DefaultWithholdingTax{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"U32","keys_id":42,"value_id":169}}
DidWithholdingTax{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"Vec<Tuple:[U8; 32]U32>","keys_id":42,"value_id":198}}
CAIdSequence{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"U32","keys_id":42,"value_id":167}}
CorporateActions{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 12]","U32"],"value":"pallet_corporate_actions:CorporateAction","keys_id":648,"value_id":193}}
CADocLink{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_corporate_actions:CAId"],"value":"Vec<U32>","keys_id":166,"value_id":201}}
Details{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_corporate_actions:CAId"],"value":"Vec<U8>","keys_id":166,"value_id":200}}
StorageVersion{"origin":"PlainType","plain_type":"U8","PlainTypeValue":649}
Constants
Name
Type
Value
MaxTargetIdsU32e8030000
MaxDidWhtsU32e8030000
Error Types
Name
Docs
DetailsTooLongThe `details` of a CA exceeded the max allowed length.
DuplicateDidTaxA 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.
TooManyDidTaxesToo many withholding tax overrides were specified.
TooManyTargetIdsToo many identities in `TargetIdentities` were specified.
NoSuchCheckpointIdOn CA creation, a checkpoint ID was provided which doesn't exist.
NoSuchCAA CA with the given `CAId` did not exist.
NoRecordDateThe CA did not have a record date.
RecordDateAfterStartA 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.
DeclDateAfterRecordDateA CA's declaration date was strictly after its record date.
DeclDateInFutureA CA's declaration date occurs in the future.
NotTargetedByCACA does not target the DID.