pub fn instantiate<T: Config>(
value: BalanceOf<T>,
gas_limit: Weight,
storage_deposit_limit: BalanceOf<T>,
code_hash: H256,
data: Vec<u8>,
salt: Option<[u8; 32]>,
)
Expand description
Instantiates a contract from a previously deployed vm binary.
This function is identical to [Self::instantiate_with_code
] but without the
code deployment step. Instead, the code_hash
of an on-chain deployed vm binary
must be supplied.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::instantiate
.