models

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: BSD-3-Clause Imports: 4 Imported by: 38

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TxType_name = map[int32]string{
		0:        "TX_UNKNOWN",
		1:        "NEW_PROCESS",
		10000000: "CANCEL_PROCESS",
		2:        "SET_PROCESS_STATUS",
		3:        "SET_PROCESS_CENSUS",
		4:        "SET_PROCESS_QUESTION_INDEX",
		5:        "ADD_PROCESS_KEYS",
		6:        "REVEAL_PROCESS_KEYS",
		7:        "ADD_ORACLE",
		8:        "REMOVE_ORACLE",
		9:        "ADD_VALIDATOR",
		10:       "REMOVE_VALIDATOR",
	}
	TxType_value = map[string]int32{
		"TX_UNKNOWN":                 0,
		"NEW_PROCESS":                1,
		"CANCEL_PROCESS":             10000000,
		"SET_PROCESS_STATUS":         2,
		"SET_PROCESS_CENSUS":         3,
		"SET_PROCESS_QUESTION_INDEX": 4,
		"ADD_PROCESS_KEYS":           5,
		"REVEAL_PROCESS_KEYS":        6,
		"ADD_ORACLE":                 7,
		"REMOVE_ORACLE":              8,
		"ADD_VALIDATOR":              9,
		"REMOVE_VALIDATOR":           10,
	}
)

Enum value maps for TxType.

View Source
var (
	ProcessStatus_name = map[int32]string{
		0: "PROCESS_UNKNOWN",
		1: "READY",
		2: "ENDED",
		3: "CANCELED",
		4: "PAUSED",
		5: "RESULTS",
	}
	ProcessStatus_value = map[string]int32{
		"PROCESS_UNKNOWN": 0,
		"READY":           1,
		"ENDED":           2,
		"CANCELED":        3,
		"PAUSED":          4,
		"RESULTS":         5,
	}
)

Enum value maps for ProcessStatus.

View Source
var (
	CensusOrigin_name = map[int32]string{
		0: "CENSUS_UNKNOWN",
		1: "OFF_CHAIN",
		2: "ERC20",
		3: "ERC721",
		4: "ERC1155",
		5: "ERC777",
		6: "MINI_ME",
	}
	CensusOrigin_value = map[string]int32{
		"CENSUS_UNKNOWN": 0,
		"OFF_CHAIN":      1,
		"ERC20":          2,
		"ERC721":         3,
		"ERC1155":        4,
		"ERC777":         5,
		"MINI_ME":        6,
	}
)

Enum value maps for CensusOrigin.

View Source
var File_common_vote_proto protoreflect.FileDescriptor
View Source
var File_vochain_vochain_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdminTx

