Expand description
Pallet IDN Consumer
§Overview
The pallet-idn-consumer provides functionality for interacting with the Ideal Network (IDN) as
a consumer. It allows parachains to subscribe to randomness pulses, request subscription quotes,
and manage subscription states via XCM.
§Key Features
- Subscription Management: Create, update, pause, reactivate, and terminate subscriptions.
- Randomness Consumption: Consume randomness pulses delivered by the IDN.
- Quote Requests: Request and consume subscription fee quotes.
- Subscription Info: Retrieve and consume subscription details.
- XCM Integration: Seamlessly interact with the IDN Manager pallet on the Ideal Network.
Re-exports§
pub use weights::WeightInfo;pub use pallet::*;
Modules§
- pallet
- The
palletmodule in each FRAME pallet hosts the most important items needed to construct this pallet. - primitives
- traits
- Pallet IDN Consumer traits
- weights
- Autogenerated weights for
pallet_idn_consumer
Structs§
- Pulse
- The runtime pulse represents a verifiable pulse constructed from the aggregation of one or more valid drand pulses. That is, this struct represents the format in which subscribers recieve, consume, and verify on-chain randomness More specifically, it represents an aggregation of pulses and associated messages output from Drand’s Quicknet
Type Aliases§
- Quote
- The quote for a subscription, containing the deposit and fees.
- SubInfo
Response - The subscription info returned by the IDN Manager to the target parachain.
- Subscription
Id - The subscription ID