systemSmartContracts

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthDcdt        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDcdt          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDcdt = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDelegation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDelegation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDelegation = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGovernance        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGovernance          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGovernance = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthStaking        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStaking          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStaking = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthValidator        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowValidator          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupValidator = fmt.Errorf("proto: unexpected end of group")
)
View Source
var VoteValueType_name = map[int32]string{
	0: "Yes",
	1: "No",
	2: "Veto",
	3: "Abstain",
}
View Source
var VoteValueType_value = map[string]int32{
	"Yes":     0,
	"No":      1,
	"Veto":    2,
	"Abstain": 3,
}

Functions

func CheckIfNil

func CheckIfNil(args *vmcommon.ContractCallInput) error

CheckIfNil verifies if contract call input is not nil

func NewDCDTSmartContract

func NewDCDTSmartContract(args ArgsNewDCDTSmartContract) (*dcdt, error)

NewDCDTSmartContract creates the dcdt smart contract, which controls the issuing of tokens

func NewDelegationManagerSystemSC

func NewDelegationManagerSystemSC(args ArgsNewDelegationManager) (*delegationManager, error)

NewDelegationManagerSystemSC creates a new delegation manager system SC

func NewDelegationSystemSC

func NewDelegationSystemSC(args ArgsNewDelegation) (*delegation, error)

NewDelegationSystemSC creates a new delegation system SC

func NewGovernanceContract

func NewGovernanceContract(args ArgsNewGovernanceContract) (*governanceContract, error)

NewGovernanceContract creates a new governance smart contract

func NewStakingSmartContract

func NewStakingSmartContract(
	args ArgsNewStakingSmartContract,
) (*stakingSC, error)

NewStakingSmartContract creates a staking smart contract

func NewVMContext

func NewVMContext(args VMContextArgs) (*vmContext, error)

NewVMContext creates a context where smart contracts can run and write

func NewValidatorSmartContract

func NewValidatorSmartContract(
	args ArgsValidatorSmartContract,
) (*validatorSC, error)

NewValidatorSmartContract creates an validator smart contract

Types

type ArgsNewDCDTSmartContract

type ArgsNewDCDTSmartContract struct {
	Eei                    vm.SystemEI
	GasCost                vm.GasCost
	DCDTSCConfig           config.DCDTSystemSCConfig
	DCDTSCAddress          []byte
	Marshalizer            marshal.Marshalizer
	Hasher                 hashing.Hasher
	EndOfEpochSCAddress    []byte
	AddressPubKeyConverter core.PubkeyConverter
	EnableEpochsHandler    common.EnableEpochsHandler
}

ArgsNewDCDTSmartContract defines the arguments needed for the dcdt contract

type ArgsNewDelegation

type ArgsNewDelegation struct {
	DelegationSCConfig     config.DelegationSystemSCConfig
	StakingSCConfig        config.StakingSystemSCConfig
	Eei                    vm.SystemEI
	SigVerifier            vm.MessageSignVerifier
	DelegationMgrSCAddress []byte
	StakingSCAddress       []byte
	ValidatorSCAddress     []byte
	EndOfEpochAddress      []byte
	GovernanceSCAddress    []byte
	AddTokensAddress       []byte
	GasCost                vm.GasCost
	Marshalizer            marshal.Marshalizer
	EnableEpochsHandler    common.EnableEpochsHandler
}

ArgsNewDelegation defines the arguments to create the delegation smart contract

type ArgsNewDelegationManager

type ArgsNewDelegationManager struct {
	DelegationMgrSCConfig  config.DelegationManagerSystemSCConfig
	DelegationSCConfig     config.DelegationSystemSCConfig
	Eei                    vm.SystemEI
	DelegationMgrSCAddress []byte
	StakingSCAddress       []byte
	ValidatorSCAddress     []byte
	ConfigChangeAddress    []byte
	GasCost                vm.GasCost
	Marshalizer            marshal.Marshalizer
	EnableEpochsHandler    common.EnableEpochsHandler
}

ArgsNewDelegationManager defines the arguments to create the delegation manager system smart contract

type ArgsNewGovernanceContract

type ArgsNewGovernanceContract struct {
	Eei                    vm.SystemEI
	GasCost                vm.GasCost
	GovernanceConfig       config.GovernanceSystemSCConfig
	Marshalizer            marshal.Marshalizer
	Hasher                 hashing.Hasher
	GovernanceSCAddress    []byte
	DelegationMgrSCAddress []byte
	ValidatorSCAddress     []byte
	OwnerAddress           []byte
	UnBondPeriodInEpochs   uint32
	EnableEpochsHandler    common.EnableEpochsHandler
}

ArgsNewGovernanceContract defines the arguments needed for the on-chain governance contract

type ArgsNewStakingSmartContract

type ArgsNewStakingSmartContract struct {
	StakingSCConfig      config.StakingSystemSCConfig
	MinNumNodes          uint64
	Eei                  vm.SystemEI
	StakingAccessAddr    []byte
	JailAccessAddr       []byte
	EndOfEpochAccessAddr []byte
	GasCost              vm.GasCost
	Marshalizer          marshal.Marshalizer
	EnableEpochsHandler  common.EnableEpochsHandler
}

ArgsNewStakingSmartContract holds the arguments needed to create a StakingSmartContract

type ArgsValidatorSmartContract

type ArgsValidatorSmartContract struct {
	StakingSCConfig        config.StakingSystemSCConfig
	GenesisTotalSupply     *big.Int
	Eei                    vm.SystemEI
	SigVerifier            vm.MessageSignVerifier
	StakingSCAddress       []byte
	ValidatorSCAddress     []byte
	GasCost                vm.GasCost
	Marshalizer            marshal.Marshalizer
	EndOfEpochAddress      []byte
	MinDeposit             string
	DelegationMgrSCAddress []byte
	GovernanceSCAddress    []byte
	ShardCoordinator       sharding.Coordinator
	EnableEpochsHandler    common.EnableEpochsHandler
	NodesCoordinator       vm.NodesCoordinator
}

ArgsValidatorSmartContract is the arguments structure to create a new ValidatorSmartContract

type DCDTConfig

type DCDTConfig struct {
	OwnerAddress       []byte        `protobuf:"bytes,1,opt,name=OwnerAddress,proto3" json:"OwnerAddress"`
	BaseIssuingCost    *math_big.Int `` /* 155-byte string literal not displayed */
	MinTokenNameLength uint32        `protobuf:"varint,3,opt,name=MinTokenNameLength,proto3" json:"MinTokenNameLength"`
	MaxTokenNameLength uint32        `protobuf:"varint,4,opt,name=MaxTokenNameLength,proto3" json:"MaxTokenNameLength"`
}

func (*DCDTConfig) Descriptor

func (*DCDTConfig) Descriptor() ([]byte, []int)

func (*DCDTConfig) Equal

func (this *DCDTConfig) Equal(that interface{}) bool

func (*DCDTConfig) GetBaseIssuingCost

func (m *DCDTConfig) GetBaseIssuingCost() *math_big.Int

func (*DCDTConfig) GetMaxTokenNameLength

func (m *DCDTConfig) GetMaxTokenNameLength() uint32

func (*DCDTConfig) GetMinTokenNameLength

func (m *DCDTConfig) GetMinTokenNameLength() uint32

func (*DCDTConfig) GetOwnerAddress

func (m *DCDTConfig) GetOwnerAddress() []byte

func (*DCDTConfig) GoString

func (this *DCDTConfig) GoString() string

func (*DCDTConfig) Marshal

func (m *DCDTConfig) Marshal() (dAtA []byte, err error)

func (*DCDTConfig) MarshalTo

func (m *DCDTConfig) MarshalTo(dAtA []byte) (int, error)

func (*DCDTConfig) MarshalToSizedBuffer

func (m *DCDTConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DCDTConfig) ProtoMessage

func (*DCDTConfig) ProtoMessage()

func (*DCDTConfig) Reset

func (m *DCDTConfig) Reset()

func (*DCDTConfig) Size

func (m *DCDTConfig) Size() (n int)

func (*DCDTConfig) String

func (this *DCDTConfig) String() string

func (*DCDTConfig) Unmarshal

func (m *DCDTConfig) Unmarshal(dAtA []byte) error

func (*DCDTConfig) XXX_DiscardUnknown

func (m *DCDTConfig) XXX_DiscardUnknown()

func (*DCDTConfig) XXX_Marshal

func (m *DCDTConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DCDTConfig) XXX_Merge

func (m *DCDTConfig) XXX_Merge(src proto.Message)

func (*DCDTConfig) XXX_Size

func (m *DCDTConfig) XXX_Size() int

func (*DCDTConfig) XXX_Unmarshal

func (m *DCDTConfig) XXX_Unmarshal(b []byte) error

type DCDTDataV1

type DCDTDataV1 struct {
	OwnerAddress             []byte        `protobuf:"bytes,1,opt,name=OwnerAddress,proto3" json:"OwnerAddress"`
	TokenName                []byte        `protobuf:"bytes,2,opt,name=TokenName,proto3" json:"TokenName"`
	TickerName               []byte        `protobuf:"bytes,3,opt,name=TickerName,proto3" json:"TickerName"`
	TokenType                []byte        `protobuf:"bytes,4,opt,name=TokenType,proto3" json:"TokenType"`
	Mintable                 bool          `protobuf:"varint,5,opt,name=Mintable,proto3" json:"Mintable"`
	Burnable                 bool          `protobuf:"varint,6,opt,name=Burnable,proto3" json:"Burnable"`
	CanPause                 bool          `protobuf:"varint,7,opt,name=CanPause,proto3" json:"CanPause"`
	CanFreeze                bool          `protobuf:"varint,8,opt,name=CanFreeze,proto3" json:"CanFreeze"`
	CanWipe                  bool          `protobuf:"varint,9,opt,name=CanWipe,proto3" json:"CanWipe"`
	Upgradable               bool          `protobuf:"varint,10,opt,name=Upgradable,proto3" json:"CanUpgrade"`
	CanChangeOwner           bool          `protobuf:"varint,11,opt,name=CanChangeOwner,proto3" json:"CanChangeOwner"`
	IsPaused                 bool          `protobuf:"varint,12,opt,name=IsPaused,proto3" json:"IsPaused"`
	MintedValue              *math_big.Int `` /* 148-byte string literal not displayed */
	BurntValue               *math_big.Int `` /* 146-byte string literal not displayed */
	NumDecimals              uint32        `protobuf:"varint,15,opt,name=NumDecimals,proto3" json:"NumDecimals"`
	CanAddSpecialRoles       bool          `protobuf:"varint,16,opt,name=CanAddSpecialRoles,proto3" json:"CanAddSpecialRoles"`
	NFTCreateStopped         bool          `protobuf:"varint,17,opt,name=NFTCreateStopped,proto3" json:"NFTCreateStopped"`
	CanTransferNFTCreateRole bool          `protobuf:"varint,18,opt,name=CanTransferNFTCreateRole,proto3" json:"CanTransferNFTCreateRole"`
	SpecialRoles             []*DCDTRoles  `protobuf:"bytes,19,rep,name=SpecialRoles,proto3" json:"SpecialRoles"`
	NumWiped                 uint32        `protobuf:"varint,20,opt,name=NumWiped,proto3" json:"NumWiped"`
}

func (*DCDTDataV1) Descriptor

func (*DCDTDataV1) Descriptor() ([]byte, []int)

func (*DCDTDataV1) Equal

func (this *DCDTDataV1) Equal(that interface{}) bool

func (*DCDTDataV1) GetBurnable

func (m *DCDTDataV1) GetBurnable() bool

func (*DCDTDataV1) GetBurntValue

func (m *DCDTDataV1) GetBurntValue() *math_big.Int

func (*DCDTDataV1) GetCanAddSpecialRoles

func (m *DCDTDataV1) GetCanAddSpecialRoles() bool

func (*DCDTDataV1) GetCanChangeOwner

func (m *DCDTDataV1) GetCanChangeOwner() bool

func (*DCDTDataV1) GetCanFreeze

func (m *DCDTDataV1) GetCanFreeze() bool

func (*DCDTDataV1) GetCanPause

func (m *DCDTDataV1) GetCanPause() bool

func (*DCDTDataV1) GetCanTransferNFTCreateRole

func (m *DCDTDataV1) GetCanTransferNFTCreateRole() bool

func (*DCDTDataV1) GetCanWipe

func (m *DCDTDataV1) GetCanWipe() bool

func (*DCDTDataV1) GetIsPaused

func (m *DCDTDataV1) GetIsPaused() bool

func (*DCDTDataV1) GetMintable

