precompiles

package
v0.0.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Initialized = false
View Source
var PrecompileNamesToInfo = map[string]PrecompileInfo{}

PrecompileNamesToInfo is Populated by InitializePrecompiles

View Source
var SetupMtx = &sync.Mutex{}

Functions

func InitializePrecompiles

func InitializePrecompiles(
	dryRun bool,
	evmKeeper common.EVMKeeper,
	bankKeeper common.BankKeeper,
	wasmdKeeper common.WasmdKeeper,
	wasmdViewKeeper common.WasmdViewKeeper,
	stakingKeeper common.StakingKeeper,
	govKeeper common.GovKeeper,
	distrKeeper common.DistributionKeeper,
	oracleKeeper common.OracleKeeper,
	transferKeeper common.TransferKeeper,
	clientKeeper common.ClientKeeper,
	connectionKeeper common.ConnectionKeeper,
	channelKeeper common.ChannelKeeper,
) error

Types

type IPrecompile

type IPrecompile interface {
	vm.PrecompiledContract
	GetABI() abi.ABI
	GetName() string
	Address() ecommon.Address
}

type PrecompileInfo

type PrecompileInfo struct {
	ABI     abi.ABI
	Address ecommon.Address
}

func GetPrecompileInfo

func GetPrecompileInfo(name string) PrecompileInfo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL