pub fn new(
        sender: AccountAddress,
        sequence_number: u64,
        program: Program,
        max_gas_amount: u64,
        gas_unit_price: u64,
        expiration_time: Duration,
    ) -> Self {
        RawTransaction {
            sender,
            sequence_number,
            payload: TransactionPayload::Program(program),
            max_gas_amount,
            gas_unit_price,
            expiration_time,
        }
    }
/// Create a new `RawTransaction` with a program.
///
/// Almost all transactions are program transactions. See `new_write_set` for write-set
/// transactions.
Create a new `RawTransaction` with a program.
Almost all transactions are program transactions. See `new_write_set` for write-set
transactions.
Create a new ` RawTransaction ` with a program . Almost all transactions are program transactions . See ` new_write_set ` for write - set transactions .
pub fn new(
        sender: AccountAddress,
        sequence_number: u64,
        program: Program,
        max_gas_amount: u64,
        gas_unit_price: u64,
        expiration_time: Duration,
    ) -> Self {
        RawTransaction {
            sender,
            sequence_number,
            payload: TransactionPayload::Program(program),
            max_gas_amount,
            gas_unit_price,
            expiration_time,
        }
    }
pub fn new ( sender : AccountAddress , sequence_number : u64 , program : Program , max_gas_amount : u64 , gas_unit_price : u64 , expiration_time : Duration , ) -> Self { RawTransaction { sender , sequence_number , payload : TransactionPayload :: Program ( program ) , max_gas_amount , gas_unit_price , expiration_time , } }
Create a new `RawTransaction` with a program.
Create a new ` RawTransaction ` with a program .
sender
AccountAddress
sequence_number
u64
program
Program
max_gas_amount
u64
gas_unit_price
u64
expiration_time
Duration