pub struct EthereumTransactionBuilder;
Trait Implementations§
Source§impl Default for EthereumTransactionBuilder
impl Default for EthereumTransactionBuilder
Source§fn default() -> EthereumTransactionBuilder
fn default() -> EthereumTransactionBuilder
Returns the “default value” for a type. Read more
Source§impl TransactionBuilder for EthereumTransactionBuilder
impl TransactionBuilder for EthereumTransactionBuilder
type MetadataParams = EthereumMetadataParams
type Metadata = EthereumMetadata
fn transfer( &self, address: &Address, amount: u128, ) -> Result<Self::MetadataParams>
fn method_call( &self, contract: &str, method: &str, params: &[String], amount: u128, ) -> Result<Self::MetadataParams>
fn deploy_contract( &self, contract_binary: Vec<u8>, ) -> Result<Self::MetadataParams>
fn create_and_sign( &self, config: &BlockchainConfig, metadata_params: &Self::MetadataParams, metadata: &Self::Metadata, secret_key: &SecretKey, ) -> Vec<u8> ⓘ
Auto Trait Implementations§
impl Freeze for EthereumTransactionBuilder
impl RefUnwindSafe for EthereumTransactionBuilder
impl Send for EthereumTransactionBuilder
impl Sync for EthereumTransactionBuilder
impl Unpin for EthereumTransactionBuilder
impl UnwindSafe for EthereumTransactionBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more