Documentation
¶
Index ¶
- func GetContractVerify(address common.Address) bool
- func GetContract_Method_ListValidator() string
- func GetContract_Method_RewardDeposit() string
- func GetContracts() []string
- func GetStakingContract_ABI() abi.ABI
- func GetStakingContract_Address() common.Address
- func GetStakingContract_Address_String() string
- func IsStakingContract() error
- func UpgradeBuildInSystemContract(config *params.ChainConfig, blockNumber *big.Int, statedb *state.StateDB) error
- type Contract
- type Contracts
- type Deposit
- type Method
- type Upgrade
- type UpgradeConfig
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContractVerify ¶
func GetContract_Method_ListValidator ¶
func GetContract_Method_ListValidator() string
Validators method
func GetContract_Method_RewardDeposit ¶
func GetContract_Method_RewardDeposit() string
Deposit method
func GetContracts ¶
func GetContracts() []string
func GetStakingContract_ABI ¶
func GetStakingContract_Address_String ¶
func GetStakingContract_Address_String() string
func IsStakingContract ¶
func IsStakingContract() error
Types ¶
type Contract ¶
type Contract struct {
ContractAddress common.Address `json:"ContractAddress"`
ABI string `json:"ABI"`
BIN string `json:"BIN"`
Methods *Method `json:"Methods"`
}
func GetContract_Data ¶
type Upgrade ¶
type Upgrade struct {
UpgradeName string
Configs []*UpgradeConfig
}
type UpgradeConfig ¶
Click to show internal directories.
Click to hide internal directories.