pub(crate) fn random_with_native_transfer_in_payment_logic(rng: &mut TestRng) -> Self {
        let transfer_args = runtime_args! {
            "amount" => *MAX_PAYMENT,
            "source" => PublicKey::random(rng).to_account_hash(),
            "target" => PublicKey::random(rng).to_account_hash(),
        };
        let payment = ExecutableDeployItem::Transfer {
            args: transfer_args,
        };
        Self::random_transfer_with_payment(rng, payment)
    }
/// Creates a deploy with native transfer as payment code.
Creates a deploy with native transfer as payment code.
Creates a deploy with native transfer as payment code .
pub(crate) fn random_with_native_transfer_in_payment_logic(rng: &mut TestRng) -> Self {
        let transfer_args = runtime_args! {
            "amount" => *MAX_PAYMENT,
            "source" => PublicKey::random(rng).to_account_hash(),
            "target" => PublicKey::random(rng).to_account_hash(),
        };
        let payment = ExecutableDeployItem::Transfer {
            args: transfer_args,
        };
        Self::random_transfer_with_payment(rng, payment)
    }
pub ( crate ) fn random_with_native_transfer_in_payment_logic ( rng : & mut TestRng ) -> Self { let transfer_args = runtime_args ! { " " MAX_PAYMENT " " PublicKey random ( rng ) to_account_hash ( ) " " PublicKey random ( rng ) to_account_hash ( ) } ; let payment = ExecutableDeployItem :: Transfer { args : transfer_args , } ; Self :: random_transfer_with_payment ( rng , payment ) }
Creates a deploy with native transfer as payment code.
Creates a deploy with native transfer as payment code .
rng
&mut TestRng
rng
&mut TestRng