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>"]
CAATransferred1e04["IdentityId","Ticker","IdentityId"]
CAInitiated1e05["EventDid","CAId","CorporateAction","CADetails"]
CALinkedToDoc1e06["IdentityId","CAId","Vec<DocumentId>"]
CARemoved1e07["EventDid","CAId"]
RecordDateChanged1e08["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":189}}
DefaultWithholdingTax{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"U32","keys_id":42,"value_id":166}}
DidWithholdingTax{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"Vec<Tuple:[U8; 32]U32>","keys_id":42,"value_id":197}}
CAIdSequence{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"U32","keys_id":42,"value_id":164}}
CorporateActions{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 12]","U32"],"value":"pallet_corporate_actions:CorporateAction","keys_id":660,"value_id":192}}
CADocLink{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_corporate_actions:CAId"],"value":"Vec<U32>","keys_id":163,"value_id":200}}
Details{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_corporate_actions:CAId"],"value":"Vec<U8>","keys_id":163,"value_id":199}}
StorageVersion{"origin":"PlainType","plain_type":"U8","PlainTypeValue":661}
Constants
Name
Type
Value
MaxTargetIdsU32e8030000
MaxDidWhtsU32e8030000
Error Types
Name
Docs
AuthNotCAATransferThe authorization type is not to transfer the CAA to another DID.
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.