Trait forest_message::Message [−][src]
Message interface to interact with Signed and unsigned messages in a generic context.
Required methods
fn from(&self) -> &Address
[src]
Returns the from address of the message.
fn to(&self) -> &Address
[src]
Returns the destination address of the message.
fn sequence(&self) -> u64
[src]
Returns the message sequence or nonce.
fn value(&self) -> &TokenAmount
[src]
Returns the amount sent in message.
fn method_num(&self) -> MethodNum
[src]
Returns the method number to be called.
fn params(&self) -> &Serialized
[src]
Returns the encoded parameters for the method call.
fn set_gas_limit(&mut self, amount: i64)
[src]
sets the gas limit for the message.
fn set_sequence(&mut self, sequence: u64)
[src]
sets a new sequence to the message.
fn gas_limit(&self) -> i64
[src]
Returns the gas limit for the message.
fn required_funds(&self) -> TokenAmount
[src]
Returns the required funds for the message.
fn gas_fee_cap(&self) -> &TokenAmount
[src]
gets gas fee cap for the message.
fn gas_premium(&self) -> &TokenAmount
[src]
gets gas premium for the message.
fn set_gas_fee_cap(&mut self, cap: TokenAmount)
[src]
sets the gas fee cap.
fn set_gas_premium(&mut self, prem: TokenAmount)
[src]
sets the gas premium.