func (m *DCDTDataV1) GetMintable() bool

func (*DCDTDataV1) GetMintedValue

func (m *DCDTDataV1) GetMintedValue() *math_big.Int

func (*DCDTDataV1) GetNFTCreateStopped

func (m *DCDTDataV1) GetNFTCreateStopped() bool

func (*DCDTDataV1) GetNumDecimals

func (m *DCDTDataV1) GetNumDecimals() uint32

func (*DCDTDataV1) GetNumWiped

func (m *DCDTDataV1) GetNumWiped() uint32

func (*DCDTDataV1) GetOwnerAddress

func (m *DCDTDataV1) GetOwnerAddress() []byte

func (*DCDTDataV1) GetSpecialRoles

func (m *DCDTDataV1) GetSpecialRoles() []*DCDTRoles

func (*DCDTDataV1) GetTickerName

func (m *DCDTDataV1) GetTickerName() []byte

func (*DCDTDataV1) GetTokenName

func (m *DCDTDataV1) GetTokenName() []byte

func (*DCDTDataV1) GetTokenType

func (m *DCDTDataV1) GetTokenType() []byte

func (*DCDTDataV1) GetUpgradable

func (m *DCDTDataV1) GetUpgradable() bool

func (*DCDTDataV1) GoString

func (this *DCDTDataV1) GoString() string

func (*DCDTDataV1) Marshal

func (m *DCDTDataV1) Marshal() (dAtA []byte, err error)

func (*DCDTDataV1) MarshalTo

func (m *DCDTDataV1) MarshalTo(dAtA []byte) (int, error)

func (*DCDTDataV1) MarshalToSizedBuffer

func (m *DCDTDataV1) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DCDTDataV1) ProtoMessage

func (*DCDTDataV1) ProtoMessage()

func (*DCDTDataV1) Reset

func (m *DCDTDataV1) Reset()

func (*DCDTDataV1) Size

func (m *DCDTDataV1) Size() (n int)

func (*DCDTDataV1) String

func (this *DCDTDataV1) String() string

func (*DCDTDataV1) Unmarshal

func (m *DCDTDataV1) Unmarshal(dAtA []byte) error

func (*DCDTDataV1) XXX_DiscardUnknown

func (m *DCDTDataV1) XXX_DiscardUnknown()

func (*DCDTDataV1) XXX_Marshal

func (m *DCDTDataV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DCDTDataV1) XXX_Merge

func (m *DCDTDataV1) XXX_Merge(src proto.Message)

func (*DCDTDataV1) XXX_Size

func (m *DCDTDataV1) XXX_Size() int

func (*DCDTDataV1) XXX_Unmarshal

func (m *DCDTDataV1) XXX_Unmarshal(b []byte) error

type DCDTDataV2

type DCDTDataV2 struct {
	OwnerAddress             []byte        `protobuf:"bytes,1,opt,name=OwnerAddress,proto3" json:"OwnerAddress"`
	TokenName                []byte        `protobuf:"bytes,2,opt,name=TokenName,proto3" json:"TokenName"`
	TickerName               []byte        `protobuf:"bytes,3,opt,name=TickerName,proto3" json:"TickerName"`
	TokenType                []byte        `protobuf:"bytes,4,opt,name=TokenType,proto3" json:"TokenType"`
	Mintable                 bool          `protobuf:"varint,5,opt,name=Mintable,proto3" json:"Mintable"`
	Burnable                 bool          `protobuf:"varint,6,opt,name=Burnable,proto3" json:"Burnable"`
	CanPause                 bool          `protobuf:"varint,7,opt,name=CanPause,proto3" json:"CanPause"`
	CanFreeze                bool          `protobuf:"varint,8,opt,name=CanFreeze,proto3" json:"CanFreeze"`
	CanWipe                  bool          `protobuf:"varint,9,opt,name=CanWipe,proto3" json:"CanWipe"`
	Upgradable               bool          `protobuf:"varint,10,opt,name=Upgradable,proto3" json:"CanUpgrade"`
	CanChangeOwner           bool          `protobuf:"varint,11,opt,name=CanChangeOwner,proto3" json:"CanChangeOwner"`
	IsPaused                 bool          `protobuf:"varint,12,opt,name=IsPaused,proto3" json:"IsPaused"`
	MintedValue              *math_big.Int `` /* 148-byte string literal not displayed */
	BurntValue               *math_big.Int `` /* 146-byte string literal not displayed */
	NumDecimals              uint32        `protobuf:"varint,15,opt,name=NumDecimals,proto3" json:"NumDecimals"`
	CanAddSpecialRoles       bool          `protobuf:"varint,16,opt,name=CanAddSpecialRoles,proto3" json:"CanAddSpecialRoles"`
	NFTCreateStopped         bool          `protobuf:"varint,17,opt,name=NFTCreateStopped,proto3" json:"NFTCreateStopped"`
	CanTransferNFTCreateRole bool          `protobuf:"varint,18,opt,name=CanTransferNFTCreateRole,proto3" json:"CanTransferNFTCreateRole"`
	SpecialRoles             []*DCDTRoles  `protobuf:"bytes,19,rep,name=SpecialRoles,proto3" json:"SpecialRoles"`
	NumWiped                 uint32        `protobuf:"varint,20,opt,name=NumWiped,proto3" json:"NumWiped"`
	CanCreateMultiShard      bool          `protobuf:"varint,21,opt,name=CanCreateMultiShard,proto3" json:"CanCreateMultiShard"`
}

func (*DCDTDataV2) Descriptor

func (*DCDTDataV2) Descriptor() ([]byte, []int)

func (*DCDTDataV2) Equal

func (this *DCDTDataV2) Equal(that interface{}) bool

func (*DCDTDataV2) GetBurnable

func (m *DCDTDataV2) GetBurnable() bool

func (*DCDTDataV2) GetBurntValue

func (m *DCDTDataV2) GetBurntValue() *math_big.Int

func (*DCDTDataV2) GetCanAddSpecialRoles

func (m *DCDTDataV2) GetCanAddSpecialRoles() bool

func (*DCDTDataV2) GetCanChangeOwner

func (m *DCDTDataV2) GetCanChangeOwner() bool

func (*DCDTDataV2) GetCanCreateMultiShard

func (m *DCDTDataV2) GetCanCreateMultiShard() bool

func (*DCDTDataV2) GetCanFreeze

func (m *DCDTDataV2) GetCanFreeze() bool

func (*DCDTDataV2) GetCanPause

func (m *DCDTDataV2) GetCanPause() bool

func (*DCDTDataV2) GetCanTransferNFTCreateRole

func (m *DCDTDataV2) GetCanTransferNFTCreateRole() bool

func (*DCDTDataV2) GetCanWipe

func (m *DCDTDataV2) GetCanWipe() bool

func (*DCDTDataV2) GetIsPaused

func (m *DCDTDataV2) GetIsPaused() bool

func (*DCDTDataV2) GetMintable

func (m *DCDTDataV2) GetMintable() bool

func (*DCDTDataV2) GetMintedValue

func (m *DCDTDataV2) GetMintedValue() *math_big.Int

func (*DCDTDataV2) GetNFTCreateStopped

func (m *DCDTDataV2) GetNFTCreateStopped() bool

func (*DCDTDataV2) GetNumDecimals

func (m *DCDTDataV2) GetNumDecimals() uint32

func (*DCDTDataV2) GetNumWiped

func (m *DCDTDataV2) GetNumWiped() uint32

func (*DCDTDataV2) GetOwnerAddress

func (m *DCDTDataV2) GetOwnerAddress() []byte

func (*DCDTDataV2) GetSpecialRoles

func (m *DCDTDataV2) GetSpecialRoles() []*DCDTRoles

func (*DCDTDataV2) GetTickerName

func (m *DCDTDataV2) GetTickerName() []byte

func (*DCDTDataV2) GetTokenName

func (m *DCDTDataV2) GetTokenName() []byte

func (*DCDTDataV2) GetTokenType

func (m *DCDTDataV2) GetTokenType() []byte

func (*DCDTDataV2) GetUpgradable

func (m *DCDTDataV2) GetUpgradable() bool

func (*DCDTDataV2) GoString

func (this *DCDTDataV2) GoString() string

func (*DCDTDataV2) Marshal

func (m *DCDTDataV2) Marshal() (dAtA []byte, err error)

func (*DCDTDataV2) MarshalTo

func (m *DCDTDataV2) MarshalTo(dAtA []byte) (int, error)

func (*DCDTDataV2) MarshalToSizedBuffer

func (m *DCDTDataV2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DCDTDataV2) ProtoMessage

func (*DCDTDataV2) ProtoMessage()

func (*DCDTDataV2) Reset

func (m *DCDTDataV2) Reset()

func (*DCDTDataV2) Size

func (m *DCDTDataV2) Size() (n int)

func (*DCDTDataV2) String

func (this *DCDTDataV2) String() string

func (*DCDTDataV2) Unmarshal

func (m *DCDTDataV2) Unmarshal(dAtA []byte) error

func (*DCDTDataV2) XXX_DiscardUnknown

func (m *DCDTDataV2) XXX_DiscardUnknown()

func (*DCDTDataV2) XXX_Marshal

func (m *DCDTDataV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DCDTDataV2) XXX_Merge

func (m *DCDTDataV2) XXX_Merge(src proto.Message)

func (*DCDTDataV2) XXX_Size

func (m *DCDTDataV2) XXX_Size() int

func (*DCDTDataV2) XXX_Unmarshal

func (m *DCDTDataV2) XXX_Unmarshal(b []byte) error

type DCDTRoles

type DCDTRoles struct {
	Address []byte   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address"`
	Roles   [][]byte `protobuf:"bytes,2,rep,name=Roles,proto3" json:"Roles"`
}

func (*DCDTRoles) Descriptor

func (*DCDTRoles) Descriptor() ([]byte, []int)

func (*DCDTRoles) Equal

func (this *DCDTRoles) Equal(that interface{}) bool

func (*DCDTRoles) GetAddress

func (m *DCDTRoles) GetAddress() []byte

func (*DCDTRoles) GetRoles

func (m *DCDTRoles) GetRoles() [][]byte

func (*DCDTRoles) GoString

func (this *DCDTRoles) GoString() string

func (*DCDTRoles) Marshal

func (m *DCDTRoles) Marshal() (dAtA []byte, err error)

func (*DCDTRoles) MarshalTo

func (m *DCDTRoles) MarshalTo(dAtA []byte) (int, error)

func (*DCDTRoles) MarshalToSizedBuffer

func (m *DCDTRoles) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DCDTRoles) ProtoMessage

func (*DCDTRoles) ProtoMessage()

func (*DCDTRoles) Reset

func (m *DCDTRoles) Reset()

func (*DCDTRoles) Size

func (m *DCDTRoles) Size() (n int)

func (*DCDTRoles) String

func (this *DCDTRoles) String() string

func (*DCDTRoles) Unmarshal

func (m *DCDTRoles) Unmarshal(dAtA []byte) error

func (*DCDTRoles) XXX_DiscardUnknown

func (m *DCDTRoles) XXX_DiscardUnknown()

func (*DCDTRoles) XXX_Marshal

func (m *DCDTRoles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DCDTRoles) XXX_Merge

func (m *DCDTRoles) XXX_Merge(src proto.Message)

func (*DCDTRoles) XXX_Size

func (m *DCDTRoles) XXX_Size() int

func (*DCDTRoles) XXX_Unmarshal

func (m *DCDTRoles) XXX_Unmarshal(b []byte) error

type DelegatedSCVoteInfo

type DelegatedSCVoteInfo struct {
	TotalPower *math_big.Int `` /* 145-byte string literal not displayed */
	UsedPower  *math_big.Int `` /* 143-byte string literal not displayed */
	TotalStake *math_big.Int `` /* 145-byte string literal not displayed */
	UsedStake  *math_big.Int `` /* 143-byte string literal not displayed */
}

func (*DelegatedSCVoteInfo) Descriptor

func (*DelegatedSCVoteInfo) Descriptor() ([]byte, []int)

func (*DelegatedSCVoteInfo) Equal

func (this *DelegatedSCVoteInfo) Equal(that interface{}) bool

func (*DelegatedSCVoteInfo) GetTotalPower

func (m *DelegatedSCVoteInfo) GetTotalPower() *math_big.Int

func (*DelegatedSCVoteInfo) GetTotalStake

func (m *DelegatedSCVoteInfo) GetTotalStake() *math_big.Int

func (*DelegatedSCVoteInfo) GetUsedPower

func (m *DelegatedSCVoteInfo) GetUsedPower() *math_big.Int

