sui_types::transaction

Type Alias VerifiedTransaction

Source
pub type VerifiedTransaction = VerifiedEnvelope<SenderSignedData, EmptySignInfo>;

Aliased Type§

struct VerifiedTransaction(/* private fields */);

Implementations§

Source§

impl VerifiedTransaction

Source

pub fn new_change_epoch( next_epoch: EpochId, protocol_version: ProtocolVersion, storage_charge: u64, computation_charge: u64, storage_rebate: u64, non_refundable_storage_fee: u64, epoch_start_timestamp_ms: u64, system_packages: Vec<(SequenceNumber, Vec<Vec<u8>>, Vec<ObjectID>)>, ) -> Self

Source

pub fn new_genesis_transaction(objects: Vec<GenesisObject>) -> Self

Source

pub fn new_consensus_commit_prologue( epoch: u64, round: u64, commit_timestamp_ms: CheckpointTimestamp, ) -> Self

Source

pub fn new_consensus_commit_prologue_v2( epoch: u64, round: u64, commit_timestamp_ms: CheckpointTimestamp, consensus_commit_digest: ConsensusCommitDigest, ) -> Self

Source

pub fn new_consensus_commit_prologue_v3( epoch: u64, round: u64, commit_timestamp_ms: CheckpointTimestamp, consensus_commit_digest: ConsensusCommitDigest, consensus_determined_version_assignments: ConsensusDeterminedVersionAssignments, ) -> Self

Source

pub fn new_consensus_commit_prologue_v4( epoch: u64, round: u64, commit_timestamp_ms: CheckpointTimestamp, consensus_commit_digest: ConsensusCommitDigest, consensus_determined_version_assignments: ConsensusDeterminedVersionAssignments, additional_state_digest: AdditionalConsensusStateDigest, ) -> Self

Source

pub fn new_authenticator_state_update( epoch: u64, round: u64, new_active_jwks: Vec<ActiveJwk>, authenticator_obj_initial_shared_version: SequenceNumber, ) -> Self

Source

pub fn new_randomness_state_update( epoch: u64, randomness_round: RandomnessRound, random_bytes: Vec<u8>, randomness_obj_initial_shared_version: SequenceNumber, ) -> Self

Source

pub fn new_end_of_epoch_transaction( txns: Vec<EndOfEpochTransactionKind>, ) -> Self