Module adapter::primitives

source ·
Expand description

Primitives used by the Adapter. Including re-exported types from the primitives crate that are being used.

Structs

Ethereum Virtual Machine Chain
The Id of the chain
Configured chain with tokens.
Context of TokenInfo & Chain information for given Channel or [Campaign].
Examples:
Configured Token in a specific Chain. Precision can differ for the same token from one Chain to another.

Enums

A helper type that allows you to use either of them and dereference the adapter when calling for example an application with a concrete implementation of the crate::Adapter.

Type Definitions

The Deposit struct with BigNum values. Returned by crate::client::Locked::get_deposit