func (*DelegatedSCVoteInfo) GetUsedStake

func (m *DelegatedSCVoteInfo) GetUsedStake() *math_big.Int

func (*DelegatedSCVoteInfo) GoString

func (this *DelegatedSCVoteInfo) GoString() string

func (*DelegatedSCVoteInfo) Marshal

func (m *DelegatedSCVoteInfo) Marshal() (dAtA []byte, err error)

func (*DelegatedSCVoteInfo) MarshalTo

func (m *DelegatedSCVoteInfo) MarshalTo(dAtA []byte) (int, error)

func (*DelegatedSCVoteInfo) MarshalToSizedBuffer

func (m *DelegatedSCVoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegatedSCVoteInfo) ProtoMessage

func (*DelegatedSCVoteInfo) ProtoMessage()

func (*DelegatedSCVoteInfo) Reset

func (m *DelegatedSCVoteInfo) Reset()

func (*DelegatedSCVoteInfo) Size

func (m *DelegatedSCVoteInfo) Size() (n int)

func (*DelegatedSCVoteInfo) String

func (this *DelegatedSCVoteInfo) String() string

func (*DelegatedSCVoteInfo) Unmarshal

func (m *DelegatedSCVoteInfo) Unmarshal(dAtA []byte) error

func (*DelegatedSCVoteInfo) XXX_DiscardUnknown

func (m *DelegatedSCVoteInfo) XXX_DiscardUnknown()

func (*DelegatedSCVoteInfo) XXX_Marshal

func (m *DelegatedSCVoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegatedSCVoteInfo) XXX_Merge

func (m *DelegatedSCVoteInfo) XXX_Merge(src proto.Message)

func (*DelegatedSCVoteInfo) XXX_Size

func (m *DelegatedSCVoteInfo) XXX_Size() int

func (*DelegatedSCVoteInfo) XXX_Unmarshal

func (m *DelegatedSCVoteInfo) XXX_Unmarshal(b []byte) error

type DelegationConfig

type DelegationConfig struct {
	MaxDelegationCap            *math_big.Int `` /* 157-byte string literal not displayed */
	InitialOwnerFunds           *math_big.Int `` /* 159-byte string literal not displayed */
	AutomaticActivation         bool          `protobuf:"varint,3,opt,name=AutomaticActivation,proto3" json:"AutomaticActivation"`
	ChangeableServiceFee        bool          `protobuf:"varint,4,opt,name=ChangeableServiceFee,proto3" json:"ChangeableServiceFee"`
	CreatedNonce                uint64        `protobuf:"varint,5,opt,name=CreatedNonce,proto3" json:"CreatedNonce"`
	UnBondPeriodInEpochs        uint32        `protobuf:"varint,6,opt,name=UnBondPeriodInEpochs,proto3" json:"UnBondPeriodInEpochs"`
	CheckCapOnReDelegateRewards bool          `protobuf:"varint,7,opt,name=CheckCapOnReDelegateRewards,proto3" json:"CheckCapOnReDelegateRewards"`
}

func (*DelegationConfig) Descriptor

func (*DelegationConfig) Descriptor() ([]byte, []int)

func (*DelegationConfig) Equal

func (this *DelegationConfig) Equal(that interface{}) bool

func (*DelegationConfig) GetAutomaticActivation

func (m *DelegationConfig) GetAutomaticActivation() bool

func (*DelegationConfig) GetChangeableServiceFee

func (m *DelegationConfig) GetChangeableServiceFee() bool

func (*DelegationConfig) GetCheckCapOnReDelegateRewards

func (m *DelegationConfig) GetCheckCapOnReDelegateRewards() bool

func (*DelegationConfig) GetCreatedNonce

func (m *DelegationConfig) GetCreatedNonce() uint64

func (*DelegationConfig) GetInitialOwnerFunds

func (m *DelegationConfig) GetInitialOwnerFunds() *math_big.Int

func (*DelegationConfig) GetMaxDelegationCap

func (m *DelegationConfig) GetMaxDelegationCap() *math_big.Int

func (*DelegationConfig) GetUnBondPeriodInEpochs

func (m *DelegationConfig) GetUnBondPeriodInEpochs() uint32

func (*DelegationConfig) GoString

func (this *DelegationConfig) GoString() string

func (*DelegationConfig) Marshal

func (m *DelegationConfig) Marshal() (dAtA []byte, err error)

func (*DelegationConfig) MarshalTo

func (m *DelegationConfig) MarshalTo(dAtA []byte) (int, error)

func (*DelegationConfig) MarshalToSizedBuffer

func (m *DelegationConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegationConfig) ProtoMessage

func (*DelegationConfig) ProtoMessage()

func (*DelegationConfig) Reset

func (m *DelegationConfig) Reset()

func (*DelegationConfig) Size

func (m *DelegationConfig) Size() (n int)

func (*DelegationConfig) String

func (this *DelegationConfig) String() string

func (*DelegationConfig) Unmarshal

func (m *DelegationConfig) Unmarshal(dAtA []byte) error

func (*DelegationConfig) XXX_DiscardUnknown

func (m *DelegationConfig) XXX_DiscardUnknown()

func (*DelegationConfig) XXX_Marshal

func (m *DelegationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegationConfig) XXX_Merge

func (m *DelegationConfig) XXX_Merge(src proto.Message)

func (*DelegationConfig) XXX_Size

func (m *DelegationConfig) XXX_Size() int

func (*DelegationConfig) XXX_Unmarshal

func (m *DelegationConfig) XXX_Unmarshal(b []byte) error

type DelegationContractList

type DelegationContractList struct {
	Addresses [][]byte `protobuf:"bytes,1,rep,name=Addresses,proto3" json:"Addresses"`
}

func (*DelegationContractList) Descriptor

func (*DelegationContractList) Descriptor() ([]byte, []int)

func (*DelegationContractList) Equal

func (this *DelegationContractList) Equal(that interface{}) bool

func (*DelegationContractList) GetAddresses

func (m *DelegationContractList) GetAddresses() [][]byte

func (*DelegationContractList) GoString

func (this *DelegationContractList) GoString() string

func (*DelegationContractList) Marshal

func (m *DelegationContractList) Marshal() (dAtA []byte, err error)

func (*DelegationContractList) MarshalTo

func (m *DelegationContractList) MarshalTo(dAtA []byte) (int, error)

func (*DelegationContractList) MarshalToSizedBuffer

func (m *DelegationContractList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegationContractList) ProtoMessage

func (*DelegationContractList) ProtoMessage()

func (*DelegationContractList) Reset

func (m *DelegationContractList) Reset()

func (*DelegationContractList) Size

func (m *DelegationContractList) Size() (n int)

func (*DelegationContractList) String

func (this *DelegationContractList) String() string

func (*DelegationContractList) Unmarshal

func (m *DelegationContractList) Unmarshal(dAtA []byte) error

func (*DelegationContractList) XXX_DiscardUnknown

func (m *DelegationContractList) XXX_DiscardUnknown()

func (*DelegationContractList) XXX_Marshal

func (m *DelegationContractList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegationContractList) XXX_Merge

func (m *DelegationContractList) XXX_Merge(src proto.Message)

func (*DelegationContractList) XXX_Size

func (m *DelegationContractList) XXX_Size() int

func (*DelegationContractList) XXX_Unmarshal

func (m *DelegationContractList) XXX_Unmarshal(b []byte) error

type DelegationContractStatus

type DelegationContractStatus struct {
	StakedKeys    []*NodesData `protobuf:"bytes,1,rep,name=StakedKeys,proto3" json:"StakedKeys"`
	NotStakedKeys []*NodesData `protobuf:"bytes,2,rep,name=NotStakedKeys,proto3" json:"NotStakedKeys"`
	UnStakedKeys  []*NodesData `protobuf:"bytes,3,rep,name=UnStakedKeys,proto3" json:"UnStakedKeys"`
	NumUsers      uint64       `protobuf:"varint,4,opt,name=NumUsers,proto3" json:"NumUsers"`
}

func (*DelegationContractStatus) Descriptor

func (*DelegationContractStatus) Descriptor() ([]byte, []int)

func (*DelegationContractStatus) Equal

func (this *DelegationContractStatus) Equal(that interface{}) bool

func (*DelegationContractStatus) GetNotStakedKeys

func (m *DelegationContractStatus) GetNotStakedKeys() []*NodesData

func (*DelegationContractStatus) GetNumUsers

func (m *DelegationContractStatus) GetNumUsers() uint64

func (*DelegationContractStatus) GetStakedKeys

func (m *DelegationContractStatus) GetStakedKeys() []*NodesData

func (*DelegationContractStatus) GetUnStakedKeys

func (m *DelegationContractStatus) GetUnStakedKeys() []*NodesData

func (*DelegationContractStatus) GoString

func (this *DelegationContractStatus) GoString() string

func (*DelegationContractStatus) Marshal

func (m *DelegationContractStatus) Marshal() (dAtA []byte, err error)

func (*DelegationContractStatus) MarshalTo

func (m *DelegationContractStatus) MarshalTo(dAtA []byte) (int, error)

func (*DelegationContractStatus) MarshalToSizedBuffer

func (m *DelegationContractStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegationContractStatus) ProtoMessage

func (*DelegationContractStatus) ProtoMessage()

func (*DelegationContractStatus) Reset

func (m *DelegationContractStatus) Reset()

func (*DelegationContractStatus) Size

func (m *DelegationContractStatus) Size() (n int)

func (*DelegationContractStatus) String

func (this *DelegationContractStatus) String() string

func (*DelegationContractStatus) Unmarshal

func (m *DelegationContractStatus) Unmarshal(dAtA []byte) error

func (*DelegationContractStatus) XXX_DiscardUnknown

func (m *DelegationContractStatus) XXX_DiscardUnknown()

func (*DelegationContractStatus) XXX_Marshal

func (m *DelegationContractStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegationContractStatus) XXX_Merge

func (m *DelegationContractStatus) XXX_Merge(src proto.Message)

func (*DelegationContractStatus) XXX_Size

func (m *DelegationContractStatus) XXX_Size() int

func (*DelegationContractStatus) XXX_Unmarshal

func (m *DelegationContractStatus) XXX_Unmarshal(b []byte) error

type DelegationManagement

type DelegationManagement struct {
	NumOfContracts      uint32        `protobuf:"varint,1,opt,name=NumOfContracts,proto3" json:"NumOfContracts"`
	LastAddress         []byte        `protobuf:"bytes,2,opt,name=LastAddress,proto3" json:"LastAddress"`
	MinServiceFee       uint64        `protobuf:"varint,3,opt,name=MinServiceFee,proto3" json:"MinServiceFee"`
	MaxServiceFee       uint64        `protobuf:"varint,4,opt,name=MaxServiceFee,proto3" json:"MaxServiceFee"`
	MinDeposit          *math_big.Int `` /* 145-byte string literal not displayed */
	MinDelegationAmount *math_big.Int `` /* 163-byte string literal not displayed */
}

func (*DelegationManagement) Descriptor

func (*DelegationManagement) Descriptor() ([]byte, []int)

func (*DelegationManagement) Equal

func (this *DelegationManagement) Equal(that interface{}) bool

func (*DelegationManagement) GetLastAddress

func (m *DelegationManagement) GetLastAddress() []byte

func (*DelegationManagement) GetMaxServiceFee

func (m *DelegationManagement) GetMaxServiceFee() uint64

func (*DelegationManagement) GetMinDelegationAmount

func (m *DelegationManagement) GetMinDelegationAmount() *math_big.Int

func (*DelegationManagement) GetMinDeposit

func (m *DelegationManagement) GetMinDeposit() *math_big.Int

func (*DelegationManagement) GetMinServiceFee

func (m *DelegationManagement) GetMinServiceFee() uint64

func (*DelegationManagement) GetNumOfContracts

func (m *DelegationManagement) GetNumOfContracts() uint32

func (*DelegationManagement) GoString

func (this *DelegationManagement) GoString() string

func (*DelegationManagement) Marshal

func (m *DelegationManagement) Marshal() (dAtA []byte, err error)

func (*DelegationManagement) MarshalTo

func (m *DelegationManagement) MarshalTo(dAtA []byte) (int, error)

func (*DelegationManagement) MarshalToSizedBuffer

func (m *DelegationManagement) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegationManagement) ProtoMessage

func (*DelegationManagement) ProtoMessage()

func (*DelegationManagement) Reset

func (m *DelegationManagement) Reset()

func (*DelegationManagement) Size

func (m *DelegationManagement) Size() (n int)

func (*DelegationManagement) String

func (this *DelegationManagement) String() string

