pub struct CallParams {
    /// Amount of the asset to transfer.
    pub coins: u64,
    /// AssetId of the asset to transfer.
    pub asset_id: AssetId,
    /// Gas to forward.
    pub gas: u64,
}
Expand description

A struct representing the call parameters of a function call.

Fields

coins: u64

Amount of the asset to transfer.

asset_id: AssetId

AssetId of the asset to transfer.

gas: u64

Gas to forward.

Trait Implementations

fn abi_encode(self, buffer: Buffer) -> Buffer

fn abi_decode(refmut buffer: BufferReader) -> Self