[−][src]Function substrate_subxt::contracts::put_code
pub fn put_code(gas_limit: Gas, code: Vec<u8>) -> Call<PutCodeArgs>
Stores the given binary Wasm code into the chain's storage and returns
its codehash.
You can instantiate contracts only with stored code.