type AdminTx struct {
	Txtype               TxType  `protobuf:"varint,1,opt,name=txtype,proto3,enum=dvote.types.v1.TxType" json:"txtype,omitempty"`
	ProcessId            []byte  `protobuf:"bytes,2,opt,name=processId,proto3" json:"processId,omitempty"`
	Address              []byte  `protobuf:"bytes,3,opt,name=address,proto3,oneof" json:"address,omitempty"`
	CommitmentKey        []byte  `protobuf:"bytes,4,opt,name=commitmentKey,proto3,oneof" json:"commitmentKey,omitempty"`
	EncryptionPrivateKey []byte  `protobuf:"bytes,5,opt,name=encryptionPrivateKey,proto3,oneof" json:"encryptionPrivateKey,omitempty"`
	EncryptionPublicKey  []byte  `protobuf:"bytes,6,opt,name=encryptionPublicKey,proto3,oneof" json:"encryptionPublicKey,omitempty"`
	KeyIndex             *uint32 `protobuf:"varint,7,opt,name=keyIndex,proto3,oneof" json:"keyIndex,omitempty"`
	Power                *uint64 `protobuf:"varint,8,opt,name=power,proto3,oneof" json:"power,omitempty"`
	PublicKey            []byte  `protobuf:"bytes,9,opt,name=publicKey,proto3,oneof" json:"publicKey,omitempty"`
	RevealKey            []byte  `protobuf:"bytes,10,opt,name=revealKey,proto3,oneof" json:"revealKey,omitempty"`
	Nonce                []byte  `protobuf:"bytes,11,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminTx) Descriptor deprecated

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

Deprecated: Use AdminTx.ProtoReflect.Descriptor instead.

func (*AdminTx) GetAddress

func (x *AdminTx) GetAddress() []byte

func (*AdminTx) GetCommitmentKey

func (x *AdminTx) GetCommitmentKey() []byte

func (*AdminTx) GetEncryptionPrivateKey

func (x *AdminTx) GetEncryptionPrivateKey() []byte

func (*AdminTx) GetEncryptionPublicKey

func (x *AdminTx) GetEncryptionPublicKey() []byte

func (*AdminTx) GetKeyIndex

func (x *AdminTx) GetKeyIndex() uint32

func (*AdminTx) GetNonce

func (x *AdminTx) GetNonce() []byte

func (*AdminTx) GetPower

func (x *AdminTx) GetPower() uint64

func (*AdminTx) GetProcessId

func (x *AdminTx) GetProcessId() []byte

func (*AdminTx) GetPublicKey

func (x *AdminTx) GetPublicKey() []byte

func (*AdminTx) GetRevealKey

func (x *AdminTx) GetRevealKey() []byte

func (*AdminTx) GetTxtype

func (x *AdminTx) GetTxtype() TxType

func (*AdminTx) ProtoMessage

func (*AdminTx) ProtoMessage()

func (*AdminTx) ProtoReflect

func (x *AdminTx) ProtoReflect() protoreflect.Message

func (*AdminTx) Reset

func (x *AdminTx) Reset()

func (*AdminTx) String

func (x *AdminTx) String() string

type CancelProcessTx

type CancelProcessTx struct {
	Txtype    TxType `protobuf:"varint,1,opt,name=txtype,proto3,enum=dvote.types.v1.TxType" json:"txtype,omitempty"`
	ProcessId []byte `protobuf:"bytes,2,opt,name=processId,proto3" json:"processId,omitempty"`
	Nonce     []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelProcessTx) Descriptor deprecated

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

Deprecated: Use CancelProcessTx.ProtoReflect.Descriptor instead.

func (*CancelProcessTx) GetNonce

func (x *CancelProcessTx) GetNonce() []byte

func (*CancelProcessTx) GetProcessId

func (x *CancelProcessTx) GetProcessId() []byte

func (*CancelProcessTx) GetTxtype

func (x *CancelProcessTx) GetTxtype() TxType

func (*CancelProcessTx) ProtoMessage

func (*CancelProcessTx) ProtoMessage()

func (*CancelProcessTx) ProtoReflect

func (x *CancelProcessTx) ProtoReflect() protoreflect.Message

func (*CancelProcessTx) Reset

func (x *CancelProcessTx) Reset()

func (*CancelProcessTx) String

func (x *CancelProcessTx) String() string

type CensusOrigin

type CensusOrigin int32
const (
	CensusOrigin_CENSUS_UNKNOWN CensusOrigin = 0
	CensusOrigin_OFF_CHAIN      CensusOrigin = 1
	CensusOrigin_ERC20          CensusOrigin = 2
	CensusOrigin_ERC721         CensusOrigin = 3
	CensusOrigin_ERC1155        CensusOrigin = 4
	CensusOrigin_ERC777         CensusOrigin = 5
	CensusOrigin_MINI_ME        CensusOrigin = 6
)

func (CensusOrigin) Descriptor

func (CensusOrigin) Enum

func (x CensusOrigin) Enum() *CensusOrigin

func (CensusOrigin) EnumDescriptor deprecated

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

Deprecated: Use CensusOrigin.Descriptor instead.

func (CensusOrigin) Number

func (CensusOrigin) String

func (x CensusOrigin) String() string

func (CensusOrigin) Type

type EnvelopeType

type EnvelopeType struct {
	Serial         bool `protobuf:"varint,1,opt,name=serial,proto3" json:"serial,omitempty"`
	Anonymous      bool `protobuf:"varint,2,opt,name=anonymous,proto3" json:"anonymous,omitempty"`
	EncryptedVotes bool `protobuf:"varint,3,opt,name=encryptedVotes,proto3" json:"encryptedVotes,omitempty"`
	UniqueValues   bool `protobuf:"varint,4,opt,name=uniqueValues,proto3" json:"uniqueValues,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvelopeType) Descriptor deprecated

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

Deprecated: Use EnvelopeType.ProtoReflect.Descriptor instead.

func (*EnvelopeType) GetAnonymous

func (x *EnvelopeType) GetAnonymous() bool

func (*EnvelopeType) GetEncryptedVotes

func (x *EnvelopeType) GetEncryptedVotes() bool

func (*EnvelopeType) GetSerial

func (x *EnvelopeType) GetSerial() bool

func (*EnvelopeType) GetUniqueValues

func (x *EnvelopeType) GetUniqueValues() bool

func (*EnvelopeType) ProtoMessage

func (*EnvelopeType) ProtoMessage()

func (*EnvelopeType) ProtoReflect

func (x *EnvelopeType) ProtoReflect() protoreflect.Message

func (*EnvelopeType) Reset

func (x *EnvelopeType) Reset()

func (*EnvelopeType) String

func (x *EnvelopeType) String() string

type NewProcessTx

type NewProcessTx struct {
	Txtype  TxType   `protobuf:"varint,1,opt,name=txtype,proto3,enum=dvote.types.v1.TxType" json:"txtype,omitempty"`
	Nonce   []byte   `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Process *Process `protobuf:"bytes,3,opt,name=process,proto3" json:"process,omitempty"`
	// contains filtered or unexported fields
}

func (*NewProcessTx) Descriptor deprecated

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

Deprecated: Use NewProcessTx.ProtoReflect.Descriptor instead.

func (*NewProcessTx) GetNonce

func (x *NewProcessTx) GetNonce() []byte

func (*NewProcessTx) GetProcess

func (x *NewProcessTx) GetProcess() *Process

func (*NewProcessTx) GetTxtype

func (x *NewProcessTx) GetTxtype() TxType

func (*NewProcessTx) ProtoMessage

func (*NewProcessTx) ProtoMessage()

func (*NewProcessTx) ProtoReflect

func (x *NewProcessTx) ProtoReflect() protoreflect.Message

func (*NewProcessTx) Reset

func (x *NewProcessTx) Reset()

func (*NewProcessTx) String

func (x *NewProcessTx) String() string

type OracleList

type OracleList struct {
	Oracles [][]byte `protobuf:"bytes,1,rep,name=oracles,proto3" json:"oracles,omitempty"`
	// contains filtered or unexported fields
}

func (*OracleList) Descriptor deprecated

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

Deprecated: Use OracleList.ProtoReflect.Descriptor instead.

func (*OracleList) GetOracles

func (x *OracleList) GetOracles() [][]byte

func (*OracleList) ProtoMessage

func (*OracleList) ProtoMessage()

func (*OracleList) ProtoReflect

func (x *OracleList) ProtoReflect() protoreflect.Message

func (*OracleList) Reset

func (x *OracleList) Reset()

func (*OracleList) String

func (x *OracleList) String() string

type Process

type Process struct {
	ProcessId []byte `protobuf:"bytes,1,opt,name=processId,proto3" json:"processId,omitempty"`
	// EntityID identifies unequivocally a process
	EntityId []byte `protobuf:"bytes,2,opt,name=entityId,proto3" json:"entityId,omitempty"`
	// StartBlock represents the tendermint block where the process goes from scheduled to active
	StartBlock uint32 `protobuf:"varint,3,opt,name=startBlock,proto3" json:"startBlock,omitempty"`
	// BlockCount represents the amount of tendermint blocks that the process will last
	BlockCount uint32 `protobuf:"varint,4,opt,name=blockCount,proto3" json:"blockCount,omitempty"`
	// CensusMkRoot merkle root of all the census in the process
	CensusMkRoot []byte `protobuf:"bytes,5,opt,name=censusMkRoot,proto3" json:"censusMkRoot,omitempty"`
	// CensusMkURI merkle tree URI of all the census in the process
	CensusMkURI *string `protobuf:"bytes,6,opt,name=censusMkURI,proto3,oneof" json:"censusMkURI,omitempty"`
	// CommitmentKeys are the reveal keys hashed
	CommitmentKeys []string `protobuf:"bytes,7,rep,name=commitmentKeys,proto3" json:"commitmentKeys,omitempty"`
	// EncryptionPrivateKeys are the keys required to decrypt the votes
	EncryptionPrivateKeys []string `protobuf:"bytes,8,rep,name=encryptionPrivateKeys,proto3" json:"encryptionPrivateKeys,omitempty"`
	// EncryptionPublicKeys are the keys required to encrypt the votes
	EncryptionPublicKeys []string `protobuf:"bytes,9,rep,name=encryptionPublicKeys,proto3" json:"encryptionPublicKeys,omitempty"`
	// RevealKeys are the seed of the CommitmentKeys
	RevealKeys        []string            `protobuf:"bytes,10,rep,name=revealKeys,proto3" json:"revealKeys,omitempty"`
	KeyIndex          *uint32             `protobuf:"varint,11,opt,name=keyIndex,proto3,oneof" json:"keyIndex,omitempty"`
	Status            ProcessStatus       `protobuf:"varint,12,opt,name=status,proto3,enum=dvote.types.v1.ProcessStatus" json:"status,omitempty"`
	ParamsSignature   []byte              `protobuf:"bytes,13,opt,name=paramsSignature,proto3,oneof" json:"paramsSignature,omitempty"`
	Namespace         uint32              `protobuf:"varint,14,opt,name=namespace,proto3" json:"namespace,omitempty"`
	EnvelopeType      *EnvelopeType       `protobuf:"bytes,15,opt,name=envelopeType,proto3" json:"envelopeType,omitempty"`
	Mode              *ProcessMode        `protobuf:"bytes,16,opt,name=mode,proto3" json:"mode,omitempty"`
	QuestionIndex     *uint32             `protobuf:"varint,17,opt,name=questionIndex,proto3,oneof" json:"questionIndex,omitempty"`
	QuestionCount     *uint32             `protobuf:"varint,18,opt,name=questionCount,proto3,oneof" json:"questionCount,omitempty"`
	VoteOptions       *ProcessVoteOptions `protobuf:"bytes,19,opt,name=voteOptions,proto3" json:"voteOptions,omitempty"`
	CensusOrigin      CensusOrigin        `protobuf:"varint,20,opt,name=censusOrigin,proto3,enum=dvote.types.v1.CensusOrigin" json:"censusOrigin,omitempty"`
	Results           *ProcessResult      `protobuf:"bytes,21,opt,name=results,proto3" json:"results,omitempty"`
	ResultsSignatures [][]byte            `protobuf:"bytes,22,rep,name=resultsSignatures,proto3" json:"resultsSignatures,omitempty"`
	EthIndexSlot      *uint32             `protobuf:"varint,23,opt,name=ethIndexSlot,proto3,oneof" json:"ethIndexSlot,omitempty"`
	ProcessType       string              `protobuf:"bytes,10000000,opt,name=ProcessType,proto3" json:"ProcessType,omitempty"` // Legacy
	// contains filtered or unexported fields
}

func (*Process) Descriptor deprecated

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

Deprecated: Use Process.ProtoReflect.Descriptor instead.

func (*Process) GetBlockCount

func (x *Process) GetBlockCount() uint32

func (*Process) GetCensusMkRoot

func (x *Process) GetCensusMkRoot() []byte

func (*Process) GetCensusMkURI

func (x *Process) GetCensusMkURI() string

func (*Process) GetCensusOrigin

func (x *Process) GetCensusOrigin() CensusOrigin

func (*Process) GetCommitmentKeys

func (x *Process) GetCommitmentKeys() []string

func (*Process) GetEncryptionPrivateKeys

func (x *Process) GetEncryptionPrivateKeys() []string

func (*Process) GetEncryptionPublicKeys

func (x *Process) GetEncryptionPublicKeys() []string

func (*Process) GetEntityId

func (x *Process) GetEntityId() []byte

func (*Process) GetEnvelopeType

func (x *Process) GetEnvelopeType() *EnvelopeType

func (*Process) GetEthIndexSlot added in v0.1.1

func (x *Process) GetEthIndexSlot() uint32

func (*Process) GetKeyIndex

func (x *Process) GetKeyIndex() uint32

func (*Process) GetMode

func (x *Process) GetMode() *ProcessMode

func (*Process) GetNamespace

func (x *Process) GetNamespace() uint32

func (*Process) GetParamsSignature

func (x *Process) GetParamsSignature() []byte

func (*Process) GetProcessId

func (x *Process) GetProcessId() []byte

func (*Process) GetProcessType

func (x *Process) GetProcessType() string

func (*Process) GetQuestionCount

func (x *Process) GetQuestionCount() uint32

func (*Process) GetQuestionIndex

func (x *Process) GetQuestionIndex() uint32

func (*Process) GetResults

func (x *Process) GetResults() *ProcessResult

func (*Process) GetResultsSignatures

func (x *Process) GetResultsSignatures() [][]byte

func (*Process) GetRevealKeys

func (x *Process) GetRevealKeys() []string

func (*Process) GetStartBlock

func (x *Process) GetStartBlock() uint32

func (*Process) GetStatus

func (x *Process) GetStatus() ProcessStatus

func (*Process) GetVoteOptions

func (x *Process) GetVoteOptions() *ProcessVoteOptions

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) ProtoReflect

func (x *Process) ProtoReflect() protoreflect.Message

func (*Process) Reset

func (x *Process) Reset()

func (*Process) String

func (x *Process) String() string

type ProcessEndingList

type ProcessEndingList struct {
	ProcessList [][]byte `protobuf:"bytes,1,rep,name=processList,proto3" json:"processList,omitempty"`
	// contains filtered or unexported fields
}

func (*ProcessEndingList) Descriptor deprecated

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

Deprecated: Use ProcessEndingList.ProtoReflect.Descriptor instead.

func (*ProcessEndingList) GetProcessList

func (x *ProcessEndingList) GetProcessList() [][]byte

func (*ProcessEndingList) ProtoMessage

func (*ProcessEndingList) ProtoMessage()

func (*ProcessEndingList) ProtoReflect

func (x *ProcessEndingList) ProtoReflect() protoreflect.Message

func (*ProcessEndingList) Reset

func (x *ProcessEndingList) Reset()

func (*ProcessEndingList) String

func (x *ProcessEndingList) String() string

type ProcessMode

type ProcessMode struct {
	AutoStart         bool `protobuf:"varint,1,opt,name=autoStart,proto3" json:"autoStart,omitempty"`
	Interruptible     bool `protobuf:"varint,2,opt,name=interruptible,proto3" json:"interruptible,omitempty"`
	DynamicCensus     bool `protobuf:"varint,3,opt,name=dynamicCensus,proto3" json:"dynamicCensus,omitempty"`
	EncryptedMetaData bool `protobuf:"varint,4,opt,name=encryptedMetaData,proto3" json:"encryptedMetaData,omitempty"`
	// contains filtered or unexported fields
}

func (*ProcessMode) Descriptor deprecated

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

Deprecated: Use ProcessMode.ProtoReflect.Descriptor instead.

func (*ProcessMode) GetAutoStart

func (x *ProcessMode) GetAutoStart() bool

func (*ProcessMode) GetDynamicCensus

func (x *ProcessMode) GetDynamicCensus() bool

func (*ProcessMode) GetEncryptedMetaData

func (x *ProcessMode) GetEncryptedMetaData() bool

func (*ProcessMode) GetInterruptible

func (x *ProcessMode) GetInterruptible() bool

func (*ProcessMode) ProtoMessage

func (*ProcessMode) ProtoMessage()

func (*ProcessMode) ProtoReflect

func (x *ProcessMode) ProtoReflect() protoreflect.Message

func (*ProcessMode) Reset

func (x *ProcessMode) Reset()

func (*ProcessMode) String

func (x *ProcessMode) String() string

type ProcessResult

type ProcessResult struct {
	Votes     []*QuestionResult `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"`
	ProcessId []byte            `protobuf:"bytes,2,opt,name=processId,proto3,oneof" json:"processId,omitempty"`
	EntityId  []byte            `protobuf:"bytes,3,opt,name=entityId,proto3,oneof" json:"entityId,omitempty"`
	// contains filtered or unexported fields
}

Scrutinizer

func (*ProcessResult) Descriptor deprecated

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

Deprecated: Use ProcessResult.ProtoReflect.Descriptor instead.

func (*ProcessResult) GetEntityId

func (x *ProcessResult) GetEntityId() []byte

func (*ProcessResult) GetProcessId

func (x *ProcessResult) GetProcessId() []byte

func (*ProcessResult) GetVotes

func (x *ProcessResult) GetVotes() []*QuestionResult

func (*ProcessResult) ProtoMessage

func (*ProcessResult) ProtoMessage()

func (*ProcessResult) ProtoReflect

func (x *ProcessResult) ProtoReflect() protoreflect.Message

func (*ProcessResult) Reset

func (x *ProcessResult) Reset()

func (*ProcessResult) String

func (x *ProcessResult) String() string

type ProcessStatus

type ProcessStatus int32
const (
	ProcessStatus_PROCESS_UNKNOWN ProcessStatus = 0
	ProcessStatus_READY           ProcessStatus = 1
	ProcessStatus_ENDED           ProcessStatus = 2
	ProcessStatus_CANCELED        ProcessStatus = 3
	ProcessStatus_PAUSED          ProcessStatus = 4
	ProcessStatus_RESULTS         ProcessStatus = 5
)

func (ProcessStatus) Descriptor

func (ProcessStatus) Enum

func (x ProcessStatus) Enum() *ProcessStatus

func (ProcessStatus) EnumDescriptor deprecated

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

Deprecated: Use ProcessStatus.Descriptor instead.

func (ProcessStatus) Number

func (ProcessStatus) String

func (x ProcessStatus) String() string

func (ProcessStatus) Type

type ProcessVoteOptions

type ProcessVoteOptions struct {
	MaxCount          uint32 `protobuf:"varint,1,opt,name=maxCount,proto3" json:"maxCount,omitempty"`
	MaxValue          uint32 `protobuf:"varint,2,opt,name=maxValue,proto3" json:"maxValue,omitempty"`
	MaxVoteOverwrites uint32 `protobuf:"varint,3,opt,name=maxVoteOverwrites,proto3" json:"maxVoteOverwrites,omitempty"`
	MaxTotalCost      uint32 `protobuf:"varint,4,opt,name=maxTotalCost,proto3" json:"maxTotalCost,omitempty"`
	CostExponent      uint32 `protobuf:"varint,5,opt,name=costExponent,proto3" json:"costExponent,omitempty"`
	// contains filtered or unexported fields
}

func (*ProcessVoteOptions) Descriptor deprecated

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

Deprecated: Use ProcessVoteOptions.ProtoReflect.Descriptor instead.

func (*ProcessVoteOptions) GetCostExponent

func (x *ProcessVoteOptions) GetCostExponent() uint32

func (*ProcessVoteOptions) GetMaxCount

func (x *ProcessVoteOptions) GetMaxCount() uint32

func (*ProcessVoteOptions) GetMaxTotalCost

func (x *ProcessVoteOptions) GetMaxTotalCost() uint32

func (*ProcessVoteOptions) GetMaxValue

func (x *ProcessVoteOptions) GetMaxValue() uint32

func (*ProcessVoteOptions) GetMaxVoteOverwrites

func (x *ProcessVoteOptions) GetMaxVoteOverwrites() uint32

func (*ProcessVoteOptions) ProtoMessage

func (*ProcessVoteOptions) ProtoMessage()

func (*ProcessVoteOptions) ProtoReflect

func (x *ProcessVoteOptions) ProtoReflect() protoreflect.Message

func (*ProcessVoteOptions) Reset

func (x *ProcessVoteOptions) Reset()

func (*ProcessVoteOptions) String

func (x *ProcessVoteOptions) String() string

type Proof

type Proof struct {

	// Types that are assignable to Payload:
	//	*Proof_Graviton
	//	*Proof_Iden3
	//	*Proof_EthereumStorage
	//	*Proof_EthereumAccount
	Payload isProof_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*Proof) Descriptor deprecated

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

Deprecated: Use Proof.ProtoReflect.Descriptor instead.

func (*Proof) GetEthereumAccount

func (x *Proof) GetEthereumAccount() *ProofEthereumAccount

func (*Proof) GetEthereumStorage

func (x *Proof) GetEthereumStorage() *ProofEthereumStorage

func (*Proof) GetGraviton

func (x *Proof) GetGraviton() *ProofGraviton

func (*Proof) GetIden3

func (x *Proof) GetIden3() *ProofIden3

func (*Proof) GetPayload

func (m *Proof) GetPayload() isProof_Payload

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) ProtoReflect