func (*DelegationManagement) Unmarshal

func (m *DelegationManagement) Unmarshal(dAtA []byte) error

func (*DelegationManagement) XXX_DiscardUnknown

func (m *DelegationManagement) XXX_DiscardUnknown()

func (*DelegationManagement) XXX_Marshal

func (m *DelegationManagement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegationManagement) XXX_Merge

func (m *DelegationManagement) XXX_Merge(src proto.Message)

func (*DelegationManagement) XXX_Size

func (m *DelegationManagement) XXX_Size() int

func (*DelegationManagement) XXX_Unmarshal

func (m *DelegationManagement) XXX_Unmarshal(b []byte) error

type DelegationMetaData

type DelegationMetaData struct {
	Name       []byte `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name"`
	Website    []byte `protobuf:"bytes,2,opt,name=Website,proto3" json:"Website"`
	Identifier []byte `protobuf:"bytes,3,opt,name=Identifier,proto3" json:"Identifier"`
}

func (*DelegationMetaData) Descriptor

func (*DelegationMetaData) Descriptor() ([]byte, []int)

func (*DelegationMetaData) Equal

func (this *DelegationMetaData) Equal(that interface{}) bool

func (*DelegationMetaData) GetIdentifier

func (m *DelegationMetaData) GetIdentifier() []byte

func (*DelegationMetaData) GetName

func (m *DelegationMetaData) GetName() []byte

func (*DelegationMetaData) GetWebsite

func (m *DelegationMetaData) GetWebsite() []byte

func (*DelegationMetaData) GoString

func (this *DelegationMetaData) GoString() string

func (*DelegationMetaData) Marshal

func (m *DelegationMetaData) Marshal() (dAtA []byte, err error)

func (*DelegationMetaData) MarshalTo

func (m *DelegationMetaData) MarshalTo(dAtA []byte) (int, error)

func (*DelegationMetaData) MarshalToSizedBuffer

func (m *DelegationMetaData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegationMetaData) ProtoMessage

func (*DelegationMetaData) ProtoMessage()

func (*DelegationMetaData) Reset

func (m *DelegationMetaData) Reset()

func (*DelegationMetaData) Size

func (m *DelegationMetaData) Size() (n int)

func (*DelegationMetaData) String

func (this *DelegationMetaData) String() string

func (*DelegationMetaData) Unmarshal

func (m *DelegationMetaData) Unmarshal(dAtA []byte) error

func (*DelegationMetaData) XXX_DiscardUnknown

func (m *DelegationMetaData) XXX_DiscardUnknown()

func (*DelegationMetaData) XXX_Marshal

func (m *DelegationMetaData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegationMetaData) XXX_Merge

func (m *DelegationMetaData) XXX_Merge(src proto.Message)

func (*DelegationMetaData) XXX_Size

func (m *DelegationMetaData) XXX_Size() int

func (*DelegationMetaData) XXX_Unmarshal

func (m *DelegationMetaData) XXX_Unmarshal(b []byte) error

type DelegatorData

type DelegatorData struct {
	ActiveFund            []byte        `protobuf:"bytes,1,opt,name=ActiveFund,proto3" json:"ActiveFund"`
	UnStakedFunds         [][]byte      `protobuf:"bytes,2,rep,name=UnStakedFunds,proto3" json:"UnStakedFunds"`
	RewardsCheckpoint     uint32        `protobuf:"varint,3,opt,name=RewardsCheckpoint,proto3" json:"RewardsCheckpoint"`
	UnClaimedRewards      *math_big.Int `` /* 157-byte string literal not displayed */
	TotalCumulatedRewards *math_big.Int `` /* 167-byte string literal not displayed */
}

func (*DelegatorData) Descriptor

func (*DelegatorData) Descriptor() ([]byte, []int)

func (*DelegatorData) Equal

func (this *DelegatorData) Equal(that interface{}) bool

func (*DelegatorData) GetActiveFund

func (m *DelegatorData) GetActiveFund() []byte

func (*DelegatorData) GetRewardsCheckpoint

func (m *DelegatorData) GetRewardsCheckpoint() uint32

func (*DelegatorData) GetTotalCumulatedRewards

func (m *DelegatorData) GetTotalCumulatedRewards() *math_big.Int

func (*DelegatorData) GetUnClaimedRewards

func (m *DelegatorData) GetUnClaimedRewards() *math_big.Int

func (*DelegatorData) GetUnStakedFunds

func (m *DelegatorData) GetUnStakedFunds() [][]byte

func (*DelegatorData) GoString

func (this *DelegatorData) GoString() string

func (*DelegatorData) Marshal

func (m *DelegatorData) Marshal() (dAtA []byte, err error)

func (*DelegatorData) MarshalTo

func (m *DelegatorData) MarshalTo(dAtA []byte) (int, error)

func (*DelegatorData) MarshalToSizedBuffer

func (m *DelegatorData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegatorData) ProtoMessage

func (*DelegatorData) ProtoMessage()

func (*DelegatorData) Reset

func (m *DelegatorData) Reset()

func (*DelegatorData) Size

func (m *DelegatorData) Size() (n int)

func (*DelegatorData) String

func (this *DelegatorData) String() string

func (*DelegatorData) Unmarshal

func (m *DelegatorData) Unmarshal(dAtA []byte) error

func (*DelegatorData) XXX_DiscardUnknown

func (m *DelegatorData) XXX_DiscardUnknown()

func (*DelegatorData) XXX_Marshal

func (m *DelegatorData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegatorData) XXX_Merge

func (m *DelegatorData) XXX_Merge(src proto.Message)

func (*DelegatorData) XXX_Size

func (m *DelegatorData) XXX_Size() int

func (*DelegatorData) XXX_Unmarshal

func (m *DelegatorData) XXX_Unmarshal(b []byte) error

type ElementInList

type ElementInList struct {
	BLSPublicKey []byte `protobuf:"bytes,1,opt,name=BLSPublicKey,proto3" json:"BLSPublicKey"`
	PreviousKey  []byte `protobuf:"bytes,2,opt,name=PreviousKey,proto3" json:"PreviousKey"`
	NextKey      []byte `protobuf:"bytes,3,opt,name=NextKey,proto3" json:"NextKey"`
}

func (*ElementInList) Descriptor

func (*ElementInList) Descriptor() ([]byte, []int)

func (*ElementInList) Equal

func (this *ElementInList) Equal(that interface{}) bool

func (*ElementInList) GetBLSPublicKey

func (m *ElementInList) GetBLSPublicKey() []byte

func (*ElementInList) GetNextKey

func (m *ElementInList) GetNextKey() []byte

func (*ElementInList) GetPreviousKey

func (m *ElementInList) GetPreviousKey() []byte

func (*ElementInList) GoString

func (this *ElementInList) GoString() string

func (*ElementInList) Marshal

func (m *ElementInList) Marshal() (dAtA []byte, err error)

func (*ElementInList) MarshalTo

func (m *ElementInList) MarshalTo(dAtA []byte) (int, error)

func (*ElementInList) MarshalToSizedBuffer

func (m *ElementInList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ElementInList) ProtoMessage

func (*ElementInList) ProtoMessage()

func (*ElementInList) Reset

func (m *ElementInList) Reset()

func (*ElementInList) Size

func (m *ElementInList) Size() (n int)

func (*ElementInList) String

func (this *ElementInList) String() string

func (*ElementInList) Unmarshal

func (m *ElementInList) Unmarshal(dAtA []byte) error

func (*ElementInList) XXX_DiscardUnknown

func (m *ElementInList) XXX_DiscardUnknown()

func (*ElementInList) XXX_Marshal

func (m *ElementInList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ElementInList) XXX_Merge

func (m *ElementInList) XXX_Merge(src proto.Message)

func (*ElementInList) XXX_Size

func (m *ElementInList) XXX_Size() int

func (*ElementInList) XXX_Unmarshal

func (m *ElementInList) XXX_Unmarshal(b []byte) error

type Fund

type Fund struct {
	Value   *math_big.Int `` /* 135-byte string literal not displayed */
	Address []byte        `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address"`
	Epoch   uint32        `protobuf:"varint,3,opt,name=Epoch,proto3" json:"Epoch"`
	Type    uint32        `protobuf:"varint,4,opt,name=Type,proto3" json:"Type"`
}

func (*Fund) Descriptor

func (*Fund) Descriptor() ([]byte, []int)

func (*Fund) Equal

func (this *Fund) Equal(that interface{}) bool

func (*Fund) GetAddress

func (m *Fund) GetAddress() []byte

func (*Fund) GetEpoch

func (m *Fund) GetEpoch() uint32

func (*Fund) GetType

func (m *Fund) GetType() uint32

func (*Fund) GetValue

func (m *Fund) GetValue() *math_big.Int

func (*Fund) GoString

func (this *Fund) GoString() string

func (*Fund) Marshal

func (m *Fund) Marshal() (dAtA []byte, err error)

func (*Fund) MarshalTo

func (m *Fund) MarshalTo(dAtA []byte) (int, error)

func (*Fund) MarshalToSizedBuffer

func (m *Fund) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Fund) ProtoMessage

func (*Fund) ProtoMessage()

func (*Fund) Reset

func (m *Fund) Reset()

func (*Fund) Size

func (m *Fund) Size() (n int)

func (*Fund) String

func (this *Fund) String() string

func (*Fund) Unmarshal

func (m *Fund) Unmarshal(dAtA []byte) error

func (*Fund) XXX_DiscardUnknown

func (m *Fund) XXX_DiscardUnknown()

func (*Fund) XXX_Marshal

func (m *Fund) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Fund) XXX_Merge

func (m *Fund) XXX_Merge(src proto.Message)

func (*Fund) XXX_Size

func (m *Fund) XXX_Size() int

func (*Fund) XXX_Unmarshal

func (m *Fund) XXX_Unmarshal(b []byte) error

type GeneralProposal

type GeneralProposal struct {
	Nonce          uint64        `protobuf:"varint,1,opt,name=Nonce,proto3" json:"Nonce"`
	CommitHash     []byte        `protobuf:"bytes,2,opt,name=CommitHash,proto3" json:"CommitHash"`
	StartVoteEpoch uint64        `protobuf:"varint,3,opt,name=StartVoteEpoch,proto3" json:"StartVoteEpoch"`
	EndVoteEpoch   uint64        `protobuf:"varint,4,opt,name=EndVoteEpoch,proto3" json:"EndVoteEpoch"`
	Yes            *math_big.Int `` /* 131-byte string literal not displayed */
	No             *math_big.Int `` /* 129-byte string literal not displayed */
	Veto           *math_big.Int `` /* 133-byte string literal not displayed */
	Abstain        *math_big.Int `` /* 139-byte string literal not displayed */
	QuorumStake    *math_big.Int `` /* 147-byte string literal not displayed */
	Passed         bool          `protobuf:"varint,10,opt,name=Passed,proto3" json:"Passed"`
	Closed         bool          `protobuf:"varint,11,opt,name=Closed,proto3" json:"Closed"`
	IssuerAddress  []byte        `protobuf:"bytes,12,opt,name=IssuerAddress,proto3" json:"IssuerAddress"`
	ProposalCost   *math_big.Int `` /* 150-byte string literal not displayed */
}

func (*GeneralProposal) Descriptor

func (*GeneralProposal) Descriptor() ([]byte, []int)

func (*GeneralProposal) Equal

func (this *GeneralProposal) Equal(that interface{}) bool

func (*GeneralProposal) GetAbstain

func (m *GeneralProposal) GetAbstain() *math_big.Int

func (*GeneralProposal) GetClosed

func (m *GeneralProposal) GetClosed() bool

func (*GeneralProposal) GetCommitHash

func (m *GeneralProposal) GetCommitHash() []byte

func (*GeneralProposal) GetEndVoteEpoch

func (m *GeneralProposal) GetEndVoteEpoch() uint64

func (*GeneralProposal) GetIssuerAddress

func (m *GeneralProposal) GetIssuerAddress() []byte

func (*GeneralProposal) GetNo

func (m *GeneralProposal) GetNo() *math_big.Int

func (*GeneralProposal) GetNonce

func (m *GeneralProposal) GetNonce() uint64

func (*GeneralProposal) GetPassed

func (m *GeneralProposal) GetPassed() bool

func (*GeneralProposal) GetProposalCost

func (m *GeneralProposal) GetProposalCost() *math_big.Int

func (*GeneralProposal) GetQuorumStake

func (m *GeneralProposal) GetQuorumStake() *math_big.Int

func (*GeneralProposal) GetStartVoteEpoch

func (m *GeneralProposal) GetStartVoteEpoch() uint64

