Crate snowbridge_core

Source
Expand description

§Core

Common traits and types

Re-exports§

pub use location::AgentId;
pub use location::AgentIdOf;
pub use location::TokenId;
pub use location::TokenIdOf;
pub use ringbuffer::RingBufferMap;
pub use ringbuffer::RingBufferMapImpl;
pub use operating_mode::BasicOperatingMode;
pub use pricing::PricingParameters;
pub use pricing::Rewards;

Modules§

location
Location
operating_mode
pricing
reward
ringbuffer
sparse_bitmap
Sparse Bitmap

Structs§

AllowSiblingsOnly
AssetMetadata
Metadata to include in the instantiated ERC20 token contract
Channel
ChannelId
Identifier for a message channel
ParaId
Unique identifier of a parachain.
SiblingParaId
U256
Little-endian large integer type 256-bit unsigned integer.

Constants§

PRIMARY_GOVERNANCE_CHANNEL
Channel for high-priority governance commands
ROC
SECONDARY_GOVERNANCE_CHANNEL
Channel for lower-priority governance commands

Traits§

IsSystem
Determine if a parachain is a system parachain or not.
StaticLookup

Functions§

burn_for_teleport
Helper function that validates fee can be burned, then withdraws it from origin and burns it. Note: Make sure this is called from a transactional storage context so that side-effects are rolled back on errors.
eth
gwei
meth
sibling_sovereign_account