func (x *Proof) ProtoReflect() protoreflect.Message

func (*Proof) Reset

func (x *Proof) Reset()

func (*Proof) String

func (x *Proof) String() string

type ProofEthereumAccount

type ProofEthereumAccount struct {
	Nonce       []byte   `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Balance     []byte   `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` // Big Int encoded as bytes
	StorageHash []byte   `protobuf:"bytes,3,opt,name=storageHash,proto3" json:"storageHash,omitempty"`
	CodeHash    []byte   `protobuf:"bytes,4,opt,name=codeHash,proto3" json:"codeHash,omitempty"`
	Siblings    [][]byte `protobuf:"bytes,5,rep,name=siblings,proto3" json:"siblings,omitempty"`
	// contains filtered or unexported fields
}

func (*ProofEthereumAccount) Descriptor deprecated

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

Deprecated: Use ProofEthereumAccount.ProtoReflect.Descriptor instead.

func (*ProofEthereumAccount) GetBalance

func (x *ProofEthereumAccount) GetBalance() []byte

func (*ProofEthereumAccount) GetCodeHash

func (x *ProofEthereumAccount) GetCodeHash() []byte

func (*ProofEthereumAccount) GetNonce

func (x *ProofEthereumAccount) GetNonce() []byte

func (*ProofEthereumAccount) GetSiblings

func (x *ProofEthereumAccount) GetSiblings() [][]byte

func (*ProofEthereumAccount) GetStorageHash

func (x *ProofEthereumAccount) GetStorageHash() []byte

func (*ProofEthereumAccount) ProtoMessage

func (*ProofEthereumAccount) ProtoMessage()

func (*ProofEthereumAccount) ProtoReflect

func (x *ProofEthereumAccount) ProtoReflect() protoreflect.Message

func (*ProofEthereumAccount) Reset

func (x *ProofEthereumAccount) Reset()

func (*ProofEthereumAccount) String

func (x *ProofEthereumAccount) String() string

type ProofEthereumStorage

type ProofEthereumStorage struct {
	Key      []byte   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value    []byte   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Siblings [][]byte `protobuf:"bytes,3,rep,name=siblings,proto3" json:"siblings,omitempty"`
	// contains filtered or unexported fields
}

func (*ProofEthereumStorage) Descriptor deprecated

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

Deprecated: Use ProofEthereumStorage.ProtoReflect.Descriptor instead.

func (*ProofEthereumStorage) GetKey

func (x *ProofEthereumStorage) GetKey() []byte

func (*ProofEthereumStorage) GetSiblings

func (x *ProofEthereumStorage) GetSiblings() [][]byte

func (*ProofEthereumStorage) GetValue

func (x *ProofEthereumStorage) GetValue() []byte

func (*ProofEthereumStorage) ProtoMessage

func (*ProofEthereumStorage) ProtoMessage()

func (*ProofEthereumStorage) ProtoReflect

func (x *ProofEthereumStorage) ProtoReflect() protoreflect.Message

func (*ProofEthereumStorage) Reset

func (x *ProofEthereumStorage) Reset()

func (*ProofEthereumStorage) String

func (x *ProofEthereumStorage) String() string

type ProofGraviton

type ProofGraviton struct {
	Siblings []byte `protobuf:"bytes,1,opt,name=siblings,proto3" json:"siblings,omitempty"`
	// contains filtered or unexported fields
}

func (*ProofGraviton) Descriptor deprecated

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

Deprecated: Use ProofGraviton.ProtoReflect.Descriptor instead.

func (*ProofGraviton) GetSiblings

func (x *ProofGraviton) GetSiblings() []byte

func (*ProofGraviton) ProtoMessage

func (*ProofGraviton) ProtoMessage()

func (*ProofGraviton) ProtoReflect

func (x *ProofGraviton) ProtoReflect() protoreflect.Message

func (*ProofGraviton) Reset

func (x *ProofGraviton) Reset()

func (*ProofGraviton) String

func (x *ProofGraviton) String() string

type ProofIden3

type ProofIden3 struct {
	Siblings []byte `protobuf:"bytes,1,opt,name=siblings,proto3" json:"siblings,omitempty"`
	// contains filtered or unexported fields
}

func (*ProofIden3) Descriptor deprecated

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

Deprecated: Use ProofIden3.ProtoReflect.Descriptor instead.

func (*ProofIden3) GetSiblings

func (x *ProofIden3) GetSiblings() []byte

func (*ProofIden3) ProtoMessage

func (*ProofIden3) ProtoMessage()

func (*ProofIden3) ProtoReflect

func (x *ProofIden3) ProtoReflect() protoreflect.Message

func (*ProofIden3) Reset

func (x *ProofIden3) Reset()

func (*ProofIden3) String

func (x *ProofIden3) String() string

type Proof_EthereumAccount

type Proof_EthereumAccount struct {
	EthereumAccount *ProofEthereumAccount `protobuf:"bytes,4,opt,name=ethereumAccount,proto3,oneof"`
}

type Proof_EthereumStorage

type Proof_EthereumStorage struct {
	EthereumStorage *ProofEthereumStorage `protobuf:"bytes,3,opt,name=ethereumStorage,proto3,oneof"`
}

type Proof_Graviton

type Proof_Graviton struct {
	Graviton *ProofGraviton `protobuf:"bytes,1,opt,name=graviton,proto3,oneof"`
}

type Proof_Iden3

type Proof_Iden3 struct {
	Iden3 *ProofIden3 `protobuf:"bytes,2,opt,name=iden3,proto3,oneof"`
}

type QuestionResult

type QuestionResult struct {
	Question []uint32 `protobuf:"varint,1,rep,packed,name=question,proto3" json:"question,omitempty"`
	// contains filtered or unexported fields
}

func (*QuestionResult) Descriptor deprecated

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

Deprecated: Use QuestionResult.ProtoReflect.Descriptor instead.

func (*QuestionResult) GetQuestion

func (x *QuestionResult) GetQuestion() []uint32

func (*QuestionResult) ProtoMessage

func (*QuestionResult) ProtoMessage()

func (*QuestionResult) ProtoReflect

func (x *QuestionResult) ProtoReflect() protoreflect.Message

func (*QuestionResult) Reset

func (x *QuestionResult) Reset()

func (*QuestionResult) String

func (x *QuestionResult) String() string

type SetProcessTx

type SetProcessTx struct {
	Txtype        TxType         `protobuf:"varint,1,opt,name=txtype,proto3,enum=dvote.types.v1.TxType" json:"txtype,omitempty"`
	Nonce         []byte         `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ProcessID     []byte         `protobuf:"bytes,3,opt,name=processID,proto3" json:"processID,omitempty"`
	Status        *ProcessStatus `protobuf:"varint,4,opt,name=status,proto3,enum=dvote.types.v1.ProcessStatus,oneof" json:"status,omitempty"`
	QuestionIndex *uint32        `protobuf:"varint,5,opt,name=questionIndex,proto3,oneof" json:"questionIndex,omitempty"`
	CensusMkRoot  []byte         `protobuf:"bytes,6,opt,name=censusMkRoot,proto3,oneof" json:"censusMkRoot,omitempty"`
	CensusMkURI   *string        `protobuf:"bytes,7,opt,name=censusMkURI,proto3,oneof" json:"censusMkURI,omitempty"`
	Proof         *Proof         `protobuf:"bytes,8,opt,name=proof,proto3,oneof" json:"proof,omitempty"`
	// contains filtered or unexported fields
}

