systemSmartContracts

package
v1.999.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: GPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 (
	ErrInvalidLengthEsdt        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEsdt          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEsdt = 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",
}
View Source
var VoteValueType_value = map[string]int32{
	"Yes":  0,
	"No":   1,
	"Veto": 2,
}

Functions

func CheckIfNil

func CheckIfNil(args *vmcommon.ContractCallInput) error

CheckIfNil verifies if contract call input is not nil

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 NewESDTSmartContract

func NewESDTSmartContract(args ArgsNewESDTSmartContract) (*esdt, error)

NewESDTSmartContract creates the esdt smart contract, which controls the issuing of tokens

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(
	blockChainHook vm.BlockchainHook,
	cryptoHook vmcommon.CryptoHook,
	inputParser vm.ArgumentsParser,
	validatorAccountsDB state.AccountsAdapter,
	chanceComputer nodesCoordinator.ChanceComputer,
) (*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 ArgsNewDelegation

type ArgsNewDelegation struct {
	DelegationSCConfig     config.DelegationSystemSCConfig
	EpochConfig            config.EpochConfig
	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
	EpochNotifier          vm.EpochNotifier
}

ArgsNewDelegation defines the arguments to create the delegation smart contract

type ArgsNewDelegationManager

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

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

type ArgsNewESDTSmartContract

type ArgsNewESDTSmartContract struct {
	Eei                    vm.SystemEI
	GasCost                vm.GasCost
	ESDTSCConfig           config.ESDTSystemSCConfig
	ESDTSCAddress          []byte
	Marshalizer            marshal.Marshalizer
	Hasher                 hashing.Hasher
	EpochNotifier          vm.EpochNotifier
	EndOfEpochSCAddress    []byte
	AddressPubKeyConverter core.PubkeyConverter
	EpochConfig            config.EpochConfig
}

ArgsNewESDTSmartContract defines the arguments needed for the esdt 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
	InitialWhiteListedAddresses [][]byte
	EpochNotifier               vm.EpochNotifier
	EpochConfig                 config.EpochConfig
}

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
	EpochNotifier        vm.EpochNotifier
	EpochConfig          config.EpochConfig
}

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
	EpochNotifier            vm.EpochNotifier
	EndOfEpochAddress        []byte
	MinDeposit               string
	DelegationMgrSCAddress   []byte
	GovernanceSCAddress      []byte
	DelegationMgrEnableEpoch uint32
	EpochConfig              config.EpochConfig
	ShardCoordinator         sharding.Coordinator
}

ArgsValidatorSmartContract is the arguments structure to create a new ValidatorSmartContract

type DelegationConfig

