Documentation ¶
Index ¶
- Variables
- func CheckIfNil(args *vmcommon.ContractCallInput) error
- func NewESDTSmartContract(args ArgsNewESDTSmartContract) (*esdt, error)
- func NewGovernanceContract(args ArgsNewGovernanceContract) (*governanceContract, error)
- func NewStakingAuctionSmartContract(args ArgsStakingAuctionSmartContract) (*stakingAuctionSC, error)
- func NewStakingSmartContract(args ArgsNewStakingSmartContract) (*stakingSC, error)
- func NewVMContext(blockChainHook vmcommon.BlockchainHook, cryptoHook vmcommon.CryptoHook, ...) (*vmContext, error)
- type ArgsNewESDTSmartContract
- type ArgsNewGovernanceContract
- type ArgsNewStakingSmartContract
- type ArgsStakingAuctionSmartContract
- type AuctionConfig
- func (*AuctionConfig) Descriptor() ([]byte, []int)
- func (this *AuctionConfig) Equal(that interface{}) bool
- func (m *AuctionConfig) GetMinStakeValue() *math_big.Int
- func (m *AuctionConfig) GetMinStep() *math_big.Int
- func (m *AuctionConfig) GetNodePrice() *math_big.Int
- func (m *AuctionConfig) GetNumNodes() uint32
- func (m *AuctionConfig) GetTotalSupply() *math_big.Int
- func (m *AuctionConfig) GetUnJailPrice() *math_big.Int
- func (this *AuctionConfig) GoString() string
- func (m *AuctionConfig) Marshal() (dAtA []byte, err error)
- func (m *AuctionConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *AuctionConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuctionConfig) ProtoMessage()
- func (m *AuctionConfig) Reset()
- func (m *AuctionConfig) Size() (n int)
- func (this *AuctionConfig) String() string
- func (m *AuctionConfig) Unmarshal(dAtA []byte) error
- func (m *AuctionConfig) XXX_DiscardUnknown()
- func (m *AuctionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionConfig) XXX_Merge(src proto.Message)
- func (m *AuctionConfig) XXX_Size() int
- func (m *AuctionConfig) XXX_Unmarshal(b []byte) error
- type AuctionData
- func (*AuctionData) Descriptor() ([]byte, []int)
- func (this *AuctionData) Equal(that interface{}) bool
- func (m *AuctionData) GetBlsPubKeys() [][]byte
- func (m *AuctionData) GetEpoch() uint32
- func (m *AuctionData) GetLockedStake() *math_big.Int
- func (m *AuctionData) GetMaxStakePerNode() *math_big.Int
- func (m *AuctionData) GetNumRegistered() uint32
- func (m *AuctionData) GetRegisterNonce() uint64
- func (m *AuctionData) GetRewardAddress() []byte
- func (m *AuctionData) GetTotalStakeValue() *math_big.Int
- func (this *AuctionData) GoString() string
- func (m *AuctionData) Marshal() (dAtA []byte, err error)
- func (m *AuctionData) MarshalTo(dAtA []byte) (int, error)
- func (m *AuctionData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuctionData) ProtoMessage()
- func (m *AuctionData) Reset()
- func (m *AuctionData) Size() (n int)
- func (this *AuctionData) String() string
- func (m *AuctionData) Unmarshal(dAtA []byte) error
- func (m *AuctionData) XXX_DiscardUnknown()
- func (m *AuctionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuctionData) XXX_Merge(src proto.Message)
- func (m *AuctionData) XXX_Size() int
- func (m *AuctionData) XXX_Unmarshal(b []byte) error
- type ESDTConfig
- func (*ESDTConfig) Descriptor() ([]byte, []int)
- func (this *ESDTConfig) Equal(that interface{}) bool
- func (m *ESDTConfig) GetBaseIssuingCost() *math_big.Int
- func (m *ESDTConfig) GetMaxTokenNameLength() uint32
- func (m *ESDTConfig) GetMinTokenNameLength() uint32
- func (m *ESDTConfig) GetOwnerAddress() []byte
- func (this *ESDTConfig) GoString() string
- func (m *ESDTConfig) Marshal() (dAtA []byte, err error)
- func (m *ESDTConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ESDTConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ESDTConfig) ProtoMessage()
- func (m *ESDTConfig) Reset()
- func (m *ESDTConfig) Size() (n int)
- func (this *ESDTConfig) String() string
- func (m *ESDTConfig) Unmarshal(dAtA []byte) error
- func (m *ESDTConfig) XXX_DiscardUnknown()
- func (m *ESDTConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ESDTConfig) XXX_Merge(src proto.Message)
- func (m *ESDTConfig) XXX_Size() int
- func (m *ESDTConfig) XXX_Unmarshal(b []byte) error
- type ESDTData
- func (*ESDTData) Descriptor() ([]byte, []int)
- func (this *ESDTData) Equal(that interface{}) bool
- func (m *ESDTData) GetBurnable() bool
- func (m *ESDTData) GetBurntValue() *math_big.Int
- func (m *ESDTData) GetCanChangeOwner() bool
- func (m *ESDTData) GetCanFreeze() bool
- func (m *ESDTData) GetCanPause() bool
- func (m *ESDTData) GetCanWipe() bool
- func (m *ESDTData) GetIsPaused() bool
- func (m *ESDTData) GetMintable() bool
- func (m *ESDTData) GetMintedValue() *math_big.Int
- func (m *ESDTData) GetOwnerAddress() []byte
- func (m *ESDTData) GetPaused() bool
- func (m *ESDTData) GetTokenName() []byte
- func (m *ESDTData) GetUpgradable() bool
- func (this *ESDTData) GoString() string
- func (m *ESDTData) Marshal() (dAtA []byte, err error)
- func (m *ESDTData) MarshalTo(dAtA []byte) (int, error)
- func (m *ESDTData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ESDTData) ProtoMessage()
- func (m *ESDTData) Reset()
- func (m *ESDTData) Size() (n int)
- func (this *ESDTData) String() string
- func (m *ESDTData) Unmarshal(dAtA []byte) error
- func (m *ESDTData) XXX_DiscardUnknown()
- func (m *ESDTData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ESDTData) XXX_Merge(src proto.Message)
- func (m *ESDTData) XXX_Size() int
- func (m *ESDTData) XXX_Unmarshal(b []byte) error
- type ElementInList
- func (*ElementInList) Descriptor() ([]byte, []int)
- func (this *ElementInList) Equal(that interface{}) bool
- func (m *ElementInList) GetBLSPublicKey() []byte
- func (m *ElementInList) GetNextKey() []byte
- func (m *ElementInList) GetPreviousKey() []byte
- func (this *ElementInList) GoString() string
- func (m *ElementInList) Marshal() (dAtA []byte, err error)
- func (m *ElementInList) MarshalTo(dAtA []byte) (int, error)
- func (m *ElementInList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ElementInList) ProtoMessage()
- func (m *ElementInList) Reset()
- func (m *ElementInList) Size() (n int)
- func (this *ElementInList) String() string
- func (m *ElementInList) Unmarshal(dAtA []byte) error
- func (m *ElementInList) XXX_DiscardUnknown()
- func (m *ElementInList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ElementInList) XXX_Merge(src proto.Message)
- func (m *ElementInList) XXX_Size() int
- func (m *ElementInList) XXX_Unmarshal(b []byte) error
- type GeneralProposal
- func (*GeneralProposal) Descriptor() ([]byte, []int)
- func (this *GeneralProposal) Equal(that interface{}) bool
- func (m *GeneralProposal) GetClosed() bool
- func (m *GeneralProposal) GetDontCare() int32
- func (m *GeneralProposal) GetEndVoteNonce() uint64
- func (m *GeneralProposal) GetGitHubCommit() []byte
- func (m *GeneralProposal) GetIssuerAddress() []byte
- func (m *GeneralProposal) GetNo() int32
- func (m *GeneralProposal) GetStartVoteNonce() uint64
- func (m *GeneralProposal) GetTopReference() []byte
- func (m *GeneralProposal) GetVeto() int32
- func (m *GeneralProposal) GetVoted() bool
- func (m *GeneralProposal) GetVoters() [][]byte
- func (m *GeneralProposal) GetYes() int32
- func (this *GeneralProposal) GoString() string
- func (m *GeneralProposal) Marshal() (dAtA []byte, err error)
- func (m *GeneralProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *GeneralProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GeneralProposal) ProtoMessage()
- func (m *GeneralProposal) Reset()
- func (m *GeneralProposal) Size() (n int)
- func (this *GeneralProposal) String() string
- func (m *GeneralProposal) Unmarshal(dAtA []byte) error
- func (m *GeneralProposal) XXX_DiscardUnknown()
- func (m *GeneralProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GeneralProposal) XXX_Merge(src proto.Message)
- func (m *GeneralProposal) XXX_Size() int
- func (m *GeneralProposal) XXX_Unmarshal(b []byte) error
- type GovernanceConfig
- func (*GovernanceConfig) Descriptor() ([]byte, []int)
- func (this *GovernanceConfig) Equal(that interface{}) bool
- func (m *GovernanceConfig) GetMinPassThreshold() int32
- func (m *GovernanceConfig) GetMinQuorum() int32
- func (m *GovernanceConfig) GetMinVetoThreshold() int32
- func (m *GovernanceConfig) GetNumNodes() int64
- func (m *GovernanceConfig) GetProposalFee() *math_big.Int
- func (this *GovernanceConfig) GoString() string
- func (m *GovernanceConfig) Marshal() (dAtA []byte, err error)
- func (m *GovernanceConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *GovernanceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GovernanceConfig) ProtoMessage()
- func (m *GovernanceConfig) Reset()
- func (m *GovernanceConfig) Size() (n int)
- func (this *GovernanceConfig) String() string
- func (m *GovernanceConfig) Unmarshal(dAtA []byte) error
- func (m *GovernanceConfig) XXX_DiscardUnknown()
- func (m *GovernanceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GovernanceConfig) XXX_Merge(src proto.Message)
- func (m *GovernanceConfig) XXX_Size() int
- func (m *GovernanceConfig) XXX_Unmarshal(b []byte) error
- type HardForkProposal
- func (*HardForkProposal) Descriptor() ([]byte, []int)
- func (this *HardForkProposal) Equal(that interface{}) bool
- func (m *HardForkProposal) GetEpochToHardFork() uint32
- func (m *HardForkProposal) GetNewSoftwareVersion() []byte
- func (m *HardForkProposal) GetProposalStatus() []byte
- func (this *HardForkProposal) GoString() string
- func (m *HardForkProposal) Marshal() (dAtA []byte, err error)
- func (m *HardForkProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *HardForkProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HardForkProposal) ProtoMessage()
- func (m *HardForkProposal) Reset()
- func (m *HardForkProposal) Size() (n int)
- func (this *HardForkProposal) String() string
- func (m *HardForkProposal) Unmarshal(dAtA []byte) error
- func (m *HardForkProposal) XXX_DiscardUnknown()
- func (m *HardForkProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HardForkProposal) XXX_Merge(src proto.Message)
- func (m *HardForkProposal) XXX_Size() int
- func (m *HardForkProposal) XXX_Unmarshal(b []byte) error
- type StakedDataV1
- func (*StakedDataV1) Descriptor() ([]byte, []int)
- func (this *StakedDataV1) Equal(that interface{}) bool
- func (m *StakedDataV1) GetJailed() bool
- func (m *StakedDataV1) GetJailedNonce() uint64
- func (m *StakedDataV1) GetJailedRound() uint64
- func (m *StakedDataV1) GetRegisterNonce() uint64
- func (m *StakedDataV1) GetRewardAddress() []byte
- func (m *StakedDataV1) GetStakeValue() *math_big.Int
- func (m *StakedDataV1) GetStaked() bool
- func (m *StakedDataV1) GetStakedNonce() uint64
- func (m *StakedDataV1) GetUnJailedNonce() uint64
- func (m *StakedDataV1) GetUnStakedEpoch() uint32
- func (m *StakedDataV1) GetUnStakedNonce() uint64
- func (m *StakedDataV1) GetWaiting() bool
- func (this *StakedDataV1) GoString() string
- func (m *StakedDataV1) Marshal() (dAtA []byte, err error)
- func (m *StakedDataV1) MarshalTo(dAtA []byte) (int, error)
- func (m *StakedDataV1) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StakedDataV1) ProtoMessage()
- func (m *StakedDataV1) Reset()
- func (m *StakedDataV1) Size() (n int)
- func (this *StakedDataV1) String() string
- func (m *StakedDataV1) Unmarshal(dAtA []byte) error
- func (m *StakedDataV1) XXX_DiscardUnknown()
- func (m *StakedDataV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakedDataV1) XXX_Merge(src proto.Message)
- func (m *StakedDataV1) XXX_Size() int
- func (m *StakedDataV1) XXX_Unmarshal(b []byte) error
- type StakedDataV2
- func (*StakedDataV2) Descriptor() ([]byte, []int)
- func (this *StakedDataV2) Equal(that interface{}) bool
- func (m *StakedDataV2) GetJailed() bool
- func (m *StakedDataV2) GetJailedNonce() uint64
- func (m *StakedDataV2) GetJailedRound() uint64
- func (m *StakedDataV2) GetNumJailed() uint32
- func (m *StakedDataV2) GetRegisterNonce() uint64
- func (m *StakedDataV2) GetRewardAddress() []byte
- func (m *StakedDataV2) GetSlashValue() *math_big.Int
- func (m *StakedDataV2) GetStakeValue() *math_big.Int
- func (m *StakedDataV2) GetStaked() bool
- func (m *StakedDataV2) GetStakedNonce() uint64
- func (m *StakedDataV2) GetUnJailedNonce() uint64
- func (m *StakedDataV2) GetUnStakedEpoch() uint32
- func (m *StakedDataV2) GetUnStakedNonce() uint64
- func (m *StakedDataV2) GetWaiting() bool
- func (this *StakedDataV2) GoString() string
- func (m *StakedDataV2) Marshal() (dAtA []byte, err error)
- func (m *StakedDataV2) MarshalTo(dAtA []byte) (int, error)
- func (m *StakedDataV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StakedDataV2) ProtoMessage()
- func (m *StakedDataV2) Reset()
- func (m *StakedDataV2) Size() (n int)
- func (this *StakedDataV2) String() string
- func (m *StakedDataV2) Unmarshal(dAtA []byte) error
- func (m *StakedDataV2) XXX_DiscardUnknown()
- func (m *StakedDataV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakedDataV2) XXX_Merge(src proto.Message)
- func (m *StakedDataV2) XXX_Size() int
- func (m *StakedDataV2) XXX_Unmarshal(b []byte) error
- type StakingNodesConfig
- func (*StakingNodesConfig) Descriptor() ([]byte, []int)
- func (this *StakingNodesConfig) Equal(that interface{}) bool
- func (m *StakingNodesConfig) GetJailedNodes() int64
- func (m *StakingNodesConfig) GetMaxNumNodes() int64
- func (m *StakingNodesConfig) GetMinNumNodes() int64
- func (m *StakingNodesConfig) GetStakedNodes() int64
- func (this *StakingNodesConfig) GoString() string
- func (m *StakingNodesConfig) Marshal() (dAtA []byte, err error)
- func (m *StakingNodesConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *StakingNodesConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StakingNodesConfig) ProtoMessage()
- func (m *StakingNodesConfig) Reset()
- func (m *StakingNodesConfig) Size() (n int)
- func (this *StakingNodesConfig) String() string
- func (m *StakingNodesConfig) Unmarshal(dAtA []byte) error
- func (m *StakingNodesConfig) XXX_DiscardUnknown()
- func (m *StakingNodesConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakingNodesConfig) XXX_Merge(src proto.Message)
- func (m *StakingNodesConfig) XXX_Size() int
- func (m *StakingNodesConfig) XXX_Unmarshal(b []byte) error
- type ValidatorData
- func (*ValidatorData) Descriptor() ([]byte, []int)
- func (this *ValidatorData) Equal(that interface{}) bool
- func (m *ValidatorData) GetDelegators() []*VoterData
- func (m *ValidatorData) GetNumNodes() int32
- func (this *ValidatorData) GoString() string
- func (m *ValidatorData) Marshal() (dAtA []byte, err error)
- func (m *ValidatorData) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorData) ProtoMessage()
- func (m *ValidatorData) Reset()
- func (m *ValidatorData) Size() (n int)
- func (this *ValidatorData) String() string
- func (m *ValidatorData) Unmarshal(dAtA []byte) error
- func (m *ValidatorData) XXX_DiscardUnknown()
- func (m *ValidatorData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorData) XXX_Merge(src proto.Message)
- func (m *ValidatorData) XXX_Size() int
- func (m *ValidatorData) XXX_Unmarshal(b []byte) error
- type VoteData
- func (*VoteData) Descriptor() ([]byte, []int)
- func (this *VoteData) Equal(that interface{}) bool
- func (m *VoteData) GetNumVotes() int32
- func (m *VoteData) GetVoteValue() string
- func (this *VoteData) GoString() string
- func (m *VoteData) Marshal() (dAtA []byte, err error)
- func (m *VoteData) MarshalTo(dAtA []byte) (int, error)
- func (m *VoteData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VoteData) ProtoMessage()
- func (m *VoteData) Reset()
- func (m *VoteData) Size() (n int)
- func (this *VoteData) String() string
- func (m *VoteData) Unmarshal(dAtA []byte) error
- func (m *VoteData) XXX_DiscardUnknown()
- func (m *VoteData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteData) XXX_Merge(src proto.Message)
- func (m *VoteData) XXX_Size() int
- func (m *VoteData) XXX_Unmarshal(b []byte) error
- type VoterData
- func (*VoterData) Descriptor() ([]byte, []int)
- func (this *VoterData) Equal(that interface{}) bool
- func (m *VoterData) GetAddress() []byte
- func (m *VoterData) GetNumNodes() int32
- func (this *VoterData) GoString() string
- func (m *VoterData) Marshal() (dAtA []byte, err error)
- func (m *VoterData) MarshalTo(dAtA []byte) (int, error)
- func (m *VoterData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VoterData) ProtoMessage()
- func (m *VoterData) Reset()
- func (m *VoterData) Size() (n int)
- func (this *VoterData) String() string
- func (m *VoterData) Unmarshal(dAtA []byte) error
- func (m *VoterData) XXX_DiscardUnknown()
- func (m *VoterData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoterData) XXX_Merge(src proto.Message)
- func (m *VoterData) XXX_Size() int
- func (m *VoterData) XXX_Unmarshal(b []byte) error
- type WaitingList
- func (*WaitingList) Descriptor() ([]byte, []int)
- func (this *WaitingList) Equal(that interface{}) bool
- func (m *WaitingList) GetFirstKey() []byte
- func (m *WaitingList) GetLastJailedKey() []byte
- func (m *WaitingList) GetLastKey() []byte
- func (m *WaitingList) GetLength() uint32
- func (this *WaitingList) GoString() string
- func (m *WaitingList) Marshal() (dAtA []byte, err error)
- func (m *WaitingList) MarshalTo(dAtA []byte) (int, error)
- func (m *WaitingList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WaitingList) ProtoMessage()
- func (m *WaitingList) Reset()
- func (m *WaitingList) Size() (n int)
- func (this *WaitingList) String() string
- func (m *WaitingList) Unmarshal(dAtA []byte) error
- func (m *WaitingList) XXX_DiscardUnknown()
- func (m *WaitingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WaitingList) XXX_Merge(src proto.Message)
- func (m *WaitingList) XXX_Size() int
- func (m *WaitingList) XXX_Unmarshal(b []byte) error
- type WhiteListProposal
- func (*WhiteListProposal) Descriptor() ([]byte, []int)
- func (this *WhiteListProposal) Equal(that interface{}) bool
- func (m *WhiteListProposal) GetProposalStatus() []byte
- func (m *WhiteListProposal) GetWhiteListAddress() []byte
- func (this *WhiteListProposal) GoString() string
- func (m *WhiteListProposal) Marshal() (dAtA []byte, err error)
- func (m *WhiteListProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *WhiteListProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WhiteListProposal) ProtoMessage()
- func (m *WhiteListProposal) Reset()
- func (m *WhiteListProposal) Size() (n int)
- func (this *WhiteListProposal) String() string
- func (m *WhiteListProposal) Unmarshal(dAtA []byte) error
- func (m *WhiteListProposal) XXX_DiscardUnknown()
- func (m *WhiteListProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WhiteListProposal) XXX_Merge(src proto.Message)
- func (m *WhiteListProposal) XXX_Size() int
- func (m *WhiteListProposal) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthAuction = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAuction = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAuction = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthEsdt = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEsdt = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEsdt = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func CheckIfNil ¶
func CheckIfNil(args *vmcommon.ContractCallInput) error
CheckIfNil verifies if contract call input is not nil
func NewESDTSmartContract ¶ added in v1.0.114
func NewESDTSmartContract(args ArgsNewESDTSmartContract) (*esdt, error)
NewESDTSmartContract creates the esdt smart contract, which controls the issuing of tokens
func NewGovernanceContract ¶ added in v1.0.133
func NewGovernanceContract(args ArgsNewGovernanceContract) (*governanceContract, error)
NewGovernanceContract creates a new governance smart contract
func NewStakingAuctionSmartContract ¶
func NewStakingAuctionSmartContract( args ArgsStakingAuctionSmartContract, ) (*stakingAuctionSC, error)
NewStakingAuctionSmartContract creates an auction smart contract
func NewStakingSmartContract ¶
func NewStakingSmartContract( args ArgsNewStakingSmartContract, ) (*stakingSC, error)
NewStakingSmartContract creates a staking smart contract
func NewVMContext ¶
func NewVMContext( blockChainHook vmcommon.BlockchainHook, cryptoHook vmcommon.CryptoHook, inputParser vm.ArgumentsParser, validatorAccountsDB state.AccountsAdapter, chanceComputer sharding.ChanceComputer, ) (*vmContext, error)
NewVMContext creates a context where smart contracts can run and write
Types ¶
type ArgsNewESDTSmartContract ¶ added in v1.0.114
type ArgsNewESDTSmartContract struct { Eei vm.SystemEI GasCost vm.GasCost ESDTSCConfig config.ESDTSystemSCConfig ESDTSCAddress []byte Marshalizer marshal.Marshalizer Hasher hashing.Hasher EpochNotifier vm.EpochNotifier }
ArgsNewESDTSmartContract defines the arguments needed for the esdt contract
type ArgsNewGovernanceContract ¶ added in v1.0.133
type ArgsNewGovernanceContract struct { Eei vm.SystemEI GasCost vm.GasCost GovernanceConfig config.GovernanceSystemSCConfig ESDTSCAddress []byte Marshalizer marshal.Marshalizer Hasher hashing.Hasher GovernanceSCAddress []byte StakingSCAddress []byte AuctionSCAddress []byte EpochNotifier vm.EpochNotifier }
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 }
ArgsNewStakingSmartContract holds the arguments needed to create a StakingSmartContract
type ArgsStakingAuctionSmartContract ¶
type ArgsStakingAuctionSmartContract struct { StakingSCConfig config.StakingSystemSCConfig GenesisTotalSupply *big.Int NumOfNodesToSelect uint64 Eei vm.SystemEI SigVerifier vm.MessageSignVerifier StakingSCAddress []byte AuctionSCAddress []byte GasCost vm.GasCost Marshalizer marshal.Marshalizer EpochNotifier vm.EpochNotifier }
ArgsStakingAuctionSmartContract is the arguments structure to create a new StakingAuctionSmartContract
type AuctionConfig ¶
type AuctionConfig struct { NumNodes uint32 `protobuf:"varint,1,opt,name=NumNodes,proto3" json:"NumNodes"` MinStakeValue *math_big.Int `` /* 148-byte string literal not displayed */ TotalSupply *math_big.Int `` /* 144-byte string literal not displayed */ MinStep *math_big.Int `` /* 136-byte string literal not displayed */ NodePrice *math_big.Int `` /* 140-byte string literal not displayed */ UnJailPrice *math_big.Int `` /* 144-byte string literal not displayed */ }
func (*AuctionConfig) Descriptor ¶ added in v1.0.114
func (*AuctionConfig) Descriptor() ([]byte, []int)
func (*AuctionConfig) Equal ¶ added in v1.0.114
func (this *AuctionConfig) Equal(that interface{}) bool
func (*AuctionConfig) GetMinStakeValue ¶ added in v1.0.114
func (m *AuctionConfig) GetMinStakeValue() *math_big.Int
func (*AuctionConfig) GetMinStep ¶ added in v1.0.114
func (m *AuctionConfig) GetMinStep() *math_big.Int
func (*AuctionConfig) GetNodePrice ¶ added in v1.0.114
func (m *AuctionConfig) GetNodePrice() *math_big.Int
func (*AuctionConfig) GetNumNodes ¶ added in v1.0.114
func (m *AuctionConfig) GetNumNodes() uint32
func (*AuctionConfig) GetTotalSupply ¶ added in v1.0.114
func (m *AuctionConfig) GetTotalSupply() *math_big.Int
func (*AuctionConfig) GetUnJailPrice ¶ added in v1.0.114
func (m *AuctionConfig) GetUnJailPrice() *math_big.Int
func (*AuctionConfig) GoString ¶ added in v1.0.114
func (this *AuctionConfig) GoString() string
func (*AuctionConfig) Marshal ¶ added in v1.0.114
func (m *AuctionConfig) Marshal() (dAtA []byte, err error)
func (*AuctionConfig) MarshalTo ¶ added in v1.0.114
func (m *AuctionConfig) MarshalTo(dAtA []byte) (int, error)
func (*AuctionConfig) MarshalToSizedBuffer ¶ added in v1.0.114
func (m *AuctionConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuctionConfig) ProtoMessage ¶ added in v1.0.114
func (*AuctionConfig) ProtoMessage()
func (*AuctionConfig) Reset ¶ added in v1.0.114
func (m *AuctionConfig) Reset()
func (*AuctionConfig) Size ¶ added in v1.0.114
func (m *AuctionConfig) Size() (n int)
func (*AuctionConfig) String ¶ added in v1.0.114
func (this *AuctionConfig) String() string
func (*AuctionConfig) Unmarshal ¶ added in v1.0.114
func (m *AuctionConfig) Unmarshal(dAtA []byte) error
func (*AuctionConfig) XXX_DiscardUnknown ¶ added in v1.0.114
func (m *AuctionConfig) XXX_DiscardUnknown()
func (*AuctionConfig) XXX_Marshal ¶ added in v1.0.114
func (m *AuctionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionConfig) XXX_Merge ¶ added in v1.0.114
func (m *AuctionConfig) XXX_Merge(src proto.Message)
func (*AuctionConfig) XXX_Size ¶ added in v1.0.114
func (m *AuctionConfig) XXX_Size() int
func (*AuctionConfig) XXX_Unmarshal ¶ added in v1.0.114
func (m *AuctionConfig) XXX_Unmarshal(b []byte) error
type AuctionData ¶
type AuctionData 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 `` /* 152-byte string literal not displayed */ LockedStake *math_big.Int `` /* 144-byte string literal not displayed */ MaxStakePerNode *math_big.Int `` /* 152-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 (*AuctionData) Descriptor ¶ added in v1.0.114
func (*AuctionData) Descriptor() ([]byte, []int)
func (*AuctionData) Equal ¶ added in v1.0.114
func (this *AuctionData) Equal(that interface{}) bool
func (*AuctionData) GetBlsPubKeys ¶ added in v1.0.114
func (m *AuctionData) GetBlsPubKeys() [][]byte
func (*AuctionData) GetEpoch ¶ added in v1.0.114
func (m *AuctionData) GetEpoch() uint32
func (*AuctionData) GetLockedStake ¶ added in v1.0.114
func (m *AuctionData) GetLockedStake() *math_big.Int
func (*AuctionData) GetMaxStakePerNode ¶ added in v1.0.114
func (m *AuctionData) GetMaxStakePerNode() *math_big.Int
func (*AuctionData) GetNumRegistered ¶ added in v1.0.150
func (m *AuctionData) GetNumRegistered() uint32
func (*AuctionData) GetRegisterNonce ¶ added in v1.0.114
func (m *AuctionData) GetRegisterNonce() uint64
func (*AuctionData) GetRewardAddress ¶ added in v1.0.114
func (m *AuctionData) GetRewardAddress() []byte
func (*AuctionData) GetTotalStakeValue ¶ added in v1.0.114
func (m *AuctionData) GetTotalStakeValue() *math_big.Int
func (*AuctionData) GoString ¶ added in v1.0.114
func (this *AuctionData) GoString() string
func (*AuctionData) Marshal ¶ added in v1.0.114
func (m *AuctionData) Marshal() (dAtA []byte, err error)
func (*AuctionData) MarshalTo ¶ added in v1.0.114
func (m *AuctionData) MarshalTo(dAtA []byte) (int, error)
func (*AuctionData) MarshalToSizedBuffer ¶ added in v1.0.114
func (m *AuctionData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuctionData) ProtoMessage ¶ added in v1.0.114
func (*AuctionData) ProtoMessage()
func (*AuctionData) Reset ¶ added in v1.0.114
func (m *AuctionData) Reset()
func (*AuctionData) Size ¶ added in v1.0.114
func (m *AuctionData) Size() (n int)
func (*AuctionData) String ¶ added in v1.0.114
func (this *AuctionData) String() string
func (*AuctionData) Unmarshal ¶ added in v1.0.114
func (m *AuctionData) Unmarshal(dAtA []byte) error
func (*AuctionData) XXX_DiscardUnknown ¶ added in v1.0.114
func (m *AuctionData) XXX_DiscardUnknown()
func (*AuctionData) XXX_Marshal ¶ added in v1.0.114
func (m *AuctionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuctionData) XXX_Merge ¶ added in v1.0.114
func (m *AuctionData) XXX_Merge(src proto.Message)
func (*AuctionData) XXX_Size ¶ added in v1.0.114
func (m *AuctionData) XXX_Size() int
func (*AuctionData) XXX_Unmarshal ¶ added in v1.0.114
func (m *AuctionData) XXX_Unmarshal(b []byte) error
type ESDTConfig ¶ added in v1.0.114
type ESDTConfig struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=OwnerAddress,proto3" json:"OwnerAddress"` BaseIssuingCost *math_big.Int `` /* 152-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 ¶ added in v1.0.114
func (*ESDTConfig) Descriptor() ([]byte, []int)
func (*ESDTConfig) Equal ¶ added in v1.0.114
func (this *ESDTConfig) Equal(that interface{}) bool
func (*ESDTConfig) GetBaseIssuingCost ¶ added in v1.0.114
func (m *ESDTConfig) GetBaseIssuingCost() *math_big.Int
func (*ESDTConfig) GetMaxTokenNameLength ¶ added in v1.0.114
func (m *ESDTConfig) GetMaxTokenNameLength() uint32
func (*ESDTConfig) GetMinTokenNameLength ¶ added in v1.0.114
func (m *ESDTConfig) GetMinTokenNameLength() uint32
func (*ESDTConfig) GetOwnerAddress ¶ added in v1.0.114
func (m *ESDTConfig) GetOwnerAddress() []byte
func (*ESDTConfig) GoString ¶ added in v1.0.114
func (this *ESDTConfig) GoString() string
func (*ESDTConfig) Marshal ¶ added in v1.0.114
func (m *ESDTConfig) Marshal() (dAtA []byte, err error)
func (*ESDTConfig) MarshalTo ¶ added in v1.0.114
func (m *ESDTConfig) MarshalTo(dAtA []byte) (int, error)
func (*ESDTConfig) MarshalToSizedBuffer ¶ added in v1.0.114
func (m *ESDTConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ESDTConfig) ProtoMessage ¶ added in v1.0.114
func (*ESDTConfig) ProtoMessage()
func (*ESDTConfig) Reset ¶ added in v1.0.114
func (m *ESDTConfig) Reset()
func (*ESDTConfig) Size ¶ added in v1.0.114
func (m *ESDTConfig) Size() (n int)
func (*ESDTConfig) String ¶ added in v1.0.114
func (this *ESDTConfig) String() string
func (*ESDTConfig) Unmarshal ¶ added in v1.0.114
func (m *ESDTConfig) Unmarshal(dAtA []byte) error
func (*ESDTConfig) XXX_DiscardUnknown ¶ added in v1.0.114
func (m *ESDTConfig) XXX_DiscardUnknown()
func (*ESDTConfig) XXX_Marshal ¶ added in v1.0.114
func (m *ESDTConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ESDTConfig) XXX_Merge ¶ added in v1.0.114
func (m *ESDTConfig) XXX_Merge(src proto.Message)
func (*ESDTConfig) XXX_Size ¶ added in v1.0.114
func (m *ESDTConfig) XXX_Size() int
func (*ESDTConfig) XXX_Unmarshal ¶ added in v1.0.114
func (m *ESDTConfig) XXX_Unmarshal(b []byte) error
type ESDTData ¶ added in v1.0.114
type ESDTData struct { OwnerAddress []byte `protobuf:"bytes,1,opt,name=OwnerAddress,proto3" json:"OwnerAddress"` TokenName []byte `protobuf:"bytes,2,opt,name=TokenName,proto3" json:"TokenName"` Mintable bool `protobuf:"varint,3,opt,name=Mintable,proto3" json:"Mintable"` Burnable bool `protobuf:"varint,4,opt,name=Burnable,proto3" json:"Burnable"` CanPause bool `protobuf:"varint,5,opt,name=CanPause,proto3" json:"CanPause"` Paused bool `protobuf:"varint,6,opt,name=Paused,proto3" json:"Paused"` CanFreeze bool `protobuf:"varint,7,opt,name=CanFreeze,proto3" json:"CanFreeze"` CanWipe bool `protobuf:"varint,8,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 `` /* 145-byte string literal not displayed */ BurntValue *math_big.Int `` /* 143-byte string literal not displayed */ }
func (*ESDTData) Descriptor ¶ added in v1.0.114
func (*ESDTData) GetBurnable ¶ added in v1.0.114
func (*ESDTData) GetBurntValue ¶ added in v1.0.114
func (*ESDTData) GetCanChangeOwner ¶ added in v1.1.3
func (*ESDTData) GetCanFreeze ¶ added in v1.0.114
func (*ESDTData) GetCanPause ¶ added in v1.0.114
func (*ESDTData) GetCanWipe ¶ added in v1.0.114
func (*ESDTData) GetIsPaused ¶ added in v1.1.3
func (*ESDTData) GetMintable ¶ added in v1.0.114
func (*ESDTData) GetMintedValue ¶ added in v1.0.114
func (*ESDTData) GetOwnerAddress ¶ added in v1.1.3
func (*ESDTData) GetTokenName ¶ added in v1.0.114
func (*ESDTData) GetUpgradable ¶ added in v1.1.3
func (*ESDTData) MarshalToSizedBuffer ¶ added in v1.0.114
func (*ESDTData) ProtoMessage ¶ added in v1.0.114
func (*ESDTData) ProtoMessage()
func (*ESDTData) XXX_DiscardUnknown ¶ added in v1.0.114
func (m *ESDTData) XXX_DiscardUnknown()
func (*ESDTData) XXX_Marshal ¶ added in v1.0.114
func (*ESDTData) XXX_Unmarshal ¶ added in v1.0.114
type ElementInList ¶ added in v1.0.149
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 ¶ added in v1.0.149
func (*ElementInList) Descriptor() ([]byte, []int)
func (*ElementInList) Equal ¶ added in v1.0.149
func (this *ElementInList) Equal(that interface{}) bool
func (*ElementInList) GetBLSPublicKey ¶ added in v1.0.149
func (m *ElementInList) GetBLSPublicKey() []byte
func (*ElementInList) GetNextKey ¶ added in v1.0.149
func (m *ElementInList) GetNextKey() []byte
func (*ElementInList) GetPreviousKey ¶ added in v1.0.149
func (m *ElementInList) GetPreviousKey() []byte
func (*ElementInList) GoString ¶ added in v1.0.149
func (this *ElementInList) GoString() string
func (*ElementInList) Marshal ¶ added in v1.0.149
func (m *ElementInList) Marshal() (dAtA []byte, err error)
func (*ElementInList) MarshalTo ¶ added in v1.0.149
func (m *ElementInList) MarshalTo(dAtA []byte) (int, error)
func (*ElementInList) MarshalToSizedBuffer ¶ added in v1.0.149
func (m *ElementInList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ElementInList) ProtoMessage ¶ added in v1.0.149
func (*ElementInList) ProtoMessage()
func (*ElementInList) Reset ¶ added in v1.0.149
func (m *ElementInList) Reset()
func (*ElementInList) Size ¶ added in v1.0.149
func (m *ElementInList) Size() (n int)
func (*ElementInList) String ¶ added in v1.0.149
func (this *ElementInList) String() string
func (*ElementInList) Unmarshal ¶ added in v1.0.149
func (m *ElementInList) Unmarshal(dAtA []byte) error
func (*ElementInList) XXX_DiscardUnknown ¶ added in v1.0.149
func (m *ElementInList) XXX_DiscardUnknown()
func (*ElementInList) XXX_Marshal ¶ added in v1.0.149
func (m *ElementInList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ElementInList) XXX_Merge ¶ added in v1.0.149
func (m *ElementInList) XXX_Merge(src proto.Message)
func (*ElementInList) XXX_Size ¶ added in v1.0.149
func (m *ElementInList) XXX_Size() int
func (*ElementInList) XXX_Unmarshal ¶ added in v1.0.149
func (m *ElementInList) XXX_Unmarshal(b []byte) error
type GeneralProposal ¶ added in v1.0.133
type GeneralProposal struct { IssuerAddress []byte `protobuf:"bytes,1,opt,name=IssuerAddress,proto3" json:"IssuerAddress"` GitHubCommit []byte `protobuf:"bytes,2,opt,name=GitHubCommit,proto3" json:"GitHubCommit"` StartVoteNonce uint64 `protobuf:"varint,3,opt,name=StartVoteNonce,proto3" json:"StartVoteNonce"` EndVoteNonce uint64 `protobuf:"varint,4,opt,name=EndVoteNonce,proto3" json:"EndVoteNonce"` Yes int32 `protobuf:"varint,5,opt,name=Yes,proto3" json:"Yes"` No int32 `protobuf:"varint,6,opt,name=No,proto3" json:"No"` Veto int32 `protobuf:"varint,7,opt,name=Veto,proto3" json:"Veto"` DontCare int32 `protobuf:"varint,8,opt,name=DontCare,proto3" json:"DontCare"` Voted bool `protobuf:"varint,9,opt,name=Voted,proto3" json:"Voted"` Voters [][]byte `protobuf:"bytes,10,rep,name=Voters,proto3" json:"Voters"` TopReference []byte `protobuf:"bytes,11,opt,name=TopReference,proto3" json:"TopReference"` Closed bool `protobuf:"varint,12,opt,name=Closed,proto3" json:"Closed"` }
func (*GeneralProposal) Descriptor ¶ added in v1.0.133
func (*GeneralProposal) Descriptor() ([]byte, []int)
func (*GeneralProposal) Equal ¶ added in v1.0.133
func (this *GeneralProposal) Equal(that interface{}) bool
func (*GeneralProposal) GetClosed ¶ added in v1.0.133
func (m *GeneralProposal) GetClosed() bool
func (*GeneralProposal) GetDontCare ¶ added in v1.0.133
func (m *GeneralProposal) GetDontCare() int32
func (*GeneralProposal) GetEndVoteNonce ¶ added in v1.0.133
func (m *GeneralProposal) GetEndVoteNonce() uint64
func (*GeneralProposal) GetGitHubCommit ¶ added in v1.0.133
func (m *GeneralProposal) GetGitHubCommit() []byte
func (*GeneralProposal) GetIssuerAddress ¶ added in v1.0.133
func (m *GeneralProposal) GetIssuerAddress() []byte
func (*GeneralProposal) GetNo ¶ added in v1.0.133
func (m *GeneralProposal) GetNo() int32
func (*GeneralProposal) GetStartVoteNonce ¶ added in v1.0.133
func (m *GeneralProposal) GetStartVoteNonce() uint64
func (*GeneralProposal) GetTopReference ¶ added in v1.0.133
func (m *GeneralProposal) GetTopReference() []byte
func (*GeneralProposal) GetVeto ¶ added in v1.0.133
func (m *GeneralProposal) GetVeto() int32
func (*GeneralProposal) GetVoted ¶ added in v1.0.133
func (m *GeneralProposal) GetVoted() bool
func (*GeneralProposal) GetVoters ¶ added in v1.0.133
func (m *GeneralProposal) GetVoters() [][]byte
func (*GeneralProposal) GetYes ¶ added in v1.0.133
func (m *GeneralProposal) GetYes() int32
func (*GeneralProposal) GoString ¶ added in v1.0.133
func (this *GeneralProposal) GoString() string
func (*GeneralProposal) Marshal ¶ added in v1.0.133
func (m *GeneralProposal) Marshal() (dAtA []byte, err error)
func (*GeneralProposal) MarshalTo ¶ added in v1.0.133
func (m *GeneralProposal) MarshalTo(dAtA []byte) (int, error)
func (*GeneralProposal) MarshalToSizedBuffer ¶ added in v1.0.133
func (m *GeneralProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GeneralProposal) ProtoMessage ¶ added in v1.0.133
func (*GeneralProposal) ProtoMessage()
func (*GeneralProposal) Reset ¶ added in v1.0.133
func (m *GeneralProposal) Reset()
func (*GeneralProposal) Size ¶ added in v1.0.133
func (m *GeneralProposal) Size() (n int)
func (*GeneralProposal) String ¶ added in v1.0.133
func (this *GeneralProposal) String() string
func (*GeneralProposal) Unmarshal ¶ added in v1.0.133
func (m *GeneralProposal) Unmarshal(dAtA []byte) error
func (*GeneralProposal) XXX_DiscardUnknown ¶ added in v1.0.133
func (m *GeneralProposal) XXX_DiscardUnknown()
func (*GeneralProposal) XXX_Marshal ¶ added in v1.0.133
func (m *GeneralProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GeneralProposal) XXX_Merge ¶ added in v1.0.133
func (m *GeneralProposal) XXX_Merge(src proto.Message)
func (*GeneralProposal) XXX_Size ¶ added in v1.0.133
func (m *GeneralProposal) XXX_Size() int
func (*GeneralProposal) XXX_Unmarshal ¶ added in v1.0.133
func (m *GeneralProposal) XXX_Unmarshal(b []byte) error
type GovernanceConfig ¶ added in v1.0.133
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 `` /* 144-byte string literal not displayed */ }
func (*GovernanceConfig) Descriptor ¶ added in v1.0.133
func (*GovernanceConfig) Descriptor() ([]byte, []int)
func (*GovernanceConfig) Equal ¶ added in v1.0.133
func (this *GovernanceConfig) Equal(that interface{}) bool
func (*GovernanceConfig) GetMinPassThreshold ¶ added in v1.0.133
func (m *GovernanceConfig) GetMinPassThreshold() int32
func (*GovernanceConfig) GetMinQuorum ¶ added in v1.0.133
func (m *GovernanceConfig) GetMinQuorum() int32
func (*GovernanceConfig) GetMinVetoThreshold ¶ added in v1.0.133
func (m *GovernanceConfig) GetMinVetoThreshold() int32
func (*GovernanceConfig) GetNumNodes ¶ added in v1.0.133
func (m *GovernanceConfig) GetNumNodes() int64
func (*GovernanceConfig) GetProposalFee ¶ added in v1.0.133
func (m *GovernanceConfig) GetProposalFee() *math_big.Int
func (*GovernanceConfig) GoString ¶ added in v1.0.133
func (this *GovernanceConfig) GoString() string
func (*GovernanceConfig) Marshal ¶ added in v1.0.133
func (m *GovernanceConfig) Marshal() (dAtA []byte, err error)
func (*GovernanceConfig) MarshalTo ¶ added in v1.0.133
func (m *GovernanceConfig) MarshalTo(dAtA []byte) (int, error)
func (*GovernanceConfig) MarshalToSizedBuffer ¶ added in v1.0.133
func (m *GovernanceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GovernanceConfig) ProtoMessage ¶ added in v1.0.133
func (*GovernanceConfig) ProtoMessage()
func (*GovernanceConfig) Reset ¶ added in v1.0.133
func (m *GovernanceConfig) Reset()
func (*GovernanceConfig) Size ¶ added in v1.0.133
func (m *GovernanceConfig) Size() (n int)
func (*GovernanceConfig) String ¶ added in v1.0.133
func (this *GovernanceConfig) String() string
func (*GovernanceConfig) Unmarshal ¶ added in v1.0.133
func (m *GovernanceConfig) Unmarshal(dAtA []byte) error
func (*GovernanceConfig) XXX_DiscardUnknown ¶ added in v1.0.133
func (m *GovernanceConfig) XXX_DiscardUnknown()
func (*GovernanceConfig) XXX_Marshal ¶ added in v1.0.133
func (m *GovernanceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GovernanceConfig) XXX_Merge ¶ added in v1.0.133
func (m *GovernanceConfig) XXX_Merge(src proto.Message)
func (*GovernanceConfig) XXX_Size ¶ added in v1.0.133
func (m *GovernanceConfig) XXX_Size() int
func (*GovernanceConfig) XXX_Unmarshal ¶ added in v1.0.133
func (m *GovernanceConfig) XXX_Unmarshal(b []byte) error
type HardForkProposal ¶ added in v1.0.133
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 ¶ added in v1.0.133
func (*HardForkProposal) Descriptor() ([]byte, []int)
func (*HardForkProposal) Equal ¶ added in v1.0.133
func (this *HardForkProposal) Equal(that interface{}) bool
func (*HardForkProposal) GetEpochToHardFork ¶ added in v1.0.133
func (m *HardForkProposal) GetEpochToHardFork() uint32
func (*HardForkProposal) GetNewSoftwareVersion ¶ added in v1.0.133
func (m *HardForkProposal) GetNewSoftwareVersion() []byte
func (*HardForkProposal) GetProposalStatus ¶ added in v1.0.133
func (m *HardForkProposal) GetProposalStatus() []byte
func (*HardForkProposal) GoString ¶ added in v1.0.133
func (this *HardForkProposal) GoString() string
func (*HardForkProposal) Marshal ¶ added in v1.0.133
func (m *HardForkProposal) Marshal() (dAtA []byte, err error)
func (*HardForkProposal) MarshalTo ¶ added in v1.0.133
func (m *HardForkProposal) MarshalTo(dAtA []byte) (int, error)
func (*HardForkProposal) MarshalToSizedBuffer ¶ added in v1.0.133
func (m *HardForkProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HardForkProposal) ProtoMessage ¶ added in v1.0.133
func (*HardForkProposal) ProtoMessage()
func (*HardForkProposal) Reset ¶ added in v1.0.133
func (m *HardForkProposal) Reset()
func (*HardForkProposal) Size ¶ added in v1.0.133
func (m *HardForkProposal) Size() (n int)
func (*HardForkProposal) String ¶ added in v1.0.133
func (this *HardForkProposal) String() string
func (*HardForkProposal) Unmarshal ¶ added in v1.0.133
func (m *HardForkProposal) Unmarshal(dAtA []byte) error
func (*HardForkProposal) XXX_DiscardUnknown ¶ added in v1.0.133
func (m *HardForkProposal) XXX_DiscardUnknown()
func (*HardForkProposal) XXX_Marshal ¶ added in v1.0.133
func (m *HardForkProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HardForkProposal) XXX_Merge ¶ added in v1.0.133
func (m *HardForkProposal) XXX_Merge(src proto.Message)
func (*HardForkProposal) XXX_Size ¶ added in v1.0.133
func (m *HardForkProposal) XXX_Size() int
func (*HardForkProposal) XXX_Unmarshal ¶ added in v1.0.133
func (m *HardForkProposal) XXX_Unmarshal(b []byte) error
type StakedDataV1 ¶ added in v1.1.2
type StakedDataV1 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 `` /* 142-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) Descriptor ¶ added in v1.1.2
func (*StakedDataV1) Descriptor() ([]byte, []int)
func (*StakedDataV1) Equal ¶ added in v1.1.2
func (this *StakedDataV1) Equal(that interface{}) bool
func (*StakedDataV1) GetJailed ¶ added in v1.1.2
func (m *StakedDataV1) GetJailed() bool
func (*StakedDataV1) GetJailedNonce ¶ added in v1.1.2
func (m *StakedDataV1) GetJailedNonce() uint64
func (*StakedDataV1) GetJailedRound ¶ added in v1.1.2
func (m *StakedDataV1) GetJailedRound() uint64
func (*StakedDataV1) GetRegisterNonce ¶ added in v1.1.2
func (m *StakedDataV1) GetRegisterNonce() uint64
func (*StakedDataV1) GetRewardAddress ¶ added in v1.1.2
func (m *StakedDataV1) GetRewardAddress() []byte
func (*StakedDataV1) GetStakeValue ¶ added in v1.1.2
func (m *StakedDataV1) GetStakeValue() *math_big.Int
func (*StakedDataV1) GetStaked ¶ added in v1.1.2
func (m *StakedDataV1) GetStaked() bool
func (*StakedDataV1) GetStakedNonce ¶ added in v1.1.2
func (m *StakedDataV1) GetStakedNonce() uint64
func (*StakedDataV1) GetUnJailedNonce ¶ added in v1.1.2
func (m *StakedDataV1) GetUnJailedNonce() uint64
func (*StakedDataV1) GetUnStakedEpoch ¶ added in v1.1.2
func (m *StakedDataV1) GetUnStakedEpoch() uint32
func (*StakedDataV1) GetUnStakedNonce ¶ added in v1.1.2
func (m *StakedDataV1) GetUnStakedNonce() uint64
func (*StakedDataV1) GetWaiting ¶ added in v1.1.2
func (m *StakedDataV1) GetWaiting() bool
func (*StakedDataV1) GoString ¶ added in v1.1.2
func (this *StakedDataV1) GoString() string
func (*StakedDataV1) Marshal ¶ added in v1.1.2
func (m *StakedDataV1) Marshal() (dAtA []byte, err error)
func (*StakedDataV1) MarshalTo ¶ added in v1.1.2
func (m *StakedDataV1) MarshalTo(dAtA []byte) (int, error)
func (*StakedDataV1) MarshalToSizedBuffer ¶ added in v1.1.2
func (m *StakedDataV1) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StakedDataV1) ProtoMessage ¶ added in v1.1.2
func (*StakedDataV1) ProtoMessage()
func (*StakedDataV1) Reset ¶ added in v1.1.2
func (m *StakedDataV1) Reset()
func (*StakedDataV1) Size ¶ added in v1.1.2
func (m *StakedDataV1) Size() (n int)
func (*StakedDataV1) String ¶ added in v1.1.2
func (this *StakedDataV1) String() string
func (*StakedDataV1) Unmarshal ¶ added in v1.1.2
func (m *StakedDataV1) Unmarshal(dAtA []byte) error
func (*StakedDataV1) XXX_DiscardUnknown ¶ added in v1.1.2
func (m *StakedDataV1) XXX_DiscardUnknown()
func (*StakedDataV1) XXX_Marshal ¶ added in v1.1.2
func (m *StakedDataV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakedDataV1) XXX_Merge ¶ added in v1.1.2
func (m *StakedDataV1) XXX_Merge(src proto.Message)
func (*StakedDataV1) XXX_Size ¶ added in v1.1.2
func (m *StakedDataV1) XXX_Size() int
func (*StakedDataV1) XXX_Unmarshal ¶ added in v1.1.2
func (m *StakedDataV1) XXX_Unmarshal(b []byte) error
type StakedDataV2 ¶ added in v1.1.2
type StakedDataV2 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 `` /* 142-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 `` /* 143-byte string literal not displayed */ }
func (*StakedDataV2) Descriptor ¶ added in v1.1.2
func (*StakedDataV2) Descriptor() ([]byte, []int)
func (*StakedDataV2) Equal ¶ added in v1.1.2
func (this *StakedDataV2) Equal(that interface{}) bool
func (*StakedDataV2) GetJailed ¶ added in v1.1.2
func (m *StakedDataV2) GetJailed() bool
func (*StakedDataV2) GetJailedNonce ¶ added in v1.1.2
func (m *StakedDataV2) GetJailedNonce() uint64
func (*StakedDataV2) GetJailedRound ¶ added in v1.1.2
func (m *StakedDataV2) GetJailedRound() uint64
func (*StakedDataV2) GetNumJailed ¶ added in v1.1.2
func (m *StakedDataV2) GetNumJailed() uint32
func (*StakedDataV2) GetRegisterNonce ¶ added in v1.1.2
func (m *StakedDataV2) GetRegisterNonce() uint64
func (*StakedDataV2) GetRewardAddress ¶ added in v1.1.2
func (m *StakedDataV2) GetRewardAddress() []byte
func (*StakedDataV2) GetSlashValue ¶ added in v1.1.2
func (m *StakedDataV2) GetSlashValue() *math_big.Int
func (*StakedDataV2) GetStakeValue ¶ added in v1.1.2
func (m *StakedDataV2) GetStakeValue() *math_big.Int
func (*StakedDataV2) GetStaked ¶ added in v1.1.2
func (m *StakedDataV2) GetStaked() bool
func (*StakedDataV2) GetStakedNonce ¶ added in v1.1.2
func (m *StakedDataV2) GetStakedNonce() uint64
func (*StakedDataV2) GetUnJailedNonce ¶ added in v1.1.2
func (m *StakedDataV2) GetUnJailedNonce() uint64
func (*StakedDataV2) GetUnStakedEpoch ¶ added in v1.1.2
func (m *StakedDataV2) GetUnStakedEpoch() uint32
func (*StakedDataV2) GetUnStakedNonce ¶ added in v1.1.2
func (m *StakedDataV2) GetUnStakedNonce() uint64
func (*StakedDataV2) GetWaiting ¶ added in v1.1.2
func (m *StakedDataV2) GetWaiting() bool
func (*StakedDataV2) GoString ¶ added in v1.1.2
func (this *StakedDataV2) GoString() string
func (*StakedDataV2) Marshal ¶ added in v1.1.2
func (m *StakedDataV2) Marshal() (dAtA []byte, err error)
func (*StakedDataV2) MarshalTo ¶ added in v1.1.2
func (m *StakedDataV2) MarshalTo(dAtA []byte) (int, error)
func (*StakedDataV2) MarshalToSizedBuffer ¶ added in v1.1.2
func (m *StakedDataV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StakedDataV2) ProtoMessage ¶ added in v1.1.2
func (*StakedDataV2) ProtoMessage()
func (*StakedDataV2) Reset ¶ added in v1.1.2
func (m *StakedDataV2) Reset()
func (*StakedDataV2) Size ¶ added in v1.1.2
func (m *StakedDataV2) Size() (n int)
func (*StakedDataV2) String ¶ added in v1.1.2
func (this *StakedDataV2) String() string
func (*StakedDataV2) Unmarshal ¶ added in v1.1.2
func (m *StakedDataV2) Unmarshal(dAtA []byte) error
func (*StakedDataV2) XXX_DiscardUnknown ¶ added in v1.1.2
func (m *StakedDataV2) XXX_DiscardUnknown()
func (*StakedDataV2) XXX_Marshal ¶ added in v1.1.2
func (m *StakedDataV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakedDataV2) XXX_Merge ¶ added in v1.1.2
func (m *StakedDataV2) XXX_Merge(src proto.Message)
func (*StakedDataV2) XXX_Size ¶ added in v1.1.2
func (m *StakedDataV2) XXX_Size() int
func (*StakedDataV2) XXX_Unmarshal ¶ added in v1.1.2
func (m *StakedDataV2) XXX_Unmarshal(b []byte) error
type StakingNodesConfig ¶ added in v1.0.110
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 ¶ added in v1.0.114
func (*StakingNodesConfig) Descriptor() ([]byte, []int)
func (*StakingNodesConfig) Equal ¶ added in v1.0.114
func (this *StakingNodesConfig) Equal(that interface{}) bool
func (*StakingNodesConfig) GetJailedNodes ¶ added in v1.0.114
func (m *StakingNodesConfig) GetJailedNodes() int64
func (*StakingNodesConfig) GetMaxNumNodes ¶ added in v1.0.147
func (m *StakingNodesConfig) GetMaxNumNodes() int64
func (*StakingNodesConfig) GetMinNumNodes ¶ added in v1.0.114
func (m *StakingNodesConfig) GetMinNumNodes() int64
func (*StakingNodesConfig) GetStakedNodes ¶ added in v1.0.114
func (m *StakingNodesConfig) GetStakedNodes() int64
func (*StakingNodesConfig) GoString ¶ added in v1.0.114
func (this *StakingNodesConfig) GoString() string
func (*StakingNodesConfig) Marshal ¶ added in v1.0.114
func (m *StakingNodesConfig) Marshal() (dAtA []byte, err error)
func (*StakingNodesConfig) MarshalTo ¶ added in v1.0.114
func (m *StakingNodesConfig) MarshalTo(dAtA []byte) (int, error)
func (*StakingNodesConfig) MarshalToSizedBuffer ¶ added in v1.0.114
func (m *StakingNodesConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StakingNodesConfig) ProtoMessage ¶ added in v1.0.114
func (*StakingNodesConfig) ProtoMessage()
func (*StakingNodesConfig) Reset ¶ added in v1.0.114
func (m *StakingNodesConfig) Reset()
func (*StakingNodesConfig) Size ¶ added in v1.0.114
func (m *StakingNodesConfig) Size() (n int)
func (*StakingNodesConfig) String ¶ added in v1.0.114
func (this *StakingNodesConfig) String() string
func (*StakingNodesConfig) Unmarshal ¶ added in v1.0.114
func (m *StakingNodesConfig) Unmarshal(dAtA []byte) error
func (*StakingNodesConfig) XXX_DiscardUnknown ¶ added in v1.0.114
func (m *StakingNodesConfig) XXX_DiscardUnknown()
func (*StakingNodesConfig) XXX_Marshal ¶ added in v1.0.114
func (m *StakingNodesConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakingNodesConfig) XXX_Merge ¶ added in v1.0.114
func (m *StakingNodesConfig) XXX_Merge(src proto.Message)
func (*StakingNodesConfig) XXX_Size ¶ added in v1.0.114
func (m *StakingNodesConfig) XXX_Size() int
func (*StakingNodesConfig) XXX_Unmarshal ¶ added in v1.0.114
func (m *StakingNodesConfig) XXX_Unmarshal(b []byte) error
type ValidatorData ¶ added in v1.0.133
type ValidatorData struct { Delegators []*VoterData `protobuf:"bytes,1,rep,name=Delegators,proto3" json:"Delegators"` NumNodes int32 `protobuf:"varint,2,opt,name=NumNodes,proto3" json:"NumNodes"` }
func (*ValidatorData) Descriptor ¶ added in v1.0.133
func (*ValidatorData) Descriptor() ([]byte, []int)
func (*ValidatorData) Equal ¶ added in v1.0.133
func (this *ValidatorData) Equal(that interface{}) bool
func (*ValidatorData) GetDelegators ¶ added in v1.0.133
func (m *ValidatorData) GetDelegators() []*VoterData
func (*ValidatorData) GetNumNodes ¶ added in v1.0.133
func (m *ValidatorData) GetNumNodes() int32
func (*ValidatorData) GoString ¶ added in v1.0.133
func (this *ValidatorData) GoString() string
func (*ValidatorData) Marshal ¶ added in v1.0.133
func (m *ValidatorData) Marshal() (dAtA []byte, err error)
func (*ValidatorData) MarshalTo ¶ added in v1.0.133
func (m *ValidatorData) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorData) MarshalToSizedBuffer ¶ added in v1.0.133
func (m *ValidatorData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorData) ProtoMessage ¶ added in v1.0.133
func (*ValidatorData) ProtoMessage()
func (*ValidatorData) Reset ¶ added in v1.0.133
func (m *ValidatorData) Reset()
func (*ValidatorData) Size ¶ added in v1.0.133
func (m *ValidatorData) Size() (n int)
func (*ValidatorData) String ¶ added in v1.0.133
func (this *ValidatorData) String() string
func (*ValidatorData) Unmarshal ¶ added in v1.0.133
func (m *ValidatorData) Unmarshal(dAtA []byte) error
func (*ValidatorData) XXX_DiscardUnknown ¶ added in v1.0.133
func (m *ValidatorData) XXX_DiscardUnknown()
func (*ValidatorData) XXX_Marshal ¶ added in v1.0.133
func (m *ValidatorData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorData) XXX_Merge ¶ added in v1.0.133
func (m *ValidatorData) XXX_Merge(src proto.Message)
func (*ValidatorData) XXX_Size ¶ added in v1.0.133
func (m *ValidatorData) XXX_Size() int
func (*ValidatorData) XXX_Unmarshal ¶ added in v1.0.133
func (m *ValidatorData) XXX_Unmarshal(b []byte) error
type VoteData ¶ added in v1.0.133
type VoteData struct { NumVotes int32 `protobuf:"varint,1,opt,name=NumVotes,proto3" json:"VoteData"` VoteValue string `protobuf:"bytes,2,opt,name=VoteValue,proto3" json:"VoteValue"` }
func (*VoteData) Descriptor ¶ added in v1.0.133
func (*VoteData) GetNumVotes ¶ added in v1.0.133
func (*VoteData) GetVoteValue ¶ added in v1.0.133
func (*VoteData) MarshalToSizedBuffer ¶ added in v1.0.133
func (*VoteData) ProtoMessage ¶ added in v1.0.133
func (*VoteData) ProtoMessage()
func (*VoteData) XXX_DiscardUnknown ¶ added in v1.0.133
func (m *VoteData) XXX_DiscardUnknown()
func (*VoteData) XXX_Marshal ¶ added in v1.0.133
func (*VoteData) XXX_Unmarshal ¶ added in v1.0.133
type VoterData ¶ added in v1.0.133
type VoterData struct { Address []byte `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address"` NumNodes int32 `protobuf:"varint,2,opt,name=NumNodes,proto3" json:"NumNodes"` }
func (*VoterData) Descriptor ¶ added in v1.0.133
func (*VoterData) GetAddress ¶ added in v1.0.133
func (*VoterData) GetNumNodes ¶ added in v1.0.133
func (*VoterData) MarshalToSizedBuffer ¶ added in v1.0.133
func (*VoterData) ProtoMessage ¶ added in v1.0.133
func (*VoterData) ProtoMessage()
func (*VoterData) XXX_DiscardUnknown ¶ added in v1.0.133
func (m *VoterData) XXX_DiscardUnknown()
func (*VoterData) XXX_Marshal ¶ added in v1.0.133
func (*VoterData) XXX_Unmarshal ¶ added in v1.0.133
type WaitingList ¶ added in v1.0.149
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 ¶ added in v1.0.149
func (*WaitingList) Descriptor() ([]byte, []int)
func (*WaitingList) Equal ¶ added in v1.0.149
func (this *WaitingList) Equal(that interface{}) bool
func (*WaitingList) GetFirstKey ¶ added in v1.0.149
func (m *WaitingList) GetFirstKey() []byte
func (*WaitingList) GetLastJailedKey ¶ added in v1.1.1
func (m *WaitingList) GetLastJailedKey() []byte
func (*WaitingList) GetLastKey ¶ added in v1.0.149
func (m *WaitingList) GetLastKey() []byte
func (*WaitingList) GetLength ¶ added in v1.0.149
func (m *WaitingList) GetLength() uint32
func (*WaitingList) GoString ¶ added in v1.0.149
func (this *WaitingList) GoString() string
func (*WaitingList) Marshal ¶ added in v1.0.149
func (m *WaitingList) Marshal() (dAtA []byte, err error)
func (*WaitingList) MarshalTo ¶ added in v1.0.149
func (m *WaitingList) MarshalTo(dAtA []byte) (int, error)
func (*WaitingList) MarshalToSizedBuffer ¶ added in v1.0.149
func (m *WaitingList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WaitingList) ProtoMessage ¶ added in v1.0.149
func (*WaitingList) ProtoMessage()
func (*WaitingList) Reset ¶ added in v1.0.149
func (m *WaitingList) Reset()
func (*WaitingList) Size ¶ added in v1.0.149
func (m *WaitingList) Size() (n int)
func (*WaitingList) String ¶ added in v1.0.149
func (this *WaitingList) String() string
func (*WaitingList) Unmarshal ¶ added in v1.0.149
func (m *WaitingList) Unmarshal(dAtA []byte) error
func (*WaitingList) XXX_DiscardUnknown ¶ added in v1.0.149
func (m *WaitingList) XXX_DiscardUnknown()
func (*WaitingList) XXX_Marshal ¶ added in v1.0.149
func (m *WaitingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WaitingList) XXX_Merge ¶ added in v1.0.149
func (m *WaitingList) XXX_Merge(src proto.Message)
func (*WaitingList) XXX_Size ¶ added in v1.0.149
func (m *WaitingList) XXX_Size() int
func (*WaitingList) XXX_Unmarshal ¶ added in v1.0.149
func (m *WaitingList) XXX_Unmarshal(b []byte) error
type WhiteListProposal ¶ added in v1.0.133
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 ¶ added in v1.0.133
func (*WhiteListProposal) Descriptor() ([]byte, []int)
func (*WhiteListProposal) Equal ¶ added in v1.0.133
func (this *WhiteListProposal) Equal(that interface{}) bool
func (*WhiteListProposal) GetProposalStatus ¶ added in v1.0.133
func (m *WhiteListProposal) GetProposalStatus() []byte
func (*WhiteListProposal) GetWhiteListAddress ¶ added in v1.0.133
func (m *WhiteListProposal) GetWhiteListAddress() []byte
func (*WhiteListProposal) GoString ¶ added in v1.0.133
func (this *WhiteListProposal) GoString() string
func (*WhiteListProposal) Marshal ¶ added in v1.0.133
func (m *WhiteListProposal) Marshal() (dAtA []byte, err error)
func (*WhiteListProposal) MarshalTo ¶ added in v1.0.133
func (m *WhiteListProposal) MarshalTo(dAtA []byte) (int, error)
func (*WhiteListProposal) MarshalToSizedBuffer ¶ added in v1.0.133
func (m *WhiteListProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WhiteListProposal) ProtoMessage ¶ added in v1.0.133
func (*WhiteListProposal) ProtoMessage()
func (*WhiteListProposal) Reset ¶ added in v1.0.133
func (m *WhiteListProposal) Reset()
func (*WhiteListProposal) Size ¶ added in v1.0.133
func (m *WhiteListProposal) Size() (n int)
func (*WhiteListProposal) String ¶ added in v1.0.133
func (this *WhiteListProposal) String() string
func (*WhiteListProposal) Unmarshal ¶ added in v1.0.133
func (m *WhiteListProposal) Unmarshal(dAtA []byte) error
func (*WhiteListProposal) XXX_DiscardUnknown ¶ added in v1.0.133
func (m *WhiteListProposal) XXX_DiscardUnknown()
func (*WhiteListProposal) XXX_Marshal ¶ added in v1.0.133
func (m *WhiteListProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WhiteListProposal) XXX_Merge ¶ added in v1.0.133
func (m *WhiteListProposal) XXX_Merge(src proto.Message)
func (*WhiteListProposal) XXX_Size ¶ added in v1.0.133
func (m *WhiteListProposal) XXX_Size() int
func (*WhiteListProposal) XXX_Unmarshal ¶ added in v1.0.133
func (m *WhiteListProposal) XXX_Unmarshal(b []byte) error