Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnabledStatefulContracts = map[common.Address]bool{ prototype.ContractAddress: true, staking.ContractAddress: true, bank.ContractAddress: true, }
EnabledStatefulContracts contains the list of all enabled stateful precompiles. This is useful for listing and reading from other packages, such as BlockedAddrs() function. Setting to false a contract here will disable it, not being included in the blockchain.
Functions ¶
func StatefulContracts ¶
func StatefulContracts( fungibleKeeper *fungiblekeeper.Keeper, stakingKeeper *stakingkeeper.Keeper, bankKeeper bankkeeper.Keeper, distributionKeeper distrkeeper.Keeper, cdc codec.Codec, gasConfig storetypes.GasConfig, ) (precompiledContracts []evmkeeper.CustomContractFn)
StatefulContracts returns all the registered precompiled contracts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.