func (*SetProcessTx) Descriptor deprecated

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

Deprecated: Use SetProcessTx.ProtoReflect.Descriptor instead.

func (*SetProcessTx) GetCensusMkRoot

func (x *SetProcessTx) GetCensusMkRoot() []byte

func (*SetProcessTx) GetCensusMkURI

func (x *SetProcessTx) GetCensusMkURI() string

func (*SetProcessTx) GetNonce

func (x *SetProcessTx) GetNonce() []byte

func (*SetProcessTx) GetProcessID

func (x *SetProcessTx) GetProcessID() []byte

func (*SetProcessTx) GetProof

func (x *SetProcessTx) GetProof() *Proof

func (*SetProcessTx) GetQuestionIndex

func (x *SetProcessTx) GetQuestionIndex() uint32

func (*SetProcessTx) GetStatus

func (x *SetProcessTx) GetStatus() ProcessStatus

func (*SetProcessTx) GetTxtype

func (x *SetProcessTx) GetTxtype() TxType

func (*SetProcessTx) ProtoMessage

func (*SetProcessTx) ProtoMessage()

func (*SetProcessTx) ProtoReflect

func (x *SetProcessTx) ProtoReflect() protoreflect.Message

func (*SetProcessTx) Reset

func (x *SetProcessTx) Reset()