type DelegationConfig struct {
	MaxDelegationCap            *math_big.Int `` /* 164-byte string literal not displayed */
	InitialOwnerFunds           *math_big.Int `` /* 166-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 `` /* 152-byte string literal not displayed */
	MinDelegationAmount *math_big.Int `` /* 170-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 `` /* 164-byte string literal not displayed */
	TotalCumulatedRewards *math_big.Int `` /* 174-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 ESDTConfig

type ESDTConfig struct {
	OwnerAddress       []byte        `protobuf:"bytes,1,opt,name=OwnerAddress,proto3" json:"OwnerAddress"`
	BaseIssuingCost    *math_big.Int `` /* 162-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 (*ESDTConfig) Descriptor

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

func (*ESDTConfig) Equal

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

func (*ESDTConfig) GetBaseIssuingCost

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

func (*ESDTConfig) GetMaxTokenNameLength

func (m *ESDTConfig) GetMaxTokenNameLength() uint32

func (*ESDTConfig) GetMinTokenNameLength

func (m *ESDTConfig) GetMinTokenNameLength() uint32

func (*ESDTConfig) GetOwnerAddress

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

func (*ESDTConfig) GoString

func (this *ESDTConfig) GoString() string

func (*ESDTConfig) Marshal

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

func (*ESDTConfig) MarshalTo

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

func (*ESDTConfig) MarshalToSizedBuffer

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

func (*ESDTConfig) ProtoMessage

func (*ESDTConfig) ProtoMessage()

func (*ESDTConfig) Reset

func (m *ESDTConfig) Reset()

func (*ESDTConfig) Size

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

func (*ESDTConfig) String

func (this *ESDTConfig) String() string

func (*ESDTConfig) Unmarshal

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

func (*ESDTConfig) XXX_DiscardUnknown

func (m *ESDTConfig) XXX_DiscardUnknown()

func (*ESDTConfig) XXX_Marshal

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

func (*ESDTConfig) XXX_Merge

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

func (*ESDTConfig) XXX_Size

func (m *ESDTConfig) XXX_Size() int

func (*ESDTConfig) XXX_Unmarshal

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

type ESDTDataV1

type ESDTDataV1 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 `` /* 155-byte string literal not displayed */
	BurntValue               *math_big.Int `` /* 153-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             []*ESDTRoles  `protobuf:"bytes,19,rep,name=SpecialRoles,proto3" json:"SpecialRoles"`
	NumWiped                 uint32        `protobuf:"varint,20,opt,name=NumWiped,proto3" json:"NumWiped"`
}

func (*ESDTDataV1) Descriptor

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

func (*ESDTDataV1) Equal

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

func (*ESDTDataV1) GetBurnable

func (m *ESDTDataV1) GetBurnable() bool

func (*ESDTDataV1) GetBurntValue

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

func (*ESDTDataV1) GetCanAddSpecialRoles

func (m *ESDTDataV1) GetCanAddSpecialRoles() bool

func (*ESDTDataV1) GetCanChangeOwner

func (m *ESDTDataV1) GetCanChangeOwner() bool

func (*ESDTDataV1) GetCanFreeze

func (m *ESDTDataV1) GetCanFreeze() bool

func (*ESDTDataV1) GetCanPause

func (m *ESDTDataV1) GetCanPause() bool

func (*ESDTDataV1) GetCanTransferNFTCreateRole

func (m *ESDTDataV1) GetCanTransferNFTCreateRole() bool

func (*ESDTDataV1) GetCanWipe

func (m *ESDTDataV1) GetCanWipe() bool

func (*ESDTDataV1) GetIsPaused

func (m *ESDTDataV1) GetIsPaused() bool

func (*ESDTDataV1) GetMintable

func (m *ESDTDataV1) GetMintable() bool

func (*ESDTDataV1) GetMintedValue

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

func (*ESDTDataV1) GetNFTCreateStopped

func (m *ESDTDataV1) GetNFTCreateStopped() bool

func (*ESDTDataV1) GetNumDecimals

func (m *ESDTDataV1) GetNumDecimals() uint32

func (*ESDTDataV1) GetNumWiped

func (m *ESDTDataV1) GetNumWiped() uint32

func (*ESDTDataV1) GetOwnerAddress

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

func (*ESDTDataV1) GetSpecialRoles

func (m *ESDTDataV1) GetSpecialRoles() []*ESDTRoles

func (*ESDTDataV1) GetTickerName

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

func (*ESDTDataV1) GetTokenName

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

func (*ESDTDataV1) GetTokenType

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

func (*ESDTDataV1) GetUpgradable

func (m *ESDTDataV1) GetUpgradable() bool

func (*ESDTDataV1) GoString

func (this *ESDTDataV1) GoString() string

func (*ESDTDataV1) Marshal

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

func (*ESDTDataV1) MarshalTo

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

func (*ESDTDataV1) MarshalToSizedBuffer

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

func (*ESDTDataV1) ProtoMessage

func (*ESDTDataV1) ProtoMessage()

func (*ESDTDataV1) Reset

func (m *ESDTDataV1) Reset()

func (*ESDTDataV1) Size

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

func (*ESDTDataV1) String

func (this *ESDTDataV1) String() string

func (*ESDTDataV1) Unmarshal

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

func (*ESDTDataV1) XXX_DiscardUnknown

func (m *ESDTDataV1) XXX_DiscardUnknown()

func (*ESDTDataV1) XXX_Marshal

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

func (*ESDTDataV1) XXX_Merge

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

func (*ESDTDataV1) XXX_Size

func (m *ESDTDataV1) XXX_Size() int

func (*ESDTDataV1) XXX_Unmarshal

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

type ESDTDataV2

type ESDTDataV2 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 `` /* 155-byte string literal not displayed */
	BurntValue               *math_big.Int `` /* 153-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             []*ESDTRoles  `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 (*ESDTDataV2) Descriptor

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

func (*ESDTDataV2) Equal

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

func (*ESDTDataV2) GetBurnable

func (m *ESDTDataV2) GetBurnable() bool

func (*ESDTDataV2) GetBurntValue

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

func (*ESDTDataV2) GetCanAddSpecialRoles

func (m *ESDTDataV2) GetCanAddSpecialRoles() bool

func (*ESDTDataV2) GetCanChangeOwner

func (m *ESDTDataV2) GetCanChangeOwner() bool

func (*ESDTDataV2) GetCanCreateMultiShard

func (m *ESDTDataV2) GetCanCreateMultiShard() bool

func (*ESDTDataV2) GetCanFreeze

func (m *ESDTDataV2) GetCanFreeze() bool

func (*ESDTDataV2) GetCanPause

func (m *ESDTDataV2) GetCanPause() bool

func (*ESDTDataV2) GetCanTransferNFTCreateRole

func (m *ESDTDataV2) GetCanTransferNFTCreateRole() bool

func (*ESDTDataV2) GetCanWipe

func (m *ESDTDataV2) GetCanWipe() bool

func (*ESDTDataV2) GetIsPaused

func (m *ESDTDataV2) GetIsPaused() bool

func (*ESDTDataV2) GetMintable

func (m *ESDTDataV2) GetMintable() bool

func (*ESDTDataV2) GetMintedValue

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

func (*ESDTDataV2) GetNFTCreateStopped

func (m *ESDTDataV2) GetNFTCreateStopped() bool

func (*ESDTDataV2) GetNumDecimals

func (m *ESDTDataV2) GetNumDecimals() uint32

func (*ESDTDataV2) GetNumWiped

func (m *ESDTDataV2) GetNumWiped() uint32

func (*ESDTDataV2) GetOwnerAddress

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

func (*ESDTDataV2) GetSpecialRoles

func (m *ESDTDataV2) GetSpecialRoles() []*ESDTRoles

func (*ESDTDataV2) GetTickerName

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

func (*ESDTDataV2) GetTokenName

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

func (*ESDTDataV2) GetTokenType

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

func (*ESDTDataV2) GetUpgradable

func (m *ESDTDataV2) GetUpgradable() bool

func (*ESDTDataV2) GoString

func (this *ESDTDataV2) GoString() string

func (*ESDTDataV2) Marshal

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

func (*ESDTDataV2) MarshalTo

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

func (*ESDTDataV2) MarshalToSizedBuffer

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

func (*ESDTDataV2) ProtoMessage

func (*ESDTDataV2) ProtoMessage()

func (*ESDTDataV2) Reset

func (m *ESDTDataV2) Reset()

func (*ESDTDataV2) Size

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

func (*ESDTDataV2) String

func (this *ESDTDataV2) String() string

func (*ESDTDataV2) Unmarshal

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

func (*ESDTDataV2) XXX_DiscardUnknown

func (m *ESDTDataV2) XXX_DiscardUnknown()

func (*ESDTDataV2) XXX_Marshal

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

func (*ESDTDataV2) XXX_Merge

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

func (*ESDTDataV2) XXX_Size

func (m *ESDTDataV2) XXX_Size() int

func (*ESDTDataV2) XXX_Unmarshal

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

type ESDTRoles

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

func (*ESDTRoles) Descriptor

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

func (*ESDTRoles) Equal

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

func (*ESDTRoles) GetAddress

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

func (*ESDTRoles) GetRoles

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

func (*ESDTRoles) GoString

func (this *ESDTRoles) GoString() string

func (*ESDTRoles) Marshal

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

func (*ESDTRoles) MarshalTo

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

func (*ESDTRoles) MarshalToSizedBuffer

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

func (*ESDTRoles) ProtoMessage

func (*ESDTRoles) ProtoMessage()

func (*ESDTRoles) Reset

func (m *ESDTRoles) Reset()

func (*ESDTRoles) Size

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

func (*ESDTRoles) String

func (this *ESDTRoles) String() string

func (*ESDTRoles) Unmarshal

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

func (*ESDTRoles) XXX_DiscardUnknown

func (m *ESDTRoles) XXX_DiscardUnknown()

func (*ESDTRoles) XXX_Marshal

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

func (*ESDTRoles) XXX_Merge

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

func (*ESDTRoles) XXX_Size

func (m *ESDTRoles) XXX_Size() int

func (*ESDTRoles) XXX_Unmarshal

func (m *ESDTRoles) 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 `` /* 142-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 {
	IssuerAddress  []byte        `protobuf:"bytes,1,opt,name=IssuerAddress,proto3" json:"IssuerAddress"`
	CommitHash     []byte        `protobuf:"bytes,2,opt,name=CommitHash,proto3" json:"CommitHash"`
	StartVoteNonce uint64        `protobuf:"varint,3,opt,name=StartVoteNonce,proto3" json:"StartVoteNonce"`
	EndVoteNonce   uint64        `protobuf:"varint,4,opt,name=EndVoteNonce,proto3" json:"EndVoteNonce"`
	Yes            *math_big.Int `` /* 138-byte string literal not displayed */
	No             *math_big.Int `` /* 136-byte string literal not displayed */
	Veto           *math_big.Int `` /* 140-byte string literal not displayed */
	Passed         bool          `protobuf:"varint,8,opt,name=Passed,proto3" json:"Passed"`
	Votes          [][]byte      `protobuf:"bytes,9,rep,name=Votes,proto3" json:"Votes"`
	TopReference   []byte        `protobuf:"bytes,10,opt,name=TopReference,proto3" json:"TopReference"`
	Closed         bool          `protobuf:"varint,11,opt,name=Closed,proto3" json:"Closed"`
}

func (*GeneralProposal) Descriptor

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

func (*GeneralProposal) Equal

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

func (*GeneralProposal) GetClosed

func (m *GeneralProposal) GetClosed() bool

func (*GeneralProposal) GetCommitHash

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

func (*GeneralProposal) GetEndVoteNonce

func (m *GeneralProposal) GetEndVoteNonce() uint64

func (*GeneralProposal) GetIssuerAddress

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

func (*GeneralProposal) GetNo

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

func (*GeneralProposal) GetPassed

func (m *GeneralProposal) GetPassed() bool

func (*GeneralProposal) GetStartVoteNonce

func (m *GeneralProposal) GetStartVoteNonce() uint64

func (*GeneralProposal) GetTopReference

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

func (*GeneralProposal) GetVeto

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

func (*GeneralProposal) GetVotes

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

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 `` /* 154-byte string literal not displayed */
	TotalUnStaked *math_big.Int `` /* 158-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 `` /* 154-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        *math_big.Int `` /* 150-byte string literal not displayed */
	MinPassThreshold *math_big.Int `` /* 164-byte string literal not displayed */
	MinVetoThreshold *math_big.Int `` /* 164-byte string literal not displayed */
	ProposalFee      *math_big.Int `` /* 154-byte string literal not displayed */
}

func (*GovernanceConfigV2) Descriptor

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

func (*GovernanceConfigV2) Equal

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

func (*GovernanceConfigV2) GetMinPassThreshold

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

func (*GovernanceConfigV2) GetMinQuorum

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

func (*GovernanceConfigV2) GetMinVetoThreshold

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

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 HardForkProposal

type HardForkProposal struct {
	EpochToHardFork    uint32 `protobuf:"varint,1,opt,name=EpochToHardFork,proto3" json:"EpochToHardFork"`
	NewSoftwareVersion []byte `protobuf:"bytes,2,opt,name=NewSoftwareVersion,proto3" json:"NewSoftwareVersion"`
	ProposalStatus     []byte `protobuf:"bytes,3,opt,name=ProposalStatus,proto3" json:"ProposalStatus"`
}

func (*HardForkProposal) Descriptor

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

func (*HardForkProposal) Equal

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

func (*HardForkProposal) GetEpochToHardFork

func (m *HardForkProposal) GetEpochToHardFork() uint32

func (*HardForkProposal) GetNewSoftwareVersion

func (m *HardForkProposal) GetNewSoftwareVersion() []byte

func (*HardForkProposal) GetProposalStatus

func (m *HardForkProposal) GetProposalStatus() []byte

func (*HardForkProposal) GoString