func (*GeneralProposal) GetVeto

func (m *GeneralProposal) GetVeto() *math_big.Int

func (*GeneralProposal) GetYes

func (m *GeneralProposal) GetYes() *math_big.Int

func (*GeneralProposal) GoString

func (this *GeneralProposal) GoString() string

func (*GeneralProposal) Marshal

func (m *GeneralProposal) Marshal() (dAtA []byte, err error)

func (*GeneralProposal) MarshalTo

func (m *GeneralProposal) MarshalTo(dAtA []byte) (int, error)

func (*GeneralProposal) MarshalToSizedBuffer

func (m *GeneralProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GeneralProposal) ProtoMessage

func (*GeneralProposal) ProtoMessage()

func (*GeneralProposal) Reset

func (m *GeneralProposal) Reset()

func (*GeneralProposal) Size

func (m *GeneralProposal) Size() (n int)

func (*GeneralProposal) String

func (this *GeneralProposal) String() string

func (*GeneralProposal) Unmarshal

func (m *GeneralProposal) Unmarshal(dAtA []byte) error

func (*GeneralProposal) XXX_DiscardUnknown

func (m *GeneralProposal) XXX_DiscardUnknown()

func (*GeneralProposal) XXX_Marshal

func (m *GeneralProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GeneralProposal) XXX_Merge

func (m *GeneralProposal) XXX_Merge(src proto.Message)

func (*GeneralProposal) XXX_Size

func (m *GeneralProposal) XXX_Size() int

func (*GeneralProposal) XXX_Unmarshal

func (m *GeneralProposal) XXX_Unmarshal(b []byte) error

type GlobalFundData

type GlobalFundData struct {
	TotalActive   *math_big.Int `` /* 147-byte string literal not displayed */
	TotalUnStaked *math_big.Int `` /* 151-byte string literal not displayed */
}

func (*GlobalFundData) Descriptor

func (*GlobalFundData) Descriptor() ([]byte, []int)

func (*GlobalFundData) Equal

func (this *GlobalFundData) Equal(that interface{}) bool

func (*GlobalFundData) GetTotalActive

func (m *GlobalFundData) GetTotalActive() *math_big.Int

func (*GlobalFundData) GetTotalUnStaked

func (m *GlobalFundData) GetTotalUnStaked() *math_big.Int

func (*GlobalFundData) GoString

func (this *GlobalFundData) GoString() string

func (*GlobalFundData) Marshal

func (m *GlobalFundData) Marshal() (dAtA []byte, err error)

func (*GlobalFundData) MarshalTo

func (m *GlobalFundData) MarshalTo(dAtA []byte) (int, error)

func (*GlobalFundData) MarshalToSizedBuffer

func (m *GlobalFundData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GlobalFundData) ProtoMessage

func (*GlobalFundData) ProtoMessage()

func (*GlobalFundData) Reset

func (m *GlobalFundData) Reset()

func (*GlobalFundData) Size

func (m *GlobalFundData) Size() (n int)

func (*GlobalFundData) String

func (this *GlobalFundData) String() string

func (*GlobalFundData) Unmarshal

func (m *GlobalFundData) Unmarshal(dAtA []byte) error

func (*GlobalFundData) XXX_DiscardUnknown

func (m *GlobalFundData) XXX_DiscardUnknown()

func (*GlobalFundData) XXX_Marshal

func (m *GlobalFundData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GlobalFundData) XXX_Merge

func (m *GlobalFundData) XXX_Merge(src proto.Message)

func (*GlobalFundData) XXX_Size

func (m *GlobalFundData) XXX_Size() int

func (*GlobalFundData) XXX_Unmarshal

func (m *GlobalFundData) XXX_Unmarshal(b []byte) error

type GovernanceConfig

type GovernanceConfig struct {
	NumNodes         int64         `protobuf:"varint,1,opt,name=NumNodes,proto3" json:"NumNodes"`
	MinQuorum        int32         `protobuf:"varint,2,opt,name=MinQuorum,proto3" json:"MinQuorum"`
	MinPassThreshold int32         `protobuf:"varint,3,opt,name=MinPassThreshold,proto3" json:"MinPassThreshold"`
	MinVetoThreshold int32         `protobuf:"varint,4,opt,name=MinVetoThreshold,proto3" json:"MinVetoThreshold"`
	ProposalFee      *math_big.Int `` /* 147-byte string literal not displayed */
}

func (*GovernanceConfig) Descriptor

func (*GovernanceConfig) Descriptor() ([]byte, []int)

func (*GovernanceConfig) Equal

func (this *GovernanceConfig) Equal(that interface{}) bool

func (*GovernanceConfig) GetMinPassThreshold

func (m *GovernanceConfig) GetMinPassThreshold() int32

func (*GovernanceConfig) GetMinQuorum

func (m *GovernanceConfig) GetMinQuorum() int32

func (*GovernanceConfig) GetMinVetoThreshold

func (m *GovernanceConfig) GetMinVetoThreshold() int32

func (*GovernanceConfig) GetNumNodes

func (m *GovernanceConfig) GetNumNodes() int64

func (*GovernanceConfig) GetProposalFee

func (m *GovernanceConfig) GetProposalFee() *math_big.Int

func (*GovernanceConfig) GoString

func (this *GovernanceConfig) GoString() string

func (*GovernanceConfig) Marshal

func (m *GovernanceConfig) Marshal() (dAtA []byte, err error)

func (*GovernanceConfig) MarshalTo

func (m *GovernanceConfig) MarshalTo(dAtA []byte) (int, error)

func (*GovernanceConfig) MarshalToSizedBuffer

func (m *GovernanceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GovernanceConfig) ProtoMessage

func (*GovernanceConfig) ProtoMessage()

func (*GovernanceConfig) Reset

func (m *GovernanceConfig) Reset()

func (*GovernanceConfig) Size

func (m *GovernanceConfig) Size() (n int)

func (*GovernanceConfig) String

func (this *GovernanceConfig) String() string

func (*GovernanceConfig) Unmarshal

func (m *GovernanceConfig) Unmarshal(dAtA []byte) error

func (*GovernanceConfig) XXX_DiscardUnknown

func (m *GovernanceConfig) XXX_DiscardUnknown()

func (*GovernanceConfig) XXX_Marshal

func (m *GovernanceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GovernanceConfig) XXX_Merge

func (m *GovernanceConfig) XXX_Merge(src proto.Message)

func (*GovernanceConfig) XXX_Size

func (m *GovernanceConfig) XXX_Size() int

func (*GovernanceConfig) XXX_Unmarshal

func (m *GovernanceConfig) XXX_Unmarshal(b []byte) error

type GovernanceConfigV2

type GovernanceConfigV2 struct {
	MinQuorum         float32       `protobuf:"fixed32,1,opt,name=MinQuorum,proto3" json:"MinQuorum"`
	MinPassThreshold  float32       `protobuf:"fixed32,2,opt,name=MinPassThreshold,proto3" json:"MinPassThreshold"`
	MinVetoThreshold  float32       `protobuf:"fixed32,3,opt,name=MinVetoThreshold,proto3" json:"MinVetoThreshold"`
	ProposalFee       *math_big.Int `` /* 147-byte string literal not displayed */
	LostProposalFee   *math_big.Int `` /* 155-byte string literal not displayed */
	LastProposalNonce uint64        `protobuf:"varint,6,opt,name=LastProposalNonce,proto3" json:"LastProposalNonce"`
}

func (*GovernanceConfigV2) Descriptor

func (*GovernanceConfigV2) Descriptor() ([]byte, []int)

func (*GovernanceConfigV2) Equal

func (this *GovernanceConfigV2) Equal(that interface{}) bool

func (*GovernanceConfigV2) GetLastProposalNonce

func (m *GovernanceConfigV2) GetLastProposalNonce() uint64

func (*GovernanceConfigV2) GetLostProposalFee

func (m *GovernanceConfigV2) GetLostProposalFee() *math_big.Int

func (*GovernanceConfigV2) GetMinPassThreshold

func (m *GovernanceConfigV2) GetMinPassThreshold() float32

func (*GovernanceConfigV2) GetMinQuorum

func (m *GovernanceConfigV2) GetMinQuorum() float32

func (*GovernanceConfigV2) GetMinVetoThreshold

func (m *GovernanceConfigV2) GetMinVetoThreshold() float32

func (*GovernanceConfigV2) GetProposalFee

func (m *GovernanceConfigV2) GetProposalFee() *math_big.Int

func (*GovernanceConfigV2) GoString

func (this *GovernanceConfigV2) GoString() string

func (*GovernanceConfigV2) Marshal

func (m *GovernanceConfigV2) Marshal() (dAtA []byte, err error)

func (*GovernanceConfigV2) MarshalTo

func (m *GovernanceConfigV2) MarshalTo(dAtA []byte) (int, error)

func (*GovernanceConfigV2) MarshalToSizedBuffer

func (m *GovernanceConfigV2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GovernanceConfigV2) ProtoMessage

func (*GovernanceConfigV2) ProtoMessage()

func (*GovernanceConfigV2) Reset

func (m *GovernanceConfigV2) Reset()

func (*GovernanceConfigV2) Size

func (m *GovernanceConfigV2) Size() (n int)

func (*GovernanceConfigV2) String

func (this *GovernanceConfigV2) String() string

func (*GovernanceConfigV2) Unmarshal

func (m *GovernanceConfigV2) Unmarshal(dAtA []byte) error

func (*GovernanceConfigV2) XXX_DiscardUnknown

func (m *GovernanceConfigV2) XXX_DiscardUnknown()

func (*GovernanceConfigV2) XXX_Marshal

func (m *GovernanceConfigV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GovernanceConfigV2) XXX_Merge

func (m *GovernanceConfigV2) XXX_Merge(src proto.Message)

func (*GovernanceConfigV2) XXX_Size

func (m *GovernanceConfigV2) XXX_Size() int

func (*GovernanceConfigV2) XXX_Unmarshal

func (m *GovernanceConfigV2) XXX_Unmarshal(b []byte) error

type NodesData

type NodesData struct {
	BLSKey    []byte `protobuf:"bytes,1,opt,name=BLSKey,proto3" json:"BLSKey"`
	SignedMsg []byte `protobuf:"bytes,2,opt,name=SignedMsg,proto3" json:"SignedMsg"`
}

func (*NodesData) Descriptor

func (*NodesData) Descriptor() ([]byte, []int)

func (*NodesData) Equal

func (this *NodesData) Equal(that interface{}) bool

func (*NodesData) GetBLSKey

func (m *NodesData) GetBLSKey() []byte

func (*NodesData) GetSignedMsg

func (m *NodesData) GetSignedMsg() []byte

func (*NodesData) GoString

func (this *NodesData) GoString() string

func (*NodesData) Marshal

func (m *NodesData) Marshal() (dAtA []byte, err error)

func (*NodesData) MarshalTo

func (m *NodesData) MarshalTo(dAtA []byte) (int, error)

func (*NodesData) MarshalToSizedBuffer

func (m *NodesData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NodesData) ProtoMessage

func (*NodesData) ProtoMessage()

func (*NodesData) Reset

func (m *NodesData) Reset()

func (*NodesData) Size

func (m *NodesData) Size() (n int)

func (*NodesData) String

func (this *NodesData) String() string

func (*NodesData) Unmarshal

func (m *NodesData) Unmarshal(dAtA []byte) error

func (*NodesData) XXX_DiscardUnknown

func (m *NodesData) XXX_DiscardUnknown()

func (*NodesData) XXX_Marshal

func (m *NodesData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodesData) XXX_Merge

func (m *NodesData) XXX_Merge(src proto.Message)

func (*NodesData) XXX_Size

func (m *NodesData) XXX_Size() int

func (*NodesData) XXX_Unmarshal

func (m *NodesData) XXX_Unmarshal(b []byte) error

type OngoingVotedList

type OngoingVotedList struct {
	Direct    []uint64 `protobuf:"varint,1,rep,packed,name=Direct,proto3" json:"Direct"`
	Delegated []uint64 `protobuf:"varint,2,rep,packed,name=Delegated,proto3" json:"Delegated"`
}

func (*OngoingVotedList) Descriptor

func (*OngoingVotedList) Descriptor() ([]byte, []int)

func (*OngoingVotedList) Equal

func (this *OngoingVotedList) Equal(that interface{}) bool

func (*OngoingVotedList) GetDelegated

func (m *OngoingVotedList) GetDelegated() []uint64

func (*OngoingVotedList) GetDirect

func (m *OngoingVotedList) GetDirect() []uint64

func (*OngoingVotedList) GoString

func (this *OngoingVotedList) GoString() string