func (*SetProcessTx) String

func (x *SetProcessTx) String() string

type StoredKeys

type StoredKeys struct {
	Pids [][]byte `protobuf:"bytes,1,rep,name=pids,proto3" json:"pids,omitempty"`
	// contains filtered or unexported fields
}

KeyKeeper

func (*StoredKeys) Descriptor deprecated

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

Deprecated: Use StoredKeys.ProtoReflect.Descriptor instead.

func (*StoredKeys) GetPids

func (x *StoredKeys) GetPids() [][]byte

func (*StoredKeys) ProtoMessage

func (*StoredKeys) ProtoMessage()

func (*StoredKeys) ProtoReflect

func (x *StoredKeys) ProtoReflect() protoreflect.Message

func (*StoredKeys) Reset

func (x *StoredKeys) Reset()

func (*StoredKeys) String

func (x *StoredKeys) String() string

type TendermintHeader

type TendermintHeader struct {

	// basic block info
	ChainId   string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Height    int64  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Timestamp int64  `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// prev block info
	BlockID []byte `protobuf:"bytes,5,opt,name=blockID,proto3" json:"blockID,omitempty"`
	// hashes of block data
	LastCommitHash []byte `protobuf:"bytes,6,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"` // commit from validators from the last block
	DataHash       []byte `protobuf:"bytes,7,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`                     // transactions
	// hashes from the app output from the prev block
	ValidatorsHash     []byte `protobuf:"bytes,8,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"`               // validators for the current block
	NextValidatorsHash []byte `protobuf:"bytes,9,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"` // validators for the next block
	ConsensusHash      []byte `protobuf:"bytes,10,opt,name=consensus_hash,json=consensusHash,proto3" json:"consensus_hash,omitempty"`                 // consensus params for current block
	AppHash            []byte `protobuf:"bytes,11,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`                                   // state after txs from the previous block
	LastResultsHash    []byte `protobuf:"bytes,12,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`         // root hash of all results from the txs from the previous block
	// consensus info
	EvidenceHash    []byte `protobuf:"bytes,13,opt,name=evidence_hash,json=evidenceHash,proto3" json:"evidence_hash,omitempty"`          // evidence included in the block
	ProposerAddress []byte `protobuf:"bytes,14,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` // original proposer of the block
	// contains filtered or unexported fields
}

