Trait fil_actors_shared::v14::runtime::MessageInfo
source · pub trait MessageInfo {
// Required methods
fn nonce(&self) -> u64;
fn caller(&self) -> Address;
fn origin(&self) -> Address;
fn receiver(&self) -> Address;
fn value_received(&self) -> TokenAmount;
fn gas_premium(&self) -> TokenAmount;
}
Expand description
Message information available to the actor about executing message.
Required Methods§
sourcefn origin(&self) -> Address
fn origin(&self) -> Address
The address of the origin of the current invocation. Always an ID-address
sourcefn receiver(&self) -> Address
fn receiver(&self) -> Address
The address of the actor receiving the message. Always an ID-address.
sourcefn value_received(&self) -> TokenAmount
fn value_received(&self) -> TokenAmount
The value attached to the message being processed, implicitly added to current_balance() before method invocation.
The message gas premium