func (*OngoingVotedList) Marshal

func (m *OngoingVotedList) Marshal() (dAtA []byte, err error)

func (*OngoingVotedList) MarshalTo

func (m *OngoingVotedList) MarshalTo(dAtA []byte) (int, error)

func (*OngoingVotedList) MarshalToSizedBuffer

func (m *OngoingVotedList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OngoingVotedList) ProtoMessage

func (*OngoingVotedList) ProtoMessage()

func (*OngoingVotedList) Reset

func (m *OngoingVotedList) Reset()

func (*OngoingVotedList) Size

func (m *OngoingVotedList) Size() (n int)

func (*OngoingVotedList) String

func (this *OngoingVotedList) String() string

func (*OngoingVotedList) Unmarshal

func (m *OngoingVotedList) Unmarshal(dAtA []byte) error

func (*OngoingVotedList) XXX_DiscardUnknown

func (m *OngoingVotedList) XXX_DiscardUnknown()

func (*OngoingVotedList) XXX_Marshal

func (m *OngoingVotedList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OngoingVotedList) XXX_Merge

func (m *OngoingVotedList) XXX_Merge(src proto.Message)

func (*OngoingVotedList) XXX_Size

func (m *OngoingVotedList) XXX_Size() int

func (*OngoingVotedList) XXX_Unmarshal

func (m *OngoingVotedList) XXX_Unmarshal(b []byte) error

type RewardComputationData

type RewardComputationData struct {
	RewardsToDistribute *math_big.Int `` /* 163-byte string literal not displayed */
	TotalActive         *math_big.Int `` /* 147-byte string literal not displayed */
	ServiceFee          uint64        `protobuf:"varint,3,opt,name=ServiceFee,proto3" json:"ServiceFee"`
}

func (*RewardComputationData) Descriptor

func (*RewardComputationData) Descriptor() ([]byte, []int)

func (*RewardComputationData) Equal

func (this *RewardComputationData) Equal(that interface{}) bool

func (*RewardComputationData) GetRewardsToDistribute

func (m *RewardComputationData) GetRewardsToDistribute() *math_big.Int

func (*RewardComputationData) GetServiceFee

func (m *RewardComputationData) GetServiceFee() uint64

func (*RewardComputationData) GetTotalActive

func (m *RewardComputationData) GetTotalActive() *math_big.Int

func (*RewardComputationData) GoString

func (this *RewardComputationData) GoString() string

func (*RewardComputationData) Marshal

func (m *RewardComputationData) Marshal() (dAtA []byte, err error)

func (*RewardComputationData) MarshalTo

func (m *RewardComputationData) MarshalTo(dAtA []byte) (int, error)

func (*RewardComputationData) MarshalToSizedBuffer

func (m *RewardComputationData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardComputationData) ProtoMessage

func (*RewardComputationData) ProtoMessage()

func (*RewardComputationData) Reset

func (m *RewardComputationData) Reset()

func (*RewardComputationData) Size

func (m *RewardComputationData) Size() (n int)

func (*RewardComputationData) String

func (this *RewardComputationData) String() string

func (*RewardComputationData) Unmarshal

func (m *RewardComputationData) Unmarshal(dAtA []byte) error

func (*RewardComputationData) XXX_DiscardUnknown

func (m *RewardComputationData) XXX_DiscardUnknown()

func (*RewardComputationData) XXX_Marshal

func (m *RewardComputationData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardComputationData) XXX_Merge

func (m *RewardComputationData) XXX_Merge(src proto.Message)

func (*RewardComputationData) XXX_Size

func (m *RewardComputationData) XXX_Size() int

func (*RewardComputationData) XXX_Unmarshal

func (m *RewardComputationData) XXX_Unmarshal(b []byte) error

type StakedDataV1_0

type StakedDataV1_0 struct {
	RegisterNonce uint64        `protobuf:"varint,1,opt,name=RegisterNonce,proto3" json:"RegisterNonce"`
	StakedNonce   uint64        `protobuf:"varint,2,opt,name=StakedNonce,proto3" json:"StakedNonce"`
	Staked        bool          `protobuf:"varint,3,opt,name=Staked,proto3" json:"Staked"`
	UnStakedNonce uint64        `protobuf:"varint,4,opt,name=UnStakedNonce,proto3" json:"UnStakedNonce"`
	UnStakedEpoch uint32        `protobuf:"varint,5,opt,name=UnStakedEpoch,proto3" json:"UnStakedEpoch"`
	RewardAddress []byte        `protobuf:"bytes,6,opt,name=RewardAddress,proto3" json:"RewardAddress"`
	StakeValue    *math_big.Int `` /* 145-byte string literal not displayed */
	JailedRound   uint64        `protobuf:"varint,8,opt,name=JailedRound,proto3" json:"JailedRound"`
	JailedNonce   uint64        `protobuf:"varint,9,opt,name=JailedNonce,proto3" json:"JailedNonce"`
	UnJailedNonce uint64        `protobuf:"varint,10,opt,name=UnJailedNonce,proto3" json:"UnJailedNonce"`
	Jailed        bool          `protobuf:"varint,11,opt,name=Jailed,proto3" json:"Jailed"`
	Waiting       bool          `protobuf:"varint,12,opt,name=Waiting,proto3" json:"Waiting"`
}

func (*StakedDataV1_0) Descriptor

func (*StakedDataV1_0) Descriptor() ([]byte, []int)

func (*StakedDataV1_0) Equal

func (this *StakedDataV1_0) Equal(that interface{}) bool

func (*StakedDataV1_0) GetJailed

func (m *StakedDataV1_0) GetJailed() bool

func (*StakedDataV1_0) GetJailedNonce

func (m *StakedDataV1_0) GetJailedNonce() uint64

func (*StakedDataV1_0) GetJailedRound

func (m *StakedDataV1_0) GetJailedRound() uint64

func (*StakedDataV1_0) GetRegisterNonce

func (m *StakedDataV1_0) GetRegisterNonce() uint64

func (*StakedDataV1_0) GetRewardAddress

func (m *StakedDataV1_0) GetRewardAddress() []byte

func (*StakedDataV1_0) GetStakeValue

func (m *StakedDataV1_0) GetStakeValue() *math_big.Int

func (*StakedDataV1_0) GetStaked

func (m *StakedDataV1_0) GetStaked() bool

func (*StakedDataV1_0) GetStakedNonce

func (m *StakedDataV1_0) GetStakedNonce() uint64

func (*StakedDataV1_0) GetUnJailedNonce

func (m *StakedDataV1_0) GetUnJailedNonce() uint64

func (*StakedDataV1_0) GetUnStakedEpoch

func (m *StakedDataV1_0) GetUnStakedEpoch() uint32

func (*StakedDataV1_0) GetUnStakedNonce

func (m *StakedDataV1_0) GetUnStakedNonce() uint64

func (*StakedDataV1_0) GetWaiting

func (m *StakedDataV1_0) GetWaiting() bool

func (*StakedDataV1_0) GoString

func (this *StakedDataV1_0) GoString() string

func (*StakedDataV1_0) Marshal

func (m *StakedDataV1_0) Marshal() (dAtA []byte, err error)

func (*StakedDataV1_0) MarshalTo

func (m *StakedDataV1_0) MarshalTo(dAtA []byte) (int, error)

func (*StakedDataV1_0) MarshalToSizedBuffer

func (m *StakedDataV1_0) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StakedDataV1_0) ProtoMessage

func (*StakedDataV1_0) ProtoMessage()

func (*StakedDataV1_0) Reset

func (m *StakedDataV1_0) Reset()

func (*StakedDataV1_0) Size

func (m *StakedDataV1_0) Size() (n int)

func (*StakedDataV1_0) String

func (this *StakedDataV1_0) String() string

func (*StakedDataV1_0) Unmarshal

func (m *StakedDataV1_0) Unmarshal(dAtA []byte) error

func (*StakedDataV1_0) XXX_DiscardUnknown

func (m *StakedDataV1_0) XXX_DiscardUnknown()

func (*StakedDataV1_0) XXX_Marshal

func (m *StakedDataV1_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakedDataV1_0) XXX_Merge

func (m *StakedDataV1_0) XXX_Merge(src proto.Message)

func (*StakedDataV1_0) XXX_Size

func (m *StakedDataV1_0) XXX_Size() int

func (*StakedDataV1_0) XXX_Unmarshal

func (m *StakedDataV1_0) XXX_Unmarshal(b []byte) error

type StakedDataV1_1

type StakedDataV1_1 struct {
	RegisterNonce uint64        `protobuf:"varint,1,opt,name=RegisterNonce,proto3" json:"RegisterNonce"`
	StakedNonce   uint64        `protobuf:"varint,2,opt,name=StakedNonce,proto3" json:"StakedNonce"`
	Staked        bool          `protobuf:"varint,3,opt,name=Staked,proto3" json:"Staked"`
	UnStakedNonce uint64        `protobuf:"varint,4,opt,name=UnStakedNonce,proto3" json:"UnStakedNonce"`
	UnStakedEpoch uint32        `protobuf:"varint,5,opt,name=UnStakedEpoch,proto3" json:"UnStakedEpoch"`
	RewardAddress []byte        `protobuf:"bytes,6,opt,name=RewardAddress,proto3" json:"RewardAddress"`
	StakeValue    *math_big.Int `` /* 145-byte string literal not displayed */
	JailedRound   uint64        `protobuf:"varint,8,opt,name=JailedRound,proto3" json:"JailedRound"`
	JailedNonce   uint64        `protobuf:"varint,9,opt,name=JailedNonce,proto3" json:"JailedNonce"`
	UnJailedNonce uint64        `protobuf:"varint,10,opt,name=UnJailedNonce,proto3" json:"UnJailedNonce"`
	Jailed        bool          `protobuf:"varint,11,opt,name=Jailed,proto3" json:"Jailed"`
	Waiting       bool          `protobuf:"varint,12,opt,name=Waiting,proto3" json:"Waiting"`
	NumJailed     uint32        `protobuf:"varint,13,opt,name=NumJailed,proto3" json:"NumJailed"`
	SlashValue    *math_big.Int `` /* 146-byte string literal not displayed */
}

func (*StakedDataV1_1) Descriptor

func (*StakedDataV1_1) Descriptor() ([]byte, []int)

func (*StakedDataV1_1) Equal

func (this *StakedDataV1_1) Equal(that interface{}) bool

func (*StakedDataV1_1) GetJailed

func (m *StakedDataV1_1) GetJailed() bool

func (*StakedDataV1_1) GetJailedNonce

func (m *StakedDataV1_1) GetJailedNonce() uint64

func (*StakedDataV1_1) GetJailedRound

func (m *StakedDataV1_1) GetJailedRound() uint64

func (*StakedDataV1_1) GetNumJailed

func (m *StakedDataV1_1) GetNumJailed() uint32

func (*StakedDataV1_1) GetRegisterNonce

func (m *StakedDataV1_1) GetRegisterNonce() uint64

func (*StakedDataV1_1) GetRewardAddress

func (m *StakedDataV1_1) GetRewardAddress() []byte

func (*StakedDataV1_1) GetSlashValue

func (m *StakedDataV1_1) GetSlashValue() *math_big.Int

func (*StakedDataV1_1) GetStakeValue

func (m *StakedDataV1_1) GetStakeValue() *math_big.Int

func (*StakedDataV1_1) GetStaked

func (m *StakedDataV1_1) GetStaked() bool

func (*StakedDataV1_1) GetStakedNonce

func (m *StakedDataV1_1) GetStakedNonce() uint64

func (*StakedDataV1_1) GetUnJailedNonce

func (m *StakedDataV1_1) GetUnJailedNonce() uint64

func (*StakedDataV1_1) GetUnStakedEpoch

func (m *StakedDataV1_1) GetUnStakedEpoch() uint32

func (*StakedDataV1_1) GetUnStakedNonce

func (m *StakedDataV1_1) GetUnStakedNonce() uint64

func (*StakedDataV1_1) GetWaiting

func (m *StakedDataV1_1) GetWaiting() bool

func (*StakedDataV1_1) GoString

func (this *StakedDataV1_1) GoString() string

func (*StakedDataV1_1) Marshal

func (m *StakedDataV1_1) Marshal() (dAtA []byte, err error)

func (*StakedDataV1_1) MarshalTo

func (m *StakedDataV1_1) MarshalTo(dAtA []byte) (int, error)

func (*StakedDataV1_1) MarshalToSizedBuffer

func (m *StakedDataV1_1) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StakedDataV1_1) ProtoMessage

func (*StakedDataV1_1) ProtoMessage()

