Trait pallet_ovm::Config [−][src]
pub trait Config: Config { type MaxDepth: Get<u32>; type DisputePeriod: Get<Self::BlockNumber>; type DeterminePredicateAddress: PredicateAddressFor<<Self as Config>::Hash, Self::AccountId>; type HashingL2: Hash<Output = Self::Hash>; type ExternalCall: Ext<Self> + NewCallContext<Self>; type AtomicPredicateIdConfig: Get<AtomicPredicateIdConfig<Self::AccountId, Self::Hash>>; type Event: From<Event<Self>> + Into<<Self as Config>::Event>; }
Associated Types
type DisputePeriod: Get<Self::BlockNumber>
type DisputePeriod: Get<Self::BlockNumber>
During the dispute period defined here, the user can challenge. If nothing is found, the state is determined after the dispute period.
type DeterminePredicateAddress: PredicateAddressFor<<Self as Config>::Hash, Self::AccountId>
type DeterminePredicateAddress: PredicateAddressFor<<Self as Config>::Hash, Self::AccountId>
A function type to get the contract address given the instantiator.
The hashing system (algorithm) being used in the runtime (e.g. Keccak256).
type ExternalCall: Ext<Self> + NewCallContext<Self>
type ExternalCall: Ext<Self> + NewCallContext<Self>
ExternalCall context.
type AtomicPredicateIdConfig: Get<AtomicPredicateIdConfig<Self::AccountId, Self::Hash>>