vm

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RestrictingContractAddr    = common.HexToAddress("0x1000000000000000000000000000000000000001") // The PhoenixChain Precompiled contract addr for restricting
	StakingContractAddr        = common.HexToAddress("0x1000000000000000000000000000000000000002") // The PhoenixChain Precompiled contract addr for staking
	RewardManagerPoolAddr      = common.HexToAddress("0x1000000000000000000000000000000000000003") // The PhoenixChain Precompiled contract addr for reward
	SlashingContractAddr       = common.HexToAddress("0x1000000000000000000000000000000000000004") // The PhoenixChain Precompiled contract addr for slashing
	GovContractAddr            = common.HexToAddress("0x1000000000000000000000000000000000000005") // The PhoenixChain Precompiled contract addr for governance
	DelegateRewardPoolAddr     = common.HexToAddress("0x1000000000000000000000000000000000000006") // The PhoenixChain Precompiled contract addr for delegate reward
	ValidatorInnerContractAddr = common.HexToAddress("0x2000000000000000000000000000000000000000") // The PhoenixChain Precompiled contract addr for pbft inner
)

the inner contract addr table

Functions

This section is empty.

Types

type PrecompiledContractCheck

type PrecompiledContractCheck interface {
	IsPhoenixChainPrecompiledContract(address common.Address) bool
}
var PrecompiledContractCheckInstance PrecompiledContractCheck

Jump to

Keyboard shortcuts

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