func (*StakedDataV1_1) Reset

func (m *StakedDataV1_1) Reset()

func (*StakedDataV1_1) Size

func (m *StakedDataV1_1) Size() (n int)

func (*StakedDataV1_1) String

func (this *StakedDataV1_1) String() string

func (*StakedDataV1_1) Unmarshal

func (m *StakedDataV1_1) Unmarshal(dAtA []byte) error

func (*StakedDataV1_1) XXX_DiscardUnknown

func (m *StakedDataV1_1) XXX_DiscardUnknown()

func (*StakedDataV1_1) XXX_Marshal

func (m *StakedDataV1_1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakedDataV1_1) XXX_Merge

func (m *StakedDataV1_1) XXX_Merge(src proto.Message)

func (*StakedDataV1_1) XXX_Size

func (m *StakedDataV1_1) XXX_Size() int

func (*StakedDataV1_1) XXX_Unmarshal

func (m *StakedDataV1_1) XXX_Unmarshal(b []byte) error

type StakedDataV2_0

type StakedDataV2_0 struct {
	RegisterNonce uint64        `protobuf:"varint,1,opt,name=RegisterNonce,proto3" json:"RegisterNonce"`
	StakedNonce   uint64        `protobuf:"varint,2,opt,name=StakedNonce,proto3" json:"StakedNonce"`
	Staked        bool          `protobuf:"varint,3,opt,name=Staked,proto3" json:"Staked"`
	UnStakedNonce uint64        `protobuf:"varint,4,opt,name=UnStakedNonce,proto3" json:"UnStakedNonce"`
	UnStakedEpoch uint32        `protobuf:"varint,5,opt,name=UnStakedEpoch,proto3" json:"UnStakedEpoch"`
	RewardAddress []byte        `protobuf:"bytes,6,opt,name=RewardAddress,proto3" json:"RewardAddress"`
	StakeValue    *math_big.Int `` /* 145-byte string literal not displayed */
	JailedRound   uint64        `protobuf:"varint,8,opt,name=JailedRound,proto3" json:"JailedRound"`
	JailedNonce   uint64        `protobuf:"varint,9,opt,name=JailedNonce,proto3" json:"JailedNonce"`
	UnJailedNonce uint64        `protobuf:"varint,10,opt,name=UnJailedNonce,proto3" json:"UnJailedNonce"`
	Jailed        bool          `protobuf:"varint,11,opt,name=Jailed,proto3" json:"Jailed"`
	Waiting       bool          `protobuf:"varint,12,opt,name=Waiting,proto3" json:"Waiting"`
	NumJailed     uint32        `protobuf:"varint,13,opt,name=NumJailed,proto3" json:"NumJailed"`
	SlashValue    *math_big.Int `` /* 146-byte string literal not displayed */
	OwnerAddress  []byte        `protobuf:"bytes,15,opt,name=OwnerAddress,proto3" json:"OwnerAddress"`
}

func (*StakedDataV2_0) Descriptor

func (*StakedDataV2_0) Descriptor() ([]byte, []int)

func (*StakedDataV2_0) Equal

func (this *StakedDataV2_0) Equal(that interface{}) bool

func (*StakedDataV2_0) GetJailed

func (m *StakedDataV2_0) GetJailed() bool

func (*StakedDataV2_0) GetJailedNonce

func (m *StakedDataV2_0) GetJailedNonce() uint64

func (*StakedDataV2_0) GetJailedRound

func (m *StakedDataV2_0) GetJailedRound() uint64

func (*StakedDataV2_0) GetNumJailed

func (m *StakedDataV2_0) GetNumJailed() uint32

func (*StakedDataV2_0) GetOwnerAddress

func (m *StakedDataV2_0) GetOwnerAddress() []byte

func (*StakedDataV2_0) GetRegisterNonce

func (m *StakedDataV2_0) GetRegisterNonce() uint64

func (*StakedDataV2_0) GetRewardAddress

func (m *StakedDataV2_0) GetRewardAddress() []byte

func (*StakedDataV2_0) GetSlashValue

func (m *StakedDataV2_0) GetSlashValue() *math_big.Int

func (*StakedDataV2_0) GetStakeValue

func (m *StakedDataV2_0) GetStakeValue() *math_big.Int

func (*StakedDataV2_0) GetStaked

func (m *StakedDataV2_0) GetStaked() bool

func (*StakedDataV2_0) GetStakedNonce

func (m *StakedDataV2_0) GetStakedNonce() uint64

func (*StakedDataV2_0) GetUnJailedNonce

func (m *StakedDataV2_0) GetUnJailedNonce() uint64

func (*StakedDataV2_0) GetUnStakedEpoch

func (m *StakedDataV2_0) GetUnStakedEpoch() uint32

func (*StakedDataV2_0) GetUnStakedNonce

func (m *StakedDataV2_0) GetUnStakedNonce() uint64

func (*StakedDataV2_0) GetWaiting

func (m *StakedDataV2_0) GetWaiting() bool

func (*StakedDataV2_0) GoString

func (this *StakedDataV2_0) GoString() string

func (*StakedDataV2_0) Marshal

func (m *StakedDataV2_0) Marshal() (dAtA []byte, err error)

func (*StakedDataV2_0) MarshalTo

func (m *StakedDataV2_0) MarshalTo(dAtA []byte) (int, error)

func (*StakedDataV2_0) MarshalToSizedBuffer

func (m *StakedDataV2_0) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StakedDataV2_0) ProtoMessage

func (*StakedDataV2_0) ProtoMessage()

func (*StakedDataV2_0) Reset

func (m *StakedDataV2_0) Reset()

func (*StakedDataV2_0) Size

func (m *StakedDataV2_0) Size() (n int)

func (*StakedDataV2_0) String

func (this *StakedDataV2_0) String() string

func (*StakedDataV2_0) Unmarshal

func (m *StakedDataV2_0) Unmarshal(dAtA []byte) error

func (*StakedDataV2_0) XXX_DiscardUnknown

func (m *StakedDataV2_0) XXX_DiscardUnknown()

func (*StakedDataV2_0) XXX_Marshal

func (m *StakedDataV2_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakedDataV2_0) XXX_Merge

func (m *StakedDataV2_0) XXX_Merge(src proto.Message)

func (*StakedDataV2_0) XXX_Size

func (m *StakedDataV2_0) XXX_Size() int

func (*StakedDataV2_0) XXX_Unmarshal

func (m *StakedDataV2_0) XXX_Unmarshal(b []byte) error

type StakingNodesConfig

type StakingNodesConfig struct {
	MinNumNodes int64 `protobuf:"varint,1,opt,name=MinNumNodes,proto3" json:"MinNumNodes"`
	MaxNumNodes int64 `protobuf:"varint,2,opt,name=MaxNumNodes,proto3" json:"MaxNumNodes"`
	StakedNodes int64 `protobuf:"varint,3,opt,name=StakedNodes,proto3" json:"StakedNodes"`
	JailedNodes int64 `protobuf:"varint,4,opt,name=JailedNodes,proto3" json:"JailedNodes"`
}

func (*StakingNodesConfig) Descriptor

func (*StakingNodesConfig) Descriptor() ([]byte, []int)

func (*StakingNodesConfig) Equal

func (this *StakingNodesConfig) Equal(that interface{}) bool

func (*StakingNodesConfig) GetJailedNodes

func (m *StakingNodesConfig) GetJailedNodes() int64

func (*StakingNodesConfig) GetMaxNumNodes

func (m *StakingNodesConfig) GetMaxNumNodes() int64

func (*StakingNodesConfig) GetMinNumNodes

func (m *StakingNodesConfig) GetMinNumNodes() int64

func (*StakingNodesConfig) GetStakedNodes

func (m *StakingNodesConfig) GetStakedNodes() int64

func (*StakingNodesConfig) GoString

func (this *StakingNodesConfig) GoString() string

func (*StakingNodesConfig) Marshal

func (m *StakingNodesConfig) Marshal() (dAtA []byte, err error)

func (*StakingNodesConfig) MarshalTo

func (m *StakingNodesConfig) MarshalTo(dAtA []byte) (int, error)

func (*StakingNodesConfig) MarshalToSizedBuffer

func (m *StakingNodesConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StakingNodesConfig) ProtoMessage

func (*StakingNodesConfig) ProtoMessage()

func (*StakingNodesConfig) Reset

func (m *StakingNodesConfig) Reset()

func (*StakingNodesConfig) Size

func (m *StakingNodesConfig) Size() (n int)

func (*StakingNodesConfig) String

func (this *StakingNodesConfig) String() string

func (*StakingNodesConfig) Unmarshal

func (m *StakingNodesConfig) Unmarshal(dAtA []byte) error

func (*StakingNodesConfig) XXX_DiscardUnknown

func (m *StakingNodesConfig) XXX_DiscardUnknown()

func (*StakingNodesConfig) XXX_Marshal

func (m *StakingNodesConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakingNodesConfig) XXX_Merge

func (m *StakingNodesConfig) XXX_Merge(src proto.Message)

func (*StakingNodesConfig) XXX_Size

func (m *StakingNodesConfig) XXX_Size() int

func (*StakingNodesConfig) XXX_Unmarshal

func (m *StakingNodesConfig) XXX_Unmarshal(b []byte) error

type UnstakedValue

type UnstakedValue struct {
	UnstakedEpoch uint32        `protobuf:"varint,1,opt,name=UnstakedEpoch,proto3" json:"UnstakedEpoch"`
	UnstakedValue *math_big.Int `` /* 151-byte string literal not displayed */
}

func (*UnstakedValue) Descriptor

func (*UnstakedValue) Descriptor() ([]byte, []int)

func (*UnstakedValue) Equal

func (this *UnstakedValue) Equal(that interface{}) bool

func (*UnstakedValue) GetUnstakedEpoch

func (m *UnstakedValue) GetUnstakedEpoch() uint32

func (*UnstakedValue) GetUnstakedValue

func (m *UnstakedValue) GetUnstakedValue() *math_big.Int

func (*UnstakedValue) GoString

func (this *UnstakedValue) GoString() string

func (*UnstakedValue) Marshal

func (m *UnstakedValue) Marshal() (dAtA []byte, err error)

func (*UnstakedValue) MarshalTo

func (m *UnstakedValue) MarshalTo(dAtA []byte) (int, error)

func (*UnstakedValue) MarshalToSizedBuffer

func (m *UnstakedValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnstakedValue) ProtoMessage

func (*UnstakedValue) ProtoMessage()

func (*UnstakedValue) Reset

func (m *UnstakedValue) Reset()

func (*UnstakedValue) Size

func (m *UnstakedValue) Size() (n int)

func (*UnstakedValue) String

func (this *UnstakedValue) String() string

func (*UnstakedValue) Unmarshal

func (m *UnstakedValue) Unmarshal(dAtA []byte) error

func (*UnstakedValue) XXX_DiscardUnknown

func (m *UnstakedValue) XXX_DiscardUnknown()

func (*UnstakedValue) XXX_Marshal

func (m *UnstakedValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnstakedValue) XXX_Merge

func (m *UnstakedValue) XXX_Merge(src proto.Message)

func (*UnstakedValue) XXX_Size

func (m *UnstakedValue) XXX_Size() int

func (*UnstakedValue) XXX_Unmarshal

func (m *UnstakedValue) XXX_Unmarshal(b []byte) error

type VMContextArgs

type VMContextArgs struct {
	BlockChainHook      vm.BlockchainHook
	CryptoHook          vmcommon.CryptoHook
	InputParser         vm.ArgumentsParser
	ValidatorAccountsDB state.AccountsAdapter
	UserAccountsDB      state.AccountsAdapter
	ChanceComputer      nodesCoordinator.ChanceComputer
	EnableEpochsHandler common.EnableEpochsHandler
}

VMContextArgs holds the arguments needed to create a new vmContext

type ValidatorConfig

type ValidatorConfig struct {
	MinStakeValue *math_big.Int `` /* 151-byte string literal not displayed */
	TotalSupply   *math_big.Int `` /* 147-byte string literal not displayed */
	MinStep       *math_big.Int `` /* 139-byte string literal not displayed */
	NodePrice     *math_big.Int `` /* 143-byte string literal not displayed */
	UnJailPrice   *math_big.Int `` /* 147-byte string literal not displayed */
}

func (*ValidatorConfig) Descriptor

func (*ValidatorConfig) Descriptor() ([]byte, []int)

func (*ValidatorConfig) Equal

func (this *ValidatorConfig) Equal(that interface{}) bool

func (*ValidatorConfig) GetMinStakeValue

func (m *ValidatorConfig) GetMinStakeValue() *math_big.Int