func (*TendermintHeader) Descriptor deprecated

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

Deprecated: Use TendermintHeader.ProtoReflect.Descriptor instead.

func (*TendermintHeader) GetAppHash

func (x *TendermintHeader) GetAppHash() []byte

func (*TendermintHeader) GetBlockID

func (x *TendermintHeader) GetBlockID() []byte

func (*TendermintHeader) GetChainId

func (x *TendermintHeader) GetChainId() string

func (*TendermintHeader) GetConsensusHash

func (x *TendermintHeader) GetConsensusHash() []byte

func (*TendermintHeader) GetDataHash

func (x *TendermintHeader) GetDataHash() []byte

func (*TendermintHeader) GetEvidenceHash

func (x *TendermintHeader) GetEvidenceHash() []byte

func (*TendermintHeader) GetHeight

func (x *TendermintHeader) GetHeight() int64

func (*TendermintHeader) GetLastCommitHash

func (x *TendermintHeader) GetLastCommitHash() []byte

func (*TendermintHeader) GetLastResultsHash

func (x *TendermintHeader) GetLastResultsHash() []byte

func (*TendermintHeader) GetNextValidatorsHash

func (x *TendermintHeader) GetNextValidatorsHash() []byte

func (*TendermintHeader) GetProposerAddress

func (x *TendermintHeader) GetProposerAddress() []byte

