Function create_polkavm

Source
pub fn create_polkavm<T: Config>(code: Vec<u8>, salt: H256)
Expand description

Deploy a new PolkaVM contract into the Frontier state.

A PolkaVM contract is simply a contract in the Frontier state prefixed by 0xef polkavm. EIP-3541 ensures that no EVM contract starts with the prefix.

ยงWarning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::create_polkavm.