Function is_create_contract_allowed

Source
pub fn is_create_contract_allowed<Runtime>(
    call: &RuntimeCallFor<Runtime>,
    signer: &EthereumAccountId,
) -> bool
where Runtime: Config<AccountId = EthereumAccountId> + Config + Config + Config, RuntimeCallFor<Runtime>: MaybeIntoEthCall<Runtime> + MaybeIntoEvmCall<Runtime> + MaybeNestedCall<Runtime>, Result<RawOrigin, OriginFor<Runtime>>: From<OriginFor<Runtime>>,
Expand description

Rejects contracts that can’t be created under the current allow list. Returns false if the call is a contract call, and the account is not allowed to call it. Otherwise, returns true.