pub fn new_module(
        sender: AccountAddress,
        sequence_number: u64,
        module: Module,
        max_gas_amount: u64,
        gas_unit_price: u64,
        expiration_time: Duration,
    ) -> Self {
        RawTransaction {
            sender,
            sequence_number,
            payload: TransactionPayload::Module(module),
            max_gas_amount,
            gas_unit_price,
            expiration_time,
        }
    }
/// Create a new `RawTransaction` with a module to publish.
///
/// A module transaction is the only way to publish code. Only one module per transaction
/// can be published.
Create a new `RawTransaction` with a module to publish.
A module transaction is the only way to publish code. Only one module per transaction
can be published.
Create a new ` RawTransaction ` with a module to publish . A module transaction is the only way to publish code . Only one module per transaction can be published .
pub fn new_module(
        sender: AccountAddress,
        sequence_number: u64,
        module: Module,
        max_gas_amount: u64,
        gas_unit_price: u64,
        expiration_time: Duration,
    ) -> Self {
        RawTransaction {
            sender,
            sequence_number,
            payload: TransactionPayload::Module(module),
            max_gas_amount,
            gas_unit_price,
            expiration_time,
        }
    }
pub fn new_module ( sender : AccountAddress , sequence_number : u64 , module : Module , max_gas_amount : u64 , gas_unit_price : u64 , expiration_time : Duration , ) -> Self { RawTransaction { sender , sequence_number , payload : TransactionPayload :: Module ( module ) , max_gas_amount , gas_unit_price , expiration_time , } }
Create a new `RawTransaction` with a module to publish.
Create a new ` RawTransaction ` with a module to publish .
sender
AccountAddress
sequence_number
u64
module
Module
max_gas_amount
u64
gas_unit_price
u64
expiration_time
Duration