Function gstd::prog::create_program
source ยท pub fn create_program<E: Encode>(
code_id: CodeId,
salt: impl AsRef<[u8]>,
payload: E,
value: u128,
) -> Result<(MessageId, ActorId)>
Expand description
Same as create_program_bytes
, but allows
initialize program with the encodable payload.