Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterHealthServer(s grpc.ServiceRegistrar, srv HealthServer)
- func RegisterQueriesServer(s grpc.ServiceRegistrar, srv QueriesServer)
- type AbsoluteBlockHeight
- func (*AbsoluteBlockHeight) Descriptor() ([]byte, []int)deprecated
- func (x *AbsoluteBlockHeight) GetValue() uint64
- func (*AbsoluteBlockHeight) ProtoMessage()
- func (x *AbsoluteBlockHeight) ProtoReflect() protoreflect.Message
- func (x *AbsoluteBlockHeight) Reset()
- func (x *AbsoluteBlockHeight) String() string
- type AccessStructure
- func (*AccessStructure) Descriptor() ([]byte, []int)deprecated
- func (x *AccessStructure) GetAccessPublicKeys() []*UpdateKeysIndex
- func (x *AccessStructure) GetAccessThreshold() *UpdateKeysThreshold
- func (*AccessStructure) ProtoMessage()
- func (x *AccessStructure) ProtoReflect() protoreflect.Message
- func (x *AccessStructure) Reset()
- func (x *AccessStructure) String() string
- type AccountAddress
- type AccountCreationDetails
- func (*AccountCreationDetails) Descriptor() ([]byte, []int)deprecated
- func (x *AccountCreationDetails) GetAddress() *AccountAddress
- func (x *AccountCreationDetails) GetCredentialType() CredentialType
- func (x *AccountCreationDetails) GetRegId() *CredentialRegistrationId
- func (*AccountCreationDetails) ProtoMessage()
- func (x *AccountCreationDetails) ProtoReflect() protoreflect.Message
- func (x *AccountCreationDetails) Reset()
- func (x *AccountCreationDetails) String() string
- type AccountCredential
- func (*AccountCredential) Descriptor() ([]byte, []int)deprecated
- func (m *AccountCredential) GetCredentialValues() isAccountCredential_CredentialValues
- func (x *AccountCredential) GetInitial() *InitialCredentialValues
- func (x *AccountCredential) GetNormal() *NormalCredentialValues
- func (*AccountCredential) ProtoMessage()
- func (x *AccountCredential) ProtoReflect() protoreflect.Message
- func (x *AccountCredential) Reset()
- func (x *AccountCredential) String() string
- type AccountCredential_Initial
- type AccountCredential_Normal
- type AccountIdentifierInput
- func (*AccountIdentifierInput) Descriptor() ([]byte, []int)deprecated
- func (m *AccountIdentifierInput) GetAccountIdentifierInput() isAccountIdentifierInput_AccountIdentifierInput
- func (x *AccountIdentifierInput) GetAccountIndex() *AccountIndex
- func (x *AccountIdentifierInput) GetAddress() *AccountAddress
- func (x *AccountIdentifierInput) GetCredId() *CredentialRegistrationId
- func (*AccountIdentifierInput) ProtoMessage()
- func (x *AccountIdentifierInput) ProtoReflect() protoreflect.Message
- func (x *AccountIdentifierInput) Reset()
- func (x *AccountIdentifierInput) String() string
- type AccountIdentifierInput_AccountIndex
- type AccountIdentifierInput_Address
- type AccountIdentifierInput_CredId
- type AccountIndex
- type AccountInfo
- func (*AccountInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInfo) GetAddress() *AccountAddress
- func (x *AccountInfo) GetAmount() *Amount
- func (x *AccountInfo) GetAvailableBalance() *Amount
- func (x *AccountInfo) GetCooldowns() []*Cooldown
- func (x *AccountInfo) GetCreds() map[uint32]*AccountCredential
- func (x *AccountInfo) GetEncryptedBalance() *EncryptedBalance
- func (x *AccountInfo) GetEncryptionKey() *EncryptionKey
- func (x *AccountInfo) GetIndex() *AccountIndex
- func (x *AccountInfo) GetSchedule() *ReleaseSchedule
- func (x *AccountInfo) GetSequenceNumber() *SequenceNumber
- func (x *AccountInfo) GetStake() *AccountStakingInfo
- func (x *AccountInfo) GetThreshold() *AccountThreshold
- func (*AccountInfo) ProtoMessage()
- func (x *AccountInfo) ProtoReflect() protoreflect.Message
- func (x *AccountInfo) Reset()
- func (x *AccountInfo) String() string
- type AccountInfoRequest
- func (*AccountInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInfoRequest) GetAccountIdentifier() *AccountIdentifierInput
- func (x *AccountInfoRequest) GetBlockHash() *BlockHashInput
- func (*AccountInfoRequest) ProtoMessage()
- func (x *AccountInfoRequest) ProtoReflect() protoreflect.Message
- func (x *AccountInfoRequest) Reset()
- func (x *AccountInfoRequest) String() string
- type AccountSignatureMap
- func (*AccountSignatureMap) Descriptor() ([]byte, []int)deprecated
- func (x *AccountSignatureMap) GetSignatures() map[uint32]*Signature
- func (*AccountSignatureMap) ProtoMessage()
- func (x *AccountSignatureMap) ProtoReflect() protoreflect.Message
- func (x *AccountSignatureMap) Reset()
- func (x *AccountSignatureMap) String() string
- type AccountStakingInfo
- func (*AccountStakingInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AccountStakingInfo) GetBaker() *AccountStakingInfo_Baker
- func (x *AccountStakingInfo) GetDelegator() *AccountStakingInfo_Delegator
- func (m *AccountStakingInfo) GetStakingInfo() isAccountStakingInfo_StakingInfo
- func (*AccountStakingInfo) ProtoMessage()
- func (x *AccountStakingInfo) ProtoReflect() protoreflect.Message
- func (x *AccountStakingInfo) Reset()
- func (x *AccountStakingInfo) String() string
- type AccountStakingInfo_Baker
- func (*AccountStakingInfo_Baker) Descriptor() ([]byte, []int)deprecated
- func (x *AccountStakingInfo_Baker) GetBakerInfo() *BakerInfo
- func (x *AccountStakingInfo_Baker) GetPendingChange() *StakePendingChange
- func (x *AccountStakingInfo_Baker) GetPoolInfo() *BakerPoolInfo
- func (x *AccountStakingInfo_Baker) GetRestakeEarnings() bool
- func (x *AccountStakingInfo_Baker) GetStakedAmount() *Amount
- func (*AccountStakingInfo_Baker) ProtoMessage()
- func (x *AccountStakingInfo_Baker) ProtoReflect() protoreflect.Message
- func (x *AccountStakingInfo_Baker) Reset()
- func (x *AccountStakingInfo_Baker) String() string
- type AccountStakingInfo_Baker_
- type AccountStakingInfo_Delegator
- func (*AccountStakingInfo_Delegator) Descriptor() ([]byte, []int)deprecated
- func (x *AccountStakingInfo_Delegator) GetPendingChange() *StakePendingChange
- func (x *AccountStakingInfo_Delegator) GetRestakeEarnings() bool
- func (x *AccountStakingInfo_Delegator) GetStakedAmount() *Amount
- func (x *AccountStakingInfo_Delegator) GetTarget() *DelegationTarget
- func (*AccountStakingInfo_Delegator) ProtoMessage()
- func (x *AccountStakingInfo_Delegator) ProtoReflect() protoreflect.Message
- func (x *AccountStakingInfo_Delegator) Reset()
- func (x *AccountStakingInfo_Delegator) String() string
- type AccountStakingInfo_Delegator_
- type AccountThreshold
- type AccountTransaction
- func (*AccountTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransaction) GetHeader() *AccountTransactionHeader
- func (x *AccountTransaction) GetPayload() *AccountTransactionPayload
- func (x *AccountTransaction) GetSignature() *AccountTransactionSignature
- func (*AccountTransaction) ProtoMessage()
- func (x *AccountTransaction) ProtoReflect() protoreflect.Message
- func (x *AccountTransaction) Reset()
- func (x *AccountTransaction) String() string
- type AccountTransactionDetails
- func (*AccountTransactionDetails) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionDetails) GetCost() *Amount
- func (x *AccountTransactionDetails) GetEffects() *AccountTransactionEffects
- func (x *AccountTransactionDetails) GetSender() *AccountAddress
- func (*AccountTransactionDetails) ProtoMessage()
- func (x *AccountTransactionDetails) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionDetails) Reset()
- func (x *AccountTransactionDetails) String() string
- type AccountTransactionEffects
- func (*AccountTransactionEffects) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionEffects) GetAccountTransfer() *AccountTransactionEffects_AccountTransfer
- func (x *AccountTransactionEffects) GetBakerAdded() *BakerEvent_BakerAdded
- func (x *AccountTransactionEffects) GetBakerConfigured() *AccountTransactionEffects_BakerConfigured
- func (x *AccountTransactionEffects) GetBakerKeysUpdated() *BakerKeysEvent
- func (x *AccountTransactionEffects) GetBakerRemoved() *BakerId
- func (x *AccountTransactionEffects) GetBakerRestakeEarningsUpdated() *BakerEvent_BakerRestakeEarningsUpdated
- func (x *AccountTransactionEffects) GetBakerStakeUpdated() *AccountTransactionEffects_BakerStakeUpdated
- func (x *AccountTransactionEffects) GetContractInitialized() *ContractInitializedEvent
- func (x *AccountTransactionEffects) GetContractUpdateIssued() *AccountTransactionEffects_ContractUpdateIssued
- func (x *AccountTransactionEffects) GetCredentialKeysUpdated() *CredentialRegistrationId
- func (x *AccountTransactionEffects) GetCredentialsUpdated() *AccountTransactionEffects_CredentialsUpdated
- func (x *AccountTransactionEffects) GetDataRegistered() *RegisteredData
- func (x *AccountTransactionEffects) GetDelegationConfigured() *AccountTransactionEffects_DelegationConfigured
- func (m *AccountTransactionEffects) GetEffect() isAccountTransactionEffects_Effect
- func (x *AccountTransactionEffects) GetEncryptedAmountTransferred() *AccountTransactionEffects_EncryptedAmountTransferred
- func (x *AccountTransactionEffects) GetModuleDeployed() *ModuleRef
- func (x *AccountTransactionEffects) GetNone() *AccountTransactionEffects_None
- func (x *AccountTransactionEffects) GetTransferredToEncrypted() *EncryptedSelfAmountAddedEvent
- func (x *AccountTransactionEffects) GetTransferredToPublic() *AccountTransactionEffects_TransferredToPublic
- func (x *AccountTransactionEffects) GetTransferredWithSchedule() *AccountTransactionEffects_TransferredWithSchedule
- func (*AccountTransactionEffects) ProtoMessage()
- func (x *AccountTransactionEffects) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionEffects) Reset()
- func (x *AccountTransactionEffects) String() string
- type AccountTransactionEffects_AccountTransfer
- func (*AccountTransactionEffects_AccountTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionEffects_AccountTransfer) GetAmount() *Amount
- func (x *AccountTransactionEffects_AccountTransfer) GetMemo() *Memo
- func (x *AccountTransactionEffects_AccountTransfer) GetReceiver() *AccountAddress
- func (*AccountTransactionEffects_AccountTransfer) ProtoMessage()
- func (x *AccountTransactionEffects_AccountTransfer) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionEffects_AccountTransfer) Reset()
- func (x *AccountTransactionEffects_AccountTransfer) String() string
- type AccountTransactionEffects_AccountTransfer_
- type AccountTransactionEffects_BakerAdded
- type AccountTransactionEffects_BakerConfigured
- func (*AccountTransactionEffects_BakerConfigured) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionEffects_BakerConfigured) GetEvents() []*BakerEvent
- func (*AccountTransactionEffects_BakerConfigured) ProtoMessage()
- func (x *AccountTransactionEffects_BakerConfigured) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionEffects_BakerConfigured) Reset()
- func (x *AccountTransactionEffects_BakerConfigured) String() string
- type AccountTransactionEffects_BakerConfigured_
- type AccountTransactionEffects_BakerKeysUpdated
- type AccountTransactionEffects_BakerRemoved
- type AccountTransactionEffects_BakerRestakeEarningsUpdated
- type AccountTransactionEffects_BakerStakeUpdated
- func (*AccountTransactionEffects_BakerStakeUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionEffects_BakerStakeUpdated) GetUpdate() *BakerStakeUpdatedData
- func (*AccountTransactionEffects_BakerStakeUpdated) ProtoMessage()
- func (x *AccountTransactionEffects_BakerStakeUpdated) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionEffects_BakerStakeUpdated) Reset()
- func (x *AccountTransactionEffects_BakerStakeUpdated) String() string
- type AccountTransactionEffects_BakerStakeUpdated_
- type AccountTransactionEffects_ContractInitialized
- type AccountTransactionEffects_ContractUpdateIssued
- func (*AccountTransactionEffects_ContractUpdateIssued) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionEffects_ContractUpdateIssued) GetEffects() []*ContractTraceElement
- func (*AccountTransactionEffects_ContractUpdateIssued) ProtoMessage()
- func (x *AccountTransactionEffects_ContractUpdateIssued) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionEffects_ContractUpdateIssued) Reset()
- func (x *AccountTransactionEffects_ContractUpdateIssued) String() string
- type AccountTransactionEffects_ContractUpdateIssued_
- type AccountTransactionEffects_CredentialKeysUpdated
- type AccountTransactionEffects_CredentialsUpdated
- func (*AccountTransactionEffects_CredentialsUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionEffects_CredentialsUpdated) GetNewCredIds() []*CredentialRegistrationId
- func (x *AccountTransactionEffects_CredentialsUpdated) GetNewThreshold() *AccountThreshold
- func (x *AccountTransactionEffects_CredentialsUpdated) GetRemovedCredIds() []*CredentialRegistrationId
- func (*AccountTransactionEffects_CredentialsUpdated) ProtoMessage()
- func (x *AccountTransactionEffects_CredentialsUpdated) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionEffects_CredentialsUpdated) Reset()
- func (x *AccountTransactionEffects_CredentialsUpdated) String() string
- type AccountTransactionEffects_CredentialsUpdated_
- type AccountTransactionEffects_DataRegistered
- type AccountTransactionEffects_DelegationConfigured
- func (*AccountTransactionEffects_DelegationConfigured) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionEffects_DelegationConfigured) GetEvents() []*DelegationEvent
- func (*AccountTransactionEffects_DelegationConfigured) ProtoMessage()
- func (x *AccountTransactionEffects_DelegationConfigured) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionEffects_DelegationConfigured) Reset()
- func (x *AccountTransactionEffects_DelegationConfigured) String() string
- type AccountTransactionEffects_DelegationConfigured_
- type AccountTransactionEffects_EncryptedAmountTransferred
- func (*AccountTransactionEffects_EncryptedAmountTransferred) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionEffects_EncryptedAmountTransferred) GetAdded() *NewEncryptedAmountEvent
- func (x *AccountTransactionEffects_EncryptedAmountTransferred) GetMemo() *Memo
- func (x *AccountTransactionEffects_EncryptedAmountTransferred) GetRemoved() *EncryptedAmountRemovedEvent
- func (*AccountTransactionEffects_EncryptedAmountTransferred) ProtoMessage()
- func (x *AccountTransactionEffects_EncryptedAmountTransferred) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionEffects_EncryptedAmountTransferred) Reset()
- func (x *AccountTransactionEffects_EncryptedAmountTransferred) String() string
- type AccountTransactionEffects_EncryptedAmountTransferred_
- type AccountTransactionEffects_ModuleDeployed
- type AccountTransactionEffects_None
- func (*AccountTransactionEffects_None) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionEffects_None) GetRejectReason() *RejectReason
- func (x *AccountTransactionEffects_None) GetTransactionType() TransactionType
- func (*AccountTransactionEffects_None) ProtoMessage()
- func (x *AccountTransactionEffects_None) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionEffects_None) Reset()
- func (x *AccountTransactionEffects_None) String() string
- type AccountTransactionEffects_None_
- type AccountTransactionEffects_TransferredToEncrypted
- type AccountTransactionEffects_TransferredToPublic
- func (*AccountTransactionEffects_TransferredToPublic) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionEffects_TransferredToPublic) GetAmount() *Amount
- func (x *AccountTransactionEffects_TransferredToPublic) GetRemoved() *EncryptedAmountRemovedEvent
- func (*AccountTransactionEffects_TransferredToPublic) ProtoMessage()
- func (x *AccountTransactionEffects_TransferredToPublic) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionEffects_TransferredToPublic) Reset()
- func (x *AccountTransactionEffects_TransferredToPublic) String() string
- type AccountTransactionEffects_TransferredToPublic_
- type AccountTransactionEffects_TransferredWithSchedule
- func (*AccountTransactionEffects_TransferredWithSchedule) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionEffects_TransferredWithSchedule) GetAmount() []*NewRelease
- func (x *AccountTransactionEffects_TransferredWithSchedule) GetMemo() *Memo
- func (x *AccountTransactionEffects_TransferredWithSchedule) GetReceiver() *AccountAddress
- func (*AccountTransactionEffects_TransferredWithSchedule) ProtoMessage()
- func (x *AccountTransactionEffects_TransferredWithSchedule) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionEffects_TransferredWithSchedule) Reset()
- func (x *AccountTransactionEffects_TransferredWithSchedule) String() string
- type AccountTransactionEffects_TransferredWithSchedule_
- type AccountTransactionHeader
- func (*AccountTransactionHeader) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionHeader) GetEnergyAmount() *Energy
- func (x *AccountTransactionHeader) GetExpiry() *TransactionTime
- func (x *AccountTransactionHeader) GetSender() *AccountAddress
- func (x *AccountTransactionHeader) GetSequenceNumber() *SequenceNumber
- func (*AccountTransactionHeader) ProtoMessage()
- func (x *AccountTransactionHeader) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionHeader) Reset()
- func (x *AccountTransactionHeader) String() string
- type AccountTransactionPayload
- func (*AccountTransactionPayload) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionPayload) GetDeployModule() *VersionedModuleSource
- func (x *AccountTransactionPayload) GetInitContract() *InitContractPayload
- func (m *AccountTransactionPayload) GetPayload() isAccountTransactionPayload_Payload
- func (x *AccountTransactionPayload) GetRawPayload() []byte
- func (x *AccountTransactionPayload) GetRegisterData() *RegisteredData
- func (x *AccountTransactionPayload) GetTransfer() *TransferPayload
- func (x *AccountTransactionPayload) GetTransferWithMemo() *TransferWithMemoPayload
- func (x *AccountTransactionPayload) GetUpdateContract() *UpdateContractPayload
- func (*AccountTransactionPayload) ProtoMessage()
- func (x *AccountTransactionPayload) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionPayload) Reset()
- func (x *AccountTransactionPayload) String() string
- type AccountTransactionPayload_DeployModule
- type AccountTransactionPayload_InitContract
- type AccountTransactionPayload_RawPayload
- type AccountTransactionPayload_RegisterData
- type AccountTransactionPayload_Transfer
- type AccountTransactionPayload_TransferWithMemo
- type AccountTransactionPayload_UpdateContract
- type AccountTransactionSignHash
- func (*AccountTransactionSignHash) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionSignHash) GetValue() []byte
- func (*AccountTransactionSignHash) ProtoMessage()
- func (x *AccountTransactionSignHash) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionSignHash) Reset()
- func (x *AccountTransactionSignHash) String() string
- type AccountTransactionSignature
- func (*AccountTransactionSignature) Descriptor() ([]byte, []int)deprecated
- func (x *AccountTransactionSignature) GetSignatures() map[uint32]*AccountSignatureMap
- func (*AccountTransactionSignature) ProtoMessage()
- func (x *AccountTransactionSignature) ProtoReflect() protoreflect.Message
- func (x *AccountTransactionSignature) Reset()
- func (x *AccountTransactionSignature) String() string
- type AccountVerifyKey
- func (*AccountVerifyKey) Descriptor() ([]byte, []int)deprecated
- func (x *AccountVerifyKey) GetEd25519Key() []byte
- func (m *AccountVerifyKey) GetKey() isAccountVerifyKey_Key
- func (*AccountVerifyKey) ProtoMessage()
- func (x *AccountVerifyKey) ProtoReflect() protoreflect.Message
- func (x *AccountVerifyKey) Reset()
- func (x *AccountVerifyKey) String() string
- type AccountVerifyKey_Ed25519Key
- type Address
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetAccount() *AccountAddress
- func (x *Address) GetContract() *ContractAddress
- func (m *Address) GetType() isAddress_Type
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- type Address_Account
- type Address_Contract
- type Amount
- type AmountFraction
- type AncestorsRequest
- func (*AncestorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AncestorsRequest) GetAmount() uint64
- func (x *AncestorsRequest) GetBlockHash() *BlockHashInput
- func (*AncestorsRequest) ProtoMessage()
- func (x *AncestorsRequest) ProtoReflect() protoreflect.Message
- func (x *AncestorsRequest) Reset()
- func (x *AncestorsRequest) String() string
- type ArInfo
- func (*ArInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ArInfo) GetDescription() *Description
- func (x *ArInfo) GetIdentity() *ArInfo_ArIdentity
- func (x *ArInfo) GetPublicKey() *ArInfo_ArPublicKey
- func (*ArInfo) ProtoMessage()
- func (x *ArInfo) ProtoReflect() protoreflect.Message
- func (x *ArInfo) Reset()
- func (x *ArInfo) String() string
- type ArInfo_ArIdentity
- type ArInfo_ArPublicKey
- func (*ArInfo_ArPublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *ArInfo_ArPublicKey) GetValue() []byte
- func (*ArInfo_ArPublicKey) ProtoMessage()
- func (x *ArInfo_ArPublicKey) ProtoReflect() protoreflect.Message
- func (x *ArInfo_ArPublicKey) Reset()
- func (x *ArInfo_ArPublicKey) String() string
- type ArThreshold
- type ArrivedBlockInfo
- func (*ArrivedBlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ArrivedBlockInfo) GetHash() *BlockHash
- func (x *ArrivedBlockInfo) GetHeight() *AbsoluteBlockHeight
- func (*ArrivedBlockInfo) ProtoMessage()
- func (x *ArrivedBlockInfo) ProtoReflect() protoreflect.Message
- func (x *ArrivedBlockInfo) Reset()
- func (x *ArrivedBlockInfo) String() string
- type AuthorizationsV0
- func (*AuthorizationsV0) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizationsV0) GetAddAnonymityRevoker() *AccessStructure
- func (x *AuthorizationsV0) GetAddIdentityProvider() *AccessStructure
- func (x *AuthorizationsV0) GetEmergency() *AccessStructure
- func (x *AuthorizationsV0) GetKeys() []*UpdatePublicKey
- func (x *AuthorizationsV0) GetParameterConsensus() *AccessStructure
- func (x *AuthorizationsV0) GetParameterEuroPerEnergy() *AccessStructure
- func (x *AuthorizationsV0) GetParameterFoundationAccount() *AccessStructure
- func (x *AuthorizationsV0) GetParameterGasRewards() *AccessStructure
- func (x *AuthorizationsV0) GetParameterMicro_CCDPerEuro() *AccessStructure
- func (x *AuthorizationsV0) GetParameterMintDistribution() *AccessStructure
- func (x *AuthorizationsV0) GetParameterTransactionFeeDistribution() *AccessStructure
- func (x *AuthorizationsV0) GetPoolParameters() *AccessStructure
- func (x *AuthorizationsV0) GetProtocol() *AccessStructure
- func (*AuthorizationsV0) ProtoMessage()
- func (x *AuthorizationsV0) ProtoReflect() protoreflect.Message
- func (x *AuthorizationsV0) Reset()
- func (x *AuthorizationsV0) String() string
- type AuthorizationsV1
- func (*AuthorizationsV1) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizationsV1) GetParameterCooldown() *AccessStructure
- func (x *AuthorizationsV1) GetParameterTime() *AccessStructure
- func (x *AuthorizationsV1) GetV0() *AuthorizationsV0
- func (*AuthorizationsV1) ProtoMessage()
- func (x *AuthorizationsV1) ProtoReflect() protoreflect.Message
- func (x *AuthorizationsV1) Reset()
- func (x *AuthorizationsV1) String() string
- type BakerAggregationVerifyKey
- func (*BakerAggregationVerifyKey) Descriptor() ([]byte, []int)deprecated
- func (x *BakerAggregationVerifyKey) GetValue() []byte
- func (*BakerAggregationVerifyKey) ProtoMessage()
- func (x *BakerAggregationVerifyKey) ProtoReflect() protoreflect.Message
- func (x *BakerAggregationVerifyKey) Reset()
- func (x *BakerAggregationVerifyKey) String() string
- type BakerElectionVerifyKey
- func (*BakerElectionVerifyKey) Descriptor() ([]byte, []int)deprecated
- func (x *BakerElectionVerifyKey) GetValue() []byte
- func (*BakerElectionVerifyKey) ProtoMessage()
- func (x *BakerElectionVerifyKey) ProtoReflect() protoreflect.Message
- func (x *BakerElectionVerifyKey) Reset()
- func (x *BakerElectionVerifyKey) String() string
- type BakerEvent
- func (*BakerEvent) Descriptor() ([]byte, []int)deprecated
- func (x *BakerEvent) GetBakerAdded() *BakerEvent_BakerAdded
- func (x *BakerEvent) GetBakerKeysUpdated() *BakerKeysEvent
- func (x *BakerEvent) GetBakerRemoved() *BakerId
- func (x *BakerEvent) GetBakerRestakeEarningsUpdated() *BakerEvent_BakerRestakeEarningsUpdated
- func (x *BakerEvent) GetBakerSetBakingRewardCommission() *BakerEvent_BakerSetBakingRewardCommission
- func (x *BakerEvent) GetBakerSetFinalizationRewardCommission() *BakerEvent_BakerSetFinalizationRewardCommission
- func (x *BakerEvent) GetBakerSetMetadataUrl() *BakerEvent_BakerSetMetadataUrl
- func (x *BakerEvent) GetBakerSetOpenStatus() *BakerEvent_BakerSetOpenStatus
- func (x *BakerEvent) GetBakerSetTransactionFeeCommission() *BakerEvent_BakerSetTransactionFeeCommission
- func (x *BakerEvent) GetBakerStakeDecreased() *BakerEvent_BakerStakeDecreased
- func (x *BakerEvent) GetBakerStakeIncreased() *BakerEvent_BakerStakeIncreased
- func (x *BakerEvent) GetDelegationRemoved() *BakerEvent_DelegationRemoved
- func (m *BakerEvent) GetEvent() isBakerEvent_Event
- func (*BakerEvent) ProtoMessage()
- func (x *BakerEvent) ProtoReflect() protoreflect.Message
- func (x *BakerEvent) Reset()
- func (x *BakerEvent) String() string
- type BakerEvent_BakerAdded
- func (*BakerEvent_BakerAdded) Descriptor() ([]byte, []int)deprecated
- func (x *BakerEvent_BakerAdded) GetKeysEvent() *BakerKeysEvent
- func (x *BakerEvent_BakerAdded) GetRestakeEarnings() bool
- func (x *BakerEvent_BakerAdded) GetStake() *Amount
- func (*BakerEvent_BakerAdded) ProtoMessage()
- func (x *BakerEvent_BakerAdded) ProtoReflect() protoreflect.Message
- func (x *BakerEvent_BakerAdded) Reset()
- func (x *BakerEvent_BakerAdded) String() string
- type BakerEvent_BakerAdded_
- type BakerEvent_BakerKeysUpdated
- type BakerEvent_BakerRemoved
- type BakerEvent_BakerRestakeEarningsUpdated
- func (*BakerEvent_BakerRestakeEarningsUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *BakerEvent_BakerRestakeEarningsUpdated) GetBakerId() *BakerId
- func (x *BakerEvent_BakerRestakeEarningsUpdated) GetRestakeEarnings() bool
- func (*BakerEvent_BakerRestakeEarningsUpdated) ProtoMessage()
- func (x *BakerEvent_BakerRestakeEarningsUpdated) ProtoReflect() protoreflect.Message
- func (x *BakerEvent_BakerRestakeEarningsUpdated) Reset()
- func (x *BakerEvent_BakerRestakeEarningsUpdated) String() string
- type BakerEvent_BakerRestakeEarningsUpdated_
- type BakerEvent_BakerSetBakingRewardCommission
- func (*BakerEvent_BakerSetBakingRewardCommission) Descriptor() ([]byte, []int)deprecated
- func (x *BakerEvent_BakerSetBakingRewardCommission) GetBakerId() *BakerId
- func (x *BakerEvent_BakerSetBakingRewardCommission) GetBakingRewardCommission() *AmountFraction
- func (*BakerEvent_BakerSetBakingRewardCommission) ProtoMessage()
- func (x *BakerEvent_BakerSetBakingRewardCommission) ProtoReflect() protoreflect.Message
- func (x *BakerEvent_BakerSetBakingRewardCommission) Reset()
- func (x *BakerEvent_BakerSetBakingRewardCommission) String() string
- type BakerEvent_BakerSetBakingRewardCommission_
- type BakerEvent_BakerSetFinalizationRewardCommission
- func (*BakerEvent_BakerSetFinalizationRewardCommission) Descriptor() ([]byte, []int)deprecated
- func (x *BakerEvent_BakerSetFinalizationRewardCommission) GetBakerId() *BakerId
- func (x *BakerEvent_BakerSetFinalizationRewardCommission) GetFinalizationRewardCommission() *AmountFraction
- func (*BakerEvent_BakerSetFinalizationRewardCommission) ProtoMessage()
- func (x *BakerEvent_BakerSetFinalizationRewardCommission) ProtoReflect() protoreflect.Message
- func (x *BakerEvent_BakerSetFinalizationRewardCommission) Reset()
- func (x *BakerEvent_BakerSetFinalizationRewardCommission) String() string
- type BakerEvent_BakerSetFinalizationRewardCommission_
- type BakerEvent_BakerSetMetadataUrl
- func (*BakerEvent_BakerSetMetadataUrl) Descriptor() ([]byte, []int)deprecated
- func (x *BakerEvent_BakerSetMetadataUrl) GetBakerId() *BakerId
- func (x *BakerEvent_BakerSetMetadataUrl) GetUrl() string
- func (*BakerEvent_BakerSetMetadataUrl) ProtoMessage()
- func (x *BakerEvent_BakerSetMetadataUrl) ProtoReflect() protoreflect.Message
- func (x *BakerEvent_BakerSetMetadataUrl) Reset()
- func (x *BakerEvent_BakerSetMetadataUrl) String() string
- type BakerEvent_BakerSetMetadataUrl_
- type BakerEvent_BakerSetOpenStatus
- func (*BakerEvent_BakerSetOpenStatus) Descriptor() ([]byte, []int)deprecated
- func (x *BakerEvent_BakerSetOpenStatus) GetBakerId() *BakerId
- func (x *BakerEvent_BakerSetOpenStatus) GetOpenStatus() OpenStatus
- func (*BakerEvent_BakerSetOpenStatus) ProtoMessage()
- func (x *BakerEvent_BakerSetOpenStatus) ProtoReflect() protoreflect.Message
- func (x *BakerEvent_BakerSetOpenStatus) Reset()
- func (x *BakerEvent_BakerSetOpenStatus) String() string
- type BakerEvent_BakerSetOpenStatus_
- type BakerEvent_BakerSetTransactionFeeCommission
- func (*BakerEvent_BakerSetTransactionFeeCommission) Descriptor() ([]byte, []int)deprecated
- func (x *BakerEvent_BakerSetTransactionFeeCommission) GetBakerId() *BakerId
- func (x *BakerEvent_BakerSetTransactionFeeCommission) GetTransactionFeeCommission() *AmountFraction
- func (*BakerEvent_BakerSetTransactionFeeCommission) ProtoMessage()
- func (x *BakerEvent_BakerSetTransactionFeeCommission) ProtoReflect() protoreflect.Message
- func (x *BakerEvent_BakerSetTransactionFeeCommission) Reset()
- func (x *BakerEvent_BakerSetTransactionFeeCommission) String() string
- type BakerEvent_BakerSetTransactionFeeCommission_
- type BakerEvent_BakerStakeDecreased
- func (*BakerEvent_BakerStakeDecreased) Descriptor() ([]byte, []int)deprecated
- func (x *BakerEvent_BakerStakeDecreased) GetBakerId() *BakerId
- func (x *BakerEvent_BakerStakeDecreased) GetNewStake() *Amount
- func (*BakerEvent_BakerStakeDecreased) ProtoMessage()
- func (x *BakerEvent_BakerStakeDecreased) ProtoReflect() protoreflect.Message
- func (x *BakerEvent_BakerStakeDecreased) Reset()
- func (x *BakerEvent_BakerStakeDecreased) String() string
- type BakerEvent_BakerStakeDecreased_
- type BakerEvent_BakerStakeIncreased
- func (*BakerEvent_BakerStakeIncreased) Descriptor() ([]byte, []int)deprecated
- func (x *BakerEvent_BakerStakeIncreased) GetBakerId() *BakerId
- func (x *BakerEvent_BakerStakeIncreased) GetNewStake() *Amount
- func (*BakerEvent_BakerStakeIncreased) ProtoMessage()
- func (x *BakerEvent_BakerStakeIncreased) ProtoReflect() protoreflect.Message
- func (x *BakerEvent_BakerStakeIncreased) Reset()
- func (x *BakerEvent_BakerStakeIncreased) String() string
- type BakerEvent_BakerStakeIncreased_
- type BakerEvent_DelegationRemoved
- func (*BakerEvent_DelegationRemoved) Descriptor() ([]byte, []int)deprecated
- func (x *BakerEvent_DelegationRemoved) GetDelegatorId() *DelegatorId
- func (*BakerEvent_DelegationRemoved) ProtoMessage()
- func (x *BakerEvent_DelegationRemoved) ProtoReflect() protoreflect.Message
- func (x *BakerEvent_DelegationRemoved) Reset()
- func (x *BakerEvent_DelegationRemoved) String() string
- type BakerEvent_DelegationRemoved_
- type BakerId
- type BakerInfo
- func (*BakerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BakerInfo) GetAggregationKey() *BakerAggregationVerifyKey
- func (x *BakerInfo) GetBakerId() *BakerId
- func (x *BakerInfo) GetElectionKey() *BakerElectionVerifyKey
- func (x *BakerInfo) GetSignatureKey() *BakerSignatureVerifyKey
- func (*BakerInfo) ProtoMessage()
- func (x *BakerInfo) ProtoReflect() protoreflect.Message
- func (x *BakerInfo) Reset()
- func (x *BakerInfo) String() string
- type BakerKeysEvent
- func (*BakerKeysEvent) Descriptor() ([]byte, []int)deprecated
- func (x *BakerKeysEvent) GetAccount() *AccountAddress
- func (x *BakerKeysEvent) GetAggregationKey() *BakerAggregationVerifyKey
- func (x *BakerKeysEvent) GetBakerId() *BakerId
- func (x *BakerKeysEvent) GetElectionKey() *BakerElectionVerifyKey
- func (x *BakerKeysEvent) GetSignKey() *BakerSignatureVerifyKey
- func (*BakerKeysEvent) ProtoMessage()
- func (x *BakerKeysEvent) ProtoReflect() protoreflect.Message
- func (x *BakerKeysEvent) Reset()
- func (x *BakerKeysEvent) String() string
- type BakerPoolInfo
- func (*BakerPoolInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BakerPoolInfo) GetCommissionRates() *CommissionRates
- func (x *BakerPoolInfo) GetOpenStatus() OpenStatus
- func (x *BakerPoolInfo) GetUrl() string
- func (*BakerPoolInfo) ProtoMessage()
- func (x *BakerPoolInfo) ProtoReflect() protoreflect.Message
- func (x *BakerPoolInfo) Reset()
- func (x *BakerPoolInfo) String() string
- type BakerRewardPeriodInfo
- func (*BakerRewardPeriodInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BakerRewardPeriodInfo) GetBaker() *BakerInfo
- func (x *BakerRewardPeriodInfo) GetCommissionRates() *CommissionRates
- func (x *BakerRewardPeriodInfo) GetDelegatedCapital() *Amount
- func (x *BakerRewardPeriodInfo) GetEffectiveStake() *Amount
- func (x *BakerRewardPeriodInfo) GetEquityCapital() *Amount
- func (x *BakerRewardPeriodInfo) GetIsFinalizer() bool
- func (*BakerRewardPeriodInfo) ProtoMessage()
- func (x *BakerRewardPeriodInfo) ProtoReflect() protoreflect.Message
- func (x *BakerRewardPeriodInfo) Reset()
- func (x *BakerRewardPeriodInfo) String() string
- type BakerSignatureVerifyKey
- func (*BakerSignatureVerifyKey) Descriptor() ([]byte, []int)deprecated
- func (x *BakerSignatureVerifyKey) GetValue() []byte
- func (*BakerSignatureVerifyKey) ProtoMessage()
- func (x *BakerSignatureVerifyKey) ProtoReflect() protoreflect.Message
- func (x *BakerSignatureVerifyKey) Reset()
- func (x *BakerSignatureVerifyKey) String() string
- type BakerStakeThreshold
- func (*BakerStakeThreshold) Descriptor() ([]byte, []int)deprecated
- func (x *BakerStakeThreshold) GetBakerStakeThreshold() *Amount
- func (*BakerStakeThreshold) ProtoMessage()
- func (x *BakerStakeThreshold) ProtoReflect() protoreflect.Message
- func (x *BakerStakeThreshold) Reset()
- func (x *BakerStakeThreshold) String() string
- type BakerStakeUpdatedData
- func (*BakerStakeUpdatedData) Descriptor() ([]byte, []int)deprecated
- func (x *BakerStakeUpdatedData) GetBakerId() *BakerId
- func (x *BakerStakeUpdatedData) GetIncreased() bool
- func (x *BakerStakeUpdatedData) GetNewStake() *Amount
- func (*BakerStakeUpdatedData) ProtoMessage()
- func (x *BakerStakeUpdatedData) ProtoReflect() protoreflect.Message
- func (x *BakerStakeUpdatedData) Reset()
- func (x *BakerStakeUpdatedData) String() string
- type BannedPeer
- type BannedPeers
- type BlockCertificates
- func (*BlockCertificates) Descriptor() ([]byte, []int)deprecated
- func (x *BlockCertificates) GetEpochFinalizationEntry() *EpochFinalizationEntry
- func (x *BlockCertificates) GetQuorumCertificate() *QuorumCertificate
- func (x *BlockCertificates) GetTimeoutCertificate() *TimeoutCertificate
- func (*BlockCertificates) ProtoMessage()
- func (x *BlockCertificates) ProtoReflect() protoreflect.Message
- func (x *BlockCertificates) Reset()
- func (x *BlockCertificates) String() string
- type BlockFinalizationSummary
- func (*BlockFinalizationSummary) Descriptor() ([]byte, []int)deprecated
- func (x *BlockFinalizationSummary) GetNone() *Empty
- func (x *BlockFinalizationSummary) GetRecord() *FinalizationSummary
- func (m *BlockFinalizationSummary) GetSummary() isBlockFinalizationSummary_Summary
- func (*BlockFinalizationSummary) ProtoMessage()
- func (x *BlockFinalizationSummary) ProtoReflect() protoreflect.Message
- func (x *BlockFinalizationSummary) Reset()
- func (x *BlockFinalizationSummary) String() string
- type BlockFinalizationSummary_None
- type BlockFinalizationSummary_Record
- type BlockHash
- type BlockHashInput
- func (*BlockHashInput) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHashInput) GetAbsoluteHeight() *AbsoluteBlockHeight
- func (x *BlockHashInput) GetBest() *Empty
- func (m *BlockHashInput) GetBlockHashInput() isBlockHashInput_BlockHashInput
- func (x *BlockHashInput) GetGiven() *BlockHash
- func (x *BlockHashInput) GetLastFinal() *Empty
- func (x *BlockHashInput) GetRelativeHeight() *BlockHashInput_RelativeHeight
- func (*BlockHashInput) ProtoMessage()
- func (x *BlockHashInput) ProtoReflect() protoreflect.Message
- func (x *BlockHashInput) Reset()
- func (x *BlockHashInput) String() string
- type BlockHashInput_AbsoluteHeight
- type BlockHashInput_Best
- type BlockHashInput_Given
- type BlockHashInput_LastFinal
- type BlockHashInput_RelativeHeight
- func (*BlockHashInput_RelativeHeight) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHashInput_RelativeHeight) GetGenesisIndex() *GenesisIndex
- func (x *BlockHashInput_RelativeHeight) GetHeight() *BlockHeight
- func (x *BlockHashInput_RelativeHeight) GetRestrict() bool
- func (*BlockHashInput_RelativeHeight) ProtoMessage()
- func (x *BlockHashInput_RelativeHeight) ProtoReflect() protoreflect.Message
- func (x *BlockHashInput_RelativeHeight) Reset()
- func (x *BlockHashInput_RelativeHeight) String() string
- type BlockHashInput_RelativeHeight_
- type BlockHeight
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BlockInfo) GetArriveTime() *Timestamp
- func (x *BlockInfo) GetBaker() *BakerId
- func (x *BlockInfo) GetEpoch() *Epoch
- func (x *BlockInfo) GetEraBlockHeight() *BlockHeight
- func (x *BlockInfo) GetFinalized() bool
- func (x *BlockInfo) GetGenesisIndex() *GenesisIndex
- func (x *BlockInfo) GetHash() *BlockHash
- func (x *BlockInfo) GetHeight() *AbsoluteBlockHeight
- func (x *BlockInfo) GetLastFinalizedBlock() *BlockHash
- func (x *BlockInfo) GetParentBlock() *BlockHash
- func (x *BlockInfo) GetProtocolVersion() ProtocolVersion
- func (x *BlockInfo) GetReceiveTime() *Timestamp
- func (x *BlockInfo) GetRound() *Round
- func (x *BlockInfo) GetSlotNumber() *Slot
- func (x *BlockInfo) GetSlotTime() *Timestamp
- func (x *BlockInfo) GetStateHash() *StateHash
- func (x *BlockInfo) GetTransactionCount() uint32
- func (x *BlockInfo) GetTransactionsEnergyCost() *Energy
- func (x *BlockInfo) GetTransactionsSize() uint32
- func (*BlockInfo) ProtoMessage()
- func (x *BlockInfo) ProtoReflect() protoreflect.Message
- func (x *BlockInfo) Reset()
- func (x *BlockInfo) String() string
- type BlockItem
- func (*BlockItem) Descriptor() ([]byte, []int)deprecated
- func (x *BlockItem) GetAccountTransaction() *AccountTransaction
- func (m *BlockItem) GetBlockItem() isBlockItem_BlockItem
- func (x *BlockItem) GetCredentialDeployment() *CredentialDeployment
- func (x *BlockItem) GetHash() *TransactionHash
- func (x *BlockItem) GetUpdateInstruction() *UpdateInstruction
- func (*BlockItem) ProtoMessage()
- func (x *BlockItem) ProtoReflect() protoreflect.Message
- func (x *BlockItem) Reset()
- func (x *BlockItem) String() string
- type BlockItemStatus
- func (*BlockItemStatus) Descriptor() ([]byte, []int)deprecated
- func (x *BlockItemStatus) GetCommitted() *BlockItemStatus_Committed
- func (x *BlockItemStatus) GetFinalized() *BlockItemStatus_Finalized
- func (x *BlockItemStatus) GetReceived() *Empty
- func (m *BlockItemStatus) GetStatus() isBlockItemStatus_Status
- func (*BlockItemStatus) ProtoMessage()
- func (x *BlockItemStatus) ProtoReflect() protoreflect.Message
- func (x *BlockItemStatus) Reset()
- func (x *BlockItemStatus) String() string
- type BlockItemStatus_Committed
- func (*BlockItemStatus_Committed) Descriptor() ([]byte, []int)deprecated
- func (x *BlockItemStatus_Committed) GetOutcomes() []*BlockItemSummaryInBlock
- func (*BlockItemStatus_Committed) ProtoMessage()
- func (x *BlockItemStatus_Committed) ProtoReflect() protoreflect.Message
- func (x *BlockItemStatus_Committed) Reset()
- func (x *BlockItemStatus_Committed) String() string
- type BlockItemStatus_Committed_
- type BlockItemStatus_Finalized
- func (*BlockItemStatus_Finalized) Descriptor() ([]byte, []int)deprecated
- func (x *BlockItemStatus_Finalized) GetOutcome() *BlockItemSummaryInBlock
- func (*BlockItemStatus_Finalized) ProtoMessage()
- func (x *BlockItemStatus_Finalized) ProtoReflect() protoreflect.Message
- func (x *BlockItemStatus_Finalized) Reset()
- func (x *BlockItemStatus_Finalized) String() string
- type BlockItemStatus_Finalized_
- type BlockItemStatus_Received
- type BlockItemSummary
- func (*BlockItemSummary) Descriptor() ([]byte, []int)deprecated
- func (x *BlockItemSummary) GetAccountCreation() *AccountCreationDetails
- func (x *BlockItemSummary) GetAccountTransaction() *AccountTransactionDetails
- func (m *BlockItemSummary) GetDetails() isBlockItemSummary_Details
- func (x *BlockItemSummary) GetEnergyCost() *Energy
- func (x *BlockItemSummary) GetHash() *TransactionHash
- func (x *BlockItemSummary) GetIndex() *BlockItemSummary_TransactionIndex
- func (x *BlockItemSummary) GetUpdate() *UpdateDetails
- func (*BlockItemSummary) ProtoMessage()
- func (x *BlockItemSummary) ProtoReflect() protoreflect.Message
- func (x *BlockItemSummary) Reset()
- func (x *BlockItemSummary) String() string
- type BlockItemSummaryInBlock
- func (*BlockItemSummaryInBlock) Descriptor() ([]byte, []int)deprecated
- func (x *BlockItemSummaryInBlock) GetBlockHash() *BlockHash
- func (x *BlockItemSummaryInBlock) GetOutcome() *BlockItemSummary
- func (*BlockItemSummaryInBlock) ProtoMessage()
- func (x *BlockItemSummaryInBlock) ProtoReflect() protoreflect.Message
- func (x *BlockItemSummaryInBlock) Reset()
- func (x *BlockItemSummaryInBlock) String() string
- type BlockItemSummary_AccountCreation
- type BlockItemSummary_AccountTransaction
- type BlockItemSummary_TransactionIndex
- func (*BlockItemSummary_TransactionIndex) Descriptor() ([]byte, []int)deprecated
- func (x *BlockItemSummary_TransactionIndex) GetValue() uint64
- func (*BlockItemSummary_TransactionIndex) ProtoMessage()
- func (x *BlockItemSummary_TransactionIndex) ProtoReflect() protoreflect.Message
- func (x *BlockItemSummary_TransactionIndex) Reset()
- func (x *BlockItemSummary_TransactionIndex) String() string
- type BlockItemSummary_Update
- type BlockItem_AccountTransaction
- type BlockItem_CredentialDeployment
- type BlockItem_UpdateInstruction
- type BlockSpecialEvent
- func (*BlockSpecialEvent) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSpecialEvent) GetBakingRewards() *BlockSpecialEvent_BakingRewards
- func (x *BlockSpecialEvent) GetBlockAccrueReward() *BlockSpecialEvent_BlockAccrueReward
- func (x *BlockSpecialEvent) GetBlockReward() *BlockSpecialEvent_BlockReward
- func (m *BlockSpecialEvent) GetEvent() isBlockSpecialEvent_Event
- func (x *BlockSpecialEvent) GetFinalizationRewards() *BlockSpecialEvent_FinalizationRewards
- func (x *BlockSpecialEvent) GetMint() *BlockSpecialEvent_Mint
- func (x *BlockSpecialEvent) GetPaydayAccountReward() *BlockSpecialEvent_PaydayAccountReward
- func (x *BlockSpecialEvent) GetPaydayFoundationReward() *BlockSpecialEvent_PaydayFoundationReward
- func (x *BlockSpecialEvent) GetPaydayPoolReward() *BlockSpecialEvent_PaydayPoolReward
- func (*BlockSpecialEvent) ProtoMessage()
- func (x *BlockSpecialEvent) ProtoReflect() protoreflect.Message
- func (x *BlockSpecialEvent) Reset()
- func (x *BlockSpecialEvent) String() string
- type BlockSpecialEvent_AccountAmounts
- func (*BlockSpecialEvent_AccountAmounts) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSpecialEvent_AccountAmounts) GetEntries() []*BlockSpecialEvent_AccountAmounts_Entry
- func (*BlockSpecialEvent_AccountAmounts) ProtoMessage()
- func (x *BlockSpecialEvent_AccountAmounts) ProtoReflect() protoreflect.Message
- func (x *BlockSpecialEvent_AccountAmounts) Reset()
- func (x *BlockSpecialEvent_AccountAmounts) String() string
- type BlockSpecialEvent_AccountAmounts_Entry
- func (*BlockSpecialEvent_AccountAmounts_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSpecialEvent_AccountAmounts_Entry) GetAccount() *AccountAddress
- func (x *BlockSpecialEvent_AccountAmounts_Entry) GetAmount() *Amount
- func (*BlockSpecialEvent_AccountAmounts_Entry) ProtoMessage()
- func (x *BlockSpecialEvent_AccountAmounts_Entry) ProtoReflect() protoreflect.Message
- func (x *BlockSpecialEvent_AccountAmounts_Entry) Reset()
- func (x *BlockSpecialEvent_AccountAmounts_Entry) String() string
- type BlockSpecialEvent_BakingRewards
- func (*BlockSpecialEvent_BakingRewards) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSpecialEvent_BakingRewards) GetBakerRewards() *BlockSpecialEvent_AccountAmounts
- func (x *BlockSpecialEvent_BakingRewards) GetRemainder() *Amount
- func (*BlockSpecialEvent_BakingRewards) ProtoMessage()
- func (x *BlockSpecialEvent_BakingRewards) ProtoReflect() protoreflect.Message
- func (x *BlockSpecialEvent_BakingRewards) Reset()
- func (x *BlockSpecialEvent_BakingRewards) String() string
- type BlockSpecialEvent_BakingRewards_
- type BlockSpecialEvent_BlockAccrueReward
- func (*BlockSpecialEvent_BlockAccrueReward) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSpecialEvent_BlockAccrueReward) GetBaker() *BakerId
- func (x *BlockSpecialEvent_BlockAccrueReward) GetBakerReward() *Amount
- func (x *BlockSpecialEvent_BlockAccrueReward) GetFoundationCharge() *Amount
- func (x *BlockSpecialEvent_BlockAccrueReward) GetNewGasAccount() *Amount
- func (x *BlockSpecialEvent_BlockAccrueReward) GetOldGasAccount() *Amount
- func (x *BlockSpecialEvent_BlockAccrueReward) GetPassiveReward() *Amount
- func (x *BlockSpecialEvent_BlockAccrueReward) GetTransactionFees() *Amount
- func (*BlockSpecialEvent_BlockAccrueReward) ProtoMessage()
- func (x *BlockSpecialEvent_BlockAccrueReward) ProtoReflect() protoreflect.Message
- func (x *BlockSpecialEvent_BlockAccrueReward) Reset()
- func (x *BlockSpecialEvent_BlockAccrueReward) String() string
- type BlockSpecialEvent_BlockAccrueReward_
- type BlockSpecialEvent_BlockReward
- func (*BlockSpecialEvent_BlockReward) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSpecialEvent_BlockReward) GetBaker() *AccountAddress
- func (x *BlockSpecialEvent_BlockReward) GetBakerReward() *Amount
- func (x *BlockSpecialEvent_BlockReward) GetFoundationAccount() *AccountAddress
- func (x *BlockSpecialEvent_BlockReward) GetFoundationCharge() *Amount
- func (x *BlockSpecialEvent_BlockReward) GetNewGasAccount() *Amount
- func (x *BlockSpecialEvent_BlockReward) GetOldGasAccount() *Amount
- func (x *BlockSpecialEvent_BlockReward) GetTransactionFees() *Amount
- func (*BlockSpecialEvent_BlockReward) ProtoMessage()
- func (x *BlockSpecialEvent_BlockReward) ProtoReflect() protoreflect.Message
- func (x *BlockSpecialEvent_BlockReward) Reset()
- func (x *BlockSpecialEvent_BlockReward) String() string
- type BlockSpecialEvent_BlockReward_
- type BlockSpecialEvent_FinalizationRewards
- func (*BlockSpecialEvent_FinalizationRewards) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSpecialEvent_FinalizationRewards) GetFinalizationRewards() *BlockSpecialEvent_AccountAmounts
- func (x *BlockSpecialEvent_FinalizationRewards) GetRemainder() *Amount
- func (*BlockSpecialEvent_FinalizationRewards) ProtoMessage()
- func (x *BlockSpecialEvent_FinalizationRewards) ProtoReflect() protoreflect.Message
- func (x *BlockSpecialEvent_FinalizationRewards) Reset()
- func (x *BlockSpecialEvent_FinalizationRewards) String() string
- type BlockSpecialEvent_FinalizationRewards_
- type BlockSpecialEvent_Mint
- func (*BlockSpecialEvent_Mint) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSpecialEvent_Mint) GetFoundationAccount() *AccountAddress
- func (x *BlockSpecialEvent_Mint) GetMintBakingReward() *Amount
- func (x *BlockSpecialEvent_Mint) GetMintFinalizationReward() *Amount
- func (x *BlockSpecialEvent_Mint) GetMintPlatformDevelopmentCharge() *Amount
- func (*BlockSpecialEvent_Mint) ProtoMessage()
- func (x *BlockSpecialEvent_Mint) ProtoReflect() protoreflect.Message
- func (x *BlockSpecialEvent_Mint) Reset()
- func (x *BlockSpecialEvent_Mint) String() string
- type BlockSpecialEvent_Mint_
- type BlockSpecialEvent_PaydayAccountReward
- func (*BlockSpecialEvent_PaydayAccountReward) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSpecialEvent_PaydayAccountReward) GetAccount() *AccountAddress
- func (x *BlockSpecialEvent_PaydayAccountReward) GetBakerReward() *Amount
- func (x *BlockSpecialEvent_PaydayAccountReward) GetFinalizationReward() *Amount
- func (x *BlockSpecialEvent_PaydayAccountReward) GetTransactionFees() *Amount
- func (*BlockSpecialEvent_PaydayAccountReward) ProtoMessage()
- func (x *BlockSpecialEvent_PaydayAccountReward) ProtoReflect() protoreflect.Message
- func (x *BlockSpecialEvent_PaydayAccountReward) Reset()
- func (x *BlockSpecialEvent_PaydayAccountReward) String() string
- type BlockSpecialEvent_PaydayAccountReward_
- type BlockSpecialEvent_PaydayFoundationReward
- func (*BlockSpecialEvent_PaydayFoundationReward) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSpecialEvent_PaydayFoundationReward) GetDevelopmentCharge() *Amount
- func (x *BlockSpecialEvent_PaydayFoundationReward) GetFoundationAccount() *AccountAddress
- func (*BlockSpecialEvent_PaydayFoundationReward) ProtoMessage()
- func (x *BlockSpecialEvent_PaydayFoundationReward) ProtoReflect() protoreflect.Message
- func (x *BlockSpecialEvent_PaydayFoundationReward) Reset()
- func (x *BlockSpecialEvent_PaydayFoundationReward) String() string
- type BlockSpecialEvent_PaydayFoundationReward_
- type BlockSpecialEvent_PaydayPoolReward
- func (*BlockSpecialEvent_PaydayPoolReward) Descriptor() ([]byte, []int)deprecated
- func (x *BlockSpecialEvent_PaydayPoolReward) GetBakerReward() *Amount
- func (x *BlockSpecialEvent_PaydayPoolReward) GetFinalizationReward() *Amount
- func (x *BlockSpecialEvent_PaydayPoolReward) GetPoolOwner() *BakerId
- func (x *BlockSpecialEvent_PaydayPoolReward) GetTransactionFees() *Amount
- func (*BlockSpecialEvent_PaydayPoolReward) ProtoMessage()
- func (x *BlockSpecialEvent_PaydayPoolReward) ProtoReflect() protoreflect.Message
- func (x *BlockSpecialEvent_PaydayPoolReward) Reset()
- func (x *BlockSpecialEvent_PaydayPoolReward) String() string
- type BlockSpecialEvent_PaydayPoolReward_
- type BlocksAtHeightRequest
- func (*BlocksAtHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlocksAtHeightRequest) GetAbsolute() *BlocksAtHeightRequest_Absolute
- func (m *BlocksAtHeightRequest) GetBlocksAtHeight() isBlocksAtHeightRequest_BlocksAtHeight
- func (x *BlocksAtHeightRequest) GetRelative() *BlocksAtHeightRequest_Relative
- func (*BlocksAtHeightRequest) ProtoMessage()
- func (x *BlocksAtHeightRequest) ProtoReflect() protoreflect.Message
- func (x *BlocksAtHeightRequest) Reset()
- func (x *BlocksAtHeightRequest) String() string
- type BlocksAtHeightRequest_Absolute
- func (*BlocksAtHeightRequest_Absolute) Descriptor() ([]byte, []int)deprecated
- func (x *BlocksAtHeightRequest_Absolute) GetHeight() *AbsoluteBlockHeight
- func (*BlocksAtHeightRequest_Absolute) ProtoMessage()
- func (x *BlocksAtHeightRequest_Absolute) ProtoReflect() protoreflect.Message
- func (x *BlocksAtHeightRequest_Absolute) Reset()
- func (x *BlocksAtHeightRequest_Absolute) String() string
- type BlocksAtHeightRequest_Absolute_
- type BlocksAtHeightRequest_Relative
- func (*BlocksAtHeightRequest_Relative) Descriptor() ([]byte, []int)deprecated
- func (x *BlocksAtHeightRequest_Relative) GetGenesisIndex() *GenesisIndex
- func (x *BlocksAtHeightRequest_Relative) GetHeight() *BlockHeight
- func (x *BlocksAtHeightRequest_Relative) GetRestrict() bool
- func (*BlocksAtHeightRequest_Relative) ProtoMessage()
- func (x *BlocksAtHeightRequest_Relative) ProtoReflect() protoreflect.Message
- func (x *BlocksAtHeightRequest_Relative) Reset()
- func (x *BlocksAtHeightRequest_Relative) String() string
- type BlocksAtHeightRequest_Relative_
- type BlocksAtHeightResponse
- func (*BlocksAtHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BlocksAtHeightResponse) GetBlocks() []*BlockHash
- func (*BlocksAtHeightResponse) ProtoMessage()
- func (x *BlocksAtHeightResponse) ProtoReflect() protoreflect.Message
- func (x *BlocksAtHeightResponse) Reset()
- func (x *BlocksAtHeightResponse) String() string
- type Branch
- type CapitalBound
- type ChainArData
- type ChainParameters
- func (*ChainParameters) Descriptor() ([]byte, []int)deprecated
- func (m *ChainParameters) GetParameters() isChainParameters_Parameters
- func (x *ChainParameters) GetV0() *ChainParametersV0
- func (x *ChainParameters) GetV1() *ChainParametersV1
- func (x *ChainParameters) GetV2() *ChainParametersV2
- func (*ChainParameters) ProtoMessage()
- func (x *ChainParameters) ProtoReflect() protoreflect.Message
- func (x *ChainParameters) Reset()
- func (x *ChainParameters) String() string
- type ChainParametersV0
- func (*ChainParametersV0) Descriptor() ([]byte, []int)deprecated
- func (x *ChainParametersV0) GetAccountCreationLimit() *CredentialsPerBlockLimit
- func (x *ChainParametersV0) GetBakerCooldownEpochs() *Epoch
- func (x *ChainParametersV0) GetElectionDifficulty() *ElectionDifficulty
- func (x *ChainParametersV0) GetEuroPerEnergy() *ExchangeRate
- func (x *ChainParametersV0) GetFoundationAccount() *AccountAddress
- func (x *ChainParametersV0) GetGasRewards() *GasRewards
- func (x *ChainParametersV0) GetLevel1Keys() *HigherLevelKeys
- func (x *ChainParametersV0) GetLevel2Keys() *AuthorizationsV0
- func (x *ChainParametersV0) GetMicroCcdPerEuro() *ExchangeRate
- func (x *ChainParametersV0) GetMinimumThresholdForBaking() *Amount
- func (x *ChainParametersV0) GetMintDistribution() *MintDistributionCpv0
- func (x *ChainParametersV0) GetRootKeys() *HigherLevelKeys
- func (x *ChainParametersV0) GetTransactionFeeDistribution() *TransactionFeeDistribution
- func (*ChainParametersV0) ProtoMessage()
- func (x *ChainParametersV0) ProtoReflect() protoreflect.Message
- func (x *ChainParametersV0) Reset()
- func (x *ChainParametersV0) String() string
- type ChainParametersV1
- func (*ChainParametersV1) Descriptor() ([]byte, []int)deprecated
- func (x *ChainParametersV1) GetAccountCreationLimit() *CredentialsPerBlockLimit
- func (x *ChainParametersV1) GetCooldownParameters() *CooldownParametersCpv1
- func (x *ChainParametersV1) GetElectionDifficulty() *ElectionDifficulty
- func (x *ChainParametersV1) GetEuroPerEnergy() *ExchangeRate
- func (x *ChainParametersV1) GetFoundationAccount() *AccountAddress
- func (x *ChainParametersV1) GetGasRewards() *GasRewards
- func (x *ChainParametersV1) GetLevel1Keys() *HigherLevelKeys
- func (x *ChainParametersV1) GetLevel2Keys() *AuthorizationsV1
- func (x *ChainParametersV1) GetMicroCcdPerEuro() *ExchangeRate
- func (x *ChainParametersV1) GetMintDistribution() *MintDistributionCpv1
- func (x *ChainParametersV1) GetPoolParameters() *PoolParametersCpv1
- func (x *ChainParametersV1) GetRootKeys() *HigherLevelKeys
- func (x *ChainParametersV1) GetTimeParameters() *TimeParametersCpv1
- func (x *ChainParametersV1) GetTransactionFeeDistribution() *TransactionFeeDistribution
- func (*ChainParametersV1) ProtoMessage()
- func (x *ChainParametersV1) ProtoReflect() protoreflect.Message
- func (x *ChainParametersV1) Reset()
- func (x *ChainParametersV1) String() string
- type ChainParametersV2
- func (*ChainParametersV2) Descriptor() ([]byte, []int)deprecated
- func (x *ChainParametersV2) GetAccountCreationLimit() *CredentialsPerBlockLimit
- func (x *ChainParametersV2) GetConsensusParameters() *ConsensusParametersV1
- func (x *ChainParametersV2) GetCooldownParameters() *CooldownParametersCpv1
- func (x *ChainParametersV2) GetEuroPerEnergy() *ExchangeRate
- func (x *ChainParametersV2) GetFinalizationCommitteeParameters() *FinalizationCommitteeParameters
- func (x *ChainParametersV2) GetFoundationAccount() *AccountAddress
- func (x *ChainParametersV2) GetGasRewards() *GasRewardsCpv2
- func (x *ChainParametersV2) GetLevel1Keys() *HigherLevelKeys
- func (x *ChainParametersV2) GetLevel2Keys() *AuthorizationsV1
- func (x *ChainParametersV2) GetMicroCcdPerEuro() *ExchangeRate
- func (x *ChainParametersV2) GetMintDistribution() *MintDistributionCpv1
- func (x *ChainParametersV2) GetPoolParameters() *PoolParametersCpv1
- func (x *ChainParametersV2) GetRootKeys() *HigherLevelKeys
- func (x *ChainParametersV2) GetTimeParameters() *TimeParametersCpv1
- func (x *ChainParametersV2) GetTransactionFeeDistribution() *TransactionFeeDistribution
- func (*ChainParametersV2) ProtoMessage()
- func (x *ChainParametersV2) ProtoReflect() protoreflect.Message
- func (x *ChainParametersV2) Reset()
- func (x *ChainParametersV2) String() string
- type ChainParameters_V0
- type ChainParameters_V1
- type ChainParameters_V2
- type CommissionRanges
- func (*CommissionRanges) Descriptor() ([]byte, []int)deprecated
- func (x *CommissionRanges) GetBaking() *InclusiveRangeAmountFraction
- func (x *CommissionRanges) GetFinalization() *InclusiveRangeAmountFraction
- func (x *CommissionRanges) GetTransaction() *InclusiveRangeAmountFraction
- func (*CommissionRanges) ProtoMessage()
- func (x *CommissionRanges) ProtoReflect() protoreflect.Message
- func (x *CommissionRanges) Reset()
- func (x *CommissionRanges) String() string
- type CommissionRates
- func (*CommissionRates) Descriptor() ([]byte, []int)deprecated
- func (x *CommissionRates) GetBaking() *AmountFraction
- func (x *CommissionRates) GetFinalization() *AmountFraction
- func (x *CommissionRates) GetTransaction() *AmountFraction
- func (*CommissionRates) ProtoMessage()
- func (x *CommissionRates) ProtoReflect() protoreflect.Message
- func (x *CommissionRates) Reset()
- func (x *CommissionRates) String() string
- type Commitment
- type ConsensusInfo
- func (*ConsensusInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ConsensusInfo) GetBestBlock() *BlockHash
- func (x *ConsensusInfo) GetBestBlockHeight() *AbsoluteBlockHeight
- func (x *ConsensusInfo) GetBlockArriveLatencyEma() float64
- func (x *ConsensusInfo) GetBlockArriveLatencyEmsd() float64
- func (x *ConsensusInfo) GetBlockArrivePeriodEma() float64
- func (x *ConsensusInfo) GetBlockArrivePeriodEmsd() float64
- func (x *ConsensusInfo) GetBlockLastArrivedTime() *Timestamp
- func (x *ConsensusInfo) GetBlockLastReceivedTime() *Timestamp
- func (x *ConsensusInfo) GetBlockReceiveLatencyEma() float64
- func (x *ConsensusInfo) GetBlockReceiveLatencyEmsd() float64
- func (x *ConsensusInfo) GetBlockReceivePeriodEma() float64
- func (x *ConsensusInfo) GetBlockReceivePeriodEmsd() float64
- func (x *ConsensusInfo) GetBlocksReceivedCount() uint32
- func (x *ConsensusInfo) GetBlocksVerifiedCount() uint32
- func (x *ConsensusInfo) GetCurrentEpoch() *Epoch
- func (x *ConsensusInfo) GetCurrentEraGenesisBlock() *BlockHash
- func (x *ConsensusInfo) GetCurrentEraGenesisTime() *Timestamp
- func (x *ConsensusInfo) GetCurrentRound() *Round
- func (x *ConsensusInfo) GetCurrentTimeoutDuration() *Duration
- func (x *ConsensusInfo) GetEpochDuration() *Duration
- func (x *ConsensusInfo) GetFinalizationCount() uint32
- func (x *ConsensusInfo) GetFinalizationPeriodEma() float64
- func (x *ConsensusInfo) GetFinalizationPeriodEmsd() float64
- func (x *ConsensusInfo) GetGenesisBlock() *BlockHash
- func (x *ConsensusInfo) GetGenesisIndex() *GenesisIndex
- func (x *ConsensusInfo) GetGenesisTime() *Timestamp
- func (x *ConsensusInfo) GetLastFinalizedBlock() *BlockHash
- func (x *ConsensusInfo) GetLastFinalizedBlockHeight() *AbsoluteBlockHeight
- func (x *ConsensusInfo) GetLastFinalizedTime() *Timestamp
- func (x *ConsensusInfo) GetProtocolVersion() ProtocolVersion
- func (x *ConsensusInfo) GetSlotDuration() *Duration
- func (x *ConsensusInfo) GetTransactionsPerBlockEma() float64
- func (x *ConsensusInfo) GetTransactionsPerBlockEmsd() float64
- func (x *ConsensusInfo) GetTriggerBlockTime() *Timestamp
- func (*ConsensusInfo) ProtoMessage()
- func (x *ConsensusInfo) ProtoReflect() protoreflect.Message
- func (x *ConsensusInfo) Reset()
- func (x *ConsensusInfo) String() string
- type ConsensusParametersV1
- func (*ConsensusParametersV1) Descriptor() ([]byte, []int)deprecated
- func (x *ConsensusParametersV1) GetBlockEnergyLimit() *Energy
- func (x *ConsensusParametersV1) GetMinBlockTime() *Duration
- func (x *ConsensusParametersV1) GetTimeoutParameters() *TimeoutParameters
- func (*ConsensusParametersV1) ProtoMessage()
- func (x *ConsensusParametersV1) ProtoReflect() protoreflect.Message
- func (x *ConsensusParametersV1) Reset()
- func (x *ConsensusParametersV1) String() string
- type ContractAddress
- func (*ContractAddress) Descriptor() ([]byte, []int)deprecated
- func (x *ContractAddress) GetIndex() uint64
- func (x *ContractAddress) GetSubindex() uint64
- func (*ContractAddress) ProtoMessage()
- func (x *ContractAddress) ProtoReflect() protoreflect.Message
- func (x *ContractAddress) Reset()
- func (x *ContractAddress) String() string
- type ContractEvent
- type ContractInitializedEvent
- func (*ContractInitializedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ContractInitializedEvent) GetAddress() *ContractAddress
- func (x *ContractInitializedEvent) GetAmount() *Amount
- func (x *ContractInitializedEvent) GetContractVersion() ContractVersion
- func (x *ContractInitializedEvent) GetEvents() []*ContractEvent
- func (x *ContractInitializedEvent) GetInitName() *InitName
- func (x *ContractInitializedEvent) GetOriginRef() *ModuleRef
- func (*ContractInitializedEvent) ProtoMessage()
- func (x *ContractInitializedEvent) ProtoReflect() protoreflect.Message
- func (x *ContractInitializedEvent) Reset()
- func (x *ContractInitializedEvent) String() string
- type ContractStateV0
- type ContractTraceElement
- func (*ContractTraceElement) Descriptor() ([]byte, []int)deprecated
- func (m *ContractTraceElement) GetElement() isContractTraceElement_Element
- func (x *ContractTraceElement) GetInterrupted() *ContractTraceElement_Interrupted
- func (x *ContractTraceElement) GetResumed() *ContractTraceElement_Resumed
- func (x *ContractTraceElement) GetTransferred() *ContractTraceElement_Transferred
- func (x *ContractTraceElement) GetUpdated() *InstanceUpdatedEvent
- func (x *ContractTraceElement) GetUpgraded() *ContractTraceElement_Upgraded
- func (*ContractTraceElement) ProtoMessage()
- func (x *ContractTraceElement) ProtoReflect() protoreflect.Message
- func (x *ContractTraceElement) Reset()
- func (x *ContractTraceElement) String() string
- type ContractTraceElement_Interrupted
- func (*ContractTraceElement_Interrupted) Descriptor() ([]byte, []int)deprecated
- func (x *ContractTraceElement_Interrupted) GetAddress() *ContractAddress
- func (x *ContractTraceElement_Interrupted) GetEvents() []*ContractEvent
- func (*ContractTraceElement_Interrupted) ProtoMessage()
- func (x *ContractTraceElement_Interrupted) ProtoReflect() protoreflect.Message
- func (x *ContractTraceElement_Interrupted) Reset()
- func (x *ContractTraceElement_Interrupted) String() string
- type ContractTraceElement_Interrupted_
- type ContractTraceElement_Resumed
- func (*ContractTraceElement_Resumed) Descriptor() ([]byte, []int)deprecated
- func (x *ContractTraceElement_Resumed) GetAddress() *ContractAddress
- func (x *ContractTraceElement_Resumed) GetSuccess() bool
- func (*ContractTraceElement_Resumed) ProtoMessage()
- func (x *ContractTraceElement_Resumed) ProtoReflect() protoreflect.Message
- func (x *ContractTraceElement_Resumed) Reset()
- func (x *ContractTraceElement_Resumed) String() string
- type ContractTraceElement_Resumed_
- type ContractTraceElement_Transferred
- func (*ContractTraceElement_Transferred) Descriptor() ([]byte, []int)deprecated
- func (x *ContractTraceElement_Transferred) GetAmount() *Amount
- func (x *ContractTraceElement_Transferred) GetReceiver() *AccountAddress
- func (x *ContractTraceElement_Transferred) GetSender() *ContractAddress
- func (*ContractTraceElement_Transferred) ProtoMessage()
- func (x *ContractTraceElement_Transferred) ProtoReflect() protoreflect.Message
- func (x *ContractTraceElement_Transferred) Reset()
- func (x *ContractTraceElement_Transferred) String() string
- type ContractTraceElement_Transferred_
- type ContractTraceElement_Updated
- type ContractTraceElement_Upgraded
- func (*ContractTraceElement_Upgraded) Descriptor() ([]byte, []int)deprecated
- func (x *ContractTraceElement_Upgraded) GetAddress() *ContractAddress
- func (x *ContractTraceElement_Upgraded) GetFrom() *ModuleRef
- func (x *ContractTraceElement_Upgraded) GetTo() *ModuleRef
- func (*ContractTraceElement_Upgraded) ProtoMessage()
- func (x *ContractTraceElement_Upgraded) ProtoReflect() protoreflect.Message
- func (x *ContractTraceElement_Upgraded) Reset()
- func (x *ContractTraceElement_Upgraded) String() string
- type ContractTraceElement_Upgraded_
- type ContractVersion
- func (ContractVersion) Descriptor() protoreflect.EnumDescriptor
- func (x ContractVersion) Enum() *ContractVersion
- func (ContractVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContractVersion) Number() protoreflect.EnumNumber
- func (x ContractVersion) String() string
- func (ContractVersion) Type() protoreflect.EnumType
- type Cooldown
- func (*Cooldown) Descriptor() ([]byte, []int)deprecated
- func (x *Cooldown) GetAmount() *Amount
- func (x *Cooldown) GetEndTime() *Timestamp
- func (x *Cooldown) GetStatus() Cooldown_CooldownStatus
- func (*Cooldown) ProtoMessage()
- func (x *Cooldown) ProtoReflect() protoreflect.Message
- func (x *Cooldown) Reset()
- func (x *Cooldown) String() string
- type CooldownParametersCpv1
- func (*CooldownParametersCpv1) Descriptor() ([]byte, []int)deprecated
- func (x *CooldownParametersCpv1) GetDelegatorCooldown() *DurationSeconds
- func (x *CooldownParametersCpv1) GetPoolOwnerCooldown() *DurationSeconds
- func (*CooldownParametersCpv1) ProtoMessage()
- func (x *CooldownParametersCpv1) ProtoReflect() protoreflect.Message
- func (x *CooldownParametersCpv1) Reset()
- func (x *CooldownParametersCpv1) String() string
- type Cooldown_CooldownStatus
- func (Cooldown_CooldownStatus) Descriptor() protoreflect.EnumDescriptor
- func (x Cooldown_CooldownStatus) Enum() *Cooldown_CooldownStatus
- func (Cooldown_CooldownStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cooldown_CooldownStatus) Number() protoreflect.EnumNumber
- func (x Cooldown_CooldownStatus) String() string
- func (Cooldown_CooldownStatus) Type() protoreflect.EnumType
- type CredentialCommitments
- func (*CredentialCommitments) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialCommitments) GetAttributes() map[uint32]*Commitment
- func (x *CredentialCommitments) GetCredCounter() *Commitment
- func (x *CredentialCommitments) GetIdCredSecSharingCoeff() []*Commitment
- func (x *CredentialCommitments) GetMaxAccounts() *Commitment
- func (x *CredentialCommitments) GetPrf() *Commitment
- func (*CredentialCommitments) ProtoMessage()
- func (x *CredentialCommitments) ProtoReflect() protoreflect.Message
- func (x *CredentialCommitments) Reset()
- func (x *CredentialCommitments) String() string
- type CredentialDeployment
- func (*CredentialDeployment) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialDeployment) GetMessageExpiry() *TransactionTime
- func (m *CredentialDeployment) GetPayload() isCredentialDeployment_Payload
- func (x *CredentialDeployment) GetRawPayload() []byte
- func (*CredentialDeployment) ProtoMessage()
- func (x *CredentialDeployment) ProtoReflect() protoreflect.Message
- func (x *CredentialDeployment) Reset()
- func (x *CredentialDeployment) String() string
- type CredentialDeployment_RawPayload
- type CredentialIndex
- type CredentialPublicKeys
- func (*CredentialPublicKeys) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialPublicKeys) GetKeys() map[uint32]*AccountVerifyKey
- func (x *CredentialPublicKeys) GetThreshold() *SignatureThreshold
- func (*CredentialPublicKeys) ProtoMessage()
- func (x *CredentialPublicKeys) ProtoReflect() protoreflect.Message
- func (x *CredentialPublicKeys) Reset()
- func (x *CredentialPublicKeys) String() string
- type CredentialRegistrationId
- func (*CredentialRegistrationId) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialRegistrationId) GetValue() []byte
- func (*CredentialRegistrationId) ProtoMessage()
- func (x *CredentialRegistrationId) ProtoReflect() protoreflect.Message
- func (x *CredentialRegistrationId) Reset()
- func (x *CredentialRegistrationId) String() string
- type CredentialType
- func (CredentialType) Descriptor() protoreflect.EnumDescriptor
- func (x CredentialType) Enum() *CredentialType
- func (CredentialType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CredentialType) Number() protoreflect.EnumNumber
- func (x CredentialType) String() string
- func (CredentialType) Type() protoreflect.EnumType
- type CredentialsPerBlockLimit
- func (*CredentialsPerBlockLimit) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialsPerBlockLimit) GetValue() uint32
- func (*CredentialsPerBlockLimit) ProtoMessage()
- func (x *CredentialsPerBlockLimit) ProtoReflect() protoreflect.Message
- func (x *CredentialsPerBlockLimit) Reset()
- func (x *CredentialsPerBlockLimit) String() string
- type CryptographicParameters
- func (*CryptographicParameters) Descriptor() ([]byte, []int)deprecated
- func (x *CryptographicParameters) GetBulletproofGenerators() []byte
- func (x *CryptographicParameters) GetGenesisString() string
- func (x *CryptographicParameters) GetOnChainCommitmentKey() []byte
- func (*CryptographicParameters) ProtoMessage()
- func (x *CryptographicParameters) ProtoReflect() protoreflect.Message
- func (x *CryptographicParameters) Reset()
- func (x *CryptographicParameters) String() string
- type DelegationEvent
- func (*DelegationEvent) Descriptor() ([]byte, []int)deprecated
- func (x *DelegationEvent) GetBakerRemoved() *DelegationEvent_BakerRemoved
- func (x *DelegationEvent) GetDelegationAdded() *DelegatorId
- func (x *DelegationEvent) GetDelegationRemoved() *DelegatorId
- func (x *DelegationEvent) GetDelegationSetDelegationTarget() *DelegationEvent_DelegationSetDelegationTarget
- func (x *DelegationEvent) GetDelegationSetRestakeEarnings() *DelegationEvent_DelegationSetRestakeEarnings
- func (x *DelegationEvent) GetDelegationStakeDecreased() *DelegationEvent_DelegationStakeDecreased
- func (x *DelegationEvent) GetDelegationStakeIncreased() *DelegationEvent_DelegationStakeIncreased
- func (m *DelegationEvent) GetEvent() isDelegationEvent_Event
- func (*DelegationEvent) ProtoMessage()
- func (x *DelegationEvent) ProtoReflect() protoreflect.Message
- func (x *DelegationEvent) Reset()
- func (x *DelegationEvent) String() string
- type DelegationEvent_BakerRemoved
- func (*DelegationEvent_BakerRemoved) Descriptor() ([]byte, []int)deprecated
- func (x *DelegationEvent_BakerRemoved) GetBakerId() *BakerId
- func (*DelegationEvent_BakerRemoved) ProtoMessage()
- func (x *DelegationEvent_BakerRemoved) ProtoReflect() protoreflect.Message
- func (x *DelegationEvent_BakerRemoved) Reset()
- func (x *DelegationEvent_BakerRemoved) String() string
- type DelegationEvent_BakerRemoved_
- type DelegationEvent_DelegationAdded
- type DelegationEvent_DelegationRemoved
- type DelegationEvent_DelegationSetDelegationTarget
- func (*DelegationEvent_DelegationSetDelegationTarget) Descriptor() ([]byte, []int)deprecated
- func (x *DelegationEvent_DelegationSetDelegationTarget) GetDelegationTarget() *DelegationTarget
- func (x *DelegationEvent_DelegationSetDelegationTarget) GetDelegatorId() *DelegatorId
- func (*DelegationEvent_DelegationSetDelegationTarget) ProtoMessage()
- func (x *DelegationEvent_DelegationSetDelegationTarget) ProtoReflect() protoreflect.Message
- func (x *DelegationEvent_DelegationSetDelegationTarget) Reset()
- func (x *DelegationEvent_DelegationSetDelegationTarget) String() string
- type DelegationEvent_DelegationSetDelegationTarget_
- type DelegationEvent_DelegationSetRestakeEarnings
- func (*DelegationEvent_DelegationSetRestakeEarnings) Descriptor() ([]byte, []int)deprecated
- func (x *DelegationEvent_DelegationSetRestakeEarnings) GetDelegatorId() *DelegatorId
- func (x *DelegationEvent_DelegationSetRestakeEarnings) GetRestakeEarnings() bool
- func (*DelegationEvent_DelegationSetRestakeEarnings) ProtoMessage()
- func (x *DelegationEvent_DelegationSetRestakeEarnings) ProtoReflect() protoreflect.Message
- func (x *DelegationEvent_DelegationSetRestakeEarnings) Reset()
- func (x *DelegationEvent_DelegationSetRestakeEarnings) String() string
- type DelegationEvent_DelegationSetRestakeEarnings_
- type DelegationEvent_DelegationStakeDecreased
- func (*DelegationEvent_DelegationStakeDecreased) Descriptor() ([]byte, []int)deprecated
- func (x *DelegationEvent_DelegationStakeDecreased) GetDelegatorId() *DelegatorId
- func (x *DelegationEvent_DelegationStakeDecreased) GetNewStake() *Amount
- func (*DelegationEvent_DelegationStakeDecreased) ProtoMessage()
- func (x *DelegationEvent_DelegationStakeDecreased) ProtoReflect() protoreflect.Message
- func (x *DelegationEvent_DelegationStakeDecreased) Reset()
- func (x *DelegationEvent_DelegationStakeDecreased) String() string
- type DelegationEvent_DelegationStakeDecreased_
- type DelegationEvent_DelegationStakeIncreased
- func (*DelegationEvent_DelegationStakeIncreased) Descriptor() ([]byte, []int)deprecated
- func (x *DelegationEvent_DelegationStakeIncreased) GetDelegatorId() *DelegatorId
- func (x *DelegationEvent_DelegationStakeIncreased) GetNewStake() *Amount
- func (*DelegationEvent_DelegationStakeIncreased) ProtoMessage()
- func (x *DelegationEvent_DelegationStakeIncreased) ProtoReflect() protoreflect.Message
- func (x *DelegationEvent_DelegationStakeIncreased) Reset()
- func (x *DelegationEvent_DelegationStakeIncreased) String() string
- type DelegationEvent_DelegationStakeIncreased_
- type DelegationTarget
- func (*DelegationTarget) Descriptor() ([]byte, []int)deprecated
- func (x *DelegationTarget) GetBaker() *BakerId
- func (x *DelegationTarget) GetPassive() *Empty
- func (m *DelegationTarget) GetTarget() isDelegationTarget_Target
- func (*DelegationTarget) ProtoMessage()
- func (x *DelegationTarget) ProtoReflect() protoreflect.Message
- func (x *DelegationTarget) Reset()
- func (x *DelegationTarget) String() string
- type DelegationTarget_Baker
- type DelegationTarget_Passive
- type DelegatorId
- type DelegatorInfo
- func (*DelegatorInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatorInfo) GetAccount() *AccountAddress
- func (x *DelegatorInfo) GetPendingChange() *StakePendingChange
- func (x *DelegatorInfo) GetStake() *Amount
- func (*DelegatorInfo) ProtoMessage()
- func (x *DelegatorInfo) ProtoReflect() protoreflect.Message
- func (x *DelegatorInfo) Reset()
- func (x *DelegatorInfo) String() string
- type DelegatorRewardPeriodInfo
- func (*DelegatorRewardPeriodInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DelegatorRewardPeriodInfo) GetAccount() *AccountAddress
- func (x *DelegatorRewardPeriodInfo) GetStake() *Amount
- func (*DelegatorRewardPeriodInfo) ProtoMessage()
- func (x *DelegatorRewardPeriodInfo) ProtoReflect() protoreflect.Message
- func (x *DelegatorRewardPeriodInfo) Reset()
- func (x *DelegatorRewardPeriodInfo) String() string
- type Description
- func (*Description) Descriptor() ([]byte, []int)deprecated
- func (x *Description) GetDescription() string
- func (x *Description) GetName() string
- func (x *Description) GetUrl() string
- func (*Description) ProtoMessage()
- func (x *Description) ProtoReflect() protoreflect.Message
- func (x *Description) Reset()
- func (x *Description) String() string
- type DryRunErrorResponse
- func (*DryRunErrorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunErrorResponse) GetAccountNotFound() *DryRunErrorResponse_AccountNotFound
- func (x *DryRunErrorResponse) GetAmountOverLimit() *DryRunErrorResponse_AmountOverLimit
- func (x *DryRunErrorResponse) GetBalanceInsufficient() *DryRunErrorResponse_BalanceInsufficient
- func (x *DryRunErrorResponse) GetBlockNotFound() *DryRunErrorResponse_BlockNotFound
- func (x *DryRunErrorResponse) GetEnergyInsufficient() *DryRunErrorResponse_EnergyInsufficient
- func (m *DryRunErrorResponse) GetError() isDryRunErrorResponse_Error
- func (x *DryRunErrorResponse) GetInstanceNotFound() *DryRunErrorResponse_InstanceNotFound
- func (x *DryRunErrorResponse) GetInvokeFailed() *DryRunErrorResponse_InvokeFailure
- func (x *DryRunErrorResponse) GetNoState() *DryRunErrorResponse_NoState
- func (*DryRunErrorResponse) ProtoMessage()
- func (x *DryRunErrorResponse) ProtoReflect() protoreflect.Message
- func (x *DryRunErrorResponse) Reset()
- func (x *DryRunErrorResponse) String() string
- type DryRunErrorResponse_AccountNotFound
- func (*DryRunErrorResponse_AccountNotFound) Descriptor() ([]byte, []int)deprecated
- func (*DryRunErrorResponse_AccountNotFound) ProtoMessage()
- func (x *DryRunErrorResponse_AccountNotFound) ProtoReflect() protoreflect.Message
- func (x *DryRunErrorResponse_AccountNotFound) Reset()
- func (x *DryRunErrorResponse_AccountNotFound) String() string
- type DryRunErrorResponse_AccountNotFound_
- type DryRunErrorResponse_AmountOverLimit
- func (*DryRunErrorResponse_AmountOverLimit) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunErrorResponse_AmountOverLimit) GetAmountLimit() *Amount
- func (*DryRunErrorResponse_AmountOverLimit) ProtoMessage()
- func (x *DryRunErrorResponse_AmountOverLimit) ProtoReflect() protoreflect.Message
- func (x *DryRunErrorResponse_AmountOverLimit) Reset()
- func (x *DryRunErrorResponse_AmountOverLimit) String() string
- type DryRunErrorResponse_AmountOverLimit_
- type DryRunErrorResponse_BalanceInsufficient
- func (*DryRunErrorResponse_BalanceInsufficient) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunErrorResponse_BalanceInsufficient) GetAvailableAmount() *Amount
- func (x *DryRunErrorResponse_BalanceInsufficient) GetRequiredAmount() *Amount
- func (*DryRunErrorResponse_BalanceInsufficient) ProtoMessage()
- func (x *DryRunErrorResponse_BalanceInsufficient) ProtoReflect() protoreflect.Message
- func (x *DryRunErrorResponse_BalanceInsufficient) Reset()
- func (x *DryRunErrorResponse_BalanceInsufficient) String() string
- type DryRunErrorResponse_BalanceInsufficient_
- type DryRunErrorResponse_BlockNotFound
- func (*DryRunErrorResponse_BlockNotFound) Descriptor() ([]byte, []int)deprecated
- func (*DryRunErrorResponse_BlockNotFound) ProtoMessage()
- func (x *DryRunErrorResponse_BlockNotFound) ProtoReflect() protoreflect.Message
- func (x *DryRunErrorResponse_BlockNotFound) Reset()
- func (x *DryRunErrorResponse_BlockNotFound) String() string
- type DryRunErrorResponse_BlockNotFound_
- type DryRunErrorResponse_EnergyInsufficient
- func (*DryRunErrorResponse_EnergyInsufficient) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunErrorResponse_EnergyInsufficient) GetEnergyRequired() *Energy
- func (*DryRunErrorResponse_EnergyInsufficient) ProtoMessage()
- func (x *DryRunErrorResponse_EnergyInsufficient) ProtoReflect() protoreflect.Message
- func (x *DryRunErrorResponse_EnergyInsufficient) Reset()
- func (x *DryRunErrorResponse_EnergyInsufficient) String() string
- type DryRunErrorResponse_EnergyInsufficient_
- type DryRunErrorResponse_InstanceNotFound
- func (*DryRunErrorResponse_InstanceNotFound) Descriptor() ([]byte, []int)deprecated
- func (*DryRunErrorResponse_InstanceNotFound) ProtoMessage()
- func (x *DryRunErrorResponse_InstanceNotFound) ProtoReflect() protoreflect.Message
- func (x *DryRunErrorResponse_InstanceNotFound) Reset()
- func (x *DryRunErrorResponse_InstanceNotFound) String() string
- type DryRunErrorResponse_InstanceNotFound_
- type DryRunErrorResponse_InvokeFailed
- type DryRunErrorResponse_InvokeFailure
- func (*DryRunErrorResponse_InvokeFailure) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunErrorResponse_InvokeFailure) GetReason() *RejectReason
- func (x *DryRunErrorResponse_InvokeFailure) GetReturnValue() []byte
- func (x *DryRunErrorResponse_InvokeFailure) GetUsedEnergy() *Energy
- func (*DryRunErrorResponse_InvokeFailure) ProtoMessage()
- func (x *DryRunErrorResponse_InvokeFailure) ProtoReflect() protoreflect.Message
- func (x *DryRunErrorResponse_InvokeFailure) Reset()
- func (x *DryRunErrorResponse_InvokeFailure) String() string
- type DryRunErrorResponse_NoState
- type DryRunErrorResponse_NoState_
- type DryRunInvokeInstance
- func (*DryRunInvokeInstance) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunInvokeInstance) GetAmount() *Amount
- func (x *DryRunInvokeInstance) GetEnergy() *Energy
- func (x *DryRunInvokeInstance) GetEntrypoint() *ReceiveName
- func (x *DryRunInvokeInstance) GetInstance() *ContractAddress
- func (x *DryRunInvokeInstance) GetInvoker() *Address
- func (x *DryRunInvokeInstance) GetParameter() *Parameter
- func (*DryRunInvokeInstance) ProtoMessage()
- func (x *DryRunInvokeInstance) ProtoReflect() protoreflect.Message
- func (x *DryRunInvokeInstance) Reset()
- func (x *DryRunInvokeInstance) String() string
- type DryRunMintToAccount
- func (*DryRunMintToAccount) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunMintToAccount) GetAccount() *AccountAddress
- func (x *DryRunMintToAccount) GetAmount() *Amount
- func (*DryRunMintToAccount) ProtoMessage()
- func (x *DryRunMintToAccount) ProtoReflect() protoreflect.Message
- func (x *DryRunMintToAccount) Reset()
- func (x *DryRunMintToAccount) String() string
- type DryRunRequest
- func (*DryRunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunRequest) GetLoadBlockState() *BlockHashInput
- func (m *DryRunRequest) GetRequest() isDryRunRequest_Request
- func (x *DryRunRequest) GetStateOperation() *DryRunStateOperation
- func (x *DryRunRequest) GetStateQuery() *DryRunStateQuery
- func (*DryRunRequest) ProtoMessage()
- func (x *DryRunRequest) ProtoReflect() protoreflect.Message
- func (x *DryRunRequest) Reset()
- func (x *DryRunRequest) String() string
- type DryRunRequest_LoadBlockState
- type DryRunRequest_StateOperation
- type DryRunRequest_StateQuery
- type DryRunResponse
- func (*DryRunResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunResponse) GetError() *DryRunErrorResponse
- func (x *DryRunResponse) GetQuotaRemaining() *Energy
- func (m *DryRunResponse) GetResponse() isDryRunResponse_Response
- func (x *DryRunResponse) GetSuccess() *DryRunSuccessResponse
- func (*DryRunResponse) ProtoMessage()
- func (x *DryRunResponse) ProtoReflect() protoreflect.Message
- func (x *DryRunResponse) Reset()
- func (x *DryRunResponse) String() string
- type DryRunResponse_Error
- type DryRunResponse_Success
- type DryRunSignature
- func (*DryRunSignature) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunSignature) GetCredential() uint32
- func (x *DryRunSignature) GetKey() uint32
- func (*DryRunSignature) ProtoMessage()
- func (x *DryRunSignature) ProtoReflect() protoreflect.Message
- func (x *DryRunSignature) Reset()
- func (x *DryRunSignature) String() string
- type DryRunStateOperation
- func (*DryRunStateOperation) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunStateOperation) GetMintToAccount() *DryRunMintToAccount
- func (m *DryRunStateOperation) GetOperation() isDryRunStateOperation_Operation
- func (x *DryRunStateOperation) GetRunTransaction() *DryRunTransaction
- func (x *DryRunStateOperation) GetSetTimestamp() *Timestamp
- func (*DryRunStateOperation) ProtoMessage()
- func (x *DryRunStateOperation) ProtoReflect() protoreflect.Message
- func (x *DryRunStateOperation) Reset()
- func (x *DryRunStateOperation) String() string
- type DryRunStateOperation_MintToAccount
- type DryRunStateOperation_RunTransaction
- type DryRunStateOperation_SetTimestamp
- type DryRunStateQuery
- func (*DryRunStateQuery) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunStateQuery) GetGetAccountInfo() *AccountIdentifierInput
- func (x *DryRunStateQuery) GetGetInstanceInfo() *ContractAddress
- func (x *DryRunStateQuery) GetInvokeInstance() *DryRunInvokeInstance
- func (m *DryRunStateQuery) GetQuery() isDryRunStateQuery_Query
- func (*DryRunStateQuery) ProtoMessage()
- func (x *DryRunStateQuery) ProtoReflect() protoreflect.Message
- func (x *DryRunStateQuery) Reset()
- func (x *DryRunStateQuery) String() string
- type DryRunStateQuery_GetAccountInfo
- type DryRunStateQuery_GetInstanceInfo
- type DryRunStateQuery_InvokeInstance
- type DryRunSuccessResponse
- func (*DryRunSuccessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunSuccessResponse) GetAccountInfo() *AccountInfo
- func (x *DryRunSuccessResponse) GetBlockStateLoaded() *DryRunSuccessResponse_BlockStateLoaded
- func (x *DryRunSuccessResponse) GetInstanceInfo() *InstanceInfo
- func (x *DryRunSuccessResponse) GetInvokeSucceeded() *DryRunSuccessResponse_InvokeSuccess
- func (x *DryRunSuccessResponse) GetMintedToAccount() *DryRunSuccessResponse_MintedToAccount
- func (m *DryRunSuccessResponse) GetResponse() isDryRunSuccessResponse_Response
- func (x *DryRunSuccessResponse) GetTimestampSet() *DryRunSuccessResponse_TimestampSet
- func (x *DryRunSuccessResponse) GetTransactionExecuted() *DryRunSuccessResponse_TransactionExecuted
- func (*DryRunSuccessResponse) ProtoMessage()
- func (x *DryRunSuccessResponse) ProtoReflect() protoreflect.Message
- func (x *DryRunSuccessResponse) Reset()
- func (x *DryRunSuccessResponse) String() string
- type DryRunSuccessResponse_AccountInfo
- type DryRunSuccessResponse_BlockStateLoaded
- func (*DryRunSuccessResponse_BlockStateLoaded) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunSuccessResponse_BlockStateLoaded) GetBlockHash() *BlockHash
- func (x *DryRunSuccessResponse_BlockStateLoaded) GetCurrentTimestamp() *Timestamp
- func (x *DryRunSuccessResponse_BlockStateLoaded) GetProtocolVersion() ProtocolVersion
- func (*DryRunSuccessResponse_BlockStateLoaded) ProtoMessage()
- func (x *DryRunSuccessResponse_BlockStateLoaded) ProtoReflect() protoreflect.Message
- func (x *DryRunSuccessResponse_BlockStateLoaded) Reset()
- func (x *DryRunSuccessResponse_BlockStateLoaded) String() string
- type DryRunSuccessResponse_BlockStateLoaded_
- type DryRunSuccessResponse_InstanceInfo
- type DryRunSuccessResponse_InvokeSucceeded
- type DryRunSuccessResponse_InvokeSuccess
- func (*DryRunSuccessResponse_InvokeSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunSuccessResponse_InvokeSuccess) GetEffects() []*ContractTraceElement
- func (x *DryRunSuccessResponse_InvokeSuccess) GetReturnValue() []byte
- func (x *DryRunSuccessResponse_InvokeSuccess) GetUsedEnergy() *Energy
- func (*DryRunSuccessResponse_InvokeSuccess) ProtoMessage()
- func (x *DryRunSuccessResponse_InvokeSuccess) ProtoReflect() protoreflect.Message
- func (x *DryRunSuccessResponse_InvokeSuccess) Reset()
- func (x *DryRunSuccessResponse_InvokeSuccess) String() string
- type DryRunSuccessResponse_MintedToAccount
- func (*DryRunSuccessResponse_MintedToAccount) Descriptor() ([]byte, []int)deprecated
- func (*DryRunSuccessResponse_MintedToAccount) ProtoMessage()
- func (x *DryRunSuccessResponse_MintedToAccount) ProtoReflect() protoreflect.Message
- func (x *DryRunSuccessResponse_MintedToAccount) Reset()
- func (x *DryRunSuccessResponse_MintedToAccount) String() string
- type DryRunSuccessResponse_MintedToAccount_
- type DryRunSuccessResponse_TimestampSet
- func (*DryRunSuccessResponse_TimestampSet) Descriptor() ([]byte, []int)deprecated
- func (*DryRunSuccessResponse_TimestampSet) ProtoMessage()
- func (x *DryRunSuccessResponse_TimestampSet) ProtoReflect() protoreflect.Message
- func (x *DryRunSuccessResponse_TimestampSet) Reset()
- func (x *DryRunSuccessResponse_TimestampSet) String() string
- type DryRunSuccessResponse_TimestampSet_
- type DryRunSuccessResponse_TransactionExecuted
- func (*DryRunSuccessResponse_TransactionExecuted) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunSuccessResponse_TransactionExecuted) GetDetails() *AccountTransactionDetails
- func (x *DryRunSuccessResponse_TransactionExecuted) GetEnergyCost() *Energy
- func (x *DryRunSuccessResponse_TransactionExecuted) GetReturnValue() []byte
- func (*DryRunSuccessResponse_TransactionExecuted) ProtoMessage()
- func (x *DryRunSuccessResponse_TransactionExecuted) ProtoReflect() protoreflect.Message
- func (x *DryRunSuccessResponse_TransactionExecuted) Reset()
- func (x *DryRunSuccessResponse_TransactionExecuted) String() string
- type DryRunSuccessResponse_TransactionExecuted_
- type DryRunTransaction
- func (*DryRunTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *DryRunTransaction) GetEnergyAmount() *Energy
- func (x *DryRunTransaction) GetPayload() *AccountTransactionPayload
- func (x *DryRunTransaction) GetSender() *AccountAddress
- func (x *DryRunTransaction) GetSignatures() []*DryRunSignature
- func (*DryRunTransaction) ProtoMessage()
- func (x *DryRunTransaction) ProtoReflect() protoreflect.Message
- func (x *DryRunTransaction) Reset()
- func (x *DryRunTransaction) String() string
- type DumpRequest
- type Duration
- type DurationSeconds
- type ElectionDifficulty
- func (*ElectionDifficulty) Descriptor() ([]byte, []int)deprecated
- func (x *ElectionDifficulty) GetValue() *AmountFraction
- func (*ElectionDifficulty) ProtoMessage()
- func (x *ElectionDifficulty) ProtoReflect() protoreflect.Message
- func (x *ElectionDifficulty) Reset()
- func (x *ElectionDifficulty) String() string
- type ElectionInfo
- func (*ElectionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ElectionInfo) GetBakerElectionInfo() []*ElectionInfo_Baker
- func (x *ElectionInfo) GetElectionDifficulty() *ElectionDifficulty
- func (x *ElectionInfo) GetElectionNonce() *LeadershipElectionNonce
- func (*ElectionInfo) ProtoMessage()
- func (x *ElectionInfo) ProtoReflect() protoreflect.Message
- func (x *ElectionInfo) Reset()
- func (x *ElectionInfo) String() string
- type ElectionInfo_Baker
- func (*ElectionInfo_Baker) Descriptor() ([]byte, []int)deprecated
- func (x *ElectionInfo_Baker) GetAccount() *AccountAddress
- func (x *ElectionInfo_Baker) GetBaker() *BakerId
- func (x *ElectionInfo_Baker) GetLotteryPower() float64
- func (*ElectionInfo_Baker) ProtoMessage()
- func (x *ElectionInfo_Baker) ProtoReflect() protoreflect.Message
- func (x *ElectionInfo_Baker) Reset()
- func (x *ElectionInfo_Baker) String() string
- type Empty
- type EncryptedAmount
- type EncryptedAmountRemovedEvent
- func (*EncryptedAmountRemovedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptedAmountRemovedEvent) GetAccount() *AccountAddress
- func (x *EncryptedAmountRemovedEvent) GetInputAmount() *EncryptedAmount
- func (x *EncryptedAmountRemovedEvent) GetNewAmount() *EncryptedAmount
- func (x *EncryptedAmountRemovedEvent) GetUpToIndex() uint64
- func (*EncryptedAmountRemovedEvent) ProtoMessage()
- func (x *EncryptedAmountRemovedEvent) ProtoReflect() protoreflect.Message
- func (x *EncryptedAmountRemovedEvent) Reset()
- func (x *EncryptedAmountRemovedEvent) String() string
- type EncryptedBalance
- func (*EncryptedBalance) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptedBalance) GetAggregatedAmount() *EncryptedAmount
- func (x *EncryptedBalance) GetIncomingAmounts() []*EncryptedAmount
- func (x *EncryptedBalance) GetNumAggregated() uint32
- func (x *EncryptedBalance) GetSelfAmount() *EncryptedAmount
- func (x *EncryptedBalance) GetStartIndex() uint64
- func (*EncryptedBalance) ProtoMessage()
- func (x *EncryptedBalance) ProtoReflect() protoreflect.Message
- func (x *EncryptedBalance) Reset()
- func (x *EncryptedBalance) String() string
- type EncryptedSelfAmountAddedEvent
- func (*EncryptedSelfAmountAddedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptedSelfAmountAddedEvent) GetAccount() *AccountAddress
- func (x *EncryptedSelfAmountAddedEvent) GetAmount() *Amount
- func (x *EncryptedSelfAmountAddedEvent) GetNewAmount() *EncryptedAmount
- func (*EncryptedSelfAmountAddedEvent) ProtoMessage()
- func (x *EncryptedSelfAmountAddedEvent) ProtoReflect() protoreflect.Message
- func (x *EncryptedSelfAmountAddedEvent) Reset()
- func (x *EncryptedSelfAmountAddedEvent) String() string
- type EncryptionKey
- type Energy
- type Epoch
- type EpochFinalizationEntry
- func (*EpochFinalizationEntry) Descriptor() ([]byte, []int)deprecated
- func (x *EpochFinalizationEntry) GetFinalizedQc() *QuorumCertificate
- func (x *EpochFinalizationEntry) GetSuccessorProof() *SuccessorProof
- func (x *EpochFinalizationEntry) GetSuccessorQc() *QuorumCertificate
- func (*EpochFinalizationEntry) ProtoMessage()
- func (x *EpochFinalizationEntry) ProtoReflect() protoreflect.Message
- func (x *EpochFinalizationEntry) Reset()
- func (x *EpochFinalizationEntry) String() string
- type EpochRequest
- func (*EpochRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EpochRequest) GetBlockHash() *BlockHashInput
- func (m *EpochRequest) GetEpochRequestInput() isEpochRequest_EpochRequestInput
- func (x *EpochRequest) GetRelativeEpoch() *EpochRequest_RelativeEpoch
- func (*EpochRequest) ProtoMessage()
- func (x *EpochRequest) ProtoReflect() protoreflect.Message
- func (x *EpochRequest) Reset()
- func (x *EpochRequest) String() string
- type EpochRequest_BlockHash
- type EpochRequest_RelativeEpoch
- func (*EpochRequest_RelativeEpoch) Descriptor() ([]byte, []int)deprecated
- func (x *EpochRequest_RelativeEpoch) GetEpoch() *Epoch
- func (x *EpochRequest_RelativeEpoch) GetGenesisIndex() *GenesisIndex
- func (*EpochRequest_RelativeEpoch) ProtoMessage()
- func (x *EpochRequest_RelativeEpoch) ProtoReflect() protoreflect.Message
- func (x *EpochRequest_RelativeEpoch) Reset()
- func (x *EpochRequest_RelativeEpoch) String() string
- type EpochRequest_RelativeEpoch_
- type ExchangeRate
- type FinalizationCommitteeParameters
- func (*FinalizationCommitteeParameters) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizationCommitteeParameters) GetFinalizerRelativeStakeThreshold() *AmountFraction
- func (x *FinalizationCommitteeParameters) GetMaximumFinalizers() uint32
- func (x *FinalizationCommitteeParameters) GetMinimumFinalizers() uint32
- func (*FinalizationCommitteeParameters) ProtoMessage()
- func (x *FinalizationCommitteeParameters) ProtoReflect() protoreflect.Message
- func (x *FinalizationCommitteeParameters) Reset()
- func (x *FinalizationCommitteeParameters) String() string
- type FinalizationIndex
- type FinalizationSummary
- func (*FinalizationSummary) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizationSummary) GetBlock() *BlockHash
- func (x *FinalizationSummary) GetDelay() *BlockHeight
- func (x *FinalizationSummary) GetFinalizers() []*FinalizationSummaryParty
- func (x *FinalizationSummary) GetIndex() *FinalizationIndex
- func (*FinalizationSummary) ProtoMessage()
- func (x *FinalizationSummary) ProtoReflect() protoreflect.Message
- func (x *FinalizationSummary) Reset()
- func (x *FinalizationSummary) String() string
- type FinalizationSummaryParty
- func (*FinalizationSummaryParty) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizationSummaryParty) GetBaker() *BakerId
- func (x *FinalizationSummaryParty) GetSigned() bool
- func (x *FinalizationSummaryParty) GetWeight() uint64
- func (*FinalizationSummaryParty) ProtoMessage()
- func (x *FinalizationSummaryParty) ProtoReflect() protoreflect.Message
- func (x *FinalizationSummaryParty) Reset()
- func (x *FinalizationSummaryParty) String() string
- type FinalizedBlockInfo
- func (*FinalizedBlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizedBlockInfo) GetHash() *BlockHash
- func (x *FinalizedBlockInfo) GetHeight() *AbsoluteBlockHeight
- func (*FinalizedBlockInfo) ProtoMessage()
- func (x *FinalizedBlockInfo) ProtoReflect() protoreflect.Message
- func (x *FinalizedBlockInfo) Reset()
- func (x *FinalizedBlockInfo) String() string
- type FinalizerRound
- func (*FinalizerRound) Descriptor() ([]byte, []int)deprecated
- func (x *FinalizerRound) GetFinalizers() []*BakerId
- func (x *FinalizerRound) GetRound() *Round
- func (*FinalizerRound) ProtoMessage()
- func (x *FinalizerRound) ProtoReflect() protoreflect.Message
- func (x *FinalizerRound) Reset()
- func (x *FinalizerRound) String() string
- type GasRewards
- func (*GasRewards) Descriptor() ([]byte, []int)deprecated
- func (x *GasRewards) GetAccountCreation() *AmountFraction
- func (x *GasRewards) GetBaker() *AmountFraction
- func (x *GasRewards) GetChainUpdate() *AmountFraction
- func (x *GasRewards) GetFinalizationProof() *AmountFraction
- func (*GasRewards) ProtoMessage()
- func (x *GasRewards) ProtoReflect() protoreflect.Message
- func (x *GasRewards) Reset()
- func (x *GasRewards) String() string
- type GasRewardsCpv2
- func (*GasRewardsCpv2) Descriptor() ([]byte, []int)deprecated
- func (x *GasRewardsCpv2) GetAccountCreation() *AmountFraction
- func (x *GasRewardsCpv2) GetBaker() *AmountFraction
- func (x *GasRewardsCpv2) GetChainUpdate() *AmountFraction
- func (*GasRewardsCpv2) ProtoMessage()
- func (x *GasRewardsCpv2) ProtoReflect() protoreflect.Message
- func (x *GasRewardsCpv2) Reset()
- func (x *GasRewardsCpv2) String() string
- type GenesisIndex
- type GetPoolDelegatorsRequest
- func (*GetPoolDelegatorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPoolDelegatorsRequest) GetBaker() *BakerId
- func (x *GetPoolDelegatorsRequest) GetBlockHash() *BlockHashInput
- func (*GetPoolDelegatorsRequest) ProtoMessage()
- func (x *GetPoolDelegatorsRequest) ProtoReflect() protoreflect.Message
- func (x *GetPoolDelegatorsRequest) Reset()
- func (x *GetPoolDelegatorsRequest) String() string
- type HealthClient
- type HealthServer
- type HigherLevelKeys
- func (*HigherLevelKeys) Descriptor() ([]byte, []int)deprecated
- func (x *HigherLevelKeys) GetKeys() []*UpdatePublicKey
- func (x *HigherLevelKeys) GetThreshold() *UpdateKeysThreshold
- func (*HigherLevelKeys) ProtoMessage()
- func (x *HigherLevelKeys) ProtoReflect() protoreflect.Message
- func (x *HigherLevelKeys) Reset()
- func (x *HigherLevelKeys) String() string
- type IdentityProviderIdentity
- func (*IdentityProviderIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityProviderIdentity) GetValue() uint32
- func (*IdentityProviderIdentity) ProtoMessage()
- func (x *IdentityProviderIdentity) ProtoReflect() protoreflect.Message
- func (x *IdentityProviderIdentity) Reset()
- func (x *IdentityProviderIdentity) String() string
- type InclusiveRangeAmountFraction
- func (*InclusiveRangeAmountFraction) Descriptor() ([]byte, []int)deprecated
- func (x *InclusiveRangeAmountFraction) GetMax_() *AmountFraction
- func (x *InclusiveRangeAmountFraction) GetMin() *AmountFraction
- func (*InclusiveRangeAmountFraction) ProtoMessage()
- func (x *InclusiveRangeAmountFraction) ProtoReflect() protoreflect.Message
- func (x *InclusiveRangeAmountFraction) Reset()
- func (x *InclusiveRangeAmountFraction) String() string
- type InitContractPayload
- func (*InitContractPayload) Descriptor() ([]byte, []int)deprecated
- func (x *InitContractPayload) GetAmount() *Amount
- func (x *InitContractPayload) GetInitName() *InitName
- func (x *InitContractPayload) GetModuleRef() *ModuleRef
- func (x *InitContractPayload) GetParameter() *Parameter
- func (*InitContractPayload) ProtoMessage()
- func (x *InitContractPayload) ProtoReflect() protoreflect.Message
- func (x *InitContractPayload) Reset()
- func (x *InitContractPayload) String() string
- type InitName
- type InitialCredentialValues
- func (*InitialCredentialValues) Descriptor() ([]byte, []int)deprecated
- func (x *InitialCredentialValues) GetCredId() *CredentialRegistrationId
- func (x *InitialCredentialValues) GetIpId() *IdentityProviderIdentity
- func (x *InitialCredentialValues) GetKeys() *CredentialPublicKeys
- func (x *InitialCredentialValues) GetPolicy() *Policy
- func (*InitialCredentialValues) ProtoMessage()
- func (x *InitialCredentialValues) ProtoReflect() protoreflect.Message
- func (x *InitialCredentialValues) Reset()
- func (x *InitialCredentialValues) String() string
- type InstanceInfo
- func (*InstanceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceInfo) GetV0() *InstanceInfo_V0
- func (x *InstanceInfo) GetV1() *InstanceInfo_V1
- func (m *InstanceInfo) GetVersion() isInstanceInfo_Version
- func (*InstanceInfo) ProtoMessage()
- func (x *InstanceInfo) ProtoReflect() protoreflect.Message
- func (x *InstanceInfo) Reset()
- func (x *InstanceInfo) String() string
- type InstanceInfoRequest
- func (*InstanceInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceInfoRequest) GetAddress() *ContractAddress
- func (x *InstanceInfoRequest) GetBlockHash() *BlockHashInput
- func (*InstanceInfoRequest) ProtoMessage()
- func (x *InstanceInfoRequest) ProtoReflect() protoreflect.Message
- func (x *InstanceInfoRequest) Reset()
- func (x *InstanceInfoRequest) String() string
- type InstanceInfo_V0
- func (*InstanceInfo_V0) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceInfo_V0) GetAmount() *Amount
- func (x *InstanceInfo_V0) GetMethods() []*ReceiveName
- func (x *InstanceInfo_V0) GetModel() *ContractStateV0
- func (x *InstanceInfo_V0) GetName() *InitName
- func (x *InstanceInfo_V0) GetOwner() *AccountAddress
- func (x *InstanceInfo_V0) GetSourceModule() *ModuleRef
- func (*InstanceInfo_V0) ProtoMessage()
- func (x *InstanceInfo_V0) ProtoReflect() protoreflect.Message
- func (x *InstanceInfo_V0) Reset()
- func (x *InstanceInfo_V0) String() string
- type InstanceInfo_V0_
- type InstanceInfo_V1
- func (*InstanceInfo_V1) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceInfo_V1) GetAmount() *Amount
- func (x *InstanceInfo_V1) GetMethods() []*ReceiveName
- func (x *InstanceInfo_V1) GetName() *InitName
- func (x *InstanceInfo_V1) GetOwner() *AccountAddress
- func (x *InstanceInfo_V1) GetSourceModule() *ModuleRef
- func (*InstanceInfo_V1) ProtoMessage()
- func (x *InstanceInfo_V1) ProtoReflect() protoreflect.Message
- func (x *InstanceInfo_V1) Reset()
- func (x *InstanceInfo_V1) String() string
- type InstanceInfo_V1_
- type InstanceStateKVPair
- func (*InstanceStateKVPair) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceStateKVPair) GetKey() []byte
- func (x *InstanceStateKVPair) GetValue() []byte
- func (*InstanceStateKVPair) ProtoMessage()
- func (x *InstanceStateKVPair) ProtoReflect() protoreflect.Message
- func (x *InstanceStateKVPair) Reset()
- func (x *InstanceStateKVPair) String() string
- type InstanceStateLookupRequest
- func (*InstanceStateLookupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceStateLookupRequest) GetAddress() *ContractAddress
- func (x *InstanceStateLookupRequest) GetBlockHash() *BlockHashInput
- func (x *InstanceStateLookupRequest) GetKey() []byte
- func (*InstanceStateLookupRequest) ProtoMessage()
- func (x *InstanceStateLookupRequest) ProtoReflect() protoreflect.Message
- func (x *InstanceStateLookupRequest) Reset()
- func (x *InstanceStateLookupRequest) String() string
- type InstanceStateValueAtKey
- func (*InstanceStateValueAtKey) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceStateValueAtKey) GetValue() []byte
- func (*InstanceStateValueAtKey) ProtoMessage()
- func (x *InstanceStateValueAtKey) ProtoReflect() protoreflect.Message
- func (x *InstanceStateValueAtKey) Reset()
- func (x *InstanceStateValueAtKey) String() string
- type InstanceUpdatedEvent
- func (*InstanceUpdatedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceUpdatedEvent) GetAddress() *ContractAddress
- func (x *InstanceUpdatedEvent) GetAmount() *Amount
- func (x *InstanceUpdatedEvent) GetContractVersion() ContractVersion
- func (x *InstanceUpdatedEvent) GetEvents() []*ContractEvent
- func (x *InstanceUpdatedEvent) GetInstigator() *Address
- func (x *InstanceUpdatedEvent) GetParameter() *Parameter
- func (x *InstanceUpdatedEvent) GetReceiveName() *ReceiveName
- func (*InstanceUpdatedEvent) ProtoMessage()
- func (x *InstanceUpdatedEvent) ProtoReflect() protoreflect.Message
- func (x *InstanceUpdatedEvent) Reset()
- func (x *InstanceUpdatedEvent) String() string
- type InvokeInstanceRequest
- func (*InvokeInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeInstanceRequest) GetAmount() *Amount
- func (x *InvokeInstanceRequest) GetBlockHash() *BlockHashInput
- func (x *InvokeInstanceRequest) GetEnergy() *Energy
- func (x *InvokeInstanceRequest) GetEntrypoint() *ReceiveName
- func (x *InvokeInstanceRequest) GetInstance() *ContractAddress
- func (x *InvokeInstanceRequest) GetInvoker() *Address
- func (x *InvokeInstanceRequest) GetParameter() *Parameter
- func (*InvokeInstanceRequest) ProtoMessage()
- func (x *InvokeInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *InvokeInstanceRequest) Reset()
- func (x *InvokeInstanceRequest) String() string
- type InvokeInstanceResponse
- func (*InvokeInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeInstanceResponse) GetFailure() *InvokeInstanceResponse_Failure
- func (m *InvokeInstanceResponse) GetResult() isInvokeInstanceResponse_Result
- func (x *InvokeInstanceResponse) GetSuccess() *InvokeInstanceResponse_Success
- func (*InvokeInstanceResponse) ProtoMessage()
- func (x *InvokeInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *InvokeInstanceResponse) Reset()
- func (x *InvokeInstanceResponse) String() string
- type InvokeInstanceResponse_Failure
- func (*InvokeInstanceResponse_Failure) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeInstanceResponse_Failure) GetReason() *RejectReason
- func (x *InvokeInstanceResponse_Failure) GetReturnValue() []byte
- func (x *InvokeInstanceResponse_Failure) GetUsedEnergy() *Energy
- func (*InvokeInstanceResponse_Failure) ProtoMessage()
- func (x *InvokeInstanceResponse_Failure) ProtoReflect() protoreflect.Message
- func (x *InvokeInstanceResponse_Failure) Reset()
- func (x *InvokeInstanceResponse_Failure) String() string
- type InvokeInstanceResponse_Failure_
- type InvokeInstanceResponse_Success
- func (*InvokeInstanceResponse_Success) Descriptor() ([]byte, []int)deprecated
- func (x *InvokeInstanceResponse_Success) GetEffects() []*ContractTraceElement
- func (x *InvokeInstanceResponse_Success) GetReturnValue() []byte
- func (x *InvokeInstanceResponse_Success) GetUsedEnergy() *Energy
- func (*InvokeInstanceResponse_Success) ProtoMessage()
- func (x *InvokeInstanceResponse_Success) ProtoReflect() protoreflect.Message
- func (x *InvokeInstanceResponse_Success) Reset()
- func (x *InvokeInstanceResponse_Success) String() string
- type InvokeInstanceResponse_Success_
- type IpAddress
- type IpIdentity
- type IpInfo
- func (*IpInfo) Descriptor() ([]byte, []int)deprecated
- func (x *IpInfo) GetCdiVerifyKey() *IpInfo_IpCdiVerifyKey
- func (x *IpInfo) GetDescription() *Description
- func (x *IpInfo) GetIdentity() *IpIdentity
- func (x *IpInfo) GetVerifyKey() *IpInfo_IpVerifyKey
- func (*IpInfo) ProtoMessage()
- func (x *IpInfo) ProtoReflect() protoreflect.Message
- func (x *IpInfo) Reset()
- func (x *IpInfo) String() string
- type IpInfo_IpCdiVerifyKey
- func (*IpInfo_IpCdiVerifyKey) Descriptor() ([]byte, []int)deprecated
- func (x *IpInfo_IpCdiVerifyKey) GetValue() []byte
- func (*IpInfo_IpCdiVerifyKey) ProtoMessage()
- func (x *IpInfo_IpCdiVerifyKey) ProtoReflect() protoreflect.Message
- func (x *IpInfo_IpCdiVerifyKey) Reset()
- func (x *IpInfo_IpCdiVerifyKey) String() string
- type IpInfo_IpVerifyKey
- func (*IpInfo_IpVerifyKey) Descriptor() ([]byte, []int)deprecated
- func (x *IpInfo_IpVerifyKey) GetValue() []byte
- func (*IpInfo_IpVerifyKey) ProtoMessage()
- func (x *IpInfo_IpVerifyKey) ProtoReflect() protoreflect.Message
- func (x *IpInfo_IpVerifyKey) Reset()
- func (x *IpInfo_IpVerifyKey) String() string
- type IpSocketAddress
- func (*IpSocketAddress) Descriptor() ([]byte, []int)deprecated
- func (x *IpSocketAddress) GetIp() *IpAddress
- func (x *IpSocketAddress) GetPort() *Port
- func (*IpSocketAddress) ProtoMessage()
- func (x *IpSocketAddress) ProtoReflect() protoreflect.Message
- func (x *IpSocketAddress) Reset()
- func (x *IpSocketAddress) String() string
- type LeadershipElectionNonce
- func (*LeadershipElectionNonce) Descriptor() ([]byte, []int)deprecated
- func (x *LeadershipElectionNonce) GetValue() []byte
- func (*LeadershipElectionNonce) ProtoMessage()
- func (x *LeadershipElectionNonce) ProtoReflect() protoreflect.Message
- func (x *LeadershipElectionNonce) Reset()
- func (x *LeadershipElectionNonce) String() string
- type Level1Update
- func (*Level1Update) Descriptor() ([]byte, []int)deprecated
- func (x *Level1Update) GetLevel_1KeysUpdate() *HigherLevelKeys
- func (x *Level1Update) GetLevel_2KeysUpdateV0() *AuthorizationsV0
- func (x *Level1Update) GetLevel_2KeysUpdateV1() *AuthorizationsV1
- func (m *Level1Update) GetUpdateType() isLevel1Update_UpdateType
- func (*Level1Update) ProtoMessage()
- func (x *Level1Update) ProtoReflect() protoreflect.Message
- func (x *Level1Update) Reset()
- func (x *Level1Update) String() string
- type Level1Update_Level_1KeysUpdate
- type Level1Update_Level_2KeysUpdateV0
- type Level1Update_Level_2KeysUpdateV1
- type LeverageFactor
- type Memo
- type MintDistributionCpv0
- func (*MintDistributionCpv0) Descriptor() ([]byte, []int)deprecated
- func (x *MintDistributionCpv0) GetBakingReward() *AmountFraction
- func (x *MintDistributionCpv0) GetFinalizationReward() *AmountFraction
- func (x *MintDistributionCpv0) GetMintPerSlot() *MintRate
- func (*MintDistributionCpv0) ProtoMessage()
- func (x *MintDistributionCpv0) ProtoReflect() protoreflect.Message
- func (x *MintDistributionCpv0) Reset()
- func (x *MintDistributionCpv0) String() string
- type MintDistributionCpv1
- func (*MintDistributionCpv1) Descriptor() ([]byte, []int)deprecated
- func (x *MintDistributionCpv1) GetBakingReward() *AmountFraction
- func (x *MintDistributionCpv1) GetFinalizationReward() *AmountFraction
- func (*MintDistributionCpv1) ProtoMessage()
- func (x *MintDistributionCpv1) ProtoReflect() protoreflect.Message
- func (x *MintDistributionCpv1) Reset()
- func (x *MintDistributionCpv1) String() string
- type MintRate
- type ModuleRef
- type ModuleSourceRequest
- func (*ModuleSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleSourceRequest) GetBlockHash() *BlockHashInput
- func (x *ModuleSourceRequest) GetModuleRef() *ModuleRef
- func (*ModuleSourceRequest) ProtoMessage()
- func (x *ModuleSourceRequest) ProtoReflect() protoreflect.Message
- func (x *ModuleSourceRequest) Reset()
- func (x *ModuleSourceRequest) String() string
- type NewEncryptedAmountEvent
- func (*NewEncryptedAmountEvent) Descriptor() ([]byte, []int)deprecated
- func (x *NewEncryptedAmountEvent) GetEncryptedAmount() *EncryptedAmount
- func (x *NewEncryptedAmountEvent) GetNewIndex() uint64
- func (x *NewEncryptedAmountEvent) GetReceiver() *AccountAddress
- func (*NewEncryptedAmountEvent) ProtoMessage()
- func (x *NewEncryptedAmountEvent) ProtoReflect() protoreflect.Message
- func (x *NewEncryptedAmountEvent) Reset()
- func (x *NewEncryptedAmountEvent) String() string
- type NewRelease
- func (*NewRelease) Descriptor() ([]byte, []int)deprecated
- func (x *NewRelease) GetAmount() *Amount
- func (x *NewRelease) GetTimestamp() *Timestamp
- func (*NewRelease) ProtoMessage()
- func (x *NewRelease) ProtoReflect() protoreflect.Message
- func (x *NewRelease) Reset()
- func (x *NewRelease) String() string
- type NextAccountSequenceNumber
- func (*NextAccountSequenceNumber) Descriptor() ([]byte, []int)deprecated
- func (x *NextAccountSequenceNumber) GetAllFinal() bool
- func (x *NextAccountSequenceNumber) GetSequenceNumber() *SequenceNumber
- func (*NextAccountSequenceNumber) ProtoMessage()
- func (x *NextAccountSequenceNumber) ProtoReflect() protoreflect.Message
- func (x *NextAccountSequenceNumber) Reset()
- func (x *NextAccountSequenceNumber) String() string
- type NextUpdateSequenceNumbers
- func (*NextUpdateSequenceNumbers) Descriptor() ([]byte, []int)deprecated
- func (x *NextUpdateSequenceNumbers) GetAddAnonymityRevoker() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetAddIdentityProvider() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetBlockEnergyLimit() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetCooldownParameters() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetElectionDifficulty() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetEuroPerEnergy() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetFinalizationCommitteeParameters() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetFoundationAccount() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetGasRewards() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetLevel1Keys() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetLevel2Keys() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetMicroCcdPerEuro() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetMinBlockTime() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetMintDistribution() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetPoolParameters() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetProtocol() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetRootKeys() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetTimeParameters() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetTimeoutParameters() *SequenceNumber
- func (x *NextUpdateSequenceNumbers) GetTransactionFeeDistribution() *SequenceNumber
- func (*NextUpdateSequenceNumbers) ProtoMessage()
- func (x *NextUpdateSequenceNumbers) ProtoReflect() protoreflect.Message
- func (x *NextUpdateSequenceNumbers) Reset()
- func (x *NextUpdateSequenceNumbers) String() string
- type NodeHealthRequest
- type NodeHealthResponse
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo) GetBootstrapper() *Empty
- func (m *NodeInfo) GetDetails() isNodeInfo_Details
- func (x *NodeInfo) GetLocalTime() *Timestamp
- func (x *NodeInfo) GetNetworkInfo() *NodeInfo_NetworkInfo
- func (x *NodeInfo) GetNode() *NodeInfo_Node
- func (x *NodeInfo) GetPeerUptime() *Duration
- func (x *NodeInfo) GetPeerVersion() string
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) String() string
- type NodeInfo_BakerConsensusInfo
- func (*NodeInfo_BakerConsensusInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_BakerConsensusInfo) GetActiveBakerCommitteeInfo() *NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo
- func (x *NodeInfo_BakerConsensusInfo) GetActiveFinalizerCommitteeInfo() *NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo
- func (x *NodeInfo_BakerConsensusInfo) GetBakerId() *BakerId
- func (x *NodeInfo_BakerConsensusInfo) GetPassiveCommitteeInfo() NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo
- func (m *NodeInfo_BakerConsensusInfo) GetStatus() isNodeInfo_BakerConsensusInfo_Status
- func (*NodeInfo_BakerConsensusInfo) ProtoMessage()
- func (x *NodeInfo_BakerConsensusInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_BakerConsensusInfo) Reset()
- func (x *NodeInfo_BakerConsensusInfo) String() string
- type NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo
- func (*NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) Descriptor() ([]byte, []int)deprecated
- func (*NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) ProtoMessage()
- func (x *NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) Reset()
- func (x *NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) String() string
- type NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo_
- type NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo
- func (*NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) Descriptor() ([]byte, []int)deprecated
- func (*NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) ProtoMessage()
- func (x *NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) Reset()
- func (x *NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) String() string
- type NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo_
- type NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo
- func (NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) Descriptor() protoreflect.EnumDescriptor
- func (x NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) Enum() *NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo
- func (NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) EnumDescriptor() ([]byte, []int)deprecated
- func (x NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) Number() protoreflect.EnumNumber
- func (x NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) String() string
- func (NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) Type() protoreflect.EnumType
- type NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo_
- type NodeInfo_Bootstrapper
- type NodeInfo_NetworkInfo
- func (*NodeInfo_NetworkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_NetworkInfo) GetAvgBpsIn() uint64
- func (x *NodeInfo_NetworkInfo) GetAvgBpsOut() uint64
- func (x *NodeInfo_NetworkInfo) GetNodeId() *PeerId
- func (x *NodeInfo_NetworkInfo) GetPeerTotalReceived() uint64
- func (x *NodeInfo_NetworkInfo) GetPeerTotalSent() uint64
- func (*NodeInfo_NetworkInfo) ProtoMessage()
- func (x *NodeInfo_NetworkInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_NetworkInfo) Reset()
- func (x *NodeInfo_NetworkInfo) String() string
- type NodeInfo_Node
- func (*NodeInfo_Node) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo_Node) GetActive() *NodeInfo_BakerConsensusInfo
- func (m *NodeInfo_Node) GetConsensusStatus() isNodeInfo_Node_ConsensusStatus
- func (x *NodeInfo_Node) GetNotRunning() *Empty
- func (x *NodeInfo_Node) GetPassive() *Empty
- func (*NodeInfo_Node) ProtoMessage()
- func (x *NodeInfo_Node) ProtoReflect() protoreflect.Message
- func (x *NodeInfo_Node) Reset()
- func (x *NodeInfo_Node) String() string
- type NodeInfo_Node_
- type NodeInfo_Node_Active
- type NodeInfo_Node_NotRunning
- type NodeInfo_Node_Passive
- type NormalCredentialValues
- func (*NormalCredentialValues) Descriptor() ([]byte, []int)deprecated
- func (x *NormalCredentialValues) GetArData() map[uint32]*ChainArData
- func (x *NormalCredentialValues) GetArThreshold() *ArThreshold
- func (x *NormalCredentialValues) GetCommitments() *CredentialCommitments
- func (x *NormalCredentialValues) GetCredId() *CredentialRegistrationId
- func (x *NormalCredentialValues) GetIpId() *IdentityProviderIdentity
- func (x *NormalCredentialValues) GetKeys() *CredentialPublicKeys
- func (x *NormalCredentialValues) GetPolicy() *Policy
- func (*NormalCredentialValues) ProtoMessage()
- func (x *NormalCredentialValues) ProtoReflect() protoreflect.Message
- func (x *NormalCredentialValues) Reset()
- func (x *NormalCredentialValues) String() string
- type OpenStatus
- type Parameter
- type PassiveDelegationInfo
- func (*PassiveDelegationInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PassiveDelegationInfo) GetAllPoolTotalCapital() *Amount
- func (x *PassiveDelegationInfo) GetCommissionRates() *CommissionRates
- func (x *PassiveDelegationInfo) GetCurrentPaydayDelegatedCapital() *Amount
- func (x *PassiveDelegationInfo) GetCurrentPaydayTransactionFeesEarned() *Amount
- func (x *PassiveDelegationInfo) GetDelegatedCapital() *Amount
- func (*PassiveDelegationInfo) ProtoMessage()
- func (x *PassiveDelegationInfo) ProtoReflect() protoreflect.Message
- func (x *PassiveDelegationInfo) Reset()
- func (x *PassiveDelegationInfo) String() string
- type PeerId
- type PeerToBan
- type PeersInfo
- type PeersInfo_Peer
- func (*PeersInfo_Peer) Descriptor() ([]byte, []int)deprecated
- func (x *PeersInfo_Peer) GetBootstrapper() *Empty
- func (m *PeersInfo_Peer) GetConsensusInfo() isPeersInfo_Peer_ConsensusInfo
- func (x *PeersInfo_Peer) GetNetworkStats() *PeersInfo_Peer_NetworkStats
- func (x *PeersInfo_Peer) GetNodeCatchupStatus() PeersInfo_Peer_CatchupStatus
- func (x *PeersInfo_Peer) GetPeerId() *PeerId
- func (x *PeersInfo_Peer) GetSocketAddress() *IpSocketAddress
- func (*PeersInfo_Peer) ProtoMessage()
- func (x *PeersInfo_Peer) ProtoReflect() protoreflect.Message
- func (x *PeersInfo_Peer) Reset()
- func (x *PeersInfo_Peer) String() string
- type PeersInfo_Peer_Bootstrapper
- type PeersInfo_Peer_CatchupStatus
- func (PeersInfo_Peer_CatchupStatus) Descriptor() protoreflect.EnumDescriptor
- func (x PeersInfo_Peer_CatchupStatus) Enum() *PeersInfo_Peer_CatchupStatus
- func (PeersInfo_Peer_CatchupStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x PeersInfo_Peer_CatchupStatus) Number() protoreflect.EnumNumber
- func (x PeersInfo_Peer_CatchupStatus) String() string
- func (PeersInfo_Peer_CatchupStatus) Type() protoreflect.EnumType
- type PeersInfo_Peer_NetworkStats
- func (*PeersInfo_Peer_NetworkStats) Descriptor() ([]byte, []int)deprecated
- func (x *PeersInfo_Peer_NetworkStats) GetLatency() uint64
- func (x *PeersInfo_Peer_NetworkStats) GetPacketsReceived() uint64
- func (x *PeersInfo_Peer_NetworkStats) GetPacketsSent() uint64
- func (*PeersInfo_Peer_NetworkStats) ProtoMessage()
- func (x *PeersInfo_Peer_NetworkStats) ProtoReflect() protoreflect.Message
- func (x *PeersInfo_Peer_NetworkStats) Reset()
- func (x *PeersInfo_Peer_NetworkStats) String() string
- type PeersInfo_Peer_NodeCatchupStatus
- type PendingUpdate
- func (*PendingUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *PendingUpdate) GetAddAnonymityRevoker() *ArInfo
- func (x *PendingUpdate) GetAddIdentityProvider() *IpInfo
- func (x *PendingUpdate) GetBlockEnergyLimit() *Energy
- func (x *PendingUpdate) GetCooldownParameters() *CooldownParametersCpv1
- func (m *PendingUpdate) GetEffect() isPendingUpdate_Effect
- func (x *PendingUpdate) GetEffectiveTime() *TransactionTime
- func (x *PendingUpdate) GetElectionDifficulty() *ElectionDifficulty
- func (x *PendingUpdate) GetEuroPerEnergy() *ExchangeRate
- func (x *PendingUpdate) GetFinalizationCommitteeParameters() *FinalizationCommitteeParameters
- func (x *PendingUpdate) GetFoundationAccount() *AccountAddress
- func (x *PendingUpdate) GetGasRewards() *GasRewards
- func (x *PendingUpdate) GetGasRewardsCpv_2() *GasRewardsCpv2
- func (x *PendingUpdate) GetLevel1Keys() *HigherLevelKeys
- func (x *PendingUpdate) GetLevel2KeysCpv_0() *AuthorizationsV0
- func (x *PendingUpdate) GetLevel2KeysCpv_1() *AuthorizationsV1
- func (x *PendingUpdate) GetMicroCcdPerEuro() *ExchangeRate
- func (x *PendingUpdate) GetMinBlockTime() *Duration
- func (x *PendingUpdate) GetMintDistributionCpv_0() *MintDistributionCpv0
- func (x *PendingUpdate) GetMintDistributionCpv_1() *MintDistributionCpv1
- func (x *PendingUpdate) GetPoolParametersCpv_0() *BakerStakeThreshold
- func (x *PendingUpdate) GetPoolParametersCpv_1() *PoolParametersCpv1
- func (x *PendingUpdate) GetProtocol() *ProtocolUpdate
- func (x *PendingUpdate) GetRootKeys() *HigherLevelKeys
- func (x *PendingUpdate) GetTimeParameters() *TimeParametersCpv1
- func (x *PendingUpdate) GetTimeoutParameters() *TimeoutParameters
- func (x *PendingUpdate) GetTransactionFeeDistribution() *TransactionFeeDistribution
- func (*PendingUpdate) ProtoMessage()
- func (x *PendingUpdate) ProtoReflect() protoreflect.Message
- func (x *PendingUpdate) Reset()
- func (x *PendingUpdate) String() string
- type PendingUpdate_AddAnonymityRevoker
- type PendingUpdate_AddIdentityProvider
- type PendingUpdate_BlockEnergyLimit
- type PendingUpdate_CooldownParameters
- type PendingUpdate_ElectionDifficulty
- type PendingUpdate_EuroPerEnergy
- type PendingUpdate_FinalizationCommitteeParameters
- type PendingUpdate_FoundationAccount
- type PendingUpdate_GasRewards
- type PendingUpdate_GasRewardsCpv_2
- type PendingUpdate_Level1Keys
- type PendingUpdate_Level2KeysCpv_0
- type PendingUpdate_Level2KeysCpv_1
- type PendingUpdate_MicroCcdPerEuro
- type PendingUpdate_MinBlockTime
- type PendingUpdate_MintDistributionCpv_0
- type PendingUpdate_MintDistributionCpv_1
- type PendingUpdate_PoolParametersCpv_0
- type PendingUpdate_PoolParametersCpv_1
- type PendingUpdate_Protocol
- type PendingUpdate_RootKeys
- type PendingUpdate_TimeParameters
- type PendingUpdate_TimeoutParameters
- type PendingUpdate_TransactionFeeDistribution
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetAttributes() map[uint32][]byte
- func (x *Policy) GetCreatedAt() *YearMonth
- func (x *Policy) GetValidTo() *YearMonth
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- type PoolCurrentPaydayInfo
- func (*PoolCurrentPaydayInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PoolCurrentPaydayInfo) GetBakerEquityCapital() *Amount
- func (x *PoolCurrentPaydayInfo) GetBlocksBaked() uint64
- func (x *PoolCurrentPaydayInfo) GetCommissionRates() *CommissionRates
- func (x *PoolCurrentPaydayInfo) GetDelegatedCapital() *Amount
- func (x *PoolCurrentPaydayInfo) GetEffectiveStake() *Amount
- func (x *PoolCurrentPaydayInfo) GetFinalizationLive() bool
- func (x *PoolCurrentPaydayInfo) GetLotteryPower() float64
- func (x *PoolCurrentPaydayInfo) GetTransactionFeesEarned() *Amount
- func (*PoolCurrentPaydayInfo) ProtoMessage()
- func (x *PoolCurrentPaydayInfo) ProtoReflect() protoreflect.Message
- func (x *PoolCurrentPaydayInfo) Reset()
- func (x *PoolCurrentPaydayInfo) String() string
- type PoolInfoRequest
- func (*PoolInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PoolInfoRequest) GetBaker() *BakerId
- func (x *PoolInfoRequest) GetBlockHash() *BlockHashInput
- func (*PoolInfoRequest) ProtoMessage()
- func (x *PoolInfoRequest) ProtoReflect() protoreflect.Message
- func (x *PoolInfoRequest) Reset()
- func (x *PoolInfoRequest) String() string
- type PoolInfoResponse
- func (*PoolInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PoolInfoResponse) GetAddress() *AccountAddress
- func (x *PoolInfoResponse) GetAllPoolTotalCapital() *Amount
- func (x *PoolInfoResponse) GetBaker() *BakerId
- func (x *PoolInfoResponse) GetCurrentPaydayInfo() *PoolCurrentPaydayInfo
- func (x *PoolInfoResponse) GetDelegatedCapital() *Amount
- func (x *PoolInfoResponse) GetDelegatedCapitalCap() *Amount
- func (x *PoolInfoResponse) GetEquityCapital() *Amount
- func (x *PoolInfoResponse) GetEquityPendingChange() *PoolPendingChange
- func (x *PoolInfoResponse) GetPoolInfo() *BakerPoolInfo
- func (*PoolInfoResponse) ProtoMessage()
- func (x *PoolInfoResponse) ProtoReflect() protoreflect.Message
- func (x *PoolInfoResponse) Reset()
- func (x *PoolInfoResponse) String() string
- type PoolParametersCpv1
- func (*PoolParametersCpv1) Descriptor() ([]byte, []int)deprecated
- func (x *PoolParametersCpv1) GetCapitalBound() *CapitalBound
- func (x *PoolParametersCpv1) GetCommissionBounds() *CommissionRanges
- func (x *PoolParametersCpv1) GetLeverageBound() *LeverageFactor
- func (x *PoolParametersCpv1) GetMinimumEquityCapital() *Amount
- func (x *PoolParametersCpv1) GetPassiveBakingCommission() *AmountFraction
- func (x *PoolParametersCpv1) GetPassiveFinalizationCommission() *AmountFraction
- func (x *PoolParametersCpv1) GetPassiveTransactionCommission() *AmountFraction
- func (*PoolParametersCpv1) ProtoMessage()
- func (x *PoolParametersCpv1) ProtoReflect() protoreflect.Message
- func (x *PoolParametersCpv1) Reset()
- func (x *PoolParametersCpv1) String() string
- type PoolPendingChange
- func (*PoolPendingChange) Descriptor() ([]byte, []int)deprecated
- func (m *PoolPendingChange) GetChange() isPoolPendingChange_Change
- func (x *PoolPendingChange) GetReduce() *PoolPendingChange_Reduce
- func (x *PoolPendingChange) GetRemove() *PoolPendingChange_Remove
- func (*PoolPendingChange) ProtoMessage()
- func (x *PoolPendingChange) ProtoReflect() protoreflect.Message
- func (x *PoolPendingChange) Reset()
- func (x *PoolPendingChange) String() string
- type PoolPendingChange_Reduce
- func (*PoolPendingChange_Reduce) Descriptor() ([]byte, []int)deprecated
- func (x *PoolPendingChange_Reduce) GetEffectiveTime() *Timestamp
- func (x *PoolPendingChange_Reduce) GetReducedEquityCapital() *Amount
- func (*PoolPendingChange_Reduce) ProtoMessage()
- func (x *PoolPendingChange_Reduce) ProtoReflect() protoreflect.Message
- func (x *PoolPendingChange_Reduce) Reset()
- func (x *PoolPendingChange_Reduce) String() string
- type PoolPendingChange_Reduce_
- type PoolPendingChange_Remove
- func (*PoolPendingChange_Remove) Descriptor() ([]byte, []int)deprecated
- func (x *PoolPendingChange_Remove) GetEffectiveTime() *Timestamp
- func (*PoolPendingChange_Remove) ProtoMessage()
- func (x *PoolPendingChange_Remove) ProtoReflect() protoreflect.Message
- func (x *PoolPendingChange_Remove) Reset()
- func (x *PoolPendingChange_Remove) String() string
- type PoolPendingChange_Remove_
- type Port
- type PreAccountTransaction
- func (*PreAccountTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *PreAccountTransaction) GetHeader() *AccountTransactionHeader
- func (x *PreAccountTransaction) GetPayload() *AccountTransactionPayload
- func (*PreAccountTransaction) ProtoMessage()
- func (x *PreAccountTransaction) ProtoReflect() protoreflect.Message
- func (x *PreAccountTransaction) Reset()
- func (x *PreAccountTransaction) String() string
- type ProtocolUpdate
- func (*ProtocolUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolUpdate) GetMessage_() string
- func (x *ProtocolUpdate) GetSpecificationAuxiliaryData() []byte
- func (x *ProtocolUpdate) GetSpecificationHash() *Sha256Hash
- func (x *ProtocolUpdate) GetSpecificationUrl() string
- func (*ProtocolUpdate) ProtoMessage()
- func (x *ProtocolUpdate) ProtoReflect() protoreflect.Message
- func (x *ProtocolUpdate) Reset()
- func (x *ProtocolUpdate) String() string
- type ProtocolVersion
- func (ProtocolVersion) Descriptor() protoreflect.EnumDescriptor
- func (x ProtocolVersion) Enum() *ProtocolVersion
- func (ProtocolVersion) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProtocolVersion) Number() protoreflect.EnumNumber
- func (x ProtocolVersion) String() string
- func (ProtocolVersion) Type() protoreflect.EnumType
- type QueriesClient
- type QueriesServer
- type Queries_DryRunClient
- type Queries_DryRunServer
- type Queries_GetAccountListClient
- type Queries_GetAccountListServer
- type Queries_GetAccountNonFinalizedTransactionsClient
- type Queries_GetAccountNonFinalizedTransactionsServer
- type Queries_GetAncestorsClient
- type Queries_GetAncestorsServer
- type Queries_GetAnonymityRevokersClient
- type Queries_GetAnonymityRevokersServer
- type Queries_GetBakerListClient
- type Queries_GetBakerListServer
- type Queries_GetBakersRewardPeriodClient
- type Queries_GetBakersRewardPeriodServer
- type Queries_GetBlockItemsClient
- type Queries_GetBlockItemsServer
- type Queries_GetBlockPendingUpdatesClient
- type Queries_GetBlockPendingUpdatesServer
- type Queries_GetBlockSpecialEventsClient
- type Queries_GetBlockSpecialEventsServer
- type Queries_GetBlockTransactionEventsClient
- type Queries_GetBlockTransactionEventsServer
- type Queries_GetBlocksClient
- type Queries_GetBlocksServer
- type Queries_GetFinalizedBlocksClient
- type Queries_GetFinalizedBlocksServer
- type Queries_GetIdentityProvidersClient
- type Queries_GetIdentityProvidersServer
- type Queries_GetInstanceListClient
- type Queries_GetInstanceListServer
- type Queries_GetInstanceStateClient
- type Queries_GetInstanceStateServer
- type Queries_GetModuleListClient
- type Queries_GetModuleListServer
- type Queries_GetPassiveDelegatorsClient
- type Queries_GetPassiveDelegatorsRewardPeriodClient
- type Queries_GetPassiveDelegatorsRewardPeriodServer
- type Queries_GetPassiveDelegatorsServer
- type Queries_GetPoolDelegatorsClient
- type Queries_GetPoolDelegatorsRewardPeriodClient
- type Queries_GetPoolDelegatorsRewardPeriodServer
- type Queries_GetPoolDelegatorsServer
- type Queries_GetWinningBakersEpochClient
- type Queries_GetWinningBakersEpochServer
- type QuorumCertificate
- func (*QuorumCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *QuorumCertificate) GetAggregateSignature() *QuorumSignature
- func (x *QuorumCertificate) GetBlockHash() *BlockHash
- func (x *QuorumCertificate) GetEpoch() *Epoch
- func (x *QuorumCertificate) GetRound() *Round
- func (x *QuorumCertificate) GetSignatories() []*BakerId
- func (*QuorumCertificate) ProtoMessage()
- func (x *QuorumCertificate) ProtoReflect() protoreflect.Message
- func (x *QuorumCertificate) Reset()
- func (x *QuorumCertificate) String() string
- type QuorumSignature
- type Ratio
- type ReceiveName
- type RegisteredData
- type RejectReason
- func (*RejectReason) Descriptor() ([]byte, []int)deprecated
- func (x *RejectReason) GetAlreadyABaker() *BakerId
- func (x *RejectReason) GetAlreadyADelegator() *Empty
- func (x *RejectReason) GetAmountTooLarge() *RejectReason_AmountTooLarge
- func (x *RejectReason) GetBakerInCooldown() *Empty
- func (x *RejectReason) GetBakingRewardCommissionNotInRange() *Empty
- func (x *RejectReason) GetCredentialHolderDidNotSign() *Empty
- func (x *RejectReason) GetDelegationTargetNotABaker() *BakerId
- func (x *RejectReason) GetDelegatorInCooldown() *Empty
- func (x *RejectReason) GetDuplicateAggregationKey() *BakerAggregationVerifyKey
- func (x *RejectReason) GetDuplicateCredIds() *RejectReason_DuplicateCredIds
- func (x *RejectReason) GetEncryptedAmountSelfTransfer() *AccountAddress
- func (x *RejectReason) GetFinalizationRewardCommissionNotInRange() *Empty
- func (x *RejectReason) GetFirstScheduledReleaseExpired() *Empty
- func (x *RejectReason) GetInsufficientBalanceForBakerStake() *Empty
- func (x *RejectReason) GetInsufficientBalanceForDelegationStake() *Empty
- func (x *RejectReason) GetInsufficientDelegationStake() *Empty
- func (x *RejectReason) GetInvalidAccountReference() *AccountAddress
- func (x *RejectReason) GetInvalidAccountThreshold() *Empty
- func (x *RejectReason) GetInvalidContractAddress() *ContractAddress
- func (x *RejectReason) GetInvalidCredentialKeySignThreshold() *Empty
- func (x *RejectReason) GetInvalidCredentials() *Empty
- func (x *RejectReason) GetInvalidEncryptedAmountTransferProof() *Empty
- func (x *RejectReason) GetInvalidIndexOnEncryptedTransfer() *Empty
- func (x *RejectReason) GetInvalidInitMethod() *RejectReason_InvalidInitMethod
- func (x *RejectReason) GetInvalidModuleReference() *ModuleRef
- func (x *RejectReason) GetInvalidProof() *Empty
- func (x *RejectReason) GetInvalidReceiveMethod() *RejectReason_InvalidReceiveMethod
- func (x *RejectReason) GetInvalidTransferToPublicProof() *Empty
- func (x *RejectReason) GetKeyIndexAlreadyInUse() *Empty
- func (x *RejectReason) GetMissingBakerAddParameters() *Empty
- func (x *RejectReason) GetMissingDelegationAddParameters() *Empty
- func (x *RejectReason) GetModuleHashAlreadyExists() *ModuleRef
- func (x *RejectReason) GetModuleNotWf() *Empty
- func (x *RejectReason) GetNonExistentCredIds() *RejectReason_NonExistentCredIds
- func (x *RejectReason) GetNonExistentCredentialId() *Empty
- func (x *RejectReason) GetNonIncreasingSchedule() *Empty
- func (x *RejectReason) GetNotABaker() *AccountAddress
- func (x *RejectReason) GetNotADelegator() *AccountAddress
- func (x *RejectReason) GetNotAllowedMultipleCredentials() *Empty
- func (x *RejectReason) GetNotAllowedToHandleEncrypted() *Empty
- func (x *RejectReason) GetNotAllowedToReceiveEncrypted() *Empty
- func (x *RejectReason) GetOutOfEnergy() *Empty
- func (x *RejectReason) GetPoolClosed() *Empty
- func (x *RejectReason) GetPoolWouldBecomeOverDelegated() *Empty
- func (m *RejectReason) GetReason() isRejectReason_Reason
- func (x *RejectReason) GetRejectedInit() *RejectReason_RejectedInit
- func (x *RejectReason) GetRejectedReceive() *RejectReason_RejectedReceive
- func (x *RejectReason) GetRemoveFirstCredential() *Empty
- func (x *RejectReason) GetRuntimeFailure() *Empty
- func (x *RejectReason) GetScheduledSelfTransfer() *AccountAddress
- func (x *RejectReason) GetSerializationFailure() *Empty
- func (x *RejectReason) GetStakeOverMaximumThresholdForPool() *Empty
- func (x *RejectReason) GetStakeUnderMinimumThresholdForBaking() *Empty
- func (x *RejectReason) GetTransactionFeeCommissionNotInRange() *Empty
- func (x *RejectReason) GetZeroScheduledAmount() *Empty
- func (*RejectReason) ProtoMessage()
- func (x *RejectReason) ProtoReflect() protoreflect.Message
- func (x *RejectReason) Reset()
- func (x *RejectReason) String() string
- type RejectReason_AlreadyABaker
- type RejectReason_AlreadyADelegator
- type RejectReason_AmountTooLarge
- func (*RejectReason_AmountTooLarge) Descriptor() ([]byte, []int)deprecated
- func (x *RejectReason_AmountTooLarge) GetAddress() *Address
- func (x *RejectReason_AmountTooLarge) GetAmount() *Amount
- func (*RejectReason_AmountTooLarge) ProtoMessage()
- func (x *RejectReason_AmountTooLarge) ProtoReflect() protoreflect.Message
- func (x *RejectReason_AmountTooLarge) Reset()
- func (x *RejectReason_AmountTooLarge) String() string
- type RejectReason_AmountTooLarge_
- type RejectReason_BakerInCooldown
- type RejectReason_BakingRewardCommissionNotInRange
- type RejectReason_CredentialHolderDidNotSign
- type RejectReason_DelegationTargetNotABaker
- type RejectReason_DelegatorInCooldown
- type RejectReason_DuplicateAggregationKey
- type RejectReason_DuplicateCredIds
- func (*RejectReason_DuplicateCredIds) Descriptor() ([]byte, []int)deprecated
- func (x *RejectReason_DuplicateCredIds) GetIds() []*CredentialRegistrationId
- func (*RejectReason_DuplicateCredIds) ProtoMessage()
- func (x *RejectReason_DuplicateCredIds) ProtoReflect() protoreflect.Message
- func (x *RejectReason_DuplicateCredIds) Reset()
- func (x *RejectReason_DuplicateCredIds) String() string
- type RejectReason_DuplicateCredIds_
- type RejectReason_EncryptedAmountSelfTransfer
- type RejectReason_FinalizationRewardCommissionNotInRange
- type RejectReason_FirstScheduledReleaseExpired
- type RejectReason_InsufficientBalanceForBakerStake
- type RejectReason_InsufficientBalanceForDelegationStake
- type RejectReason_InsufficientDelegationStake
- type RejectReason_InvalidAccountReference
- type RejectReason_InvalidAccountThreshold
- type RejectReason_InvalidContractAddress
- type RejectReason_InvalidCredentialKeySignThreshold
- type RejectReason_InvalidCredentials
- type RejectReason_InvalidEncryptedAmountTransferProof
- type RejectReason_InvalidIndexOnEncryptedTransfer
- type RejectReason_InvalidInitMethod
- func (*RejectReason_InvalidInitMethod) Descriptor() ([]byte, []int)deprecated
- func (x *RejectReason_InvalidInitMethod) GetInitName() *InitName
- func (x *RejectReason_InvalidInitMethod) GetModuleRef() *ModuleRef
- func (*RejectReason_InvalidInitMethod) ProtoMessage()
- func (x *RejectReason_InvalidInitMethod) ProtoReflect() protoreflect.Message
- func (x *RejectReason_InvalidInitMethod) Reset()
- func (x *RejectReason_InvalidInitMethod) String() string
- type RejectReason_InvalidInitMethod_
- type RejectReason_InvalidModuleReference
- type RejectReason_InvalidProof
- type RejectReason_InvalidReceiveMethod
- func (*RejectReason_InvalidReceiveMethod) Descriptor() ([]byte, []int)deprecated
- func (x *RejectReason_InvalidReceiveMethod) GetModuleRef() *ModuleRef
- func (x *RejectReason_InvalidReceiveMethod) GetReceiveName() *ReceiveName
- func (*RejectReason_InvalidReceiveMethod) ProtoMessage()
- func (x *RejectReason_InvalidReceiveMethod) ProtoReflect() protoreflect.Message
- func (x *RejectReason_InvalidReceiveMethod) Reset()
- func (x *RejectReason_InvalidReceiveMethod) String() string
- type RejectReason_InvalidReceiveMethod_
- type RejectReason_InvalidTransferToPublicProof
- type RejectReason_KeyIndexAlreadyInUse
- type RejectReason_MissingBakerAddParameters
- type RejectReason_MissingDelegationAddParameters
- type RejectReason_ModuleHashAlreadyExists
- type RejectReason_ModuleNotWf
- type RejectReason_NonExistentCredIds
- func (*RejectReason_NonExistentCredIds) Descriptor() ([]byte, []int)deprecated
- func (x *RejectReason_NonExistentCredIds) GetIds() []*CredentialRegistrationId
- func (*RejectReason_NonExistentCredIds) ProtoMessage()
- func (x *RejectReason_NonExistentCredIds) ProtoReflect() protoreflect.Message
- func (x *RejectReason_NonExistentCredIds) Reset()
- func (x *RejectReason_NonExistentCredIds) String() string
- type RejectReason_NonExistentCredIds_
- type RejectReason_NonExistentCredentialId
- type RejectReason_NonIncreasingSchedule
- type RejectReason_NotABaker
- type RejectReason_NotADelegator
- type RejectReason_NotAllowedMultipleCredentials
- type RejectReason_NotAllowedToHandleEncrypted
- type RejectReason_NotAllowedToReceiveEncrypted
- type RejectReason_OutOfEnergy
- type RejectReason_PoolClosed
- type RejectReason_PoolWouldBecomeOverDelegated
- type RejectReason_RejectedInit
- func (*RejectReason_RejectedInit) Descriptor() ([]byte, []int)deprecated
- func (x *RejectReason_RejectedInit) GetRejectReason() int32
- func (*RejectReason_RejectedInit) ProtoMessage()
- func (x *RejectReason_RejectedInit) ProtoReflect() protoreflect.Message
- func (x *RejectReason_RejectedInit) Reset()
- func (x *RejectReason_RejectedInit) String() string
- type RejectReason_RejectedInit_
- type RejectReason_RejectedReceive
- func (*RejectReason_RejectedReceive) Descriptor() ([]byte, []int)deprecated
- func (x *RejectReason_RejectedReceive) GetContractAddress() *ContractAddress
- func (x *RejectReason_RejectedReceive) GetParameter() *Parameter
- func (x *RejectReason_RejectedReceive) GetReceiveName() *ReceiveName
- func (x *RejectReason_RejectedReceive) GetRejectReason() int32
- func (*RejectReason_RejectedReceive) ProtoMessage()
- func (x *RejectReason_RejectedReceive) ProtoReflect() protoreflect.Message
- func (x *RejectReason_RejectedReceive) Reset()
- func (x *RejectReason_RejectedReceive) String() string
- type RejectReason_RejectedReceive_
- type RejectReason_RemoveFirstCredential
- type RejectReason_RuntimeFailure
- type RejectReason_ScheduledSelfTransfer
- type RejectReason_SerializationFailure
- type RejectReason_StakeOverMaximumThresholdForPool
- type RejectReason_StakeUnderMinimumThresholdForBaking
- type RejectReason_TransactionFeeCommissionNotInRange
- type RejectReason_ZeroScheduledAmount
- type Release
- func (*Release) Descriptor() ([]byte, []int)deprecated
- func (x *Release) GetAmount() *Amount
- func (x *Release) GetTimestamp() *Timestamp
- func (x *Release) GetTransactions() []*TransactionHash
- func (*Release) ProtoMessage()
- func (x *Release) ProtoReflect() protoreflect.Message
- func (x *Release) Reset()
- func (x *Release) String() string
- type ReleaseSchedule
- func (*ReleaseSchedule) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseSchedule) GetSchedules() []*Release
- func (x *ReleaseSchedule) GetTotal() *Amount
- func (*ReleaseSchedule) ProtoMessage()
- func (x *ReleaseSchedule) ProtoReflect() protoreflect.Message
- func (x *ReleaseSchedule) Reset()
- func (x *ReleaseSchedule) String() string
- type RewardPeriodLength
- func (*RewardPeriodLength) Descriptor() ([]byte, []int)deprecated
- func (x *RewardPeriodLength) GetValue() *Epoch
- func (*RewardPeriodLength) ProtoMessage()
- func (x *RewardPeriodLength) ProtoReflect() protoreflect.Message
- func (x *RewardPeriodLength) Reset()
- func (x *RewardPeriodLength) String() string
- type RootUpdate
- func (*RootUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *RootUpdate) GetLevel_1KeysUpdate() *HigherLevelKeys
- func (x *RootUpdate) GetLevel_2KeysUpdateV0() *AuthorizationsV0
- func (x *RootUpdate) GetLevel_2KeysUpdateV1() *AuthorizationsV1
- func (x *RootUpdate) GetRootKeysUpdate() *HigherLevelKeys
- func (m *RootUpdate) GetUpdateType() isRootUpdate_UpdateType
- func (*RootUpdate) ProtoMessage()
- func (x *RootUpdate) ProtoReflect() protoreflect.Message
- func (x *RootUpdate) Reset()
- func (x *RootUpdate) String() string
- type RootUpdate_Level_1KeysUpdate
- type RootUpdate_Level_2KeysUpdateV0
- type RootUpdate_Level_2KeysUpdateV1
- type RootUpdate_RootKeysUpdate
- type Round
- type SendBlockItemRequest
- func (*SendBlockItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendBlockItemRequest) GetAccountTransaction() *AccountTransaction
- func (m *SendBlockItemRequest) GetBlockItem() isSendBlockItemRequest_BlockItem
- func (x *SendBlockItemRequest) GetCredentialDeployment() *CredentialDeployment
- func (x *SendBlockItemRequest) GetUpdateInstruction() *UpdateInstruction
- func (*SendBlockItemRequest) ProtoMessage()
- func (x *SendBlockItemRequest) ProtoReflect() protoreflect.Message
- func (x *SendBlockItemRequest) Reset()
- func (x *SendBlockItemRequest) String() string
- type SendBlockItemRequest_AccountTransaction
- type SendBlockItemRequest_CredentialDeployment
- type SendBlockItemRequest_UpdateInstruction
- type SequenceNumber
- type Sha256Hash
- type Signature
- type SignatureMap
- type SignatureThreshold
- func (*SignatureThreshold) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureThreshold) GetValue() uint32
- func (*SignatureThreshold) ProtoMessage()
- func (x *SignatureThreshold) ProtoReflect() protoreflect.Message
- func (x *SignatureThreshold) Reset()
- func (x *SignatureThreshold) String() string
- type Slot
- type StakePendingChange
- func (*StakePendingChange) Descriptor() ([]byte, []int)deprecated
- func (m *StakePendingChange) GetChange() isStakePendingChange_Change
- func (x *StakePendingChange) GetReduce() *StakePendingChange_Reduce
- func (x *StakePendingChange) GetRemove() *Timestamp
- func (*StakePendingChange) ProtoMessage()
- func (x *StakePendingChange) ProtoReflect() protoreflect.Message
- func (x *StakePendingChange) Reset()
- func (x *StakePendingChange) String() string
- type StakePendingChange_Reduce
- func (*StakePendingChange_Reduce) Descriptor() ([]byte, []int)deprecated
- func (x *StakePendingChange_Reduce) GetEffectiveTime() *Timestamp
- func (x *StakePendingChange_Reduce) GetNewStake() *Amount
- func (*StakePendingChange_Reduce) ProtoMessage()
- func (x *StakePendingChange_Reduce) ProtoReflect() protoreflect.Message
- func (x *StakePendingChange_Reduce) Reset()
- func (x *StakePendingChange_Reduce) String() string
- type StakePendingChange_Reduce_
- type StakePendingChange_Remove
- type StateHash
- type SuccessorProof
- type TimeParametersCpv1
- func (*TimeParametersCpv1) Descriptor() ([]byte, []int)deprecated
- func (x *TimeParametersCpv1) GetMintPerPayday() *MintRate
- func (x *TimeParametersCpv1) GetRewardPeriodLength() *RewardPeriodLength
- func (*TimeParametersCpv1) ProtoMessage()
- func (x *TimeParametersCpv1) ProtoReflect() protoreflect.Message
- func (x *TimeParametersCpv1) Reset()
- func (x *TimeParametersCpv1) String() string
- type TimeoutCertificate
- func (*TimeoutCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *TimeoutCertificate) GetAggregateSignature() *TimeoutSignature
- func (x *TimeoutCertificate) GetMinEpoch() *Epoch
- func (x *TimeoutCertificate) GetQcRoundsFirstEpoch() []*FinalizerRound
- func (x *TimeoutCertificate) GetQcRoundsSecondEpoch() []*FinalizerRound
- func (x *TimeoutCertificate) GetRound() *Round
- func (*TimeoutCertificate) ProtoMessage()
- func (x *TimeoutCertificate) ProtoReflect() protoreflect.Message
- func (x *TimeoutCertificate) Reset()
- func (x *TimeoutCertificate) String() string
- type TimeoutParameters
- func (*TimeoutParameters) Descriptor() ([]byte, []int)deprecated
- func (x *TimeoutParameters) GetTimeoutBase() *Duration
- func (x *TimeoutParameters) GetTimeoutDecrease() *Ratio
- func (x *TimeoutParameters) GetTimeoutIncrease() *Ratio
- func (*TimeoutParameters) ProtoMessage()
- func (x *TimeoutParameters) ProtoReflect() protoreflect.Message
- func (x *TimeoutParameters) Reset()
- func (x *TimeoutParameters) String() string
- type TimeoutSignature
- type Timestamp
- type TokenomicsInfo
- func (*TokenomicsInfo) Descriptor() ([]byte, []int)deprecated
- func (m *TokenomicsInfo) GetTokenomics() isTokenomicsInfo_Tokenomics
- func (x *TokenomicsInfo) GetV0() *TokenomicsInfo_V0
- func (x *TokenomicsInfo) GetV1() *TokenomicsInfo_V1
- func (*TokenomicsInfo) ProtoMessage()
- func (x *TokenomicsInfo) ProtoReflect() protoreflect.Message
- func (x *TokenomicsInfo) Reset()
- func (x *TokenomicsInfo) String() string
- type TokenomicsInfo_V0
- func (*TokenomicsInfo_V0) Descriptor() ([]byte, []int)deprecated
- func (x *TokenomicsInfo_V0) GetBakingRewardAccount() *Amount
- func (x *TokenomicsInfo_V0) GetFinalizationRewardAccount() *Amount
- func (x *TokenomicsInfo_V0) GetGasAccount() *Amount
- func (x *TokenomicsInfo_V0) GetProtocolVersion() ProtocolVersion
- func (x *TokenomicsInfo_V0) GetTotalAmount() *Amount
- func (x *TokenomicsInfo_V0) GetTotalEncryptedAmount() *Amount
- func (*TokenomicsInfo_V0) ProtoMessage()
- func (x *TokenomicsInfo_V0) ProtoReflect() protoreflect.Message
- func (x *TokenomicsInfo_V0) Reset()
- func (x *TokenomicsInfo_V0) String() string
- type TokenomicsInfo_V0_
- type TokenomicsInfo_V1
- func (*TokenomicsInfo_V1) Descriptor() ([]byte, []int)deprecated
- func (x *TokenomicsInfo_V1) GetBakingRewardAccount() *Amount
- func (x *TokenomicsInfo_V1) GetFinalizationRewardAccount() *Amount
- func (x *TokenomicsInfo_V1) GetFoundationTransactionRewards() *Amount
- func (x *TokenomicsInfo_V1) GetGasAccount() *Amount
- func (x *TokenomicsInfo_V1) GetNextPaydayMintRate() *MintRate
- func (x *TokenomicsInfo_V1) GetNextPaydayTime() *Timestamp
- func (x *TokenomicsInfo_V1) GetProtocolVersion() ProtocolVersion
- func (x *TokenomicsInfo_V1) GetTotalAmount() *Amount
- func (x *TokenomicsInfo_V1) GetTotalEncryptedAmount() *Amount
- func (x *TokenomicsInfo_V1) GetTotalStakedCapital() *Amount
- func (*TokenomicsInfo_V1) ProtoMessage()
- func (x *TokenomicsInfo_V1) ProtoReflect() protoreflect.Message
- func (x *TokenomicsInfo_V1) Reset()
- func (x *TokenomicsInfo_V1) String() string
- type TokenomicsInfo_V1_
- type TransactionFeeDistribution
- func (*TransactionFeeDistribution) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionFeeDistribution) GetBaker() *AmountFraction
- func (x *TransactionFeeDistribution) GetGasAccount() *AmountFraction
- func (*TransactionFeeDistribution) ProtoMessage()
- func (x *TransactionFeeDistribution) ProtoReflect() protoreflect.Message
- func (x *TransactionFeeDistribution) Reset()
- func (x *TransactionFeeDistribution) String() string
- type TransactionHash
- type TransactionTime
- type TransactionType
- func (TransactionType) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionType) Enum() *TransactionType
- func (TransactionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionType) Number() protoreflect.EnumNumber
- func (x TransactionType) String() string
- func (TransactionType) Type() protoreflect.EnumType
- type TransferPayload
- func (*TransferPayload) Descriptor() ([]byte, []int)deprecated
- func (x *TransferPayload) GetAmount() *Amount
- func (x *TransferPayload) GetReceiver() *AccountAddress
- func (*TransferPayload) ProtoMessage()
- func (x *TransferPayload) ProtoReflect() protoreflect.Message
- func (x *TransferPayload) Reset()
- func (x *TransferPayload) String() string
- type TransferWithMemoPayload
- func (*TransferWithMemoPayload) Descriptor() ([]byte, []int)deprecated
- func (x *TransferWithMemoPayload) GetAmount() *Amount
- func (x *TransferWithMemoPayload) GetMemo() *Memo
- func (x *TransferWithMemoPayload) GetReceiver() *AccountAddress
- func (*TransferWithMemoPayload) ProtoMessage()
- func (x *TransferWithMemoPayload) ProtoReflect() protoreflect.Message
- func (x *TransferWithMemoPayload) Reset()
- func (x *TransferWithMemoPayload) String() string
- type UnimplementedHealthServer
- type UnimplementedQueriesServer
- func (UnimplementedQueriesServer) BanPeer(context.Context, *PeerToBan) (*Empty, error)
- func (UnimplementedQueriesServer) DryRun(grpc.BidiStreamingServer[DryRunRequest, DryRunResponse]) error
- func (UnimplementedQueriesServer) DumpStart(context.Context, *DumpRequest) (*Empty, error)
- func (UnimplementedQueriesServer) DumpStop(context.Context, *Empty) (*Empty, error)
- func (UnimplementedQueriesServer) GetAccountInfo(context.Context, *AccountInfoRequest) (*AccountInfo, error)
- func (UnimplementedQueriesServer) GetAccountList(*BlockHashInput, grpc.ServerStreamingServer[AccountAddress]) error
- func (UnimplementedQueriesServer) GetAccountNonFinalizedTransactions(*AccountAddress, grpc.ServerStreamingServer[TransactionHash]) error
- func (UnimplementedQueriesServer) GetAccountTransactionSignHash(context.Context, *PreAccountTransaction) (*AccountTransactionSignHash, error)
- func (UnimplementedQueriesServer) GetAncestors(*AncestorsRequest, grpc.ServerStreamingServer[BlockHash]) error
- func (UnimplementedQueriesServer) GetAnonymityRevokers(*BlockHashInput, grpc.ServerStreamingServer[ArInfo]) error
- func (UnimplementedQueriesServer) GetBakerEarliestWinTime(context.Context, *BakerId) (*Timestamp, error)
- func (UnimplementedQueriesServer) GetBakerList(*BlockHashInput, grpc.ServerStreamingServer[BakerId]) error
- func (UnimplementedQueriesServer) GetBakersRewardPeriod(*BlockHashInput, grpc.ServerStreamingServer[BakerRewardPeriodInfo]) error
- func (UnimplementedQueriesServer) GetBannedPeers(context.Context, *Empty) (*BannedPeers, error)
- func (UnimplementedQueriesServer) GetBlockCertificates(context.Context, *BlockHashInput) (*BlockCertificates, error)
- func (UnimplementedQueriesServer) GetBlockChainParameters(context.Context, *BlockHashInput) (*ChainParameters, error)
- func (UnimplementedQueriesServer) GetBlockFinalizationSummary(context.Context, *BlockHashInput) (*BlockFinalizationSummary, error)
- func (UnimplementedQueriesServer) GetBlockInfo(context.Context, *BlockHashInput) (*BlockInfo, error)
- func (UnimplementedQueriesServer) GetBlockItemStatus(context.Context, *TransactionHash) (*BlockItemStatus, error)
- func (UnimplementedQueriesServer) GetBlockItems(*BlockHashInput, grpc.ServerStreamingServer[BlockItem]) error
- func (UnimplementedQueriesServer) GetBlockPendingUpdates(*BlockHashInput, grpc.ServerStreamingServer[PendingUpdate]) error
- func (UnimplementedQueriesServer) GetBlockSpecialEvents(*BlockHashInput, grpc.ServerStreamingServer[BlockSpecialEvent]) error
- func (UnimplementedQueriesServer) GetBlockTransactionEvents(*BlockHashInput, grpc.ServerStreamingServer[BlockItemSummary]) error
- func (UnimplementedQueriesServer) GetBlocks(*Empty, grpc.ServerStreamingServer[ArrivedBlockInfo]) error
- func (UnimplementedQueriesServer) GetBlocksAtHeight(context.Context, *BlocksAtHeightRequest) (*BlocksAtHeightResponse, error)
- func (UnimplementedQueriesServer) GetBranches(context.Context, *Empty) (*Branch, error)
- func (UnimplementedQueriesServer) GetConsensusInfo(context.Context, *Empty) (*ConsensusInfo, error)
- func (UnimplementedQueriesServer) GetCryptographicParameters(context.Context, *BlockHashInput) (*CryptographicParameters, error)
- func (UnimplementedQueriesServer) GetElectionInfo(context.Context, *BlockHashInput) (*ElectionInfo, error)
- func (UnimplementedQueriesServer) GetFinalizedBlocks(*Empty, grpc.ServerStreamingServer[FinalizedBlockInfo]) error
- func (UnimplementedQueriesServer) GetFirstBlockEpoch(context.Context, *EpochRequest) (*BlockHash, error)
- func (UnimplementedQueriesServer) GetIdentityProviders(*BlockHashInput, grpc.ServerStreamingServer[IpInfo]) error
- func (UnimplementedQueriesServer) GetInstanceInfo(context.Context, *InstanceInfoRequest) (*InstanceInfo, error)
- func (UnimplementedQueriesServer) GetInstanceList(*BlockHashInput, grpc.ServerStreamingServer[ContractAddress]) error
- func (UnimplementedQueriesServer) GetInstanceState(*InstanceInfoRequest, grpc.ServerStreamingServer[InstanceStateKVPair]) error
- func (UnimplementedQueriesServer) GetModuleList(*BlockHashInput, grpc.ServerStreamingServer[ModuleRef]) error
- func (UnimplementedQueriesServer) GetModuleSource(context.Context, *ModuleSourceRequest) (*VersionedModuleSource, error)
- func (UnimplementedQueriesServer) GetNextAccountSequenceNumber(context.Context, *AccountAddress) (*NextAccountSequenceNumber, error)
- func (UnimplementedQueriesServer) GetNextUpdateSequenceNumbers(context.Context, *BlockHashInput) (*NextUpdateSequenceNumbers, error)
- func (UnimplementedQueriesServer) GetNodeInfo(context.Context, *Empty) (*NodeInfo, error)
- func (UnimplementedQueriesServer) GetPassiveDelegationInfo(context.Context, *BlockHashInput) (*PassiveDelegationInfo, error)
- func (UnimplementedQueriesServer) GetPassiveDelegators(*BlockHashInput, grpc.ServerStreamingServer[DelegatorInfo]) error
- func (UnimplementedQueriesServer) GetPassiveDelegatorsRewardPeriod(*BlockHashInput, grpc.ServerStreamingServer[DelegatorRewardPeriodInfo]) error
- func (UnimplementedQueriesServer) GetPeersInfo(context.Context, *Empty) (*PeersInfo, error)
- func (UnimplementedQueriesServer) GetPoolDelegators(*GetPoolDelegatorsRequest, grpc.ServerStreamingServer[DelegatorInfo]) error
- func (UnimplementedQueriesServer) GetPoolDelegatorsRewardPeriod(*GetPoolDelegatorsRequest, ...) error
- func (UnimplementedQueriesServer) GetPoolInfo(context.Context, *PoolInfoRequest) (*PoolInfoResponse, error)
- func (UnimplementedQueriesServer) GetTokenomicsInfo(context.Context, *BlockHashInput) (*TokenomicsInfo, error)
- func (UnimplementedQueriesServer) GetWinningBakersEpoch(*EpochRequest, grpc.ServerStreamingServer[WinningBaker]) error
- func (UnimplementedQueriesServer) InstanceStateLookup(context.Context, *InstanceStateLookupRequest) (*InstanceStateValueAtKey, error)
- func (UnimplementedQueriesServer) InvokeInstance(context.Context, *InvokeInstanceRequest) (*InvokeInstanceResponse, error)
- func (UnimplementedQueriesServer) PeerConnect(context.Context, *IpSocketAddress) (*Empty, error)
- func (UnimplementedQueriesServer) PeerDisconnect(context.Context, *IpSocketAddress) (*Empty, error)
- func (UnimplementedQueriesServer) SendBlockItem(context.Context, *SendBlockItemRequest) (*TransactionHash, error)
- func (UnimplementedQueriesServer) Shutdown(context.Context, *Empty) (*Empty, error)
- func (UnimplementedQueriesServer) UnbanPeer(context.Context, *BannedPeer) (*Empty, error)
- type UnsafeHealthServer
- type UnsafeQueriesServer
- type UpdateContractPayload
- func (*UpdateContractPayload) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateContractPayload) GetAddress() *ContractAddress
- func (x *UpdateContractPayload) GetAmount() *Amount
- func (x *UpdateContractPayload) GetParameter() *Parameter
- func (x *UpdateContractPayload) GetReceiveName() *ReceiveName
- func (*UpdateContractPayload) ProtoMessage()
- func (x *UpdateContractPayload) ProtoReflect() protoreflect.Message
- func (x *UpdateContractPayload) Reset()
- func (x *UpdateContractPayload) String() string
- type UpdateDetails
- func (*UpdateDetails) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDetails) GetEffectiveTime() *TransactionTime
- func (x *UpdateDetails) GetPayload() *UpdatePayload
- func (*UpdateDetails) ProtoMessage()
- func (x *UpdateDetails) ProtoReflect() protoreflect.Message
- func (x *UpdateDetails) Reset()
- func (x *UpdateDetails) String() string
- type UpdateInstruction
- func (*UpdateInstruction) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInstruction) GetHeader() *UpdateInstructionHeader
- func (x *UpdateInstruction) GetPayload() *UpdateInstructionPayload
- func (x *UpdateInstruction) GetSignatures() *SignatureMap
- func (*UpdateInstruction) ProtoMessage()
- func (x *UpdateInstruction) ProtoReflect() protoreflect.Message
- func (x *UpdateInstruction) Reset()
- func (x *UpdateInstruction) String() string
- type UpdateInstructionHeader
- func (*UpdateInstructionHeader) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInstructionHeader) GetEffectiveTime() *TransactionTime
- func (x *UpdateInstructionHeader) GetSequenceNumber() *UpdateSequenceNumber
- func (x *UpdateInstructionHeader) GetTimeout() *TransactionTime
- func (*UpdateInstructionHeader) ProtoMessage()
- func (x *UpdateInstructionHeader) ProtoReflect() protoreflect.Message
- func (x *UpdateInstructionHeader) Reset()
- func (x *UpdateInstructionHeader) String() string
- type UpdateInstructionPayload
- func (*UpdateInstructionPayload) Descriptor() ([]byte, []int)deprecated
- func (m *UpdateInstructionPayload) GetPayload() isUpdateInstructionPayload_Payload
- func (x *UpdateInstructionPayload) GetRawPayload() []byte
- func (*UpdateInstructionPayload) ProtoMessage()
- func (x *UpdateInstructionPayload) ProtoReflect() protoreflect.Message
- func (x *UpdateInstructionPayload) Reset()
- func (x *UpdateInstructionPayload) String() string
- type UpdateInstructionPayload_RawPayload
- type UpdateKeysIndex
- type UpdateKeysThreshold
- func (*UpdateKeysThreshold) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateKeysThreshold) GetValue() uint32
- func (*UpdateKeysThreshold) ProtoMessage()
- func (x *UpdateKeysThreshold) ProtoReflect() protoreflect.Message
- func (x *UpdateKeysThreshold) Reset()
- func (x *UpdateKeysThreshold) String() string
- type UpdatePayload
- func (*UpdatePayload) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePayload) GetAddAnonymityRevokerUpdate() *ArInfo
- func (x *UpdatePayload) GetAddIdentityProviderUpdate() *IpInfo
- func (x *UpdatePayload) GetBakerStakeThresholdUpdate() *BakerStakeThreshold
- func (x *UpdatePayload) GetBlockEnergyLimitUpdate() *Energy
- func (x *UpdatePayload) GetCooldownParametersCpv_1Update() *CooldownParametersCpv1
- func (x *UpdatePayload) GetElectionDifficultyUpdate() *ElectionDifficulty
- func (x *UpdatePayload) GetEuroPerEnergyUpdate() *ExchangeRate
- func (x *UpdatePayload) GetFinalizationCommitteeParametersUpdate() *FinalizationCommitteeParameters
- func (x *UpdatePayload) GetFoundationAccountUpdate() *AccountAddress
- func (x *UpdatePayload) GetGasRewardsCpv_2Update() *GasRewardsCpv2
- func (x *UpdatePayload) GetGasRewardsUpdate() *GasRewards
- func (x *UpdatePayload) GetLevel_1Update() *Level1Update
- func (x *UpdatePayload) GetMicroCcdPerEuroUpdate() *ExchangeRate
- func (x *UpdatePayload) GetMinBlockTimeUpdate() *Duration
- func (x *UpdatePayload) GetMintDistributionCpv_1Update() *MintDistributionCpv1
- func (x *UpdatePayload) GetMintDistributionUpdate() *MintDistributionCpv0
- func (m *UpdatePayload) GetPayload() isUpdatePayload_Payload
- func (x *UpdatePayload) GetPoolParametersCpv_1Update() *PoolParametersCpv1
- func (x *UpdatePayload) GetProtocolUpdate() *ProtocolUpdate
- func (x *UpdatePayload) GetRootUpdate() *RootUpdate
- func (x *UpdatePayload) GetTimeParametersCpv_1Update() *TimeParametersCpv1
- func (x *UpdatePayload) GetTimeoutParametersUpdate() *TimeoutParameters
- func (x *UpdatePayload) GetTransactionFeeDistributionUpdate() *TransactionFeeDistribution
- func (*UpdatePayload) ProtoMessage()
- func (x *UpdatePayload) ProtoReflect() protoreflect.Message
- func (x *UpdatePayload) Reset()
- func (x *UpdatePayload) String() string
- type UpdatePayload_AddAnonymityRevokerUpdate
- type UpdatePayload_AddIdentityProviderUpdate
- type UpdatePayload_BakerStakeThresholdUpdate
- type UpdatePayload_BlockEnergyLimitUpdate
- type UpdatePayload_CooldownParametersCpv_1Update
- type UpdatePayload_ElectionDifficultyUpdate
- type UpdatePayload_EuroPerEnergyUpdate
- type UpdatePayload_FinalizationCommitteeParametersUpdate
- type UpdatePayload_FoundationAccountUpdate
- type UpdatePayload_GasRewardsCpv_2Update
- type UpdatePayload_GasRewardsUpdate
- type UpdatePayload_Level_1Update
- type UpdatePayload_MicroCcdPerEuroUpdate
- type UpdatePayload_MinBlockTimeUpdate
- type UpdatePayload_MintDistributionCpv_1Update
- type UpdatePayload_MintDistributionUpdate
- type UpdatePayload_PoolParametersCpv_1Update
- type UpdatePayload_ProtocolUpdate
- type UpdatePayload_RootUpdate
- type UpdatePayload_TimeParametersCpv_1Update
- type UpdatePayload_TimeoutParametersUpdate
- type UpdatePayload_TransactionFeeDistributionUpdate
- type UpdatePublicKey
- type UpdateSequenceNumber
- func (*UpdateSequenceNumber) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSequenceNumber) GetValue() uint64
- func (*UpdateSequenceNumber) ProtoMessage()
- func (x *UpdateSequenceNumber) ProtoReflect() protoreflect.Message
- func (x *UpdateSequenceNumber) Reset()
- func (x *UpdateSequenceNumber) String() string
- type UpdateType
- type VersionedModuleSource
- func (*VersionedModuleSource) Descriptor() ([]byte, []int)deprecated
- func (m *VersionedModuleSource) GetModule() isVersionedModuleSource_Module
- func (x *VersionedModuleSource) GetV0() *VersionedModuleSource_ModuleSourceV0
- func (x *VersionedModuleSource) GetV1() *VersionedModuleSource_ModuleSourceV1
- func (*VersionedModuleSource) ProtoMessage()
- func (x *VersionedModuleSource) ProtoReflect() protoreflect.Message
- func (x *VersionedModuleSource) Reset()
- func (x *VersionedModuleSource) String() string
- type VersionedModuleSource_ModuleSourceV0
- func (*VersionedModuleSource_ModuleSourceV0) Descriptor() ([]byte, []int)deprecated
- func (x *VersionedModuleSource_ModuleSourceV0) GetValue() []byte
- func (*VersionedModuleSource_ModuleSourceV0) ProtoMessage()
- func (x *VersionedModuleSource_ModuleSourceV0) ProtoReflect() protoreflect.Message
- func (x *VersionedModuleSource_ModuleSourceV0) Reset()
- func (x *VersionedModuleSource_ModuleSourceV0) String() string
- type VersionedModuleSource_ModuleSourceV1
- func (*VersionedModuleSource_ModuleSourceV1) Descriptor() ([]byte, []int)deprecated
- func (x *VersionedModuleSource_ModuleSourceV1) GetValue() []byte
- func (*VersionedModuleSource_ModuleSourceV1) ProtoMessage()
- func (x *VersionedModuleSource_ModuleSourceV1) ProtoReflect() protoreflect.Message
- func (x *VersionedModuleSource_ModuleSourceV1) Reset()
- func (x *VersionedModuleSource_ModuleSourceV1) String() string
- type VersionedModuleSource_V0
- type VersionedModuleSource_V1
- type WinningBaker
- func (*WinningBaker) Descriptor() ([]byte, []int)deprecated
- func (x *WinningBaker) GetPresent() bool
- func (x *WinningBaker) GetRound() *Round
- func (x *WinningBaker) GetWinner() *BakerId
- func (*WinningBaker) ProtoMessage()
- func (x *WinningBaker) ProtoReflect() protoreflect.Message
- func (x *WinningBaker) Reset()
- func (x *WinningBaker) String() string
- type YearMonth
Constants ¶
const ( Queries_GetBlocks_FullMethodName = "/concordium.v2.Queries/GetBlocks" Queries_GetFinalizedBlocks_FullMethodName = "/concordium.v2.Queries/GetFinalizedBlocks" Queries_GetAccountInfo_FullMethodName = "/concordium.v2.Queries/GetAccountInfo" Queries_GetAccountList_FullMethodName = "/concordium.v2.Queries/GetAccountList" Queries_GetModuleList_FullMethodName = "/concordium.v2.Queries/GetModuleList" Queries_GetAncestors_FullMethodName = "/concordium.v2.Queries/GetAncestors" Queries_GetModuleSource_FullMethodName = "/concordium.v2.Queries/GetModuleSource" Queries_GetInstanceList_FullMethodName = "/concordium.v2.Queries/GetInstanceList" Queries_GetInstanceInfo_FullMethodName = "/concordium.v2.Queries/GetInstanceInfo" Queries_GetInstanceState_FullMethodName = "/concordium.v2.Queries/GetInstanceState" Queries_InstanceStateLookup_FullMethodName = "/concordium.v2.Queries/InstanceStateLookup" Queries_GetNextAccountSequenceNumber_FullMethodName = "/concordium.v2.Queries/GetNextAccountSequenceNumber" Queries_GetConsensusInfo_FullMethodName = "/concordium.v2.Queries/GetConsensusInfo" Queries_GetBlockItemStatus_FullMethodName = "/concordium.v2.Queries/GetBlockItemStatus" Queries_GetCryptographicParameters_FullMethodName = "/concordium.v2.Queries/GetCryptographicParameters" Queries_GetBlockInfo_FullMethodName = "/concordium.v2.Queries/GetBlockInfo" Queries_GetBakerList_FullMethodName = "/concordium.v2.Queries/GetBakerList" Queries_GetPoolInfo_FullMethodName = "/concordium.v2.Queries/GetPoolInfo" Queries_GetPassiveDelegationInfo_FullMethodName = "/concordium.v2.Queries/GetPassiveDelegationInfo" Queries_GetBlocksAtHeight_FullMethodName = "/concordium.v2.Queries/GetBlocksAtHeight" Queries_GetTokenomicsInfo_FullMethodName = "/concordium.v2.Queries/GetTokenomicsInfo" Queries_InvokeInstance_FullMethodName = "/concordium.v2.Queries/InvokeInstance" Queries_GetPoolDelegators_FullMethodName = "/concordium.v2.Queries/GetPoolDelegators" Queries_GetPoolDelegatorsRewardPeriod_FullMethodName = "/concordium.v2.Queries/GetPoolDelegatorsRewardPeriod" Queries_GetPassiveDelegators_FullMethodName = "/concordium.v2.Queries/GetPassiveDelegators" Queries_GetPassiveDelegatorsRewardPeriod_FullMethodName = "/concordium.v2.Queries/GetPassiveDelegatorsRewardPeriod" Queries_GetBranches_FullMethodName = "/concordium.v2.Queries/GetBranches" Queries_GetElectionInfo_FullMethodName = "/concordium.v2.Queries/GetElectionInfo" Queries_GetIdentityProviders_FullMethodName = "/concordium.v2.Queries/GetIdentityProviders" Queries_GetAnonymityRevokers_FullMethodName = "/concordium.v2.Queries/GetAnonymityRevokers" Queries_GetAccountNonFinalizedTransactions_FullMethodName = "/concordium.v2.Queries/GetAccountNonFinalizedTransactions" Queries_GetBlockTransactionEvents_FullMethodName = "/concordium.v2.Queries/GetBlockTransactionEvents" Queries_GetBlockSpecialEvents_FullMethodName = "/concordium.v2.Queries/GetBlockSpecialEvents" Queries_GetBlockPendingUpdates_FullMethodName = "/concordium.v2.Queries/GetBlockPendingUpdates" Queries_GetNextUpdateSequenceNumbers_FullMethodName = "/concordium.v2.Queries/GetNextUpdateSequenceNumbers" Queries_GetBakerEarliestWinTime_FullMethodName = "/concordium.v2.Queries/GetBakerEarliestWinTime" Queries_Shutdown_FullMethodName = "/concordium.v2.Queries/Shutdown" Queries_PeerConnect_FullMethodName = "/concordium.v2.Queries/PeerConnect" Queries_PeerDisconnect_FullMethodName = "/concordium.v2.Queries/PeerDisconnect" Queries_GetBannedPeers_FullMethodName = "/concordium.v2.Queries/GetBannedPeers" Queries_BanPeer_FullMethodName = "/concordium.v2.Queries/BanPeer" Queries_UnbanPeer_FullMethodName = "/concordium.v2.Queries/UnbanPeer" Queries_DumpStart_FullMethodName = "/concordium.v2.Queries/DumpStart" Queries_DumpStop_FullMethodName = "/concordium.v2.Queries/DumpStop" Queries_GetPeersInfo_FullMethodName = "/concordium.v2.Queries/GetPeersInfo" Queries_GetNodeInfo_FullMethodName = "/concordium.v2.Queries/GetNodeInfo" Queries_SendBlockItem_FullMethodName = "/concordium.v2.Queries/SendBlockItem" Queries_GetAccountTransactionSignHash_FullMethodName = "/concordium.v2.Queries/GetAccountTransactionSignHash" Queries_GetBlockChainParameters_FullMethodName = "/concordium.v2.Queries/GetBlockChainParameters" Queries_GetBlockFinalizationSummary_FullMethodName = "/concordium.v2.Queries/GetBlockFinalizationSummary" Queries_GetBlockItems_FullMethodName = "/concordium.v2.Queries/GetBlockItems" Queries_GetBakersRewardPeriod_FullMethodName = "/concordium.v2.Queries/GetBakersRewardPeriod" Queries_GetBlockCertificates_FullMethodName = "/concordium.v2.Queries/GetBlockCertificates" Queries_GetWinningBakersEpoch_FullMethodName = "/concordium.v2.Queries/GetWinningBakersEpoch" Queries_GetFirstBlockEpoch_FullMethodName = "/concordium.v2.Queries/GetFirstBlockEpoch" Queries_DryRun_FullMethodName = "/concordium.v2.Queries/DryRun" )
const (
Health_Check_FullMethodName = "/concordium.health.Health/Check"
)
Variables ¶
var ( OpenStatus_name = map[int32]string{ 0: "OPEN_STATUS_OPEN_FOR_ALL", 1: "OPEN_STATUS_CLOSED_FOR_NEW", 2: "OPEN_STATUS_CLOSED_FOR_ALL", } OpenStatus_value = map[string]int32{ "OPEN_STATUS_OPEN_FOR_ALL": 0, "OPEN_STATUS_CLOSED_FOR_NEW": 1, "OPEN_STATUS_CLOSED_FOR_ALL": 2, } )
Enum value maps for OpenStatus.
var ( ContractVersion_name = map[int32]string{ 0: "V0", 1: "V1", } ContractVersion_value = map[string]int32{ "V0": 0, "V1": 1, } )
Enum value maps for ContractVersion.
var ( CredentialType_name = map[int32]string{ 0: "CREDENTIAL_TYPE_INITIAL", 1: "CREDENTIAL_TYPE_NORMAL", } CredentialType_value = map[string]int32{ "CREDENTIAL_TYPE_INITIAL": 0, "CREDENTIAL_TYPE_NORMAL": 1, } )
Enum value maps for CredentialType.
var ( UpdateType_name = map[int32]string{ 0: "UPDATE_PROTOCOL", 1: "UPDATE_ELECTION_DIFFICULTY", 2: "UPDATE_EURO_PER_ENERGY", 3: "UPDATE_MICRO_CCD_PER_EURO", 4: "UPDATE_FOUNDATION_ACCOUNT", 5: "UPDATE_MINT_DISTRIBUTION", 6: "UPDATE_TRANSACTION_FEE_DISTRIBUTION", 7: "UPDATE_GAS_REWARDS", 8: "UPDATE_POOL_PARAMETERS", 9: "ADD_ANONYMITY_REVOKER", 10: "ADD_IDENTITY_PROVIDER", 11: "UPDATE_ROOT_KEYS", 12: "UPDATE_LEVEL1_KEYS", 13: "UPDATE_LEVEL2_KEYS", 14: "UPDATE_COOLDOWN_PARAMETERS", 15: "UPDATE_TIME_PARAMETERS", 16: "UPDATE_TIMEOUT_PARAMETERS", 17: "UPDATE_MIN_BLOCK_TIME", 18: "UPDATE_BLOCK_ENERGY_LIMIT", 19: "UPDATE_FINALIZATION_COMMITTEE_PARAMETERS", } UpdateType_value = map[string]int32{ "UPDATE_PROTOCOL": 0, "UPDATE_ELECTION_DIFFICULTY": 1, "UPDATE_EURO_PER_ENERGY": 2, "UPDATE_MICRO_CCD_PER_EURO": 3, "UPDATE_FOUNDATION_ACCOUNT": 4, "UPDATE_MINT_DISTRIBUTION": 5, "UPDATE_TRANSACTION_FEE_DISTRIBUTION": 6, "UPDATE_GAS_REWARDS": 7, "UPDATE_POOL_PARAMETERS": 8, "ADD_ANONYMITY_REVOKER": 9, "ADD_IDENTITY_PROVIDER": 10, "UPDATE_ROOT_KEYS": 11, "UPDATE_LEVEL1_KEYS": 12, "UPDATE_LEVEL2_KEYS": 13, "UPDATE_COOLDOWN_PARAMETERS": 14, "UPDATE_TIME_PARAMETERS": 15, "UPDATE_TIMEOUT_PARAMETERS": 16, "UPDATE_MIN_BLOCK_TIME": 17, "UPDATE_BLOCK_ENERGY_LIMIT": 18, "UPDATE_FINALIZATION_COMMITTEE_PARAMETERS": 19, } )
Enum value maps for UpdateType.
var ( TransactionType_name = map[int32]string{ 0: "DEPLOY_MODULE", 1: "INIT_CONTRACT", 2: "UPDATE", 3: "TRANSFER", 4: "ADD_BAKER", 5: "REMOVE_BAKER", 6: "UPDATE_BAKER_STAKE", 7: "UPDATE_BAKER_RESTAKE_EARNINGS", 8: "UPDATE_BAKER_KEYS", 9: "UPDATE_CREDENTIAL_KEYS", 10: "ENCRYPTED_AMOUNT_TRANSFER", 11: "TRANSFER_TO_ENCRYPTED", 12: "TRANSFER_TO_PUBLIC", 13: "TRANSFER_WITH_SCHEDULE", 14: "UPDATE_CREDENTIALS", 15: "REGISTER_DATA", 16: "TRANSFER_WITH_MEMO", 17: "ENCRYPTED_AMOUNT_TRANSFER_WITH_MEMO", 18: "TRANSFER_WITH_SCHEDULE_AND_MEMO", 19: "CONFIGURE_BAKER", 20: "CONFIGURE_DELEGATION", } TransactionType_value = map[string]int32{ "DEPLOY_MODULE": 0, "INIT_CONTRACT": 1, "UPDATE": 2, "TRANSFER": 3, "ADD_BAKER": 4, "REMOVE_BAKER": 5, "UPDATE_BAKER_STAKE": 6, "UPDATE_BAKER_RESTAKE_EARNINGS": 7, "UPDATE_BAKER_KEYS": 8, "UPDATE_CREDENTIAL_KEYS": 9, "ENCRYPTED_AMOUNT_TRANSFER": 10, "TRANSFER_TO_ENCRYPTED": 11, "TRANSFER_TO_PUBLIC": 12, "TRANSFER_WITH_SCHEDULE": 13, "UPDATE_CREDENTIALS": 14, "REGISTER_DATA": 15, "TRANSFER_WITH_MEMO": 16, "ENCRYPTED_AMOUNT_TRANSFER_WITH_MEMO": 17, "TRANSFER_WITH_SCHEDULE_AND_MEMO": 18, "CONFIGURE_BAKER": 19, "CONFIGURE_DELEGATION": 20, } )
Enum value maps for TransactionType.
var ( ProtocolVersion_name = map[int32]string{ 0: "PROTOCOL_VERSION_1", 1: "PROTOCOL_VERSION_2", 2: "PROTOCOL_VERSION_3", 3: "PROTOCOL_VERSION_4", 4: "PROTOCOL_VERSION_5", 5: "PROTOCOL_VERSION_6", 6: "PROTOCOL_VERSION_7", } ProtocolVersion_value = map[string]int32{ "PROTOCOL_VERSION_1": 0, "PROTOCOL_VERSION_2": 1, "PROTOCOL_VERSION_3": 2, "PROTOCOL_VERSION_4": 3, "PROTOCOL_VERSION_5": 4, "PROTOCOL_VERSION_6": 5, "PROTOCOL_VERSION_7": 6, } )
Enum value maps for ProtocolVersion.
var ( Cooldown_CooldownStatus_name = map[int32]string{ 0: "COOLDOWN", 1: "PRE_COOLDOWN", 2: "PRE_PRE_COOLDOWN", } Cooldown_CooldownStatus_value = map[string]int32{ "COOLDOWN": 0, "PRE_COOLDOWN": 1, "PRE_PRE_COOLDOWN": 2, } )
Enum value maps for Cooldown_CooldownStatus.
var ( PeersInfo_Peer_CatchupStatus_name = map[int32]string{ 0: "UPTODATE", 1: "PENDING", 2: "CATCHINGUP", } PeersInfo_Peer_CatchupStatus_value = map[string]int32{ "UPTODATE": 0, "PENDING": 1, "CATCHINGUP": 2, } )
Enum value maps for PeersInfo_Peer_CatchupStatus.
var ( NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo_name = map[int32]string{ 0: "NOT_IN_COMMITTEE", 1: "ADDED_BUT_NOT_ACTIVE_IN_COMMITTEE", 2: "ADDED_BUT_WRONG_KEYS", } NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo_value = map[string]int32{ "NOT_IN_COMMITTEE": 0, "ADDED_BUT_NOT_ACTIVE_IN_COMMITTEE": 1, "ADDED_BUT_WRONG_KEYS": 2, } )
Enum value maps for NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo.
var File_v2_concordium_health_proto protoreflect.FileDescriptor
var File_v2_concordium_service_proto protoreflect.FileDescriptor
var File_v2_concordium_types_proto protoreflect.FileDescriptor
var Health_ServiceDesc = grpc.ServiceDesc{ ServiceName: "concordium.health.Health", HandlerType: (*HealthServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Check", Handler: _Health_Check_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "v2/concordium/health.proto", }
Health_ServiceDesc is the grpc.ServiceDesc for Health service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Queries_ServiceDesc = grpc.ServiceDesc{ ServiceName: "concordium.v2.Queries", HandlerType: (*QueriesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAccountInfo", Handler: _Queries_GetAccountInfo_Handler, }, { MethodName: "GetModuleSource", Handler: _Queries_GetModuleSource_Handler, }, { MethodName: "GetInstanceInfo", Handler: _Queries_GetInstanceInfo_Handler, }, { MethodName: "InstanceStateLookup", Handler: _Queries_InstanceStateLookup_Handler, }, { MethodName: "GetNextAccountSequenceNumber", Handler: _Queries_GetNextAccountSequenceNumber_Handler, }, { MethodName: "GetConsensusInfo", Handler: _Queries_GetConsensusInfo_Handler, }, { MethodName: "GetBlockItemStatus", Handler: _Queries_GetBlockItemStatus_Handler, }, { MethodName: "GetCryptographicParameters", Handler: _Queries_GetCryptographicParameters_Handler, }, { MethodName: "GetBlockInfo", Handler: _Queries_GetBlockInfo_Handler, }, { MethodName: "GetPoolInfo", Handler: _Queries_GetPoolInfo_Handler, }, { MethodName: "GetPassiveDelegationInfo", Handler: _Queries_GetPassiveDelegationInfo_Handler, }, { MethodName: "GetBlocksAtHeight", Handler: _Queries_GetBlocksAtHeight_Handler, }, { MethodName: "GetTokenomicsInfo", Handler: _Queries_GetTokenomicsInfo_Handler, }, { MethodName: "InvokeInstance", Handler: _Queries_InvokeInstance_Handler, }, { MethodName: "GetBranches", Handler: _Queries_GetBranches_Handler, }, { MethodName: "GetElectionInfo", Handler: _Queries_GetElectionInfo_Handler, }, { MethodName: "GetNextUpdateSequenceNumbers", Handler: _Queries_GetNextUpdateSequenceNumbers_Handler, }, { MethodName: "GetBakerEarliestWinTime", Handler: _Queries_GetBakerEarliestWinTime_Handler, }, { MethodName: "Shutdown", Handler: _Queries_Shutdown_Handler, }, { MethodName: "PeerConnect", Handler: _Queries_PeerConnect_Handler, }, { MethodName: "PeerDisconnect", Handler: _Queries_PeerDisconnect_Handler, }, { MethodName: "GetBannedPeers", Handler: _Queries_GetBannedPeers_Handler, }, { MethodName: "BanPeer", Handler: _Queries_BanPeer_Handler, }, { MethodName: "UnbanPeer", Handler: _Queries_UnbanPeer_Handler, }, { MethodName: "DumpStart", Handler: _Queries_DumpStart_Handler, }, { MethodName: "DumpStop", Handler: _Queries_DumpStop_Handler, }, { MethodName: "GetPeersInfo", Handler: _Queries_GetPeersInfo_Handler, }, { MethodName: "GetNodeInfo", Handler: _Queries_GetNodeInfo_Handler, }, { MethodName: "SendBlockItem", Handler: _Queries_SendBlockItem_Handler, }, { MethodName: "GetAccountTransactionSignHash", Handler: _Queries_GetAccountTransactionSignHash_Handler, }, { MethodName: "GetBlockChainParameters", Handler: _Queries_GetBlockChainParameters_Handler, }, { MethodName: "GetBlockFinalizationSummary", Handler: _Queries_GetBlockFinalizationSummary_Handler, }, { MethodName: "GetBlockCertificates", Handler: _Queries_GetBlockCertificates_Handler, }, { MethodName: "GetFirstBlockEpoch", Handler: _Queries_GetFirstBlockEpoch_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetBlocks", Handler: _Queries_GetBlocks_Handler, ServerStreams: true, }, { StreamName: "GetFinalizedBlocks", Handler: _Queries_GetFinalizedBlocks_Handler, ServerStreams: true, }, { StreamName: "GetAccountList", Handler: _Queries_GetAccountList_Handler, ServerStreams: true, }, { StreamName: "GetModuleList", Handler: _Queries_GetModuleList_Handler, ServerStreams: true, }, { StreamName: "GetAncestors", Handler: _Queries_GetAncestors_Handler, ServerStreams: true, }, { StreamName: "GetInstanceList", Handler: _Queries_GetInstanceList_Handler, ServerStreams: true, }, { StreamName: "GetInstanceState", Handler: _Queries_GetInstanceState_Handler, ServerStreams: true, }, { StreamName: "GetBakerList", Handler: _Queries_GetBakerList_Handler, ServerStreams: true, }, { StreamName: "GetPoolDelegators", Handler: _Queries_GetPoolDelegators_Handler, ServerStreams: true, }, { StreamName: "GetPoolDelegatorsRewardPeriod", Handler: _Queries_GetPoolDelegatorsRewardPeriod_Handler, ServerStreams: true, }, { StreamName: "GetPassiveDelegators", Handler: _Queries_GetPassiveDelegators_Handler, ServerStreams: true, }, { StreamName: "GetPassiveDelegatorsRewardPeriod", Handler: _Queries_GetPassiveDelegatorsRewardPeriod_Handler, ServerStreams: true, }, { StreamName: "GetIdentityProviders", Handler: _Queries_GetIdentityProviders_Handler, ServerStreams: true, }, { StreamName: "GetAnonymityRevokers", Handler: _Queries_GetAnonymityRevokers_Handler, ServerStreams: true, }, { StreamName: "GetAccountNonFinalizedTransactions", Handler: _Queries_GetAccountNonFinalizedTransactions_Handler, ServerStreams: true, }, { StreamName: "GetBlockTransactionEvents", Handler: _Queries_GetBlockTransactionEvents_Handler, ServerStreams: true, }, { StreamName: "GetBlockSpecialEvents", Handler: _Queries_GetBlockSpecialEvents_Handler, ServerStreams: true, }, { StreamName: "GetBlockPendingUpdates", Handler: _Queries_GetBlockPendingUpdates_Handler, ServerStreams: true, }, { StreamName: "GetBlockItems", Handler: _Queries_GetBlockItems_Handler, ServerStreams: true, }, { StreamName: "GetBakersRewardPeriod", Handler: _Queries_GetBakersRewardPeriod_Handler, ServerStreams: true, }, { StreamName: "GetWinningBakersEpoch", Handler: _Queries_GetWinningBakersEpoch_Handler, ServerStreams: true, }, { StreamName: "DryRun", Handler: _Queries_DryRun_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "v2/concordium/service.proto", }
Queries_ServiceDesc is the grpc.ServiceDesc for Queries service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterHealthServer ¶
func RegisterHealthServer(s grpc.ServiceRegistrar, srv HealthServer)
func RegisterQueriesServer ¶
func RegisterQueriesServer(s grpc.ServiceRegistrar, srv QueriesServer)
Types ¶
type AbsoluteBlockHeight ¶
type AbsoluteBlockHeight struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The absolute height of a block. This is the number of ancestors of a block since the genesis block. In particular, the chain genesis block has absolute height 0.
func (*AbsoluteBlockHeight) Descriptor
deprecated
func (*AbsoluteBlockHeight) Descriptor() ([]byte, []int)
Deprecated: Use AbsoluteBlockHeight.ProtoReflect.Descriptor instead.
func (*AbsoluteBlockHeight) GetValue ¶
func (x *AbsoluteBlockHeight) GetValue() uint64
func (*AbsoluteBlockHeight) ProtoMessage ¶
func (*AbsoluteBlockHeight) ProtoMessage()
func (*AbsoluteBlockHeight) ProtoReflect ¶
func (x *AbsoluteBlockHeight) ProtoReflect() protoreflect.Message
func (*AbsoluteBlockHeight) Reset ¶
func (x *AbsoluteBlockHeight) Reset()
func (*AbsoluteBlockHeight) String ¶
func (x *AbsoluteBlockHeight) String() string
type AccessStructure ¶
type AccessStructure struct { // Unique indexes into the set of keys in AuthorizationV0. AccessPublicKeys []*UpdateKeysIndex `protobuf:"bytes,1,rep,name=access_public_keys,json=accessPublicKeys,proto3" json:"access_public_keys,omitempty"` // Number of keys requred to authorize an update. AccessThreshold *UpdateKeysThreshold `protobuf:"bytes,2,opt,name=access_threshold,json=accessThreshold,proto3" json:"access_threshold,omitempty"` // contains filtered or unexported fields }
An access structure which specifies which UpdatePublicKeys in a HigherLevelKeys that are allowed to make chain update of a specific type. The threshold defines the minimum number of allowed keys needed to make the actual update.
func (*AccessStructure) Descriptor
deprecated
func (*AccessStructure) Descriptor() ([]byte, []int)
Deprecated: Use AccessStructure.ProtoReflect.Descriptor instead.
func (*AccessStructure) GetAccessPublicKeys ¶
func (x *AccessStructure) GetAccessPublicKeys() []*UpdateKeysIndex
func (*AccessStructure) GetAccessThreshold ¶
func (x *AccessStructure) GetAccessThreshold() *UpdateKeysThreshold
func (*AccessStructure) ProtoMessage ¶
func (*AccessStructure) ProtoMessage()
func (*AccessStructure) ProtoReflect ¶
func (x *AccessStructure) ProtoReflect() protoreflect.Message
func (*AccessStructure) Reset ¶
func (x *AccessStructure) Reset()
func (*AccessStructure) String ¶
func (x *AccessStructure) String() string
type AccountAddress ¶
type AccountAddress struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
An address of an account. Always 32 bytes.
func (*AccountAddress) Descriptor
deprecated
func (*AccountAddress) Descriptor() ([]byte, []int)
Deprecated: Use AccountAddress.ProtoReflect.Descriptor instead.
func (*AccountAddress) GetValue ¶
func (x *AccountAddress) GetValue() []byte
func (*AccountAddress) ProtoMessage ¶
func (*AccountAddress) ProtoMessage()
func (*AccountAddress) ProtoReflect ¶
func (x *AccountAddress) ProtoReflect() protoreflect.Message
func (*AccountAddress) Reset ¶
func (x *AccountAddress) Reset()
func (*AccountAddress) String ¶
func (x *AccountAddress) String() string
type AccountCreationDetails ¶
type AccountCreationDetails struct { // Whether this is an initial or normal account. CredentialType CredentialType `` /* 138-byte string literal not displayed */ // Address of the newly created account. Address *AccountAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Credential registration ID of the first credential. RegId *CredentialRegistrationId `protobuf:"bytes,3,opt,name=reg_id,json=regId,proto3" json:"reg_id,omitempty"` // contains filtered or unexported fields }
Details of an account creation. These transactions are free, and we only ever get a response for them if the account is created, hence no failure cases.
func (*AccountCreationDetails) Descriptor
deprecated
func (*AccountCreationDetails) Descriptor() ([]byte, []int)
Deprecated: Use AccountCreationDetails.ProtoReflect.Descriptor instead.
func (*AccountCreationDetails) GetAddress ¶
func (x *AccountCreationDetails) GetAddress() *AccountAddress
func (*AccountCreationDetails) GetCredentialType ¶
func (x *AccountCreationDetails) GetCredentialType() CredentialType
func (*AccountCreationDetails) GetRegId ¶
func (x *AccountCreationDetails) GetRegId() *CredentialRegistrationId
func (*AccountCreationDetails) ProtoMessage ¶
func (*AccountCreationDetails) ProtoMessage()
func (*AccountCreationDetails) ProtoReflect ¶
func (x *AccountCreationDetails) ProtoReflect() protoreflect.Message
func (*AccountCreationDetails) Reset ¶
func (x *AccountCreationDetails) Reset()
func (*AccountCreationDetails) String ¶
func (x *AccountCreationDetails) String() string
type AccountCredential ¶
type AccountCredential struct { // Types that are assignable to CredentialValues: // // *AccountCredential_Initial // *AccountCredential_Normal CredentialValues isAccountCredential_CredentialValues `protobuf_oneof:"credential_values"` // contains filtered or unexported fields }
Credential that is part of an account.
func (*AccountCredential) Descriptor
deprecated
func (*AccountCredential) Descriptor() ([]byte, []int)
Deprecated: Use AccountCredential.ProtoReflect.Descriptor instead.
func (*AccountCredential) GetCredentialValues ¶
func (m *AccountCredential) GetCredentialValues() isAccountCredential_CredentialValues
func (*AccountCredential) GetInitial ¶
func (x *AccountCredential) GetInitial() *InitialCredentialValues
func (*AccountCredential) GetNormal ¶
func (x *AccountCredential) GetNormal() *NormalCredentialValues
func (*AccountCredential) ProtoMessage ¶
func (*AccountCredential) ProtoMessage()
func (*AccountCredential) ProtoReflect ¶
func (x *AccountCredential) ProtoReflect() protoreflect.Message
func (*AccountCredential) Reset ¶
func (x *AccountCredential) Reset()
func (*AccountCredential) String ¶
func (x *AccountCredential) String() string
type AccountCredential_Initial ¶
type AccountCredential_Initial struct {
Initial *InitialCredentialValues `protobuf:"bytes,1,opt,name=initial,proto3,oneof"`
}
type AccountCredential_Normal ¶
type AccountCredential_Normal struct {
Normal *NormalCredentialValues `protobuf:"bytes,2,opt,name=normal,proto3,oneof"`
}
type AccountIdentifierInput ¶
type AccountIdentifierInput struct { // Types that are assignable to AccountIdentifierInput: // // *AccountIdentifierInput_Address // *AccountIdentifierInput_CredId // *AccountIdentifierInput_AccountIndex AccountIdentifierInput isAccountIdentifierInput_AccountIdentifierInput `protobuf_oneof:"account_identifier_input"` // contains filtered or unexported fields }
Input to queries which take an account as a parameter.
func (*AccountIdentifierInput) Descriptor
deprecated
func (*AccountIdentifierInput) Descriptor() ([]byte, []int)
Deprecated: Use AccountIdentifierInput.ProtoReflect.Descriptor instead.
func (*AccountIdentifierInput) GetAccountIdentifierInput ¶
func (m *AccountIdentifierInput) GetAccountIdentifierInput() isAccountIdentifierInput_AccountIdentifierInput
func (*AccountIdentifierInput) GetAccountIndex ¶
func (x *AccountIdentifierInput) GetAccountIndex() *AccountIndex
func (*AccountIdentifierInput) GetAddress ¶
func (x *AccountIdentifierInput) GetAddress() *AccountAddress
func (*AccountIdentifierInput) GetCredId ¶
func (x *AccountIdentifierInput) GetCredId() *CredentialRegistrationId
func (*AccountIdentifierInput) ProtoMessage ¶
func (*AccountIdentifierInput) ProtoMessage()
func (*AccountIdentifierInput) ProtoReflect ¶
func (x *AccountIdentifierInput) ProtoReflect() protoreflect.Message
func (*AccountIdentifierInput) Reset ¶
func (x *AccountIdentifierInput) Reset()
func (*AccountIdentifierInput) String ¶
func (x *AccountIdentifierInput) String() string
type AccountIdentifierInput_AccountIndex ¶
type AccountIdentifierInput_AccountIndex struct { // Identify the account via its index. AccountIndex *AccountIndex `protobuf:"bytes,3,opt,name=account_index,json=accountIndex,proto3,oneof"` }
type AccountIdentifierInput_Address ¶
type AccountIdentifierInput_Address struct { // Identify the account by the address of the account. Address *AccountAddress `protobuf:"bytes,1,opt,name=address,proto3,oneof"` }
type AccountIdentifierInput_CredId ¶
type AccountIdentifierInput_CredId struct { // Identify the account by the credential that belongs or has belonged to it. CredId *CredentialRegistrationId `protobuf:"bytes,2,opt,name=cred_id,json=credId,proto3,oneof"` }
type AccountIndex ¶
type AccountIndex struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Index of the account in the account table. These are assigned sequentially in the order of creation of accounts. The first account has index 0.
func (*AccountIndex) Descriptor
deprecated
func (*AccountIndex) Descriptor() ([]byte, []int)
Deprecated: Use AccountIndex.ProtoReflect.Descriptor instead.
func (*AccountIndex) GetValue ¶
func (x *AccountIndex) GetValue() uint64
func (*AccountIndex) ProtoMessage ¶
func (*AccountIndex) ProtoMessage()
func (*AccountIndex) ProtoReflect ¶
func (x *AccountIndex) ProtoReflect() protoreflect.Message
func (*AccountIndex) Reset ¶
func (x *AccountIndex) Reset()
func (*AccountIndex) String ¶
func (x *AccountIndex) String() string
type AccountInfo ¶
type AccountInfo struct { // Next sequence number to be used for transactions signed from this account. SequenceNumber *SequenceNumber `protobuf:"bytes,1,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // Current (unencrypted) balance of the account. Amount *Amount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // Release schedule for any locked up amount. This could be an empty // release schedule. Schedule *ReleaseSchedule `protobuf:"bytes,3,opt,name=schedule,proto3" json:"schedule,omitempty"` // Map of all currently active credentials on the account. // This includes public keys that can sign for the given credentials, as // well as any revealed attributes. This map always contains a credential // with index 0. Creds map[uint32]*AccountCredential `` /* 152-byte string literal not displayed */ // Lower bound on how many credentials must sign any given transaction from // this account. Threshold *AccountThreshold `protobuf:"bytes,5,opt,name=threshold,proto3" json:"threshold,omitempty"` // The encrypted balance of the account. EncryptedBalance *EncryptedBalance `protobuf:"bytes,6,opt,name=encrypted_balance,json=encryptedBalance,proto3" json:"encrypted_balance,omitempty"` // The public key for sending encrypted balances to the account. EncryptionKey *EncryptionKey `protobuf:"bytes,7,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"` // Internal index of the account. Accounts on the chain get sequential // indices. These should generally not be used outside of the chain, // the account address is meant to be used to refer to accounts, // however the account index serves the role of the baker id, if the // account is a baker. Hence it is exposed here as well. Index *AccountIndex `protobuf:"bytes,8,opt,name=index,proto3" json:"index,omitempty"` // Present if the account is a baker or delegator. In that case // it is the information about the baker or delegator. Stake *AccountStakingInfo `protobuf:"bytes,9,opt,name=stake,proto3,oneof" json:"stake,omitempty"` // Canonical address of the account. This is derived from the first credential // that created the account. Address *AccountAddress `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty"` // The stake on the account that is in cooldown. // There can be multiple amounts in cooldown that expire at different times. // This was introduced in protocol version 7, and so is not present in // earlier protocol versions. Cooldowns []*Cooldown `protobuf:"bytes,11,rep,name=cooldowns,proto3" json:"cooldowns,omitempty"` // The available (unencrypted) balance of the account (i.e. that can be transferred // or used to pay for transactions). This is the balance minus the locked amount. // The locked amount is the maximum of the amount in the release schedule and // the total amount that is actively staked or in cooldown (inactive stake). // This was introduced in node version 7.0. AvailableBalance *Amount `protobuf:"bytes,12,opt,name=available_balance,json=availableBalance,proto3" json:"available_balance,omitempty"` // contains filtered or unexported fields }
Information about the account at a particular point in time.
func (*AccountInfo) Descriptor
deprecated
func (*AccountInfo) Descriptor() ([]byte, []int)
Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.
func (*AccountInfo) GetAddress ¶
func (x *AccountInfo) GetAddress() *AccountAddress
func (*AccountInfo) GetAmount ¶
func (x *AccountInfo) GetAmount() *Amount
func (*AccountInfo) GetAvailableBalance ¶ added in v0.3.0
func (x *AccountInfo) GetAvailableBalance() *Amount
func (*AccountInfo) GetCooldowns ¶ added in v0.3.0
func (x *AccountInfo) GetCooldowns() []*Cooldown
func (*AccountInfo) GetCreds ¶
func (x *AccountInfo) GetCreds() map[uint32]*AccountCredential
func (*AccountInfo) GetEncryptedBalance ¶
func (x *AccountInfo) GetEncryptedBalance() *EncryptedBalance
func (*AccountInfo) GetEncryptionKey ¶
func (x *AccountInfo) GetEncryptionKey() *EncryptionKey
func (*AccountInfo) GetIndex ¶
func (x *AccountInfo) GetIndex() *AccountIndex
func (*AccountInfo) GetSchedule ¶
func (x *AccountInfo) GetSchedule() *ReleaseSchedule
func (*AccountInfo) GetSequenceNumber ¶
func (x *AccountInfo) GetSequenceNumber() *SequenceNumber
func (*AccountInfo) GetStake ¶
func (x *AccountInfo) GetStake() *AccountStakingInfo
func (*AccountInfo) GetThreshold ¶
func (x *AccountInfo) GetThreshold() *AccountThreshold
func (*AccountInfo) ProtoMessage ¶
func (*AccountInfo) ProtoMessage()
func (*AccountInfo) ProtoReflect ¶
func (x *AccountInfo) ProtoReflect() protoreflect.Message
func (*AccountInfo) Reset ¶
func (x *AccountInfo) Reset()
func (*AccountInfo) String ¶
func (x *AccountInfo) String() string
type AccountInfoRequest ¶
type AccountInfoRequest struct { // Block in which to query the account information. BlockHash *BlockHashInput `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Specification of the account. AccountIdentifier *AccountIdentifierInput `protobuf:"bytes,2,opt,name=account_identifier,json=accountIdentifier,proto3" json:"account_identifier,omitempty"` // contains filtered or unexported fields }
Request for account information.
func (*AccountInfoRequest) Descriptor
deprecated
func (*AccountInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountInfoRequest.ProtoReflect.Descriptor instead.
func (*AccountInfoRequest) GetAccountIdentifier ¶
func (x *AccountInfoRequest) GetAccountIdentifier() *AccountIdentifierInput
func (*AccountInfoRequest) GetBlockHash ¶
func (x *AccountInfoRequest) GetBlockHash() *BlockHashInput
func (*AccountInfoRequest) ProtoMessage ¶
func (*AccountInfoRequest) ProtoMessage()
func (*AccountInfoRequest) ProtoReflect ¶
func (x *AccountInfoRequest) ProtoReflect() protoreflect.Message
func (*AccountInfoRequest) Reset ¶
func (x *AccountInfoRequest) Reset()
func (*AccountInfoRequest) String ¶
func (x *AccountInfoRequest) String() string
type AccountSignatureMap ¶
type AccountSignatureMap struct { Signatures map[uint32]*Signature `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
Wrapper for a map from indexes to signatures. Needed because protobuf doesn't allow nested maps directly. The keys in the SignatureMap must not exceed 2^8.
func (*AccountSignatureMap) Descriptor
deprecated
func (*AccountSignatureMap) Descriptor() ([]byte, []int)
Deprecated: Use AccountSignatureMap.ProtoReflect.Descriptor instead.
func (*AccountSignatureMap) GetSignatures ¶
func (x *AccountSignatureMap) GetSignatures() map[uint32]*Signature
func (*AccountSignatureMap) ProtoMessage ¶
func (*AccountSignatureMap) ProtoMessage()
func (*AccountSignatureMap) ProtoReflect ¶
func (x *AccountSignatureMap) ProtoReflect() protoreflect.Message
func (*AccountSignatureMap) Reset ¶
func (x *AccountSignatureMap) Reset()
func (*AccountSignatureMap) String ¶
func (x *AccountSignatureMap) String() string
type AccountStakingInfo ¶
type AccountStakingInfo struct { // Types that are assignable to StakingInfo: // // *AccountStakingInfo_Baker_ // *AccountStakingInfo_Delegator_ StakingInfo isAccountStakingInfo_StakingInfo `protobuf_oneof:"staking_info"` // contains filtered or unexported fields }
Information about the account stake, if the account is either a baker or a delegator.
func (*AccountStakingInfo) Descriptor
deprecated
func (*AccountStakingInfo) Descriptor() ([]byte, []int)
Deprecated: Use AccountStakingInfo.ProtoReflect.Descriptor instead.
func (*AccountStakingInfo) GetBaker ¶
func (x *AccountStakingInfo) GetBaker() *AccountStakingInfo_Baker
func (*AccountStakingInfo) GetDelegator ¶
func (x *AccountStakingInfo) GetDelegator() *AccountStakingInfo_Delegator
func (*AccountStakingInfo) GetStakingInfo ¶
func (m *AccountStakingInfo) GetStakingInfo() isAccountStakingInfo_StakingInfo
func (*AccountStakingInfo) ProtoMessage ¶
func (*AccountStakingInfo) ProtoMessage()
func (*AccountStakingInfo) ProtoReflect ¶
func (x *AccountStakingInfo) ProtoReflect() protoreflect.Message
func (*AccountStakingInfo) Reset ¶
func (x *AccountStakingInfo) Reset()
func (*AccountStakingInfo) String ¶
func (x *AccountStakingInfo) String() string
type AccountStakingInfo_Baker ¶
type AccountStakingInfo_Baker struct { // Amount staked at present. StakedAmount *Amount `protobuf:"bytes,1,opt,name=staked_amount,json=stakedAmount,proto3" json:"staked_amount,omitempty"` // A flag indicating whether rewards paid to the baker are automatically // restaked or not. RestakeEarnings bool `protobuf:"varint,2,opt,name=restake_earnings,json=restakeEarnings,proto3" json:"restake_earnings,omitempty"` // Information about the baker that is staking. BakerInfo *BakerInfo `protobuf:"bytes,3,opt,name=baker_info,json=bakerInfo,proto3" json:"baker_info,omitempty"` // If present, any pending change to the delegated stake. PendingChange *StakePendingChange `protobuf:"bytes,4,opt,name=pending_change,json=pendingChange,proto3,oneof" json:"pending_change,omitempty"` // Present if the account is currently a baker, i.e., it is in the baking // committee of the current epoch. PoolInfo *BakerPoolInfo `protobuf:"bytes,5,opt,name=pool_info,json=poolInfo,proto3,oneof" json:"pool_info,omitempty"` // contains filtered or unexported fields }
func (*AccountStakingInfo_Baker) Descriptor
deprecated
func (*AccountStakingInfo_Baker) Descriptor() ([]byte, []int)
Deprecated: Use AccountStakingInfo_Baker.ProtoReflect.Descriptor instead.
func (*AccountStakingInfo_Baker) GetBakerInfo ¶
func (x *AccountStakingInfo_Baker) GetBakerInfo() *BakerInfo
func (*AccountStakingInfo_Baker) GetPendingChange ¶
func (x *AccountStakingInfo_Baker) GetPendingChange() *StakePendingChange
func (*AccountStakingInfo_Baker) GetPoolInfo ¶
func (x *AccountStakingInfo_Baker) GetPoolInfo() *BakerPoolInfo
func (*AccountStakingInfo_Baker) GetRestakeEarnings ¶
func (x *AccountStakingInfo_Baker) GetRestakeEarnings() bool
func (*AccountStakingInfo_Baker) GetStakedAmount ¶
func (x *AccountStakingInfo_Baker) GetStakedAmount() *Amount
func (*AccountStakingInfo_Baker) ProtoMessage ¶
func (*AccountStakingInfo_Baker) ProtoMessage()
func (*AccountStakingInfo_Baker) ProtoReflect ¶
func (x *AccountStakingInfo_Baker) ProtoReflect() protoreflect.Message
func (*AccountStakingInfo_Baker) Reset ¶
func (x *AccountStakingInfo_Baker) Reset()
func (*AccountStakingInfo_Baker) String ¶
func (x *AccountStakingInfo_Baker) String() string
type AccountStakingInfo_Baker_ ¶
type AccountStakingInfo_Baker_ struct { // The account is a baker. Baker *AccountStakingInfo_Baker `protobuf:"bytes,1,opt,name=baker,proto3,oneof"` }
type AccountStakingInfo_Delegator ¶
type AccountStakingInfo_Delegator struct { // The amount that the account delegates. StakedAmount *Amount `protobuf:"bytes,1,opt,name=staked_amount,json=stakedAmount,proto3" json:"staked_amount,omitempty"` // Whether the earnings are automatically added to the staked amount. RestakeEarnings bool `protobuf:"varint,2,opt,name=restake_earnings,json=restakeEarnings,proto3" json:"restake_earnings,omitempty"` // The entity to which the account delegates. Target *DelegationTarget `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // If present, any pending change to the delegated stake. PendingChange *StakePendingChange `protobuf:"bytes,4,opt,name=pending_change,json=pendingChange,proto3,oneof" json:"pending_change,omitempty"` // contains filtered or unexported fields }
func (*AccountStakingInfo_Delegator) Descriptor
deprecated
func (*AccountStakingInfo_Delegator) Descriptor() ([]byte, []int)
Deprecated: Use AccountStakingInfo_Delegator.ProtoReflect.Descriptor instead.
func (*AccountStakingInfo_Delegator) GetPendingChange ¶
func (x *AccountStakingInfo_Delegator) GetPendingChange() *StakePendingChange
func (*AccountStakingInfo_Delegator) GetRestakeEarnings ¶
func (x *AccountStakingInfo_Delegator) GetRestakeEarnings() bool
func (*AccountStakingInfo_Delegator) GetStakedAmount ¶
func (x *AccountStakingInfo_Delegator) GetStakedAmount() *Amount
func (*AccountStakingInfo_Delegator) GetTarget ¶
func (x *AccountStakingInfo_Delegator) GetTarget() *DelegationTarget
func (*AccountStakingInfo_Delegator) ProtoMessage ¶
func (*AccountStakingInfo_Delegator) ProtoMessage()
func (*AccountStakingInfo_Delegator) ProtoReflect ¶
func (x *AccountStakingInfo_Delegator) ProtoReflect() protoreflect.Message
func (*AccountStakingInfo_Delegator) Reset ¶
func (x *AccountStakingInfo_Delegator) Reset()
func (*AccountStakingInfo_Delegator) String ¶
func (x *AccountStakingInfo_Delegator) String() string
type AccountStakingInfo_Delegator_ ¶
type AccountStakingInfo_Delegator_ struct { // The account is a delegator. Delegator *AccountStakingInfo_Delegator `protobuf:"bytes,2,opt,name=delegator,proto3,oneof"` }
type AccountThreshold ¶
type AccountThreshold struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The number of credentials required to sign an account transaction.
func (*AccountThreshold) Descriptor
deprecated
func (*AccountThreshold) Descriptor() ([]byte, []int)
Deprecated: Use AccountThreshold.ProtoReflect.Descriptor instead.
func (*AccountThreshold) GetValue ¶
func (x *AccountThreshold) GetValue() uint32
func (*AccountThreshold) ProtoMessage ¶
func (*AccountThreshold) ProtoMessage()
func (*AccountThreshold) ProtoReflect ¶
func (x *AccountThreshold) ProtoReflect() protoreflect.Message
func (*AccountThreshold) Reset ¶
func (x *AccountThreshold) Reset()
func (*AccountThreshold) String ¶
func (x *AccountThreshold) String() string
type AccountTransaction ¶
type AccountTransaction struct { Signature *AccountTransactionSignature `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` Header *AccountTransactionHeader `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` Payload *AccountTransactionPayload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
Account transactions are messages which are signed and paid for by the sender account.
func (*AccountTransaction) Descriptor
deprecated
func (*AccountTransaction) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransaction.ProtoReflect.Descriptor instead.
func (*AccountTransaction) GetHeader ¶
func (x *AccountTransaction) GetHeader() *AccountTransactionHeader
func (*AccountTransaction) GetPayload ¶
func (x *AccountTransaction) GetPayload() *AccountTransactionPayload
func (*AccountTransaction) GetSignature ¶
func (x *AccountTransaction) GetSignature() *AccountTransactionSignature
func (*AccountTransaction) ProtoMessage ¶
func (*AccountTransaction) ProtoMessage()
func (*AccountTransaction) ProtoReflect ¶
func (x *AccountTransaction) ProtoReflect() protoreflect.Message
func (*AccountTransaction) Reset ¶
func (x *AccountTransaction) Reset()
func (*AccountTransaction) String ¶
func (x *AccountTransaction) String() string
type AccountTransactionDetails ¶
type AccountTransactionDetails struct { // The cost of the transaction. Paid by the sender. Cost *Amount `protobuf:"bytes,1,opt,name=cost,proto3" json:"cost,omitempty"` // The sender of the transaction. Sender *AccountAddress `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // The effects of the transaction. Effects *AccountTransactionEffects `protobuf:"bytes,3,opt,name=effects,proto3" json:"effects,omitempty"` // contains filtered or unexported fields }
Details about an account transaction.
func (*AccountTransactionDetails) Descriptor
deprecated
func (*AccountTransactionDetails) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionDetails.ProtoReflect.Descriptor instead.
func (*AccountTransactionDetails) GetCost ¶
func (x *AccountTransactionDetails) GetCost() *Amount
func (*AccountTransactionDetails) GetEffects ¶
func (x *AccountTransactionDetails) GetEffects() *AccountTransactionEffects
func (*AccountTransactionDetails) GetSender ¶
func (x *AccountTransactionDetails) GetSender() *AccountAddress
func (*AccountTransactionDetails) ProtoMessage ¶
func (*AccountTransactionDetails) ProtoMessage()
func (*AccountTransactionDetails) ProtoReflect ¶
func (x *AccountTransactionDetails) ProtoReflect() protoreflect.Message
func (*AccountTransactionDetails) Reset ¶
func (x *AccountTransactionDetails) Reset()
func (*AccountTransactionDetails) String ¶
func (x *AccountTransactionDetails) String() string
type AccountTransactionEffects ¶
type AccountTransactionEffects struct { // Types that are assignable to Effect: // // *AccountTransactionEffects_None_ // *AccountTransactionEffects_ModuleDeployed // *AccountTransactionEffects_ContractInitialized // *AccountTransactionEffects_ContractUpdateIssued_ // *AccountTransactionEffects_AccountTransfer_ // *AccountTransactionEffects_BakerAdded // *AccountTransactionEffects_BakerRemoved // *AccountTransactionEffects_BakerStakeUpdated_ // *AccountTransactionEffects_BakerRestakeEarningsUpdated // *AccountTransactionEffects_BakerKeysUpdated // *AccountTransactionEffects_EncryptedAmountTransferred_ // *AccountTransactionEffects_TransferredToEncrypted // *AccountTransactionEffects_TransferredToPublic_ // *AccountTransactionEffects_TransferredWithSchedule_ // *AccountTransactionEffects_CredentialKeysUpdated // *AccountTransactionEffects_CredentialsUpdated_ // *AccountTransactionEffects_DataRegistered // *AccountTransactionEffects_BakerConfigured_ // *AccountTransactionEffects_DelegationConfigured_ Effect isAccountTransactionEffects_Effect `protobuf_oneof:"effect"` // contains filtered or unexported fields }
Effects of an account transaction. All variants except `None` correspond to a unique transaction that was successful.
func (*AccountTransactionEffects) Descriptor
deprecated
func (*AccountTransactionEffects) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionEffects.ProtoReflect.Descriptor instead.
func (*AccountTransactionEffects) GetAccountTransfer ¶
func (x *AccountTransactionEffects) GetAccountTransfer() *AccountTransactionEffects_AccountTransfer
func (*AccountTransactionEffects) GetBakerAdded ¶
func (x *AccountTransactionEffects) GetBakerAdded() *BakerEvent_BakerAdded
func (*AccountTransactionEffects) GetBakerConfigured ¶
func (x *AccountTransactionEffects) GetBakerConfigured() *AccountTransactionEffects_BakerConfigured
func (*AccountTransactionEffects) GetBakerKeysUpdated ¶
func (x *AccountTransactionEffects) GetBakerKeysUpdated() *BakerKeysEvent
func (*AccountTransactionEffects) GetBakerRemoved ¶
func (x *AccountTransactionEffects) GetBakerRemoved() *BakerId
func (*AccountTransactionEffects) GetBakerRestakeEarningsUpdated ¶
func (x *AccountTransactionEffects) GetBakerRestakeEarningsUpdated() *BakerEvent_BakerRestakeEarningsUpdated
func (*AccountTransactionEffects) GetBakerStakeUpdated ¶
func (x *AccountTransactionEffects) GetBakerStakeUpdated() *AccountTransactionEffects_BakerStakeUpdated
func (*AccountTransactionEffects) GetContractInitialized ¶
func (x *AccountTransactionEffects) GetContractInitialized() *ContractInitializedEvent
func (*AccountTransactionEffects) GetContractUpdateIssued ¶
func (x *AccountTransactionEffects) GetContractUpdateIssued() *AccountTransactionEffects_ContractUpdateIssued
func (*AccountTransactionEffects) GetCredentialKeysUpdated ¶
func (x *AccountTransactionEffects) GetCredentialKeysUpdated() *CredentialRegistrationId
func (*AccountTransactionEffects) GetCredentialsUpdated ¶
func (x *AccountTransactionEffects) GetCredentialsUpdated() *AccountTransactionEffects_CredentialsUpdated
func (*AccountTransactionEffects) GetDataRegistered ¶
func (x *AccountTransactionEffects) GetDataRegistered() *RegisteredData
func (*AccountTransactionEffects) GetDelegationConfigured ¶
func (x *AccountTransactionEffects) GetDelegationConfigured() *AccountTransactionEffects_DelegationConfigured
func (*AccountTransactionEffects) GetEffect ¶
func (m *AccountTransactionEffects) GetEffect() isAccountTransactionEffects_Effect
func (*AccountTransactionEffects) GetEncryptedAmountTransferred ¶
func (x *AccountTransactionEffects) GetEncryptedAmountTransferred() *AccountTransactionEffects_EncryptedAmountTransferred
func (*AccountTransactionEffects) GetModuleDeployed ¶
func (x *AccountTransactionEffects) GetModuleDeployed() *ModuleRef
func (*AccountTransactionEffects) GetNone ¶
func (x *AccountTransactionEffects) GetNone() *AccountTransactionEffects_None
func (*AccountTransactionEffects) GetTransferredToEncrypted ¶
func (x *AccountTransactionEffects) GetTransferredToEncrypted() *EncryptedSelfAmountAddedEvent
func (*AccountTransactionEffects) GetTransferredToPublic ¶
func (x *AccountTransactionEffects) GetTransferredToPublic() *AccountTransactionEffects_TransferredToPublic
func (*AccountTransactionEffects) GetTransferredWithSchedule ¶
func (x *AccountTransactionEffects) GetTransferredWithSchedule() *AccountTransactionEffects_TransferredWithSchedule
func (*AccountTransactionEffects) ProtoMessage ¶
func (*AccountTransactionEffects) ProtoMessage()
func (*AccountTransactionEffects) ProtoReflect ¶
func (x *AccountTransactionEffects) ProtoReflect() protoreflect.Message
func (*AccountTransactionEffects) Reset ¶
func (x *AccountTransactionEffects) Reset()
func (*AccountTransactionEffects) String ¶
func (x *AccountTransactionEffects) String() string
type AccountTransactionEffects_AccountTransfer ¶
type AccountTransactionEffects_AccountTransfer struct { // Amount that was transferred. Amount *Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // Receiver account. Receiver *AccountAddress `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` // Memo. Memo *Memo `protobuf:"bytes,3,opt,name=memo,proto3,oneof" json:"memo,omitempty"` // contains filtered or unexported fields }
A simple account to account transfer occurred. This is the result of a successful Transfer transaction.
func (*AccountTransactionEffects_AccountTransfer) Descriptor
deprecated
func (*AccountTransactionEffects_AccountTransfer) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionEffects_AccountTransfer.ProtoReflect.Descriptor instead.
func (*AccountTransactionEffects_AccountTransfer) GetAmount ¶
func (x *AccountTransactionEffects_AccountTransfer) GetAmount() *Amount
func (*AccountTransactionEffects_AccountTransfer) GetMemo ¶
func (x *AccountTransactionEffects_AccountTransfer) GetMemo() *Memo
func (*AccountTransactionEffects_AccountTransfer) GetReceiver ¶
func (x *AccountTransactionEffects_AccountTransfer) GetReceiver() *AccountAddress
func (*AccountTransactionEffects_AccountTransfer) ProtoMessage ¶
func (*AccountTransactionEffects_AccountTransfer) ProtoMessage()
func (*AccountTransactionEffects_AccountTransfer) ProtoReflect ¶
func (x *AccountTransactionEffects_AccountTransfer) ProtoReflect() protoreflect.Message
func (*AccountTransactionEffects_AccountTransfer) Reset ¶
func (x *AccountTransactionEffects_AccountTransfer) Reset()
func (*AccountTransactionEffects_AccountTransfer) String ¶
func (x *AccountTransactionEffects_AccountTransfer) String() string
type AccountTransactionEffects_AccountTransfer_ ¶
type AccountTransactionEffects_AccountTransfer_ struct { // A simple account to account transfer occurred. AccountTransfer *AccountTransactionEffects_AccountTransfer `protobuf:"bytes,5,opt,name=account_transfer,json=accountTransfer,proto3,oneof"` }
type AccountTransactionEffects_BakerAdded ¶
type AccountTransactionEffects_BakerAdded struct { // A baker was added. BakerAdded *BakerEvent_BakerAdded `protobuf:"bytes,6,opt,name=baker_added,json=bakerAdded,proto3,oneof"` }
type AccountTransactionEffects_BakerConfigured ¶
type AccountTransactionEffects_BakerConfigured struct { Events []*BakerEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
A baker was configured. The details of what happened are contained in the list of BakerEvents.
func (*AccountTransactionEffects_BakerConfigured) Descriptor
deprecated
func (*AccountTransactionEffects_BakerConfigured) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionEffects_BakerConfigured.ProtoReflect.Descriptor instead.
func (*AccountTransactionEffects_BakerConfigured) GetEvents ¶
func (x *AccountTransactionEffects_BakerConfigured) GetEvents() []*BakerEvent
func (*AccountTransactionEffects_BakerConfigured) ProtoMessage ¶
func (*AccountTransactionEffects_BakerConfigured) ProtoMessage()
func (*AccountTransactionEffects_BakerConfigured) ProtoReflect ¶
func (x *AccountTransactionEffects_BakerConfigured) ProtoReflect() protoreflect.Message
func (*AccountTransactionEffects_BakerConfigured) Reset ¶
func (x *AccountTransactionEffects_BakerConfigured) Reset()
func (*AccountTransactionEffects_BakerConfigured) String ¶
func (x *AccountTransactionEffects_BakerConfigured) String() string
type AccountTransactionEffects_BakerConfigured_ ¶
type AccountTransactionEffects_BakerConfigured_ struct { // A baker was configured. The details of what happened are contained in a list of BakerEvents. BakerConfigured *AccountTransactionEffects_BakerConfigured `protobuf:"bytes,18,opt,name=baker_configured,json=bakerConfigured,proto3,oneof"` }
type AccountTransactionEffects_BakerKeysUpdated ¶
type AccountTransactionEffects_BakerKeysUpdated struct { // A baker's keys were updated. BakerKeysUpdated *BakerKeysEvent `protobuf:"bytes,10,opt,name=baker_keys_updated,json=bakerKeysUpdated,proto3,oneof"` }
type AccountTransactionEffects_BakerRemoved ¶
type AccountTransactionEffects_BakerRemoved struct { // A baker was removed. BakerRemoved *BakerId `protobuf:"bytes,7,opt,name=baker_removed,json=bakerRemoved,proto3,oneof"` }
type AccountTransactionEffects_BakerRestakeEarningsUpdated ¶
type AccountTransactionEffects_BakerRestakeEarningsUpdated struct { // A baker's restake earnings setting was updated. BakerRestakeEarningsUpdated *BakerEvent_BakerRestakeEarningsUpdated `protobuf:"bytes,9,opt,name=baker_restake_earnings_updated,json=bakerRestakeEarningsUpdated,proto3,oneof"` }
type AccountTransactionEffects_BakerStakeUpdated ¶
type AccountTransactionEffects_BakerStakeUpdated struct { // If the stake was updated (that is, it changed and did not stay the // same) then this is present, otherwise it is not present. Update *BakerStakeUpdatedData `protobuf:"bytes,1,opt,name=update,proto3,oneof" json:"update,omitempty"` // contains filtered or unexported fields }
An account was deregistered as a baker. This is the result of a successful UpdateBakerStake transaction.
func (*AccountTransactionEffects_BakerStakeUpdated) Descriptor
deprecated
func (*AccountTransactionEffects_BakerStakeUpdated) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionEffects_BakerStakeUpdated.ProtoReflect.Descriptor instead.
func (*AccountTransactionEffects_BakerStakeUpdated) GetUpdate ¶
func (x *AccountTransactionEffects_BakerStakeUpdated) GetUpdate() *BakerStakeUpdatedData
func (*AccountTransactionEffects_BakerStakeUpdated) ProtoMessage ¶
func (*AccountTransactionEffects_BakerStakeUpdated) ProtoMessage()
func (*AccountTransactionEffects_BakerStakeUpdated) ProtoReflect ¶
func (x *AccountTransactionEffects_BakerStakeUpdated) ProtoReflect() protoreflect.Message
func (*AccountTransactionEffects_BakerStakeUpdated) Reset ¶
func (x *AccountTransactionEffects_BakerStakeUpdated) Reset()
func (*AccountTransactionEffects_BakerStakeUpdated) String ¶
func (x *AccountTransactionEffects_BakerStakeUpdated) String() string
type AccountTransactionEffects_BakerStakeUpdated_ ¶
type AccountTransactionEffects_BakerStakeUpdated_ struct { // A baker's stake was updated. BakerStakeUpdated *AccountTransactionEffects_BakerStakeUpdated `protobuf:"bytes,8,opt,name=baker_stake_updated,json=bakerStakeUpdated,proto3,oneof"` }
type AccountTransactionEffects_ContractInitialized ¶
type AccountTransactionEffects_ContractInitialized struct { // A smart contract was initialized. ContractInitialized *ContractInitializedEvent `protobuf:"bytes,3,opt,name=contract_initialized,json=contractInitialized,proto3,oneof"` }
type AccountTransactionEffects_ContractUpdateIssued ¶
type AccountTransactionEffects_ContractUpdateIssued struct { Effects []*ContractTraceElement `protobuf:"bytes,1,rep,name=effects,proto3" json:"effects,omitempty"` // contains filtered or unexported fields }
A contract update transaction was issued and produced the given trace. This is the result of Update transaction.
func (*AccountTransactionEffects_ContractUpdateIssued) Descriptor
deprecated
func (*AccountTransactionEffects_ContractUpdateIssued) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionEffects_ContractUpdateIssued.ProtoReflect.Descriptor instead.
func (*AccountTransactionEffects_ContractUpdateIssued) GetEffects ¶
func (x *AccountTransactionEffects_ContractUpdateIssued) GetEffects() []*ContractTraceElement
func (*AccountTransactionEffects_ContractUpdateIssued) ProtoMessage ¶
func (*AccountTransactionEffects_ContractUpdateIssued) ProtoMessage()
func (*AccountTransactionEffects_ContractUpdateIssued) ProtoReflect ¶
func (x *AccountTransactionEffects_ContractUpdateIssued) ProtoReflect() protoreflect.Message
func (*AccountTransactionEffects_ContractUpdateIssued) Reset ¶
func (x *AccountTransactionEffects_ContractUpdateIssued) Reset()
func (*AccountTransactionEffects_ContractUpdateIssued) String ¶
func (x *AccountTransactionEffects_ContractUpdateIssued) String() string
type AccountTransactionEffects_ContractUpdateIssued_ ¶
type AccountTransactionEffects_ContractUpdateIssued_ struct { // A smart contract instance updated was issued. ContractUpdateIssued *AccountTransactionEffects_ContractUpdateIssued `protobuf:"bytes,4,opt,name=contract_update_issued,json=contractUpdateIssued,proto3,oneof"` }
type AccountTransactionEffects_CredentialKeysUpdated ¶
type AccountTransactionEffects_CredentialKeysUpdated struct { // Keys of a specific credential were updated. CredentialKeysUpdated *CredentialRegistrationId `protobuf:"bytes,15,opt,name=credential_keys_updated,json=credentialKeysUpdated,proto3,oneof"` }
type AccountTransactionEffects_CredentialsUpdated ¶
type AccountTransactionEffects_CredentialsUpdated struct { // The credential ids that were added. NewCredIds []*CredentialRegistrationId `protobuf:"bytes,1,rep,name=new_cred_ids,json=newCredIds,proto3" json:"new_cred_ids,omitempty"` // The credentials that were removed. RemovedCredIds []*CredentialRegistrationId `protobuf:"bytes,2,rep,name=removed_cred_ids,json=removedCredIds,proto3" json:"removed_cred_ids,omitempty"` // The (possibly) updated account threshold. NewThreshold *AccountThreshold `protobuf:"bytes,3,opt,name=new_threshold,json=newThreshold,proto3" json:"new_threshold,omitempty"` // contains filtered or unexported fields }
Account's credentials were updated. This is the result of a successful UpdateCredentials transaction.
func (*AccountTransactionEffects_CredentialsUpdated) Descriptor
deprecated
func (*AccountTransactionEffects_CredentialsUpdated) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionEffects_CredentialsUpdated.ProtoReflect.Descriptor instead.
func (*AccountTransactionEffects_CredentialsUpdated) GetNewCredIds ¶
func (x *AccountTransactionEffects_CredentialsUpdated) GetNewCredIds() []*CredentialRegistrationId
func (*AccountTransactionEffects_CredentialsUpdated) GetNewThreshold ¶
func (x *AccountTransactionEffects_CredentialsUpdated) GetNewThreshold() *AccountThreshold
func (*AccountTransactionEffects_CredentialsUpdated) GetRemovedCredIds ¶
func (x *AccountTransactionEffects_CredentialsUpdated) GetRemovedCredIds() []*CredentialRegistrationId
func (*AccountTransactionEffects_CredentialsUpdated) ProtoMessage ¶
func (*AccountTransactionEffects_CredentialsUpdated) ProtoMessage()
func (*AccountTransactionEffects_CredentialsUpdated) ProtoReflect ¶
func (x *AccountTransactionEffects_CredentialsUpdated) ProtoReflect() protoreflect.Message
func (*AccountTransactionEffects_CredentialsUpdated) Reset ¶
func (x *AccountTransactionEffects_CredentialsUpdated) Reset()
func (*AccountTransactionEffects_CredentialsUpdated) String ¶
func (x *AccountTransactionEffects_CredentialsUpdated) String() string
type AccountTransactionEffects_CredentialsUpdated_ ¶
type AccountTransactionEffects_CredentialsUpdated_ struct { // Account credentials were updated. CredentialsUpdated *AccountTransactionEffects_CredentialsUpdated `protobuf:"bytes,16,opt,name=credentials_updated,json=credentialsUpdated,proto3,oneof"` }
type AccountTransactionEffects_DataRegistered ¶
type AccountTransactionEffects_DataRegistered struct { // Some data was registered on the chain. DataRegistered *RegisteredData `protobuf:"bytes,17,opt,name=data_registered,json=dataRegistered,proto3,oneof"` }
type AccountTransactionEffects_DelegationConfigured ¶
type AccountTransactionEffects_DelegationConfigured struct { Events []*DelegationEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
An account configured delegation. The details of what happened are contained in the list of DelegationEvents.
func (*AccountTransactionEffects_DelegationConfigured) Descriptor
deprecated
func (*AccountTransactionEffects_DelegationConfigured) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionEffects_DelegationConfigured.ProtoReflect.Descriptor instead.
func (*AccountTransactionEffects_DelegationConfigured) GetEvents ¶
func (x *AccountTransactionEffects_DelegationConfigured) GetEvents() []*DelegationEvent
func (*AccountTransactionEffects_DelegationConfigured) ProtoMessage ¶
func (*AccountTransactionEffects_DelegationConfigured) ProtoMessage()
func (*AccountTransactionEffects_DelegationConfigured) ProtoReflect ¶
func (x *AccountTransactionEffects_DelegationConfigured) ProtoReflect() protoreflect.Message
func (*AccountTransactionEffects_DelegationConfigured) Reset ¶
func (x *AccountTransactionEffects_DelegationConfigured) Reset()
func (*AccountTransactionEffects_DelegationConfigured) String ¶
func (x *AccountTransactionEffects_DelegationConfigured) String() string
type AccountTransactionEffects_DelegationConfigured_ ¶
type AccountTransactionEffects_DelegationConfigured_ struct { // A delegator was configured. The details of what happened are contained in a list of DelegatorEvents. DelegationConfigured *AccountTransactionEffects_DelegationConfigured `protobuf:"bytes,19,opt,name=delegation_configured,json=delegationConfigured,proto3,oneof"` }
type AccountTransactionEffects_EncryptedAmountTransferred ¶
type AccountTransactionEffects_EncryptedAmountTransferred struct { Removed *EncryptedAmountRemovedEvent `protobuf:"bytes,1,opt,name=removed,proto3" json:"removed,omitempty"` Added *NewEncryptedAmountEvent `protobuf:"bytes,2,opt,name=added,proto3" json:"added,omitempty"` Memo *Memo `protobuf:"bytes,3,opt,name=memo,proto3,oneof" json:"memo,omitempty"` // contains filtered or unexported fields }
An encrypted amount was transferred. This is the result of a successful EncryptedAmountTransfer transaction.
func (*AccountTransactionEffects_EncryptedAmountTransferred) Descriptor
deprecated
func (*AccountTransactionEffects_EncryptedAmountTransferred) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionEffects_EncryptedAmountTransferred.ProtoReflect.Descriptor instead.
func (*AccountTransactionEffects_EncryptedAmountTransferred) GetAdded ¶
func (x *AccountTransactionEffects_EncryptedAmountTransferred) GetAdded() *NewEncryptedAmountEvent
func (*AccountTransactionEffects_EncryptedAmountTransferred) GetMemo ¶
func (x *AccountTransactionEffects_EncryptedAmountTransferred) GetMemo() *Memo
func (*AccountTransactionEffects_EncryptedAmountTransferred) GetRemoved ¶
func (x *AccountTransactionEffects_EncryptedAmountTransferred) GetRemoved() *EncryptedAmountRemovedEvent
func (*AccountTransactionEffects_EncryptedAmountTransferred) ProtoMessage ¶
func (*AccountTransactionEffects_EncryptedAmountTransferred) ProtoMessage()
func (*AccountTransactionEffects_EncryptedAmountTransferred) ProtoReflect ¶
func (x *AccountTransactionEffects_EncryptedAmountTransferred) ProtoReflect() protoreflect.Message
func (*AccountTransactionEffects_EncryptedAmountTransferred) Reset ¶
func (x *AccountTransactionEffects_EncryptedAmountTransferred) Reset()
func (*AccountTransactionEffects_EncryptedAmountTransferred) String ¶
func (x *AccountTransactionEffects_EncryptedAmountTransferred) String() string
type AccountTransactionEffects_EncryptedAmountTransferred_ ¶
type AccountTransactionEffects_EncryptedAmountTransferred_ struct { // An encrypted amount was transferred. EncryptedAmountTransferred *AccountTransactionEffects_EncryptedAmountTransferred `protobuf:"bytes,11,opt,name=encrypted_amount_transferred,json=encryptedAmountTransferred,proto3,oneof"` }
type AccountTransactionEffects_ModuleDeployed ¶
type AccountTransactionEffects_ModuleDeployed struct { // A smart contract module with the attached reference was deployed. ModuleDeployed *ModuleRef `protobuf:"bytes,2,opt,name=module_deployed,json=moduleDeployed,proto3,oneof"` }
type AccountTransactionEffects_None ¶
type AccountTransactionEffects_None struct { // Transaction type of a failed transaction, if known. // In case of serialization failure this will not be set. TransactionType *TransactionType `` /* 148-byte string literal not displayed */ // Reason for rejection of the transaction. RejectReason *RejectReason `protobuf:"bytes,2,opt,name=reject_reason,json=rejectReason,proto3" json:"reject_reason,omitempty"` // contains filtered or unexported fields }
No effects other than payment from this transaction. The rejection reason indicates why the transaction failed.
func (*AccountTransactionEffects_None) Descriptor
deprecated
func (*AccountTransactionEffects_None) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionEffects_None.ProtoReflect.Descriptor instead.
func (*AccountTransactionEffects_None) GetRejectReason ¶
func (x *AccountTransactionEffects_None) GetRejectReason() *RejectReason
func (*AccountTransactionEffects_None) GetTransactionType ¶
func (x *AccountTransactionEffects_None) GetTransactionType() TransactionType
func (*AccountTransactionEffects_None) ProtoMessage ¶
func (*AccountTransactionEffects_None) ProtoMessage()
func (*AccountTransactionEffects_None) ProtoReflect ¶
func (x *AccountTransactionEffects_None) ProtoReflect() protoreflect.Message
func (*AccountTransactionEffects_None) Reset ¶
func (x *AccountTransactionEffects_None) Reset()
func (*AccountTransactionEffects_None) String ¶
func (x *AccountTransactionEffects_None) String() string
type AccountTransactionEffects_None_ ¶
type AccountTransactionEffects_None_ struct { // No effects other than payment from this transaction. // The rejection reason indicates why the transaction failed. None *AccountTransactionEffects_None `protobuf:"bytes,1,opt,name=none,proto3,oneof"` }
type AccountTransactionEffects_TransferredToEncrypted ¶
type AccountTransactionEffects_TransferredToEncrypted struct { // An account transferred part of its public balance to its encrypted // balance. TransferredToEncrypted *EncryptedSelfAmountAddedEvent `protobuf:"bytes,12,opt,name=transferred_to_encrypted,json=transferredToEncrypted,proto3,oneof"` }
type AccountTransactionEffects_TransferredToPublic ¶
type AccountTransactionEffects_TransferredToPublic struct { Removed *EncryptedAmountRemovedEvent `protobuf:"bytes,1,opt,name=removed,proto3" json:"removed,omitempty"` Amount *Amount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
An account transferred part of its encrypted balance to its public balance. This is the result of a successful TransferToPublic transaction.
func (*AccountTransactionEffects_TransferredToPublic) Descriptor
deprecated
func (*AccountTransactionEffects_TransferredToPublic) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionEffects_TransferredToPublic.ProtoReflect.Descriptor instead.
func (*AccountTransactionEffects_TransferredToPublic) GetAmount ¶
func (x *AccountTransactionEffects_TransferredToPublic) GetAmount() *Amount
func (*AccountTransactionEffects_TransferredToPublic) GetRemoved ¶
func (x *AccountTransactionEffects_TransferredToPublic) GetRemoved() *EncryptedAmountRemovedEvent
func (*AccountTransactionEffects_TransferredToPublic) ProtoMessage ¶
func (*AccountTransactionEffects_TransferredToPublic) ProtoMessage()
func (*AccountTransactionEffects_TransferredToPublic) ProtoReflect ¶
func (x *AccountTransactionEffects_TransferredToPublic) ProtoReflect() protoreflect.Message
func (*AccountTransactionEffects_TransferredToPublic) Reset ¶
func (x *AccountTransactionEffects_TransferredToPublic) Reset()
func (*AccountTransactionEffects_TransferredToPublic) String ¶
func (x *AccountTransactionEffects_TransferredToPublic) String() string
type AccountTransactionEffects_TransferredToPublic_ ¶
type AccountTransactionEffects_TransferredToPublic_ struct { // An account transferred part of its encrypted balance to its public balance. TransferredToPublic *AccountTransactionEffects_TransferredToPublic `protobuf:"bytes,13,opt,name=transferred_to_public,json=transferredToPublic,proto3,oneof"` }
type AccountTransactionEffects_TransferredWithSchedule ¶
type AccountTransactionEffects_TransferredWithSchedule struct { // Receiver account. Receiver *AccountAddress `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"` // The list of releases. Ordered by increasing timestamp. Amount []*NewRelease `protobuf:"bytes,2,rep,name=amount,proto3" json:"amount,omitempty"` // Optional memo. Memo *Memo `protobuf:"bytes,3,opt,name=memo,proto3,oneof" json:"memo,omitempty"` // contains filtered or unexported fields }
A transfer with schedule was performed. This is the result of a successful TransferWithSchedule transaction.
func (*AccountTransactionEffects_TransferredWithSchedule) Descriptor
deprecated
func (*AccountTransactionEffects_TransferredWithSchedule) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionEffects_TransferredWithSchedule.ProtoReflect.Descriptor instead.
func (*AccountTransactionEffects_TransferredWithSchedule) GetAmount ¶
func (x *AccountTransactionEffects_TransferredWithSchedule) GetAmount() []*NewRelease
func (*AccountTransactionEffects_TransferredWithSchedule) GetMemo ¶
func (x *AccountTransactionEffects_TransferredWithSchedule) GetMemo() *Memo
func (*AccountTransactionEffects_TransferredWithSchedule) GetReceiver ¶
func (x *AccountTransactionEffects_TransferredWithSchedule) GetReceiver() *AccountAddress
func (*AccountTransactionEffects_TransferredWithSchedule) ProtoMessage ¶
func (*AccountTransactionEffects_TransferredWithSchedule) ProtoMessage()
func (*AccountTransactionEffects_TransferredWithSchedule) ProtoReflect ¶
func (x *AccountTransactionEffects_TransferredWithSchedule) ProtoReflect() protoreflect.Message
func (*AccountTransactionEffects_TransferredWithSchedule) Reset ¶
func (x *AccountTransactionEffects_TransferredWithSchedule) Reset()
func (*AccountTransactionEffects_TransferredWithSchedule) String ¶
func (x *AccountTransactionEffects_TransferredWithSchedule) String() string
type AccountTransactionEffects_TransferredWithSchedule_ ¶
type AccountTransactionEffects_TransferredWithSchedule_ struct { // A transfer with a release schedule was made. TransferredWithSchedule *AccountTransactionEffects_TransferredWithSchedule `protobuf:"bytes,14,opt,name=transferred_with_schedule,json=transferredWithSchedule,proto3,oneof"` }
type AccountTransactionHeader ¶
type AccountTransactionHeader struct { // Sender of the transaction. Sender *AccountAddress `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // Sequence number of the transaction. SequenceNumber *SequenceNumber `protobuf:"bytes,2,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // Maximum amount of energy the transaction can take to execute. EnergyAmount *Energy `protobuf:"bytes,3,opt,name=energy_amount,json=energyAmount,proto3" json:"energy_amount,omitempty"` // Latest time the transaction can included in a block. Expiry *TransactionTime `protobuf:"bytes,5,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
Header of an account transaction that contains basic data to check whether the sender and the transaction are valid. The header is shared by all transaction types.
func (*AccountTransactionHeader) Descriptor
deprecated
func (*AccountTransactionHeader) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionHeader.ProtoReflect.Descriptor instead.
func (*AccountTransactionHeader) GetEnergyAmount ¶
func (x *AccountTransactionHeader) GetEnergyAmount() *Energy
func (*AccountTransactionHeader) GetExpiry ¶
func (x *AccountTransactionHeader) GetExpiry() *TransactionTime
func (*AccountTransactionHeader) GetSender ¶
func (x *AccountTransactionHeader) GetSender() *AccountAddress
func (*AccountTransactionHeader) GetSequenceNumber ¶
func (x *AccountTransactionHeader) GetSequenceNumber() *SequenceNumber
func (*AccountTransactionHeader) ProtoMessage ¶
func (*AccountTransactionHeader) ProtoMessage()
func (*AccountTransactionHeader) ProtoReflect ¶
func (x *AccountTransactionHeader) ProtoReflect() protoreflect.Message
func (*AccountTransactionHeader) Reset ¶
func (x *AccountTransactionHeader) Reset()
func (*AccountTransactionHeader) String ¶
func (x *AccountTransactionHeader) String() string
type AccountTransactionPayload ¶
type AccountTransactionPayload struct { // Types that are assignable to Payload: // // *AccountTransactionPayload_RawPayload // *AccountTransactionPayload_DeployModule // *AccountTransactionPayload_InitContract // *AccountTransactionPayload_UpdateContract // *AccountTransactionPayload_Transfer // *AccountTransactionPayload_TransferWithMemo // *AccountTransactionPayload_RegisterData Payload isAccountTransactionPayload_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
The payload for an account transaction.
func (*AccountTransactionPayload) Descriptor
deprecated
func (*AccountTransactionPayload) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionPayload.ProtoReflect.Descriptor instead.
func (*AccountTransactionPayload) GetDeployModule ¶
func (x *AccountTransactionPayload) GetDeployModule() *VersionedModuleSource
func (*AccountTransactionPayload) GetInitContract ¶
func (x *AccountTransactionPayload) GetInitContract() *InitContractPayload
func (*AccountTransactionPayload) GetPayload ¶
func (m *AccountTransactionPayload) GetPayload() isAccountTransactionPayload_Payload
func (*AccountTransactionPayload) GetRawPayload ¶
func (x *AccountTransactionPayload) GetRawPayload() []byte
func (*AccountTransactionPayload) GetRegisterData ¶
func (x *AccountTransactionPayload) GetRegisterData() *RegisteredData
func (*AccountTransactionPayload) GetTransfer ¶
func (x *AccountTransactionPayload) GetTransfer() *TransferPayload
func (*AccountTransactionPayload) GetTransferWithMemo ¶
func (x *AccountTransactionPayload) GetTransferWithMemo() *TransferWithMemoPayload
func (*AccountTransactionPayload) GetUpdateContract ¶
func (x *AccountTransactionPayload) GetUpdateContract() *UpdateContractPayload
func (*AccountTransactionPayload) ProtoMessage ¶
func (*AccountTransactionPayload) ProtoMessage()
func (*AccountTransactionPayload) ProtoReflect ¶
func (x *AccountTransactionPayload) ProtoReflect() protoreflect.Message
func (*AccountTransactionPayload) Reset ¶
func (x *AccountTransactionPayload) Reset()
func (*AccountTransactionPayload) String ¶
func (x *AccountTransactionPayload) String() string
type AccountTransactionPayload_DeployModule ¶
type AccountTransactionPayload_DeployModule struct { // A transfer between two accounts. With an optional memo. DeployModule *VersionedModuleSource `protobuf:"bytes,2,opt,name=deploy_module,json=deployModule,proto3,oneof"` }
type AccountTransactionPayload_InitContract ¶
type AccountTransactionPayload_InitContract struct {
InitContract *InitContractPayload `protobuf:"bytes,3,opt,name=init_contract,json=initContract,proto3,oneof"`
}
type AccountTransactionPayload_RawPayload ¶
type AccountTransactionPayload_RawPayload struct { // A pre-serialized payload in the binary serialization format defined // by the protocol. RawPayload []byte `protobuf:"bytes,1,opt,name=raw_payload,json=rawPayload,proto3,oneof"` }
type AccountTransactionPayload_RegisterData ¶
type AccountTransactionPayload_RegisterData struct {
RegisterData *RegisteredData `protobuf:"bytes,7,opt,name=register_data,json=registerData,proto3,oneof"`
}
type AccountTransactionPayload_Transfer ¶
type AccountTransactionPayload_Transfer struct {
Transfer *TransferPayload `protobuf:"bytes,5,opt,name=transfer,proto3,oneof"`
}
type AccountTransactionPayload_TransferWithMemo ¶
type AccountTransactionPayload_TransferWithMemo struct {
TransferWithMemo *TransferWithMemoPayload `protobuf:"bytes,6,opt,name=transfer_with_memo,json=transferWithMemo,proto3,oneof"`
}
type AccountTransactionPayload_UpdateContract ¶
type AccountTransactionPayload_UpdateContract struct {
UpdateContract *UpdateContractPayload `protobuf:"bytes,4,opt,name=update_contract,json=updateContract,proto3,oneof"`
}
type AccountTransactionSignHash ¶
type AccountTransactionSignHash struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Signature on an account transaction is defined to be the signature on the hash of the `PreAccountTransaction`.
func (*AccountTransactionSignHash) Descriptor
deprecated
func (*AccountTransactionSignHash) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionSignHash.ProtoReflect.Descriptor instead.
func (*AccountTransactionSignHash) GetValue ¶
func (x *AccountTransactionSignHash) GetValue() []byte
func (*AccountTransactionSignHash) ProtoMessage ¶
func (*AccountTransactionSignHash) ProtoMessage()
func (*AccountTransactionSignHash) ProtoReflect ¶
func (x *AccountTransactionSignHash) ProtoReflect() protoreflect.Message
func (*AccountTransactionSignHash) Reset ¶
func (x *AccountTransactionSignHash) Reset()
func (*AccountTransactionSignHash) String ¶
func (x *AccountTransactionSignHash) String() string
type AccountTransactionSignature ¶
type AccountTransactionSignature struct { // A map from `CredentialIndex` to `SignatureMap`s. // The type `CredentialIndex` is not used directly, as messages cannot be keys in maps. // The map cannot contain more than 2^8 signatures. Signatures map[uint32]*AccountSignatureMap `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AccountTransactionSignature) Descriptor
deprecated
func (*AccountTransactionSignature) Descriptor() ([]byte, []int)
Deprecated: Use AccountTransactionSignature.ProtoReflect.Descriptor instead.
func (*AccountTransactionSignature) GetSignatures ¶
func (x *AccountTransactionSignature) GetSignatures() map[uint32]*AccountSignatureMap
func (*AccountTransactionSignature) ProtoMessage ¶
func (*AccountTransactionSignature) ProtoMessage()
func (*AccountTransactionSignature) ProtoReflect ¶
func (x *AccountTransactionSignature) ProtoReflect() protoreflect.Message
func (*AccountTransactionSignature) Reset ¶
func (x *AccountTransactionSignature) Reset()
func (*AccountTransactionSignature) String ¶
func (x *AccountTransactionSignature) String() string
type AccountVerifyKey ¶
type AccountVerifyKey struct { // Types that are assignable to Key: // // *AccountVerifyKey_Ed25519Key Key isAccountVerifyKey_Key `protobuf_oneof:"key"` // contains filtered or unexported fields }
A public key used to verify transaction signatures from an account.
func (*AccountVerifyKey) Descriptor
deprecated
func (*AccountVerifyKey) Descriptor() ([]byte, []int)
Deprecated: Use AccountVerifyKey.ProtoReflect.Descriptor instead.
func (*AccountVerifyKey) GetEd25519Key ¶
func (x *AccountVerifyKey) GetEd25519Key() []byte
func (*AccountVerifyKey) GetKey ¶
func (m *AccountVerifyKey) GetKey() isAccountVerifyKey_Key
func (*AccountVerifyKey) ProtoMessage ¶
func (*AccountVerifyKey) ProtoMessage()
func (*AccountVerifyKey) ProtoReflect ¶
func (x *AccountVerifyKey) ProtoReflect() protoreflect.Message
func (*AccountVerifyKey) Reset ¶
func (x *AccountVerifyKey) Reset()
func (*AccountVerifyKey) String ¶
func (x *AccountVerifyKey) String() string
type AccountVerifyKey_Ed25519Key ¶
type AccountVerifyKey_Ed25519Key struct {
Ed25519Key []byte `protobuf:"bytes,1,opt,name=ed25519_key,json=ed25519Key,proto3,oneof"`
}
type Address ¶
type Address struct { // Types that are assignable to Type: // // *Address_Account // *Address_Contract Type isAddress_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
An address of either a contract or an account.
func (*Address) Descriptor
deprecated
func (*Address) GetAccount ¶
func (x *Address) GetAccount() *AccountAddress
func (*Address) GetContract ¶
func (x *Address) GetContract() *ContractAddress
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type Address_Account ¶
type Address_Account struct {
Account *AccountAddress `protobuf:"bytes,1,opt,name=account,proto3,oneof"`
}
type Address_Contract ¶
type Address_Contract struct {
Contract *ContractAddress `protobuf:"bytes,2,opt,name=contract,proto3,oneof"`
}
type Amount ¶
type Amount struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
An amount of microCCD.
func (*Amount) Descriptor
deprecated
func (*Amount) ProtoMessage ¶
func (*Amount) ProtoMessage()
func (*Amount) ProtoReflect ¶
func (x *Amount) ProtoReflect() protoreflect.Message
type AmountFraction ¶
type AmountFraction struct { // Must not exceed 100000. PartsPerHundredThousand uint32 `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
A fraction of an amount with a precision of `1/100_000`.
func (*AmountFraction) Descriptor
deprecated
func (*AmountFraction) Descriptor() ([]byte, []int)
Deprecated: Use AmountFraction.ProtoReflect.Descriptor instead.
func (*AmountFraction) GetPartsPerHundredThousand ¶
func (x *AmountFraction) GetPartsPerHundredThousand() uint32
func (*AmountFraction) ProtoMessage ¶
func (*AmountFraction) ProtoMessage()
func (*AmountFraction) ProtoReflect ¶
func (x *AmountFraction) ProtoReflect() protoreflect.Message
func (*AmountFraction) Reset ¶
func (x *AmountFraction) Reset()
func (*AmountFraction) String ¶
func (x *AmountFraction) String() string
type AncestorsRequest ¶
type AncestorsRequest struct { // The block to get ancestors of. BlockHash *BlockHashInput `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The maximum number of ancestors returned. Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
Request the ancestors for the given block.
func (*AncestorsRequest) Descriptor
deprecated
func (*AncestorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AncestorsRequest.ProtoReflect.Descriptor instead.
func (*AncestorsRequest) GetAmount ¶
func (x *AncestorsRequest) GetAmount() uint64
func (*AncestorsRequest) GetBlockHash ¶
func (x *AncestorsRequest) GetBlockHash() *BlockHashInput
func (*AncestorsRequest) ProtoMessage ¶
func (*AncestorsRequest) ProtoMessage()
func (*AncestorsRequest) ProtoReflect ¶
func (x *AncestorsRequest) ProtoReflect() protoreflect.Message
func (*AncestorsRequest) Reset ¶
func (x *AncestorsRequest) Reset()
func (*AncestorsRequest) String ¶
func (x *AncestorsRequest) String() string
type ArInfo ¶
type ArInfo struct { // Unique identifier of the anonymity revoker. Identity *ArInfo_ArIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // Description of the anonymity revoker. Description *Description `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Elgamal encryption key of the anonymity revoker. PublicKey *ArInfo_ArPublicKey `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
Information on a single anonymity revoker help by the identity provider. Typically an identity provider will hold more than one.
func (*ArInfo) Descriptor
deprecated
func (*ArInfo) GetDescription ¶
func (x *ArInfo) GetDescription() *Description
func (*ArInfo) GetIdentity ¶
func (x *ArInfo) GetIdentity() *ArInfo_ArIdentity
func (*ArInfo) GetPublicKey ¶
func (x *ArInfo) GetPublicKey() *ArInfo_ArPublicKey
func (*ArInfo) ProtoMessage ¶
func (*ArInfo) ProtoMessage()
func (*ArInfo) ProtoReflect ¶
func (x *ArInfo) ProtoReflect() protoreflect.Message
type ArInfo_ArIdentity ¶
type ArInfo_ArIdentity struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Identity of the anonymity revoker on the chain. This defines their evaluateion point for secret sharing, and thus it cannot be 0.
func (*ArInfo_ArIdentity) Descriptor
deprecated
func (*ArInfo_ArIdentity) Descriptor() ([]byte, []int)
Deprecated: Use ArInfo_ArIdentity.ProtoReflect.Descriptor instead.
func (*ArInfo_ArIdentity) GetValue ¶
func (x *ArInfo_ArIdentity) GetValue() uint32
func (*ArInfo_ArIdentity) ProtoMessage ¶
func (*ArInfo_ArIdentity) ProtoMessage()
func (*ArInfo_ArIdentity) ProtoReflect ¶
func (x *ArInfo_ArIdentity) ProtoReflect() protoreflect.Message
func (*ArInfo_ArIdentity) Reset ¶
func (x *ArInfo_ArIdentity) Reset()
func (*ArInfo_ArIdentity) String ¶
func (x *ArInfo_ArIdentity) String() string
type ArInfo_ArPublicKey ¶
type ArInfo_ArPublicKey struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Public key of an anonymity revoker.
func (*ArInfo_ArPublicKey) Descriptor
deprecated
func (*ArInfo_ArPublicKey) Descriptor() ([]byte, []int)
Deprecated: Use ArInfo_ArPublicKey.ProtoReflect.Descriptor instead.
func (*ArInfo_ArPublicKey) GetValue ¶
func (x *ArInfo_ArPublicKey) GetValue() []byte
func (*ArInfo_ArPublicKey) ProtoMessage ¶
func (*ArInfo_ArPublicKey) ProtoMessage()
func (*ArInfo_ArPublicKey) ProtoReflect ¶
func (x *ArInfo_ArPublicKey) ProtoReflect() protoreflect.Message
func (*ArInfo_ArPublicKey) Reset ¶
func (x *ArInfo_ArPublicKey) Reset()
func (*ArInfo_ArPublicKey) String ¶
func (x *ArInfo_ArPublicKey) String() string
type ArThreshold ¶
type ArThreshold struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The number of anonymity revokers needed to revoke anonymity of a credential holder.
func (*ArThreshold) Descriptor
deprecated
func (*ArThreshold) Descriptor() ([]byte, []int)
Deprecated: Use ArThreshold.ProtoReflect.Descriptor instead.
func (*ArThreshold) GetValue ¶
func (x *ArThreshold) GetValue() uint32
func (*ArThreshold) ProtoMessage ¶
func (*ArThreshold) ProtoMessage()
func (*ArThreshold) ProtoReflect ¶
func (x *ArThreshold) ProtoReflect() protoreflect.Message
func (*ArThreshold) Reset ¶
func (x *ArThreshold) Reset()
func (*ArThreshold) String ¶
func (x *ArThreshold) String() string
type ArrivedBlockInfo ¶
type ArrivedBlockInfo struct { // Hash of the block. Hash *BlockHash `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // Absolute height of the block, height 0 is the genesis block. Height *AbsoluteBlockHeight `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
Information about an arrived block that is part of the streaming response.
func (*ArrivedBlockInfo) Descriptor
deprecated
func (*ArrivedBlockInfo) Descriptor() ([]byte, []int)
Deprecated: Use ArrivedBlockInfo.ProtoReflect.Descriptor instead.
func (*ArrivedBlockInfo) GetHash ¶
func (x *ArrivedBlockInfo) GetHash() *BlockHash
func (*ArrivedBlockInfo) GetHeight ¶
func (x *ArrivedBlockInfo) GetHeight() *AbsoluteBlockHeight
func (*ArrivedBlockInfo) ProtoMessage ¶
func (*ArrivedBlockInfo) ProtoMessage()
func (*ArrivedBlockInfo) ProtoReflect ¶
func (x *ArrivedBlockInfo) ProtoReflect() protoreflect.Message
func (*ArrivedBlockInfo) Reset ¶
func (x *ArrivedBlockInfo) Reset()
func (*ArrivedBlockInfo) String ¶
func (x *ArrivedBlockInfo) String() string
type AuthorizationsV0 ¶
type AuthorizationsV0 struct { // The set of keys authorized for chain updates. Keys []*UpdatePublicKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // New emergency keys. Emergency *AccessStructure `protobuf:"bytes,2,opt,name=emergency,proto3" json:"emergency,omitempty"` // New protocol update keys. Protocol *AccessStructure `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` // Access structure for updating the consensus parameters. // Previously, this was the election difficulty. ParameterConsensus *AccessStructure `protobuf:"bytes,4,opt,name=parameter_consensus,json=parameterConsensus,proto3" json:"parameter_consensus,omitempty"` // Access structure for updating the euro per energy. ParameterEuroPerEnergy *AccessStructure `` /* 131-byte string literal not displayed */ // Access structure for updating the micro CCD per euro. ParameterMicro_CCDPerEuro *AccessStructure `` /* 139-byte string literal not displayed */ // Access structure for updating the foundation account. ParameterFoundationAccount *AccessStructure `` /* 141-byte string literal not displayed */ // Access structure for updating the mint distribution. ParameterMintDistribution *AccessStructure `` /* 138-byte string literal not displayed */ // Access structure for updating the transaction fee distribution. ParameterTransactionFeeDistribution *AccessStructure `` /* 170-byte string literal not displayed */ // Access structure for updating the gas rewards. ParameterGasRewards *AccessStructure `protobuf:"bytes,10,opt,name=parameter_gas_rewards,json=parameterGasRewards,proto3" json:"parameter_gas_rewards,omitempty"` // Access structure for updating the pool parameters. For V0 this is only // the baker stake threshold, for V1 there are more. PoolParameters *AccessStructure `protobuf:"bytes,11,opt,name=pool_parameters,json=poolParameters,proto3" json:"pool_parameters,omitempty"` // Access structure for adding new anonymity revokers. AddAnonymityRevoker *AccessStructure `protobuf:"bytes,12,opt,name=add_anonymity_revoker,json=addAnonymityRevoker,proto3" json:"add_anonymity_revoker,omitempty"` // Access structure for adding new identity providers. AddIdentityProvider *AccessStructure `protobuf:"bytes,13,opt,name=add_identity_provider,json=addIdentityProvider,proto3" json:"add_identity_provider,omitempty"` // contains filtered or unexported fields }
The set of keys authorized for chain updates, together with access structures determining which keys are authorized for which update types. This is the payload of an update to authorization.
func (*AuthorizationsV0) Descriptor
deprecated
func (*AuthorizationsV0) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizationsV0.ProtoReflect.Descriptor instead.
func (*AuthorizationsV0) GetAddAnonymityRevoker ¶
func (x *AuthorizationsV0) GetAddAnonymityRevoker() *AccessStructure
func (*AuthorizationsV0) GetAddIdentityProvider ¶
func (x *AuthorizationsV0) GetAddIdentityProvider() *AccessStructure
func (*AuthorizationsV0) GetEmergency ¶
func (x *AuthorizationsV0) GetEmergency() *AccessStructure
func (*AuthorizationsV0) GetKeys ¶
func (x *AuthorizationsV0) GetKeys() []*UpdatePublicKey
func (*AuthorizationsV0) GetParameterConsensus ¶
func (x *AuthorizationsV0) GetParameterConsensus() *AccessStructure
func (*AuthorizationsV0) GetParameterEuroPerEnergy ¶
func (x *AuthorizationsV0) GetParameterEuroPerEnergy() *AccessStructure
func (*AuthorizationsV0) GetParameterFoundationAccount ¶
func (x *AuthorizationsV0) GetParameterFoundationAccount() *AccessStructure
func (*AuthorizationsV0) GetParameterGasRewards ¶
func (x *AuthorizationsV0) GetParameterGasRewards() *AccessStructure
func (*AuthorizationsV0) GetParameterMicro_CCDPerEuro ¶
func (x *AuthorizationsV0) GetParameterMicro_CCDPerEuro() *AccessStructure
func (*AuthorizationsV0) GetParameterMintDistribution ¶
func (x *AuthorizationsV0) GetParameterMintDistribution() *AccessStructure
func (*AuthorizationsV0) GetParameterTransactionFeeDistribution ¶
func (x *AuthorizationsV0) GetParameterTransactionFeeDistribution() *AccessStructure
func (*AuthorizationsV0) GetPoolParameters ¶
func (x *AuthorizationsV0) GetPoolParameters() *AccessStructure
func (*AuthorizationsV0) GetProtocol ¶
func (x *AuthorizationsV0) GetProtocol() *AccessStructure
func (*AuthorizationsV0) ProtoMessage ¶
func (*AuthorizationsV0) ProtoMessage()
func (*AuthorizationsV0) ProtoReflect ¶
func (x *AuthorizationsV0) ProtoReflect() protoreflect.Message
func (*AuthorizationsV0) Reset ¶
func (x *AuthorizationsV0) Reset()
func (*AuthorizationsV0) String ¶
func (x *AuthorizationsV0) String() string
type AuthorizationsV1 ¶
type AuthorizationsV1 struct { V0 *AuthorizationsV0 `protobuf:"bytes,1,opt,name=v0,proto3" json:"v0,omitempty"` // Access structure for updating the cooldown periods related to baking and delegation. ParameterCooldown *AccessStructure `protobuf:"bytes,2,opt,name=parameter_cooldown,json=parameterCooldown,proto3" json:"parameter_cooldown,omitempty"` // Access structure for updating the length of the reward period. ParameterTime *AccessStructure `protobuf:"bytes,3,opt,name=parameter_time,json=parameterTime,proto3" json:"parameter_time,omitempty"` // contains filtered or unexported fields }
The set of keys authorized for chain updates, together with access structures determining which keys are authorized for which update types. This is the payload of an update to authorization.
func (*AuthorizationsV1) Descriptor
deprecated
func (*AuthorizationsV1) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizationsV1.ProtoReflect.Descriptor instead.
func (*AuthorizationsV1) GetParameterCooldown ¶
func (x *AuthorizationsV1) GetParameterCooldown() *AccessStructure
func (*AuthorizationsV1) GetParameterTime ¶
func (x *AuthorizationsV1) GetParameterTime() *AccessStructure
func (*AuthorizationsV1) GetV0 ¶
func (x *AuthorizationsV1) GetV0() *AuthorizationsV0
func (*AuthorizationsV1) ProtoMessage ¶
func (*AuthorizationsV1) ProtoMessage()
func (*AuthorizationsV1) ProtoReflect ¶
func (x *AuthorizationsV1) ProtoReflect() protoreflect.Message
func (*AuthorizationsV1) Reset ¶
func (x *AuthorizationsV1) Reset()
func (*AuthorizationsV1) String ¶
func (x *AuthorizationsV1) String() string
type BakerAggregationVerifyKey ¶
type BakerAggregationVerifyKey struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Baker's public key used to check signatures on finalization records. This is only used if the baker has sufficient stake to participate in finalization.
func (*BakerAggregationVerifyKey) Descriptor
deprecated
func (*BakerAggregationVerifyKey) Descriptor() ([]byte, []int)
Deprecated: Use BakerAggregationVerifyKey.ProtoReflect.Descriptor instead.
func (*BakerAggregationVerifyKey) GetValue ¶
func (x *BakerAggregationVerifyKey) GetValue() []byte
func (*BakerAggregationVerifyKey) ProtoMessage ¶
func (*BakerAggregationVerifyKey) ProtoMessage()
func (*BakerAggregationVerifyKey) ProtoReflect ¶
func (x *BakerAggregationVerifyKey) ProtoReflect() protoreflect.Message
func (*BakerAggregationVerifyKey) Reset ¶
func (x *BakerAggregationVerifyKey) Reset()
func (*BakerAggregationVerifyKey) String ¶
func (x *BakerAggregationVerifyKey) String() string
type BakerElectionVerifyKey ¶
type BakerElectionVerifyKey struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Baker's public key used to check whether they won the lottery or not.
func (*BakerElectionVerifyKey) Descriptor
deprecated
func (*BakerElectionVerifyKey) Descriptor() ([]byte, []int)
Deprecated: Use BakerElectionVerifyKey.ProtoReflect.Descriptor instead.
func (*BakerElectionVerifyKey) GetValue ¶
func (x *BakerElectionVerifyKey) GetValue() []byte
func (*BakerElectionVerifyKey) ProtoMessage ¶
func (*BakerElectionVerifyKey) ProtoMessage()
func (*BakerElectionVerifyKey) ProtoReflect ¶
func (x *BakerElectionVerifyKey) ProtoReflect() protoreflect.Message
func (*BakerElectionVerifyKey) Reset ¶
func (x *BakerElectionVerifyKey) Reset()
func (*BakerElectionVerifyKey) String ¶
func (x *BakerElectionVerifyKey) String() string
type BakerEvent ¶
type BakerEvent struct { // Types that are assignable to Event: // // *BakerEvent_BakerAdded_ // *BakerEvent_BakerRemoved // *BakerEvent_BakerStakeIncreased_ // *BakerEvent_BakerStakeDecreased_ // *BakerEvent_BakerRestakeEarningsUpdated_ // *BakerEvent_BakerKeysUpdated // *BakerEvent_BakerSetOpenStatus_ // *BakerEvent_BakerSetMetadataUrl_ // *BakerEvent_BakerSetTransactionFeeCommission_ // *BakerEvent_BakerSetBakingRewardCommission_ // *BakerEvent_BakerSetFinalizationRewardCommission_ // *BakerEvent_DelegationRemoved_ Event isBakerEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
Events that may result from the ConfigureBaker transaction.
func (*BakerEvent) Descriptor
deprecated
func (*BakerEvent) Descriptor() ([]byte, []int)
Deprecated: Use BakerEvent.ProtoReflect.Descriptor instead.
func (*BakerEvent) GetBakerAdded ¶
func (x *BakerEvent) GetBakerAdded() *BakerEvent_BakerAdded
func (*BakerEvent) GetBakerKeysUpdated ¶
func (x *BakerEvent) GetBakerKeysUpdated() *BakerKeysEvent
func (*BakerEvent) GetBakerRemoved ¶
func (x *BakerEvent) GetBakerRemoved() *BakerId
func (*BakerEvent) GetBakerRestakeEarningsUpdated ¶
func (x *BakerEvent) GetBakerRestakeEarningsUpdated() *BakerEvent_BakerRestakeEarningsUpdated
func (*BakerEvent) GetBakerSetBakingRewardCommission ¶
func (x *BakerEvent) GetBakerSetBakingRewardCommission() *BakerEvent_BakerSetBakingRewardCommission
func (*BakerEvent) GetBakerSetFinalizationRewardCommission ¶
func (x *BakerEvent) GetBakerSetFinalizationRewardCommission() *BakerEvent_BakerSetFinalizationRewardCommission
func (*BakerEvent) GetBakerSetMetadataUrl ¶
func (x *BakerEvent) GetBakerSetMetadataUrl() *BakerEvent_BakerSetMetadataUrl
func (*BakerEvent) GetBakerSetOpenStatus ¶
func (x *BakerEvent) GetBakerSetOpenStatus() *BakerEvent_BakerSetOpenStatus
func (*BakerEvent) GetBakerSetTransactionFeeCommission ¶
func (x *BakerEvent) GetBakerSetTransactionFeeCommission() *BakerEvent_BakerSetTransactionFeeCommission
func (*BakerEvent) GetBakerStakeDecreased ¶
func (x *BakerEvent) GetBakerStakeDecreased() *BakerEvent_BakerStakeDecreased
func (*BakerEvent) GetBakerStakeIncreased ¶
func (x *BakerEvent) GetBakerStakeIncreased() *BakerEvent_BakerStakeIncreased
func (*BakerEvent) GetDelegationRemoved ¶ added in v0.3.0
func (x *BakerEvent) GetDelegationRemoved() *BakerEvent_DelegationRemoved
func (*BakerEvent) GetEvent ¶
func (m *BakerEvent) GetEvent() isBakerEvent_Event
func (*BakerEvent) ProtoMessage ¶
func (*BakerEvent) ProtoMessage()
func (*BakerEvent) ProtoReflect ¶
func (x *BakerEvent) ProtoReflect() protoreflect.Message
func (*BakerEvent) Reset ¶
func (x *BakerEvent) Reset()
func (*BakerEvent) String ¶
func (x *BakerEvent) String() string
type BakerEvent_BakerAdded ¶
type BakerEvent_BakerAdded struct { // The keys with which the baker registered. KeysEvent *BakerKeysEvent `protobuf:"bytes,1,opt,name=keys_event,json=keysEvent,proto3" json:"keys_event,omitempty"` // The amount the account staked to become a baker. This amount is // locked. Stake *Amount `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"` // Whether the baker will automatically add earnings to their stake or // not. RestakeEarnings bool `protobuf:"varint,3,opt,name=restake_earnings,json=restakeEarnings,proto3" json:"restake_earnings,omitempty"` // contains filtered or unexported fields }
A baker was added.
func (*BakerEvent_BakerAdded) Descriptor
deprecated
func (*BakerEvent_BakerAdded) Descriptor() ([]byte, []int)
Deprecated: Use BakerEvent_BakerAdded.ProtoReflect.Descriptor instead.
func (*BakerEvent_BakerAdded) GetKeysEvent ¶
func (x *BakerEvent_BakerAdded) GetKeysEvent() *BakerKeysEvent
func (*BakerEvent_BakerAdded) GetRestakeEarnings ¶
func (x *BakerEvent_BakerAdded) GetRestakeEarnings() bool
func (*BakerEvent_BakerAdded) GetStake ¶
func (x *BakerEvent_BakerAdded) GetStake() *Amount
func (*BakerEvent_BakerAdded) ProtoMessage ¶
func (*BakerEvent_BakerAdded) ProtoMessage()
func (*BakerEvent_BakerAdded) ProtoReflect ¶
func (x *BakerEvent_BakerAdded) ProtoReflect() protoreflect.Message
func (*BakerEvent_BakerAdded) Reset ¶
func (x *BakerEvent_BakerAdded) Reset()
func (*BakerEvent_BakerAdded) String ¶
func (x *BakerEvent_BakerAdded) String() string
type BakerEvent_BakerAdded_ ¶
type BakerEvent_BakerAdded_ struct { // A baker was added. BakerAdded *BakerEvent_BakerAdded `protobuf:"bytes,1,opt,name=baker_added,json=bakerAdded,proto3,oneof"` }
type BakerEvent_BakerKeysUpdated ¶
type BakerEvent_BakerKeysUpdated struct { // Baker keys were updated. BakerKeysUpdated *BakerKeysEvent `protobuf:"bytes,6,opt,name=baker_keys_updated,json=bakerKeysUpdated,proto3,oneof"` }
type BakerEvent_BakerRemoved ¶
type BakerEvent_BakerRemoved struct { // A baker was removed. BakerRemoved *BakerId `protobuf:"bytes,2,opt,name=baker_removed,json=bakerRemoved,proto3,oneof"` }
type BakerEvent_BakerRestakeEarningsUpdated ¶
type BakerEvent_BakerRestakeEarningsUpdated struct { // Baker's id. BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // The new value of the flag. RestakeEarnings bool `protobuf:"varint,2,opt,name=restake_earnings,json=restakeEarnings,proto3" json:"restake_earnings,omitempty"` // contains filtered or unexported fields }
func (*BakerEvent_BakerRestakeEarningsUpdated) Descriptor
deprecated
func (*BakerEvent_BakerRestakeEarningsUpdated) Descriptor() ([]byte, []int)
Deprecated: Use BakerEvent_BakerRestakeEarningsUpdated.ProtoReflect.Descriptor instead.
func (*BakerEvent_BakerRestakeEarningsUpdated) GetBakerId ¶
func (x *BakerEvent_BakerRestakeEarningsUpdated) GetBakerId() *BakerId
func (*BakerEvent_BakerRestakeEarningsUpdated) GetRestakeEarnings ¶
func (x *BakerEvent_BakerRestakeEarningsUpdated) GetRestakeEarnings() bool
func (*BakerEvent_BakerRestakeEarningsUpdated) ProtoMessage ¶
func (*BakerEvent_BakerRestakeEarningsUpdated) ProtoMessage()
func (*BakerEvent_BakerRestakeEarningsUpdated) ProtoReflect ¶
func (x *BakerEvent_BakerRestakeEarningsUpdated) ProtoReflect() protoreflect.Message
func (*BakerEvent_BakerRestakeEarningsUpdated) Reset ¶
func (x *BakerEvent_BakerRestakeEarningsUpdated) Reset()
func (*BakerEvent_BakerRestakeEarningsUpdated) String ¶
func (x *BakerEvent_BakerRestakeEarningsUpdated) String() string
type BakerEvent_BakerRestakeEarningsUpdated_ ¶
type BakerEvent_BakerRestakeEarningsUpdated_ struct { // The baker's setting for restaking earnings was updated. BakerRestakeEarningsUpdated *BakerEvent_BakerRestakeEarningsUpdated `protobuf:"bytes,5,opt,name=baker_restake_earnings_updated,json=bakerRestakeEarningsUpdated,proto3,oneof"` }
type BakerEvent_BakerSetBakingRewardCommission ¶
type BakerEvent_BakerSetBakingRewardCommission struct { // Baker's id BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // The baking reward commission BakingRewardCommission *AmountFraction `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Updated baking reward commission for baker pool
func (*BakerEvent_BakerSetBakingRewardCommission) Descriptor
deprecated
func (*BakerEvent_BakerSetBakingRewardCommission) Descriptor() ([]byte, []int)
Deprecated: Use BakerEvent_BakerSetBakingRewardCommission.ProtoReflect.Descriptor instead.
func (*BakerEvent_BakerSetBakingRewardCommission) GetBakerId ¶
func (x *BakerEvent_BakerSetBakingRewardCommission) GetBakerId() *BakerId
func (*BakerEvent_BakerSetBakingRewardCommission) GetBakingRewardCommission ¶
func (x *BakerEvent_BakerSetBakingRewardCommission) GetBakingRewardCommission() *AmountFraction
func (*BakerEvent_BakerSetBakingRewardCommission) ProtoMessage ¶
func (*BakerEvent_BakerSetBakingRewardCommission) ProtoMessage()
func (*BakerEvent_BakerSetBakingRewardCommission) ProtoReflect ¶
func (x *BakerEvent_BakerSetBakingRewardCommission) ProtoReflect() protoreflect.Message
func (*BakerEvent_BakerSetBakingRewardCommission) Reset ¶
func (x *BakerEvent_BakerSetBakingRewardCommission) Reset()
func (*BakerEvent_BakerSetBakingRewardCommission) String ¶
func (x *BakerEvent_BakerSetBakingRewardCommission) String() string
type BakerEvent_BakerSetBakingRewardCommission_ ¶
type BakerEvent_BakerSetBakingRewardCommission_ struct { // The baker's baking reward commission was updated. BakerSetBakingRewardCommission *BakerEvent_BakerSetBakingRewardCommission `protobuf:"bytes,10,opt,name=baker_set_baking_reward_commission,json=bakerSetBakingRewardCommission,proto3,oneof"` }
type BakerEvent_BakerSetFinalizationRewardCommission ¶
type BakerEvent_BakerSetFinalizationRewardCommission struct { // Baker's id BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // The finalization reward commission FinalizationRewardCommission *AmountFraction `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
Updated finalization reward commission for baker pool
func (*BakerEvent_BakerSetFinalizationRewardCommission) Descriptor
deprecated
func (*BakerEvent_BakerSetFinalizationRewardCommission) Descriptor() ([]byte, []int)
Deprecated: Use BakerEvent_BakerSetFinalizationRewardCommission.ProtoReflect.Descriptor instead.
func (*BakerEvent_BakerSetFinalizationRewardCommission) GetBakerId ¶
func (x *BakerEvent_BakerSetFinalizationRewardCommission) GetBakerId() *BakerId
func (*BakerEvent_BakerSetFinalizationRewardCommission) GetFinalizationRewardCommission ¶
func (x *BakerEvent_BakerSetFinalizationRewardCommission) GetFinalizationRewardCommission() *AmountFraction
func (*BakerEvent_BakerSetFinalizationRewardCommission) ProtoMessage ¶
func (*BakerEvent_BakerSetFinalizationRewardCommission) ProtoMessage()
func (*BakerEvent_BakerSetFinalizationRewardCommission) ProtoReflect ¶
func (x *BakerEvent_BakerSetFinalizationRewardCommission) ProtoReflect() protoreflect.Message
func (*BakerEvent_BakerSetFinalizationRewardCommission) Reset ¶
func (x *BakerEvent_BakerSetFinalizationRewardCommission) Reset()
func (*BakerEvent_BakerSetFinalizationRewardCommission) String ¶
func (x *BakerEvent_BakerSetFinalizationRewardCommission) String() string
type BakerEvent_BakerSetFinalizationRewardCommission_ ¶
type BakerEvent_BakerSetFinalizationRewardCommission_ struct { // The baker's finalization reward commission was updated. BakerSetFinalizationRewardCommission *BakerEvent_BakerSetFinalizationRewardCommission `protobuf:"bytes,11,opt,name=baker_set_finalization_reward_commission,json=bakerSetFinalizationRewardCommission,proto3,oneof"` }
type BakerEvent_BakerSetMetadataUrl ¶
type BakerEvent_BakerSetMetadataUrl struct { // Baker's id. BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // The URL. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
Updated metadata url for a baker pool.
func (*BakerEvent_BakerSetMetadataUrl) Descriptor
deprecated
func (*BakerEvent_BakerSetMetadataUrl) Descriptor() ([]byte, []int)
Deprecated: Use BakerEvent_BakerSetMetadataUrl.ProtoReflect.Descriptor instead.
func (*BakerEvent_BakerSetMetadataUrl) GetBakerId ¶
func (x *BakerEvent_BakerSetMetadataUrl) GetBakerId() *BakerId
func (*BakerEvent_BakerSetMetadataUrl) GetUrl ¶
func (x *BakerEvent_BakerSetMetadataUrl) GetUrl() string
func (*BakerEvent_BakerSetMetadataUrl) ProtoMessage ¶
func (*BakerEvent_BakerSetMetadataUrl) ProtoMessage()
func (*BakerEvent_BakerSetMetadataUrl) ProtoReflect ¶
func (x *BakerEvent_BakerSetMetadataUrl) ProtoReflect() protoreflect.Message
func (*BakerEvent_BakerSetMetadataUrl) Reset ¶
func (x *BakerEvent_BakerSetMetadataUrl) Reset()
func (*BakerEvent_BakerSetMetadataUrl) String ¶
func (x *BakerEvent_BakerSetMetadataUrl) String() string
type BakerEvent_BakerSetMetadataUrl_ ¶
type BakerEvent_BakerSetMetadataUrl_ struct { // The baker's metadata URL was updated. BakerSetMetadataUrl *BakerEvent_BakerSetMetadataUrl `protobuf:"bytes,8,opt,name=baker_set_metadata_url,json=bakerSetMetadataUrl,proto3,oneof"` }
type BakerEvent_BakerSetOpenStatus ¶
type BakerEvent_BakerSetOpenStatus struct { // Baker's id. BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // The new open status. OpenStatus OpenStatus `protobuf:"varint,2,opt,name=open_status,json=openStatus,proto3,enum=concordium.v2.OpenStatus" json:"open_status,omitempty"` // contains filtered or unexported fields }
Updated open status for a baker pool.
func (*BakerEvent_BakerSetOpenStatus) Descriptor
deprecated
func (*BakerEvent_BakerSetOpenStatus) Descriptor() ([]byte, []int)
Deprecated: Use BakerEvent_BakerSetOpenStatus.ProtoReflect.Descriptor instead.
func (*BakerEvent_BakerSetOpenStatus) GetBakerId ¶
func (x *BakerEvent_BakerSetOpenStatus) GetBakerId() *BakerId
func (*BakerEvent_BakerSetOpenStatus) GetOpenStatus ¶
func (x *BakerEvent_BakerSetOpenStatus) GetOpenStatus() OpenStatus
func (*BakerEvent_BakerSetOpenStatus) ProtoMessage ¶
func (*BakerEvent_BakerSetOpenStatus) ProtoMessage()
func (*BakerEvent_BakerSetOpenStatus) ProtoReflect ¶
func (x *BakerEvent_BakerSetOpenStatus) ProtoReflect() protoreflect.Message
func (*BakerEvent_BakerSetOpenStatus) Reset ¶
func (x *BakerEvent_BakerSetOpenStatus) Reset()
func (*BakerEvent_BakerSetOpenStatus) String ¶
func (x *BakerEvent_BakerSetOpenStatus) String() string
type BakerEvent_BakerSetOpenStatus_ ¶
type BakerEvent_BakerSetOpenStatus_ struct { // The baker's open status was updated. BakerSetOpenStatus *BakerEvent_BakerSetOpenStatus `protobuf:"bytes,7,opt,name=baker_set_open_status,json=bakerSetOpenStatus,proto3,oneof"` }
type BakerEvent_BakerSetTransactionFeeCommission ¶
type BakerEvent_BakerSetTransactionFeeCommission struct { // Baker's id. BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // The transaction fee commission. TransactionFeeCommission *AmountFraction `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
Updated transaction fee commission for a baker pool.
func (*BakerEvent_BakerSetTransactionFeeCommission) Descriptor
deprecated
func (*BakerEvent_BakerSetTransactionFeeCommission) Descriptor() ([]byte, []int)
Deprecated: Use BakerEvent_BakerSetTransactionFeeCommission.ProtoReflect.Descriptor instead.
func (*BakerEvent_BakerSetTransactionFeeCommission) GetBakerId ¶
func (x *BakerEvent_BakerSetTransactionFeeCommission) GetBakerId() *BakerId
func (*BakerEvent_BakerSetTransactionFeeCommission) GetTransactionFeeCommission ¶
func (x *BakerEvent_BakerSetTransactionFeeCommission) GetTransactionFeeCommission() *AmountFraction
func (*BakerEvent_BakerSetTransactionFeeCommission) ProtoMessage ¶
func (*BakerEvent_BakerSetTransactionFeeCommission) ProtoMessage()
func (*BakerEvent_BakerSetTransactionFeeCommission) ProtoReflect ¶
func (x *BakerEvent_BakerSetTransactionFeeCommission) ProtoReflect() protoreflect.Message
func (*BakerEvent_BakerSetTransactionFeeCommission) Reset ¶
func (x *BakerEvent_BakerSetTransactionFeeCommission) Reset()
func (*BakerEvent_BakerSetTransactionFeeCommission) String ¶
func (x *BakerEvent_BakerSetTransactionFeeCommission) String() string
type BakerEvent_BakerSetTransactionFeeCommission_ ¶
type BakerEvent_BakerSetTransactionFeeCommission_ struct { // The baker's transaction fee commission was updated. BakerSetTransactionFeeCommission *BakerEvent_BakerSetTransactionFeeCommission `protobuf:"bytes,9,opt,name=baker_set_transaction_fee_commission,json=bakerSetTransactionFeeCommission,proto3,oneof"` }
type BakerEvent_BakerStakeDecreased ¶
type BakerEvent_BakerStakeDecreased struct { // Baker's id. BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // The new stake. NewStake *Amount `protobuf:"bytes,2,opt,name=new_stake,json=newStake,proto3" json:"new_stake,omitempty"` // contains filtered or unexported fields }
func (*BakerEvent_BakerStakeDecreased) Descriptor
deprecated
func (*BakerEvent_BakerStakeDecreased) Descriptor() ([]byte, []int)
Deprecated: Use BakerEvent_BakerStakeDecreased.ProtoReflect.Descriptor instead.
func (*BakerEvent_BakerStakeDecreased) GetBakerId ¶
func (x *BakerEvent_BakerStakeDecreased) GetBakerId() *BakerId
func (*BakerEvent_BakerStakeDecreased) GetNewStake ¶
func (x *BakerEvent_BakerStakeDecreased) GetNewStake() *Amount
func (*BakerEvent_BakerStakeDecreased) ProtoMessage ¶
func (*BakerEvent_BakerStakeDecreased) ProtoMessage()
func (*BakerEvent_BakerStakeDecreased) ProtoReflect ¶
func (x *BakerEvent_BakerStakeDecreased) ProtoReflect() protoreflect.Message
func (*BakerEvent_BakerStakeDecreased) Reset ¶
func (x *BakerEvent_BakerStakeDecreased) Reset()
func (*BakerEvent_BakerStakeDecreased) String ¶
func (x *BakerEvent_BakerStakeDecreased) String() string
type BakerEvent_BakerStakeDecreased_ ¶
type BakerEvent_BakerStakeDecreased_ struct { // The baker's stake was decreased. BakerStakeDecreased *BakerEvent_BakerStakeDecreased `protobuf:"bytes,4,opt,name=baker_stake_decreased,json=bakerStakeDecreased,proto3,oneof"` }
type BakerEvent_BakerStakeIncreased ¶
type BakerEvent_BakerStakeIncreased struct { // Baker's id. BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // The new stake. NewStake *Amount `protobuf:"bytes,2,opt,name=new_stake,json=newStake,proto3" json:"new_stake,omitempty"` // contains filtered or unexported fields }
Baker stake increased.
func (*BakerEvent_BakerStakeIncreased) Descriptor
deprecated
func (*BakerEvent_BakerStakeIncreased) Descriptor() ([]byte, []int)
Deprecated: Use BakerEvent_BakerStakeIncreased.ProtoReflect.Descriptor instead.
func (*BakerEvent_BakerStakeIncreased) GetBakerId ¶
func (x *BakerEvent_BakerStakeIncreased) GetBakerId() *BakerId
func (*BakerEvent_BakerStakeIncreased) GetNewStake ¶
func (x *BakerEvent_BakerStakeIncreased) GetNewStake() *Amount
func (*BakerEvent_BakerStakeIncreased) ProtoMessage ¶
func (*BakerEvent_BakerStakeIncreased) ProtoMessage()
func (*BakerEvent_BakerStakeIncreased) ProtoReflect ¶
func (x *BakerEvent_BakerStakeIncreased) ProtoReflect() protoreflect.Message
func (*BakerEvent_BakerStakeIncreased) Reset ¶
func (x *BakerEvent_BakerStakeIncreased) Reset()
func (*BakerEvent_BakerStakeIncreased) String ¶
func (x *BakerEvent_BakerStakeIncreased) String() string
type BakerEvent_BakerStakeIncreased_ ¶
type BakerEvent_BakerStakeIncreased_ struct { // The baker's stake was increased. BakerStakeIncreased *BakerEvent_BakerStakeIncreased `protobuf:"bytes,3,opt,name=baker_stake_increased,json=bakerStakeIncreased,proto3,oneof"` }
type BakerEvent_DelegationRemoved ¶ added in v0.3.0
type BakerEvent_DelegationRemoved struct { // Delegator's id. DelegatorId *DelegatorId `protobuf:"bytes,1,opt,name=delegator_id,json=delegatorId,proto3" json:"delegator_id,omitempty"` // contains filtered or unexported fields }
Removed an existing delegator.
func (*BakerEvent_DelegationRemoved) Descriptor
deprecated
added in
v0.3.0
func (*BakerEvent_DelegationRemoved) Descriptor() ([]byte, []int)
Deprecated: Use BakerEvent_DelegationRemoved.ProtoReflect.Descriptor instead.
func (*BakerEvent_DelegationRemoved) GetDelegatorId ¶ added in v0.3.0
func (x *BakerEvent_DelegationRemoved) GetDelegatorId() *DelegatorId
func (*BakerEvent_DelegationRemoved) ProtoMessage ¶ added in v0.3.0
func (*BakerEvent_DelegationRemoved) ProtoMessage()
func (*BakerEvent_DelegationRemoved) ProtoReflect ¶ added in v0.3.0
func (x *BakerEvent_DelegationRemoved) ProtoReflect() protoreflect.Message
func (*BakerEvent_DelegationRemoved) Reset ¶ added in v0.3.0
func (x *BakerEvent_DelegationRemoved) Reset()
func (*BakerEvent_DelegationRemoved) String ¶ added in v0.3.0
func (x *BakerEvent_DelegationRemoved) String() string
type BakerEvent_DelegationRemoved_ ¶ added in v0.3.0
type BakerEvent_DelegationRemoved_ struct { // An existing delegator was removed. DelegationRemoved *BakerEvent_DelegationRemoved `protobuf:"bytes,12,opt,name=delegation_removed,json=delegationRemoved,proto3,oneof"` }
type BakerId ¶
type BakerId struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The ID of a baker, which is the index of its account.
func (*BakerId) Descriptor
deprecated
func (*BakerId) ProtoMessage ¶
func (*BakerId) ProtoMessage()
func (*BakerId) ProtoReflect ¶
func (x *BakerId) ProtoReflect() protoreflect.Message
type BakerInfo ¶
type BakerInfo struct { // Identity of the baker. This is actually the account index of // the account controlling the baker. BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // Baker's public key used to check whether they won the lottery or not. ElectionKey *BakerElectionVerifyKey `protobuf:"bytes,2,opt,name=election_key,json=electionKey,proto3" json:"election_key,omitempty"` // Baker's public key used to check that they are indeed the ones who // produced the block. SignatureKey *BakerSignatureVerifyKey `protobuf:"bytes,3,opt,name=signature_key,json=signatureKey,proto3" json:"signature_key,omitempty"` // Baker's public key used to check signatures on finalization records. // This is only used if the baker has sufficient stake to participate in // finalization. AggregationKey *BakerAggregationVerifyKey `protobuf:"bytes,4,opt,name=aggregation_key,json=aggregationKey,proto3" json:"aggregation_key,omitempty"` // contains filtered or unexported fields }
Information about a baker.
func (*BakerInfo) Descriptor
deprecated
func (*BakerInfo) GetAggregationKey ¶
func (x *BakerInfo) GetAggregationKey() *BakerAggregationVerifyKey
func (*BakerInfo) GetBakerId ¶
func (*BakerInfo) GetElectionKey ¶
func (x *BakerInfo) GetElectionKey() *BakerElectionVerifyKey
func (*BakerInfo) GetSignatureKey ¶
func (x *BakerInfo) GetSignatureKey() *BakerSignatureVerifyKey
func (*BakerInfo) ProtoMessage ¶
func (*BakerInfo) ProtoMessage()
func (*BakerInfo) ProtoReflect ¶
func (x *BakerInfo) ProtoReflect() protoreflect.Message
type BakerKeysEvent ¶
type BakerKeysEvent struct { // ID of the baker whose keys were changed. BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // Account address of the baker. Account *AccountAddress `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // The new public key for verifying block signatures. SignKey *BakerSignatureVerifyKey `protobuf:"bytes,3,opt,name=sign_key,json=signKey,proto3" json:"sign_key,omitempty"` // The new public key for verifying whether the baker won the block // lottery. ElectionKey *BakerElectionVerifyKey `protobuf:"bytes,4,opt,name=election_key,json=electionKey,proto3" json:"election_key,omitempty"` // The new public key for verifying finalization records. AggregationKey *BakerAggregationVerifyKey `protobuf:"bytes,5,opt,name=aggregation_key,json=aggregationKey,proto3" json:"aggregation_key,omitempty"` // contains filtered or unexported fields }
Result of a successful change of baker keys.
func (*BakerKeysEvent) Descriptor
deprecated
func (*BakerKeysEvent) Descriptor() ([]byte, []int)
Deprecated: Use BakerKeysEvent.ProtoReflect.Descriptor instead.
func (*BakerKeysEvent) GetAccount ¶
func (x *BakerKeysEvent) GetAccount() *AccountAddress
func (*BakerKeysEvent) GetAggregationKey ¶
func (x *BakerKeysEvent) GetAggregationKey() *BakerAggregationVerifyKey
func (*BakerKeysEvent) GetBakerId ¶
func (x *BakerKeysEvent) GetBakerId() *BakerId
func (*BakerKeysEvent) GetElectionKey ¶
func (x *BakerKeysEvent) GetElectionKey() *BakerElectionVerifyKey
func (*BakerKeysEvent) GetSignKey ¶
func (x *BakerKeysEvent) GetSignKey() *BakerSignatureVerifyKey
func (*BakerKeysEvent) ProtoMessage ¶
func (*BakerKeysEvent) ProtoMessage()
func (*BakerKeysEvent) ProtoReflect ¶
func (x *BakerKeysEvent) ProtoReflect() protoreflect.Message
func (*BakerKeysEvent) Reset ¶
func (x *BakerKeysEvent) Reset()
func (*BakerKeysEvent) String ¶
func (x *BakerKeysEvent) String() string
type BakerPoolInfo ¶
type BakerPoolInfo struct { // Whether the pool allows delegators. OpenStatus OpenStatus `protobuf:"varint,1,opt,name=open_status,json=openStatus,proto3,enum=concordium.v2.OpenStatus" json:"open_status,omitempty"` // The URL that links to the metadata about the pool. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // The commission rates charged by the pool owner. CommissionRates *CommissionRates `protobuf:"bytes,3,opt,name=commission_rates,json=commissionRates,proto3" json:"commission_rates,omitempty"` // contains filtered or unexported fields }
Additional information about a baking pool. This information is added with the introduction of delegation.
func (*BakerPoolInfo) Descriptor
deprecated
func (*BakerPoolInfo) Descriptor() ([]byte, []int)
Deprecated: Use BakerPoolInfo.ProtoReflect.Descriptor instead.
func (*BakerPoolInfo) GetCommissionRates ¶
func (x *BakerPoolInfo) GetCommissionRates() *CommissionRates
func (*BakerPoolInfo) GetOpenStatus ¶
func (x *BakerPoolInfo) GetOpenStatus() OpenStatus
func (*BakerPoolInfo) GetUrl ¶
func (x *BakerPoolInfo) GetUrl() string
func (*BakerPoolInfo) ProtoMessage ¶
func (*BakerPoolInfo) ProtoMessage()
func (*BakerPoolInfo) ProtoReflect ¶
func (x *BakerPoolInfo) ProtoReflect() protoreflect.Message
func (*BakerPoolInfo) Reset ¶
func (x *BakerPoolInfo) Reset()
func (*BakerPoolInfo) String ¶
func (x *BakerPoolInfo) String() string
type BakerRewardPeriodInfo ¶ added in v0.2.0
type BakerRewardPeriodInfo struct { // The baker id and public keys for the baker. Baker *BakerInfo `protobuf:"bytes,1,opt,name=baker,proto3" json:"baker,omitempty"` // The effective stake of the baker for the consensus protocol. // The returned amount accounts for delegation, capital bounds and leverage bounds. EffectiveStake *Amount `protobuf:"bytes,2,opt,name=effective_stake,json=effectiveStake,proto3" json:"effective_stake,omitempty"` // The effective commission rate for the baker that applies for the reward period. CommissionRates *CommissionRates `protobuf:"bytes,3,opt,name=commission_rates,json=commissionRates,proto3" json:"commission_rates,omitempty"` // The amount staked by the baker itself. EquityCapital *Amount `protobuf:"bytes,4,opt,name=equity_capital,json=equityCapital,proto3" json:"equity_capital,omitempty"` // The total amount of capital delegated to this baker pool. DelegatedCapital *Amount `protobuf:"bytes,5,opt,name=delegated_capital,json=delegatedCapital,proto3" json:"delegated_capital,omitempty"` // Whether the baker is a finalizer or not. IsFinalizer bool `protobuf:"varint,6,opt,name=is_finalizer,json=isFinalizer,proto3" json:"is_finalizer,omitempty"` // contains filtered or unexported fields }
Information about a particular baker with respect to the current reward period.
func (*BakerRewardPeriodInfo) Descriptor
deprecated
added in
v0.2.0
func (*BakerRewardPeriodInfo) Descriptor() ([]byte, []int)
Deprecated: Use BakerRewardPeriodInfo.ProtoReflect.Descriptor instead.
func (*BakerRewardPeriodInfo) GetBaker ¶ added in v0.2.0
func (x *BakerRewardPeriodInfo) GetBaker() *BakerInfo
func (*BakerRewardPeriodInfo) GetCommissionRates ¶ added in v0.2.0
func (x *BakerRewardPeriodInfo) GetCommissionRates() *CommissionRates
func (*BakerRewardPeriodInfo) GetDelegatedCapital ¶ added in v0.2.0
func (x *BakerRewardPeriodInfo) GetDelegatedCapital() *Amount
func (*BakerRewardPeriodInfo) GetEffectiveStake ¶ added in v0.2.0
func (x *BakerRewardPeriodInfo) GetEffectiveStake() *Amount
func (*BakerRewardPeriodInfo) GetEquityCapital ¶ added in v0.2.0
func (x *BakerRewardPeriodInfo) GetEquityCapital() *Amount
func (*BakerRewardPeriodInfo) GetIsFinalizer ¶ added in v0.2.0
func (x *BakerRewardPeriodInfo) GetIsFinalizer() bool
func (*BakerRewardPeriodInfo) ProtoMessage ¶ added in v0.2.0
func (*BakerRewardPeriodInfo) ProtoMessage()
func (*BakerRewardPeriodInfo) ProtoReflect ¶ added in v0.2.0
func (x *BakerRewardPeriodInfo) ProtoReflect() protoreflect.Message
func (*BakerRewardPeriodInfo) Reset ¶ added in v0.2.0
func (x *BakerRewardPeriodInfo) Reset()
func (*BakerRewardPeriodInfo) String ¶ added in v0.2.0
func (x *BakerRewardPeriodInfo) String() string
type BakerSignatureVerifyKey ¶
type BakerSignatureVerifyKey struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Baker's public key used to check that they are indeed the ones who produced the block.
func (*BakerSignatureVerifyKey) Descriptor
deprecated
func (*BakerSignatureVerifyKey) Descriptor() ([]byte, []int)
Deprecated: Use BakerSignatureVerifyKey.ProtoReflect.Descriptor instead.
func (*BakerSignatureVerifyKey) GetValue ¶
func (x *BakerSignatureVerifyKey) GetValue() []byte
func (*BakerSignatureVerifyKey) ProtoMessage ¶
func (*BakerSignatureVerifyKey) ProtoMessage()
func (*BakerSignatureVerifyKey) ProtoReflect ¶
func (x *BakerSignatureVerifyKey) ProtoReflect() protoreflect.Message
func (*BakerSignatureVerifyKey) Reset ¶
func (x *BakerSignatureVerifyKey) Reset()
func (*BakerSignatureVerifyKey) String ¶
func (x *BakerSignatureVerifyKey) String() string
type BakerStakeThreshold ¶
type BakerStakeThreshold struct { // Minimum threshold required for registering as a baker. BakerStakeThreshold *Amount `protobuf:"bytes,1,opt,name=baker_stake_threshold,json=bakerStakeThreshold,proto3" json:"baker_stake_threshold,omitempty"` // contains filtered or unexported fields }
Minimum stake needed to become a baker. This only applies to protocol version 1-3.
func (*BakerStakeThreshold) Descriptor
deprecated
func (*BakerStakeThreshold) Descriptor() ([]byte, []int)
Deprecated: Use BakerStakeThreshold.ProtoReflect.Descriptor instead.
func (*BakerStakeThreshold) GetBakerStakeThreshold ¶
func (x *BakerStakeThreshold) GetBakerStakeThreshold() *Amount
func (*BakerStakeThreshold) ProtoMessage ¶
func (*BakerStakeThreshold) ProtoMessage()
func (*BakerStakeThreshold) ProtoReflect ¶
func (x *BakerStakeThreshold) ProtoReflect() protoreflect.Message
func (*BakerStakeThreshold) Reset ¶
func (x *BakerStakeThreshold) Reset()
func (*BakerStakeThreshold) String ¶
func (x *BakerStakeThreshold) String() string
type BakerStakeUpdatedData ¶
type BakerStakeUpdatedData struct { // Affected baker. BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // New stake. NewStake *Amount `protobuf:"bytes,2,opt,name=new_stake,json=newStake,proto3" json:"new_stake,omitempty"` // A boolean which indicates whether it increased // (`true`) or decreased (`false`). Increased bool `protobuf:"varint,3,opt,name=increased,proto3" json:"increased,omitempty"` // contains filtered or unexported fields }
func (*BakerStakeUpdatedData) Descriptor
deprecated
func (*BakerStakeUpdatedData) Descriptor() ([]byte, []int)
Deprecated: Use BakerStakeUpdatedData.ProtoReflect.Descriptor instead.
func (*BakerStakeUpdatedData) GetBakerId ¶
func (x *BakerStakeUpdatedData) GetBakerId() *BakerId
func (*BakerStakeUpdatedData) GetIncreased ¶
func (x *BakerStakeUpdatedData) GetIncreased() bool
func (*BakerStakeUpdatedData) GetNewStake ¶
func (x *BakerStakeUpdatedData) GetNewStake() *Amount
func (*BakerStakeUpdatedData) ProtoMessage ¶
func (*BakerStakeUpdatedData) ProtoMessage()
func (*BakerStakeUpdatedData) ProtoReflect ¶
func (x *BakerStakeUpdatedData) ProtoReflect() protoreflect.Message
func (*BakerStakeUpdatedData) Reset ¶
func (x *BakerStakeUpdatedData) Reset()
func (*BakerStakeUpdatedData) String ¶
func (x *BakerStakeUpdatedData) String() string
type BannedPeer ¶
type BannedPeer struct { // The IP address of the banned peer. IpAddress *IpAddress `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // contains filtered or unexported fields }
A banned peer
func (*BannedPeer) Descriptor
deprecated
func (*BannedPeer) Descriptor() ([]byte, []int)
Deprecated: Use BannedPeer.ProtoReflect.Descriptor instead.
func (*BannedPeer) GetIpAddress ¶
func (x *BannedPeer) GetIpAddress() *IpAddress
func (*BannedPeer) ProtoMessage ¶
func (*BannedPeer) ProtoMessage()
func (*BannedPeer) ProtoReflect ¶
func (x *BannedPeer) ProtoReflect() protoreflect.Message
func (*BannedPeer) Reset ¶
func (x *BannedPeer) Reset()
func (*BannedPeer) String ¶
func (x *BannedPeer) String() string
type BannedPeers ¶
type BannedPeers struct { Peers []*BannedPeer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` // contains filtered or unexported fields }
The banned peers given by their IP addresses.
func (*BannedPeers) Descriptor
deprecated
func (*BannedPeers) Descriptor() ([]byte, []int)
Deprecated: Use BannedPeers.ProtoReflect.Descriptor instead.
func (*BannedPeers) GetPeers ¶
func (x *BannedPeers) GetPeers() []*BannedPeer
func (*BannedPeers) ProtoMessage ¶
func (*BannedPeers) ProtoMessage()
func (*BannedPeers) ProtoReflect ¶
func (x *BannedPeers) ProtoReflect() protoreflect.Message
func (*BannedPeers) Reset ¶
func (x *BannedPeers) Reset()
func (*BannedPeers) String ¶
func (x *BannedPeers) String() string
type BlockCertificates ¶ added in v0.2.0
type BlockCertificates struct { // The quorum certificate. Is present if and only if the block is // not a genesis block. QuorumCertificate *QuorumCertificate `protobuf:"bytes,1,opt,name=quorum_certificate,json=quorumCertificate,proto3,oneof" json:"quorum_certificate,omitempty"` // The timeout certificate. Is present only if the round prior to the // round of the block timed out. TimeoutCertificate *TimeoutCertificate `protobuf:"bytes,2,opt,name=timeout_certificate,json=timeoutCertificate,proto3,oneof" json:"timeout_certificate,omitempty"` // The epoch finalization entry. Is present only if the block initiates // a new epoch. EpochFinalizationEntry *EpochFinalizationEntry `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
Certificates for a block for protocols supporting ConcordiumBFT.
func (*BlockCertificates) Descriptor
deprecated
added in
v0.2.0
func (*BlockCertificates) Descriptor() ([]byte, []int)
Deprecated: Use BlockCertificates.ProtoReflect.Descriptor instead.
func (*BlockCertificates) GetEpochFinalizationEntry ¶ added in v0.2.0
func (x *BlockCertificates) GetEpochFinalizationEntry() *EpochFinalizationEntry
func (*BlockCertificates) GetQuorumCertificate ¶ added in v0.2.0
func (x *BlockCertificates) GetQuorumCertificate() *QuorumCertificate
func (*BlockCertificates) GetTimeoutCertificate ¶ added in v0.2.0
func (x *BlockCertificates) GetTimeoutCertificate() *TimeoutCertificate
func (*BlockCertificates) ProtoMessage ¶ added in v0.2.0
func (*BlockCertificates) ProtoMessage()
func (*BlockCertificates) ProtoReflect ¶ added in v0.2.0
func (x *BlockCertificates) ProtoReflect() protoreflect.Message
func (*BlockCertificates) Reset ¶ added in v0.2.0
func (x *BlockCertificates) Reset()
func (*BlockCertificates) String ¶ added in v0.2.0
func (x *BlockCertificates) String() string
type BlockFinalizationSummary ¶
type BlockFinalizationSummary struct { // Types that are assignable to Summary: // // *BlockFinalizationSummary_None // *BlockFinalizationSummary_Record Summary isBlockFinalizationSummary_Summary `protobuf_oneof:"summary"` // contains filtered or unexported fields }
Finalization summary that may or may not be part of the block.
func (*BlockFinalizationSummary) Descriptor
deprecated
func (*BlockFinalizationSummary) Descriptor() ([]byte, []int)
Deprecated: Use BlockFinalizationSummary.ProtoReflect.Descriptor instead.
func (*BlockFinalizationSummary) GetNone ¶
func (x *BlockFinalizationSummary) GetNone() *Empty
func (*BlockFinalizationSummary) GetRecord ¶
func (x *BlockFinalizationSummary) GetRecord() *FinalizationSummary
func (*BlockFinalizationSummary) GetSummary ¶
func (m *BlockFinalizationSummary) GetSummary() isBlockFinalizationSummary_Summary
func (*BlockFinalizationSummary) ProtoMessage ¶
func (*BlockFinalizationSummary) ProtoMessage()
func (*BlockFinalizationSummary) ProtoReflect ¶
func (x *BlockFinalizationSummary) ProtoReflect() protoreflect.Message
func (*BlockFinalizationSummary) Reset ¶
func (x *BlockFinalizationSummary) Reset()
func (*BlockFinalizationSummary) String ¶
func (x *BlockFinalizationSummary) String() string
type BlockFinalizationSummary_None ¶
type BlockFinalizationSummary_None struct { // There is no finalization data in the block. None *Empty `protobuf:"bytes,1,opt,name=none,proto3,oneof"` }
type BlockFinalizationSummary_Record ¶
type BlockFinalizationSummary_Record struct { // There is a single finalization record with the block. Record *FinalizationSummary `protobuf:"bytes,2,opt,name=record,proto3,oneof"` }
type BlockHash ¶
type BlockHash struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Hash of a block. This is always 32 bytes long.
func (*BlockHash) Descriptor
deprecated
func (*BlockHash) ProtoMessage ¶
func (*BlockHash) ProtoMessage()
func (*BlockHash) ProtoReflect ¶
func (x *BlockHash) ProtoReflect() protoreflect.Message
type BlockHashInput ¶
type BlockHashInput struct { // Types that are assignable to BlockHashInput: // // *BlockHashInput_Best // *BlockHashInput_LastFinal // *BlockHashInput_Given // *BlockHashInput_AbsoluteHeight // *BlockHashInput_RelativeHeight_ BlockHashInput isBlockHashInput_BlockHashInput `protobuf_oneof:"block_hash_input"` // contains filtered or unexported fields }
Input to queries which take a block as a parameter.
func (*BlockHashInput) Descriptor
deprecated
func (*BlockHashInput) Descriptor() ([]byte, []int)
Deprecated: Use BlockHashInput.ProtoReflect.Descriptor instead.
func (*BlockHashInput) GetAbsoluteHeight ¶
func (x *BlockHashInput) GetAbsoluteHeight() *AbsoluteBlockHeight
func (*BlockHashInput) GetBest ¶
func (x *BlockHashInput) GetBest() *Empty
func (*BlockHashInput) GetBlockHashInput ¶
func (m *BlockHashInput) GetBlockHashInput() isBlockHashInput_BlockHashInput
func (*BlockHashInput) GetGiven ¶
func (x *BlockHashInput) GetGiven() *BlockHash
func (*BlockHashInput) GetLastFinal ¶
func (x *BlockHashInput) GetLastFinal() *Empty
func (*BlockHashInput) GetRelativeHeight ¶
func (x *BlockHashInput) GetRelativeHeight() *BlockHashInput_RelativeHeight
func (*BlockHashInput) ProtoMessage ¶
func (*BlockHashInput) ProtoMessage()
func (*BlockHashInput) ProtoReflect ¶
func (x *BlockHashInput) ProtoReflect() protoreflect.Message
func (*BlockHashInput) Reset ¶
func (x *BlockHashInput) Reset()
func (*BlockHashInput) String ¶
func (x *BlockHashInput) String() string
type BlockHashInput_AbsoluteHeight ¶
type BlockHashInput_AbsoluteHeight struct { // Query for a block at absolute height, if a unique block can be identified at that height. AbsoluteHeight *AbsoluteBlockHeight `protobuf:"bytes,4,opt,name=absolute_height,json=absoluteHeight,proto3,oneof"` }
type BlockHashInput_Best ¶
type BlockHashInput_Best struct { // Query for the best block. Best *Empty `protobuf:"bytes,1,opt,name=best,proto3,oneof"` }
type BlockHashInput_Given ¶
type BlockHashInput_Given struct { // Query for the block specified by the hash. This hash should always be 32 bytes. Given *BlockHash `protobuf:"bytes,3,opt,name=given,proto3,oneof"` }
type BlockHashInput_LastFinal ¶
type BlockHashInput_LastFinal struct { // Query for the last finalized block. LastFinal *Empty `protobuf:"bytes,2,opt,name=last_final,json=lastFinal,proto3,oneof"` }
type BlockHashInput_RelativeHeight ¶
type BlockHashInput_RelativeHeight struct { // Genesis index to start from. GenesisIndex *GenesisIndex `protobuf:"bytes,1,opt,name=genesis_index,json=genesisIndex,proto3" json:"genesis_index,omitempty"` // Height starting from the genesis block at the genesis index. Height *BlockHeight `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"` // Whether to return results only from the specified genesis index (`true`), // or allow results from more recent genesis indices as well (`false`). Restrict bool `protobuf:"varint,3,opt,name=restrict,proto3" json:"restrict,omitempty"` // contains filtered or unexported fields }
Request using a relative block height.
func (*BlockHashInput_RelativeHeight) Descriptor
deprecated
func (*BlockHashInput_RelativeHeight) Descriptor() ([]byte, []int)
Deprecated: Use BlockHashInput_RelativeHeight.ProtoReflect.Descriptor instead.
func (*BlockHashInput_RelativeHeight) GetGenesisIndex ¶
func (x *BlockHashInput_RelativeHeight) GetGenesisIndex() *GenesisIndex
func (*BlockHashInput_RelativeHeight) GetHeight ¶
func (x *BlockHashInput_RelativeHeight) GetHeight() *BlockHeight
func (*BlockHashInput_RelativeHeight) GetRestrict ¶
func (x *BlockHashInput_RelativeHeight) GetRestrict() bool
func (*BlockHashInput_RelativeHeight) ProtoMessage ¶
func (*BlockHashInput_RelativeHeight) ProtoMessage()
func (*BlockHashInput_RelativeHeight) ProtoReflect ¶
func (x *BlockHashInput_RelativeHeight) ProtoReflect() protoreflect.Message
func (*BlockHashInput_RelativeHeight) Reset ¶
func (x *BlockHashInput_RelativeHeight) Reset()
func (*BlockHashInput_RelativeHeight) String ¶
func (x *BlockHashInput_RelativeHeight) String() string
type BlockHashInput_RelativeHeight_ ¶
type BlockHashInput_RelativeHeight_ struct { // Query for a block at height relative to a genesis index. RelativeHeight *BlockHashInput_RelativeHeight `protobuf:"bytes,5,opt,name=relative_height,json=relativeHeight,proto3,oneof"` }
type BlockHeight ¶
type BlockHeight struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The height of a block relative to the last genesis. This differs from the absolute block height in that it counts height from the last protocol update.
func (*BlockHeight) Descriptor
deprecated
func (*BlockHeight) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeight.ProtoReflect.Descriptor instead.
func (*BlockHeight) GetValue ¶
func (x *BlockHeight) GetValue() uint64
func (*BlockHeight) ProtoMessage ¶
func (*BlockHeight) ProtoMessage()
func (*BlockHeight) ProtoReflect ¶
func (x *BlockHeight) ProtoReflect() protoreflect.Message
func (*BlockHeight) Reset ¶
func (x *BlockHeight) Reset()
func (*BlockHeight) String ¶
func (x *BlockHeight) String() string
type BlockInfo ¶
type BlockInfo struct { // Hash of the block. Hash *BlockHash `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // Absolute height of the block, height 0 is the genesis block. Height *AbsoluteBlockHeight `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"` // The parent block hash. For a re-genesis block, this will be the terminal block of the // previous chain. For the initial genesis block, this will be the hash of the block itself. ParentBlock *BlockHash `protobuf:"bytes,3,opt,name=parent_block,json=parentBlock,proto3" json:"parent_block,omitempty"` // The last finalized block when this block was baked. LastFinalizedBlock *BlockHash `protobuf:"bytes,4,opt,name=last_finalized_block,json=lastFinalizedBlock,proto3" json:"last_finalized_block,omitempty"` // The genesis index for this block. This counts the number of protocol updates that have // preceded this block, and defines the era of the block. GenesisIndex *GenesisIndex `protobuf:"bytes,5,opt,name=genesis_index,json=genesisIndex,proto3" json:"genesis_index,omitempty"` // The height of this block relative to the (re)genesis block of its era. EraBlockHeight *BlockHeight `protobuf:"bytes,6,opt,name=era_block_height,json=eraBlockHeight,proto3" json:"era_block_height,omitempty"` // The time the block was received. ReceiveTime *Timestamp `protobuf:"bytes,7,opt,name=receive_time,json=receiveTime,proto3" json:"receive_time,omitempty"` // The time the block was verified. ArriveTime *Timestamp `protobuf:"bytes,8,opt,name=arrive_time,json=arriveTime,proto3" json:"arrive_time,omitempty"` // The slot number in which the block was baked. Present in protocol versions 1-5. SlotNumber *Slot `protobuf:"bytes,9,opt,name=slot_number,json=slotNumber,proto3,oneof" json:"slot_number,omitempty"` // The time of the slot in which the block was baked. SlotTime *Timestamp `protobuf:"bytes,10,opt,name=slot_time,json=slotTime,proto3" json:"slot_time,omitempty"` // The baker id of account baking this block. Not provided for a genesis block. Baker *BakerId `protobuf:"bytes,11,opt,name=baker,proto3,oneof" json:"baker,omitempty"` // Whether the block is finalized. Finalized bool `protobuf:"varint,12,opt,name=finalized,proto3" json:"finalized,omitempty"` // The number of transactions in the block. TransactionCount uint32 `protobuf:"varint,13,opt,name=transaction_count,json=transactionCount,proto3" json:"transaction_count,omitempty"` // The energy cost of the transactions in the block. TransactionsEnergyCost *Energy `` /* 130-byte string literal not displayed */ // The total byte size of all transactions in the block. TransactionsSize uint32 `protobuf:"varint,15,opt,name=transactions_size,json=transactionsSize,proto3" json:"transactions_size,omitempty"` // The hash of the block state after this block. StateHash *StateHash `protobuf:"bytes,16,opt,name=state_hash,json=stateHash,proto3" json:"state_hash,omitempty"` // Protocol version to which the block belongs. ProtocolVersion ProtocolVersion `` /* 143-byte string literal not displayed */ // Block round. Present from protocol version 6. Round *Round `protobuf:"bytes,18,opt,name=round,proto3,oneof" json:"round,omitempty"` // Block epoch. Present from protocol version 6. Epoch *Epoch `protobuf:"bytes,19,opt,name=epoch,proto3,oneof" json:"epoch,omitempty"` // contains filtered or unexported fields }
The response for GetBlockInfo.
func (*BlockInfo) Descriptor
deprecated
func (*BlockInfo) GetArriveTime ¶
func (*BlockInfo) GetEraBlockHeight ¶
func (x *BlockInfo) GetEraBlockHeight() *BlockHeight
func (*BlockInfo) GetFinalized ¶
func (*BlockInfo) GetGenesisIndex ¶
func (x *BlockInfo) GetGenesisIndex() *GenesisIndex
func (*BlockInfo) GetHeight ¶
func (x *BlockInfo) GetHeight() *AbsoluteBlockHeight
func (*BlockInfo) GetLastFinalizedBlock ¶
func (*BlockInfo) GetParentBlock ¶
func (*BlockInfo) GetProtocolVersion ¶
func (x *BlockInfo) GetProtocolVersion() ProtocolVersion
func (*BlockInfo) GetReceiveTime ¶
func (*BlockInfo) GetSlotNumber ¶
func (*BlockInfo) GetSlotTime ¶
func (*BlockInfo) GetStateHash ¶
func (*BlockInfo) GetTransactionCount ¶
func (*BlockInfo) GetTransactionsEnergyCost ¶
func (*BlockInfo) GetTransactionsSize ¶
func (*BlockInfo) ProtoMessage ¶
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) ProtoReflect ¶
func (x *BlockInfo) ProtoReflect() protoreflect.Message
type BlockItem ¶
type BlockItem struct { // The hash of the block item that identifies it to the chain. Hash *TransactionHash `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // Types that are assignable to BlockItem: // // *BlockItem_AccountTransaction // *BlockItem_CredentialDeployment // *BlockItem_UpdateInstruction BlockItem isBlockItem_BlockItem `protobuf_oneof:"block_item"` // contains filtered or unexported fields }
func (*BlockItem) Descriptor
deprecated
func (*BlockItem) GetAccountTransaction ¶
func (x *BlockItem) GetAccountTransaction() *AccountTransaction
func (*BlockItem) GetBlockItem ¶
func (m *BlockItem) GetBlockItem() isBlockItem_BlockItem
func (*BlockItem) GetCredentialDeployment ¶
func (x *BlockItem) GetCredentialDeployment() *CredentialDeployment
func (*BlockItem) GetHash ¶
func (x *BlockItem) GetHash() *TransactionHash
func (*BlockItem) GetUpdateInstruction ¶
func (x *BlockItem) GetUpdateInstruction() *UpdateInstruction
func (*BlockItem) ProtoMessage ¶
func (*BlockItem) ProtoMessage()
func (*BlockItem) ProtoReflect ¶
func (x *BlockItem) ProtoReflect() protoreflect.Message
type BlockItemStatus ¶
type BlockItemStatus struct { // Types that are assignable to Status: // // *BlockItemStatus_Received // *BlockItemStatus_Committed_ // *BlockItemStatus_Finalized_ Status isBlockItemStatus_Status `protobuf_oneof:"status"` // contains filtered or unexported fields }
Status of a block item known to the node.
func (*BlockItemStatus) Descriptor
deprecated
func (*BlockItemStatus) Descriptor() ([]byte, []int)
Deprecated: Use BlockItemStatus.ProtoReflect.Descriptor instead.
func (*BlockItemStatus) GetCommitted ¶
func (x *BlockItemStatus) GetCommitted() *BlockItemStatus_Committed
func (*BlockItemStatus) GetFinalized ¶
func (x *BlockItemStatus) GetFinalized() *BlockItemStatus_Finalized
func (*BlockItemStatus) GetReceived ¶
func (x *BlockItemStatus) GetReceived() *Empty
func (*BlockItemStatus) GetStatus ¶
func (m *BlockItemStatus) GetStatus() isBlockItemStatus_Status
func (*BlockItemStatus) ProtoMessage ¶
func (*BlockItemStatus) ProtoMessage()
func (*BlockItemStatus) ProtoReflect ¶
func (x *BlockItemStatus) ProtoReflect() protoreflect.Message
func (*BlockItemStatus) Reset ¶
func (x *BlockItemStatus) Reset()
func (*BlockItemStatus) String ¶
func (x *BlockItemStatus) String() string
type BlockItemStatus_Committed ¶
type BlockItemStatus_Committed struct { Outcomes []*BlockItemSummaryInBlock `protobuf:"bytes,1,rep,name=outcomes,proto3" json:"outcomes,omitempty"` // contains filtered or unexported fields }
func (*BlockItemStatus_Committed) Descriptor
deprecated
func (*BlockItemStatus_Committed) Descriptor() ([]byte, []int)
Deprecated: Use BlockItemStatus_Committed.ProtoReflect.Descriptor instead.
func (*BlockItemStatus_Committed) GetOutcomes ¶
func (x *BlockItemStatus_Committed) GetOutcomes() []*BlockItemSummaryInBlock
func (*BlockItemStatus_Committed) ProtoMessage ¶
func (*BlockItemStatus_Committed) ProtoMessage()
func (*BlockItemStatus_Committed) ProtoReflect ¶
func (x *BlockItemStatus_Committed) ProtoReflect() protoreflect.Message
func (*BlockItemStatus_Committed) Reset ¶
func (x *BlockItemStatus_Committed) Reset()
func (*BlockItemStatus_Committed) String ¶
func (x *BlockItemStatus_Committed) String() string
type BlockItemStatus_Committed_ ¶
type BlockItemStatus_Committed_ struct { // Block item is committed to one or more blocks. The outcomes are listed // for each block. Note that in the vast majority of cases the outcome of a // transaction should not be dependent on the block it is in, but this // can in principle happen. Committed *BlockItemStatus_Committed `protobuf:"bytes,2,opt,name=committed,proto3,oneof"` }
type BlockItemStatus_Finalized ¶
type BlockItemStatus_Finalized struct { Outcome *BlockItemSummaryInBlock `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"` // contains filtered or unexported fields }
func (*BlockItemStatus_Finalized) Descriptor
deprecated
func (*BlockItemStatus_Finalized) Descriptor() ([]byte, []int)
Deprecated: Use BlockItemStatus_Finalized.ProtoReflect.Descriptor instead.
func (*BlockItemStatus_Finalized) GetOutcome ¶
func (x *BlockItemStatus_Finalized) GetOutcome() *BlockItemSummaryInBlock
func (*BlockItemStatus_Finalized) ProtoMessage ¶
func (*BlockItemStatus_Finalized) ProtoMessage()
func (*BlockItemStatus_Finalized) ProtoReflect ¶
func (x *BlockItemStatus_Finalized) ProtoReflect() protoreflect.Message
func (*BlockItemStatus_Finalized) Reset ¶
func (x *BlockItemStatus_Finalized) Reset()
func (*BlockItemStatus_Finalized) String ¶
func (x *BlockItemStatus_Finalized) String() string
type BlockItemStatus_Finalized_ ¶
type BlockItemStatus_Finalized_ struct { // Block item is finalized in the given block, with the given summary. Finalized *BlockItemStatus_Finalized `protobuf:"bytes,3,opt,name=finalized,proto3,oneof"` }
type BlockItemStatus_Received ¶
type BlockItemStatus_Received struct { // Block item is received, but not yet in any blocks. Received *Empty `protobuf:"bytes,1,opt,name=received,proto3,oneof"` }
type BlockItemSummary ¶
type BlockItemSummary struct { // Index of the transaction in the block where it is included. Index *BlockItemSummary_TransactionIndex `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` // The amount of NRG the transaction cost. EnergyCost *Energy `protobuf:"bytes,2,opt,name=energy_cost,json=energyCost,proto3" json:"energy_cost,omitempty"` // Hash of the transaction. Hash *TransactionHash `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // Details that are specific to different transaction types. // // Types that are assignable to Details: // // *BlockItemSummary_AccountTransaction // *BlockItemSummary_AccountCreation // *BlockItemSummary_Update Details isBlockItemSummary_Details `protobuf_oneof:"details"` // contains filtered or unexported fields }
Summary of the outcome of a block item in structured form. The summary determines which transaction type it was.
func (*BlockItemSummary) Descriptor
deprecated
func (*BlockItemSummary) Descriptor() ([]byte, []int)
Deprecated: Use BlockItemSummary.ProtoReflect.Descriptor instead.
func (*BlockItemSummary) GetAccountCreation ¶
func (x *BlockItemSummary) GetAccountCreation() *AccountCreationDetails
func (*BlockItemSummary) GetAccountTransaction ¶
func (x *BlockItemSummary) GetAccountTransaction() *AccountTransactionDetails
func (*BlockItemSummary) GetDetails ¶
func (m *BlockItemSummary) GetDetails() isBlockItemSummary_Details
func (*BlockItemSummary) GetEnergyCost ¶
func (x *BlockItemSummary) GetEnergyCost() *Energy
func (*BlockItemSummary) GetHash ¶
func (x *BlockItemSummary) GetHash() *TransactionHash
func (*BlockItemSummary) GetIndex ¶
func (x *BlockItemSummary) GetIndex() *BlockItemSummary_TransactionIndex
func (*BlockItemSummary) GetUpdate ¶
func (x *BlockItemSummary) GetUpdate() *UpdateDetails
func (*BlockItemSummary) ProtoMessage ¶
func (*BlockItemSummary) ProtoMessage()
func (*BlockItemSummary) ProtoReflect ¶
func (x *BlockItemSummary) ProtoReflect() protoreflect.Message
func (*BlockItemSummary) Reset ¶
func (x *BlockItemSummary) Reset()
func (*BlockItemSummary) String ¶
func (x *BlockItemSummary) String() string
type BlockItemSummaryInBlock ¶
type BlockItemSummaryInBlock struct { // The block hash. BlockHash *BlockHash `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The block item summary. Outcome *BlockItemSummary `protobuf:"bytes,2,opt,name=outcome,proto3" json:"outcome,omitempty"` // contains filtered or unexported fields }
A block item summary together with a block hash. Used in BlockItemStatus.
func (*BlockItemSummaryInBlock) Descriptor
deprecated
func (*BlockItemSummaryInBlock) Descriptor() ([]byte, []int)
Deprecated: Use BlockItemSummaryInBlock.ProtoReflect.Descriptor instead.
func (*BlockItemSummaryInBlock) GetBlockHash ¶
func (x *BlockItemSummaryInBlock) GetBlockHash() *BlockHash
func (*BlockItemSummaryInBlock) GetOutcome ¶
func (x *BlockItemSummaryInBlock) GetOutcome() *BlockItemSummary
func (*BlockItemSummaryInBlock) ProtoMessage ¶
func (*BlockItemSummaryInBlock) ProtoMessage()
func (*BlockItemSummaryInBlock) ProtoReflect ¶
func (x *BlockItemSummaryInBlock) ProtoReflect() protoreflect.Message
func (*BlockItemSummaryInBlock) Reset ¶
func (x *BlockItemSummaryInBlock) Reset()
func (*BlockItemSummaryInBlock) String ¶
func (x *BlockItemSummaryInBlock) String() string
type BlockItemSummary_AccountCreation ¶
type BlockItemSummary_AccountCreation struct { // Details about an account creation. AccountCreation *AccountCreationDetails `protobuf:"bytes,5,opt,name=account_creation,json=accountCreation,proto3,oneof"` }
type BlockItemSummary_AccountTransaction ¶
type BlockItemSummary_AccountTransaction struct { // Details about an account transaction. AccountTransaction *AccountTransactionDetails `protobuf:"bytes,4,opt,name=account_transaction,json=accountTransaction,proto3,oneof"` }
type BlockItemSummary_TransactionIndex ¶
type BlockItemSummary_TransactionIndex struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*BlockItemSummary_TransactionIndex) Descriptor
deprecated
func (*BlockItemSummary_TransactionIndex) Descriptor() ([]byte, []int)
Deprecated: Use BlockItemSummary_TransactionIndex.ProtoReflect.Descriptor instead.
func (*BlockItemSummary_TransactionIndex) GetValue ¶
func (x *BlockItemSummary_TransactionIndex) GetValue() uint64
func (*BlockItemSummary_TransactionIndex) ProtoMessage ¶
func (*BlockItemSummary_TransactionIndex) ProtoMessage()
func (*BlockItemSummary_TransactionIndex) ProtoReflect ¶
func (x *BlockItemSummary_TransactionIndex) ProtoReflect() protoreflect.Message
func (*BlockItemSummary_TransactionIndex) Reset ¶
func (x *BlockItemSummary_TransactionIndex) Reset()
func (*BlockItemSummary_TransactionIndex) String ¶
func (x *BlockItemSummary_TransactionIndex) String() string
type BlockItemSummary_Update ¶
type BlockItemSummary_Update struct { // Details about a chain update. Update *UpdateDetails `protobuf:"bytes,6,opt,name=update,proto3,oneof"` }
type BlockItem_AccountTransaction ¶
type BlockItem_AccountTransaction struct { // Account transactions are messages which are signed and paid for by an account. AccountTransaction *AccountTransaction `protobuf:"bytes,2,opt,name=account_transaction,json=accountTransaction,proto3,oneof"` }
type BlockItem_CredentialDeployment ¶
type BlockItem_CredentialDeployment struct { // Credential deployments create new accounts. They are not paid for // directly by the sender. Instead, bakers are rewarded by the protocol for // including them. CredentialDeployment *CredentialDeployment `protobuf:"bytes,3,opt,name=credential_deployment,json=credentialDeployment,proto3,oneof"` }
type BlockItem_UpdateInstruction ¶
type BlockItem_UpdateInstruction struct { // Update instructions are messages which can update the chain parameters. Including which keys are allowed // to make future update instructions. UpdateInstruction *UpdateInstruction `protobuf:"bytes,4,opt,name=update_instruction,json=updateInstruction,proto3,oneof"` }
type BlockSpecialEvent ¶
type BlockSpecialEvent struct { // Types that are assignable to Event: // // *BlockSpecialEvent_BakingRewards_ // *BlockSpecialEvent_Mint_ // *BlockSpecialEvent_FinalizationRewards_ // *BlockSpecialEvent_BlockReward_ // *BlockSpecialEvent_PaydayFoundationReward_ // *BlockSpecialEvent_PaydayAccountReward_ // *BlockSpecialEvent_BlockAccrueReward_ // *BlockSpecialEvent_PaydayPoolReward_ Event isBlockSpecialEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
A protocol generated event that is not directly caused by a transaction. This includes minting new CCD, rewarding different bakers and delegators, etc.
func (*BlockSpecialEvent) Descriptor
deprecated
func (*BlockSpecialEvent) Descriptor() ([]byte, []int)
Deprecated: Use BlockSpecialEvent.ProtoReflect.Descriptor instead.
func (*BlockSpecialEvent) GetBakingRewards ¶
func (x *BlockSpecialEvent) GetBakingRewards() *BlockSpecialEvent_BakingRewards
func (*BlockSpecialEvent) GetBlockAccrueReward ¶
func (x *BlockSpecialEvent) GetBlockAccrueReward() *BlockSpecialEvent_BlockAccrueReward
func (*BlockSpecialEvent) GetBlockReward ¶
func (x *BlockSpecialEvent) GetBlockReward() *BlockSpecialEvent_BlockReward
func (*BlockSpecialEvent) GetEvent ¶
func (m *BlockSpecialEvent) GetEvent() isBlockSpecialEvent_Event
func (*BlockSpecialEvent) GetFinalizationRewards ¶
func (x *BlockSpecialEvent) GetFinalizationRewards() *BlockSpecialEvent_FinalizationRewards
func (*BlockSpecialEvent) GetMint ¶
func (x *BlockSpecialEvent) GetMint() *BlockSpecialEvent_Mint
func (*BlockSpecialEvent) GetPaydayAccountReward ¶
func (x *BlockSpecialEvent) GetPaydayAccountReward() *BlockSpecialEvent_PaydayAccountReward
func (*BlockSpecialEvent) GetPaydayFoundationReward ¶
func (x *BlockSpecialEvent) GetPaydayFoundationReward() *BlockSpecialEvent_PaydayFoundationReward
func (*BlockSpecialEvent) GetPaydayPoolReward ¶
func (x *BlockSpecialEvent) GetPaydayPoolReward() *BlockSpecialEvent_PaydayPoolReward
func (*BlockSpecialEvent) ProtoMessage ¶
func (*BlockSpecialEvent) ProtoMessage()
func (*BlockSpecialEvent) ProtoReflect ¶
func (x *BlockSpecialEvent) ProtoReflect() protoreflect.Message
func (*BlockSpecialEvent) Reset ¶
func (x *BlockSpecialEvent) Reset()
func (*BlockSpecialEvent) String ¶
func (x *BlockSpecialEvent) String() string
type BlockSpecialEvent_AccountAmounts ¶
type BlockSpecialEvent_AccountAmounts struct { Entries []*BlockSpecialEvent_AccountAmounts_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
A representation of a mapping from an account address to an amount.
func (*BlockSpecialEvent_AccountAmounts) Descriptor
deprecated
func (*BlockSpecialEvent_AccountAmounts) Descriptor() ([]byte, []int)
Deprecated: Use BlockSpecialEvent_AccountAmounts.ProtoReflect.Descriptor instead.
func (*BlockSpecialEvent_AccountAmounts) GetEntries ¶
func (x *BlockSpecialEvent_AccountAmounts) GetEntries() []*BlockSpecialEvent_AccountAmounts_Entry
func (*BlockSpecialEvent_AccountAmounts) ProtoMessage ¶
func (*BlockSpecialEvent_AccountAmounts) ProtoMessage()
func (*BlockSpecialEvent_AccountAmounts) ProtoReflect ¶
func (x *BlockSpecialEvent_AccountAmounts) ProtoReflect() protoreflect.Message
func (*BlockSpecialEvent_AccountAmounts) Reset ¶
func (x *BlockSpecialEvent_AccountAmounts) Reset()
func (*BlockSpecialEvent_AccountAmounts) String ¶
func (x *BlockSpecialEvent_AccountAmounts) String() string
type BlockSpecialEvent_AccountAmounts_Entry ¶
type BlockSpecialEvent_AccountAmounts_Entry struct { // The key type Account *AccountAddress `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The value type Amount *Amount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
The entry for the map.
func (*BlockSpecialEvent_AccountAmounts_Entry) Descriptor
deprecated
func (*BlockSpecialEvent_AccountAmounts_Entry) Descriptor() ([]byte, []int)
Deprecated: Use BlockSpecialEvent_AccountAmounts_Entry.ProtoReflect.Descriptor instead.
func (*BlockSpecialEvent_AccountAmounts_Entry) GetAccount ¶
func (x *BlockSpecialEvent_AccountAmounts_Entry) GetAccount() *AccountAddress
func (*BlockSpecialEvent_AccountAmounts_Entry) GetAmount ¶
func (x *BlockSpecialEvent_AccountAmounts_Entry) GetAmount() *Amount
func (*BlockSpecialEvent_AccountAmounts_Entry) ProtoMessage ¶
func (*BlockSpecialEvent_AccountAmounts_Entry) ProtoMessage()
func (*BlockSpecialEvent_AccountAmounts_Entry) ProtoReflect ¶
func (x *BlockSpecialEvent_AccountAmounts_Entry) ProtoReflect() protoreflect.Message
func (*BlockSpecialEvent_AccountAmounts_Entry) Reset ¶
func (x *BlockSpecialEvent_AccountAmounts_Entry) Reset()
func (*BlockSpecialEvent_AccountAmounts_Entry) String ¶
func (x *BlockSpecialEvent_AccountAmounts_Entry) String() string
type BlockSpecialEvent_BakingRewards ¶
type BlockSpecialEvent_BakingRewards struct { // The amount awarded to each baker. BakerRewards *BlockSpecialEvent_AccountAmounts `protobuf:"bytes,1,opt,name=baker_rewards,json=bakerRewards,proto3" json:"baker_rewards,omitempty"` // The remaining balance of the baker reward account. Remainder *Amount `protobuf:"bytes,2,opt,name=remainder,proto3" json:"remainder,omitempty"` // contains filtered or unexported fields }
Payment to each baker of a previous epoch, in proportion to the number of blocks they contributed.
func (*BlockSpecialEvent_BakingRewards) Descriptor
deprecated
func (*BlockSpecialEvent_BakingRewards) Descriptor() ([]byte, []int)
Deprecated: Use BlockSpecialEvent_BakingRewards.ProtoReflect.Descriptor instead.
func (*BlockSpecialEvent_BakingRewards) GetBakerRewards ¶
func (x *BlockSpecialEvent_BakingRewards) GetBakerRewards() *BlockSpecialEvent_AccountAmounts
func (*BlockSpecialEvent_BakingRewards) GetRemainder ¶
func (x *BlockSpecialEvent_BakingRewards) GetRemainder() *Amount
func (*BlockSpecialEvent_BakingRewards) ProtoMessage ¶
func (*BlockSpecialEvent_BakingRewards) ProtoMessage()
func (*BlockSpecialEvent_BakingRewards) ProtoReflect ¶
func (x *BlockSpecialEvent_BakingRewards) ProtoReflect() protoreflect.Message
func (*BlockSpecialEvent_BakingRewards) Reset ¶
func (x *BlockSpecialEvent_BakingRewards) Reset()
func (*BlockSpecialEvent_BakingRewards) String ¶
func (x *BlockSpecialEvent_BakingRewards) String() string
type BlockSpecialEvent_BakingRewards_ ¶
type BlockSpecialEvent_BakingRewards_ struct {
BakingRewards *BlockSpecialEvent_BakingRewards `protobuf:"bytes,1,opt,name=baking_rewards,json=bakingRewards,proto3,oneof"`
}
type BlockSpecialEvent_BlockAccrueReward ¶
type BlockSpecialEvent_BlockAccrueReward struct { // The total fees paid for transactions in the block. TransactionFees *Amount `protobuf:"bytes,1,opt,name=transaction_fees,json=transactionFees,proto3" json:"transaction_fees,omitempty"` // The old balance of the GAS account. OldGasAccount *Amount `protobuf:"bytes,2,opt,name=old_gas_account,json=oldGasAccount,proto3" json:"old_gas_account,omitempty"` // The new balance of the GAS account. NewGasAccount *Amount `protobuf:"bytes,3,opt,name=new_gas_account,json=newGasAccount,proto3" json:"new_gas_account,omitempty"` // The amount awarded to the baker. BakerReward *Amount `protobuf:"bytes,4,opt,name=baker_reward,json=bakerReward,proto3" json:"baker_reward,omitempty"` // The amount awarded to the passive delegators. PassiveReward *Amount `protobuf:"bytes,5,opt,name=passive_reward,json=passiveReward,proto3" json:"passive_reward,omitempty"` // The amount awarded to the foundation. FoundationCharge *Amount `protobuf:"bytes,6,opt,name=foundation_charge,json=foundationCharge,proto3" json:"foundation_charge,omitempty"` // The baker of the block, who will receive the award. Baker *BakerId `protobuf:"bytes,7,opt,name=baker,proto3" json:"baker,omitempty"` // contains filtered or unexported fields }
Amounts accrued to accounts for each baked block.
func (*BlockSpecialEvent_BlockAccrueReward) Descriptor
deprecated
func (*BlockSpecialEvent_BlockAccrueReward) Descriptor() ([]byte, []int)
Deprecated: Use BlockSpecialEvent_BlockAccrueReward.ProtoReflect.Descriptor instead.
func (*BlockSpecialEvent_BlockAccrueReward) GetBaker ¶
func (x *BlockSpecialEvent_BlockAccrueReward) GetBaker() *BakerId
func (*BlockSpecialEvent_BlockAccrueReward) GetBakerReward ¶
func (x *BlockSpecialEvent_BlockAccrueReward) GetBakerReward() *Amount
func (*BlockSpecialEvent_BlockAccrueReward) GetFoundationCharge ¶
func (x *BlockSpecialEvent_BlockAccrueReward) GetFoundationCharge() *Amount
func (*BlockSpecialEvent_BlockAccrueReward) GetNewGasAccount ¶
func (x *BlockSpecialEvent_BlockAccrueReward) GetNewGasAccount() *Amount
func (*BlockSpecialEvent_BlockAccrueReward) GetOldGasAccount ¶
func (x *BlockSpecialEvent_BlockAccrueReward) GetOldGasAccount() *Amount
func (*BlockSpecialEvent_BlockAccrueReward) GetPassiveReward ¶
func (x *BlockSpecialEvent_BlockAccrueReward) GetPassiveReward() *Amount
func (*BlockSpecialEvent_BlockAccrueReward) GetTransactionFees ¶
func (x *BlockSpecialEvent_BlockAccrueReward) GetTransactionFees() *Amount
func (*BlockSpecialEvent_BlockAccrueReward) ProtoMessage ¶
func (*BlockSpecialEvent_BlockAccrueReward) ProtoMessage()
func (*BlockSpecialEvent_BlockAccrueReward) ProtoReflect ¶
func (x *BlockSpecialEvent_BlockAccrueReward) ProtoReflect() protoreflect.Message
func (*BlockSpecialEvent_BlockAccrueReward) Reset ¶
func (x *BlockSpecialEvent_BlockAccrueReward) Reset()
func (*BlockSpecialEvent_BlockAccrueReward) String ¶
func (x *BlockSpecialEvent_BlockAccrueReward) String() string
type BlockSpecialEvent_BlockAccrueReward_ ¶
type BlockSpecialEvent_BlockAccrueReward_ struct {
BlockAccrueReward *BlockSpecialEvent_BlockAccrueReward `protobuf:"bytes,7,opt,name=block_accrue_reward,json=blockAccrueReward,proto3,oneof"`
}
type BlockSpecialEvent_BlockReward ¶
type BlockSpecialEvent_BlockReward struct { // The total fees paid for transactions in the block. TransactionFees *Amount `protobuf:"bytes,1,opt,name=transaction_fees,json=transactionFees,proto3" json:"transaction_fees,omitempty"` // The old balance of the GAS account. OldGasAccount *Amount `protobuf:"bytes,2,opt,name=old_gas_account,json=oldGasAccount,proto3" json:"old_gas_account,omitempty"` // The new balance of the GAS account. NewGasAccount *Amount `protobuf:"bytes,3,opt,name=new_gas_account,json=newGasAccount,proto3" json:"new_gas_account,omitempty"` // The amount awarded to the baker. BakerReward *Amount `protobuf:"bytes,4,opt,name=baker_reward,json=bakerReward,proto3" json:"baker_reward,omitempty"` // The amount awarded to the foundation. FoundationCharge *Amount `protobuf:"bytes,5,opt,name=foundation_charge,json=foundationCharge,proto3" json:"foundation_charge,omitempty"` // The baker of the block, who receives the award. Baker *AccountAddress `protobuf:"bytes,6,opt,name=baker,proto3" json:"baker,omitempty"` // The foundation account. FoundationAccount *AccountAddress `protobuf:"bytes,7,opt,name=foundation_account,json=foundationAccount,proto3" json:"foundation_account,omitempty"` // contains filtered or unexported fields }
Disbursement of fees from a block between the GAS account, the baker, and the foundation. It should always be that:
```transaction_fees + old_gas_account = new_gas_account + baker_reward + foundation_charge```
func (*BlockSpecialEvent_BlockReward) Descriptor
deprecated
func (*BlockSpecialEvent_BlockReward) Descriptor() ([]byte, []int)
Deprecated: Use BlockSpecialEvent_BlockReward.ProtoReflect.Descriptor instead.
func (*BlockSpecialEvent_BlockReward) GetBaker ¶
func (x *BlockSpecialEvent_BlockReward) GetBaker() *AccountAddress
func (*BlockSpecialEvent_BlockReward) GetBakerReward ¶
func (x *BlockSpecialEvent_BlockReward) GetBakerReward() *Amount
func (*BlockSpecialEvent_BlockReward) GetFoundationAccount ¶
func (x *BlockSpecialEvent_BlockReward) GetFoundationAccount() *AccountAddress
func (*BlockSpecialEvent_BlockReward) GetFoundationCharge ¶
func (x *BlockSpecialEvent_BlockReward) GetFoundationCharge() *Amount
func (*BlockSpecialEvent_BlockReward) GetNewGasAccount ¶
func (x *BlockSpecialEvent_BlockReward) GetNewGasAccount() *Amount
func (*BlockSpecialEvent_BlockReward) GetOldGasAccount ¶
func (x *BlockSpecialEvent_BlockReward) GetOldGasAccount() *Amount
func (*BlockSpecialEvent_BlockReward) GetTransactionFees ¶
func (x *BlockSpecialEvent_BlockReward) GetTransactionFees() *Amount
func (*BlockSpecialEvent_BlockReward) ProtoMessage ¶
func (*BlockSpecialEvent_BlockReward) ProtoMessage()
func (*BlockSpecialEvent_BlockReward) ProtoReflect ¶
func (x *BlockSpecialEvent_BlockReward) ProtoReflect() protoreflect.Message
func (*BlockSpecialEvent_BlockReward) Reset ¶
func (x *BlockSpecialEvent_BlockReward) Reset()
func (*BlockSpecialEvent_BlockReward) String ¶
func (x *BlockSpecialEvent_BlockReward) String() string
type BlockSpecialEvent_BlockReward_ ¶
type BlockSpecialEvent_BlockReward_ struct {
BlockReward *BlockSpecialEvent_BlockReward `protobuf:"bytes,4,opt,name=block_reward,json=blockReward,proto3,oneof"`
}
type BlockSpecialEvent_FinalizationRewards ¶
type BlockSpecialEvent_FinalizationRewards struct { // The amount awarded to each finalizer. FinalizationRewards *BlockSpecialEvent_AccountAmounts `protobuf:"bytes,1,opt,name=finalization_rewards,json=finalizationRewards,proto3" json:"finalization_rewards,omitempty"` // The remaining balance of the finalization reward account. Remainder *Amount `protobuf:"bytes,2,opt,name=remainder,proto3" json:"remainder,omitempty"` // contains filtered or unexported fields }
Payment to each finalizer on inclusion of a finalization record in a block.
func (*BlockSpecialEvent_FinalizationRewards) Descriptor
deprecated
func (*BlockSpecialEvent_FinalizationRewards) Descriptor() ([]byte, []int)
Deprecated: Use BlockSpecialEvent_FinalizationRewards.ProtoReflect.Descriptor instead.
func (*BlockSpecialEvent_FinalizationRewards) GetFinalizationRewards ¶
func (x *BlockSpecialEvent_FinalizationRewards) GetFinalizationRewards() *BlockSpecialEvent_AccountAmounts
func (*BlockSpecialEvent_FinalizationRewards) GetRemainder ¶
func (x *BlockSpecialEvent_FinalizationRewards) GetRemainder() *Amount
func (*BlockSpecialEvent_FinalizationRewards) ProtoMessage ¶
func (*BlockSpecialEvent_FinalizationRewards) ProtoMessage()
func (*BlockSpecialEvent_FinalizationRewards) ProtoReflect ¶
func (x *BlockSpecialEvent_FinalizationRewards) ProtoReflect() protoreflect.Message
func (*BlockSpecialEvent_FinalizationRewards) Reset ¶
func (x *BlockSpecialEvent_FinalizationRewards) Reset()
func (*BlockSpecialEvent_FinalizationRewards) String ¶
func (x *BlockSpecialEvent_FinalizationRewards) String() string
type BlockSpecialEvent_FinalizationRewards_ ¶
type BlockSpecialEvent_FinalizationRewards_ struct {
FinalizationRewards *BlockSpecialEvent_FinalizationRewards `protobuf:"bytes,3,opt,name=finalization_rewards,json=finalizationRewards,proto3,oneof"`
}
type BlockSpecialEvent_Mint ¶
type BlockSpecialEvent_Mint struct { // The amount allocated to the banking reward account. MintBakingReward *Amount `protobuf:"bytes,1,opt,name=mint_baking_reward,json=mintBakingReward,proto3" json:"mint_baking_reward,omitempty"` // The amount allocated to the finalization reward account. MintFinalizationReward *Amount `` /* 129-byte string literal not displayed */ // The amount allocated as the platform development charge. MintPlatformDevelopmentCharge *Amount `` /* 152-byte string literal not displayed */ // The account to which the platform development charge is paid. FoundationAccount *AccountAddress `protobuf:"bytes,4,opt,name=foundation_account,json=foundationAccount,proto3" json:"foundation_account,omitempty"` // contains filtered or unexported fields }
Minting of new CCD.
func (*BlockSpecialEvent_Mint) Descriptor
deprecated
func (*BlockSpecialEvent_Mint) Descriptor() ([]byte, []int)
Deprecated: Use BlockSpecialEvent_Mint.ProtoReflect.Descriptor instead.
func (*BlockSpecialEvent_Mint) GetFoundationAccount ¶
func (x *BlockSpecialEvent_Mint) GetFoundationAccount() *AccountAddress
func (*BlockSpecialEvent_Mint) GetMintBakingReward ¶
func (x *BlockSpecialEvent_Mint) GetMintBakingReward() *Amount
func (*BlockSpecialEvent_Mint) GetMintFinalizationReward ¶
func (x *BlockSpecialEvent_Mint) GetMintFinalizationReward() *Amount
func (*BlockSpecialEvent_Mint) GetMintPlatformDevelopmentCharge ¶
func (x *BlockSpecialEvent_Mint) GetMintPlatformDevelopmentCharge() *Amount
func (*BlockSpecialEvent_Mint) ProtoMessage ¶
func (*BlockSpecialEvent_Mint) ProtoMessage()
func (*BlockSpecialEvent_Mint) ProtoReflect ¶
func (x *BlockSpecialEvent_Mint) ProtoReflect() protoreflect.Message
func (*BlockSpecialEvent_Mint) Reset ¶
func (x *BlockSpecialEvent_Mint) Reset()
func (*BlockSpecialEvent_Mint) String ¶
func (x *BlockSpecialEvent_Mint) String() string
type BlockSpecialEvent_Mint_ ¶
type BlockSpecialEvent_Mint_ struct {
Mint *BlockSpecialEvent_Mint `protobuf:"bytes,2,opt,name=mint,proto3,oneof"`
}
type BlockSpecialEvent_PaydayAccountReward ¶
type BlockSpecialEvent_PaydayAccountReward struct { // The account that got rewarded. Account *AccountAddress `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The transaction fee reward at payday to the account. TransactionFees *Amount `protobuf:"bytes,2,opt,name=transaction_fees,json=transactionFees,proto3" json:"transaction_fees,omitempty"` // The baking reward at payday to the account. BakerReward *Amount `protobuf:"bytes,3,opt,name=baker_reward,json=bakerReward,proto3" json:"baker_reward,omitempty"` // The finalization reward at payday to the account. FinalizationReward *Amount `protobuf:"bytes,4,opt,name=finalization_reward,json=finalizationReward,proto3" json:"finalization_reward,omitempty"` // contains filtered or unexported fields }
Reward payment to the given account.
func (*BlockSpecialEvent_PaydayAccountReward) Descriptor
deprecated
func (*BlockSpecialEvent_PaydayAccountReward) Descriptor() ([]byte, []int)
Deprecated: Use BlockSpecialEvent_PaydayAccountReward.ProtoReflect.Descriptor instead.
func (*BlockSpecialEvent_PaydayAccountReward) GetAccount ¶
func (x *BlockSpecialEvent_PaydayAccountReward) GetAccount() *AccountAddress
func (*BlockSpecialEvent_PaydayAccountReward) GetBakerReward ¶
func (x *BlockSpecialEvent_PaydayAccountReward) GetBakerReward() *Amount
func (*BlockSpecialEvent_PaydayAccountReward) GetFinalizationReward ¶
func (x *BlockSpecialEvent_PaydayAccountReward) GetFinalizationReward() *Amount
func (*BlockSpecialEvent_PaydayAccountReward) GetTransactionFees ¶
func (x *BlockSpecialEvent_PaydayAccountReward) GetTransactionFees() *Amount
func (*BlockSpecialEvent_PaydayAccountReward) ProtoMessage ¶
func (*BlockSpecialEvent_PaydayAccountReward) ProtoMessage()
func (*BlockSpecialEvent_PaydayAccountReward) ProtoReflect ¶
func (x *BlockSpecialEvent_PaydayAccountReward) ProtoReflect() protoreflect.Message
func (*BlockSpecialEvent_PaydayAccountReward) Reset ¶
func (x *BlockSpecialEvent_PaydayAccountReward) Reset()
func (*BlockSpecialEvent_PaydayAccountReward) String ¶
func (x *BlockSpecialEvent_PaydayAccountReward) String() string
type BlockSpecialEvent_PaydayAccountReward_ ¶
type BlockSpecialEvent_PaydayAccountReward_ struct {
PaydayAccountReward *BlockSpecialEvent_PaydayAccountReward `protobuf:"bytes,6,opt,name=payday_account_reward,json=paydayAccountReward,proto3,oneof"`
}
type BlockSpecialEvent_PaydayFoundationReward ¶
type BlockSpecialEvent_PaydayFoundationReward struct { // The account that got rewarded. FoundationAccount *AccountAddress `protobuf:"bytes,1,opt,name=foundation_account,json=foundationAccount,proto3" json:"foundation_account,omitempty"` // The transaction fee reward at payday to the account. DevelopmentCharge *Amount `protobuf:"bytes,2,opt,name=development_charge,json=developmentCharge,proto3" json:"development_charge,omitempty"` // contains filtered or unexported fields }
Foundation tax.
func (*BlockSpecialEvent_PaydayFoundationReward) Descriptor
deprecated
func (*BlockSpecialEvent_PaydayFoundationReward) Descriptor() ([]byte, []int)
Deprecated: Use BlockSpecialEvent_PaydayFoundationReward.ProtoReflect.Descriptor instead.
func (*BlockSpecialEvent_PaydayFoundationReward) GetDevelopmentCharge ¶
func (x *BlockSpecialEvent_PaydayFoundationReward) GetDevelopmentCharge() *Amount
func (*BlockSpecialEvent_PaydayFoundationReward) GetFoundationAccount ¶
func (x *BlockSpecialEvent_PaydayFoundationReward) GetFoundationAccount() *AccountAddress
func (*BlockSpecialEvent_PaydayFoundationReward) ProtoMessage ¶
func (*BlockSpecialEvent_PaydayFoundationReward) ProtoMessage()
func (*BlockSpecialEvent_PaydayFoundationReward) ProtoReflect ¶
func (x *BlockSpecialEvent_PaydayFoundationReward) ProtoReflect() protoreflect.Message
func (*BlockSpecialEvent_PaydayFoundationReward) Reset ¶
func (x *BlockSpecialEvent_PaydayFoundationReward) Reset()
func (*BlockSpecialEvent_PaydayFoundationReward) String ¶
func (x *BlockSpecialEvent_PaydayFoundationReward) String() string
type BlockSpecialEvent_PaydayFoundationReward_ ¶
type BlockSpecialEvent_PaydayFoundationReward_ struct {
PaydayFoundationReward *BlockSpecialEvent_PaydayFoundationReward `protobuf:"bytes,5,opt,name=payday_foundation_reward,json=paydayFoundationReward,proto3,oneof"`
}
type BlockSpecialEvent_PaydayPoolReward ¶
type BlockSpecialEvent_PaydayPoolReward struct { // The pool owner (passive delegators when not present). PoolOwner *BakerId `protobuf:"bytes,1,opt,name=pool_owner,json=poolOwner,proto3,oneof" json:"pool_owner,omitempty"` // Accrued transaction fees for pool. TransactionFees *Amount `protobuf:"bytes,2,opt,name=transaction_fees,json=transactionFees,proto3" json:"transaction_fees,omitempty"` // Accrued baking rewards for pool. BakerReward *Amount `protobuf:"bytes,3,opt,name=baker_reward,json=bakerReward,proto3" json:"baker_reward,omitempty"` // Accrued finalization rewards for pool. FinalizationReward *Amount `protobuf:"bytes,4,opt,name=finalization_reward,json=finalizationReward,proto3" json:"finalization_reward,omitempty"` // contains filtered or unexported fields }
Payment distributed to a pool or passive delegators.
func (*BlockSpecialEvent_PaydayPoolReward) Descriptor
deprecated
func (*BlockSpecialEvent_PaydayPoolReward) Descriptor() ([]byte, []int)
Deprecated: Use BlockSpecialEvent_PaydayPoolReward.ProtoReflect.Descriptor instead.
func (*BlockSpecialEvent_PaydayPoolReward) GetBakerReward ¶
func (x *BlockSpecialEvent_PaydayPoolReward) GetBakerReward() *Amount
func (*BlockSpecialEvent_PaydayPoolReward) GetFinalizationReward ¶
func (x *BlockSpecialEvent_PaydayPoolReward) GetFinalizationReward() *Amount
func (*BlockSpecialEvent_PaydayPoolReward) GetPoolOwner ¶
func (x *BlockSpecialEvent_PaydayPoolReward) GetPoolOwner() *BakerId
func (*BlockSpecialEvent_PaydayPoolReward) GetTransactionFees ¶
func (x *BlockSpecialEvent_PaydayPoolReward) GetTransactionFees() *Amount
func (*BlockSpecialEvent_PaydayPoolReward) ProtoMessage ¶
func (*BlockSpecialEvent_PaydayPoolReward) ProtoMessage()
func (*BlockSpecialEvent_PaydayPoolReward) ProtoReflect ¶
func (x *BlockSpecialEvent_PaydayPoolReward) ProtoReflect() protoreflect.Message
func (*BlockSpecialEvent_PaydayPoolReward) Reset ¶
func (x *BlockSpecialEvent_PaydayPoolReward) Reset()
func (*BlockSpecialEvent_PaydayPoolReward) String ¶
func (x *BlockSpecialEvent_PaydayPoolReward) String() string
type BlockSpecialEvent_PaydayPoolReward_ ¶
type BlockSpecialEvent_PaydayPoolReward_ struct {
PaydayPoolReward *BlockSpecialEvent_PaydayPoolReward `protobuf:"bytes,8,opt,name=payday_pool_reward,json=paydayPoolReward,proto3,oneof"`
}
type BlocksAtHeightRequest ¶
type BlocksAtHeightRequest struct { // Types that are assignable to BlocksAtHeight: // // *BlocksAtHeightRequest_Absolute_ // *BlocksAtHeightRequest_Relative_ BlocksAtHeight isBlocksAtHeightRequest_BlocksAtHeight `protobuf_oneof:"blocks_at_height"` // contains filtered or unexported fields }
Request for GetBlocksAtHeight.
func (*BlocksAtHeightRequest) Descriptor
deprecated
func (*BlocksAtHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use BlocksAtHeightRequest.ProtoReflect.Descriptor instead.
func (*BlocksAtHeightRequest) GetAbsolute ¶
func (x *BlocksAtHeightRequest) GetAbsolute() *BlocksAtHeightRequest_Absolute
func (*BlocksAtHeightRequest) GetBlocksAtHeight ¶
func (m *BlocksAtHeightRequest) GetBlocksAtHeight() isBlocksAtHeightRequest_BlocksAtHeight
func (*BlocksAtHeightRequest) GetRelative ¶
func (x *BlocksAtHeightRequest) GetRelative() *BlocksAtHeightRequest_Relative
func (*BlocksAtHeightRequest) ProtoMessage ¶
func (*BlocksAtHeightRequest) ProtoMessage()
func (*BlocksAtHeightRequest) ProtoReflect ¶
func (x *BlocksAtHeightRequest) ProtoReflect() protoreflect.Message
func (*BlocksAtHeightRequest) Reset ¶
func (x *BlocksAtHeightRequest) Reset()
func (*BlocksAtHeightRequest) String ¶
func (x *BlocksAtHeightRequest) String() string
type BlocksAtHeightRequest_Absolute ¶
type BlocksAtHeightRequest_Absolute struct { // The absolute block height. Height *AbsoluteBlockHeight `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
Request using an absolute block height.
func (*BlocksAtHeightRequest_Absolute) Descriptor
deprecated
func (*BlocksAtHeightRequest_Absolute) Descriptor() ([]byte, []int)
Deprecated: Use BlocksAtHeightRequest_Absolute.ProtoReflect.Descriptor instead.
func (*BlocksAtHeightRequest_Absolute) GetHeight ¶
func (x *BlocksAtHeightRequest_Absolute) GetHeight() *AbsoluteBlockHeight
func (*BlocksAtHeightRequest_Absolute) ProtoMessage ¶
func (*BlocksAtHeightRequest_Absolute) ProtoMessage()
func (*BlocksAtHeightRequest_Absolute) ProtoReflect ¶
func (x *BlocksAtHeightRequest_Absolute) ProtoReflect() protoreflect.Message
func (*BlocksAtHeightRequest_Absolute) Reset ¶
func (x *BlocksAtHeightRequest_Absolute) Reset()
func (*BlocksAtHeightRequest_Absolute) String ¶
func (x *BlocksAtHeightRequest_Absolute) String() string
type BlocksAtHeightRequest_Absolute_ ¶
type BlocksAtHeightRequest_Absolute_ struct {
Absolute *BlocksAtHeightRequest_Absolute `protobuf:"bytes,1,opt,name=absolute,proto3,oneof"`
}
type BlocksAtHeightRequest_Relative ¶
type BlocksAtHeightRequest_Relative struct { // Genesis index to start from. GenesisIndex *GenesisIndex `protobuf:"bytes,1,opt,name=genesis_index,json=genesisIndex,proto3" json:"genesis_index,omitempty"` // Height starting from the genesis block at the genesis index. Height *BlockHeight `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"` // Whether to return results only from the specified genesis index (`true`), // or allow results from more recent genesis indices as well (`false`). Restrict bool `protobuf:"varint,3,opt,name=restrict,proto3" json:"restrict,omitempty"` // contains filtered or unexported fields }
Request using a relative block height.
func (*BlocksAtHeightRequest_Relative) Descriptor
deprecated
func (*BlocksAtHeightRequest_Relative) Descriptor() ([]byte, []int)
Deprecated: Use BlocksAtHeightRequest_Relative.ProtoReflect.Descriptor instead.
func (*BlocksAtHeightRequest_Relative) GetGenesisIndex ¶
func (x *BlocksAtHeightRequest_Relative) GetGenesisIndex() *GenesisIndex
func (*BlocksAtHeightRequest_Relative) GetHeight ¶
func (x *BlocksAtHeightRequest_Relative) GetHeight() *BlockHeight
func (*BlocksAtHeightRequest_Relative) GetRestrict ¶
func (x *BlocksAtHeightRequest_Relative) GetRestrict() bool
func (*BlocksAtHeightRequest_Relative) ProtoMessage ¶
func (*BlocksAtHeightRequest_Relative) ProtoMessage()
func (*BlocksAtHeightRequest_Relative) ProtoReflect ¶
func (x *BlocksAtHeightRequest_Relative) ProtoReflect() protoreflect.Message
func (*BlocksAtHeightRequest_Relative) Reset ¶
func (x *BlocksAtHeightRequest_Relative) Reset()
func (*BlocksAtHeightRequest_Relative) String ¶
func (x *BlocksAtHeightRequest_Relative) String() string
type BlocksAtHeightRequest_Relative_ ¶
type BlocksAtHeightRequest_Relative_ struct {
Relative *BlocksAtHeightRequest_Relative `protobuf:"bytes,2,opt,name=relative,proto3,oneof"`
}
type BlocksAtHeightResponse ¶
type BlocksAtHeightResponse struct { // Live blocks at the given height. Blocks []*BlockHash `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
Response for GetBlocksAtHeight.
func (*BlocksAtHeightResponse) Descriptor
deprecated
func (*BlocksAtHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use BlocksAtHeightResponse.ProtoReflect.Descriptor instead.
func (*BlocksAtHeightResponse) GetBlocks ¶
func (x *BlocksAtHeightResponse) GetBlocks() []*BlockHash
func (*BlocksAtHeightResponse) ProtoMessage ¶
func (*BlocksAtHeightResponse) ProtoMessage()
func (*BlocksAtHeightResponse) ProtoReflect ¶
func (x *BlocksAtHeightResponse) ProtoReflect() protoreflect.Message
func (*BlocksAtHeightResponse) Reset ¶
func (x *BlocksAtHeightResponse) Reset()
func (*BlocksAtHeightResponse) String ¶
func (x *BlocksAtHeightResponse) String() string
type Branch ¶
type Branch struct { // The hash of the block. BlockHash *BlockHash `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Further blocks branching of this block. Children []*Branch `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"` // contains filtered or unexported fields }
Response type for GetBranches.
func (*Branch) Descriptor
deprecated
func (*Branch) GetBlockHash ¶
func (*Branch) GetChildren ¶
func (*Branch) ProtoMessage ¶
func (*Branch) ProtoMessage()
func (*Branch) ProtoReflect ¶
func (x *Branch) ProtoReflect() protoreflect.Message
type CapitalBound ¶
type CapitalBound struct { Value *AmountFraction `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A bound on the relative share of the total staked capital that a baker can have as its stake. This is required to be greater than 0.
func (*CapitalBound) Descriptor
deprecated
func (*CapitalBound) Descriptor() ([]byte, []int)
Deprecated: Use CapitalBound.ProtoReflect.Descriptor instead.
func (*CapitalBound) GetValue ¶
func (x *CapitalBound) GetValue() *AmountFraction
func (*CapitalBound) ProtoMessage ¶
func (*CapitalBound) ProtoMessage()
func (*CapitalBound) ProtoReflect ¶
func (x *CapitalBound) ProtoReflect() protoreflect.Message
func (*CapitalBound) Reset ¶
func (x *CapitalBound) Reset()
func (*CapitalBound) String ¶
func (x *CapitalBound) String() string
type ChainArData ¶
type ChainArData struct { byte `protobuf:"bytes,1,opt,name=enc_id_cred_pub_share,json=encIdCredPubShare,proto3" json:"enc_id_cred_pub_share,omitempty"` // contains filtered or unexported fields }EncIdCredPubShare []
Data relating to a single anonymity revoker sent by the account holder to the chain.
func (*ChainArData) Descriptor
deprecated
func (*ChainArData) Descriptor() ([]byte, []int)
Deprecated: Use ChainArData.ProtoReflect.Descriptor instead.
func (*ChainArData) GetEncIdCredPubShare ¶
func (x *ChainArData) GetEncIdCredPubShare() []byte
func (*ChainArData) ProtoMessage ¶
func (*ChainArData) ProtoMessage()
func (*ChainArData) ProtoReflect ¶
func (x *ChainArData) ProtoReflect() protoreflect.Message
func (*ChainArData) Reset ¶
func (x *ChainArData) Reset()
func (*ChainArData) String ¶
func (x *ChainArData) String() string
type ChainParameters ¶
type ChainParameters struct { // Types that are assignable to Parameters: // // *ChainParameters_V0 // *ChainParameters_V1 // *ChainParameters_V2 Parameters isChainParameters_Parameters `protobuf_oneof:"parameters"` // contains filtered or unexported fields }
Chain parameters.
func (*ChainParameters) Descriptor
deprecated
func (*ChainParameters) Descriptor() ([]byte, []int)
Deprecated: Use ChainParameters.ProtoReflect.Descriptor instead.
func (*ChainParameters) GetParameters ¶
func (m *ChainParameters) GetParameters() isChainParameters_Parameters
func (*ChainParameters) GetV0 ¶
func (x *ChainParameters) GetV0() *ChainParametersV0
func (*ChainParameters) GetV1 ¶
func (x *ChainParameters) GetV1() *ChainParametersV1
func (*ChainParameters) GetV2 ¶
func (x *ChainParameters) GetV2() *ChainParametersV2
func (*ChainParameters) ProtoMessage ¶
func (*ChainParameters) ProtoMessage()
func (*ChainParameters) ProtoReflect ¶
func (x *ChainParameters) ProtoReflect() protoreflect.Message
func (*ChainParameters) Reset ¶
func (x *ChainParameters) Reset()
func (*ChainParameters) String ¶
func (x *ChainParameters) String() string
type ChainParametersV0 ¶
type ChainParametersV0 struct { // Election difficulty for consensus lottery. ElectionDifficulty *ElectionDifficulty `protobuf:"bytes,1,opt,name=election_difficulty,json=electionDifficulty,proto3" json:"election_difficulty,omitempty"` // Euro per energy exchange rate. EuroPerEnergy *ExchangeRate `protobuf:"bytes,2,opt,name=euro_per_energy,json=euroPerEnergy,proto3" json:"euro_per_energy,omitempty"` // Micro CCD per euro exchange rate. MicroCcdPerEuro *ExchangeRate `protobuf:"bytes,3,opt,name=micro_ccd_per_euro,json=microCcdPerEuro,proto3" json:"micro_ccd_per_euro,omitempty"` // Extra number of epochs before reduction in stake, or baker // deregistration is completed. BakerCooldownEpochs *Epoch `protobuf:"bytes,4,opt,name=baker_cooldown_epochs,json=bakerCooldownEpochs,proto3" json:"baker_cooldown_epochs,omitempty"` // The limit for the number of account creations in a block. AccountCreationLimit *CredentialsPerBlockLimit `protobuf:"bytes,5,opt,name=account_creation_limit,json=accountCreationLimit,proto3" json:"account_creation_limit,omitempty"` // Current mint distribution MintDistribution *MintDistributionCpv0 `protobuf:"bytes,6,opt,name=mint_distribution,json=mintDistribution,proto3" json:"mint_distribution,omitempty"` // Current transaction fee distribution. TransactionFeeDistribution *TransactionFeeDistribution `` /* 141-byte string literal not displayed */ // Current gas reward parameters. GasRewards *GasRewards `protobuf:"bytes,8,opt,name=gas_rewards,json=gasRewards,proto3" json:"gas_rewards,omitempty"` // The foundation account. FoundationAccount *AccountAddress `protobuf:"bytes,9,opt,name=foundation_account,json=foundationAccount,proto3" json:"foundation_account,omitempty"` // Minimum threshold for becoming a baker. MinimumThresholdForBaking *Amount `` /* 141-byte string literal not displayed */ // Keys allowed to do root updates. RootKeys *HigherLevelKeys `protobuf:"bytes,11,opt,name=root_keys,json=rootKeys,proto3" json:"root_keys,omitempty"` // Keys allowed to do level1 updates; Level1Keys *HigherLevelKeys `protobuf:"bytes,12,opt,name=level1_keys,json=level1Keys,proto3" json:"level1_keys,omitempty"` // Keys allowed to do parameter updates. Level2Keys *AuthorizationsV0 `protobuf:"bytes,13,opt,name=level2_keys,json=level2Keys,proto3" json:"level2_keys,omitempty"` // contains filtered or unexported fields }
Updatable chain parameters that apply to protocol versions 1-3.
func (*ChainParametersV0) Descriptor
deprecated
func (*ChainParametersV0) Descriptor() ([]byte, []int)
Deprecated: Use ChainParametersV0.ProtoReflect.Descriptor instead.
func (*ChainParametersV0) GetAccountCreationLimit ¶
func (x *ChainParametersV0) GetAccountCreationLimit() *CredentialsPerBlockLimit
func (*ChainParametersV0) GetBakerCooldownEpochs ¶
func (x *ChainParametersV0) GetBakerCooldownEpochs() *Epoch
func (*ChainParametersV0) GetElectionDifficulty ¶
func (x *ChainParametersV0) GetElectionDifficulty() *ElectionDifficulty
func (*ChainParametersV0) GetEuroPerEnergy ¶
func (x *ChainParametersV0) GetEuroPerEnergy() *ExchangeRate
func (*ChainParametersV0) GetFoundationAccount ¶
func (x *ChainParametersV0) GetFoundationAccount() *AccountAddress
func (*ChainParametersV0) GetGasRewards ¶
func (x *ChainParametersV0) GetGasRewards() *GasRewards
func (*ChainParametersV0) GetLevel1Keys ¶
func (x *ChainParametersV0) GetLevel1Keys() *HigherLevelKeys
func (*ChainParametersV0) GetLevel2Keys ¶
func (x *ChainParametersV0) GetLevel2Keys() *AuthorizationsV0
func (*ChainParametersV0) GetMicroCcdPerEuro ¶
func (x *ChainParametersV0) GetMicroCcdPerEuro() *ExchangeRate
func (*ChainParametersV0) GetMinimumThresholdForBaking ¶
func (x *ChainParametersV0) GetMinimumThresholdForBaking() *Amount
func (*ChainParametersV0) GetMintDistribution ¶
func (x *ChainParametersV0) GetMintDistribution() *MintDistributionCpv0
func (*ChainParametersV0) GetRootKeys ¶
func (x *ChainParametersV0) GetRootKeys() *HigherLevelKeys
func (*ChainParametersV0) GetTransactionFeeDistribution ¶
func (x *ChainParametersV0) GetTransactionFeeDistribution() *TransactionFeeDistribution
func (*ChainParametersV0) ProtoMessage ¶
func (*ChainParametersV0) ProtoMessage()
func (*ChainParametersV0) ProtoReflect ¶
func (x *ChainParametersV0) ProtoReflect() protoreflect.Message
func (*ChainParametersV0) Reset ¶
func (x *ChainParametersV0) Reset()
func (*ChainParametersV0) String ¶
func (x *ChainParametersV0) String() string
type ChainParametersV1 ¶
type ChainParametersV1 struct { // Election difficulty for consensus lottery. ElectionDifficulty *ElectionDifficulty `protobuf:"bytes,1,opt,name=election_difficulty,json=electionDifficulty,proto3" json:"election_difficulty,omitempty"` // Euro per energy exchange rate. EuroPerEnergy *ExchangeRate `protobuf:"bytes,2,opt,name=euro_per_energy,json=euroPerEnergy,proto3" json:"euro_per_energy,omitempty"` // Micro CCD per euro exchange rate. MicroCcdPerEuro *ExchangeRate `protobuf:"bytes,3,opt,name=micro_ccd_per_euro,json=microCcdPerEuro,proto3" json:"micro_ccd_per_euro,omitempty"` // Extra number of epochs before reduction in stake, or baker // deregistration is completed. CooldownParameters *CooldownParametersCpv1 `protobuf:"bytes,4,opt,name=cooldown_parameters,json=cooldownParameters,proto3" json:"cooldown_parameters,omitempty"` // Current time parameters. // The time parameters indicates the mint rate and the // reward period length, i.e. the time between paydays. TimeParameters *TimeParametersCpv1 `protobuf:"bytes,5,opt,name=time_parameters,json=timeParameters,proto3" json:"time_parameters,omitempty"` // The limit for the number of account creations in a block. AccountCreationLimit *CredentialsPerBlockLimit `protobuf:"bytes,6,opt,name=account_creation_limit,json=accountCreationLimit,proto3" json:"account_creation_limit,omitempty"` // Current mint distribution MintDistribution *MintDistributionCpv1 `protobuf:"bytes,7,opt,name=mint_distribution,json=mintDistribution,proto3" json:"mint_distribution,omitempty"` // Current transaction fee distribution. TransactionFeeDistribution *TransactionFeeDistribution `` /* 141-byte string literal not displayed */ // Current gas reward parameters. GasRewards *GasRewards `protobuf:"bytes,9,opt,name=gas_rewards,json=gasRewards,proto3" json:"gas_rewards,omitempty"` // The foundation account. FoundationAccount *AccountAddress `protobuf:"bytes,10,opt,name=foundation_account,json=foundationAccount,proto3" json:"foundation_account,omitempty"` // Parameters governing baking pools and their commissions. PoolParameters *PoolParametersCpv1 `protobuf:"bytes,11,opt,name=pool_parameters,json=poolParameters,proto3" json:"pool_parameters,omitempty"` // Keys allowed to do root updates. RootKeys *HigherLevelKeys `protobuf:"bytes,12,opt,name=root_keys,json=rootKeys,proto3" json:"root_keys,omitempty"` // Keys allowed to do level1 updates; Level1Keys *HigherLevelKeys `protobuf:"bytes,13,opt,name=level1_keys,json=level1Keys,proto3" json:"level1_keys,omitempty"` // Keys allowed to do parameter updates. Level2Keys *AuthorizationsV1 `protobuf:"bytes,14,opt,name=level2_keys,json=level2Keys,proto3" json:"level2_keys,omitempty"` // contains filtered or unexported fields }
Updatable chain parameters that apply to protocol versions 4-5.
func (*ChainParametersV1) Descriptor
deprecated
func (*ChainParametersV1) Descriptor() ([]byte, []int)
Deprecated: Use ChainParametersV1.ProtoReflect.Descriptor instead.
func (*ChainParametersV1) GetAccountCreationLimit ¶
func (x *ChainParametersV1) GetAccountCreationLimit() *CredentialsPerBlockLimit
func (*ChainParametersV1) GetCooldownParameters ¶
func (x *ChainParametersV1) GetCooldownParameters() *CooldownParametersCpv1
func (*ChainParametersV1) GetElectionDifficulty ¶
func (x *ChainParametersV1) GetElectionDifficulty() *ElectionDifficulty
func (*ChainParametersV1) GetEuroPerEnergy ¶
func (x *ChainParametersV1) GetEuroPerEnergy() *ExchangeRate
func (*ChainParametersV1) GetFoundationAccount ¶
func (x *ChainParametersV1) GetFoundationAccount() *AccountAddress
func (*ChainParametersV1) GetGasRewards ¶
func (x *ChainParametersV1) GetGasRewards() *GasRewards
func (*ChainParametersV1) GetLevel1Keys ¶
func (x *ChainParametersV1) GetLevel1Keys() *HigherLevelKeys
func (*ChainParametersV1) GetLevel2Keys ¶
func (x *ChainParametersV1) GetLevel2Keys() *AuthorizationsV1
func (*ChainParametersV1) GetMicroCcdPerEuro ¶
func (x *ChainParametersV1) GetMicroCcdPerEuro() *ExchangeRate
func (*ChainParametersV1) GetMintDistribution ¶
func (x *ChainParametersV1) GetMintDistribution() *MintDistributionCpv1
func (*ChainParametersV1) GetPoolParameters ¶
func (x *ChainParametersV1) GetPoolParameters() *PoolParametersCpv1
func (*ChainParametersV1) GetRootKeys ¶
func (x *ChainParametersV1) GetRootKeys() *HigherLevelKeys
func (*ChainParametersV1) GetTimeParameters ¶
func (x *ChainParametersV1) GetTimeParameters() *TimeParametersCpv1
func (*ChainParametersV1) GetTransactionFeeDistribution ¶
func (x *ChainParametersV1) GetTransactionFeeDistribution() *TransactionFeeDistribution
func (*ChainParametersV1) ProtoMessage ¶
func (*ChainParametersV1) ProtoMessage()
func (*ChainParametersV1) ProtoReflect ¶
func (x *ChainParametersV1) ProtoReflect() protoreflect.Message
func (*ChainParametersV1) Reset ¶
func (x *ChainParametersV1) Reset()
func (*ChainParametersV1) String ¶
func (x *ChainParametersV1) String() string
type ChainParametersV2 ¶
type ChainParametersV2 struct { // Consensus parameters. ConsensusParameters *ConsensusParametersV1 `protobuf:"bytes,1,opt,name=consensus_parameters,json=consensusParameters,proto3" json:"consensus_parameters,omitempty"` // Euro per energy exchange rate. EuroPerEnergy *ExchangeRate `protobuf:"bytes,2,opt,name=euro_per_energy,json=euroPerEnergy,proto3" json:"euro_per_energy,omitempty"` // Micro CCD per euro exchange rate. MicroCcdPerEuro *ExchangeRate `protobuf:"bytes,3,opt,name=micro_ccd_per_euro,json=microCcdPerEuro,proto3" json:"micro_ccd_per_euro,omitempty"` // Extra number of epochs before reduction in stake, or baker // deregistration is completed. CooldownParameters *CooldownParametersCpv1 `protobuf:"bytes,4,opt,name=cooldown_parameters,json=cooldownParameters,proto3" json:"cooldown_parameters,omitempty"` // Current time parameters. // The time parameters indicates the mint rate and the // reward period length, i.e. the time between paydays. TimeParameters *TimeParametersCpv1 `protobuf:"bytes,5,opt,name=time_parameters,json=timeParameters,proto3" json:"time_parameters,omitempty"` // The limit for the number of account creations in a block. AccountCreationLimit *CredentialsPerBlockLimit `protobuf:"bytes,6,opt,name=account_creation_limit,json=accountCreationLimit,proto3" json:"account_creation_limit,omitempty"` // Current mint distribution MintDistribution *MintDistributionCpv1 `protobuf:"bytes,7,opt,name=mint_distribution,json=mintDistribution,proto3" json:"mint_distribution,omitempty"` // Current transaction fee distribution. TransactionFeeDistribution *TransactionFeeDistribution `` /* 141-byte string literal not displayed */ // Current gas reward parameters. GasRewards *GasRewardsCpv2 `protobuf:"bytes,9,opt,name=gas_rewards,json=gasRewards,proto3" json:"gas_rewards,omitempty"` // The foundation account. FoundationAccount *AccountAddress `protobuf:"bytes,10,opt,name=foundation_account,json=foundationAccount,proto3" json:"foundation_account,omitempty"` // Parameters governing baking pools and their commissions. PoolParameters *PoolParametersCpv1 `protobuf:"bytes,11,opt,name=pool_parameters,json=poolParameters,proto3" json:"pool_parameters,omitempty"` // Keys allowed to do root updates. RootKeys *HigherLevelKeys `protobuf:"bytes,12,opt,name=root_keys,json=rootKeys,proto3" json:"root_keys,omitempty"` // Keys allowed to do level1 updates; Level1Keys *HigherLevelKeys `protobuf:"bytes,13,opt,name=level1_keys,json=level1Keys,proto3" json:"level1_keys,omitempty"` // Keys allowed to do parameter updates. Level2Keys *AuthorizationsV1 `protobuf:"bytes,14,opt,name=level2_keys,json=level2Keys,proto3" json:"level2_keys,omitempty"` // Finalization committee parameters FinalizationCommitteeParameters *FinalizationCommitteeParameters `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
Updatable chain parameters that apply to protocol versions 6.
func (*ChainParametersV2) Descriptor
deprecated
func (*ChainParametersV2) Descriptor() ([]byte, []int)
Deprecated: Use ChainParametersV2.ProtoReflect.Descriptor instead.
func (*ChainParametersV2) GetAccountCreationLimit ¶
func (x *ChainParametersV2) GetAccountCreationLimit() *CredentialsPerBlockLimit
func (*ChainParametersV2) GetConsensusParameters ¶
func (x *ChainParametersV2) GetConsensusParameters() *ConsensusParametersV1
func (*ChainParametersV2) GetCooldownParameters ¶
func (x *ChainParametersV2) GetCooldownParameters() *CooldownParametersCpv1
func (*ChainParametersV2) GetEuroPerEnergy ¶
func (x *ChainParametersV2) GetEuroPerEnergy() *ExchangeRate
func (*ChainParametersV2) GetFinalizationCommitteeParameters ¶
func (x *ChainParametersV2) GetFinalizationCommitteeParameters() *FinalizationCommitteeParameters
func (*ChainParametersV2) GetFoundationAccount ¶
func (x *ChainParametersV2) GetFoundationAccount() *AccountAddress
func (*ChainParametersV2) GetGasRewards ¶
func (x *ChainParametersV2) GetGasRewards() *GasRewardsCpv2
func (*ChainParametersV2) GetLevel1Keys ¶
func (x *ChainParametersV2) GetLevel1Keys() *HigherLevelKeys
func (*ChainParametersV2) GetLevel2Keys ¶
func (x *ChainParametersV2) GetLevel2Keys() *AuthorizationsV1
func (*ChainParametersV2) GetMicroCcdPerEuro ¶
func (x *ChainParametersV2) GetMicroCcdPerEuro() *ExchangeRate
func (*ChainParametersV2) GetMintDistribution ¶
func (x *ChainParametersV2) GetMintDistribution() *MintDistributionCpv1
func (*ChainParametersV2) GetPoolParameters ¶
func (x *ChainParametersV2) GetPoolParameters() *PoolParametersCpv1
func (*ChainParametersV2) GetRootKeys ¶
func (x *ChainParametersV2) GetRootKeys() *HigherLevelKeys
func (*ChainParametersV2) GetTimeParameters ¶
func (x *ChainParametersV2) GetTimeParameters() *TimeParametersCpv1
func (*ChainParametersV2) GetTransactionFeeDistribution ¶
func (x *ChainParametersV2) GetTransactionFeeDistribution() *TransactionFeeDistribution
func (*ChainParametersV2) ProtoMessage ¶
func (*ChainParametersV2) ProtoMessage()
func (*ChainParametersV2) ProtoReflect ¶
func (x *ChainParametersV2) ProtoReflect() protoreflect.Message
func (*ChainParametersV2) Reset ¶
func (x *ChainParametersV2) Reset()
func (*ChainParametersV2) String ¶
func (x *ChainParametersV2) String() string
type ChainParameters_V0 ¶
type ChainParameters_V0 struct { // Chain parameters that apply when the block is a protocol version 1-3 block. V0 *ChainParametersV0 `protobuf:"bytes,1,opt,name=v0,proto3,oneof"` }
type ChainParameters_V1 ¶
type ChainParameters_V1 struct { // Chain parameters that apply when the block is a protocol version 4-5 block. V1 *ChainParametersV1 `protobuf:"bytes,2,opt,name=v1,proto3,oneof"` }
type ChainParameters_V2 ¶
type ChainParameters_V2 struct { // Chain parameters that apply when the block is a protocol version 6- block. V2 *ChainParametersV2 `protobuf:"bytes,3,opt,name=v2,proto3,oneof"` }
type CommissionRanges ¶
type CommissionRanges struct { // The range of allowed finalization commissions. Finalization *InclusiveRangeAmountFraction `protobuf:"bytes,1,opt,name=finalization,proto3" json:"finalization,omitempty"` // The range of allowed baker commissions. Baking *InclusiveRangeAmountFraction `protobuf:"bytes,2,opt,name=baking,proto3" json:"baking,omitempty"` // The range of allowed transaction commissions. Transaction *InclusiveRangeAmountFraction `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
Ranges of allowed commission values that pools may choose from.
func (*CommissionRanges) Descriptor
deprecated
func (*CommissionRanges) Descriptor() ([]byte, []int)
Deprecated: Use CommissionRanges.ProtoReflect.Descriptor instead.
func (*CommissionRanges) GetBaking ¶
func (x *CommissionRanges) GetBaking() *InclusiveRangeAmountFraction
func (*CommissionRanges) GetFinalization ¶
func (x *CommissionRanges) GetFinalization() *InclusiveRangeAmountFraction
func (*CommissionRanges) GetTransaction ¶
func (x *CommissionRanges) GetTransaction() *InclusiveRangeAmountFraction
func (*CommissionRanges) ProtoMessage ¶
func (*CommissionRanges) ProtoMessage()
func (*CommissionRanges) ProtoReflect ¶
func (x *CommissionRanges) ProtoReflect() protoreflect.Message
func (*CommissionRanges) Reset ¶
func (x *CommissionRanges) Reset()
func (*CommissionRanges) String ¶
func (x *CommissionRanges) String() string
type CommissionRates ¶
type CommissionRates struct { // Fraction of finalization rewards charged by the pool owner. Finalization *AmountFraction `protobuf:"bytes,1,opt,name=finalization,proto3" json:"finalization,omitempty"` // Fraction of baking rewards charged by the pool owner. Baking *AmountFraction `protobuf:"bytes,2,opt,name=baking,proto3" json:"baking,omitempty"` // Fraction of transaction rewards charged by the pool owner. Transaction *AmountFraction `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
Distribution of the rewards for the particular pool.
func (*CommissionRates) Descriptor
deprecated
func (*CommissionRates) Descriptor() ([]byte, []int)
Deprecated: Use CommissionRates.ProtoReflect.Descriptor instead.
func (*CommissionRates) GetBaking ¶
func (x *CommissionRates) GetBaking() *AmountFraction
func (*CommissionRates) GetFinalization ¶
func (x *CommissionRates) GetFinalization() *AmountFraction
func (*CommissionRates) GetTransaction ¶
func (x *CommissionRates) GetTransaction() *AmountFraction
func (*CommissionRates) ProtoMessage ¶
func (*CommissionRates) ProtoMessage()
func (*CommissionRates) ProtoReflect ¶
func (x *CommissionRates) ProtoReflect() protoreflect.Message
func (*CommissionRates) Reset ¶
func (x *CommissionRates) Reset()
func (*CommissionRates) String ¶
func (x *CommissionRates) String() string
type Commitment ¶
type Commitment struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A single commitment in the G1 group of the BLS curve. This is always 48 bytes in length.
func (*Commitment) Descriptor
deprecated
func (*Commitment) Descriptor() ([]byte, []int)
Deprecated: Use Commitment.ProtoReflect.Descriptor instead.
func (*Commitment) GetValue ¶
func (x *Commitment) GetValue() []byte
func (*Commitment) ProtoMessage ¶
func (*Commitment) ProtoMessage()
func (*Commitment) ProtoReflect ¶
func (x *Commitment) ProtoReflect() protoreflect.Message
func (*Commitment) Reset ¶
func (x *Commitment) Reset()
func (*Commitment) String ¶
func (x *Commitment) String() string
type ConsensusInfo ¶
type ConsensusInfo struct { // Hash of the current best block. BestBlock *BlockHash `protobuf:"bytes,1,opt,name=best_block,json=bestBlock,proto3" json:"best_block,omitempty"` // Hash of the (original) genesis block. GenesisBlock *BlockHash `protobuf:"bytes,2,opt,name=genesis_block,json=genesisBlock,proto3" json:"genesis_block,omitempty"` // Time of the (original) genesis block. GenesisTime *Timestamp `protobuf:"bytes,3,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` // (Current) slot duration in milliseconds. Present only in protocol versions 1-5. SlotDuration *Duration `protobuf:"bytes,4,opt,name=slot_duration,json=slotDuration,proto3,oneof" json:"slot_duration,omitempty"` // (Current) epoch duration in milliseconds. EpochDuration *Duration `protobuf:"bytes,5,opt,name=epoch_duration,json=epochDuration,proto3" json:"epoch_duration,omitempty"` // Hash of the last finalized block. LastFinalizedBlock *BlockHash `protobuf:"bytes,6,opt,name=last_finalized_block,json=lastFinalizedBlock,proto3" json:"last_finalized_block,omitempty"` // Absolute height of the best block. BestBlockHeight *AbsoluteBlockHeight `protobuf:"bytes,7,opt,name=best_block_height,json=bestBlockHeight,proto3" json:"best_block_height,omitempty"` // Absolute height of the last finalized block. LastFinalizedBlockHeight *AbsoluteBlockHeight `` /* 137-byte string literal not displayed */ // Total number of blocks received. BlocksReceivedCount uint32 `protobuf:"varint,9,opt,name=blocks_received_count,json=blocksReceivedCount,proto3" json:"blocks_received_count,omitempty"` // The last time a block was received. BlockLastReceivedTime *Timestamp `` /* 135-byte string literal not displayed */ // Exponential moving average latency between a block's slot time and received time. BlockReceiveLatencyEma float64 `` /* 134-byte string literal not displayed */ // Standard deviation of exponential moving average latency between a block's slot time and received time. BlockReceiveLatencyEmsd float64 `` /* 137-byte string literal not displayed */ // Exponential moving average time between receiving blocks. BlockReceivePeriodEma *float64 `` /* 137-byte string literal not displayed */ // Standard deviation of exponential moving average time between receiving blocks. BlockReceivePeriodEmsd *float64 `` /* 140-byte string literal not displayed */ // Total number of blocks received and verified. BlocksVerifiedCount uint32 `protobuf:"varint,15,opt,name=blocks_verified_count,json=blocksVerifiedCount,proto3" json:"blocks_verified_count,omitempty"` // The last time a block was verified (added to the tree). BlockLastArrivedTime *Timestamp `` /* 132-byte string literal not displayed */ // Exponential moving average latency between a block's slot time and its arrival. BlockArriveLatencyEma float64 `` /* 131-byte string literal not displayed */ // Standard deviation of exponential moving average latency between a block's slot time and its arrival. BlockArriveLatencyEmsd float64 `` /* 134-byte string literal not displayed */ // Exponential moving average time between block arrivals. BlockArrivePeriodEma *float64 `` /* 134-byte string literal not displayed */ // Standard deviation of exponential moving average time between block arrivals. BlockArrivePeriodEmsd *float64 `` /* 137-byte string literal not displayed */ // Exponential moving average number of transactions per block. TransactionsPerBlockEma float64 `` /* 137-byte string literal not displayed */ // Standard deviation of exponential moving average number of transactions per block. TransactionsPerBlockEmsd float64 `` /* 140-byte string literal not displayed */ // Number of finalizations. FinalizationCount uint32 `protobuf:"varint,23,opt,name=finalization_count,json=finalizationCount,proto3" json:"finalization_count,omitempty"` // Time of last verified finalization. LastFinalizedTime *Timestamp `protobuf:"bytes,24,opt,name=last_finalized_time,json=lastFinalizedTime,proto3,oneof" json:"last_finalized_time,omitempty"` // Exponential moving average time between finalizations. FinalizationPeriodEma *float64 `` /* 135-byte string literal not displayed */ // Standard deviation of exponential moving average time between finalizations. FinalizationPeriodEmsd *float64 `` /* 138-byte string literal not displayed */ // Currently active protocol version. ProtocolVersion ProtocolVersion `` /* 143-byte string literal not displayed */ // The number of chain restarts via a protocol update. A completed // protocol update instruction might not change the protocol version // specified in the previous field, but it always increments the genesis // index. GenesisIndex *GenesisIndex `protobuf:"bytes,28,opt,name=genesis_index,json=genesisIndex,proto3" json:"genesis_index,omitempty"` // Block hash of the genesis block of current era, i.e., since the last protocol update. // Initially this is equal to 'genesis_block'. CurrentEraGenesisBlock *BlockHash `` /* 132-byte string literal not displayed */ // Time when the current era started. CurrentEraGenesisTime *Timestamp `` /* 129-byte string literal not displayed */ // The current duration to wait before a round times out. Present from protocol version 6. CurrentTimeoutDuration *Duration `` /* 136-byte string literal not displayed */ // The current round. Present from protocol version 6. CurrentRound *Round `protobuf:"bytes,32,opt,name=current_round,json=currentRound,proto3,oneof" json:"current_round,omitempty"` // The current epoch. Present from protocol version 6. CurrentEpoch *Epoch `protobuf:"bytes,33,opt,name=current_epoch,json=currentEpoch,proto3,oneof" json:"current_epoch,omitempty"` // The first block in the epoch with timestamp at least this is considered to be the trigger block // for the epoch transition. Present from protocol version 6. TriggerBlockTime *Timestamp `protobuf:"bytes,34,opt,name=trigger_block_time,json=triggerBlockTime,proto3,oneof" json:"trigger_block_time,omitempty"` // contains filtered or unexported fields }
The response for GetConsensusInfo.
func (*ConsensusInfo) Descriptor
deprecated
func (*ConsensusInfo) Descriptor() ([]byte, []int)
Deprecated: Use ConsensusInfo.ProtoReflect.Descriptor instead.
func (*ConsensusInfo) GetBestBlock ¶
func (x *ConsensusInfo) GetBestBlock() *BlockHash
func (*ConsensusInfo) GetBestBlockHeight ¶
func (x *ConsensusInfo) GetBestBlockHeight() *AbsoluteBlockHeight
func (*ConsensusInfo) GetBlockArriveLatencyEma ¶
func (x *ConsensusInfo) GetBlockArriveLatencyEma() float64
func (*ConsensusInfo) GetBlockArriveLatencyEmsd ¶
func (x *ConsensusInfo) GetBlockArriveLatencyEmsd() float64
func (*ConsensusInfo) GetBlockArrivePeriodEma ¶
func (x *ConsensusInfo) GetBlockArrivePeriodEma() float64
func (*ConsensusInfo) GetBlockArrivePeriodEmsd ¶
func (x *ConsensusInfo) GetBlockArrivePeriodEmsd() float64
func (*ConsensusInfo) GetBlockLastArrivedTime ¶
func (x *ConsensusInfo) GetBlockLastArrivedTime() *Timestamp
func (*ConsensusInfo) GetBlockLastReceivedTime ¶
func (x *ConsensusInfo) GetBlockLastReceivedTime() *Timestamp
func (*ConsensusInfo) GetBlockReceiveLatencyEma ¶
func (x *ConsensusInfo) GetBlockReceiveLatencyEma() float64
func (*ConsensusInfo) GetBlockReceiveLatencyEmsd ¶
func (x *ConsensusInfo) GetBlockReceiveLatencyEmsd() float64
func (*ConsensusInfo) GetBlockReceivePeriodEma ¶
func (x *ConsensusInfo) GetBlockReceivePeriodEma() float64
func (*ConsensusInfo) GetBlockReceivePeriodEmsd ¶
func (x *ConsensusInfo) GetBlockReceivePeriodEmsd() float64
func (*ConsensusInfo) GetBlocksReceivedCount ¶
func (x *ConsensusInfo) GetBlocksReceivedCount() uint32
func (*ConsensusInfo) GetBlocksVerifiedCount ¶
func (x *ConsensusInfo) GetBlocksVerifiedCount() uint32
func (*ConsensusInfo) GetCurrentEpoch ¶ added in v0.2.0
func (x *ConsensusInfo) GetCurrentEpoch() *Epoch
func (*ConsensusInfo) GetCurrentEraGenesisBlock ¶
func (x *ConsensusInfo) GetCurrentEraGenesisBlock() *BlockHash
func (*ConsensusInfo) GetCurrentEraGenesisTime ¶
func (x *ConsensusInfo) GetCurrentEraGenesisTime() *Timestamp
func (*ConsensusInfo) GetCurrentRound ¶ added in v0.2.0
func (x *ConsensusInfo) GetCurrentRound() *Round
func (*ConsensusInfo) GetCurrentTimeoutDuration ¶ added in v0.2.0
func (x *ConsensusInfo) GetCurrentTimeoutDuration() *Duration
func (*ConsensusInfo) GetEpochDuration ¶
func (x *ConsensusInfo) GetEpochDuration() *Duration
func (*ConsensusInfo) GetFinalizationCount ¶
func (x *ConsensusInfo) GetFinalizationCount() uint32
func (*ConsensusInfo) GetFinalizationPeriodEma ¶
func (x *ConsensusInfo) GetFinalizationPeriodEma() float64
func (*ConsensusInfo) GetFinalizationPeriodEmsd ¶
func (x *ConsensusInfo) GetFinalizationPeriodEmsd() float64
func (*ConsensusInfo) GetGenesisBlock ¶
func (x *ConsensusInfo) GetGenesisBlock() *BlockHash
func (*ConsensusInfo) GetGenesisIndex ¶
func (x *ConsensusInfo) GetGenesisIndex() *GenesisIndex
func (*ConsensusInfo) GetGenesisTime ¶
func (x *ConsensusInfo) GetGenesisTime() *Timestamp
func (*ConsensusInfo) GetLastFinalizedBlock ¶
func (x *ConsensusInfo) GetLastFinalizedBlock() *BlockHash
func (*ConsensusInfo) GetLastFinalizedBlockHeight ¶
func (x *ConsensusInfo) GetLastFinalizedBlockHeight() *AbsoluteBlockHeight
func (*ConsensusInfo) GetLastFinalizedTime ¶
func (x *ConsensusInfo) GetLastFinalizedTime() *Timestamp
func (*ConsensusInfo) GetProtocolVersion ¶
func (x *ConsensusInfo) GetProtocolVersion() ProtocolVersion
func (*ConsensusInfo) GetSlotDuration ¶
func (x *ConsensusInfo) GetSlotDuration() *Duration
func (*ConsensusInfo) GetTransactionsPerBlockEma ¶
func (x *ConsensusInfo) GetTransactionsPerBlockEma() float64
func (*ConsensusInfo) GetTransactionsPerBlockEmsd ¶
func (x *ConsensusInfo) GetTransactionsPerBlockEmsd() float64
func (*ConsensusInfo) GetTriggerBlockTime ¶ added in v0.2.0
func (x *ConsensusInfo) GetTriggerBlockTime() *Timestamp
func (*ConsensusInfo) ProtoMessage ¶
func (*ConsensusInfo) ProtoMessage()
func (*ConsensusInfo) ProtoReflect ¶
func (x *ConsensusInfo) ProtoReflect() protoreflect.Message
func (*ConsensusInfo) Reset ¶
func (x *ConsensusInfo) Reset()
func (*ConsensusInfo) String ¶
func (x *ConsensusInfo) String() string
type ConsensusParametersV1 ¶
type ConsensusParametersV1 struct { // Parameters controlling round timeouts. TimeoutParameters *TimeoutParameters `protobuf:"bytes,1,opt,name=timeout_parameters,json=timeoutParameters,proto3" json:"timeout_parameters,omitempty"` // Minimum time interval between blocks. MinBlockTime *Duration `protobuf:"bytes,2,opt,name=min_block_time,json=minBlockTime,proto3" json:"min_block_time,omitempty"` // Maximum energy allowed per block. BlockEnergyLimit *Energy `protobuf:"bytes,3,opt,name=block_energy_limit,json=blockEnergyLimit,proto3" json:"block_energy_limit,omitempty"` // contains filtered or unexported fields }
Parameters for the consensus protocol used from protocol version 6.
func (*ConsensusParametersV1) Descriptor
deprecated
func (*ConsensusParametersV1) Descriptor() ([]byte, []int)
Deprecated: Use ConsensusParametersV1.ProtoReflect.Descriptor instead.
func (*ConsensusParametersV1) GetBlockEnergyLimit ¶
func (x *ConsensusParametersV1) GetBlockEnergyLimit() *Energy
func (*ConsensusParametersV1) GetMinBlockTime ¶
func (x *ConsensusParametersV1) GetMinBlockTime() *Duration
func (*ConsensusParametersV1) GetTimeoutParameters ¶
func (x *ConsensusParametersV1) GetTimeoutParameters() *TimeoutParameters
func (*ConsensusParametersV1) ProtoMessage ¶
func (*ConsensusParametersV1) ProtoMessage()
func (*ConsensusParametersV1) ProtoReflect ¶
func (x *ConsensusParametersV1) ProtoReflect() protoreflect.Message
func (*ConsensusParametersV1) Reset ¶
func (x *ConsensusParametersV1) Reset()
func (*ConsensusParametersV1) String ¶
func (x *ConsensusParametersV1) String() string
type ContractAddress ¶
type ContractAddress struct { // The index of the smart contract. Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // The subindex of the smart contract instance. // Currently not used, so it is always 0. Subindex uint64 `protobuf:"varint,2,opt,name=subindex,proto3" json:"subindex,omitempty"` // contains filtered or unexported fields }
Address of a smart contract instance.
func (*ContractAddress) Descriptor
deprecated
func (*ContractAddress) Descriptor() ([]byte, []int)
Deprecated: Use ContractAddress.ProtoReflect.Descriptor instead.
func (*ContractAddress) GetIndex ¶
func (x *ContractAddress) GetIndex() uint64
func (*ContractAddress) GetSubindex ¶
func (x *ContractAddress) GetSubindex() uint64
func (*ContractAddress) ProtoMessage ¶
func (*ContractAddress) ProtoMessage()
func (*ContractAddress) ProtoReflect ¶
func (x *ContractAddress) ProtoReflect() protoreflect.Message
func (*ContractAddress) Reset ¶
func (x *ContractAddress) Reset()
func (*ContractAddress) String ¶
func (x *ContractAddress) String() string
type ContractEvent ¶
type ContractEvent struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
An event generated by a smart contract.
func (*ContractEvent) Descriptor
deprecated
func (*ContractEvent) Descriptor() ([]byte, []int)
Deprecated: Use ContractEvent.ProtoReflect.Descriptor instead.
func (*ContractEvent) GetValue ¶
func (x *ContractEvent) GetValue() []byte
func (*ContractEvent) ProtoMessage ¶
func (*ContractEvent) ProtoMessage()
func (*ContractEvent) ProtoReflect ¶
func (x *ContractEvent) ProtoReflect() protoreflect.Message
func (*ContractEvent) Reset ¶
func (x *ContractEvent) Reset()
func (*ContractEvent) String ¶
func (x *ContractEvent) String() string
type ContractInitializedEvent ¶
type ContractInitializedEvent struct { // Contract version. ContractVersion ContractVersion `` /* 142-byte string literal not displayed */ // Module with the source code of the contract. OriginRef *ModuleRef `protobuf:"bytes,2,opt,name=origin_ref,json=originRef,proto3" json:"origin_ref,omitempty"` // The newly assigned address of the contract. Address *ContractAddress `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // The amount the instance was initialized with. Amount *Amount `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // The name of the contract. InitName *InitName `protobuf:"bytes,5,opt,name=init_name,json=initName,proto3" json:"init_name,omitempty"` // Any contract events that might have been genereated by the contract initialization. Events []*ContractEvent `protobuf:"bytes,6,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
Data generated as part of initializing a single contract instance.
func (*ContractInitializedEvent) Descriptor
deprecated
func (*ContractInitializedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ContractInitializedEvent.ProtoReflect.Descriptor instead.
func (*ContractInitializedEvent) GetAddress ¶
func (x *ContractInitializedEvent) GetAddress() *ContractAddress
func (*ContractInitializedEvent) GetAmount ¶
func (x *ContractInitializedEvent) GetAmount() *Amount
func (*ContractInitializedEvent) GetContractVersion ¶
func (x *ContractInitializedEvent) GetContractVersion() ContractVersion
func (*ContractInitializedEvent) GetEvents ¶
func (x *ContractInitializedEvent) GetEvents() []*ContractEvent
func (*ContractInitializedEvent) GetInitName ¶
func (x *ContractInitializedEvent) GetInitName() *InitName
func (*ContractInitializedEvent) GetOriginRef ¶
func (x *ContractInitializedEvent) GetOriginRef() *ModuleRef
func (*ContractInitializedEvent) ProtoMessage ¶
func (*ContractInitializedEvent) ProtoMessage()
func (*ContractInitializedEvent) ProtoReflect ¶
func (x *ContractInitializedEvent) ProtoReflect() protoreflect.Message
func (*ContractInitializedEvent) Reset ¶
func (x *ContractInitializedEvent) Reset()
func (*ContractInitializedEvent) String ¶
func (x *ContractInitializedEvent) String() string
type ContractStateV0 ¶
type ContractStateV0 struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A smart contract v0 state.
func (*ContractStateV0) Descriptor
deprecated
func (*ContractStateV0) Descriptor() ([]byte, []int)
Deprecated: Use ContractStateV0.ProtoReflect.Descriptor instead.
func (*ContractStateV0) GetValue ¶
func (x *ContractStateV0) GetValue() []byte
func (*ContractStateV0) ProtoMessage ¶
func (*ContractStateV0) ProtoMessage()
func (*ContractStateV0) ProtoReflect ¶
func (x *ContractStateV0) ProtoReflect() protoreflect.Message
func (*ContractStateV0) Reset ¶
func (x *ContractStateV0) Reset()
func (*ContractStateV0) String ¶
func (x *ContractStateV0) String() string
type ContractTraceElement ¶
type ContractTraceElement struct { // Types that are assignable to Element: // // *ContractTraceElement_Updated // *ContractTraceElement_Transferred_ // *ContractTraceElement_Interrupted_ // *ContractTraceElement_Resumed_ // *ContractTraceElement_Upgraded_ Element isContractTraceElement_Element `protobuf_oneof:"element"` // contains filtered or unexported fields }
Effects produced by successful smart contract invocations. A single invocation will produce a sequence of these effects.
func (*ContractTraceElement) Descriptor
deprecated
func (*ContractTraceElement) Descriptor() ([]byte, []int)
Deprecated: Use ContractTraceElement.ProtoReflect.Descriptor instead.
func (*ContractTraceElement) GetElement ¶
func (m *ContractTraceElement) GetElement() isContractTraceElement_Element
func (*ContractTraceElement) GetInterrupted ¶
func (x *ContractTraceElement) GetInterrupted() *ContractTraceElement_Interrupted
func (*ContractTraceElement) GetResumed ¶
func (x *ContractTraceElement) GetResumed() *ContractTraceElement_Resumed
func (*ContractTraceElement) GetTransferred ¶
func (x *ContractTraceElement) GetTransferred() *ContractTraceElement_Transferred
func (*ContractTraceElement) GetUpdated ¶
func (x *ContractTraceElement) GetUpdated() *InstanceUpdatedEvent
func (*ContractTraceElement) GetUpgraded ¶
func (x *ContractTraceElement) GetUpgraded() *ContractTraceElement_Upgraded
func (*ContractTraceElement) ProtoMessage ¶
func (*ContractTraceElement) ProtoMessage()
func (*ContractTraceElement) ProtoReflect ¶
func (x *ContractTraceElement) ProtoReflect() protoreflect.Message
func (*ContractTraceElement) Reset ¶
func (x *ContractTraceElement) Reset()
func (*ContractTraceElement) String ¶
func (x *ContractTraceElement) String() string
type ContractTraceElement_Interrupted ¶
type ContractTraceElement_Interrupted struct { // The contract interrupted. Address *ContractAddress `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The events generated up until the interruption. Events []*ContractEvent `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
A contract was interrupted. This occurs when a contract invokes another contract or makes a transfer to an account.
func (*ContractTraceElement_Interrupted) Descriptor
deprecated
func (*ContractTraceElement_Interrupted) Descriptor() ([]byte, []int)
Deprecated: Use ContractTraceElement_Interrupted.ProtoReflect.Descriptor instead.
func (*ContractTraceElement_Interrupted) GetAddress ¶
func (x *ContractTraceElement_Interrupted) GetAddress() *ContractAddress
func (*ContractTraceElement_Interrupted) GetEvents ¶
func (x *ContractTraceElement_Interrupted) GetEvents() []*ContractEvent
func (*ContractTraceElement_Interrupted) ProtoMessage ¶
func (*ContractTraceElement_Interrupted) ProtoMessage()
func (*ContractTraceElement_Interrupted) ProtoReflect ¶
func (x *ContractTraceElement_Interrupted) ProtoReflect() protoreflect.Message
func (*ContractTraceElement_Interrupted) Reset ¶
func (x *ContractTraceElement_Interrupted) Reset()
func (*ContractTraceElement_Interrupted) String ¶
func (x *ContractTraceElement_Interrupted) String() string
type ContractTraceElement_Interrupted_ ¶
type ContractTraceElement_Interrupted_ struct { // A contract was interrupted. // This occurs when a contract invokes another contract or makes a transfer to an account. Interrupted *ContractTraceElement_Interrupted `protobuf:"bytes,3,opt,name=interrupted,proto3,oneof"` }
type ContractTraceElement_Resumed ¶
type ContractTraceElement_Resumed struct { // The contract resumed. Address *ContractAddress `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Whether the action that caused the interruption (invoke contract or make transfer) was successful or not. Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
A previously interrupted contract was resumed.
func (*ContractTraceElement_Resumed) Descriptor
deprecated
func (*ContractTraceElement_Resumed) Descriptor() ([]byte, []int)
Deprecated: Use ContractTraceElement_Resumed.ProtoReflect.Descriptor instead.
func (*ContractTraceElement_Resumed) GetAddress ¶
func (x *ContractTraceElement_Resumed) GetAddress() *ContractAddress
func (*ContractTraceElement_Resumed) GetSuccess ¶
func (x *ContractTraceElement_Resumed) GetSuccess() bool
func (*ContractTraceElement_Resumed) ProtoMessage ¶
func (*ContractTraceElement_Resumed) ProtoMessage()
func (*ContractTraceElement_Resumed) ProtoReflect ¶
func (x *ContractTraceElement_Resumed) ProtoReflect() protoreflect.Message
func (*ContractTraceElement_Resumed) Reset ¶
func (x *ContractTraceElement_Resumed) Reset()
func (*ContractTraceElement_Resumed) String ¶
func (x *ContractTraceElement_Resumed) String() string
type ContractTraceElement_Resumed_ ¶
type ContractTraceElement_Resumed_ struct { // A previously interrupted contract was resumed. Resumed *ContractTraceElement_Resumed `protobuf:"bytes,4,opt,name=resumed,proto3,oneof"` }
type ContractTraceElement_Transferred ¶
type ContractTraceElement_Transferred struct { // Sender contract. Sender *ContractAddress `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // Amount transferred. Amount *Amount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // Receiver account. Receiver *AccountAddress `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` // contains filtered or unexported fields }
A contract transferred an amount to an account.
func (*ContractTraceElement_Transferred) Descriptor
deprecated
func (*ContractTraceElement_Transferred) Descriptor() ([]byte, []int)
Deprecated: Use ContractTraceElement_Transferred.ProtoReflect.Descriptor instead.
func (*ContractTraceElement_Transferred) GetAmount ¶
func (x *ContractTraceElement_Transferred) GetAmount() *Amount
func (*ContractTraceElement_Transferred) GetReceiver ¶
func (x *ContractTraceElement_Transferred) GetReceiver() *AccountAddress
func (*ContractTraceElement_Transferred) GetSender ¶
func (x *ContractTraceElement_Transferred) GetSender() *ContractAddress
func (*ContractTraceElement_Transferred) ProtoMessage ¶
func (*ContractTraceElement_Transferred) ProtoMessage()
func (*ContractTraceElement_Transferred) ProtoReflect ¶
func (x *ContractTraceElement_Transferred) ProtoReflect() protoreflect.Message
func (*ContractTraceElement_Transferred) Reset ¶
func (x *ContractTraceElement_Transferred) Reset()
func (*ContractTraceElement_Transferred) String ¶
func (x *ContractTraceElement_Transferred) String() string
type ContractTraceElement_Transferred_ ¶
type ContractTraceElement_Transferred_ struct { // A contract transferred an amount to an account. Transferred *ContractTraceElement_Transferred `protobuf:"bytes,2,opt,name=transferred,proto3,oneof"` }
type ContractTraceElement_Updated ¶
type ContractTraceElement_Updated struct { // A contract instance was updated. Updated *InstanceUpdatedEvent `protobuf:"bytes,1,opt,name=updated,proto3,oneof"` }
type ContractTraceElement_Upgraded ¶
type ContractTraceElement_Upgraded struct { // The that was upgraded. Address *ContractAddress `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The module from which the contract was upgraded. From *ModuleRef `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // The module to which it was upgraded. To *ModuleRef `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
A previously interrupted contract was resumed.
func (*ContractTraceElement_Upgraded) Descriptor
deprecated
func (*ContractTraceElement_Upgraded) Descriptor() ([]byte, []int)
Deprecated: Use ContractTraceElement_Upgraded.ProtoReflect.Descriptor instead.
func (*ContractTraceElement_Upgraded) GetAddress ¶
func (x *ContractTraceElement_Upgraded) GetAddress() *ContractAddress
func (*ContractTraceElement_Upgraded) GetFrom ¶
func (x *ContractTraceElement_Upgraded) GetFrom() *ModuleRef
func (*ContractTraceElement_Upgraded) GetTo ¶
func (x *ContractTraceElement_Upgraded) GetTo() *ModuleRef
func (*ContractTraceElement_Upgraded) ProtoMessage ¶
func (*ContractTraceElement_Upgraded) ProtoMessage()
func (*ContractTraceElement_Upgraded) ProtoReflect ¶
func (x *ContractTraceElement_Upgraded) ProtoReflect() protoreflect.Message
func (*ContractTraceElement_Upgraded) Reset ¶
func (x *ContractTraceElement_Upgraded) Reset()
func (*ContractTraceElement_Upgraded) String ¶
func (x *ContractTraceElement_Upgraded) String() string
type ContractTraceElement_Upgraded_ ¶
type ContractTraceElement_Upgraded_ struct { // A contract was upgraded. Upgraded *ContractTraceElement_Upgraded `protobuf:"bytes,5,opt,name=upgraded,proto3,oneof"` }
type ContractVersion ¶
type ContractVersion int32
Version of smart contract.
const ( ContractVersion_V0 ContractVersion = 0 ContractVersion_V1 ContractVersion = 1 )
func (ContractVersion) Descriptor ¶
func (ContractVersion) Descriptor() protoreflect.EnumDescriptor
func (ContractVersion) Enum ¶
func (x ContractVersion) Enum() *ContractVersion
func (ContractVersion) EnumDescriptor
deprecated
func (ContractVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContractVersion.Descriptor instead.
func (ContractVersion) Number ¶
func (x ContractVersion) Number() protoreflect.EnumNumber
func (ContractVersion) String ¶
func (x ContractVersion) String() string
func (ContractVersion) Type ¶
func (ContractVersion) Type() protoreflect.EnumType
type Cooldown ¶ added in v0.3.0
type Cooldown struct { // The time in milliseconds since the Unix epoch when the cooldown period // ends. EndTime *Timestamp `protobuf:"bytes,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The amount that is in cooldown and set to be released at the end of the // cooldown period. Amount *Amount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // The status of the cooldown. Status Cooldown_CooldownStatus `protobuf:"varint,3,opt,name=status,proto3,enum=concordium.v2.Cooldown_CooldownStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Cooldown) Descriptor
deprecated
added in
v0.3.0
func (*Cooldown) GetEndTime ¶ added in v0.3.0
func (*Cooldown) GetStatus ¶ added in v0.3.0
func (x *Cooldown) GetStatus() Cooldown_CooldownStatus
func (*Cooldown) ProtoMessage ¶ added in v0.3.0
func (*Cooldown) ProtoMessage()
func (*Cooldown) ProtoReflect ¶ added in v0.3.0
func (x *Cooldown) ProtoReflect() protoreflect.Message
type CooldownParametersCpv1 ¶
type CooldownParametersCpv1 struct { // Number of seconds that pool owners must cooldown // when reducing their equity capital or closing the pool. PoolOwnerCooldown *DurationSeconds `protobuf:"bytes,1,opt,name=pool_owner_cooldown,json=poolOwnerCooldown,proto3" json:"pool_owner_cooldown,omitempty"` // Number of seconds that a delegator must cooldown // when reducing their delegated stake. DelegatorCooldown *DurationSeconds `protobuf:"bytes,2,opt,name=delegator_cooldown,json=delegatorCooldown,proto3" json:"delegator_cooldown,omitempty"` // contains filtered or unexported fields }
func (*CooldownParametersCpv1) Descriptor
deprecated
func (*CooldownParametersCpv1) Descriptor() ([]byte, []int)
Deprecated: Use CooldownParametersCpv1.ProtoReflect.Descriptor instead.
func (*CooldownParametersCpv1) GetDelegatorCooldown ¶
func (x *CooldownParametersCpv1) GetDelegatorCooldown() *DurationSeconds
func (*CooldownParametersCpv1) GetPoolOwnerCooldown ¶
func (x *CooldownParametersCpv1) GetPoolOwnerCooldown() *DurationSeconds
func (*CooldownParametersCpv1) ProtoMessage ¶
func (*CooldownParametersCpv1) ProtoMessage()
func (*CooldownParametersCpv1) ProtoReflect ¶
func (x *CooldownParametersCpv1) ProtoReflect() protoreflect.Message
func (*CooldownParametersCpv1) Reset ¶
func (x *CooldownParametersCpv1) Reset()
func (*CooldownParametersCpv1) String ¶
func (x *CooldownParametersCpv1) String() string
type Cooldown_CooldownStatus ¶ added in v0.3.0
type Cooldown_CooldownStatus int32
The status of a cooldown. When stake is removed from a baker or delegator (from protocol version 7) it first enters the pre-pre-cooldown state. The next time the stake snaphot is taken (at the epoch transition before a payday) it enters the pre-cooldown state. At the subsequent payday, it enters the cooldown state. At the payday after the end of the cooldown period, the stake is finally released.
const ( // The amount is in cooldown and will expire at the specified time, becoming available // at the subsequent pay day. Cooldown_COOLDOWN Cooldown_CooldownStatus = 0 // The amount will enter cooldown at the next pay day. The specified end time is // projected to be the end of the cooldown period, but the actual end time will be // determined at the payday, and may be different if the global cooldown period // changes. Cooldown_PRE_COOLDOWN Cooldown_CooldownStatus = 1 // The amount will enter pre-cooldown at the next snapshot epoch (i.e. the epoch // transition before a pay day transition). As with pre-cooldown, the specified // end time is projected, but the actual end time will be determined later. Cooldown_PRE_PRE_COOLDOWN Cooldown_CooldownStatus = 2 )
func (Cooldown_CooldownStatus) Descriptor ¶ added in v0.3.0
func (Cooldown_CooldownStatus) Descriptor() protoreflect.EnumDescriptor
func (Cooldown_CooldownStatus) Enum ¶ added in v0.3.0
func (x Cooldown_CooldownStatus) Enum() *Cooldown_CooldownStatus
func (Cooldown_CooldownStatus) EnumDescriptor
deprecated
added in
v0.3.0
func (Cooldown_CooldownStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cooldown_CooldownStatus.Descriptor instead.
func (Cooldown_CooldownStatus) Number ¶ added in v0.3.0
func (x Cooldown_CooldownStatus) Number() protoreflect.EnumNumber
func (Cooldown_CooldownStatus) String ¶ added in v0.3.0
func (x Cooldown_CooldownStatus) String() string
func (Cooldown_CooldownStatus) Type ¶ added in v0.3.0
func (Cooldown_CooldownStatus) Type() protoreflect.EnumType
type CredentialCommitments ¶
type CredentialCommitments struct { // Commitment to the PRF key. Prf *Commitment `protobuf:"bytes,1,opt,name=prf,proto3" json:"prf,omitempty"` // Commitment to the counter used to generate the credential registration id. CredCounter *Commitment `protobuf:"bytes,2,opt,name=cred_counter,json=credCounter,proto3" json:"cred_counter,omitempty"` // Commitment to the `max_accounts` value, which determines the maximum number // of credentials that may be created from the identity object. MaxAccounts *Commitment `protobuf:"bytes,3,opt,name=max_accounts,json=maxAccounts,proto3" json:"max_accounts,omitempty"` // Commitments to the attributes which have not been revealed in the policy. Attributes map[uint32]*Commitment `` /* 162-byte string literal not displayed */ // List of commitments to the coefficients of the sharing polynomial. This // polynomial is used in a shared encryption of `id_cred_pub` among the // anonymity revokers. IdCredSecSharingCoeff []*Commitment `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
Commitments that are part of a normal credential.
func (*CredentialCommitments) Descriptor
deprecated
func (*CredentialCommitments) Descriptor() ([]byte, []int)
Deprecated: Use CredentialCommitments.ProtoReflect.Descriptor instead.
func (*CredentialCommitments) GetAttributes ¶
func (x *CredentialCommitments) GetAttributes() map[uint32]*Commitment
func (*CredentialCommitments) GetCredCounter ¶
func (x *CredentialCommitments) GetCredCounter() *Commitment
func (*CredentialCommitments) GetIdCredSecSharingCoeff ¶
func (x *CredentialCommitments) GetIdCredSecSharingCoeff() []*Commitment
func (*CredentialCommitments) GetMaxAccounts ¶
func (x *CredentialCommitments) GetMaxAccounts() *Commitment
func (*CredentialCommitments) GetPrf ¶
func (x *CredentialCommitments) GetPrf() *Commitment
func (*CredentialCommitments) ProtoMessage ¶
func (*CredentialCommitments) ProtoMessage()
func (*CredentialCommitments) ProtoReflect ¶
func (x *CredentialCommitments) ProtoReflect() protoreflect.Message
func (*CredentialCommitments) Reset ¶
func (x *CredentialCommitments) Reset()
func (*CredentialCommitments) String ¶
func (x *CredentialCommitments) String() string
type CredentialDeployment ¶
type CredentialDeployment struct { MessageExpiry *TransactionTime `protobuf:"bytes,1,opt,name=message_expiry,json=messageExpiry,proto3" json:"message_expiry,omitempty"` // The credential to be added. // // Types that are assignable to Payload: // // *CredentialDeployment_RawPayload Payload isCredentialDeployment_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
Credential deployments create new accounts. They are not paid for directly by the sender. Instead, bakers are rewarded by the protocol for including them.
func (*CredentialDeployment) Descriptor
deprecated
func (*CredentialDeployment) Descriptor() ([]byte, []int)
Deprecated: Use CredentialDeployment.ProtoReflect.Descriptor instead.
func (*CredentialDeployment) GetMessageExpiry ¶
func (x *CredentialDeployment) GetMessageExpiry() *TransactionTime
func (*CredentialDeployment) GetPayload ¶
func (m *CredentialDeployment) GetPayload() isCredentialDeployment_Payload
func (*CredentialDeployment) GetRawPayload ¶
func (x *CredentialDeployment) GetRawPayload() []byte
func (*CredentialDeployment) ProtoMessage ¶
func (*CredentialDeployment) ProtoMessage()
func (*CredentialDeployment) ProtoReflect ¶
func (x *CredentialDeployment) ProtoReflect() protoreflect.Message
func (*CredentialDeployment) Reset ¶
func (x *CredentialDeployment) Reset()
func (*CredentialDeployment) String ¶
func (x *CredentialDeployment) String() string
type CredentialDeployment_RawPayload ¶
type CredentialDeployment_RawPayload struct { // A raw payload, which is just the encoded payload. // A typed variant might be added in the future. RawPayload []byte `protobuf:"bytes,2,opt,name=raw_payload,json=rawPayload,proto3,oneof"` }
type CredentialIndex ¶
type CredentialIndex struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Index of a credential on an account.
func (*CredentialIndex) Descriptor
deprecated
func (*CredentialIndex) Descriptor() ([]byte, []int)
Deprecated: Use CredentialIndex.ProtoReflect.Descriptor instead.
func (*CredentialIndex) GetValue ¶
func (x *CredentialIndex) GetValue() uint32
func (*CredentialIndex) ProtoMessage ¶
func (*CredentialIndex) ProtoMessage()
func (*CredentialIndex) ProtoReflect ¶
func (x *CredentialIndex) ProtoReflect() protoreflect.Message
func (*CredentialIndex) Reset ¶
func (x *CredentialIndex) Reset()
func (*CredentialIndex) String ¶
func (x *CredentialIndex) String() string
type CredentialPublicKeys ¶
type CredentialPublicKeys struct { Keys map[uint32]*AccountVerifyKey `` /* 150-byte string literal not displayed */ Threshold *SignatureThreshold `protobuf:"bytes,2,opt,name=threshold,proto3" json:"threshold,omitempty"` // contains filtered or unexported fields }
Public keys of a single credential.
func (*CredentialPublicKeys) Descriptor
deprecated
func (*CredentialPublicKeys) Descriptor() ([]byte, []int)
Deprecated: Use CredentialPublicKeys.ProtoReflect.Descriptor instead.
func (*CredentialPublicKeys) GetKeys ¶
func (x *CredentialPublicKeys) GetKeys() map[uint32]*AccountVerifyKey
func (*CredentialPublicKeys) GetThreshold ¶
func (x *CredentialPublicKeys) GetThreshold() *SignatureThreshold
func (*CredentialPublicKeys) ProtoMessage ¶
func (*CredentialPublicKeys) ProtoMessage()
func (*CredentialPublicKeys) ProtoReflect ¶
func (x *CredentialPublicKeys) ProtoReflect() protoreflect.Message
func (*CredentialPublicKeys) Reset ¶
func (x *CredentialPublicKeys) Reset()
func (*CredentialPublicKeys) String ¶
func (x *CredentialPublicKeys) String() string
type CredentialRegistrationId ¶
type CredentialRegistrationId struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A registration ID of a credential, derived from the secret PRF key and a nonce. This is always 48 bytes long.
func (*CredentialRegistrationId) Descriptor
deprecated
func (*CredentialRegistrationId) Descriptor() ([]byte, []int)
Deprecated: Use CredentialRegistrationId.ProtoReflect.Descriptor instead.
func (*CredentialRegistrationId) GetValue ¶
func (x *CredentialRegistrationId) GetValue() []byte
func (*CredentialRegistrationId) ProtoMessage ¶
func (*CredentialRegistrationId) ProtoMessage()
func (*CredentialRegistrationId) ProtoReflect ¶
func (x *CredentialRegistrationId) ProtoReflect() protoreflect.Message
func (*CredentialRegistrationId) Reset ¶
func (x *CredentialRegistrationId) Reset()
func (*CredentialRegistrationId) String ¶
func (x *CredentialRegistrationId) String() string
type CredentialType ¶
type CredentialType int32
The type of a credential.
const ( // An initial credential created by the identity provider. CredentialType_CREDENTIAL_TYPE_INITIAL CredentialType = 0 // A normal credential type created by the account. CredentialType_CREDENTIAL_TYPE_NORMAL CredentialType = 1 )
func (CredentialType) Descriptor ¶
func (CredentialType) Descriptor() protoreflect.EnumDescriptor
func (CredentialType) Enum ¶
func (x CredentialType) Enum() *CredentialType
func (CredentialType) EnumDescriptor
deprecated
func (CredentialType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CredentialType.Descriptor instead.
func (CredentialType) Number ¶
func (x CredentialType) Number() protoreflect.EnumNumber
func (CredentialType) String ¶
func (x CredentialType) String() string
func (CredentialType) Type ¶
func (CredentialType) Type() protoreflect.EnumType
type CredentialsPerBlockLimit ¶
type CredentialsPerBlockLimit struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The number of credential deployments allowed in a block. This in effect determines the number of accounts that can be created in a block.
func (*CredentialsPerBlockLimit) Descriptor
deprecated
func (*CredentialsPerBlockLimit) Descriptor() ([]byte, []int)
Deprecated: Use CredentialsPerBlockLimit.ProtoReflect.Descriptor instead.
func (*CredentialsPerBlockLimit) GetValue ¶
func (x *CredentialsPerBlockLimit) GetValue() uint32
func (*CredentialsPerBlockLimit) ProtoMessage ¶
func (*CredentialsPerBlockLimit) ProtoMessage()
func (*CredentialsPerBlockLimit) ProtoReflect ¶
func (x *CredentialsPerBlockLimit) ProtoReflect() protoreflect.Message
func (*CredentialsPerBlockLimit) Reset ¶
func (x *CredentialsPerBlockLimit) Reset()
func (*CredentialsPerBlockLimit) String ¶
func (x *CredentialsPerBlockLimit) String() string
type CryptographicParameters ¶
type CryptographicParameters struct { // A free-form string used to distinguish between different chains even if they share other parameters. GenesisString string `protobuf:"bytes,1,opt,name=genesis_string,json=genesisString,proto3" json:"genesis_string,omitempty"` // Generators for the bulletproofs. // It is a serialized list of 256 group elements in the G1 group of the BLS12-381 curve. BulletproofGenerators []byte `protobuf:"bytes,2,opt,name=bulletproof_generators,json=bulletproofGenerators,proto3" json:"bulletproof_generators,omitempty"` // A shared commitment key known to the chain and the account holder (and therefore it is public). // The account holder uses this commitment key to generate commitments to values in the attribute list. // It is a serialized pair of group elements in the G1 group of the BLS12-381 curve. OnChainCommitmentKey []byte `protobuf:"bytes,3,opt,name=on_chain_commitment_key,json=onChainCommitmentKey,proto3" json:"on_chain_commitment_key,omitempty"` // contains filtered or unexported fields }
The response for GetCryptographicParameters.
func (*CryptographicParameters) Descriptor
deprecated
func (*CryptographicParameters) Descriptor() ([]byte, []int)
Deprecated: Use CryptographicParameters.ProtoReflect.Descriptor instead.
func (*CryptographicParameters) GetBulletproofGenerators ¶
func (x *CryptographicParameters) GetBulletproofGenerators() []byte
func (*CryptographicParameters) GetGenesisString ¶
func (x *CryptographicParameters) GetGenesisString() string
func (*CryptographicParameters) GetOnChainCommitmentKey ¶
func (x *CryptographicParameters) GetOnChainCommitmentKey() []byte
func (*CryptographicParameters) ProtoMessage ¶
func (*CryptographicParameters) ProtoMessage()
func (*CryptographicParameters) ProtoReflect ¶
func (x *CryptographicParameters) ProtoReflect() protoreflect.Message
func (*CryptographicParameters) Reset ¶
func (x *CryptographicParameters) Reset()
func (*CryptographicParameters) String ¶
func (x *CryptographicParameters) String() string
type DelegationEvent ¶
type DelegationEvent struct { // Types that are assignable to Event: // // *DelegationEvent_DelegationStakeIncreased_ // *DelegationEvent_DelegationStakeDecreased_ // *DelegationEvent_DelegationSetRestakeEarnings_ // *DelegationEvent_DelegationSetDelegationTarget_ // *DelegationEvent_DelegationAdded // *DelegationEvent_DelegationRemoved // *DelegationEvent_BakerRemoved_ Event isDelegationEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
func (*DelegationEvent) Descriptor
deprecated
func (*DelegationEvent) Descriptor() ([]byte, []int)
Deprecated: Use DelegationEvent.ProtoReflect.Descriptor instead.
func (*DelegationEvent) GetBakerRemoved ¶ added in v0.3.0
func (x *DelegationEvent) GetBakerRemoved() *DelegationEvent_BakerRemoved
func (*DelegationEvent) GetDelegationAdded ¶
func (x *DelegationEvent) GetDelegationAdded() *DelegatorId
func (*DelegationEvent) GetDelegationRemoved ¶
func (x *DelegationEvent) GetDelegationRemoved() *DelegatorId
func (*DelegationEvent) GetDelegationSetDelegationTarget ¶
func (x *DelegationEvent) GetDelegationSetDelegationTarget() *DelegationEvent_DelegationSetDelegationTarget
func (*DelegationEvent) GetDelegationSetRestakeEarnings ¶
func (x *DelegationEvent) GetDelegationSetRestakeEarnings() *DelegationEvent_DelegationSetRestakeEarnings
func (*DelegationEvent) GetDelegationStakeDecreased ¶
func (x *DelegationEvent) GetDelegationStakeDecreased() *DelegationEvent_DelegationStakeDecreased
func (*DelegationEvent) GetDelegationStakeIncreased ¶
func (x *DelegationEvent) GetDelegationStakeIncreased() *DelegationEvent_DelegationStakeIncreased
func (*DelegationEvent) GetEvent ¶
func (m *DelegationEvent) GetEvent() isDelegationEvent_Event
func (*DelegationEvent) ProtoMessage ¶
func (*DelegationEvent) ProtoMessage()
func (*DelegationEvent) ProtoReflect ¶
func (x *DelegationEvent) ProtoReflect() protoreflect.Message
func (*DelegationEvent) Reset ¶
func (x *DelegationEvent) Reset()
func (*DelegationEvent) String ¶
func (x *DelegationEvent) String() string
type DelegationEvent_BakerRemoved ¶ added in v0.3.0
type DelegationEvent_BakerRemoved struct { // Baker's id BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // contains filtered or unexported fields }
func (*DelegationEvent_BakerRemoved) Descriptor
deprecated
added in
v0.3.0
func (*DelegationEvent_BakerRemoved) Descriptor() ([]byte, []int)
Deprecated: Use DelegationEvent_BakerRemoved.ProtoReflect.Descriptor instead.
func (*DelegationEvent_BakerRemoved) GetBakerId ¶ added in v0.3.0
func (x *DelegationEvent_BakerRemoved) GetBakerId() *BakerId
func (*DelegationEvent_BakerRemoved) ProtoMessage ¶ added in v0.3.0
func (*DelegationEvent_BakerRemoved) ProtoMessage()
func (*DelegationEvent_BakerRemoved) ProtoReflect ¶ added in v0.3.0
func (x *DelegationEvent_BakerRemoved) ProtoReflect() protoreflect.Message
func (*DelegationEvent_BakerRemoved) Reset ¶ added in v0.3.0
func (x *DelegationEvent_BakerRemoved) Reset()
func (*DelegationEvent_BakerRemoved) String ¶ added in v0.3.0
func (x *DelegationEvent_BakerRemoved) String() string
type DelegationEvent_BakerRemoved_ ¶ added in v0.3.0
type DelegationEvent_BakerRemoved_ struct { // An existing baker was removed. BakerRemoved *DelegationEvent_BakerRemoved `protobuf:"bytes,7,opt,name=baker_removed,json=bakerRemoved,proto3,oneof"` }
type DelegationEvent_DelegationAdded ¶
type DelegationEvent_DelegationAdded struct { // A delegator was added. DelegationAdded *DelegatorId `protobuf:"bytes,5,opt,name=delegation_added,json=delegationAdded,proto3,oneof"` }
type DelegationEvent_DelegationRemoved ¶
type DelegationEvent_DelegationRemoved struct { // A delegator was removed. DelegationRemoved *DelegatorId `protobuf:"bytes,6,opt,name=delegation_removed,json=delegationRemoved,proto3,oneof"` }
type DelegationEvent_DelegationSetDelegationTarget ¶
type DelegationEvent_DelegationSetDelegationTarget struct { // Delegator's id DelegatorId *DelegatorId `protobuf:"bytes,1,opt,name=delegator_id,json=delegatorId,proto3" json:"delegator_id,omitempty"` // New delegation target DelegationTarget *DelegationTarget `protobuf:"bytes,2,opt,name=delegation_target,json=delegationTarget,proto3" json:"delegation_target,omitempty"` // contains filtered or unexported fields }
func (*DelegationEvent_DelegationSetDelegationTarget) Descriptor
deprecated
func (*DelegationEvent_DelegationSetDelegationTarget) Descriptor() ([]byte, []int)
Deprecated: Use DelegationEvent_DelegationSetDelegationTarget.ProtoReflect.Descriptor instead.
func (*DelegationEvent_DelegationSetDelegationTarget) GetDelegationTarget ¶
func (x *DelegationEvent_DelegationSetDelegationTarget) GetDelegationTarget() *DelegationTarget
func (*DelegationEvent_DelegationSetDelegationTarget) GetDelegatorId ¶
func (x *DelegationEvent_DelegationSetDelegationTarget) GetDelegatorId() *DelegatorId
func (*DelegationEvent_DelegationSetDelegationTarget) ProtoMessage ¶
func (*DelegationEvent_DelegationSetDelegationTarget) ProtoMessage()
func (*DelegationEvent_DelegationSetDelegationTarget) ProtoReflect ¶
func (x *DelegationEvent_DelegationSetDelegationTarget) ProtoReflect() protoreflect.Message
func (*DelegationEvent_DelegationSetDelegationTarget) Reset ¶
func (x *DelegationEvent_DelegationSetDelegationTarget) Reset()
func (*DelegationEvent_DelegationSetDelegationTarget) String ¶
func (x *DelegationEvent_DelegationSetDelegationTarget) String() string
type DelegationEvent_DelegationSetDelegationTarget_ ¶
type DelegationEvent_DelegationSetDelegationTarget_ struct { // The delegator's delegation target was updated. DelegationSetDelegationTarget *DelegationEvent_DelegationSetDelegationTarget `protobuf:"bytes,4,opt,name=delegation_set_delegation_target,json=delegationSetDelegationTarget,proto3,oneof"` }
type DelegationEvent_DelegationSetRestakeEarnings ¶
type DelegationEvent_DelegationSetRestakeEarnings struct { // Delegator's id DelegatorId *DelegatorId `protobuf:"bytes,1,opt,name=delegator_id,json=delegatorId,proto3" json:"delegator_id,omitempty"` // Whether earnings will be restaked RestakeEarnings bool `protobuf:"varint,2,opt,name=restake_earnings,json=restakeEarnings,proto3" json:"restake_earnings,omitempty"` // contains filtered or unexported fields }
func (*DelegationEvent_DelegationSetRestakeEarnings) Descriptor
deprecated
func (*DelegationEvent_DelegationSetRestakeEarnings) Descriptor() ([]byte, []int)
Deprecated: Use DelegationEvent_DelegationSetRestakeEarnings.ProtoReflect.Descriptor instead.
func (*DelegationEvent_DelegationSetRestakeEarnings) GetDelegatorId ¶
func (x *DelegationEvent_DelegationSetRestakeEarnings) GetDelegatorId() *DelegatorId
func (*DelegationEvent_DelegationSetRestakeEarnings) GetRestakeEarnings ¶
func (x *DelegationEvent_DelegationSetRestakeEarnings) GetRestakeEarnings() bool
func (*DelegationEvent_DelegationSetRestakeEarnings) ProtoMessage ¶
func (*DelegationEvent_DelegationSetRestakeEarnings) ProtoMessage()
func (*DelegationEvent_DelegationSetRestakeEarnings) ProtoReflect ¶
func (x *DelegationEvent_DelegationSetRestakeEarnings) ProtoReflect() protoreflect.Message
func (*DelegationEvent_DelegationSetRestakeEarnings) Reset ¶
func (x *DelegationEvent_DelegationSetRestakeEarnings) Reset()
func (*DelegationEvent_DelegationSetRestakeEarnings) String ¶
func (x *DelegationEvent_DelegationSetRestakeEarnings) String() string
type DelegationEvent_DelegationSetRestakeEarnings_ ¶
type DelegationEvent_DelegationSetRestakeEarnings_ struct { // The delegator's restaking setting was updated. DelegationSetRestakeEarnings *DelegationEvent_DelegationSetRestakeEarnings `protobuf:"bytes,3,opt,name=delegation_set_restake_earnings,json=delegationSetRestakeEarnings,proto3,oneof"` }
type DelegationEvent_DelegationStakeDecreased ¶
type DelegationEvent_DelegationStakeDecreased struct { // Delegator's id DelegatorId *DelegatorId `protobuf:"bytes,1,opt,name=delegator_id,json=delegatorId,proto3" json:"delegator_id,omitempty"` // New stake NewStake *Amount `protobuf:"bytes,2,opt,name=new_stake,json=newStake,proto3" json:"new_stake,omitempty"` // contains filtered or unexported fields }
func (*DelegationEvent_DelegationStakeDecreased) Descriptor
deprecated
func (*DelegationEvent_DelegationStakeDecreased) Descriptor() ([]byte, []int)
Deprecated: Use DelegationEvent_DelegationStakeDecreased.ProtoReflect.Descriptor instead.
func (*DelegationEvent_DelegationStakeDecreased) GetDelegatorId ¶
func (x *DelegationEvent_DelegationStakeDecreased) GetDelegatorId() *DelegatorId
func (*DelegationEvent_DelegationStakeDecreased) GetNewStake ¶
func (x *DelegationEvent_DelegationStakeDecreased) GetNewStake() *Amount
func (*DelegationEvent_DelegationStakeDecreased) ProtoMessage ¶
func (*DelegationEvent_DelegationStakeDecreased) ProtoMessage()
func (*DelegationEvent_DelegationStakeDecreased) ProtoReflect ¶
func (x *DelegationEvent_DelegationStakeDecreased) ProtoReflect() protoreflect.Message
func (*DelegationEvent_DelegationStakeDecreased) Reset ¶
func (x *DelegationEvent_DelegationStakeDecreased) Reset()
func (*DelegationEvent_DelegationStakeDecreased) String ¶
func (x *DelegationEvent_DelegationStakeDecreased) String() string
type DelegationEvent_DelegationStakeDecreased_ ¶
type DelegationEvent_DelegationStakeDecreased_ struct { // The delegator's stake decreased. DelegationStakeDecreased *DelegationEvent_DelegationStakeDecreased `protobuf:"bytes,2,opt,name=delegation_stake_decreased,json=delegationStakeDecreased,proto3,oneof"` }
type DelegationEvent_DelegationStakeIncreased ¶
type DelegationEvent_DelegationStakeIncreased struct { // Delegator's id DelegatorId *DelegatorId `protobuf:"bytes,1,opt,name=delegator_id,json=delegatorId,proto3" json:"delegator_id,omitempty"` // New stake NewStake *Amount `protobuf:"bytes,2,opt,name=new_stake,json=newStake,proto3" json:"new_stake,omitempty"` // contains filtered or unexported fields }
func (*DelegationEvent_DelegationStakeIncreased) Descriptor
deprecated
func (*DelegationEvent_DelegationStakeIncreased) Descriptor() ([]byte, []int)
Deprecated: Use DelegationEvent_DelegationStakeIncreased.ProtoReflect.Descriptor instead.
func (*DelegationEvent_DelegationStakeIncreased) GetDelegatorId ¶
func (x *DelegationEvent_DelegationStakeIncreased) GetDelegatorId() *DelegatorId
func (*DelegationEvent_DelegationStakeIncreased) GetNewStake ¶
func (x *DelegationEvent_DelegationStakeIncreased) GetNewStake() *Amount
func (*DelegationEvent_DelegationStakeIncreased) ProtoMessage ¶
func (*DelegationEvent_DelegationStakeIncreased) ProtoMessage()
func (*DelegationEvent_DelegationStakeIncreased) ProtoReflect ¶
func (x *DelegationEvent_DelegationStakeIncreased) ProtoReflect() protoreflect.Message
func (*DelegationEvent_DelegationStakeIncreased) Reset ¶
func (x *DelegationEvent_DelegationStakeIncreased) Reset()
func (*DelegationEvent_DelegationStakeIncreased) String ¶
func (x *DelegationEvent_DelegationStakeIncreased) String() string
type DelegationEvent_DelegationStakeIncreased_ ¶
type DelegationEvent_DelegationStakeIncreased_ struct { // The delegator's stake increased. DelegationStakeIncreased *DelegationEvent_DelegationStakeIncreased `protobuf:"bytes,1,opt,name=delegation_stake_increased,json=delegationStakeIncreased,proto3,oneof"` }
type DelegationTarget ¶
type DelegationTarget struct { // Types that are assignable to Target: // // *DelegationTarget_Passive // *DelegationTarget_Baker Target isDelegationTarget_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
Entity to which the account delegates a portion of its stake.
func (*DelegationTarget) Descriptor
deprecated
func (*DelegationTarget) Descriptor() ([]byte, []int)
Deprecated: Use DelegationTarget.ProtoReflect.Descriptor instead.
func (*DelegationTarget) GetBaker ¶
func (x *DelegationTarget) GetBaker() *BakerId
func (*DelegationTarget) GetPassive ¶
func (x *DelegationTarget) GetPassive() *Empty
func (*DelegationTarget) GetTarget ¶
func (m *DelegationTarget) GetTarget() isDelegationTarget_Target
func (*DelegationTarget) ProtoMessage ¶
func (*DelegationTarget) ProtoMessage()
func (*DelegationTarget) ProtoReflect ¶
func (x *DelegationTarget) ProtoReflect() protoreflect.Message
func (*DelegationTarget) Reset ¶
func (x *DelegationTarget) Reset()
func (*DelegationTarget) String ¶
func (x *DelegationTarget) String() string
type DelegationTarget_Baker ¶
type DelegationTarget_Baker struct { // Delegate to a specific baker. Baker *BakerId `protobuf:"bytes,2,opt,name=baker,proto3,oneof"` }
type DelegationTarget_Passive ¶
type DelegationTarget_Passive struct { // Delegate passively, i.e., to no specific baker. Passive *Empty `protobuf:"bytes,1,opt,name=passive,proto3,oneof"` }
type DelegatorId ¶
type DelegatorId struct { Id *AccountIndex `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
The identifier for a delegator.
func (*DelegatorId) Descriptor
deprecated
func (*DelegatorId) Descriptor() ([]byte, []int)
Deprecated: Use DelegatorId.ProtoReflect.Descriptor instead.
func (*DelegatorId) GetId ¶
func (x *DelegatorId) GetId() *AccountIndex
func (*DelegatorId) ProtoMessage ¶
func (*DelegatorId) ProtoMessage()
func (*DelegatorId) ProtoReflect ¶
func (x *DelegatorId) ProtoReflect() protoreflect.Message
func (*DelegatorId) Reset ¶
func (x *DelegatorId) Reset()
func (*DelegatorId) String ¶
func (x *DelegatorId) String() string
type DelegatorInfo ¶
type DelegatorInfo struct { // The delegator account address. Account *AccountAddress `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The amount of stake currently staked to the pool. Stake *Amount `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"` // Pending change to the current stake of the delegator. PendingChange *StakePendingChange `protobuf:"bytes,3,opt,name=pending_change,json=pendingChange,proto3,oneof" json:"pending_change,omitempty"` // contains filtered or unexported fields }
Stream item for GetPoolDelegators and GetPassiveDelegators.
func (*DelegatorInfo) Descriptor
deprecated
func (*DelegatorInfo) Descriptor() ([]byte, []int)
Deprecated: Use DelegatorInfo.ProtoReflect.Descriptor instead.
func (*DelegatorInfo) GetAccount ¶
func (x *DelegatorInfo) GetAccount() *AccountAddress
func (*DelegatorInfo) GetPendingChange ¶
func (x *DelegatorInfo) GetPendingChange() *StakePendingChange
func (*DelegatorInfo) GetStake ¶
func (x *DelegatorInfo) GetStake() *Amount
func (*DelegatorInfo) ProtoMessage ¶
func (*DelegatorInfo) ProtoMessage()
func (*DelegatorInfo) ProtoReflect ¶
func (x *DelegatorInfo) ProtoReflect() protoreflect.Message
func (*DelegatorInfo) Reset ¶
func (x *DelegatorInfo) Reset()
func (*DelegatorInfo) String ¶
func (x *DelegatorInfo) String() string
type DelegatorRewardPeriodInfo ¶
type DelegatorRewardPeriodInfo struct { // The delegator account address. Account *AccountAddress `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The amount of stake currently staked to the pool. Stake *Amount `protobuf:"bytes,2,opt,name=stake,proto3" json:"stake,omitempty"` // contains filtered or unexported fields }
Stream item for GetPoolDelegatorsRewardPeriod and GetPassiveDelegatorsRewardPeriod.
func (*DelegatorRewardPeriodInfo) Descriptor
deprecated
func (*DelegatorRewardPeriodInfo) Descriptor() ([]byte, []int)
Deprecated: Use DelegatorRewardPeriodInfo.ProtoReflect.Descriptor instead.
func (*DelegatorRewardPeriodInfo) GetAccount ¶
func (x *DelegatorRewardPeriodInfo) GetAccount() *AccountAddress
func (*DelegatorRewardPeriodInfo) GetStake ¶
func (x *DelegatorRewardPeriodInfo) GetStake() *Amount
func (*DelegatorRewardPeriodInfo) ProtoMessage ¶
func (*DelegatorRewardPeriodInfo) ProtoMessage()
func (*DelegatorRewardPeriodInfo) ProtoReflect ¶
func (x *DelegatorRewardPeriodInfo) ProtoReflect() protoreflect.Message
func (*DelegatorRewardPeriodInfo) Reset ¶
func (x *DelegatorRewardPeriodInfo) Reset()
func (*DelegatorRewardPeriodInfo) String ¶
func (x *DelegatorRewardPeriodInfo) String() string
type Description ¶
type Description struct { // The name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A link to more information about the anonymity revoker or identity provider. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // A free form description of the revoker or provider. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Description either of an anonymity revoker or identity provider. Metadata that should be visible on the chain.
func (*Description) Descriptor
deprecated
func (*Description) Descriptor() ([]byte, []int)
Deprecated: Use Description.ProtoReflect.Descriptor instead.
func (*Description) GetDescription ¶
func (x *Description) GetDescription() string
func (*Description) GetName ¶
func (x *Description) GetName() string
func (*Description) GetUrl ¶
func (x *Description) GetUrl() string
func (*Description) ProtoMessage ¶
func (*Description) ProtoMessage()
func (*Description) ProtoReflect ¶
func (x *Description) ProtoReflect() protoreflect.Message
func (*Description) Reset ¶
func (x *Description) Reset()
func (*Description) String ¶
func (x *Description) String() string
type DryRunErrorResponse ¶ added in v0.2.0
type DryRunErrorResponse struct { // Types that are assignable to Error: // // *DryRunErrorResponse_NoState_ // *DryRunErrorResponse_BlockNotFound_ // *DryRunErrorResponse_AccountNotFound_ // *DryRunErrorResponse_InstanceNotFound_ // *DryRunErrorResponse_AmountOverLimit_ // *DryRunErrorResponse_BalanceInsufficient_ // *DryRunErrorResponse_EnergyInsufficient_ // *DryRunErrorResponse_InvokeFailed Error isDryRunErrorResponse_Error `protobuf_oneof:"error"` // contains filtered or unexported fields }
func (*DryRunErrorResponse) Descriptor
deprecated
added in
v0.2.0
func (*DryRunErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use DryRunErrorResponse.ProtoReflect.Descriptor instead.
func (*DryRunErrorResponse) GetAccountNotFound ¶ added in v0.2.0
func (x *DryRunErrorResponse) GetAccountNotFound() *DryRunErrorResponse_AccountNotFound
func (*DryRunErrorResponse) GetAmountOverLimit ¶ added in v0.2.0
func (x *DryRunErrorResponse) GetAmountOverLimit() *DryRunErrorResponse_AmountOverLimit
func (*DryRunErrorResponse) GetBalanceInsufficient ¶ added in v0.2.0
func (x *DryRunErrorResponse) GetBalanceInsufficient() *DryRunErrorResponse_BalanceInsufficient
func (*DryRunErrorResponse) GetBlockNotFound ¶ added in v0.2.0
func (x *DryRunErrorResponse) GetBlockNotFound() *DryRunErrorResponse_BlockNotFound
func (*DryRunErrorResponse) GetEnergyInsufficient ¶ added in v0.2.0
func (x *DryRunErrorResponse) GetEnergyInsufficient() *DryRunErrorResponse_EnergyInsufficient
func (*DryRunErrorResponse) GetError ¶ added in v0.2.0
func (m *DryRunErrorResponse) GetError() isDryRunErrorResponse_Error
func (*DryRunErrorResponse) GetInstanceNotFound ¶ added in v0.2.0
func (x *DryRunErrorResponse) GetInstanceNotFound() *DryRunErrorResponse_InstanceNotFound
func (*DryRunErrorResponse) GetInvokeFailed ¶ added in v0.2.0
func (x *DryRunErrorResponse) GetInvokeFailed() *DryRunErrorResponse_InvokeFailure
func (*DryRunErrorResponse) GetNoState ¶ added in v0.2.0
func (x *DryRunErrorResponse) GetNoState() *DryRunErrorResponse_NoState
func (*DryRunErrorResponse) ProtoMessage ¶ added in v0.2.0
func (*DryRunErrorResponse) ProtoMessage()
func (*DryRunErrorResponse) ProtoReflect ¶ added in v0.2.0
func (x *DryRunErrorResponse) ProtoReflect() protoreflect.Message
func (*DryRunErrorResponse) Reset ¶ added in v0.2.0
func (x *DryRunErrorResponse) Reset()
func (*DryRunErrorResponse) String ¶ added in v0.2.0
func (x *DryRunErrorResponse) String() string
type DryRunErrorResponse_AccountNotFound ¶ added in v0.2.0
type DryRunErrorResponse_AccountNotFound struct {
// contains filtered or unexported fields
}
The specified account was not found.
func (*DryRunErrorResponse_AccountNotFound) Descriptor
deprecated
added in
v0.2.0
func (*DryRunErrorResponse_AccountNotFound) Descriptor() ([]byte, []int)
Deprecated: Use DryRunErrorResponse_AccountNotFound.ProtoReflect.Descriptor instead.
func (*DryRunErrorResponse_AccountNotFound) ProtoMessage ¶ added in v0.2.0
func (*DryRunErrorResponse_AccountNotFound) ProtoMessage()
func (*DryRunErrorResponse_AccountNotFound) ProtoReflect ¶ added in v0.2.0
func (x *DryRunErrorResponse_AccountNotFound) ProtoReflect() protoreflect.Message
func (*DryRunErrorResponse_AccountNotFound) Reset ¶ added in v0.2.0
func (x *DryRunErrorResponse_AccountNotFound) Reset()
func (*DryRunErrorResponse_AccountNotFound) String ¶ added in v0.2.0
func (x *DryRunErrorResponse_AccountNotFound) String() string
type DryRunErrorResponse_AccountNotFound_ ¶ added in v0.2.0
type DryRunErrorResponse_AccountNotFound_ struct { // The specified account was not found. // Response to 'get_account_info', 'mint_to_account' and 'run_transaction'. AccountNotFound *DryRunErrorResponse_AccountNotFound `protobuf:"bytes,3,opt,name=account_not_found,json=accountNotFound,proto3,oneof"` }
type DryRunErrorResponse_AmountOverLimit ¶ added in v0.2.0
type DryRunErrorResponse_AmountOverLimit struct { // The maximum amount that can be minted without overflowing the supply. AmountLimit *Amount `protobuf:"bytes,1,opt,name=amount_limit,json=amountLimit,proto3" json:"amount_limit,omitempty"` // contains filtered or unexported fields }
The amount that was requested to be minted would overflow the total supply.
func (*DryRunErrorResponse_AmountOverLimit) Descriptor
deprecated
added in
v0.2.0
func (*DryRunErrorResponse_AmountOverLimit) Descriptor() ([]byte, []int)
Deprecated: Use DryRunErrorResponse_AmountOverLimit.ProtoReflect.Descriptor instead.
func (*DryRunErrorResponse_AmountOverLimit) GetAmountLimit ¶ added in v0.2.0
func (x *DryRunErrorResponse_AmountOverLimit) GetAmountLimit() *Amount
func (*DryRunErrorResponse_AmountOverLimit) ProtoMessage ¶ added in v0.2.0
func (*DryRunErrorResponse_AmountOverLimit) ProtoMessage()
func (*DryRunErrorResponse_AmountOverLimit) ProtoReflect ¶ added in v0.2.0
func (x *DryRunErrorResponse_AmountOverLimit) ProtoReflect() protoreflect.Message
func (*DryRunErrorResponse_AmountOverLimit) Reset ¶ added in v0.2.0
func (x *DryRunErrorResponse_AmountOverLimit) Reset()
func (*DryRunErrorResponse_AmountOverLimit) String ¶ added in v0.2.0
func (x *DryRunErrorResponse_AmountOverLimit) String() string
type DryRunErrorResponse_AmountOverLimit_ ¶ added in v0.2.0
type DryRunErrorResponse_AmountOverLimit_ struct { // The amount to mint would overflow the total CCD supply. // Response to 'mint_to_account'. AmountOverLimit *DryRunErrorResponse_AmountOverLimit `protobuf:"bytes,5,opt,name=amount_over_limit,json=amountOverLimit,proto3,oneof"` }
type DryRunErrorResponse_BalanceInsufficient ¶ added in v0.2.0
type DryRunErrorResponse_BalanceInsufficient struct { // The minimum balance required to perform the operation. RequiredAmount *Amount `protobuf:"bytes,1,opt,name=required_amount,json=requiredAmount,proto3" json:"required_amount,omitempty"` // The currently-available balance on the account to pay for the operation. AvailableAmount *Amount `protobuf:"bytes,2,opt,name=available_amount,json=availableAmount,proto3" json:"available_amount,omitempty"` // contains filtered or unexported fields }
The sender account for the transaction has insufficient balance to pay the preliminary fees for the transaction to be included in a block.
func (*DryRunErrorResponse_BalanceInsufficient) Descriptor
deprecated
added in
v0.2.0
func (*DryRunErrorResponse_BalanceInsufficient) Descriptor() ([]byte, []int)
Deprecated: Use DryRunErrorResponse_BalanceInsufficient.ProtoReflect.Descriptor instead.
func (*DryRunErrorResponse_BalanceInsufficient) GetAvailableAmount ¶ added in v0.2.0
func (x *DryRunErrorResponse_BalanceInsufficient) GetAvailableAmount() *Amount
func (*DryRunErrorResponse_BalanceInsufficient) GetRequiredAmount ¶ added in v0.2.0
func (x *DryRunErrorResponse_BalanceInsufficient) GetRequiredAmount() *Amount
func (*DryRunErrorResponse_BalanceInsufficient) ProtoMessage ¶ added in v0.2.0
func (*DryRunErrorResponse_BalanceInsufficient) ProtoMessage()
func (*DryRunErrorResponse_BalanceInsufficient) ProtoReflect ¶ added in v0.2.0
func (x *DryRunErrorResponse_BalanceInsufficient) ProtoReflect() protoreflect.Message
func (*DryRunErrorResponse_BalanceInsufficient) Reset ¶ added in v0.2.0
func (x *DryRunErrorResponse_BalanceInsufficient) Reset()
func (*DryRunErrorResponse_BalanceInsufficient) String ¶ added in v0.2.0
func (x *DryRunErrorResponse_BalanceInsufficient) String() string
type DryRunErrorResponse_BalanceInsufficient_ ¶ added in v0.2.0
type DryRunErrorResponse_BalanceInsufficient_ struct { // The balance of the sender account is not sufficient to pay for the operation. // Response to 'run_transaction'. BalanceInsufficient *DryRunErrorResponse_BalanceInsufficient `protobuf:"bytes,6,opt,name=balance_insufficient,json=balanceInsufficient,proto3,oneof"` }
type DryRunErrorResponse_BlockNotFound ¶ added in v0.2.0
type DryRunErrorResponse_BlockNotFound struct {
// contains filtered or unexported fields
}
The requested block was not found, so its state could not be loaded.
func (*DryRunErrorResponse_BlockNotFound) Descriptor
deprecated
added in
v0.2.0
func (*DryRunErrorResponse_BlockNotFound) Descriptor() ([]byte, []int)
Deprecated: Use DryRunErrorResponse_BlockNotFound.ProtoReflect.Descriptor instead.
func (*DryRunErrorResponse_BlockNotFound) ProtoMessage ¶ added in v0.2.0
func (*DryRunErrorResponse_BlockNotFound) ProtoMessage()
func (*DryRunErrorResponse_BlockNotFound) ProtoReflect ¶ added in v0.2.0
func (x *DryRunErrorResponse_BlockNotFound) ProtoReflect() protoreflect.Message
func (*DryRunErrorResponse_BlockNotFound) Reset ¶ added in v0.2.0
func (x *DryRunErrorResponse_BlockNotFound) Reset()
func (*DryRunErrorResponse_BlockNotFound) String ¶ added in v0.2.0
func (x *DryRunErrorResponse_BlockNotFound) String() string
type DryRunErrorResponse_BlockNotFound_ ¶ added in v0.2.0
type DryRunErrorResponse_BlockNotFound_ struct { // The requested block was not found, so its state could not be loaded. // Response to 'load_block_state'. BlockNotFound *DryRunErrorResponse_BlockNotFound `protobuf:"bytes,2,opt,name=block_not_found,json=blockNotFound,proto3,oneof"` }
type DryRunErrorResponse_EnergyInsufficient ¶ added in v0.2.0
type DryRunErrorResponse_EnergyInsufficient struct { // The minimum energy required for the transaction to be included in the chain. // Note that, even if the energy supplied for the transaction is enough to prevent a // `EnergyInsufficient`, the transaction can still be rejected for having // insufficient energy. In that case, a `TransactionExecuted` response will be // produced, but indicate the transaction was rejected. EnergyRequired *Energy `protobuf:"bytes,1,opt,name=energy_required,json=energyRequired,proto3" json:"energy_required,omitempty"` // contains filtered or unexported fields }
The energy made available for the transaction is insufficient to cover the basic processing required to include a transaction in a block.
func (*DryRunErrorResponse_EnergyInsufficient) Descriptor
deprecated
added in
v0.2.0
func (*DryRunErrorResponse_EnergyInsufficient) Descriptor() ([]byte, []int)
Deprecated: Use DryRunErrorResponse_EnergyInsufficient.ProtoReflect.Descriptor instead.
func (*DryRunErrorResponse_EnergyInsufficient) GetEnergyRequired ¶ added in v0.2.0
func (x *DryRunErrorResponse_EnergyInsufficient) GetEnergyRequired() *Energy
func (*DryRunErrorResponse_EnergyInsufficient) ProtoMessage ¶ added in v0.2.0
func (*DryRunErrorResponse_EnergyInsufficient) ProtoMessage()
func (*DryRunErrorResponse_EnergyInsufficient) ProtoReflect ¶ added in v0.2.0
func (x *DryRunErrorResponse_EnergyInsufficient) ProtoReflect() protoreflect.Message
func (*DryRunErrorResponse_EnergyInsufficient) Reset ¶ added in v0.2.0
func (x *DryRunErrorResponse_EnergyInsufficient) Reset()
func (*DryRunErrorResponse_EnergyInsufficient) String ¶ added in v0.2.0
func (x *DryRunErrorResponse_EnergyInsufficient) String() string
type DryRunErrorResponse_EnergyInsufficient_ ¶ added in v0.2.0
type DryRunErrorResponse_EnergyInsufficient_ struct { // The energy supplied for the transaction was not sufficient to perform the basic checks. // Response to 'run_transaction'. EnergyInsufficient *DryRunErrorResponse_EnergyInsufficient `protobuf:"bytes,8,opt,name=energy_insufficient,json=energyInsufficient,proto3,oneof"` }
type DryRunErrorResponse_InstanceNotFound ¶ added in v0.2.0
type DryRunErrorResponse_InstanceNotFound struct {
// contains filtered or unexported fields
}
The specified instance was not found.
func (*DryRunErrorResponse_InstanceNotFound) Descriptor
deprecated
added in
v0.2.0
func (*DryRunErrorResponse_InstanceNotFound) Descriptor() ([]byte, []int)
Deprecated: Use DryRunErrorResponse_InstanceNotFound.ProtoReflect.Descriptor instead.
func (*DryRunErrorResponse_InstanceNotFound) ProtoMessage ¶ added in v0.2.0
func (*DryRunErrorResponse_InstanceNotFound) ProtoMessage()
func (*DryRunErrorResponse_InstanceNotFound) ProtoReflect ¶ added in v0.2.0
func (x *DryRunErrorResponse_InstanceNotFound) ProtoReflect() protoreflect.Message
func (*DryRunErrorResponse_InstanceNotFound) Reset ¶ added in v0.2.0
func (x *DryRunErrorResponse_InstanceNotFound) Reset()
func (*DryRunErrorResponse_InstanceNotFound) String ¶ added in v0.2.0
func (x *DryRunErrorResponse_InstanceNotFound) String() string
type DryRunErrorResponse_InstanceNotFound_ ¶ added in v0.2.0
type DryRunErrorResponse_InstanceNotFound_ struct { // The specified instance was not found. // Response to 'get_instance_info'. InstanceNotFound *DryRunErrorResponse_InstanceNotFound `protobuf:"bytes,4,opt,name=instance_not_found,json=instanceNotFound,proto3,oneof"` }
type DryRunErrorResponse_InvokeFailed ¶ added in v0.2.0
type DryRunErrorResponse_InvokeFailed struct { // The contract invocation failed. // Response to 'invoke_instance'. InvokeFailed *DryRunErrorResponse_InvokeFailure `protobuf:"bytes,9,opt,name=invoke_failed,json=invokeFailed,proto3,oneof"` }
type DryRunErrorResponse_InvokeFailure ¶ added in v0.2.0
type DryRunErrorResponse_InvokeFailure struct { // If invoking a V0 contract this is not provided, otherwise it is // potentially return value produced by the call unless the call failed with // out of energy or runtime error. If the V1 contract terminated with a // logic error then the return value is present. ReturnValue []byte `protobuf:"bytes,1,opt,name=return_value,json=returnValue,proto3,oneof" json:"return_value,omitempty"` // Energy used by the execution. UsedEnergy *Energy `protobuf:"bytes,2,opt,name=used_energy,json=usedEnergy,proto3" json:"used_energy,omitempty"` // Contract execution failed for the given reason. Reason *RejectReason `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
Invoking the smart contract instance failed.
func (*DryRunErrorResponse_InvokeFailure) Descriptor
deprecated
added in
v0.2.0
func (*DryRunErrorResponse_InvokeFailure) Descriptor() ([]byte, []int)
Deprecated: Use DryRunErrorResponse_InvokeFailure.ProtoReflect.Descriptor instead.
func (*DryRunErrorResponse_InvokeFailure) GetReason ¶ added in v0.2.0
func (x *DryRunErrorResponse_InvokeFailure) GetReason() *RejectReason
func (*DryRunErrorResponse_InvokeFailure) GetReturnValue ¶ added in v0.2.0
func (x *DryRunErrorResponse_InvokeFailure) GetReturnValue() []byte
func (*DryRunErrorResponse_InvokeFailure) GetUsedEnergy ¶ added in v0.2.0
func (x *DryRunErrorResponse_InvokeFailure) GetUsedEnergy() *Energy
func (*DryRunErrorResponse_InvokeFailure) ProtoMessage ¶ added in v0.2.0
func (*DryRunErrorResponse_InvokeFailure) ProtoMessage()
func (*DryRunErrorResponse_InvokeFailure) ProtoReflect ¶ added in v0.2.0
func (x *DryRunErrorResponse_InvokeFailure) ProtoReflect() protoreflect.Message
func (*DryRunErrorResponse_InvokeFailure) Reset ¶ added in v0.2.0
func (x *DryRunErrorResponse_InvokeFailure) Reset()
func (*DryRunErrorResponse_InvokeFailure) String ¶ added in v0.2.0
func (x *DryRunErrorResponse_InvokeFailure) String() string
type DryRunErrorResponse_NoState ¶ added in v0.2.0
type DryRunErrorResponse_NoState struct {
// contains filtered or unexported fields
}
The current block state is undefined. It should be initialized with a 'load_block_state' request before any other operations.
func (*DryRunErrorResponse_NoState) Descriptor
deprecated
added in
v0.2.0
func (*DryRunErrorResponse_NoState) Descriptor() ([]byte, []int)
Deprecated: Use DryRunErrorResponse_NoState.ProtoReflect.Descriptor instead.
func (*DryRunErrorResponse_NoState) ProtoMessage ¶ added in v0.2.0
func (*DryRunErrorResponse_NoState) ProtoMessage()
func (*DryRunErrorResponse_NoState) ProtoReflect ¶ added in v0.2.0
func (x *DryRunErrorResponse_NoState) ProtoReflect() protoreflect.Message
func (*DryRunErrorResponse_NoState) Reset ¶ added in v0.2.0
func (x *DryRunErrorResponse_NoState) Reset()
func (*DryRunErrorResponse_NoState) String ¶ added in v0.2.0
func (x *DryRunErrorResponse_NoState) String() string
type DryRunErrorResponse_NoState_ ¶ added in v0.2.0
type DryRunErrorResponse_NoState_ struct { // The current block state is undefined. It should be initialized with // a 'load_block_state' request before any other operations. NoState *DryRunErrorResponse_NoState `protobuf:"bytes,1,opt,name=no_state,json=noState,proto3,oneof"` }
type DryRunInvokeInstance ¶ added in v0.2.0
type DryRunInvokeInstance struct { // Invoker of the contract. If this is not supplied then the contract will be // invoked by an account with address 0, no credentials and sufficient amount // of CCD to cover the transfer amount. If given, the relevant address (either // account or contract) must exist in the blockstate. Invoker *Address `protobuf:"bytes,1,opt,name=invoker,proto3,oneof" json:"invoker,omitempty"` // Address of the contract instance to invoke. Instance *ContractAddress `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"` // Amount to invoke the smart contract instance with. Amount *Amount `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // The entrypoint of the smart contract instance to invoke. Entrypoint *ReceiveName `protobuf:"bytes,4,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` // The parameter bytes to include in the invocation of the entrypoint. Parameter *Parameter `protobuf:"bytes,5,opt,name=parameter,proto3" json:"parameter,omitempty"` // The maximum energy to allow for the invocation. Note that the node imposes an energy // quota that is enforced in addition to this limit. Energy *Energy `protobuf:"bytes,6,opt,name=energy,proto3" json:"energy,omitempty"` // contains filtered or unexported fields }
Invoke an entrypoint on a smart contract instance.
func (*DryRunInvokeInstance) Descriptor
deprecated
added in
v0.2.0
func (*DryRunInvokeInstance) Descriptor() ([]byte, []int)
Deprecated: Use DryRunInvokeInstance.ProtoReflect.Descriptor instead.
func (*DryRunInvokeInstance) GetAmount ¶ added in v0.2.0
func (x *DryRunInvokeInstance) GetAmount() *Amount
func (*DryRunInvokeInstance) GetEnergy ¶ added in v0.2.0
func (x *DryRunInvokeInstance) GetEnergy() *Energy
func (*DryRunInvokeInstance) GetEntrypoint ¶ added in v0.2.0
func (x *DryRunInvokeInstance) GetEntrypoint() *ReceiveName
func (*DryRunInvokeInstance) GetInstance ¶ added in v0.2.0
func (x *DryRunInvokeInstance) GetInstance() *ContractAddress
func (*DryRunInvokeInstance) GetInvoker ¶ added in v0.2.0
func (x *DryRunInvokeInstance) GetInvoker() *Address
func (*DryRunInvokeInstance) GetParameter ¶ added in v0.2.0
func (x *DryRunInvokeInstance) GetParameter() *Parameter
func (*DryRunInvokeInstance) ProtoMessage ¶ added in v0.2.0
func (*DryRunInvokeInstance) ProtoMessage()
func (*DryRunInvokeInstance) ProtoReflect ¶ added in v0.2.0
func (x *DryRunInvokeInstance) ProtoReflect() protoreflect.Message
func (*DryRunInvokeInstance) Reset ¶ added in v0.2.0
func (x *DryRunInvokeInstance) Reset()
func (*DryRunInvokeInstance) String ¶ added in v0.2.0
func (x *DryRunInvokeInstance) String() string
type DryRunMintToAccount ¶ added in v0.2.0
type DryRunMintToAccount struct { // The account to mint to. Account *AccountAddress `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The amount to mint and credit to the account. Amount *Amount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
Mint a specified amount and credit it to the specified account as part of a dry run.
func (*DryRunMintToAccount) Descriptor
deprecated
added in
v0.2.0
func (*DryRunMintToAccount) Descriptor() ([]byte, []int)
Deprecated: Use DryRunMintToAccount.ProtoReflect.Descriptor instead.
func (*DryRunMintToAccount) GetAccount ¶ added in v0.2.0
func (x *DryRunMintToAccount) GetAccount() *AccountAddress
func (*DryRunMintToAccount) GetAmount ¶ added in v0.2.0
func (x *DryRunMintToAccount) GetAmount() *Amount
func (*DryRunMintToAccount) ProtoMessage ¶ added in v0.2.0
func (*DryRunMintToAccount) ProtoMessage()
func (*DryRunMintToAccount) ProtoReflect ¶ added in v0.2.0
func (x *DryRunMintToAccount) ProtoReflect() protoreflect.Message
func (*DryRunMintToAccount) Reset ¶ added in v0.2.0
func (x *DryRunMintToAccount) Reset()
func (*DryRunMintToAccount) String ¶ added in v0.2.0
func (x *DryRunMintToAccount) String() string
type DryRunRequest ¶ added in v0.2.0
type DryRunRequest struct { // Types that are assignable to Request: // // *DryRunRequest_LoadBlockState // *DryRunRequest_StateQuery // *DryRunRequest_StateOperation Request isDryRunRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
An operation to dry run. The first operation in a dry-run sequence should be `load_block_state`: any other operation will be met with `NoState` until a state is successfully loaded.
func (*DryRunRequest) Descriptor
deprecated
added in
v0.2.0
func (*DryRunRequest) Descriptor() ([]byte, []int)
Deprecated: Use DryRunRequest.ProtoReflect.Descriptor instead.
func (*DryRunRequest) GetLoadBlockState ¶ added in v0.2.0
func (x *DryRunRequest) GetLoadBlockState() *BlockHashInput
func (*DryRunRequest) GetRequest ¶ added in v0.2.0
func (m *DryRunRequest) GetRequest() isDryRunRequest_Request
func (*DryRunRequest) GetStateOperation ¶ added in v0.2.0
func (x *DryRunRequest) GetStateOperation() *DryRunStateOperation
func (*DryRunRequest) GetStateQuery ¶ added in v0.2.0
func (x *DryRunRequest) GetStateQuery() *DryRunStateQuery
func (*DryRunRequest) ProtoMessage ¶ added in v0.2.0
func (*DryRunRequest) ProtoMessage()
func (*DryRunRequest) ProtoReflect ¶ added in v0.2.0
func (x *DryRunRequest) ProtoReflect() protoreflect.Message
func (*DryRunRequest) Reset ¶ added in v0.2.0
func (x *DryRunRequest) Reset()
func (*DryRunRequest) String ¶ added in v0.2.0
func (x *DryRunRequest) String() string
type DryRunRequest_LoadBlockState ¶ added in v0.2.0
type DryRunRequest_LoadBlockState struct { // Load the state of the specified block to use for subsequent requests. // The state is taken at the end of execution of the block, and the block’s // timestamp is used as the current timestamp. // // The energy cost for this operation is 2000. LoadBlockState *BlockHashInput `protobuf:"bytes,1,opt,name=load_block_state,json=loadBlockState,proto3,oneof"` }
type DryRunRequest_StateOperation ¶ added in v0.2.0
type DryRunRequest_StateOperation struct { // Run a (non-transaction) operation to modify the state. StateOperation *DryRunStateOperation `protobuf:"bytes,3,opt,name=state_operation,json=stateOperation,proto3,oneof"` }
type DryRunRequest_StateQuery ¶ added in v0.2.0
type DryRunRequest_StateQuery struct { // Run a query on the state. StateQuery *DryRunStateQuery `protobuf:"bytes,2,opt,name=state_query,json=stateQuery,proto3,oneof"` }
type DryRunResponse ¶ added in v0.2.0
type DryRunResponse struct { // Types that are assignable to Response: // // *DryRunResponse_Error // *DryRunResponse_Success Response isDryRunResponse_Response `protobuf_oneof:"response"` // The remaining available energy quota after the dry run operation. QuotaRemaining *Energy `protobuf:"bytes,3,opt,name=quota_remaining,json=quotaRemaining,proto3" json:"quota_remaining,omitempty"` // contains filtered or unexported fields }
A response to a `DryRunRequest`.
func (*DryRunResponse) Descriptor
deprecated
added in
v0.2.0
func (*DryRunResponse) Descriptor() ([]byte, []int)
Deprecated: Use DryRunResponse.ProtoReflect.Descriptor instead.
func (*DryRunResponse) GetError ¶ added in v0.2.0
func (x *DryRunResponse) GetError() *DryRunErrorResponse
func (*DryRunResponse) GetQuotaRemaining ¶ added in v0.2.0
func (x *DryRunResponse) GetQuotaRemaining() *Energy
func (*DryRunResponse) GetResponse ¶ added in v0.2.0
func (m *DryRunResponse) GetResponse() isDryRunResponse_Response
func (*DryRunResponse) GetSuccess ¶ added in v0.2.0
func (x *DryRunResponse) GetSuccess() *DryRunSuccessResponse
func (*DryRunResponse) ProtoMessage ¶ added in v0.2.0
func (*DryRunResponse) ProtoMessage()
func (*DryRunResponse) ProtoReflect ¶ added in v0.2.0
func (x *DryRunResponse) ProtoReflect() protoreflect.Message
func (*DryRunResponse) Reset ¶ added in v0.2.0
func (x *DryRunResponse) Reset()
func (*DryRunResponse) String ¶ added in v0.2.0
func (x *DryRunResponse) String() string
type DryRunResponse_Error ¶ added in v0.2.0
type DryRunResponse_Error struct { // The request produced an error. The request otherwise has no effect on the state. Error *DryRunErrorResponse `protobuf:"bytes,1,opt,name=error,proto3,oneof"` }
type DryRunResponse_Success ¶ added in v0.2.0
type DryRunResponse_Success struct { // The request was successful. Success *DryRunSuccessResponse `protobuf:"bytes,2,opt,name=success,proto3,oneof"` }
type DryRunSignature ¶ added in v0.2.0
type DryRunSignature struct { // Credential index. Must not exceed 255. Credential uint32 `protobuf:"varint,1,opt,name=credential,proto3" json:"credential,omitempty"` // Key index. Must not exceed 255. Key uint32 `protobuf:"varint,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
A dry run signature is a pair of a credential index and key index, identifying the credential and key that is presumed to have signed the transaction. No actual cryptographic signature is included.
func (*DryRunSignature) Descriptor
deprecated
added in
v0.2.0
func (*DryRunSignature) Descriptor() ([]byte, []int)
Deprecated: Use DryRunSignature.ProtoReflect.Descriptor instead.
func (*DryRunSignature) GetCredential ¶ added in v0.2.0
func (x *DryRunSignature) GetCredential() uint32
func (*DryRunSignature) GetKey ¶ added in v0.2.0
func (x *DryRunSignature) GetKey() uint32
func (*DryRunSignature) ProtoMessage ¶ added in v0.2.0
func (*DryRunSignature) ProtoMessage()
func (*DryRunSignature) ProtoReflect ¶ added in v0.2.0
func (x *DryRunSignature) ProtoReflect() protoreflect.Message
func (*DryRunSignature) Reset ¶ added in v0.2.0
func (x *DryRunSignature) Reset()
func (*DryRunSignature) String ¶ added in v0.2.0
func (x *DryRunSignature) String() string
type DryRunStateOperation ¶ added in v0.2.0
type DryRunStateOperation struct { // Types that are assignable to Operation: // // *DryRunStateOperation_SetTimestamp // *DryRunStateOperation_MintToAccount // *DryRunStateOperation_RunTransaction Operation isDryRunStateOperation_Operation `protobuf_oneof:"operation"` // contains filtered or unexported fields }
An operation that can update the state as part of a dry run.
func (*DryRunStateOperation) Descriptor
deprecated
added in
v0.2.0
func (*DryRunStateOperation) Descriptor() ([]byte, []int)
Deprecated: Use DryRunStateOperation.ProtoReflect.Descriptor instead.
func (*DryRunStateOperation) GetMintToAccount ¶ added in v0.2.0
func (x *DryRunStateOperation) GetMintToAccount() *DryRunMintToAccount
func (*DryRunStateOperation) GetOperation ¶ added in v0.2.0
func (m *DryRunStateOperation) GetOperation() isDryRunStateOperation_Operation
func (*DryRunStateOperation) GetRunTransaction ¶ added in v0.2.0
func (x *DryRunStateOperation) GetRunTransaction() *DryRunTransaction
func (*DryRunStateOperation) GetSetTimestamp ¶ added in v0.2.0
func (x *DryRunStateOperation) GetSetTimestamp() *Timestamp
func (*DryRunStateOperation) ProtoMessage ¶ added in v0.2.0
func (*DryRunStateOperation) ProtoMessage()
func (*DryRunStateOperation) ProtoReflect ¶ added in v0.2.0
func (x *DryRunStateOperation) ProtoReflect() protoreflect.Message
func (*DryRunStateOperation) Reset ¶ added in v0.2.0
func (x *DryRunStateOperation) Reset()
func (*DryRunStateOperation) String ¶ added in v0.2.0
func (x *DryRunStateOperation) String() string
type DryRunStateOperation_MintToAccount ¶ added in v0.2.0
type DryRunStateOperation_MintToAccount struct { // Add a specified amount of newly-minted CCDs to a specified account. // The amount cannot cause the total circulating supply to overflow. // // The energy cost of this operation is 400. MintToAccount *DryRunMintToAccount `protobuf:"bytes,2,opt,name=mint_to_account,json=mintToAccount,proto3,oneof"` }
type DryRunStateOperation_RunTransaction ¶ added in v0.2.0
type DryRunStateOperation_RunTransaction struct { // Dry run a transaction, updating the state if it succeeds. // // The energy cost of this operation is 400 plus the energy used by executing the // transaction. RunTransaction *DryRunTransaction `protobuf:"bytes,3,opt,name=run_transaction,json=runTransaction,proto3,oneof"` }
type DryRunStateOperation_SetTimestamp ¶ added in v0.2.0
type DryRunStateOperation_SetTimestamp struct { // Sets the current block time to the given timestamp for the purposes of future // transactions. // // The energy cost of this operation is 50. SetTimestamp *Timestamp `protobuf:"bytes,1,opt,name=set_timestamp,json=setTimestamp,proto3,oneof"` }
type DryRunStateQuery ¶ added in v0.2.0
type DryRunStateQuery struct { // Types that are assignable to Query: // // *DryRunStateQuery_GetAccountInfo // *DryRunStateQuery_GetInstanceInfo // *DryRunStateQuery_InvokeInstance Query isDryRunStateQuery_Query `protobuf_oneof:"query"` // contains filtered or unexported fields }
Run a query as part of a dry run. Queries do not update the block state.
func (*DryRunStateQuery) Descriptor
deprecated
added in
v0.2.0
func (*DryRunStateQuery) Descriptor() ([]byte, []int)
Deprecated: Use DryRunStateQuery.ProtoReflect.Descriptor instead.
func (*DryRunStateQuery) GetGetAccountInfo ¶ added in v0.2.0
func (x *DryRunStateQuery) GetGetAccountInfo() *AccountIdentifierInput
func (*DryRunStateQuery) GetGetInstanceInfo ¶ added in v0.2.0
func (x *DryRunStateQuery) GetGetInstanceInfo() *ContractAddress
func (*DryRunStateQuery) GetInvokeInstance ¶ added in v0.2.0
func (x *DryRunStateQuery) GetInvokeInstance() *DryRunInvokeInstance
func (*DryRunStateQuery) GetQuery ¶ added in v0.2.0
func (m *DryRunStateQuery) GetQuery() isDryRunStateQuery_Query
func (*DryRunStateQuery) ProtoMessage ¶ added in v0.2.0
func (*DryRunStateQuery) ProtoMessage()
func (*DryRunStateQuery) ProtoReflect ¶ added in v0.2.0
func (x *DryRunStateQuery) ProtoReflect() protoreflect.Message
func (*DryRunStateQuery) Reset ¶ added in v0.2.0
func (x *DryRunStateQuery) Reset()
func (*DryRunStateQuery) String ¶ added in v0.2.0
func (x *DryRunStateQuery) String() string
type DryRunStateQuery_GetAccountInfo ¶ added in v0.2.0
type DryRunStateQuery_GetAccountInfo struct { // Look up information on a particular account. // // The energy cost for this query is 200. GetAccountInfo *AccountIdentifierInput `protobuf:"bytes,1,opt,name=get_account_info,json=getAccountInfo,proto3,oneof"` }
type DryRunStateQuery_GetInstanceInfo ¶ added in v0.2.0
type DryRunStateQuery_GetInstanceInfo struct { // Look up information about a particular smart contract. // // The energy cost for this query is 200. GetInstanceInfo *ContractAddress `protobuf:"bytes,2,opt,name=get_instance_info,json=getInstanceInfo,proto3,oneof"` }
type DryRunStateQuery_InvokeInstance ¶ added in v0.2.0
type DryRunStateQuery_InvokeInstance struct { // Invoke an entrypoint on a smart contract instance. // No changes made to the state are retained at the completion of the operation. // // The energy cost for this query is 200 plus the energy used by the smart contract // execution. InvokeInstance *DryRunInvokeInstance `protobuf:"bytes,3,opt,name=invoke_instance,json=invokeInstance,proto3,oneof"` }
type DryRunSuccessResponse ¶ added in v0.2.0
type DryRunSuccessResponse struct { // Types that are assignable to Response: // // *DryRunSuccessResponse_BlockStateLoaded_ // *DryRunSuccessResponse_AccountInfo // *DryRunSuccessResponse_InstanceInfo // *DryRunSuccessResponse_InvokeSucceeded // *DryRunSuccessResponse_TimestampSet_ // *DryRunSuccessResponse_MintedToAccount_ // *DryRunSuccessResponse_TransactionExecuted_ Response isDryRunSuccessResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
The dry run operation completed successfully.
func (*DryRunSuccessResponse) Descriptor
deprecated
added in
v0.2.0
func (*DryRunSuccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use DryRunSuccessResponse.ProtoReflect.Descriptor instead.
func (*DryRunSuccessResponse) GetAccountInfo ¶ added in v0.2.0
func (x *DryRunSuccessResponse) GetAccountInfo() *AccountInfo
func (*DryRunSuccessResponse) GetBlockStateLoaded ¶ added in v0.2.0
func (x *DryRunSuccessResponse) GetBlockStateLoaded() *DryRunSuccessResponse_BlockStateLoaded
func (*DryRunSuccessResponse) GetInstanceInfo ¶ added in v0.2.0
func (x *DryRunSuccessResponse) GetInstanceInfo() *InstanceInfo
func (*DryRunSuccessResponse) GetInvokeSucceeded ¶ added in v0.2.0
func (x *DryRunSuccessResponse) GetInvokeSucceeded() *DryRunSuccessResponse_InvokeSuccess
func (*DryRunSuccessResponse) GetMintedToAccount ¶ added in v0.2.0
func (x *DryRunSuccessResponse) GetMintedToAccount() *DryRunSuccessResponse_MintedToAccount
func (*DryRunSuccessResponse) GetResponse ¶ added in v0.2.0
func (m *DryRunSuccessResponse) GetResponse() isDryRunSuccessResponse_Response
func (*DryRunSuccessResponse) GetTimestampSet ¶ added in v0.2.0
func (x *DryRunSuccessResponse) GetTimestampSet() *DryRunSuccessResponse_TimestampSet
func (*DryRunSuccessResponse) GetTransactionExecuted ¶ added in v0.2.0
func (x *DryRunSuccessResponse) GetTransactionExecuted() *DryRunSuccessResponse_TransactionExecuted
func (*DryRunSuccessResponse) ProtoMessage ¶ added in v0.2.0
func (*DryRunSuccessResponse) ProtoMessage()
func (*DryRunSuccessResponse) ProtoReflect ¶ added in v0.2.0
func (x *DryRunSuccessResponse) ProtoReflect() protoreflect.Message
func (*DryRunSuccessResponse) Reset ¶ added in v0.2.0
func (x *DryRunSuccessResponse) Reset()
func (*DryRunSuccessResponse) String ¶ added in v0.2.0
func (x *DryRunSuccessResponse) String() string
type DryRunSuccessResponse_AccountInfo ¶ added in v0.2.0
type DryRunSuccessResponse_AccountInfo struct { // Details of the requested account. // Response to 'get_account_info'. AccountInfo *AccountInfo `protobuf:"bytes,2,opt,name=account_info,json=accountInfo,proto3,oneof"` }
type DryRunSuccessResponse_BlockStateLoaded ¶ added in v0.2.0
type DryRunSuccessResponse_BlockStateLoaded struct { // The timestamp of the block, taken to be the current timestamp. CurrentTimestamp *Timestamp `protobuf:"bytes,1,opt,name=current_timestamp,json=currentTimestamp,proto3" json:"current_timestamp,omitempty"` // The hash of the block that was loaded. BlockHash *BlockHash `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The protocol version at the specified block. The behavior of operations can vary across // protocol versions. ProtocolVersion ProtocolVersion `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
The block state at the specified block was successfully loaded.
func (*DryRunSuccessResponse_BlockStateLoaded) Descriptor
deprecated
added in
v0.2.0
func (*DryRunSuccessResponse_BlockStateLoaded) Descriptor() ([]byte, []int)
Deprecated: Use DryRunSuccessResponse_BlockStateLoaded.ProtoReflect.Descriptor instead.
func (*DryRunSuccessResponse_BlockStateLoaded) GetBlockHash ¶ added in v0.2.0
func (x *DryRunSuccessResponse_BlockStateLoaded) GetBlockHash() *BlockHash
func (*DryRunSuccessResponse_BlockStateLoaded) GetCurrentTimestamp ¶ added in v0.2.0
func (x *DryRunSuccessResponse_BlockStateLoaded) GetCurrentTimestamp() *Timestamp
func (*DryRunSuccessResponse_BlockStateLoaded) GetProtocolVersion ¶ added in v0.2.0
func (x *DryRunSuccessResponse_BlockStateLoaded) GetProtocolVersion() ProtocolVersion
func (*DryRunSuccessResponse_BlockStateLoaded) ProtoMessage ¶ added in v0.2.0
func (*DryRunSuccessResponse_BlockStateLoaded) ProtoMessage()
func (*DryRunSuccessResponse_BlockStateLoaded) ProtoReflect ¶ added in v0.2.0
func (x *DryRunSuccessResponse_BlockStateLoaded) ProtoReflect() protoreflect.Message
func (*DryRunSuccessResponse_BlockStateLoaded) Reset ¶ added in v0.2.0
func (x *DryRunSuccessResponse_BlockStateLoaded) Reset()
func (*DryRunSuccessResponse_BlockStateLoaded) String ¶ added in v0.2.0
func (x *DryRunSuccessResponse_BlockStateLoaded) String() string
type DryRunSuccessResponse_BlockStateLoaded_ ¶ added in v0.2.0
type DryRunSuccessResponse_BlockStateLoaded_ struct { // The state from the specified block was successfully loaded. // Response to 'load_block_state'. BlockStateLoaded *DryRunSuccessResponse_BlockStateLoaded `protobuf:"bytes,1,opt,name=block_state_loaded,json=blockStateLoaded,proto3,oneof"` }
type DryRunSuccessResponse_InstanceInfo ¶ added in v0.2.0
type DryRunSuccessResponse_InstanceInfo struct { // Details of the requested smart contract instance. // Response to 'get_instance_info'. InstanceInfo *InstanceInfo `protobuf:"bytes,3,opt,name=instance_info,json=instanceInfo,proto3,oneof"` }
type DryRunSuccessResponse_InvokeSucceeded ¶ added in v0.2.0
type DryRunSuccessResponse_InvokeSucceeded struct { // The smart contract instance was invoked successfully. InvokeSucceeded *DryRunSuccessResponse_InvokeSuccess `protobuf:"bytes,4,opt,name=invoke_succeeded,json=invokeSucceeded,proto3,oneof"` }
type DryRunSuccessResponse_InvokeSuccess ¶ added in v0.2.0
type DryRunSuccessResponse_InvokeSuccess struct { // If invoking a V0 contract this is absent. Otherwise it is the return // value produced by the contract. ReturnValue []byte `protobuf:"bytes,1,opt,name=return_value,json=returnValue,proto3,oneof" json:"return_value,omitempty"` // Energy used by the execution. UsedEnergy *Energy `protobuf:"bytes,2,opt,name=used_energy,json=usedEnergy,proto3" json:"used_energy,omitempty"` // Effects produced by contract execution. Effects []*ContractTraceElement `protobuf:"bytes,3,rep,name=effects,proto3" json:"effects,omitempty"` // contains filtered or unexported fields }
The smart contract instance was invoked successfully.
func (*DryRunSuccessResponse_InvokeSuccess) Descriptor
deprecated
added in
v0.2.0
func (*DryRunSuccessResponse_InvokeSuccess) Descriptor() ([]byte, []int)
Deprecated: Use DryRunSuccessResponse_InvokeSuccess.ProtoReflect.Descriptor instead.
func (*DryRunSuccessResponse_InvokeSuccess) GetEffects ¶ added in v0.2.0
func (x *DryRunSuccessResponse_InvokeSuccess) GetEffects() []*ContractTraceElement
func (*DryRunSuccessResponse_InvokeSuccess) GetReturnValue ¶ added in v0.2.0
func (x *DryRunSuccessResponse_InvokeSuccess) GetReturnValue() []byte
func (*DryRunSuccessResponse_InvokeSuccess) GetUsedEnergy ¶ added in v0.2.0
func (x *DryRunSuccessResponse_InvokeSuccess) GetUsedEnergy() *Energy
func (*DryRunSuccessResponse_InvokeSuccess) ProtoMessage ¶ added in v0.2.0
func (*DryRunSuccessResponse_InvokeSuccess) ProtoMessage()
func (*DryRunSuccessResponse_InvokeSuccess) ProtoReflect ¶ added in v0.2.0
func (x *DryRunSuccessResponse_InvokeSuccess) ProtoReflect() protoreflect.Message
func (*DryRunSuccessResponse_InvokeSuccess) Reset ¶ added in v0.2.0
func (x *DryRunSuccessResponse_InvokeSuccess) Reset()
func (*DryRunSuccessResponse_InvokeSuccess) String ¶ added in v0.2.0
func (x *DryRunSuccessResponse_InvokeSuccess) String() string
type DryRunSuccessResponse_MintedToAccount ¶ added in v0.2.0
type DryRunSuccessResponse_MintedToAccount struct {
// contains filtered or unexported fields
}
The specified amount was minted to the specified account.
func (*DryRunSuccessResponse_MintedToAccount) Descriptor
deprecated
added in
v0.2.0
func (*DryRunSuccessResponse_MintedToAccount) Descriptor() ([]byte, []int)
Deprecated: Use DryRunSuccessResponse_MintedToAccount.ProtoReflect.Descriptor instead.
func (*DryRunSuccessResponse_MintedToAccount) ProtoMessage ¶ added in v0.2.0
func (*DryRunSuccessResponse_MintedToAccount) ProtoMessage()
func (*DryRunSuccessResponse_MintedToAccount) ProtoReflect ¶ added in v0.2.0
func (x *DryRunSuccessResponse_MintedToAccount) ProtoReflect() protoreflect.Message
func (*DryRunSuccessResponse_MintedToAccount) Reset ¶ added in v0.2.0
func (x *DryRunSuccessResponse_MintedToAccount) Reset()
func (*DryRunSuccessResponse_MintedToAccount) String ¶ added in v0.2.0
func (x *DryRunSuccessResponse_MintedToAccount) String() string
type DryRunSuccessResponse_MintedToAccount_ ¶ added in v0.2.0
type DryRunSuccessResponse_MintedToAccount_ struct { // The specified amount was minted and credited to the account. // Response to 'mint_to_account'. MintedToAccount *DryRunSuccessResponse_MintedToAccount `protobuf:"bytes,6,opt,name=minted_to_account,json=mintedToAccount,proto3,oneof"` }
type DryRunSuccessResponse_TimestampSet ¶ added in v0.2.0
type DryRunSuccessResponse_TimestampSet struct {
// contains filtered or unexported fields
}
The current apparent timestamp was updated to the specified value.
func (*DryRunSuccessResponse_TimestampSet) Descriptor
deprecated
added in
v0.2.0
func (*DryRunSuccessResponse_TimestampSet) Descriptor() ([]byte, []int)
Deprecated: Use DryRunSuccessResponse_TimestampSet.ProtoReflect.Descriptor instead.
func (*DryRunSuccessResponse_TimestampSet) ProtoMessage ¶ added in v0.2.0
func (*DryRunSuccessResponse_TimestampSet) ProtoMessage()
func (*DryRunSuccessResponse_TimestampSet) ProtoReflect ¶ added in v0.2.0
func (x *DryRunSuccessResponse_TimestampSet) ProtoReflect() protoreflect.Message
func (*DryRunSuccessResponse_TimestampSet) Reset ¶ added in v0.2.0
func (x *DryRunSuccessResponse_TimestampSet) Reset()
func (*DryRunSuccessResponse_TimestampSet) String ¶ added in v0.2.0
func (x *DryRunSuccessResponse_TimestampSet) String() string
type DryRunSuccessResponse_TimestampSet_ ¶ added in v0.2.0
type DryRunSuccessResponse_TimestampSet_ struct { // The current timestamp was set successfully. // Response to 'set_timestamp'. TimestampSet *DryRunSuccessResponse_TimestampSet `protobuf:"bytes,5,opt,name=timestamp_set,json=timestampSet,proto3,oneof"` }
type DryRunSuccessResponse_TransactionExecuted ¶ added in v0.2.0
type DryRunSuccessResponse_TransactionExecuted struct { // The amount of energy actually expended in executing the transaction. EnergyCost *Energy `protobuf:"bytes,1,opt,name=energy_cost,json=energyCost,proto3" json:"energy_cost,omitempty"` // The details of the outcome of the transaction. Details *AccountTransactionDetails `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` // If this is an invocation of a V1 contract that produced a return value, this is that // value. Otherwise it is absent. ReturnValue []byte `protobuf:"bytes,3,opt,name=return_value,json=returnValue,proto3,oneof" json:"return_value,omitempty"` // contains filtered or unexported fields }
The transaction was executed.
func (*DryRunSuccessResponse_TransactionExecuted) Descriptor
deprecated
added in
v0.2.0
func (*DryRunSuccessResponse_TransactionExecuted) Descriptor() ([]byte, []int)
Deprecated: Use DryRunSuccessResponse_TransactionExecuted.ProtoReflect.Descriptor instead.
func (*DryRunSuccessResponse_TransactionExecuted) GetDetails ¶ added in v0.2.0
func (x *DryRunSuccessResponse_TransactionExecuted) GetDetails() *AccountTransactionDetails
func (*DryRunSuccessResponse_TransactionExecuted) GetEnergyCost ¶ added in v0.2.0
func (x *DryRunSuccessResponse_TransactionExecuted) GetEnergyCost() *Energy
func (*DryRunSuccessResponse_TransactionExecuted) GetReturnValue ¶ added in v0.2.0
func (x *DryRunSuccessResponse_TransactionExecuted) GetReturnValue() []byte
func (*DryRunSuccessResponse_TransactionExecuted) ProtoMessage ¶ added in v0.2.0
func (*DryRunSuccessResponse_TransactionExecuted) ProtoMessage()
func (*DryRunSuccessResponse_TransactionExecuted) ProtoReflect ¶ added in v0.2.0
func (x *DryRunSuccessResponse_TransactionExecuted) ProtoReflect() protoreflect.Message
func (*DryRunSuccessResponse_TransactionExecuted) Reset ¶ added in v0.2.0
func (x *DryRunSuccessResponse_TransactionExecuted) Reset()
func (*DryRunSuccessResponse_TransactionExecuted) String ¶ added in v0.2.0
func (x *DryRunSuccessResponse_TransactionExecuted) String() string
type DryRunSuccessResponse_TransactionExecuted_ ¶ added in v0.2.0
type DryRunSuccessResponse_TransactionExecuted_ struct { // The specified transaction was executed. Note that the transaction could still have // been rejected. // Response to 'run_transaction'. TransactionExecuted *DryRunSuccessResponse_TransactionExecuted `protobuf:"bytes,7,opt,name=transaction_executed,json=transactionExecuted,proto3,oneof"` }
type DryRunTransaction ¶ added in v0.2.0
type DryRunTransaction struct { // The account to use as the sender of the transaction. Sender *AccountAddress `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // The energy limit set for executing the transaction. EnergyAmount *Energy `protobuf:"bytes,2,opt,name=energy_amount,json=energyAmount,proto3" json:"energy_amount,omitempty"` // The payload of the transaction. Payload *AccountTransactionPayload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // Which credentials and keys should be treated as having signed the transaction. // If none is given, then the transaction is treated as having one signature for credential 0, // key 0. Therefore, this is only required when the transaction is from a multi-signature // account. There are two reasons why you might want to specify signatures: // - The cost of the transaction depends on the number of signatures, so if you want to // get the correct cost for a multi-signature transaction, then specifying the signatures // supports this. // - When changing account keys on a multi-credential account, the transaction must be signed // by the credential whose keys are being changed. // // Note that the signature thresholds are not checked as part of the dry run. Duplicated // signatures are only counted once. Signatures []*DryRunSignature `protobuf:"bytes,4,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
Dry run an account transaction
func (*DryRunTransaction) Descriptor
deprecated
added in
v0.2.0
func (*DryRunTransaction) Descriptor() ([]byte, []int)
Deprecated: Use DryRunTransaction.ProtoReflect.Descriptor instead.
func (*DryRunTransaction) GetEnergyAmount ¶ added in v0.2.0
func (x *DryRunTransaction) GetEnergyAmount() *Energy
func (*DryRunTransaction) GetPayload ¶ added in v0.2.0
func (x *DryRunTransaction) GetPayload() *AccountTransactionPayload
func (*DryRunTransaction) GetSender ¶ added in v0.2.0
func (x *DryRunTransaction) GetSender() *AccountAddress
func (*DryRunTransaction) GetSignatures ¶ added in v0.2.0
func (x *DryRunTransaction) GetSignatures() []*DryRunSignature
func (*DryRunTransaction) ProtoMessage ¶ added in v0.2.0
func (*DryRunTransaction) ProtoMessage()
func (*DryRunTransaction) ProtoReflect ¶ added in v0.2.0
func (x *DryRunTransaction) ProtoReflect() protoreflect.Message
func (*DryRunTransaction) Reset ¶ added in v0.2.0
func (x *DryRunTransaction) Reset()
func (*DryRunTransaction) String ¶ added in v0.2.0
func (x *DryRunTransaction) String() string
type DumpRequest ¶
type DumpRequest struct { // Which file to dump the packages into. // Requires a valid path. File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` // Whether the node should dump raw packages. Raw bool `protobuf:"varint,2,opt,name=raw,proto3" json:"raw,omitempty"` // contains filtered or unexported fields }
Request to enable dumping of network packages.
func (*DumpRequest) Descriptor
deprecated
func (*DumpRequest) Descriptor() ([]byte, []int)
Deprecated: Use DumpRequest.ProtoReflect.Descriptor instead.
func (*DumpRequest) GetFile ¶
func (x *DumpRequest) GetFile() string
func (*DumpRequest) GetRaw ¶
func (x *DumpRequest) GetRaw() bool
func (*DumpRequest) ProtoMessage ¶
func (*DumpRequest) ProtoMessage()
func (*DumpRequest) ProtoReflect ¶
func (x *DumpRequest) ProtoReflect() protoreflect.Message
func (*DumpRequest) Reset ¶
func (x *DumpRequest) Reset()
func (*DumpRequest) String ¶
func (x *DumpRequest) String() string
type Duration ¶
type Duration struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A duration of milliseconds.
func (*Duration) Descriptor
deprecated
func (*Duration) ProtoMessage ¶
func (*Duration) ProtoMessage()
func (*Duration) ProtoReflect ¶
func (x *Duration) ProtoReflect() protoreflect.Message
type DurationSeconds ¶
type DurationSeconds struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A duration in seconds.
func (*DurationSeconds) Descriptor
deprecated
func (*DurationSeconds) Descriptor() ([]byte, []int)
Deprecated: Use DurationSeconds.ProtoReflect.Descriptor instead.
func (*DurationSeconds) GetValue ¶
func (x *DurationSeconds) GetValue() uint64
func (*DurationSeconds) ProtoMessage ¶
func (*DurationSeconds) ProtoMessage()
func (*DurationSeconds) ProtoReflect ¶
func (x *DurationSeconds) ProtoReflect() protoreflect.Message
func (*DurationSeconds) Reset ¶
func (x *DurationSeconds) Reset()
func (*DurationSeconds) String ¶
func (x *DurationSeconds) String() string
type ElectionDifficulty ¶
type ElectionDifficulty struct { Value *AmountFraction `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Election difficulty parameter.
func (*ElectionDifficulty) Descriptor
deprecated
func (*ElectionDifficulty) Descriptor() ([]byte, []int)
Deprecated: Use ElectionDifficulty.ProtoReflect.Descriptor instead.
func (*ElectionDifficulty) GetValue ¶
func (x *ElectionDifficulty) GetValue() *AmountFraction
func (*ElectionDifficulty) ProtoMessage ¶
func (*ElectionDifficulty) ProtoMessage()
func (*ElectionDifficulty) ProtoReflect ¶
func (x *ElectionDifficulty) ProtoReflect() protoreflect.Message
func (*ElectionDifficulty) Reset ¶
func (x *ElectionDifficulty) Reset()
func (*ElectionDifficulty) String ¶
func (x *ElectionDifficulty) String() string
type ElectionInfo ¶
type ElectionInfo struct { // Baking lottery election difficulty. Present only in protocol versions 1-5. ElectionDifficulty *ElectionDifficulty `protobuf:"bytes,1,opt,name=election_difficulty,json=electionDifficulty,proto3,oneof" json:"election_difficulty,omitempty"` // Current leadership election nonce for the lottery. ElectionNonce *LeadershipElectionNonce `protobuf:"bytes,2,opt,name=election_nonce,json=electionNonce,proto3" json:"election_nonce,omitempty"` // List of the currently eligible bakers. BakerElectionInfo []*ElectionInfo_Baker `protobuf:"bytes,3,rep,name=baker_election_info,json=bakerElectionInfo,proto3" json:"baker_election_info,omitempty"` // contains filtered or unexported fields }
Response type for GetElectionInfo. Contains information related to baker election for a perticular block.
func (*ElectionInfo) Descriptor
deprecated
func (*ElectionInfo) Descriptor() ([]byte, []int)
Deprecated: Use ElectionInfo.ProtoReflect.Descriptor instead.
func (*ElectionInfo) GetBakerElectionInfo ¶
func (x *ElectionInfo) GetBakerElectionInfo() []*ElectionInfo_Baker
func (*ElectionInfo) GetElectionDifficulty ¶
func (x *ElectionInfo) GetElectionDifficulty() *ElectionDifficulty
func (*ElectionInfo) GetElectionNonce ¶
func (x *ElectionInfo) GetElectionNonce() *LeadershipElectionNonce
func (*ElectionInfo) ProtoMessage ¶
func (*ElectionInfo) ProtoMessage()
func (*ElectionInfo) ProtoReflect ¶
func (x *ElectionInfo) ProtoReflect() protoreflect.Message
func (*ElectionInfo) Reset ¶
func (x *ElectionInfo) Reset()
func (*ElectionInfo) String ¶
func (x *ElectionInfo) String() string
type ElectionInfo_Baker ¶
type ElectionInfo_Baker struct { // The ID of the baker. Baker *BakerId `protobuf:"bytes,1,opt,name=baker,proto3" json:"baker,omitempty"` // The account address of the baker. Account *AccountAddress `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // The lottery power of the baker, rounded to the nearest representable "double". LotteryPower float64 `protobuf:"fixed64,3,opt,name=lottery_power,json=lotteryPower,proto3" json:"lottery_power,omitempty"` // contains filtered or unexported fields }
func (*ElectionInfo_Baker) Descriptor
deprecated
func (*ElectionInfo_Baker) Descriptor() ([]byte, []int)
Deprecated: Use ElectionInfo_Baker.ProtoReflect.Descriptor instead.
func (*ElectionInfo_Baker) GetAccount ¶
func (x *ElectionInfo_Baker) GetAccount() *AccountAddress
func (*ElectionInfo_Baker) GetBaker ¶
func (x *ElectionInfo_Baker) GetBaker() *BakerId
func (*ElectionInfo_Baker) GetLotteryPower ¶
func (x *ElectionInfo_Baker) GetLotteryPower() float64
func (*ElectionInfo_Baker) ProtoMessage ¶
func (*ElectionInfo_Baker) ProtoMessage()
func (*ElectionInfo_Baker) ProtoReflect ¶
func (x *ElectionInfo_Baker) ProtoReflect() protoreflect.Message
func (*ElectionInfo_Baker) Reset ¶
func (x *ElectionInfo_Baker) Reset()
func (*ElectionInfo_Baker) String ¶
func (x *ElectionInfo_Baker) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
A message that contains no information.
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type EncryptedAmount ¶
type EncryptedAmount struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
An encrypted amount, in two chunks in "little endian limbs". That is, the first chunk represents the low 32 bits of an amount, and the second chunk represents the high 32 bits. The chunks are serialized in order and represented as a byte array. Always 192 bytes.
func (*EncryptedAmount) Descriptor
deprecated
func (*EncryptedAmount) Descriptor() ([]byte, []int)
Deprecated: Use EncryptedAmount.ProtoReflect.Descriptor instead.
func (*EncryptedAmount) GetValue ¶
func (x *EncryptedAmount) GetValue() []byte
func (*EncryptedAmount) ProtoMessage ¶
func (*EncryptedAmount) ProtoMessage()
func (*EncryptedAmount) ProtoReflect ¶
func (x *EncryptedAmount) ProtoReflect() protoreflect.Message
func (*EncryptedAmount) Reset ¶
func (x *EncryptedAmount) Reset()
func (*EncryptedAmount) String ¶
func (x *EncryptedAmount) String() string
type EncryptedAmountRemovedEvent ¶
type EncryptedAmountRemovedEvent struct { // The affected account. Account *AccountAddress `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The new self encrypted amount on the affected account. NewAmount *EncryptedAmount `protobuf:"bytes,2,opt,name=new_amount,json=newAmount,proto3" json:"new_amount,omitempty"` // The input encrypted amount that was removed. InputAmount *EncryptedAmount `protobuf:"bytes,3,opt,name=input_amount,json=inputAmount,proto3" json:"input_amount,omitempty"` // The index indicating which amounts were used. UpToIndex uint64 `protobuf:"varint,4,opt,name=up_to_index,json=upToIndex,proto3" json:"up_to_index,omitempty"` // contains filtered or unexported fields }
Event generated when one or more encrypted amounts are consumed from the account.
func (*EncryptedAmountRemovedEvent) Descriptor
deprecated
func (*EncryptedAmountRemovedEvent) Descriptor() ([]byte, []int)
Deprecated: Use EncryptedAmountRemovedEvent.ProtoReflect.Descriptor instead.
func (*EncryptedAmountRemovedEvent) GetAccount ¶
func (x *EncryptedAmountRemovedEvent) GetAccount() *AccountAddress
func (*EncryptedAmountRemovedEvent) GetInputAmount ¶
func (x *EncryptedAmountRemovedEvent) GetInputAmount() *EncryptedAmount
func (*EncryptedAmountRemovedEvent) GetNewAmount ¶
func (x *EncryptedAmountRemovedEvent) GetNewAmount() *EncryptedAmount
func (*EncryptedAmountRemovedEvent) GetUpToIndex ¶
func (x *EncryptedAmountRemovedEvent) GetUpToIndex() uint64
func (*EncryptedAmountRemovedEvent) ProtoMessage ¶
func (*EncryptedAmountRemovedEvent) ProtoMessage()
func (*EncryptedAmountRemovedEvent) ProtoReflect ¶
func (x *EncryptedAmountRemovedEvent) ProtoReflect() protoreflect.Message
func (*EncryptedAmountRemovedEvent) Reset ¶
func (x *EncryptedAmountRemovedEvent) Reset()
func (*EncryptedAmountRemovedEvent) String ¶
func (x *EncryptedAmountRemovedEvent) String() string
type EncryptedBalance ¶
type EncryptedBalance struct { // Encrypted amount that is a result of this account's actions. // In particular this list includes the aggregate of // // - remaining amounts that result when transferring to public balance // - remaining amounts when transferring to another account // - encrypted amounts that are transferred from public balance // // When a transfer is made all of these must always be used. SelfAmount *EncryptedAmount `protobuf:"bytes,1,opt,name=self_amount,json=selfAmount,proto3" json:"self_amount,omitempty"` // Starting index for incoming encrypted amounts. If an aggregated amount // is present then this index is associated with such an amount and the // list of incoming encrypted amounts starts at the index `start_index // + 1`. StartIndex uint64 `protobuf:"varint,2,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` // If present, the amount that has resulted from aggregating other amounts // If this field is present so is `num_aggregated`. AggregatedAmount *EncryptedAmount `protobuf:"bytes,3,opt,name=aggregated_amount,json=aggregatedAmount,proto3,oneof" json:"aggregated_amount,omitempty"` // The number of aggregated amounts (must be at least 2 if present). This // field is present if and only if `aggregated_amount` is present. NumAggregated *uint32 `protobuf:"varint,4,opt,name=num_aggregated,json=numAggregated,proto3,oneof" json:"num_aggregated,omitempty"` // Amounts starting at `start_index` (or at `start_index + 1` if there is // an aggregated amount present). They are assumed to be numbered // sequentially. The length of this list is bounded by the maximum number // of incoming amounts on the accounts, which is currently 32. After // that aggregation kicks in. IncomingAmounts []*EncryptedAmount `protobuf:"bytes,5,rep,name=incoming_amounts,json=incomingAmounts,proto3" json:"incoming_amounts,omitempty"` // contains filtered or unexported fields }
func (*EncryptedBalance) Descriptor
deprecated
func (*EncryptedBalance) Descriptor() ([]byte, []int)
Deprecated: Use EncryptedBalance.ProtoReflect.Descriptor instead.
func (*EncryptedBalance) GetAggregatedAmount ¶
func (x *EncryptedBalance) GetAggregatedAmount() *EncryptedAmount
func (*EncryptedBalance) GetIncomingAmounts ¶
func (x *EncryptedBalance) GetIncomingAmounts() []*EncryptedAmount
func (*EncryptedBalance) GetNumAggregated ¶
func (x *EncryptedBalance) GetNumAggregated() uint32
func (*EncryptedBalance) GetSelfAmount ¶
func (x *EncryptedBalance) GetSelfAmount() *EncryptedAmount
func (*EncryptedBalance) GetStartIndex ¶
func (x *EncryptedBalance) GetStartIndex() uint64
func (*EncryptedBalance) ProtoMessage ¶
func (*EncryptedBalance) ProtoMessage()
func (*EncryptedBalance) ProtoReflect ¶
func (x *EncryptedBalance) ProtoReflect() protoreflect.Message
func (*EncryptedBalance) Reset ¶
func (x *EncryptedBalance) Reset()
func (*EncryptedBalance) String ¶
func (x *EncryptedBalance) String() string
type EncryptedSelfAmountAddedEvent ¶
type EncryptedSelfAmountAddedEvent struct { // The affected account. Account *AccountAddress `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // The new self encrypted amount of the account. NewAmount *EncryptedAmount `protobuf:"bytes,2,opt,name=new_amount,json=newAmount,proto3" json:"new_amount,omitempty"` // The amount that was transferred from public to encrypted balance. Amount *Amount `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*EncryptedSelfAmountAddedEvent) Descriptor
deprecated
func (*EncryptedSelfAmountAddedEvent) Descriptor() ([]byte, []int)
Deprecated: Use EncryptedSelfAmountAddedEvent.ProtoReflect.Descriptor instead.
func (*EncryptedSelfAmountAddedEvent) GetAccount ¶
func (x *EncryptedSelfAmountAddedEvent) GetAccount() *AccountAddress
func (*EncryptedSelfAmountAddedEvent) GetAmount ¶
func (x *EncryptedSelfAmountAddedEvent) GetAmount() *Amount
func (*EncryptedSelfAmountAddedEvent) GetNewAmount ¶
func (x *EncryptedSelfAmountAddedEvent) GetNewAmount() *EncryptedAmount
func (*EncryptedSelfAmountAddedEvent) ProtoMessage ¶
func (*EncryptedSelfAmountAddedEvent) ProtoMessage()
func (*EncryptedSelfAmountAddedEvent) ProtoReflect ¶
func (x *EncryptedSelfAmountAddedEvent) ProtoReflect() protoreflect.Message
func (*EncryptedSelfAmountAddedEvent) Reset ¶
func (x *EncryptedSelfAmountAddedEvent) Reset()
func (*EncryptedSelfAmountAddedEvent) String ¶
func (x *EncryptedSelfAmountAddedEvent) String() string
type EncryptionKey ¶
type EncryptionKey struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
An account encryption key. Always 96 bytes.
func (*EncryptionKey) Descriptor
deprecated
func (*EncryptionKey) Descriptor() ([]byte, []int)
Deprecated: Use EncryptionKey.ProtoReflect.Descriptor instead.
func (*EncryptionKey) GetValue ¶
func (x *EncryptionKey) GetValue() []byte
func (*EncryptionKey) ProtoMessage ¶
func (*EncryptionKey) ProtoMessage()
func (*EncryptionKey) ProtoReflect ¶
func (x *EncryptionKey) ProtoReflect() protoreflect.Message
func (*EncryptionKey) Reset ¶
func (x *EncryptionKey) Reset()
func (*EncryptionKey) String ¶
func (x *EncryptionKey) String() string
type Energy ¶
type Energy struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Energy is used to count exact execution cost. This cost is then converted to CCD amounts.
func (*Energy) Descriptor
deprecated
func (*Energy) ProtoMessage ¶
func (*Energy) ProtoMessage()
func (*Energy) ProtoReflect ¶
func (x *Energy) ProtoReflect() protoreflect.Message
type Epoch ¶
type Epoch struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A chain epoch.
func (*Epoch) Descriptor
deprecated
func (*Epoch) ProtoMessage ¶
func (*Epoch) ProtoMessage()
func (*Epoch) ProtoReflect ¶
func (x *Epoch) ProtoReflect() protoreflect.Message
type EpochFinalizationEntry ¶ added in v0.2.0
type EpochFinalizationEntry struct { // The quorum certificate for the finalized block. FinalizedQc *QuorumCertificate `protobuf:"bytes,1,opt,name=finalized_qc,json=finalizedQc,proto3" json:"finalized_qc,omitempty"` // The quorum certificate for the block that finalizes // the block that 'finalized_qc' points to. SuccessorQc *QuorumCertificate `protobuf:"bytes,2,opt,name=successor_qc,json=successorQc,proto3" json:"successor_qc,omitempty"` // A proof that the successor block is an immediate // successor of the finalized block. SuccessorProof *SuccessorProof `protobuf:"bytes,3,opt,name=successor_proof,json=successorProof,proto3" json:"successor_proof,omitempty"` // contains filtered or unexported fields }
The epoch finalization entry is the proof that makes the protocol able to advance to a new epoch. I.e. the 'EpochFinalizationEntry' is present if and only if the block is the first block of a new 'Epoch'.
func (*EpochFinalizationEntry) Descriptor
deprecated
added in
v0.2.0
func (*EpochFinalizationEntry) Descriptor() ([]byte, []int)
Deprecated: Use EpochFinalizationEntry.ProtoReflect.Descriptor instead.
func (*EpochFinalizationEntry) GetFinalizedQc ¶ added in v0.2.0
func (x *EpochFinalizationEntry) GetFinalizedQc() *QuorumCertificate
func (*EpochFinalizationEntry) GetSuccessorProof ¶ added in v0.2.0
func (x *EpochFinalizationEntry) GetSuccessorProof() *SuccessorProof
func (*EpochFinalizationEntry) GetSuccessorQc ¶ added in v0.2.0
func (x *EpochFinalizationEntry) GetSuccessorQc() *QuorumCertificate
func (*EpochFinalizationEntry) ProtoMessage ¶ added in v0.2.0
func (*EpochFinalizationEntry) ProtoMessage()
func (*EpochFinalizationEntry) ProtoReflect ¶ added in v0.2.0
func (x *EpochFinalizationEntry) ProtoReflect() protoreflect.Message
func (*EpochFinalizationEntry) Reset ¶ added in v0.2.0
func (x *EpochFinalizationEntry) Reset()
func (*EpochFinalizationEntry) String ¶ added in v0.2.0
func (x *EpochFinalizationEntry) String() string
type EpochRequest ¶ added in v0.2.0
type EpochRequest struct { // Types that are assignable to EpochRequestInput: // // *EpochRequest_RelativeEpoch_ // *EpochRequest_BlockHash EpochRequestInput isEpochRequest_EpochRequestInput `protobuf_oneof:"epoch_request_input"` // contains filtered or unexported fields }
Input to queries which take an epoch as a parameter.
func (*EpochRequest) Descriptor
deprecated
added in
v0.2.0
func (*EpochRequest) Descriptor() ([]byte, []int)
Deprecated: Use EpochRequest.ProtoReflect.Descriptor instead.
func (*EpochRequest) GetBlockHash ¶ added in v0.2.0
func (x *EpochRequest) GetBlockHash() *BlockHashInput
func (*EpochRequest) GetEpochRequestInput ¶ added in v0.2.0
func (m *EpochRequest) GetEpochRequestInput() isEpochRequest_EpochRequestInput
func (*EpochRequest) GetRelativeEpoch ¶ added in v0.2.0
func (x *EpochRequest) GetRelativeEpoch() *EpochRequest_RelativeEpoch
func (*EpochRequest) ProtoMessage ¶ added in v0.2.0
func (*EpochRequest) ProtoMessage()
func (*EpochRequest) ProtoReflect ¶ added in v0.2.0
func (x *EpochRequest) ProtoReflect() protoreflect.Message
func (*EpochRequest) Reset ¶ added in v0.2.0
func (x *EpochRequest) Reset()
func (*EpochRequest) String ¶ added in v0.2.0
func (x *EpochRequest) String() string
type EpochRequest_BlockHash ¶ added in v0.2.0
type EpochRequest_BlockHash struct { // Query for the epoch of a specified block. BlockHash *BlockHashInput `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3,oneof"` }
type EpochRequest_RelativeEpoch ¶ added in v0.2.0
type EpochRequest_RelativeEpoch struct { // The genesis index to query at. The query is restricted to this genesis index, and // will not return results for other indices even if the epoch number is out of bounds. GenesisIndex *GenesisIndex `protobuf:"bytes,1,opt,name=genesis_index,json=genesisIndex,proto3" json:"genesis_index,omitempty"` // The epoch number to query at. Epoch *Epoch `protobuf:"bytes,2,opt,name=epoch,proto3" json:"epoch,omitempty"` // contains filtered or unexported fields }
Request an epoch by number at a given genesis index.
func (*EpochRequest_RelativeEpoch) Descriptor
deprecated
added in
v0.2.0
func (*EpochRequest_RelativeEpoch) Descriptor() ([]byte, []int)
Deprecated: Use EpochRequest_RelativeEpoch.ProtoReflect.Descriptor instead.
func (*EpochRequest_RelativeEpoch) GetEpoch ¶ added in v0.2.0
func (x *EpochRequest_RelativeEpoch) GetEpoch() *Epoch
func (*EpochRequest_RelativeEpoch) GetGenesisIndex ¶ added in v0.2.0
func (x *EpochRequest_RelativeEpoch) GetGenesisIndex() *GenesisIndex
func (*EpochRequest_RelativeEpoch) ProtoMessage ¶ added in v0.2.0
func (*EpochRequest_RelativeEpoch) ProtoMessage()
func (*EpochRequest_RelativeEpoch) ProtoReflect ¶ added in v0.2.0
func (x *EpochRequest_RelativeEpoch) ProtoReflect() protoreflect.Message
func (*EpochRequest_RelativeEpoch) Reset ¶ added in v0.2.0
func (x *EpochRequest_RelativeEpoch) Reset()
func (*EpochRequest_RelativeEpoch) String ¶ added in v0.2.0
func (x *EpochRequest_RelativeEpoch) String() string
type EpochRequest_RelativeEpoch_ ¶ added in v0.2.0
type EpochRequest_RelativeEpoch_ struct { // Query by genesis index and epoch number. RelativeEpoch *EpochRequest_RelativeEpoch `protobuf:"bytes,1,opt,name=relative_epoch,json=relativeEpoch,proto3,oneof"` }
type ExchangeRate ¶
type ExchangeRate struct { Value *Ratio `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Represents an exchange rate.
func (*ExchangeRate) Descriptor
deprecated
func (*ExchangeRate) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeRate.ProtoReflect.Descriptor instead.
func (*ExchangeRate) GetValue ¶
func (x *ExchangeRate) GetValue() *Ratio
func (*ExchangeRate) ProtoMessage ¶
func (*ExchangeRate) ProtoMessage()
func (*ExchangeRate) ProtoReflect ¶
func (x *ExchangeRate) ProtoReflect() protoreflect.Message
func (*ExchangeRate) Reset ¶
func (x *ExchangeRate) Reset()
func (*ExchangeRate) String ¶
func (x *ExchangeRate) String() string
type FinalizationCommitteeParameters ¶
type FinalizationCommitteeParameters struct { // The minimum size of a finalization committee before `finalizer_relative_stake_threshold` takes effect. MinimumFinalizers uint32 `protobuf:"varint,1,opt,name=minimum_finalizers,json=minimumFinalizers,proto3" json:"minimum_finalizers,omitempty"` // The maximum size of a finalization committee. MaximumFinalizers uint32 `protobuf:"varint,2,opt,name=maximum_finalizers,json=maximumFinalizers,proto3" json:"maximum_finalizers,omitempty"` // The threshold for determining the stake required for being eligible the finalization committee. // The amount is given by `total stake in pools * finalizer_relative_stake_threshold` FinalizerRelativeStakeThreshold *AmountFraction `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
Finalization committee parameters used from protocol version 6
func (*FinalizationCommitteeParameters) Descriptor
deprecated
func (*FinalizationCommitteeParameters) Descriptor() ([]byte, []int)
Deprecated: Use FinalizationCommitteeParameters.ProtoReflect.Descriptor instead.
func (*FinalizationCommitteeParameters) GetFinalizerRelativeStakeThreshold ¶
func (x *FinalizationCommitteeParameters) GetFinalizerRelativeStakeThreshold() *AmountFraction
func (*FinalizationCommitteeParameters) GetMaximumFinalizers ¶
func (x *FinalizationCommitteeParameters) GetMaximumFinalizers() uint32
func (*FinalizationCommitteeParameters) GetMinimumFinalizers ¶
func (x *FinalizationCommitteeParameters) GetMinimumFinalizers() uint32
func (*FinalizationCommitteeParameters) ProtoMessage ¶
func (*FinalizationCommitteeParameters) ProtoMessage()
func (*FinalizationCommitteeParameters) ProtoReflect ¶
func (x *FinalizationCommitteeParameters) ProtoReflect() protoreflect.Message
func (*FinalizationCommitteeParameters) Reset ¶
func (x *FinalizationCommitteeParameters) Reset()
func (*FinalizationCommitteeParameters) String ¶
func (x *FinalizationCommitteeParameters) String() string
type FinalizationIndex ¶
type FinalizationIndex struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Index of the finalization round. This increases on each successfully completed finalization.
func (*FinalizationIndex) Descriptor
deprecated
func (*FinalizationIndex) Descriptor() ([]byte, []int)
Deprecated: Use FinalizationIndex.ProtoReflect.Descriptor instead.
func (*FinalizationIndex) GetValue ¶
func (x *FinalizationIndex) GetValue() uint64
func (*FinalizationIndex) ProtoMessage ¶
func (*FinalizationIndex) ProtoMessage()
func (*FinalizationIndex) ProtoReflect ¶
func (x *FinalizationIndex) ProtoReflect() protoreflect.Message
func (*FinalizationIndex) Reset ¶
func (x *FinalizationIndex) Reset()
func (*FinalizationIndex) String ¶
func (x *FinalizationIndex) String() string
type FinalizationSummary ¶
type FinalizationSummary struct { // Block that was finalized by the finalization record. Block *BlockHash `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // Index of the finalization round that finalized the block. Index *FinalizationIndex `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` // Finalization delay used for the finalization round. Delay *BlockHeight `protobuf:"bytes,3,opt,name=delay,proto3" json:"delay,omitempty"` // List of all finalizers with information about whether they signed the // finalization record or not. Finalizers []*FinalizationSummaryParty `protobuf:"bytes,4,rep,name=finalizers,proto3" json:"finalizers,omitempty"` // contains filtered or unexported fields }
Details about a finalization record included in a block.
func (*FinalizationSummary) Descriptor
deprecated
func (*FinalizationSummary) Descriptor() ([]byte, []int)
Deprecated: Use FinalizationSummary.ProtoReflect.Descriptor instead.
func (*FinalizationSummary) GetBlock ¶
func (x *FinalizationSummary) GetBlock() *BlockHash
func (*FinalizationSummary) GetDelay ¶
func (x *FinalizationSummary) GetDelay() *BlockHeight
func (*FinalizationSummary) GetFinalizers ¶
func (x *FinalizationSummary) GetFinalizers() []*FinalizationSummaryParty
func (*FinalizationSummary) GetIndex ¶
func (x *FinalizationSummary) GetIndex() *FinalizationIndex
func (*FinalizationSummary) ProtoMessage ¶
func (*FinalizationSummary) ProtoMessage()
func (*FinalizationSummary) ProtoReflect ¶
func (x *FinalizationSummary) ProtoReflect() protoreflect.Message
func (*FinalizationSummary) Reset ¶
func (x *FinalizationSummary) Reset()
func (*FinalizationSummary) String ¶
func (x *FinalizationSummary) String() string
type FinalizationSummaryParty ¶
type FinalizationSummaryParty struct { // Baker ID. Every finalizer is in particular a baker. Baker *BakerId `protobuf:"bytes,1,opt,name=baker,proto3" json:"baker,omitempty"` // The weight of the finalizer in the committee. This is an "absolute" weight. Weight uint64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` // Whether the finalizer's signature was present on the particular finalization record. Signed bool `protobuf:"varint,3,opt,name=signed,proto3" json:"signed,omitempty"` // contains filtered or unexported fields }
Details about a finalizer for the finalization round.
func (*FinalizationSummaryParty) Descriptor
deprecated
func (*FinalizationSummaryParty) Descriptor() ([]byte, []int)
Deprecated: Use FinalizationSummaryParty.ProtoReflect.Descriptor instead.
func (*FinalizationSummaryParty) GetBaker ¶
func (x *FinalizationSummaryParty) GetBaker() *BakerId
func (*FinalizationSummaryParty) GetSigned ¶
func (x *FinalizationSummaryParty) GetSigned() bool
func (*FinalizationSummaryParty) GetWeight ¶
func (x *FinalizationSummaryParty) GetWeight() uint64
func (*FinalizationSummaryParty) ProtoMessage ¶
func (*FinalizationSummaryParty) ProtoMessage()
func (*FinalizationSummaryParty) ProtoReflect ¶
func (x *FinalizationSummaryParty) ProtoReflect() protoreflect.Message
func (*FinalizationSummaryParty) Reset ¶
func (x *FinalizationSummaryParty) Reset()
func (*FinalizationSummaryParty) String ¶
func (x *FinalizationSummaryParty) String() string
type FinalizedBlockInfo ¶
type FinalizedBlockInfo struct { // Hash of the block. Hash *BlockHash `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // Absolute height of the block, height 0 is the genesis block. Height *AbsoluteBlockHeight `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
Information about a finalized block that is part of the streaming response.
func (*FinalizedBlockInfo) Descriptor
deprecated
func (*FinalizedBlockInfo) Descriptor() ([]byte, []int)
Deprecated: Use FinalizedBlockInfo.ProtoReflect.Descriptor instead.
func (*FinalizedBlockInfo) GetHash ¶
func (x *FinalizedBlockInfo) GetHash() *BlockHash
func (*FinalizedBlockInfo) GetHeight ¶
func (x *FinalizedBlockInfo) GetHeight() *AbsoluteBlockHeight
func (*FinalizedBlockInfo) ProtoMessage ¶
func (*FinalizedBlockInfo) ProtoMessage()
func (*FinalizedBlockInfo) ProtoReflect ¶
func (x *FinalizedBlockInfo) ProtoReflect() protoreflect.Message
func (*FinalizedBlockInfo) Reset ¶
func (x *FinalizedBlockInfo) Reset()
func (*FinalizedBlockInfo) String ¶
func (x *FinalizedBlockInfo) String() string
type FinalizerRound ¶ added in v0.2.0
type FinalizerRound struct { // The round that was signed off. Round *Round `protobuf:"bytes,1,opt,name=round,proto3" json:"round,omitempty"` // The finalizers (identified by their 'BakerId' that // signed off the in 'round'. Finalizers []*BakerId `protobuf:"bytes,2,rep,name=finalizers,proto3" json:"finalizers,omitempty"` // contains filtered or unexported fields }
The finalizer round is a map from a 'Round' to the list of finalizers (identified by their 'BakerId') that signed off the round.
func (*FinalizerRound) Descriptor
deprecated
added in
v0.2.0
func (*FinalizerRound) Descriptor() ([]byte, []int)
Deprecated: Use FinalizerRound.ProtoReflect.Descriptor instead.
func (*FinalizerRound) GetFinalizers ¶ added in v0.2.0
func (x *FinalizerRound) GetFinalizers() []*BakerId
func (*FinalizerRound) GetRound ¶ added in v0.2.0
func (x *FinalizerRound) GetRound() *Round
func (*FinalizerRound) ProtoMessage ¶ added in v0.2.0
func (*FinalizerRound) ProtoMessage()
func (*FinalizerRound) ProtoReflect ¶ added in v0.2.0
func (x *FinalizerRound) ProtoReflect() protoreflect.Message
func (*FinalizerRound) Reset ¶ added in v0.2.0
func (x *FinalizerRound) Reset()
func (*FinalizerRound) String ¶ added in v0.2.0
func (x *FinalizerRound) String() string
type GasRewards ¶
type GasRewards struct { // The fraction paid to the baker. Baker *AmountFraction `protobuf:"bytes,1,opt,name=baker,proto3" json:"baker,omitempty"` // Fraction paid for including a finalization proof in a block. FinalizationProof *AmountFraction `protobuf:"bytes,2,opt,name=finalization_proof,json=finalizationProof,proto3" json:"finalization_proof,omitempty"` // Fraction paid for including each account creation transaction in a block. AccountCreation *AmountFraction `protobuf:"bytes,3,opt,name=account_creation,json=accountCreation,proto3" json:"account_creation,omitempty"` // Fraction paid for including an update transaction in a block. ChainUpdate *AmountFraction `protobuf:"bytes,4,opt,name=chain_update,json=chainUpdate,proto3" json:"chain_update,omitempty"` // contains filtered or unexported fields }
Distribution of gas rewards for chain parameters version 0 and 1.
func (*GasRewards) Descriptor
deprecated
func (*GasRewards) Descriptor() ([]byte, []int)
Deprecated: Use GasRewards.ProtoReflect.Descriptor instead.
func (*GasRewards) GetAccountCreation ¶
func (x *GasRewards) GetAccountCreation() *AmountFraction
func (*GasRewards) GetBaker ¶
func (x *GasRewards) GetBaker() *AmountFraction
func (*GasRewards) GetChainUpdate ¶
func (x *GasRewards) GetChainUpdate() *AmountFraction
func (*GasRewards) GetFinalizationProof ¶
func (x *GasRewards) GetFinalizationProof() *AmountFraction
func (*GasRewards) ProtoMessage ¶
func (*GasRewards) ProtoMessage()
func (*GasRewards) ProtoReflect ¶
func (x *GasRewards) ProtoReflect() protoreflect.Message
func (*GasRewards) Reset ¶
func (x *GasRewards) Reset()
func (*GasRewards) String ¶
func (x *GasRewards) String() string
type GasRewardsCpv2 ¶
type GasRewardsCpv2 struct { // The fraction paid to the baker. Baker *AmountFraction `protobuf:"bytes,1,opt,name=baker,proto3" json:"baker,omitempty"` // Fraction paid for including each account creation transaction in a block. AccountCreation *AmountFraction `protobuf:"bytes,3,opt,name=account_creation,json=accountCreation,proto3" json:"account_creation,omitempty"` // Fraction paid for including an update transaction in a block. ChainUpdate *AmountFraction `protobuf:"bytes,4,opt,name=chain_update,json=chainUpdate,proto3" json:"chain_update,omitempty"` // contains filtered or unexported fields }
Distribution of gas rewards for chain parameters version 2.
func (*GasRewardsCpv2) Descriptor
deprecated
func (*GasRewardsCpv2) Descriptor() ([]byte, []int)
Deprecated: Use GasRewardsCpv2.ProtoReflect.Descriptor instead.
func (*GasRewardsCpv2) GetAccountCreation ¶
func (x *GasRewardsCpv2) GetAccountCreation() *AmountFraction
func (*GasRewardsCpv2) GetBaker ¶
func (x *GasRewardsCpv2) GetBaker() *AmountFraction
func (*GasRewardsCpv2) GetChainUpdate ¶
func (x *GasRewardsCpv2) GetChainUpdate() *AmountFraction
func (*GasRewardsCpv2) ProtoMessage ¶
func (*GasRewardsCpv2) ProtoMessage()
func (*GasRewardsCpv2) ProtoReflect ¶
func (x *GasRewardsCpv2) ProtoReflect() protoreflect.Message
func (*GasRewardsCpv2) Reset ¶
func (x *GasRewardsCpv2) Reset()
func (*GasRewardsCpv2) String ¶
func (x *GasRewardsCpv2) String() string
type GenesisIndex ¶
type GenesisIndex struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The number of chain restarts via a protocol update. An effected protocol update instruction might not change the protocol version specified in the previous field, but it always increments the genesis index.
func (*GenesisIndex) Descriptor
deprecated
func (*GenesisIndex) Descriptor() ([]byte, []int)
Deprecated: Use GenesisIndex.ProtoReflect.Descriptor instead.
func (*GenesisIndex) GetValue ¶
func (x *GenesisIndex) GetValue() uint32
func (*GenesisIndex) ProtoMessage ¶
func (*GenesisIndex) ProtoMessage()
func (*GenesisIndex) ProtoReflect ¶
func (x *GenesisIndex) ProtoReflect() protoreflect.Message
func (*GenesisIndex) Reset ¶
func (x *GenesisIndex) Reset()
func (*GenesisIndex) String ¶
func (x *GenesisIndex) String() string
type GetPoolDelegatorsRequest ¶
type GetPoolDelegatorsRequest struct { // Block in which to query the delegators. BlockHash *BlockHashInput `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The 'BakerId' of the pool owner. Baker *BakerId `protobuf:"bytes,2,opt,name=baker,proto3" json:"baker,omitempty"` // contains filtered or unexported fields }
Request for GetPoolDelegators and GetPoolDelegatorsRewardPeriod.
func (*GetPoolDelegatorsRequest) Descriptor
deprecated
func (*GetPoolDelegatorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPoolDelegatorsRequest.ProtoReflect.Descriptor instead.
func (*GetPoolDelegatorsRequest) GetBaker ¶
func (x *GetPoolDelegatorsRequest) GetBaker() *BakerId
func (*GetPoolDelegatorsRequest) GetBlockHash ¶
func (x *GetPoolDelegatorsRequest) GetBlockHash() *BlockHashInput
func (*GetPoolDelegatorsRequest) ProtoMessage ¶
func (*GetPoolDelegatorsRequest) ProtoMessage()
func (*GetPoolDelegatorsRequest) ProtoReflect ¶
func (x *GetPoolDelegatorsRequest) ProtoReflect() protoreflect.Message
func (*GetPoolDelegatorsRequest) Reset ¶
func (x *GetPoolDelegatorsRequest) Reset()
func (*GetPoolDelegatorsRequest) String ¶
func (x *GetPoolDelegatorsRequest) String() string
type HealthClient ¶
type HealthClient interface { // Check the health of the node. By necessity this involves a number of // heuristics since in a distributed network we have to rely on the local // information only and we don't have authoritative data on, e.g., last // finalized block. // // In particular, a node that is not caught up to the head of the chain is not // healthy. // // If possible the client should use other queries to get a more fine-grained // understanding of the node health. However this endpoint should provide a // reasonable default and is usable in cases where an automatic check is // performed that does not allow for configuration, such as in load-balancers. Check(ctx context.Context, in *NodeHealthRequest, opts ...grpc.CallOption) (*NodeHealthResponse, error) }
HealthClient is the client API for Health service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHealthClient ¶
func NewHealthClient(cc grpc.ClientConnInterface) HealthClient
type HealthServer ¶
type HealthServer interface { // Check the health of the node. By necessity this involves a number of // heuristics since in a distributed network we have to rely on the local // information only and we don't have authoritative data on, e.g., last // finalized block. // // In particular, a node that is not caught up to the head of the chain is not // healthy. // // If possible the client should use other queries to get a more fine-grained // understanding of the node health. However this endpoint should provide a // reasonable default and is usable in cases where an automatic check is // performed that does not allow for configuration, such as in load-balancers. Check(context.Context, *NodeHealthRequest) (*NodeHealthResponse, error) // contains filtered or unexported methods }
HealthServer is the server API for Health service. All implementations must embed UnimplementedHealthServer for forward compatibility.
type HigherLevelKeys ¶
type HigherLevelKeys struct { // The keys. Keys []*UpdatePublicKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // The number of keys needed to make a chain update. Threshold *UpdateKeysThreshold `protobuf:"bytes,2,opt,name=threshold,proto3" json:"threshold,omitempty"` // contains filtered or unexported fields }
Represents root or level 1 keys.
func (*HigherLevelKeys) Descriptor
deprecated
func (*HigherLevelKeys) Descriptor() ([]byte, []int)
Deprecated: Use HigherLevelKeys.ProtoReflect.Descriptor instead.
func (*HigherLevelKeys) GetKeys ¶
func (x *HigherLevelKeys) GetKeys() []*UpdatePublicKey
func (*HigherLevelKeys) GetThreshold ¶
func (x *HigherLevelKeys) GetThreshold() *UpdateKeysThreshold
func (*HigherLevelKeys) ProtoMessage ¶
func (*HigherLevelKeys) ProtoMessage()
func (*HigherLevelKeys) ProtoReflect ¶
func (x *HigherLevelKeys) ProtoReflect() protoreflect.Message
func (*HigherLevelKeys) Reset ¶
func (x *HigherLevelKeys) Reset()
func (*HigherLevelKeys) String ¶
func (x *HigherLevelKeys) String() string
type IdentityProviderIdentity ¶
type IdentityProviderIdentity struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
An index of the identity provider that identifies them uniquely in the context of a specific chain.
func (*IdentityProviderIdentity) Descriptor
deprecated
func (*IdentityProviderIdentity) Descriptor() ([]byte, []int)
Deprecated: Use IdentityProviderIdentity.ProtoReflect.Descriptor instead.
func (*IdentityProviderIdentity) GetValue ¶
func (x *IdentityProviderIdentity) GetValue() uint32
func (*IdentityProviderIdentity) ProtoMessage ¶
func (*IdentityProviderIdentity) ProtoMessage()
func (*IdentityProviderIdentity) ProtoReflect ¶
func (x *IdentityProviderIdentity) ProtoReflect() protoreflect.Message
func (*IdentityProviderIdentity) Reset ¶
func (x *IdentityProviderIdentity) Reset()
func (*IdentityProviderIdentity) String ¶
func (x *IdentityProviderIdentity) String() string
type InclusiveRangeAmountFraction ¶
type InclusiveRangeAmountFraction struct { Min *AmountFraction `protobuf:"bytes,1,opt,name=min,proto3" json:"min,omitempty"` Max_ *AmountFraction `protobuf:"bytes,2,opt,name=max_,json=max,proto3" json:"max_,omitempty"` // contains filtered or unexported fields }
Inclusive range of amount fractions.
func (*InclusiveRangeAmountFraction) Descriptor
deprecated
func (*InclusiveRangeAmountFraction) Descriptor() ([]byte, []int)
Deprecated: Use InclusiveRangeAmountFraction.ProtoReflect.Descriptor instead.
func (*InclusiveRangeAmountFraction) GetMax_ ¶
func (x *InclusiveRangeAmountFraction) GetMax_() *AmountFraction
func (*InclusiveRangeAmountFraction) GetMin ¶
func (x *InclusiveRangeAmountFraction) GetMin() *AmountFraction
func (*InclusiveRangeAmountFraction) ProtoMessage ¶
func (*InclusiveRangeAmountFraction) ProtoMessage()
func (*InclusiveRangeAmountFraction) ProtoReflect ¶
func (x *InclusiveRangeAmountFraction) ProtoReflect() protoreflect.Message
func (*InclusiveRangeAmountFraction) Reset ¶
func (x *InclusiveRangeAmountFraction) Reset()
func (*InclusiveRangeAmountFraction) String ¶
func (x *InclusiveRangeAmountFraction) String() string
type InitContractPayload ¶
type InitContractPayload struct { // Amount of CCD to send to the instance. Amount *Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // Reference to the module from which the instance will be created. ModuleRef *ModuleRef `protobuf:"bytes,2,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"` // Name of the contract to initialize. This is expected to be in the format // `init_name`. InitName *InitName `protobuf:"bytes,3,opt,name=init_name,json=initName,proto3" json:"init_name,omitempty"` // Parameter to call the `init` of the contract with. Parameter *Parameter `protobuf:"bytes,4,opt,name=parameter,proto3" json:"parameter,omitempty"` // contains filtered or unexported fields }
Data required to initialize a new contract instance.
func (*InitContractPayload) Descriptor
deprecated
func (*InitContractPayload) Descriptor() ([]byte, []int)
Deprecated: Use InitContractPayload.ProtoReflect.Descriptor instead.
func (*InitContractPayload) GetAmount ¶
func (x *InitContractPayload) GetAmount() *Amount
func (*InitContractPayload) GetInitName ¶
func (x *InitContractPayload) GetInitName() *InitName
func (*InitContractPayload) GetModuleRef ¶
func (x *InitContractPayload) GetModuleRef() *ModuleRef
func (*InitContractPayload) GetParameter ¶
func (x *InitContractPayload) GetParameter() *Parameter
func (*InitContractPayload) ProtoMessage ¶
func (*InitContractPayload) ProtoMessage()
func (*InitContractPayload) ProtoReflect ¶
func (x *InitContractPayload) ProtoReflect() protoreflect.Message
func (*InitContractPayload) Reset ¶
func (x *InitContractPayload) Reset()
func (*InitContractPayload) String ¶
func (x *InitContractPayload) String() string
type InitName ¶
type InitName struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The init name of a smart contract function. Expected format: `init_<contract_name>`. It must only consist of atmost 100 ASCII alphanumeric or punctuation characters, must not contain a '.' and must start with 'init_'.
func (*InitName) Descriptor
deprecated
func (*InitName) ProtoMessage ¶
func (*InitName) ProtoMessage()
func (*InitName) ProtoReflect ¶
func (x *InitName) ProtoReflect() protoreflect.Message
type InitialCredentialValues ¶
type InitialCredentialValues struct { // Public keys of the credential. Keys *CredentialPublicKeys `protobuf:"bytes,1,opt,name=keys,proto3" json:"keys,omitempty"` // Its registration ID. CredId *CredentialRegistrationId `protobuf:"bytes,2,opt,name=cred_id,json=credId,proto3" json:"cred_id,omitempty"` // The identity provider who signed the identity object from which this // credential is derived. IpId *IdentityProviderIdentity `protobuf:"bytes,3,opt,name=ip_id,json=ipId,proto3" json:"ip_id,omitempty"` // Policy of this credential. Policy *Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
Values contained in an initial credential.
func (*InitialCredentialValues) Descriptor
deprecated
func (*InitialCredentialValues) Descriptor() ([]byte, []int)
Deprecated: Use InitialCredentialValues.ProtoReflect.Descriptor instead.
func (*InitialCredentialValues) GetCredId ¶
func (x *InitialCredentialValues) GetCredId() *CredentialRegistrationId
func (*InitialCredentialValues) GetIpId ¶
func (x *InitialCredentialValues) GetIpId() *IdentityProviderIdentity
func (*InitialCredentialValues) GetKeys ¶
func (x *InitialCredentialValues) GetKeys() *CredentialPublicKeys
func (*InitialCredentialValues) GetPolicy ¶
func (x *InitialCredentialValues) GetPolicy() *Policy
func (*InitialCredentialValues) ProtoMessage ¶
func (*InitialCredentialValues) ProtoMessage()
func (*InitialCredentialValues) ProtoReflect ¶
func (x *InitialCredentialValues) ProtoReflect() protoreflect.Message
func (*InitialCredentialValues) Reset ¶
func (x *InitialCredentialValues) Reset()
func (*InitialCredentialValues) String ¶
func (x *InitialCredentialValues) String() string
type InstanceInfo ¶
type InstanceInfo struct { // The information depends on the smart contract version used by the instance. // // Types that are assignable to Version: // // *InstanceInfo_V0_ // *InstanceInfo_V1_ Version isInstanceInfo_Version `protobuf_oneof:"version"` // contains filtered or unexported fields }
Information about a smart contract instance.
func (*InstanceInfo) Descriptor
deprecated
func (*InstanceInfo) Descriptor() ([]byte, []int)
Deprecated: Use InstanceInfo.ProtoReflect.Descriptor instead.
func (*InstanceInfo) GetV0 ¶
func (x *InstanceInfo) GetV0() *InstanceInfo_V0
func (*InstanceInfo) GetV1 ¶
func (x *InstanceInfo) GetV1() *InstanceInfo_V1
func (*InstanceInfo) GetVersion ¶
func (m *InstanceInfo) GetVersion() isInstanceInfo_Version
func (*InstanceInfo) ProtoMessage ¶
func (*InstanceInfo) ProtoMessage()
func (*InstanceInfo) ProtoReflect ¶
func (x *InstanceInfo) ProtoReflect() protoreflect.Message
func (*InstanceInfo) Reset ¶
func (x *InstanceInfo) Reset()
func (*InstanceInfo) String ¶
func (x *InstanceInfo) String() string
type InstanceInfoRequest ¶
type InstanceInfoRequest struct { // The block to be used for the query. BlockHash *BlockHashInput `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The address of the smart contract instance. Address *ContractAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
Request for getting information about a smart contract instance.
func (*InstanceInfoRequest) Descriptor
deprecated
func (*InstanceInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstanceInfoRequest.ProtoReflect.Descriptor instead.
func (*InstanceInfoRequest) GetAddress ¶
func (x *InstanceInfoRequest) GetAddress() *ContractAddress
func (*InstanceInfoRequest) GetBlockHash ¶
func (x *InstanceInfoRequest) GetBlockHash() *BlockHashInput
func (*InstanceInfoRequest) ProtoMessage ¶
func (*InstanceInfoRequest) ProtoMessage()
func (*InstanceInfoRequest) ProtoReflect ¶
func (x *InstanceInfoRequest) ProtoReflect() protoreflect.Message
func (*InstanceInfoRequest) Reset ¶
func (x *InstanceInfoRequest) Reset()
func (*InstanceInfoRequest) String ¶
func (x *InstanceInfoRequest) String() string
type InstanceInfo_V0 ¶
type InstanceInfo_V0 struct { // The state of the instance. Model *ContractStateV0 `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // The account address which deployed the instance. Owner *AccountAddress `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // The amount of CCD tokens in the balance of the instance. Amount *Amount `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // A list of endpoints exposed by the instance. Methods []*ReceiveName `protobuf:"bytes,4,rep,name=methods,proto3" json:"methods,omitempty"` // The name of the smart contract of the instance. Name *InitName `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // The module reference for the smart contract module of the instance. SourceModule *ModuleRef `protobuf:"bytes,6,opt,name=source_module,json=sourceModule,proto3" json:"source_module,omitempty"` // contains filtered or unexported fields }
Version 0 smart contract instance information.
func (*InstanceInfo_V0) Descriptor
deprecated
func (*InstanceInfo_V0) Descriptor() ([]byte, []int)
Deprecated: Use InstanceInfo_V0.ProtoReflect.Descriptor instead.
func (*InstanceInfo_V0) GetAmount ¶
func (x *InstanceInfo_V0) GetAmount() *Amount
func (*InstanceInfo_V0) GetMethods ¶
func (x *InstanceInfo_V0) GetMethods() []*ReceiveName
func (*InstanceInfo_V0) GetModel ¶
func (x *InstanceInfo_V0) GetModel() *ContractStateV0
func (*InstanceInfo_V0) GetName ¶
func (x *InstanceInfo_V0) GetName() *InitName
func (*InstanceInfo_V0) GetOwner ¶
func (x *InstanceInfo_V0) GetOwner() *AccountAddress
func (*InstanceInfo_V0) GetSourceModule ¶
func (x *InstanceInfo_V0) GetSourceModule() *ModuleRef
func (*InstanceInfo_V0) ProtoMessage ¶
func (*InstanceInfo_V0) ProtoMessage()
func (*InstanceInfo_V0) ProtoReflect ¶
func (x *InstanceInfo_V0) ProtoReflect() protoreflect.Message
func (*InstanceInfo_V0) Reset ¶
func (x *InstanceInfo_V0) Reset()
func (*InstanceInfo_V0) String ¶
func (x *InstanceInfo_V0) String() string
type InstanceInfo_V0_ ¶
type InstanceInfo_V0_ struct {
V0 *InstanceInfo_V0 `protobuf:"bytes,1,opt,name=v0,proto3,oneof"`
}
type InstanceInfo_V1 ¶
type InstanceInfo_V1 struct { // The account address which deployed the instance. Owner *AccountAddress `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // The amount of CCD tokens in the balance of the instance. Amount *Amount `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // A list of endpoints exposed by the instance. Methods []*ReceiveName `protobuf:"bytes,4,rep,name=methods,proto3" json:"methods,omitempty"` // The name of the smart contract of the instance. Name *InitName `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // The module reference for the smart contract module of the instance. SourceModule *ModuleRef `protobuf:"bytes,6,opt,name=source_module,json=sourceModule,proto3" json:"source_module,omitempty"` // contains filtered or unexported fields }
Version 1 smart contract instance information.
func (*InstanceInfo_V1) Descriptor
deprecated
func (*InstanceInfo_V1) Descriptor() ([]byte, []int)
Deprecated: Use InstanceInfo_V1.ProtoReflect.Descriptor instead.
func (*InstanceInfo_V1) GetAmount ¶
func (x *InstanceInfo_V1) GetAmount() *Amount
func (*InstanceInfo_V1) GetMethods ¶
func (x *InstanceInfo_V1) GetMethods() []*ReceiveName
func (*InstanceInfo_V1) GetName ¶
func (x *InstanceInfo_V1) GetName() *InitName
func (*InstanceInfo_V1) GetOwner ¶
func (x *InstanceInfo_V1) GetOwner() *AccountAddress
func (*InstanceInfo_V1) GetSourceModule ¶
func (x *InstanceInfo_V1) GetSourceModule() *ModuleRef
func (*InstanceInfo_V1) ProtoMessage ¶
func (*InstanceInfo_V1) ProtoMessage()
func (*InstanceInfo_V1) ProtoReflect ¶
func (x *InstanceInfo_V1) ProtoReflect() protoreflect.Message
func (*InstanceInfo_V1) Reset ¶
func (x *InstanceInfo_V1) Reset()
func (*InstanceInfo_V1) String ¶
func (x *InstanceInfo_V1) String() string
type InstanceInfo_V1_ ¶
type InstanceInfo_V1_ struct {
V1 *InstanceInfo_V1 `protobuf:"bytes,2,opt,name=v1,proto3,oneof"`
}
type InstanceStateKVPair ¶
type InstanceStateKVPair 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"` // contains filtered or unexported fields }
A smart contract instance key-value pair.
func (*InstanceStateKVPair) Descriptor
deprecated
func (*InstanceStateKVPair) Descriptor() ([]byte, []int)
Deprecated: Use InstanceStateKVPair.ProtoReflect.Descriptor instead.
func (*InstanceStateKVPair) GetKey ¶
func (x *InstanceStateKVPair) GetKey() []byte
func (*InstanceStateKVPair) GetValue ¶
func (x *InstanceStateKVPair) GetValue() []byte
func (*InstanceStateKVPair) ProtoMessage ¶
func (*InstanceStateKVPair) ProtoMessage()
func (*InstanceStateKVPair) ProtoReflect ¶
func (x *InstanceStateKVPair) ProtoReflect() protoreflect.Message
func (*InstanceStateKVPair) Reset ¶
func (x *InstanceStateKVPair) Reset()
func (*InstanceStateKVPair) String ¶
func (x *InstanceStateKVPair) String() string
type InstanceStateLookupRequest ¶
type InstanceStateLookupRequest struct { // The block to be used for the query. BlockHash *BlockHashInput `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The address of the smart contract instance. Address *ContractAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Key to look up. If the instance is a V0 instance then this will not be used. Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
Request for a specific key of a smart contract instance state.
func (*InstanceStateLookupRequest) Descriptor
deprecated
func (*InstanceStateLookupRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstanceStateLookupRequest.ProtoReflect.Descriptor instead.
func (*InstanceStateLookupRequest) GetAddress ¶
func (x *InstanceStateLookupRequest) GetAddress() *ContractAddress
func (*InstanceStateLookupRequest) GetBlockHash ¶
func (x *InstanceStateLookupRequest) GetBlockHash() *BlockHashInput
func (*InstanceStateLookupRequest) GetKey ¶
func (x *InstanceStateLookupRequest) GetKey() []byte
func (*InstanceStateLookupRequest) ProtoMessage ¶
func (*InstanceStateLookupRequest) ProtoMessage()
func (*InstanceStateLookupRequest) ProtoReflect ¶
func (x *InstanceStateLookupRequest) ProtoReflect() protoreflect.Message
func (*InstanceStateLookupRequest) Reset ¶
func (x *InstanceStateLookupRequest) Reset()
func (*InstanceStateLookupRequest) String ¶
func (x *InstanceStateLookupRequest) String() string
type InstanceStateValueAtKey ¶
type InstanceStateValueAtKey struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Value at the requested key of a smart contract instance state. For V0 contracts this will always be the entire state of the contract.
func (*InstanceStateValueAtKey) Descriptor
deprecated
func (*InstanceStateValueAtKey) Descriptor() ([]byte, []int)
Deprecated: Use InstanceStateValueAtKey.ProtoReflect.Descriptor instead.
func (*InstanceStateValueAtKey) GetValue ¶
func (x *InstanceStateValueAtKey) GetValue() []byte
func (*InstanceStateValueAtKey) ProtoMessage ¶
func (*InstanceStateValueAtKey) ProtoMessage()
func (*InstanceStateValueAtKey) ProtoReflect ¶
func (x *InstanceStateValueAtKey) ProtoReflect() protoreflect.Message
func (*InstanceStateValueAtKey) Reset ¶
func (x *InstanceStateValueAtKey) Reset()
func (*InstanceStateValueAtKey) String ¶
func (x *InstanceStateValueAtKey) String() string
type InstanceUpdatedEvent ¶
type InstanceUpdatedEvent struct { // Contract version. ContractVersion ContractVersion `` /* 142-byte string literal not displayed */ // Address of the affected instance. Address *ContractAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // The origin of the message to the smart contract. This can be // either an account or a smart contract. Instigator *Address `protobuf:"bytes,3,opt,name=instigator,proto3" json:"instigator,omitempty"` // The amount the method was invoked with. Amount *Amount `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // The parameter passed to the method. Parameter *Parameter `protobuf:"bytes,5,opt,name=parameter,proto3" json:"parameter,omitempty"` // The name of the method that was executed. ReceiveName *ReceiveName `protobuf:"bytes,6,opt,name=receive_name,json=receiveName,proto3" json:"receive_name,omitempty"` // Any contract events that might have been generated by the contract execution. Events []*ContractEvent `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
Data generated as part of updating a single contract instance. In general a single Update transaction will generate one or more of these events, together with possibly some transfers.
func (*InstanceUpdatedEvent) Descriptor
deprecated
func (*InstanceUpdatedEvent) Descriptor() ([]byte, []int)
Deprecated: Use InstanceUpdatedEvent.ProtoReflect.Descriptor instead.
func (*InstanceUpdatedEvent) GetAddress ¶
func (x *InstanceUpdatedEvent) GetAddress() *ContractAddress
func (*InstanceUpdatedEvent) GetAmount ¶
func (x *InstanceUpdatedEvent) GetAmount() *Amount
func (*InstanceUpdatedEvent) GetContractVersion ¶
func (x *InstanceUpdatedEvent) GetContractVersion() ContractVersion
func (*InstanceUpdatedEvent) GetEvents ¶
func (x *InstanceUpdatedEvent) GetEvents() []*ContractEvent
func (*InstanceUpdatedEvent) GetInstigator ¶
func (x *InstanceUpdatedEvent) GetInstigator() *Address
func (*InstanceUpdatedEvent) GetParameter ¶
func (x *InstanceUpdatedEvent) GetParameter() *Parameter
func (*InstanceUpdatedEvent) GetReceiveName ¶
func (x *InstanceUpdatedEvent) GetReceiveName() *ReceiveName
func (*InstanceUpdatedEvent) ProtoMessage ¶
func (*InstanceUpdatedEvent) ProtoMessage()
func (*InstanceUpdatedEvent) ProtoReflect ¶
func (x *InstanceUpdatedEvent) ProtoReflect() protoreflect.Message
func (*InstanceUpdatedEvent) Reset ¶
func (x *InstanceUpdatedEvent) Reset()
func (*InstanceUpdatedEvent) String ¶
func (x *InstanceUpdatedEvent) String() string
type InvokeInstanceRequest ¶
type InvokeInstanceRequest struct { // Block to invoke the contract. The invocation will be at the end of the given block. BlockHash *BlockHashInput `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Invoker of the contract. If this is not supplied then the contract will be // invoked by an account with address 0, no credentials and sufficient amount // of CCD to cover the transfer amount. If given, the relevant address (either // account or contract) must exist in the blockstate. Invoker *Address `protobuf:"bytes,2,opt,name=invoker,proto3,oneof" json:"invoker,omitempty"` // Address of the contract instance to invoke. Instance *ContractAddress `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"` // Amount to invoke the smart contract instance with. Amount *Amount `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` // The entrypoint of the smart contract instance to invoke. Entrypoint *ReceiveName `protobuf:"bytes,5,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` // The parameter bytes to include in the invocation of the entrypoint. Parameter *Parameter `protobuf:"bytes,6,opt,name=parameter,proto3" json:"parameter,omitempty"` // And what amount of energy to allow for execution. This cannot exceed // `100_000_000_000`, but in practice it should be much less. The maximum // block energy is typically in the range of a few million. Energy *Energy `protobuf:"bytes,7,opt,name=energy,proto3" json:"energy,omitempty"` // contains filtered or unexported fields }
Request for InvokeInstance.
func (*InvokeInstanceRequest) Descriptor
deprecated
func (*InvokeInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use InvokeInstanceRequest.ProtoReflect.Descriptor instead.
func (*InvokeInstanceRequest) GetAmount ¶
func (x *InvokeInstanceRequest) GetAmount() *Amount
func (*InvokeInstanceRequest) GetBlockHash ¶
func (x *InvokeInstanceRequest) GetBlockHash() *BlockHashInput
func (*InvokeInstanceRequest) GetEnergy ¶
func (x *InvokeInstanceRequest) GetEnergy() *Energy
func (*InvokeInstanceRequest) GetEntrypoint ¶
func (x *InvokeInstanceRequest) GetEntrypoint() *ReceiveName
func (*InvokeInstanceRequest) GetInstance ¶
func (x *InvokeInstanceRequest) GetInstance() *ContractAddress
func (*InvokeInstanceRequest) GetInvoker ¶
func (x *InvokeInstanceRequest) GetInvoker() *Address
func (*InvokeInstanceRequest) GetParameter ¶
func (x *InvokeInstanceRequest) GetParameter() *Parameter
func (*InvokeInstanceRequest) ProtoMessage ¶
func (*InvokeInstanceRequest) ProtoMessage()
func (*InvokeInstanceRequest) ProtoReflect ¶
func (x *InvokeInstanceRequest) ProtoReflect() protoreflect.Message
func (*InvokeInstanceRequest) Reset ¶
func (x *InvokeInstanceRequest) Reset()
func (*InvokeInstanceRequest) String ¶
func (x *InvokeInstanceRequest) String() string
type InvokeInstanceResponse ¶
type InvokeInstanceResponse struct { // Types that are assignable to Result: // // *InvokeInstanceResponse_Success_ // *InvokeInstanceResponse_Failure_ Result isInvokeInstanceResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
Response type for InvokeInstance.
func (*InvokeInstanceResponse) Descriptor
deprecated
func (*InvokeInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use InvokeInstanceResponse.ProtoReflect.Descriptor instead.
func (*InvokeInstanceResponse) GetFailure ¶
func (x *InvokeInstanceResponse) GetFailure() *InvokeInstanceResponse_Failure
func (*InvokeInstanceResponse) GetResult ¶
func (m *InvokeInstanceResponse) GetResult() isInvokeInstanceResponse_Result
func (*InvokeInstanceResponse) GetSuccess ¶
func (x *InvokeInstanceResponse) GetSuccess() *InvokeInstanceResponse_Success
func (*InvokeInstanceResponse) ProtoMessage ¶
func (*InvokeInstanceResponse) ProtoMessage()
func (*InvokeInstanceResponse) ProtoReflect ¶
func (x *InvokeInstanceResponse) ProtoReflect() protoreflect.Message
func (*InvokeInstanceResponse) Reset ¶
func (x *InvokeInstanceResponse) Reset()
func (*InvokeInstanceResponse) String ¶
func (x *InvokeInstanceResponse) String() string
type InvokeInstanceResponse_Failure ¶
type InvokeInstanceResponse_Failure struct { // If invoking a V0 contract this is not provided, otherwise it is // potentially return value produced by the call unless the call failed with // out of energy or runtime error. If the V1 contract terminated with a // logic error then the return value is present. ReturnValue []byte `protobuf:"bytes,1,opt,name=return_value,json=returnValue,proto3,oneof" json:"return_value,omitempty"` // Energy used by the execution. UsedEnergy *Energy `protobuf:"bytes,2,opt,name=used_energy,json=usedEnergy,proto3" json:"used_energy,omitempty"` // Contract execution failed for the given reason. Reason *RejectReason `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
Contract execution failed.
func (*InvokeInstanceResponse_Failure) Descriptor
deprecated
func (*InvokeInstanceResponse_Failure) Descriptor() ([]byte, []int)
Deprecated: Use InvokeInstanceResponse_Failure.ProtoReflect.Descriptor instead.
func (*InvokeInstanceResponse_Failure) GetReason ¶
func (x *InvokeInstanceResponse_Failure) GetReason() *RejectReason
func (*InvokeInstanceResponse_Failure) GetReturnValue ¶
func (x *InvokeInstanceResponse_Failure) GetReturnValue() []byte
func (*InvokeInstanceResponse_Failure) GetUsedEnergy ¶
func (x *InvokeInstanceResponse_Failure) GetUsedEnergy() *Energy
func (*InvokeInstanceResponse_Failure) ProtoMessage ¶
func (*InvokeInstanceResponse_Failure) ProtoMessage()
func (*InvokeInstanceResponse_Failure) ProtoReflect ¶
func (x *InvokeInstanceResponse_Failure) ProtoReflect() protoreflect.Message
func (*InvokeInstanceResponse_Failure) Reset ¶
func (x *InvokeInstanceResponse_Failure) Reset()
func (*InvokeInstanceResponse_Failure) String ¶
func (x *InvokeInstanceResponse_Failure) String() string
type InvokeInstanceResponse_Failure_ ¶
type InvokeInstanceResponse_Failure_ struct {
Failure *InvokeInstanceResponse_Failure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"`
}
type InvokeInstanceResponse_Success ¶
type InvokeInstanceResponse_Success struct { // If invoking a V0 contract this is absent. Otherwise it is the return // value produced by the contract. ReturnValue []byte `protobuf:"bytes,1,opt,name=return_value,json=returnValue,proto3,oneof" json:"return_value,omitempty"` // Energy used by the execution. UsedEnergy *Energy `protobuf:"bytes,2,opt,name=used_energy,json=usedEnergy,proto3" json:"used_energy,omitempty"` // Effects produced by contract execution. Effects []*ContractTraceElement `protobuf:"bytes,3,rep,name=effects,proto3" json:"effects,omitempty"` // contains filtered or unexported fields }
Contract execution succeeded.
func (*InvokeInstanceResponse_Success) Descriptor
deprecated
func (*InvokeInstanceResponse_Success) Descriptor() ([]byte, []int)
Deprecated: Use InvokeInstanceResponse_Success.ProtoReflect.Descriptor instead.
func (*InvokeInstanceResponse_Success) GetEffects ¶
func (x *InvokeInstanceResponse_Success) GetEffects() []*ContractTraceElement
func (*InvokeInstanceResponse_Success) GetReturnValue ¶
func (x *InvokeInstanceResponse_Success) GetReturnValue() []byte
func (*InvokeInstanceResponse_Success) GetUsedEnergy ¶
func (x *InvokeInstanceResponse_Success) GetUsedEnergy() *Energy
func (*InvokeInstanceResponse_Success) ProtoMessage ¶
func (*InvokeInstanceResponse_Success) ProtoMessage()
func (*InvokeInstanceResponse_Success) ProtoReflect ¶
func (x *InvokeInstanceResponse_Success) ProtoReflect() protoreflect.Message
func (*InvokeInstanceResponse_Success) Reset ¶
func (x *InvokeInstanceResponse_Success) Reset()
func (*InvokeInstanceResponse_Success) String ¶
func (x *InvokeInstanceResponse_Success) String() string
type InvokeInstanceResponse_Success_ ¶
type InvokeInstanceResponse_Success_ struct {
Success *InvokeInstanceResponse_Success `protobuf:"bytes,1,opt,name=success,proto3,oneof"`
}
type IpAddress ¶
type IpAddress struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A request to send a new block item to the chain. An IP address
func (*IpAddress) Descriptor
deprecated
func (*IpAddress) ProtoMessage ¶
func (*IpAddress) ProtoMessage()
func (*IpAddress) ProtoReflect ¶
func (x *IpAddress) ProtoReflect() protoreflect.Message
type IpIdentity ¶
type IpIdentity struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A succinct identifier of an identity provider on the chain. In credential deployments, and other interactions with the chain this is used to identify which identity provider is meant.
func (*IpIdentity) Descriptor
deprecated
func (*IpIdentity) Descriptor() ([]byte, []int)
Deprecated: Use IpIdentity.ProtoReflect.Descriptor instead.
func (*IpIdentity) GetValue ¶
func (x *IpIdentity) GetValue() uint32
func (*IpIdentity) ProtoMessage ¶
func (*IpIdentity) ProtoMessage()
func (*IpIdentity) ProtoReflect ¶
func (x *IpIdentity) ProtoReflect() protoreflect.Message
func (*IpIdentity) Reset ¶
func (x *IpIdentity) Reset()
func (*IpIdentity) String ¶
func (x *IpIdentity) String() string
type IpInfo ¶
type IpInfo struct { // Unique identifier of the identity provider. Identity *IpIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // Description of the identity provider. Description *Description `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Pointcheval-Sanders public key of the identity provider. VerifyKey *IpInfo_IpVerifyKey `protobuf:"bytes,3,opt,name=verify_key,json=verifyKey,proto3" json:"verify_key,omitempty"` // Ed25519 public key of the identity provider. CdiVerifyKey *IpInfo_IpCdiVerifyKey `protobuf:"bytes,4,opt,name=cdi_verify_key,json=cdiVerifyKey,proto3" json:"cdi_verify_key,omitempty"` // contains filtered or unexported fields }
Public information about an identity provider.
func (*IpInfo) Descriptor
deprecated
func (*IpInfo) GetCdiVerifyKey ¶
func (x *IpInfo) GetCdiVerifyKey() *IpInfo_IpCdiVerifyKey
func (*IpInfo) GetDescription ¶
func (x *IpInfo) GetDescription() *Description
func (*IpInfo) GetIdentity ¶
func (x *IpInfo) GetIdentity() *IpIdentity
func (*IpInfo) GetVerifyKey ¶
func (x *IpInfo) GetVerifyKey() *IpInfo_IpVerifyKey
func (*IpInfo) ProtoMessage ¶
func (*IpInfo) ProtoMessage()
func (*IpInfo) ProtoReflect ¶
func (x *IpInfo) ProtoReflect() protoreflect.Message
type IpInfo_IpCdiVerifyKey ¶
type IpInfo_IpCdiVerifyKey struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Ed25519 public key of the identity provider.
func (*IpInfo_IpCdiVerifyKey) Descriptor
deprecated
func (*IpInfo_IpCdiVerifyKey) Descriptor() ([]byte, []int)
Deprecated: Use IpInfo_IpCdiVerifyKey.ProtoReflect.Descriptor instead.
func (*IpInfo_IpCdiVerifyKey) GetValue ¶
func (x *IpInfo_IpCdiVerifyKey) GetValue() []byte
func (*IpInfo_IpCdiVerifyKey) ProtoMessage ¶
func (*IpInfo_IpCdiVerifyKey) ProtoMessage()
func (*IpInfo_IpCdiVerifyKey) ProtoReflect ¶
func (x *IpInfo_IpCdiVerifyKey) ProtoReflect() protoreflect.Message
func (*IpInfo_IpCdiVerifyKey) Reset ¶
func (x *IpInfo_IpCdiVerifyKey) Reset()
func (*IpInfo_IpCdiVerifyKey) String ¶
func (x *IpInfo_IpCdiVerifyKey) String() string
type IpInfo_IpVerifyKey ¶
type IpInfo_IpVerifyKey struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Pointcheval-Sanders public key of the identity provider.
func (*IpInfo_IpVerifyKey) Descriptor
deprecated
func (*IpInfo_IpVerifyKey) Descriptor() ([]byte, []int)
Deprecated: Use IpInfo_IpVerifyKey.ProtoReflect.Descriptor instead.
func (*IpInfo_IpVerifyKey) GetValue ¶
func (x *IpInfo_IpVerifyKey) GetValue() []byte
func (*IpInfo_IpVerifyKey) ProtoMessage ¶
func (*IpInfo_IpVerifyKey) ProtoMessage()
func (*IpInfo_IpVerifyKey) ProtoReflect ¶
func (x *IpInfo_IpVerifyKey) ProtoReflect() protoreflect.Message
func (*IpInfo_IpVerifyKey) Reset ¶
func (x *IpInfo_IpVerifyKey) Reset()
func (*IpInfo_IpVerifyKey) String ¶
func (x *IpInfo_IpVerifyKey) String() string
type IpSocketAddress ¶
type IpSocketAddress struct { Ip *IpAddress `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Port *Port `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
A socket address consisting of an IP + port.
func (*IpSocketAddress) Descriptor
deprecated
func (*IpSocketAddress) Descriptor() ([]byte, []int)
Deprecated: Use IpSocketAddress.ProtoReflect.Descriptor instead.
func (*IpSocketAddress) GetIp ¶
func (x *IpSocketAddress) GetIp() *IpAddress
func (*IpSocketAddress) GetPort ¶
func (x *IpSocketAddress) GetPort() *Port
func (*IpSocketAddress) ProtoMessage ¶
func (*IpSocketAddress) ProtoMessage()
func (*IpSocketAddress) ProtoReflect ¶
func (x *IpSocketAddress) ProtoReflect() protoreflect.Message
func (*IpSocketAddress) Reset ¶
func (x *IpSocketAddress) Reset()
func (*IpSocketAddress) String ¶
func (x *IpSocketAddress) String() string
type LeadershipElectionNonce ¶
type LeadershipElectionNonce struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The leadership election nonce is an unpredictable value updated once an epoch to make sure that bakers cannot predict too far in the future when they will win the right to bake blocks.
func (*LeadershipElectionNonce) Descriptor
deprecated
func (*LeadershipElectionNonce) Descriptor() ([]byte, []int)
Deprecated: Use LeadershipElectionNonce.ProtoReflect.Descriptor instead.
func (*LeadershipElectionNonce) GetValue ¶
func (x *LeadershipElectionNonce) GetValue() []byte
func (*LeadershipElectionNonce) ProtoMessage ¶
func (*LeadershipElectionNonce) ProtoMessage()
func (*LeadershipElectionNonce) ProtoReflect ¶
func (x *LeadershipElectionNonce) ProtoReflect() protoreflect.Message
func (*LeadershipElectionNonce) Reset ¶
func (x *LeadershipElectionNonce) Reset()
func (*LeadershipElectionNonce) String ¶
func (x *LeadershipElectionNonce) String() string
type Level1Update ¶
type Level1Update struct { // Types that are assignable to UpdateType: // // *Level1Update_Level_1KeysUpdate // *Level1Update_Level_2KeysUpdateV0 // *Level1Update_Level_2KeysUpdateV1 UpdateType isLevel1Update_UpdateType `protobuf_oneof:"update_type"` // contains filtered or unexported fields }
Level 1 updates are the intermediate update kind. They can update themselves or level 2 keys. They can only be performed by level 1 keys.
func (*Level1Update) Descriptor
deprecated
func (*Level1Update) Descriptor() ([]byte, []int)
Deprecated: Use Level1Update.ProtoReflect.Descriptor instead.
func (*Level1Update) GetLevel_1KeysUpdate ¶
func (x *Level1Update) GetLevel_1KeysUpdate() *HigherLevelKeys
func (*Level1Update) GetLevel_2KeysUpdateV0 ¶
func (x *Level1Update) GetLevel_2KeysUpdateV0() *AuthorizationsV0
func (*Level1Update) GetLevel_2KeysUpdateV1 ¶
func (x *Level1Update) GetLevel_2KeysUpdateV1() *AuthorizationsV1
func (*Level1Update) GetUpdateType ¶
func (m *Level1Update) GetUpdateType() isLevel1Update_UpdateType
func (*Level1Update) ProtoMessage ¶
func (*Level1Update) ProtoMessage()
func (*Level1Update) ProtoReflect ¶
func (x *Level1Update) ProtoReflect() protoreflect.Message
func (*Level1Update) Reset ¶
func (x *Level1Update) Reset()
func (*Level1Update) String ¶
func (x *Level1Update) String() string
type Level1Update_Level_1KeysUpdate ¶
type Level1Update_Level_1KeysUpdate struct { // The level 1 keys were updated. Level_1KeysUpdate *HigherLevelKeys `protobuf:"bytes,1,opt,name=level_1_keys_update,json=level1KeysUpdate,proto3,oneof"` }
type Level1Update_Level_2KeysUpdateV0 ¶
type Level1Update_Level_2KeysUpdateV0 struct { // The level 2 keys were updated. Level_2KeysUpdateV0 *AuthorizationsV0 `protobuf:"bytes,2,opt,name=level_2_keys_update_v0,json=level2KeysUpdateV0,proto3,oneof"` }
type Level1Update_Level_2KeysUpdateV1 ¶
type Level1Update_Level_2KeysUpdateV1 struct { // The level 2 keys were updated. This is similar to `level_2_keys_update_v0` except that a few more keys can be updated. Level_2KeysUpdateV1 *AuthorizationsV1 `protobuf:"bytes,3,opt,name=level_2_keys_update_v1,json=level2KeysUpdateV1,proto3,oneof"` }
type LeverageFactor ¶
type LeverageFactor struct { Value *Ratio `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A leverage factor.
func (*LeverageFactor) Descriptor
deprecated
func (*LeverageFactor) Descriptor() ([]byte, []int)
Deprecated: Use LeverageFactor.ProtoReflect.Descriptor instead.
func (*LeverageFactor) GetValue ¶
func (x *LeverageFactor) GetValue() *Ratio
func (*LeverageFactor) ProtoMessage ¶
func (*LeverageFactor) ProtoMessage()
func (*LeverageFactor) ProtoReflect ¶
func (x *LeverageFactor) ProtoReflect() protoreflect.Message
func (*LeverageFactor) Reset ¶
func (x *LeverageFactor) Reset()
func (*LeverageFactor) String ¶
func (x *LeverageFactor) String() string
type Memo ¶
type Memo struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A memo which can be included as part of a transfer. Max size is 256 bytes.
func (*Memo) Descriptor
deprecated
func (*Memo) ProtoMessage ¶
func (*Memo) ProtoMessage()
func (*Memo) ProtoReflect ¶
func (x *Memo) ProtoReflect() protoreflect.Message
type MintDistributionCpv0 ¶
type MintDistributionCpv0 struct { // Mint rate per slot. MintPerSlot *MintRate `protobuf:"bytes,1,opt,name=mint_per_slot,json=mintPerSlot,proto3" json:"mint_per_slot,omitempty"` // The fraction of newly created CCD allocated to baker rewards. BakingReward *AmountFraction `protobuf:"bytes,2,opt,name=baking_reward,json=bakingReward,proto3" json:"baking_reward,omitempty"` // The fraction of newly created CCD allocated to finalization rewards. FinalizationReward *AmountFraction `protobuf:"bytes,3,opt,name=finalization_reward,json=finalizationReward,proto3" json:"finalization_reward,omitempty"` // contains filtered or unexported fields }
The minting rate and the distribution of newly-minted CCD among bakers, finalizers, and the foundation account. It must be the case that baking_reward + finalization_reward <= 1. The remaining amount is the platform development charge.
func (*MintDistributionCpv0) Descriptor
deprecated
func (*MintDistributionCpv0) Descriptor() ([]byte, []int)
Deprecated: Use MintDistributionCpv0.ProtoReflect.Descriptor instead.
func (*MintDistributionCpv0) GetBakingReward ¶
func (x *MintDistributionCpv0) GetBakingReward() *AmountFraction
func (*MintDistributionCpv0) GetFinalizationReward ¶
func (x *MintDistributionCpv0) GetFinalizationReward() *AmountFraction
func (*MintDistributionCpv0) GetMintPerSlot ¶
func (x *MintDistributionCpv0) GetMintPerSlot() *MintRate
func (*MintDistributionCpv0) ProtoMessage ¶
func (*MintDistributionCpv0) ProtoMessage()
func (*MintDistributionCpv0) ProtoReflect ¶
func (x *MintDistributionCpv0) ProtoReflect() protoreflect.Message
func (*MintDistributionCpv0) Reset ¶
func (x *MintDistributionCpv0) Reset()
func (*MintDistributionCpv0) String ¶
func (x *MintDistributionCpv0) String() string
type MintDistributionCpv1 ¶
type MintDistributionCpv1 struct { BakingReward *AmountFraction `protobuf:"bytes,1,opt,name=baking_reward,json=bakingReward,proto3" json:"baking_reward,omitempty"` FinalizationReward *AmountFraction `protobuf:"bytes,2,opt,name=finalization_reward,json=finalizationReward,proto3" json:"finalization_reward,omitempty"` // contains filtered or unexported fields }
Mint distribution payload as it looks in protocol version 4 and onward.
func (*MintDistributionCpv1) Descriptor
deprecated
func (*MintDistributionCpv1) Descriptor() ([]byte, []int)
Deprecated: Use MintDistributionCpv1.ProtoReflect.Descriptor instead.
func (*MintDistributionCpv1) GetBakingReward ¶
func (x *MintDistributionCpv1) GetBakingReward() *AmountFraction
func (*MintDistributionCpv1) GetFinalizationReward ¶
func (x *MintDistributionCpv1) GetFinalizationReward() *AmountFraction
func (*MintDistributionCpv1) ProtoMessage ¶
func (*MintDistributionCpv1) ProtoMessage()
func (*MintDistributionCpv1) ProtoReflect ¶
func (x *MintDistributionCpv1) ProtoReflect() protoreflect.Message
func (*MintDistributionCpv1) Reset ¶
func (x *MintDistributionCpv1) Reset()
func (*MintDistributionCpv1) String ¶
func (x *MintDistributionCpv1) String() string
type MintRate ¶
type MintRate struct { Mantissa uint32 `protobuf:"varint,1,opt,name=mantissa,proto3" json:"mantissa,omitempty"` // This will never exceed 255 and can thus be stored in a single byte. Exponent uint32 `protobuf:"varint,2,opt,name=exponent,proto3" json:"exponent,omitempty"` // contains filtered or unexported fields }
A minting rate of CCD. The value is `mantissa * 10^(-exponent)`.
func (*MintRate) Descriptor
deprecated
func (*MintRate) GetExponent ¶
func (*MintRate) GetMantissa ¶
func (*MintRate) ProtoMessage ¶
func (*MintRate) ProtoMessage()
func (*MintRate) ProtoReflect ¶
func (x *MintRate) ProtoReflect() protoreflect.Message
type ModuleRef ¶
type ModuleRef struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A smart contract module reference. This is always 32 bytes long.
func (*ModuleRef) Descriptor
deprecated
func (*ModuleRef) ProtoMessage ¶
func (*ModuleRef) ProtoMessage()
func (*ModuleRef) ProtoReflect ¶
func (x *ModuleRef) ProtoReflect() protoreflect.Message
type ModuleSourceRequest ¶
type ModuleSourceRequest struct { // The block to be used for the query. BlockHash *BlockHashInput `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The reference of the module. ModuleRef *ModuleRef `protobuf:"bytes,2,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"` // contains filtered or unexported fields }
Request for getting the source of a smart contract module.
func (*ModuleSourceRequest) Descriptor
deprecated
func (*ModuleSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModuleSourceRequest.ProtoReflect.Descriptor instead.
func (*ModuleSourceRequest) GetBlockHash ¶
func (x *ModuleSourceRequest) GetBlockHash() *BlockHashInput
func (*ModuleSourceRequest) GetModuleRef ¶
func (x *ModuleSourceRequest) GetModuleRef() *ModuleRef
func (*ModuleSourceRequest) ProtoMessage ¶
func (*ModuleSourceRequest) ProtoMessage()
func (*ModuleSourceRequest) ProtoReflect ¶
func (x *ModuleSourceRequest) ProtoReflect() protoreflect.Message
func (*ModuleSourceRequest) Reset ¶
func (x *ModuleSourceRequest) Reset()
func (*ModuleSourceRequest) String ¶
func (x *ModuleSourceRequest) String() string
type NewEncryptedAmountEvent ¶
type NewEncryptedAmountEvent struct { // The account onto which the amount was added. Receiver *AccountAddress `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"` // The index the amount was assigned. NewIndex uint64 `protobuf:"varint,2,opt,name=new_index,json=newIndex,proto3" json:"new_index,omitempty"` // The encrypted amount that was added. EncryptedAmount *EncryptedAmount `protobuf:"bytes,3,opt,name=encrypted_amount,json=encryptedAmount,proto3" json:"encrypted_amount,omitempty"` // contains filtered or unexported fields }
Event generated when an account receives a new encrypted amount.
func (*NewEncryptedAmountEvent) Descriptor
deprecated
func (*NewEncryptedAmountEvent) Descriptor() ([]byte, []int)
Deprecated: Use NewEncryptedAmountEvent.ProtoReflect.Descriptor instead.
func (*NewEncryptedAmountEvent) GetEncryptedAmount ¶
func (x *NewEncryptedAmountEvent) GetEncryptedAmount() *EncryptedAmount
func (*NewEncryptedAmountEvent) GetNewIndex ¶
func (x *NewEncryptedAmountEvent) GetNewIndex() uint64
func (*NewEncryptedAmountEvent) GetReceiver ¶
func (x *NewEncryptedAmountEvent) GetReceiver() *AccountAddress
func (*NewEncryptedAmountEvent) ProtoMessage ¶
func (*NewEncryptedAmountEvent) ProtoMessage()
func (*NewEncryptedAmountEvent) ProtoReflect ¶
func (x *NewEncryptedAmountEvent) ProtoReflect() protoreflect.Message
func (*NewEncryptedAmountEvent) Reset ¶
func (x *NewEncryptedAmountEvent) Reset()
func (*NewEncryptedAmountEvent) String ¶
func (x *NewEncryptedAmountEvent) String() string
type NewRelease ¶
type NewRelease struct { // Effective time of the release in milliseconds since unix epoch. Timestamp *Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Amount to be released. Amount *Amount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
A new individual release. Part of a single transfer with schedule transaction.
func (*NewRelease) Descriptor
deprecated
func (*NewRelease) Descriptor() ([]byte, []int)
Deprecated: Use NewRelease.ProtoReflect.Descriptor instead.
func (*NewRelease) GetAmount ¶
func (x *NewRelease) GetAmount() *Amount
func (*NewRelease) GetTimestamp ¶
func (x *NewRelease) GetTimestamp() *Timestamp
func (*NewRelease) ProtoMessage ¶
func (*NewRelease) ProtoMessage()
func (*NewRelease) ProtoReflect ¶
func (x *NewRelease) ProtoReflect() protoreflect.Message
func (*NewRelease) Reset ¶
func (x *NewRelease) Reset()
func (*NewRelease) String ¶
func (x *NewRelease) String() string
type NextAccountSequenceNumber ¶
type NextAccountSequenceNumber struct { // The best guess for the available account sequence number. SequenceNumber *SequenceNumber `protobuf:"bytes,1,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // Whether the guess relies on any non-finalized transactions. If true all of the relevant transactions are finalized. AllFinal bool `protobuf:"varint,2,opt,name=all_final,json=allFinal,proto3" json:"all_final,omitempty"` // contains filtered or unexported fields }
The response for getNextAccountSequenceNumber.
func (*NextAccountSequenceNumber) Descriptor
deprecated
func (*NextAccountSequenceNumber) Descriptor() ([]byte, []int)
Deprecated: Use NextAccountSequenceNumber.ProtoReflect.Descriptor instead.
func (*NextAccountSequenceNumber) GetAllFinal ¶
func (x *NextAccountSequenceNumber) GetAllFinal() bool
func (*NextAccountSequenceNumber) GetSequenceNumber ¶
func (x *NextAccountSequenceNumber) GetSequenceNumber() *SequenceNumber
func (*NextAccountSequenceNumber) ProtoMessage ¶
func (*NextAccountSequenceNumber) ProtoMessage()
func (*NextAccountSequenceNumber) ProtoReflect ¶
func (x *NextAccountSequenceNumber) ProtoReflect() protoreflect.Message
func (*NextAccountSequenceNumber) Reset ¶
func (x *NextAccountSequenceNumber) Reset()
func (*NextAccountSequenceNumber) String ¶
func (x *NextAccountSequenceNumber) String() string
type NextUpdateSequenceNumbers ¶
type NextUpdateSequenceNumbers struct { // Updates to the root keys. RootKeys *SequenceNumber `protobuf:"bytes,1,opt,name=root_keys,json=rootKeys,proto3" json:"root_keys,omitempty"` // Updates to the level 1 keys. Level1Keys *SequenceNumber `protobuf:"bytes,2,opt,name=level1_keys,json=level1Keys,proto3" json:"level1_keys,omitempty"` // Updates to the level 2 keys. Level2Keys *SequenceNumber `protobuf:"bytes,3,opt,name=level2_keys,json=level2Keys,proto3" json:"level2_keys,omitempty"` // Protocol updates. Protocol *SequenceNumber `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"` // Updates to the election difficulty parameter. ElectionDifficulty *SequenceNumber `protobuf:"bytes,5,opt,name=election_difficulty,json=electionDifficulty,proto3" json:"election_difficulty,omitempty"` // Updates to the euro:energy exchange rate. EuroPerEnergy *SequenceNumber `protobuf:"bytes,6,opt,name=euro_per_energy,json=euroPerEnergy,proto3" json:"euro_per_energy,omitempty"` // Updates to the CCD:EUR exchange rate. MicroCcdPerEuro *SequenceNumber `protobuf:"bytes,7,opt,name=micro_ccd_per_euro,json=microCcdPerEuro,proto3" json:"micro_ccd_per_euro,omitempty"` // Updates to the foundation account. FoundationAccount *SequenceNumber `protobuf:"bytes,8,opt,name=foundation_account,json=foundationAccount,proto3" json:"foundation_account,omitempty"` // Updates to the mint distribution. MintDistribution *SequenceNumber `protobuf:"bytes,9,opt,name=mint_distribution,json=mintDistribution,proto3" json:"mint_distribution,omitempty"` // Updates to the transaction fee distribution. TransactionFeeDistribution *SequenceNumber `` /* 142-byte string literal not displayed */ // Updates to the GAS rewards. GasRewards *SequenceNumber `protobuf:"bytes,11,opt,name=gas_rewards,json=gasRewards,proto3" json:"gas_rewards,omitempty"` // Updates pool parameters. PoolParameters *SequenceNumber `protobuf:"bytes,12,opt,name=pool_parameters,json=poolParameters,proto3" json:"pool_parameters,omitempty"` // Adds a new anonymity revoker. AddAnonymityRevoker *SequenceNumber `protobuf:"bytes,13,opt,name=add_anonymity_revoker,json=addAnonymityRevoker,proto3" json:"add_anonymity_revoker,omitempty"` // Adds a new identity provider. AddIdentityProvider *SequenceNumber `protobuf:"bytes,14,opt,name=add_identity_provider,json=addIdentityProvider,proto3" json:"add_identity_provider,omitempty"` // Updates to cooldown parameters for chain parameters version 1 introduced in protocol version 4. CooldownParameters *SequenceNumber `protobuf:"bytes,15,opt,name=cooldown_parameters,json=cooldownParameters,proto3" json:"cooldown_parameters,omitempty"` // Updates to time parameters for chain parameters version 1 introduced in protocol version 4. TimeParameters *SequenceNumber `protobuf:"bytes,16,opt,name=time_parameters,json=timeParameters,proto3" json:"time_parameters,omitempty"` // Updates to the timeout parameters TimeoutParameters *SequenceNumber `protobuf:"bytes,17,opt,name=timeout_parameters,json=timeoutParameters,proto3" json:"timeout_parameters,omitempty"` // Updates to the the minimum time between blocks for chain parameters version 2. MinBlockTime *SequenceNumber `protobuf:"bytes,18,opt,name=min_block_time,json=minBlockTime,proto3" json:"min_block_time,omitempty"` // Updates to the block energy limit for chain parameters version 2. BlockEnergyLimit *SequenceNumber `protobuf:"bytes,19,opt,name=block_energy_limit,json=blockEnergyLimit,proto3" json:"block_energy_limit,omitempty"` // Updates to the finalization committee parameters FinalizationCommitteeParameters *SequenceNumber `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
The response for `GetNextUpdateSequenceNumbers`.
func (*NextUpdateSequenceNumbers) Descriptor
deprecated
func (*NextUpdateSequenceNumbers) Descriptor() ([]byte, []int)
Deprecated: Use NextUpdateSequenceNumbers.ProtoReflect.Descriptor instead.
func (*NextUpdateSequenceNumbers) GetAddAnonymityRevoker ¶
func (x *NextUpdateSequenceNumbers) GetAddAnonymityRevoker() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetAddIdentityProvider ¶
func (x *NextUpdateSequenceNumbers) GetAddIdentityProvider() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetBlockEnergyLimit ¶
func (x *NextUpdateSequenceNumbers) GetBlockEnergyLimit() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetCooldownParameters ¶
func (x *NextUpdateSequenceNumbers) GetCooldownParameters() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetElectionDifficulty ¶
func (x *NextUpdateSequenceNumbers) GetElectionDifficulty() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetEuroPerEnergy ¶
func (x *NextUpdateSequenceNumbers) GetEuroPerEnergy() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetFinalizationCommitteeParameters ¶
func (x *NextUpdateSequenceNumbers) GetFinalizationCommitteeParameters() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetFoundationAccount ¶
func (x *NextUpdateSequenceNumbers) GetFoundationAccount() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetGasRewards ¶
func (x *NextUpdateSequenceNumbers) GetGasRewards() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetLevel1Keys ¶
func (x *NextUpdateSequenceNumbers) GetLevel1Keys() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetLevel2Keys ¶
func (x *NextUpdateSequenceNumbers) GetLevel2Keys() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetMicroCcdPerEuro ¶
func (x *NextUpdateSequenceNumbers) GetMicroCcdPerEuro() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetMinBlockTime ¶
func (x *NextUpdateSequenceNumbers) GetMinBlockTime() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetMintDistribution ¶
func (x *NextUpdateSequenceNumbers) GetMintDistribution() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetPoolParameters ¶
func (x *NextUpdateSequenceNumbers) GetPoolParameters() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetProtocol ¶
func (x *NextUpdateSequenceNumbers) GetProtocol() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetRootKeys ¶
func (x *NextUpdateSequenceNumbers) GetRootKeys() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetTimeParameters ¶
func (x *NextUpdateSequenceNumbers) GetTimeParameters() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetTimeoutParameters ¶
func (x *NextUpdateSequenceNumbers) GetTimeoutParameters() *SequenceNumber
func (*NextUpdateSequenceNumbers) GetTransactionFeeDistribution ¶
func (x *NextUpdateSequenceNumbers) GetTransactionFeeDistribution() *SequenceNumber
func (*NextUpdateSequenceNumbers) ProtoMessage ¶
func (*NextUpdateSequenceNumbers) ProtoMessage()
func (*NextUpdateSequenceNumbers) ProtoReflect ¶
func (x *NextUpdateSequenceNumbers) ProtoReflect() protoreflect.Message
func (*NextUpdateSequenceNumbers) Reset ¶
func (x *NextUpdateSequenceNumbers) Reset()
func (*NextUpdateSequenceNumbers) String ¶
func (x *NextUpdateSequenceNumbers) String() string
type NodeHealthRequest ¶
type NodeHealthRequest struct {
// contains filtered or unexported fields
}
Parameters to the node health query. The default message gives a good default.
func (*NodeHealthRequest) Descriptor
deprecated
func (*NodeHealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeHealthRequest.ProtoReflect.Descriptor instead.
func (*NodeHealthRequest) ProtoMessage ¶
func (*NodeHealthRequest) ProtoMessage()
func (*NodeHealthRequest) ProtoReflect ¶
func (x *NodeHealthRequest) ProtoReflect() protoreflect.Message
func (*NodeHealthRequest) Reset ¶
func (x *NodeHealthRequest) Reset()
func (*NodeHealthRequest) String ¶
func (x *NodeHealthRequest) String() string
type NodeHealthResponse ¶
type NodeHealthResponse struct {
// contains filtered or unexported fields
}
Response to the health check. A return code of "OK" is used for success, and errors are handled via RPC status codes
func (*NodeHealthResponse) Descriptor
deprecated
func (*NodeHealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeHealthResponse.ProtoReflect.Descriptor instead.
func (*NodeHealthResponse) ProtoMessage ¶
func (*NodeHealthResponse) ProtoMessage()
func (*NodeHealthResponse) ProtoReflect ¶
func (x *NodeHealthResponse) ProtoReflect() protoreflect.Message
func (*NodeHealthResponse) Reset ¶
func (x *NodeHealthResponse) Reset()
func (*NodeHealthResponse) String ¶
func (x *NodeHealthResponse) String() string
type NodeInfo ¶
type NodeInfo struct { // The version of the node. PeerVersion string `protobuf:"bytes,1,opt,name=peer_version,json=peerVersion,proto3" json:"peer_version,omitempty"` // local time of the node. LocalTime *Timestamp `protobuf:"bytes,3,opt,name=local_time,json=localTime,proto3" json:"local_time,omitempty"` // Number of milliseconds that the node // has been alive. PeerUptime *Duration `protobuf:"bytes,4,opt,name=peer_uptime,json=peerUptime,proto3" json:"peer_uptime,omitempty"` // Information related to the p2p protocol. NetworkInfo *NodeInfo_NetworkInfo `protobuf:"bytes,5,opt,name=network_info,json=networkInfo,proto3" json:"network_info,omitempty"` // Details of the node. // // Types that are assignable to Details: // // *NodeInfo_Bootstrapper // *NodeInfo_Node_ Details isNodeInfo_Details `protobuf_oneof:"details"` // contains filtered or unexported fields }
Node info response Contains various information of the enquired node.
func (*NodeInfo) Descriptor
deprecated
func (*NodeInfo) GetBootstrapper ¶
func (*NodeInfo) GetDetails ¶
func (m *NodeInfo) GetDetails() isNodeInfo_Details
func (*NodeInfo) GetLocalTime ¶
func (*NodeInfo) GetNetworkInfo ¶
func (x *NodeInfo) GetNetworkInfo() *NodeInfo_NetworkInfo
func (*NodeInfo) GetNode ¶
func (x *NodeInfo) GetNode() *NodeInfo_Node
func (*NodeInfo) GetPeerUptime ¶
func (*NodeInfo) GetPeerVersion ¶
func (*NodeInfo) ProtoMessage ¶
func (*NodeInfo) ProtoMessage()
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NodeInfo_BakerConsensusInfo ¶
type NodeInfo_BakerConsensusInfo struct { BakerId *BakerId `protobuf:"bytes,1,opt,name=baker_id,json=bakerId,proto3" json:"baker_id,omitempty"` // Status of the baker configured node. // // Types that are assignable to Status: // // *NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo_ // *NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo_ // *NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo_ Status isNodeInfo_BakerConsensusInfo_Status `protobuf_oneof:"status"` // contains filtered or unexported fields }
Consensus info for a node configured with baker keys.
func (*NodeInfo_BakerConsensusInfo) Descriptor
deprecated
func (*NodeInfo_BakerConsensusInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_BakerConsensusInfo.ProtoReflect.Descriptor instead.
func (*NodeInfo_BakerConsensusInfo) GetActiveBakerCommitteeInfo ¶
func (x *NodeInfo_BakerConsensusInfo) GetActiveBakerCommitteeInfo() *NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo
func (*NodeInfo_BakerConsensusInfo) GetActiveFinalizerCommitteeInfo ¶
func (x *NodeInfo_BakerConsensusInfo) GetActiveFinalizerCommitteeInfo() *NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo
func (*NodeInfo_BakerConsensusInfo) GetBakerId ¶
func (x *NodeInfo_BakerConsensusInfo) GetBakerId() *BakerId
func (*NodeInfo_BakerConsensusInfo) GetPassiveCommitteeInfo ¶
func (x *NodeInfo_BakerConsensusInfo) GetPassiveCommitteeInfo() NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo
func (*NodeInfo_BakerConsensusInfo) GetStatus ¶
func (m *NodeInfo_BakerConsensusInfo) GetStatus() isNodeInfo_BakerConsensusInfo_Status
func (*NodeInfo_BakerConsensusInfo) ProtoMessage ¶
func (*NodeInfo_BakerConsensusInfo) ProtoMessage()
func (*NodeInfo_BakerConsensusInfo) ProtoReflect ¶
func (x *NodeInfo_BakerConsensusInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_BakerConsensusInfo) Reset ¶
func (x *NodeInfo_BakerConsensusInfo) Reset()
func (*NodeInfo_BakerConsensusInfo) String ¶
func (x *NodeInfo_BakerConsensusInfo) String() string
type NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo ¶
type NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo struct {
// contains filtered or unexported fields
}
Tagging message type for a node that is configured with baker keys and active in the current baking committee
func (*NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) Descriptor
deprecated
func (*NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo.ProtoReflect.Descriptor instead.
func (*NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) ProtoMessage ¶
func (*NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) ProtoMessage()
func (*NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) ProtoReflect ¶
func (x *NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) Reset ¶
func (x *NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) Reset()
func (*NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) String ¶
func (x *NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo) String() string
type NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo_ ¶
type NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo_ struct { // The node is configured with baker keys and // is member of the baking committee. ActiveBakerCommitteeInfo *NodeInfo_BakerConsensusInfo_ActiveBakerCommitteeInfo `protobuf:"bytes,3,opt,name=active_baker_committee_info,json=activeBakerCommitteeInfo,proto3,oneof"` }
type NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo ¶
type NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo struct {
// contains filtered or unexported fields
}
Tagging message type for a node that is configured with baker keys and active in the current finalizer committee (and also baking committee).
func (*NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) Descriptor
deprecated
func (*NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo.ProtoReflect.Descriptor instead.
func (*NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) ProtoMessage ¶
func (*NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) ProtoMessage()
func (*NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) ProtoReflect ¶
func (x *NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) Reset ¶
func (x *NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) Reset()
func (*NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) String ¶
func (x *NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo) String() string
type NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo_ ¶
type NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo_ struct { // The node is configured with baker keys and // is member of the baking and finalization committees. ActiveFinalizerCommitteeInfo *NodeInfo_BakerConsensusInfo_ActiveFinalizerCommitteeInfo `protobuf:"bytes,4,opt,name=active_finalizer_committee_info,json=activeFinalizerCommitteeInfo,proto3,oneof"` }
type NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo ¶
type NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo int32
The committee information of a node configured with baker keys but somehow the node is _not_ part of the current baking committee.
const ( // The node is started with baker keys however it is currently not in the baking committee. // The node is __not__ baking. NodeInfo_BakerConsensusInfo_NOT_IN_COMMITTEE NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo = 0 // The account is registered as a baker but not in the current `Epoch`. // The node is __not__ baking. NodeInfo_BakerConsensusInfo_ADDED_BUT_NOT_ACTIVE_IN_COMMITTEE NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo = 1 // The node has configured invalid baker keys i.e., the configured // baker keys do not match the current keys on the baker account. // The node is __not__ baking. NodeInfo_BakerConsensusInfo_ADDED_BUT_WRONG_KEYS NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo = 2 )
func (NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) Descriptor ¶
func (NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) Descriptor() protoreflect.EnumDescriptor
func (NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) EnumDescriptor
deprecated
func (NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo.Descriptor instead.
func (NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) Number ¶
func (x NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) Number() protoreflect.EnumNumber
func (NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) String ¶
func (x NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo) String() string
type NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo_ ¶
type NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo_ struct { // The node is currently not baking. PassiveCommitteeInfo NodeInfo_BakerConsensusInfo_PassiveCommitteeInfo `` /* 158-byte string literal not displayed */ }
type NodeInfo_Bootstrapper ¶
type NodeInfo_Bootstrapper struct { // The node is a bootstrapper and is not running consensus. Bootstrapper *Empty `protobuf:"bytes,6,opt,name=bootstrapper,proto3,oneof"` }
type NodeInfo_NetworkInfo ¶
type NodeInfo_NetworkInfo struct { // The node id. NodeId *PeerId `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Total number of packets sent by the node. PeerTotalSent uint64 `protobuf:"varint,2,opt,name=peer_total_sent,json=peerTotalSent,proto3" json:"peer_total_sent,omitempty"` // Total number of packets received by the node. PeerTotalReceived uint64 `protobuf:"varint,3,opt,name=peer_total_received,json=peerTotalReceived,proto3" json:"peer_total_received,omitempty"` // Average outbound throughput in bytes per second. AvgBpsIn uint64 `protobuf:"varint,4,opt,name=avg_bps_in,json=avgBpsIn,proto3" json:"avg_bps_in,omitempty"` // Average inbound throughput in bytes per second. AvgBpsOut uint64 `protobuf:"varint,5,opt,name=avg_bps_out,json=avgBpsOut,proto3" json:"avg_bps_out,omitempty"` // contains filtered or unexported fields }
Network related information of the node.
func (*NodeInfo_NetworkInfo) Descriptor
deprecated
func (*NodeInfo_NetworkInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_NetworkInfo.ProtoReflect.Descriptor instead.
func (*NodeInfo_NetworkInfo) GetAvgBpsIn ¶
func (x *NodeInfo_NetworkInfo) GetAvgBpsIn() uint64
func (*NodeInfo_NetworkInfo) GetAvgBpsOut ¶
func (x *NodeInfo_NetworkInfo) GetAvgBpsOut() uint64
func (*NodeInfo_NetworkInfo) GetNodeId ¶
func (x *NodeInfo_NetworkInfo) GetNodeId() *PeerId
func (*NodeInfo_NetworkInfo) GetPeerTotalReceived ¶
func (x *NodeInfo_NetworkInfo) GetPeerTotalReceived() uint64
func (*NodeInfo_NetworkInfo) GetPeerTotalSent ¶
func (x *NodeInfo_NetworkInfo) GetPeerTotalSent() uint64
func (*NodeInfo_NetworkInfo) ProtoMessage ¶
func (*NodeInfo_NetworkInfo) ProtoMessage()
func (*NodeInfo_NetworkInfo) ProtoReflect ¶
func (x *NodeInfo_NetworkInfo) ProtoReflect() protoreflect.Message
func (*NodeInfo_NetworkInfo) Reset ¶
func (x *NodeInfo_NetworkInfo) Reset()
func (*NodeInfo_NetworkInfo) String ¶
func (x *NodeInfo_NetworkInfo) String() string
type NodeInfo_Node ¶
type NodeInfo_Node struct { // Types that are assignable to ConsensusStatus: // // *NodeInfo_Node_NotRunning // *NodeInfo_Node_Passive // *NodeInfo_Node_Active ConsensusStatus isNodeInfo_Node_ConsensusStatus `protobuf_oneof:"consensus_status"` // contains filtered or unexported fields }
The node is a regular node.
func (*NodeInfo_Node) Descriptor
deprecated
func (*NodeInfo_Node) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfo_Node.ProtoReflect.Descriptor instead.
func (*NodeInfo_Node) GetActive ¶
func (x *NodeInfo_Node) GetActive() *NodeInfo_BakerConsensusInfo
func (*NodeInfo_Node) GetConsensusStatus ¶
func (m *NodeInfo_Node) GetConsensusStatus() isNodeInfo_Node_ConsensusStatus
func (*NodeInfo_Node) GetNotRunning ¶
func (x *NodeInfo_Node) GetNotRunning() *Empty
func (*NodeInfo_Node) GetPassive ¶
func (x *NodeInfo_Node) GetPassive() *Empty
func (*NodeInfo_Node) ProtoMessage ¶
func (*NodeInfo_Node) ProtoMessage()
func (*NodeInfo_Node) ProtoReflect ¶
func (x *NodeInfo_Node) ProtoReflect() protoreflect.Message
func (*NodeInfo_Node) Reset ¶
func (x *NodeInfo_Node) Reset()
func (*NodeInfo_Node) String ¶
func (x *NodeInfo_Node) String() string
type NodeInfo_Node_ ¶
type NodeInfo_Node_ struct { // The node is a regular node and runs the consensus // protocol. Node *NodeInfo_Node `protobuf:"bytes,7,opt,name=node,proto3,oneof"` }
type NodeInfo_Node_Active ¶
type NodeInfo_Node_Active struct { // The node is configured with baker credentials and consensus is running. Active *NodeInfo_BakerConsensusInfo `protobuf:"bytes,3,opt,name=active,proto3,oneof"` }
type NodeInfo_Node_NotRunning ¶
type NodeInfo_Node_NotRunning struct { // The node is not running consensus. // This is the case only when the node is // not supporting the protocol on the chain. // The node does not process blocks. NotRunning *Empty `protobuf:"bytes,1,opt,name=not_running,json=notRunning,proto3,oneof"` }
type NodeInfo_Node_Passive ¶
type NodeInfo_Node_Passive struct { // Consensus info for a node that is // not configured with baker keys. // The node is only processing blocks and // relaying blocks and transactions and responding to // catchup messages. Passive *Empty `protobuf:"bytes,2,opt,name=passive,proto3,oneof"` }
type NormalCredentialValues ¶
type NormalCredentialValues struct { // Public keys of the credential. Keys *CredentialPublicKeys `protobuf:"bytes,1,opt,name=keys,proto3" json:"keys,omitempty"` // Its registration ID. CredId *CredentialRegistrationId `protobuf:"bytes,2,opt,name=cred_id,json=credId,proto3" json:"cred_id,omitempty"` // The identity provider who signed the identity object from which this // credential is derived. IpId *IdentityProviderIdentity `protobuf:"bytes,3,opt,name=ip_id,json=ipId,proto3" json:"ip_id,omitempty"` // Policy of this credential. Policy *Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"` // The number of anonymity revokers that must work together to revoke the // anonymity of the credential holder. ArThreshold *ArThreshold `protobuf:"bytes,5,opt,name=ar_threshold,json=arThreshold,proto3" json:"ar_threshold,omitempty"` // Mapping from anonymity revoker identities to revocation data for the given anonymity revoker. ArData map[uint32]*ChainArData `` /* 168-byte string literal not displayed */ // Commitments to attributes which have not been revealed. Commitments *CredentialCommitments `protobuf:"bytes,7,opt,name=commitments,proto3" json:"commitments,omitempty"` // contains filtered or unexported fields }
Values contained in a normal (non-initial) credential.
func (*NormalCredentialValues) Descriptor
deprecated
func (*NormalCredentialValues) Descriptor() ([]byte, []int)
Deprecated: Use NormalCredentialValues.ProtoReflect.Descriptor instead.
func (*NormalCredentialValues) GetArData ¶
func (x *NormalCredentialValues) GetArData() map[uint32]*ChainArData
func (*NormalCredentialValues) GetArThreshold ¶
func (x *NormalCredentialValues) GetArThreshold() *ArThreshold
func (*NormalCredentialValues) GetCommitments ¶
func (x *NormalCredentialValues) GetCommitments() *CredentialCommitments
func (*NormalCredentialValues) GetCredId ¶
func (x *NormalCredentialValues) GetCredId() *CredentialRegistrationId
func (*NormalCredentialValues) GetIpId ¶
func (x *NormalCredentialValues) GetIpId() *IdentityProviderIdentity
func (*NormalCredentialValues) GetKeys ¶
func (x *NormalCredentialValues) GetKeys() *CredentialPublicKeys
func (*NormalCredentialValues) GetPolicy ¶
func (x *NormalCredentialValues) GetPolicy() *Policy
func (*NormalCredentialValues) ProtoMessage ¶
func (*NormalCredentialValues) ProtoMessage()
func (*NormalCredentialValues) ProtoReflect ¶
func (x *NormalCredentialValues) ProtoReflect() protoreflect.Message
func (*NormalCredentialValues) Reset ¶
func (x *NormalCredentialValues) Reset()
func (*NormalCredentialValues) String ¶
func (x *NormalCredentialValues) String() string
type OpenStatus ¶
type OpenStatus int32
Information about how open the pool is to new delegators.
const ( OpenStatus_OPEN_STATUS_OPEN_FOR_ALL OpenStatus = 0 OpenStatus_OPEN_STATUS_CLOSED_FOR_NEW OpenStatus = 1 OpenStatus_OPEN_STATUS_CLOSED_FOR_ALL OpenStatus = 2 )
func (OpenStatus) Descriptor ¶
func (OpenStatus) Descriptor() protoreflect.EnumDescriptor
func (OpenStatus) Enum ¶
func (x OpenStatus) Enum() *OpenStatus
func (OpenStatus) EnumDescriptor
deprecated
func (OpenStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use OpenStatus.Descriptor instead.
func (OpenStatus) Number ¶
func (x OpenStatus) Number() protoreflect.EnumNumber
func (OpenStatus) String ¶
func (x OpenStatus) String() string
func (OpenStatus) Type ¶
func (OpenStatus) Type() protoreflect.EnumType
type Parameter ¶
type Parameter struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Parameter to a smart contract initialization or invocation.
func (*Parameter) Descriptor
deprecated
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) ProtoReflect ¶
func (x *Parameter) ProtoReflect() protoreflect.Message
type PassiveDelegationInfo ¶
type PassiveDelegationInfo struct { // The total capital delegated passively. DelegatedCapital *Amount `protobuf:"bytes,1,opt,name=delegated_capital,json=delegatedCapital,proto3" json:"delegated_capital,omitempty"` // The passive delegation commission rates. CommissionRates *CommissionRates `protobuf:"bytes,2,opt,name=commission_rates,json=commissionRates,proto3" json:"commission_rates,omitempty"` // The transaction fees accruing to the passive delegators in the current reward period. CurrentPaydayTransactionFeesEarned *Amount `` /* 169-byte string literal not displayed */ // The effective delegated capital of passive delegators for the current reward period. CurrentPaydayDelegatedCapital *Amount `` /* 152-byte string literal not displayed */ // Total capital staked across all pools, including passive delegation. AllPoolTotalCapital *Amount `protobuf:"bytes,5,opt,name=all_pool_total_capital,json=allPoolTotalCapital,proto3" json:"all_pool_total_capital,omitempty"` // contains filtered or unexported fields }
Type for the response of GetPassiveDelegationInfo. Contains information about passive delegators at the end of a given block.
func (*PassiveDelegationInfo) Descriptor
deprecated
func (*PassiveDelegationInfo) Descriptor() ([]byte, []int)
Deprecated: Use PassiveDelegationInfo.ProtoReflect.Descriptor instead.
func (*PassiveDelegationInfo) GetAllPoolTotalCapital ¶
func (x *PassiveDelegationInfo) GetAllPoolTotalCapital() *Amount
func (*PassiveDelegationInfo) GetCommissionRates ¶
func (x *PassiveDelegationInfo) GetCommissionRates() *CommissionRates
func (*PassiveDelegationInfo) GetCurrentPaydayDelegatedCapital ¶
func (x *PassiveDelegationInfo) GetCurrentPaydayDelegatedCapital() *Amount
func (*PassiveDelegationInfo) GetCurrentPaydayTransactionFeesEarned ¶
func (x *PassiveDelegationInfo) GetCurrentPaydayTransactionFeesEarned() *Amount
func (*PassiveDelegationInfo) GetDelegatedCapital ¶
func (x *PassiveDelegationInfo) GetDelegatedCapital() *Amount
func (*PassiveDelegationInfo) ProtoMessage ¶
func (*PassiveDelegationInfo) ProtoMessage()
func (*PassiveDelegationInfo) ProtoReflect ¶
func (x *PassiveDelegationInfo) ProtoReflect() protoreflect.Message
func (*PassiveDelegationInfo) Reset ¶
func (x *PassiveDelegationInfo) Reset()
func (*PassiveDelegationInfo) String ¶
func (x *PassiveDelegationInfo) String() string
type PeerId ¶
type PeerId struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A peer id An identifier that the peer wants to be be recoknized by. The underlying value is simply a u64. Note. There is no authenticity of the peer id and as such it is only used for logging purposes.
func (*PeerId) Descriptor
deprecated
func (*PeerId) ProtoMessage ¶
func (*PeerId) ProtoMessage()
func (*PeerId) ProtoReflect ¶
func (x *PeerId) ProtoReflect() protoreflect.Message
type PeerToBan ¶
type PeerToBan struct { IpAddress *IpAddress `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // contains filtered or unexported fields }
A peer to ban specified by its IP. Note. This will ban all peers located behind the specified IP even though they are using different ports.
func (*PeerToBan) Descriptor
deprecated
func (*PeerToBan) GetIpAddress ¶
func (*PeerToBan) ProtoMessage ¶
func (*PeerToBan) ProtoMessage()
func (*PeerToBan) ProtoReflect ¶
func (x *PeerToBan) ProtoReflect() protoreflect.Message
type PeersInfo ¶
type PeersInfo struct { Peers []*PeersInfo_Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` // contains filtered or unexported fields }
Peers and their associated network related statistics
func (*PeersInfo) Descriptor
deprecated
func (*PeersInfo) GetPeers ¶
func (x *PeersInfo) GetPeers() []*PeersInfo_Peer
func (*PeersInfo) ProtoMessage ¶
func (*PeersInfo) ProtoMessage()
func (*PeersInfo) ProtoReflect ¶
func (x *PeersInfo) ProtoReflect() protoreflect.Message
type PeersInfo_Peer ¶
type PeersInfo_Peer struct { // The identifier of the peer that it // wishes to be identified by. PeerId *PeerId `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` // The port of the peer. SocketAddress *IpSocketAddress `protobuf:"bytes,2,opt,name=socket_address,json=socketAddress,proto3" json:"socket_address,omitempty"` // Network related statistics for the peer. NetworkStats *PeersInfo_Peer_NetworkStats `protobuf:"bytes,3,opt,name=network_stats,json=networkStats,proto3" json:"network_stats,omitempty"` // consensus related information of the peer. // // Types that are assignable to ConsensusInfo: // // *PeersInfo_Peer_Bootstrapper // *PeersInfo_Peer_NodeCatchupStatus ConsensusInfo isPeersInfo_Peer_ConsensusInfo `protobuf_oneof:"consensus_info"` // contains filtered or unexported fields }
A peer that the node is connected to.
func (*PeersInfo_Peer) Descriptor
deprecated
func (*PeersInfo_Peer) Descriptor() ([]byte, []int)
Deprecated: Use PeersInfo_Peer.ProtoReflect.Descriptor instead.
func (*PeersInfo_Peer) GetBootstrapper ¶
func (x *PeersInfo_Peer) GetBootstrapper() *Empty
func (*PeersInfo_Peer) GetConsensusInfo ¶
func (m *PeersInfo_Peer) GetConsensusInfo() isPeersInfo_Peer_ConsensusInfo
func (*PeersInfo_Peer) GetNetworkStats ¶
func (x *PeersInfo_Peer) GetNetworkStats() *PeersInfo_Peer_NetworkStats
func (*PeersInfo_Peer) GetNodeCatchupStatus ¶
func (x *PeersInfo_Peer) GetNodeCatchupStatus() PeersInfo_Peer_CatchupStatus
func (*PeersInfo_Peer) GetPeerId ¶
func (x *PeersInfo_Peer) GetPeerId() *PeerId
func (*PeersInfo_Peer) GetSocketAddress ¶
func (x *PeersInfo_Peer) GetSocketAddress() *IpSocketAddress
func (*PeersInfo_Peer) ProtoMessage ¶
func (*PeersInfo_Peer) ProtoMessage()
func (*PeersInfo_Peer) ProtoReflect ¶
func (x *PeersInfo_Peer) ProtoReflect() protoreflect.Message
func (*PeersInfo_Peer) Reset ¶
func (x *PeersInfo_Peer) Reset()
func (*PeersInfo_Peer) String ¶
func (x *PeersInfo_Peer) String() string
type PeersInfo_Peer_Bootstrapper ¶
type PeersInfo_Peer_Bootstrapper struct { // The peer is of type `Bootstrapper` is not participating in consensus // and thus has no catchup status. Bootstrapper *Empty `protobuf:"bytes,4,opt,name=bootstrapper,proto3,oneof"` }
type PeersInfo_Peer_CatchupStatus ¶
type PeersInfo_Peer_CatchupStatus int32
const ( // The peer does not have any data unknown to us. If we receive a message from the // peer that refers to unknown data (e.g., an unknown block) the peer is marked as pending. PeersInfo_Peer_UPTODATE PeersInfo_Peer_CatchupStatus = 0 // The peer might have some data unknown to us. A peer can be in this state either because // it sent a message that refers to data unknown to us, or before we have established a baseline with it. // The latter happens during node startup, as well as upon protocol updates until the initial catchup handshake // completes. PeersInfo_Peer_PENDING PeersInfo_Peer_CatchupStatus = 1 // The node is currently catching up by requesting blocks from this peer. // There will be at most one peer with this status at a time. // Once the peer has responded to the request, its status will be changed to: // - 'UPTODATE' if the peer has no more data that is not known to us // - 'PENDING' if the node has more data that is unknown to us. PeersInfo_Peer_CATCHINGUP PeersInfo_Peer_CatchupStatus = 2 )
func (PeersInfo_Peer_CatchupStatus) Descriptor ¶
func (PeersInfo_Peer_CatchupStatus) Descriptor() protoreflect.EnumDescriptor
func (PeersInfo_Peer_CatchupStatus) Enum ¶
func (x PeersInfo_Peer_CatchupStatus) Enum() *PeersInfo_Peer_CatchupStatus
func (PeersInfo_Peer_CatchupStatus) EnumDescriptor
deprecated
func (PeersInfo_Peer_CatchupStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PeersInfo_Peer_CatchupStatus.Descriptor instead.
func (PeersInfo_Peer_CatchupStatus) Number ¶
func (x PeersInfo_Peer_CatchupStatus) Number() protoreflect.EnumNumber
func (PeersInfo_Peer_CatchupStatus) String ¶
func (x PeersInfo_Peer_CatchupStatus) String() string
func (PeersInfo_Peer_CatchupStatus) Type ¶
func (PeersInfo_Peer_CatchupStatus) Type() protoreflect.EnumType
type PeersInfo_Peer_NetworkStats ¶
type PeersInfo_Peer_NetworkStats struct { // The number of messages sent to the peer. // Packets are blocks, transactions, catchup messages, finalization records // and network messages such as pings and peer requests. PacketsSent uint64 `protobuf:"varint,2,opt,name=packets_sent,json=packetsSent,proto3" json:"packets_sent,omitempty"` // The number of messages received from the peer. // Packets are blocks, transactions, catchup messages, finalization records // and network messages such as pings and peer requests. PacketsReceived uint64 `protobuf:"varint,3,opt,name=packets_received,json=packetsReceived,proto3" json:"packets_received,omitempty"` // The connection latency (i.e., ping time) in milliseconds. Latency uint64 `protobuf:"varint,4,opt,name=latency,proto3" json:"latency,omitempty"` // contains filtered or unexported fields }
Network statistics for the peer
func (*PeersInfo_Peer_NetworkStats) Descriptor
deprecated
func (*PeersInfo_Peer_NetworkStats) Descriptor() ([]byte, []int)
Deprecated: Use PeersInfo_Peer_NetworkStats.ProtoReflect.Descriptor instead.
func (*PeersInfo_Peer_NetworkStats) GetLatency ¶
func (x *PeersInfo_Peer_NetworkStats) GetLatency() uint64
func (*PeersInfo_Peer_NetworkStats) GetPacketsReceived ¶
func (x *PeersInfo_Peer_NetworkStats) GetPacketsReceived() uint64
func (*PeersInfo_Peer_NetworkStats) GetPacketsSent ¶
func (x *PeersInfo_Peer_NetworkStats) GetPacketsSent() uint64
func (*PeersInfo_Peer_NetworkStats) ProtoMessage ¶
func (*PeersInfo_Peer_NetworkStats) ProtoMessage()
func (*PeersInfo_Peer_NetworkStats) ProtoReflect ¶
func (x *PeersInfo_Peer_NetworkStats) ProtoReflect() protoreflect.Message
func (*PeersInfo_Peer_NetworkStats) Reset ¶
func (x *PeersInfo_Peer_NetworkStats) Reset()
func (*PeersInfo_Peer_NetworkStats) String ¶
func (x *PeersInfo_Peer_NetworkStats) String() string
type PeersInfo_Peer_NodeCatchupStatus ¶
type PeersInfo_Peer_NodeCatchupStatus struct { // The peer is a regular node and have // an associated catchup status. NodeCatchupStatus PeersInfo_Peer_CatchupStatus `` /* 132-byte string literal not displayed */ }
type PendingUpdate ¶
type PendingUpdate struct { // The effective time of the update. EffectiveTime *TransactionTime `protobuf:"bytes,1,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` // The effect of the update. // // Types that are assignable to Effect: // // *PendingUpdate_RootKeys // *PendingUpdate_Level1Keys // *PendingUpdate_Level2KeysCpv_0 // *PendingUpdate_Level2KeysCpv_1 // *PendingUpdate_Protocol // *PendingUpdate_ElectionDifficulty // *PendingUpdate_EuroPerEnergy // *PendingUpdate_MicroCcdPerEuro // *PendingUpdate_FoundationAccount // *PendingUpdate_MintDistributionCpv_0 // *PendingUpdate_MintDistributionCpv_1 // *PendingUpdate_TransactionFeeDistribution // *PendingUpdate_GasRewards // *PendingUpdate_PoolParametersCpv_0 // *PendingUpdate_PoolParametersCpv_1 // *PendingUpdate_AddAnonymityRevoker // *PendingUpdate_AddIdentityProvider // *PendingUpdate_CooldownParameters // *PendingUpdate_TimeParameters // *PendingUpdate_GasRewardsCpv_2 // *PendingUpdate_TimeoutParameters // *PendingUpdate_MinBlockTime // *PendingUpdate_BlockEnergyLimit // *PendingUpdate_FinalizationCommitteeParameters Effect isPendingUpdate_Effect `protobuf_oneof:"effect"` // contains filtered or unexported fields }
A pending update.
func (*PendingUpdate) Descriptor
deprecated
func (*PendingUpdate) Descriptor() ([]byte, []int)
Deprecated: Use PendingUpdate.ProtoReflect.Descriptor instead.
func (*PendingUpdate) GetAddAnonymityRevoker ¶
func (x *PendingUpdate) GetAddAnonymityRevoker() *ArInfo
func (*PendingUpdate) GetAddIdentityProvider ¶
func (x *PendingUpdate) GetAddIdentityProvider() *IpInfo
func (*PendingUpdate) GetBlockEnergyLimit ¶
func (x *PendingUpdate) GetBlockEnergyLimit() *Energy
func (*PendingUpdate) GetCooldownParameters ¶
func (x *PendingUpdate) GetCooldownParameters() *CooldownParametersCpv1
func (*PendingUpdate) GetEffect ¶
func (m *PendingUpdate) GetEffect() isPendingUpdate_Effect
func (*PendingUpdate) GetEffectiveTime ¶
func (x *PendingUpdate) GetEffectiveTime() *TransactionTime
func (*PendingUpdate) GetElectionDifficulty ¶
func (x *PendingUpdate) GetElectionDifficulty() *ElectionDifficulty
func (*PendingUpdate) GetEuroPerEnergy ¶
func (x *PendingUpdate) GetEuroPerEnergy() *ExchangeRate
func (*PendingUpdate) GetFinalizationCommitteeParameters ¶
func (x *PendingUpdate) GetFinalizationCommitteeParameters() *FinalizationCommitteeParameters
func (*PendingUpdate) GetFoundationAccount ¶
func (x *PendingUpdate) GetFoundationAccount() *AccountAddress
func (*PendingUpdate) GetGasRewards ¶
func (x *PendingUpdate) GetGasRewards() *GasRewards
func (*PendingUpdate) GetGasRewardsCpv_2 ¶
func (x *PendingUpdate) GetGasRewardsCpv_2() *GasRewardsCpv2
func (*PendingUpdate) GetLevel1Keys ¶
func (x *PendingUpdate) GetLevel1Keys() *HigherLevelKeys
func (*PendingUpdate) GetLevel2KeysCpv_0 ¶
func (x *PendingUpdate) GetLevel2KeysCpv_0() *AuthorizationsV0
func (*PendingUpdate) GetLevel2KeysCpv_1 ¶
func (x *PendingUpdate) GetLevel2KeysCpv_1() *AuthorizationsV1
func (*PendingUpdate) GetMicroCcdPerEuro ¶
func (x *PendingUpdate) GetMicroCcdPerEuro() *ExchangeRate
func (*PendingUpdate) GetMinBlockTime ¶
func (x *PendingUpdate) GetMinBlockTime() *Duration
func (*PendingUpdate) GetMintDistributionCpv_0 ¶
func (x *PendingUpdate) GetMintDistributionCpv_0() *MintDistributionCpv0
func (*PendingUpdate) GetMintDistributionCpv_1 ¶
func (x *PendingUpdate) GetMintDistributionCpv_1() *MintDistributionCpv1
func (*PendingUpdate) GetPoolParametersCpv_0 ¶
func (x *PendingUpdate) GetPoolParametersCpv_0() *BakerStakeThreshold
func (*PendingUpdate) GetPoolParametersCpv_1 ¶
func (x *PendingUpdate) GetPoolParametersCpv_1() *PoolParametersCpv1
func (*PendingUpdate) GetProtocol ¶
func (x *PendingUpdate) GetProtocol() *ProtocolUpdate
func (*PendingUpdate) GetRootKeys ¶
func (x *PendingUpdate) GetRootKeys() *HigherLevelKeys
func (*PendingUpdate) GetTimeParameters ¶
func (x *PendingUpdate) GetTimeParameters() *TimeParametersCpv1
func (*PendingUpdate) GetTimeoutParameters ¶
func (x *PendingUpdate) GetTimeoutParameters() *TimeoutParameters
func (*PendingUpdate) GetTransactionFeeDistribution ¶
func (x *PendingUpdate) GetTransactionFeeDistribution() *TransactionFeeDistribution
func (*PendingUpdate) ProtoMessage ¶
func (*PendingUpdate) ProtoMessage()
func (*PendingUpdate) ProtoReflect ¶
func (x *PendingUpdate) ProtoReflect() protoreflect.Message
func (*PendingUpdate) Reset ¶
func (x *PendingUpdate) Reset()
func (*PendingUpdate) String ¶
func (x *PendingUpdate) String() string
type PendingUpdate_AddAnonymityRevoker ¶
type PendingUpdate_AddAnonymityRevoker struct { // Adds a new anonymity revoker. AddAnonymityRevoker *ArInfo `protobuf:"bytes,17,opt,name=add_anonymity_revoker,json=addAnonymityRevoker,proto3,oneof"` }
type PendingUpdate_AddIdentityProvider ¶
type PendingUpdate_AddIdentityProvider struct { // Adds a new identity provider. AddIdentityProvider *IpInfo `protobuf:"bytes,18,opt,name=add_identity_provider,json=addIdentityProvider,proto3,oneof"` }
type PendingUpdate_BlockEnergyLimit ¶
type PendingUpdate_BlockEnergyLimit struct { // Updates to the block energy limit for chain parameters version 2. BlockEnergyLimit *Energy `protobuf:"bytes,24,opt,name=block_energy_limit,json=blockEnergyLimit,proto3,oneof"` }
type PendingUpdate_CooldownParameters ¶
type PendingUpdate_CooldownParameters struct { // Updates to cooldown parameters for chain parameters version 1 introduced in protocol version 4. CooldownParameters *CooldownParametersCpv1 `protobuf:"bytes,19,opt,name=cooldown_parameters,json=cooldownParameters,proto3,oneof"` }
type PendingUpdate_ElectionDifficulty ¶
type PendingUpdate_ElectionDifficulty struct { // Updates to the election difficulty parameter. ElectionDifficulty *ElectionDifficulty `protobuf:"bytes,7,opt,name=election_difficulty,json=electionDifficulty,proto3,oneof"` }
type PendingUpdate_EuroPerEnergy ¶
type PendingUpdate_EuroPerEnergy struct { // Updates to the euro:energy exchange rate. EuroPerEnergy *ExchangeRate `protobuf:"bytes,8,opt,name=euro_per_energy,json=euroPerEnergy,proto3,oneof"` }
type PendingUpdate_FinalizationCommitteeParameters ¶
type PendingUpdate_FinalizationCommitteeParameters struct { // Updates to the finalization committee for for chain parameters version 2. FinalizationCommitteeParameters *FinalizationCommitteeParameters `protobuf:"bytes,25,opt,name=finalization_committee_parameters,json=finalizationCommitteeParameters,proto3,oneof"` }
type PendingUpdate_FoundationAccount ¶
type PendingUpdate_FoundationAccount struct { // Updates to the foundation account. FoundationAccount *AccountAddress `protobuf:"bytes,10,opt,name=foundation_account,json=foundationAccount,proto3,oneof"` }
type PendingUpdate_GasRewards ¶
type PendingUpdate_GasRewards struct { // Updates to the GAS rewards. GasRewards *GasRewards `protobuf:"bytes,14,opt,name=gas_rewards,json=gasRewards,proto3,oneof"` }
type PendingUpdate_GasRewardsCpv_2 ¶
type PendingUpdate_GasRewardsCpv_2 struct { // Updates to the GAS rewards effective from protocol version 6 (chain parameters version 2). GasRewardsCpv_2 *GasRewardsCpv2 `protobuf:"bytes,21,opt,name=gas_rewards_cpv_2,json=gasRewardsCpv2,proto3,oneof"` }
type PendingUpdate_Level1Keys ¶
type PendingUpdate_Level1Keys struct { // Updates to the level 1 keys. Level1Keys *HigherLevelKeys `protobuf:"bytes,3,opt,name=level1_keys,json=level1Keys,proto3,oneof"` }
type PendingUpdate_Level2KeysCpv_0 ¶
type PendingUpdate_Level2KeysCpv_0 struct { // Updates to the level 2 keys. Level2KeysCpv_0 *AuthorizationsV0 `protobuf:"bytes,4,opt,name=level2_keys_cpv_0,json=level2KeysCpv0,proto3,oneof"` }
type PendingUpdate_Level2KeysCpv_1 ¶
type PendingUpdate_Level2KeysCpv_1 struct { // Updates to the level 2 keys. Level2KeysCpv_1 *AuthorizationsV1 `protobuf:"bytes,5,opt,name=level2_keys_cpv_1,json=level2KeysCpv1,proto3,oneof"` }
type PendingUpdate_MicroCcdPerEuro ¶
type PendingUpdate_MicroCcdPerEuro struct { // Updates to the CCD:EUR exchange rate. MicroCcdPerEuro *ExchangeRate `protobuf:"bytes,9,opt,name=micro_ccd_per_euro,json=microCcdPerEuro,proto3,oneof"` }
type PendingUpdate_MinBlockTime ¶
type PendingUpdate_MinBlockTime struct { // Updates to the the minimum time between blocks for chain parameters version 2. MinBlockTime *Duration `protobuf:"bytes,23,opt,name=min_block_time,json=minBlockTime,proto3,oneof"` }
type PendingUpdate_MintDistributionCpv_0 ¶
type PendingUpdate_MintDistributionCpv_0 struct { // Updates to the mint distribution. Is only relevant prior to protocol version 4. MintDistributionCpv_0 *MintDistributionCpv0 `protobuf:"bytes,11,opt,name=mint_distribution_cpv_0,json=mintDistributionCpv0,proto3,oneof"` }
type PendingUpdate_MintDistributionCpv_1 ¶
type PendingUpdate_MintDistributionCpv_1 struct { // The mint distribution was updated. Introduced in protocol version 4. MintDistributionCpv_1 *MintDistributionCpv1 `protobuf:"bytes,12,opt,name=mint_distribution_cpv_1,json=mintDistributionCpv1,proto3,oneof"` }
type PendingUpdate_PoolParametersCpv_0 ¶
type PendingUpdate_PoolParametersCpv_0 struct { // Updates baker stake threshold. Is only relevant prior to protocol version 4. PoolParametersCpv_0 *BakerStakeThreshold `protobuf:"bytes,15,opt,name=pool_parameters_cpv_0,json=poolParametersCpv0,proto3,oneof"` }
type PendingUpdate_PoolParametersCpv_1 ¶
type PendingUpdate_PoolParametersCpv_1 struct { // Updates pool parameters. Introduced in protocol version 4. PoolParametersCpv_1 *PoolParametersCpv1 `protobuf:"bytes,16,opt,name=pool_parameters_cpv_1,json=poolParametersCpv1,proto3,oneof"` }
type PendingUpdate_Protocol ¶
type PendingUpdate_Protocol struct { // Protocol updates. Protocol *ProtocolUpdate `protobuf:"bytes,6,opt,name=protocol,proto3,oneof"` }
type PendingUpdate_RootKeys ¶
type PendingUpdate_RootKeys struct { // Updates to the root keys. RootKeys *HigherLevelKeys `protobuf:"bytes,2,opt,name=root_keys,json=rootKeys,proto3,oneof"` }
type PendingUpdate_TimeParameters ¶
type PendingUpdate_TimeParameters struct { // Updates to time parameters for chain parameters version 1 introduced in protocol version 4. TimeParameters *TimeParametersCpv1 `protobuf:"bytes,20,opt,name=time_parameters,json=timeParameters,proto3,oneof"` }
type PendingUpdate_TimeoutParameters ¶
type PendingUpdate_TimeoutParameters struct { // Updates to the consensus timeouts for chain parameters version 2. TimeoutParameters *TimeoutParameters `protobuf:"bytes,22,opt,name=timeout_parameters,json=timeoutParameters,proto3,oneof"` }
type PendingUpdate_TransactionFeeDistribution ¶
type PendingUpdate_TransactionFeeDistribution struct { // Updates to the transaction fee distribution. TransactionFeeDistribution *TransactionFeeDistribution `protobuf:"bytes,13,opt,name=transaction_fee_distribution,json=transactionFeeDistribution,proto3,oneof"` }
type Policy ¶
type Policy struct { // The year and month when the identity object from which the credential is // derived was created. CreatedAt *YearMonth `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // The last year and month when the credential is still valid. After this // expires an account can no longer be created from the credential. ValidTo *YearMonth `protobuf:"bytes,2,opt,name=valid_to,json=validTo,proto3" json:"valid_to,omitempty"` // Mapping from attribute tags to attribute values. Attribute tags are always // representable in a single `u8`, attribute values are never more than 31 // bytes in length. Attributes map[uint32][]byte `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
Policy on a credential.
func (*Policy) Descriptor
deprecated
func (*Policy) GetAttributes ¶
func (*Policy) GetCreatedAt ¶
func (*Policy) GetValidTo ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
type PoolCurrentPaydayInfo ¶
type PoolCurrentPaydayInfo struct { // The number of blocks baked in the current reward period. BlocksBaked uint64 `protobuf:"varint,1,opt,name=blocks_baked,json=blocksBaked,proto3" json:"blocks_baked,omitempty"` // Whether the baker has contributed a finalization proof in the current reward period. FinalizationLive bool `protobuf:"varint,2,opt,name=finalization_live,json=finalizationLive,proto3" json:"finalization_live,omitempty"` // The transaction fees accruing to the pool in the current reward period. TransactionFeesEarned *Amount `` /* 126-byte string literal not displayed */ // The effective stake of the baker in the current reward period. EffectiveStake *Amount `protobuf:"bytes,4,opt,name=effective_stake,json=effectiveStake,proto3" json:"effective_stake,omitempty"` // The lottery power of the baker in the current reward period. LotteryPower float64 `protobuf:"fixed64,5,opt,name=lottery_power,json=lotteryPower,proto3" json:"lottery_power,omitempty"` // The effective equity capital of the baker for the current reward period. BakerEquityCapital *Amount `protobuf:"bytes,6,opt,name=baker_equity_capital,json=bakerEquityCapital,proto3" json:"baker_equity_capital,omitempty"` // The effective delegated capital to the pool for the current reward period. DelegatedCapital *Amount `protobuf:"bytes,7,opt,name=delegated_capital,json=delegatedCapital,proto3" json:"delegated_capital,omitempty"` // The commission rates that apply for the current reward period. CommissionRates *CommissionRates `protobuf:"bytes,8,opt,name=commission_rates,json=commissionRates,proto3" json:"commission_rates,omitempty"` // contains filtered or unexported fields }
Information about a baker pool in the current reward period.
func (*PoolCurrentPaydayInfo) Descriptor
deprecated
func (*PoolCurrentPaydayInfo) Descriptor() ([]byte, []int)
Deprecated: Use PoolCurrentPaydayInfo.ProtoReflect.Descriptor instead.
func (*PoolCurrentPaydayInfo) GetBakerEquityCapital ¶
func (x *PoolCurrentPaydayInfo) GetBakerEquityCapital() *Amount
func (*PoolCurrentPaydayInfo) GetBlocksBaked ¶
func (x *PoolCurrentPaydayInfo) GetBlocksBaked() uint64
func (*PoolCurrentPaydayInfo) GetCommissionRates ¶ added in v0.2.0
func (x *PoolCurrentPaydayInfo) GetCommissionRates() *CommissionRates
func (*PoolCurrentPaydayInfo) GetDelegatedCapital ¶
func (x *PoolCurrentPaydayInfo) GetDelegatedCapital() *Amount
func (*PoolCurrentPaydayInfo) GetEffectiveStake ¶
func (x *PoolCurrentPaydayInfo) GetEffectiveStake() *Amount
func (*PoolCurrentPaydayInfo) GetFinalizationLive ¶
func (x *PoolCurrentPaydayInfo) GetFinalizationLive() bool
func (*PoolCurrentPaydayInfo) GetLotteryPower ¶
func (x *PoolCurrentPaydayInfo) GetLotteryPower() float64
func (*PoolCurrentPaydayInfo) GetTransactionFeesEarned ¶
func (x *PoolCurrentPaydayInfo) GetTransactionFeesEarned() *Amount
func (*PoolCurrentPaydayInfo) ProtoMessage ¶
func (*PoolCurrentPaydayInfo) ProtoMessage()
func (*PoolCurrentPaydayInfo) ProtoReflect ¶
func (x *PoolCurrentPaydayInfo) ProtoReflect() protoreflect.Message
func (*PoolCurrentPaydayInfo) Reset ¶
func (x *PoolCurrentPaydayInfo) Reset()
func (*PoolCurrentPaydayInfo) String ¶
func (x *PoolCurrentPaydayInfo) String() string
type PoolInfoRequest ¶
type PoolInfoRequest struct { // Block in which to query the pool information. BlockHash *BlockHashInput `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The 'BakerId' of the pool owner. Baker *BakerId `protobuf:"bytes,2,opt,name=baker,proto3" json:"baker,omitempty"` // contains filtered or unexported fields }
Request for GetPoolInfo.
func (*PoolInfoRequest) Descriptor
deprecated
func (*PoolInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use PoolInfoRequest.ProtoReflect.Descriptor instead.
func (*PoolInfoRequest) GetBaker ¶
func (x *PoolInfoRequest) GetBaker() *BakerId
func (*PoolInfoRequest) GetBlockHash ¶
func (x *PoolInfoRequest) GetBlockHash() *BlockHashInput
func (*PoolInfoRequest) ProtoMessage ¶
func (*PoolInfoRequest) ProtoMessage()
func (*PoolInfoRequest) ProtoReflect ¶
func (x *PoolInfoRequest) ProtoReflect() protoreflect.Message
func (*PoolInfoRequest) Reset ¶
func (x *PoolInfoRequest) Reset()
func (*PoolInfoRequest) String ¶
func (x *PoolInfoRequest) String() string
type PoolInfoResponse ¶
type PoolInfoResponse struct { // The 'BakerId' of the pool owner. Baker *BakerId `protobuf:"bytes,1,opt,name=baker,proto3" json:"baker,omitempty"` // The account address of the pool owner. Address *AccountAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // The equity capital provided by the pool owner. Absent if the pool is removed. EquityCapital *Amount `protobuf:"bytes,3,opt,name=equity_capital,json=equityCapital,proto3,oneof" json:"equity_capital,omitempty"` // The capital delegated to the pool by other accounts. Absent if the pool is removed. DelegatedCapital *Amount `protobuf:"bytes,4,opt,name=delegated_capital,json=delegatedCapital,proto3,oneof" json:"delegated_capital,omitempty"` // The maximum amount that may be delegated to the pool, accounting for leverage and stake limits. // Absent if the pool is removed. DelegatedCapitalCap *Amount `` /* 126-byte string literal not displayed */ // The pool info associated with the pool: open status, metadata URL and commission rates. // Absent if the pool is removed. PoolInfo *BakerPoolInfo `protobuf:"bytes,6,opt,name=pool_info,json=poolInfo,proto3,oneof" json:"pool_info,omitempty"` // Any pending change to the equity capital. // This is not used from protocol version 7 onwards, as stake changes are immediate. EquityPendingChange *PoolPendingChange `` /* 126-byte string literal not displayed */ // Information of the pool in the current reward period. CurrentPaydayInfo *PoolCurrentPaydayInfo `protobuf:"bytes,8,opt,name=current_payday_info,json=currentPaydayInfo,proto3,oneof" json:"current_payday_info,omitempty"` // Total capital staked across all pools, including passive delegation. AllPoolTotalCapital *Amount `protobuf:"bytes,9,opt,name=all_pool_total_capital,json=allPoolTotalCapital,proto3" json:"all_pool_total_capital,omitempty"` // contains filtered or unexported fields }
Type for the response of GetPoolInfo. Contains information about a given pool at the end of a given block. From protocol version 7, pool removal has immediate effect, however, the pool may still be present for the current (and possibly next) reward period. In this case, the `current_payday_info` field will be set, but the `equity_capital`, `delegated_capital`, `delegated_capital_cap` and, `pool_info` fields will all be absent. The `equity_pending_change` field will also be absent, as stake changes are immediate.
func (*PoolInfoResponse) Descriptor
deprecated
func (*PoolInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use PoolInfoResponse.ProtoReflect.Descriptor instead.
func (*PoolInfoResponse) GetAddress ¶
func (x *PoolInfoResponse) GetAddress() *AccountAddress
func (*PoolInfoResponse) GetAllPoolTotalCapital ¶
func (x *PoolInfoResponse) GetAllPoolTotalCapital() *Amount
func (*PoolInfoResponse) GetBaker ¶
func (x *PoolInfoResponse) GetBaker() *BakerId
func (*PoolInfoResponse) GetCurrentPaydayInfo ¶
func (x *PoolInfoResponse) GetCurrentPaydayInfo() *PoolCurrentPaydayInfo
func (*PoolInfoResponse) GetDelegatedCapital ¶
func (x *PoolInfoResponse) GetDelegatedCapital() *Amount
func (*PoolInfoResponse) GetDelegatedCapitalCap ¶
func (x *PoolInfoResponse) GetDelegatedCapitalCap() *Amount
func (*PoolInfoResponse) GetEquityCapital ¶
func (x *PoolInfoResponse) GetEquityCapital() *Amount
func (*PoolInfoResponse) GetEquityPendingChange ¶
func (x *PoolInfoResponse) GetEquityPendingChange() *PoolPendingChange
func (*PoolInfoResponse) GetPoolInfo ¶
func (x *PoolInfoResponse) GetPoolInfo() *BakerPoolInfo
func (*PoolInfoResponse) ProtoMessage ¶
func (*PoolInfoResponse) ProtoMessage()
func (*PoolInfoResponse) ProtoReflect ¶
func (x *PoolInfoResponse) ProtoReflect() protoreflect.Message
func (*PoolInfoResponse) Reset ¶
func (x *PoolInfoResponse) Reset()
func (*PoolInfoResponse) String ¶
func (x *PoolInfoResponse) String() string
type PoolParametersCpv1 ¶
type PoolParametersCpv1 struct { // Fraction of finalization rewards charged by the passive delegation. PassiveFinalizationCommission *AmountFraction `` /* 150-byte string literal not displayed */ // Fraction of baking rewards charged by the passive delegation. PassiveBakingCommission *AmountFraction `` /* 132-byte string literal not displayed */ // Fraction of transaction rewards charged by the L-pool. PassiveTransactionCommission *AmountFraction `` /* 147-byte string literal not displayed */ // Bounds on the commission rates that may be charged by bakers. CommissionBounds *CommissionRanges `protobuf:"bytes,4,opt,name=commission_bounds,json=commissionBounds,proto3" json:"commission_bounds,omitempty"` // Minimum equity capital required for a new baker. MinimumEquityCapital *Amount `protobuf:"bytes,5,opt,name=minimum_equity_capital,json=minimumEquityCapital,proto3" json:"minimum_equity_capital,omitempty"` // Maximum fraction of the total staked capital of that a new baker can // have. CapitalBound *CapitalBound `protobuf:"bytes,6,opt,name=capital_bound,json=capitalBound,proto3" json:"capital_bound,omitempty"` // The maximum leverage that a baker can have as a ratio of total stake // to equity capital. LeverageBound *LeverageFactor `protobuf:"bytes,7,opt,name=leverage_bound,json=leverageBound,proto3" json:"leverage_bound,omitempty"` // contains filtered or unexported fields }
Parameters related to staking pools.
func (*PoolParametersCpv1) Descriptor
deprecated
func (*PoolParametersCpv1) Descriptor() ([]byte, []int)
Deprecated: Use PoolParametersCpv1.ProtoReflect.Descriptor instead.
func (*PoolParametersCpv1) GetCapitalBound ¶
func (x *PoolParametersCpv1) GetCapitalBound() *CapitalBound
func (*PoolParametersCpv1) GetCommissionBounds ¶
func (x *PoolParametersCpv1) GetCommissionBounds() *CommissionRanges
func (*PoolParametersCpv1) GetLeverageBound ¶
func (x *PoolParametersCpv1) GetLeverageBound() *LeverageFactor
func (*PoolParametersCpv1) GetMinimumEquityCapital ¶
func (x *PoolParametersCpv1) GetMinimumEquityCapital() *Amount
func (*PoolParametersCpv1) GetPassiveBakingCommission ¶
func (x *PoolParametersCpv1) GetPassiveBakingCommission() *AmountFraction
func (*PoolParametersCpv1) GetPassiveFinalizationCommission ¶
func (x *PoolParametersCpv1) GetPassiveFinalizationCommission() *AmountFraction
func (*PoolParametersCpv1) GetPassiveTransactionCommission ¶
func (x *PoolParametersCpv1) GetPassiveTransactionCommission() *AmountFraction
func (*PoolParametersCpv1) ProtoMessage ¶
func (*PoolParametersCpv1) ProtoMessage()
func (*PoolParametersCpv1) ProtoReflect ¶
func (x *PoolParametersCpv1) ProtoReflect() protoreflect.Message
func (*PoolParametersCpv1) Reset ¶
func (x *PoolParametersCpv1) Reset()
func (*PoolParametersCpv1) String ¶
func (x *PoolParametersCpv1) String() string
type PoolPendingChange ¶
type PoolPendingChange struct { // Types that are assignable to Change: // // *PoolPendingChange_Reduce_ // *PoolPendingChange_Remove_ Change isPoolPendingChange_Change `protobuf_oneof:"change"` // contains filtered or unexported fields }
A pending change to a baker pool.
func (*PoolPendingChange) Descriptor
deprecated
func (*PoolPendingChange) Descriptor() ([]byte, []int)
Deprecated: Use PoolPendingChange.ProtoReflect.Descriptor instead.
func (*PoolPendingChange) GetChange ¶
func (m *PoolPendingChange) GetChange() isPoolPendingChange_Change
func (*PoolPendingChange) GetReduce ¶
func (x *PoolPendingChange) GetReduce() *PoolPendingChange_Reduce
func (*PoolPendingChange) GetRemove ¶
func (x *PoolPendingChange) GetRemove() *PoolPendingChange_Remove
func (*PoolPendingChange) ProtoMessage ¶
func (*PoolPendingChange) ProtoMessage()
func (*PoolPendingChange) ProtoReflect ¶
func (x *PoolPendingChange) ProtoReflect() protoreflect.Message
func (*PoolPendingChange) Reset ¶
func (x *PoolPendingChange) Reset()
func (*PoolPendingChange) String ¶
func (x *PoolPendingChange) String() string
type PoolPendingChange_Reduce ¶
type PoolPendingChange_Reduce struct { // New baker equity capital. ReducedEquityCapital *Amount `protobuf:"bytes,1,opt,name=reduced_equity_capital,json=reducedEquityCapital,proto3" json:"reduced_equity_capital,omitempty"` // Timestamp when the change takes effect. EffectiveTime *Timestamp `protobuf:"bytes,2,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` // contains filtered or unexported fields }
A reduction in baker equity capital is pending.
func (*PoolPendingChange_Reduce) Descriptor
deprecated
func (*PoolPendingChange_Reduce) Descriptor() ([]byte, []int)
Deprecated: Use PoolPendingChange_Reduce.ProtoReflect.Descriptor instead.
func (*PoolPendingChange_Reduce) GetEffectiveTime ¶
func (x *PoolPendingChange_Reduce) GetEffectiveTime() *Timestamp
func (*PoolPendingChange_Reduce) GetReducedEquityCapital ¶
func (x *PoolPendingChange_Reduce) GetReducedEquityCapital() *Amount
func (*PoolPendingChange_Reduce) ProtoMessage ¶
func (*PoolPendingChange_Reduce) ProtoMessage()
func (*PoolPendingChange_Reduce) ProtoReflect ¶
func (x *PoolPendingChange_Reduce) ProtoReflect() protoreflect.Message
func (*PoolPendingChange_Reduce) Reset ¶
func (x *PoolPendingChange_Reduce) Reset()
func (*PoolPendingChange_Reduce) String ¶
func (x *PoolPendingChange_Reduce) String() string
type PoolPendingChange_Reduce_ ¶
type PoolPendingChange_Reduce_ struct {
Reduce *PoolPendingChange_Reduce `protobuf:"bytes,1,opt,name=reduce,proto3,oneof"`
}
type PoolPendingChange_Remove ¶
type PoolPendingChange_Remove struct { // Timestamp when the change takes effect. EffectiveTime *Timestamp `protobuf:"bytes,1,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` // contains filtered or unexported fields }
Removal of the pool is pending.
func (*PoolPendingChange_Remove) Descriptor
deprecated
func (*PoolPendingChange_Remove) Descriptor() ([]byte, []int)
Deprecated: Use PoolPendingChange_Remove.ProtoReflect.Descriptor instead.
func (*PoolPendingChange_Remove) GetEffectiveTime ¶
func (x *PoolPendingChange_Remove) GetEffectiveTime() *Timestamp
func (*PoolPendingChange_Remove) ProtoMessage ¶
func (*PoolPendingChange_Remove) ProtoMessage()
func (*PoolPendingChange_Remove) ProtoReflect ¶
func (x *PoolPendingChange_Remove) ProtoReflect() protoreflect.Message
func (*PoolPendingChange_Remove) Reset ¶
func (x *PoolPendingChange_Remove) Reset()
func (*PoolPendingChange_Remove) String ¶
func (x *PoolPendingChange_Remove) String() string
type PoolPendingChange_Remove_ ¶
type PoolPendingChange_Remove_ struct {
Remove *PoolPendingChange_Remove `protobuf:"bytes,2,opt,name=remove,proto3,oneof"`
}
type Port ¶
type Port struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A port Valid port numbers are expected thus the value is expected to be in the range (0..u16::MAX).
func (*Port) Descriptor
deprecated
func (*Port) ProtoMessage ¶
func (*Port) ProtoMessage()
func (*Port) ProtoReflect ¶
func (x *Port) ProtoReflect() protoreflect.Message
type PreAccountTransaction ¶
type PreAccountTransaction struct { Header *AccountTransactionHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Payload *AccountTransactionPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
An unsigned account transaction. This is used with the `GetTransactionSignHash` endpoint to obtain the message to sign.
func (*PreAccountTransaction) Descriptor
deprecated
func (*PreAccountTransaction) Descriptor() ([]byte, []int)
Deprecated: Use PreAccountTransaction.ProtoReflect.Descriptor instead.
func (*PreAccountTransaction) GetHeader ¶
func (x *PreAccountTransaction) GetHeader() *AccountTransactionHeader
func (*PreAccountTransaction) GetPayload ¶
func (x *PreAccountTransaction) GetPayload() *AccountTransactionPayload
func (*PreAccountTransaction) ProtoMessage ¶
func (*PreAccountTransaction) ProtoMessage()
func (*PreAccountTransaction) ProtoReflect ¶
func (x *PreAccountTransaction) ProtoReflect() protoreflect.Message
func (*PreAccountTransaction) Reset ¶
func (x *PreAccountTransaction) Reset()
func (*PreAccountTransaction) String ¶
func (x *PreAccountTransaction) String() string
type ProtocolUpdate ¶
type ProtocolUpdate struct { // A brief message about the update. Message_ string `protobuf:"bytes,1,opt,name=message_,json=message,proto3" json:"message_,omitempty"` // A URL of a document describing the update. SpecificationUrl string `protobuf:"bytes,2,opt,name=specification_url,json=specificationUrl,proto3" json:"specification_url,omitempty"` // SHA256 hash of the specification document. SpecificationHash *Sha256Hash `protobuf:"bytes,3,opt,name=specificationHash,proto3" json:"specificationHash,omitempty"` // Auxiliary data whose interpretation is defined by the new specification. SpecificationAuxiliaryData []byte `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProtocolUpdate) Descriptor
deprecated
func (*ProtocolUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ProtocolUpdate.ProtoReflect.Descriptor instead.
func (*ProtocolUpdate) GetMessage_ ¶
func (x *ProtocolUpdate) GetMessage_() string
func (*ProtocolUpdate) GetSpecificationAuxiliaryData ¶
func (x *ProtocolUpdate) GetSpecificationAuxiliaryData() []byte
func (*ProtocolUpdate) GetSpecificationHash ¶
func (x *ProtocolUpdate) GetSpecificationHash() *Sha256Hash
func (*ProtocolUpdate) GetSpecificationUrl ¶
func (x *ProtocolUpdate) GetSpecificationUrl() string
func (*ProtocolUpdate) ProtoMessage ¶
func (*ProtocolUpdate) ProtoMessage()
func (*ProtocolUpdate) ProtoReflect ¶
func (x *ProtocolUpdate) ProtoReflect() protoreflect.Message
func (*ProtocolUpdate) Reset ¶
func (x *ProtocolUpdate) Reset()
func (*ProtocolUpdate) String ¶
func (x *ProtocolUpdate) String() string
type ProtocolVersion ¶
type ProtocolVersion int32
The different versions of the protocol.
const ( ProtocolVersion_PROTOCOL_VERSION_1 ProtocolVersion = 0 ProtocolVersion_PROTOCOL_VERSION_2 ProtocolVersion = 1 ProtocolVersion_PROTOCOL_VERSION_3 ProtocolVersion = 2 ProtocolVersion_PROTOCOL_VERSION_4 ProtocolVersion = 3 ProtocolVersion_PROTOCOL_VERSION_5 ProtocolVersion = 4 ProtocolVersion_PROTOCOL_VERSION_6 ProtocolVersion = 5 ProtocolVersion_PROTOCOL_VERSION_7 ProtocolVersion = 6 )
func (ProtocolVersion) Descriptor ¶
func (ProtocolVersion) Descriptor() protoreflect.EnumDescriptor
func (ProtocolVersion) Enum ¶
func (x ProtocolVersion) Enum() *ProtocolVersion
func (ProtocolVersion) EnumDescriptor
deprecated
func (ProtocolVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProtocolVersion.Descriptor instead.
func (ProtocolVersion) Number ¶
func (x ProtocolVersion) Number() protoreflect.EnumNumber
func (ProtocolVersion) String ¶
func (x ProtocolVersion) String() string
func (ProtocolVersion) Type ¶
func (ProtocolVersion) Type() protoreflect.EnumType
type QueriesClient ¶
type QueriesClient interface { // Return a stream of blocks that arrive from the time the query is made onward. // This can be used to listen for incoming blocks. GetBlocks(ctx context.Context, in *Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ArrivedBlockInfo], error) // Return a stream of blocks that are finalized from the time the query is // made onward. This can be used to listen for newly finalized blocks. Note // that there is no guarantee that blocks will not be skipped if the client is // too slow in processing the stream, however blocks will always be sent by // increasing block height. GetFinalizedBlocks(ctx context.Context, in *Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[FinalizedBlockInfo], error) // Retrieve the information about the given account in the given block. GetAccountInfo(ctx context.Context, in *AccountInfoRequest, opts ...grpc.CallOption) (*AccountInfo, error) // Retrieve the list of accounts that exist at the end of the given block. GetAccountList(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[AccountAddress], error) // Get a list of all smart contract modules. The stream will end // when all modules that exist in the state at the end of the given // block have been returned. GetModuleList(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ModuleRef], error) // Get a stream of ancestors for the provided block. // Starting with the provided block itself, moving backwards until no more // ancestors or the requested number of ancestors has been returned. GetAncestors(ctx context.Context, in *AncestorsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[BlockHash], error) // Get the source of a smart contract module. GetModuleSource(ctx context.Context, in *ModuleSourceRequest, opts ...grpc.CallOption) (*VersionedModuleSource, error) // Get a list of addresses for all smart contract instances. The stream // will end when all instances that exist in the state at the end of the // given block has been returned. GetInstanceList(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ContractAddress], error) // Get info about a smart contract instance as it appears at the end of the // given block. GetInstanceInfo(ctx context.Context, in *InstanceInfoRequest, opts ...grpc.CallOption) (*InstanceInfo, error) // Get the exact state of a specific contract instance, streamed as a list of // key-value pairs. The list is streamed in lexicographic order of keys. GetInstanceState(ctx context.Context, in *InstanceInfoRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[InstanceStateKVPair], error) // Get the value at a specific key of a contract state. In contrast to // `GetInstanceState` this is more efficient, but requires the user to know // the specific key to look for. InstanceStateLookup(ctx context.Context, in *InstanceStateLookupRequest, opts ...grpc.CallOption) (*InstanceStateValueAtKey, error) // Get the best guess as to what the next account sequence number should be. // If all account transactions are finalized then this information is reliable. // Otherwise this is the best guess, assuming all other transactions will be // committed to blocks and eventually finalized. GetNextAccountSequenceNumber(ctx context.Context, in *AccountAddress, opts ...grpc.CallOption) (*NextAccountSequenceNumber, error) // Get information about the current state of consensus. GetConsensusInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ConsensusInfo, error) // Get the status of and information about a specific block item (transaction). GetBlockItemStatus(ctx context.Context, in *TransactionHash, opts ...grpc.CallOption) (*BlockItemStatus, error) // Get the cryptographic parameters in a given block. GetCryptographicParameters(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (*CryptographicParameters, error) // Get information, such as height, timings, and transaction counts for the given block. GetBlockInfo(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (*BlockInfo, error) // Get all the bakers at the end of the given block. GetBakerList(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[BakerId], error) // Get information about a given pool at the end of a given block. GetPoolInfo(ctx context.Context, in *PoolInfoRequest, opts ...grpc.CallOption) (*PoolInfoResponse, error) // Get information about the passive delegators at the end of a given block. GetPassiveDelegationInfo(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (*PassiveDelegationInfo, error) // Get a list of live blocks at a given height. GetBlocksAtHeight(ctx context.Context, in *BlocksAtHeightRequest, opts ...grpc.CallOption) (*BlocksAtHeightResponse, error) // Get information about tokenomics at the end of a given block. GetTokenomicsInfo(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (*TokenomicsInfo, error) // Run the smart contract entrypoint in a given context and in the state at // the end of the given block. InvokeInstance(ctx context.Context, in *InvokeInstanceRequest, opts ...grpc.CallOption) (*InvokeInstanceResponse, error) // Get the registered delegators of a given pool at the end of a given block. // In contrast to the `GetPoolDelegatorsRewardPeriod` which returns delegators // that are fixed for the reward period of the block, this endpoint returns the // list of delegators that are registered in the block. Any changes to delegators // are immediately visible in this list. // The stream will end when all the delegators has been returned. GetPoolDelegators(ctx context.Context, in *GetPoolDelegatorsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[DelegatorInfo], error) // Get the fixed delegators of a given pool for the reward period of the given block. // In contracts to the `GetPoolDelegators` which returns delegators registered // for the given block, this endpoint returns the fixed delegators contributing // stake in the reward period containing the given block. // The stream will end when all the delegators has been returned. GetPoolDelegatorsRewardPeriod(ctx context.Context, in *GetPoolDelegatorsRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[DelegatorRewardPeriodInfo], error) // Get the registered passive delegators at the end of a given block. // In contrast to the `GetPassiveDelegatorsRewardPeriod` which returns delegators // that are fixed for the reward period of the block, this endpoint returns the // list of delegators that are registered in the block. Any changes to delegators // are immediately visible in this list. // The stream will end when all the delegators has been returned. GetPassiveDelegators(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[DelegatorInfo], error) // Get the fixed passive delegators for the reward period of the given block. // In contracts to the `GetPassiveDelegators` which returns delegators registered // for the given block, this endpoint returns the fixed delegators contributing // stake in the reward period containing the given block. // The stream will end when all the delegators has been returned. GetPassiveDelegatorsRewardPeriod(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[DelegatorRewardPeriodInfo], error) // Get the current branches of blocks starting from and including the last finalized block. GetBranches(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Branch, error) // Get information related to the baker election for a particular block. GetElectionInfo(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (*ElectionInfo, error) // Get the identity providers registered as of the end of a given block. // The stream will end when all the identity providers have been returned. GetIdentityProviders(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[IpInfo], error) // Get the anonymity revokers registered as of the end of a given block. // The stream will end when all the anonymity revokers have been returned. GetAnonymityRevokers(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ArInfo], error) // Get a list of non-finalized transaction hashes for a given account. This // endpoint is not expected to return a large amount of data in most cases, // but in bad network condtions it might. The stream will end when all the // non-finalized transaction hashes have been returned. GetAccountNonFinalizedTransactions(ctx context.Context, in *AccountAddress, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TransactionHash], error) // Get a list of transaction events in a given block. // The stream will end when all the transaction events for a given block have been returned. GetBlockTransactionEvents(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[BlockItemSummary], error) // Get a list of special events in a given block. These are events generated // by the protocol, such as minting and reward payouts. They are not directly // generated by any transaction. The stream will end when all the special // events for a given block have been returned. GetBlockSpecialEvents(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[BlockSpecialEvent], error) // Get the pending updates to chain parameters at the end of a given block. // The stream will end when all the pending updates for a given block have been returned. GetBlockPendingUpdates(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PendingUpdate], error) // Get next available sequence numbers for updating chain parameters after a given block. GetNextUpdateSequenceNumbers(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (*NextUpdateSequenceNumbers, error) // Get the projected earliest time at which a particular baker will be required to bake a block. // If the current consensus version is 0, this returns the status 'Unavailable', as the endpoint // is only supported by consensus version 1. // // If the baker is not a baker for the current reward period, this returns a timestamp at the // start of the next reward period. If the baker is a baker for the current reward period, the // earliest win time is projected from the current round forward, assuming that each round after // the last finalized round will take the minimum block time. (If blocks take longer, or timeouts // occur, the actual time may be later, and the reported time in subsequent queries may reflect // this.) At the end of an epoch (or if the baker is not projected to bake before the end of the // epoch) the earliest win time for a (current) baker will be projected as the start of the next // epoch. This is because the seed for the leader election is updated at the epoch boundary, and // so the winners cannot be predicted beyond that. Note that in some circumstances the returned // timestamp can be in the past, especially at the end of an epoch. GetBakerEarliestWinTime(ctx context.Context, in *BakerId, opts ...grpc.CallOption) (*Timestamp, error) // Shut down the node. // Return a GRPC error if the shutdown failed. Shutdown(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) // Suggest to a peer to connect to the submitted peer details. // This, if successful, adds the peer to the list of given addresses. // Otherwise return a GRPC error. // Note. The peer might not be connected to instantly, in that case // the node will try to establish the connection in near future. This // function returns a GRPC status 'Ok' in this case. PeerConnect(ctx context.Context, in *IpSocketAddress, opts ...grpc.CallOption) (*Empty, error) // Disconnect from the peer and remove them from the given addresses list // if they are on it. Return if the request was processed successfully. // Otherwise return a GRPC error. PeerDisconnect(ctx context.Context, in *IpSocketAddress, opts ...grpc.CallOption) (*Empty, error) // Get a list of banned peers. GetBannedPeers(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BannedPeers, error) // Ban the given peer. // Returns a GRPC error if the action failed. BanPeer(ctx context.Context, in *PeerToBan, opts ...grpc.CallOption) (*Empty, error) // Unban the banned peer. // Returns a GRPC error if the action failed. UnbanPeer(ctx context.Context, in *BannedPeer, opts ...grpc.CallOption) (*Empty, error) // Start dumping packages into the specified file. // Only enabled if the node was built with the `network_dump` feature. // Returns a GRPC error if the network dump failed to start. DumpStart(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*Empty, error) // Stop dumping packages. // Only enabled if the node was built with the `network_dump` feature. // Returns a GRPC error if the network dump failed to be stopped. DumpStop(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) // / Get a list of the peers that the node is connected to // / and assoicated network related information for each peer. GetPeersInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*PeersInfo, error) // Get information about the node. // The `NodeInfo` includes information of // - Meta information such as the, version of the node, type of the node, uptime and the local time of the node. // - NetworkInfo which yields data such as the node id, packets sent/received, // average bytes per second sent/received. // - ConsensusInfo. The `ConsensusInfo` returned depends on if the node supports // the protocol on chain and whether the node is configured as a baker or not. GetNodeInfo(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*NodeInfo, error) // Send a block item. A block item is either an `AccountTransaction`, which is // a transaction signed and paid for by an account, a `CredentialDeployment`, // which creates a new account, or `UpdateInstruction`, which is an // instruction to change some parameters of the chain. Update instructions can // only be sent by the governance committee. // // Returns a hash of the block item, which can be used with // `GetBlockItemStatus`. SendBlockItem(ctx context.Context, in *SendBlockItemRequest, opts ...grpc.CallOption) (*TransactionHash, error) // Get the hash to be signed for an account transaction. The hash returned // should be signed and the signatures included as an // AccountTransactionSignature when calling `SendBlockItem`. This is provided as // a convenience to support cases where the right SDK is not available for // interacting with the node. If an SDK is available then it is strongly // recommended to compute this hash off-line using it. That reduces the trust // in the node, removes networking failure modes, and will perform better. GetAccountTransactionSignHash(ctx context.Context, in *PreAccountTransaction, opts ...grpc.CallOption) (*AccountTransactionSignHash, error) // Get the values of chain parameters in effect in the given block. GetBlockChainParameters(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (*ChainParameters, error) // Get the summary of the finalization data in a given block. GetBlockFinalizationSummary(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (*BlockFinalizationSummary, error) // Get the items of a block. GetBlockItems(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[BlockItem], error) // Get all bakers in the reward period of a block. // This endpoint is only supported for protocol version 6 and onwards. // If the protocol does not support the endpoint then an 'IllegalArgument' error is returned. GetBakersRewardPeriod(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (grpc.ServerStreamingClient[BakerRewardPeriodInfo], error) // For a non-genesis block, this returns the quorum certificate, a timeout // certificate (if present) and epoch finalization entry (if present). // Note that, if the block being pointed to is not a product of ConcordiumBFT, // then the response will be a grpc error (invalid argument). // If the endpoint is not enabled by the node, then an 'unimplemented' error // will be returned. GetBlockCertificates(ctx context.Context, in *BlockHashInput, opts ...grpc.CallOption) (*BlockCertificates, error) // Get the list of bakers that won the lottery in a particular historical epoch (i.e. the // last finalized block is in a later epoch). This lists the winners for each round in the // epoch, starting from the round after the last block in the previous epoch, running to // the round before the first block in the next epoch. It also indicates if a block in each // round was included in the finalized chain. // // The following error cases are possible: // - `NOT_FOUND` if the query specifies an unknown block. // - `UNAVAILABLE` if the query is for an epoch that is not finalized in the current genesis // // / index, or is for a future genesis index. // - `INVALID_ARGUMENT` if the query is for an epoch that is not finalized for a past genesis // index. // - `INVALID_ARGUMENT` if the query is for a genesis index at consensus version 0. // - `INVALID_ARGUMENT` if the input `EpochRequest` is malformed. // - `UNIMPLEMENTED` if the endpoint is disabled on the node. GetWinningBakersEpoch(ctx context.Context, in *EpochRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WinningBaker], error) // Get the block hash of the first finalized block in a specified epoch. // // The following error cases are possible: // - `NOT_FOUND` if the query specifies an unknown block. // - `UNAVAILABLE` if the query is for an epoch that is not finalized in the current genesis // index, or is for a future genesis index. // - `INVALID_ARGUMENT` if the query is for an epoch with no finalized blocks for a past genesis // index. // - `INVALID_ARGUMENT` if the input `EpochRequest` is malformed. // - `UNIMPLEMENTED` if the endpoint is disabled on the node. GetFirstBlockEpoch(ctx context.Context, in *EpochRequest, opts ...grpc.CallOption) (*BlockHash, error) // Dry run a series of transactions and operations on a state derived from a specified block. // The server should send a single `DryRunResponse` for each `DryRunRequest` received, unless // the call fails with an error status code. If a request produces a `DryRunErrorResponse`, then // the server will still process subsequent requests, just as if the request causing the error // did not happen. // // The first request should be `load_block_at_state` to determine the block state that will be // used for the dry run. // // The server associates each request with an energy cost, and limits the total energy that may // be expended in a single invocation of `DryRun`. This limit is reported as `quota` in the // initial metadata returned by the server. If executing an operation exceeds the limit, // the server terminates the session with `RESOURCE_EXHAUSTED`. // // The server also imposes a timeout for a dry-run session to complete. The server reports // the timeout duration in milliseconds in the initial metadata field `timeout`. If the session // is not completed before the timeout elapses, the server terminates the session with // `DEADLINE_EXCEEDED`. // // The following error cases are possible: // - `INVALID_ARGUMENT` if any `DryRunRequest` is malformed. // - `RESOURCE_EXHAUSTED` if the energy quota is exceeded. // - `DEADLINE_EXCEEDED` if the session does not complete before the server-imposed timeout. // - `RESOURCE_EXHAUSTED` if the server is not currently accepting new `DryRun` sessions. // (The server may impose a limit on the number of concurrent sessions.) // - `INTERNAL` if an interal server error occurs. This should not happen, and likely indicates // a bug. // - `UNIMPLEMENTED` if the endpoint is disabled on the node. DryRun(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[DryRunRequest, DryRunResponse], error) }
QueriesClient is the client API for Queries service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueriesClient ¶
func NewQueriesClient(cc grpc.ClientConnInterface) QueriesClient
type QueriesServer ¶
type QueriesServer interface { // Return a stream of blocks that arrive from the time the query is made onward. // This can be used to listen for incoming blocks. GetBlocks(*Empty, grpc.ServerStreamingServer[ArrivedBlockInfo]) error // Return a stream of blocks that are finalized from the time the query is // made onward. This can be used to listen for newly finalized blocks. Note // that there is no guarantee that blocks will not be skipped if the client is // too slow in processing the stream, however blocks will always be sent by // increasing block height. GetFinalizedBlocks(*Empty, grpc.ServerStreamingServer[FinalizedBlockInfo]) error // Retrieve the information about the given account in the given block. GetAccountInfo(context.Context, *AccountInfoRequest) (*AccountInfo, error) // Retrieve the list of accounts that exist at the end of the given block. GetAccountList(*BlockHashInput, grpc.ServerStreamingServer[AccountAddress]) error // Get a list of all smart contract modules. The stream will end // when all modules that exist in the state at the end of the given // block have been returned. GetModuleList(*BlockHashInput, grpc.ServerStreamingServer[ModuleRef]) error // Get a stream of ancestors for the provided block. // Starting with the provided block itself, moving backwards until no more // ancestors or the requested number of ancestors has been returned. GetAncestors(*AncestorsRequest, grpc.ServerStreamingServer[BlockHash]) error // Get the source of a smart contract module. GetModuleSource(context.Context, *ModuleSourceRequest) (*VersionedModuleSource, error) // Get a list of addresses for all smart contract instances. The stream // will end when all instances that exist in the state at the end of the // given block has been returned. GetInstanceList(*BlockHashInput, grpc.ServerStreamingServer[ContractAddress]) error // Get info about a smart contract instance as it appears at the end of the // given block. GetInstanceInfo(context.Context, *InstanceInfoRequest) (*InstanceInfo, error) // Get the exact state of a specific contract instance, streamed as a list of // key-value pairs. The list is streamed in lexicographic order of keys. GetInstanceState(*InstanceInfoRequest, grpc.ServerStreamingServer[InstanceStateKVPair]) error // Get the value at a specific key of a contract state. In contrast to // `GetInstanceState` this is more efficient, but requires the user to know // the specific key to look for. InstanceStateLookup(context.Context, *InstanceStateLookupRequest) (*InstanceStateValueAtKey, error) // Get the best guess as to what the next account sequence number should be. // If all account transactions are finalized then this information is reliable. // Otherwise this is the best guess, assuming all other transactions will be // committed to blocks and eventually finalized. GetNextAccountSequenceNumber(context.Context, *AccountAddress) (*NextAccountSequenceNumber, error) // Get information about the current state of consensus. GetConsensusInfo(context.Context, *Empty) (*ConsensusInfo, error) // Get the status of and information about a specific block item (transaction). GetBlockItemStatus(context.Context, *TransactionHash) (*BlockItemStatus, error) // Get the cryptographic parameters in a given block. GetCryptographicParameters(context.Context, *BlockHashInput) (*CryptographicParameters, error) // Get information, such as height, timings, and transaction counts for the given block. GetBlockInfo(context.Context, *BlockHashInput) (*BlockInfo, error) // Get all the bakers at the end of the given block. GetBakerList(*BlockHashInput, grpc.ServerStreamingServer[BakerId]) error // Get information about a given pool at the end of a given block. GetPoolInfo(context.Context, *PoolInfoRequest) (*PoolInfoResponse, error) // Get information about the passive delegators at the end of a given block. GetPassiveDelegationInfo(context.Context, *BlockHashInput) (*PassiveDelegationInfo, error) // Get a list of live blocks at a given height. GetBlocksAtHeight(context.Context, *BlocksAtHeightRequest) (*BlocksAtHeightResponse, error) // Get information about tokenomics at the end of a given block. GetTokenomicsInfo(context.Context, *BlockHashInput) (*TokenomicsInfo, error) // Run the smart contract entrypoint in a given context and in the state at // the end of the given block. InvokeInstance(context.Context, *InvokeInstanceRequest) (*InvokeInstanceResponse, error) // Get the registered delegators of a given pool at the end of a given block. // In contrast to the `GetPoolDelegatorsRewardPeriod` which returns delegators // that are fixed for the reward period of the block, this endpoint returns the // list of delegators that are registered in the block. Any changes to delegators // are immediately visible in this list. // The stream will end when all the delegators has been returned. GetPoolDelegators(*GetPoolDelegatorsRequest, grpc.ServerStreamingServer[DelegatorInfo]) error // Get the fixed delegators of a given pool for the reward period of the given block. // In contracts to the `GetPoolDelegators` which returns delegators registered // for the given block, this endpoint returns the fixed delegators contributing // stake in the reward period containing the given block. // The stream will end when all the delegators has been returned. GetPoolDelegatorsRewardPeriod(*GetPoolDelegatorsRequest, grpc.ServerStreamingServer[DelegatorRewardPeriodInfo]) error // Get the registered passive delegators at the end of a given block. // In contrast to the `GetPassiveDelegatorsRewardPeriod` which returns delegators // that are fixed for the reward period of the block, this endpoint returns the // list of delegators that are registered in the block. Any changes to delegators // are immediately visible in this list. // The stream will end when all the delegators has been returned. GetPassiveDelegators(*BlockHashInput, grpc.ServerStreamingServer[DelegatorInfo]) error // Get the fixed passive delegators for the reward period of the given block. // In contracts to the `GetPassiveDelegators` which returns delegators registered // for the given block, this endpoint returns the fixed delegators contributing // stake in the reward period containing the given block. // The stream will end when all the delegators has been returned. GetPassiveDelegatorsRewardPeriod(*BlockHashInput, grpc.ServerStreamingServer[DelegatorRewardPeriodInfo]) error // Get the current branches of blocks starting from and including the last finalized block. GetBranches(context.Context, *Empty) (*Branch, error) // Get information related to the baker election for a particular block. GetElectionInfo(context.Context, *BlockHashInput) (*ElectionInfo, error) // Get the identity providers registered as of the end of a given block. // The stream will end when all the identity providers have been returned. GetIdentityProviders(*BlockHashInput, grpc.ServerStreamingServer[IpInfo]) error // Get the anonymity revokers registered as of the end of a given block. // The stream will end when all the anonymity revokers have been returned. GetAnonymityRevokers(*BlockHashInput, grpc.ServerStreamingServer[ArInfo]) error // Get a list of non-finalized transaction hashes for a given account. This // endpoint is not expected to return a large amount of data in most cases, // but in bad network condtions it might. The stream will end when all the // non-finalized transaction hashes have been returned. GetAccountNonFinalizedTransactions(*AccountAddress, grpc.ServerStreamingServer[TransactionHash]) error // Get a list of transaction events in a given block. // The stream will end when all the transaction events for a given block have been returned. GetBlockTransactionEvents(*BlockHashInput, grpc.ServerStreamingServer[BlockItemSummary]) error // Get a list of special events in a given block. These are events generated // by the protocol, such as minting and reward payouts. They are not directly // generated by any transaction. The stream will end when all the special // events for a given block have been returned. GetBlockSpecialEvents(*BlockHashInput, grpc.ServerStreamingServer[BlockSpecialEvent]) error // Get the pending updates to chain parameters at the end of a given block. // The stream will end when all the pending updates for a given block have been returned. GetBlockPendingUpdates(*BlockHashInput, grpc.ServerStreamingServer[PendingUpdate]) error // Get next available sequence numbers for updating chain parameters after a given block. GetNextUpdateSequenceNumbers(context.Context, *BlockHashInput) (*NextUpdateSequenceNumbers, error) // Get the projected earliest time at which a particular baker will be required to bake a block. // If the current consensus version is 0, this returns the status 'Unavailable', as the endpoint // is only supported by consensus version 1. // // If the baker is not a baker for the current reward period, this returns a timestamp at the // start of the next reward period. If the baker is a baker for the current reward period, the // earliest win time is projected from the current round forward, assuming that each round after // the last finalized round will take the minimum block time. (If blocks take longer, or timeouts // occur, the actual time may be later, and the reported time in subsequent queries may reflect // this.) At the end of an epoch (or if the baker is not projected to bake before the end of the // epoch) the earliest win time for a (current) baker will be projected as the start of the next // epoch. This is because the seed for the leader election is updated at the epoch boundary, and // so the winners cannot be predicted beyond that. Note that in some circumstances the returned // timestamp can be in the past, especially at the end of an epoch. GetBakerEarliestWinTime(context.Context, *BakerId) (*Timestamp, error) // Shut down the node. // Return a GRPC error if the shutdown failed. Shutdown(context.Context, *Empty) (*Empty, error) // Suggest to a peer to connect to the submitted peer details. // This, if successful, adds the peer to the list of given addresses. // Otherwise return a GRPC error. // Note. The peer might not be connected to instantly, in that case // the node will try to establish the connection in near future. This // function returns a GRPC status 'Ok' in this case. PeerConnect(context.Context, *IpSocketAddress) (*Empty, error) // Disconnect from the peer and remove them from the given addresses list // if they are on it. Return if the request was processed successfully. // Otherwise return a GRPC error. PeerDisconnect(context.Context, *IpSocketAddress) (*Empty, error) // Get a list of banned peers. GetBannedPeers(context.Context, *Empty) (*BannedPeers, error) // Ban the given peer. // Returns a GRPC error if the action failed. BanPeer(context.Context, *PeerToBan) (*Empty, error) // Unban the banned peer. // Returns a GRPC error if the action failed. UnbanPeer(context.Context, *BannedPeer) (*Empty, error) // Start dumping packages into the specified file. // Only enabled if the node was built with the `network_dump` feature. // Returns a GRPC error if the network dump failed to start. DumpStart(context.Context, *DumpRequest) (*Empty, error) // Stop dumping packages. // Only enabled if the node was built with the `network_dump` feature. // Returns a GRPC error if the network dump failed to be stopped. DumpStop(context.Context, *Empty) (*Empty, error) // / Get a list of the peers that the node is connected to // / and assoicated network related information for each peer. GetPeersInfo(context.Context, *Empty) (*PeersInfo, error) // Get information about the node. // The `NodeInfo` includes information of // - Meta information such as the, version of the node, type of the node, uptime and the local time of the node. // - NetworkInfo which yields data such as the node id, packets sent/received, // average bytes per second sent/received. // - ConsensusInfo. The `ConsensusInfo` returned depends on if the node supports // the protocol on chain and whether the node is configured as a baker or not. GetNodeInfo(context.Context, *Empty) (*NodeInfo, error) // Send a block item. A block item is either an `AccountTransaction`, which is // a transaction signed and paid for by an account, a `CredentialDeployment`, // which creates a new account, or `UpdateInstruction`, which is an // instruction to change some parameters of the chain. Update instructions can // only be sent by the governance committee. // // Returns a hash of the block item, which can be used with // `GetBlockItemStatus`. SendBlockItem(context.Context, *SendBlockItemRequest) (*TransactionHash, error) // Get the hash to be signed for an account transaction. The hash returned // should be signed and the signatures included as an // AccountTransactionSignature when calling `SendBlockItem`. This is provided as // a convenience to support cases where the right SDK is not available for // interacting with the node. If an SDK is available then it is strongly // recommended to compute this hash off-line using it. That reduces the trust // in the node, removes networking failure modes, and will perform better. GetAccountTransactionSignHash(context.Context, *PreAccountTransaction) (*AccountTransactionSignHash, error) // Get the values of chain parameters in effect in the given block. GetBlockChainParameters(context.Context, *BlockHashInput) (*ChainParameters, error) // Get the summary of the finalization data in a given block. GetBlockFinalizationSummary(context.Context, *BlockHashInput) (*BlockFinalizationSummary, error) // Get the items of a block. GetBlockItems(*BlockHashInput, grpc.ServerStreamingServer[BlockItem]) error // Get all bakers in the reward period of a block. // This endpoint is only supported for protocol version 6 and onwards. // If the protocol does not support the endpoint then an 'IllegalArgument' error is returned. GetBakersRewardPeriod(*BlockHashInput, grpc.ServerStreamingServer[BakerRewardPeriodInfo]) error // For a non-genesis block, this returns the quorum certificate, a timeout // certificate (if present) and epoch finalization entry (if present). // Note that, if the block being pointed to is not a product of ConcordiumBFT, // then the response will be a grpc error (invalid argument). // If the endpoint is not enabled by the node, then an 'unimplemented' error // will be returned. GetBlockCertificates(context.Context, *BlockHashInput) (*BlockCertificates, error) // Get the list of bakers that won the lottery in a particular historical epoch (i.e. the // last finalized block is in a later epoch). This lists the winners for each round in the // epoch, starting from the round after the last block in the previous epoch, running to // the round before the first block in the next epoch. It also indicates if a block in each // round was included in the finalized chain. // // The following error cases are possible: // - `NOT_FOUND` if the query specifies an unknown block. // - `UNAVAILABLE` if the query is for an epoch that is not finalized in the current genesis // // / index, or is for a future genesis index. // - `INVALID_ARGUMENT` if the query is for an epoch that is not finalized for a past genesis // index. // - `INVALID_ARGUMENT` if the query is for a genesis index at consensus version 0. // - `INVALID_ARGUMENT` if the input `EpochRequest` is malformed. // - `UNIMPLEMENTED` if the endpoint is disabled on the node. GetWinningBakersEpoch(*EpochRequest, grpc.ServerStreamingServer[WinningBaker]) error // Get the block hash of the first finalized block in a specified epoch. // // The following error cases are possible: // - `NOT_FOUND` if the query specifies an unknown block. // - `UNAVAILABLE` if the query is for an epoch that is not finalized in the current genesis // index, or is for a future genesis index. // - `INVALID_ARGUMENT` if the query is for an epoch with no finalized blocks for a past genesis // index. // - `INVALID_ARGUMENT` if the input `EpochRequest` is malformed. // - `UNIMPLEMENTED` if the endpoint is disabled on the node. GetFirstBlockEpoch(context.Context, *EpochRequest) (*BlockHash, error) // Dry run a series of transactions and operations on a state derived from a specified block. // The server should send a single `DryRunResponse` for each `DryRunRequest` received, unless // the call fails with an error status code. If a request produces a `DryRunErrorResponse`, then // the server will still process subsequent requests, just as if the request causing the error // did not happen. // // The first request should be `load_block_at_state` to determine the block state that will be // used for the dry run. // // The server associates each request with an energy cost, and limits the total energy that may // be expended in a single invocation of `DryRun`. This limit is reported as `quota` in the // initial metadata returned by the server. If executing an operation exceeds the limit, // the server terminates the session with `RESOURCE_EXHAUSTED`. // // The server also imposes a timeout for a dry-run session to complete. The server reports // the timeout duration in milliseconds in the initial metadata field `timeout`. If the session // is not completed before the timeout elapses, the server terminates the session with // `DEADLINE_EXCEEDED`. // // The following error cases are possible: // - `INVALID_ARGUMENT` if any `DryRunRequest` is malformed. // - `RESOURCE_EXHAUSTED` if the energy quota is exceeded. // - `DEADLINE_EXCEEDED` if the session does not complete before the server-imposed timeout. // - `RESOURCE_EXHAUSTED` if the server is not currently accepting new `DryRun` sessions. // (The server may impose a limit on the number of concurrent sessions.) // - `INTERNAL` if an interal server error occurs. This should not happen, and likely indicates // a bug. // - `UNIMPLEMENTED` if the endpoint is disabled on the node. DryRun(grpc.BidiStreamingServer[DryRunRequest, DryRunResponse]) error // contains filtered or unexported methods }
QueriesServer is the server API for Queries service. All implementations must embed UnimplementedQueriesServer for forward compatibility.
type Queries_DryRunClient ¶ added in v0.2.0
type Queries_DryRunClient = grpc.BidiStreamingClient[DryRunRequest, DryRunResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_DryRunServer ¶ added in v0.2.0
type Queries_DryRunServer = grpc.BidiStreamingServer[DryRunRequest, DryRunResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetAccountListClient ¶
type Queries_GetAccountListClient = grpc.ServerStreamingClient[AccountAddress]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetAccountListServer ¶
type Queries_GetAccountListServer = grpc.ServerStreamingServer[AccountAddress]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetAccountNonFinalizedTransactionsClient ¶
type Queries_GetAccountNonFinalizedTransactionsClient = grpc.ServerStreamingClient[TransactionHash]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetAccountNonFinalizedTransactionsServer ¶
type Queries_GetAccountNonFinalizedTransactionsServer = grpc.ServerStreamingServer[TransactionHash]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetAncestorsClient ¶
type Queries_GetAncestorsClient = grpc.ServerStreamingClient[BlockHash]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetAncestorsServer ¶
type Queries_GetAncestorsServer = grpc.ServerStreamingServer[BlockHash]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetAnonymityRevokersClient ¶
type Queries_GetAnonymityRevokersClient = grpc.ServerStreamingClient[ArInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetAnonymityRevokersServer ¶
type Queries_GetAnonymityRevokersServer = grpc.ServerStreamingServer[ArInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBakerListClient ¶
type Queries_GetBakerListClient = grpc.ServerStreamingClient[BakerId]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBakerListServer ¶
type Queries_GetBakerListServer = grpc.ServerStreamingServer[BakerId]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBakersRewardPeriodClient ¶ added in v0.2.0
type Queries_GetBakersRewardPeriodClient = grpc.ServerStreamingClient[BakerRewardPeriodInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBakersRewardPeriodServer ¶ added in v0.2.0
type Queries_GetBakersRewardPeriodServer = grpc.ServerStreamingServer[BakerRewardPeriodInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBlockItemsClient ¶
type Queries_GetBlockItemsClient = grpc.ServerStreamingClient[BlockItem]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBlockItemsServer ¶
type Queries_GetBlockItemsServer = grpc.ServerStreamingServer[BlockItem]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBlockPendingUpdatesClient ¶
type Queries_GetBlockPendingUpdatesClient = grpc.ServerStreamingClient[PendingUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBlockPendingUpdatesServer ¶
type Queries_GetBlockPendingUpdatesServer = grpc.ServerStreamingServer[PendingUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBlockSpecialEventsClient ¶
type Queries_GetBlockSpecialEventsClient = grpc.ServerStreamingClient[BlockSpecialEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBlockSpecialEventsServer ¶
type Queries_GetBlockSpecialEventsServer = grpc.ServerStreamingServer[BlockSpecialEvent]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBlockTransactionEventsClient ¶
type Queries_GetBlockTransactionEventsClient = grpc.ServerStreamingClient[BlockItemSummary]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBlockTransactionEventsServer ¶
type Queries_GetBlockTransactionEventsServer = grpc.ServerStreamingServer[BlockItemSummary]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBlocksClient ¶
type Queries_GetBlocksClient = grpc.ServerStreamingClient[ArrivedBlockInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetBlocksServer ¶
type Queries_GetBlocksServer = grpc.ServerStreamingServer[ArrivedBlockInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetFinalizedBlocksClient ¶
type Queries_GetFinalizedBlocksClient = grpc.ServerStreamingClient[FinalizedBlockInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetFinalizedBlocksServer ¶
type Queries_GetFinalizedBlocksServer = grpc.ServerStreamingServer[FinalizedBlockInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetIdentityProvidersClient ¶
type Queries_GetIdentityProvidersClient = grpc.ServerStreamingClient[IpInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetIdentityProvidersServer ¶
type Queries_GetIdentityProvidersServer = grpc.ServerStreamingServer[IpInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetInstanceListClient ¶
type Queries_GetInstanceListClient = grpc.ServerStreamingClient[ContractAddress]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetInstanceListServer ¶
type Queries_GetInstanceListServer = grpc.ServerStreamingServer[ContractAddress]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetInstanceStateClient ¶
type Queries_GetInstanceStateClient = grpc.ServerStreamingClient[InstanceStateKVPair]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetInstanceStateServer ¶
type Queries_GetInstanceStateServer = grpc.ServerStreamingServer[InstanceStateKVPair]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetModuleListClient ¶
type Queries_GetModuleListClient = grpc.ServerStreamingClient[ModuleRef]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetModuleListServer ¶
type Queries_GetModuleListServer = grpc.ServerStreamingServer[ModuleRef]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetPassiveDelegatorsClient ¶
type Queries_GetPassiveDelegatorsClient = grpc.ServerStreamingClient[DelegatorInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetPassiveDelegatorsRewardPeriodClient ¶
type Queries_GetPassiveDelegatorsRewardPeriodClient = grpc.ServerStreamingClient[DelegatorRewardPeriodInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetPassiveDelegatorsRewardPeriodServer ¶
type Queries_GetPassiveDelegatorsRewardPeriodServer = grpc.ServerStreamingServer[DelegatorRewardPeriodInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetPassiveDelegatorsServer ¶
type Queries_GetPassiveDelegatorsServer = grpc.ServerStreamingServer[DelegatorInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetPoolDelegatorsClient ¶
type Queries_GetPoolDelegatorsClient = grpc.ServerStreamingClient[DelegatorInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetPoolDelegatorsRewardPeriodClient ¶
type Queries_GetPoolDelegatorsRewardPeriodClient = grpc.ServerStreamingClient[DelegatorRewardPeriodInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetPoolDelegatorsRewardPeriodServer ¶
type Queries_GetPoolDelegatorsRewardPeriodServer = grpc.ServerStreamingServer[DelegatorRewardPeriodInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetPoolDelegatorsServer ¶
type Queries_GetPoolDelegatorsServer = grpc.ServerStreamingServer[DelegatorInfo]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetWinningBakersEpochClient ¶ added in v0.2.0
type Queries_GetWinningBakersEpochClient = grpc.ServerStreamingClient[WinningBaker]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Queries_GetWinningBakersEpochServer ¶ added in v0.2.0
type Queries_GetWinningBakersEpochServer = grpc.ServerStreamingServer[WinningBaker]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type QuorumCertificate ¶ added in v0.2.0
type QuorumCertificate struct { // The hash of the block that the quorum certificate refers to. BlockHash *BlockHash `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The round of the block. Round *Round `protobuf:"bytes,2,opt,name=round,proto3" json:"round,omitempty"` // The epoch of the block. Epoch *Epoch `protobuf:"bytes,3,opt,name=epoch,proto3" json:"epoch,omitempty"` // The aggregated signature by the finalization committee on the block. AggregateSignature *QuorumSignature `protobuf:"bytes,4,opt,name=aggregate_signature,json=aggregateSignature,proto3" json:"aggregate_signature,omitempty"` // A list of the finalizers that formed the quorum certificate // i.e., the ones who have contributed to the 'aggregate_siganture'. // The finalizers are identified by their baker id as this is stable // across protocols and epochs. Signatories []*BakerId `protobuf:"bytes,5,rep,name=signatories,proto3" json:"signatories,omitempty"` // contains filtered or unexported fields }
A quorum certificate is the certificate that the finalization comittee issues in order to certify a block. A block must be certified before it will be part of the authorative part of the chain.
func (*QuorumCertificate) Descriptor
deprecated
added in
v0.2.0
func (*QuorumCertificate) Descriptor() ([]byte, []int)
Deprecated: Use QuorumCertificate.ProtoReflect.Descriptor instead.
func (*QuorumCertificate) GetAggregateSignature ¶ added in v0.2.0
func (x *QuorumCertificate) GetAggregateSignature() *QuorumSignature
func (*QuorumCertificate) GetBlockHash ¶ added in v0.2.0
func (x *QuorumCertificate) GetBlockHash() *BlockHash
func (*QuorumCertificate) GetEpoch ¶ added in v0.2.0
func (x *QuorumCertificate) GetEpoch() *Epoch
func (*QuorumCertificate) GetRound ¶ added in v0.2.0
func (x *QuorumCertificate) GetRound() *Round
func (*QuorumCertificate) GetSignatories ¶ added in v0.2.0
func (x *QuorumCertificate) GetSignatories() []*BakerId
func (*QuorumCertificate) ProtoMessage ¶ added in v0.2.0
func (*QuorumCertificate) ProtoMessage()
func (*QuorumCertificate) ProtoReflect ¶ added in v0.2.0
func (x *QuorumCertificate) ProtoReflect() protoreflect.Message
func (*QuorumCertificate) Reset ¶ added in v0.2.0
func (x *QuorumCertificate) Reset()
func (*QuorumCertificate) String ¶ added in v0.2.0
func (x *QuorumCertificate) String() string
type QuorumSignature ¶ added in v0.2.0
type QuorumSignature struct { // The bytes representing the raw aggregate signature. // The bytes have a fixed length of 48 bytes. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The signature of a 'QuorumCertificate'.
func (*QuorumSignature) Descriptor
deprecated
added in
v0.2.0
func (*QuorumSignature) Descriptor() ([]byte, []int)
Deprecated: Use QuorumSignature.ProtoReflect.Descriptor instead.
func (*QuorumSignature) GetValue ¶ added in v0.2.0
func (x *QuorumSignature) GetValue() []byte
func (*QuorumSignature) ProtoMessage ¶ added in v0.2.0
func (*QuorumSignature) ProtoMessage()
func (*QuorumSignature) ProtoReflect ¶ added in v0.2.0
func (x *QuorumSignature) ProtoReflect() protoreflect.Message
func (*QuorumSignature) Reset ¶ added in v0.2.0
func (x *QuorumSignature) Reset()
func (*QuorumSignature) String ¶ added in v0.2.0
func (x *QuorumSignature) String() string
type Ratio ¶
type Ratio struct { // The numerator. Numerator uint64 `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"` // The denominator. Denominator uint64 `protobuf:"varint,2,opt,name=denominator,proto3" json:"denominator,omitempty"` // contains filtered or unexported fields }
Represents a ratio, i.e., 'numerator / denominator'.
func (*Ratio) Descriptor
deprecated
func (*Ratio) GetDenominator ¶
func (*Ratio) GetNumerator ¶
func (*Ratio) ProtoMessage ¶
func (*Ratio) ProtoMessage()
func (*Ratio) ProtoReflect ¶
func (x *Ratio) ProtoReflect() protoreflect.Message
type ReceiveName ¶
type ReceiveName struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The receive name of a smart contract function. Expected format: `<contract_name>.<func_name>`. It must only consist of atmost 100 ASCII alphanumeric or punctuation characters, and must contain a '.'.
func (*ReceiveName) Descriptor
deprecated
func (*ReceiveName) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveName.ProtoReflect.Descriptor instead.
func (*ReceiveName) GetValue ¶
func (x *ReceiveName) GetValue() string
func (*ReceiveName) ProtoMessage ¶
func (*ReceiveName) ProtoMessage()
func (*ReceiveName) ProtoReflect ¶
func (x *ReceiveName) ProtoReflect() protoreflect.Message
func (*ReceiveName) Reset ¶
func (x *ReceiveName) Reset()
func (*ReceiveName) String ¶
func (x *ReceiveName) String() string
type RegisteredData ¶
type RegisteredData struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Data registered on the chain with a register data transaction.
func (*RegisteredData) Descriptor
deprecated
func (*RegisteredData) Descriptor() ([]byte, []int)
Deprecated: Use RegisteredData.ProtoReflect.Descriptor instead.
func (*RegisteredData) GetValue ¶
func (x *RegisteredData) GetValue() []byte
func (*RegisteredData) ProtoMessage ¶
func (*RegisteredData) ProtoMessage()
func (*RegisteredData) ProtoReflect ¶
func (x *RegisteredData) ProtoReflect() protoreflect.Message
func (*RegisteredData) Reset ¶
func (x *RegisteredData) Reset()
func (*RegisteredData) String ¶
func (x *RegisteredData) String() string
type RejectReason ¶
type RejectReason struct { // Types that are assignable to Reason: // // *RejectReason_ModuleNotWf // *RejectReason_ModuleHashAlreadyExists // *RejectReason_InvalidAccountReference // *RejectReason_InvalidInitMethod_ // *RejectReason_InvalidReceiveMethod_ // *RejectReason_InvalidModuleReference // *RejectReason_InvalidContractAddress // *RejectReason_RuntimeFailure // *RejectReason_AmountTooLarge_ // *RejectReason_SerializationFailure // *RejectReason_OutOfEnergy // *RejectReason_RejectedInit_ // *RejectReason_RejectedReceive_ // *RejectReason_InvalidProof // *RejectReason_AlreadyABaker // *RejectReason_NotABaker // *RejectReason_InsufficientBalanceForBakerStake // *RejectReason_StakeUnderMinimumThresholdForBaking // *RejectReason_BakerInCooldown // *RejectReason_DuplicateAggregationKey // *RejectReason_NonExistentCredentialId // *RejectReason_KeyIndexAlreadyInUse // *RejectReason_InvalidAccountThreshold // *RejectReason_InvalidCredentialKeySignThreshold // *RejectReason_InvalidEncryptedAmountTransferProof // *RejectReason_InvalidTransferToPublicProof // *RejectReason_EncryptedAmountSelfTransfer // *RejectReason_InvalidIndexOnEncryptedTransfer // *RejectReason_ZeroScheduledAmount // *RejectReason_NonIncreasingSchedule // *RejectReason_FirstScheduledReleaseExpired // *RejectReason_ScheduledSelfTransfer // *RejectReason_InvalidCredentials // *RejectReason_DuplicateCredIds_ // *RejectReason_NonExistentCredIds_ // *RejectReason_RemoveFirstCredential // *RejectReason_CredentialHolderDidNotSign // *RejectReason_NotAllowedMultipleCredentials // *RejectReason_NotAllowedToReceiveEncrypted // *RejectReason_NotAllowedToHandleEncrypted // *RejectReason_MissingBakerAddParameters // *RejectReason_FinalizationRewardCommissionNotInRange // *RejectReason_BakingRewardCommissionNotInRange // *RejectReason_TransactionFeeCommissionNotInRange // *RejectReason_AlreadyADelegator // *RejectReason_InsufficientBalanceForDelegationStake // *RejectReason_MissingDelegationAddParameters // *RejectReason_InsufficientDelegationStake // *RejectReason_DelegatorInCooldown // *RejectReason_NotADelegator // *RejectReason_DelegationTargetNotABaker // *RejectReason_StakeOverMaximumThresholdForPool // *RejectReason_PoolWouldBecomeOverDelegated // *RejectReason_PoolClosed Reason isRejectReason_Reason `protobuf_oneof:"reason"` // contains filtered or unexported fields }
A reason for why a transaction was rejected. Rejected means included in a block, but the desired action was not achieved. The only effect of a rejected transaction is payment.
func (*RejectReason) Descriptor
deprecated
func (*RejectReason) Descriptor() ([]byte, []int)
Deprecated: Use RejectReason.ProtoReflect.Descriptor instead.
func (*RejectReason) GetAlreadyABaker ¶
func (x *RejectReason) GetAlreadyABaker() *BakerId
func (*RejectReason) GetAlreadyADelegator ¶
func (x *RejectReason) GetAlreadyADelegator() *Empty
func (*RejectReason) GetAmountTooLarge ¶
func (x *RejectReason) GetAmountTooLarge() *RejectReason_AmountTooLarge
func (*RejectReason) GetBakerInCooldown ¶
func (x *RejectReason) GetBakerInCooldown() *Empty
func (*RejectReason) GetBakingRewardCommissionNotInRange ¶
func (x *RejectReason) GetBakingRewardCommissionNotInRange() *Empty
func (*RejectReason) GetCredentialHolderDidNotSign ¶
func (x *RejectReason) GetCredentialHolderDidNotSign() *Empty
func (*RejectReason) GetDelegationTargetNotABaker ¶
func (x *RejectReason) GetDelegationTargetNotABaker() *BakerId
func (*RejectReason) GetDelegatorInCooldown ¶
func (x *RejectReason) GetDelegatorInCooldown() *Empty
func (*RejectReason) GetDuplicateAggregationKey ¶
func (x *RejectReason) GetDuplicateAggregationKey() *BakerAggregationVerifyKey
func (*RejectReason) GetDuplicateCredIds ¶
func (x *RejectReason) GetDuplicateCredIds() *RejectReason_DuplicateCredIds
func (*RejectReason) GetEncryptedAmountSelfTransfer ¶
func (x *RejectReason) GetEncryptedAmountSelfTransfer() *AccountAddress
func (*RejectReason) GetFinalizationRewardCommissionNotInRange ¶
func (x *RejectReason) GetFinalizationRewardCommissionNotInRange() *Empty
func (*RejectReason) GetFirstScheduledReleaseExpired ¶
func (x *RejectReason) GetFirstScheduledReleaseExpired() *Empty
func (*RejectReason) GetInsufficientBalanceForBakerStake ¶
func (x *RejectReason) GetInsufficientBalanceForBakerStake() *Empty
func (*RejectReason) GetInsufficientBalanceForDelegationStake ¶
func (x *RejectReason) GetInsufficientBalanceForDelegationStake() *Empty
func (*RejectReason) GetInsufficientDelegationStake ¶
func (x *RejectReason) GetInsufficientDelegationStake() *Empty
func (*RejectReason) GetInvalidAccountReference ¶
func (x *RejectReason) GetInvalidAccountReference() *AccountAddress
func (*RejectReason) GetInvalidAccountThreshold ¶
func (x *RejectReason) GetInvalidAccountThreshold() *Empty
func (*RejectReason) GetInvalidContractAddress ¶
func (x *RejectReason) GetInvalidContractAddress() *ContractAddress
func (*RejectReason) GetInvalidCredentialKeySignThreshold ¶
func (x *RejectReason) GetInvalidCredentialKeySignThreshold() *Empty
func (*RejectReason) GetInvalidCredentials ¶
func (x *RejectReason) GetInvalidCredentials() *Empty
func (*RejectReason) GetInvalidEncryptedAmountTransferProof ¶
func (x *RejectReason) GetInvalidEncryptedAmountTransferProof() *Empty
func (*RejectReason) GetInvalidIndexOnEncryptedTransfer ¶
func (x *RejectReason) GetInvalidIndexOnEncryptedTransfer() *Empty
func (*RejectReason) GetInvalidInitMethod ¶
func (x *RejectReason) GetInvalidInitMethod() *RejectReason_InvalidInitMethod
func (*RejectReason) GetInvalidModuleReference ¶
func (x *RejectReason) GetInvalidModuleReference() *ModuleRef
func (*RejectReason) GetInvalidProof ¶
func (x *RejectReason) GetInvalidProof() *Empty
func (*RejectReason) GetInvalidReceiveMethod ¶
func (x *RejectReason) GetInvalidReceiveMethod() *RejectReason_InvalidReceiveMethod
func (*RejectReason) GetInvalidTransferToPublicProof ¶
func (x *RejectReason) GetInvalidTransferToPublicProof() *Empty
func (*RejectReason) GetKeyIndexAlreadyInUse ¶
func (x *RejectReason) GetKeyIndexAlreadyInUse() *Empty
func (*RejectReason) GetMissingBakerAddParameters ¶
func (x *RejectReason) GetMissingBakerAddParameters() *Empty
func (*RejectReason) GetMissingDelegationAddParameters ¶
func (x *RejectReason) GetMissingDelegationAddParameters() *Empty
func (*RejectReason) GetModuleHashAlreadyExists ¶
func (x *RejectReason) GetModuleHashAlreadyExists() *ModuleRef
func (*RejectReason) GetModuleNotWf ¶
func (x *RejectReason) GetModuleNotWf() *Empty
func (*RejectReason) GetNonExistentCredIds ¶
func (x *RejectReason) GetNonExistentCredIds() *RejectReason_NonExistentCredIds
func (*RejectReason) GetNonExistentCredentialId ¶
func (x *RejectReason) GetNonExistentCredentialId() *Empty
func (*RejectReason) GetNonIncreasingSchedule ¶
func (x *RejectReason) GetNonIncreasingSchedule() *Empty
func (*RejectReason) GetNotABaker ¶
func (x *RejectReason) GetNotABaker() *AccountAddress
func (*RejectReason) GetNotADelegator ¶
func (x *RejectReason) GetNotADelegator() *AccountAddress
func (*RejectReason) GetNotAllowedMultipleCredentials ¶
func (x *RejectReason) GetNotAllowedMultipleCredentials() *Empty
func (*RejectReason) GetNotAllowedToHandleEncrypted ¶
func (x *RejectReason) GetNotAllowedToHandleEncrypted() *Empty
func (*RejectReason) GetNotAllowedToReceiveEncrypted ¶
func (x *RejectReason) GetNotAllowedToReceiveEncrypted() *Empty
func (*RejectReason) GetOutOfEnergy ¶
func (x *RejectReason) GetOutOfEnergy() *Empty
func (*RejectReason) GetPoolClosed ¶
func (x *RejectReason) GetPoolClosed() *Empty
func (*RejectReason) GetPoolWouldBecomeOverDelegated ¶
func (x *RejectReason) GetPoolWouldBecomeOverDelegated() *Empty
func (*RejectReason) GetReason ¶
func (m *RejectReason) GetReason() isRejectReason_Reason
func (*RejectReason) GetRejectedInit ¶
func (x *RejectReason) GetRejectedInit() *RejectReason_RejectedInit
func (*RejectReason) GetRejectedReceive ¶
func (x *RejectReason) GetRejectedReceive() *RejectReason_RejectedReceive
func (*RejectReason) GetRemoveFirstCredential ¶
func (x *RejectReason) GetRemoveFirstCredential() *Empty
func (*RejectReason) GetRuntimeFailure ¶
func (x *RejectReason) GetRuntimeFailure() *Empty
func (*RejectReason) GetScheduledSelfTransfer ¶
func (x *RejectReason) GetScheduledSelfTransfer() *AccountAddress
func (*RejectReason) GetSerializationFailure ¶
func (x *RejectReason) GetSerializationFailure() *Empty
func (*RejectReason) GetStakeOverMaximumThresholdForPool ¶
func (x *RejectReason) GetStakeOverMaximumThresholdForPool() *Empty
func (*RejectReason) GetStakeUnderMinimumThresholdForBaking ¶
func (x *RejectReason) GetStakeUnderMinimumThresholdForBaking() *Empty
func (*RejectReason) GetTransactionFeeCommissionNotInRange ¶
func (x *RejectReason) GetTransactionFeeCommissionNotInRange() *Empty
func (*RejectReason) GetZeroScheduledAmount ¶
func (x *RejectReason) GetZeroScheduledAmount() *Empty
func (*RejectReason) ProtoMessage ¶
func (*RejectReason) ProtoMessage()
func (*RejectReason) ProtoReflect ¶
func (x *RejectReason) ProtoReflect() protoreflect.Message
func (*RejectReason) Reset ¶
func (x *RejectReason) Reset()
func (*RejectReason) String ¶
func (x *RejectReason) String() string
type RejectReason_AlreadyABaker ¶
type RejectReason_AlreadyABaker struct { // Tried to add baker for an account that already has a baker. AlreadyABaker *BakerId `protobuf:"bytes,15,opt,name=already_a_baker,json=alreadyABaker,proto3,oneof"` }
type RejectReason_AlreadyADelegator ¶
type RejectReason_AlreadyADelegator struct { // Tried to add baker for an account that already has a delegator. AlreadyADelegator *Empty `protobuf:"bytes,45,opt,name=already_a_delegator,json=alreadyADelegator,proto3,oneof"` }
type RejectReason_AmountTooLarge ¶
type RejectReason_AmountTooLarge struct { Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Amount *Amount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*RejectReason_AmountTooLarge) Descriptor
deprecated
func (*RejectReason_AmountTooLarge) Descriptor() ([]byte, []int)
Deprecated: Use RejectReason_AmountTooLarge.ProtoReflect.Descriptor instead.
func (*RejectReason_AmountTooLarge) GetAddress ¶
func (x *RejectReason_AmountTooLarge) GetAddress() *Address
func (*RejectReason_AmountTooLarge) GetAmount ¶
func (x *RejectReason_AmountTooLarge) GetAmount() *Amount
func (*RejectReason_AmountTooLarge) ProtoMessage ¶
func (*RejectReason_AmountTooLarge) ProtoMessage()
func (*RejectReason_AmountTooLarge) ProtoReflect ¶
func (x *RejectReason_AmountTooLarge) ProtoReflect() protoreflect.Message
func (*RejectReason_AmountTooLarge) Reset ¶
func (x *RejectReason_AmountTooLarge) Reset()
func (*RejectReason_AmountTooLarge) String ¶
func (x *RejectReason_AmountTooLarge) String() string
type RejectReason_AmountTooLarge_ ¶
type RejectReason_AmountTooLarge_ struct { // When one wishes to transfer an amount from A to B but there // are not enough funds on account/contract A to make this // possible. The data are the from address and the amount to transfer. AmountTooLarge *RejectReason_AmountTooLarge `protobuf:"bytes,9,opt,name=amount_too_large,json=amountTooLarge,proto3,oneof"` }
type RejectReason_BakerInCooldown ¶
type RejectReason_BakerInCooldown struct { // The change could not be made because the baker is in cooldown for // another change. BakerInCooldown *Empty `protobuf:"bytes,19,opt,name=baker_in_cooldown,json=bakerInCooldown,proto3,oneof"` }
type RejectReason_BakingRewardCommissionNotInRange ¶
type RejectReason_BakingRewardCommissionNotInRange struct { // Baking reward commission is not in the valid range for a baker. BakingRewardCommissionNotInRange *Empty `protobuf:"bytes,43,opt,name=baking_reward_commission_not_in_range,json=bakingRewardCommissionNotInRange,proto3,oneof"` }
type RejectReason_CredentialHolderDidNotSign ¶
type RejectReason_CredentialHolderDidNotSign struct { // The credential holder of the keys to be updated did not sign the // transaction. CredentialHolderDidNotSign *Empty `protobuf:"bytes,37,opt,name=credential_holder_did_not_sign,json=credentialHolderDidNotSign,proto3,oneof"` }
type RejectReason_DelegationTargetNotABaker ¶
type RejectReason_DelegationTargetNotABaker struct { // Delegation target is not a baker DelegationTargetNotABaker *BakerId `protobuf:"bytes,51,opt,name=delegation_target_not_a_baker,json=delegationTargetNotABaker,proto3,oneof"` }
type RejectReason_DelegatorInCooldown ¶
type RejectReason_DelegatorInCooldown struct { // Account is not a delegation account. DelegatorInCooldown *Empty `protobuf:"bytes,49,opt,name=delegator_in_cooldown,json=delegatorInCooldown,proto3,oneof"` }
type RejectReason_DuplicateAggregationKey ¶
type RejectReason_DuplicateAggregationKey struct { // A baker with the given aggregation key already exists. DuplicateAggregationKey *BakerAggregationVerifyKey `protobuf:"bytes,20,opt,name=duplicate_aggregation_key,json=duplicateAggregationKey,proto3,oneof"` }
type RejectReason_DuplicateCredIds ¶
type RejectReason_DuplicateCredIds struct { Ids []*CredentialRegistrationId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*RejectReason_DuplicateCredIds) Descriptor
deprecated
func (*RejectReason_DuplicateCredIds) Descriptor() ([]byte, []int)
Deprecated: Use RejectReason_DuplicateCredIds.ProtoReflect.Descriptor instead.
func (*RejectReason_DuplicateCredIds) GetIds ¶
func (x *RejectReason_DuplicateCredIds) GetIds() []*CredentialRegistrationId
func (*RejectReason_DuplicateCredIds) ProtoMessage ¶
func (*RejectReason_DuplicateCredIds) ProtoMessage()
func (*RejectReason_DuplicateCredIds) ProtoReflect ¶
func (x *RejectReason_DuplicateCredIds) ProtoReflect() protoreflect.Message
func (*RejectReason_DuplicateCredIds) Reset ¶
func (x *RejectReason_DuplicateCredIds) Reset()
func (*RejectReason_DuplicateCredIds) String ¶
func (x *RejectReason_DuplicateCredIds) String() string
type RejectReason_DuplicateCredIds_ ¶
type RejectReason_DuplicateCredIds_ struct { // Some of the credential IDs already exist or are duplicated in the // transaction. DuplicateCredIds *RejectReason_DuplicateCredIds `protobuf:"bytes,34,opt,name=duplicate_cred_ids,json=duplicateCredIds,proto3,oneof"` }
type RejectReason_EncryptedAmountSelfTransfer ¶
type RejectReason_EncryptedAmountSelfTransfer struct { // Account tried to transfer an encrypted amount to itself, that's not // allowed. EncryptedAmountSelfTransfer *AccountAddress `protobuf:"bytes,27,opt,name=encrypted_amount_self_transfer,json=encryptedAmountSelfTransfer,proto3,oneof"` }
type RejectReason_FinalizationRewardCommissionNotInRange ¶
type RejectReason_FinalizationRewardCommissionNotInRange struct { // Finalization reward commission is not in the valid range for a baker. FinalizationRewardCommissionNotInRange *Empty `` /* 129-byte string literal not displayed */ }
type RejectReason_FirstScheduledReleaseExpired ¶
type RejectReason_FirstScheduledReleaseExpired struct { // The first scheduled release in a transfer with schedule has already // expired. FirstScheduledReleaseExpired *Empty `protobuf:"bytes,31,opt,name=first_scheduled_release_expired,json=firstScheduledReleaseExpired,proto3,oneof"` }
type RejectReason_InsufficientBalanceForBakerStake ¶
type RejectReason_InsufficientBalanceForBakerStake struct { // The amount on the account was insufficient to cover the proposed stake. InsufficientBalanceForBakerStake *Empty `protobuf:"bytes,17,opt,name=insufficient_balance_for_baker_stake,json=insufficientBalanceForBakerStake,proto3,oneof"` }
type RejectReason_InsufficientBalanceForDelegationStake ¶
type RejectReason_InsufficientBalanceForDelegationStake struct { // The amount on the account was insufficient to cover the proposed stake. InsufficientBalanceForDelegationStake *Empty `` /* 126-byte string literal not displayed */ }
type RejectReason_InsufficientDelegationStake ¶
type RejectReason_InsufficientDelegationStake struct { // Delegation stake when adding a delegator was 0. InsufficientDelegationStake *Empty `protobuf:"bytes,48,opt,name=insufficient_delegation_stake,json=insufficientDelegationStake,proto3,oneof"` }
type RejectReason_InvalidAccountReference ¶
type RejectReason_InvalidAccountReference struct { // Account does not exist. InvalidAccountReference *AccountAddress `protobuf:"bytes,3,opt,name=invalid_account_reference,json=invalidAccountReference,proto3,oneof"` }
type RejectReason_InvalidAccountThreshold ¶
type RejectReason_InvalidAccountThreshold struct { // When the account threshold is updated, it must not exceed the amount of // existing keys. InvalidAccountThreshold *Empty `protobuf:"bytes,23,opt,name=invalid_account_threshold,json=invalidAccountThreshold,proto3,oneof"` }
type RejectReason_InvalidContractAddress ¶
type RejectReason_InvalidContractAddress struct { // Contract instance does not exist. InvalidContractAddress *ContractAddress `protobuf:"bytes,7,opt,name=invalid_contract_address,json=invalidContractAddress,proto3,oneof"` }
type RejectReason_InvalidCredentialKeySignThreshold ¶
type RejectReason_InvalidCredentialKeySignThreshold struct { // When the credential key threshold is updated, it must not exceed the // amount of existing keys. InvalidCredentialKeySignThreshold *Empty `protobuf:"bytes,24,opt,name=invalid_credential_key_sign_threshold,json=invalidCredentialKeySignThreshold,proto3,oneof"` }
type RejectReason_InvalidCredentials ¶
type RejectReason_InvalidCredentials struct { // At least one of the credentials was either malformed or its proof was // incorrect. InvalidCredentials *Empty `protobuf:"bytes,33,opt,name=invalid_credentials,json=invalidCredentials,proto3,oneof"` }
type RejectReason_InvalidEncryptedAmountTransferProof ¶
type RejectReason_InvalidEncryptedAmountTransferProof struct { // Proof for an encrypted amount transfer did not validate. InvalidEncryptedAmountTransferProof *Empty `protobuf:"bytes,25,opt,name=invalid_encrypted_amount_transfer_proof,json=invalidEncryptedAmountTransferProof,proto3,oneof"` }
type RejectReason_InvalidIndexOnEncryptedTransfer ¶
type RejectReason_InvalidIndexOnEncryptedTransfer struct { // The provided index is below the start index or above `startIndex + // length incomingAmounts`. InvalidIndexOnEncryptedTransfer *Empty `protobuf:"bytes,28,opt,name=invalid_index_on_encrypted_transfer,json=invalidIndexOnEncryptedTransfer,proto3,oneof"` }
type RejectReason_InvalidInitMethod ¶
type RejectReason_InvalidInitMethod struct { ModuleRef *ModuleRef `protobuf:"bytes,1,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"` InitName *InitName `protobuf:"bytes,2,opt,name=init_name,json=initName,proto3" json:"init_name,omitempty"` // contains filtered or unexported fields }
func (*RejectReason_InvalidInitMethod) Descriptor
deprecated
func (*RejectReason_InvalidInitMethod) Descriptor() ([]byte, []int)
Deprecated: Use RejectReason_InvalidInitMethod.ProtoReflect.Descriptor instead.
func (*RejectReason_InvalidInitMethod) GetInitName ¶
func (x *RejectReason_InvalidInitMethod) GetInitName() *InitName
func (*RejectReason_InvalidInitMethod) GetModuleRef ¶
func (x *RejectReason_InvalidInitMethod) GetModuleRef() *ModuleRef
func (*RejectReason_InvalidInitMethod) ProtoMessage ¶
func (*RejectReason_InvalidInitMethod) ProtoMessage()
func (*RejectReason_InvalidInitMethod) ProtoReflect ¶
func (x *RejectReason_InvalidInitMethod) ProtoReflect() protoreflect.Message
func (*RejectReason_InvalidInitMethod) Reset ¶
func (x *RejectReason_InvalidInitMethod) Reset()
func (*RejectReason_InvalidInitMethod) String ¶
func (x *RejectReason_InvalidInitMethod) String() string
type RejectReason_InvalidInitMethod_ ¶
type RejectReason_InvalidInitMethod_ struct { // Reference to a non-existing contract init method. InvalidInitMethod *RejectReason_InvalidInitMethod `protobuf:"bytes,4,opt,name=invalid_init_method,json=invalidInitMethod,proto3,oneof"` }
type RejectReason_InvalidModuleReference ¶
type RejectReason_InvalidModuleReference struct { // Reference to a non-existing smart contract module. InvalidModuleReference *ModuleRef `protobuf:"bytes,6,opt,name=invalid_module_reference,json=invalidModuleReference,proto3,oneof"` }
type RejectReason_InvalidProof ¶
type RejectReason_InvalidProof struct { // Proof that the baker owns relevant private keys is not valid. InvalidProof *Empty `protobuf:"bytes,14,opt,name=invalid_proof,json=invalidProof,proto3,oneof"` }
type RejectReason_InvalidReceiveMethod ¶
type RejectReason_InvalidReceiveMethod struct { ModuleRef *ModuleRef `protobuf:"bytes,1,opt,name=module_ref,json=moduleRef,proto3" json:"module_ref,omitempty"` ReceiveName *ReceiveName `protobuf:"bytes,2,opt,name=receive_name,json=receiveName,proto3" json:"receive_name,omitempty"` // contains filtered or unexported fields }
func (*RejectReason_InvalidReceiveMethod) Descriptor
deprecated
func (*RejectReason_InvalidReceiveMethod) Descriptor() ([]byte, []int)
Deprecated: Use RejectReason_InvalidReceiveMethod.ProtoReflect.Descriptor instead.
func (*RejectReason_InvalidReceiveMethod) GetModuleRef ¶
func (x *RejectReason_InvalidReceiveMethod) GetModuleRef() *ModuleRef
func (*RejectReason_InvalidReceiveMethod) GetReceiveName ¶
func (x *RejectReason_InvalidReceiveMethod) GetReceiveName() *ReceiveName
func (*RejectReason_InvalidReceiveMethod) ProtoMessage ¶
func (*RejectReason_InvalidReceiveMethod) ProtoMessage()
func (*RejectReason_InvalidReceiveMethod) ProtoReflect ¶
func (x *RejectReason_InvalidReceiveMethod) ProtoReflect() protoreflect.Message
func (*RejectReason_InvalidReceiveMethod) Reset ¶
func (x *RejectReason_InvalidReceiveMethod) Reset()
func (*RejectReason_InvalidReceiveMethod) String ¶
func (x *RejectReason_InvalidReceiveMethod) String() string
type RejectReason_InvalidReceiveMethod_ ¶
type RejectReason_InvalidReceiveMethod_ struct { // Reference to a non-existing contract receive method. InvalidReceiveMethod *RejectReason_InvalidReceiveMethod `protobuf:"bytes,5,opt,name=invalid_receive_method,json=invalidReceiveMethod,proto3,oneof"` }
type RejectReason_InvalidTransferToPublicProof ¶
type RejectReason_InvalidTransferToPublicProof struct { // Proof for a secret to public transfer did not validate. InvalidTransferToPublicProof *Empty `protobuf:"bytes,26,opt,name=invalid_transfer_to_public_proof,json=invalidTransferToPublicProof,proto3,oneof"` }
type RejectReason_KeyIndexAlreadyInUse ¶
type RejectReason_KeyIndexAlreadyInUse struct { // Attempted to add an account key to a key index already in use. KeyIndexAlreadyInUse *Empty `protobuf:"bytes,22,opt,name=key_index_already_in_use,json=keyIndexAlreadyInUse,proto3,oneof"` }
type RejectReason_MissingBakerAddParameters ¶
type RejectReason_MissingBakerAddParameters struct { // A configure baker transaction is missing one or more arguments in order // to add a baker. MissingBakerAddParameters *Empty `protobuf:"bytes,41,opt,name=missing_baker_add_parameters,json=missingBakerAddParameters,proto3,oneof"` }
type RejectReason_MissingDelegationAddParameters ¶
type RejectReason_MissingDelegationAddParameters struct { // A configure delegation transaction is missing one or more arguments in // order to add a delegator. MissingDelegationAddParameters *Empty `protobuf:"bytes,47,opt,name=missing_delegation_add_parameters,json=missingDelegationAddParameters,proto3,oneof"` }
type RejectReason_ModuleHashAlreadyExists ¶
type RejectReason_ModuleHashAlreadyExists struct { // The smart contract module hash already exists. ModuleHashAlreadyExists *ModuleRef `protobuf:"bytes,2,opt,name=module_hash_already_exists,json=moduleHashAlreadyExists,proto3,oneof"` }
type RejectReason_ModuleNotWf ¶
type RejectReason_ModuleNotWf struct { // Raised while validating a Wasm module that is not well formed. ModuleNotWf *Empty `protobuf:"bytes,1,opt,name=module_not_wf,json=moduleNotWf,proto3,oneof"` }
type RejectReason_NonExistentCredIds ¶
type RejectReason_NonExistentCredIds struct { Ids []*CredentialRegistrationId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*RejectReason_NonExistentCredIds) Descriptor
deprecated
func (*RejectReason_NonExistentCredIds) Descriptor() ([]byte, []int)
Deprecated: Use RejectReason_NonExistentCredIds.ProtoReflect.Descriptor instead.
func (*RejectReason_NonExistentCredIds) GetIds ¶
func (x *RejectReason_NonExistentCredIds) GetIds() []*CredentialRegistrationId
func (*RejectReason_NonExistentCredIds) ProtoMessage ¶
func (*RejectReason_NonExistentCredIds) ProtoMessage()
func (*RejectReason_NonExistentCredIds) ProtoReflect ¶
func (x *RejectReason_NonExistentCredIds) ProtoReflect() protoreflect.Message
func (*RejectReason_NonExistentCredIds) Reset ¶
func (x *RejectReason_NonExistentCredIds) Reset()
func (*RejectReason_NonExistentCredIds) String ¶
func (x *RejectReason_NonExistentCredIds) String() string
type RejectReason_NonExistentCredIds_ ¶
type RejectReason_NonExistentCredIds_ struct { // A credential id that was to be removed is not part of the account. NonExistentCredIds *RejectReason_NonExistentCredIds `protobuf:"bytes,35,opt,name=non_existent_cred_ids,json=nonExistentCredIds,proto3,oneof"` }
type RejectReason_NonExistentCredentialId ¶
type RejectReason_NonExistentCredentialId struct { // Encountered credential ID that does not exist. NonExistentCredentialId *Empty `protobuf:"bytes,21,opt,name=non_existent_credential_id,json=nonExistentCredentialId,proto3,oneof"` }
type RejectReason_NonIncreasingSchedule ¶
type RejectReason_NonIncreasingSchedule struct { // The transfer with schedule has a non strictly increasing schedule. NonIncreasingSchedule *Empty `protobuf:"bytes,30,opt,name=non_increasing_schedule,json=nonIncreasingSchedule,proto3,oneof"` }
type RejectReason_NotABaker ¶
type RejectReason_NotABaker struct { // Tried to remove a baker for an account that has no baker. NotABaker *AccountAddress `protobuf:"bytes,16,opt,name=not_a_baker,json=notABaker,proto3,oneof"` }
type RejectReason_NotADelegator ¶
type RejectReason_NotADelegator struct { // Account is not a delegation account. NotADelegator *AccountAddress `protobuf:"bytes,50,opt,name=not_a_delegator,json=notADelegator,proto3,oneof"` }
type RejectReason_NotAllowedMultipleCredentials ¶
type RejectReason_NotAllowedMultipleCredentials struct { // Account is not allowed to have multiple credentials because it contains // a non-zero encrypted transfer. NotAllowedMultipleCredentials *Empty `protobuf:"bytes,38,opt,name=not_allowed_multiple_credentials,json=notAllowedMultipleCredentials,proto3,oneof"` }
type RejectReason_NotAllowedToHandleEncrypted ¶
type RejectReason_NotAllowedToHandleEncrypted struct { // The account is not allowed to send encrypted transfers (or transfer // from/to public to/from encrypted). NotAllowedToHandleEncrypted *Empty `protobuf:"bytes,40,opt,name=not_allowed_to_handle_encrypted,json=notAllowedToHandleEncrypted,proto3,oneof"` }
type RejectReason_NotAllowedToReceiveEncrypted ¶
type RejectReason_NotAllowedToReceiveEncrypted struct { // The account is not allowed to receive encrypted transfers because it has // multiple credentials. NotAllowedToReceiveEncrypted *Empty `protobuf:"bytes,39,opt,name=not_allowed_to_receive_encrypted,json=notAllowedToReceiveEncrypted,proto3,oneof"` }
type RejectReason_OutOfEnergy ¶
type RejectReason_OutOfEnergy struct { // We ran of out energy to process this transaction. OutOfEnergy *Empty `protobuf:"bytes,11,opt,name=out_of_energy,json=outOfEnergy,proto3,oneof"` }
type RejectReason_PoolClosed ¶
type RejectReason_PoolClosed struct { // The pool is not open to delegators. PoolClosed *Empty `protobuf:"bytes,54,opt,name=pool_closed,json=poolClosed,proto3,oneof"` }
type RejectReason_PoolWouldBecomeOverDelegated ¶
type RejectReason_PoolWouldBecomeOverDelegated struct { // The amount would result in pool with a too high fraction of delegated // capital. PoolWouldBecomeOverDelegated *Empty `protobuf:"bytes,53,opt,name=pool_would_become_over_delegated,json=poolWouldBecomeOverDelegated,proto3,oneof"` }
type RejectReason_RejectedInit ¶
type RejectReason_RejectedInit struct { RejectReason int32 `protobuf:"varint,1,opt,name=reject_reason,json=rejectReason,proto3" json:"reject_reason,omitempty"` // contains filtered or unexported fields }
func (*RejectReason_RejectedInit) Descriptor
deprecated
func (*RejectReason_RejectedInit) Descriptor() ([]byte, []int)
Deprecated: Use RejectReason_RejectedInit.ProtoReflect.Descriptor instead.
func (*RejectReason_RejectedInit) GetRejectReason ¶
func (x *RejectReason_RejectedInit) GetRejectReason() int32
func (*RejectReason_RejectedInit) ProtoMessage ¶
func (*RejectReason_RejectedInit) ProtoMessage()
func (*RejectReason_RejectedInit) ProtoReflect ¶
func (x *RejectReason_RejectedInit) ProtoReflect() protoreflect.Message
func (*RejectReason_RejectedInit) Reset ¶
func (x *RejectReason_RejectedInit) Reset()
func (*RejectReason_RejectedInit) String ¶
func (x *RejectReason_RejectedInit) String() string
type RejectReason_RejectedInit_ ¶
type RejectReason_RejectedInit_ struct { // Rejected due to contract logic in init function of a contract. RejectedInit *RejectReason_RejectedInit `protobuf:"bytes,12,opt,name=rejected_init,json=rejectedInit,proto3,oneof"` }
type RejectReason_RejectedReceive ¶
type RejectReason_RejectedReceive struct { RejectReason int32 `protobuf:"varint,1,opt,name=reject_reason,json=rejectReason,proto3" json:"reject_reason,omitempty"` ContractAddress *ContractAddress `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` ReceiveName *ReceiveName `protobuf:"bytes,3,opt,name=receive_name,json=receiveName,proto3" json:"receive_name,omitempty"` Parameter *Parameter `protobuf:"bytes,4,opt,name=parameter,proto3" json:"parameter,omitempty"` // contains filtered or unexported fields }
func (*RejectReason_RejectedReceive) Descriptor
deprecated
func (*RejectReason_RejectedReceive) Descriptor() ([]byte, []int)
Deprecated: Use RejectReason_RejectedReceive.ProtoReflect.Descriptor instead.
func (*RejectReason_RejectedReceive) GetContractAddress ¶
func (x *RejectReason_RejectedReceive) GetContractAddress() *ContractAddress
func (*RejectReason_RejectedReceive) GetParameter ¶
func (x *RejectReason_RejectedReceive) GetParameter() *Parameter
func (*RejectReason_RejectedReceive) GetReceiveName ¶
func (x *RejectReason_RejectedReceive) GetReceiveName() *ReceiveName
func (*RejectReason_RejectedReceive) GetRejectReason ¶
func (x *RejectReason_RejectedReceive) GetRejectReason() int32
func (*RejectReason_RejectedReceive) ProtoMessage ¶
func (*RejectReason_RejectedReceive) ProtoMessage()
func (*RejectReason_RejectedReceive) ProtoReflect ¶
func (x *RejectReason_RejectedReceive) ProtoReflect() protoreflect.Message
func (*RejectReason_RejectedReceive) Reset ¶
func (x *RejectReason_RejectedReceive) Reset()
func (*RejectReason_RejectedReceive) String ¶
func (x *RejectReason_RejectedReceive) String() string
type RejectReason_RejectedReceive_ ¶
type RejectReason_RejectedReceive_ struct { // Rejected due to contract logic in receive function of a contract. RejectedReceive *RejectReason_RejectedReceive `protobuf:"bytes,13,opt,name=rejected_receive,json=rejectedReceive,proto3,oneof"` }
type RejectReason_RemoveFirstCredential ¶
type RejectReason_RemoveFirstCredential struct { // Attemp to remove the first credential. RemoveFirstCredential *Empty `protobuf:"bytes,36,opt,name=remove_first_credential,json=removeFirstCredential,proto3,oneof"` }
type RejectReason_RuntimeFailure ¶
type RejectReason_RuntimeFailure struct { // Runtime exception occurred when running either the init or receive // method. RuntimeFailure *Empty `protobuf:"bytes,8,opt,name=runtime_failure,json=runtimeFailure,proto3,oneof"` }
type RejectReason_ScheduledSelfTransfer ¶
type RejectReason_ScheduledSelfTransfer struct { // Account tried to transfer with schedule to itself, that's not allowed. ScheduledSelfTransfer *AccountAddress `protobuf:"bytes,32,opt,name=scheduled_self_transfer,json=scheduledSelfTransfer,proto3,oneof"` }
type RejectReason_SerializationFailure ¶
type RejectReason_SerializationFailure struct { // Serialization of the body failed. SerializationFailure *Empty `protobuf:"bytes,10,opt,name=serialization_failure,json=serializationFailure,proto3,oneof"` }
type RejectReason_StakeOverMaximumThresholdForPool ¶
type RejectReason_StakeOverMaximumThresholdForPool struct { // The amount would result in pool capital higher than the maximum // threshold. StakeOverMaximumThresholdForPool *Empty `protobuf:"bytes,52,opt,name=stake_over_maximum_threshold_for_pool,json=stakeOverMaximumThresholdForPool,proto3,oneof"` }
type RejectReason_StakeUnderMinimumThresholdForBaking ¶
type RejectReason_StakeUnderMinimumThresholdForBaking struct { // The amount provided is under the threshold required for becoming a baker. StakeUnderMinimumThresholdForBaking *Empty `protobuf:"bytes,18,opt,name=stake_under_minimum_threshold_for_baking,json=stakeUnderMinimumThresholdForBaking,proto3,oneof"` }
type RejectReason_TransactionFeeCommissionNotInRange ¶
type RejectReason_TransactionFeeCommissionNotInRange struct { // Transaction fee commission is not in the valid range for a baker. TransactionFeeCommissionNotInRange *Empty `protobuf:"bytes,44,opt,name=transaction_fee_commission_not_in_range,json=transactionFeeCommissionNotInRange,proto3,oneof"` }
type RejectReason_ZeroScheduledAmount ¶
type RejectReason_ZeroScheduledAmount struct { // The transfer with schedule is going to send 0 tokens. ZeroScheduledAmount *Empty `protobuf:"bytes,29,opt,name=zero_scheduledAmount,json=zeroScheduledAmount,proto3,oneof"` }
type Release ¶
type Release struct { // Effective time of the release in milliseconds since unix epoch. Timestamp *Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Amount to be released. Amount *Amount `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // List of transaction hashes that contribute a balance to this release. Transactions []*TransactionHash `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"` // contains filtered or unexported fields }
An individual release of a locked balance.
func (*Release) Descriptor
deprecated
func (*Release) GetTimestamp ¶
func (*Release) GetTransactions ¶
func (x *Release) GetTransactions() []*TransactionHash
func (*Release) ProtoMessage ¶
func (*Release) ProtoMessage()
func (*Release) ProtoReflect ¶
func (x *Release) ProtoReflect() protoreflect.Message
type ReleaseSchedule ¶
type ReleaseSchedule struct { // Total amount locked in the release schedule. Total *Amount `protobuf:"bytes,1,opt,name=total,proto3" json:"total,omitempty"` // A list of releases, ordered by increasing timestamp. Schedules []*Release `protobuf:"bytes,2,rep,name=schedules,proto3" json:"schedules,omitempty"` // contains filtered or unexported fields }
State of the account's release schedule. This is the balance of the account that is owned by the account, but cannot be used until the release point.
func (*ReleaseSchedule) Descriptor
deprecated
func (*ReleaseSchedule) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseSchedule.ProtoReflect.Descriptor instead.
func (*ReleaseSchedule) GetSchedules ¶
func (x *ReleaseSchedule) GetSchedules() []*Release
func (*ReleaseSchedule) GetTotal ¶
func (x *ReleaseSchedule) GetTotal() *Amount
func (*ReleaseSchedule) ProtoMessage ¶
func (*ReleaseSchedule) ProtoMessage()
func (*ReleaseSchedule) ProtoReflect ¶
func (x *ReleaseSchedule) ProtoReflect() protoreflect.Message
func (*ReleaseSchedule) Reset ¶
func (x *ReleaseSchedule) Reset()
func (*ReleaseSchedule) String ¶
func (x *ReleaseSchedule) String() string
type RewardPeriodLength ¶
type RewardPeriodLength struct { Value *Epoch `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Length of a reward period in epochs. Must always be a strictly positive number.
func (*RewardPeriodLength) Descriptor
deprecated
func (*RewardPeriodLength) Descriptor() ([]byte, []int)
Deprecated: Use RewardPeriodLength.ProtoReflect.Descriptor instead.
func (*RewardPeriodLength) GetValue ¶
func (x *RewardPeriodLength) GetValue() *Epoch
func (*RewardPeriodLength) ProtoMessage ¶
func (*RewardPeriodLength) ProtoMessage()
func (*RewardPeriodLength) ProtoReflect ¶
func (x *RewardPeriodLength) ProtoReflect() protoreflect.Message
func (*RewardPeriodLength) Reset ¶
func (x *RewardPeriodLength) Reset()
func (*RewardPeriodLength) String ¶
func (x *RewardPeriodLength) String() string
type RootUpdate ¶
type RootUpdate struct { // Types that are assignable to UpdateType: // // *RootUpdate_RootKeysUpdate // *RootUpdate_Level_1KeysUpdate // *RootUpdate_Level_2KeysUpdateV0 // *RootUpdate_Level_2KeysUpdateV1 UpdateType isRootUpdate_UpdateType `protobuf_oneof:"update_type"` // contains filtered or unexported fields }
Root updates are the highest kind of key updates. They can update every other set of keys, even themselves. They can only be performed by Root level keys.
func (*RootUpdate) Descriptor
deprecated
func (*RootUpdate) Descriptor() ([]byte, []int)
Deprecated: Use RootUpdate.ProtoReflect.Descriptor instead.
func (*RootUpdate) GetLevel_1KeysUpdate ¶
func (x *RootUpdate) GetLevel_1KeysUpdate() *HigherLevelKeys
func (*RootUpdate) GetLevel_2KeysUpdateV0 ¶
func (x *RootUpdate) GetLevel_2KeysUpdateV0() *AuthorizationsV0
func (*RootUpdate) GetLevel_2KeysUpdateV1 ¶
func (x *RootUpdate) GetLevel_2KeysUpdateV1() *AuthorizationsV1
func (*RootUpdate) GetRootKeysUpdate ¶
func (x *RootUpdate) GetRootKeysUpdate() *HigherLevelKeys
func (*RootUpdate) GetUpdateType ¶
func (m *RootUpdate) GetUpdateType() isRootUpdate_UpdateType
func (*RootUpdate) ProtoMessage ¶
func (*RootUpdate) ProtoMessage()
func (*RootUpdate) ProtoReflect ¶
func (x *RootUpdate) ProtoReflect() protoreflect.Message
func (*RootUpdate) Reset ¶
func (x *RootUpdate) Reset()
func (*RootUpdate) String ¶
func (x *RootUpdate) String() string
type RootUpdate_Level_1KeysUpdate ¶
type RootUpdate_Level_1KeysUpdate struct { // The level 1 keys were updated. Level_1KeysUpdate *HigherLevelKeys `protobuf:"bytes,2,opt,name=level_1_keys_update,json=level1KeysUpdate,proto3,oneof"` }
type RootUpdate_Level_2KeysUpdateV0 ¶
type RootUpdate_Level_2KeysUpdateV0 struct { // The level 2 keys were updated. Level_2KeysUpdateV0 *AuthorizationsV0 `protobuf:"bytes,3,opt,name=level_2_keys_update_v0,json=level2KeysUpdateV0,proto3,oneof"` }
type RootUpdate_Level_2KeysUpdateV1 ¶
type RootUpdate_Level_2KeysUpdateV1 struct { // The level 2 keys were updated. This is similar to `level_2_keys_update_v0` except that a few more keys can be updated. Level_2KeysUpdateV1 *AuthorizationsV1 `protobuf:"bytes,4,opt,name=level_2_keys_update_v1,json=level2KeysUpdateV1,proto3,oneof"` }
type RootUpdate_RootKeysUpdate ¶
type RootUpdate_RootKeysUpdate struct { // The root keys were updated. RootKeysUpdate *HigherLevelKeys `protobuf:"bytes,1,opt,name=root_keys_update,json=rootKeysUpdate,proto3,oneof"` }
type Round ¶ added in v0.2.0
type Round struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A round.
func (*Round) Descriptor
deprecated
added in
v0.2.0
func (*Round) ProtoMessage ¶ added in v0.2.0
func (*Round) ProtoMessage()
func (*Round) ProtoReflect ¶ added in v0.2.0
func (x *Round) ProtoReflect() protoreflect.Message
type SendBlockItemRequest ¶
type SendBlockItemRequest struct { // Types that are assignable to BlockItem: // // *SendBlockItemRequest_AccountTransaction // *SendBlockItemRequest_CredentialDeployment // *SendBlockItemRequest_UpdateInstruction BlockItem isSendBlockItemRequest_BlockItem `protobuf_oneof:"block_item"` // contains filtered or unexported fields }
func (*SendBlockItemRequest) Descriptor
deprecated
func (*SendBlockItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendBlockItemRequest.ProtoReflect.Descriptor instead.
func (*SendBlockItemRequest) GetAccountTransaction ¶
func (x *SendBlockItemRequest) GetAccountTransaction() *AccountTransaction
func (*SendBlockItemRequest) GetBlockItem ¶
func (m *SendBlockItemRequest) GetBlockItem() isSendBlockItemRequest_BlockItem
func (*SendBlockItemRequest) GetCredentialDeployment ¶
func (x *SendBlockItemRequest) GetCredentialDeployment() *CredentialDeployment
func (*SendBlockItemRequest) GetUpdateInstruction ¶
func (x *SendBlockItemRequest) GetUpdateInstruction() *UpdateInstruction
func (*SendBlockItemRequest) ProtoMessage ¶
func (*SendBlockItemRequest) ProtoMessage()
func (*SendBlockItemRequest) ProtoReflect ¶
func (x *SendBlockItemRequest) ProtoReflect() protoreflect.Message
func (*SendBlockItemRequest) Reset ¶
func (x *SendBlockItemRequest) Reset()
func (*SendBlockItemRequest) String ¶
func (x *SendBlockItemRequest) String() string
type SendBlockItemRequest_AccountTransaction ¶
type SendBlockItemRequest_AccountTransaction struct { // Account transactions are messages which are signed and paid for by an account. AccountTransaction *AccountTransaction `protobuf:"bytes,1,opt,name=account_transaction,json=accountTransaction,proto3,oneof"` }
type SendBlockItemRequest_CredentialDeployment ¶
type SendBlockItemRequest_CredentialDeployment struct { // Credential deployments create new accounts. They are not paid for // directly by the sender. Instead, bakers are rewarded by the protocol for // including them. CredentialDeployment *CredentialDeployment `protobuf:"bytes,2,opt,name=credential_deployment,json=credentialDeployment,proto3,oneof"` }
type SendBlockItemRequest_UpdateInstruction ¶
type SendBlockItemRequest_UpdateInstruction struct { // Update instructions are messages which can update the chain parameters. Including which keys are allowed // to make future update instructions. UpdateInstruction *UpdateInstruction `protobuf:"bytes,3,opt,name=update_instruction,json=updateInstruction,proto3,oneof"` }
type SequenceNumber ¶
type SequenceNumber struct { // The sequence number. Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A sequence number that determines the ordering of transactions from the account. The minimum sequence number is 1.
func (*SequenceNumber) Descriptor
deprecated
func (*SequenceNumber) Descriptor() ([]byte, []int)
Deprecated: Use SequenceNumber.ProtoReflect.Descriptor instead.
func (*SequenceNumber) GetValue ¶
func (x *SequenceNumber) GetValue() uint64
func (*SequenceNumber) ProtoMessage ¶
func (*SequenceNumber) ProtoMessage()
func (*SequenceNumber) ProtoReflect ¶
func (x *SequenceNumber) ProtoReflect() protoreflect.Message
func (*SequenceNumber) Reset ¶
func (x *SequenceNumber) Reset()
func (*SequenceNumber) String ¶
func (x *SequenceNumber) String() string
type Sha256Hash ¶
type Sha256Hash struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A SHA256 hash. This is always 32 bytes long.
func (*Sha256Hash) Descriptor
deprecated
func (*Sha256Hash) Descriptor() ([]byte, []int)
Deprecated: Use Sha256Hash.ProtoReflect.Descriptor instead.
func (*Sha256Hash) GetValue ¶
func (x *Sha256Hash) GetValue() []byte
func (*Sha256Hash) ProtoMessage ¶
func (*Sha256Hash) ProtoMessage()
func (*Sha256Hash) ProtoReflect ¶
func (x *Sha256Hash) ProtoReflect() protoreflect.Message
func (*Sha256Hash) Reset ¶
func (x *Sha256Hash) Reset()
func (*Sha256Hash) String ¶
func (x *Sha256Hash) String() string
type Signature ¶
type Signature struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A single signature. Used when sending block items to a node with `SendBlockItem`.
func (*Signature) Descriptor
deprecated
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type SignatureMap ¶
type SignatureMap struct { Signatures map[uint32]*Signature `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
A signature on an update instruction. The type `UpdateKeysIndex` is not used directly, as messages cannot be keys in maps.
func (*SignatureMap) Descriptor
deprecated
func (*SignatureMap) Descriptor() ([]byte, []int)
Deprecated: Use SignatureMap.ProtoReflect.Descriptor instead.
func (*SignatureMap) GetSignatures ¶
func (x *SignatureMap) GetSignatures() map[uint32]*Signature
func (*SignatureMap) ProtoMessage ¶
func (*SignatureMap) ProtoMessage()
func (*SignatureMap) ProtoReflect ¶
func (x *SignatureMap) ProtoReflect() protoreflect.Message
func (*SignatureMap) Reset ¶
func (x *SignatureMap) Reset()
func (*SignatureMap) String ¶
func (x *SignatureMap) String() string
type SignatureThreshold ¶
type SignatureThreshold struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The number of signatures required to sign.
func (*SignatureThreshold) Descriptor
deprecated
func (*SignatureThreshold) Descriptor() ([]byte, []int)
Deprecated: Use SignatureThreshold.ProtoReflect.Descriptor instead.
func (*SignatureThreshold) GetValue ¶
func (x *SignatureThreshold) GetValue() uint32
func (*SignatureThreshold) ProtoMessage ¶
func (*SignatureThreshold) ProtoMessage()
func (*SignatureThreshold) ProtoReflect ¶
func (x *SignatureThreshold) ProtoReflect() protoreflect.Message
func (*SignatureThreshold) Reset ¶
func (x *SignatureThreshold) Reset()
func (*SignatureThreshold) String ¶
func (x *SignatureThreshold) String() string
type Slot ¶
type Slot struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A number representing a slot for baking a block.
func (*Slot) Descriptor
deprecated
func (*Slot) ProtoMessage ¶
func (*Slot) ProtoMessage()
func (*Slot) ProtoReflect ¶
func (x *Slot) ProtoReflect() protoreflect.Message
type StakePendingChange ¶
type StakePendingChange struct { // Types that are assignable to Change: // // *StakePendingChange_Reduce_ // *StakePendingChange_Remove Change isStakePendingChange_Change `protobuf_oneof:"change"` // contains filtered or unexported fields }
Pending change to the stake either of a baker or delegator.
func (*StakePendingChange) Descriptor
deprecated
func (*StakePendingChange) Descriptor() ([]byte, []int)
Deprecated: Use StakePendingChange.ProtoReflect.Descriptor instead.
func (*StakePendingChange) GetChange ¶
func (m *StakePendingChange) GetChange() isStakePendingChange_Change
func (*StakePendingChange) GetReduce ¶
func (x *StakePendingChange) GetReduce() *StakePendingChange_Reduce
func (*StakePendingChange) GetRemove ¶
func (x *StakePendingChange) GetRemove() *Timestamp
func (*StakePendingChange) ProtoMessage ¶
func (*StakePendingChange) ProtoMessage()
func (*StakePendingChange) ProtoReflect ¶
func (x *StakePendingChange) ProtoReflect() protoreflect.Message
func (*StakePendingChange) Reset ¶
func (x *StakePendingChange) Reset()
func (*StakePendingChange) String ¶
func (x *StakePendingChange) String() string
type StakePendingChange_Reduce ¶
type StakePendingChange_Reduce struct { NewStake *Amount `protobuf:"bytes,1,opt,name=new_stake,json=newStake,proto3" json:"new_stake,omitempty"` // Unix timestamp in milliseconds when the change takes effect. EffectiveTime *Timestamp `protobuf:"bytes,2,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` // contains filtered or unexported fields }
func (*StakePendingChange_Reduce) Descriptor
deprecated
func (*StakePendingChange_Reduce) Descriptor() ([]byte, []int)
Deprecated: Use StakePendingChange_Reduce.ProtoReflect.Descriptor instead.
func (*StakePendingChange_Reduce) GetEffectiveTime ¶
func (x *StakePendingChange_Reduce) GetEffectiveTime() *Timestamp
func (*StakePendingChange_Reduce) GetNewStake ¶
func (x *StakePendingChange_Reduce) GetNewStake() *Amount
func (*StakePendingChange_Reduce) ProtoMessage ¶
func (*StakePendingChange_Reduce) ProtoMessage()
func (*StakePendingChange_Reduce) ProtoReflect ¶
func (x *StakePendingChange_Reduce) ProtoReflect() protoreflect.Message
func (*StakePendingChange_Reduce) Reset ¶
func (x *StakePendingChange_Reduce) Reset()
func (*StakePendingChange_Reduce) String ¶
func (x *StakePendingChange_Reduce) String() string
type StakePendingChange_Reduce_ ¶
type StakePendingChange_Reduce_ struct {
Reduce *StakePendingChange_Reduce `protobuf:"bytes,1,opt,name=reduce,proto3,oneof"`
}
type StakePendingChange_Remove ¶
type StakePendingChange_Remove struct { // Remove the stake. The value is a Unix timestamp of the effective time in // milliseconds. Remove *Timestamp `protobuf:"bytes,2,opt,name=remove,proto3,oneof"` }
type StateHash ¶
type StateHash struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Hash of the state after some block. This is always 32 bytes long.
func (*StateHash) Descriptor
deprecated
func (*StateHash) ProtoMessage ¶
func (*StateHash) ProtoMessage()
func (*StateHash) ProtoReflect ¶
func (x *StateHash) ProtoReflect() protoreflect.Message
type SuccessorProof ¶ added in v0.2.0
type SuccessorProof struct { // The proof represented as raw bytes. // The bytes have a fixed length of 32 bytes. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A proof that establishes that the successor block of a 'EpochFinalizationEntry' is the immediate successor of the finalized block.
func (*SuccessorProof) Descriptor
deprecated
added in
v0.2.0
func (*SuccessorProof) Descriptor() ([]byte, []int)
Deprecated: Use SuccessorProof.ProtoReflect.Descriptor instead.
func (*SuccessorProof) GetValue ¶ added in v0.2.0
func (x *SuccessorProof) GetValue() []byte
func (*SuccessorProof) ProtoMessage ¶ added in v0.2.0
func (*SuccessorProof) ProtoMessage()
func (*SuccessorProof) ProtoReflect ¶ added in v0.2.0
func (x *SuccessorProof) ProtoReflect() protoreflect.Message
func (*SuccessorProof) Reset ¶ added in v0.2.0
func (x *SuccessorProof) Reset()
func (*SuccessorProof) String ¶ added in v0.2.0
func (x *SuccessorProof) String() string
type TimeParametersCpv1 ¶
type TimeParametersCpv1 struct { RewardPeriodLength *RewardPeriodLength `protobuf:"bytes,1,opt,name=reward_period_length,json=rewardPeriodLength,proto3" json:"reward_period_length,omitempty"` MintPerPayday *MintRate `protobuf:"bytes,2,opt,name=mint_per_payday,json=mintPerPayday,proto3" json:"mint_per_payday,omitempty"` // contains filtered or unexported fields }
The time parameters are introduced as of protocol version 4, and consist of the reward period length and the mint rate per payday. These are coupled as a change to either affects the overall rate of minting.
func (*TimeParametersCpv1) Descriptor
deprecated
func (*TimeParametersCpv1) Descriptor() ([]byte, []int)
Deprecated: Use TimeParametersCpv1.ProtoReflect.Descriptor instead.
func (*TimeParametersCpv1) GetMintPerPayday ¶
func (x *TimeParametersCpv1) GetMintPerPayday() *MintRate
func (*TimeParametersCpv1) GetRewardPeriodLength ¶
func (x *TimeParametersCpv1) GetRewardPeriodLength() *RewardPeriodLength
func (*TimeParametersCpv1) ProtoMessage ¶
func (*TimeParametersCpv1) ProtoMessage()
func (*TimeParametersCpv1) ProtoReflect ¶
func (x *TimeParametersCpv1) ProtoReflect() protoreflect.Message
func (*TimeParametersCpv1) Reset ¶
func (x *TimeParametersCpv1) Reset()
func (*TimeParametersCpv1) String ¶
func (x *TimeParametersCpv1) String() string
type TimeoutCertificate ¶ added in v0.2.0
type TimeoutCertificate struct { // The round that timed out. Round *Round `protobuf:"bytes,1,opt,name=round,proto3" json:"round,omitempty"` // The minimum epoch of which signatures are included // in the 'aggregate_signature'. MinEpoch *Epoch `protobuf:"bytes,2,opt,name=min_epoch,json=minEpoch,proto3" json:"min_epoch,omitempty"` // The rounds of which finalizers have their best // QCs in the 'min_epoch'. QcRoundsFirstEpoch []*FinalizerRound `protobuf:"bytes,3,rep,name=qc_rounds_first_epoch,json=qcRoundsFirstEpoch,proto3" json:"qc_rounds_first_epoch,omitempty"` // The rounds of which finalizers have their best // QCs in the epoch 'min_epoch' + 1. QcRoundsSecondEpoch []*FinalizerRound `protobuf:"bytes,4,rep,name=qc_rounds_second_epoch,json=qcRoundsSecondEpoch,proto3" json:"qc_rounds_second_epoch,omitempty"` // The aggregated signature by the finalization committee that witnessed // the 'round' timed out. AggregateSignature *TimeoutSignature `protobuf:"bytes,5,opt,name=aggregate_signature,json=aggregateSignature,proto3" json:"aggregate_signature,omitempty"` // contains filtered or unexported fields }
A timeout certificate is the certificate that the finalization committee issues when a round times out, thus making it possible for the protocol to proceed to the next round.
func (*TimeoutCertificate) Descriptor
deprecated
added in
v0.2.0
func (*TimeoutCertificate) Descriptor() ([]byte, []int)
Deprecated: Use TimeoutCertificate.ProtoReflect.Descriptor instead.
func (*TimeoutCertificate) GetAggregateSignature ¶ added in v0.2.0
func (x *TimeoutCertificate) GetAggregateSignature() *TimeoutSignature
func (*TimeoutCertificate) GetMinEpoch ¶ added in v0.2.0
func (x *TimeoutCertificate) GetMinEpoch() *Epoch
func (*TimeoutCertificate) GetQcRoundsFirstEpoch ¶ added in v0.2.0
func (x *TimeoutCertificate) GetQcRoundsFirstEpoch() []*FinalizerRound
func (*TimeoutCertificate) GetQcRoundsSecondEpoch ¶ added in v0.2.0
func (x *TimeoutCertificate) GetQcRoundsSecondEpoch() []*FinalizerRound
func (*TimeoutCertificate) GetRound ¶ added in v0.2.0
func (x *TimeoutCertificate) GetRound() *Round
func (*TimeoutCertificate) ProtoMessage ¶ added in v0.2.0
func (*TimeoutCertificate) ProtoMessage()
func (*TimeoutCertificate) ProtoReflect ¶ added in v0.2.0
func (x *TimeoutCertificate) ProtoReflect() protoreflect.Message
func (*TimeoutCertificate) Reset ¶ added in v0.2.0
func (x *TimeoutCertificate) Reset()
func (*TimeoutCertificate) String ¶ added in v0.2.0
func (x *TimeoutCertificate) String() string
type TimeoutParameters ¶
type TimeoutParameters struct { // The base value for triggering a timeout TimeoutBase *Duration `protobuf:"bytes,1,opt,name=timeout_base,json=timeoutBase,proto3" json:"timeout_base,omitempty"` // Factor for increasing the timeout. Must be greater than 1. TimeoutIncrease *Ratio `protobuf:"bytes,2,opt,name=timeout_increase,json=timeoutIncrease,proto3" json:"timeout_increase,omitempty"` // Factor for decreasing the timeout. Must be between 0 and 1. TimeoutDecrease *Ratio `protobuf:"bytes,3,opt,name=timeout_decrease,json=timeoutDecrease,proto3" json:"timeout_decrease,omitempty"` // contains filtered or unexported fields }
Parameters that determine timeouts in the consensus protocol used from protocol version 6.
func (*TimeoutParameters) Descriptor
deprecated
func (*TimeoutParameters) Descriptor() ([]byte, []int)
Deprecated: Use TimeoutParameters.ProtoReflect.Descriptor instead.
func (*TimeoutParameters) GetTimeoutBase ¶
func (x *TimeoutParameters) GetTimeoutBase() *Duration
func (*TimeoutParameters) GetTimeoutDecrease ¶
func (x *TimeoutParameters) GetTimeoutDecrease() *Ratio
func (*TimeoutParameters) GetTimeoutIncrease ¶
func (x *TimeoutParameters) GetTimeoutIncrease() *Ratio
func (*TimeoutParameters) ProtoMessage ¶
func (*TimeoutParameters) ProtoMessage()
func (*TimeoutParameters) ProtoReflect ¶
func (x *TimeoutParameters) ProtoReflect() protoreflect.Message
func (*TimeoutParameters) Reset ¶
func (x *TimeoutParameters) Reset()
func (*TimeoutParameters) String ¶
func (x *TimeoutParameters) String() string
type TimeoutSignature ¶ added in v0.2.0
type TimeoutSignature struct { // The bytes representing the raw aggregate signature. // The bytes have a fixed length of 48 bytes. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The signature of a 'TimeoutCertificate'.
func (*TimeoutSignature) Descriptor
deprecated
added in
v0.2.0
func (*TimeoutSignature) Descriptor() ([]byte, []int)
Deprecated: Use TimeoutSignature.ProtoReflect.Descriptor instead.
func (*TimeoutSignature) GetValue ¶ added in v0.2.0
func (x *TimeoutSignature) GetValue() []byte
func (*TimeoutSignature) ProtoMessage ¶ added in v0.2.0
func (*TimeoutSignature) ProtoMessage()
func (*TimeoutSignature) ProtoReflect ¶ added in v0.2.0
func (x *TimeoutSignature) ProtoReflect() protoreflect.Message
func (*TimeoutSignature) Reset ¶ added in v0.2.0
func (x *TimeoutSignature) Reset()
func (*TimeoutSignature) String ¶ added in v0.2.0
func (x *TimeoutSignature) String() string
type Timestamp ¶
type Timestamp struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Unix timestamp in milliseconds.
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
type TokenomicsInfo ¶
type TokenomicsInfo struct { // Types that are assignable to Tokenomics: // // *TokenomicsInfo_V0_ // *TokenomicsInfo_V1_ Tokenomics isTokenomicsInfo_Tokenomics `protobuf_oneof:"tokenomics"` // contains filtered or unexported fields }
Type for the response of GetTokenomicsInfo. Contains information related to tokenomics at the end of a given block.
func (*TokenomicsInfo) Descriptor
deprecated
func (*TokenomicsInfo) Descriptor() ([]byte, []int)
Deprecated: Use TokenomicsInfo.ProtoReflect.Descriptor instead.
func (*TokenomicsInfo) GetTokenomics ¶
func (m *TokenomicsInfo) GetTokenomics() isTokenomicsInfo_Tokenomics
func (*TokenomicsInfo) GetV0 ¶
func (x *TokenomicsInfo) GetV0() *TokenomicsInfo_V0
func (*TokenomicsInfo) GetV1 ¶
func (x *TokenomicsInfo) GetV1() *TokenomicsInfo_V1
func (*TokenomicsInfo) ProtoMessage ¶
func (*TokenomicsInfo) ProtoMessage()
func (*TokenomicsInfo) ProtoReflect ¶
func (x *TokenomicsInfo) ProtoReflect() protoreflect.Message
func (*TokenomicsInfo) Reset ¶
func (x *TokenomicsInfo) Reset()
func (*TokenomicsInfo) String ¶
func (x *TokenomicsInfo) String() string
type TokenomicsInfo_V0 ¶
type TokenomicsInfo_V0 struct { // The total CCD in existence. TotalAmount *Amount `protobuf:"bytes,1,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount,omitempty"` // The total CCD in encrypted balances. TotalEncryptedAmount *Amount `protobuf:"bytes,2,opt,name=total_encrypted_amount,json=totalEncryptedAmount,proto3" json:"total_encrypted_amount,omitempty"` // The amount in the baking reward account. BakingRewardAccount *Amount `protobuf:"bytes,3,opt,name=baking_reward_account,json=bakingRewardAccount,proto3" json:"baking_reward_account,omitempty"` // The amount in the finalization reward account. FinalizationRewardAccount *Amount `` /* 138-byte string literal not displayed */ // The amount in the GAS account. GasAccount *Amount `protobuf:"bytes,5,opt,name=gas_account,json=gasAccount,proto3" json:"gas_account,omitempty"` // The protocol version. ProtocolVersion ProtocolVersion `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
Version 0 tokenomics.
func (*TokenomicsInfo_V0) Descriptor
deprecated
func (*TokenomicsInfo_V0) Descriptor() ([]byte, []int)
Deprecated: Use TokenomicsInfo_V0.ProtoReflect.Descriptor instead.
func (*TokenomicsInfo_V0) GetBakingRewardAccount ¶
func (x *TokenomicsInfo_V0) GetBakingRewardAccount() *Amount
func (*TokenomicsInfo_V0) GetFinalizationRewardAccount ¶
func (x *TokenomicsInfo_V0) GetFinalizationRewardAccount() *Amount
func (*TokenomicsInfo_V0) GetGasAccount ¶
func (x *TokenomicsInfo_V0) GetGasAccount() *Amount
func (*TokenomicsInfo_V0) GetProtocolVersion ¶
func (x *TokenomicsInfo_V0) GetProtocolVersion() ProtocolVersion
func (*TokenomicsInfo_V0) GetTotalAmount ¶
func (x *TokenomicsInfo_V0) GetTotalAmount() *Amount
func (*TokenomicsInfo_V0) GetTotalEncryptedAmount ¶
func (x *TokenomicsInfo_V0) GetTotalEncryptedAmount() *Amount
func (*TokenomicsInfo_V0) ProtoMessage ¶
func (*TokenomicsInfo_V0) ProtoMessage()
func (*TokenomicsInfo_V0) ProtoReflect ¶
func (x *TokenomicsInfo_V0) ProtoReflect() protoreflect.Message
func (*TokenomicsInfo_V0) Reset ¶
func (x *TokenomicsInfo_V0) Reset()
func (*TokenomicsInfo_V0) String ¶
func (x *TokenomicsInfo_V0) String() string
type TokenomicsInfo_V0_ ¶
type TokenomicsInfo_V0_ struct {
V0 *TokenomicsInfo_V0 `protobuf:"bytes,1,opt,name=v0,proto3,oneof"`
}
type TokenomicsInfo_V1 ¶
type TokenomicsInfo_V1 struct { // The total CCD in existence. TotalAmount *Amount `protobuf:"bytes,1,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount,omitempty"` // The total CCD in encrypted balances. TotalEncryptedAmount *Amount `protobuf:"bytes,2,opt,name=total_encrypted_amount,json=totalEncryptedAmount,proto3" json:"total_encrypted_amount,omitempty"` // The amount in the baking reward account. BakingRewardAccount *Amount `protobuf:"bytes,3,opt,name=baking_reward_account,json=bakingRewardAccount,proto3" json:"baking_reward_account,omitempty"` // The amount in the finalization reward account. FinalizationRewardAccount *Amount `` /* 138-byte string literal not displayed */ // The amount in the GAS account. GasAccount *Amount `protobuf:"bytes,5,opt,name=gas_account,json=gasAccount,proto3" json:"gas_account,omitempty"` // The transaction reward fraction accruing to the foundation (to be paid at next payday). FoundationTransactionRewards *Amount `` /* 147-byte string literal not displayed */ // The time of the next payday. NextPaydayTime *Timestamp `protobuf:"bytes,7,opt,name=next_payday_time,json=nextPaydayTime,proto3" json:"next_payday_time,omitempty"` // The rate at which CCD will be minted (as a proportion of the total supply) at the next payday. NextPaydayMintRate *MintRate `protobuf:"bytes,8,opt,name=next_payday_mint_rate,json=nextPaydayMintRate,proto3" json:"next_payday_mint_rate,omitempty"` // The total capital put up as stake by bakers and delegators. TotalStakedCapital *Amount `protobuf:"bytes,9,opt,name=total_staked_capital,json=totalStakedCapital,proto3" json:"total_staked_capital,omitempty"` // The protocol version. ProtocolVersion ProtocolVersion `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
Version 1 tokenomics.
func (*TokenomicsInfo_V1) Descriptor
deprecated
func (*TokenomicsInfo_V1) Descriptor() ([]byte, []int)
Deprecated: Use TokenomicsInfo_V1.ProtoReflect.Descriptor instead.
func (*TokenomicsInfo_V1) GetBakingRewardAccount ¶
func (x *TokenomicsInfo_V1) GetBakingRewardAccount() *Amount
func (*TokenomicsInfo_V1) GetFinalizationRewardAccount ¶
func (x *TokenomicsInfo_V1) GetFinalizationRewardAccount() *Amount
func (*TokenomicsInfo_V1) GetFoundationTransactionRewards ¶
func (x *TokenomicsInfo_V1) GetFoundationTransactionRewards() *Amount
func (*TokenomicsInfo_V1) GetGasAccount ¶
func (x *TokenomicsInfo_V1) GetGasAccount() *Amount
func (*TokenomicsInfo_V1) GetNextPaydayMintRate ¶
func (x *TokenomicsInfo_V1) GetNextPaydayMintRate() *MintRate
func (*TokenomicsInfo_V1) GetNextPaydayTime ¶
func (x *TokenomicsInfo_V1) GetNextPaydayTime() *Timestamp
func (*TokenomicsInfo_V1) GetProtocolVersion ¶
func (x *TokenomicsInfo_V1) GetProtocolVersion() ProtocolVersion
func (*TokenomicsInfo_V1) GetTotalAmount ¶
func (x *TokenomicsInfo_V1) GetTotalAmount() *Amount
func (*TokenomicsInfo_V1) GetTotalEncryptedAmount ¶
func (x *TokenomicsInfo_V1) GetTotalEncryptedAmount() *Amount
func (*TokenomicsInfo_V1) GetTotalStakedCapital ¶
func (x *TokenomicsInfo_V1) GetTotalStakedCapital() *Amount
func (*TokenomicsInfo_V1) ProtoMessage ¶
func (*TokenomicsInfo_V1) ProtoMessage()
func (*TokenomicsInfo_V1) ProtoReflect ¶
func (x *TokenomicsInfo_V1) ProtoReflect() protoreflect.Message
func (*TokenomicsInfo_V1) Reset ¶
func (x *TokenomicsInfo_V1) Reset()
func (*TokenomicsInfo_V1) String ¶
func (x *TokenomicsInfo_V1) String() string
type TokenomicsInfo_V1_ ¶
type TokenomicsInfo_V1_ struct {
V1 *TokenomicsInfo_V1 `protobuf:"bytes,2,opt,name=v1,proto3,oneof"`
}
type TransactionFeeDistribution ¶
type TransactionFeeDistribution struct { // The fraction allocated to the baker. Baker *AmountFraction `protobuf:"bytes,1,opt,name=baker,proto3" json:"baker,omitempty"` // The fraction allocated to the GAS account. GasAccount *AmountFraction `protobuf:"bytes,2,opt,name=gas_account,json=gasAccount,proto3" json:"gas_account,omitempty"` // contains filtered or unexported fields }
Parameters determining the distribution of transaction fees.
func (*TransactionFeeDistribution) Descriptor
deprecated
func (*TransactionFeeDistribution) Descriptor() ([]byte, []int)
Deprecated: Use TransactionFeeDistribution.ProtoReflect.Descriptor instead.
func (*TransactionFeeDistribution) GetBaker ¶
func (x *TransactionFeeDistribution) GetBaker() *AmountFraction
func (*TransactionFeeDistribution) GetGasAccount ¶
func (x *TransactionFeeDistribution) GetGasAccount() *AmountFraction
func (*TransactionFeeDistribution) ProtoMessage ¶
func (*TransactionFeeDistribution) ProtoMessage()
func (*TransactionFeeDistribution) ProtoReflect ¶
func (x *TransactionFeeDistribution) ProtoReflect() protoreflect.Message
func (*TransactionFeeDistribution) Reset ¶
func (x *TransactionFeeDistribution) Reset()
func (*TransactionFeeDistribution) String ¶
func (x *TransactionFeeDistribution) String() string
type TransactionHash ¶
type TransactionHash struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Hash of a transaction. This is always 32 bytes long.
func (*TransactionHash) Descriptor
deprecated
func (*TransactionHash) Descriptor() ([]byte, []int)
Deprecated: Use TransactionHash.ProtoReflect.Descriptor instead.
func (*TransactionHash) GetValue ¶
func (x *TransactionHash) GetValue() []byte
func (*TransactionHash) ProtoMessage ¶
func (*TransactionHash) ProtoMessage()
func (*TransactionHash) ProtoReflect ¶
func (x *TransactionHash) ProtoReflect() protoreflect.Message
func (*TransactionHash) Reset ¶
func (x *TransactionHash) Reset()
func (*TransactionHash) String ¶
func (x *TransactionHash) String() string
type TransactionTime ¶
type TransactionTime struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Transaction time specified as seconds since unix epoch.
func (*TransactionTime) Descriptor
deprecated
func (*TransactionTime) Descriptor() ([]byte, []int)
Deprecated: Use TransactionTime.ProtoReflect.Descriptor instead.
func (*TransactionTime) GetValue ¶
func (x *TransactionTime) GetValue() uint64
func (*TransactionTime) ProtoMessage ¶
func (*TransactionTime) ProtoMessage()
func (*TransactionTime) ProtoReflect ¶
func (x *TransactionTime) ProtoReflect() protoreflect.Message
func (*TransactionTime) Reset ¶
func (x *TransactionTime) Reset()
func (*TransactionTime) String ¶
func (x *TransactionTime) String() string
type TransactionType ¶
type TransactionType int32
The type of transaction.
const ( TransactionType_DEPLOY_MODULE TransactionType = 0 TransactionType_INIT_CONTRACT TransactionType = 1 TransactionType_UPDATE TransactionType = 2 TransactionType_TRANSFER TransactionType = 3 TransactionType_ADD_BAKER TransactionType = 4 TransactionType_REMOVE_BAKER TransactionType = 5 TransactionType_UPDATE_BAKER_STAKE TransactionType = 6 TransactionType_UPDATE_BAKER_RESTAKE_EARNINGS TransactionType = 7 TransactionType_UPDATE_BAKER_KEYS TransactionType = 8 TransactionType_UPDATE_CREDENTIAL_KEYS TransactionType = 9 TransactionType_ENCRYPTED_AMOUNT_TRANSFER TransactionType = 10 TransactionType_TRANSFER_TO_ENCRYPTED TransactionType = 11 TransactionType_TRANSFER_TO_PUBLIC TransactionType = 12 TransactionType_TRANSFER_WITH_SCHEDULE TransactionType = 13 TransactionType_UPDATE_CREDENTIALS TransactionType = 14 TransactionType_REGISTER_DATA TransactionType = 15 TransactionType_TRANSFER_WITH_MEMO TransactionType = 16 TransactionType_ENCRYPTED_AMOUNT_TRANSFER_WITH_MEMO TransactionType = 17 TransactionType_TRANSFER_WITH_SCHEDULE_AND_MEMO TransactionType = 18 TransactionType_CONFIGURE_BAKER TransactionType = 19 TransactionType_CONFIGURE_DELEGATION TransactionType = 20 )
func (TransactionType) Descriptor ¶
func (TransactionType) Descriptor() protoreflect.EnumDescriptor
func (TransactionType) Enum ¶
func (x TransactionType) Enum() *TransactionType
func (TransactionType) EnumDescriptor
deprecated
func (TransactionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionType.Descriptor instead.
func (TransactionType) Number ¶
func (x TransactionType) Number() protoreflect.EnumNumber
func (TransactionType) String ¶
func (x TransactionType) String() string
func (TransactionType) Type ¶
func (TransactionType) Type() protoreflect.EnumType
type TransferPayload ¶
type TransferPayload struct { // Amount of CCD to send. Amount *Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // Receiver address. Receiver *AccountAddress `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` // contains filtered or unexported fields }
Payload of a transfer between two accounts.
func (*TransferPayload) Descriptor
deprecated
func (*TransferPayload) Descriptor() ([]byte, []int)
Deprecated: Use TransferPayload.ProtoReflect.Descriptor instead.
func (*TransferPayload) GetAmount ¶
func (x *TransferPayload) GetAmount() *Amount
func (*TransferPayload) GetReceiver ¶
func (x *TransferPayload) GetReceiver() *AccountAddress
func (*TransferPayload) ProtoMessage ¶
func (*TransferPayload) ProtoMessage()
func (*TransferPayload) ProtoReflect ¶
func (x *TransferPayload) ProtoReflect() protoreflect.Message
func (*TransferPayload) Reset ¶
func (x *TransferPayload) Reset()
func (*TransferPayload) String ¶
func (x *TransferPayload) String() string
type TransferWithMemoPayload ¶
type TransferWithMemoPayload struct { // Amount of CCD to send. Amount *Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // Receiver address. Receiver *AccountAddress `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` // Memo to include with the transfer. Memo *Memo `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` // contains filtered or unexported fields }
Payload of a transfer between two accounts with a memo.
func (*TransferWithMemoPayload) Descriptor
deprecated
func (*TransferWithMemoPayload) Descriptor() ([]byte, []int)
Deprecated: Use TransferWithMemoPayload.ProtoReflect.Descriptor instead.
func (*TransferWithMemoPayload) GetAmount ¶
func (x *TransferWithMemoPayload) GetAmount() *Amount
func (*TransferWithMemoPayload) GetMemo ¶
func (x *TransferWithMemoPayload) GetMemo() *Memo
func (*TransferWithMemoPayload) GetReceiver ¶
func (x *TransferWithMemoPayload) GetReceiver() *AccountAddress
func (*TransferWithMemoPayload) ProtoMessage ¶
func (*TransferWithMemoPayload) ProtoMessage()
func (*TransferWithMemoPayload) ProtoReflect ¶
func (x *TransferWithMemoPayload) ProtoReflect() protoreflect.Message
func (*TransferWithMemoPayload) Reset ¶
func (x *TransferWithMemoPayload) Reset()
func (*TransferWithMemoPayload) String ¶
func (x *TransferWithMemoPayload) String() string
type UnimplementedHealthServer ¶
type UnimplementedHealthServer struct{}
UnimplementedHealthServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedHealthServer) Check ¶
func (UnimplementedHealthServer) Check(context.Context, *NodeHealthRequest) (*NodeHealthResponse, error)
type UnimplementedQueriesServer ¶
type UnimplementedQueriesServer struct{}
UnimplementedQueriesServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedQueriesServer) DryRun ¶ added in v0.2.0
func (UnimplementedQueriesServer) DryRun(grpc.BidiStreamingServer[DryRunRequest, DryRunResponse]) error
func (UnimplementedQueriesServer) DumpStart ¶
func (UnimplementedQueriesServer) DumpStart(context.Context, *DumpRequest) (*Empty, error)
func (UnimplementedQueriesServer) GetAccountInfo ¶
func (UnimplementedQueriesServer) GetAccountInfo(context.Context, *AccountInfoRequest) (*AccountInfo, error)
func (UnimplementedQueriesServer) GetAccountList ¶
func (UnimplementedQueriesServer) GetAccountList(*BlockHashInput, grpc.ServerStreamingServer[AccountAddress]) error
func (UnimplementedQueriesServer) GetAccountNonFinalizedTransactions ¶
func (UnimplementedQueriesServer) GetAccountNonFinalizedTransactions(*AccountAddress, grpc.ServerStreamingServer[TransactionHash]) error
func (UnimplementedQueriesServer) GetAccountTransactionSignHash ¶
func (UnimplementedQueriesServer) GetAccountTransactionSignHash(context.Context, *PreAccountTransaction) (*AccountTransactionSignHash, error)
func (UnimplementedQueriesServer) GetAncestors ¶
func (UnimplementedQueriesServer) GetAncestors(*AncestorsRequest, grpc.ServerStreamingServer[BlockHash]) error
func (UnimplementedQueriesServer) GetAnonymityRevokers ¶
func (UnimplementedQueriesServer) GetAnonymityRevokers(*BlockHashInput, grpc.ServerStreamingServer[ArInfo]) error
func (UnimplementedQueriesServer) GetBakerEarliestWinTime ¶ added in v0.2.0
func (UnimplementedQueriesServer) GetBakerList ¶
func (UnimplementedQueriesServer) GetBakerList(*BlockHashInput, grpc.ServerStreamingServer[BakerId]) error
func (UnimplementedQueriesServer) GetBakersRewardPeriod ¶ added in v0.2.0
func (UnimplementedQueriesServer) GetBakersRewardPeriod(*BlockHashInput, grpc.ServerStreamingServer[BakerRewardPeriodInfo]) error
func (UnimplementedQueriesServer) GetBannedPeers ¶
func (UnimplementedQueriesServer) GetBannedPeers(context.Context, *Empty) (*BannedPeers, error)
func (UnimplementedQueriesServer) GetBlockCertificates ¶ added in v0.2.0
func (UnimplementedQueriesServer) GetBlockCertificates(context.Context, *BlockHashInput) (*BlockCertificates, error)
func (UnimplementedQueriesServer) GetBlockChainParameters ¶
func (UnimplementedQueriesServer) GetBlockChainParameters(context.Context, *BlockHashInput) (*ChainParameters, error)
func (UnimplementedQueriesServer) GetBlockFinalizationSummary ¶
func (UnimplementedQueriesServer) GetBlockFinalizationSummary(context.Context, *BlockHashInput) (*BlockFinalizationSummary, error)
func (UnimplementedQueriesServer) GetBlockInfo ¶
func (UnimplementedQueriesServer) GetBlockInfo(context.Context, *BlockHashInput) (*BlockInfo, error)
func (UnimplementedQueriesServer) GetBlockItemStatus ¶
func (UnimplementedQueriesServer) GetBlockItemStatus(context.Context, *TransactionHash) (*BlockItemStatus, error)
func (UnimplementedQueriesServer) GetBlockItems ¶
func (UnimplementedQueriesServer) GetBlockItems(*BlockHashInput, grpc.ServerStreamingServer[BlockItem]) error
func (UnimplementedQueriesServer) GetBlockPendingUpdates ¶
func (UnimplementedQueriesServer) GetBlockPendingUpdates(*BlockHashInput, grpc.ServerStreamingServer[PendingUpdate]) error
func (UnimplementedQueriesServer) GetBlockSpecialEvents ¶
func (UnimplementedQueriesServer) GetBlockSpecialEvents(*BlockHashInput, grpc.ServerStreamingServer[BlockSpecialEvent]) error
func (UnimplementedQueriesServer) GetBlockTransactionEvents ¶
func (UnimplementedQueriesServer) GetBlockTransactionEvents(*BlockHashInput, grpc.ServerStreamingServer[BlockItemSummary]) error
func (UnimplementedQueriesServer) GetBlocks ¶
func (UnimplementedQueriesServer) GetBlocks(*Empty, grpc.ServerStreamingServer[ArrivedBlockInfo]) error
func (UnimplementedQueriesServer) GetBlocksAtHeight ¶
func (UnimplementedQueriesServer) GetBlocksAtHeight(context.Context, *BlocksAtHeightRequest) (*BlocksAtHeightResponse, error)
func (UnimplementedQueriesServer) GetBranches ¶
func (UnimplementedQueriesServer) GetConsensusInfo ¶
func (UnimplementedQueriesServer) GetConsensusInfo(context.Context, *Empty) (*ConsensusInfo, error)
func (UnimplementedQueriesServer) GetCryptographicParameters ¶
func (UnimplementedQueriesServer) GetCryptographicParameters(context.Context, *BlockHashInput) (*CryptographicParameters, error)
func (UnimplementedQueriesServer) GetElectionInfo ¶
func (UnimplementedQueriesServer) GetElectionInfo(context.Context, *BlockHashInput) (*ElectionInfo, error)
func (UnimplementedQueriesServer) GetFinalizedBlocks ¶
func (UnimplementedQueriesServer) GetFinalizedBlocks(*Empty, grpc.ServerStreamingServer[FinalizedBlockInfo]) error
func (UnimplementedQueriesServer) GetFirstBlockEpoch ¶ added in v0.2.0
func (UnimplementedQueriesServer) GetFirstBlockEpoch(context.Context, *EpochRequest) (*BlockHash, error)
func (UnimplementedQueriesServer) GetIdentityProviders ¶
func (UnimplementedQueriesServer) GetIdentityProviders(*BlockHashInput, grpc.ServerStreamingServer[IpInfo]) error
func (UnimplementedQueriesServer) GetInstanceInfo ¶
func (UnimplementedQueriesServer) GetInstanceInfo(context.Context, *InstanceInfoRequest) (*InstanceInfo, error)
func (UnimplementedQueriesServer) GetInstanceList ¶
func (UnimplementedQueriesServer) GetInstanceList(*BlockHashInput, grpc.ServerStreamingServer[ContractAddress]) error
func (UnimplementedQueriesServer) GetInstanceState ¶
func (UnimplementedQueriesServer) GetInstanceState(*InstanceInfoRequest, grpc.ServerStreamingServer[InstanceStateKVPair]) error
func (UnimplementedQueriesServer) GetModuleList ¶
func (UnimplementedQueriesServer) GetModuleList(*BlockHashInput, grpc.ServerStreamingServer[ModuleRef]) error
func (UnimplementedQueriesServer) GetModuleSource ¶
func (UnimplementedQueriesServer) GetModuleSource(context.Context, *ModuleSourceRequest) (*VersionedModuleSource, error)
func (UnimplementedQueriesServer) GetNextAccountSequenceNumber ¶
func (UnimplementedQueriesServer) GetNextAccountSequenceNumber(context.Context, *AccountAddress) (*NextAccountSequenceNumber, error)
func (UnimplementedQueriesServer) GetNextUpdateSequenceNumbers ¶
func (UnimplementedQueriesServer) GetNextUpdateSequenceNumbers(context.Context, *BlockHashInput) (*NextUpdateSequenceNumbers, error)
func (UnimplementedQueriesServer) GetNodeInfo ¶
func (UnimplementedQueriesServer) GetPassiveDelegationInfo ¶
func (UnimplementedQueriesServer) GetPassiveDelegationInfo(context.Context, *BlockHashInput) (*PassiveDelegationInfo, error)
func (UnimplementedQueriesServer) GetPassiveDelegators ¶
func (UnimplementedQueriesServer) GetPassiveDelegators(*BlockHashInput, grpc.ServerStreamingServer[DelegatorInfo]) error
func (UnimplementedQueriesServer) GetPassiveDelegatorsRewardPeriod ¶
func (UnimplementedQueriesServer) GetPassiveDelegatorsRewardPeriod(*BlockHashInput, grpc.ServerStreamingServer[DelegatorRewardPeriodInfo]) error
func (UnimplementedQueriesServer) GetPeersInfo ¶
func (UnimplementedQueriesServer) GetPoolDelegators ¶
func (UnimplementedQueriesServer) GetPoolDelegators(*GetPoolDelegatorsRequest, grpc.ServerStreamingServer[DelegatorInfo]) error
func (UnimplementedQueriesServer) GetPoolDelegatorsRewardPeriod ¶
func (UnimplementedQueriesServer) GetPoolDelegatorsRewardPeriod(*GetPoolDelegatorsRequest, grpc.ServerStreamingServer[DelegatorRewardPeriodInfo]) error
func (UnimplementedQueriesServer) GetPoolInfo ¶
func (UnimplementedQueriesServer) GetPoolInfo(context.Context, *PoolInfoRequest) (*PoolInfoResponse, error)
func (UnimplementedQueriesServer) GetTokenomicsInfo ¶
func (UnimplementedQueriesServer) GetTokenomicsInfo(context.Context, *BlockHashInput) (*TokenomicsInfo, error)
func (UnimplementedQueriesServer) GetWinningBakersEpoch ¶ added in v0.2.0
func (UnimplementedQueriesServer) GetWinningBakersEpoch(*EpochRequest, grpc.ServerStreamingServer[WinningBaker]) error
func (UnimplementedQueriesServer) InstanceStateLookup ¶
func (UnimplementedQueriesServer) InstanceStateLookup(context.Context, *InstanceStateLookupRequest) (*InstanceStateValueAtKey, error)
func (UnimplementedQueriesServer) InvokeInstance ¶
func (UnimplementedQueriesServer) InvokeInstance(context.Context, *InvokeInstanceRequest) (*InvokeInstanceResponse, error)
func (UnimplementedQueriesServer) PeerConnect ¶
func (UnimplementedQueriesServer) PeerConnect(context.Context, *IpSocketAddress) (*Empty, error)
func (UnimplementedQueriesServer) PeerDisconnect ¶
func (UnimplementedQueriesServer) PeerDisconnect(context.Context, *IpSocketAddress) (*Empty, error)
func (UnimplementedQueriesServer) SendBlockItem ¶
func (UnimplementedQueriesServer) SendBlockItem(context.Context, *SendBlockItemRequest) (*TransactionHash, error)
func (UnimplementedQueriesServer) UnbanPeer ¶
func (UnimplementedQueriesServer) UnbanPeer(context.Context, *BannedPeer) (*Empty, error)
type UnsafeHealthServer ¶
type UnsafeHealthServer interface {
// contains filtered or unexported methods
}
UnsafeHealthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HealthServer will result in compilation errors.
type UnsafeQueriesServer ¶
type UnsafeQueriesServer interface {
// contains filtered or unexported methods
}
UnsafeQueriesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueriesServer will result in compilation errors.
type UpdateContractPayload ¶
type UpdateContractPayload struct { // Amount of CCD to send to the instance. Amount *Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // Address of the instance to update. Address *ContractAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Name of the entrypoint to call to update the instance. // This is expected to be in the format `contractName.entrypointName`. ReceiveName *ReceiveName `protobuf:"bytes,3,opt,name=receive_name,json=receiveName,proto3" json:"receive_name,omitempty"` // Parameter to pass to the entrypoint. Parameter *Parameter `protobuf:"bytes,4,opt,name=parameter,proto3" json:"parameter,omitempty"` // contains filtered or unexported fields }
Data required to update a contract instance.
func (*UpdateContractPayload) Descriptor
deprecated
func (*UpdateContractPayload) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContractPayload.ProtoReflect.Descriptor instead.
func (*UpdateContractPayload) GetAddress ¶
func (x *UpdateContractPayload) GetAddress() *ContractAddress
func (*UpdateContractPayload) GetAmount ¶
func (x *UpdateContractPayload) GetAmount() *Amount
func (*UpdateContractPayload) GetParameter ¶
func (x *UpdateContractPayload) GetParameter() *Parameter
func (*UpdateContractPayload) GetReceiveName ¶
func (x *UpdateContractPayload) GetReceiveName() *ReceiveName
func (*UpdateContractPayload) ProtoMessage ¶
func (*UpdateContractPayload) ProtoMessage()
func (*UpdateContractPayload) ProtoReflect ¶
func (x *UpdateContractPayload) ProtoReflect() protoreflect.Message
func (*UpdateContractPayload) Reset ¶
func (x *UpdateContractPayload) Reset()
func (*UpdateContractPayload) String ¶
func (x *UpdateContractPayload) String() string
type UpdateDetails ¶
type UpdateDetails struct { // The time at which the update will be effective. EffectiveTime *TransactionTime `protobuf:"bytes,1,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` // The paylaod for the update. Payload *UpdatePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
Details of an update instruction. These are free, and we only ever get a response for them if the update is successfully enqueued, hence no failure cases.
func (*UpdateDetails) Descriptor
deprecated
func (*UpdateDetails) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDetails.ProtoReflect.Descriptor instead.
func (*UpdateDetails) GetEffectiveTime ¶
func (x *UpdateDetails) GetEffectiveTime() *TransactionTime
func (*UpdateDetails) GetPayload ¶
func (x *UpdateDetails) GetPayload() *UpdatePayload
func (*UpdateDetails) ProtoMessage ¶
func (*UpdateDetails) ProtoMessage()
func (*UpdateDetails) ProtoReflect ¶
func (x *UpdateDetails) ProtoReflect() protoreflect.Message
func (*UpdateDetails) Reset ¶
func (x *UpdateDetails) Reset()
func (*UpdateDetails) String ¶
func (x *UpdateDetails) String() string
type UpdateInstruction ¶
type UpdateInstruction struct { // A map from `UpdateKeysIndex` to `Signature`. Keys must not exceed 2^16. Signatures *SignatureMap `protobuf:"bytes,1,opt,name=signatures,proto3" json:"signatures,omitempty"` Header *UpdateInstructionHeader `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` Payload *UpdateInstructionPayload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*UpdateInstruction) Descriptor
deprecated
func (*UpdateInstruction) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInstruction.ProtoReflect.Descriptor instead.
func (*UpdateInstruction) GetHeader ¶
func (x *UpdateInstruction) GetHeader() *UpdateInstructionHeader
func (*UpdateInstruction) GetPayload ¶
func (x *UpdateInstruction) GetPayload() *UpdateInstructionPayload
func (*UpdateInstruction) GetSignatures ¶
func (x *UpdateInstruction) GetSignatures() *SignatureMap
func (*UpdateInstruction) ProtoMessage ¶
func (*UpdateInstruction) ProtoMessage()
func (*UpdateInstruction) ProtoReflect ¶
func (x *UpdateInstruction) ProtoReflect() protoreflect.Message
func (*UpdateInstruction) Reset ¶
func (x *UpdateInstruction) Reset()
func (*UpdateInstruction) String ¶
func (x *UpdateInstruction) String() string
type UpdateInstructionHeader ¶
type UpdateInstructionHeader struct { SequenceNumber *UpdateSequenceNumber `protobuf:"bytes,1,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` EffectiveTime *TransactionTime `protobuf:"bytes,2,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` Timeout *TransactionTime `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*UpdateInstructionHeader) Descriptor
deprecated
func (*UpdateInstructionHeader) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInstructionHeader.ProtoReflect.Descriptor instead.
func (*UpdateInstructionHeader) GetEffectiveTime ¶
func (x *UpdateInstructionHeader) GetEffectiveTime() *TransactionTime
func (*UpdateInstructionHeader) GetSequenceNumber ¶
func (x *UpdateInstructionHeader) GetSequenceNumber() *UpdateSequenceNumber
func (*UpdateInstructionHeader) GetTimeout ¶
func (x *UpdateInstructionHeader) GetTimeout() *TransactionTime
func (*UpdateInstructionHeader) ProtoMessage ¶
func (*UpdateInstructionHeader) ProtoMessage()
func (*UpdateInstructionHeader) ProtoReflect ¶
func (x *UpdateInstructionHeader) ProtoReflect() protoreflect.Message
func (*UpdateInstructionHeader) Reset ¶
func (x *UpdateInstructionHeader) Reset()
func (*UpdateInstructionHeader) String ¶
func (x *UpdateInstructionHeader) String() string
type UpdateInstructionPayload ¶
type UpdateInstructionPayload struct { // Types that are assignable to Payload: // // *UpdateInstructionPayload_RawPayload Payload isUpdateInstructionPayload_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
The payload for an UpdateInstruction.
func (*UpdateInstructionPayload) Descriptor
deprecated
func (*UpdateInstructionPayload) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInstructionPayload.ProtoReflect.Descriptor instead.
func (*UpdateInstructionPayload) GetPayload ¶
func (m *UpdateInstructionPayload) GetPayload() isUpdateInstructionPayload_Payload
func (*UpdateInstructionPayload) GetRawPayload ¶
func (x *UpdateInstructionPayload) GetRawPayload() []byte
func (*UpdateInstructionPayload) ProtoMessage ¶
func (*UpdateInstructionPayload) ProtoMessage()
func (*UpdateInstructionPayload) ProtoReflect ¶
func (x *UpdateInstructionPayload) ProtoReflect() protoreflect.Message
func (*UpdateInstructionPayload) Reset ¶
func (x *UpdateInstructionPayload) Reset()
func (*UpdateInstructionPayload) String ¶
func (x *UpdateInstructionPayload) String() string
type UpdateInstructionPayload_RawPayload ¶
type UpdateInstructionPayload_RawPayload struct { // A raw payload encoded according to the format defined by the protocol. RawPayload []byte `protobuf:"bytes,3,opt,name=raw_payload,json=rawPayload,proto3,oneof"` }
type UpdateKeysIndex ¶
type UpdateKeysIndex struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Index of a key in an authorizations update payload.
func (*UpdateKeysIndex) Descriptor
deprecated
func (*UpdateKeysIndex) Descriptor() ([]byte, []int)
Deprecated: Use UpdateKeysIndex.ProtoReflect.Descriptor instead.
func (*UpdateKeysIndex) GetValue ¶
func (x *UpdateKeysIndex) GetValue() uint32
func (*UpdateKeysIndex) ProtoMessage ¶
func (*UpdateKeysIndex) ProtoMessage()
func (*UpdateKeysIndex) ProtoReflect ¶
func (x *UpdateKeysIndex) ProtoReflect() protoreflect.Message
func (*UpdateKeysIndex) Reset ¶
func (x *UpdateKeysIndex) Reset()
func (*UpdateKeysIndex) String ¶
func (x *UpdateKeysIndex) String() string
type UpdateKeysThreshold ¶
type UpdateKeysThreshold struct { // Is ensured to be within between 1 and 2^16. Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The threshold for how many UpdatePublicKeys are need to make a certain chain update.
func (*UpdateKeysThreshold) Descriptor
deprecated
func (*UpdateKeysThreshold) Descriptor() ([]byte, []int)
Deprecated: Use UpdateKeysThreshold.ProtoReflect.Descriptor instead.
func (*UpdateKeysThreshold) GetValue ¶
func (x *UpdateKeysThreshold) GetValue() uint32
func (*UpdateKeysThreshold) ProtoMessage ¶
func (*UpdateKeysThreshold) ProtoMessage()
func (*UpdateKeysThreshold) ProtoReflect ¶
func (x *UpdateKeysThreshold) ProtoReflect() protoreflect.Message
func (*UpdateKeysThreshold) Reset ¶
func (x *UpdateKeysThreshold) Reset()
func (*UpdateKeysThreshold) String ¶
func (x *UpdateKeysThreshold) String() string
type UpdatePayload ¶
type UpdatePayload struct { // Types that are assignable to Payload: // // *UpdatePayload_ProtocolUpdate // *UpdatePayload_ElectionDifficultyUpdate // *UpdatePayload_EuroPerEnergyUpdate // *UpdatePayload_MicroCcdPerEuroUpdate // *UpdatePayload_FoundationAccountUpdate // *UpdatePayload_MintDistributionUpdate // *UpdatePayload_TransactionFeeDistributionUpdate // *UpdatePayload_GasRewardsUpdate // *UpdatePayload_BakerStakeThresholdUpdate // *UpdatePayload_RootUpdate // *UpdatePayload_Level_1Update // *UpdatePayload_AddAnonymityRevokerUpdate // *UpdatePayload_AddIdentityProviderUpdate // *UpdatePayload_CooldownParametersCpv_1Update // *UpdatePayload_PoolParametersCpv_1Update // *UpdatePayload_TimeParametersCpv_1Update // *UpdatePayload_MintDistributionCpv_1Update // *UpdatePayload_GasRewardsCpv_2Update // *UpdatePayload_TimeoutParametersUpdate // *UpdatePayload_MinBlockTimeUpdate // *UpdatePayload_BlockEnergyLimitUpdate // *UpdatePayload_FinalizationCommitteeParametersUpdate Payload isUpdatePayload_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
The payload of a chain update.
func (*UpdatePayload) Descriptor
deprecated
func (*UpdatePayload) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePayload.ProtoReflect.Descriptor instead.
func (*UpdatePayload) GetAddAnonymityRevokerUpdate ¶
func (x *UpdatePayload) GetAddAnonymityRevokerUpdate() *ArInfo
func (*UpdatePayload) GetAddIdentityProviderUpdate ¶
func (x *UpdatePayload) GetAddIdentityProviderUpdate() *IpInfo
func (*UpdatePayload) GetBakerStakeThresholdUpdate ¶
func (x *UpdatePayload) GetBakerStakeThresholdUpdate() *BakerStakeThreshold
func (*UpdatePayload) GetBlockEnergyLimitUpdate ¶
func (x *UpdatePayload) GetBlockEnergyLimitUpdate() *Energy
func (*UpdatePayload) GetCooldownParametersCpv_1Update ¶
func (x *UpdatePayload) GetCooldownParametersCpv_1Update() *CooldownParametersCpv1
func (*UpdatePayload) GetElectionDifficultyUpdate ¶
func (x *UpdatePayload) GetElectionDifficultyUpdate() *ElectionDifficulty
func (*UpdatePayload) GetEuroPerEnergyUpdate ¶
func (x *UpdatePayload) GetEuroPerEnergyUpdate() *ExchangeRate
func (*UpdatePayload) GetFinalizationCommitteeParametersUpdate ¶
func (x *UpdatePayload) GetFinalizationCommitteeParametersUpdate() *FinalizationCommitteeParameters
func (*UpdatePayload) GetFoundationAccountUpdate ¶
func (x *UpdatePayload) GetFoundationAccountUpdate() *AccountAddress
func (*UpdatePayload) GetGasRewardsCpv_2Update ¶
func (x *UpdatePayload) GetGasRewardsCpv_2Update() *GasRewardsCpv2
func (*UpdatePayload) GetGasRewardsUpdate ¶
func (x *UpdatePayload) GetGasRewardsUpdate() *GasRewards
func (*UpdatePayload) GetLevel_1Update ¶
func (x *UpdatePayload) GetLevel_1Update() *Level1Update
func (*UpdatePayload) GetMicroCcdPerEuroUpdate ¶
func (x *UpdatePayload) GetMicroCcdPerEuroUpdate() *ExchangeRate
func (*UpdatePayload) GetMinBlockTimeUpdate ¶
func (x *UpdatePayload) GetMinBlockTimeUpdate() *Duration
func (*UpdatePayload) GetMintDistributionCpv_1Update ¶
func (x *UpdatePayload) GetMintDistributionCpv_1Update() *MintDistributionCpv1
func (*UpdatePayload) GetMintDistributionUpdate ¶
func (x *UpdatePayload) GetMintDistributionUpdate() *MintDistributionCpv0
func (*UpdatePayload) GetPayload ¶
func (m *UpdatePayload) GetPayload() isUpdatePayload_Payload
func (*UpdatePayload) GetPoolParametersCpv_1Update ¶
func (x *UpdatePayload) GetPoolParametersCpv_1Update() *PoolParametersCpv1
func (*UpdatePayload) GetProtocolUpdate ¶
func (x *UpdatePayload) GetProtocolUpdate() *ProtocolUpdate
func (*UpdatePayload) GetRootUpdate ¶
func (x *UpdatePayload) GetRootUpdate() *RootUpdate
func (*UpdatePayload) GetTimeParametersCpv_1Update ¶
func (x *UpdatePayload) GetTimeParametersCpv_1Update() *TimeParametersCpv1
func (*UpdatePayload) GetTimeoutParametersUpdate ¶
func (x *UpdatePayload) GetTimeoutParametersUpdate() *TimeoutParameters
func (*UpdatePayload) GetTransactionFeeDistributionUpdate ¶
func (x *UpdatePayload) GetTransactionFeeDistributionUpdate() *TransactionFeeDistribution
func (*UpdatePayload) ProtoMessage ¶
func (*UpdatePayload) ProtoMessage()
func (*UpdatePayload) ProtoReflect ¶
func (x *UpdatePayload) ProtoReflect() protoreflect.Message
func (*UpdatePayload) Reset ¶
func (x *UpdatePayload) Reset()
func (*UpdatePayload) String ¶
func (x *UpdatePayload) String() string
type UpdatePayload_AddAnonymityRevokerUpdate ¶
type UpdatePayload_AddAnonymityRevokerUpdate struct { // An anonymity revoker was added. AddAnonymityRevokerUpdate *ArInfo `protobuf:"bytes,12,opt,name=add_anonymity_revoker_update,json=addAnonymityRevokerUpdate,proto3,oneof"` }
type UpdatePayload_AddIdentityProviderUpdate ¶
type UpdatePayload_AddIdentityProviderUpdate struct { // An identity provider was added. AddIdentityProviderUpdate *IpInfo `protobuf:"bytes,13,opt,name=add_identity_provider_update,json=addIdentityProviderUpdate,proto3,oneof"` }
type UpdatePayload_BakerStakeThresholdUpdate ¶
type UpdatePayload_BakerStakeThresholdUpdate struct { // The minimum amount of CCD needed to be come a baker was updated. BakerStakeThresholdUpdate *BakerStakeThreshold `protobuf:"bytes,9,opt,name=baker_stake_threshold_update,json=bakerStakeThresholdUpdate,proto3,oneof"` }
type UpdatePayload_BlockEnergyLimitUpdate ¶
type UpdatePayload_BlockEnergyLimitUpdate struct { // The block energy limit was updated (chain parameters version 2). BlockEnergyLimitUpdate *Energy `protobuf:"bytes,21,opt,name=block_energy_limit_update,json=blockEnergyLimitUpdate,proto3,oneof"` }
type UpdatePayload_CooldownParametersCpv_1Update ¶
type UpdatePayload_CooldownParametersCpv_1Update struct { // The cooldown parameters were updated. CooldownParametersCpv_1Update *CooldownParametersCpv1 `protobuf:"bytes,14,opt,name=cooldown_parameters_cpv_1_update,json=cooldownParametersCpv1Update,proto3,oneof"` }
type UpdatePayload_ElectionDifficultyUpdate ¶
type UpdatePayload_ElectionDifficultyUpdate struct { // The election difficulty was updated. ElectionDifficultyUpdate *ElectionDifficulty `protobuf:"bytes,2,opt,name=election_difficulty_update,json=electionDifficultyUpdate,proto3,oneof"` }
type UpdatePayload_EuroPerEnergyUpdate ¶
type UpdatePayload_EuroPerEnergyUpdate struct { // The euro per energy exchange rate was updated. EuroPerEnergyUpdate *ExchangeRate `protobuf:"bytes,3,opt,name=euro_per_energy_update,json=euroPerEnergyUpdate,proto3,oneof"` }
type UpdatePayload_FinalizationCommitteeParametersUpdate ¶
type UpdatePayload_FinalizationCommitteeParametersUpdate struct { // Finalization committee parameters (chain parameters version 2). FinalizationCommitteeParametersUpdate *FinalizationCommitteeParameters `protobuf:"bytes,22,opt,name=finalization_committee_parameters_update,json=finalizationCommitteeParametersUpdate,proto3,oneof"` }
type UpdatePayload_FoundationAccountUpdate ¶
type UpdatePayload_FoundationAccountUpdate struct { // The foundation account address was updated. FoundationAccountUpdate *AccountAddress `protobuf:"bytes,5,opt,name=foundation_account_update,json=foundationAccountUpdate,proto3,oneof"` }
type UpdatePayload_GasRewardsCpv_2Update ¶
type UpdatePayload_GasRewardsCpv_2Update struct { // The gas rewards were updated (chain parameters version 2). GasRewardsCpv_2Update *GasRewardsCpv2 `protobuf:"bytes,18,opt,name=gas_rewards_cpv_2_update,json=gasRewardsCpv2Update,proto3,oneof"` }
type UpdatePayload_GasRewardsUpdate ¶
type UpdatePayload_GasRewardsUpdate struct { // The gas rewards were updated. GasRewardsUpdate *GasRewards `protobuf:"bytes,8,opt,name=gas_rewards_update,json=gasRewardsUpdate,proto3,oneof"` }
type UpdatePayload_Level_1Update ¶
type UpdatePayload_Level_1Update struct { // The level 1 keys were updated. Level_1Update *Level1Update `protobuf:"bytes,11,opt,name=level_1_update,json=level1Update,proto3,oneof"` }
type UpdatePayload_MicroCcdPerEuroUpdate ¶
type UpdatePayload_MicroCcdPerEuroUpdate struct { // The microCCD per euro exchange rate was updated. MicroCcdPerEuroUpdate *ExchangeRate `protobuf:"bytes,4,opt,name=micro_ccd_per_euro_update,json=microCcdPerEuroUpdate,proto3,oneof"` }
type UpdatePayload_MinBlockTimeUpdate ¶
type UpdatePayload_MinBlockTimeUpdate struct { // The minimum time between blocks was updated (chain parameters version 2). MinBlockTimeUpdate *Duration `protobuf:"bytes,20,opt,name=min_block_time_update,json=minBlockTimeUpdate,proto3,oneof"` }
type UpdatePayload_MintDistributionCpv_1Update ¶
type UpdatePayload_MintDistributionCpv_1Update struct { // The mint distribution was updated. MintDistributionCpv_1Update *MintDistributionCpv1 `protobuf:"bytes,17,opt,name=mint_distribution_cpv_1_update,json=mintDistributionCpv1Update,proto3,oneof"` }
type UpdatePayload_MintDistributionUpdate ¶
type UpdatePayload_MintDistributionUpdate struct { // The mint distribution was updated. MintDistributionUpdate *MintDistributionCpv0 `protobuf:"bytes,6,opt,name=mint_distribution_update,json=mintDistributionUpdate,proto3,oneof"` }
type UpdatePayload_PoolParametersCpv_1Update ¶
type UpdatePayload_PoolParametersCpv_1Update struct { // The pool parameters were updated. PoolParametersCpv_1Update *PoolParametersCpv1 `protobuf:"bytes,15,opt,name=pool_parameters_cpv_1_update,json=poolParametersCpv1Update,proto3,oneof"` }
type UpdatePayload_ProtocolUpdate ¶
type UpdatePayload_ProtocolUpdate struct { // The protocol version was updated. ProtocolUpdate *ProtocolUpdate `protobuf:"bytes,1,opt,name=protocol_update,json=protocolUpdate,proto3,oneof"` }
type UpdatePayload_RootUpdate ¶
type UpdatePayload_RootUpdate struct { // The root keys were updated. RootUpdate *RootUpdate `protobuf:"bytes,10,opt,name=root_update,json=rootUpdate,proto3,oneof"` }
type UpdatePayload_TimeParametersCpv_1Update ¶
type UpdatePayload_TimeParametersCpv_1Update struct { // The time parameters were updated. TimeParametersCpv_1Update *TimeParametersCpv1 `protobuf:"bytes,16,opt,name=time_parameters_cpv_1_update,json=timeParametersCpv1Update,proto3,oneof"` }
type UpdatePayload_TimeoutParametersUpdate ¶
type UpdatePayload_TimeoutParametersUpdate struct { // The consensus timeouts were updated (chain parameters version 2). TimeoutParametersUpdate *TimeoutParameters `protobuf:"bytes,19,opt,name=timeout_parameters_update,json=timeoutParametersUpdate,proto3,oneof"` }
type UpdatePayload_TransactionFeeDistributionUpdate ¶
type UpdatePayload_TransactionFeeDistributionUpdate struct { // The transaction fee distribtuion was updated. TransactionFeeDistributionUpdate *TransactionFeeDistribution `protobuf:"bytes,7,opt,name=transaction_fee_distribution_update,json=transactionFeeDistributionUpdate,proto3,oneof"` }
type UpdatePublicKey ¶
type UpdatePublicKey struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A public key used for chain updates.
func (*UpdatePublicKey) Descriptor
deprecated
func (*UpdatePublicKey) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePublicKey.ProtoReflect.Descriptor instead.
func (*UpdatePublicKey) GetValue ¶
func (x *UpdatePublicKey) GetValue() []byte
func (*UpdatePublicKey) ProtoMessage ¶
func (*UpdatePublicKey) ProtoMessage()
func (*UpdatePublicKey) ProtoReflect ¶
func (x *UpdatePublicKey) ProtoReflect() protoreflect.Message
func (*UpdatePublicKey) Reset ¶
func (x *UpdatePublicKey) Reset()
func (*UpdatePublicKey) String ¶
func (x *UpdatePublicKey) String() string
type UpdateSequenceNumber ¶
type UpdateSequenceNumber struct { // The sequence number. Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A sequence number that determines the ordering of update transactions. Equivalent to `SequenceNumber` for account transactions. Update sequence numbers are per update type and the minimum value is 1.
func (*UpdateSequenceNumber) Descriptor
deprecated
func (*UpdateSequenceNumber) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSequenceNumber.ProtoReflect.Descriptor instead.
func (*UpdateSequenceNumber) GetValue ¶
func (x *UpdateSequenceNumber) GetValue() uint64
func (*UpdateSequenceNumber) ProtoMessage ¶
func (*UpdateSequenceNumber) ProtoMessage()
func (*UpdateSequenceNumber) ProtoReflect ¶
func (x *UpdateSequenceNumber) ProtoReflect() protoreflect.Message
func (*UpdateSequenceNumber) Reset ¶
func (x *UpdateSequenceNumber) Reset()
func (*UpdateSequenceNumber) String ¶
func (x *UpdateSequenceNumber) String() string
type UpdateType ¶
type UpdateType int32
The type of chain update.
const ( UpdateType_UPDATE_PROTOCOL UpdateType = 0 UpdateType_UPDATE_ELECTION_DIFFICULTY UpdateType = 1 UpdateType_UPDATE_EURO_PER_ENERGY UpdateType = 2 UpdateType_UPDATE_MICRO_CCD_PER_EURO UpdateType = 3 UpdateType_UPDATE_FOUNDATION_ACCOUNT UpdateType = 4 UpdateType_UPDATE_MINT_DISTRIBUTION UpdateType = 5 UpdateType_UPDATE_TRANSACTION_FEE_DISTRIBUTION UpdateType = 6 UpdateType_UPDATE_GAS_REWARDS UpdateType = 7 UpdateType_UPDATE_POOL_PARAMETERS UpdateType = 8 UpdateType_ADD_ANONYMITY_REVOKER UpdateType = 9 UpdateType_ADD_IDENTITY_PROVIDER UpdateType = 10 UpdateType_UPDATE_ROOT_KEYS UpdateType = 11 UpdateType_UPDATE_LEVEL1_KEYS UpdateType = 12 UpdateType_UPDATE_LEVEL2_KEYS UpdateType = 13 UpdateType_UPDATE_COOLDOWN_PARAMETERS UpdateType = 14 UpdateType_UPDATE_TIME_PARAMETERS UpdateType = 15 UpdateType_UPDATE_TIMEOUT_PARAMETERS UpdateType = 16 UpdateType_UPDATE_MIN_BLOCK_TIME UpdateType = 17 UpdateType_UPDATE_BLOCK_ENERGY_LIMIT UpdateType = 18 UpdateType_UPDATE_FINALIZATION_COMMITTEE_PARAMETERS UpdateType = 19 )
func (UpdateType) Descriptor ¶
func (UpdateType) Descriptor() protoreflect.EnumDescriptor
func (UpdateType) Enum ¶
func (x UpdateType) Enum() *UpdateType
func (UpdateType) EnumDescriptor
deprecated
func (UpdateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateType.Descriptor instead.
func (UpdateType) Number ¶
func (x UpdateType) Number() protoreflect.EnumNumber
func (UpdateType) String ¶
func (x UpdateType) String() string
func (UpdateType) Type ¶
func (UpdateType) Type() protoreflect.EnumType
type VersionedModuleSource ¶
type VersionedModuleSource struct { // Types that are assignable to Module: // // *VersionedModuleSource_V0 // *VersionedModuleSource_V1 Module isVersionedModuleSource_Module `protobuf_oneof:"module"` // contains filtered or unexported fields }
Source bytes of a versioned smart contract module.
func (*VersionedModuleSource) Descriptor
deprecated
func (*VersionedModuleSource) Descriptor() ([]byte, []int)
Deprecated: Use VersionedModuleSource.ProtoReflect.Descriptor instead.
func (*VersionedModuleSource) GetModule ¶
func (m *VersionedModuleSource) GetModule() isVersionedModuleSource_Module
func (*VersionedModuleSource) GetV0 ¶
func (x *VersionedModuleSource) GetV0() *VersionedModuleSource_ModuleSourceV0
func (*VersionedModuleSource) GetV1 ¶
func (x *VersionedModuleSource) GetV1() *VersionedModuleSource_ModuleSourceV1
func (*VersionedModuleSource) ProtoMessage ¶
func (*VersionedModuleSource) ProtoMessage()
func (*VersionedModuleSource) ProtoReflect ¶
func (x *VersionedModuleSource) ProtoReflect() protoreflect.Message
func (*VersionedModuleSource) Reset ¶
func (x *VersionedModuleSource) Reset()
func (*VersionedModuleSource) String ¶
func (x *VersionedModuleSource) String() string
type VersionedModuleSource_ModuleSourceV0 ¶
type VersionedModuleSource_ModuleSourceV0 struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Source bytes of a smart contract v0 module.
func (*VersionedModuleSource_ModuleSourceV0) Descriptor
deprecated
func (*VersionedModuleSource_ModuleSourceV0) Descriptor() ([]byte, []int)
Deprecated: Use VersionedModuleSource_ModuleSourceV0.ProtoReflect.Descriptor instead.
func (*VersionedModuleSource_ModuleSourceV0) GetValue ¶
func (x *VersionedModuleSource_ModuleSourceV0) GetValue() []byte
func (*VersionedModuleSource_ModuleSourceV0) ProtoMessage ¶
func (*VersionedModuleSource_ModuleSourceV0) ProtoMessage()
func (*VersionedModuleSource_ModuleSourceV0) ProtoReflect ¶
func (x *VersionedModuleSource_ModuleSourceV0) ProtoReflect() protoreflect.Message
func (*VersionedModuleSource_ModuleSourceV0) Reset ¶
func (x *VersionedModuleSource_ModuleSourceV0) Reset()
func (*VersionedModuleSource_ModuleSourceV0) String ¶
func (x *VersionedModuleSource_ModuleSourceV0) String() string
type VersionedModuleSource_ModuleSourceV1 ¶
type VersionedModuleSource_ModuleSourceV1 struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Source bytes of a smart contract v1 module.
func (*VersionedModuleSource_ModuleSourceV1) Descriptor
deprecated
func (*VersionedModuleSource_ModuleSourceV1) Descriptor() ([]byte, []int)
Deprecated: Use VersionedModuleSource_ModuleSourceV1.ProtoReflect.Descriptor instead.
func (*VersionedModuleSource_ModuleSourceV1) GetValue ¶
func (x *VersionedModuleSource_ModuleSourceV1) GetValue() []byte
func (*VersionedModuleSource_ModuleSourceV1) ProtoMessage ¶
func (*VersionedModuleSource_ModuleSourceV1) ProtoMessage()
func (*VersionedModuleSource_ModuleSourceV1) ProtoReflect ¶
func (x *VersionedModuleSource_ModuleSourceV1) ProtoReflect() protoreflect.Message
func (*VersionedModuleSource_ModuleSourceV1) Reset ¶
func (x *VersionedModuleSource_ModuleSourceV1) Reset()
func (*VersionedModuleSource_ModuleSourceV1) String ¶
func (x *VersionedModuleSource_ModuleSourceV1) String() string
type VersionedModuleSource_V0 ¶
type VersionedModuleSource_V0 struct {
V0 *VersionedModuleSource_ModuleSourceV0 `protobuf:"bytes,1,opt,name=v0,proto3,oneof"`
}
type VersionedModuleSource_V1 ¶
type VersionedModuleSource_V1 struct {
V1 *VersionedModuleSource_ModuleSourceV1 `protobuf:"bytes,2,opt,name=v1,proto3,oneof"`
}
type WinningBaker ¶ added in v0.2.0
type WinningBaker struct { // The round number. Round *Round `protobuf:"bytes,1,opt,name=round,proto3" json:"round,omitempty"` // The baker that won the round. Winner *BakerId `protobuf:"bytes,2,opt,name=winner,proto3" json:"winner,omitempty"` // True if the baker produced a block in this round on the finalized chain, and False otherwise. Present bool `protobuf:"varint,3,opt,name=present,proto3" json:"present,omitempty"` // contains filtered or unexported fields }
Details of which baker won the lottery in a given round in consensus version 1.
func (*WinningBaker) Descriptor
deprecated
added in
v0.2.0
func (*WinningBaker) Descriptor() ([]byte, []int)
Deprecated: Use WinningBaker.ProtoReflect.Descriptor instead.
func (*WinningBaker) GetPresent ¶ added in v0.2.0
func (x *WinningBaker) GetPresent() bool
func (*WinningBaker) GetRound ¶ added in v0.2.0
func (x *WinningBaker) GetRound() *Round
func (*WinningBaker) GetWinner ¶ added in v0.2.0
func (x *WinningBaker) GetWinner() *BakerId
func (*WinningBaker) ProtoMessage ¶ added in v0.2.0
func (*WinningBaker) ProtoMessage()
func (*WinningBaker) ProtoReflect ¶ added in v0.2.0
func (x *WinningBaker) ProtoReflect() protoreflect.Message
func (*WinningBaker) Reset ¶ added in v0.2.0
func (x *WinningBaker) Reset()
func (*WinningBaker) String ¶ added in v0.2.0
func (x *WinningBaker) String() string
type YearMonth ¶
type YearMonth struct { Year uint32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Month uint32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` // contains filtered or unexported fields }
Representation of the pair of a year and month.
func (*YearMonth) Descriptor
deprecated
func (*YearMonth) ProtoMessage ¶
func (*YearMonth) ProtoMessage()
func (*YearMonth) ProtoReflect ¶
func (x *YearMonth) ProtoReflect() protoreflect.Message