multiversx_sc_scenario::scenario::model

Trait IntoBlockchainCall

Source
pub trait IntoBlockchainCall {
    type BlockchainCall;

    // Required method
    fn into_blockchain_call(self) -> Self::BlockchainCall;
}
👎Deprecated since 0.42.0: The recommended syntax is a variation of sc_call or sc_deploy with a scenario step built from the ContractCall.
Expand description

Converts a ContractCall or ContractDeploy into a scenario object that additonally contains gas costs and transaction-related data.

Required Associated Types§

Source

type BlockchainCall

👎Deprecated since 0.42.0: The recommended syntax is a variation of sc_call or sc_deploy with a scenario step built from the ContractCall.

Required Methods§

Source

fn into_blockchain_call(self) -> Self::BlockchainCall

👎Deprecated since 0.42.0: The recommended syntax is a variation of sc_call or sc_deploy with a scenario step built from the ContractCall.

Implementors§

Source§

impl<OriginalResult> IntoBlockchainCall for ContractCallNoPayment<StaticApi, OriginalResult>
where OriginalResult: TopEncodeMulti,

Source§

type BlockchainCall = TypedScCall<OriginalResult>

Source§

impl<OriginalResult> IntoBlockchainCall for ContractCallWithEgld<StaticApi, OriginalResult>
where OriginalResult: TopEncodeMulti,

Source§

type BlockchainCall = TypedScCall<OriginalResult>

Source§

impl<OriginalResult> IntoBlockchainCall for ContractCallWithEgldOrSingleEsdt<StaticApi, OriginalResult>
where OriginalResult: TopEncodeMulti,

Source§

type BlockchainCall = TypedScCall<OriginalResult>

Source§

impl<OriginalResult> IntoBlockchainCall for ContractCallWithMultiEsdt<StaticApi, OriginalResult>
where OriginalResult: TopEncodeMulti,

Source§

type BlockchainCall = TypedScCall<OriginalResult>

Source§

impl<OriginalResult> IntoBlockchainCall for ContractDeploy<StaticApi, OriginalResult>