validator

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinCandidateCap = "10000000000000000000000000"
	MinVoterCap     = "25000000000000000000000"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	*contract.XDCValidatorSession
	// contains filtered or unexported fields
}

func DeployValidator

func DeployValidator(transactOpts *bind.TransactOpts, contractBackend bind.ContractBackend, validatorAddress []common.Address, caps []*big.Int, ownerAddress common.Address, grandMasterAddress []common.Address, minCandidateThreshold int64) (common.Address, *Validator, error)

func NewValidator

func NewValidator(transactOpts *bind.TransactOpts, contractAddr common.Address, contractBackend bind.ContractBackend) (*Validator, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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