func (this *HardForkProposal) GoString() string

func (*HardForkProposal) Marshal

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

func (*HardForkProposal) MarshalTo

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

func (*HardForkProposal) MarshalToSizedBuffer

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

func (*HardForkProposal) ProtoMessage

func (*HardForkProposal) ProtoMessage()

func (*HardForkProposal) Reset

func (m *HardForkProposal) Reset()

func (*HardForkProposal) Size

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

func (*HardForkProposal) String

func (this *HardForkProposal) String() string

func (*HardForkProposal) Unmarshal

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

func (*HardForkProposal) XXX_DiscardUnknown

func (m *HardForkProposal) XXX_DiscardUnknown()

func (*HardForkProposal) XXX_Marshal

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

func (*HardForkProposal) XXX_Merge

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

func (*HardForkProposal) XXX_Size

func (m *HardForkProposal) XXX_Size() int

func (*HardForkProposal) XXX_Unmarshal

func (m *HardForkProposal) 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 RewardComputationData

type RewardComputationData struct {
	RewardsToDistribute *math_big.Int `` /* 170-byte string literal not displayed */
	TotalActive         *math_big.Int `` /* 154-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 `` /* 152-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 `` /* 152-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 `` /* 153-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 `` /* 152-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 `` /* 153-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 `` /* 158-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 ValidatorConfig

type ValidatorConfig struct {
	MinStakeValue *math_big.Int `` /* 158-byte string literal not displayed */
	TotalSupply   *math_big.Int `` /* 154-byte string literal not displayed */
	MinStep       *math_big.Int `` /* 146-byte string literal not displayed */
	NodePrice     *math_big.Int `` /* 150-byte string literal not displayed */
	UnJailPrice   *math_big.Int `` /* 154-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 `` /* 162-byte string literal not displayed */
	LockedStake     *math_big.Int `` /* 154-byte string literal not displayed */
	MaxStakePerNode *math_big.Int `` /* 162-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    `` /* 162-byte string literal not displayed */
	LockedStake     *math_big.Int    `` /* 154-byte string literal not displayed */
	MaxStakePerNode *math_big.Int    `` /* 162-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    `` /* 159-byte string literal not displayed */
	TotalSlashed    *math_big.Int    `` /* 157-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 VoteDetails

type VoteDetails struct {
	Value       VoteValueType `protobuf:"varint,1,opt,name=Value,proto3,enum=proto.VoteValueType" json:"Value"`
	Power       *math_big.Int `` /* 142-byte string literal not displayed */
	Balance     *math_big.Int `` /* 146-byte string literal not displayed */
	DelegatedTo []byte        `protobuf:"bytes,4,opt,name=DelegatedTo,proto3" json:"DelegatedTo"`
}

func (*VoteDetails) Descriptor

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

func (*VoteDetails) Equal

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

func (*VoteDetails) GetBalance

func (m *VoteDetails) GetBalance() *math_big.Int

func (*VoteDetails) GetDelegatedTo

func (m *VoteDetails) GetDelegatedTo() []byte

func (*VoteDetails) GetPower

func (m *VoteDetails) GetPower() *math_big.Int

func (*VoteDetails) GetValue

func (m *VoteDetails) GetValue() VoteValueType

func (*VoteDetails) GoString

func (this *VoteDetails) GoString() string

func (*VoteDetails) Marshal

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

func (*VoteDetails) MarshalTo

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

func (*VoteDetails) MarshalToSizedBuffer

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

func (*VoteDetails) ProtoMessage

func (*VoteDetails) ProtoMessage()

func (*VoteDetails) Reset

func (m *VoteDetails) Reset()

func (*VoteDetails) Size

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

func (*VoteDetails) String

func (this *VoteDetails) String() string

func (*VoteDetails) Unmarshal

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

func (*VoteDetails) XXX_DiscardUnknown

func (m *VoteDetails) XXX_DiscardUnknown()

func (*VoteDetails) XXX_Marshal

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

