Struct diem_sdk::transaction_builder::TransactionFactory [−][src]
pub struct TransactionFactory { /* fields omitted */ }
Implementations
pub fn add_recovery_rotation_capability(
&self,
recovery_address: AccountAddress
) -> TransactionBuilder
pub fn add_validator_and_reconfigure(
&self,
sliding_nonce: u64,
validator_name: Vec<u8>,
validator_address: AccountAddress
) -> TransactionBuilder
pub fn burn_with_amount(
&self,
token: Currency,
sliding_nonce: u64,
preburn_address: AccountAddress,
amount: u64
) -> TransactionBuilder
pub fn cancel_burn_with_amount(
&self,
token: Currency,
preburn_address: AccountAddress,
amount: u64
) -> TransactionBuilder
pub fn peer_to_peer(
&self,
currency: Currency,
payee: AccountAddress,
amount: u64
) -> TransactionBuilder
pub fn peer_to_peer_with_metadata(
&self,
currency: Currency,
payee: AccountAddress,
amount: u64,
metadata: Vec<u8>,
metadata_signature: Vec<u8>
) -> TransactionBuilder
pub fn create_child_vasp_account(
&self,
coin_type: Currency,
child_auth_key: AuthenticationKey,
add_all_currencies: bool,
child_initial_balance: u64
) -> TransactionBuilder
pub fn create_designated_dealer(
&self,
coin_type: Currency,
sliding_nonce: u64,
auth_key: AuthenticationKey,
human_name: &str,
add_all_currencies: bool
) -> TransactionBuilder
pub fn create_parent_vasp_account(
&self,
coin_type: Currency,
sliding_nonce: u64,
parent_auth_key: AuthenticationKey,
human_name: &str,
add_all_currencies: bool
) -> TransactionBuilder
pub fn rotate_authentication_key_with_recovery_address(
&self,
recovery_address: AccountAddress,
to_recover: AccountAddress,
new_key: AuthenticationKey
) -> TransactionBuilder
pub fn rotate_dual_attestation_info(
&self,
new_url: Vec<u8>,
new_key: Vec<u8>
) -> TransactionBuilder
pub fn update_diem_consensus_config(
&self,
sliding_nonce: u64,
config: Vec<u8>
) -> TransactionBuilder
pub fn update_exchange_rate(
&self,
currency: Currency,
sliding_nonce: u64,
exchange_rate_numerator: u64,
exchange_rate_denominator: u64
) -> TransactionBuilder
pub fn remove_validator_and_reconfigure(
&self,
sliding_nonce: u64,
validator_name: Vec<u8>,
validator_address: AccountAddress
) -> TransactionBuilder
pub fn remove_vasp_domain(
&self,
address: AccountAddress,
domain: Vec<u8>
) -> TransactionBuilder
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TransactionFactory
impl Send for TransactionFactory
impl Sync for TransactionFactory
impl Unpin for TransactionFactory
impl UnwindSafe for TransactionFactory
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more