func (*TendermintHeader) GetTimestamp

func (x *TendermintHeader) GetTimestamp() int64

func (*TendermintHeader) GetValidatorsHash

func (x *TendermintHeader) GetValidatorsHash() []byte

func (*TendermintHeader) ProtoMessage

func (*TendermintHeader) ProtoMessage()

func (*TendermintHeader) ProtoReflect

func (x *TendermintHeader) ProtoReflect() protoreflect.Message

func (*TendermintHeader) Reset

func (x *TendermintHeader) Reset()

func (*TendermintHeader) String

func (x *TendermintHeader) String() string

type Tx

type Tx struct {

	// Types that are assignable to Payload:
	//	*Tx_Vote
	//	*Tx_NewProcess
	//	*Tx_CancelProcess
	//	*Tx_Admin
	//	*Tx_SetProcess
	Payload   isTx_Payload `protobuf_oneof:"payload"`
	Signature []byte       `protobuf:"bytes,1,opt,name=signature,proto3,oneof" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*Tx) Descriptor deprecated

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

Deprecated: Use Tx.ProtoReflect.Descriptor instead.

func (*Tx) GetAdmin

func (x *Tx) GetAdmin() *AdminTx

func (*Tx) GetCancelProcess

func (x *Tx) GetCancelProcess() *CancelProcessTx

func (*Tx) GetNewProcess

func (x *Tx) GetNewProcess() *NewProcessTx

func (*Tx) GetPayload

func (m *Tx) GetPayload() isTx_Payload

func (*Tx) GetSetProcess

func (x *Tx) GetSetProcess() *SetProcessTx

func (*Tx) GetSignature

func (x *Tx) GetSignature() []byte

func (*Tx) GetVote

func (x *Tx) GetVote() *VoteEnvelope

func (*Tx) ProtoMessage

func (*Tx) ProtoMessage()

func (*Tx) ProtoReflect

func (x *Tx) ProtoReflect() protoreflect.Message

func (*Tx) Reset

func (x *Tx) Reset()

func (*Tx) String

func (x *Tx) String() string

type TxType

type TxType int32
const (
	TxType_TX_UNKNOWN                 TxType = 0
	TxType_NEW_PROCESS                TxType = 1
	TxType_CANCEL_PROCESS             TxType = 10000000 // Legacy
	TxType_SET_PROCESS_STATUS         TxType = 2
	TxType_SET_PROCESS_CENSUS         TxType = 3
	TxType_SET_PROCESS_QUESTION_INDEX TxType = 4
	TxType_ADD_PROCESS_KEYS           TxType = 5
	TxType_REVEAL_PROCESS_KEYS        TxType = 6
	TxType_ADD_ORACLE                 TxType = 7
	TxType_REMOVE_ORACLE              TxType = 8
	TxType_ADD_VALIDATOR              TxType = 9
	TxType_REMOVE_VALIDATOR           TxType = 10
)

func (TxType) Descriptor

func (TxType) Descriptor() protoreflect.EnumDescriptor

func (TxType) Enum

func (x TxType) Enum() *TxType

func (TxType) EnumDescriptor deprecated

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

Deprecated: Use TxType.Descriptor instead.

func (TxType) Number

func (x TxType) Number() protoreflect.EnumNumber

func (TxType) String

func (x TxType) String() string

func (TxType) Type

func (TxType) Type() protoreflect.EnumType

type Tx_Admin

type Tx_Admin struct {
	Admin *AdminTx `protobuf:"bytes,4,opt,name=admin,proto3,oneof"`
}

type Tx_CancelProcess

type Tx_CancelProcess struct {
	CancelProcess *CancelProcessTx `protobuf:"bytes,10000000,opt,name=cancelProcess,proto3,oneof"` // Legacy
}

type Tx_NewProcess

type Tx_NewProcess struct {
	NewProcess *NewProcessTx `protobuf:"bytes,3,opt,name=newProcess,proto3,oneof"`
}

type Tx_SetProcess

type Tx_SetProcess struct {
	SetProcess *SetProcessTx `protobuf:"bytes,5,opt,name=setProcess,proto3,oneof"`
}

type Tx_Vote

type Tx_Vote struct {
	Vote *VoteEnvelope `protobuf:"bytes,2,opt,name=vote,proto3,oneof"`
}

type Validator

type Validator struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	PubKey  []byte `protobuf:"bytes,2,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	Power   uint64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"`
	Name    string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Validator) Descriptor deprecated

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

Deprecated: Use Validator.ProtoReflect.Descriptor instead.

func (*Validator) GetAddress

func (x *Validator) GetAddress() []byte

func (*Validator) GetName

func (x *Validator) GetName() string

func (*Validator) GetPower

func (x *Validator) GetPower() uint64

func (*Validator) GetPubKey

func (x *Validator) GetPubKey() []byte

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) ProtoReflect

func (x *Validator) ProtoReflect() protoreflect.Message

func (*Validator) Reset

func (x *Validator) Reset()

func (*Validator) String

func (x *Validator) String() string

type ValidatorList

type ValidatorList struct {
	Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidatorList) Descriptor deprecated

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

Deprecated: Use ValidatorList.ProtoReflect.Descriptor instead.

func (*ValidatorList) GetValidators

func (x *ValidatorList) GetValidators() []*Validator

func (*ValidatorList) ProtoMessage

func (*ValidatorList) ProtoMessage()

func (*ValidatorList) ProtoReflect

func (x *ValidatorList) ProtoReflect() protoreflect.Message

func (*ValidatorList) Reset

func (x *ValidatorList) Reset()

func (*ValidatorList) String

func (x *ValidatorList) String() string

type Vote

type Vote struct {
	Height               uint32   `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Nullifier            []byte   `protobuf:"bytes,2,opt,name=nullifier,proto3" json:"nullifier,omitempty"`
	ProcessId            []byte   `protobuf:"bytes,3,opt,name=processId,proto3" json:"processId,omitempty"`
	VotePackage          []byte   `protobuf:"bytes,4,opt,name=votePackage,proto3" json:"votePackage,omitempty"`
	EncryptionKeyIndexes []uint32 `protobuf:"varint,5,rep,packed,name=encryptionKeyIndexes,proto3" json:"encryptionKeyIndexes,omitempty"`
	// contains filtered or unexported fields
}

