subscan
Runtime Modules / Settlement
Spec Version:
Events
Name
Lookup
Attributes
VenueCreated2500["IdentityId","VenueId","VenueDetails","VenueType"]
VenueDetailsUpdated2501["IdentityId","VenueId","VenueDetails"]
VenueTypeUpdated2502["IdentityId","VenueId","VenueType"]
InstructionAffirmed2503["IdentityId","PortfolioId","InstructionId"]
AffirmationWithdrawn2504["IdentityId","PortfolioId","InstructionId"]
InstructionRejected2505["IdentityId","InstructionId"]
ReceiptClaimed2506["IdentityId","InstructionId","LegId","u64","AccountId","Option<ReceiptMetadata>"]
VenueFiltering2507["IdentityId","Ticker","bool"]
VenuesAllowed2508["IdentityId","Ticker","Vec<VenueId>"]
VenuesBlocked2509["IdentityId","Ticker","Vec<VenueId>"]
LegFailedExecution250a["IdentityId","InstructionId","LegId"]
InstructionFailed250b["IdentityId","InstructionId"]
InstructionExecuted250c["IdentityId","InstructionId"]
VenueUnauthorized250d["IdentityId","Ticker","VenueId"]
SchedulingFailed250e["DispatchError"]
InstructionRescheduled250f["IdentityId","InstructionId"]
VenueSignersUpdated2510["IdentityId","VenueId","Vec<AccountId>","bool"]
SettlementManuallyExecuted2511["IdentityId","InstructionId"]
InstructionCreated2512["IdentityId","VenueId","InstructionId","SettlementType<BlockNumber>","Option<Moment>","Option<Moment>","Vec<Leg>","Option<Memo>"]
FailedToExecuteInstruction2513["InstructionId","DispatchError"]
InstructionAutomaticallyAffirmed2514["IdentityId","PortfolioId","InstructionId"]
MediatorAffirmationReceived2515["IdentityId","InstructionId","Option<Moment>"]
MediatorAffirmationWithdrawn2516["IdentityId","InstructionId"]
InstructionMediators2517["InstructionId","BTreeSet<IdentityId>"]
Storage Functions
Name
Type
VenueInfo{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"polymesh_primitives:settlement:Venue","keys_id":246,"value_id":679}}
Details{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"Vec<U8>","keys_id":246,"value_id":247}}
VenueInstructions{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","U64"],"value":"NULL","keys_id":680,"value_id":81}}
VenueSigners{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","AccountId"],"value":"Bool","keys_id":681,"value_id":74}}
UserVenues{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["[U8; 32]","U64"],"value":"NULL","keys_id":682,"value_id":81}}
InstructionDetails{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"polymesh_primitives:settlement:Instruction","keys_id":162,"value_id":683}}
InstructionLegStatus{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","U64"],"value":"polymesh_primitives:settlement:LegStatus","keys_id":684,"value_id":685}}
InstructionAffirmsPending{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"U64","keys_id":162,"value_id":10}}
AffirmsReceived{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","polymesh_primitives:identity_id:PortfolioId"],"value":"polymesh_primitives:settlement:AffirmationStatus","keys_id":686,"value_id":687}}
UserAffirmations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["polymesh_primitives:identity_id:PortfolioId","U64"],"value":"polymesh_primitives:settlement:AffirmationStatus","keys_id":688,"value_id":687}}
ReceiptsUsed{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Blake2_128Concat"],"key_vec":["AccountId","U64"],"value":"Bool","keys_id":561,"value_id":74}}
VenueFiltering{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"Bool","keys_id":42,"value_id":74}}
VenueAllowList{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["[U8; 12]","U64"],"value":"Bool","keys_id":689,"value_id":74}}
VenueCounter{"origin":"PlainType","plain_type":"U64","PlainTypeValue":246}
InstructionCounter{"origin":"PlainType","plain_type":"U64","PlainTypeValue":162}
StorageVersion{"origin":"PlainType","plain_type":"U8","PlainTypeValue":690}
InstructionMemos{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"[U8; 32]","keys_id":162,"value_id":34}}
InstructionStatuses{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"polymesh_primitives:settlement:InstructionStatus","keys_id":162,"value_id":691}}
InstructionLegs{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","U64"],"value":"polymesh_primitives:settlement:Leg","keys_id":684,"value_id":255}}
OffChainAffirmations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U64","U64"],"value":"polymesh_primitives:settlement:AffirmationStatus","keys_id":684,"value_id":687}}
NumberOfVenueSigners{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"U32","keys_id":246,"value_id":4}}
InstructionMediatorsAffirmations{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Identity"],"key_vec":["U64","[U8; 32]"],"value":"polymesh_primitives:settlement:MediatorAffirmationStatus","keys_id":692,"value_id":693}}
Error Types
Name
Docs
InvalidVenueVenue does not exist.
UnauthorizedSender does not have required permissions.
InstructionNotAffirmedInstruction has not been affirmed.
UnauthorizedSignerSigner is not authorized by the venue.
ReceiptAlreadyClaimedReceipt already used.
UnauthorizedVenueVenue does not have required permissions.
InstructionDatesInvalidInstruction has invalid dates
InstructionSettleBlockPassedInstruction's target settle block reached.
InvalidSignatureOffchain signature is invalid.
SameSenderReceiverSender and receiver are the same.
SettleOnPastBlockThe provided settlement block number is in the past and cannot be used by the scheduler.
UnexpectedAffirmationStatusThe current instruction affirmation status does not support the requested action.
FailedToScheduleScheduling of an instruction fails.
UnknownInstructionInstruction status is unknown
SignerAlreadyExistsSigner is already added to venue.
SignerDoesNotExistSigner is not added to venue.
ZeroAmountInstruction leg amount can't be zero.
InstructionSettleBlockNotReachedInstruction settlement block has not yet been reached.
CallerIsNotAPartyThe caller is not a party of this instruction.
MaxNumberOfNFTsExceededThe number of nfts being transferred in the instruction was exceeded.
NumberOfTransferredNFTsUnderestimatedThe given number of nfts being transferred was underestimated.
ReceiptForInvalidLegTypeOff-chain receipts can only be used for off-chain leg type.
WeightLimitExceededThe maximum weight limit for executing the function was exceeded.
MaxNumberOfFungibleAssetsExceededThe maximum number of fungible assets was exceeded.
MaxNumberOfOffChainAssetsExceededThe maximum number of off-chain assets was exceeded.
NumberOfFungibleTransfersUnderestimatedThe given number of fungible transfers was underestimated.
UnexpectedOFFChainAssetTicker could not be found on chain.
OffChainAssetCantBeLockedOff-Chain assets cannot be locked.
NumberOfOffChainTransfersUnderestimatedThe given number of off-chain transfers was underestimated.
LegNotFoundNo leg with the given id was found
InputWeightIsLessThanMinimumThe input weight is less than the minimum required.
MaxNumberOfReceiptsExceededThe maximum number of receipts was exceeded.
NotAllAffirmationsHaveBeenReceivedThere are parties who have not affirmed the instruction.
InvalidInstructionStatusForExecutionOnly [`InstructionStatus::Pending`] or [`InstructionStatus::Failed`] instructions can be executed.
FailedToReleaseLockOrTransferAssetsThe instruction failed to release asset locks or transfer the assets.
DuplicateReceiptUidNo duplicate uid are allowed for different receipts.
ReceiptInstructionIdMissmatchThe instruction id in all receipts must match the extrinsic parameter.
MultipleReceiptsForOneLegMultiple receipts for the same leg are not allowed.
UnexpectedLegStatusAn invalid has been reached.
NumberOfVenueSignersExceededThe maximum number of venue signers was exceeded.
CallerIsNotAMediatorThe caller is not a mediator in the instruction.
InvalidExpiryDateThe mediator's expiry date must be in the future.
MediatorAffirmationExpiredThe expiry date for the mediator's affirmation has passed.