Crate substrate_abi
source ·Modules
Structs
- Providing access to the SubstrateAbi
- A representation of a morphism from T to O. This provides some metadata so we can have a single blanket implementation of some T to Some O where Self has some way of converting the morphism.
Enums
Traits
- Provide the required data type conversions for a converter to be marked as a
SubstrateAbi
. - Extensible conversion trait. Generic over only source type, with destination type being associated. This being associated over outcome allows us to implement for any Type over some provider struct, allowing us to minimise the need for newtypes if using
TryFrom
.
Functions
- Try to associate a value to some associated type, as long as they are each part of
Codec
.
Type Definitions
- A representation of an Asset Id, this is utilised for xbi instructions relating to multiple assets
- Global XBI Types.