Expand description
Import this module (with a glob) if you’re implementing a kernel, especially if you want to use ambassador to delegate the implementation.
Re-exports§
pub use super::ambassador_impl_ActorOps;
pub use super::ambassador_impl_ActorOps;
pub use super::ambassador_impl_CryptoOps;
pub use super::ambassador_impl_CryptoOps;
pub use super::ambassador_impl_DebugOps;
pub use super::ambassador_impl_DebugOps;
pub use super::ambassador_impl_EventOps;
pub use super::ambassador_impl_EventOps;
pub use super::ambassador_impl_IpldBlockOps;
pub use super::ambassador_impl_IpldBlockOps;
pub use super::ambassador_impl_MessageOps;
pub use super::ambassador_impl_MessageOps;
pub use super::ambassador_impl_NetworkOps;
pub use super::ambassador_impl_NetworkOps;
pub use super::ambassador_impl_RandomnessOps;
pub use super::ambassador_impl_RandomnessOps;
pub use super::ambassador_impl_SelfOps;
pub use super::ambassador_impl_SelfOps;
pub use super::ambassador_impl_SendOps;
pub use super::ambassador_impl_SendOps;
pub use super::ambassador_impl_UpgradeOps;
pub use super::ambassador_impl_UpgradeOps;
pub use super::ActorOps;
pub use super::CryptoOps;
pub use super::DebugOps;
pub use super::EventOps;
pub use super::IpldBlockOps;
pub use super::MessageOps;
pub use super::NetworkOps;
pub use super::RandomnessOps;
pub use super::SelfOps;
pub use super::SendOps;
pub use super::UpgradeOps;
pub use super::Block;
pub use super::BlockId;
pub use super::BlockRegistry;
pub use super::BlockStat;
pub use super::CallResult;
pub use super::Kernel;
pub use super::SyscallHandler;
pub use crate::gas::Gas;
pub use crate::gas::GasTimer;
pub use crate::gas::PriceList;
Structs§
- Address is the struct that defines the protocol and data payload conversion from either a public key or value
- ExitCode defines the exit code from the VM invocation.
- Specifies the network version
- Flags passed to the send syscall.
- A quantity of native tokens. A token amount is an integer, but has a human interpretation as a value with 18 decimal places. This is a new-type in order to prevent accidental conversion from other BigInts. From/Into BigInt is missing by design.
Enums§
- Signature variants for Filecoin signatures.
Constants§
- Secp256k1 Public key length in bytes.
- Secp256k1 signature length in bytes.
- Length of the signature input message hash in bytes (32).
Type Aliases§
- Identifier for Actors, includes builtin and initialized actors
- Epoch number of a chain. This acts as a proxy for time within the VM.
- A Cid that contains a multihash with an allocated size of 512 bits.
- Method number indicator for calling actor methods.
- A Multihash with the same allocated size as the Multihashes produces by this derive.
Derive Macros§
- Delegate the implementation of a trait to a struct field/enum variants by adding
#[derive(Delegate)]
and its associated attribute#[delegate(Trait)]
to it: