subscan
Runtime Modules / Settlement
Spec Version:
Events
Name
Lookup
Attributes
VenueCreated2500["IdentityId","VenueId","VenueDetails","VenueType"]
VenueDetailsUpdated2501["IdentityId","VenueId","VenueDetails"]
VenueTypeUpdated2502["IdentityId","VenueId","VenueType"]
InstructionCreated2503["IdentityId","VenueId","InstructionId","SettlementType<BlockNumber>","Option<Moment>","Option<Moment>","Vec<Leg>"]
InstructionAffirmed2504["IdentityId","PortfolioId","InstructionId"]
AffirmationWithdrawn2505["IdentityId","PortfolioId","InstructionId"]
InstructionRejected2506["IdentityId","InstructionId"]
ReceiptClaimed2507["IdentityId","InstructionId","LegId","u64","AccountId","ReceiptMetadata"]
ReceiptValidityChanged2508["IdentityId","AccountId","u64","bool"]
ReceiptUnclaimed2509["IdentityId","InstructionId","LegId","u64","AccountId"]
VenueFiltering250a["IdentityId","Ticker","bool"]
VenuesAllowed250b["IdentityId","Ticker","Vec<VenueId>"]
VenuesBlocked250c["IdentityId","Ticker","Vec<VenueId>"]
LegFailedExecution250d["IdentityId","InstructionId","LegId"]
InstructionFailed250e["IdentityId","InstructionId"]
InstructionExecuted250f["IdentityId","InstructionId"]
VenueUnauthorized2510["IdentityId","Ticker","VenueId"]
SchedulingFailed2511["DispatchError"]
InstructionRescheduled2512["IdentityId","InstructionId"]
Storage Functions
Name
Type
VenueInfo{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"pallet_settlement:Venue","keys_id":233,"value_id":654}}
Details{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Vec<U8>","keys_id":233,"value_id":234}}
VenueInstructions{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","U64"],"value":"NULL","keys_id":655,"value_id":76}}
VenueSigners{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","AccountId"],"value":"Bool","keys_id":656,"value_id":69}}
UserVenues{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"Vec<pallet_settlement:VenueId>","keys_id":30,"value_id":242}}
InstructionDetails{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"pallet_settlement:Instruction","keys_id":236,"value_id":657}}
InstructionLegs{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","U64"],"value":"pallet_settlement:Leg","keys_id":659,"value_id":239}}
InstructionLegStatus{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","U64"],"value":"pallet_settlement:LegStatus","keys_id":659,"value_id":660}}
InstructionAffirmsPending{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"U64","keys_id":236,"value_id":8}}
AffirmsReceived{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","polymesh_primitives:identity_id:PortfolioId"],"value":"pallet_settlement:AffirmationStatus","keys_id":661,"value_id":662}}
UserAffirmations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["polymesh_primitives:identity_id:PortfolioId","U64"],"value":"pallet_settlement:AffirmationStatus","keys_id":663,"value_id":662}}
ReceiptsUsed{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Blake2_128Concat"],"key_vec":["AccountId","U64"],"value":"Bool","keys_id":537,"value_id":69}}
VenueFiltering{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"Bool","keys_id":39,"value_id":69}}
VenueAllowList{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 12]","U64"],"value":"Bool","keys_id":664,"value_id":69}}
VenueCounter{"origin":"PlainType","plain_type":"U64","PlainTypeValue":233}
InstructionCounter{"origin":"PlainType","plain_type":"U64","PlainTypeValue":236}
StorageVersion{"origin":"PlainType","plain_type":"U8","PlainTypeValue":665}
Error Types
Name
Docs
InvalidVenueVenue does not exist.
UnauthorizedSender does not have required permissions.
NoPendingAffirmNo pending affirmation for the provided instruction.
InstructionNotAffirmedInstruction has not been affirmed.
InstructionNotPendingProvided instruction is not pending execution.
InstructionNotFailedProvided instruction is not failing execution.
LegNotPendingProvided leg is not pending execution.
UnauthorizedSignerSigner is not authorized by the venue.
ReceiptAlreadyClaimedReceipt already used.
ReceiptNotClaimedReceipt not used yet.
UnauthorizedVenueVenue does not have required permissions.
FailedToLockTokensWhile affirming the transfer, system failed to lock the assets involved.
InstructionFailedInstruction failed to execute.
InstructionDatesInvalidInstruction has invalid dates
InstructionSettleBlockPassedInstruction's target settle block reached.
InvalidSignatureOffchain signature is invalid.
SameSenderReceiverSender and receiver are the same.
PortfolioMismatchPortfolio in receipt does not match with portfolios provided by the user.
SettleOnPastBlockThe provided settlement block number is in the past and cannot be used by the scheduler.
NoPortfolioProvidedPortfolio based actions require at least one portfolio to be provided as input.
UnexpectedAffirmationStatusThe current instruction affirmation status does not support the requested action.
FailedToScheduleScheduling of an instruction fails.
LegCountTooSmallLegs count should matches with the total number of legs in which given portfolio act as `from_portfolio`.
UnknownInstructionInstruction status is unknown
InstructionHasTooManyLegsMaximum legs that can be in a single instruction.