func (*ValidatorConfig) GetMinStep

func (m *ValidatorConfig) GetMinStep() *math_big.Int

func (*ValidatorConfig) GetNodePrice

func (m *ValidatorConfig) GetNodePrice() *math_big.Int

func (*ValidatorConfig) GetTotalSupply

func (m *ValidatorConfig) GetTotalSupply() *math_big.Int

func (*ValidatorConfig) GetUnJailPrice

func (m *ValidatorConfig) GetUnJailPrice() *math_big.Int

func (*ValidatorConfig) GoString

func (this *ValidatorConfig) GoString() string

func (*ValidatorConfig) Marshal

func (m *ValidatorConfig) Marshal() (dAtA []byte, err error)

func (*ValidatorConfig) MarshalTo

func (m *ValidatorConfig) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorConfig) MarshalToSizedBuffer

func (m *ValidatorConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorConfig) ProtoMessage

func (*ValidatorConfig) ProtoMessage()

func (*ValidatorConfig) Reset

func (m *ValidatorConfig) Reset()

func (*ValidatorConfig) Size

func (m *ValidatorConfig) Size() (n int)

func (*ValidatorConfig) String

func (this *ValidatorConfig) String() string

func (*ValidatorConfig) Unmarshal

func (m *ValidatorConfig) Unmarshal(dAtA []byte) error

func (*ValidatorConfig) XXX_DiscardUnknown

func (m *ValidatorConfig) XXX_DiscardUnknown()

func (*ValidatorConfig) XXX_Marshal

func (m *ValidatorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorConfig) XXX_Merge

func (m *ValidatorConfig) XXX_Merge(src proto.Message)

func (*ValidatorConfig) XXX_Size

func (m *ValidatorConfig) XXX_Size() int

func (*ValidatorConfig) XXX_Unmarshal

func (m *ValidatorConfig) XXX_Unmarshal(b []byte) error

type ValidatorDataV1

type ValidatorDataV1 struct {
	RegisterNonce   uint64        `protobuf:"varint,1,opt,name=RegisterNonce,proto3" json:"RegisterNonce"`
	Epoch           uint32        `protobuf:"varint,2,opt,name=Epoch,proto3" json:"Epoch"`
	RewardAddress   []byte        `protobuf:"bytes,3,opt,name=RewardAddress,proto3" json:"RewardAddress"`
	TotalStakeValue *math_big.Int `` /* 155-byte string literal not displayed */
	LockedStake     *math_big.Int `` /* 147-byte string literal not displayed */
	MaxStakePerNode *math_big.Int `` /* 155-byte string literal not displayed */
	BlsPubKeys      [][]byte      `protobuf:"bytes,7,rep,name=BlsPubKeys,proto3" json:"BlsPubKeys"`
	NumRegistered   uint32        `protobuf:"varint,8,opt,name=NumRegistered,proto3" json:"NumRegistered"`
}

func (*ValidatorDataV1) Descriptor

func (*ValidatorDataV1) Descriptor() ([]byte, []int)

func (*ValidatorDataV1) Equal

func (this *ValidatorDataV1) Equal(that interface{}) bool

func (*ValidatorDataV1) GetBlsPubKeys

func (m *ValidatorDataV1) GetBlsPubKeys() [][]byte

func (*ValidatorDataV1) GetEpoch

func (m *ValidatorDataV1) GetEpoch() uint32

func (*ValidatorDataV1) GetLockedStake

func (m *ValidatorDataV1) GetLockedStake() *math_big.Int

func (*ValidatorDataV1) GetMaxStakePerNode

func (m *ValidatorDataV1) GetMaxStakePerNode() *math_big.Int

func (*ValidatorDataV1) GetNumRegistered

func (m *ValidatorDataV1) GetNumRegistered() uint32

func (*ValidatorDataV1) GetRegisterNonce

func (m *ValidatorDataV1) GetRegisterNonce() uint64

func (*ValidatorDataV1) GetRewardAddress

func (m *ValidatorDataV1) GetRewardAddress() []byte

func (*ValidatorDataV1) GetTotalStakeValue

func (m *ValidatorDataV1) GetTotalStakeValue() *math_big.Int

func (*ValidatorDataV1) GoString

func (this *ValidatorDataV1) GoString() string

func (*ValidatorDataV1) Marshal

func (m *ValidatorDataV1) Marshal() (dAtA []byte, err error)

func (*ValidatorDataV1) MarshalTo

func (m *ValidatorDataV1) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorDataV1) MarshalToSizedBuffer

func (m *ValidatorDataV1) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorDataV1) ProtoMessage

func (*ValidatorDataV1) ProtoMessage()

func (*ValidatorDataV1) Reset

func (m *ValidatorDataV1) Reset()

func (*ValidatorDataV1) Size

func (m *ValidatorDataV1) Size() (n int)

func (*ValidatorDataV1) String

func (this *ValidatorDataV1) String() string

func (*ValidatorDataV1) Unmarshal

func (m *ValidatorDataV1) Unmarshal(dAtA []byte) error

func (*ValidatorDataV1) XXX_DiscardUnknown

func (m *ValidatorDataV1) XXX_DiscardUnknown()

func (*ValidatorDataV1) XXX_Marshal

func (m *ValidatorDataV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorDataV1) XXX_Merge

func (m *ValidatorDataV1) XXX_Merge(src proto.Message)

func (*ValidatorDataV1) XXX_Size

func (m *ValidatorDataV1) XXX_Size() int

func (*ValidatorDataV1) XXX_Unmarshal

func (m *ValidatorDataV1) XXX_Unmarshal(b []byte) error

type ValidatorDataV2

type ValidatorDataV2 struct {
	RegisterNonce   uint64           `protobuf:"varint,1,opt,name=RegisterNonce,proto3" json:"RegisterNonce"`
	Epoch           uint32           `protobuf:"varint,2,opt,name=Epoch,proto3" json:"Epoch"`
	RewardAddress   []byte           `protobuf:"bytes,3,opt,name=RewardAddress,proto3" json:"RewardAddress"`
	TotalStakeValue *math_big.Int    `` /* 155-byte string literal not displayed */
	LockedStake     *math_big.Int    `` /* 147-byte string literal not displayed */
	MaxStakePerNode *math_big.Int    `` /* 155-byte string literal not displayed */
	BlsPubKeys      [][]byte         `protobuf:"bytes,7,rep,name=BlsPubKeys,proto3" json:"BlsPubKeys"`
	NumRegistered   uint32           `protobuf:"varint,8,opt,name=NumRegistered,proto3" json:"NumRegistered"`
	UnstakedInfo    []*UnstakedValue `protobuf:"bytes,9,rep,name=UnstakedInfo,proto3" json:"UnstakedInfo"`
	TotalUnstaked   *math_big.Int    `` /* 152-byte string literal not displayed */
	TotalSlashed    *math_big.Int    `` /* 150-byte string literal not displayed */
}

func (*ValidatorDataV2) Descriptor

func (*ValidatorDataV2) Descriptor() ([]byte, []int)

func (*ValidatorDataV2) Equal

func (this *ValidatorDataV2) Equal(that interface{}) bool

func (*ValidatorDataV2) GetBlsPubKeys

func (m *ValidatorDataV2) GetBlsPubKeys() [][]byte

func (*ValidatorDataV2) GetEpoch

func (m *ValidatorDataV2) GetEpoch() uint32

func (*ValidatorDataV2) GetLockedStake

func (m *ValidatorDataV2) GetLockedStake() *math_big.Int

func (*ValidatorDataV2) GetMaxStakePerNode

func (m *ValidatorDataV2) GetMaxStakePerNode() *math_big.Int

func (*ValidatorDataV2) GetNumRegistered

func (m *ValidatorDataV2) GetNumRegistered() uint32

func (*ValidatorDataV2) GetRegisterNonce

func (m *ValidatorDataV2) GetRegisterNonce() uint64

func (*ValidatorDataV2) GetRewardAddress

func (m *ValidatorDataV2) GetRewardAddress() []byte

func (*ValidatorDataV2) GetTotalSlashed

func (m *ValidatorDataV2) GetTotalSlashed() *math_big.Int

func (*ValidatorDataV2) GetTotalStakeValue

func (m *ValidatorDataV2) GetTotalStakeValue() *math_big.Int

func (*ValidatorDataV2) GetTotalUnstaked

func (m *ValidatorDataV2) GetTotalUnstaked() *math_big.Int

func (*ValidatorDataV2) GetUnstakedInfo

func (m *ValidatorDataV2) GetUnstakedInfo() []*UnstakedValue

func (*ValidatorDataV2) GoString

func (this *ValidatorDataV2) GoString() string

func (*ValidatorDataV2) Marshal

func (m *ValidatorDataV2) Marshal() (dAtA []byte, err error)

func (*ValidatorDataV2) MarshalTo

func (m *ValidatorDataV2) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorDataV2) MarshalToSizedBuffer

func (m *ValidatorDataV2) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorDataV2) ProtoMessage

func (*ValidatorDataV2) ProtoMessage()

func (*ValidatorDataV2) Reset

func (m *ValidatorDataV2) Reset()

func (*ValidatorDataV2) Size

func (m *ValidatorDataV2) Size() (n int)

func (*ValidatorDataV2) String

func (this *ValidatorDataV2) String() string

func (*ValidatorDataV2) Unmarshal

func (m *ValidatorDataV2) Unmarshal(dAtA []byte) error

func (*ValidatorDataV2) XXX_DiscardUnknown

func (m *ValidatorDataV2) XXX_DiscardUnknown()

func (*ValidatorDataV2) XXX_Marshal

func (m *ValidatorDataV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorDataV2) XXX_Merge

func (m *ValidatorDataV2) XXX_Merge(src proto.Message)

func (*ValidatorDataV2) XXX_Size

func (m *ValidatorDataV2) XXX_Size() int

func (*ValidatorDataV2) XXX_Unmarshal

func (m *ValidatorDataV2) XXX_Unmarshal(b []byte) error

type VoteValueType

type VoteValueType int32
const (
	Yes     VoteValueType = 0
	No      VoteValueType = 1
	Veto    VoteValueType = 2
	Abstain VoteValueType = 3
)

func (VoteValueType) EnumDescriptor

func (VoteValueType) EnumDescriptor() ([]byte, []int)

func (VoteValueType) String

func (x VoteValueType) String() string

type WaitingList

type WaitingList struct {
	FirstKey      []byte `protobuf:"bytes,1,opt,name=FirstKey,proto3" json:"FirstKey"`
	LastKey       []byte `protobuf:"bytes,2,opt,name=LastKey,proto3" json:"LastKey"`
	Length        uint32 `protobuf:"varint,3,opt,name=Length,proto3" json:"Length"`
	LastJailedKey []byte `protobuf:"bytes,4,opt,name=LastJailedKey,proto3" json:"LastJailedKey"`
}

func (*WaitingList) Descriptor

func (*WaitingList) Descriptor() ([]byte, []int)

func (*WaitingList) Equal

func (this *WaitingList) Equal(that interface{}) bool

func (*WaitingList) GetFirstKey

func (m *WaitingList) GetFirstKey() []byte

func (*WaitingList) GetLastJailedKey

func (m *WaitingList) GetLastJailedKey() []byte

func (*WaitingList) GetLastKey

func (m *WaitingList) GetLastKey() []byte

func (*WaitingList) GetLength

func (m *WaitingList) GetLength() uint32

func (*WaitingList) GoString

func (this *WaitingList) GoString() string

func (*WaitingList) Marshal

func (m *WaitingList) Marshal() (dAtA []byte, err error)

func (*WaitingList) MarshalTo

func (m *WaitingList) MarshalTo(dAtA []byte) (int, error)

func (*WaitingList) MarshalToSizedBuffer

func (m *WaitingList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WaitingList) ProtoMessage

func (*WaitingList) ProtoMessage()

func (*WaitingList) Reset

func (m *WaitingList) Reset()

func (*WaitingList) Size

func (m *WaitingList) Size() (n int)

func (*WaitingList) String

func (this *WaitingList) String() string

func (*WaitingList) Unmarshal

func (m *WaitingList) Unmarshal(dAtA []byte) error

func (*WaitingList) XXX_DiscardUnknown

func (m *WaitingList) XXX_DiscardUnknown()

func (*WaitingList) XXX_Marshal

func (m *WaitingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WaitingList) XXX_Merge

func (m *WaitingList) XXX_Merge(src proto.Message)

func (*WaitingList) XXX_Size

func (m *WaitingList) XXX_Size() int

func (*WaitingList) XXX_Unmarshal

func (m *WaitingList) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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