Wrapper around
AccountInfo
that verifies program ownership and deserializes underlying data into a Rust type.
Account information
Type facilitating on demand zero copy deserialization.
Describes a single account read or written by a program during instruction
execution.
A representation of network time.
Provides non-argument inputs to the program.
Context specifying non-argument inputs for cross-program-invocations.
The schema of the output data that will be sent to the quote verification sidecar.
The schema of the output data that will be sent to the quote verification sidecar.
The list of accounts used by this verifier to verify the function result
An object containing the context to execute a Switchboard Function.
Inititlizing this object will load all required variables from the runtime
to execute and sign an output transaction to be verified and committed by
the switchboard network.
The cleaned up parameters used for a verify instruction
Gramine
: Gramine is a virtualized runtime used to manage vanilla binaries
to execute in an SGX execution environment. This struct allows access to
specific overrides that come out-of-the-box with Gramine.
A directive for a single invocation of a Solana program.
Instructions sysvar, dummy type.
Type validating that the account is one of a set of given Programs
Wrapper around
AccountInfo
that verifies program ownership and deserializes underlying data into a Rust type.
A vanilla Ed25519 key pair
A Solana transaction message (legacy).
Type validating that the account is the given Program
A builder for creating a new PubSubEventClient
Configuration of network rent.
This message is passed by the ServiceWorker to the service to verify the service is permitted to run.
Type validating that the account signed the transaction. No other ownership
or type checks are done. If this is used, one should not try to access the
underlying account data.
A bitvector indicating which slots are present in the past epoch.
The expected environment variables when a solana function is being executed
Solana
Represents the result of a Solana function call.
Represents the result of a Solana function call.
The expected environment variables when a solana function is being executed
Type validating that the account is owned by the system program
Type validating that the account is a sysvar and deserializing it.
An atomically-committed sequence of instructions.
Represents a transaction object used for building Solana transactions.
Explicit wrapper for AccountInfo types to emphasize
that no checks are performed
A data structure that can be deserialized and stored into account storage,
i.e. an
AccountInfo
’s
mutable data slice.
A data structure that can be serialized and stored into account storage,
i.e. an
AccountInfo
’s
mutable data slice.
A data structure of validated accounts that can be deserialized from the
input to a Solana program. Implementations of this trait should perform any
and all requisite constraint checks on accounts to ensure the accounts
maintain any invariants required for the program to run securely. In most
cases, it’s recommended to use the
Accounts
derive macro to implement this trait.
The close procedure to initiate garabage collection of an account, allowing
one to retrieve the rent exemption.
The exit procedure for an account. Any cleanup or persistence to storage
should be done here.
A data-structure that can be de-serialized from binary format by NBOR.
A data-structure that can be serialized into binary format by NBOR.
A trait for types that can act as signers for transactions.
8 byte unique identifier for a type.
A future represents an asynchronous computation obtained by use of
async
.
Defines the id of a program.
Calculates the data for an instruction invocation, where the data is
Sha256(<namespace>:<method_name>)[..8] || BorshSerialize(args)
.
args
is a borsh serialized struct of named fields for each argument given
to an instruction.
Defines the Pubkey of an account.
Lamports related utility methods for accounts.
Defines an address expected to own an account.
A type that holds sysvar data.
Defines the space of an account for initialization.
Transformation to an AccountInfo
struct.
An account data structure capable of zero copy deserialization.