Documentation ¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetBalance() uint64
- func (x *Account) GetDelegateAddrs() [][]byte
- func (x *Account) GetInfoURI() string
- func (x *Account) GetNonce() uint32
- func (x *Account) GetProcessIndex() uint32
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AdminTx
- func (*AdminTx) Descriptor() ([]byte, []int)deprecated
- func (x *AdminTx) GetAddress() []byte
- func (x *AdminTx) GetEncryptionPrivateKey() []byte
- func (x *AdminTx) GetEncryptionPublicKey() []byte
- func (x *AdminTx) GetKeyIndex() uint32
- func (x *AdminTx) GetNonce() uint32
- func (x *AdminTx) GetPower() uint64
- func (x *AdminTx) GetProcessId() []byte
- func (x *AdminTx) GetPublicKey() []byte
- func (x *AdminTx) GetTxtype() TxType
- func (*AdminTx) ProtoMessage()
- func (x *AdminTx) ProtoReflect() protoreflect.Message
- func (x *AdminTx) Reset()
- func (x *AdminTx) String() string
- type CAbundle
- type Census
- type CensusOrigin
- func (CensusOrigin) Descriptor() protoreflect.EnumDescriptor
- func (x CensusOrigin) Enum() *CensusOrigin
- func (CensusOrigin) EnumDescriptor() ([]byte, []int)deprecated
- func (x CensusOrigin) Number() protoreflect.EnumNumber
- func (x CensusOrigin) String() string
- func (CensusOrigin) Type() protoreflect.EnumType
- type Census_Type
- func (Census_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Census_Type) Enum() *Census_Type
- func (Census_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Census_Type) Number() protoreflect.EnumNumber
- func (x Census_Type) String() string
- func (Census_Type) Type() protoreflect.EnumType
- type CollectFaucetTx
- func (*CollectFaucetTx) Descriptor() ([]byte, []int)deprecated
- func (x *CollectFaucetTx) GetFaucetPackage() *FaucetPackage
- func (x *CollectFaucetTx) GetNonce() uint32
- func (x *CollectFaucetTx) GetTxType() TxType
- func (*CollectFaucetTx) ProtoMessage()
- func (x *CollectFaucetTx) ProtoReflect() protoreflect.Message
- func (x *CollectFaucetTx) Reset()
- func (x *CollectFaucetTx) String() string
- type EnvelopeType
- func (*EnvelopeType) Descriptor() ([]byte, []int)deprecated
- func (x *EnvelopeType) GetAnonymous() bool
- func (x *EnvelopeType) GetCostFromWeight() bool
- func (x *EnvelopeType) GetEncryptedVotes() bool
- func (x *EnvelopeType) GetSerial() bool
- func (x *EnvelopeType) GetUniqueValues() bool
- func (*EnvelopeType) ProtoMessage()
- func (x *EnvelopeType) ProtoReflect() protoreflect.Message
- func (x *EnvelopeType) Reset()
- func (x *EnvelopeType) String() string
- type FaucetPackage
- func (*FaucetPackage) Descriptor() ([]byte, []int)deprecated
- func (x *FaucetPackage) GetPayload() []byte
- func (x *FaucetPackage) GetSignature() []byte
- func (*FaucetPackage) ProtoMessage()
- func (x *FaucetPackage) ProtoReflect() protoreflect.Message
- func (x *FaucetPackage) Reset()
- func (x *FaucetPackage) String() string
- type FaucetPayload
- func (*FaucetPayload) Descriptor() ([]byte, []int)deprecated
- func (x *FaucetPayload) GetAmount() uint64
- func (x *FaucetPayload) GetIdentifier() uint64
- func (x *FaucetPayload) GetTo() []byte
- func (*FaucetPayload) ProtoMessage()
- func (x *FaucetPayload) ProtoReflect() protoreflect.Message
- func (x *FaucetPayload) Reset()
- func (x *FaucetPayload) String() string
- type IpfsPin
- type IpfsSync
- func (*IpfsSync) Descriptor() ([]byte, []int)deprecated
- func (x *IpfsSync) GetAddress() string
- func (x *IpfsSync) GetHash() []byte
- func (x *IpfsSync) GetMsgtype() IpfsSync_Type
- func (x *IpfsSync) GetMultiaddress() string
- func (x *IpfsSync) GetPinList() []*IpfsPin
- func (x *IpfsSync) GetTimestamp() uint32
- func (*IpfsSync) ProtoMessage()
- func (x *IpfsSync) ProtoReflect() protoreflect.Message
- func (x *IpfsSync) Reset()
- func (x *IpfsSync) String() string
- type IpfsSync_Type
- func (IpfsSync_Type) Descriptor() protoreflect.EnumDescriptor
- func (x IpfsSync_Type) Enum() *IpfsSync_Type
- func (IpfsSync_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x IpfsSync_Type) Number() protoreflect.EnumNumber
- func (x IpfsSync_Type) String() string
- func (IpfsSync_Type) Type() protoreflect.EnumType
- type NewProcessTx
- func (*NewProcessTx) Descriptor() ([]byte, []int)deprecated
- func (x *NewProcessTx) GetFaucetPackage() *FaucetPackage
- func (x *NewProcessTx) GetNonce() uint32
- func (x *NewProcessTx) GetProcess() *Process
- func (x *NewProcessTx) GetTxtype() TxType
- func (*NewProcessTx) ProtoMessage()
- func (x *NewProcessTx) ProtoReflect() protoreflect.Message
- func (x *NewProcessTx) Reset()
- func (x *NewProcessTx) String() string
- type OracleList
- type Process
- func (*Process) Descriptor() ([]byte, []int)deprecated
- func (x *Process) GetBlockCount() uint32
- func (x *Process) GetCensusOrigin() CensusOrigin
- func (x *Process) GetCensusRoot() []byte
- func (x *Process) GetCensusURI() string
- func (x *Process) GetDuration() uint32
- func (x *Process) GetEncryptionPrivateKeys() []string
- func (x *Process) GetEncryptionPublicKeys() []string
- func (x *Process) GetEntityId() []byte
- func (x *Process) GetEnvelopeType() *EnvelopeType
- func (x *Process) GetEthIndexSlot() uint32
- func (x *Process) GetKeyIndex() uint32
- func (x *Process) GetMaxCensusSize() uint64
- func (x *Process) GetMetadata() string
- func (x *Process) GetMode() *ProcessMode
- func (x *Process) GetNamespace() uint32
- func (x *Process) GetNullifiersRoot() []byte
- func (x *Process) GetOwner() []byte
- func (x *Process) GetParamsSignature() []byte
- func (x *Process) GetProcessId() []byte
- func (x *Process) GetQuestionCount() uint32
- func (x *Process) GetQuestionIndex() uint32
- func (x *Process) GetResults() *ProcessResult
- func (x *Process) GetRollingCensusRoot() []byte
- func (x *Process) GetRollingCensusSize() uint64
- func (x *Process) GetSourceBlockHeight() uint64
- func (x *Process) GetSourceNetworkContractAddr() []byte
- func (x *Process) GetSourceNetworkId() SourceNetworkId
- func (x *Process) GetStartBlock() uint32
- func (x *Process) GetStartTime() uint32
- func (x *Process) GetStatus() ProcessStatus
- func (x *Process) GetTempSIKs() bool
- func (x *Process) GetTokenDecimals() uint32
- func (x *Process) GetVoteOptions() *ProcessVoteOptions
- func (*Process) ProtoMessage()
- func (x *Process) ProtoReflect() protoreflect.Message
- func (x *Process) Reset()
- func (x *Process) String() string
- type ProcessEndingList
- func (*ProcessEndingList) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessEndingList) GetProcessList() [][]byte
- func (*ProcessEndingList) ProtoMessage()
- func (x *ProcessEndingList) ProtoReflect() protoreflect.Message
- func (x *ProcessEndingList) Reset()
- func (x *ProcessEndingList) String() string
- type ProcessIdList
- type ProcessMode
- func (*ProcessMode) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessMode) GetAutoStart() bool
- func (x *ProcessMode) GetDynamicCensus() bool
- func (x *ProcessMode) GetEncryptedMetaData() bool
- func (x *ProcessMode) GetInterruptible() bool
- func (x *ProcessMode) GetPreRegister() bool
- func (*ProcessMode) ProtoMessage()
- func (x *ProcessMode) ProtoReflect() protoreflect.Message
- func (x *ProcessMode) Reset()
- func (x *ProcessMode) String() string
- type ProcessResult
- type ProcessStatus
- func (ProcessStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ProcessStatus) Enum() *ProcessStatus
- func (ProcessStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProcessStatus) Number() protoreflect.EnumNumber
- func (x ProcessStatus) String() string
- func (ProcessStatus) Type() protoreflect.EnumType
- type ProcessVoteOptions
- func (*ProcessVoteOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessVoteOptions) GetCostExponent() uint32
- func (x *ProcessVoteOptions) GetMaxCount() uint32
- func (x *ProcessVoteOptions) GetMaxTotalCost() uint32
- func (x *ProcessVoteOptions) GetMaxValue() uint32
- func (x *ProcessVoteOptions) GetMaxVoteOverwrites() uint32
- func (*ProcessVoteOptions) ProtoMessage()
- func (x *ProcessVoteOptions) ProtoReflect() protoreflect.Message
- func (x *ProcessVoteOptions) Reset()
- func (x *ProcessVoteOptions) String() string
- type Proof
- func (*Proof) Descriptor() ([]byte, []int)deprecated
- func (x *Proof) GetArbo() *ProofArbo
- func (x *Proof) GetCa() *ProofCA
- func (x *Proof) GetEthereumAccount() *ProofEthereumAccount
- func (x *Proof) GetEthereumStorage() *ProofEthereumStorage
- func (x *Proof) GetFarcasterFrame() *ProofFarcasterFrame
- func (x *Proof) GetMinimeStorage() *ProofMinime
- func (m *Proof) GetPayload() isProof_Payload
- func (x *Proof) GetZkSnark() *ProofZkSNARK
- func (*Proof) ProtoMessage()
- func (x *Proof) ProtoReflect() protoreflect.Message
- func (x *Proof) Reset()
- func (x *Proof) String() string
- type ProofArbo
- func (*ProofArbo) Descriptor() ([]byte, []int)deprecated
- func (x *ProofArbo) GetAvailableWeight() []byte
- func (x *ProofArbo) GetKeyType() ProofArbo_KeyType
- func (x *ProofArbo) GetSiblings() []byte
- func (x *ProofArbo) GetType() ProofArbo_Type
- func (x *ProofArbo) GetVoteWeight() []byte
- func (*ProofArbo) ProtoMessage()
- func (x *ProofArbo) ProtoReflect() protoreflect.Message
- func (x *ProofArbo) Reset()
- func (x *ProofArbo) String() string
- type ProofArbo_KeyType
- func (ProofArbo_KeyType) Descriptor() protoreflect.EnumDescriptor
- func (x ProofArbo_KeyType) Enum() *ProofArbo_KeyType
- func (ProofArbo_KeyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProofArbo_KeyType) Number() protoreflect.EnumNumber
- func (x ProofArbo_KeyType) String() string
- func (ProofArbo_KeyType) Type() protoreflect.EnumType
- type ProofArbo_Type
- func (ProofArbo_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ProofArbo_Type) Enum() *ProofArbo_Type
- func (ProofArbo_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProofArbo_Type) Number() protoreflect.EnumNumber
- func (x ProofArbo_Type) String() string
- func (ProofArbo_Type) Type() protoreflect.EnumType
- type ProofCA
- func (*ProofCA) Descriptor() ([]byte, []int)deprecated
- func (x *ProofCA) GetBundle() *CAbundle
- func (x *ProofCA) GetSignature() []byte
- func (x *ProofCA) GetType() ProofCA_Type
- func (*ProofCA) ProtoMessage()
- func (x *ProofCA) ProtoReflect() protoreflect.Message
- func (x *ProofCA) Reset()
- func (x *ProofCA) String() string
- type ProofCA_Type
- func (ProofCA_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ProofCA_Type) Enum() *ProofCA_Type
- func (ProofCA_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProofCA_Type) Number() protoreflect.EnumNumber
- func (x ProofCA_Type) String() string
- func (ProofCA_Type) Type() protoreflect.EnumType
- type ProofEthereumAccount
- func (*ProofEthereumAccount) Descriptor() ([]byte, []int)deprecated
- func (x *ProofEthereumAccount) GetBalance() []byte
- func (x *ProofEthereumAccount) GetCodeHash() []byte
- func (x *ProofEthereumAccount) GetNonce() []byte
- func (x *ProofEthereumAccount) GetSiblings() [][]byte
- func (x *ProofEthereumAccount) GetStorageHash() []byte
- func (*ProofEthereumAccount) ProtoMessage()
- func (x *ProofEthereumAccount) ProtoReflect() protoreflect.Message
- func (x *ProofEthereumAccount) Reset()
- func (x *ProofEthereumAccount) String() string
- type ProofEthereumStorage
- func (*ProofEthereumStorage) Descriptor() ([]byte, []int)deprecated
- func (x *ProofEthereumStorage) GetKey() []byte
- func (x *ProofEthereumStorage) GetSiblings() [][]byte
- func (x *ProofEthereumStorage) GetValue() []byte
- func (*ProofEthereumStorage) ProtoMessage()
- func (x *ProofEthereumStorage) ProtoReflect() protoreflect.Message
- func (x *ProofEthereumStorage) Reset()
- func (x *ProofEthereumStorage) String() string
- type ProofFarcasterFrame
- func (*ProofFarcasterFrame) Descriptor() ([]byte, []int)deprecated
- func (x *ProofFarcasterFrame) GetCensusProof() *ProofArbo
- func (x *ProofFarcasterFrame) GetPublicKey() []byte
- func (x *ProofFarcasterFrame) GetSignedFrameMessageBody() []byte
- func (*ProofFarcasterFrame) ProtoMessage()
- func (x *ProofFarcasterFrame) ProtoReflect() protoreflect.Message
- func (x *ProofFarcasterFrame) Reset()
- func (x *ProofFarcasterFrame) String() string
- type ProofMinime
- func (*ProofMinime) Descriptor() ([]byte, []int)deprecated
- func (x *ProofMinime) GetProofNextBlock() *ProofEthereumStorage
- func (x *ProofMinime) GetProofPrevBlock() *ProofEthereumStorage
- func (*ProofMinime) ProtoMessage()
- func (x *ProofMinime) ProtoReflect() protoreflect.Message
- func (x *ProofMinime) Reset()
- func (x *ProofMinime) String() string
- type ProofZkSNARK
- func (*ProofZkSNARK) Descriptor() ([]byte, []int)deprecated
- func (x *ProofZkSNARK) GetA() []string
- func (x *ProofZkSNARK) GetB() []string
- func (x *ProofZkSNARK) GetC() []string
- func (x *ProofZkSNARK) GetCircuitParametersIndex() int32
- func (x *ProofZkSNARK) GetPublicInputs() []string
- func (*ProofZkSNARK) ProtoMessage()
- func (x *ProofZkSNARK) ProtoReflect() protoreflect.Message
- func (x *ProofZkSNARK) Reset()
- func (x *ProofZkSNARK) String() string
- type Proof_Arbo
- type Proof_Ca
- type Proof_EthereumAccount
- type Proof_EthereumStorage
- type Proof_FarcasterFrame
- type Proof_MinimeStorage
- type Proof_ZkSnark
- type QuestionResult
- type RegisterKeyTx
- func (*RegisterKeyTx) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterKeyTx) GetNewKey() []byte
- func (x *RegisterKeyTx) GetNonce() uint32
- func (x *RegisterKeyTx) GetProcessId() []byte
- func (x *RegisterKeyTx) GetProof() *Proof
- func (x *RegisterKeyTx) GetWeight() string
- func (*RegisterKeyTx) ProtoMessage()
- func (x *RegisterKeyTx) ProtoReflect() protoreflect.Message
- func (x *RegisterKeyTx) Reset()
- func (x *RegisterKeyTx) String() string
- type RegisterSIKTx
- func (*RegisterSIKTx) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterSIKTx) GetCensusProof() *Proof
- func (x *RegisterSIKTx) GetElectionId() []byte
- func (x *RegisterSIKTx) GetSIK() []byte
- func (*RegisterSIKTx) ProtoMessage()
- func (x *RegisterSIKTx) ProtoReflect() protoreflect.Message
- func (x *RegisterSIKTx) Reset()
- func (x *RegisterSIKTx) String() string
- type SIKTx
- func (*SIKTx) Descriptor() ([]byte, []int)deprecated
- func (x *SIKTx) GetFaucetPackage() *FaucetPackage
- func (x *SIKTx) GetNonce() uint32
- func (x *SIKTx) GetSIK() []byte
- func (x *SIKTx) GetTxtype() TxType
- func (*SIKTx) ProtoMessage()
- func (x *SIKTx) ProtoReflect() protoreflect.Message
- func (x *SIKTx) Reset()
- func (x *SIKTx) String() string
- type SendTokensTx
- func (*SendTokensTx) Descriptor() ([]byte, []int)deprecated
- func (x *SendTokensTx) GetFrom() []byte
- func (x *SendTokensTx) GetNonce() uint32
- func (x *SendTokensTx) GetTo() []byte
- func (x *SendTokensTx) GetTxtype() TxType
- func (x *SendTokensTx) GetValue() uint64
- func (*SendTokensTx) ProtoMessage()
- func (x *SendTokensTx) ProtoReflect() protoreflect.Message
- func (x *SendTokensTx) Reset()
- func (x *SendTokensTx) String() string
- type SetAccountTx
- func (*SetAccountTx) Descriptor() ([]byte, []int)deprecated
- func (x *SetAccountTx) GetAccount() []byte
- func (x *SetAccountTx) GetDelegates() [][]byte
- func (x *SetAccountTx) GetFaucetPackage() *FaucetPackage
- func (x *SetAccountTx) GetInfoURI() string
- func (x *SetAccountTx) GetName() string
- func (x *SetAccountTx) GetNonce() uint32
- func (x *SetAccountTx) GetPublicKey() []byte
- func (x *SetAccountTx) GetSIK() []byte
- func (x *SetAccountTx) GetTxtype() TxType
- func (*SetAccountTx) ProtoMessage()
- func (x *SetAccountTx) ProtoReflect() protoreflect.Message
- func (x *SetAccountTx) Reset()
- func (x *SetAccountTx) String() string
- type SetKeykeeperTx
- func (*SetKeykeeperTx) Descriptor() ([]byte, []int)deprecated
- func (x *SetKeykeeperTx) GetKeykeeper() []byte
- func (x *SetKeykeeperTx) GetNonce() uint32
- func (x *SetKeykeeperTx) GetTxtype() TxType
- func (*SetKeykeeperTx) ProtoMessage()
- func (x *SetKeykeeperTx) ProtoReflect() protoreflect.Message
- func (x *SetKeykeeperTx) Reset()
- func (x *SetKeykeeperTx) String() string
- type SetProcessTx
- func (*SetProcessTx) Descriptor() ([]byte, []int)deprecated
- func (x *SetProcessTx) GetCensusRoot() []byte
- func (x *SetProcessTx) GetCensusSize() uint64
- func (x *SetProcessTx) GetCensusURI() string
- func (x *SetProcessTx) GetDuration() uint32
- func (x *SetProcessTx) GetFaucetPackage() *FaucetPackage
- func (x *SetProcessTx) GetNonce() uint32
- func (x *SetProcessTx) GetProcessId() []byte
- func (x *SetProcessTx) GetProof() *Proof
- func (x *SetProcessTx) GetQuestionIndex() uint32
- func (x *SetProcessTx) GetResults() *ProcessResult
- func (x *SetProcessTx) GetStatus() ProcessStatus
- func (x *SetProcessTx) GetTempSIKs() bool
- func (x *SetProcessTx) GetTxtype() TxType
- func (*SetProcessTx) ProtoMessage()
- func (x *SetProcessTx) ProtoReflect() protoreflect.Message
- func (x *SetProcessTx) Reset()
- func (x *SetProcessTx) String() string
- type SetTransactionCostsTx
- func (*SetTransactionCostsTx) Descriptor() ([]byte, []int)deprecated
- func (x *SetTransactionCostsTx) GetNonce() uint32
- func (x *SetTransactionCostsTx) GetTxtype() TxType
- func (x *SetTransactionCostsTx) GetValue() uint64
- func (*SetTransactionCostsTx) ProtoMessage()
- func (x *SetTransactionCostsTx) ProtoReflect() protoreflect.Message
- func (x *SetTransactionCostsTx) Reset()
- func (x *SetTransactionCostsTx) String() string
- type SignedTx
- type SourceNetworkId
- func (SourceNetworkId) Descriptor() protoreflect.EnumDescriptor
- func (x SourceNetworkId) Enum() *SourceNetworkId
- func (SourceNetworkId) EnumDescriptor() ([]byte, []int)deprecated
- func (x SourceNetworkId) Number() protoreflect.EnumNumber
- func (x SourceNetworkId) String() string
- func (SourceNetworkId) Type() protoreflect.EnumType
- type StateDBProcess
- func (*StateDBProcess) Descriptor() ([]byte, []int)deprecated
- func (x *StateDBProcess) GetProcess() *Process
- func (x *StateDBProcess) GetVotesRoot() []byte
- func (*StateDBProcess) ProtoMessage()
- func (x *StateDBProcess) ProtoReflect() protoreflect.Message
- func (x *StateDBProcess) Reset()
- func (x *StateDBProcess) String() string
- type StateDBVote
- func (*StateDBVote) Descriptor() ([]byte, []int)deprecated
- func (x *StateDBVote) GetEncryptionKeyIndexes() []uint32
- func (x *StateDBVote) GetNullifier() []byte
- func (x *StateDBVote) GetOverwriteCount() uint32
- func (x *StateDBVote) GetVoteHash() []byte
- func (x *StateDBVote) GetVotePackage() []byte
- func (x *StateDBVote) GetWeight() []byte
- func (*StateDBVote) ProtoMessage()
- func (x *StateDBVote) ProtoReflect() protoreflect.Message
- func (x *StateDBVote) Reset()
- func (x *StateDBVote) String() string
- type StoredKeys
- type TendermintHeader
- func (*TendermintHeader) Descriptor() ([]byte, []int)deprecated
- func (x *TendermintHeader) GetAppHash() []byte
- func (x *TendermintHeader) GetBlockID() []byte
- func (x *TendermintHeader) GetChainId() string
- func (x *TendermintHeader) GetConsensusHash() []byte
- func (x *TendermintHeader) GetDataHash() []byte
- func (x *TendermintHeader) GetEvidenceHash() []byte
- func (x *TendermintHeader) GetHeight() int64
- func (x *TendermintHeader) GetLastCommitHash() []byte
- func (x *TendermintHeader) GetLastResultsHash() []byte
- func (x *TendermintHeader) GetNextValidatorsHash() []byte
- func (x *TendermintHeader) GetProposerAddress() []byte
- func (x *TendermintHeader) GetTimestamp() int64
- func (x *TendermintHeader) GetValidatorsHash() []byte
- func (*TendermintHeader) ProtoMessage()
- func (x *TendermintHeader) ProtoReflect() protoreflect.Message
- func (x *TendermintHeader) Reset()
- func (x *TendermintHeader) String() string
- type Tx
- func (*Tx) Descriptor() ([]byte, []int)deprecated
- func (x *Tx) GetAdmin() *AdminTx
- func (x *Tx) GetCollectFaucet() *CollectFaucetTx
- func (x *Tx) GetDelSIK() *SIKTx
- func (x *Tx) GetNewProcess() *NewProcessTx
- func (m *Tx) GetPayload() isTx_Payload
- func (x *Tx) GetRegisterKey() *RegisterKeyTx
- func (x *Tx) GetRegisterSIK() *RegisterSIKTx
- func (x *Tx) GetSendTokens() *SendTokensTx
- func (x *Tx) GetSetAccount() *SetAccountTx
- func (x *Tx) GetSetKeykeeper() *SetKeykeeperTx
- func (x *Tx) GetSetProcess() *SetProcessTx
- func (x *Tx) GetSetSIK() *SIKTx
- func (x *Tx) GetSetTransactionCosts() *SetTransactionCostsTx
- func (x *Tx) GetVote() *VoteEnvelope
- func (*Tx) ProtoMessage()
- func (x *Tx) ProtoReflect() protoreflect.Message
- func (x *Tx) Reset()
- func (x *Tx) String() string
- type TxType
- type Tx_Admin
- type Tx_CollectFaucet
- type Tx_DelSIK
- type Tx_NewProcess
- type Tx_RegisterKey
- type Tx_RegisterSIK
- type Tx_SendTokens
- type Tx_SetAccount
- type Tx_SetKeykeeper
- type Tx_SetProcess
- type Tx_SetSIK
- type Tx_SetTransactionCosts
- type Tx_Vote
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)deprecated
- func (x *Validator) GetAddress() []byte
- func (x *Validator) GetHeight() uint64
- func (x *Validator) GetKeyIndex() uint32
- func (x *Validator) GetName() string
- func (x *Validator) GetPower() uint64
- func (x *Validator) GetProposals() uint64
- func (x *Validator) GetPubKey() []byte
- func (x *Validator) GetScore() uint32
- func (x *Validator) GetValidatorAddress() []byte
- func (x *Validator) GetVotes() uint64
- func (*Validator) ProtoMessage()
- func (x *Validator) ProtoReflect() protoreflect.Message
- func (x *Validator) Reset()
- func (x *Validator) String() string
- type ValidatorList
- type VoteEnvelope
- func (*VoteEnvelope) Descriptor() ([]byte, []int)deprecated
- func (x *VoteEnvelope) GetEncryptionKeyIndexes() []uint32
- func (x *VoteEnvelope) GetNonce() []byte
- func (x *VoteEnvelope) GetNullifier() []byte
- func (x *VoteEnvelope) GetProcessId() []byte
- func (x *VoteEnvelope) GetProof() *Proof
- func (x *VoteEnvelope) GetVotePackage() []byte
- func (*VoteEnvelope) ProtoMessage()
- func (x *VoteEnvelope) ProtoReflect() protoreflect.Message
- func (x *VoteEnvelope) Reset()
- func (x *VoteEnvelope) String() string
Constants ¶
This section is empty.
Variables ¶
var ( IpfsSync_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "HELLO", 2: "UPDATE", 3: "FETCH", 4: "FETCHREPLY", } IpfsSync_Type_value = map[string]int32{ "UNKNOWN": 0, "HELLO": 1, "UPDATE": 2, "FETCH": 3, "FETCHREPLY": 4, } )
Enum value maps for IpfsSync_Type.
var ( TxType_name = map[int32]string{ 0: "TX_UNKNOWN", 1: "NEW_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", 11: "VOTE", 12: "SET_PROCESS_RESULTS", 13: "REGISTER_VOTER_KEY", 15: "SEND_TOKENS", 17: "SET_ACCOUNT_INFO_URI", 18: "ADD_DELEGATE_FOR_ACCOUNT", 19: "DEL_DELEGATE_FOR_ACCOUNT", 20: "COLLECT_FAUCET", 21: "ADD_KEYKEEPER", 22: "DELETE_KEYKEEPER", 23: "CREATE_ACCOUNT", 24: "SET_ACCOUNT_SIK", 25: "DEL_ACCOUNT_SIK", 26: "REGISTER_SIK", 27: "SET_ACCOUNT_VALIDATOR", 28: "SET_PROCESS_DURATION", } TxType_value = map[string]int32{ "TX_UNKNOWN": 0, "NEW_PROCESS": 1, "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, "VOTE": 11, "SET_PROCESS_RESULTS": 12, "REGISTER_VOTER_KEY": 13, "SEND_TOKENS": 15, "SET_ACCOUNT_INFO_URI": 17, "ADD_DELEGATE_FOR_ACCOUNT": 18, "DEL_DELEGATE_FOR_ACCOUNT": 19, "COLLECT_FAUCET": 20, "ADD_KEYKEEPER": 21, "DELETE_KEYKEEPER": 22, "CREATE_ACCOUNT": 23, "SET_ACCOUNT_SIK": 24, "DEL_ACCOUNT_SIK": 25, "REGISTER_SIK": 26, "SET_ACCOUNT_VALIDATOR": 27, "SET_PROCESS_DURATION": 28, } )
Enum value maps for TxType.
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.
var ( SourceNetworkId_name = map[int32]string{ 0: "UNKNOWN", 1: "ETH_MAINNET", 2: "ETH_RINKEBY", 3: "ETH_GOERLI", 4: "POA_XDAI", 5: "POA_SOKOL", 6: "POLYGON", 7: "BSC", 8: "ETH_MAINNET_SIGNALING", 9: "ETH_RINKEBY_SIGNALING", 10: "AVAX_FUJI", 11: "AVAX", 12: "POLYGON_MUMBAI", 13: "OPTIMISM", 14: "ARBITRUM", } SourceNetworkId_value = map[string]int32{ "UNKNOWN": 0, "ETH_MAINNET": 1, "ETH_RINKEBY": 2, "ETH_GOERLI": 3, "POA_XDAI": 4, "POA_SOKOL": 5, "POLYGON": 6, "BSC": 7, "ETH_MAINNET_SIGNALING": 8, "ETH_RINKEBY_SIGNALING": 9, "AVAX_FUJI": 10, "AVAX": 11, "POLYGON_MUMBAI": 12, "OPTIMISM": 13, "ARBITRUM": 14, } )
Enum value maps for SourceNetworkId.
var ( CensusOrigin_name = map[int32]string{ 0: "CENSUS_UNKNOWN", 1: "OFF_CHAIN_TREE", 2: "OFF_CHAIN_TREE_WEIGHTED", 3: "OFF_CHAIN_CA", 11: "ERC20", 12: "ERC721", 13: "ERC1155", 14: "ERC777", 15: "MINI_ME", 16: "FARCASTER_FRAME", } CensusOrigin_value = map[string]int32{ "CENSUS_UNKNOWN": 0, "OFF_CHAIN_TREE": 1, "OFF_CHAIN_TREE_WEIGHTED": 2, "OFF_CHAIN_CA": 3, "ERC20": 11, "ERC721": 12, "ERC1155": 13, "ERC777": 14, "MINI_ME": 15, "FARCASTER_FRAME": 16, } )
Enum value maps for CensusOrigin.
var ( Census_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "ARBO_BLAKE2B", 2: "ARBO_POSEIDON", 3: "ETHEREUMSTORAGE", 4: "ETHEREUMACCOUNT", 5: "CA", 6: "FARCASTER_FRAME", } Census_Type_value = map[string]int32{ "UNKNOWN": 0, "ARBO_BLAKE2B": 1, "ARBO_POSEIDON": 2, "ETHEREUMSTORAGE": 3, "ETHEREUMACCOUNT": 4, "CA": 5, "FARCASTER_FRAME": 6, } )
Enum value maps for Census_Type.
var ( ProofCA_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "ECDSA", 2: "ECDSA_PIDSALTED", 3: "ECDSA_BLIND", 4: "ECDSA_BLIND_PIDSALTED", } ProofCA_Type_value = map[string]int32{ "UNKNOWN": 0, "ECDSA": 1, "ECDSA_PIDSALTED": 2, "ECDSA_BLIND": 3, "ECDSA_BLIND_PIDSALTED": 4, } )
Enum value maps for ProofCA_Type.
var ( ProofArbo_Type_name = map[int32]string{ 0: "BLAKE2B", 1: "POSEIDON", } ProofArbo_Type_value = map[string]int32{ "BLAKE2B": 0, "POSEIDON": 1, } )
Enum value maps for ProofArbo_Type.
var ( ProofArbo_KeyType_name = map[int32]string{ 0: "PUBKEY", 1: "ADDRESS", } ProofArbo_KeyType_value = map[string]int32{ "PUBKEY": 0, "ADDRESS": 1, } )
Enum value maps for ProofArbo_KeyType.
var File_ipfsSync_ipfssync_proto protoreflect.FileDescriptor
var File_vocdoni_node_statedb_proto protoreflect.FileDescriptor
var File_vochain_vochain_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶ added in v1.13.3
type Account struct { Balance uint64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` Nonce uint32 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` InfoURI string `protobuf:"bytes,3,opt,name=infoURI,proto3" json:"infoURI,omitempty"` DelegateAddrs [][]byte `protobuf:"bytes,4,rep,name=delegateAddrs,proto3" json:"delegateAddrs,omitempty"` ProcessIndex uint32 `protobuf:"varint,5,opt,name=processIndex,proto3" json:"processIndex,omitempty"` // contains filtered or unexported fields }
Account represents an entity with an amount of tokens, usually attached to an address.
func (*Account) Descriptor
deprecated
added in
v1.13.3
func (*Account) GetBalance ¶ added in v1.13.3
func (*Account) GetDelegateAddrs ¶ added in v1.13.3
func (*Account) GetInfoURI ¶ added in v1.13.3
func (*Account) GetProcessIndex ¶ added in v1.13.3
func (*Account) ProtoMessage ¶ added in v1.13.3
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶ added in v1.13.3
func (x *Account) ProtoReflect() protoreflect.Message
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"` 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"` Nonce uint32 `protobuf:"varint,11,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*AdminTx) Descriptor
deprecated
func (*AdminTx) GetAddress ¶
func (*AdminTx) GetEncryptionPrivateKey ¶
func (*AdminTx) GetEncryptionPublicKey ¶
func (*AdminTx) GetKeyIndex ¶
func (*AdminTx) GetProcessId ¶
func (*AdminTx) GetPublicKey ¶
func (*AdminTx) ProtoMessage ¶
func (*AdminTx) ProtoMessage()
func (*AdminTx) ProtoReflect ¶
func (x *AdminTx) ProtoReflect() protoreflect.Message
type CAbundle ¶ added in v0.1.7
type CAbundle struct { ProcessId []byte `protobuf:"bytes,1,opt,name=processId,proto3" json:"processId,omitempty"` Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*CAbundle) Descriptor
deprecated
added in
v0.1.7
func (*CAbundle) GetAddress ¶ added in v0.1.7
func (*CAbundle) GetProcessId ¶ added in v0.1.8
func (*CAbundle) ProtoMessage ¶ added in v0.1.7
func (*CAbundle) ProtoMessage()
func (*CAbundle) ProtoReflect ¶ added in v0.1.7
func (x *CAbundle) ProtoReflect() protoreflect.Message
type Census ¶ added in v1.13.2
type Census struct {
// contains filtered or unexported fields
}
func (*Census) Descriptor
deprecated
added in
v1.13.2
func (*Census) ProtoMessage ¶ added in v1.13.2
func (*Census) ProtoMessage()
func (*Census) ProtoReflect ¶ added in v1.13.2
func (x *Census) ProtoReflect() protoreflect.Message
type CensusOrigin ¶
type CensusOrigin int32
const ( CensusOrigin_CENSUS_UNKNOWN CensusOrigin = 0 CensusOrigin_OFF_CHAIN_TREE CensusOrigin = 1 CensusOrigin_OFF_CHAIN_TREE_WEIGHTED CensusOrigin = 2 CensusOrigin_OFF_CHAIN_CA CensusOrigin = 3 CensusOrigin_ERC20 CensusOrigin = 11 CensusOrigin_ERC721 CensusOrigin = 12 CensusOrigin_ERC1155 CensusOrigin = 13 CensusOrigin_ERC777 CensusOrigin = 14 CensusOrigin_MINI_ME CensusOrigin = 15 CensusOrigin_FARCASTER_FRAME CensusOrigin = 16 )
func (CensusOrigin) Descriptor ¶
func (CensusOrigin) Descriptor() protoreflect.EnumDescriptor
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 (x CensusOrigin) Number() protoreflect.EnumNumber
func (CensusOrigin) String ¶
func (x CensusOrigin) String() string
func (CensusOrigin) Type ¶
func (CensusOrigin) Type() protoreflect.EnumType
type Census_Type ¶ added in v1.13.2
type Census_Type int32
const ( Census_UNKNOWN Census_Type = 0 Census_ARBO_BLAKE2B Census_Type = 1 Census_ARBO_POSEIDON Census_Type = 2 Census_ETHEREUMSTORAGE Census_Type = 3 Census_ETHEREUMACCOUNT Census_Type = 4 Census_CA Census_Type = 5 Census_FARCASTER_FRAME Census_Type = 6 )
func (Census_Type) Descriptor ¶ added in v1.13.2
func (Census_Type) Descriptor() protoreflect.EnumDescriptor
func (Census_Type) Enum ¶ added in v1.13.2
func (x Census_Type) Enum() *Census_Type
func (Census_Type) EnumDescriptor
deprecated
added in
v1.13.2
func (Census_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Census_Type.Descriptor instead.
func (Census_Type) Number ¶ added in v1.13.2
func (x Census_Type) Number() protoreflect.EnumNumber
func (Census_Type) String ¶ added in v1.13.2
func (x Census_Type) String() string
func (Census_Type) Type ¶ added in v1.13.2
func (Census_Type) Type() protoreflect.EnumType
type CollectFaucetTx ¶ added in v1.13.3
type CollectFaucetTx struct { TxType TxType `protobuf:"varint,1,opt,name=txType,proto3,enum=dvote.types.v1.TxType" json:"txType,omitempty"` FaucetPackage *FaucetPackage `protobuf:"bytes,2,opt,name=faucetPackage,proto3" json:"faucetPackage,omitempty"` Nonce uint32 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*CollectFaucetTx) Descriptor
deprecated
added in
v1.13.3
func (*CollectFaucetTx) Descriptor() ([]byte, []int)
Deprecated: Use CollectFaucetTx.ProtoReflect.Descriptor instead.
func (*CollectFaucetTx) GetFaucetPackage ¶ added in v1.13.3
func (x *CollectFaucetTx) GetFaucetPackage() *FaucetPackage
func (*CollectFaucetTx) GetNonce ¶ added in v1.13.3
func (x *CollectFaucetTx) GetNonce() uint32
func (*CollectFaucetTx) GetTxType ¶ added in v1.13.3
func (x *CollectFaucetTx) GetTxType() TxType
func (*CollectFaucetTx) ProtoMessage ¶ added in v1.13.3
func (*CollectFaucetTx) ProtoMessage()
func (*CollectFaucetTx) ProtoReflect ¶ added in v1.13.3
func (x *CollectFaucetTx) ProtoReflect() protoreflect.Message
func (*CollectFaucetTx) Reset ¶ added in v1.13.3
func (x *CollectFaucetTx) Reset()
func (*CollectFaucetTx) String ¶ added in v1.13.3
func (x *CollectFaucetTx) String() string
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"` CostFromWeight bool `protobuf:"varint,5,opt,name=costFromWeight,proto3" json:"costFromWeight,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) GetCostFromWeight ¶ added in v1.0.3
func (x *EnvelopeType) GetCostFromWeight() 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 FaucetPackage ¶ added in v1.13.3
type FaucetPackage struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*FaucetPackage) Descriptor
deprecated
added in
v1.13.3
func (*FaucetPackage) Descriptor() ([]byte, []int)
Deprecated: Use FaucetPackage.ProtoReflect.Descriptor instead.
func (*FaucetPackage) GetPayload ¶ added in v1.13.3
func (x *FaucetPackage) GetPayload() []byte
func (*FaucetPackage) GetSignature ¶ added in v1.13.3
func (x *FaucetPackage) GetSignature() []byte
func (*FaucetPackage) ProtoMessage ¶ added in v1.13.3
func (*FaucetPackage) ProtoMessage()
func (*FaucetPackage) ProtoReflect ¶ added in v1.13.3
func (x *FaucetPackage) ProtoReflect() protoreflect.Message
func (*FaucetPackage) Reset ¶ added in v1.13.3
func (x *FaucetPackage) Reset()
func (*FaucetPackage) String ¶ added in v1.13.3
func (x *FaucetPackage) String() string
type FaucetPayload ¶ added in v1.13.3
type FaucetPayload struct { Identifier uint64 `protobuf:"varint,1,opt,name=identifier,proto3" json:"identifier,omitempty"` To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*FaucetPayload) Descriptor
deprecated
added in
v1.13.3
func (*FaucetPayload) Descriptor() ([]byte, []int)
Deprecated: Use FaucetPayload.ProtoReflect.Descriptor instead.
func (*FaucetPayload) GetAmount ¶ added in v1.13.3
func (x *FaucetPayload) GetAmount() uint64
func (*FaucetPayload) GetIdentifier ¶ added in v1.13.3
func (x *FaucetPayload) GetIdentifier() uint64
func (*FaucetPayload) GetTo ¶ added in v1.13.3
func (x *FaucetPayload) GetTo() []byte
func (*FaucetPayload) ProtoMessage ¶ added in v1.13.3
func (*FaucetPayload) ProtoMessage()
func (*FaucetPayload) ProtoReflect ¶ added in v1.13.3
func (x *FaucetPayload) ProtoReflect() protoreflect.Message
func (*FaucetPayload) Reset ¶ added in v1.13.3
func (x *FaucetPayload) Reset()
func (*FaucetPayload) String ¶ added in v1.13.3
func (x *FaucetPayload) String() string
type IpfsPin ¶ added in v0.1.3
type IpfsPin struct { Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
func (*IpfsPin) Descriptor
deprecated
added in
v0.1.3
func (*IpfsPin) ProtoMessage ¶ added in v0.1.3
func (*IpfsPin) ProtoMessage()
func (*IpfsPin) ProtoReflect ¶ added in v0.1.3
func (x *IpfsPin) ProtoReflect() protoreflect.Message
type IpfsSync ¶ added in v0.1.3
type IpfsSync struct { Msgtype IpfsSync_Type `protobuf:"varint,1,opt,name=msgtype,proto3,enum=dvote.types.v1.IpfsSync_Type" json:"msgtype,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Multiaddress string `protobuf:"bytes,3,opt,name=multiaddress,proto3" json:"multiaddress,omitempty"` Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` PinList []*IpfsPin `protobuf:"bytes,5,rep,name=pinList,proto3" json:"pinList,omitempty"` Timestamp uint32 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*IpfsSync) Descriptor
deprecated
added in
v0.1.3
func (*IpfsSync) GetAddress ¶ added in v0.1.3
func (*IpfsSync) GetMsgtype ¶ added in v0.1.3
func (x *IpfsSync) GetMsgtype() IpfsSync_Type
func (*IpfsSync) GetMultiaddress ¶ added in v0.1.3
func (*IpfsSync) GetPinList ¶ added in v0.1.3
func (*IpfsSync) GetTimestamp ¶ added in v0.1.3
func (*IpfsSync) ProtoMessage ¶ added in v0.1.3
func (*IpfsSync) ProtoMessage()
func (*IpfsSync) ProtoReflect ¶ added in v0.1.3
func (x *IpfsSync) ProtoReflect() protoreflect.Message
type IpfsSync_Type ¶ added in v1.0.3
type IpfsSync_Type int32
const ( IpfsSync_UNKNOWN IpfsSync_Type = 0 IpfsSync_HELLO IpfsSync_Type = 1 IpfsSync_UPDATE IpfsSync_Type = 2 IpfsSync_FETCH IpfsSync_Type = 3 IpfsSync_FETCHREPLY IpfsSync_Type = 4 )
func (IpfsSync_Type) Descriptor ¶ added in v1.0.3
func (IpfsSync_Type) Descriptor() protoreflect.EnumDescriptor
func (IpfsSync_Type) Enum ¶ added in v1.0.3
func (x IpfsSync_Type) Enum() *IpfsSync_Type
func (IpfsSync_Type) EnumDescriptor
deprecated
added in
v1.0.3
func (IpfsSync_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use IpfsSync_Type.Descriptor instead.
func (IpfsSync_Type) Number ¶ added in v1.0.3
func (x IpfsSync_Type) Number() protoreflect.EnumNumber
func (IpfsSync_Type) String ¶ added in v1.0.3
func (x IpfsSync_Type) String() string
func (IpfsSync_Type) Type ¶ added in v1.0.3
func (IpfsSync_Type) Type() protoreflect.EnumType
type NewProcessTx ¶
type NewProcessTx struct { Txtype TxType `protobuf:"varint,1,opt,name=txtype,proto3,enum=dvote.types.v1.TxType" json:"txtype,omitempty"` Nonce uint32 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` Process *Process `protobuf:"bytes,3,opt,name=process,proto3" json:"process,omitempty"` FaucetPackage *FaucetPackage `protobuf:"bytes,4,opt,name=faucetPackage,proto3,oneof" json:"faucetPackage,omitempty"` // contains filtered or unexported fields }
func (*NewProcessTx) Descriptor
deprecated
func (*NewProcessTx) Descriptor() ([]byte, []int)
Deprecated: Use NewProcessTx.ProtoReflect.Descriptor instead.
func (*NewProcessTx) GetFaucetPackage ¶ added in v1.15.10
func (x *NewProcessTx) GetFaucetPackage() *FaucetPackage
func (*NewProcessTx) GetNonce ¶
func (x *NewProcessTx) GetNonce() uint32
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 an entity 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"` // deprecated // BlockCount represents the amount of tendermint blocks that the process will last BlockCount uint32 `protobuf:"varint,4,opt,name=blockCount,proto3" json:"blockCount,omitempty"` // deprecated // CensusRoot merkle root of all the census in the process CensusRoot []byte `protobuf:"bytes,5,opt,name=censusRoot,proto3" json:"censusRoot,omitempty"` // CensusURI where to find the census CensusURI *string `protobuf:"bytes,6,opt,name=censusURI,proto3,oneof" json:"censusURI,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"` 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"` EthIndexSlot *uint32 `protobuf:"varint,23,opt,name=ethIndexSlot,proto3,oneof" json:"ethIndexSlot,omitempty"` // SourceBlockHeight is the block height of the origin blockchain (if any) SourceBlockHeight *uint64 `protobuf:"varint,24,opt,name=sourceBlockHeight,proto3,oneof" json:"sourceBlockHeight,omitempty"` // Owner is the creator of a process (if any) otherwise is assumed the creator is the entityId Owner []byte `protobuf:"bytes,25,opt,name=owner,proto3,oneof" json:"owner,omitempty"` // Metadata is the content hashed URI of the JSON meta data (See Data Origins) Metadata *string `protobuf:"bytes,26,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"` // SourceNetworkId is the identifier of the network origin (where the process have been created) SourceNetworkId SourceNetworkId `protobuf:"varint,27,opt,name=sourceNetworkId,proto3,enum=dvote.types.v1.SourceNetworkId" json:"sourceNetworkId,omitempty"` // MaxCensusSize is set by the Process creator, indicates the maximum number of votes that will be allowed. MaxCensusSize uint64 `protobuf:"varint,28,opt,name=maxCensusSize,proto3" json:"maxCensusSize,omitempty"` // RollingCensusRoot merkle root of the rolling census. Set by the // vocdoni-node when Mode.Process = true RollingCensusRoot []byte `protobuf:"bytes,29,opt,name=rollingCensusRoot,proto3,oneof" json:"rollingCensusRoot,omitempty"` // RollingCensusSize is set by the vocdoni-node when Mode.PreRegister = // true and the StartBlock has been reached. RollingCensusSize *uint64 `protobuf:"varint,30,opt,name=rollingCensusSize,proto3,oneof" json:"rollingCensusSize,omitempty"` // NullifiersRoot is the root of the pre-census nullifiers merkle tree. // Used when Mode.PreRegister = true. NullifiersRoot []byte `protobuf:"bytes,31,opt,name=nullifiersRoot,proto3,oneof" json:"nullifiersRoot,omitempty"` // sourceNetworkContractAddr is used for EVM token based voting and it is // the contract address of the token that is going to define the census SourceNetworkContractAddr []byte `protobuf:"bytes,32,opt,name=sourceNetworkContractAddr,proto3,oneof" json:"sourceNetworkContractAddr,omitempty"` // tokenDecimals represents the number of decimals of the token (i.e ERC20) used for voting. // It is normally used for processes with on-chain census TokenDecimals *uint32 `protobuf:"varint,33,opt,name=tokenDecimals,proto3,oneof" json:"tokenDecimals,omitempty"` // tempSIKs flag decides if when the process has finished, the SIKs related // to it will be removed or not TempSIKs *bool `protobuf:"varint,34,opt,name=tempSIKs,proto3,oneof" json:"tempSIKs,omitempty"` // The unix timestamp of the start of the process StartTime uint32 `protobuf:"varint,35,opt,name=startTime,proto3" json:"startTime,omitempty"` // The duration of the process in seconds Duration uint32 `protobuf:"varint,36,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*Process) Descriptor
deprecated
func (*Process) GetBlockCount ¶
func (*Process) GetCensusOrigin ¶
func (x *Process) GetCensusOrigin() CensusOrigin
func (*Process) GetCensusRoot ¶ added in v0.1.5
func (*Process) GetCensusURI ¶ added in v0.1.5
func (*Process) GetDuration ¶ added in v1.15.6
func (*Process) GetEncryptionPrivateKeys ¶
func (*Process) GetEncryptionPublicKeys ¶
func (*Process) GetEntityId ¶
func (*Process) GetEnvelopeType ¶
func (x *Process) GetEnvelopeType() *EnvelopeType
func (*Process) GetEthIndexSlot ¶ added in v0.1.1
func (*Process) GetKeyIndex ¶
func (*Process) GetMaxCensusSize ¶ added in v1.13.3
func (*Process) GetMetadata ¶ added in v1.0.3
func (*Process) GetMode ¶
func (x *Process) GetMode() *ProcessMode
func (*Process) GetNamespace ¶
func (*Process) GetNullifiersRoot ¶ added in v1.13.3
func (*Process) GetParamsSignature ¶
func (*Process) GetProcessId ¶
func (*Process) GetQuestionCount ¶
func (*Process) GetQuestionIndex ¶
func (*Process) GetResults ¶
func (x *Process) GetResults() *ProcessResult
func (*Process) GetRollingCensusRoot ¶ added in v1.13.3
func (*Process) GetRollingCensusSize ¶ added in v1.13.3
func (*Process) GetSourceBlockHeight ¶ added in v1.0.3
func (*Process) GetSourceNetworkContractAddr ¶ added in v1.13.3
func (*Process) GetSourceNetworkId ¶ added in v1.13.2
func (x *Process) GetSourceNetworkId() SourceNetworkId
func (*Process) GetStartBlock ¶
func (*Process) GetStartTime ¶ added in v1.15.6
func (*Process) GetStatus ¶
func (x *Process) GetStatus() ProcessStatus
func (*Process) GetTempSIKs ¶ added in v1.14.6
func (*Process) GetTokenDecimals ¶ added in v1.13.3
func (*Process) GetVoteOptions ¶
func (x *Process) GetVoteOptions() *ProcessVoteOptions
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
func (*Process) ProtoReflect ¶
func (x *Process) ProtoReflect() protoreflect.Message
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 ProcessIdList ¶ added in v1.13.3
type ProcessIdList struct { ProcessIds [][]byte `protobuf:"bytes,1,rep,name=processIds,proto3" json:"processIds,omitempty"` // contains filtered or unexported fields }
func (*ProcessIdList) Descriptor
deprecated
added in
v1.13.3
func (*ProcessIdList) Descriptor() ([]byte, []int)
Deprecated: Use ProcessIdList.ProtoReflect.Descriptor instead.
func (*ProcessIdList) GetProcessIds ¶ added in v1.13.3
func (x *ProcessIdList) GetProcessIds() [][]byte
func (*ProcessIdList) ProtoMessage ¶ added in v1.13.3
func (*ProcessIdList) ProtoMessage()
func (*ProcessIdList) ProtoReflect ¶ added in v1.13.3
func (x *ProcessIdList) ProtoReflect() protoreflect.Message
func (*ProcessIdList) Reset ¶ added in v1.13.3
func (x *ProcessIdList) Reset()
func (*ProcessIdList) String ¶ added in v1.13.3
func (x *ProcessIdList) 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"` PreRegister bool `protobuf:"varint,5,opt,name=preRegister,proto3" json:"preRegister,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) GetPreRegister ¶ added in v1.13.2
func (x *ProcessMode) GetPreRegister() 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"` // contains filtered or unexported fields }
func (*ProcessResult) Descriptor
deprecated
func (*ProcessResult) Descriptor() ([]byte, []int)
Deprecated: Use ProcessResult.ProtoReflect.Descriptor instead.
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) Descriptor() protoreflect.EnumDescriptor
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 (x ProcessStatus) Number() protoreflect.EnumNumber
func (ProcessStatus) String ¶
func (x ProcessStatus) String() string
func (ProcessStatus) Type ¶
func (ProcessStatus) Type() protoreflect.EnumType
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_EthereumStorage // *Proof_EthereumAccount // *Proof_Ca // *Proof_Arbo // *Proof_ZkSnark // *Proof_MinimeStorage // *Proof_FarcasterFrame Payload isProof_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*Proof) Descriptor
deprecated
func (*Proof) GetEthereumAccount ¶
func (x *Proof) GetEthereumAccount() *ProofEthereumAccount
func (*Proof) GetEthereumStorage ¶
func (x *Proof) GetEthereumStorage() *ProofEthereumStorage
func (*Proof) GetFarcasterFrame ¶ added in v1.15.6
func (x *Proof) GetFarcasterFrame() *ProofFarcasterFrame
func (*Proof) GetMinimeStorage ¶ added in v1.13.2
func (x *Proof) GetMinimeStorage() *ProofMinime
func (*Proof) GetPayload ¶
func (m *Proof) GetPayload() isProof_Payload
func (*Proof) GetZkSnark ¶ added in v1.13.2
func (x *Proof) GetZkSnark() *ProofZkSNARK
func (*Proof) ProtoMessage ¶
func (*Proof) ProtoMessage()
func (*Proof) ProtoReflect ¶
func (x *Proof) ProtoReflect() protoreflect.Message
type ProofArbo ¶ added in v1.13.2
type ProofArbo struct { Type ProofArbo_Type `protobuf:"varint,1,opt,name=type,proto3,enum=dvote.types.v1.ProofArbo_Type" json:"type,omitempty"` Siblings []byte `protobuf:"bytes,2,opt,name=siblings,proto3" json:"siblings,omitempty"` AvailableWeight []byte `protobuf:"bytes,3,opt,name=availableWeight,proto3" json:"availableWeight,omitempty"` KeyType ProofArbo_KeyType `protobuf:"varint,4,opt,name=keyType,proto3,enum=dvote.types.v1.ProofArbo_KeyType" json:"keyType,omitempty"` VoteWeight []byte `protobuf:"bytes,5,opt,name=voteWeight,proto3" json:"voteWeight,omitempty"` // contains filtered or unexported fields }
func (*ProofArbo) Descriptor
deprecated
added in
v1.13.2
func (*ProofArbo) GetAvailableWeight ¶ added in v1.14.6
func (*ProofArbo) GetKeyType ¶ added in v1.13.3
func (x *ProofArbo) GetKeyType() ProofArbo_KeyType
func (*ProofArbo) GetSiblings ¶ added in v1.13.2
func (*ProofArbo) GetType ¶ added in v1.13.2
func (x *ProofArbo) GetType() ProofArbo_Type
func (*ProofArbo) GetVoteWeight ¶ added in v1.14.6
func (*ProofArbo) ProtoMessage ¶ added in v1.13.2
func (*ProofArbo) ProtoMessage()
func (*ProofArbo) ProtoReflect ¶ added in v1.13.2
func (x *ProofArbo) ProtoReflect() protoreflect.Message
type ProofArbo_KeyType ¶ added in v1.13.3
type ProofArbo_KeyType int32
const ( ProofArbo_PUBKEY ProofArbo_KeyType = 0 ProofArbo_ADDRESS ProofArbo_KeyType = 1 )
func (ProofArbo_KeyType) Descriptor ¶ added in v1.13.3
func (ProofArbo_KeyType) Descriptor() protoreflect.EnumDescriptor
func (ProofArbo_KeyType) Enum ¶ added in v1.13.3
func (x ProofArbo_KeyType) Enum() *ProofArbo_KeyType
func (ProofArbo_KeyType) EnumDescriptor
deprecated
added in
v1.13.3
func (ProofArbo_KeyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProofArbo_KeyType.Descriptor instead.
func (ProofArbo_KeyType) Number ¶ added in v1.13.3
func (x ProofArbo_KeyType) Number() protoreflect.EnumNumber
func (ProofArbo_KeyType) String ¶ added in v1.13.3
func (x ProofArbo_KeyType) String() string
func (ProofArbo_KeyType) Type ¶ added in v1.13.3
func (ProofArbo_KeyType) Type() protoreflect.EnumType
type ProofArbo_Type ¶ added in v1.13.2
type ProofArbo_Type int32
const ( ProofArbo_BLAKE2B ProofArbo_Type = 0 ProofArbo_POSEIDON ProofArbo_Type = 1 )
func (ProofArbo_Type) Descriptor ¶ added in v1.13.2
func (ProofArbo_Type) Descriptor() protoreflect.EnumDescriptor
func (ProofArbo_Type) Enum ¶ added in v1.13.2
func (x ProofArbo_Type) Enum() *ProofArbo_Type
func (ProofArbo_Type) EnumDescriptor
deprecated
added in
v1.13.2
func (ProofArbo_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProofArbo_Type.Descriptor instead.
func (ProofArbo_Type) Number ¶ added in v1.13.2
func (x ProofArbo_Type) Number() protoreflect.EnumNumber
func (ProofArbo_Type) String ¶ added in v1.13.2
func (x ProofArbo_Type) String() string
func (ProofArbo_Type) Type ¶ added in v1.13.2
func (ProofArbo_Type) Type() protoreflect.EnumType
type ProofCA ¶ added in v0.1.7
type ProofCA struct { Type ProofCA_Type `protobuf:"varint,1,opt,name=type,proto3,enum=dvote.types.v1.ProofCA_Type" json:"type,omitempty"` Bundle *CAbundle `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*ProofCA) Descriptor
deprecated
added in
v0.1.7
func (*ProofCA) GetSignature ¶ added in v0.1.7
func (*ProofCA) GetType ¶ added in v0.1.7
func (x *ProofCA) GetType() ProofCA_Type
func (*ProofCA) ProtoMessage ¶ added in v0.1.7
func (*ProofCA) ProtoMessage()
func (*ProofCA) ProtoReflect ¶ added in v0.1.7
func (x *ProofCA) ProtoReflect() protoreflect.Message
type ProofCA_Type ¶ added in v1.0.3
type ProofCA_Type int32
const ( ProofCA_UNKNOWN ProofCA_Type = 0 ProofCA_ECDSA ProofCA_Type = 1 ProofCA_ECDSA_PIDSALTED ProofCA_Type = 2 ProofCA_ECDSA_BLIND ProofCA_Type = 3 ProofCA_ECDSA_BLIND_PIDSALTED ProofCA_Type = 4 )
func (ProofCA_Type) Descriptor ¶ added in v1.0.3
func (ProofCA_Type) Descriptor() protoreflect.EnumDescriptor
func (ProofCA_Type) Enum ¶ added in v1.0.3
func (x ProofCA_Type) Enum() *ProofCA_Type
func (ProofCA_Type) EnumDescriptor
deprecated
added in
v1.0.3
func (ProofCA_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProofCA_Type.Descriptor instead.
func (ProofCA_Type) Number ¶ added in v1.0.3
func (x ProofCA_Type) Number() protoreflect.EnumNumber
func (ProofCA_Type) String ¶ added in v1.0.3
func (x ProofCA_Type) String() string
func (ProofCA_Type) Type ¶ added in v1.0.3
func (ProofCA_Type) Type() protoreflect.EnumType
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 ProofFarcasterFrame ¶ added in v1.15.6
type ProofFarcasterFrame struct { SignedFrameMessageBody []byte `protobuf:"bytes,1,opt,name=signedFrameMessageBody,proto3" json:"signedFrameMessageBody,omitempty"` CensusProof *ProofArbo `protobuf:"bytes,2,opt,name=censusProof,proto3" json:"censusProof,omitempty"` PublicKey []byte `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"` // contains filtered or unexported fields }
ProofFarcasterFrame is a proof created on the Farcaster network
func (*ProofFarcasterFrame) Descriptor
deprecated
added in
v1.15.6
func (*ProofFarcasterFrame) Descriptor() ([]byte, []int)
Deprecated: Use ProofFarcasterFrame.ProtoReflect.Descriptor instead.
func (*ProofFarcasterFrame) GetCensusProof ¶ added in v1.15.6
func (x *ProofFarcasterFrame) GetCensusProof() *ProofArbo
func (*ProofFarcasterFrame) GetPublicKey ¶ added in v1.15.6
func (x *ProofFarcasterFrame) GetPublicKey() []byte
func (*ProofFarcasterFrame) GetSignedFrameMessageBody ¶ added in v1.15.6
func (x *ProofFarcasterFrame) GetSignedFrameMessageBody() []byte
func (*ProofFarcasterFrame) ProtoMessage ¶ added in v1.15.6
func (*ProofFarcasterFrame) ProtoMessage()
func (*ProofFarcasterFrame) ProtoReflect ¶ added in v1.15.6
func (x *ProofFarcasterFrame) ProtoReflect() protoreflect.Message
func (*ProofFarcasterFrame) Reset ¶ added in v1.15.6
func (x *ProofFarcasterFrame) Reset()
func (*ProofFarcasterFrame) String ¶ added in v1.15.6
func (x *ProofFarcasterFrame) String() string
type ProofMinime ¶ added in v1.13.2
type ProofMinime struct { ProofPrevBlock *ProofEthereumStorage `protobuf:"bytes,1,opt,name=proofPrevBlock,proto3" json:"proofPrevBlock,omitempty"` ProofNextBlock *ProofEthereumStorage `protobuf:"bytes,2,opt,name=proofNextBlock,proto3" json:"proofNextBlock,omitempty"` // contains filtered or unexported fields }
func (*ProofMinime) Descriptor
deprecated
added in
v1.13.2
func (*ProofMinime) Descriptor() ([]byte, []int)
Deprecated: Use ProofMinime.ProtoReflect.Descriptor instead.
func (*ProofMinime) GetProofNextBlock ¶ added in v1.13.2
func (x *ProofMinime) GetProofNextBlock() *ProofEthereumStorage
func (*ProofMinime) GetProofPrevBlock ¶ added in v1.13.2
func (x *ProofMinime) GetProofPrevBlock() *ProofEthereumStorage
func (*ProofMinime) ProtoMessage ¶ added in v1.13.2
func (*ProofMinime) ProtoMessage()
func (*ProofMinime) ProtoReflect ¶ added in v1.13.2
func (x *ProofMinime) ProtoReflect() protoreflect.Message
func (*ProofMinime) Reset ¶ added in v1.13.2
func (x *ProofMinime) Reset()
func (*ProofMinime) String ¶ added in v1.13.2
func (x *ProofMinime) String() string
type ProofZkSNARK ¶ added in v1.13.2
type ProofZkSNARK struct { // circuitParametersIndex defines the index of the parameter set of the // circuit. Each process has defined a set of available parameters for // the same circuit, the 'parametersIndex' defines the index of the set // for which the ProofZkSNARK belongs for the circuit used in that // process. CircuitParametersIndex int32 `protobuf:"varint,1,opt,name=circuitParametersIndex,proto3" json:"circuitParametersIndex,omitempty"` // a represents a G1 point in Affine coordinates A []string `protobuf:"bytes,2,rep,name=a,proto3" json:"a,omitempty"` // b represents a G2 point in Affine coordinates, represented by an // array of arrays: []string => [2][2]bigint). // [w, x, y, z] => [[w, x], [y, z]] B []string `protobuf:"bytes,3,rep,name=b,proto3" json:"b,omitempty"` // c represents a G1 point in Affine coordinates C []string `protobuf:"bytes,4,rep,name=c,proto3" json:"c,omitempty"` PublicInputs []string `protobuf:"bytes,5,rep,name=publicInputs,proto3" json:"publicInputs,omitempty"` // contains filtered or unexported fields }
Groth16 zkSNARK proof + public inputs
func (*ProofZkSNARK) Descriptor
deprecated
added in
v1.13.2
func (*ProofZkSNARK) Descriptor() ([]byte, []int)
Deprecated: Use ProofZkSNARK.ProtoReflect.Descriptor instead.
func (*ProofZkSNARK) GetA ¶ added in v1.13.2
func (x *ProofZkSNARK) GetA() []string
func (*ProofZkSNARK) GetB ¶ added in v1.13.2
func (x *ProofZkSNARK) GetB() []string
func (*ProofZkSNARK) GetC ¶ added in v1.13.2
func (x *ProofZkSNARK) GetC() []string
func (*ProofZkSNARK) GetCircuitParametersIndex ¶ added in v1.13.2
func (x *ProofZkSNARK) GetCircuitParametersIndex() int32
func (*ProofZkSNARK) GetPublicInputs ¶ added in v1.13.2
func (x *ProofZkSNARK) GetPublicInputs() []string
func (*ProofZkSNARK) ProtoMessage ¶ added in v1.13.2
func (*ProofZkSNARK) ProtoMessage()
func (*ProofZkSNARK) ProtoReflect ¶ added in v1.13.2
func (x *ProofZkSNARK) ProtoReflect() protoreflect.Message
func (*ProofZkSNARK) Reset ¶ added in v1.13.2
func (x *ProofZkSNARK) Reset()
func (*ProofZkSNARK) String ¶ added in v1.13.2
func (x *ProofZkSNARK) String() string
type Proof_Arbo ¶ added in v1.13.2
type Proof_Arbo struct { // Proof used for census using arbo Arbo *ProofArbo `protobuf:"bytes,6,opt,name=arbo,proto3,oneof"` }
type Proof_Ca ¶ added in v0.1.7
type Proof_Ca struct { // Proof Certification Authority Ca *ProofCA `protobuf:"bytes,5,opt,name=ca,proto3,oneof"` }
type Proof_EthereumAccount ¶
type Proof_EthereumAccount struct { // Proof used by oracles to update the census of EVM processes EthereumAccount *ProofEthereumAccount `protobuf:"bytes,4,opt,name=ethereumAccount,proto3,oneof"` }
type Proof_EthereumStorage ¶
type Proof_EthereumStorage struct { // Proof used on EVM census based processes EthereumStorage *ProofEthereumStorage `protobuf:"bytes,3,opt,name=ethereumStorage,proto3,oneof"` }
type Proof_FarcasterFrame ¶ added in v1.15.6
type Proof_FarcasterFrame struct { // ProofFarcastFrame is a proof created on the Farcaster network FarcasterFrame *ProofFarcasterFrame `protobuf:"bytes,9,opt,name=farcasterFrame,proto3,oneof"` }
type Proof_MinimeStorage ¶ added in v1.13.2
type Proof_MinimeStorage struct { // Proof used in Minime token based census MinimeStorage *ProofMinime `protobuf:"bytes,8,opt,name=minimeStorage,proto3,oneof"` }
type Proof_ZkSnark ¶ added in v1.13.2
type Proof_ZkSnark struct { // zkSnark proof ZkSnark *ProofZkSNARK `protobuf:"bytes,7,opt,name=zkSnark,proto3,oneof"` }
type QuestionResult ¶
type QuestionResult struct { Question [][]byte `protobuf:"bytes,1,rep,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() [][]byte
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 RegisterKeyTx ¶ added in v1.13.2
type RegisterKeyTx struct { Nonce uint32 `protobuf:"varint,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"` // Franchise proof NewKey []byte `protobuf:"bytes,4,opt,name=newKey,proto3" json:"newKey,omitempty"` // New key to register Weight string `protobuf:"bytes,5,opt,name=weight,proto3" json:"weight,omitempty"` // Weight to delegate to newKey // contains filtered or unexported fields }
func (*RegisterKeyTx) Descriptor
deprecated
added in
v1.13.2
func (*RegisterKeyTx) Descriptor() ([]byte, []int)
Deprecated: Use RegisterKeyTx.ProtoReflect.Descriptor instead.
func (*RegisterKeyTx) GetNewKey ¶ added in v1.13.2
func (x *RegisterKeyTx) GetNewKey() []byte
func (*RegisterKeyTx) GetNonce ¶ added in v1.13.2
func (x *RegisterKeyTx) GetNonce() uint32
func (*RegisterKeyTx) GetProcessId ¶ added in v1.13.2
func (x *RegisterKeyTx) GetProcessId() []byte
func (*RegisterKeyTx) GetProof ¶ added in v1.13.2
func (x *RegisterKeyTx) GetProof() *Proof
func (*RegisterKeyTx) GetWeight ¶ added in v1.13.2
func (x *RegisterKeyTx) GetWeight() string
func (*RegisterKeyTx) ProtoMessage ¶ added in v1.13.2
func (*RegisterKeyTx) ProtoMessage()
func (*RegisterKeyTx) ProtoReflect ¶ added in v1.13.2
func (x *RegisterKeyTx) ProtoReflect() protoreflect.Message
func (*RegisterKeyTx) Reset ¶ added in v1.13.2
func (x *RegisterKeyTx) Reset()
func (*RegisterKeyTx) String ¶ added in v1.13.2
func (x *RegisterKeyTx) String() string
type RegisterSIKTx ¶ added in v1.14.6
type RegisterSIKTx struct { ElectionId []byte `protobuf:"bytes,1,opt,name=electionId,proto3" json:"electionId,omitempty"` CensusProof *Proof `protobuf:"bytes,2,opt,name=censusProof,proto3" json:"censusProof,omitempty"` SIK []byte `protobuf:"bytes,3,opt,name=SIK,proto3" json:"SIK,omitempty"` // contains filtered or unexported fields }
func (*RegisterSIKTx) Descriptor
deprecated
added in
v1.14.6
func (*RegisterSIKTx) Descriptor() ([]byte, []int)
Deprecated: Use RegisterSIKTx.ProtoReflect.Descriptor instead.
func (*RegisterSIKTx) GetCensusProof ¶ added in v1.14.6
func (x *RegisterSIKTx) GetCensusProof() *Proof
func (*RegisterSIKTx) GetElectionId ¶ added in v1.14.6
func (x *RegisterSIKTx) GetElectionId() []byte
func (*RegisterSIKTx) GetSIK ¶ added in v1.14.6
func (x *RegisterSIKTx) GetSIK() []byte
func (*RegisterSIKTx) ProtoMessage ¶ added in v1.14.6
func (*RegisterSIKTx) ProtoMessage()
func (*RegisterSIKTx) ProtoReflect ¶ added in v1.14.6
func (x *RegisterSIKTx) ProtoReflect() protoreflect.Message
func (*RegisterSIKTx) Reset ¶ added in v1.14.6
func (x *RegisterSIKTx) Reset()
func (*RegisterSIKTx) String ¶ added in v1.14.6
func (x *RegisterSIKTx) String() string
type SIKTx ¶ added in v1.14.6
type SIKTx struct { Txtype TxType `protobuf:"varint,1,opt,name=txtype,proto3,enum=dvote.types.v1.TxType" json:"txtype,omitempty"` Nonce *uint32 `protobuf:"varint,2,opt,name=nonce,proto3,oneof" json:"nonce,omitempty"` SIK []byte `protobuf:"bytes,3,opt,name=SIK,proto3,oneof" json:"SIK,omitempty"` FaucetPackage *FaucetPackage `protobuf:"bytes,4,opt,name=faucetPackage,proto3,oneof" json:"faucetPackage,omitempty"` // contains filtered or unexported fields }
func (*SIKTx) Descriptor
deprecated
added in
v1.14.6
func (*SIKTx) GetFaucetPackage ¶ added in v1.15.10
func (x *SIKTx) GetFaucetPackage() *FaucetPackage
func (*SIKTx) ProtoMessage ¶ added in v1.14.6
func (*SIKTx) ProtoMessage()
func (*SIKTx) ProtoReflect ¶ added in v1.14.6
func (x *SIKTx) ProtoReflect() protoreflect.Message
type SendTokensTx ¶ added in v1.13.3
type SendTokensTx struct { Txtype TxType `protobuf:"varint,1,opt,name=txtype,proto3,enum=dvote.types.v1.TxType" json:"txtype,omitempty"` Nonce uint32 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` From []byte `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"` To []byte `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` Value uint64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SendTokensTx) Descriptor
deprecated
added in
v1.13.3
func (*SendTokensTx) Descriptor() ([]byte, []int)
Deprecated: Use SendTokensTx.ProtoReflect.Descriptor instead.
func (*SendTokensTx) GetFrom ¶ added in v1.13.3
func (x *SendTokensTx) GetFrom() []byte
func (*SendTokensTx) GetNonce ¶ added in v1.13.3
func (x *SendTokensTx) GetNonce() uint32
func (*SendTokensTx) GetTo ¶ added in v1.13.3
func (x *SendTokensTx) GetTo() []byte
func (*SendTokensTx) GetTxtype ¶ added in v1.13.3
func (x *SendTokensTx) GetTxtype() TxType
func (*SendTokensTx) GetValue ¶ added in v1.13.3
func (x *SendTokensTx) GetValue() uint64
func (*SendTokensTx) ProtoMessage ¶ added in v1.13.3
func (*SendTokensTx) ProtoMessage()
func (*SendTokensTx) ProtoReflect ¶ added in v1.13.3
func (x *SendTokensTx) ProtoReflect() protoreflect.Message
func (*SendTokensTx) Reset ¶ added in v1.13.3
func (x *SendTokensTx) Reset()
func (*SendTokensTx) String ¶ added in v1.13.3
func (x *SendTokensTx) String() string
type SetAccountTx ¶ added in v1.14.0
type SetAccountTx struct { Txtype TxType `protobuf:"varint,1,opt,name=txtype,proto3,enum=dvote.types.v1.TxType" json:"txtype,omitempty"` Nonce *uint32 `protobuf:"varint,2,opt,name=nonce,proto3,oneof" json:"nonce,omitempty"` InfoURI *string `protobuf:"bytes,3,opt,name=infoURI,proto3,oneof" json:"infoURI,omitempty"` Account []byte `protobuf:"bytes,4,opt,name=account,proto3,oneof" json:"account,omitempty"` FaucetPackage *FaucetPackage `protobuf:"bytes,5,opt,name=faucetPackage,proto3,oneof" json:"faucetPackage,omitempty"` Delegates [][]byte `protobuf:"bytes,6,rep,name=delegates,proto3" json:"delegates,omitempty"` SIK []byte `protobuf:"bytes,7,opt,name=SIK,proto3,oneof" json:"SIK,omitempty"` PublicKey []byte `protobuf:"bytes,8,opt,name=publicKey,proto3,oneof" json:"publicKey,omitempty"` Name *string `protobuf:"bytes,9,opt,name=name,proto3,oneof" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetAccountTx) Descriptor
deprecated
added in
v1.14.0
func (*SetAccountTx) Descriptor() ([]byte, []int)
Deprecated: Use SetAccountTx.ProtoReflect.Descriptor instead.
func (*SetAccountTx) GetAccount ¶ added in v1.14.0
func (x *SetAccountTx) GetAccount() []byte
func (*SetAccountTx) GetDelegates ¶ added in v1.14.0
func (x *SetAccountTx) GetDelegates() [][]byte
func (*SetAccountTx) GetFaucetPackage ¶ added in v1.14.0
func (x *SetAccountTx) GetFaucetPackage() *FaucetPackage
func (*SetAccountTx) GetInfoURI ¶ added in v1.14.0
func (x *SetAccountTx) GetInfoURI() string
func (*SetAccountTx) GetName ¶ added in v1.15.4
func (x *SetAccountTx) GetName() string
func (*SetAccountTx) GetNonce ¶ added in v1.14.0
func (x *SetAccountTx) GetNonce() uint32
func (*SetAccountTx) GetPublicKey ¶ added in v1.15.4
func (x *SetAccountTx) GetPublicKey() []byte
func (*SetAccountTx) GetSIK ¶ added in v1.14.6
func (x *SetAccountTx) GetSIK() []byte
func (*SetAccountTx) GetTxtype ¶ added in v1.14.0
func (x *SetAccountTx) GetTxtype() TxType
func (*SetAccountTx) ProtoMessage ¶ added in v1.14.0
func (*SetAccountTx) ProtoMessage()
func (*SetAccountTx) ProtoReflect ¶ added in v1.14.0
func (x *SetAccountTx) ProtoReflect() protoreflect.Message
func (*SetAccountTx) Reset ¶ added in v1.14.0
func (x *SetAccountTx) Reset()
func (*SetAccountTx) String ¶ added in v1.14.0
func (x *SetAccountTx) String() string
type SetKeykeeperTx ¶ added in v1.13.3
type SetKeykeeperTx struct { Txtype TxType `protobuf:"varint,1,opt,name=txtype,proto3,enum=dvote.types.v1.TxType" json:"txtype,omitempty"` Nonce uint32 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` Keykeeper []byte `protobuf:"bytes,3,opt,name=keykeeper,proto3" json:"keykeeper,omitempty"` // contains filtered or unexported fields }
func (*SetKeykeeperTx) Descriptor
deprecated
added in
v1.13.3
func (*SetKeykeeperTx) Descriptor() ([]byte, []int)
Deprecated: Use SetKeykeeperTx.ProtoReflect.Descriptor instead.
func (*SetKeykeeperTx) GetKeykeeper ¶ added in v1.13.3
func (x *SetKeykeeperTx) GetKeykeeper() []byte
func (*SetKeykeeperTx) GetNonce ¶ added in v1.13.3
func (x *SetKeykeeperTx) GetNonce() uint32
func (*SetKeykeeperTx) GetTxtype ¶ added in v1.13.3
func (x *SetKeykeeperTx) GetTxtype() TxType
func (*SetKeykeeperTx) ProtoMessage ¶ added in v1.13.3
func (*SetKeykeeperTx) ProtoMessage()
func (*SetKeykeeperTx) ProtoReflect ¶ added in v1.13.3
func (x *SetKeykeeperTx) ProtoReflect() protoreflect.Message
func (*SetKeykeeperTx) Reset ¶ added in v1.13.3
func (x *SetKeykeeperTx) Reset()
func (*SetKeykeeperTx) String ¶ added in v1.13.3
func (x *SetKeykeeperTx) 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 uint32 `protobuf:"varint,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"` CensusRoot []byte `protobuf:"bytes,6,opt,name=censusRoot,proto3,oneof" json:"censusRoot,omitempty"` CensusURI *string `protobuf:"bytes,7,opt,name=censusURI,proto3,oneof" json:"censusURI,omitempty"` Proof *Proof `protobuf:"bytes,8,opt,name=proof,proto3,oneof" json:"proof,omitempty"` Results *ProcessResult `protobuf:"bytes,9,opt,name=results,proto3,oneof" json:"results,omitempty"` // tempSIKs flag decides if when the process has finished, the SIKs related // to it will be removed or not TempSIKs *bool `protobuf:"varint,10,opt,name=tempSIKs,proto3,oneof" json:"tempSIKs,omitempty"` Duration *uint32 `protobuf:"varint,11,opt,name=duration,proto3,oneof" json:"duration,omitempty"` CensusSize *uint64 `protobuf:"varint,12,opt,name=censusSize,proto3,oneof" json:"censusSize,omitempty"` FaucetPackage *FaucetPackage `protobuf:"bytes,13,opt,name=faucetPackage,proto3,oneof" json:"faucetPackage,omitempty"` // contains filtered or unexported fields }
func (*SetProcessTx) Descriptor
deprecated
func (*SetProcessTx) Descriptor() ([]byte, []int)
Deprecated: Use SetProcessTx.ProtoReflect.Descriptor instead.
func (*SetProcessTx) GetCensusRoot ¶ added in v0.1.5
func (x *SetProcessTx) GetCensusRoot() []byte
func (*SetProcessTx) GetCensusSize ¶ added in v1.15.8
func (x *SetProcessTx) GetCensusSize() uint64
func (*SetProcessTx) GetCensusURI ¶ added in v0.1.5
func (x *SetProcessTx) GetCensusURI() string
func (*SetProcessTx) GetDuration ¶ added in v1.15.6
func (x *SetProcessTx) GetDuration() uint32
func (*SetProcessTx) GetFaucetPackage ¶ added in v1.15.10
func (x *SetProcessTx) GetFaucetPackage() *FaucetPackage
func (*SetProcessTx) GetNonce ¶
func (x *SetProcessTx) GetNonce() uint32
func (*SetProcessTx) GetProcessId ¶ added in v0.1.2
func (x *SetProcessTx) GetProcessId() []byte
func (*SetProcessTx) GetProof ¶
func (x *SetProcessTx) GetProof() *Proof
func (*SetProcessTx) GetQuestionIndex ¶
func (x *SetProcessTx) GetQuestionIndex() uint32
func (*SetProcessTx) GetResults ¶ added in v0.1.4
func (x *SetProcessTx) GetResults() *ProcessResult
func (*SetProcessTx) GetStatus ¶
func (x *SetProcessTx) GetStatus() ProcessStatus
func (*SetProcessTx) GetTempSIKs ¶ added in v1.14.6
func (x *SetProcessTx) GetTempSIKs() bool
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 SetTransactionCostsTx ¶ added in v1.13.3
type SetTransactionCostsTx struct { Txtype TxType `protobuf:"varint,1,opt,name=txtype,proto3,enum=dvote.types.v1.TxType" json:"txtype,omitempty"` Nonce uint32 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` Value uint64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SetTransactionCostsTx) Descriptor
deprecated
added in
v1.13.3
func (*SetTransactionCostsTx) Descriptor() ([]byte, []int)
Deprecated: Use SetTransactionCostsTx.ProtoReflect.Descriptor instead.
func (*SetTransactionCostsTx) GetNonce ¶ added in v1.13.3
func (x *SetTransactionCostsTx) GetNonce() uint32
func (*SetTransactionCostsTx) GetTxtype ¶ added in v1.13.3
func (x *SetTransactionCostsTx) GetTxtype() TxType
func (*SetTransactionCostsTx) GetValue ¶ added in v1.13.3
func (x *SetTransactionCostsTx) GetValue() uint64
func (*SetTransactionCostsTx) ProtoMessage ¶ added in v1.13.3
func (*SetTransactionCostsTx) ProtoMessage()
func (*SetTransactionCostsTx) ProtoReflect ¶ added in v1.13.3
func (x *SetTransactionCostsTx) ProtoReflect() protoreflect.Message
func (*SetTransactionCostsTx) Reset ¶ added in v1.13.3
func (x *SetTransactionCostsTx) Reset()
func (*SetTransactionCostsTx) String ¶ added in v1.13.3
func (x *SetTransactionCostsTx) String() string
type SignedTx ¶ added in v0.1.9
type SignedTx struct { // The bytes produced by Marshaling a Tx{} message Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // The signature for the tx bytes. // signature is only required in those transactions that actually need signature. // I.e zk-Snarks based transactions won't needed, however the transaction should use // this message type in order to preserve consistency on the Vochain Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3,oneof" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SignedTx) Descriptor
deprecated
added in
v0.1.9
func (*SignedTx) GetSignature ¶ added in v0.1.9
func (*SignedTx) ProtoMessage ¶ added in v0.1.9
func (*SignedTx) ProtoMessage()
func (*SignedTx) ProtoReflect ¶ added in v0.1.9
func (x *SignedTx) ProtoReflect() protoreflect.Message
type SourceNetworkId ¶ added in v1.13.2
type SourceNetworkId int32
const ( SourceNetworkId_UNKNOWN SourceNetworkId = 0 SourceNetworkId_ETH_MAINNET SourceNetworkId = 1 SourceNetworkId_ETH_RINKEBY SourceNetworkId = 2 SourceNetworkId_ETH_GOERLI SourceNetworkId = 3 SourceNetworkId_POA_XDAI SourceNetworkId = 4 SourceNetworkId_POA_SOKOL SourceNetworkId = 5 SourceNetworkId_POLYGON SourceNetworkId = 6 SourceNetworkId_BSC SourceNetworkId = 7 SourceNetworkId_ETH_MAINNET_SIGNALING SourceNetworkId = 8 SourceNetworkId_ETH_RINKEBY_SIGNALING SourceNetworkId = 9 SourceNetworkId_AVAX_FUJI SourceNetworkId = 10 SourceNetworkId_AVAX SourceNetworkId = 11 SourceNetworkId_POLYGON_MUMBAI SourceNetworkId = 12 SourceNetworkId_OPTIMISM SourceNetworkId = 13 SourceNetworkId_ARBITRUM SourceNetworkId = 14 )
func (SourceNetworkId) Descriptor ¶ added in v1.13.2
func (SourceNetworkId) Descriptor() protoreflect.EnumDescriptor
func (SourceNetworkId) Enum ¶ added in v1.13.2
func (x SourceNetworkId) Enum() *SourceNetworkId
func (SourceNetworkId) EnumDescriptor
deprecated
added in
v1.13.2
func (SourceNetworkId) EnumDescriptor() ([]byte, []int)
Deprecated: Use SourceNetworkId.Descriptor instead.
func (SourceNetworkId) Number ¶ added in v1.13.2
func (x SourceNetworkId) Number() protoreflect.EnumNumber
func (SourceNetworkId) String ¶ added in v1.13.2
func (x SourceNetworkId) String() string
func (SourceNetworkId) Type ¶ added in v1.13.2
func (SourceNetworkId) Type() protoreflect.EnumType
type StateDBProcess ¶ added in v1.13.2
type StateDBProcess struct { // vochain Process Process *Process `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"` // root of the StateDB SubTree that contains the proces' votes VotesRoot []byte `protobuf:"bytes,2,opt,name=votesRoot,proto3" json:"votesRoot,omitempty"` // contains filtered or unexported fields }
Process as it is stored in the Arbo-based StateDB
func (*StateDBProcess) Descriptor
deprecated
added in
v1.13.2
func (*StateDBProcess) Descriptor() ([]byte, []int)
Deprecated: Use StateDBProcess.ProtoReflect.Descriptor instead.
func (*StateDBProcess) GetProcess ¶ added in v1.13.2
func (x *StateDBProcess) GetProcess() *Process
func (*StateDBProcess) GetVotesRoot ¶ added in v1.13.2
func (x *StateDBProcess) GetVotesRoot() []byte
func (*StateDBProcess) ProtoMessage ¶ added in v1.13.2
func (*StateDBProcess) ProtoMessage()
func (*StateDBProcess) ProtoReflect ¶ added in v1.13.2
func (x *StateDBProcess) ProtoReflect() protoreflect.Message
func (*StateDBProcess) Reset ¶ added in v1.13.2
func (x *StateDBProcess) Reset()
func (*StateDBProcess) String ¶ added in v1.13.2
func (x *StateDBProcess) String() string
type StateDBVote ¶ added in v1.13.2
type StateDBVote struct { // hash of the protobuf-marshalled Vote VoteHash []byte `protobuf:"bytes,1,opt,name=voteHash,proto3" json:"voteHash,omitempty"` // nullifier identifies the vote Nullifier []byte `protobuf:"bytes,3,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // votePackage contains the choices for the vote VotePackage []byte `protobuf:"bytes,4,opt,name=votePackage,proto3" json:"votePackage,omitempty"` // weight of the vote Weight []byte `protobuf:"bytes,5,opt,name=Weight,proto3" json:"Weight,omitempty"` // overwriteCount stores the number of times this vote has been overwritten OverwriteCount *uint32 `protobuf:"varint,6,opt,name=overwriteCount,proto3,oneof" json:"overwriteCount,omitempty"` // encryptionKeyIndexes stores the indexes of the encryption keys used to encrypt the vote EncryptionKeyIndexes []uint32 `protobuf:"varint,7,rep,packed,name=encryptionKeyIndexes,proto3" json:"encryptionKeyIndexes,omitempty"` // contains filtered or unexported fields }
Vote as it is stored in the Arbo-based StateDB
func (*StateDBVote) Descriptor
deprecated
added in
v1.13.2
func (*StateDBVote) Descriptor() ([]byte, []int)
Deprecated: Use StateDBVote.ProtoReflect.Descriptor instead.
func (*StateDBVote) GetEncryptionKeyIndexes ¶ added in v1.14.1
func (x *StateDBVote) GetEncryptionKeyIndexes() []uint32
func (*StateDBVote) GetNullifier ¶ added in v1.13.2
func (x *StateDBVote) GetNullifier() []byte
func (*StateDBVote) GetOverwriteCount ¶ added in v1.14.0
func (x *StateDBVote) GetOverwriteCount() uint32
func (*StateDBVote) GetVoteHash ¶ added in v1.13.2
func (x *StateDBVote) GetVoteHash() []byte
func (*StateDBVote) GetVotePackage ¶ added in v1.14.0
func (x *StateDBVote) GetVotePackage() []byte
func (*StateDBVote) GetWeight ¶ added in v1.14.0
func (x *StateDBVote) GetWeight() []byte
func (*StateDBVote) ProtoMessage ¶ added in v1.13.2
func (*StateDBVote) ProtoMessage()
func (*StateDBVote) ProtoReflect ¶ added in v1.13.2
func (x *StateDBVote) ProtoReflect() protoreflect.Message
func (*StateDBVote) Reset ¶ added in v1.13.2
func (x *StateDBVote) Reset()
func (*StateDBVote) String ¶ added in v1.13.2
func (x *StateDBVote) 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_Admin // *Tx_SetProcess // *Tx_RegisterKey // *Tx_SendTokens // *Tx_SetTransactionCosts // *Tx_SetAccount // *Tx_CollectFaucet // *Tx_SetKeykeeper // *Tx_SetSIK // *Tx_DelSIK // *Tx_RegisterSIK Payload isTx_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*Tx) Descriptor
deprecated
func (*Tx) GetCollectFaucet ¶ added in v1.13.3
func (x *Tx) GetCollectFaucet() *CollectFaucetTx
func (*Tx) GetNewProcess ¶
func (x *Tx) GetNewProcess() *NewProcessTx
func (*Tx) GetPayload ¶
func (m *Tx) GetPayload() isTx_Payload
func (*Tx) GetRegisterKey ¶ added in v1.13.2
func (x *Tx) GetRegisterKey() *RegisterKeyTx
func (*Tx) GetRegisterSIK ¶ added in v1.14.6
func (x *Tx) GetRegisterSIK() *RegisterSIKTx
func (*Tx) GetSendTokens ¶ added in v1.13.3
func (x *Tx) GetSendTokens() *SendTokensTx
func (*Tx) GetSetAccount ¶ added in v1.14.0
func (x *Tx) GetSetAccount() *SetAccountTx
func (*Tx) GetSetKeykeeper ¶ added in v1.13.3
func (x *Tx) GetSetKeykeeper() *SetKeykeeperTx
func (*Tx) GetSetProcess ¶
func (x *Tx) GetSetProcess() *SetProcessTx
func (*Tx) GetSetTransactionCosts ¶ added in v1.13.3
func (x *Tx) GetSetTransactionCosts() *SetTransactionCostsTx
func (*Tx) GetVote ¶
func (x *Tx) GetVote() *VoteEnvelope
func (*Tx) ProtoMessage ¶
func (*Tx) ProtoMessage()
func (*Tx) ProtoReflect ¶
func (x *Tx) ProtoReflect() protoreflect.Message
type TxType ¶
type TxType int32
const ( TxType_TX_UNKNOWN TxType = 0 TxType_NEW_PROCESS TxType = 1 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 TxType_VOTE TxType = 11 TxType_SET_PROCESS_RESULTS TxType = 12 TxType_REGISTER_VOTER_KEY TxType = 13 TxType_SEND_TOKENS TxType = 15 TxType_SET_ACCOUNT_INFO_URI TxType = 17 TxType_ADD_DELEGATE_FOR_ACCOUNT TxType = 18 TxType_DEL_DELEGATE_FOR_ACCOUNT TxType = 19 TxType_COLLECT_FAUCET TxType = 20 TxType_ADD_KEYKEEPER TxType = 21 TxType_DELETE_KEYKEEPER TxType = 22 TxType_CREATE_ACCOUNT TxType = 23 TxType_SET_ACCOUNT_SIK TxType = 24 TxType_DEL_ACCOUNT_SIK TxType = 25 TxType_REGISTER_SIK TxType = 26 TxType_SET_ACCOUNT_VALIDATOR TxType = 27 TxType_SET_PROCESS_DURATION TxType = 28 )
func (TxType) Descriptor ¶
func (TxType) Descriptor() protoreflect.EnumDescriptor
func (TxType) EnumDescriptor
deprecated
func (TxType) Number ¶
func (x TxType) Number() protoreflect.EnumNumber
func (TxType) Type ¶
func (TxType) Type() protoreflect.EnumType
type Tx_Admin ¶
type Tx_Admin struct {
Admin *AdminTx `protobuf:"bytes,3,opt,name=admin,proto3,oneof"`
}
type Tx_CollectFaucet ¶ added in v1.13.3
type Tx_CollectFaucet struct {
CollectFaucet *CollectFaucetTx `protobuf:"bytes,10,opt,name=collectFaucet,proto3,oneof"`
}
type Tx_DelSIK ¶ added in v1.14.6
type Tx_DelSIK struct {
DelSIK *SIKTx `protobuf:"bytes,13,opt,name=delSIK,proto3,oneof"`
}
type Tx_NewProcess ¶
type Tx_NewProcess struct {
NewProcess *NewProcessTx `protobuf:"bytes,2,opt,name=newProcess,proto3,oneof"`
}
type Tx_RegisterKey ¶ added in v1.13.2
type Tx_RegisterKey struct {
RegisterKey *RegisterKeyTx `protobuf:"bytes,5,opt,name=registerKey,proto3,oneof"`
}
type Tx_RegisterSIK ¶ added in v1.14.6
type Tx_RegisterSIK struct {
RegisterSIK *RegisterSIKTx `protobuf:"bytes,14,opt,name=registerSIK,proto3,oneof"`
}
type Tx_SendTokens ¶ added in v1.13.3
type Tx_SendTokens struct {
SendTokens *SendTokensTx `protobuf:"bytes,7,opt,name=sendTokens,proto3,oneof"`
}
type Tx_SetAccount ¶ added in v1.14.0
type Tx_SetAccount struct {
SetAccount *SetAccountTx `protobuf:"bytes,9,opt,name=setAccount,proto3,oneof"`
}
type Tx_SetKeykeeper ¶ added in v1.13.3
type Tx_SetKeykeeper struct {
SetKeykeeper *SetKeykeeperTx `protobuf:"bytes,11,opt,name=setKeykeeper,proto3,oneof"`
}
type Tx_SetProcess ¶
type Tx_SetProcess struct {
SetProcess *SetProcessTx `protobuf:"bytes,4,opt,name=setProcess,proto3,oneof"`
}
type Tx_SetSIK ¶ added in v1.14.6
type Tx_SetSIK struct {
SetSIK *SIKTx `protobuf:"bytes,12,opt,name=setSIK,proto3,oneof"`
}
type Tx_SetTransactionCosts ¶ added in v1.13.3
type Tx_SetTransactionCosts struct {
SetTransactionCosts *SetTransactionCostsTx `protobuf:"bytes,8,opt,name=setTransactionCosts,proto3,oneof"`
}
type Tx_Vote ¶
type Tx_Vote struct {
Vote *VoteEnvelope `protobuf:"bytes,1,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"` KeyIndex uint32 `protobuf:"varint,5,opt,name=keyIndex,proto3" json:"keyIndex,omitempty"` Height uint64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"` Proposals uint64 `protobuf:"varint,7,opt,name=proposals,proto3" json:"proposals,omitempty"` Votes uint64 `protobuf:"varint,8,opt,name=votes,proto3" json:"votes,omitempty"` ValidatorAddress []byte `protobuf:"bytes,9,opt,name=validatorAddress,proto3" json:"validatorAddress,omitempty"` Score uint32 `protobuf:"varint,10,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
func (*Validator) Descriptor
deprecated
func (*Validator) GetAddress ¶
func (*Validator) GetKeyIndex ¶ added in v1.14.1
func (*Validator) GetProposals ¶ added in v1.15.4
func (*Validator) GetValidatorAddress ¶ added in v1.15.4
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
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 VoteEnvelope ¶
type VoteEnvelope struct { // Unique number per vote attempt, so that replay attacks can't reuse this payload Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // The process for which the vote is casted ProcessId []byte `protobuf:"bytes,2,opt,name=processId,proto3" json:"processId,omitempty"` // Franchise proof Proof *Proof `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` // JSON string of the Vote Package (potentially encrypted), encoded as bytes. VotePackage []byte `protobuf:"bytes,4,opt,name=votePackage,proto3" json:"votePackage,omitempty"` // Hash of the private key + processId Nullifier []byte `protobuf:"bytes,5,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // On encrypted votes, contains the (sorted) indexes of the keys used to encrypt EncryptionKeyIndexes []uint32 `protobuf:"varint,6,rep,packed,name=encryptionKeyIndexes,proto3" json:"encryptionKeyIndexes,omitempty"` // 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