func (*VoteDetails) XXX_Merge

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

func (*VoteDetails) XXX_Size

func (m *VoteDetails) XXX_Size() int

func (*VoteDetails) XXX_Unmarshal

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

type VoteSet

type VoteSet struct {
	UsedPower   *math_big.Int  `` /* 150-byte string literal not displayed */
	UsedBalance *math_big.Int  `` /* 154-byte string literal not displayed */
	TotalYes    *math_big.Int  `` /* 148-byte string literal not displayed */
	TotalNo     *math_big.Int  `` /* 146-byte string literal not displayed */
	TotalVeto   *math_big.Int  `` /* 150-byte string literal not displayed */
	VoteItems   []*VoteDetails `protobuf:"bytes,6,rep,name=VoteItems,proto3" json:"VoteItems"`
}

func (*VoteSet) Descriptor

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

func (*VoteSet) Equal

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

func (*VoteSet) GetTotalNo

func (m *VoteSet) GetTotalNo() *math_big.Int

func (*VoteSet) GetTotalVeto

func (m *VoteSet) GetTotalVeto() *math_big.Int

func (*VoteSet) GetTotalYes

func (m *VoteSet) GetTotalYes() *math_big.Int

func (*VoteSet) GetUsedBalance

func (m *VoteSet) GetUsedBalance() *math_big.Int

func (*VoteSet) GetUsedPower

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

func (*VoteSet) GetVoteItems

func (m *VoteSet) GetVoteItems() []*VoteDetails

func (*VoteSet) GoString

func (this *VoteSet) GoString() string

func (*VoteSet) Marshal

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

func (*VoteSet) MarshalTo

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

func (*VoteSet) MarshalToSizedBuffer

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

func (*VoteSet) ProtoMessage

func (*VoteSet) ProtoMessage()

func (*VoteSet) Reset

func (m *VoteSet) Reset()

func (*VoteSet) Size

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

func (*VoteSet) String

func (this *VoteSet) String() string

func (*VoteSet) Unmarshal

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

func (*VoteSet) XXX_DiscardUnknown

func (m *VoteSet) XXX_DiscardUnknown()

func (*VoteSet) XXX_Marshal

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

func (*VoteSet) XXX_Merge

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

func (*VoteSet) XXX_Size

func (m *VoteSet) XXX_Size() int

func (*VoteSet) XXX_Unmarshal

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

type VoteValueType

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

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

type WhiteListProposal

type WhiteListProposal struct {
	WhiteListAddress []byte `protobuf:"bytes,1,opt,name=WhiteListAddress,proto3" json:"WhiteListAddress"`
	ProposalStatus   []byte `protobuf:"bytes,2,opt,name=ProposalStatus,proto3" json:"ProposalStatus"`
}

func (*WhiteListProposal) Descriptor

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

func (*WhiteListProposal) Equal

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

func (*WhiteListProposal) GetProposalStatus

func (m *WhiteListProposal) GetProposalStatus() []byte

func (*WhiteListProposal) GetWhiteListAddress

func (m *WhiteListProposal) GetWhiteListAddress() []byte

func (*WhiteListProposal) GoString

func (this *WhiteListProposal) GoString() string

func (*WhiteListProposal) Marshal

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

func (*WhiteListProposal) MarshalTo

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

func (*WhiteListProposal) MarshalToSizedBuffer

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

func (*WhiteListProposal) ProtoMessage

func (*WhiteListProposal) ProtoMessage()

func (*WhiteListProposal) Reset

func (m *WhiteListProposal) Reset()

func (*WhiteListProposal) Size

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

func (*WhiteListProposal) String

func (this *WhiteListProposal) String() string

func (*WhiteListProposal) Unmarshal

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

func (*WhiteListProposal) XXX_DiscardUnknown

func (m *WhiteListProposal) XXX_DiscardUnknown()

func (*WhiteListProposal) XXX_Marshal

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

func (*WhiteListProposal) XXX_Merge

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

func (*WhiteListProposal) XXX_Size

func (m *WhiteListProposal) XXX_Size() int

func (*WhiteListProposal) XXX_Unmarshal

func (m *WhiteListProposal) 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