pub struct ExecutableFuelCall {
pub tx: Script,
}Expand description
ExecutableFuelCall provides methods to create and call/simulate a transaction that carries
out contract method calls or script calls
Fields§
§tx: ScriptImplementations§
source§impl ExecutableFuelCall
impl ExecutableFuelCall
pub fn new(tx: Script) -> Self
sourcepub async fn from_contract_calls(
calls: &[ContractCall],
tx_parameters: &TxParameters,
wallet: &WalletUnlocked
) -> Result<Self>
pub async fn from_contract_calls( calls: &[ContractCall], tx_parameters: &TxParameters, wallet: &WalletUnlocked ) -> Result<Self>
Creates a ExecutableFuelCall from contract calls. The internal Transaction is
initialized with the actual script instructions, script data needed to perform the call and
transaction inputs/outputs consisting of assets and contracts.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ExecutableFuelCall
impl Send for ExecutableFuelCall
impl Sync for ExecutableFuelCall
impl Unpin for ExecutableFuelCall
impl UnwindSafe for ExecutableFuelCall
Blanket Implementations§
source§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any.