pub fn is_create_unsigned_contract_allowed<Runtime>(
call: &RuntimeCallFor<Runtime>,
) -> boolwhere
Runtime: Config + Config + Config + Config,
RuntimeCallFor<Runtime>: MaybeIntoEthCall<Runtime> + MaybeIntoEvmCall<Runtime> + MaybeNestedCall<Runtime>,
Result<RawOrigin, OriginFor<Runtime>>: From<OriginFor<Runtime>>,
Expand description
If anyone is allowed to create contracts, allows contracts. Otherwise, rejects contracts. Returns false if the call is a contract call, and there is a specific (possibly empty) allow list. Otherwise, returns true.