pallet_evm_tracker

Module create_contract

Source
Expand description

Contract creation allow list implementations

Structs§

  • Reject contract creation, unless the account is in the current evm contract allow list.

Functions§

  • Returns true if the call is a contract creation call.
  • 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.
  • 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.