Skip to main content

Interface: SolanaLayer

Defined in: solana-client/src/config.ts:74

The Solana OvercastLayer: a built Solana transaction (SolanaTx) is submitted to yield a TxInfo receipt, configured by a SolanaConfig. Passed as the single generic argument to the core abstractions instead of spelling out <SolanaTx, TxInfo, SolanaConfig>.

settlements maps each layer Solana implements to the config its read() decodes to, so app.settlement.resolve("oracle").read(id) is typed to an OracleSettlementConfig with no cast. settlementContext is how the extra inputs a layer reads are spelled on this chain: accounts (see SolanaSettlementContext).

Extends​

  • OvercastLayer

Properties​

config​

config: SolanaConfig<string>;

Defined in: solana-client/src/config.ts:77

Overrides​

OvercastLayer.config

receipt​

receipt: TxInfo;

Defined in: solana-client/src/config.ts:76

Overrides​

OvercastLayer.receipt

settlementContext​

settlementContext: SolanaSettlementContext;

Defined in: solana-client/src/config.ts:82

Overrides​

OvercastLayer.settlementContext

settlements​

settlements: object;

Defined in: solana-client/src/config.ts:78

oracle​

oracle: OracleSettlementConfig;

physical​

physical: PhysicalSettlementConfig;

Overrides​

OvercastLayer.settlements

tx​

tx: Transaction;

Defined in: solana-client/src/config.ts:75

Overrides​

OvercastLayer.tx