Skip to main content

Crate rialo_sol_cpi

Crate rialo_sol_cpi 

Source
Expand description

Sol CPI SDK for Rialo programs.

This library provides CPI helpers for Sol developers to integrate Rialo’s features in their programs.

Modules§

rex
REX module for interacting with the REX Registry program.
subscriber
Subscriber module for scheduling and event subscriptions.

Structs§

Headers
A structure representing the headers of an HTTP request.
Nonce
Predicate
Represents the predicates set by a subscriber to match the Subscription to an event.
RexRegistryProgram
REX Registry program for creating and managing REX requests
RexUrl
A wrapper type around RexValue specifically for handling URLs in REX configurations.
SubscriberProgram
Subscriber program for scheduling and subscriptions
Subscription
Subscription data stored by a user for a given topic. This is used to generate scheduled transactions to be run if the topic is triggered.

Enums§

HttpFilter
Filter to apply to HTTP GET responses from REX requests.
RexValue
Represents a value that can be either plain text or encrypted.
StartingTimestamp
Starting timestamp configuration for REX requests
SubscriptionKind
Subscription kind
TargetRexProgram
Enum that represents the target REX Program of the REX request.
UpdateFrequency
The frequency of the REX update.

Functions§

derive_rex_address
Derive the PDA for a REX info account
derive_subscription_address
Generates the program-derived address (PDA) for the subscription data account.