pub fn standard(
        account_hash: AccountHash,
        session_file: &str,
        session_args: RuntimeArgs,
    ) -> Self {
        let mut rng = rand::thread_rng();
        let deploy_hash: [u8; 32] = rng.gen();

        let deploy = DeployItemBuilder::new()
            .with_address(account_hash)
            .with_session_code(session_file, session_args)
            .with_empty_payment_bytes(runtime_args! {
                ARG_AMOUNT => *DEFAULT_PAYMENT
            })
            .with_authorization_keys(&[account_hash])
            .with_deploy_hash(deploy_hash)
            .build();

        ExecuteRequestBuilder::new().push_deploy(deploy)
    }
/// Returns an [`ExecuteRequest`] with standard dependencies.
Returns an [`ExecuteRequest`] with standard dependencies.
Returns an [ ` ExecuteRequest ` ] with standard dependencies .
pub fn standard(
        account_hash: AccountHash,
        session_file: &str,
        session_args: RuntimeArgs,
    ) -> Self {
        let mut rng = rand::thread_rng();
        let deploy_hash: [u8; 32] = rng.gen();
        let deploy = DeployItemBuilder::new()
            .with_address(account_hash)
            .with_session_code(session_file, session_args)
            .with_empty_payment_bytes(runtime_args! {
                ARG_AMOUNT => *DEFAULT_PAYMENT
            })
            .with_authorization_keys(&[account_hash])
            .with_deploy_hash(deploy_hash)
            .build();
        ExecuteRequestBuilder::new().push_deploy(deploy)
    }
pub fn standard ( account_hash : AccountHash , session_file : & str , session_args : RuntimeArgs , ) -> Self { let mut rng = rand :: thread_rng ( ) ; let deploy_hash : [ u8 ; 32 ] = rng . gen ( ) ; let deploy = DeployItemBuilder :: new ( ) . with_address ( account_hash ) . with_session_code ( session_file , session_args ) . with_empty_payment_bytes ( runtime_args ! { ARG_AMOUNT DEFAULT_PAYMENT } ) . with_authorization_keys ( & [ account_hash ] ) . with_deploy_hash ( deploy_hash ) . build ( ) ; ExecuteRequestBuilder :: new ( ) . push_deploy ( deploy ) }
Returns an [`ExecuteRequest`] with standard dependencies.
Returns an [ ` ExecuteRequest ` ] with standard dependencies .
account_hash
AccountHash
session_file
&str
session_args
RuntimeArgs
account_hash
AccountHash
session_file
&str
session_args
RuntimeArgs