func (*Vote) Descriptor deprecated

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

Deprecated: Use Vote.ProtoReflect.Descriptor instead.

func (*Vote) GetEncryptionKeyIndexes

func (x *Vote) GetEncryptionKeyIndexes() []uint32

func (*Vote) GetHeight

func (x *Vote) GetHeight() uint32

func (*Vote) GetNullifier

func (x *Vote) GetNullifier() []byte

func (*Vote) GetProcessId

func (x *Vote) GetProcessId() []byte

func (*Vote) GetVotePackage

func (x *Vote) GetVotePackage() []byte

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) ProtoReflect

func (x *Vote) ProtoReflect() protoreflect.Message

func (*Vote) Reset

func (x *Vote) Reset()

func (*Vote) String

func (x *Vote) String() string

type VoteEnvelope

type VoteEnvelope struct {
	Nonce       []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`             // Unique number per vote attempt, so that replay attacks can't reuse this payload
	ProcessId   []byte `protobuf:"bytes,2,opt,name=processId,proto3" json:"processId,omitempty"`     // The process for which the vote is casted
	Proof       *Proof `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"`             // Merkle proof, ZK Proof or Ethereum storage proof
	VotePackage []byte `protobuf:"bytes,4,opt,name=votePackage,proto3" json:"votePackage,omitempty"` // base64 encoded bytes[] of the VotePackage
	// optional bytes nullifier = 5;
	Nullifier            []byte   `protobuf:"bytes,5,opt,name=nullifier,proto3" json:"nullifier,omitempty"`                               // Hash of the private key + processId
	EncryptionKeyIndexes []uint32 `protobuf:"varint,6,rep,packed,name=encryptionKeyIndexes,proto3" json:"encryptionKeyIndexes,omitempty"` // On encrypted votes, contains the (sorted) indexes of the keys used to encrypt
	// contains filtered or unexported fields
}

func (*VoteEnvelope) Descriptor deprecated

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

Deprecated: Use VoteEnvelope.ProtoReflect.Descriptor instead.

func (*VoteEnvelope) GetEncryptionKeyIndexes

func (x *VoteEnvelope) GetEncryptionKeyIndexes() []uint32

func (*VoteEnvelope) GetNonce

func (x *VoteEnvelope) GetNonce() []byte

func (*VoteEnvelope) GetNullifier

func (x *VoteEnvelope) GetNullifier() []byte

func (*VoteEnvelope) GetProcessId

func (x *VoteEnvelope) GetProcessId() []byte

func (*VoteEnvelope) GetProof

func (x *VoteEnvelope) GetProof() *Proof

func (*VoteEnvelope) GetVotePackage

func (x *VoteEnvelope) GetVotePackage() []byte

func (*VoteEnvelope) ProtoMessage

func (*VoteEnvelope) ProtoMessage()

func (*VoteEnvelope) ProtoReflect

func (x *VoteEnvelope) ProtoReflect() protoreflect.Message

func (*VoteEnvelope) Reset

func (x *VoteEnvelope) Reset()

func (*VoteEnvelope) String

func (x *VoteEnvelope) String() string

Jump to

Keyboard shortcuts

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