Function gstd::prog::create_program_for_reply
source · pub fn create_program_for_reply<E: Encode>(
code_id: CodeId,
salt: impl AsRef<[u8]>,
payload: E,
value: u128,
reply_deposit: u64,
) -> Result<CreateProgramFuture>
Expand description
Same as create_program
, but the program
will interrupt until the reply is received.
Argument reply_deposit: u64
used to provide gas for
future reply handling (skipped if zero).