subscan
Runtime Modules / CapitalDistribution
Spec Version:
Call Functions
Name
Lookup
Parameters
distribute1b007
claim1b011
push_benefit1b022
reclaim1b031
remove_distribution1b041
Events
Name
Lookup
Attributes
Created1b00["EventDid","CAId","Distribution"]
BenefitClaimed1b01["EventDid","EventDid","CAId","Distribution","Balance","Tax"]
Reclaimed1b02["EventDid","CAId","Balance"]
Removed1b03["EventDid","CAId"]
Storage Functions
Name
Type
Distributions{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_corporate_actions:CAId"],"value":"pallet_corporate_actions:distribution:Distribution","keys_id":166,"value_id":168}}
HolderPaid{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_corporate_actions:CAId","[U8; 32]"],"value":"Bool","keys_id":632,"value_id":74}}
StorageVersion{"origin":"PlainType","plain_type":"U8","PlainTypeValue":633}
Error Types
Name
Docs
CANotBenefitA capital distribution was made for a non-benefit CA.
AlreadyExistsA distribution already exists for this CA.
ExpiryBeforePaymentA distributions provided expiry date was strictly before its payment date.In other words, everything to distribute would immediately be forfeited.
HolderAlreadyPaidThe token holder has already been paid their benefit.
NoSuchDistributionA capital distribution doesn't exist for this CA.
CannotClaimBeforeStartDistribution allotment cannot be claimed as the current time is before start-of-payment.
CannotClaimAfterExpiryDistribution's expiry has passed. DID cannot claim anymore and has forfeited the benefits.
BalancePerShareProductOverflowedMultiplication of the balance with the per share payout amount overflowed.
NotDistributionCreatorDID is not the one who created the distribution.
AlreadyReclaimedDID who created the distribution already did reclaim.
NotExpiredDistribution had not expired yet, or there's no expiry date.
DistributionStartedA distribution has been activated, as `payment_at <= now` holds.
InsufficientRemainingAmountA distribution has insufficient remaining amount of currency to distribute.
DistributionAmountIsZeroDistribution `amount` cannot be zero.
DistributionPerShareIsZeroDistribution `per_share` cannot be zero.