Documentation ¶
Index ¶
- Variables
- func RegisterTransactionServer(s grpc.ServiceRegistrar, srv TransactionServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetCloseDormantAccount() *CloseDormantAccountAction
- func (x *Action) GetCloseEmptyAccount() *CloseEmptyAccountAction
- func (x *Action) GetFeePayment() *FeePaymentAction
- func (x *Action) GetId() uint32
- func (x *Action) GetNoPrivacyTransfer() *NoPrivacyTransferAction
- func (x *Action) GetNoPrivacyWithdraw() *NoPrivacyWithdrawAction
- func (x *Action) GetOpenAccount() *OpenAccountAction
- func (x *Action) GetPermanentPrivacyUpgrade() *PermanentPrivacyUpgradeAction
- func (x *Action) GetTemporaryPrivacyExchange() *TemporaryPrivacyExchangeAction
- func (x *Action) GetTemporaryPrivacyTransfer() *TemporaryPrivacyTransferAction
- func (m *Action) GetType() isAction_Type
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- func (m *Action) Validate() error
- type ActionValidationError
- type Action_CloseDormantAccount
- type Action_CloseEmptyAccount
- type Action_FeePayment
- type Action_NoPrivacyTransfer
- type Action_NoPrivacyWithdraw
- type Action_OpenAccount
- type Action_PermanentPrivacyUpgrade
- type Action_TemporaryPrivacyExchange
- type Action_TemporaryPrivacyTransfer
- type AdditionalFeePayment
- func (*AdditionalFeePayment) Descriptor() ([]byte, []int)deprecated
- func (x *AdditionalFeePayment) GetDestination() *v1.SolanaAccountId
- func (x *AdditionalFeePayment) GetFeeBps() uint32
- func (*AdditionalFeePayment) ProtoMessage()
- func (x *AdditionalFeePayment) ProtoReflect() protoreflect.Message
- func (x *AdditionalFeePayment) Reset()
- func (x *AdditionalFeePayment) String() string
- func (m *AdditionalFeePayment) Validate() error
- type AdditionalFeePaymentValidationError
- func (e AdditionalFeePaymentValidationError) Cause() error
- func (e AdditionalFeePaymentValidationError) Error() string
- func (e AdditionalFeePaymentValidationError) ErrorName() string
- func (e AdditionalFeePaymentValidationError) Field() string
- func (e AdditionalFeePaymentValidationError) Key() bool
- func (e AdditionalFeePaymentValidationError) Reason() string
- type AirdropRequest
- func (*AirdropRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AirdropRequest) GetAirdropType() AirdropType
- func (x *AirdropRequest) GetOwner() *v1.SolanaAccountId
- func (x *AirdropRequest) GetSignature() *v1.Signature
- func (*AirdropRequest) ProtoMessage()
- func (x *AirdropRequest) ProtoReflect() protoreflect.Message
- func (x *AirdropRequest) Reset()
- func (x *AirdropRequest) String() string
- func (m *AirdropRequest) Validate() error
- type AirdropRequestValidationError
- func (e AirdropRequestValidationError) Cause() error
- func (e AirdropRequestValidationError) Error() string
- func (e AirdropRequestValidationError) ErrorName() string
- func (e AirdropRequestValidationError) Field() string
- func (e AirdropRequestValidationError) Key() bool
- func (e AirdropRequestValidationError) Reason() string
- type AirdropResponse
- func (*AirdropResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AirdropResponse) GetExchangeData() *ExchangeData
- func (x *AirdropResponse) GetResult() AirdropResponse_Result
- func (*AirdropResponse) ProtoMessage()
- func (x *AirdropResponse) ProtoReflect() protoreflect.Message
- func (x *AirdropResponse) Reset()
- func (x *AirdropResponse) String() string
- func (m *AirdropResponse) Validate() error
- type AirdropResponseValidationError
- func (e AirdropResponseValidationError) Cause() error
- func (e AirdropResponseValidationError) Error() string
- func (e AirdropResponseValidationError) ErrorName() string
- func (e AirdropResponseValidationError) Field() string
- func (e AirdropResponseValidationError) Key() bool
- func (e AirdropResponseValidationError) Reason() string
- type AirdropResponse_Result
- func (AirdropResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x AirdropResponse_Result) Enum() *AirdropResponse_Result
- func (AirdropResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x AirdropResponse_Result) Number() protoreflect.EnumNumber
- func (x AirdropResponse_Result) String() string
- func (AirdropResponse_Result) Type() protoreflect.EnumType
- type AirdropType
- func (AirdropType) Descriptor() protoreflect.EnumDescriptor
- func (x AirdropType) Enum() *AirdropType
- func (AirdropType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AirdropType) Number() protoreflect.EnumNumber
- func (x AirdropType) String() string
- func (AirdropType) Type() protoreflect.EnumType
- type BuyModuleLimit
- func (*BuyModuleLimit) Descriptor() ([]byte, []int)deprecated
- func (x *BuyModuleLimit) GetMaxPerTransaction() float32
- func (x *BuyModuleLimit) GetMinPerTransaction() float32
- func (*BuyModuleLimit) ProtoMessage()
- func (x *BuyModuleLimit) ProtoReflect() protoreflect.Message
- func (x *BuyModuleLimit) Reset()
- func (x *BuyModuleLimit) String() string
- func (m *BuyModuleLimit) Validate() error
- type BuyModuleLimitValidationError
- func (e BuyModuleLimitValidationError) Cause() error
- func (e BuyModuleLimitValidationError) Error() string
- func (e BuyModuleLimitValidationError) ErrorName() string
- func (e BuyModuleLimitValidationError) Field() string
- func (e BuyModuleLimitValidationError) Key() bool
- func (e BuyModuleLimitValidationError) Reason() string
- type CanWithdrawToAccountRequest
- func (*CanWithdrawToAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CanWithdrawToAccountRequest) GetAccount() *v1.SolanaAccountId
- func (*CanWithdrawToAccountRequest) ProtoMessage()
- func (x *CanWithdrawToAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CanWithdrawToAccountRequest) Reset()
- func (x *CanWithdrawToAccountRequest) String() string
- func (m *CanWithdrawToAccountRequest) Validate() error
- type CanWithdrawToAccountRequestValidationError
- func (e CanWithdrawToAccountRequestValidationError) Cause() error
- func (e CanWithdrawToAccountRequestValidationError) Error() string
- func (e CanWithdrawToAccountRequestValidationError) ErrorName() string
- func (e CanWithdrawToAccountRequestValidationError) Field() string
- func (e CanWithdrawToAccountRequestValidationError) Key() bool
- func (e CanWithdrawToAccountRequestValidationError) Reason() string
- type CanWithdrawToAccountResponse
- func (*CanWithdrawToAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CanWithdrawToAccountResponse) GetAccountType() CanWithdrawToAccountResponse_AccountType
- func (x *CanWithdrawToAccountResponse) GetIsValidPaymentDestination() bool
- func (x *CanWithdrawToAccountResponse) GetRequiresInitialization() bool
- func (*CanWithdrawToAccountResponse) ProtoMessage()
- func (x *CanWithdrawToAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CanWithdrawToAccountResponse) Reset()
- func (x *CanWithdrawToAccountResponse) String() string
- func (m *CanWithdrawToAccountResponse) Validate() error
- type CanWithdrawToAccountResponseValidationError
- func (e CanWithdrawToAccountResponseValidationError) Cause() error
- func (e CanWithdrawToAccountResponseValidationError) Error() string
- func (e CanWithdrawToAccountResponseValidationError) ErrorName() string
- func (e CanWithdrawToAccountResponseValidationError) Field() string
- func (e CanWithdrawToAccountResponseValidationError) Key() bool
- func (e CanWithdrawToAccountResponseValidationError) Reason() string
- type CanWithdrawToAccountResponse_AccountType
- func (CanWithdrawToAccountResponse_AccountType) Descriptor() protoreflect.EnumDescriptor
- func (x CanWithdrawToAccountResponse_AccountType) Enum() *CanWithdrawToAccountResponse_AccountType
- func (CanWithdrawToAccountResponse_AccountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CanWithdrawToAccountResponse_AccountType) Number() protoreflect.EnumNumber
- func (x CanWithdrawToAccountResponse_AccountType) String() string
- func (CanWithdrawToAccountResponse_AccountType) Type() protoreflect.EnumType
- type CloseDormantAccountAction
- func (*CloseDormantAccountAction) Descriptor() ([]byte, []int)deprecated
- func (x *CloseDormantAccountAction) GetAccountType() v1.AccountType
- func (x *CloseDormantAccountAction) GetAuthority() *v1.SolanaAccountId
- func (x *CloseDormantAccountAction) GetDestination() *v1.SolanaAccountId
- func (x *CloseDormantAccountAction) GetToken() *v1.SolanaAccountId
- func (*CloseDormantAccountAction) ProtoMessage()
- func (x *CloseDormantAccountAction) ProtoReflect() protoreflect.Message
- func (x *CloseDormantAccountAction) Reset()
- func (x *CloseDormantAccountAction) String() string
- func (m *CloseDormantAccountAction) Validate() error
- type CloseDormantAccountActionValidationError
- func (e CloseDormantAccountActionValidationError) Cause() error
- func (e CloseDormantAccountActionValidationError) Error() string
- func (e CloseDormantAccountActionValidationError) ErrorName() string
- func (e CloseDormantAccountActionValidationError) Field() string
- func (e CloseDormantAccountActionValidationError) Key() bool
- func (e CloseDormantAccountActionValidationError) Reason() string
- type CloseDormantAccountServerParameter
- func (*CloseDormantAccountServerParameter) Descriptor() ([]byte, []int)deprecated
- func (*CloseDormantAccountServerParameter) ProtoMessage()
- func (x *CloseDormantAccountServerParameter) ProtoReflect() protoreflect.Message
- func (x *CloseDormantAccountServerParameter) Reset()
- func (x *CloseDormantAccountServerParameter) String() string
- func (m *CloseDormantAccountServerParameter) Validate() error
- type CloseDormantAccountServerParameterValidationError
- func (e CloseDormantAccountServerParameterValidationError) Cause() error
- func (e CloseDormantAccountServerParameterValidationError) Error() string
- func (e CloseDormantAccountServerParameterValidationError) ErrorName() string
- func (e CloseDormantAccountServerParameterValidationError) Field() string
- func (e CloseDormantAccountServerParameterValidationError) Key() bool
- func (e CloseDormantAccountServerParameterValidationError) Reason() string
- type CloseEmptyAccountAction
- func (*CloseEmptyAccountAction) Descriptor() ([]byte, []int)deprecated
- func (x *CloseEmptyAccountAction) GetAccountType() v1.AccountType
- func (x *CloseEmptyAccountAction) GetAuthority() *v1.SolanaAccountId
- func (x *CloseEmptyAccountAction) GetToken() *v1.SolanaAccountId
- func (*CloseEmptyAccountAction) ProtoMessage()
- func (x *CloseEmptyAccountAction) ProtoReflect() protoreflect.Message
- func (x *CloseEmptyAccountAction) Reset()
- func (x *CloseEmptyAccountAction) String() string
- func (m *CloseEmptyAccountAction) Validate() error
- type CloseEmptyAccountActionValidationError
- func (e CloseEmptyAccountActionValidationError) Cause() error
- func (e CloseEmptyAccountActionValidationError) Error() string
- func (e CloseEmptyAccountActionValidationError) ErrorName() string
- func (e CloseEmptyAccountActionValidationError) Field() string
- func (e CloseEmptyAccountActionValidationError) Key() bool
- func (e CloseEmptyAccountActionValidationError) Reason() string
- type CloseEmptyAccountServerParameter
- func (*CloseEmptyAccountServerParameter) Descriptor() ([]byte, []int)deprecated
- func (*CloseEmptyAccountServerParameter) ProtoMessage()
- func (x *CloseEmptyAccountServerParameter) ProtoReflect() protoreflect.Message
- func (x *CloseEmptyAccountServerParameter) Reset()
- func (x *CloseEmptyAccountServerParameter) String() string
- func (m *CloseEmptyAccountServerParameter) Validate() error
- type CloseEmptyAccountServerParameterValidationError
- func (e CloseEmptyAccountServerParameterValidationError) Cause() error
- func (e CloseEmptyAccountServerParameterValidationError) Error() string
- func (e CloseEmptyAccountServerParameterValidationError) ErrorName() string
- func (e CloseEmptyAccountServerParameterValidationError) Field() string
- func (e CloseEmptyAccountServerParameterValidationError) Key() bool
- func (e CloseEmptyAccountServerParameterValidationError) Reason() string
- type Cursor
- type CursorValidationError
- type DeclareFiatOnrampPurchaseAttemptRequest
- func (*DeclareFiatOnrampPurchaseAttemptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeclareFiatOnrampPurchaseAttemptRequest) GetNonce() *v1.UUID
- func (x *DeclareFiatOnrampPurchaseAttemptRequest) GetOwner() *v1.SolanaAccountId
- func (x *DeclareFiatOnrampPurchaseAttemptRequest) GetPurchaseAmount() *ExchangeDataWithoutRate
- func (x *DeclareFiatOnrampPurchaseAttemptRequest) GetSignature() *v1.Signature
- func (*DeclareFiatOnrampPurchaseAttemptRequest) ProtoMessage()
- func (x *DeclareFiatOnrampPurchaseAttemptRequest) ProtoReflect() protoreflect.Message
- func (x *DeclareFiatOnrampPurchaseAttemptRequest) Reset()
- func (x *DeclareFiatOnrampPurchaseAttemptRequest) String() string
- func (m *DeclareFiatOnrampPurchaseAttemptRequest) Validate() error
- type DeclareFiatOnrampPurchaseAttemptRequestValidationError
- func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) Cause() error
- func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) Error() string
- func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) ErrorName() string
- func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) Field() string
- func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) Key() bool
- func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) Reason() string
- type DeclareFiatOnrampPurchaseAttemptResponse
- func (*DeclareFiatOnrampPurchaseAttemptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeclareFiatOnrampPurchaseAttemptResponse) GetResult() DeclareFiatOnrampPurchaseAttemptResponse_Result
- func (*DeclareFiatOnrampPurchaseAttemptResponse) ProtoMessage()
- func (x *DeclareFiatOnrampPurchaseAttemptResponse) ProtoReflect() protoreflect.Message
- func (x *DeclareFiatOnrampPurchaseAttemptResponse) Reset()
- func (x *DeclareFiatOnrampPurchaseAttemptResponse) String() string
- func (m *DeclareFiatOnrampPurchaseAttemptResponse) Validate() error
- type DeclareFiatOnrampPurchaseAttemptResponseValidationError
- func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) Cause() error
- func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) Error() string
- func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) ErrorName() string
- func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) Field() string
- func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) Key() bool
- func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) Reason() string
- type DeclareFiatOnrampPurchaseAttemptResponse_Result
- func (DeclareFiatOnrampPurchaseAttemptResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x DeclareFiatOnrampPurchaseAttemptResponse_Result) Enum() *DeclareFiatOnrampPurchaseAttemptResponse_Result
- func (DeclareFiatOnrampPurchaseAttemptResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeclareFiatOnrampPurchaseAttemptResponse_Result) Number() protoreflect.EnumNumber
- func (x DeclareFiatOnrampPurchaseAttemptResponse_Result) String() string
- func (DeclareFiatOnrampPurchaseAttemptResponse_Result) Type() protoreflect.EnumType
- type DeniedErrorDetails
- func (*DeniedErrorDetails) Descriptor() ([]byte, []int)deprecated
- func (x *DeniedErrorDetails) GetCode() DeniedErrorDetails_Code
- func (x *DeniedErrorDetails) GetReason() string
- func (*DeniedErrorDetails) ProtoMessage()
- func (x *DeniedErrorDetails) ProtoReflect() protoreflect.Message
- func (x *DeniedErrorDetails) Reset()
- func (x *DeniedErrorDetails) String() string
- func (m *DeniedErrorDetails) Validate() error
- type DeniedErrorDetailsValidationError
- func (e DeniedErrorDetailsValidationError) Cause() error
- func (e DeniedErrorDetailsValidationError) Error() string
- func (e DeniedErrorDetailsValidationError) ErrorName() string
- func (e DeniedErrorDetailsValidationError) Field() string
- func (e DeniedErrorDetailsValidationError) Key() bool
- func (e DeniedErrorDetailsValidationError) Reason() string
- type DeniedErrorDetails_Code
- func (DeniedErrorDetails_Code) Descriptor() protoreflect.EnumDescriptor
- func (x DeniedErrorDetails_Code) Enum() *DeniedErrorDetails_Code
- func (DeniedErrorDetails_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeniedErrorDetails_Code) Number() protoreflect.EnumNumber
- func (x DeniedErrorDetails_Code) String() string
- func (DeniedErrorDetails_Code) Type() protoreflect.EnumType
- type DepositLimit
- func (*DepositLimit) Descriptor() ([]byte, []int)deprecated
- func (x *DepositLimit) GetMaxQuarks() uint64
- func (*DepositLimit) ProtoMessage()
- func (x *DepositLimit) ProtoReflect() protoreflect.Message
- func (x *DepositLimit) Reset()
- func (x *DepositLimit) String() string
- func (m *DepositLimit) Validate() error
- type DepositLimitValidationError
- func (e DepositLimitValidationError) Cause() error
- func (e DepositLimitValidationError) Error() string
- func (e DepositLimitValidationError) ErrorName() string
- func (e DepositLimitValidationError) Field() string
- func (e DepositLimitValidationError) Key() bool
- func (e DepositLimitValidationError) Reason() string
- type ErrorDetails
- func (*ErrorDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorDetails) GetDenied() *DeniedErrorDetails
- func (x *ErrorDetails) GetInvalidSignature() *InvalidSignatureErrorDetails
- func (x *ErrorDetails) GetReasonString() *ReasonStringErrorDetails
- func (m *ErrorDetails) GetType() isErrorDetails_Type
- func (*ErrorDetails) ProtoMessage()
- func (x *ErrorDetails) ProtoReflect() protoreflect.Message
- func (x *ErrorDetails) Reset()
- func (x *ErrorDetails) String() string
- func (m *ErrorDetails) Validate() error
- type ErrorDetailsValidationError
- func (e ErrorDetailsValidationError) Cause() error
- func (e ErrorDetailsValidationError) Error() string
- func (e ErrorDetailsValidationError) ErrorName() string
- func (e ErrorDetailsValidationError) Field() string
- func (e ErrorDetailsValidationError) Key() bool
- func (e ErrorDetailsValidationError) Reason() string
- type ErrorDetails_Denied
- type ErrorDetails_InvalidSignature
- type ErrorDetails_ReasonString
- type EstablishRelationshipMetadata
- func (*EstablishRelationshipMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *EstablishRelationshipMetadata) GetRelationship() *v1.Relationship
- func (*EstablishRelationshipMetadata) ProtoMessage()
- func (x *EstablishRelationshipMetadata) ProtoReflect() protoreflect.Message
- func (x *EstablishRelationshipMetadata) Reset()
- func (x *EstablishRelationshipMetadata) String() string
- func (m *EstablishRelationshipMetadata) Validate() error
- type EstablishRelationshipMetadataValidationError
- func (e EstablishRelationshipMetadataValidationError) Cause() error
- func (e EstablishRelationshipMetadataValidationError) Error() string
- func (e EstablishRelationshipMetadataValidationError) ErrorName() string
- func (e EstablishRelationshipMetadataValidationError) Field() string
- func (e EstablishRelationshipMetadataValidationError) Key() bool
- func (e EstablishRelationshipMetadataValidationError) Reason() string
- type ExchangeData
- func (*ExchangeData) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeData) GetCurrency() string
- func (x *ExchangeData) GetExchangeRate() float64
- func (x *ExchangeData) GetNativeAmount() float64
- func (x *ExchangeData) GetQuarks() uint64
- func (*ExchangeData) ProtoMessage()
- func (x *ExchangeData) ProtoReflect() protoreflect.Message
- func (x *ExchangeData) Reset()
- func (x *ExchangeData) String() string
- func (m *ExchangeData) Validate() error
- type ExchangeDataValidationError
- func (e ExchangeDataValidationError) Cause() error
- func (e ExchangeDataValidationError) Error() string
- func (e ExchangeDataValidationError) ErrorName() string
- func (e ExchangeDataValidationError) Field() string
- func (e ExchangeDataValidationError) Key() bool
- func (e ExchangeDataValidationError) Reason() string
- type ExchangeDataWithoutRate
- func (*ExchangeDataWithoutRate) Descriptor() ([]byte, []int)deprecated
- func (x *ExchangeDataWithoutRate) GetCurrency() string
- func (x *ExchangeDataWithoutRate) GetNativeAmount() float64
- func (*ExchangeDataWithoutRate) ProtoMessage()
- func (x *ExchangeDataWithoutRate) ProtoReflect() protoreflect.Message
- func (x *ExchangeDataWithoutRate) Reset()
- func (x *ExchangeDataWithoutRate) String() string
- func (m *ExchangeDataWithoutRate) Validate() error
- type ExchangeDataWithoutRateValidationError
- func (e ExchangeDataWithoutRateValidationError) Cause() error
- func (e ExchangeDataWithoutRateValidationError) Error() string
- func (e ExchangeDataWithoutRateValidationError) ErrorName() string
- func (e ExchangeDataWithoutRateValidationError) Field() string
- func (e ExchangeDataWithoutRateValidationError) Key() bool
- func (e ExchangeDataWithoutRateValidationError) Reason() string
- type FeePaymentAction
- func (*FeePaymentAction) Descriptor() ([]byte, []int)deprecated
- func (x *FeePaymentAction) GetAmount() uint64
- func (x *FeePaymentAction) GetAuthority() *v1.SolanaAccountId
- func (x *FeePaymentAction) GetDestination() *v1.SolanaAccountId
- func (x *FeePaymentAction) GetSource() *v1.SolanaAccountId
- func (x *FeePaymentAction) GetType() FeePaymentAction_FeeType
- func (*FeePaymentAction) ProtoMessage()
- func (x *FeePaymentAction) ProtoReflect() protoreflect.Message
- func (x *FeePaymentAction) Reset()
- func (x *FeePaymentAction) String() string
- func (m *FeePaymentAction) Validate() error
- type FeePaymentActionValidationError
- func (e FeePaymentActionValidationError) Cause() error
- func (e FeePaymentActionValidationError) Error() string
- func (e FeePaymentActionValidationError) ErrorName() string
- func (e FeePaymentActionValidationError) Field() string
- func (e FeePaymentActionValidationError) Key() bool
- func (e FeePaymentActionValidationError) Reason() string
- type FeePaymentAction_FeeType
- func (FeePaymentAction_FeeType) Descriptor() protoreflect.EnumDescriptor
- func (x FeePaymentAction_FeeType) Enum() *FeePaymentAction_FeeType
- func (FeePaymentAction_FeeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FeePaymentAction_FeeType) Number() protoreflect.EnumNumber
- func (x FeePaymentAction_FeeType) String() string
- func (FeePaymentAction_FeeType) Type() protoreflect.EnumType
- type FeePaymentServerParameter
- func (*FeePaymentServerParameter) Descriptor() ([]byte, []int)deprecated
- func (x *FeePaymentServerParameter) GetCodeDestination() *v1.SolanaAccountId
- func (*FeePaymentServerParameter) ProtoMessage()
- func (x *FeePaymentServerParameter) ProtoReflect() protoreflect.Message
- func (x *FeePaymentServerParameter) Reset()
- func (x *FeePaymentServerParameter) String() string
- func (m *FeePaymentServerParameter) Validate() error
- type FeePaymentServerParameterValidationError
- func (e FeePaymentServerParameterValidationError) Cause() error
- func (e FeePaymentServerParameterValidationError) Error() string
- func (e FeePaymentServerParameterValidationError) ErrorName() string
- func (e FeePaymentServerParameterValidationError) Field() string
- func (e FeePaymentServerParameterValidationError) Key() bool
- func (e FeePaymentServerParameterValidationError) Reason() string
- type GetIntentMetadataRequest
- func (*GetIntentMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIntentMetadataRequest) GetIntentId() *v1.IntentId
- func (x *GetIntentMetadataRequest) GetOwner() *v1.SolanaAccountId
- func (x *GetIntentMetadataRequest) GetSignature() *v1.Signature
- func (*GetIntentMetadataRequest) ProtoMessage()
- func (x *GetIntentMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetIntentMetadataRequest) Reset()
- func (x *GetIntentMetadataRequest) String() string
- func (m *GetIntentMetadataRequest) Validate() error
- type GetIntentMetadataRequestValidationError
- func (e GetIntentMetadataRequestValidationError) Cause() error
- func (e GetIntentMetadataRequestValidationError) Error() string
- func (e GetIntentMetadataRequestValidationError) ErrorName() string
- func (e GetIntentMetadataRequestValidationError) Field() string
- func (e GetIntentMetadataRequestValidationError) Key() bool
- func (e GetIntentMetadataRequestValidationError) Reason() string
- type GetIntentMetadataResponse
- func (*GetIntentMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIntentMetadataResponse) GetMetadata() *Metadata
- func (x *GetIntentMetadataResponse) GetResult() GetIntentMetadataResponse_Result
- func (*GetIntentMetadataResponse) ProtoMessage()
- func (x *GetIntentMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *GetIntentMetadataResponse) Reset()
- func (x *GetIntentMetadataResponse) String() string
- func (m *GetIntentMetadataResponse) Validate() error
- type GetIntentMetadataResponseValidationError
- func (e GetIntentMetadataResponseValidationError) Cause() error
- func (e GetIntentMetadataResponseValidationError) Error() string
- func (e GetIntentMetadataResponseValidationError) ErrorName() string
- func (e GetIntentMetadataResponseValidationError) Field() string
- func (e GetIntentMetadataResponseValidationError) Key() bool
- func (e GetIntentMetadataResponseValidationError) Reason() string
- type GetIntentMetadataResponse_Result
- func (GetIntentMetadataResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetIntentMetadataResponse_Result) Enum() *GetIntentMetadataResponse_Result
- func (GetIntentMetadataResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetIntentMetadataResponse_Result) Number() protoreflect.EnumNumber
- func (x GetIntentMetadataResponse_Result) String() string
- func (GetIntentMetadataResponse_Result) Type() protoreflect.EnumType
- type GetLimitsRequest
- func (*GetLimitsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLimitsRequest) GetConsumedSince() *timestamppb.Timestamp
- func (x *GetLimitsRequest) GetOwner() *v1.SolanaAccountId
- func (x *GetLimitsRequest) GetSignature() *v1.Signature
- func (*GetLimitsRequest) ProtoMessage()
- func (x *GetLimitsRequest) ProtoReflect() protoreflect.Message
- func (x *GetLimitsRequest) Reset()
- func (x *GetLimitsRequest) String() string
- func (m *GetLimitsRequest) Validate() error
- type GetLimitsRequestValidationError
- func (e GetLimitsRequestValidationError) Cause() error
- func (e GetLimitsRequestValidationError) Error() string
- func (e GetLimitsRequestValidationError) ErrorName() string
- func (e GetLimitsRequestValidationError) Field() string
- func (e GetLimitsRequestValidationError) Key() bool
- func (e GetLimitsRequestValidationError) Reason() string
- type GetLimitsResponse
- func (*GetLimitsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLimitsResponse) GetBuyModuleLimitsByCurrency() map[string]*BuyModuleLimit
- func (x *GetLimitsResponse) GetDepositLimit() *DepositLimit
- func (x *GetLimitsResponse) GetMicroPaymentLimitsByCurrency() map[string]*MicroPaymentLimit
- func (x *GetLimitsResponse) GetResult() GetLimitsResponse_Result
- func (x *GetLimitsResponse) GetSendLimitsByCurrency() map[string]*SendLimit
- func (*GetLimitsResponse) ProtoMessage()
- func (x *GetLimitsResponse) ProtoReflect() protoreflect.Message
- func (x *GetLimitsResponse) Reset()
- func (x *GetLimitsResponse) String() string
- func (m *GetLimitsResponse) Validate() error
- type GetLimitsResponseValidationError
- func (e GetLimitsResponseValidationError) Cause() error
- func (e GetLimitsResponseValidationError) Error() string
- func (e GetLimitsResponseValidationError) ErrorName() string
- func (e GetLimitsResponseValidationError) Field() string
- func (e GetLimitsResponseValidationError) Key() bool
- func (e GetLimitsResponseValidationError) Reason() string
- type GetLimitsResponse_Result
- func (GetLimitsResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetLimitsResponse_Result) Enum() *GetLimitsResponse_Result
- func (GetLimitsResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetLimitsResponse_Result) Number() protoreflect.EnumNumber
- func (x GetLimitsResponse_Result) String() string
- func (GetLimitsResponse_Result) Type() protoreflect.EnumType
- type GetPaymentHistoryRequest
- func (*GetPaymentHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaymentHistoryRequest) GetCursor() *Cursor
- func (x *GetPaymentHistoryRequest) GetDirection() GetPaymentHistoryRequest_Direction
- func (x *GetPaymentHistoryRequest) GetOwner() *v1.SolanaAccountId
- func (x *GetPaymentHistoryRequest) GetPageSize() uint32
- func (x *GetPaymentHistoryRequest) GetSignature() *v1.Signature
- func (*GetPaymentHistoryRequest) ProtoMessage()
- func (x *GetPaymentHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetPaymentHistoryRequest) Reset()
- func (x *GetPaymentHistoryRequest) String() string
- func (m *GetPaymentHistoryRequest) Validate() error
- type GetPaymentHistoryRequestValidationError
- func (e GetPaymentHistoryRequestValidationError) Cause() error
- func (e GetPaymentHistoryRequestValidationError) Error() string
- func (e GetPaymentHistoryRequestValidationError) ErrorName() string
- func (e GetPaymentHistoryRequestValidationError) Field() string
- func (e GetPaymentHistoryRequestValidationError) Key() bool
- func (e GetPaymentHistoryRequestValidationError) Reason() string
- type GetPaymentHistoryRequest_Direction
- func (GetPaymentHistoryRequest_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x GetPaymentHistoryRequest_Direction) Enum() *GetPaymentHistoryRequest_Direction
- func (GetPaymentHistoryRequest_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetPaymentHistoryRequest_Direction) Number() protoreflect.EnumNumber
- func (x GetPaymentHistoryRequest_Direction) String() string
- func (GetPaymentHistoryRequest_Direction) Type() protoreflect.EnumType
- type GetPaymentHistoryResponse
- func (*GetPaymentHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPaymentHistoryResponse) GetItems() []*PaymentHistoryItem
- func (x *GetPaymentHistoryResponse) GetResult() GetPaymentHistoryResponse_Result
- func (*GetPaymentHistoryResponse) ProtoMessage()
- func (x *GetPaymentHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *GetPaymentHistoryResponse) Reset()
- func (x *GetPaymentHistoryResponse) String() string
- func (m *GetPaymentHistoryResponse) Validate() error
- type GetPaymentHistoryResponseValidationError
- func (e GetPaymentHistoryResponseValidationError) Cause() error
- func (e GetPaymentHistoryResponseValidationError) Error() string
- func (e GetPaymentHistoryResponseValidationError) ErrorName() string
- func (e GetPaymentHistoryResponseValidationError) Field() string
- func (e GetPaymentHistoryResponseValidationError) Key() bool
- func (e GetPaymentHistoryResponseValidationError) Reason() string
- type GetPaymentHistoryResponse_Result
- func (GetPaymentHistoryResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetPaymentHistoryResponse_Result) Enum() *GetPaymentHistoryResponse_Result
- func (GetPaymentHistoryResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetPaymentHistoryResponse_Result) Number() protoreflect.EnumNumber
- func (x GetPaymentHistoryResponse_Result) String() string
- func (GetPaymentHistoryResponse_Result) Type() protoreflect.EnumType
- type GetPrioritizedIntentsForPrivacyUpgradeRequest
- func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) GetLimit() uint32
- func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) GetOwner() *v1.SolanaAccountId
- func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) GetSignature() *v1.Signature
- func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) ProtoMessage()
- func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) ProtoReflect() protoreflect.Message
- func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) Reset()
- func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) String() string
- func (m *GetPrioritizedIntentsForPrivacyUpgradeRequest) Validate() error
- type GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError
- func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Cause() error
- func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Error() string
- func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) ErrorName() string
- func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Field() string
- func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Key() bool
- func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Reason() string
- type GetPrioritizedIntentsForPrivacyUpgradeResponse
- func (*GetPrioritizedIntentsForPrivacyUpgradeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPrioritizedIntentsForPrivacyUpgradeResponse) GetItems() []*UpgradeableIntent
- func (x *GetPrioritizedIntentsForPrivacyUpgradeResponse) GetResult() GetPrioritizedIntentsForPrivacyUpgradeResponse_Result
- func (*GetPrioritizedIntentsForPrivacyUpgradeResponse) ProtoMessage()
- func (x *GetPrioritizedIntentsForPrivacyUpgradeResponse) ProtoReflect() protoreflect.Message
- func (x *GetPrioritizedIntentsForPrivacyUpgradeResponse) Reset()
- func (x *GetPrioritizedIntentsForPrivacyUpgradeResponse) String() string
- func (m *GetPrioritizedIntentsForPrivacyUpgradeResponse) Validate() error
- type GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError
- func (e GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Cause() error
- func (e GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Error() string
- func (e GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) ErrorName() string
- func (e GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Field() string
- func (e GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Key() bool
- func (e GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Reason() string
- type GetPrioritizedIntentsForPrivacyUpgradeResponse_Result
- func (GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) Enum() *GetPrioritizedIntentsForPrivacyUpgradeResponse_Result
- func (GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) Number() protoreflect.EnumNumber
- func (x GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) String() string
- func (GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) Type() protoreflect.EnumType
- type GetPrivacyUpgradeStatusRequest
- func (*GetPrivacyUpgradeStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPrivacyUpgradeStatusRequest) GetActionId() uint32
- func (x *GetPrivacyUpgradeStatusRequest) GetIntentId() *v1.IntentId
- func (*GetPrivacyUpgradeStatusRequest) ProtoMessage()
- func (x *GetPrivacyUpgradeStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetPrivacyUpgradeStatusRequest) Reset()
- func (x *GetPrivacyUpgradeStatusRequest) String() string
- func (m *GetPrivacyUpgradeStatusRequest) Validate() error
- type GetPrivacyUpgradeStatusRequestValidationError
- func (e GetPrivacyUpgradeStatusRequestValidationError) Cause() error
- func (e GetPrivacyUpgradeStatusRequestValidationError) Error() string
- func (e GetPrivacyUpgradeStatusRequestValidationError) ErrorName() string
- func (e GetPrivacyUpgradeStatusRequestValidationError) Field() string
- func (e GetPrivacyUpgradeStatusRequestValidationError) Key() bool
- func (e GetPrivacyUpgradeStatusRequestValidationError) Reason() string
- type GetPrivacyUpgradeStatusResponse
- func (*GetPrivacyUpgradeStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPrivacyUpgradeStatusResponse) GetResult() GetPrivacyUpgradeStatusResponse_Result
- func (x *GetPrivacyUpgradeStatusResponse) GetStatus() GetPrivacyUpgradeStatusResponse_Status
- func (*GetPrivacyUpgradeStatusResponse) ProtoMessage()
- func (x *GetPrivacyUpgradeStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetPrivacyUpgradeStatusResponse) Reset()
- func (x *GetPrivacyUpgradeStatusResponse) String() string
- func (m *GetPrivacyUpgradeStatusResponse) Validate() error
- type GetPrivacyUpgradeStatusResponseValidationError
- func (e GetPrivacyUpgradeStatusResponseValidationError) Cause() error
- func (e GetPrivacyUpgradeStatusResponseValidationError) Error() string
- func (e GetPrivacyUpgradeStatusResponseValidationError) ErrorName() string
- func (e GetPrivacyUpgradeStatusResponseValidationError) Field() string
- func (e GetPrivacyUpgradeStatusResponseValidationError) Key() bool
- func (e GetPrivacyUpgradeStatusResponseValidationError) Reason() string
- type GetPrivacyUpgradeStatusResponse_Result
- func (GetPrivacyUpgradeStatusResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetPrivacyUpgradeStatusResponse_Result) Enum() *GetPrivacyUpgradeStatusResponse_Result
- func (GetPrivacyUpgradeStatusResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetPrivacyUpgradeStatusResponse_Result) Number() protoreflect.EnumNumber
- func (x GetPrivacyUpgradeStatusResponse_Result) String() string
- func (GetPrivacyUpgradeStatusResponse_Result) Type() protoreflect.EnumType
- type GetPrivacyUpgradeStatusResponse_Status
- func (GetPrivacyUpgradeStatusResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x GetPrivacyUpgradeStatusResponse_Status) Enum() *GetPrivacyUpgradeStatusResponse_Status
- func (GetPrivacyUpgradeStatusResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetPrivacyUpgradeStatusResponse_Status) Number() protoreflect.EnumNumber
- func (x GetPrivacyUpgradeStatusResponse_Status) String() string
- func (GetPrivacyUpgradeStatusResponse_Status) Type() protoreflect.EnumType
- type InvalidSignatureErrorDetails
- func (*InvalidSignatureErrorDetails) Descriptor() ([]byte, []int)deprecated
- func (x *InvalidSignatureErrorDetails) GetActionId() uint32
- func (x *InvalidSignatureErrorDetails) GetExpectedTransaction() *v1.Transaction
- func (x *InvalidSignatureErrorDetails) GetProvidedSignature() *v1.Signature
- func (*InvalidSignatureErrorDetails) ProtoMessage()
- func (x *InvalidSignatureErrorDetails) ProtoReflect() protoreflect.Message
- func (x *InvalidSignatureErrorDetails) Reset()
- func (x *InvalidSignatureErrorDetails) String() string
- func (m *InvalidSignatureErrorDetails) Validate() error
- type InvalidSignatureErrorDetailsValidationError
- func (e InvalidSignatureErrorDetailsValidationError) Cause() error
- func (e InvalidSignatureErrorDetailsValidationError) Error() string
- func (e InvalidSignatureErrorDetailsValidationError) ErrorName() string
- func (e InvalidSignatureErrorDetailsValidationError) Field() string
- func (e InvalidSignatureErrorDetailsValidationError) Key() bool
- func (e InvalidSignatureErrorDetailsValidationError) Reason() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetEstablishRelationship() *EstablishRelationshipMetadata
- func (x *Metadata) GetMigrateToPrivacy_2022() *MigrateToPrivacy2022Metadata
- func (x *Metadata) GetOpenAccounts() *OpenAccountsMetadata
- func (x *Metadata) GetReceivePaymentsPrivately() *ReceivePaymentsPrivatelyMetadata
- func (x *Metadata) GetReceivePaymentsPublicly() *ReceivePaymentsPubliclyMetadata
- func (x *Metadata) GetSendPrivatePayment() *SendPrivatePaymentMetadata
- func (x *Metadata) GetSendPublicPayment() *SendPublicPaymentMetadata
- func (m *Metadata) GetType() isMetadata_Type
- func (x *Metadata) GetUpgradePrivacy() *UpgradePrivacyMetadata
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- func (m *Metadata) Validate() error
- type MetadataValidationError
- type Metadata_EstablishRelationship
- type Metadata_MigrateToPrivacy_2022
- type Metadata_OpenAccounts
- type Metadata_ReceivePaymentsPrivately
- type Metadata_ReceivePaymentsPublicly
- type Metadata_SendPrivatePayment
- type Metadata_SendPublicPayment
- type Metadata_UpgradePrivacy
- type MicroPaymentLimit
- func (*MicroPaymentLimit) Descriptor() ([]byte, []int)deprecated
- func (x *MicroPaymentLimit) GetMaxPerTransaction() float32
- func (x *MicroPaymentLimit) GetMinPerTransaction() float32
- func (*MicroPaymentLimit) ProtoMessage()
- func (x *MicroPaymentLimit) ProtoReflect() protoreflect.Message
- func (x *MicroPaymentLimit) Reset()
- func (x *MicroPaymentLimit) String() string
- func (m *MicroPaymentLimit) Validate() error
- type MicroPaymentLimitValidationError
- func (e MicroPaymentLimitValidationError) Cause() error
- func (e MicroPaymentLimitValidationError) Error() string
- func (e MicroPaymentLimitValidationError) ErrorName() string
- func (e MicroPaymentLimitValidationError) Field() string
- func (e MicroPaymentLimitValidationError) Key() bool
- func (e MicroPaymentLimitValidationError) Reason() string
- type MigrateToPrivacy2022Metadata
- func (*MigrateToPrivacy2022Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *MigrateToPrivacy2022Metadata) GetQuarks() uint64
- func (*MigrateToPrivacy2022Metadata) ProtoMessage()
- func (x *MigrateToPrivacy2022Metadata) ProtoReflect() protoreflect.Message
- func (x *MigrateToPrivacy2022Metadata) Reset()
- func (x *MigrateToPrivacy2022Metadata) String() string
- func (m *MigrateToPrivacy2022Metadata) Validate() error
- type MigrateToPrivacy2022MetadataValidationError
- func (e MigrateToPrivacy2022MetadataValidationError) Cause() error
- func (e MigrateToPrivacy2022MetadataValidationError) Error() string
- func (e MigrateToPrivacy2022MetadataValidationError) ErrorName() string
- func (e MigrateToPrivacy2022MetadataValidationError) Field() string
- func (e MigrateToPrivacy2022MetadataValidationError) Key() bool
- func (e MigrateToPrivacy2022MetadataValidationError) Reason() string
- type NoPrivacyTransferAction
- func (*NoPrivacyTransferAction) Descriptor() ([]byte, []int)deprecated
- func (x *NoPrivacyTransferAction) GetAmount() uint64
- func (x *NoPrivacyTransferAction) GetAuthority() *v1.SolanaAccountId
- func (x *NoPrivacyTransferAction) GetDestination() *v1.SolanaAccountId
- func (x *NoPrivacyTransferAction) GetSource() *v1.SolanaAccountId
- func (*NoPrivacyTransferAction) ProtoMessage()
- func (x *NoPrivacyTransferAction) ProtoReflect() protoreflect.Message
- func (x *NoPrivacyTransferAction) Reset()
- func (x *NoPrivacyTransferAction) String() string
- func (m *NoPrivacyTransferAction) Validate() error
- type NoPrivacyTransferActionValidationError
- func (e NoPrivacyTransferActionValidationError) Cause() error
- func (e NoPrivacyTransferActionValidationError) Error() string
- func (e NoPrivacyTransferActionValidationError) ErrorName() string
- func (e NoPrivacyTransferActionValidationError) Field() string
- func (e NoPrivacyTransferActionValidationError) Key() bool
- func (e NoPrivacyTransferActionValidationError) Reason() string
- type NoPrivacyTransferServerParameter
- func (*NoPrivacyTransferServerParameter) Descriptor() ([]byte, []int)deprecated
- func (*NoPrivacyTransferServerParameter) ProtoMessage()
- func (x *NoPrivacyTransferServerParameter) ProtoReflect() protoreflect.Message
- func (x *NoPrivacyTransferServerParameter) Reset()
- func (x *NoPrivacyTransferServerParameter) String() string
- func (m *NoPrivacyTransferServerParameter) Validate() error
- type NoPrivacyTransferServerParameterValidationError
- func (e NoPrivacyTransferServerParameterValidationError) Cause() error
- func (e NoPrivacyTransferServerParameterValidationError) Error() string
- func (e NoPrivacyTransferServerParameterValidationError) ErrorName() string
- func (e NoPrivacyTransferServerParameterValidationError) Field() string
- func (e NoPrivacyTransferServerParameterValidationError) Key() bool
- func (e NoPrivacyTransferServerParameterValidationError) Reason() string
- type NoPrivacyWithdrawAction
- func (*NoPrivacyWithdrawAction) Descriptor() ([]byte, []int)deprecated
- func (x *NoPrivacyWithdrawAction) GetAmount() uint64
- func (x *NoPrivacyWithdrawAction) GetAuthority() *v1.SolanaAccountId
- func (x *NoPrivacyWithdrawAction) GetDestination() *v1.SolanaAccountId
- func (x *NoPrivacyWithdrawAction) GetShouldClose() bool
- func (x *NoPrivacyWithdrawAction) GetSource() *v1.SolanaAccountId
- func (*NoPrivacyWithdrawAction) ProtoMessage()
- func (x *NoPrivacyWithdrawAction) ProtoReflect() protoreflect.Message
- func (x *NoPrivacyWithdrawAction) Reset()
- func (x *NoPrivacyWithdrawAction) String() string
- func (m *NoPrivacyWithdrawAction) Validate() error
- type NoPrivacyWithdrawActionValidationError
- func (e NoPrivacyWithdrawActionValidationError) Cause() error
- func (e NoPrivacyWithdrawActionValidationError) Error() string
- func (e NoPrivacyWithdrawActionValidationError) ErrorName() string
- func (e NoPrivacyWithdrawActionValidationError) Field() string
- func (e NoPrivacyWithdrawActionValidationError) Key() bool
- func (e NoPrivacyWithdrawActionValidationError) Reason() string
- type NoPrivacyWithdrawServerParameter
- func (*NoPrivacyWithdrawServerParameter) Descriptor() ([]byte, []int)deprecated
- func (*NoPrivacyWithdrawServerParameter) ProtoMessage()
- func (x *NoPrivacyWithdrawServerParameter) ProtoReflect() protoreflect.Message
- func (x *NoPrivacyWithdrawServerParameter) Reset()
- func (x *NoPrivacyWithdrawServerParameter) String() string
- func (m *NoPrivacyWithdrawServerParameter) Validate() error
- type NoPrivacyWithdrawServerParameterValidationError
- func (e NoPrivacyWithdrawServerParameterValidationError) Cause() error
- func (e NoPrivacyWithdrawServerParameterValidationError) Error() string
- func (e NoPrivacyWithdrawServerParameterValidationError) ErrorName() string
- func (e NoPrivacyWithdrawServerParameterValidationError) Field() string
- func (e NoPrivacyWithdrawServerParameterValidationError) Key() bool
- func (e NoPrivacyWithdrawServerParameterValidationError) Reason() string
- type NoncedTransactionMetadata
- func (*NoncedTransactionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *NoncedTransactionMetadata) GetBlockhash() *v1.Blockhash
- func (x *NoncedTransactionMetadata) GetNonce() *v1.SolanaAccountId
- func (*NoncedTransactionMetadata) ProtoMessage()
- func (x *NoncedTransactionMetadata) ProtoReflect() protoreflect.Message
- func (x *NoncedTransactionMetadata) Reset()
- func (x *NoncedTransactionMetadata) String() string
- func (m *NoncedTransactionMetadata) Validate() error
- type NoncedTransactionMetadataValidationError
- func (e NoncedTransactionMetadataValidationError) Cause() error
- func (e NoncedTransactionMetadataValidationError) Error() string
- func (e NoncedTransactionMetadataValidationError) ErrorName() string
- func (e NoncedTransactionMetadataValidationError) Field() string
- func (e NoncedTransactionMetadataValidationError) Key() bool
- func (e NoncedTransactionMetadataValidationError) Reason() string
- type OpenAccountAction
- func (*OpenAccountAction) Descriptor() ([]byte, []int)deprecated
- func (x *OpenAccountAction) GetAccountType() v1.AccountType
- func (x *OpenAccountAction) GetAuthority() *v1.SolanaAccountId
- func (x *OpenAccountAction) GetAuthoritySignature() *v1.Signature
- func (x *OpenAccountAction) GetIndex() uint64
- func (x *OpenAccountAction) GetOwner() *v1.SolanaAccountId
- func (x *OpenAccountAction) GetToken() *v1.SolanaAccountId
- func (*OpenAccountAction) ProtoMessage()
- func (x *OpenAccountAction) ProtoReflect() protoreflect.Message
- func (x *OpenAccountAction) Reset()
- func (x *OpenAccountAction) String() string
- func (m *OpenAccountAction) Validate() error
- type OpenAccountActionValidationError
- func (e OpenAccountActionValidationError) Cause() error
- func (e OpenAccountActionValidationError) Error() string
- func (e OpenAccountActionValidationError) ErrorName() string
- func (e OpenAccountActionValidationError) Field() string
- func (e OpenAccountActionValidationError) Key() bool
- func (e OpenAccountActionValidationError) Reason() string
- type OpenAccountServerParameter
- func (*OpenAccountServerParameter) Descriptor() ([]byte, []int)deprecated
- func (*OpenAccountServerParameter) ProtoMessage()
- func (x *OpenAccountServerParameter) ProtoReflect() protoreflect.Message
- func (x *OpenAccountServerParameter) Reset()
- func (x *OpenAccountServerParameter) String() string
- func (m *OpenAccountServerParameter) Validate() error
- type OpenAccountServerParameterValidationError
- func (e OpenAccountServerParameterValidationError) Cause() error
- func (e OpenAccountServerParameterValidationError) Error() string
- func (e OpenAccountServerParameterValidationError) ErrorName() string
- func (e OpenAccountServerParameterValidationError) Field() string
- func (e OpenAccountServerParameterValidationError) Key() bool
- func (e OpenAccountServerParameterValidationError) Reason() string
- type OpenAccountsMetadata
- func (*OpenAccountsMetadata) Descriptor() ([]byte, []int)deprecated
- func (*OpenAccountsMetadata) ProtoMessage()
- func (x *OpenAccountsMetadata) ProtoReflect() protoreflect.Message
- func (x *OpenAccountsMetadata) Reset()
- func (x *OpenAccountsMetadata) String() string
- func (m *OpenAccountsMetadata) Validate() error
- type OpenAccountsMetadataValidationError
- func (e OpenAccountsMetadataValidationError) Cause() error
- func (e OpenAccountsMetadataValidationError) Error() string
- func (e OpenAccountsMetadataValidationError) ErrorName() string
- func (e OpenAccountsMetadataValidationError) Field() string
- func (e OpenAccountsMetadataValidationError) Key() bool
- func (e OpenAccountsMetadataValidationError) Reason() string
- type PaymentHistoryItem
- func (*PaymentHistoryItem) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentHistoryItem) GetAirdropType() AirdropType
- func (x *PaymentHistoryItem) GetCursor() *Cursor
- func (x *PaymentHistoryItem) GetExchangeData() *ExchangeData
- func (x *PaymentHistoryItem) GetIntentId() *v1.IntentId
- func (x *PaymentHistoryItem) GetIsAirdrop() bool
- func (x *PaymentHistoryItem) GetIsDeposit() bool
- func (x *PaymentHistoryItem) GetIsMicroPayment() bool
- func (x *PaymentHistoryItem) GetIsRemoteSend() bool
- func (x *PaymentHistoryItem) GetIsReturned() bool
- func (x *PaymentHistoryItem) GetIsWithdraw() bool
- func (x *PaymentHistoryItem) GetPaymentType() PaymentHistoryItem_PaymentType
- func (x *PaymentHistoryItem) GetTimestamp() *timestamppb.Timestamp
- func (*PaymentHistoryItem) ProtoMessage()
- func (x *PaymentHistoryItem) ProtoReflect() protoreflect.Message
- func (x *PaymentHistoryItem) Reset()
- func (x *PaymentHistoryItem) String() string
- func (m *PaymentHistoryItem) Validate() error
- type PaymentHistoryItemValidationError
- func (e PaymentHistoryItemValidationError) Cause() error
- func (e PaymentHistoryItemValidationError) Error() string
- func (e PaymentHistoryItemValidationError) ErrorName() string
- func (e PaymentHistoryItemValidationError) Field() string
- func (e PaymentHistoryItemValidationError) Key() bool
- func (e PaymentHistoryItemValidationError) Reason() string
- type PaymentHistoryItem_PaymentType
- func (PaymentHistoryItem_PaymentType) Descriptor() protoreflect.EnumDescriptor
- func (x PaymentHistoryItem_PaymentType) Enum() *PaymentHistoryItem_PaymentType
- func (PaymentHistoryItem_PaymentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PaymentHistoryItem_PaymentType) Number() protoreflect.EnumNumber
- func (x PaymentHistoryItem_PaymentType) String() string
- func (PaymentHistoryItem_PaymentType) Type() protoreflect.EnumType
- type PermanentPrivacyUpgradeAction
- func (*PermanentPrivacyUpgradeAction) Descriptor() ([]byte, []int)deprecated
- func (x *PermanentPrivacyUpgradeAction) GetActionId() uint32
- func (*PermanentPrivacyUpgradeAction) ProtoMessage()
- func (x *PermanentPrivacyUpgradeAction) ProtoReflect() protoreflect.Message
- func (x *PermanentPrivacyUpgradeAction) Reset()
- func (x *PermanentPrivacyUpgradeAction) String() string
- func (m *PermanentPrivacyUpgradeAction) Validate() error
- type PermanentPrivacyUpgradeActionValidationError
- func (e PermanentPrivacyUpgradeActionValidationError) Cause() error
- func (e PermanentPrivacyUpgradeActionValidationError) Error() string
- func (e PermanentPrivacyUpgradeActionValidationError) ErrorName() string
- func (e PermanentPrivacyUpgradeActionValidationError) Field() string
- func (e PermanentPrivacyUpgradeActionValidationError) Key() bool
- func (e PermanentPrivacyUpgradeActionValidationError) Reason() string
- type PermanentPrivacyUpgradeServerParameter
- func (*PermanentPrivacyUpgradeServerParameter) Descriptor() ([]byte, []int)deprecated
- func (x *PermanentPrivacyUpgradeServerParameter) GetMerkleProof() []*v1.Hash
- func (x *PermanentPrivacyUpgradeServerParameter) GetMerkleRoot() *v1.Hash
- func (x *PermanentPrivacyUpgradeServerParameter) GetNewCommitment() *v1.SolanaAccountId
- func (x *PermanentPrivacyUpgradeServerParameter) GetNewCommitmentAmount() uint64
- func (x *PermanentPrivacyUpgradeServerParameter) GetNewCommitmentDestination() *v1.SolanaAccountId
- func (x *PermanentPrivacyUpgradeServerParameter) GetNewCommitmentTranscript() *v1.Hash
- func (*PermanentPrivacyUpgradeServerParameter) ProtoMessage()
- func (x *PermanentPrivacyUpgradeServerParameter) ProtoReflect() protoreflect.Message
- func (x *PermanentPrivacyUpgradeServerParameter) Reset()
- func (x *PermanentPrivacyUpgradeServerParameter) String() string
- func (m *PermanentPrivacyUpgradeServerParameter) Validate() error
- type PermanentPrivacyUpgradeServerParameterValidationError
- func (e PermanentPrivacyUpgradeServerParameterValidationError) Cause() error
- func (e PermanentPrivacyUpgradeServerParameterValidationError) Error() string
- func (e PermanentPrivacyUpgradeServerParameterValidationError) ErrorName() string
- func (e PermanentPrivacyUpgradeServerParameterValidationError) Field() string
- func (e PermanentPrivacyUpgradeServerParameterValidationError) Key() bool
- func (e PermanentPrivacyUpgradeServerParameterValidationError) Reason() string
- type ReasonStringErrorDetails
- func (*ReasonStringErrorDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ReasonStringErrorDetails) GetReason() string
- func (*ReasonStringErrorDetails) ProtoMessage()
- func (x *ReasonStringErrorDetails) ProtoReflect() protoreflect.Message
- func (x *ReasonStringErrorDetails) Reset()
- func (x *ReasonStringErrorDetails) String() string
- func (m *ReasonStringErrorDetails) Validate() error
- type ReasonStringErrorDetailsValidationError
- func (e ReasonStringErrorDetailsValidationError) Cause() error
- func (e ReasonStringErrorDetailsValidationError) Error() string
- func (e ReasonStringErrorDetailsValidationError) ErrorName() string
- func (e ReasonStringErrorDetailsValidationError) Field() string
- func (e ReasonStringErrorDetailsValidationError) Key() bool
- func (e ReasonStringErrorDetailsValidationError) Reason() string
- type ReceivePaymentsPrivatelyMetadata
- func (*ReceivePaymentsPrivatelyMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ReceivePaymentsPrivatelyMetadata) GetIsDeposit() bool
- func (x *ReceivePaymentsPrivatelyMetadata) GetQuarks() uint64
- func (x *ReceivePaymentsPrivatelyMetadata) GetSource() *v1.SolanaAccountId
- func (*ReceivePaymentsPrivatelyMetadata) ProtoMessage()
- func (x *ReceivePaymentsPrivatelyMetadata) ProtoReflect() protoreflect.Message
- func (x *ReceivePaymentsPrivatelyMetadata) Reset()
- func (x *ReceivePaymentsPrivatelyMetadata) String() string
- func (m *ReceivePaymentsPrivatelyMetadata) Validate() error
- type ReceivePaymentsPrivatelyMetadataValidationError
- func (e ReceivePaymentsPrivatelyMetadataValidationError) Cause() error
- func (e ReceivePaymentsPrivatelyMetadataValidationError) Error() string
- func (e ReceivePaymentsPrivatelyMetadataValidationError) ErrorName() string
- func (e ReceivePaymentsPrivatelyMetadataValidationError) Field() string
- func (e ReceivePaymentsPrivatelyMetadataValidationError) Key() bool
- func (e ReceivePaymentsPrivatelyMetadataValidationError) Reason() string
- type ReceivePaymentsPubliclyMetadata
- func (*ReceivePaymentsPubliclyMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ReceivePaymentsPubliclyMetadata) GetExchangeData() *ExchangeData
- func (x *ReceivePaymentsPubliclyMetadata) GetIsIssuerVoidingGiftCard() bool
- func (x *ReceivePaymentsPubliclyMetadata) GetIsRemoteSend() bool
- func (x *ReceivePaymentsPubliclyMetadata) GetQuarks() uint64
- func (x *ReceivePaymentsPubliclyMetadata) GetSource() *v1.SolanaAccountId
- func (*ReceivePaymentsPubliclyMetadata) ProtoMessage()
- func (x *ReceivePaymentsPubliclyMetadata) ProtoReflect() protoreflect.Message
- func (x *ReceivePaymentsPubliclyMetadata) Reset()
- func (x *ReceivePaymentsPubliclyMetadata) String() string
- func (m *ReceivePaymentsPubliclyMetadata) Validate() error
- type ReceivePaymentsPubliclyMetadataValidationError
- func (e ReceivePaymentsPubliclyMetadataValidationError) Cause() error
- func (e ReceivePaymentsPubliclyMetadataValidationError) Error() string
- func (e ReceivePaymentsPubliclyMetadataValidationError) ErrorName() string
- func (e ReceivePaymentsPubliclyMetadataValidationError) Field() string
- func (e ReceivePaymentsPubliclyMetadataValidationError) Key() bool
- func (e ReceivePaymentsPubliclyMetadataValidationError) Reason() string
- type SendLimit
- func (*SendLimit) Descriptor() ([]byte, []int)deprecated
- func (x *SendLimit) GetMaxPerDay() float32
- func (x *SendLimit) GetMaxPerTransaction() float32
- func (x *SendLimit) GetNextTransaction() float32
- func (*SendLimit) ProtoMessage()
- func (x *SendLimit) ProtoReflect() protoreflect.Message
- func (x *SendLimit) Reset()
- func (x *SendLimit) String() string
- func (m *SendLimit) Validate() error
- type SendLimitValidationError
- type SendPrivatePaymentMetadata
- func (*SendPrivatePaymentMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SendPrivatePaymentMetadata) GetChatId() *v1.ChatId
- func (x *SendPrivatePaymentMetadata) GetDestination() *v1.SolanaAccountId
- func (x *SendPrivatePaymentMetadata) GetExchangeData() *ExchangeData
- func (x *SendPrivatePaymentMetadata) GetIsChat() bool
- func (x *SendPrivatePaymentMetadata) GetIsRemoteSend() bool
- func (x *SendPrivatePaymentMetadata) GetIsTip() bool
- func (x *SendPrivatePaymentMetadata) GetIsWithdrawal() bool
- func (x *SendPrivatePaymentMetadata) GetTippedUser() *TippedUser
- func (*SendPrivatePaymentMetadata) ProtoMessage()
- func (x *SendPrivatePaymentMetadata) ProtoReflect() protoreflect.Message
- func (x *SendPrivatePaymentMetadata) Reset()
- func (x *SendPrivatePaymentMetadata) String() string
- func (m *SendPrivatePaymentMetadata) Validate() error
- type SendPrivatePaymentMetadataValidationError
- func (e SendPrivatePaymentMetadataValidationError) Cause() error
- func (e SendPrivatePaymentMetadataValidationError) Error() string
- func (e SendPrivatePaymentMetadataValidationError) ErrorName() string
- func (e SendPrivatePaymentMetadataValidationError) Field() string
- func (e SendPrivatePaymentMetadataValidationError) Key() bool
- func (e SendPrivatePaymentMetadataValidationError) Reason() string
- type SendPublicPaymentMetadata
- func (*SendPublicPaymentMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SendPublicPaymentMetadata) GetDestination() *v1.SolanaAccountId
- func (x *SendPublicPaymentMetadata) GetExchangeData() *ExchangeData
- func (x *SendPublicPaymentMetadata) GetIsWithdrawal() bool
- func (x *SendPublicPaymentMetadata) GetSource() *v1.SolanaAccountId
- func (*SendPublicPaymentMetadata) ProtoMessage()
- func (x *SendPublicPaymentMetadata) ProtoReflect() protoreflect.Message
- func (x *SendPublicPaymentMetadata) Reset()
- func (x *SendPublicPaymentMetadata) String() string
- func (m *SendPublicPaymentMetadata) Validate() error
- type SendPublicPaymentMetadataValidationError
- func (e SendPublicPaymentMetadataValidationError) Cause() error
- func (e SendPublicPaymentMetadataValidationError) Error() string
- func (e SendPublicPaymentMetadataValidationError) ErrorName() string
- func (e SendPublicPaymentMetadataValidationError) Field() string
- func (e SendPublicPaymentMetadataValidationError) Key() bool
- func (e SendPublicPaymentMetadataValidationError) Reason() string
- type ServerParameter
- func (*ServerParameter) Descriptor() ([]byte, []int)deprecated
- func (x *ServerParameter) GetActionId() uint32
- func (x *ServerParameter) GetCloseDormantAccount() *CloseDormantAccountServerParameter
- func (x *ServerParameter) GetCloseEmptyAccount() *CloseEmptyAccountServerParameter
- func (x *ServerParameter) GetFeePayment() *FeePaymentServerParameter
- func (x *ServerParameter) GetNoPrivacyTransfer() *NoPrivacyTransferServerParameter
- func (x *ServerParameter) GetNoPrivacyWithdraw() *NoPrivacyWithdrawServerParameter
- func (x *ServerParameter) GetNonces() []*NoncedTransactionMetadata
- func (x *ServerParameter) GetOpenAccount() *OpenAccountServerParameter
- func (x *ServerParameter) GetPermanentPrivacyUpgrade() *PermanentPrivacyUpgradeServerParameter
- func (x *ServerParameter) GetTemporaryPrivacyExchange() *TemporaryPrivacyExchangeServerParameter
- func (x *ServerParameter) GetTemporaryPrivacyTransfer() *TemporaryPrivacyTransferServerParameter
- func (m *ServerParameter) GetType() isServerParameter_Type
- func (*ServerParameter) ProtoMessage()
- func (x *ServerParameter) ProtoReflect() protoreflect.Message
- func (x *ServerParameter) Reset()
- func (x *ServerParameter) String() string
- func (m *ServerParameter) Validate() error
- type ServerParameterValidationError
- func (e ServerParameterValidationError) Cause() error
- func (e ServerParameterValidationError) Error() string
- func (e ServerParameterValidationError) ErrorName() string
- func (e ServerParameterValidationError) Field() string
- func (e ServerParameterValidationError) Key() bool
- func (e ServerParameterValidationError) Reason() string
- type ServerParameter_CloseDormantAccount
- type ServerParameter_CloseEmptyAccount
- type ServerParameter_FeePayment
- type ServerParameter_NoPrivacyTransfer
- type ServerParameter_NoPrivacyWithdraw
- type ServerParameter_OpenAccount
- type ServerParameter_PermanentPrivacyUpgrade
- type ServerParameter_TemporaryPrivacyExchange
- type ServerParameter_TemporaryPrivacyTransfer
- type SubmitIntentRequest
- func (*SubmitIntentRequest) Descriptor() ([]byte, []int)deprecated
- func (m *SubmitIntentRequest) GetRequest() isSubmitIntentRequest_Request
- func (x *SubmitIntentRequest) GetSubmitActions() *SubmitIntentRequest_SubmitActions
- func (x *SubmitIntentRequest) GetSubmitSignatures() *SubmitIntentRequest_SubmitSignatures
- func (*SubmitIntentRequest) ProtoMessage()
- func (x *SubmitIntentRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitIntentRequest) Reset()
- func (x *SubmitIntentRequest) String() string
- func (m *SubmitIntentRequest) Validate() error
- type SubmitIntentRequestValidationError
- func (e SubmitIntentRequestValidationError) Cause() error
- func (e SubmitIntentRequestValidationError) Error() string
- func (e SubmitIntentRequestValidationError) ErrorName() string
- func (e SubmitIntentRequestValidationError) Field() string
- func (e SubmitIntentRequestValidationError) Key() bool
- func (e SubmitIntentRequestValidationError) Reason() string
- type SubmitIntentRequest_SubmitActions
- func (*SubmitIntentRequest_SubmitActions) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitIntentRequest_SubmitActions) GetActions() []*Action
- func (x *SubmitIntentRequest_SubmitActions) GetDeviceToken() *v1.DeviceToken
- func (x *SubmitIntentRequest_SubmitActions) GetId() *v1.IntentId
- func (x *SubmitIntentRequest_SubmitActions) GetMetadata() *Metadata
- func (x *SubmitIntentRequest_SubmitActions) GetOwner() *v1.SolanaAccountId
- func (x *SubmitIntentRequest_SubmitActions) GetSignature() *v1.Signature
- func (*SubmitIntentRequest_SubmitActions) ProtoMessage()
- func (x *SubmitIntentRequest_SubmitActions) ProtoReflect() protoreflect.Message
- func (x *SubmitIntentRequest_SubmitActions) Reset()
- func (x *SubmitIntentRequest_SubmitActions) String() string
- func (m *SubmitIntentRequest_SubmitActions) Validate() error
- type SubmitIntentRequest_SubmitActionsValidationError
- func (e SubmitIntentRequest_SubmitActionsValidationError) Cause() error
- func (e SubmitIntentRequest_SubmitActionsValidationError) Error() string
- func (e SubmitIntentRequest_SubmitActionsValidationError) ErrorName() string
- func (e SubmitIntentRequest_SubmitActionsValidationError) Field() string
- func (e SubmitIntentRequest_SubmitActionsValidationError) Key() bool
- func (e SubmitIntentRequest_SubmitActionsValidationError) Reason() string
- type SubmitIntentRequest_SubmitActions_
- type SubmitIntentRequest_SubmitSignatures
- func (*SubmitIntentRequest_SubmitSignatures) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitIntentRequest_SubmitSignatures) GetSignatures() []*v1.Signature
- func (*SubmitIntentRequest_SubmitSignatures) ProtoMessage()
- func (x *SubmitIntentRequest_SubmitSignatures) ProtoReflect() protoreflect.Message
- func (x *SubmitIntentRequest_SubmitSignatures) Reset()
- func (x *SubmitIntentRequest_SubmitSignatures) String() string
- func (m *SubmitIntentRequest_SubmitSignatures) Validate() error
- type SubmitIntentRequest_SubmitSignaturesValidationError
- func (e SubmitIntentRequest_SubmitSignaturesValidationError) Cause() error
- func (e SubmitIntentRequest_SubmitSignaturesValidationError) Error() string
- func (e SubmitIntentRequest_SubmitSignaturesValidationError) ErrorName() string
- func (e SubmitIntentRequest_SubmitSignaturesValidationError) Field() string
- func (e SubmitIntentRequest_SubmitSignaturesValidationError) Key() bool
- func (e SubmitIntentRequest_SubmitSignaturesValidationError) Reason() string
- type SubmitIntentRequest_SubmitSignatures_
- type SubmitIntentResponse
- func (*SubmitIntentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitIntentResponse) GetError() *SubmitIntentResponse_Error
- func (m *SubmitIntentResponse) GetResponse() isSubmitIntentResponse_Response
- func (x *SubmitIntentResponse) GetServerParameters() *SubmitIntentResponse_ServerParameters
- func (x *SubmitIntentResponse) GetSuccess() *SubmitIntentResponse_Success
- func (*SubmitIntentResponse) ProtoMessage()
- func (x *SubmitIntentResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitIntentResponse) Reset()
- func (x *SubmitIntentResponse) String() string
- func (m *SubmitIntentResponse) Validate() error
- type SubmitIntentResponseValidationError
- func (e SubmitIntentResponseValidationError) Cause() error
- func (e SubmitIntentResponseValidationError) Error() string
- func (e SubmitIntentResponseValidationError) ErrorName() string
- func (e SubmitIntentResponseValidationError) Field() string
- func (e SubmitIntentResponseValidationError) Key() bool
- func (e SubmitIntentResponseValidationError) Reason() string
- type SubmitIntentResponse_Error
- func (*SubmitIntentResponse_Error) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitIntentResponse_Error) GetCode() SubmitIntentResponse_Error_Code
- func (x *SubmitIntentResponse_Error) GetErrorDetails() []*ErrorDetails
- func (*SubmitIntentResponse_Error) ProtoMessage()
- func (x *SubmitIntentResponse_Error) ProtoReflect() protoreflect.Message
- func (x *SubmitIntentResponse_Error) Reset()
- func (x *SubmitIntentResponse_Error) String() string
- func (m *SubmitIntentResponse_Error) Validate() error
- type SubmitIntentResponse_ErrorValidationError
- func (e SubmitIntentResponse_ErrorValidationError) Cause() error
- func (e SubmitIntentResponse_ErrorValidationError) Error() string
- func (e SubmitIntentResponse_ErrorValidationError) ErrorName() string
- func (e SubmitIntentResponse_ErrorValidationError) Field() string
- func (e SubmitIntentResponse_ErrorValidationError) Key() bool
- func (e SubmitIntentResponse_ErrorValidationError) Reason() string
- type SubmitIntentResponse_Error_
- type SubmitIntentResponse_Error_Code
- func (SubmitIntentResponse_Error_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SubmitIntentResponse_Error_Code) Enum() *SubmitIntentResponse_Error_Code
- func (SubmitIntentResponse_Error_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubmitIntentResponse_Error_Code) Number() protoreflect.EnumNumber
- func (x SubmitIntentResponse_Error_Code) String() string
- func (SubmitIntentResponse_Error_Code) Type() protoreflect.EnumType
- type SubmitIntentResponse_ServerParameters
- func (*SubmitIntentResponse_ServerParameters) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitIntentResponse_ServerParameters) GetServerParameters() []*ServerParameter
- func (*SubmitIntentResponse_ServerParameters) ProtoMessage()
- func (x *SubmitIntentResponse_ServerParameters) ProtoReflect() protoreflect.Message
- func (x *SubmitIntentResponse_ServerParameters) Reset()
- func (x *SubmitIntentResponse_ServerParameters) String() string
- func (m *SubmitIntentResponse_ServerParameters) Validate() error
- type SubmitIntentResponse_ServerParametersValidationError
- func (e SubmitIntentResponse_ServerParametersValidationError) Cause() error
- func (e SubmitIntentResponse_ServerParametersValidationError) Error() string
- func (e SubmitIntentResponse_ServerParametersValidationError) ErrorName() string
- func (e SubmitIntentResponse_ServerParametersValidationError) Field() string
- func (e SubmitIntentResponse_ServerParametersValidationError) Key() bool
- func (e SubmitIntentResponse_ServerParametersValidationError) Reason() string
- type SubmitIntentResponse_ServerParameters_
- type SubmitIntentResponse_Success
- func (*SubmitIntentResponse_Success) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitIntentResponse_Success) GetCode() SubmitIntentResponse_Success_Code
- func (*SubmitIntentResponse_Success) ProtoMessage()
- func (x *SubmitIntentResponse_Success) ProtoReflect() protoreflect.Message
- func (x *SubmitIntentResponse_Success) Reset()
- func (x *SubmitIntentResponse_Success) String() string
- func (m *SubmitIntentResponse_Success) Validate() error
- type SubmitIntentResponse_SuccessValidationError
- func (e SubmitIntentResponse_SuccessValidationError) Cause() error
- func (e SubmitIntentResponse_SuccessValidationError) Error() string
- func (e SubmitIntentResponse_SuccessValidationError) ErrorName() string
- func (e SubmitIntentResponse_SuccessValidationError) Field() string
- func (e SubmitIntentResponse_SuccessValidationError) Key() bool
- func (e SubmitIntentResponse_SuccessValidationError) Reason() string
- type SubmitIntentResponse_Success_
- type SubmitIntentResponse_Success_Code
- func (SubmitIntentResponse_Success_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SubmitIntentResponse_Success_Code) Enum() *SubmitIntentResponse_Success_Code
- func (SubmitIntentResponse_Success_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubmitIntentResponse_Success_Code) Number() protoreflect.EnumNumber
- func (x SubmitIntentResponse_Success_Code) String() string
- func (SubmitIntentResponse_Success_Code) Type() protoreflect.EnumType
- type SwapRequest
- func (*SwapRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SwapRequest) GetInitiate() *SwapRequest_Initiate
- func (m *SwapRequest) GetRequest() isSwapRequest_Request
- func (x *SwapRequest) GetSubmitSignature() *SwapRequest_SubmitSignature
- func (*SwapRequest) ProtoMessage()
- func (x *SwapRequest) ProtoReflect() protoreflect.Message
- func (x *SwapRequest) Reset()
- func (x *SwapRequest) String() string
- func (m *SwapRequest) Validate() error
- type SwapRequestValidationError
- func (e SwapRequestValidationError) Cause() error
- func (e SwapRequestValidationError) Error() string
- func (e SwapRequestValidationError) ErrorName() string
- func (e SwapRequestValidationError) Field() string
- func (e SwapRequestValidationError) Key() bool
- func (e SwapRequestValidationError) Reason() string
- type SwapRequest_Initiate
- func (*SwapRequest_Initiate) Descriptor() ([]byte, []int)deprecated
- func (x *SwapRequest_Initiate) GetLimit() uint64
- func (x *SwapRequest_Initiate) GetOwner() *v1.SolanaAccountId
- func (x *SwapRequest_Initiate) GetSignature() *v1.Signature
- func (x *SwapRequest_Initiate) GetSwapAuthority() *v1.SolanaAccountId
- func (x *SwapRequest_Initiate) GetWaitForBlockchainStatus() bool
- func (*SwapRequest_Initiate) ProtoMessage()
- func (x *SwapRequest_Initiate) ProtoReflect() protoreflect.Message
- func (x *SwapRequest_Initiate) Reset()
- func (x *SwapRequest_Initiate) String() string
- func (m *SwapRequest_Initiate) Validate() error
- type SwapRequest_InitiateValidationError
- func (e SwapRequest_InitiateValidationError) Cause() error
- func (e SwapRequest_InitiateValidationError) Error() string
- func (e SwapRequest_InitiateValidationError) ErrorName() string
- func (e SwapRequest_InitiateValidationError) Field() string
- func (e SwapRequest_InitiateValidationError) Key() bool
- func (e SwapRequest_InitiateValidationError) Reason() string
- type SwapRequest_Initiate_
- type SwapRequest_SubmitSignature
- func (*SwapRequest_SubmitSignature) Descriptor() ([]byte, []int)deprecated
- func (x *SwapRequest_SubmitSignature) GetSignature() *v1.Signature
- func (*SwapRequest_SubmitSignature) ProtoMessage()
- func (x *SwapRequest_SubmitSignature) ProtoReflect() protoreflect.Message
- func (x *SwapRequest_SubmitSignature) Reset()
- func (x *SwapRequest_SubmitSignature) String() string
- func (m *SwapRequest_SubmitSignature) Validate() error
- type SwapRequest_SubmitSignatureValidationError
- func (e SwapRequest_SubmitSignatureValidationError) Cause() error
- func (e SwapRequest_SubmitSignatureValidationError) Error() string
- func (e SwapRequest_SubmitSignatureValidationError) ErrorName() string
- func (e SwapRequest_SubmitSignatureValidationError) Field() string
- func (e SwapRequest_SubmitSignatureValidationError) Key() bool
- func (e SwapRequest_SubmitSignatureValidationError) Reason() string
- type SwapRequest_SubmitSignature_
- type SwapResponse
- func (*SwapResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SwapResponse) GetError() *SwapResponse_Error
- func (m *SwapResponse) GetResponse() isSwapResponse_Response
- func (x *SwapResponse) GetServerParameters() *SwapResponse_ServerParameters
- func (x *SwapResponse) GetSuccess() *SwapResponse_Success
- func (*SwapResponse) ProtoMessage()
- func (x *SwapResponse) ProtoReflect() protoreflect.Message
- func (x *SwapResponse) Reset()
- func (x *SwapResponse) String() string
- func (m *SwapResponse) Validate() error
- type SwapResponseValidationError
- func (e SwapResponseValidationError) Cause() error
- func (e SwapResponseValidationError) Error() string
- func (e SwapResponseValidationError) ErrorName() string
- func (e SwapResponseValidationError) Field() string
- func (e SwapResponseValidationError) Key() bool
- func (e SwapResponseValidationError) Reason() string
- type SwapResponse_Error
- func (*SwapResponse_Error) Descriptor() ([]byte, []int)deprecated
- func (x *SwapResponse_Error) GetCode() SwapResponse_Error_Code
- func (x *SwapResponse_Error) GetErrorDetails() []*ErrorDetails
- func (*SwapResponse_Error) ProtoMessage()
- func (x *SwapResponse_Error) ProtoReflect() protoreflect.Message
- func (x *SwapResponse_Error) Reset()
- func (x *SwapResponse_Error) String() string
- func (m *SwapResponse_Error) Validate() error
- type SwapResponse_ErrorValidationError
- func (e SwapResponse_ErrorValidationError) Cause() error
- func (e SwapResponse_ErrorValidationError) Error() string
- func (e SwapResponse_ErrorValidationError) ErrorName() string
- func (e SwapResponse_ErrorValidationError) Field() string
- func (e SwapResponse_ErrorValidationError) Key() bool
- func (e SwapResponse_ErrorValidationError) Reason() string
- type SwapResponse_Error_
- type SwapResponse_Error_Code
- func (SwapResponse_Error_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SwapResponse_Error_Code) Enum() *SwapResponse_Error_Code
- func (SwapResponse_Error_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SwapResponse_Error_Code) Number() protoreflect.EnumNumber
- func (x SwapResponse_Error_Code) String() string
- func (SwapResponse_Error_Code) Type() protoreflect.EnumType
- type SwapResponse_ServerParameters
- func (*SwapResponse_ServerParameters) Descriptor() ([]byte, []int)deprecated
- func (x *SwapResponse_ServerParameters) GetComputeUnitLimit() uint32
- func (x *SwapResponse_ServerParameters) GetComputeUnitPrice() uint64
- func (x *SwapResponse_ServerParameters) GetMaxToSend() uint64
- func (x *SwapResponse_ServerParameters) GetMinToReceive() uint64
- func (x *SwapResponse_ServerParameters) GetNonce() *v1.SolanaAccountId
- func (x *SwapResponse_ServerParameters) GetPayer() *v1.SolanaAccountId
- func (x *SwapResponse_ServerParameters) GetRecentBlockhash() *v1.Blockhash
- func (x *SwapResponse_ServerParameters) GetSwapIxnAccounts() []*v1.InstructionAccount
- func (x *SwapResponse_ServerParameters) GetSwapIxnData() []byte
- func (x *SwapResponse_ServerParameters) GetSwapProgram() *v1.SolanaAccountId
- func (*SwapResponse_ServerParameters) ProtoMessage()
- func (x *SwapResponse_ServerParameters) ProtoReflect() protoreflect.Message
- func (x *SwapResponse_ServerParameters) Reset()
- func (x *SwapResponse_ServerParameters) String() string
- func (m *SwapResponse_ServerParameters) Validate() error
- type SwapResponse_ServerParametersValidationError
- func (e SwapResponse_ServerParametersValidationError) Cause() error
- func (e SwapResponse_ServerParametersValidationError) Error() string
- func (e SwapResponse_ServerParametersValidationError) ErrorName() string
- func (e SwapResponse_ServerParametersValidationError) Field() string
- func (e SwapResponse_ServerParametersValidationError) Key() bool
- func (e SwapResponse_ServerParametersValidationError) Reason() string
- type SwapResponse_ServerParameters_
- type SwapResponse_Success
- func (*SwapResponse_Success) Descriptor() ([]byte, []int)deprecated
- func (x *SwapResponse_Success) GetCode() SwapResponse_Success_Code
- func (*SwapResponse_Success) ProtoMessage()
- func (x *SwapResponse_Success) ProtoReflect() protoreflect.Message
- func (x *SwapResponse_Success) Reset()
- func (x *SwapResponse_Success) String() string
- func (m *SwapResponse_Success) Validate() error
- type SwapResponse_SuccessValidationError
- func (e SwapResponse_SuccessValidationError) Cause() error
- func (e SwapResponse_SuccessValidationError) Error() string
- func (e SwapResponse_SuccessValidationError) ErrorName() string
- func (e SwapResponse_SuccessValidationError) Field() string
- func (e SwapResponse_SuccessValidationError) Key() bool
- func (e SwapResponse_SuccessValidationError) Reason() string
- type SwapResponse_Success_
- type SwapResponse_Success_Code
- func (SwapResponse_Success_Code) Descriptor() protoreflect.EnumDescriptor
- func (x SwapResponse_Success_Code) Enum() *SwapResponse_Success_Code
- func (SwapResponse_Success_Code) EnumDescriptor() ([]byte, []int)deprecated
- func (x SwapResponse_Success_Code) Number() protoreflect.EnumNumber
- func (x SwapResponse_Success_Code) String() string
- func (SwapResponse_Success_Code) Type() protoreflect.EnumType
- type TemporaryPrivacyExchangeAction
- func (*TemporaryPrivacyExchangeAction) Descriptor() ([]byte, []int)deprecated
- func (x *TemporaryPrivacyExchangeAction) GetAmount() uint64
- func (x *TemporaryPrivacyExchangeAction) GetAuthority() *v1.SolanaAccountId
- func (x *TemporaryPrivacyExchangeAction) GetDestination() *v1.SolanaAccountId
- func (x *TemporaryPrivacyExchangeAction) GetSource() *v1.SolanaAccountId
- func (*TemporaryPrivacyExchangeAction) ProtoMessage()
- func (x *TemporaryPrivacyExchangeAction) ProtoReflect() protoreflect.Message
- func (x *TemporaryPrivacyExchangeAction) Reset()
- func (x *TemporaryPrivacyExchangeAction) String() string
- func (m *TemporaryPrivacyExchangeAction) Validate() error
- type TemporaryPrivacyExchangeActionValidationError
- func (e TemporaryPrivacyExchangeActionValidationError) Cause() error
- func (e TemporaryPrivacyExchangeActionValidationError) Error() string
- func (e TemporaryPrivacyExchangeActionValidationError) ErrorName() string
- func (e TemporaryPrivacyExchangeActionValidationError) Field() string
- func (e TemporaryPrivacyExchangeActionValidationError) Key() bool
- func (e TemporaryPrivacyExchangeActionValidationError) Reason() string
- type TemporaryPrivacyExchangeServerParameter
- func (*TemporaryPrivacyExchangeServerParameter) Descriptor() ([]byte, []int)deprecated
- func (x *TemporaryPrivacyExchangeServerParameter) GetRecentRoot() *v1.Hash
- func (x *TemporaryPrivacyExchangeServerParameter) GetTreasury() *v1.SolanaAccountId
- func (*TemporaryPrivacyExchangeServerParameter) ProtoMessage()
- func (x *TemporaryPrivacyExchangeServerParameter) ProtoReflect() protoreflect.Message
- func (x *TemporaryPrivacyExchangeServerParameter) Reset()
- func (x *TemporaryPrivacyExchangeServerParameter) String() string
- func (m *TemporaryPrivacyExchangeServerParameter) Validate() error
- type TemporaryPrivacyExchangeServerParameterValidationError
- func (e TemporaryPrivacyExchangeServerParameterValidationError) Cause() error
- func (e TemporaryPrivacyExchangeServerParameterValidationError) Error() string
- func (e TemporaryPrivacyExchangeServerParameterValidationError) ErrorName() string
- func (e TemporaryPrivacyExchangeServerParameterValidationError) Field() string
- func (e TemporaryPrivacyExchangeServerParameterValidationError) Key() bool
- func (e TemporaryPrivacyExchangeServerParameterValidationError) Reason() string
- type TemporaryPrivacyTransferAction
- func (*TemporaryPrivacyTransferAction) Descriptor() ([]byte, []int)deprecated
- func (x *TemporaryPrivacyTransferAction) GetAmount() uint64
- func (x *TemporaryPrivacyTransferAction) GetAuthority() *v1.SolanaAccountId
- func (x *TemporaryPrivacyTransferAction) GetDestination() *v1.SolanaAccountId
- func (x *TemporaryPrivacyTransferAction) GetSource() *v1.SolanaAccountId
- func (*TemporaryPrivacyTransferAction) ProtoMessage()
- func (x *TemporaryPrivacyTransferAction) ProtoReflect() protoreflect.Message
- func (x *TemporaryPrivacyTransferAction) Reset()
- func (x *TemporaryPrivacyTransferAction) String() string
- func (m *TemporaryPrivacyTransferAction) Validate() error
- type TemporaryPrivacyTransferActionValidationError
- func (e TemporaryPrivacyTransferActionValidationError) Cause() error
- func (e TemporaryPrivacyTransferActionValidationError) Error() string
- func (e TemporaryPrivacyTransferActionValidationError) ErrorName() string
- func (e TemporaryPrivacyTransferActionValidationError) Field() string
- func (e TemporaryPrivacyTransferActionValidationError) Key() bool
- func (e TemporaryPrivacyTransferActionValidationError) Reason() string
- type TemporaryPrivacyTransferServerParameter
- func (*TemporaryPrivacyTransferServerParameter) Descriptor() ([]byte, []int)deprecated
- func (x *TemporaryPrivacyTransferServerParameter) GetRecentRoot() *v1.Hash
- func (x *TemporaryPrivacyTransferServerParameter) GetTreasury() *v1.SolanaAccountId
- func (*TemporaryPrivacyTransferServerParameter) ProtoMessage()
- func (x *TemporaryPrivacyTransferServerParameter) ProtoReflect() protoreflect.Message
- func (x *TemporaryPrivacyTransferServerParameter) Reset()
- func (x *TemporaryPrivacyTransferServerParameter) String() string
- func (m *TemporaryPrivacyTransferServerParameter) Validate() error
- type TemporaryPrivacyTransferServerParameterValidationError
- func (e TemporaryPrivacyTransferServerParameterValidationError) Cause() error
- func (e TemporaryPrivacyTransferServerParameterValidationError) Error() string
- func (e TemporaryPrivacyTransferServerParameterValidationError) ErrorName() string
- func (e TemporaryPrivacyTransferServerParameterValidationError) Field() string
- func (e TemporaryPrivacyTransferServerParameterValidationError) Key() bool
- func (e TemporaryPrivacyTransferServerParameterValidationError) Reason() string
- type TippedUser
- func (*TippedUser) Descriptor() ([]byte, []int)deprecated
- func (x *TippedUser) GetPlatform() TippedUser_Platform
- func (x *TippedUser) GetUsername() string
- func (*TippedUser) ProtoMessage()
- func (x *TippedUser) ProtoReflect() protoreflect.Message
- func (x *TippedUser) Reset()
- func (x *TippedUser) String() string
- func (m *TippedUser) Validate() error
- type TippedUserValidationError
- type TippedUser_Platform
- func (TippedUser_Platform) Descriptor() protoreflect.EnumDescriptor
- func (x TippedUser_Platform) Enum() *TippedUser_Platform
- func (TippedUser_Platform) EnumDescriptor() ([]byte, []int)deprecated
- func (x TippedUser_Platform) Number() protoreflect.EnumNumber
- func (x TippedUser_Platform) String() string
- func (TippedUser_Platform) Type() protoreflect.EnumType
- type TransactionClient
- type TransactionServer
- type Transaction_SubmitIntentClient
- type Transaction_SubmitIntentServer
- type Transaction_SwapClient
- type Transaction_SwapServer
- type UnimplementedTransactionServer
- func (UnimplementedTransactionServer) Airdrop(context.Context, *AirdropRequest) (*AirdropResponse, error)
- func (UnimplementedTransactionServer) CanWithdrawToAccount(context.Context, *CanWithdrawToAccountRequest) (*CanWithdrawToAccountResponse, error)
- func (UnimplementedTransactionServer) DeclareFiatOnrampPurchaseAttempt(context.Context, *DeclareFiatOnrampPurchaseAttemptRequest) (*DeclareFiatOnrampPurchaseAttemptResponse, error)
- func (UnimplementedTransactionServer) GetIntentMetadata(context.Context, *GetIntentMetadataRequest) (*GetIntentMetadataResponse, error)
- func (UnimplementedTransactionServer) GetLimits(context.Context, *GetLimitsRequest) (*GetLimitsResponse, error)
- func (UnimplementedTransactionServer) GetPaymentHistory(context.Context, *GetPaymentHistoryRequest) (*GetPaymentHistoryResponse, error)
- func (UnimplementedTransactionServer) GetPrioritizedIntentsForPrivacyUpgrade(context.Context, *GetPrioritizedIntentsForPrivacyUpgradeRequest) (*GetPrioritizedIntentsForPrivacyUpgradeResponse, error)
- func (UnimplementedTransactionServer) GetPrivacyUpgradeStatus(context.Context, *GetPrivacyUpgradeStatusRequest) (*GetPrivacyUpgradeStatusResponse, error)
- func (UnimplementedTransactionServer) SubmitIntent(Transaction_SubmitIntentServer) error
- func (UnimplementedTransactionServer) Swap(Transaction_SwapServer) error
- type UnsafeTransactionServer
- type UpgradePrivacyMetadata
- func (*UpgradePrivacyMetadata) Descriptor() ([]byte, []int)deprecated
- func (*UpgradePrivacyMetadata) ProtoMessage()
- func (x *UpgradePrivacyMetadata) ProtoReflect() protoreflect.Message
- func (x *UpgradePrivacyMetadata) Reset()
- func (x *UpgradePrivacyMetadata) String() string
- func (m *UpgradePrivacyMetadata) Validate() error
- type UpgradePrivacyMetadataValidationError
- func (e UpgradePrivacyMetadataValidationError) Cause() error
- func (e UpgradePrivacyMetadataValidationError) Error() string
- func (e UpgradePrivacyMetadataValidationError) ErrorName() string
- func (e UpgradePrivacyMetadataValidationError) Field() string
- func (e UpgradePrivacyMetadataValidationError) Key() bool
- func (e UpgradePrivacyMetadataValidationError) Reason() string
- type UpgradeableIntent
- func (*UpgradeableIntent) Descriptor() ([]byte, []int)deprecated
- func (x *UpgradeableIntent) GetActions() []*UpgradeableIntent_UpgradeablePrivateAction
- func (x *UpgradeableIntent) GetId() *v1.IntentId
- func (*UpgradeableIntent) ProtoMessage()
- func (x *UpgradeableIntent) ProtoReflect() protoreflect.Message
- func (x *UpgradeableIntent) Reset()
- func (x *UpgradeableIntent) String() string
- func (m *UpgradeableIntent) Validate() error
- type UpgradeableIntentValidationError
- func (e UpgradeableIntentValidationError) Cause() error
- func (e UpgradeableIntentValidationError) Error() string
- func (e UpgradeableIntentValidationError) ErrorName() string
- func (e UpgradeableIntentValidationError) Field() string
- func (e UpgradeableIntentValidationError) Key() bool
- func (e UpgradeableIntentValidationError) Reason() string
- type UpgradeableIntent_UpgradeablePrivateAction
- func (*UpgradeableIntent_UpgradeablePrivateAction) Descriptor() ([]byte, []int)deprecated
- func (x *UpgradeableIntent_UpgradeablePrivateAction) GetActionId() uint32
- func (x *UpgradeableIntent_UpgradeablePrivateAction) GetClientSignature() *v1.Signature
- func (x *UpgradeableIntent_UpgradeablePrivateAction) GetOriginalAmount() uint64
- func (x *UpgradeableIntent_UpgradeablePrivateAction) GetOriginalDestination() *v1.SolanaAccountId
- func (x *UpgradeableIntent_UpgradeablePrivateAction) GetRecentRoot() *v1.Hash
- func (x *UpgradeableIntent_UpgradeablePrivateAction) GetSourceAccountType() v1.AccountType
- func (x *UpgradeableIntent_UpgradeablePrivateAction) GetSourceDerivationIndex() uint64
- func (x *UpgradeableIntent_UpgradeablePrivateAction) GetTransactionBlob() *v1.Transaction
- func (x *UpgradeableIntent_UpgradeablePrivateAction) GetTreasury() *v1.SolanaAccountId
- func (*UpgradeableIntent_UpgradeablePrivateAction) ProtoMessage()
- func (x *UpgradeableIntent_UpgradeablePrivateAction) ProtoReflect() protoreflect.Message
- func (x *UpgradeableIntent_UpgradeablePrivateAction) Reset()
- func (x *UpgradeableIntent_UpgradeablePrivateAction) String() string
- func (m *UpgradeableIntent_UpgradeablePrivateAction) Validate() error
- type UpgradeableIntent_UpgradeablePrivateActionValidationError
- func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) Cause() error
- func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) Error() string
- func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) ErrorName() string
- func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) Field() string
- func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) Key() bool
- func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( AirdropType_name = map[int32]string{ 0: "UNKNOWN", 1: "GIVE_FIRST_KIN", 2: "GET_FIRST_KIN", } AirdropType_value = map[string]int32{ "UNKNOWN": 0, "GIVE_FIRST_KIN": 1, "GET_FIRST_KIN": 2, } )
Enum value maps for AirdropType.
var ( SubmitIntentResponse_Success_Code_name = map[int32]string{ 0: "OK", } SubmitIntentResponse_Success_Code_value = map[string]int32{ "OK": 0, } )
Enum value maps for SubmitIntentResponse_Success_Code.
var ( SubmitIntentResponse_Error_Code_name = map[int32]string{ 0: "DENIED", 1: "INVALID_INTENT", 2: "SIGNATURE_ERROR", 3: "STALE_STATE", } SubmitIntentResponse_Error_Code_value = map[string]int32{ "DENIED": 0, "INVALID_INTENT": 1, "SIGNATURE_ERROR": 2, "STALE_STATE": 3, } )
Enum value maps for SubmitIntentResponse_Error_Code.
var ( GetIntentMetadataResponse_Result_name = map[int32]string{ 0: "OK", 1: "NOT_FOUND", } GetIntentMetadataResponse_Result_value = map[string]int32{ "OK": 0, "NOT_FOUND": 1, } )
Enum value maps for GetIntentMetadataResponse_Result.
var ( GetPrivacyUpgradeStatusResponse_Result_name = map[int32]string{ 0: "OK", 1: "INTENT_NOT_FOUND", 2: "ACTION_NOT_FOUND", 3: "INVALID_ACTION", } GetPrivacyUpgradeStatusResponse_Result_value = map[string]int32{ "OK": 0, "INTENT_NOT_FOUND": 1, "ACTION_NOT_FOUND": 2, "INVALID_ACTION": 3, } )
Enum value maps for GetPrivacyUpgradeStatusResponse_Result.
var ( GetPrivacyUpgradeStatusResponse_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "TEMPORARY_TRANSACTION_FINALIZED", 2: "WAITING_FOR_NEXT_BLOCK", 3: "READY_FOR_UPGRADE", 4: "ALREADY_UPGRADED", } GetPrivacyUpgradeStatusResponse_Status_value = map[string]int32{ "UNKNOWN": 0, "TEMPORARY_TRANSACTION_FINALIZED": 1, "WAITING_FOR_NEXT_BLOCK": 2, "READY_FOR_UPGRADE": 3, "ALREADY_UPGRADED": 4, } )
Enum value maps for GetPrivacyUpgradeStatusResponse_Status.
var ( GetPrioritizedIntentsForPrivacyUpgradeResponse_Result_name = map[int32]string{ 0: "OK", 1: "NOT_FOUND", } GetPrioritizedIntentsForPrivacyUpgradeResponse_Result_value = map[string]int32{ "OK": 0, "NOT_FOUND": 1, } )
Enum value maps for GetPrioritizedIntentsForPrivacyUpgradeResponse_Result.
var ( GetLimitsResponse_Result_name = map[int32]string{ 0: "OK", } GetLimitsResponse_Result_value = map[string]int32{ "OK": 0, } )
Enum value maps for GetLimitsResponse_Result.
var ( GetPaymentHistoryRequest_Direction_name = map[int32]string{ 0: "ASC", 1: "DESC", } GetPaymentHistoryRequest_Direction_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for GetPaymentHistoryRequest_Direction.
var ( GetPaymentHistoryResponse_Result_name = map[int32]string{ 0: "OK", 1: "NOT_FOUND", } GetPaymentHistoryResponse_Result_value = map[string]int32{ "OK": 0, "NOT_FOUND": 1, } )
Enum value maps for GetPaymentHistoryResponse_Result.
var ( CanWithdrawToAccountResponse_AccountType_name = map[int32]string{ 0: "Unknown", 1: "TokenAccount", 2: "OwnerAccount", } CanWithdrawToAccountResponse_AccountType_value = map[string]int32{ "Unknown": 0, "TokenAccount": 1, "OwnerAccount": 2, } )
Enum value maps for CanWithdrawToAccountResponse_AccountType.
var ( AirdropResponse_Result_name = map[int32]string{ 0: "OK", 1: "UNAVAILABLE", 2: "ALREADY_CLAIMED", } AirdropResponse_Result_value = map[string]int32{ "OK": 0, "UNAVAILABLE": 1, "ALREADY_CLAIMED": 2, } )
Enum value maps for AirdropResponse_Result.
var ( SwapResponse_Success_Code_name = map[int32]string{ 0: "SWAP_SUBMITTED", 1: "SWAP_FINALIZED", } SwapResponse_Success_Code_value = map[string]int32{ "SWAP_SUBMITTED": 0, "SWAP_FINALIZED": 1, } )
Enum value maps for SwapResponse_Success_Code.
var ( SwapResponse_Error_Code_name = map[int32]string{ 0: "DENIED", 2: "SIGNATURE_ERROR", 3: "INVALID_SWAP", 4: "SWAP_FAILED", } SwapResponse_Error_Code_value = map[string]int32{ "DENIED": 0, "SIGNATURE_ERROR": 2, "INVALID_SWAP": 3, "SWAP_FAILED": 4, } )
Enum value maps for SwapResponse_Error_Code.
var ( DeclareFiatOnrampPurchaseAttemptResponse_Result_name = map[int32]string{ 0: "OK", 1: "INVALID_OWNER", 2: "UNSUPPORTED_CURRENCY", 3: "AMOUNT_EXCEEDS_MAXIMUM", } DeclareFiatOnrampPurchaseAttemptResponse_Result_value = map[string]int32{ "OK": 0, "INVALID_OWNER": 1, "UNSUPPORTED_CURRENCY": 2, "AMOUNT_EXCEEDS_MAXIMUM": 3, } )
Enum value maps for DeclareFiatOnrampPurchaseAttemptResponse_Result.
var ( FeePaymentAction_FeeType_name = map[int32]string{ 0: "CODE", 1: "THIRD_PARTY", } FeePaymentAction_FeeType_value = map[string]int32{ "CODE": 0, "THIRD_PARTY": 1, } )
Enum value maps for FeePaymentAction_FeeType.
var ( DeniedErrorDetails_Code_name = map[int32]string{ 0: "UNSPECIFIED", 1: "TOO_MANY_FREE_ACCOUNTS_FOR_PHONE_NUMBER", 2: "TOO_MANY_FREE_ACCOUNTS_FOR_DEVICE", 3: "UNSUPPORTED_COUNTRY", 4: "UNSUPPORTED_DEVICE", } DeniedErrorDetails_Code_value = map[string]int32{ "UNSPECIFIED": 0, "TOO_MANY_FREE_ACCOUNTS_FOR_PHONE_NUMBER": 1, "TOO_MANY_FREE_ACCOUNTS_FOR_DEVICE": 2, "UNSUPPORTED_COUNTRY": 3, "UNSUPPORTED_DEVICE": 4, } )
Enum value maps for DeniedErrorDetails_Code.
var ( PaymentHistoryItem_PaymentType_name = map[int32]string{ 0: "UNKNOWN", 1: "SEND", 2: "RECEIVE", } PaymentHistoryItem_PaymentType_value = map[string]int32{ "UNKNOWN": 0, "SEND": 1, "RECEIVE": 2, } )
Enum value maps for PaymentHistoryItem_PaymentType.
var ( TippedUser_Platform_name = map[int32]string{ 0: "UNKNOWN", 1: "TWITTER", } TippedUser_Platform_value = map[string]int32{ "UNKNOWN": 0, "TWITTER": 1, } )
Enum value maps for TippedUser_Platform.
var File_transaction_v2_transaction_service_proto protoreflect.FileDescriptor
var Transaction_ServiceDesc = grpc.ServiceDesc{ ServiceName: "code.transaction.v2.Transaction", HandlerType: (*TransactionServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetIntentMetadata", Handler: _Transaction_GetIntentMetadata_Handler, }, { MethodName: "GetPrivacyUpgradeStatus", Handler: _Transaction_GetPrivacyUpgradeStatus_Handler, }, { MethodName: "GetPrioritizedIntentsForPrivacyUpgrade", Handler: _Transaction_GetPrioritizedIntentsForPrivacyUpgrade_Handler, }, { MethodName: "GetLimits", Handler: _Transaction_GetLimits_Handler, }, { MethodName: "GetPaymentHistory", Handler: _Transaction_GetPaymentHistory_Handler, }, { MethodName: "CanWithdrawToAccount", Handler: _Transaction_CanWithdrawToAccount_Handler, }, { MethodName: "Airdrop", Handler: _Transaction_Airdrop_Handler, }, { MethodName: "DeclareFiatOnrampPurchaseAttempt", Handler: _Transaction_DeclareFiatOnrampPurchaseAttempt_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubmitIntent", Handler: _Transaction_SubmitIntent_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "Swap", Handler: _Transaction_Swap_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "transaction/v2/transaction_service.proto", }
Transaction_ServiceDesc is the grpc.ServiceDesc for Transaction service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTransactionServer ¶
func RegisterTransactionServer(s grpc.ServiceRegistrar, srv TransactionServer)
Types ¶
type Action ¶
type Action struct { // The ID of this action, which is unique within an intent. It must match // the index of the action's location in the SubmitAction's actions field. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The type of action to perform. // // Types that are assignable to Type: // // *Action_OpenAccount // *Action_CloseEmptyAccount // *Action_CloseDormantAccount // *Action_NoPrivacyTransfer // *Action_NoPrivacyWithdraw // *Action_TemporaryPrivacyTransfer // *Action_TemporaryPrivacyExchange // *Action_PermanentPrivacyUpgrade // *Action_FeePayment Type isAction_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Action is a well-defined, ordered and small set of transactions for a unit of work that the client wants to perform on the blockchain. Clients provide parameters known to them in the action.
func (*Action) Descriptor
deprecated
func (*Action) GetCloseDormantAccount ¶
func (x *Action) GetCloseDormantAccount() *CloseDormantAccountAction
func (*Action) GetCloseEmptyAccount ¶
func (x *Action) GetCloseEmptyAccount() *CloseEmptyAccountAction
func (*Action) GetFeePayment ¶
func (x *Action) GetFeePayment() *FeePaymentAction
func (*Action) GetNoPrivacyTransfer ¶
func (x *Action) GetNoPrivacyTransfer() *NoPrivacyTransferAction
func (*Action) GetNoPrivacyWithdraw ¶
func (x *Action) GetNoPrivacyWithdraw() *NoPrivacyWithdrawAction
func (*Action) GetOpenAccount ¶
func (x *Action) GetOpenAccount() *OpenAccountAction
func (*Action) GetPermanentPrivacyUpgrade ¶
func (x *Action) GetPermanentPrivacyUpgrade() *PermanentPrivacyUpgradeAction
func (*Action) GetTemporaryPrivacyExchange ¶
func (x *Action) GetTemporaryPrivacyExchange() *TemporaryPrivacyExchangeAction
func (*Action) GetTemporaryPrivacyTransfer ¶
func (x *Action) GetTemporaryPrivacyTransfer() *TemporaryPrivacyTransferAction
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type ActionValidationError ¶
type ActionValidationError struct {
// contains filtered or unexported fields
}
ActionValidationError is the validation error returned by Action.Validate if the designated constraints aren't met.
func (ActionValidationError) Cause ¶
func (e ActionValidationError) Cause() error
Cause function returns cause value.
func (ActionValidationError) Error ¶
func (e ActionValidationError) Error() string
Error satisfies the builtin error interface
func (ActionValidationError) ErrorName ¶
func (e ActionValidationError) ErrorName() string
ErrorName returns error name.
func (ActionValidationError) Field ¶
func (e ActionValidationError) Field() string
Field function returns field value.
func (ActionValidationError) Key ¶
func (e ActionValidationError) Key() bool
Key function returns key value.
func (ActionValidationError) Reason ¶
func (e ActionValidationError) Reason() string
Reason function returns reason value.
type Action_CloseDormantAccount ¶
type Action_CloseDormantAccount struct {
CloseDormantAccount *CloseDormantAccountAction `protobuf:"bytes,4,opt,name=close_dormant_account,json=closeDormantAccount,proto3,oneof"`
}
type Action_CloseEmptyAccount ¶
type Action_CloseEmptyAccount struct {
CloseEmptyAccount *CloseEmptyAccountAction `protobuf:"bytes,3,opt,name=close_empty_account,json=closeEmptyAccount,proto3,oneof"`
}
type Action_FeePayment ¶
type Action_FeePayment struct {
FeePayment *FeePaymentAction `protobuf:"bytes,10,opt,name=fee_payment,json=feePayment,proto3,oneof"`
}
type Action_NoPrivacyTransfer ¶
type Action_NoPrivacyTransfer struct {
NoPrivacyTransfer *NoPrivacyTransferAction `protobuf:"bytes,5,opt,name=no_privacy_transfer,json=noPrivacyTransfer,proto3,oneof"`
}
type Action_NoPrivacyWithdraw ¶
type Action_NoPrivacyWithdraw struct {
NoPrivacyWithdraw *NoPrivacyWithdrawAction `protobuf:"bytes,6,opt,name=no_privacy_withdraw,json=noPrivacyWithdraw,proto3,oneof"`
}
type Action_OpenAccount ¶
type Action_OpenAccount struct {
OpenAccount *OpenAccountAction `protobuf:"bytes,2,opt,name=open_account,json=openAccount,proto3,oneof"`
}
type Action_PermanentPrivacyUpgrade ¶
type Action_PermanentPrivacyUpgrade struct {
PermanentPrivacyUpgrade *PermanentPrivacyUpgradeAction `protobuf:"bytes,9,opt,name=permanent_privacy_upgrade,json=permanentPrivacyUpgrade,proto3,oneof"`
}
type Action_TemporaryPrivacyExchange ¶
type Action_TemporaryPrivacyExchange struct {
TemporaryPrivacyExchange *TemporaryPrivacyExchangeAction `protobuf:"bytes,8,opt,name=temporary_privacy_exchange,json=temporaryPrivacyExchange,proto3,oneof"`
}
type Action_TemporaryPrivacyTransfer ¶
type Action_TemporaryPrivacyTransfer struct {
TemporaryPrivacyTransfer *TemporaryPrivacyTransferAction `protobuf:"bytes,7,opt,name=temporary_privacy_transfer,json=temporaryPrivacyTransfer,proto3,oneof"`
}
type AdditionalFeePayment ¶ added in v1.10.0
type AdditionalFeePayment struct { // Destination Kin token account where the fee payment will be made Destination *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` // Fee percentage, in basis points, of the total quark amount of a payment. FeeBps uint32 `protobuf:"varint,2,opt,name=fee_bps,json=feeBps,proto3" json:"fee_bps,omitempty"` // contains filtered or unexported fields }
func (*AdditionalFeePayment) Descriptor
deprecated
added in
v1.10.0
func (*AdditionalFeePayment) Descriptor() ([]byte, []int)
Deprecated: Use AdditionalFeePayment.ProtoReflect.Descriptor instead.
func (*AdditionalFeePayment) GetDestination ¶ added in v1.10.0
func (x *AdditionalFeePayment) GetDestination() *v1.SolanaAccountId
func (*AdditionalFeePayment) GetFeeBps ¶ added in v1.10.0
func (x *AdditionalFeePayment) GetFeeBps() uint32
func (*AdditionalFeePayment) ProtoMessage ¶ added in v1.10.0
func (*AdditionalFeePayment) ProtoMessage()
func (*AdditionalFeePayment) ProtoReflect ¶ added in v1.10.0
func (x *AdditionalFeePayment) ProtoReflect() protoreflect.Message
func (*AdditionalFeePayment) Reset ¶ added in v1.10.0
func (x *AdditionalFeePayment) Reset()
func (*AdditionalFeePayment) String ¶ added in v1.10.0
func (x *AdditionalFeePayment) String() string
func (*AdditionalFeePayment) Validate ¶ added in v1.10.0
func (m *AdditionalFeePayment) Validate() error
Validate checks the field values on AdditionalFeePayment with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AdditionalFeePaymentValidationError ¶ added in v1.10.0
type AdditionalFeePaymentValidationError struct {
// contains filtered or unexported fields
}
AdditionalFeePaymentValidationError is the validation error returned by AdditionalFeePayment.Validate if the designated constraints aren't met.
func (AdditionalFeePaymentValidationError) Cause ¶ added in v1.10.0
func (e AdditionalFeePaymentValidationError) Cause() error
Cause function returns cause value.
func (AdditionalFeePaymentValidationError) Error ¶ added in v1.10.0
func (e AdditionalFeePaymentValidationError) Error() string
Error satisfies the builtin error interface
func (AdditionalFeePaymentValidationError) ErrorName ¶ added in v1.10.0
func (e AdditionalFeePaymentValidationError) ErrorName() string
ErrorName returns error name.
func (AdditionalFeePaymentValidationError) Field ¶ added in v1.10.0
func (e AdditionalFeePaymentValidationError) Field() string
Field function returns field value.
func (AdditionalFeePaymentValidationError) Key ¶ added in v1.10.0
func (e AdditionalFeePaymentValidationError) Key() bool
Key function returns key value.
func (AdditionalFeePaymentValidationError) Reason ¶ added in v1.10.0
func (e AdditionalFeePaymentValidationError) Reason() string
Reason function returns reason value.
type AirdropRequest ¶
type AirdropRequest struct { // The type of airdrop to claim AirdropType AirdropType `` /* 132-byte string literal not displayed */ // The owner account to airdrop Kin to Owner *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // The signature is of serialize(AirdropRequest) without this field set // using the private key of the owner account. This provides an authentication // mechanism to the RPC. Signature *v1.Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*AirdropRequest) Descriptor
deprecated
func (*AirdropRequest) Descriptor() ([]byte, []int)
Deprecated: Use AirdropRequest.ProtoReflect.Descriptor instead.
func (*AirdropRequest) GetAirdropType ¶
func (x *AirdropRequest) GetAirdropType() AirdropType
func (*AirdropRequest) GetOwner ¶
func (x *AirdropRequest) GetOwner() *v1.SolanaAccountId
func (*AirdropRequest) GetSignature ¶
func (x *AirdropRequest) GetSignature() *v1.Signature
func (*AirdropRequest) ProtoMessage ¶
func (*AirdropRequest) ProtoMessage()
func (*AirdropRequest) ProtoReflect ¶
func (x *AirdropRequest) ProtoReflect() protoreflect.Message
func (*AirdropRequest) Reset ¶
func (x *AirdropRequest) Reset()
func (*AirdropRequest) String ¶
func (x *AirdropRequest) String() string
func (*AirdropRequest) Validate ¶
func (m *AirdropRequest) Validate() error
Validate checks the field values on AirdropRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AirdropRequestValidationError ¶
type AirdropRequestValidationError struct {
// contains filtered or unexported fields
}
AirdropRequestValidationError is the validation error returned by AirdropRequest.Validate if the designated constraints aren't met.
func (AirdropRequestValidationError) Cause ¶
func (e AirdropRequestValidationError) Cause() error
Cause function returns cause value.
func (AirdropRequestValidationError) Error ¶
func (e AirdropRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AirdropRequestValidationError) ErrorName ¶
func (e AirdropRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AirdropRequestValidationError) Field ¶
func (e AirdropRequestValidationError) Field() string
Field function returns field value.
func (AirdropRequestValidationError) Key ¶
func (e AirdropRequestValidationError) Key() bool
Key function returns key value.
func (AirdropRequestValidationError) Reason ¶
func (e AirdropRequestValidationError) Reason() string
Reason function returns reason value.
type AirdropResponse ¶
type AirdropResponse struct { Result AirdropResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.transaction.v2.AirdropResponse_Result" json:"result,omitempty"` // Exchange data for the amount of Kin airdropped when successful ExchangeData *ExchangeData `protobuf:"bytes,2,opt,name=exchange_data,json=exchangeData,proto3" json:"exchange_data,omitempty"` // contains filtered or unexported fields }
func (*AirdropResponse) Descriptor
deprecated
func (*AirdropResponse) Descriptor() ([]byte, []int)
Deprecated: Use AirdropResponse.ProtoReflect.Descriptor instead.
func (*AirdropResponse) GetExchangeData ¶
func (x *AirdropResponse) GetExchangeData() *ExchangeData
func (*AirdropResponse) GetResult ¶
func (x *AirdropResponse) GetResult() AirdropResponse_Result
func (*AirdropResponse) ProtoMessage ¶
func (*AirdropResponse) ProtoMessage()
func (*AirdropResponse) ProtoReflect ¶
func (x *AirdropResponse) ProtoReflect() protoreflect.Message
func (*AirdropResponse) Reset ¶
func (x *AirdropResponse) Reset()
func (*AirdropResponse) String ¶
func (x *AirdropResponse) String() string
func (*AirdropResponse) Validate ¶
func (m *AirdropResponse) Validate() error
Validate checks the field values on AirdropResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AirdropResponseValidationError ¶
type AirdropResponseValidationError struct {
// contains filtered or unexported fields
}
AirdropResponseValidationError is the validation error returned by AirdropResponse.Validate if the designated constraints aren't met.
func (AirdropResponseValidationError) Cause ¶
func (e AirdropResponseValidationError) Cause() error
Cause function returns cause value.
func (AirdropResponseValidationError) Error ¶
func (e AirdropResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AirdropResponseValidationError) ErrorName ¶
func (e AirdropResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AirdropResponseValidationError) Field ¶
func (e AirdropResponseValidationError) Field() string
Field function returns field value.
func (AirdropResponseValidationError) Key ¶
func (e AirdropResponseValidationError) Key() bool
Key function returns key value.
func (AirdropResponseValidationError) Reason ¶
func (e AirdropResponseValidationError) Reason() string
Reason function returns reason value.
type AirdropResponse_Result ¶
type AirdropResponse_Result int32
const ( AirdropResponse_OK AirdropResponse_Result = 0 // Airdrops are unavailable AirdropResponse_UNAVAILABLE AirdropResponse_Result = 1 // The airdrop has already been claimed by the owner AirdropResponse_ALREADY_CLAIMED AirdropResponse_Result = 2 )
func (AirdropResponse_Result) Descriptor ¶
func (AirdropResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (AirdropResponse_Result) Enum ¶
func (x AirdropResponse_Result) Enum() *AirdropResponse_Result
func (AirdropResponse_Result) EnumDescriptor
deprecated
func (AirdropResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use AirdropResponse_Result.Descriptor instead.
func (AirdropResponse_Result) Number ¶
func (x AirdropResponse_Result) Number() protoreflect.EnumNumber
func (AirdropResponse_Result) String ¶
func (x AirdropResponse_Result) String() string
func (AirdropResponse_Result) Type ¶
func (AirdropResponse_Result) Type() protoreflect.EnumType
type AirdropType ¶
type AirdropType int32
const ( AirdropType_UNKNOWN AirdropType = 0 // Reward for giving someone else their first Kin AirdropType_GIVE_FIRST_KIN AirdropType = 1 // Airdrop for getting a user started with first Kin balance AirdropType_GET_FIRST_KIN AirdropType = 2 )
func (AirdropType) Descriptor ¶
func (AirdropType) Descriptor() protoreflect.EnumDescriptor
func (AirdropType) Enum ¶
func (x AirdropType) Enum() *AirdropType
func (AirdropType) EnumDescriptor
deprecated
func (AirdropType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AirdropType.Descriptor instead.
func (AirdropType) Number ¶
func (x AirdropType) Number() protoreflect.EnumNumber
func (AirdropType) String ¶
func (x AirdropType) String() string
func (AirdropType) Type ¶
func (AirdropType) Type() protoreflect.EnumType
type BuyModuleLimit ¶ added in v1.11.0
type BuyModuleLimit struct { // Minimum amount that can be purchased through the buy module MinPerTransaction float32 `protobuf:"fixed32,1,opt,name=min_per_transaction,json=minPerTransaction,proto3" json:"min_per_transaction,omitempty"` // Maximum amount that can be purchased through the buy module MaxPerTransaction float32 `protobuf:"fixed32,2,opt,name=max_per_transaction,json=maxPerTransaction,proto3" json:"max_per_transaction,omitempty"` // contains filtered or unexported fields }
func (*BuyModuleLimit) Descriptor
deprecated
added in
v1.11.0
func (*BuyModuleLimit) Descriptor() ([]byte, []int)
Deprecated: Use BuyModuleLimit.ProtoReflect.Descriptor instead.
func (*BuyModuleLimit) GetMaxPerTransaction ¶ added in v1.11.0
func (x *BuyModuleLimit) GetMaxPerTransaction() float32
func (*BuyModuleLimit) GetMinPerTransaction ¶ added in v1.11.0
func (x *BuyModuleLimit) GetMinPerTransaction() float32
func (*BuyModuleLimit) ProtoMessage ¶ added in v1.11.0
func (*BuyModuleLimit) ProtoMessage()
func (*BuyModuleLimit) ProtoReflect ¶ added in v1.11.0
func (x *BuyModuleLimit) ProtoReflect() protoreflect.Message
func (*BuyModuleLimit) Reset ¶ added in v1.11.0
func (x *BuyModuleLimit) Reset()
func (*BuyModuleLimit) String ¶ added in v1.11.0
func (x *BuyModuleLimit) String() string
func (*BuyModuleLimit) Validate ¶ added in v1.11.0
func (m *BuyModuleLimit) Validate() error
Validate checks the field values on BuyModuleLimit with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type BuyModuleLimitValidationError ¶ added in v1.11.0
type BuyModuleLimitValidationError struct {
// contains filtered or unexported fields
}
BuyModuleLimitValidationError is the validation error returned by BuyModuleLimit.Validate if the designated constraints aren't met.
func (BuyModuleLimitValidationError) Cause ¶ added in v1.11.0
func (e BuyModuleLimitValidationError) Cause() error
Cause function returns cause value.
func (BuyModuleLimitValidationError) Error ¶ added in v1.11.0
func (e BuyModuleLimitValidationError) Error() string
Error satisfies the builtin error interface
func (BuyModuleLimitValidationError) ErrorName ¶ added in v1.11.0
func (e BuyModuleLimitValidationError) ErrorName() string
ErrorName returns error name.
func (BuyModuleLimitValidationError) Field ¶ added in v1.11.0
func (e BuyModuleLimitValidationError) Field() string
Field function returns field value.
func (BuyModuleLimitValidationError) Key ¶ added in v1.11.0
func (e BuyModuleLimitValidationError) Key() bool
Key function returns key value.
func (BuyModuleLimitValidationError) Reason ¶ added in v1.11.0
func (e BuyModuleLimitValidationError) Reason() string
Reason function returns reason value.
type CanWithdrawToAccountRequest ¶
type CanWithdrawToAccountRequest struct { Account *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*CanWithdrawToAccountRequest) Descriptor
deprecated
func (*CanWithdrawToAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CanWithdrawToAccountRequest.ProtoReflect.Descriptor instead.
func (*CanWithdrawToAccountRequest) GetAccount ¶
func (x *CanWithdrawToAccountRequest) GetAccount() *v1.SolanaAccountId
func (*CanWithdrawToAccountRequest) ProtoMessage ¶
func (*CanWithdrawToAccountRequest) ProtoMessage()
func (*CanWithdrawToAccountRequest) ProtoReflect ¶
func (x *CanWithdrawToAccountRequest) ProtoReflect() protoreflect.Message
func (*CanWithdrawToAccountRequest) Reset ¶
func (x *CanWithdrawToAccountRequest) Reset()
func (*CanWithdrawToAccountRequest) String ¶
func (x *CanWithdrawToAccountRequest) String() string
func (*CanWithdrawToAccountRequest) Validate ¶
func (m *CanWithdrawToAccountRequest) Validate() error
Validate checks the field values on CanWithdrawToAccountRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CanWithdrawToAccountRequestValidationError ¶
type CanWithdrawToAccountRequestValidationError struct {
// contains filtered or unexported fields
}
CanWithdrawToAccountRequestValidationError is the validation error returned by CanWithdrawToAccountRequest.Validate if the designated constraints aren't met.
func (CanWithdrawToAccountRequestValidationError) Cause ¶
func (e CanWithdrawToAccountRequestValidationError) Cause() error
Cause function returns cause value.
func (CanWithdrawToAccountRequestValidationError) Error ¶
func (e CanWithdrawToAccountRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CanWithdrawToAccountRequestValidationError) ErrorName ¶
func (e CanWithdrawToAccountRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CanWithdrawToAccountRequestValidationError) Field ¶
func (e CanWithdrawToAccountRequestValidationError) Field() string
Field function returns field value.
func (CanWithdrawToAccountRequestValidationError) Key ¶
func (e CanWithdrawToAccountRequestValidationError) Key() bool
Key function returns key value.
func (CanWithdrawToAccountRequestValidationError) Reason ¶
func (e CanWithdrawToAccountRequestValidationError) Reason() string
Reason function returns reason value.
type CanWithdrawToAccountResponse ¶
type CanWithdrawToAccountResponse struct { // Metadata so the client knows how to withdraw to the account. Server cannot // provide precalculated addresses in this response to maintain non-custodial // status. AccountType CanWithdrawToAccountResponse_AccountType `` /* 161-byte string literal not displayed */ // Server-controlled flag to indicate if the account can be withdrawn to. // There are several reasons server may deny it, including: // - Wrong type of Code account // - Not wanting to subsidize the creation of an ATA // - Unsupported external account type (eg. token account but of the wrong mint) // // This is guaranteed to be false when account_type = Unknown. IsValidPaymentDestination bool `` /* 141-byte string literal not displayed */ // Token account requires initialization before the withdrawal can occur. // Server has chosen not to subsidize the fees. The response is guaranteed // to have set is_valid_payment_destination = false in this case. RequiresInitialization bool `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CanWithdrawToAccountResponse) Descriptor
deprecated
func (*CanWithdrawToAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CanWithdrawToAccountResponse.ProtoReflect.Descriptor instead.
func (*CanWithdrawToAccountResponse) GetAccountType ¶
func (x *CanWithdrawToAccountResponse) GetAccountType() CanWithdrawToAccountResponse_AccountType
func (*CanWithdrawToAccountResponse) GetIsValidPaymentDestination ¶
func (x *CanWithdrawToAccountResponse) GetIsValidPaymentDestination() bool
func (*CanWithdrawToAccountResponse) GetRequiresInitialization ¶
func (x *CanWithdrawToAccountResponse) GetRequiresInitialization() bool
func (*CanWithdrawToAccountResponse) ProtoMessage ¶
func (*CanWithdrawToAccountResponse) ProtoMessage()
func (*CanWithdrawToAccountResponse) ProtoReflect ¶
func (x *CanWithdrawToAccountResponse) ProtoReflect() protoreflect.Message
func (*CanWithdrawToAccountResponse) Reset ¶
func (x *CanWithdrawToAccountResponse) Reset()
func (*CanWithdrawToAccountResponse) String ¶
func (x *CanWithdrawToAccountResponse) String() string
func (*CanWithdrawToAccountResponse) Validate ¶
func (m *CanWithdrawToAccountResponse) Validate() error
Validate checks the field values on CanWithdrawToAccountResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CanWithdrawToAccountResponseValidationError ¶
type CanWithdrawToAccountResponseValidationError struct {
// contains filtered or unexported fields
}
CanWithdrawToAccountResponseValidationError is the validation error returned by CanWithdrawToAccountResponse.Validate if the designated constraints aren't met.
func (CanWithdrawToAccountResponseValidationError) Cause ¶
func (e CanWithdrawToAccountResponseValidationError) Cause() error
Cause function returns cause value.
func (CanWithdrawToAccountResponseValidationError) Error ¶
func (e CanWithdrawToAccountResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CanWithdrawToAccountResponseValidationError) ErrorName ¶
func (e CanWithdrawToAccountResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CanWithdrawToAccountResponseValidationError) Field ¶
func (e CanWithdrawToAccountResponseValidationError) Field() string
Field function returns field value.
func (CanWithdrawToAccountResponseValidationError) Key ¶
func (e CanWithdrawToAccountResponseValidationError) Key() bool
Key function returns key value.
func (CanWithdrawToAccountResponseValidationError) Reason ¶
func (e CanWithdrawToAccountResponseValidationError) Reason() string
Reason function returns reason value.
type CanWithdrawToAccountResponse_AccountType ¶
type CanWithdrawToAccountResponse_AccountType int32
const ( CanWithdrawToAccountResponse_Unknown CanWithdrawToAccountResponse_AccountType = 0 // Server cannot determine CanWithdrawToAccountResponse_TokenAccount CanWithdrawToAccountResponse_AccountType = 1 // Client uses the address as is in SubmitIntent CanWithdrawToAccountResponse_OwnerAccount CanWithdrawToAccountResponse_AccountType = 2 // Client locally derives the ATA to use in SubmitIntent )
func (CanWithdrawToAccountResponse_AccountType) Descriptor ¶
func (CanWithdrawToAccountResponse_AccountType) Descriptor() protoreflect.EnumDescriptor
func (CanWithdrawToAccountResponse_AccountType) EnumDescriptor
deprecated
func (CanWithdrawToAccountResponse_AccountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CanWithdrawToAccountResponse_AccountType.Descriptor instead.
func (CanWithdrawToAccountResponse_AccountType) Number ¶
func (x CanWithdrawToAccountResponse_AccountType) Number() protoreflect.EnumNumber
func (CanWithdrawToAccountResponse_AccountType) String ¶
func (x CanWithdrawToAccountResponse_AccountType) String() string
func (CanWithdrawToAccountResponse_AccountType) Type ¶
func (CanWithdrawToAccountResponse_AccountType) Type() protoreflect.EnumType
type CloseDormantAccountAction ¶
type CloseDormantAccountAction struct { // The type of account being closed AccountType v1.AccountType `` /* 127-byte string literal not displayed */ // The public key of the private key that has authority over the token account // that should be closed Authority *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"` // The token account being closed Token *v1.SolanaAccountId `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // The destination where funds are withdrawn to Destination *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=destination,proto3" json:"destination,omitempty"` // contains filtered or unexported fields }
Transaction 1
Instructions: 1. system::AdvanceNonce 2. memo::Memo 3. timelock::RevokeLockWithAuthority 4. timelock::DeactivateLock 5. timelock::Withdraw (token -> primary) 6. timelock::CloseAccounts Client Signature Required: Yes
func (*CloseDormantAccountAction) Descriptor
deprecated
func (*CloseDormantAccountAction) Descriptor() ([]byte, []int)
Deprecated: Use CloseDormantAccountAction.ProtoReflect.Descriptor instead.
func (*CloseDormantAccountAction) GetAccountType ¶
func (x *CloseDormantAccountAction) GetAccountType() v1.AccountType
func (*CloseDormantAccountAction) GetAuthority ¶
func (x *CloseDormantAccountAction) GetAuthority() *v1.SolanaAccountId
func (*CloseDormantAccountAction) GetDestination ¶
func (x *CloseDormantAccountAction) GetDestination() *v1.SolanaAccountId
func (*CloseDormantAccountAction) GetToken ¶
func (x *CloseDormantAccountAction) GetToken() *v1.SolanaAccountId
func (*CloseDormantAccountAction) ProtoMessage ¶
func (*CloseDormantAccountAction) ProtoMessage()
func (*CloseDormantAccountAction) ProtoReflect ¶
func (x *CloseDormantAccountAction) ProtoReflect() protoreflect.Message
func (*CloseDormantAccountAction) Reset ¶
func (x *CloseDormantAccountAction) Reset()
func (*CloseDormantAccountAction) String ¶
func (x *CloseDormantAccountAction) String() string
func (*CloseDormantAccountAction) Validate ¶
func (m *CloseDormantAccountAction) Validate() error
Validate checks the field values on CloseDormantAccountAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CloseDormantAccountActionValidationError ¶
type CloseDormantAccountActionValidationError struct {
// contains filtered or unexported fields
}
CloseDormantAccountActionValidationError is the validation error returned by CloseDormantAccountAction.Validate if the designated constraints aren't met.
func (CloseDormantAccountActionValidationError) Cause ¶
func (e CloseDormantAccountActionValidationError) Cause() error
Cause function returns cause value.
func (CloseDormantAccountActionValidationError) Error ¶
func (e CloseDormantAccountActionValidationError) Error() string
Error satisfies the builtin error interface
func (CloseDormantAccountActionValidationError) ErrorName ¶
func (e CloseDormantAccountActionValidationError) ErrorName() string
ErrorName returns error name.
func (CloseDormantAccountActionValidationError) Field ¶
func (e CloseDormantAccountActionValidationError) Field() string
Field function returns field value.
func (CloseDormantAccountActionValidationError) Key ¶
func (e CloseDormantAccountActionValidationError) Key() bool
Key function returns key value.
func (CloseDormantAccountActionValidationError) Reason ¶
func (e CloseDormantAccountActionValidationError) Reason() string
Reason function returns reason value.
type CloseDormantAccountServerParameter ¶
type CloseDormantAccountServerParameter struct {
// contains filtered or unexported fields
}
func (*CloseDormantAccountServerParameter) Descriptor
deprecated
func (*CloseDormantAccountServerParameter) Descriptor() ([]byte, []int)
Deprecated: Use CloseDormantAccountServerParameter.ProtoReflect.Descriptor instead.
func (*CloseDormantAccountServerParameter) ProtoMessage ¶
func (*CloseDormantAccountServerParameter) ProtoMessage()
func (*CloseDormantAccountServerParameter) ProtoReflect ¶
func (x *CloseDormantAccountServerParameter) ProtoReflect() protoreflect.Message
func (*CloseDormantAccountServerParameter) Reset ¶
func (x *CloseDormantAccountServerParameter) Reset()
func (*CloseDormantAccountServerParameter) String ¶
func (x *CloseDormantAccountServerParameter) String() string
func (*CloseDormantAccountServerParameter) Validate ¶
func (m *CloseDormantAccountServerParameter) Validate() error
Validate checks the field values on CloseDormantAccountServerParameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CloseDormantAccountServerParameterValidationError ¶
type CloseDormantAccountServerParameterValidationError struct {
// contains filtered or unexported fields
}
CloseDormantAccountServerParameterValidationError is the validation error returned by CloseDormantAccountServerParameter.Validate if the designated constraints aren't met.
func (CloseDormantAccountServerParameterValidationError) Cause ¶
func (e CloseDormantAccountServerParameterValidationError) Cause() error
Cause function returns cause value.
func (CloseDormantAccountServerParameterValidationError) Error ¶
func (e CloseDormantAccountServerParameterValidationError) Error() string
Error satisfies the builtin error interface
func (CloseDormantAccountServerParameterValidationError) ErrorName ¶
func (e CloseDormantAccountServerParameterValidationError) ErrorName() string
ErrorName returns error name.
func (CloseDormantAccountServerParameterValidationError) Field ¶
func (e CloseDormantAccountServerParameterValidationError) Field() string
Field function returns field value.
func (CloseDormantAccountServerParameterValidationError) Key ¶
func (e CloseDormantAccountServerParameterValidationError) Key() bool
Key function returns key value.
func (CloseDormantAccountServerParameterValidationError) Reason ¶
func (e CloseDormantAccountServerParameterValidationError) Reason() string
Reason function returns reason value.
type CloseEmptyAccountAction ¶
type CloseEmptyAccountAction struct { // The type of account being closed AccountType v1.AccountType `` /* 127-byte string literal not displayed */ // The public key of the private key that has authority over the token account // that should be closed Authority *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"` // The token account being closed Token *v1.SolanaAccountId `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
Transaction 1
Instructions: 1. system::AdvanceNonce 2. timelock::BurnDustWithAuthority (max 1 Kin) 3. timelock::CloseAccounts Client Signature Required: Yes
func (*CloseEmptyAccountAction) Descriptor
deprecated
func (*CloseEmptyAccountAction) Descriptor() ([]byte, []int)
Deprecated: Use CloseEmptyAccountAction.ProtoReflect.Descriptor instead.
func (*CloseEmptyAccountAction) GetAccountType ¶
func (x *CloseEmptyAccountAction) GetAccountType() v1.AccountType
func (*CloseEmptyAccountAction) GetAuthority ¶
func (x *CloseEmptyAccountAction) GetAuthority() *v1.SolanaAccountId
func (*CloseEmptyAccountAction) GetToken ¶
func (x *CloseEmptyAccountAction) GetToken() *v1.SolanaAccountId
func (*CloseEmptyAccountAction) ProtoMessage ¶
func (*CloseEmptyAccountAction) ProtoMessage()
func (*CloseEmptyAccountAction) ProtoReflect ¶
func (x *CloseEmptyAccountAction) ProtoReflect() protoreflect.Message
func (*CloseEmptyAccountAction) Reset ¶
func (x *CloseEmptyAccountAction) Reset()
func (*CloseEmptyAccountAction) String ¶
func (x *CloseEmptyAccountAction) String() string
func (*CloseEmptyAccountAction) Validate ¶
func (m *CloseEmptyAccountAction) Validate() error
Validate checks the field values on CloseEmptyAccountAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CloseEmptyAccountActionValidationError ¶
type CloseEmptyAccountActionValidationError struct {
// contains filtered or unexported fields
}
CloseEmptyAccountActionValidationError is the validation error returned by CloseEmptyAccountAction.Validate if the designated constraints aren't met.
func (CloseEmptyAccountActionValidationError) Cause ¶
func (e CloseEmptyAccountActionValidationError) Cause() error
Cause function returns cause value.
func (CloseEmptyAccountActionValidationError) Error ¶
func (e CloseEmptyAccountActionValidationError) Error() string
Error satisfies the builtin error interface
func (CloseEmptyAccountActionValidationError) ErrorName ¶
func (e CloseEmptyAccountActionValidationError) ErrorName() string
ErrorName returns error name.
func (CloseEmptyAccountActionValidationError) Field ¶
func (e CloseEmptyAccountActionValidationError) Field() string
Field function returns field value.
func (CloseEmptyAccountActionValidationError) Key ¶
func (e CloseEmptyAccountActionValidationError) Key() bool
Key function returns key value.
func (CloseEmptyAccountActionValidationError) Reason ¶
func (e CloseEmptyAccountActionValidationError) Reason() string
Reason function returns reason value.
type CloseEmptyAccountServerParameter ¶
type CloseEmptyAccountServerParameter struct {
// contains filtered or unexported fields
}
func (*CloseEmptyAccountServerParameter) Descriptor
deprecated
func (*CloseEmptyAccountServerParameter) Descriptor() ([]byte, []int)
Deprecated: Use CloseEmptyAccountServerParameter.ProtoReflect.Descriptor instead.
func (*CloseEmptyAccountServerParameter) ProtoMessage ¶
func (*CloseEmptyAccountServerParameter) ProtoMessage()
func (*CloseEmptyAccountServerParameter) ProtoReflect ¶
func (x *CloseEmptyAccountServerParameter) ProtoReflect() protoreflect.Message
func (*CloseEmptyAccountServerParameter) Reset ¶
func (x *CloseEmptyAccountServerParameter) Reset()
func (*CloseEmptyAccountServerParameter) String ¶
func (x *CloseEmptyAccountServerParameter) String() string
func (*CloseEmptyAccountServerParameter) Validate ¶
func (m *CloseEmptyAccountServerParameter) Validate() error
Validate checks the field values on CloseEmptyAccountServerParameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CloseEmptyAccountServerParameterValidationError ¶
type CloseEmptyAccountServerParameterValidationError struct {
// contains filtered or unexported fields
}
CloseEmptyAccountServerParameterValidationError is the validation error returned by CloseEmptyAccountServerParameter.Validate if the designated constraints aren't met.
func (CloseEmptyAccountServerParameterValidationError) Cause ¶
func (e CloseEmptyAccountServerParameterValidationError) Cause() error
Cause function returns cause value.
func (CloseEmptyAccountServerParameterValidationError) Error ¶
func (e CloseEmptyAccountServerParameterValidationError) Error() string
Error satisfies the builtin error interface
func (CloseEmptyAccountServerParameterValidationError) ErrorName ¶
func (e CloseEmptyAccountServerParameterValidationError) ErrorName() string
ErrorName returns error name.
func (CloseEmptyAccountServerParameterValidationError) Field ¶
func (e CloseEmptyAccountServerParameterValidationError) Field() string
Field function returns field value.
func (CloseEmptyAccountServerParameterValidationError) Key ¶
func (e CloseEmptyAccountServerParameterValidationError) Key() bool
Key function returns key value.
func (CloseEmptyAccountServerParameterValidationError) Reason ¶
func (e CloseEmptyAccountServerParameterValidationError) Reason() string
Reason function returns reason value.
type Cursor ¶
type Cursor struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Cursor) Descriptor
deprecated
func (*Cursor) ProtoMessage ¶
func (*Cursor) ProtoMessage()
func (*Cursor) ProtoReflect ¶
func (x *Cursor) ProtoReflect() protoreflect.Message
type CursorValidationError ¶
type CursorValidationError struct {
// contains filtered or unexported fields
}
CursorValidationError is the validation error returned by Cursor.Validate if the designated constraints aren't met.
func (CursorValidationError) Cause ¶
func (e CursorValidationError) Cause() error
Cause function returns cause value.
func (CursorValidationError) Error ¶
func (e CursorValidationError) Error() string
Error satisfies the builtin error interface
func (CursorValidationError) ErrorName ¶
func (e CursorValidationError) ErrorName() string
ErrorName returns error name.
func (CursorValidationError) Field ¶
func (e CursorValidationError) Field() string
Field function returns field value.
func (CursorValidationError) Key ¶
func (e CursorValidationError) Key() bool
Key function returns key value.
func (CursorValidationError) Reason ¶
func (e CursorValidationError) Reason() string
Reason function returns reason value.
type DeclareFiatOnrampPurchaseAttemptRequest ¶ added in v1.12.2
type DeclareFiatOnrampPurchaseAttemptRequest struct { // The owner account invoking the buy module Owner *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The amount being purchased PurchaseAmount *ExchangeDataWithoutRate `protobuf:"bytes,2,opt,name=purchase_amount,json=purchaseAmount,proto3" json:"purchase_amount,omitempty"` // A nonce value unique to the purchase. If it's included in a memo for the // transaction for the deposit to the owner, then purchase_amount will be used // for display values. Otherwise, the amount will be inferred from the transaction. Nonce *v1.UUID `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` // The signature is of serialize(DeclareFiatOnrampPurchaseAttemptRequest) without // this field set using the private key of the owner account. This provides an // authentication mechanism to the RPC. Signature *v1.Signature `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*DeclareFiatOnrampPurchaseAttemptRequest) Descriptor
deprecated
added in
v1.12.2
func (*DeclareFiatOnrampPurchaseAttemptRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeclareFiatOnrampPurchaseAttemptRequest.ProtoReflect.Descriptor instead.
func (*DeclareFiatOnrampPurchaseAttemptRequest) GetNonce ¶ added in v1.12.2
func (x *DeclareFiatOnrampPurchaseAttemptRequest) GetNonce() *v1.UUID
func (*DeclareFiatOnrampPurchaseAttemptRequest) GetOwner ¶ added in v1.12.2
func (x *DeclareFiatOnrampPurchaseAttemptRequest) GetOwner() *v1.SolanaAccountId
func (*DeclareFiatOnrampPurchaseAttemptRequest) GetPurchaseAmount ¶ added in v1.12.2
func (x *DeclareFiatOnrampPurchaseAttemptRequest) GetPurchaseAmount() *ExchangeDataWithoutRate
func (*DeclareFiatOnrampPurchaseAttemptRequest) GetSignature ¶ added in v1.12.2
func (x *DeclareFiatOnrampPurchaseAttemptRequest) GetSignature() *v1.Signature
func (*DeclareFiatOnrampPurchaseAttemptRequest) ProtoMessage ¶ added in v1.12.2
func (*DeclareFiatOnrampPurchaseAttemptRequest) ProtoMessage()
func (*DeclareFiatOnrampPurchaseAttemptRequest) ProtoReflect ¶ added in v1.12.2
func (x *DeclareFiatOnrampPurchaseAttemptRequest) ProtoReflect() protoreflect.Message
func (*DeclareFiatOnrampPurchaseAttemptRequest) Reset ¶ added in v1.12.2
func (x *DeclareFiatOnrampPurchaseAttemptRequest) Reset()
func (*DeclareFiatOnrampPurchaseAttemptRequest) String ¶ added in v1.12.2
func (x *DeclareFiatOnrampPurchaseAttemptRequest) String() string
func (*DeclareFiatOnrampPurchaseAttemptRequest) Validate ¶ added in v1.12.2
func (m *DeclareFiatOnrampPurchaseAttemptRequest) Validate() error
Validate checks the field values on DeclareFiatOnrampPurchaseAttemptRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeclareFiatOnrampPurchaseAttemptRequestValidationError ¶ added in v1.12.2
type DeclareFiatOnrampPurchaseAttemptRequestValidationError struct {
// contains filtered or unexported fields
}
DeclareFiatOnrampPurchaseAttemptRequestValidationError is the validation error returned by DeclareFiatOnrampPurchaseAttemptRequest.Validate if the designated constraints aren't met.
func (DeclareFiatOnrampPurchaseAttemptRequestValidationError) Cause ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) Cause() error
Cause function returns cause value.
func (DeclareFiatOnrampPurchaseAttemptRequestValidationError) Error ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeclareFiatOnrampPurchaseAttemptRequestValidationError) ErrorName ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeclareFiatOnrampPurchaseAttemptRequestValidationError) Field ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) Field() string
Field function returns field value.
func (DeclareFiatOnrampPurchaseAttemptRequestValidationError) Key ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) Key() bool
Key function returns key value.
func (DeclareFiatOnrampPurchaseAttemptRequestValidationError) Reason ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptRequestValidationError) Reason() string
Reason function returns reason value.
type DeclareFiatOnrampPurchaseAttemptResponse ¶ added in v1.12.2
type DeclareFiatOnrampPurchaseAttemptResponse struct { Result DeclareFiatOnrampPurchaseAttemptResponse_Result `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeclareFiatOnrampPurchaseAttemptResponse) Descriptor
deprecated
added in
v1.12.2
func (*DeclareFiatOnrampPurchaseAttemptResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeclareFiatOnrampPurchaseAttemptResponse.ProtoReflect.Descriptor instead.
func (*DeclareFiatOnrampPurchaseAttemptResponse) GetResult ¶ added in v1.12.2
func (x *DeclareFiatOnrampPurchaseAttemptResponse) GetResult() DeclareFiatOnrampPurchaseAttemptResponse_Result
func (*DeclareFiatOnrampPurchaseAttemptResponse) ProtoMessage ¶ added in v1.12.2
func (*DeclareFiatOnrampPurchaseAttemptResponse) ProtoMessage()
func (*DeclareFiatOnrampPurchaseAttemptResponse) ProtoReflect ¶ added in v1.12.2
func (x *DeclareFiatOnrampPurchaseAttemptResponse) ProtoReflect() protoreflect.Message
func (*DeclareFiatOnrampPurchaseAttemptResponse) Reset ¶ added in v1.12.2
func (x *DeclareFiatOnrampPurchaseAttemptResponse) Reset()
func (*DeclareFiatOnrampPurchaseAttemptResponse) String ¶ added in v1.12.2
func (x *DeclareFiatOnrampPurchaseAttemptResponse) String() string
func (*DeclareFiatOnrampPurchaseAttemptResponse) Validate ¶ added in v1.12.2
func (m *DeclareFiatOnrampPurchaseAttemptResponse) Validate() error
Validate checks the field values on DeclareFiatOnrampPurchaseAttemptResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeclareFiatOnrampPurchaseAttemptResponseValidationError ¶ added in v1.12.2
type DeclareFiatOnrampPurchaseAttemptResponseValidationError struct {
// contains filtered or unexported fields
}
DeclareFiatOnrampPurchaseAttemptResponseValidationError is the validation error returned by DeclareFiatOnrampPurchaseAttemptResponse.Validate if the designated constraints aren't met.
func (DeclareFiatOnrampPurchaseAttemptResponseValidationError) Cause ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) Cause() error
Cause function returns cause value.
func (DeclareFiatOnrampPurchaseAttemptResponseValidationError) Error ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeclareFiatOnrampPurchaseAttemptResponseValidationError) ErrorName ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeclareFiatOnrampPurchaseAttemptResponseValidationError) Field ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) Field() string
Field function returns field value.
func (DeclareFiatOnrampPurchaseAttemptResponseValidationError) Key ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) Key() bool
Key function returns key value.
func (DeclareFiatOnrampPurchaseAttemptResponseValidationError) Reason ¶ added in v1.12.2
func (e DeclareFiatOnrampPurchaseAttemptResponseValidationError) Reason() string
Reason function returns reason value.
type DeclareFiatOnrampPurchaseAttemptResponse_Result ¶ added in v1.12.2
type DeclareFiatOnrampPurchaseAttemptResponse_Result int32
const ( DeclareFiatOnrampPurchaseAttemptResponse_OK DeclareFiatOnrampPurchaseAttemptResponse_Result = 0 // The owner account is not valid (ie. it isn't a Code account) DeclareFiatOnrampPurchaseAttemptResponse_INVALID_OWNER DeclareFiatOnrampPurchaseAttemptResponse_Result = 1 // The currency isn't supported DeclareFiatOnrampPurchaseAttemptResponse_UNSUPPORTED_CURRENCY DeclareFiatOnrampPurchaseAttemptResponse_Result = 2 // The amount specified exceeds limits DeclareFiatOnrampPurchaseAttemptResponse_AMOUNT_EXCEEDS_MAXIMUM DeclareFiatOnrampPurchaseAttemptResponse_Result = 3 )
func (DeclareFiatOnrampPurchaseAttemptResponse_Result) Descriptor ¶ added in v1.12.2
func (DeclareFiatOnrampPurchaseAttemptResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (DeclareFiatOnrampPurchaseAttemptResponse_Result) EnumDescriptor
deprecated
added in
v1.12.2
func (DeclareFiatOnrampPurchaseAttemptResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeclareFiatOnrampPurchaseAttemptResponse_Result.Descriptor instead.
func (DeclareFiatOnrampPurchaseAttemptResponse_Result) Number ¶ added in v1.12.2
func (x DeclareFiatOnrampPurchaseAttemptResponse_Result) Number() protoreflect.EnumNumber
func (DeclareFiatOnrampPurchaseAttemptResponse_Result) String ¶ added in v1.12.2
func (x DeclareFiatOnrampPurchaseAttemptResponse_Result) String() string
type DeniedErrorDetails ¶ added in v1.16.4
type DeniedErrorDetails struct { Code DeniedErrorDetails_Code `protobuf:"varint,1,opt,name=code,proto3,enum=code.transaction.v2.DeniedErrorDetails_Code" json:"code,omitempty"` // Human readable string indicating the failure. Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*DeniedErrorDetails) Descriptor
deprecated
added in
v1.16.4
func (*DeniedErrorDetails) Descriptor() ([]byte, []int)
Deprecated: Use DeniedErrorDetails.ProtoReflect.Descriptor instead.
func (*DeniedErrorDetails) GetCode ¶ added in v1.16.4
func (x *DeniedErrorDetails) GetCode() DeniedErrorDetails_Code
func (*DeniedErrorDetails) GetReason ¶ added in v1.16.4
func (x *DeniedErrorDetails) GetReason() string
func (*DeniedErrorDetails) ProtoMessage ¶ added in v1.16.4
func (*DeniedErrorDetails) ProtoMessage()
func (*DeniedErrorDetails) ProtoReflect ¶ added in v1.16.4
func (x *DeniedErrorDetails) ProtoReflect() protoreflect.Message
func (*DeniedErrorDetails) Reset ¶ added in v1.16.4
func (x *DeniedErrorDetails) Reset()
func (*DeniedErrorDetails) String ¶ added in v1.16.4
func (x *DeniedErrorDetails) String() string
func (*DeniedErrorDetails) Validate ¶ added in v1.16.4
func (m *DeniedErrorDetails) Validate() error
Validate checks the field values on DeniedErrorDetails with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeniedErrorDetailsValidationError ¶ added in v1.16.4
type DeniedErrorDetailsValidationError struct {
// contains filtered or unexported fields
}
DeniedErrorDetailsValidationError is the validation error returned by DeniedErrorDetails.Validate if the designated constraints aren't met.
func (DeniedErrorDetailsValidationError) Cause ¶ added in v1.16.4
func (e DeniedErrorDetailsValidationError) Cause() error
Cause function returns cause value.
func (DeniedErrorDetailsValidationError) Error ¶ added in v1.16.4
func (e DeniedErrorDetailsValidationError) Error() string
Error satisfies the builtin error interface
func (DeniedErrorDetailsValidationError) ErrorName ¶ added in v1.16.4
func (e DeniedErrorDetailsValidationError) ErrorName() string
ErrorName returns error name.
func (DeniedErrorDetailsValidationError) Field ¶ added in v1.16.4
func (e DeniedErrorDetailsValidationError) Field() string
Field function returns field value.
func (DeniedErrorDetailsValidationError) Key ¶ added in v1.16.4
func (e DeniedErrorDetailsValidationError) Key() bool
Key function returns key value.
func (DeniedErrorDetailsValidationError) Reason ¶ added in v1.16.4
func (e DeniedErrorDetailsValidationError) Reason() string
Reason function returns reason value.
type DeniedErrorDetails_Code ¶ added in v1.16.4
type DeniedErrorDetails_Code int32
const ( // Reason code not yet defined DeniedErrorDetails_UNSPECIFIED DeniedErrorDetails_Code = 0 // Phone number has exceeded its free account allocation DeniedErrorDetails_TOO_MANY_FREE_ACCOUNTS_FOR_PHONE_NUMBER DeniedErrorDetails_Code = 1 // Device has exceeded its free account allocation DeniedErrorDetails_TOO_MANY_FREE_ACCOUNTS_FOR_DEVICE DeniedErrorDetails_Code = 2 // The country associated with the phone number with the account is not // supported (eg. it is on the sanctioned list). DeniedErrorDetails_UNSUPPORTED_COUNTRY DeniedErrorDetails_Code = 3 // The device is not supported (eg. it fails device attestation checks) DeniedErrorDetails_UNSUPPORTED_DEVICE DeniedErrorDetails_Code = 4 )
func (DeniedErrorDetails_Code) Descriptor ¶ added in v1.16.4
func (DeniedErrorDetails_Code) Descriptor() protoreflect.EnumDescriptor
func (DeniedErrorDetails_Code) Enum ¶ added in v1.16.4
func (x DeniedErrorDetails_Code) Enum() *DeniedErrorDetails_Code
func (DeniedErrorDetails_Code) EnumDescriptor
deprecated
added in
v1.16.4
func (DeniedErrorDetails_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeniedErrorDetails_Code.Descriptor instead.
func (DeniedErrorDetails_Code) Number ¶ added in v1.16.4
func (x DeniedErrorDetails_Code) Number() protoreflect.EnumNumber
func (DeniedErrorDetails_Code) String ¶ added in v1.16.4
func (x DeniedErrorDetails_Code) String() string
func (DeniedErrorDetails_Code) Type ¶ added in v1.16.4
func (DeniedErrorDetails_Code) Type() protoreflect.EnumType
type DepositLimit ¶
type DepositLimit struct { // Maximum quarks that may be deposited at any time. Server will guarantee // this threshold will be below enforced dollar value limits, while also // ensuring sufficient funds are available for a full organizer that supports // max payment sends. Total dollar value limits may be spread across many deposits. MaxQuarks uint64 `protobuf:"varint,1,opt,name=max_quarks,json=maxQuarks,proto3" json:"max_quarks,omitempty"` // contains filtered or unexported fields }
func (*DepositLimit) Descriptor
deprecated
func (*DepositLimit) Descriptor() ([]byte, []int)
Deprecated: Use DepositLimit.ProtoReflect.Descriptor instead.
func (*DepositLimit) GetMaxQuarks ¶
func (x *DepositLimit) GetMaxQuarks() uint64
func (*DepositLimit) ProtoMessage ¶
func (*DepositLimit) ProtoMessage()
func (*DepositLimit) ProtoReflect ¶
func (x *DepositLimit) ProtoReflect() protoreflect.Message
func (*DepositLimit) Reset ¶
func (x *DepositLimit) Reset()
func (*DepositLimit) String ¶
func (x *DepositLimit) String() string
func (*DepositLimit) Validate ¶
func (m *DepositLimit) Validate() error
Validate checks the field values on DepositLimit with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DepositLimitValidationError ¶
type DepositLimitValidationError struct {
// contains filtered or unexported fields
}
DepositLimitValidationError is the validation error returned by DepositLimit.Validate if the designated constraints aren't met.
func (DepositLimitValidationError) Cause ¶
func (e DepositLimitValidationError) Cause() error
Cause function returns cause value.
func (DepositLimitValidationError) Error ¶
func (e DepositLimitValidationError) Error() string
Error satisfies the builtin error interface
func (DepositLimitValidationError) ErrorName ¶
func (e DepositLimitValidationError) ErrorName() string
ErrorName returns error name.
func (DepositLimitValidationError) Field ¶
func (e DepositLimitValidationError) Field() string
Field function returns field value.
func (DepositLimitValidationError) Key ¶
func (e DepositLimitValidationError) Key() bool
Key function returns key value.
func (DepositLimitValidationError) Reason ¶
func (e DepositLimitValidationError) Reason() string
Reason function returns reason value.
type ErrorDetails ¶
type ErrorDetails struct { // Types that are assignable to Type: // // *ErrorDetails_ReasonString // *ErrorDetails_InvalidSignature // *ErrorDetails_Denied Type isErrorDetails_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*ErrorDetails) Descriptor
deprecated
func (*ErrorDetails) Descriptor() ([]byte, []int)
Deprecated: Use ErrorDetails.ProtoReflect.Descriptor instead.
func (*ErrorDetails) GetDenied ¶ added in v1.16.4
func (x *ErrorDetails) GetDenied() *DeniedErrorDetails
func (*ErrorDetails) GetInvalidSignature ¶
func (x *ErrorDetails) GetInvalidSignature() *InvalidSignatureErrorDetails
func (*ErrorDetails) GetReasonString ¶
func (x *ErrorDetails) GetReasonString() *ReasonStringErrorDetails
func (*ErrorDetails) GetType ¶
func (m *ErrorDetails) GetType() isErrorDetails_Type
func (*ErrorDetails) ProtoMessage ¶
func (*ErrorDetails) ProtoMessage()
func (*ErrorDetails) ProtoReflect ¶
func (x *ErrorDetails) ProtoReflect() protoreflect.Message
func (*ErrorDetails) Reset ¶
func (x *ErrorDetails) Reset()
func (*ErrorDetails) String ¶
func (x *ErrorDetails) String() string
func (*ErrorDetails) Validate ¶
func (m *ErrorDetails) Validate() error
Validate checks the field values on ErrorDetails with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ErrorDetailsValidationError ¶
type ErrorDetailsValidationError struct {
// contains filtered or unexported fields
}
ErrorDetailsValidationError is the validation error returned by ErrorDetails.Validate if the designated constraints aren't met.
func (ErrorDetailsValidationError) Cause ¶
func (e ErrorDetailsValidationError) Cause() error
Cause function returns cause value.
func (ErrorDetailsValidationError) Error ¶
func (e ErrorDetailsValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorDetailsValidationError) ErrorName ¶
func (e ErrorDetailsValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorDetailsValidationError) Field ¶
func (e ErrorDetailsValidationError) Field() string
Field function returns field value.
func (ErrorDetailsValidationError) Key ¶
func (e ErrorDetailsValidationError) Key() bool
Key function returns key value.
func (ErrorDetailsValidationError) Reason ¶
func (e ErrorDetailsValidationError) Reason() string
Reason function returns reason value.
type ErrorDetails_Denied ¶ added in v1.16.4
type ErrorDetails_Denied struct {
Denied *DeniedErrorDetails `protobuf:"bytes,3,opt,name=denied,proto3,oneof"`
}
type ErrorDetails_InvalidSignature ¶
type ErrorDetails_InvalidSignature struct {
InvalidSignature *InvalidSignatureErrorDetails `protobuf:"bytes,2,opt,name=invalid_signature,json=invalidSignature,proto3,oneof"`
}
type ErrorDetails_ReasonString ¶
type ErrorDetails_ReasonString struct {
ReasonString *ReasonStringErrorDetails `protobuf:"bytes,1,opt,name=reason_string,json=reasonString,proto3,oneof"`
}
type EstablishRelationshipMetadata ¶
type EstablishRelationshipMetadata struct { Relationship *v1.Relationship `protobuf:"bytes,1,opt,name=relationship,proto3" json:"relationship,omitempty"` // contains filtered or unexported fields }
Establishes a long-lived private relationship between a user and another entity.
Prereqs:
- OpenAccounts intent has been submitted
Action spec:
actions = [OpenAccountAction(RELATIONSHIP)]
func (*EstablishRelationshipMetadata) Descriptor
deprecated
func (*EstablishRelationshipMetadata) Descriptor() ([]byte, []int)
Deprecated: Use EstablishRelationshipMetadata.ProtoReflect.Descriptor instead.
func (*EstablishRelationshipMetadata) GetRelationship ¶
func (x *EstablishRelationshipMetadata) GetRelationship() *v1.Relationship
func (*EstablishRelationshipMetadata) ProtoMessage ¶
func (*EstablishRelationshipMetadata) ProtoMessage()
func (*EstablishRelationshipMetadata) ProtoReflect ¶
func (x *EstablishRelationshipMetadata) ProtoReflect() protoreflect.Message
func (*EstablishRelationshipMetadata) Reset ¶
func (x *EstablishRelationshipMetadata) Reset()
func (*EstablishRelationshipMetadata) String ¶
func (x *EstablishRelationshipMetadata) String() string
func (*EstablishRelationshipMetadata) Validate ¶
func (m *EstablishRelationshipMetadata) Validate() error
Validate checks the field values on EstablishRelationshipMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type EstablishRelationshipMetadataValidationError ¶
type EstablishRelationshipMetadataValidationError struct {
// contains filtered or unexported fields
}
EstablishRelationshipMetadataValidationError is the validation error returned by EstablishRelationshipMetadata.Validate if the designated constraints aren't met.
func (EstablishRelationshipMetadataValidationError) Cause ¶
func (e EstablishRelationshipMetadataValidationError) Cause() error
Cause function returns cause value.
func (EstablishRelationshipMetadataValidationError) Error ¶
func (e EstablishRelationshipMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (EstablishRelationshipMetadataValidationError) ErrorName ¶
func (e EstablishRelationshipMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (EstablishRelationshipMetadataValidationError) Field ¶
func (e EstablishRelationshipMetadataValidationError) Field() string
Field function returns field value.
func (EstablishRelationshipMetadataValidationError) Key ¶
func (e EstablishRelationshipMetadataValidationError) Key() bool
Key function returns key value.
func (EstablishRelationshipMetadataValidationError) Reason ¶
func (e EstablishRelationshipMetadataValidationError) Reason() string
Reason function returns reason value.
type ExchangeData ¶
type ExchangeData struct { // ISO 4217 alpha-3 currency code. Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` // The agreed upon exchange rate. This might not be the same as the // actual exchange rate at the time of intent or fund transfer. ExchangeRate float64 `protobuf:"fixed64,2,opt,name=exchange_rate,json=exchangeRate,proto3" json:"exchange_rate,omitempty"` // The agreed upon transfer amount in the currency the payment was made // in. NativeAmount float64 `protobuf:"fixed64,3,opt,name=native_amount,json=nativeAmount,proto3" json:"native_amount,omitempty"` // The exact amount of quarks to send. This will be used as the source of // truth for validating transaction transfer amounts. Quarks uint64 `protobuf:"varint,4,opt,name=quarks,proto3" json:"quarks,omitempty"` // contains filtered or unexported fields }
ExchangeData defines an amount of Kin with currency exchange data
func (*ExchangeData) Descriptor
deprecated
func (*ExchangeData) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeData.ProtoReflect.Descriptor instead.
func (*ExchangeData) GetCurrency ¶
func (x *ExchangeData) GetCurrency() string
func (*ExchangeData) GetExchangeRate ¶
func (x *ExchangeData) GetExchangeRate() float64
func (*ExchangeData) GetNativeAmount ¶
func (x *ExchangeData) GetNativeAmount() float64
func (*ExchangeData) GetQuarks ¶
func (x *ExchangeData) GetQuarks() uint64
func (*ExchangeData) ProtoMessage ¶
func (*ExchangeData) ProtoMessage()
func (*ExchangeData) ProtoReflect ¶
func (x *ExchangeData) ProtoReflect() protoreflect.Message
func (*ExchangeData) Reset ¶
func (x *ExchangeData) Reset()
func (*ExchangeData) String ¶
func (x *ExchangeData) String() string
func (*ExchangeData) Validate ¶
func (m *ExchangeData) Validate() error
Validate checks the field values on ExchangeData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ExchangeDataValidationError ¶
type ExchangeDataValidationError struct {
// contains filtered or unexported fields
}
ExchangeDataValidationError is the validation error returned by ExchangeData.Validate if the designated constraints aren't met.
func (ExchangeDataValidationError) Cause ¶
func (e ExchangeDataValidationError) Cause() error
Cause function returns cause value.
func (ExchangeDataValidationError) Error ¶
func (e ExchangeDataValidationError) Error() string
Error satisfies the builtin error interface
func (ExchangeDataValidationError) ErrorName ¶
func (e ExchangeDataValidationError) ErrorName() string
ErrorName returns error name.
func (ExchangeDataValidationError) Field ¶
func (e ExchangeDataValidationError) Field() string
Field function returns field value.
func (ExchangeDataValidationError) Key ¶
func (e ExchangeDataValidationError) Key() bool
Key function returns key value.
func (ExchangeDataValidationError) Reason ¶
func (e ExchangeDataValidationError) Reason() string
Reason function returns reason value.
type ExchangeDataWithoutRate ¶
type ExchangeDataWithoutRate struct { // ISO 4217 alpha-3 currency code. Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` // The agreed upon transfer amount in the currency the payment was made // in. NativeAmount float64 `protobuf:"fixed64,2,opt,name=native_amount,json=nativeAmount,proto3" json:"native_amount,omitempty"` // contains filtered or unexported fields }
func (*ExchangeDataWithoutRate) Descriptor
deprecated
func (*ExchangeDataWithoutRate) Descriptor() ([]byte, []int)
Deprecated: Use ExchangeDataWithoutRate.ProtoReflect.Descriptor instead.
func (*ExchangeDataWithoutRate) GetCurrency ¶
func (x *ExchangeDataWithoutRate) GetCurrency() string
func (*ExchangeDataWithoutRate) GetNativeAmount ¶
func (x *ExchangeDataWithoutRate) GetNativeAmount() float64
func (*ExchangeDataWithoutRate) ProtoMessage ¶
func (*ExchangeDataWithoutRate) ProtoMessage()
func (*ExchangeDataWithoutRate) ProtoReflect ¶
func (x *ExchangeDataWithoutRate) ProtoReflect() protoreflect.Message
func (*ExchangeDataWithoutRate) Reset ¶
func (x *ExchangeDataWithoutRate) Reset()
func (*ExchangeDataWithoutRate) String ¶
func (x *ExchangeDataWithoutRate) String() string
func (*ExchangeDataWithoutRate) Validate ¶
func (m *ExchangeDataWithoutRate) Validate() error
Validate checks the field values on ExchangeDataWithoutRate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ExchangeDataWithoutRateValidationError ¶
type ExchangeDataWithoutRateValidationError struct {
// contains filtered or unexported fields
}
ExchangeDataWithoutRateValidationError is the validation error returned by ExchangeDataWithoutRate.Validate if the designated constraints aren't met.
func (ExchangeDataWithoutRateValidationError) Cause ¶
func (e ExchangeDataWithoutRateValidationError) Cause() error
Cause function returns cause value.
func (ExchangeDataWithoutRateValidationError) Error ¶
func (e ExchangeDataWithoutRateValidationError) Error() string
Error satisfies the builtin error interface
func (ExchangeDataWithoutRateValidationError) ErrorName ¶
func (e ExchangeDataWithoutRateValidationError) ErrorName() string
ErrorName returns error name.
func (ExchangeDataWithoutRateValidationError) Field ¶
func (e ExchangeDataWithoutRateValidationError) Field() string
Field function returns field value.
func (ExchangeDataWithoutRateValidationError) Key ¶
func (e ExchangeDataWithoutRateValidationError) Key() bool
Key function returns key value.
func (ExchangeDataWithoutRateValidationError) Reason ¶
func (e ExchangeDataWithoutRateValidationError) Reason() string
Reason function returns reason value.
type FeePaymentAction ¶
type FeePaymentAction struct { // The type of fee being operated on Type FeePaymentAction_FeeType `protobuf:"varint,4,opt,name=type,proto3,enum=code.transaction.v2.FeePaymentAction_FeeType" json:"type,omitempty"` // The public key of the private key that has authority over source Authority *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // The source account where funds are transferred from Source *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // The Kin quark amount to transfer Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // The destination where the fee payment is being made for fees outside of // Code. Destination *v1.SolanaAccountId `protobuf:"bytes,5,opt,name=destination,proto3" json:"destination,omitempty"` // contains filtered or unexported fields }
Transaction 1
Instructions: 1. system::AdvanceNonce 2. memo::Memo 3. timelock::TransferWithAuthority (source -> fee account) Client Signature Required: Yes
Note: This is exactly a NoPrivacyTransferAction, but with specialized metadata
for fees.
func (*FeePaymentAction) Descriptor
deprecated
func (*FeePaymentAction) Descriptor() ([]byte, []int)
Deprecated: Use FeePaymentAction.ProtoReflect.Descriptor instead.
func (*FeePaymentAction) GetAmount ¶
func (x *FeePaymentAction) GetAmount() uint64
func (*FeePaymentAction) GetAuthority ¶
func (x *FeePaymentAction) GetAuthority() *v1.SolanaAccountId
func (*FeePaymentAction) GetDestination ¶ added in v1.10.0
func (x *FeePaymentAction) GetDestination() *v1.SolanaAccountId
func (*FeePaymentAction) GetSource ¶
func (x *FeePaymentAction) GetSource() *v1.SolanaAccountId
func (*FeePaymentAction) GetType ¶ added in v1.10.0
func (x *FeePaymentAction) GetType() FeePaymentAction_FeeType
func (*FeePaymentAction) ProtoMessage ¶
func (*FeePaymentAction) ProtoMessage()
func (*FeePaymentAction) ProtoReflect ¶
func (x *FeePaymentAction) ProtoReflect() protoreflect.Message
func (*FeePaymentAction) Reset ¶
func (x *FeePaymentAction) Reset()
func (*FeePaymentAction) String ¶
func (x *FeePaymentAction) String() string
func (*FeePaymentAction) Validate ¶
func (m *FeePaymentAction) Validate() error
Validate checks the field values on FeePaymentAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FeePaymentActionValidationError ¶
type FeePaymentActionValidationError struct {
// contains filtered or unexported fields
}
FeePaymentActionValidationError is the validation error returned by FeePaymentAction.Validate if the designated constraints aren't met.
func (FeePaymentActionValidationError) Cause ¶
func (e FeePaymentActionValidationError) Cause() error
Cause function returns cause value.
func (FeePaymentActionValidationError) Error ¶
func (e FeePaymentActionValidationError) Error() string
Error satisfies the builtin error interface
func (FeePaymentActionValidationError) ErrorName ¶
func (e FeePaymentActionValidationError) ErrorName() string
ErrorName returns error name.
func (FeePaymentActionValidationError) Field ¶
func (e FeePaymentActionValidationError) Field() string
Field function returns field value.
func (FeePaymentActionValidationError) Key ¶
func (e FeePaymentActionValidationError) Key() bool
Key function returns key value.
func (FeePaymentActionValidationError) Reason ¶
func (e FeePaymentActionValidationError) Reason() string
Reason function returns reason value.
type FeePaymentAction_FeeType ¶ added in v1.10.0
type FeePaymentAction_FeeType int32
const ( FeePaymentAction_CODE FeePaymentAction_FeeType = 0 // Hardcoded $0.01 USD fee to a dynamic fee account specified by server FeePaymentAction_THIRD_PARTY FeePaymentAction_FeeType = 1 // Third party fee specified at time of payment request )
func (FeePaymentAction_FeeType) Descriptor ¶ added in v1.10.0
func (FeePaymentAction_FeeType) Descriptor() protoreflect.EnumDescriptor
func (FeePaymentAction_FeeType) Enum ¶ added in v1.10.0
func (x FeePaymentAction_FeeType) Enum() *FeePaymentAction_FeeType
func (FeePaymentAction_FeeType) EnumDescriptor
deprecated
added in
v1.10.0
func (FeePaymentAction_FeeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FeePaymentAction_FeeType.Descriptor instead.
func (FeePaymentAction_FeeType) Number ¶ added in v1.10.0
func (x FeePaymentAction_FeeType) Number() protoreflect.EnumNumber
func (FeePaymentAction_FeeType) String ¶ added in v1.10.0
func (x FeePaymentAction_FeeType) String() string
func (FeePaymentAction_FeeType) Type ¶ added in v1.10.0
func (FeePaymentAction_FeeType) Type() protoreflect.EnumType
type FeePaymentServerParameter ¶
type FeePaymentServerParameter struct { // The destination account where Code fee payments should be sent. This will // only be set when the corresponding FeePaymentAction Type is CODE. CodeDestination *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=code_destination,json=codeDestination,proto3" json:"code_destination,omitempty"` // contains filtered or unexported fields }
func (*FeePaymentServerParameter) Descriptor
deprecated
func (*FeePaymentServerParameter) Descriptor() ([]byte, []int)
Deprecated: Use FeePaymentServerParameter.ProtoReflect.Descriptor instead.
func (*FeePaymentServerParameter) GetCodeDestination ¶ added in v1.10.0
func (x *FeePaymentServerParameter) GetCodeDestination() *v1.SolanaAccountId
func (*FeePaymentServerParameter) ProtoMessage ¶
func (*FeePaymentServerParameter) ProtoMessage()
func (*FeePaymentServerParameter) ProtoReflect ¶
func (x *FeePaymentServerParameter) ProtoReflect() protoreflect.Message
func (*FeePaymentServerParameter) Reset ¶
func (x *FeePaymentServerParameter) Reset()
func (*FeePaymentServerParameter) String ¶
func (x *FeePaymentServerParameter) String() string
func (*FeePaymentServerParameter) Validate ¶
func (m *FeePaymentServerParameter) Validate() error
Validate checks the field values on FeePaymentServerParameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type FeePaymentServerParameterValidationError ¶
type FeePaymentServerParameterValidationError struct {
// contains filtered or unexported fields
}
FeePaymentServerParameterValidationError is the validation error returned by FeePaymentServerParameter.Validate if the designated constraints aren't met.
func (FeePaymentServerParameterValidationError) Cause ¶
func (e FeePaymentServerParameterValidationError) Cause() error
Cause function returns cause value.
func (FeePaymentServerParameterValidationError) Error ¶
func (e FeePaymentServerParameterValidationError) Error() string
Error satisfies the builtin error interface
func (FeePaymentServerParameterValidationError) ErrorName ¶
func (e FeePaymentServerParameterValidationError) ErrorName() string
ErrorName returns error name.
func (FeePaymentServerParameterValidationError) Field ¶
func (e FeePaymentServerParameterValidationError) Field() string
Field function returns field value.
func (FeePaymentServerParameterValidationError) Key ¶
func (e FeePaymentServerParameterValidationError) Key() bool
Key function returns key value.
func (FeePaymentServerParameterValidationError) Reason ¶
func (e FeePaymentServerParameterValidationError) Reason() string
Reason function returns reason value.
type GetIntentMetadataRequest ¶
type GetIntentMetadataRequest struct { // The intent ID to query IntentId *v1.IntentId `protobuf:"bytes,1,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"` // The verified owner account public key when not signing with the rendezvous // key. Only owner accounts involved in the intent can access the metadata. Owner *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // The signature is of serialize(GetIntentStatusRequest) without this field set // using the private key of the rendezvous or owner account. This provides an // authentication mechanism to the RPC. Signature *v1.Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*GetIntentMetadataRequest) Descriptor
deprecated
func (*GetIntentMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIntentMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetIntentMetadataRequest) GetIntentId ¶
func (x *GetIntentMetadataRequest) GetIntentId() *v1.IntentId
func (*GetIntentMetadataRequest) GetOwner ¶
func (x *GetIntentMetadataRequest) GetOwner() *v1.SolanaAccountId
func (*GetIntentMetadataRequest) GetSignature ¶
func (x *GetIntentMetadataRequest) GetSignature() *v1.Signature
func (*GetIntentMetadataRequest) ProtoMessage ¶
func (*GetIntentMetadataRequest) ProtoMessage()
func (*GetIntentMetadataRequest) ProtoReflect ¶
func (x *GetIntentMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetIntentMetadataRequest) Reset ¶
func (x *GetIntentMetadataRequest) Reset()
func (*GetIntentMetadataRequest) String ¶
func (x *GetIntentMetadataRequest) String() string
func (*GetIntentMetadataRequest) Validate ¶
func (m *GetIntentMetadataRequest) Validate() error
Validate checks the field values on GetIntentMetadataRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetIntentMetadataRequestValidationError ¶
type GetIntentMetadataRequestValidationError struct {
// contains filtered or unexported fields
}
GetIntentMetadataRequestValidationError is the validation error returned by GetIntentMetadataRequest.Validate if the designated constraints aren't met.
func (GetIntentMetadataRequestValidationError) Cause ¶
func (e GetIntentMetadataRequestValidationError) Cause() error
Cause function returns cause value.
func (GetIntentMetadataRequestValidationError) Error ¶
func (e GetIntentMetadataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetIntentMetadataRequestValidationError) ErrorName ¶
func (e GetIntentMetadataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetIntentMetadataRequestValidationError) Field ¶
func (e GetIntentMetadataRequestValidationError) Field() string
Field function returns field value.
func (GetIntentMetadataRequestValidationError) Key ¶
func (e GetIntentMetadataRequestValidationError) Key() bool
Key function returns key value.
func (GetIntentMetadataRequestValidationError) Reason ¶
func (e GetIntentMetadataRequestValidationError) Reason() string
Reason function returns reason value.
type GetIntentMetadataResponse ¶
type GetIntentMetadataResponse struct { Result GetIntentMetadataResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.transaction.v2.GetIntentMetadataResponse_Result" json:"result,omitempty"` Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*GetIntentMetadataResponse) Descriptor
deprecated
func (*GetIntentMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIntentMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetIntentMetadataResponse) GetMetadata ¶
func (x *GetIntentMetadataResponse) GetMetadata() *Metadata
func (*GetIntentMetadataResponse) GetResult ¶
func (x *GetIntentMetadataResponse) GetResult() GetIntentMetadataResponse_Result
func (*GetIntentMetadataResponse) ProtoMessage ¶
func (*GetIntentMetadataResponse) ProtoMessage()
func (*GetIntentMetadataResponse) ProtoReflect ¶
func (x *GetIntentMetadataResponse) ProtoReflect() protoreflect.Message
func (*GetIntentMetadataResponse) Reset ¶
func (x *GetIntentMetadataResponse) Reset()
func (*GetIntentMetadataResponse) String ¶
func (x *GetIntentMetadataResponse) String() string
func (*GetIntentMetadataResponse) Validate ¶
func (m *GetIntentMetadataResponse) Validate() error
Validate checks the field values on GetIntentMetadataResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetIntentMetadataResponseValidationError ¶
type GetIntentMetadataResponseValidationError struct {
// contains filtered or unexported fields
}
GetIntentMetadataResponseValidationError is the validation error returned by GetIntentMetadataResponse.Validate if the designated constraints aren't met.
func (GetIntentMetadataResponseValidationError) Cause ¶
func (e GetIntentMetadataResponseValidationError) Cause() error
Cause function returns cause value.
func (GetIntentMetadataResponseValidationError) Error ¶
func (e GetIntentMetadataResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetIntentMetadataResponseValidationError) ErrorName ¶
func (e GetIntentMetadataResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetIntentMetadataResponseValidationError) Field ¶
func (e GetIntentMetadataResponseValidationError) Field() string
Field function returns field value.
func (GetIntentMetadataResponseValidationError) Key ¶
func (e GetIntentMetadataResponseValidationError) Key() bool
Key function returns key value.
func (GetIntentMetadataResponseValidationError) Reason ¶
func (e GetIntentMetadataResponseValidationError) Reason() string
Reason function returns reason value.
type GetIntentMetadataResponse_Result ¶
type GetIntentMetadataResponse_Result int32
const ( GetIntentMetadataResponse_OK GetIntentMetadataResponse_Result = 0 GetIntentMetadataResponse_NOT_FOUND GetIntentMetadataResponse_Result = 1 )
func (GetIntentMetadataResponse_Result) Descriptor ¶
func (GetIntentMetadataResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetIntentMetadataResponse_Result) Enum ¶
func (x GetIntentMetadataResponse_Result) Enum() *GetIntentMetadataResponse_Result
func (GetIntentMetadataResponse_Result) EnumDescriptor
deprecated
func (GetIntentMetadataResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetIntentMetadataResponse_Result.Descriptor instead.
func (GetIntentMetadataResponse_Result) Number ¶
func (x GetIntentMetadataResponse_Result) Number() protoreflect.EnumNumber
func (GetIntentMetadataResponse_Result) String ¶
func (x GetIntentMetadataResponse_Result) String() string
func (GetIntentMetadataResponse_Result) Type ¶
func (GetIntentMetadataResponse_Result) Type() protoreflect.EnumType
type GetLimitsRequest ¶
type GetLimitsRequest struct { // The owner account whose limits will be calculated. Any other owner accounts // linked with the same identity of the owner will also be applied. Owner *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The signature is of serialize(GetLimitsRequest) without this field set // using the private key of the owner account. This provides an authentication // mechanism to the RPC. Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // All transactions starting at this time will be incorporated into the consumed // limit calculation. Clients should set this to the start of the current day in // the client's current time zone (because server has no knowledge of this atm). ConsumedSince *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=consumed_since,json=consumedSince,proto3" json:"consumed_since,omitempty"` // contains filtered or unexported fields }
func (*GetLimitsRequest) Descriptor
deprecated
func (*GetLimitsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLimitsRequest.ProtoReflect.Descriptor instead.
func (*GetLimitsRequest) GetConsumedSince ¶
func (x *GetLimitsRequest) GetConsumedSince() *timestamppb.Timestamp
func (*GetLimitsRequest) GetOwner ¶
func (x *GetLimitsRequest) GetOwner() *v1.SolanaAccountId
func (*GetLimitsRequest) GetSignature ¶
func (x *GetLimitsRequest) GetSignature() *v1.Signature
func (*GetLimitsRequest) ProtoMessage ¶
func (*GetLimitsRequest) ProtoMessage()
func (*GetLimitsRequest) ProtoReflect ¶
func (x *GetLimitsRequest) ProtoReflect() protoreflect.Message
func (*GetLimitsRequest) Reset ¶
func (x *GetLimitsRequest) Reset()
func (*GetLimitsRequest) String ¶
func (x *GetLimitsRequest) String() string
func (*GetLimitsRequest) Validate ¶
func (m *GetLimitsRequest) Validate() error
Validate checks the field values on GetLimitsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetLimitsRequestValidationError ¶
type GetLimitsRequestValidationError struct {
// contains filtered or unexported fields
}
GetLimitsRequestValidationError is the validation error returned by GetLimitsRequest.Validate if the designated constraints aren't met.
func (GetLimitsRequestValidationError) Cause ¶
func (e GetLimitsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetLimitsRequestValidationError) Error ¶
func (e GetLimitsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetLimitsRequestValidationError) ErrorName ¶
func (e GetLimitsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetLimitsRequestValidationError) Field ¶
func (e GetLimitsRequestValidationError) Field() string
Field function returns field value.
func (GetLimitsRequestValidationError) Key ¶
func (e GetLimitsRequestValidationError) Key() bool
Key function returns key value.
func (GetLimitsRequestValidationError) Reason ¶
func (e GetLimitsRequestValidationError) Reason() string
Reason function returns reason value.
type GetLimitsResponse ¶
type GetLimitsResponse struct { Result GetLimitsResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.transaction.v2.GetLimitsResponse_Result" json:"result,omitempty"` // Send limits keyed by currency SendLimitsByCurrency map[string]*SendLimit `` /* 213-byte string literal not displayed */ // Deposit limits DepositLimit *DepositLimit `protobuf:"bytes,3,opt,name=deposit_limit,json=depositLimit,proto3" json:"deposit_limit,omitempty"` // Micro payment limits keyed by currency MicroPaymentLimitsByCurrency map[string]*MicroPaymentLimit `` /* 239-byte string literal not displayed */ // Buy module limits keyed by currency BuyModuleLimitsByCurrency map[string]*BuyModuleLimit `` /* 230-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetLimitsResponse) Descriptor
deprecated
func (*GetLimitsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLimitsResponse.ProtoReflect.Descriptor instead.
func (*GetLimitsResponse) GetBuyModuleLimitsByCurrency ¶ added in v1.11.0
func (x *GetLimitsResponse) GetBuyModuleLimitsByCurrency() map[string]*BuyModuleLimit
func (*GetLimitsResponse) GetDepositLimit ¶
func (x *GetLimitsResponse) GetDepositLimit() *DepositLimit
func (*GetLimitsResponse) GetMicroPaymentLimitsByCurrency ¶
func (x *GetLimitsResponse) GetMicroPaymentLimitsByCurrency() map[string]*MicroPaymentLimit
func (*GetLimitsResponse) GetResult ¶
func (x *GetLimitsResponse) GetResult() GetLimitsResponse_Result
func (*GetLimitsResponse) GetSendLimitsByCurrency ¶ added in v1.11.0
func (x *GetLimitsResponse) GetSendLimitsByCurrency() map[string]*SendLimit
func (*GetLimitsResponse) ProtoMessage ¶
func (*GetLimitsResponse) ProtoMessage()
func (*GetLimitsResponse) ProtoReflect ¶
func (x *GetLimitsResponse) ProtoReflect() protoreflect.Message
func (*GetLimitsResponse) Reset ¶
func (x *GetLimitsResponse) Reset()
func (*GetLimitsResponse) String ¶
func (x *GetLimitsResponse) String() string
func (*GetLimitsResponse) Validate ¶
func (m *GetLimitsResponse) Validate() error
Validate checks the field values on GetLimitsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetLimitsResponseValidationError ¶
type GetLimitsResponseValidationError struct {
// contains filtered or unexported fields
}
GetLimitsResponseValidationError is the validation error returned by GetLimitsResponse.Validate if the designated constraints aren't met.
func (GetLimitsResponseValidationError) Cause ¶
func (e GetLimitsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetLimitsResponseValidationError) Error ¶
func (e GetLimitsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetLimitsResponseValidationError) ErrorName ¶
func (e GetLimitsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetLimitsResponseValidationError) Field ¶
func (e GetLimitsResponseValidationError) Field() string
Field function returns field value.
func (GetLimitsResponseValidationError) Key ¶
func (e GetLimitsResponseValidationError) Key() bool
Key function returns key value.
func (GetLimitsResponseValidationError) Reason ¶
func (e GetLimitsResponseValidationError) Reason() string
Reason function returns reason value.
type GetLimitsResponse_Result ¶
type GetLimitsResponse_Result int32
const (
GetLimitsResponse_OK GetLimitsResponse_Result = 0
)
func (GetLimitsResponse_Result) Descriptor ¶
func (GetLimitsResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetLimitsResponse_Result) Enum ¶
func (x GetLimitsResponse_Result) Enum() *GetLimitsResponse_Result
func (GetLimitsResponse_Result) EnumDescriptor
deprecated
func (GetLimitsResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetLimitsResponse_Result.Descriptor instead.
func (GetLimitsResponse_Result) Number ¶
func (x GetLimitsResponse_Result) Number() protoreflect.EnumNumber
func (GetLimitsResponse_Result) String ¶
func (x GetLimitsResponse_Result) String() string
func (GetLimitsResponse_Result) Type ¶
func (GetLimitsResponse_Result) Type() protoreflect.EnumType
type GetPaymentHistoryRequest ¶
type GetPaymentHistoryRequest struct { // The owner account to get payment history for Owner *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // An optional history cursor indicating where in the history to resume from. Cursor *Cursor `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // The number of results to return per request. Default is 100. PageSize uint32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The order in which to return history items from the cursor. Direction GetPaymentHistoryRequest_Direction `` /* 132-byte string literal not displayed */ // The signature is of serialize(GetPaymentHistoryRequest) without this field set // using the private key of the owner account. This provides an authentication // mechanism to the RPC. Signature *v1.Signature `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*GetPaymentHistoryRequest) Descriptor
deprecated
func (*GetPaymentHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPaymentHistoryRequest.ProtoReflect.Descriptor instead.
func (*GetPaymentHistoryRequest) GetCursor ¶
func (x *GetPaymentHistoryRequest) GetCursor() *Cursor
func (*GetPaymentHistoryRequest) GetDirection ¶
func (x *GetPaymentHistoryRequest) GetDirection() GetPaymentHistoryRequest_Direction
func (*GetPaymentHistoryRequest) GetOwner ¶
func (x *GetPaymentHistoryRequest) GetOwner() *v1.SolanaAccountId
func (*GetPaymentHistoryRequest) GetPageSize ¶
func (x *GetPaymentHistoryRequest) GetPageSize() uint32
func (*GetPaymentHistoryRequest) GetSignature ¶
func (x *GetPaymentHistoryRequest) GetSignature() *v1.Signature
func (*GetPaymentHistoryRequest) ProtoMessage ¶
func (*GetPaymentHistoryRequest) ProtoMessage()
func (*GetPaymentHistoryRequest) ProtoReflect ¶
func (x *GetPaymentHistoryRequest) ProtoReflect() protoreflect.Message
func (*GetPaymentHistoryRequest) Reset ¶
func (x *GetPaymentHistoryRequest) Reset()
func (*GetPaymentHistoryRequest) String ¶
func (x *GetPaymentHistoryRequest) String() string
func (*GetPaymentHistoryRequest) Validate ¶
func (m *GetPaymentHistoryRequest) Validate() error
Validate checks the field values on GetPaymentHistoryRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetPaymentHistoryRequestValidationError ¶
type GetPaymentHistoryRequestValidationError struct {
// contains filtered or unexported fields
}
GetPaymentHistoryRequestValidationError is the validation error returned by GetPaymentHistoryRequest.Validate if the designated constraints aren't met.
func (GetPaymentHistoryRequestValidationError) Cause ¶
func (e GetPaymentHistoryRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPaymentHistoryRequestValidationError) Error ¶
func (e GetPaymentHistoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPaymentHistoryRequestValidationError) ErrorName ¶
func (e GetPaymentHistoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPaymentHistoryRequestValidationError) Field ¶
func (e GetPaymentHistoryRequestValidationError) Field() string
Field function returns field value.
func (GetPaymentHistoryRequestValidationError) Key ¶
func (e GetPaymentHistoryRequestValidationError) Key() bool
Key function returns key value.
func (GetPaymentHistoryRequestValidationError) Reason ¶
func (e GetPaymentHistoryRequestValidationError) Reason() string
Reason function returns reason value.
type GetPaymentHistoryRequest_Direction ¶
type GetPaymentHistoryRequest_Direction int32
const ( // ASC direction returns all history items in ascending order. GetPaymentHistoryRequest_ASC GetPaymentHistoryRequest_Direction = 0 // DESC direction returns all history items in descending order. GetPaymentHistoryRequest_DESC GetPaymentHistoryRequest_Direction = 1 )
func (GetPaymentHistoryRequest_Direction) Descriptor ¶
func (GetPaymentHistoryRequest_Direction) Descriptor() protoreflect.EnumDescriptor
func (GetPaymentHistoryRequest_Direction) Enum ¶
func (x GetPaymentHistoryRequest_Direction) Enum() *GetPaymentHistoryRequest_Direction
func (GetPaymentHistoryRequest_Direction) EnumDescriptor
deprecated
func (GetPaymentHistoryRequest_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetPaymentHistoryRequest_Direction.Descriptor instead.
func (GetPaymentHistoryRequest_Direction) Number ¶
func (x GetPaymentHistoryRequest_Direction) Number() protoreflect.EnumNumber
func (GetPaymentHistoryRequest_Direction) String ¶
func (x GetPaymentHistoryRequest_Direction) String() string
func (GetPaymentHistoryRequest_Direction) Type ¶
func (GetPaymentHistoryRequest_Direction) Type() protoreflect.EnumType
type GetPaymentHistoryResponse ¶
type GetPaymentHistoryResponse struct { Result GetPaymentHistoryResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.transaction.v2.GetPaymentHistoryResponse_Result" json:"result,omitempty"` Items []*PaymentHistoryItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*GetPaymentHistoryResponse) Descriptor
deprecated
func (*GetPaymentHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPaymentHistoryResponse.ProtoReflect.Descriptor instead.
func (*GetPaymentHistoryResponse) GetItems ¶
func (x *GetPaymentHistoryResponse) GetItems() []*PaymentHistoryItem
func (*GetPaymentHistoryResponse) GetResult ¶
func (x *GetPaymentHistoryResponse) GetResult() GetPaymentHistoryResponse_Result
func (*GetPaymentHistoryResponse) ProtoMessage ¶
func (*GetPaymentHistoryResponse) ProtoMessage()
func (*GetPaymentHistoryResponse) ProtoReflect ¶
func (x *GetPaymentHistoryResponse) ProtoReflect() protoreflect.Message
func (*GetPaymentHistoryResponse) Reset ¶
func (x *GetPaymentHistoryResponse) Reset()
func (*GetPaymentHistoryResponse) String ¶
func (x *GetPaymentHistoryResponse) String() string
func (*GetPaymentHistoryResponse) Validate ¶
func (m *GetPaymentHistoryResponse) Validate() error
Validate checks the field values on GetPaymentHistoryResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetPaymentHistoryResponseValidationError ¶
type GetPaymentHistoryResponseValidationError struct {
// contains filtered or unexported fields
}
GetPaymentHistoryResponseValidationError is the validation error returned by GetPaymentHistoryResponse.Validate if the designated constraints aren't met.
func (GetPaymentHistoryResponseValidationError) Cause ¶
func (e GetPaymentHistoryResponseValidationError) Cause() error
Cause function returns cause value.
func (GetPaymentHistoryResponseValidationError) Error ¶
func (e GetPaymentHistoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetPaymentHistoryResponseValidationError) ErrorName ¶
func (e GetPaymentHistoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetPaymentHistoryResponseValidationError) Field ¶
func (e GetPaymentHistoryResponseValidationError) Field() string
Field function returns field value.
func (GetPaymentHistoryResponseValidationError) Key ¶
func (e GetPaymentHistoryResponseValidationError) Key() bool
Key function returns key value.
func (GetPaymentHistoryResponseValidationError) Reason ¶
func (e GetPaymentHistoryResponseValidationError) Reason() string
Reason function returns reason value.
type GetPaymentHistoryResponse_Result ¶
type GetPaymentHistoryResponse_Result int32
const ( GetPaymentHistoryResponse_OK GetPaymentHistoryResponse_Result = 0 GetPaymentHistoryResponse_NOT_FOUND GetPaymentHistoryResponse_Result = 1 )
func (GetPaymentHistoryResponse_Result) Descriptor ¶
func (GetPaymentHistoryResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetPaymentHistoryResponse_Result) Enum ¶
func (x GetPaymentHistoryResponse_Result) Enum() *GetPaymentHistoryResponse_Result
func (GetPaymentHistoryResponse_Result) EnumDescriptor
deprecated
func (GetPaymentHistoryResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetPaymentHistoryResponse_Result.Descriptor instead.
func (GetPaymentHistoryResponse_Result) Number ¶
func (x GetPaymentHistoryResponse_Result) Number() protoreflect.EnumNumber
func (GetPaymentHistoryResponse_Result) String ¶
func (x GetPaymentHistoryResponse_Result) String() string
func (GetPaymentHistoryResponse_Result) Type ¶
func (GetPaymentHistoryResponse_Result) Type() protoreflect.EnumType
type GetPrioritizedIntentsForPrivacyUpgradeRequest ¶
type GetPrioritizedIntentsForPrivacyUpgradeRequest struct { // The owner account to query against for upgradeable intents. Owner *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The maximum number of intents to return in the response. Default is 10. Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // The signature is of serialize(GetPrioritizedIntentsForPrivacyUpgradeRequest) // without this field set using the private key of the owner account. This // provides an authentication mechanism to the RPC. Signature *v1.Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) Descriptor
deprecated
func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPrioritizedIntentsForPrivacyUpgradeRequest.ProtoReflect.Descriptor instead.
func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) GetLimit ¶
func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) GetLimit() uint32
func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) GetOwner ¶
func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) GetOwner() *v1.SolanaAccountId
func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) GetSignature ¶
func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) GetSignature() *v1.Signature
func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) ProtoMessage ¶
func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) ProtoMessage()
func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) ProtoReflect ¶
func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) ProtoReflect() protoreflect.Message
func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) Reset ¶
func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) Reset()
func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) String ¶
func (x *GetPrioritizedIntentsForPrivacyUpgradeRequest) String() string
func (*GetPrioritizedIntentsForPrivacyUpgradeRequest) Validate ¶
func (m *GetPrioritizedIntentsForPrivacyUpgradeRequest) Validate() error
Validate checks the field values on GetPrioritizedIntentsForPrivacyUpgradeRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError ¶
type GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError struct {
// contains filtered or unexported fields
}
GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError is the validation error returned by GetPrioritizedIntentsForPrivacyUpgradeRequest.Validate if the designated constraints aren't met.
func (GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Cause ¶
func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Error ¶
func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) ErrorName ¶
func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Field ¶
func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Field() string
Field function returns field value.
func (GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Key ¶
func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Key() bool
Key function returns key value.
func (GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Reason ¶
func (e GetPrioritizedIntentsForPrivacyUpgradeRequestValidationError) Reason() string
Reason function returns reason value.
type GetPrioritizedIntentsForPrivacyUpgradeResponse ¶
type GetPrioritizedIntentsForPrivacyUpgradeResponse struct { Result GetPrioritizedIntentsForPrivacyUpgradeResponse_Result `` /* 145-byte string literal not displayed */ // Ordered from highest to lowest priority Items []*UpgradeableIntent `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*GetPrioritizedIntentsForPrivacyUpgradeResponse) Descriptor
deprecated
func (*GetPrioritizedIntentsForPrivacyUpgradeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPrioritizedIntentsForPrivacyUpgradeResponse.ProtoReflect.Descriptor instead.
func (*GetPrioritizedIntentsForPrivacyUpgradeResponse) GetItems ¶
func (x *GetPrioritizedIntentsForPrivacyUpgradeResponse) GetItems() []*UpgradeableIntent
func (*GetPrioritizedIntentsForPrivacyUpgradeResponse) ProtoMessage ¶
func (*GetPrioritizedIntentsForPrivacyUpgradeResponse) ProtoMessage()
func (*GetPrioritizedIntentsForPrivacyUpgradeResponse) ProtoReflect ¶
func (x *GetPrioritizedIntentsForPrivacyUpgradeResponse) ProtoReflect() protoreflect.Message
func (*GetPrioritizedIntentsForPrivacyUpgradeResponse) Reset ¶
func (x *GetPrioritizedIntentsForPrivacyUpgradeResponse) Reset()
func (*GetPrioritizedIntentsForPrivacyUpgradeResponse) String ¶
func (x *GetPrioritizedIntentsForPrivacyUpgradeResponse) String() string
func (*GetPrioritizedIntentsForPrivacyUpgradeResponse) Validate ¶
func (m *GetPrioritizedIntentsForPrivacyUpgradeResponse) Validate() error
Validate checks the field values on GetPrioritizedIntentsForPrivacyUpgradeResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError ¶
type GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError struct {
// contains filtered or unexported fields
}
GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError is the validation error returned by GetPrioritizedIntentsForPrivacyUpgradeResponse.Validate if the designated constraints aren't met.
func (GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Cause ¶
func (e GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Cause() error
Cause function returns cause value.
func (GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Error ¶
func (e GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) ErrorName ¶
func (e GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Field ¶
func (e GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Field() string
Field function returns field value.
func (GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Key ¶
Key function returns key value.
func (GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Reason ¶
func (e GetPrioritizedIntentsForPrivacyUpgradeResponseValidationError) Reason() string
Reason function returns reason value.
type GetPrioritizedIntentsForPrivacyUpgradeResponse_Result ¶
type GetPrioritizedIntentsForPrivacyUpgradeResponse_Result int32
const ( GetPrioritizedIntentsForPrivacyUpgradeResponse_OK GetPrioritizedIntentsForPrivacyUpgradeResponse_Result = 0 GetPrioritizedIntentsForPrivacyUpgradeResponse_NOT_FOUND GetPrioritizedIntentsForPrivacyUpgradeResponse_Result = 1 )
func (GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) Descriptor ¶
func (GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) EnumDescriptor
deprecated
func (GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetPrioritizedIntentsForPrivacyUpgradeResponse_Result.Descriptor instead.
func (GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) Number ¶
func (x GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) Number() protoreflect.EnumNumber
func (GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) String ¶
func (x GetPrioritizedIntentsForPrivacyUpgradeResponse_Result) String() string
type GetPrivacyUpgradeStatusRequest ¶
type GetPrivacyUpgradeStatusRequest struct { // The intent ID IntentId *v1.IntentId `protobuf:"bytes,1,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"` // The action ID for private transaction ActionId uint32 `protobuf:"varint,2,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // contains filtered or unexported fields }
func (*GetPrivacyUpgradeStatusRequest) Descriptor
deprecated
func (*GetPrivacyUpgradeStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPrivacyUpgradeStatusRequest.ProtoReflect.Descriptor instead.
func (*GetPrivacyUpgradeStatusRequest) GetActionId ¶
func (x *GetPrivacyUpgradeStatusRequest) GetActionId() uint32
func (*GetPrivacyUpgradeStatusRequest) GetIntentId ¶
func (x *GetPrivacyUpgradeStatusRequest) GetIntentId() *v1.IntentId
func (*GetPrivacyUpgradeStatusRequest) ProtoMessage ¶
func (*GetPrivacyUpgradeStatusRequest) ProtoMessage()
func (*GetPrivacyUpgradeStatusRequest) ProtoReflect ¶
func (x *GetPrivacyUpgradeStatusRequest) ProtoReflect() protoreflect.Message
func (*GetPrivacyUpgradeStatusRequest) Reset ¶
func (x *GetPrivacyUpgradeStatusRequest) Reset()
func (*GetPrivacyUpgradeStatusRequest) String ¶
func (x *GetPrivacyUpgradeStatusRequest) String() string
func (*GetPrivacyUpgradeStatusRequest) Validate ¶
func (m *GetPrivacyUpgradeStatusRequest) Validate() error
Validate checks the field values on GetPrivacyUpgradeStatusRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetPrivacyUpgradeStatusRequestValidationError ¶
type GetPrivacyUpgradeStatusRequestValidationError struct {
// contains filtered or unexported fields
}
GetPrivacyUpgradeStatusRequestValidationError is the validation error returned by GetPrivacyUpgradeStatusRequest.Validate if the designated constraints aren't met.
func (GetPrivacyUpgradeStatusRequestValidationError) Cause ¶
func (e GetPrivacyUpgradeStatusRequestValidationError) Cause() error
Cause function returns cause value.
func (GetPrivacyUpgradeStatusRequestValidationError) Error ¶
func (e GetPrivacyUpgradeStatusRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetPrivacyUpgradeStatusRequestValidationError) ErrorName ¶
func (e GetPrivacyUpgradeStatusRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetPrivacyUpgradeStatusRequestValidationError) Field ¶
func (e GetPrivacyUpgradeStatusRequestValidationError) Field() string
Field function returns field value.
func (GetPrivacyUpgradeStatusRequestValidationError) Key ¶
func (e GetPrivacyUpgradeStatusRequestValidationError) Key() bool
Key function returns key value.
func (GetPrivacyUpgradeStatusRequestValidationError) Reason ¶
func (e GetPrivacyUpgradeStatusRequestValidationError) Reason() string
Reason function returns reason value.
type GetPrivacyUpgradeStatusResponse ¶
type GetPrivacyUpgradeStatusResponse struct { Result GetPrivacyUpgradeStatusResponse_Result `` /* 130-byte string literal not displayed */ Status GetPrivacyUpgradeStatusResponse_Status `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetPrivacyUpgradeStatusResponse) Descriptor
deprecated
func (*GetPrivacyUpgradeStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPrivacyUpgradeStatusResponse.ProtoReflect.Descriptor instead.
func (*GetPrivacyUpgradeStatusResponse) GetResult ¶
func (x *GetPrivacyUpgradeStatusResponse) GetResult() GetPrivacyUpgradeStatusResponse_Result
func (*GetPrivacyUpgradeStatusResponse) GetStatus ¶
func (x *GetPrivacyUpgradeStatusResponse) GetStatus() GetPrivacyUpgradeStatusResponse_Status
func (*GetPrivacyUpgradeStatusResponse) ProtoMessage ¶
func (*GetPrivacyUpgradeStatusResponse) ProtoMessage()
func (*GetPrivacyUpgradeStatusResponse) ProtoReflect ¶
func (x *GetPrivacyUpgradeStatusResponse) ProtoReflect() protoreflect.Message
func (*GetPrivacyUpgradeStatusResponse) Reset ¶
func (x *GetPrivacyUpgradeStatusResponse) Reset()
func (*GetPrivacyUpgradeStatusResponse) String ¶
func (x *GetPrivacyUpgradeStatusResponse) String() string
func (*GetPrivacyUpgradeStatusResponse) Validate ¶
func (m *GetPrivacyUpgradeStatusResponse) Validate() error
Validate checks the field values on GetPrivacyUpgradeStatusResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetPrivacyUpgradeStatusResponseValidationError ¶
type GetPrivacyUpgradeStatusResponseValidationError struct {
// contains filtered or unexported fields
}
GetPrivacyUpgradeStatusResponseValidationError is the validation error returned by GetPrivacyUpgradeStatusResponse.Validate if the designated constraints aren't met.
func (GetPrivacyUpgradeStatusResponseValidationError) Cause ¶
func (e GetPrivacyUpgradeStatusResponseValidationError) Cause() error
Cause function returns cause value.
func (GetPrivacyUpgradeStatusResponseValidationError) Error ¶
func (e GetPrivacyUpgradeStatusResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetPrivacyUpgradeStatusResponseValidationError) ErrorName ¶
func (e GetPrivacyUpgradeStatusResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetPrivacyUpgradeStatusResponseValidationError) Field ¶
func (e GetPrivacyUpgradeStatusResponseValidationError) Field() string
Field function returns field value.
func (GetPrivacyUpgradeStatusResponseValidationError) Key ¶
func (e GetPrivacyUpgradeStatusResponseValidationError) Key() bool
Key function returns key value.
func (GetPrivacyUpgradeStatusResponseValidationError) Reason ¶
func (e GetPrivacyUpgradeStatusResponseValidationError) Reason() string
Reason function returns reason value.
type GetPrivacyUpgradeStatusResponse_Result ¶
type GetPrivacyUpgradeStatusResponse_Result int32
const ( GetPrivacyUpgradeStatusResponse_OK GetPrivacyUpgradeStatusResponse_Result = 0 // The provided intent ID doesn't exist GetPrivacyUpgradeStatusResponse_INTENT_NOT_FOUND GetPrivacyUpgradeStatusResponse_Result = 1 // The provided action ID doesn't exist GetPrivacyUpgradeStatusResponse_ACTION_NOT_FOUND GetPrivacyUpgradeStatusResponse_Result = 2 // The provided action doesn't map to a private transaction GetPrivacyUpgradeStatusResponse_INVALID_ACTION GetPrivacyUpgradeStatusResponse_Result = 3 )
func (GetPrivacyUpgradeStatusResponse_Result) Descriptor ¶
func (GetPrivacyUpgradeStatusResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetPrivacyUpgradeStatusResponse_Result) EnumDescriptor
deprecated
func (GetPrivacyUpgradeStatusResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetPrivacyUpgradeStatusResponse_Result.Descriptor instead.
func (GetPrivacyUpgradeStatusResponse_Result) Number ¶
func (x GetPrivacyUpgradeStatusResponse_Result) Number() protoreflect.EnumNumber
func (GetPrivacyUpgradeStatusResponse_Result) String ¶
func (x GetPrivacyUpgradeStatusResponse_Result) String() string
func (GetPrivacyUpgradeStatusResponse_Result) Type ¶
func (GetPrivacyUpgradeStatusResponse_Result) Type() protoreflect.EnumType
type GetPrivacyUpgradeStatusResponse_Status ¶
type GetPrivacyUpgradeStatusResponse_Status int32
const ( GetPrivacyUpgradeStatusResponse_UNKNOWN GetPrivacyUpgradeStatusResponse_Status = 0 // The transaction for the temporary private transaction was submitted and // finalized. The opportunity to upgrade was missed. GetPrivacyUpgradeStatusResponse_TEMPORARY_TRANSACTION_FINALIZED GetPrivacyUpgradeStatusResponse_Status = 1 // The next block of transactions hasn't been created. Wait and try again // later. GetPrivacyUpgradeStatusResponse_WAITING_FOR_NEXT_BLOCK GetPrivacyUpgradeStatusResponse_Status = 2 // The transaction can be upgraded to permanent privacy GetPrivacyUpgradeStatusResponse_READY_FOR_UPGRADE GetPrivacyUpgradeStatusResponse_Status = 3 // The transaction has already been upgraded GetPrivacyUpgradeStatusResponse_ALREADY_UPGRADED GetPrivacyUpgradeStatusResponse_Status = 4 )
func (GetPrivacyUpgradeStatusResponse_Status) Descriptor ¶
func (GetPrivacyUpgradeStatusResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (GetPrivacyUpgradeStatusResponse_Status) EnumDescriptor
deprecated
func (GetPrivacyUpgradeStatusResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetPrivacyUpgradeStatusResponse_Status.Descriptor instead.
func (GetPrivacyUpgradeStatusResponse_Status) Number ¶
func (x GetPrivacyUpgradeStatusResponse_Status) Number() protoreflect.EnumNumber
func (GetPrivacyUpgradeStatusResponse_Status) String ¶
func (x GetPrivacyUpgradeStatusResponse_Status) String() string
func (GetPrivacyUpgradeStatusResponse_Status) Type ¶
func (GetPrivacyUpgradeStatusResponse_Status) Type() protoreflect.EnumType
type InvalidSignatureErrorDetails ¶
type InvalidSignatureErrorDetails struct { // The action whose signature mismatched ActionId uint32 `protobuf:"varint,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // The transaction the server expected to have signed. ExpectedTransaction *v1.Transaction `protobuf:"bytes,2,opt,name=expected_transaction,json=expectedTransaction,proto3" json:"expected_transaction,omitempty"` // The signature that was provided by the client. ProvidedSignature *v1.Signature `protobuf:"bytes,3,opt,name=provided_signature,json=providedSignature,proto3" json:"provided_signature,omitempty"` // contains filtered or unexported fields }
func (*InvalidSignatureErrorDetails) Descriptor
deprecated
func (*InvalidSignatureErrorDetails) Descriptor() ([]byte, []int)
Deprecated: Use InvalidSignatureErrorDetails.ProtoReflect.Descriptor instead.
func (*InvalidSignatureErrorDetails) GetActionId ¶
func (x *InvalidSignatureErrorDetails) GetActionId() uint32
func (*InvalidSignatureErrorDetails) GetExpectedTransaction ¶
func (x *InvalidSignatureErrorDetails) GetExpectedTransaction() *v1.Transaction
func (*InvalidSignatureErrorDetails) GetProvidedSignature ¶
func (x *InvalidSignatureErrorDetails) GetProvidedSignature() *v1.Signature
func (*InvalidSignatureErrorDetails) ProtoMessage ¶
func (*InvalidSignatureErrorDetails) ProtoMessage()
func (*InvalidSignatureErrorDetails) ProtoReflect ¶
func (x *InvalidSignatureErrorDetails) ProtoReflect() protoreflect.Message
func (*InvalidSignatureErrorDetails) Reset ¶
func (x *InvalidSignatureErrorDetails) Reset()
func (*InvalidSignatureErrorDetails) String ¶
func (x *InvalidSignatureErrorDetails) String() string
func (*InvalidSignatureErrorDetails) Validate ¶
func (m *InvalidSignatureErrorDetails) Validate() error
Validate checks the field values on InvalidSignatureErrorDetails with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type InvalidSignatureErrorDetailsValidationError ¶
type InvalidSignatureErrorDetailsValidationError struct {
// contains filtered or unexported fields
}
InvalidSignatureErrorDetailsValidationError is the validation error returned by InvalidSignatureErrorDetails.Validate if the designated constraints aren't met.
func (InvalidSignatureErrorDetailsValidationError) Cause ¶
func (e InvalidSignatureErrorDetailsValidationError) Cause() error
Cause function returns cause value.
func (InvalidSignatureErrorDetailsValidationError) Error ¶
func (e InvalidSignatureErrorDetailsValidationError) Error() string
Error satisfies the builtin error interface
func (InvalidSignatureErrorDetailsValidationError) ErrorName ¶
func (e InvalidSignatureErrorDetailsValidationError) ErrorName() string
ErrorName returns error name.
func (InvalidSignatureErrorDetailsValidationError) Field ¶
func (e InvalidSignatureErrorDetailsValidationError) Field() string
Field function returns field value.
func (InvalidSignatureErrorDetailsValidationError) Key ¶
func (e InvalidSignatureErrorDetailsValidationError) Key() bool
Key function returns key value.
func (InvalidSignatureErrorDetailsValidationError) Reason ¶
func (e InvalidSignatureErrorDetailsValidationError) Reason() string
Reason function returns reason value.
type Metadata ¶
type Metadata struct { // Types that are assignable to Type: // // *Metadata_OpenAccounts // *Metadata_SendPrivatePayment // *Metadata_ReceivePaymentsPrivately // *Metadata_UpgradePrivacy // *Metadata_MigrateToPrivacy_2022 // *Metadata_SendPublicPayment // *Metadata_ReceivePaymentsPublicly // *Metadata_EstablishRelationship Type isMetadata_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Metadata describes the high-level details of an intent
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetEstablishRelationship ¶
func (x *Metadata) GetEstablishRelationship() *EstablishRelationshipMetadata
func (*Metadata) GetMigrateToPrivacy_2022 ¶
func (x *Metadata) GetMigrateToPrivacy_2022() *MigrateToPrivacy2022Metadata
func (*Metadata) GetOpenAccounts ¶
func (x *Metadata) GetOpenAccounts() *OpenAccountsMetadata
func (*Metadata) GetReceivePaymentsPrivately ¶
func (x *Metadata) GetReceivePaymentsPrivately() *ReceivePaymentsPrivatelyMetadata
func (*Metadata) GetReceivePaymentsPublicly ¶
func (x *Metadata) GetReceivePaymentsPublicly() *ReceivePaymentsPubliclyMetadata
func (*Metadata) GetSendPrivatePayment ¶
func (x *Metadata) GetSendPrivatePayment() *SendPrivatePaymentMetadata
func (*Metadata) GetSendPublicPayment ¶
func (x *Metadata) GetSendPublicPayment() *SendPublicPaymentMetadata
func (*Metadata) GetUpgradePrivacy ¶
func (x *Metadata) GetUpgradePrivacy() *UpgradePrivacyMetadata
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type MetadataValidationError ¶
type MetadataValidationError struct {
// contains filtered or unexported fields
}
MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.
func (MetadataValidationError) Cause ¶
func (e MetadataValidationError) Cause() error
Cause function returns cause value.
func (MetadataValidationError) Error ¶
func (e MetadataValidationError) Error() string
Error satisfies the builtin error interface
func (MetadataValidationError) ErrorName ¶
func (e MetadataValidationError) ErrorName() string
ErrorName returns error name.
func (MetadataValidationError) Field ¶
func (e MetadataValidationError) Field() string
Field function returns field value.
func (MetadataValidationError) Key ¶
func (e MetadataValidationError) Key() bool
Key function returns key value.
func (MetadataValidationError) Reason ¶
func (e MetadataValidationError) Reason() string
Reason function returns reason value.
type Metadata_EstablishRelationship ¶
type Metadata_EstablishRelationship struct {
EstablishRelationship *EstablishRelationshipMetadata `protobuf:"bytes,8,opt,name=establish_relationship,json=establishRelationship,proto3,oneof"`
}
type Metadata_MigrateToPrivacy_2022 ¶
type Metadata_MigrateToPrivacy_2022 struct {
MigrateToPrivacy_2022 *MigrateToPrivacy2022Metadata `protobuf:"bytes,5,opt,name=migrate_to_privacy_2022,json=migrateToPrivacy2022,proto3,oneof"`
}
type Metadata_OpenAccounts ¶
type Metadata_OpenAccounts struct {
OpenAccounts *OpenAccountsMetadata `protobuf:"bytes,1,opt,name=open_accounts,json=openAccounts,proto3,oneof"`
}
type Metadata_ReceivePaymentsPrivately ¶
type Metadata_ReceivePaymentsPrivately struct {
ReceivePaymentsPrivately *ReceivePaymentsPrivatelyMetadata `protobuf:"bytes,3,opt,name=receive_payments_privately,json=receivePaymentsPrivately,proto3,oneof"`
}
type Metadata_ReceivePaymentsPublicly ¶
type Metadata_ReceivePaymentsPublicly struct {
ReceivePaymentsPublicly *ReceivePaymentsPubliclyMetadata `protobuf:"bytes,7,opt,name=receive_payments_publicly,json=receivePaymentsPublicly,proto3,oneof"`
}
type Metadata_SendPrivatePayment ¶
type Metadata_SendPrivatePayment struct {
SendPrivatePayment *SendPrivatePaymentMetadata `protobuf:"bytes,2,opt,name=send_private_payment,json=sendPrivatePayment,proto3,oneof"`
}
type Metadata_SendPublicPayment ¶
type Metadata_SendPublicPayment struct {
SendPublicPayment *SendPublicPaymentMetadata `protobuf:"bytes,6,opt,name=send_public_payment,json=sendPublicPayment,proto3,oneof"`
}
type Metadata_UpgradePrivacy ¶
type Metadata_UpgradePrivacy struct {
UpgradePrivacy *UpgradePrivacyMetadata `protobuf:"bytes,4,opt,name=upgrade_privacy,json=upgradePrivacy,proto3,oneof"`
}
type MicroPaymentLimit ¶
type MicroPaymentLimit struct { // Maximum native amount that can be applied per micro payment transaction MaxPerTransaction float32 `protobuf:"fixed32,1,opt,name=max_per_transaction,json=maxPerTransaction,proto3" json:"max_per_transaction,omitempty"` // Minimum native amount that can be applied per micro payment transaction MinPerTransaction float32 `protobuf:"fixed32,2,opt,name=min_per_transaction,json=minPerTransaction,proto3" json:"min_per_transaction,omitempty"` // contains filtered or unexported fields }
func (*MicroPaymentLimit) Descriptor
deprecated
func (*MicroPaymentLimit) Descriptor() ([]byte, []int)
Deprecated: Use MicroPaymentLimit.ProtoReflect.Descriptor instead.
func (*MicroPaymentLimit) GetMaxPerTransaction ¶
func (x *MicroPaymentLimit) GetMaxPerTransaction() float32
func (*MicroPaymentLimit) GetMinPerTransaction ¶
func (x *MicroPaymentLimit) GetMinPerTransaction() float32
func (*MicroPaymentLimit) ProtoMessage ¶
func (*MicroPaymentLimit) ProtoMessage()
func (*MicroPaymentLimit) ProtoReflect ¶
func (x *MicroPaymentLimit) ProtoReflect() protoreflect.Message
func (*MicroPaymentLimit) Reset ¶
func (x *MicroPaymentLimit) Reset()
func (*MicroPaymentLimit) String ¶
func (x *MicroPaymentLimit) String() string
func (*MicroPaymentLimit) Validate ¶
func (m *MicroPaymentLimit) Validate() error
Validate checks the field values on MicroPaymentLimit with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MicroPaymentLimitValidationError ¶
type MicroPaymentLimitValidationError struct {
// contains filtered or unexported fields
}
MicroPaymentLimitValidationError is the validation error returned by MicroPaymentLimit.Validate if the designated constraints aren't met.
func (MicroPaymentLimitValidationError) Cause ¶
func (e MicroPaymentLimitValidationError) Cause() error
Cause function returns cause value.
func (MicroPaymentLimitValidationError) Error ¶
func (e MicroPaymentLimitValidationError) Error() string
Error satisfies the builtin error interface
func (MicroPaymentLimitValidationError) ErrorName ¶
func (e MicroPaymentLimitValidationError) ErrorName() string
ErrorName returns error name.
func (MicroPaymentLimitValidationError) Field ¶
func (e MicroPaymentLimitValidationError) Field() string
Field function returns field value.
func (MicroPaymentLimitValidationError) Key ¶
func (e MicroPaymentLimitValidationError) Key() bool
Key function returns key value.
func (MicroPaymentLimitValidationError) Reason ¶
func (e MicroPaymentLimitValidationError) Reason() string
Reason function returns reason value.
type MigrateToPrivacy2022Metadata ¶
type MigrateToPrivacy2022Metadata struct { // The exact amount of Kin in quarks being migrated. Set this to zero if // the account is empty. Quarks uint64 `protobuf:"varint,1,opt,name=quarks,proto3" json:"quarks,omitempty"` // contains filtered or unexported fields }
Migrates existing users prior to the privacy implementation by:
- If there are funds in the LEGACY_PRIMARY_2022 account, then move them to the new PRIMARY account, so the client can later simulate a deposit by submitting a *separate* ReceivePaymentsPrivately intent.
- Close the LEGACY_PRIMARY_2022 account.
Prereqs:
- OpenAccounts intent has been submitted
Action spec:
if balance == 0 { actions = [CloseEmptyAccountAction(LEGACY_PRIMARY_2022)] } else { actions = [NoPrivacyWitdraw(LEGACY_PRIMARY_2022, PRIMARY, Quarks)] }
func (*MigrateToPrivacy2022Metadata) Descriptor
deprecated
func (*MigrateToPrivacy2022Metadata) Descriptor() ([]byte, []int)
Deprecated: Use MigrateToPrivacy2022Metadata.ProtoReflect.Descriptor instead.
func (*MigrateToPrivacy2022Metadata) GetQuarks ¶
func (x *MigrateToPrivacy2022Metadata) GetQuarks() uint64
func (*MigrateToPrivacy2022Metadata) ProtoMessage ¶
func (*MigrateToPrivacy2022Metadata) ProtoMessage()
func (*MigrateToPrivacy2022Metadata) ProtoReflect ¶
func (x *MigrateToPrivacy2022Metadata) ProtoReflect() protoreflect.Message
func (*MigrateToPrivacy2022Metadata) Reset ¶
func (x *MigrateToPrivacy2022Metadata) Reset()
func (*MigrateToPrivacy2022Metadata) String ¶
func (x *MigrateToPrivacy2022Metadata) String() string
func (*MigrateToPrivacy2022Metadata) Validate ¶
func (m *MigrateToPrivacy2022Metadata) Validate() error
Validate checks the field values on MigrateToPrivacy2022Metadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MigrateToPrivacy2022MetadataValidationError ¶
type MigrateToPrivacy2022MetadataValidationError struct {
// contains filtered or unexported fields
}
MigrateToPrivacy2022MetadataValidationError is the validation error returned by MigrateToPrivacy2022Metadata.Validate if the designated constraints aren't met.
func (MigrateToPrivacy2022MetadataValidationError) Cause ¶
func (e MigrateToPrivacy2022MetadataValidationError) Cause() error
Cause function returns cause value.
func (MigrateToPrivacy2022MetadataValidationError) Error ¶
func (e MigrateToPrivacy2022MetadataValidationError) Error() string
Error satisfies the builtin error interface
func (MigrateToPrivacy2022MetadataValidationError) ErrorName ¶
func (e MigrateToPrivacy2022MetadataValidationError) ErrorName() string
ErrorName returns error name.
func (MigrateToPrivacy2022MetadataValidationError) Field ¶
func (e MigrateToPrivacy2022MetadataValidationError) Field() string
Field function returns field value.
func (MigrateToPrivacy2022MetadataValidationError) Key ¶
func (e MigrateToPrivacy2022MetadataValidationError) Key() bool
Key function returns key value.
func (MigrateToPrivacy2022MetadataValidationError) Reason ¶
func (e MigrateToPrivacy2022MetadataValidationError) Reason() string
Reason function returns reason value.
type NoPrivacyTransferAction ¶
type NoPrivacyTransferAction struct { // The public key of the private key that has authority over source Authority *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // The source account where funds are transferred from Source *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // The destination account where funds are transferred to Destination *v1.SolanaAccountId `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` // The Kin quark amount to transfer Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
Transaction 1
Instructions: 1. system::AdvanceNonce 2. memo::Memo 3. timelock::TransferWithAuthority (source -> destination) Client Signature Required: Yes
func (*NoPrivacyTransferAction) Descriptor
deprecated
func (*NoPrivacyTransferAction) Descriptor() ([]byte, []int)
Deprecated: Use NoPrivacyTransferAction.ProtoReflect.Descriptor instead.
func (*NoPrivacyTransferAction) GetAmount ¶
func (x *NoPrivacyTransferAction) GetAmount() uint64
func (*NoPrivacyTransferAction) GetAuthority ¶
func (x *NoPrivacyTransferAction) GetAuthority() *v1.SolanaAccountId
func (*NoPrivacyTransferAction) GetDestination ¶
func (x *NoPrivacyTransferAction) GetDestination() *v1.SolanaAccountId
func (*NoPrivacyTransferAction) GetSource ¶
func (x *NoPrivacyTransferAction) GetSource() *v1.SolanaAccountId
func (*NoPrivacyTransferAction) ProtoMessage ¶
func (*NoPrivacyTransferAction) ProtoMessage()
func (*NoPrivacyTransferAction) ProtoReflect ¶
func (x *NoPrivacyTransferAction) ProtoReflect() protoreflect.Message
func (*NoPrivacyTransferAction) Reset ¶
func (x *NoPrivacyTransferAction) Reset()
func (*NoPrivacyTransferAction) String ¶
func (x *NoPrivacyTransferAction) String() string
func (*NoPrivacyTransferAction) Validate ¶
func (m *NoPrivacyTransferAction) Validate() error
Validate checks the field values on NoPrivacyTransferAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NoPrivacyTransferActionValidationError ¶
type NoPrivacyTransferActionValidationError struct {
// contains filtered or unexported fields
}
NoPrivacyTransferActionValidationError is the validation error returned by NoPrivacyTransferAction.Validate if the designated constraints aren't met.
func (NoPrivacyTransferActionValidationError) Cause ¶
func (e NoPrivacyTransferActionValidationError) Cause() error
Cause function returns cause value.
func (NoPrivacyTransferActionValidationError) Error ¶
func (e NoPrivacyTransferActionValidationError) Error() string
Error satisfies the builtin error interface
func (NoPrivacyTransferActionValidationError) ErrorName ¶
func (e NoPrivacyTransferActionValidationError) ErrorName() string
ErrorName returns error name.
func (NoPrivacyTransferActionValidationError) Field ¶
func (e NoPrivacyTransferActionValidationError) Field() string
Field function returns field value.
func (NoPrivacyTransferActionValidationError) Key ¶
func (e NoPrivacyTransferActionValidationError) Key() bool
Key function returns key value.
func (NoPrivacyTransferActionValidationError) Reason ¶
func (e NoPrivacyTransferActionValidationError) Reason() string
Reason function returns reason value.
type NoPrivacyTransferServerParameter ¶
type NoPrivacyTransferServerParameter struct {
// contains filtered or unexported fields
}
func (*NoPrivacyTransferServerParameter) Descriptor
deprecated
func (*NoPrivacyTransferServerParameter) Descriptor() ([]byte, []int)
Deprecated: Use NoPrivacyTransferServerParameter.ProtoReflect.Descriptor instead.
func (*NoPrivacyTransferServerParameter) ProtoMessage ¶
func (*NoPrivacyTransferServerParameter) ProtoMessage()
func (*NoPrivacyTransferServerParameter) ProtoReflect ¶
func (x *NoPrivacyTransferServerParameter) ProtoReflect() protoreflect.Message
func (*NoPrivacyTransferServerParameter) Reset ¶
func (x *NoPrivacyTransferServerParameter) Reset()
func (*NoPrivacyTransferServerParameter) String ¶
func (x *NoPrivacyTransferServerParameter) String() string
func (*NoPrivacyTransferServerParameter) Validate ¶
func (m *NoPrivacyTransferServerParameter) Validate() error
Validate checks the field values on NoPrivacyTransferServerParameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NoPrivacyTransferServerParameterValidationError ¶
type NoPrivacyTransferServerParameterValidationError struct {
// contains filtered or unexported fields
}
NoPrivacyTransferServerParameterValidationError is the validation error returned by NoPrivacyTransferServerParameter.Validate if the designated constraints aren't met.
func (NoPrivacyTransferServerParameterValidationError) Cause ¶
func (e NoPrivacyTransferServerParameterValidationError) Cause() error
Cause function returns cause value.
func (NoPrivacyTransferServerParameterValidationError) Error ¶
func (e NoPrivacyTransferServerParameterValidationError) Error() string
Error satisfies the builtin error interface
func (NoPrivacyTransferServerParameterValidationError) ErrorName ¶
func (e NoPrivacyTransferServerParameterValidationError) ErrorName() string
ErrorName returns error name.
func (NoPrivacyTransferServerParameterValidationError) Field ¶
func (e NoPrivacyTransferServerParameterValidationError) Field() string
Field function returns field value.
func (NoPrivacyTransferServerParameterValidationError) Key ¶
func (e NoPrivacyTransferServerParameterValidationError) Key() bool
Key function returns key value.
func (NoPrivacyTransferServerParameterValidationError) Reason ¶
func (e NoPrivacyTransferServerParameterValidationError) Reason() string
Reason function returns reason value.
type NoPrivacyWithdrawAction ¶
type NoPrivacyWithdrawAction struct { // The public key of the private key that has authority over source Authority *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // The source account where funds are transferred from Source *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // The destination account where funds are transferred to Destination *v1.SolanaAccountId `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` // The intended Kin quark amount to withdraw Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` // Whether the account is closed afterwards. This is always true, since there // are no current se cases to leave it open. ShouldClose bool `protobuf:"varint,5,opt,name=should_close,json=shouldClose,proto3" json:"should_close,omitempty"` // contains filtered or unexported fields }
Transaction 1
Instructions: 1. system::AdvanceNonce 2. memo::Memo 3. timelock::RevokeLockWithAuthority 4. timelock::DeactivateLock 5. timelock::Withdraw (source -> destination) 6. timelock::CloseAccounts Client Signature Required: Yes
func (*NoPrivacyWithdrawAction) Descriptor
deprecated
func (*NoPrivacyWithdrawAction) Descriptor() ([]byte, []int)
Deprecated: Use NoPrivacyWithdrawAction.ProtoReflect.Descriptor instead.
func (*NoPrivacyWithdrawAction) GetAmount ¶
func (x *NoPrivacyWithdrawAction) GetAmount() uint64
func (*NoPrivacyWithdrawAction) GetAuthority ¶
func (x *NoPrivacyWithdrawAction) GetAuthority() *v1.SolanaAccountId
func (*NoPrivacyWithdrawAction) GetDestination ¶
func (x *NoPrivacyWithdrawAction) GetDestination() *v1.SolanaAccountId
func (*NoPrivacyWithdrawAction) GetShouldClose ¶
func (x *NoPrivacyWithdrawAction) GetShouldClose() bool
func (*NoPrivacyWithdrawAction) GetSource ¶
func (x *NoPrivacyWithdrawAction) GetSource() *v1.SolanaAccountId
func (*NoPrivacyWithdrawAction) ProtoMessage ¶
func (*NoPrivacyWithdrawAction) ProtoMessage()
func (*NoPrivacyWithdrawAction) ProtoReflect ¶
func (x *NoPrivacyWithdrawAction) ProtoReflect() protoreflect.Message
func (*NoPrivacyWithdrawAction) Reset ¶
func (x *NoPrivacyWithdrawAction) Reset()
func (*NoPrivacyWithdrawAction) String ¶
func (x *NoPrivacyWithdrawAction) String() string
func (*NoPrivacyWithdrawAction) Validate ¶
func (m *NoPrivacyWithdrawAction) Validate() error
Validate checks the field values on NoPrivacyWithdrawAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NoPrivacyWithdrawActionValidationError ¶
type NoPrivacyWithdrawActionValidationError struct {
// contains filtered or unexported fields
}
NoPrivacyWithdrawActionValidationError is the validation error returned by NoPrivacyWithdrawAction.Validate if the designated constraints aren't met.
func (NoPrivacyWithdrawActionValidationError) Cause ¶
func (e NoPrivacyWithdrawActionValidationError) Cause() error
Cause function returns cause value.
func (NoPrivacyWithdrawActionValidationError) Error ¶
func (e NoPrivacyWithdrawActionValidationError) Error() string
Error satisfies the builtin error interface
func (NoPrivacyWithdrawActionValidationError) ErrorName ¶
func (e NoPrivacyWithdrawActionValidationError) ErrorName() string
ErrorName returns error name.
func (NoPrivacyWithdrawActionValidationError) Field ¶
func (e NoPrivacyWithdrawActionValidationError) Field() string
Field function returns field value.
func (NoPrivacyWithdrawActionValidationError) Key ¶
func (e NoPrivacyWithdrawActionValidationError) Key() bool
Key function returns key value.
func (NoPrivacyWithdrawActionValidationError) Reason ¶
func (e NoPrivacyWithdrawActionValidationError) Reason() string
Reason function returns reason value.
type NoPrivacyWithdrawServerParameter ¶
type NoPrivacyWithdrawServerParameter struct {
// contains filtered or unexported fields
}
func (*NoPrivacyWithdrawServerParameter) Descriptor
deprecated
func (*NoPrivacyWithdrawServerParameter) Descriptor() ([]byte, []int)
Deprecated: Use NoPrivacyWithdrawServerParameter.ProtoReflect.Descriptor instead.
func (*NoPrivacyWithdrawServerParameter) ProtoMessage ¶
func (*NoPrivacyWithdrawServerParameter) ProtoMessage()
func (*NoPrivacyWithdrawServerParameter) ProtoReflect ¶
func (x *NoPrivacyWithdrawServerParameter) ProtoReflect() protoreflect.Message
func (*NoPrivacyWithdrawServerParameter) Reset ¶
func (x *NoPrivacyWithdrawServerParameter) Reset()
func (*NoPrivacyWithdrawServerParameter) String ¶
func (x *NoPrivacyWithdrawServerParameter) String() string
func (*NoPrivacyWithdrawServerParameter) Validate ¶
func (m *NoPrivacyWithdrawServerParameter) Validate() error
Validate checks the field values on NoPrivacyWithdrawServerParameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NoPrivacyWithdrawServerParameterValidationError ¶
type NoPrivacyWithdrawServerParameterValidationError struct {
// contains filtered or unexported fields
}
NoPrivacyWithdrawServerParameterValidationError is the validation error returned by NoPrivacyWithdrawServerParameter.Validate if the designated constraints aren't met.
func (NoPrivacyWithdrawServerParameterValidationError) Cause ¶
func (e NoPrivacyWithdrawServerParameterValidationError) Cause() error
Cause function returns cause value.
func (NoPrivacyWithdrawServerParameterValidationError) Error ¶
func (e NoPrivacyWithdrawServerParameterValidationError) Error() string
Error satisfies the builtin error interface
func (NoPrivacyWithdrawServerParameterValidationError) ErrorName ¶
func (e NoPrivacyWithdrawServerParameterValidationError) ErrorName() string
ErrorName returns error name.
func (NoPrivacyWithdrawServerParameterValidationError) Field ¶
func (e NoPrivacyWithdrawServerParameterValidationError) Field() string
Field function returns field value.
func (NoPrivacyWithdrawServerParameterValidationError) Key ¶
func (e NoPrivacyWithdrawServerParameterValidationError) Key() bool
Key function returns key value.
func (NoPrivacyWithdrawServerParameterValidationError) Reason ¶
func (e NoPrivacyWithdrawServerParameterValidationError) Reason() string
Reason function returns reason value.
type NoncedTransactionMetadata ¶
type NoncedTransactionMetadata struct { // The nonce account to use in the system::AdvanceNonce instruction Nonce *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // The blockhash to set in the transaction Blockhash *v1.Blockhash `protobuf:"bytes,2,opt,name=blockhash,proto3" json:"blockhash,omitempty"` // contains filtered or unexported fields }
func (*NoncedTransactionMetadata) Descriptor
deprecated
func (*NoncedTransactionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use NoncedTransactionMetadata.ProtoReflect.Descriptor instead.
func (*NoncedTransactionMetadata) GetBlockhash ¶
func (x *NoncedTransactionMetadata) GetBlockhash() *v1.Blockhash
func (*NoncedTransactionMetadata) GetNonce ¶
func (x *NoncedTransactionMetadata) GetNonce() *v1.SolanaAccountId
func (*NoncedTransactionMetadata) ProtoMessage ¶
func (*NoncedTransactionMetadata) ProtoMessage()
func (*NoncedTransactionMetadata) ProtoReflect ¶
func (x *NoncedTransactionMetadata) ProtoReflect() protoreflect.Message
func (*NoncedTransactionMetadata) Reset ¶
func (x *NoncedTransactionMetadata) Reset()
func (*NoncedTransactionMetadata) String ¶
func (x *NoncedTransactionMetadata) String() string
func (*NoncedTransactionMetadata) Validate ¶
func (m *NoncedTransactionMetadata) Validate() error
Validate checks the field values on NoncedTransactionMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type NoncedTransactionMetadataValidationError ¶
type NoncedTransactionMetadataValidationError struct {
// contains filtered or unexported fields
}
NoncedTransactionMetadataValidationError is the validation error returned by NoncedTransactionMetadata.Validate if the designated constraints aren't met.
func (NoncedTransactionMetadataValidationError) Cause ¶
func (e NoncedTransactionMetadataValidationError) Cause() error
Cause function returns cause value.
func (NoncedTransactionMetadataValidationError) Error ¶
func (e NoncedTransactionMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (NoncedTransactionMetadataValidationError) ErrorName ¶
func (e NoncedTransactionMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (NoncedTransactionMetadataValidationError) Field ¶
func (e NoncedTransactionMetadataValidationError) Field() string
Field function returns field value.
func (NoncedTransactionMetadataValidationError) Key ¶
func (e NoncedTransactionMetadataValidationError) Key() bool
Key function returns key value.
func (NoncedTransactionMetadataValidationError) Reason ¶
func (e NoncedTransactionMetadataValidationError) Reason() string
Reason function returns reason value.
type OpenAccountAction ¶
type OpenAccountAction struct { // The type of account, which will dictate its intended use AccountType v1.AccountType `` /* 127-byte string literal not displayed */ // The owner of the account. For accounts liked to a user's 12 words, this is // the verified parent owner account public key. All other account types should // set this to the authority value. Owner *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // The index used to for accounts that are derived from owner Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` // The public key of the private key that has authority over the opened token account Authority *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=authority,proto3" json:"authority,omitempty"` // The token account being opened Token *v1.SolanaAccountId `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` // The signature is of serialize(OpenAccountAction) without this field set // using the private key of the authority account. This provides a proof // of authorization to link authority to owner. AuthoritySignature *v1.Signature `protobuf:"bytes,6,opt,name=authority_signature,json=authoritySignature,proto3" json:"authority_signature,omitempty"` // contains filtered or unexported fields }
Transaction 1
Instructions: 1. system::AdvanceNonce 2. timelock::Initialize Client Signature Required: No
All OpenAccountActions for non-primary accounts must be followed with an associated CloseDormantAccountAction to enable server to perform cleanup.
func (*OpenAccountAction) Descriptor
deprecated
func (*OpenAccountAction) Descriptor() ([]byte, []int)
Deprecated: Use OpenAccountAction.ProtoReflect.Descriptor instead.
func (*OpenAccountAction) GetAccountType ¶
func (x *OpenAccountAction) GetAccountType() v1.AccountType
func (*OpenAccountAction) GetAuthority ¶
func (x *OpenAccountAction) GetAuthority() *v1.SolanaAccountId
func (*OpenAccountAction) GetAuthoritySignature ¶
func (x *OpenAccountAction) GetAuthoritySignature() *v1.Signature
func (*OpenAccountAction) GetIndex ¶
func (x *OpenAccountAction) GetIndex() uint64
func (*OpenAccountAction) GetOwner ¶
func (x *OpenAccountAction) GetOwner() *v1.SolanaAccountId
func (*OpenAccountAction) GetToken ¶
func (x *OpenAccountAction) GetToken() *v1.SolanaAccountId
func (*OpenAccountAction) ProtoMessage ¶
func (*OpenAccountAction) ProtoMessage()
func (*OpenAccountAction) ProtoReflect ¶
func (x *OpenAccountAction) ProtoReflect() protoreflect.Message
func (*OpenAccountAction) Reset ¶
func (x *OpenAccountAction) Reset()
func (*OpenAccountAction) String ¶
func (x *OpenAccountAction) String() string
func (*OpenAccountAction) Validate ¶
func (m *OpenAccountAction) Validate() error
Validate checks the field values on OpenAccountAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OpenAccountActionValidationError ¶
type OpenAccountActionValidationError struct {
// contains filtered or unexported fields
}
OpenAccountActionValidationError is the validation error returned by OpenAccountAction.Validate if the designated constraints aren't met.
func (OpenAccountActionValidationError) Cause ¶
func (e OpenAccountActionValidationError) Cause() error
Cause function returns cause value.
func (OpenAccountActionValidationError) Error ¶
func (e OpenAccountActionValidationError) Error() string
Error satisfies the builtin error interface
func (OpenAccountActionValidationError) ErrorName ¶
func (e OpenAccountActionValidationError) ErrorName() string
ErrorName returns error name.
func (OpenAccountActionValidationError) Field ¶
func (e OpenAccountActionValidationError) Field() string
Field function returns field value.
func (OpenAccountActionValidationError) Key ¶
func (e OpenAccountActionValidationError) Key() bool
Key function returns key value.
func (OpenAccountActionValidationError) Reason ¶
func (e OpenAccountActionValidationError) Reason() string
Reason function returns reason value.
type OpenAccountServerParameter ¶
type OpenAccountServerParameter struct {
// contains filtered or unexported fields
}
func (*OpenAccountServerParameter) Descriptor
deprecated
func (*OpenAccountServerParameter) Descriptor() ([]byte, []int)
Deprecated: Use OpenAccountServerParameter.ProtoReflect.Descriptor instead.
func (*OpenAccountServerParameter) ProtoMessage ¶
func (*OpenAccountServerParameter) ProtoMessage()
func (*OpenAccountServerParameter) ProtoReflect ¶
func (x *OpenAccountServerParameter) ProtoReflect() protoreflect.Message
func (*OpenAccountServerParameter) Reset ¶
func (x *OpenAccountServerParameter) Reset()
func (*OpenAccountServerParameter) String ¶
func (x *OpenAccountServerParameter) String() string
func (*OpenAccountServerParameter) Validate ¶
func (m *OpenAccountServerParameter) Validate() error
Validate checks the field values on OpenAccountServerParameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OpenAccountServerParameterValidationError ¶
type OpenAccountServerParameterValidationError struct {
// contains filtered or unexported fields
}
OpenAccountServerParameterValidationError is the validation error returned by OpenAccountServerParameter.Validate if the designated constraints aren't met.
func (OpenAccountServerParameterValidationError) Cause ¶
func (e OpenAccountServerParameterValidationError) Cause() error
Cause function returns cause value.
func (OpenAccountServerParameterValidationError) Error ¶
func (e OpenAccountServerParameterValidationError) Error() string
Error satisfies the builtin error interface
func (OpenAccountServerParameterValidationError) ErrorName ¶
func (e OpenAccountServerParameterValidationError) ErrorName() string
ErrorName returns error name.
func (OpenAccountServerParameterValidationError) Field ¶
func (e OpenAccountServerParameterValidationError) Field() string
Field function returns field value.
func (OpenAccountServerParameterValidationError) Key ¶
func (e OpenAccountServerParameterValidationError) Key() bool
Key function returns key value.
func (OpenAccountServerParameterValidationError) Reason ¶
func (e OpenAccountServerParameterValidationError) Reason() string
Reason function returns reason value.
type OpenAccountsMetadata ¶
type OpenAccountsMetadata struct {
// contains filtered or unexported fields
}
Open a set of accounts. Currently, clients should only use this for new users to open all required accounts up front (buckets, incoming, and outgoing).
Action Spec:
actions = [OpenAccountAction(PRIMARY)] for account in [TEMPORARY_INCOMING, TEMPORARY_OUTGOING, BUCKET_1_KIN, ... , BUCKET_1_000_000_KIN]
actions.push_back(OpenAccountAction(account)) actions.push_back(CloseDormantAccount(account))
func (*OpenAccountsMetadata) Descriptor
deprecated
func (*OpenAccountsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OpenAccountsMetadata.ProtoReflect.Descriptor instead.
func (*OpenAccountsMetadata) ProtoMessage ¶
func (*OpenAccountsMetadata) ProtoMessage()
func (*OpenAccountsMetadata) ProtoReflect ¶
func (x *OpenAccountsMetadata) ProtoReflect() protoreflect.Message
func (*OpenAccountsMetadata) Reset ¶
func (x *OpenAccountsMetadata) Reset()
func (*OpenAccountsMetadata) String ¶
func (x *OpenAccountsMetadata) String() string
func (*OpenAccountsMetadata) Validate ¶
func (m *OpenAccountsMetadata) Validate() error
Validate checks the field values on OpenAccountsMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OpenAccountsMetadataValidationError ¶
type OpenAccountsMetadataValidationError struct {
// contains filtered or unexported fields
}
OpenAccountsMetadataValidationError is the validation error returned by OpenAccountsMetadata.Validate if the designated constraints aren't met.
func (OpenAccountsMetadataValidationError) Cause ¶
func (e OpenAccountsMetadataValidationError) Cause() error
Cause function returns cause value.
func (OpenAccountsMetadataValidationError) Error ¶
func (e OpenAccountsMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (OpenAccountsMetadataValidationError) ErrorName ¶
func (e OpenAccountsMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (OpenAccountsMetadataValidationError) Field ¶
func (e OpenAccountsMetadataValidationError) Field() string
Field function returns field value.
func (OpenAccountsMetadataValidationError) Key ¶
func (e OpenAccountsMetadataValidationError) Key() bool
Key function returns key value.
func (OpenAccountsMetadataValidationError) Reason ¶
func (e OpenAccountsMetadataValidationError) Reason() string
Reason function returns reason value.
type PaymentHistoryItem ¶
type PaymentHistoryItem struct { // The cursor position of this item. Cursor *Cursor `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"` // Exchange data related to the payment ExchangeData *ExchangeData `protobuf:"bytes,2,opt,name=exchange_data,json=exchangeData,proto3" json:"exchange_data,omitempty"` // Is this payment a send or receive? PaymentType PaymentHistoryItem_PaymentType `` /* 151-byte string literal not displayed */ // If the payment was a SEND, was it a withdraw? IsWithdraw bool `protobuf:"varint,4,opt,name=is_withdraw,json=isWithdraw,proto3" json:"is_withdraw,omitempty"` // If the payment was a RECEIVE, was it a deposit? IsDeposit bool `protobuf:"varint,5,opt,name=is_deposit,json=isDeposit,proto3" json:"is_deposit,omitempty"` // The timestamp of the payment Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Was the payment involved in a remote send? IsRemoteSend bool `protobuf:"varint,7,opt,name=is_remote_send,json=isRemoteSend,proto3" json:"is_remote_send,omitempty"` // If payment_type is RECEIVE and is_remote_send is true, was the funds being // returned back to the issuer? IsReturned bool `protobuf:"varint,8,opt,name=is_returned,json=isReturned,proto3" json:"is_returned,omitempty"` // If payment_type is RECEIVE, is this receive an airdrop part of a reward, incentive, etc.? IsAirdrop bool `protobuf:"varint,9,opt,name=is_airdrop,json=isAirdrop,proto3" json:"is_airdrop,omitempty"` // If is_airdrop is true, the type of airdrop received. AirdropType AirdropType `` /* 133-byte string literal not displayed */ // Is this a micro payment? IsMicroPayment bool `protobuf:"varint,11,opt,name=is_micro_payment,json=isMicroPayment,proto3" json:"is_micro_payment,omitempty"` // The intent ID associated with this history item IntentId *v1.IntentId `protobuf:"bytes,12,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"` // contains filtered or unexported fields }
func (*PaymentHistoryItem) Descriptor
deprecated
func (*PaymentHistoryItem) Descriptor() ([]byte, []int)
Deprecated: Use PaymentHistoryItem.ProtoReflect.Descriptor instead.
func (*PaymentHistoryItem) GetAirdropType ¶
func (x *PaymentHistoryItem) GetAirdropType() AirdropType
func (*PaymentHistoryItem) GetCursor ¶
func (x *PaymentHistoryItem) GetCursor() *Cursor
func (*PaymentHistoryItem) GetExchangeData ¶
func (x *PaymentHistoryItem) GetExchangeData() *ExchangeData
func (*PaymentHistoryItem) GetIntentId ¶ added in v1.3.0
func (x *PaymentHistoryItem) GetIntentId() *v1.IntentId
func (*PaymentHistoryItem) GetIsAirdrop ¶
func (x *PaymentHistoryItem) GetIsAirdrop() bool
func (*PaymentHistoryItem) GetIsDeposit ¶
func (x *PaymentHistoryItem) GetIsDeposit() bool
func (*PaymentHistoryItem) GetIsMicroPayment ¶
func (x *PaymentHistoryItem) GetIsMicroPayment() bool
func (*PaymentHistoryItem) GetIsRemoteSend ¶
func (x *PaymentHistoryItem) GetIsRemoteSend() bool
func (*PaymentHistoryItem) GetIsReturned ¶
func (x *PaymentHistoryItem) GetIsReturned() bool
func (*PaymentHistoryItem) GetIsWithdraw ¶
func (x *PaymentHistoryItem) GetIsWithdraw() bool
func (*PaymentHistoryItem) GetPaymentType ¶
func (x *PaymentHistoryItem) GetPaymentType() PaymentHistoryItem_PaymentType
func (*PaymentHistoryItem) GetTimestamp ¶
func (x *PaymentHistoryItem) GetTimestamp() *timestamppb.Timestamp
func (*PaymentHistoryItem) ProtoMessage ¶
func (*PaymentHistoryItem) ProtoMessage()
func (*PaymentHistoryItem) ProtoReflect ¶
func (x *PaymentHistoryItem) ProtoReflect() protoreflect.Message
func (*PaymentHistoryItem) Reset ¶
func (x *PaymentHistoryItem) Reset()
func (*PaymentHistoryItem) String ¶
func (x *PaymentHistoryItem) String() string
func (*PaymentHistoryItem) Validate ¶
func (m *PaymentHistoryItem) Validate() error
Validate checks the field values on PaymentHistoryItem with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PaymentHistoryItemValidationError ¶
type PaymentHistoryItemValidationError struct {
// contains filtered or unexported fields
}
PaymentHistoryItemValidationError is the validation error returned by PaymentHistoryItem.Validate if the designated constraints aren't met.
func (PaymentHistoryItemValidationError) Cause ¶
func (e PaymentHistoryItemValidationError) Cause() error
Cause function returns cause value.
func (PaymentHistoryItemValidationError) Error ¶
func (e PaymentHistoryItemValidationError) Error() string
Error satisfies the builtin error interface
func (PaymentHistoryItemValidationError) ErrorName ¶
func (e PaymentHistoryItemValidationError) ErrorName() string
ErrorName returns error name.
func (PaymentHistoryItemValidationError) Field ¶
func (e PaymentHistoryItemValidationError) Field() string
Field function returns field value.
func (PaymentHistoryItemValidationError) Key ¶
func (e PaymentHistoryItemValidationError) Key() bool
Key function returns key value.
func (PaymentHistoryItemValidationError) Reason ¶
func (e PaymentHistoryItemValidationError) Reason() string
Reason function returns reason value.
type PaymentHistoryItem_PaymentType ¶
type PaymentHistoryItem_PaymentType int32
const ( PaymentHistoryItem_UNKNOWN PaymentHistoryItem_PaymentType = 0 PaymentHistoryItem_SEND PaymentHistoryItem_PaymentType = 1 PaymentHistoryItem_RECEIVE PaymentHistoryItem_PaymentType = 2 )
func (PaymentHistoryItem_PaymentType) Descriptor ¶
func (PaymentHistoryItem_PaymentType) Descriptor() protoreflect.EnumDescriptor
func (PaymentHistoryItem_PaymentType) Enum ¶
func (x PaymentHistoryItem_PaymentType) Enum() *PaymentHistoryItem_PaymentType
func (PaymentHistoryItem_PaymentType) EnumDescriptor
deprecated
func (PaymentHistoryItem_PaymentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PaymentHistoryItem_PaymentType.Descriptor instead.
func (PaymentHistoryItem_PaymentType) Number ¶
func (x PaymentHistoryItem_PaymentType) Number() protoreflect.EnumNumber
func (PaymentHistoryItem_PaymentType) String ¶
func (x PaymentHistoryItem_PaymentType) String() string
func (PaymentHistoryItem_PaymentType) Type ¶
func (PaymentHistoryItem_PaymentType) Type() protoreflect.EnumType
type PermanentPrivacyUpgradeAction ¶
type PermanentPrivacyUpgradeAction struct { // The action ID of the temporary private transfer or exchange to upgrade ActionId uint32 `protobuf:"varint,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // contains filtered or unexported fields }
Transaction 1
Instructions: 1. system::AdvanceNonce 2. memo::Memo 3. timelock::TransferWithAuthority (source -> different commitment) Client Signature Required: Yes
func (*PermanentPrivacyUpgradeAction) Descriptor
deprecated
func (*PermanentPrivacyUpgradeAction) Descriptor() ([]byte, []int)
Deprecated: Use PermanentPrivacyUpgradeAction.ProtoReflect.Descriptor instead.
func (*PermanentPrivacyUpgradeAction) GetActionId ¶
func (x *PermanentPrivacyUpgradeAction) GetActionId() uint32
func (*PermanentPrivacyUpgradeAction) ProtoMessage ¶
func (*PermanentPrivacyUpgradeAction) ProtoMessage()
func (*PermanentPrivacyUpgradeAction) ProtoReflect ¶
func (x *PermanentPrivacyUpgradeAction) ProtoReflect() protoreflect.Message
func (*PermanentPrivacyUpgradeAction) Reset ¶
func (x *PermanentPrivacyUpgradeAction) Reset()
func (*PermanentPrivacyUpgradeAction) String ¶
func (x *PermanentPrivacyUpgradeAction) String() string
func (*PermanentPrivacyUpgradeAction) Validate ¶
func (m *PermanentPrivacyUpgradeAction) Validate() error
Validate checks the field values on PermanentPrivacyUpgradeAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermanentPrivacyUpgradeActionValidationError ¶
type PermanentPrivacyUpgradeActionValidationError struct {
// contains filtered or unexported fields
}
PermanentPrivacyUpgradeActionValidationError is the validation error returned by PermanentPrivacyUpgradeAction.Validate if the designated constraints aren't met.
func (PermanentPrivacyUpgradeActionValidationError) Cause ¶
func (e PermanentPrivacyUpgradeActionValidationError) Cause() error
Cause function returns cause value.
func (PermanentPrivacyUpgradeActionValidationError) Error ¶
func (e PermanentPrivacyUpgradeActionValidationError) Error() string
Error satisfies the builtin error interface
func (PermanentPrivacyUpgradeActionValidationError) ErrorName ¶
func (e PermanentPrivacyUpgradeActionValidationError) ErrorName() string
ErrorName returns error name.
func (PermanentPrivacyUpgradeActionValidationError) Field ¶
func (e PermanentPrivacyUpgradeActionValidationError) Field() string
Field function returns field value.
func (PermanentPrivacyUpgradeActionValidationError) Key ¶
func (e PermanentPrivacyUpgradeActionValidationError) Key() bool
Key function returns key value.
func (PermanentPrivacyUpgradeActionValidationError) Reason ¶
func (e PermanentPrivacyUpgradeActionValidationError) Reason() string
Reason function returns reason value.
type PermanentPrivacyUpgradeServerParameter ¶
type PermanentPrivacyUpgradeServerParameter struct { // The new commitment that is being paid NewCommitment *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=new_commitment,json=newCommitment,proto3" json:"new_commitment,omitempty"` // The new commitment account's transcript. This is purely needed by client // to validate merkle_root with commitment PDA logic. NewCommitmentTranscript *v1.Hash `` /* 132-byte string literal not displayed */ // The new commitment account's destination. This is purely needed by client // to validate merkle_root with commitment PDA logic. NewCommitmentDestination *v1.SolanaAccountId `` /* 135-byte string literal not displayed */ // The new commitment account's payment amount. This is purely needed by client // to validate merkle_root with commitment PDA logic. NewCommitmentAmount uint64 `protobuf:"varint,4,opt,name=new_commitment_amount,json=newCommitmentAmount,proto3" json:"new_commitment_amount,omitempty"` // The merkle root, which was the recent root used in the new commitment account MerkleRoot *v1.Hash `protobuf:"bytes,5,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"` // The merkle proof that validates the original commitment occurred prior to // the new commitment server is asking client to pay MerkleProof []*v1.Hash `protobuf:"bytes,6,rep,name=merkle_proof,json=merkleProof,proto3" json:"merkle_proof,omitempty"` // contains filtered or unexported fields }
func (*PermanentPrivacyUpgradeServerParameter) Descriptor
deprecated
func (*PermanentPrivacyUpgradeServerParameter) Descriptor() ([]byte, []int)
Deprecated: Use PermanentPrivacyUpgradeServerParameter.ProtoReflect.Descriptor instead.
func (*PermanentPrivacyUpgradeServerParameter) GetMerkleProof ¶
func (x *PermanentPrivacyUpgradeServerParameter) GetMerkleProof() []*v1.Hash
func (*PermanentPrivacyUpgradeServerParameter) GetMerkleRoot ¶
func (x *PermanentPrivacyUpgradeServerParameter) GetMerkleRoot() *v1.Hash
func (*PermanentPrivacyUpgradeServerParameter) GetNewCommitment ¶
func (x *PermanentPrivacyUpgradeServerParameter) GetNewCommitment() *v1.SolanaAccountId
func (*PermanentPrivacyUpgradeServerParameter) GetNewCommitmentAmount ¶
func (x *PermanentPrivacyUpgradeServerParameter) GetNewCommitmentAmount() uint64
func (*PermanentPrivacyUpgradeServerParameter) GetNewCommitmentDestination ¶
func (x *PermanentPrivacyUpgradeServerParameter) GetNewCommitmentDestination() *v1.SolanaAccountId
func (*PermanentPrivacyUpgradeServerParameter) GetNewCommitmentTranscript ¶
func (x *PermanentPrivacyUpgradeServerParameter) GetNewCommitmentTranscript() *v1.Hash
func (*PermanentPrivacyUpgradeServerParameter) ProtoMessage ¶
func (*PermanentPrivacyUpgradeServerParameter) ProtoMessage()
func (*PermanentPrivacyUpgradeServerParameter) ProtoReflect ¶
func (x *PermanentPrivacyUpgradeServerParameter) ProtoReflect() protoreflect.Message
func (*PermanentPrivacyUpgradeServerParameter) Reset ¶
func (x *PermanentPrivacyUpgradeServerParameter) Reset()
func (*PermanentPrivacyUpgradeServerParameter) String ¶
func (x *PermanentPrivacyUpgradeServerParameter) String() string
func (*PermanentPrivacyUpgradeServerParameter) Validate ¶
func (m *PermanentPrivacyUpgradeServerParameter) Validate() error
Validate checks the field values on PermanentPrivacyUpgradeServerParameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PermanentPrivacyUpgradeServerParameterValidationError ¶
type PermanentPrivacyUpgradeServerParameterValidationError struct {
// contains filtered or unexported fields
}
PermanentPrivacyUpgradeServerParameterValidationError is the validation error returned by PermanentPrivacyUpgradeServerParameter.Validate if the designated constraints aren't met.
func (PermanentPrivacyUpgradeServerParameterValidationError) Cause ¶
func (e PermanentPrivacyUpgradeServerParameterValidationError) Cause() error
Cause function returns cause value.
func (PermanentPrivacyUpgradeServerParameterValidationError) Error ¶
func (e PermanentPrivacyUpgradeServerParameterValidationError) Error() string
Error satisfies the builtin error interface
func (PermanentPrivacyUpgradeServerParameterValidationError) ErrorName ¶
func (e PermanentPrivacyUpgradeServerParameterValidationError) ErrorName() string
ErrorName returns error name.
func (PermanentPrivacyUpgradeServerParameterValidationError) Field ¶
func (e PermanentPrivacyUpgradeServerParameterValidationError) Field() string
Field function returns field value.
func (PermanentPrivacyUpgradeServerParameterValidationError) Key ¶
func (e PermanentPrivacyUpgradeServerParameterValidationError) Key() bool
Key function returns key value.
func (PermanentPrivacyUpgradeServerParameterValidationError) Reason ¶
func (e PermanentPrivacyUpgradeServerParameterValidationError) Reason() string
Reason function returns reason value.
type ReasonStringErrorDetails ¶
type ReasonStringErrorDetails struct { // Human readable string indicating the failure. Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ReasonStringErrorDetails) Descriptor
deprecated
func (*ReasonStringErrorDetails) Descriptor() ([]byte, []int)
Deprecated: Use ReasonStringErrorDetails.ProtoReflect.Descriptor instead.
func (*ReasonStringErrorDetails) GetReason ¶
func (x *ReasonStringErrorDetails) GetReason() string
func (*ReasonStringErrorDetails) ProtoMessage ¶
func (*ReasonStringErrorDetails) ProtoMessage()
func (*ReasonStringErrorDetails) ProtoReflect ¶
func (x *ReasonStringErrorDetails) ProtoReflect() protoreflect.Message
func (*ReasonStringErrorDetails) Reset ¶
func (x *ReasonStringErrorDetails) Reset()
func (*ReasonStringErrorDetails) String ¶
func (x *ReasonStringErrorDetails) String() string
func (*ReasonStringErrorDetails) Validate ¶
func (m *ReasonStringErrorDetails) Validate() error
Validate checks the field values on ReasonStringErrorDetails with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReasonStringErrorDetailsValidationError ¶
type ReasonStringErrorDetailsValidationError struct {
// contains filtered or unexported fields
}
ReasonStringErrorDetailsValidationError is the validation error returned by ReasonStringErrorDetails.Validate if the designated constraints aren't met.
func (ReasonStringErrorDetailsValidationError) Cause ¶
func (e ReasonStringErrorDetailsValidationError) Cause() error
Cause function returns cause value.
func (ReasonStringErrorDetailsValidationError) Error ¶
func (e ReasonStringErrorDetailsValidationError) Error() string
Error satisfies the builtin error interface
func (ReasonStringErrorDetailsValidationError) ErrorName ¶
func (e ReasonStringErrorDetailsValidationError) ErrorName() string
ErrorName returns error name.
func (ReasonStringErrorDetailsValidationError) Field ¶
func (e ReasonStringErrorDetailsValidationError) Field() string
Field function returns field value.
func (ReasonStringErrorDetailsValidationError) Key ¶
func (e ReasonStringErrorDetailsValidationError) Key() bool
Key function returns key value.
func (ReasonStringErrorDetailsValidationError) Reason ¶
func (e ReasonStringErrorDetailsValidationError) Reason() string
Reason function returns reason value.
type ReceivePaymentsPrivatelyMetadata ¶
type ReceivePaymentsPrivatelyMetadata struct { // The temporary incoming, primary or relationship account to receive funds from Source *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // The exact amount of Kin in quarks being received Quarks uint64 `protobuf:"varint,2,opt,name=quarks,proto3" json:"quarks,omitempty"` // Is the receipt of funds from a deposit? If true, the source account must // be a primary or relationship account. Otherwise, it must be from a temporary // incoming account. IsDeposit bool `protobuf:"varint,3,opt,name=is_deposit,json=isDeposit,proto3" json:"is_deposit,omitempty"` // contains filtered or unexported fields }
Receive funds into an organizer with initial temporary privacy. Clients should also reorganize their bucket accounts and rotate their temporary incoming account as applicable. Only accounts owned and derived by a user's 12 words should operate as a source in this intent type to guarantee privacy upgradeability.
Action Spec (Payment):
actions = [
// Section 1: Transfer Quarks from TEMPORARY_INCOMING account to BUCKET_X_KIN accounts with reorganizations TemporaryPrivacyTransferAction(TEMPORARY_INCOMING[index], BUCKET_X_KIN, multiple * bucketSize), TemporaryPrivacyExchangeAction(BUCKET_X_KIN, BUCKET_X_KIN, multiple * bucketSize), ..., TemporaryPrivacyTransferAction(TEMPORARY_INCOMING[index], BUCKET_X_KIN, multiple * bucketSize), TemporaryPrivacyExchangeAction(BUCKET_X_KIN, BUCKET_X_KIN, multiple * bucketSize), // Section 2: Rotate TEMPORARY_INCOMING account // Below must appear last in this exact order CloseEmptyAccountAction(TEMPORARY_INCOMING[index]), OpenAccountAction(TEMPORARY_INCOMING[index + 1]) CloseDormantAccount(TEMPORARY_INCOMING[index + 1]),
]
Action Spec (Deposit):
source = PRIMARY or RELATIONSHIP actions = [
TemporaryPrivacyTransferAction(source, BUCKET_X_KIN, multiple * bucketSize), TemporaryPrivacyExchangeAction(BUCKET_X_KIN, BUCKET_X_KIN, multiple * bucketSize), ..., TemporaryPrivacyTransferAction(source, BUCKET_X_KIN, multiple * bucketSize), TemporaryPrivacyExchangeAction(BUCKET_X_KIN, BUCKET_X_KIN, multiple * bucketSize),
]
func (*ReceivePaymentsPrivatelyMetadata) Descriptor
deprecated
func (*ReceivePaymentsPrivatelyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ReceivePaymentsPrivatelyMetadata.ProtoReflect.Descriptor instead.
func (*ReceivePaymentsPrivatelyMetadata) GetIsDeposit ¶
func (x *ReceivePaymentsPrivatelyMetadata) GetIsDeposit() bool
func (*ReceivePaymentsPrivatelyMetadata) GetQuarks ¶
func (x *ReceivePaymentsPrivatelyMetadata) GetQuarks() uint64
func (*ReceivePaymentsPrivatelyMetadata) GetSource ¶
func (x *ReceivePaymentsPrivatelyMetadata) GetSource() *v1.SolanaAccountId
func (*ReceivePaymentsPrivatelyMetadata) ProtoMessage ¶
func (*ReceivePaymentsPrivatelyMetadata) ProtoMessage()
func (*ReceivePaymentsPrivatelyMetadata) ProtoReflect ¶
func (x *ReceivePaymentsPrivatelyMetadata) ProtoReflect() protoreflect.Message
func (*ReceivePaymentsPrivatelyMetadata) Reset ¶
func (x *ReceivePaymentsPrivatelyMetadata) Reset()
func (*ReceivePaymentsPrivatelyMetadata) String ¶
func (x *ReceivePaymentsPrivatelyMetadata) String() string
func (*ReceivePaymentsPrivatelyMetadata) Validate ¶
func (m *ReceivePaymentsPrivatelyMetadata) Validate() error
Validate checks the field values on ReceivePaymentsPrivatelyMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReceivePaymentsPrivatelyMetadataValidationError ¶
type ReceivePaymentsPrivatelyMetadataValidationError struct {
// contains filtered or unexported fields
}
ReceivePaymentsPrivatelyMetadataValidationError is the validation error returned by ReceivePaymentsPrivatelyMetadata.Validate if the designated constraints aren't met.
func (ReceivePaymentsPrivatelyMetadataValidationError) Cause ¶
func (e ReceivePaymentsPrivatelyMetadataValidationError) Cause() error
Cause function returns cause value.
func (ReceivePaymentsPrivatelyMetadataValidationError) Error ¶
func (e ReceivePaymentsPrivatelyMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (ReceivePaymentsPrivatelyMetadataValidationError) ErrorName ¶
func (e ReceivePaymentsPrivatelyMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (ReceivePaymentsPrivatelyMetadataValidationError) Field ¶
func (e ReceivePaymentsPrivatelyMetadataValidationError) Field() string
Field function returns field value.
func (ReceivePaymentsPrivatelyMetadataValidationError) Key ¶
func (e ReceivePaymentsPrivatelyMetadataValidationError) Key() bool
Key function returns key value.
func (ReceivePaymentsPrivatelyMetadataValidationError) Reason ¶
func (e ReceivePaymentsPrivatelyMetadataValidationError) Reason() string
Reason function returns reason value.
type ReceivePaymentsPubliclyMetadata ¶
type ReceivePaymentsPubliclyMetadata struct { // The remote send gift card to receive funds from Source *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // The exact amount of Kin in quarks being received Quarks uint64 `protobuf:"varint,2,opt,name=quarks,proto3" json:"quarks,omitempty"` // Is the receipt of funds from a remote send gift card? Currently, this is // the only use case for this intent and validation enforces the flag to true. IsRemoteSend bool `protobuf:"varint,3,opt,name=is_remote_send,json=isRemoteSend,proto3" json:"is_remote_send,omitempty"` // If is_remote_send is true, is the gift card being voided? The user owner // account's 12 words that issued the gift card may only set this flag to true. // Functionally, this doesn't affect the intent, but rather if we decide to show // it in a user-friendly payment history. IsIssuerVoidingGiftCard bool `` /* 137-byte string literal not displayed */ // If is_remote_send is true, the original exchange data that was provided as // part of creating the gift card account. This is purely a server-provided value. // SubmitIntent will disallow this being set. ExchangeData *ExchangeData `protobuf:"bytes,5,opt,name=exchange_data,json=exchangeData,proto3" json:"exchange_data,omitempty"` // contains filtered or unexported fields }
Receive funds into a user-owned account publicly. All use cases of this intent close the account, so all funds must be moved. Use this intent to receive payments from an account not owned by a user's 12 words into a temporary incoming account, which will guarantee privacy upgradeability.
Action Spec (Remote Send):
actions = [NoPrivacyWithdrawAction(REMOTE_SEND_GIFT_CARD, TEMPORARY_INCOMING[latest_index], quarks)]
func (*ReceivePaymentsPubliclyMetadata) Descriptor
deprecated
func (*ReceivePaymentsPubliclyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ReceivePaymentsPubliclyMetadata.ProtoReflect.Descriptor instead.
func (*ReceivePaymentsPubliclyMetadata) GetExchangeData ¶
func (x *ReceivePaymentsPubliclyMetadata) GetExchangeData() *ExchangeData
func (*ReceivePaymentsPubliclyMetadata) GetIsIssuerVoidingGiftCard ¶
func (x *ReceivePaymentsPubliclyMetadata) GetIsIssuerVoidingGiftCard() bool
func (*ReceivePaymentsPubliclyMetadata) GetIsRemoteSend ¶
func (x *ReceivePaymentsPubliclyMetadata) GetIsRemoteSend() bool
func (*ReceivePaymentsPubliclyMetadata) GetQuarks ¶
func (x *ReceivePaymentsPubliclyMetadata) GetQuarks() uint64
func (*ReceivePaymentsPubliclyMetadata) GetSource ¶
func (x *ReceivePaymentsPubliclyMetadata) GetSource() *v1.SolanaAccountId
func (*ReceivePaymentsPubliclyMetadata) ProtoMessage ¶
func (*ReceivePaymentsPubliclyMetadata) ProtoMessage()
func (*ReceivePaymentsPubliclyMetadata) ProtoReflect ¶
func (x *ReceivePaymentsPubliclyMetadata) ProtoReflect() protoreflect.Message
func (*ReceivePaymentsPubliclyMetadata) Reset ¶
func (x *ReceivePaymentsPubliclyMetadata) Reset()
func (*ReceivePaymentsPubliclyMetadata) String ¶
func (x *ReceivePaymentsPubliclyMetadata) String() string
func (*ReceivePaymentsPubliclyMetadata) Validate ¶
func (m *ReceivePaymentsPubliclyMetadata) Validate() error
Validate checks the field values on ReceivePaymentsPubliclyMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReceivePaymentsPubliclyMetadataValidationError ¶
type ReceivePaymentsPubliclyMetadataValidationError struct {
// contains filtered or unexported fields
}
ReceivePaymentsPubliclyMetadataValidationError is the validation error returned by ReceivePaymentsPubliclyMetadata.Validate if the designated constraints aren't met.
func (ReceivePaymentsPubliclyMetadataValidationError) Cause ¶
func (e ReceivePaymentsPubliclyMetadataValidationError) Cause() error
Cause function returns cause value.
func (ReceivePaymentsPubliclyMetadataValidationError) Error ¶
func (e ReceivePaymentsPubliclyMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (ReceivePaymentsPubliclyMetadataValidationError) ErrorName ¶
func (e ReceivePaymentsPubliclyMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (ReceivePaymentsPubliclyMetadataValidationError) Field ¶
func (e ReceivePaymentsPubliclyMetadataValidationError) Field() string
Field function returns field value.
func (ReceivePaymentsPubliclyMetadataValidationError) Key ¶
func (e ReceivePaymentsPubliclyMetadataValidationError) Key() bool
Key function returns key value.
func (ReceivePaymentsPubliclyMetadataValidationError) Reason ¶
func (e ReceivePaymentsPubliclyMetadataValidationError) Reason() string
Reason function returns reason value.
type SendLimit ¶ added in v1.11.0
type SendLimit struct { // Remaining limit to apply on the next transaction NextTransaction float32 `protobuf:"fixed32,1,opt,name=next_transaction,json=nextTransaction,proto3" json:"next_transaction,omitempty"` // Maximum allowed on a per-transaction basis MaxPerTransaction float32 `protobuf:"fixed32,2,opt,name=max_per_transaction,json=maxPerTransaction,proto3" json:"max_per_transaction,omitempty"` // Maximum allowed on a per-day basis MaxPerDay float32 `protobuf:"fixed32,3,opt,name=max_per_day,json=maxPerDay,proto3" json:"max_per_day,omitempty"` // contains filtered or unexported fields }
func (*SendLimit) Descriptor
deprecated
added in
v1.11.0
func (*SendLimit) GetMaxPerDay ¶ added in v1.11.0
func (*SendLimit) GetMaxPerTransaction ¶ added in v1.11.0
func (*SendLimit) GetNextTransaction ¶ added in v1.11.0
func (*SendLimit) ProtoMessage ¶ added in v1.11.0
func (*SendLimit) ProtoMessage()
func (*SendLimit) ProtoReflect ¶ added in v1.11.0
func (x *SendLimit) ProtoReflect() protoreflect.Message
type SendLimitValidationError ¶ added in v1.11.0
type SendLimitValidationError struct {
// contains filtered or unexported fields
}
SendLimitValidationError is the validation error returned by SendLimit.Validate if the designated constraints aren't met.
func (SendLimitValidationError) Cause ¶ added in v1.11.0
func (e SendLimitValidationError) Cause() error
Cause function returns cause value.
func (SendLimitValidationError) Error ¶ added in v1.11.0
func (e SendLimitValidationError) Error() string
Error satisfies the builtin error interface
func (SendLimitValidationError) ErrorName ¶ added in v1.11.0
func (e SendLimitValidationError) ErrorName() string
ErrorName returns error name.
func (SendLimitValidationError) Field ¶ added in v1.11.0
func (e SendLimitValidationError) Field() string
Field function returns field value.
func (SendLimitValidationError) Key ¶ added in v1.11.0
func (e SendLimitValidationError) Key() bool
Key function returns key value.
func (SendLimitValidationError) Reason ¶ added in v1.11.0
func (e SendLimitValidationError) Reason() string
Reason function returns reason value.
type SendPrivatePaymentMetadata ¶
type SendPrivatePaymentMetadata struct { // The destination token account to send funds to Destination *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` // The exchange data of total funds being sent to the destination ExchangeData *ExchangeData `protobuf:"bytes,2,opt,name=exchange_data,json=exchangeData,proto3" json:"exchange_data,omitempty"` // Is the payment a withdrawal? For destinations that are not Code temporary // accounts, this must be set to true. IsWithdrawal bool `protobuf:"varint,3,opt,name=is_withdrawal,json=isWithdrawal,proto3" json:"is_withdrawal,omitempty"` // Is the payment for a remote send? IsRemoteSend bool `protobuf:"varint,4,opt,name=is_remote_send,json=isRemoteSend,proto3" json:"is_remote_send,omitempty"` // Is the payment for a tip? IsTip bool `protobuf:"varint,5,opt,name=is_tip,json=isTip,proto3" json:"is_tip,omitempty"` // If is_tip is true, the user being tipped TippedUser *TippedUser `protobuf:"bytes,6,opt,name=tipped_user,json=tippedUser,proto3" json:"tipped_user,omitempty"` // Is the payment for a chat? IsChat bool `protobuf:"varint,7,opt,name=is_chat,json=isChat,proto3" json:"is_chat,omitempty"` // If is_chat is true, the chat being paid for. ChatId *v1.ChatId `protobuf:"bytes,8,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` // contains filtered or unexported fields }
Sends a payment to a destination account with initial temporary privacy. Clients should also reorganize their bucket accounts and rotate their temporary outgoing account.
Action Spec (In Person Cash Payment or Withdrawal or Tip):
actions = [
// Section 1: Transfer ExchangeData.Quarks from BUCKET_X_KIN accounts to TEMPORARY_OUTGOING account with reogranizations TemporaryPrivacyExchangeAction(BUCKET_X_KIN, BUCKET_X_KIN, multiple * bucketSize), TemporaryPrivacyTransferAction(BUCKET_X_KIN, TEMPORARY_OUTGOING[index], multiple * bucketSize), ..., TemporaryPrivacyExchangeAction(BUCKET_X_KIN, BUCKET_X_KIN, multiple * bucketSize), TemporaryPrivacyTransferAction(BUCKET_X_KIN, TEMPORARY_OUTGOING[index], multiple * bucketSize), // Section 2: Rotate TEMPORARY_OUTGOING account // Below must appear last in this exact order NoPrivacyWithdrawAction(TEMPORARY_OUTGOING[index], destination, ExchangeData.Quarks), OpenAccountAction(TEMPORARY_OUTGOING[index + 1]), CloseDormantAccount(TEMPORARY_OUTGOING[index + 1]),
]
Action Spec (Remote Send):
actions = [
// Section 1: Open REMOTE_SEND_GIFT_CARD account OpenAccountAction(REMOTE_SEND_GIFT_CARD), // Section 2: Transfer ExchangeData.Quarks from BUCKET_X_KIN accounts to TEMPORARY_OUTGOING account with reogranizations TemporaryPrivacyExchangeAction(BUCKET_X_KIN, BUCKET_X_KIN, multiple * bucketSize), TemporaryPrivacyTransferAction(BUCKET_X_KIN, TEMPORARY_OUTGOING[index], multiple * bucketSize), ..., TemporaryPrivacyExchangeAction(BUCKET_X_KIN, BUCKET_X_KIN, multiple * bucketSize), TemporaryPrivacyTransferAction(BUCKET_X_KIN, TEMPORARY_OUTGOING[index], multiple * bucketSize), // Section 3: Rotate TEMPORARY_OUTGOING account // Below must appear last in this exact order NoPrivacyWithdrawAction(TEMPORARY_OUTGOING[index], REMOTE_SEND_GIFT_CARD, ExchangeData.Quarks), OpenAccountAction(TEMPORARY_OUTGOING[index + 1]), CloseDormantAccount(TEMPORARY_OUTGOING[index + 1]), // Section 4: Close REMOTE_SEND_GIFT_CARD if not redeemed after period of time CloseDormantAccount(REMOTE_SEND_GIFT_CARD),
Action Spec (Micro Payment):
actions = [
// Section 1: Transfer ExchangeData.Quarks from BUCKET_X_KIN accounts to TEMPORARY_OUTGOING account with reogranizations TemporaryPrivacyExchangeAction(BUCKET_X_KIN, BUCKET_X_KIN, multiple * bucketSize), TemporaryPrivacyTransferAction(BUCKET_X_KIN, TEMPORARY_OUTGOING[index], multiple * bucketSize), ..., TemporaryPrivacyExchangeAction(BUCKET_X_KIN, BUCKET_X_KIN, multiple * bucketSize), TemporaryPrivacyTransferAction(BUCKET_X_KIN, TEMPORARY_OUTGOING[index], multiple * bucketSize), // Section 2: Fee payments // Hard-coded Code $0.01 USD fee to a dynamic fee account FeePayment(TEMPORARY_OUTGOING[index], codeFeeAccount, $0.01 USD of Kin), // Additional fees, exactly as specified in the original payment request FeePayment(TEMPORARY_OUTGOING[index], additionalFeeAccount0, additionalFeeQuarks0), ... FeePayment(TEMPORARY_OUTGOING[index], additionalFeeAccountN, additionalFeeQuarksN), // Section 3: Rotate TEMPORARY_OUTGOING account // Below must appear last in this exact order NoPrivacyWithdrawAction(TEMPORARY_OUTGOING[index], destination, ExchangeData.Quarks - $0.01 USD of Kin - additionalFeeQuarks0 - ... - additionalFeeQuarksN), OpenAccountAction(TEMPORARY_OUTGOING[index + 1]), CloseDormantAccount(TEMPORARY_OUTGOING[index + 1]),
]
func (*SendPrivatePaymentMetadata) Descriptor
deprecated
func (*SendPrivatePaymentMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SendPrivatePaymentMetadata.ProtoReflect.Descriptor instead.
func (*SendPrivatePaymentMetadata) GetChatId ¶ added in v1.19.0
func (x *SendPrivatePaymentMetadata) GetChatId() *v1.ChatId
func (*SendPrivatePaymentMetadata) GetDestination ¶
func (x *SendPrivatePaymentMetadata) GetDestination() *v1.SolanaAccountId
func (*SendPrivatePaymentMetadata) GetExchangeData ¶
func (x *SendPrivatePaymentMetadata) GetExchangeData() *ExchangeData
func (*SendPrivatePaymentMetadata) GetIsChat ¶ added in v1.19.0
func (x *SendPrivatePaymentMetadata) GetIsChat() bool
func (*SendPrivatePaymentMetadata) GetIsRemoteSend ¶
func (x *SendPrivatePaymentMetadata) GetIsRemoteSend() bool
func (*SendPrivatePaymentMetadata) GetIsTip ¶ added in v1.15.0
func (x *SendPrivatePaymentMetadata) GetIsTip() bool
func (*SendPrivatePaymentMetadata) GetIsWithdrawal ¶
func (x *SendPrivatePaymentMetadata) GetIsWithdrawal() bool
func (*SendPrivatePaymentMetadata) GetTippedUser ¶ added in v1.16.0
func (x *SendPrivatePaymentMetadata) GetTippedUser() *TippedUser
func (*SendPrivatePaymentMetadata) ProtoMessage ¶
func (*SendPrivatePaymentMetadata) ProtoMessage()
func (*SendPrivatePaymentMetadata) ProtoReflect ¶
func (x *SendPrivatePaymentMetadata) ProtoReflect() protoreflect.Message
func (*SendPrivatePaymentMetadata) Reset ¶
func (x *SendPrivatePaymentMetadata) Reset()
func (*SendPrivatePaymentMetadata) String ¶
func (x *SendPrivatePaymentMetadata) String() string
func (*SendPrivatePaymentMetadata) Validate ¶
func (m *SendPrivatePaymentMetadata) Validate() error
Validate checks the field values on SendPrivatePaymentMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SendPrivatePaymentMetadataValidationError ¶
type SendPrivatePaymentMetadataValidationError struct {
// contains filtered or unexported fields
}
SendPrivatePaymentMetadataValidationError is the validation error returned by SendPrivatePaymentMetadata.Validate if the designated constraints aren't met.
func (SendPrivatePaymentMetadataValidationError) Cause ¶
func (e SendPrivatePaymentMetadataValidationError) Cause() error
Cause function returns cause value.
func (SendPrivatePaymentMetadataValidationError) Error ¶
func (e SendPrivatePaymentMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SendPrivatePaymentMetadataValidationError) ErrorName ¶
func (e SendPrivatePaymentMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SendPrivatePaymentMetadataValidationError) Field ¶
func (e SendPrivatePaymentMetadataValidationError) Field() string
Field function returns field value.
func (SendPrivatePaymentMetadataValidationError) Key ¶
func (e SendPrivatePaymentMetadataValidationError) Key() bool
Key function returns key value.
func (SendPrivatePaymentMetadataValidationError) Reason ¶
func (e SendPrivatePaymentMetadataValidationError) Reason() string
Reason function returns reason value.
type SendPublicPaymentMetadata ¶
type SendPublicPaymentMetadata struct { // The primary or relatinship account where funds will be sent from. The primary // account is assumed if this field is not set for backwards compatibility with // old clients. Source *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // The destination token account to send funds to. This cannot be a Code // temporary account. Destination *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` // The exchange data of total funds being sent to the destination ExchangeData *ExchangeData `protobuf:"bytes,2,opt,name=exchange_data,json=exchangeData,proto3" json:"exchange_data,omitempty"` // Is the payment a withdrawal? Currently, this is always true. IsWithdrawal bool `protobuf:"varint,3,opt,name=is_withdrawal,json=isWithdrawal,proto3" json:"is_withdrawal,omitempty"` // contains filtered or unexported fields }
Send a payment to a destination account publicly.
Action Spec:
source = PRIMARY or RELATIONSHIP actions = [NoPrivacyTransferAction(source, destination, ExchangeData.Quarks)]
func (*SendPublicPaymentMetadata) Descriptor
deprecated
func (*SendPublicPaymentMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SendPublicPaymentMetadata.ProtoReflect.Descriptor instead.
func (*SendPublicPaymentMetadata) GetDestination ¶
func (x *SendPublicPaymentMetadata) GetDestination() *v1.SolanaAccountId
func (*SendPublicPaymentMetadata) GetExchangeData ¶
func (x *SendPublicPaymentMetadata) GetExchangeData() *ExchangeData
func (*SendPublicPaymentMetadata) GetIsWithdrawal ¶
func (x *SendPublicPaymentMetadata) GetIsWithdrawal() bool
func (*SendPublicPaymentMetadata) GetSource ¶ added in v1.4.0
func (x *SendPublicPaymentMetadata) GetSource() *v1.SolanaAccountId
func (*SendPublicPaymentMetadata) ProtoMessage ¶
func (*SendPublicPaymentMetadata) ProtoMessage()
func (*SendPublicPaymentMetadata) ProtoReflect ¶
func (x *SendPublicPaymentMetadata) ProtoReflect() protoreflect.Message
func (*SendPublicPaymentMetadata) Reset ¶
func (x *SendPublicPaymentMetadata) Reset()
func (*SendPublicPaymentMetadata) String ¶
func (x *SendPublicPaymentMetadata) String() string
func (*SendPublicPaymentMetadata) Validate ¶
func (m *SendPublicPaymentMetadata) Validate() error
Validate checks the field values on SendPublicPaymentMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SendPublicPaymentMetadataValidationError ¶
type SendPublicPaymentMetadataValidationError struct {
// contains filtered or unexported fields
}
SendPublicPaymentMetadataValidationError is the validation error returned by SendPublicPaymentMetadata.Validate if the designated constraints aren't met.
func (SendPublicPaymentMetadataValidationError) Cause ¶
func (e SendPublicPaymentMetadataValidationError) Cause() error
Cause function returns cause value.
func (SendPublicPaymentMetadataValidationError) Error ¶
func (e SendPublicPaymentMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (SendPublicPaymentMetadataValidationError) ErrorName ¶
func (e SendPublicPaymentMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (SendPublicPaymentMetadataValidationError) Field ¶
func (e SendPublicPaymentMetadataValidationError) Field() string
Field function returns field value.
func (SendPublicPaymentMetadataValidationError) Key ¶
func (e SendPublicPaymentMetadataValidationError) Key() bool
Key function returns key value.
func (SendPublicPaymentMetadataValidationError) Reason ¶
func (e SendPublicPaymentMetadataValidationError) Reason() string
Reason function returns reason value.
type ServerParameter ¶
type ServerParameter struct { // The action the server parameters belong to ActionId uint32 `protobuf:"varint,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // The set of nonces used for the action. Server will only provide values // for transactions requiring client signatures. Nonces []*NoncedTransactionMetadata `protobuf:"bytes,2,rep,name=nonces,proto3" json:"nonces,omitempty"` // The type of server parameter which maps to the type of action requested // // Types that are assignable to Type: // // *ServerParameter_OpenAccount // *ServerParameter_CloseEmptyAccount // *ServerParameter_CloseDormantAccount // *ServerParameter_NoPrivacyTransfer // *ServerParameter_NoPrivacyWithdraw // *ServerParameter_TemporaryPrivacyTransfer // *ServerParameter_TemporaryPrivacyExchange // *ServerParameter_PermanentPrivacyUpgrade // *ServerParameter_FeePayment Type isServerParameter_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
ServerParameter are a set of parameters known and returned by server that enables clients to complete transaction construction. Any necessary proofs, which are required to be locally verifiable, are also provided to ensure safe use in the event of a malicious server.
func (*ServerParameter) Descriptor
deprecated
func (*ServerParameter) Descriptor() ([]byte, []int)
Deprecated: Use ServerParameter.ProtoReflect.Descriptor instead.
func (*ServerParameter) GetActionId ¶
func (x *ServerParameter) GetActionId() uint32
func (*ServerParameter) GetCloseDormantAccount ¶
func (x *ServerParameter) GetCloseDormantAccount() *CloseDormantAccountServerParameter
func (*ServerParameter) GetCloseEmptyAccount ¶
func (x *ServerParameter) GetCloseEmptyAccount() *CloseEmptyAccountServerParameter
func (*ServerParameter) GetFeePayment ¶
func (x *ServerParameter) GetFeePayment() *FeePaymentServerParameter
func (*ServerParameter) GetNoPrivacyTransfer ¶
func (x *ServerParameter) GetNoPrivacyTransfer() *NoPrivacyTransferServerParameter
func (*ServerParameter) GetNoPrivacyWithdraw ¶
func (x *ServerParameter) GetNoPrivacyWithdraw() *NoPrivacyWithdrawServerParameter
func (*ServerParameter) GetNonces ¶
func (x *ServerParameter) GetNonces() []*NoncedTransactionMetadata
func (*ServerParameter) GetOpenAccount ¶
func (x *ServerParameter) GetOpenAccount() *OpenAccountServerParameter
func (*ServerParameter) GetPermanentPrivacyUpgrade ¶
func (x *ServerParameter) GetPermanentPrivacyUpgrade() *PermanentPrivacyUpgradeServerParameter
func (*ServerParameter) GetTemporaryPrivacyExchange ¶
func (x *ServerParameter) GetTemporaryPrivacyExchange() *TemporaryPrivacyExchangeServerParameter
func (*ServerParameter) GetTemporaryPrivacyTransfer ¶
func (x *ServerParameter) GetTemporaryPrivacyTransfer() *TemporaryPrivacyTransferServerParameter
func (*ServerParameter) GetType ¶
func (m *ServerParameter) GetType() isServerParameter_Type
func (*ServerParameter) ProtoMessage ¶
func (*ServerParameter) ProtoMessage()
func (*ServerParameter) ProtoReflect ¶
func (x *ServerParameter) ProtoReflect() protoreflect.Message
func (*ServerParameter) Reset ¶
func (x *ServerParameter) Reset()
func (*ServerParameter) String ¶
func (x *ServerParameter) String() string
func (*ServerParameter) Validate ¶
func (m *ServerParameter) Validate() error
Validate checks the field values on ServerParameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ServerParameterValidationError ¶
type ServerParameterValidationError struct {
// contains filtered or unexported fields
}
ServerParameterValidationError is the validation error returned by ServerParameter.Validate if the designated constraints aren't met.
func (ServerParameterValidationError) Cause ¶
func (e ServerParameterValidationError) Cause() error
Cause function returns cause value.
func (ServerParameterValidationError) Error ¶
func (e ServerParameterValidationError) Error() string
Error satisfies the builtin error interface
func (ServerParameterValidationError) ErrorName ¶
func (e ServerParameterValidationError) ErrorName() string
ErrorName returns error name.
func (ServerParameterValidationError) Field ¶
func (e ServerParameterValidationError) Field() string
Field function returns field value.
func (ServerParameterValidationError) Key ¶
func (e ServerParameterValidationError) Key() bool
Key function returns key value.
func (ServerParameterValidationError) Reason ¶
func (e ServerParameterValidationError) Reason() string
Reason function returns reason value.
type ServerParameter_CloseDormantAccount ¶
type ServerParameter_CloseDormantAccount struct {
CloseDormantAccount *CloseDormantAccountServerParameter `protobuf:"bytes,5,opt,name=close_dormant_account,json=closeDormantAccount,proto3,oneof"`
}
type ServerParameter_CloseEmptyAccount ¶
type ServerParameter_CloseEmptyAccount struct {
CloseEmptyAccount *CloseEmptyAccountServerParameter `protobuf:"bytes,4,opt,name=close_empty_account,json=closeEmptyAccount,proto3,oneof"`
}
type ServerParameter_FeePayment ¶
type ServerParameter_FeePayment struct {
FeePayment *FeePaymentServerParameter `protobuf:"bytes,11,opt,name=fee_payment,json=feePayment,proto3,oneof"`
}
type ServerParameter_NoPrivacyTransfer ¶
type ServerParameter_NoPrivacyTransfer struct {
NoPrivacyTransfer *NoPrivacyTransferServerParameter `protobuf:"bytes,6,opt,name=no_privacy_transfer,json=noPrivacyTransfer,proto3,oneof"`
}
type ServerParameter_NoPrivacyWithdraw ¶
type ServerParameter_NoPrivacyWithdraw struct {
NoPrivacyWithdraw *NoPrivacyWithdrawServerParameter `protobuf:"bytes,7,opt,name=no_privacy_withdraw,json=noPrivacyWithdraw,proto3,oneof"`
}
type ServerParameter_OpenAccount ¶
type ServerParameter_OpenAccount struct {
OpenAccount *OpenAccountServerParameter `protobuf:"bytes,3,opt,name=open_account,json=openAccount,proto3,oneof"`
}
type ServerParameter_PermanentPrivacyUpgrade ¶
type ServerParameter_PermanentPrivacyUpgrade struct {
PermanentPrivacyUpgrade *PermanentPrivacyUpgradeServerParameter `protobuf:"bytes,10,opt,name=permanent_privacy_upgrade,json=permanentPrivacyUpgrade,proto3,oneof"`
}
type ServerParameter_TemporaryPrivacyExchange ¶
type ServerParameter_TemporaryPrivacyExchange struct {
TemporaryPrivacyExchange *TemporaryPrivacyExchangeServerParameter `protobuf:"bytes,9,opt,name=temporary_privacy_exchange,json=temporaryPrivacyExchange,proto3,oneof"`
}
type ServerParameter_TemporaryPrivacyTransfer ¶
type ServerParameter_TemporaryPrivacyTransfer struct {
TemporaryPrivacyTransfer *TemporaryPrivacyTransferServerParameter `protobuf:"bytes,8,opt,name=temporary_privacy_transfer,json=temporaryPrivacyTransfer,proto3,oneof"`
}
type SubmitIntentRequest ¶
type SubmitIntentRequest struct { // Types that are assignable to Request: // // *SubmitIntentRequest_SubmitActions_ // *SubmitIntentRequest_SubmitSignatures_ Request isSubmitIntentRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*SubmitIntentRequest) Descriptor
deprecated
func (*SubmitIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitIntentRequest.ProtoReflect.Descriptor instead.
func (*SubmitIntentRequest) GetRequest ¶
func (m *SubmitIntentRequest) GetRequest() isSubmitIntentRequest_Request
func (*SubmitIntentRequest) GetSubmitActions ¶
func (x *SubmitIntentRequest) GetSubmitActions() *SubmitIntentRequest_SubmitActions
func (*SubmitIntentRequest) GetSubmitSignatures ¶
func (x *SubmitIntentRequest) GetSubmitSignatures() *SubmitIntentRequest_SubmitSignatures
func (*SubmitIntentRequest) ProtoMessage ¶
func (*SubmitIntentRequest) ProtoMessage()
func (*SubmitIntentRequest) ProtoReflect ¶
func (x *SubmitIntentRequest) ProtoReflect() protoreflect.Message
func (*SubmitIntentRequest) Reset ¶
func (x *SubmitIntentRequest) Reset()
func (*SubmitIntentRequest) String ¶
func (x *SubmitIntentRequest) String() string
func (*SubmitIntentRequest) Validate ¶
func (m *SubmitIntentRequest) Validate() error
Validate checks the field values on SubmitIntentRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SubmitIntentRequestValidationError ¶
type SubmitIntentRequestValidationError struct {
// contains filtered or unexported fields
}
SubmitIntentRequestValidationError is the validation error returned by SubmitIntentRequest.Validate if the designated constraints aren't met.
func (SubmitIntentRequestValidationError) Cause ¶
func (e SubmitIntentRequestValidationError) Cause() error
Cause function returns cause value.
func (SubmitIntentRequestValidationError) Error ¶
func (e SubmitIntentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubmitIntentRequestValidationError) ErrorName ¶
func (e SubmitIntentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubmitIntentRequestValidationError) Field ¶
func (e SubmitIntentRequestValidationError) Field() string
Field function returns field value.
func (SubmitIntentRequestValidationError) Key ¶
func (e SubmitIntentRequestValidationError) Key() bool
Key function returns key value.
func (SubmitIntentRequestValidationError) Reason ¶
func (e SubmitIntentRequestValidationError) Reason() string
Reason function returns reason value.
type SubmitIntentRequest_SubmitActions ¶
type SubmitIntentRequest_SubmitActions struct { // The globally unique client generated intent ID. Use the original intent // ID when operating on actions that mutate the intent. Id *v1.IntentId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The verified owner account public key Owner *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // Additional metadata that describes the high-level intention Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // The set of all ordered actions required to fulfill the intent Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` // The signature is of serialize(SubmitActions) without this field set using the // private key of the owner account. This provides an authentication mechanism // to the RPC. Signature *v1.Signature `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // Device token for antispam measures against fake devices DeviceToken *v1.DeviceToken `protobuf:"bytes,6,opt,name=device_token,json=deviceToken,proto3" json:"device_token,omitempty"` // contains filtered or unexported fields }
func (*SubmitIntentRequest_SubmitActions) Descriptor
deprecated
func (*SubmitIntentRequest_SubmitActions) Descriptor() ([]byte, []int)
Deprecated: Use SubmitIntentRequest_SubmitActions.ProtoReflect.Descriptor instead.
func (*SubmitIntentRequest_SubmitActions) GetActions ¶
func (x *SubmitIntentRequest_SubmitActions) GetActions() []*Action
func (*SubmitIntentRequest_SubmitActions) GetDeviceToken ¶
func (x *SubmitIntentRequest_SubmitActions) GetDeviceToken() *v1.DeviceToken
func (*SubmitIntentRequest_SubmitActions) GetId ¶
func (x *SubmitIntentRequest_SubmitActions) GetId() *v1.IntentId
func (*SubmitIntentRequest_SubmitActions) GetMetadata ¶
func (x *SubmitIntentRequest_SubmitActions) GetMetadata() *Metadata
func (*SubmitIntentRequest_SubmitActions) GetOwner ¶
func (x *SubmitIntentRequest_SubmitActions) GetOwner() *v1.SolanaAccountId
func (*SubmitIntentRequest_SubmitActions) GetSignature ¶
func (x *SubmitIntentRequest_SubmitActions) GetSignature() *v1.Signature
func (*SubmitIntentRequest_SubmitActions) ProtoMessage ¶
func (*SubmitIntentRequest_SubmitActions) ProtoMessage()
func (*SubmitIntentRequest_SubmitActions) ProtoReflect ¶
func (x *SubmitIntentRequest_SubmitActions) ProtoReflect() protoreflect.Message
func (*SubmitIntentRequest_SubmitActions) Reset ¶
func (x *SubmitIntentRequest_SubmitActions) Reset()
func (*SubmitIntentRequest_SubmitActions) String ¶
func (x *SubmitIntentRequest_SubmitActions) String() string
func (*SubmitIntentRequest_SubmitActions) Validate ¶
func (m *SubmitIntentRequest_SubmitActions) Validate() error
Validate checks the field values on SubmitIntentRequest_SubmitActions with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SubmitIntentRequest_SubmitActionsValidationError ¶
type SubmitIntentRequest_SubmitActionsValidationError struct {
// contains filtered or unexported fields
}
SubmitIntentRequest_SubmitActionsValidationError is the validation error returned by SubmitIntentRequest_SubmitActions.Validate if the designated constraints aren't met.
func (SubmitIntentRequest_SubmitActionsValidationError) Cause ¶
func (e SubmitIntentRequest_SubmitActionsValidationError) Cause() error
Cause function returns cause value.
func (SubmitIntentRequest_SubmitActionsValidationError) Error ¶
func (e SubmitIntentRequest_SubmitActionsValidationError) Error() string
Error satisfies the builtin error interface
func (SubmitIntentRequest_SubmitActionsValidationError) ErrorName ¶
func (e SubmitIntentRequest_SubmitActionsValidationError) ErrorName() string
ErrorName returns error name.
func (SubmitIntentRequest_SubmitActionsValidationError) Field ¶
func (e SubmitIntentRequest_SubmitActionsValidationError) Field() string
Field function returns field value.
func (SubmitIntentRequest_SubmitActionsValidationError) Key ¶
func (e SubmitIntentRequest_SubmitActionsValidationError) Key() bool
Key function returns key value.
func (SubmitIntentRequest_SubmitActionsValidationError) Reason ¶
func (e SubmitIntentRequest_SubmitActionsValidationError) Reason() string
Reason function returns reason value.
type SubmitIntentRequest_SubmitActions_ ¶
type SubmitIntentRequest_SubmitActions_ struct {
SubmitActions *SubmitIntentRequest_SubmitActions `protobuf:"bytes,1,opt,name=submit_actions,json=submitActions,proto3,oneof"`
}
type SubmitIntentRequest_SubmitSignatures ¶
type SubmitIntentRequest_SubmitSignatures struct { // The set of all signatures for each transaction requiring signature from the // authority accounts. Signatures []*v1.Signature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
func (*SubmitIntentRequest_SubmitSignatures) Descriptor
deprecated
func (*SubmitIntentRequest_SubmitSignatures) Descriptor() ([]byte, []int)
Deprecated: Use SubmitIntentRequest_SubmitSignatures.ProtoReflect.Descriptor instead.
func (*SubmitIntentRequest_SubmitSignatures) GetSignatures ¶
func (x *SubmitIntentRequest_SubmitSignatures) GetSignatures() []*v1.Signature
func (*SubmitIntentRequest_SubmitSignatures) ProtoMessage ¶
func (*SubmitIntentRequest_SubmitSignatures) ProtoMessage()
func (*SubmitIntentRequest_SubmitSignatures) ProtoReflect ¶
func (x *SubmitIntentRequest_SubmitSignatures) ProtoReflect() protoreflect.Message
func (*SubmitIntentRequest_SubmitSignatures) Reset ¶
func (x *SubmitIntentRequest_SubmitSignatures) Reset()
func (*SubmitIntentRequest_SubmitSignatures) String ¶
func (x *SubmitIntentRequest_SubmitSignatures) String() string
func (*SubmitIntentRequest_SubmitSignatures) Validate ¶
func (m *SubmitIntentRequest_SubmitSignatures) Validate() error
Validate checks the field values on SubmitIntentRequest_SubmitSignatures with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SubmitIntentRequest_SubmitSignaturesValidationError ¶
type SubmitIntentRequest_SubmitSignaturesValidationError struct {
// contains filtered or unexported fields
}
SubmitIntentRequest_SubmitSignaturesValidationError is the validation error returned by SubmitIntentRequest_SubmitSignatures.Validate if the designated constraints aren't met.
func (SubmitIntentRequest_SubmitSignaturesValidationError) Cause ¶
func (e SubmitIntentRequest_SubmitSignaturesValidationError) Cause() error
Cause function returns cause value.
func (SubmitIntentRequest_SubmitSignaturesValidationError) Error ¶
func (e SubmitIntentRequest_SubmitSignaturesValidationError) Error() string
Error satisfies the builtin error interface
func (SubmitIntentRequest_SubmitSignaturesValidationError) ErrorName ¶
func (e SubmitIntentRequest_SubmitSignaturesValidationError) ErrorName() string
ErrorName returns error name.
func (SubmitIntentRequest_SubmitSignaturesValidationError) Field ¶
func (e SubmitIntentRequest_SubmitSignaturesValidationError) Field() string
Field function returns field value.
func (SubmitIntentRequest_SubmitSignaturesValidationError) Key ¶
func (e SubmitIntentRequest_SubmitSignaturesValidationError) Key() bool
Key function returns key value.
func (SubmitIntentRequest_SubmitSignaturesValidationError) Reason ¶
func (e SubmitIntentRequest_SubmitSignaturesValidationError) Reason() string
Reason function returns reason value.
type SubmitIntentRequest_SubmitSignatures_ ¶
type SubmitIntentRequest_SubmitSignatures_ struct {
SubmitSignatures *SubmitIntentRequest_SubmitSignatures `protobuf:"bytes,2,opt,name=submit_signatures,json=submitSignatures,proto3,oneof"`
}
type SubmitIntentResponse ¶
type SubmitIntentResponse struct { // Types that are assignable to Response: // // *SubmitIntentResponse_ServerParameters_ // *SubmitIntentResponse_Success_ // *SubmitIntentResponse_Error_ Response isSubmitIntentResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*SubmitIntentResponse) Descriptor
deprecated
func (*SubmitIntentResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitIntentResponse.ProtoReflect.Descriptor instead.
func (*SubmitIntentResponse) GetError ¶
func (x *SubmitIntentResponse) GetError() *SubmitIntentResponse_Error
func (*SubmitIntentResponse) GetResponse ¶
func (m *SubmitIntentResponse) GetResponse() isSubmitIntentResponse_Response
func (*SubmitIntentResponse) GetServerParameters ¶
func (x *SubmitIntentResponse) GetServerParameters() *SubmitIntentResponse_ServerParameters
func (*SubmitIntentResponse) GetSuccess ¶
func (x *SubmitIntentResponse) GetSuccess() *SubmitIntentResponse_Success
func (*SubmitIntentResponse) ProtoMessage ¶
func (*SubmitIntentResponse) ProtoMessage()
func (*SubmitIntentResponse) ProtoReflect ¶
func (x *SubmitIntentResponse) ProtoReflect() protoreflect.Message
func (*SubmitIntentResponse) Reset ¶
func (x *SubmitIntentResponse) Reset()
func (*SubmitIntentResponse) String ¶
func (x *SubmitIntentResponse) String() string
func (*SubmitIntentResponse) Validate ¶
func (m *SubmitIntentResponse) Validate() error
Validate checks the field values on SubmitIntentResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SubmitIntentResponseValidationError ¶
type SubmitIntentResponseValidationError struct {
// contains filtered or unexported fields
}
SubmitIntentResponseValidationError is the validation error returned by SubmitIntentResponse.Validate if the designated constraints aren't met.
func (SubmitIntentResponseValidationError) Cause ¶
func (e SubmitIntentResponseValidationError) Cause() error
Cause function returns cause value.
func (SubmitIntentResponseValidationError) Error ¶
func (e SubmitIntentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SubmitIntentResponseValidationError) ErrorName ¶
func (e SubmitIntentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SubmitIntentResponseValidationError) Field ¶
func (e SubmitIntentResponseValidationError) Field() string
Field function returns field value.
func (SubmitIntentResponseValidationError) Key ¶
func (e SubmitIntentResponseValidationError) Key() bool
Key function returns key value.
func (SubmitIntentResponseValidationError) Reason ¶
func (e SubmitIntentResponseValidationError) Reason() string
Reason function returns reason value.
type SubmitIntentResponse_Error ¶
type SubmitIntentResponse_Error struct { Code SubmitIntentResponse_Error_Code `protobuf:"varint,1,opt,name=code,proto3,enum=code.transaction.v2.SubmitIntentResponse_Error_Code" json:"code,omitempty"` ErrorDetails []*ErrorDetails `protobuf:"bytes,2,rep,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"` // contains filtered or unexported fields }
func (*SubmitIntentResponse_Error) Descriptor
deprecated
func (*SubmitIntentResponse_Error) Descriptor() ([]byte, []int)
Deprecated: Use SubmitIntentResponse_Error.ProtoReflect.Descriptor instead.
func (*SubmitIntentResponse_Error) GetCode ¶
func (x *SubmitIntentResponse_Error) GetCode() SubmitIntentResponse_Error_Code
func (*SubmitIntentResponse_Error) GetErrorDetails ¶
func (x *SubmitIntentResponse_Error) GetErrorDetails() []*ErrorDetails
func (*SubmitIntentResponse_Error) ProtoMessage ¶
func (*SubmitIntentResponse_Error) ProtoMessage()
func (*SubmitIntentResponse_Error) ProtoReflect ¶
func (x *SubmitIntentResponse_Error) ProtoReflect() protoreflect.Message
func (*SubmitIntentResponse_Error) Reset ¶
func (x *SubmitIntentResponse_Error) Reset()
func (*SubmitIntentResponse_Error) String ¶
func (x *SubmitIntentResponse_Error) String() string
func (*SubmitIntentResponse_Error) Validate ¶
func (m *SubmitIntentResponse_Error) Validate() error
Validate checks the field values on SubmitIntentResponse_Error with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SubmitIntentResponse_ErrorValidationError ¶
type SubmitIntentResponse_ErrorValidationError struct {
// contains filtered or unexported fields
}
SubmitIntentResponse_ErrorValidationError is the validation error returned by SubmitIntentResponse_Error.Validate if the designated constraints aren't met.
func (SubmitIntentResponse_ErrorValidationError) Cause ¶
func (e SubmitIntentResponse_ErrorValidationError) Cause() error
Cause function returns cause value.
func (SubmitIntentResponse_ErrorValidationError) Error ¶
func (e SubmitIntentResponse_ErrorValidationError) Error() string
Error satisfies the builtin error interface
func (SubmitIntentResponse_ErrorValidationError) ErrorName ¶
func (e SubmitIntentResponse_ErrorValidationError) ErrorName() string
ErrorName returns error name.
func (SubmitIntentResponse_ErrorValidationError) Field ¶
func (e SubmitIntentResponse_ErrorValidationError) Field() string
Field function returns field value.
func (SubmitIntentResponse_ErrorValidationError) Key ¶
func (e SubmitIntentResponse_ErrorValidationError) Key() bool
Key function returns key value.
func (SubmitIntentResponse_ErrorValidationError) Reason ¶
func (e SubmitIntentResponse_ErrorValidationError) Reason() string
Reason function returns reason value.
type SubmitIntentResponse_Error_ ¶
type SubmitIntentResponse_Error_ struct {
Error *SubmitIntentResponse_Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
type SubmitIntentResponse_Error_Code ¶
type SubmitIntentResponse_Error_Code int32
const ( // Denied by a guard (spam, money laundering, etc) SubmitIntentResponse_Error_DENIED SubmitIntentResponse_Error_Code = 0 // The intent is invalid. SubmitIntentResponse_Error_INVALID_INTENT SubmitIntentResponse_Error_Code = 1 // There is an issue with provided signatures. SubmitIntentResponse_Error_SIGNATURE_ERROR SubmitIntentResponse_Error_Code = 2 // Server detected client has stale state. SubmitIntentResponse_Error_STALE_STATE SubmitIntentResponse_Error_Code = 3 )
func (SubmitIntentResponse_Error_Code) Descriptor ¶
func (SubmitIntentResponse_Error_Code) Descriptor() protoreflect.EnumDescriptor
func (SubmitIntentResponse_Error_Code) Enum ¶
func (x SubmitIntentResponse_Error_Code) Enum() *SubmitIntentResponse_Error_Code
func (SubmitIntentResponse_Error_Code) EnumDescriptor
deprecated
func (SubmitIntentResponse_Error_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubmitIntentResponse_Error_Code.Descriptor instead.
func (SubmitIntentResponse_Error_Code) Number ¶
func (x SubmitIntentResponse_Error_Code) Number() protoreflect.EnumNumber
func (SubmitIntentResponse_Error_Code) String ¶
func (x SubmitIntentResponse_Error_Code) String() string
func (SubmitIntentResponse_Error_Code) Type ¶
func (SubmitIntentResponse_Error_Code) Type() protoreflect.EnumType
type SubmitIntentResponse_ServerParameters ¶
type SubmitIntentResponse_ServerParameters struct { // The set of all server paremeters required to fill missing transaction // details. Server guarantees to provide a message for each client action // in an order consistent with the received action list. ServerParameters []*ServerParameter `protobuf:"bytes,1,rep,name=server_parameters,json=serverParameters,proto3" json:"server_parameters,omitempty"` // contains filtered or unexported fields }
func (*SubmitIntentResponse_ServerParameters) Descriptor
deprecated
func (*SubmitIntentResponse_ServerParameters) Descriptor() ([]byte, []int)
Deprecated: Use SubmitIntentResponse_ServerParameters.ProtoReflect.Descriptor instead.
func (*SubmitIntentResponse_ServerParameters) GetServerParameters ¶
func (x *SubmitIntentResponse_ServerParameters) GetServerParameters() []*ServerParameter
func (*SubmitIntentResponse_ServerParameters) ProtoMessage ¶
func (*SubmitIntentResponse_ServerParameters) ProtoMessage()
func (*SubmitIntentResponse_ServerParameters) ProtoReflect ¶
func (x *SubmitIntentResponse_ServerParameters) ProtoReflect() protoreflect.Message
func (*SubmitIntentResponse_ServerParameters) Reset ¶
func (x *SubmitIntentResponse_ServerParameters) Reset()
func (*SubmitIntentResponse_ServerParameters) String ¶
func (x *SubmitIntentResponse_ServerParameters) String() string
func (*SubmitIntentResponse_ServerParameters) Validate ¶
func (m *SubmitIntentResponse_ServerParameters) Validate() error
Validate checks the field values on SubmitIntentResponse_ServerParameters with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SubmitIntentResponse_ServerParametersValidationError ¶
type SubmitIntentResponse_ServerParametersValidationError struct {
// contains filtered or unexported fields
}
SubmitIntentResponse_ServerParametersValidationError is the validation error returned by SubmitIntentResponse_ServerParameters.Validate if the designated constraints aren't met.
func (SubmitIntentResponse_ServerParametersValidationError) Cause ¶
func (e SubmitIntentResponse_ServerParametersValidationError) Cause() error
Cause function returns cause value.
func (SubmitIntentResponse_ServerParametersValidationError) Error ¶
func (e SubmitIntentResponse_ServerParametersValidationError) Error() string
Error satisfies the builtin error interface
func (SubmitIntentResponse_ServerParametersValidationError) ErrorName ¶
func (e SubmitIntentResponse_ServerParametersValidationError) ErrorName() string
ErrorName returns error name.
func (SubmitIntentResponse_ServerParametersValidationError) Field ¶
func (e SubmitIntentResponse_ServerParametersValidationError) Field() string
Field function returns field value.
func (SubmitIntentResponse_ServerParametersValidationError) Key ¶
func (e SubmitIntentResponse_ServerParametersValidationError) Key() bool
Key function returns key value.
func (SubmitIntentResponse_ServerParametersValidationError) Reason ¶
func (e SubmitIntentResponse_ServerParametersValidationError) Reason() string
Reason function returns reason value.
type SubmitIntentResponse_ServerParameters_ ¶
type SubmitIntentResponse_ServerParameters_ struct {
ServerParameters *SubmitIntentResponse_ServerParameters `protobuf:"bytes,1,opt,name=server_parameters,json=serverParameters,proto3,oneof"`
}
type SubmitIntentResponse_Success ¶
type SubmitIntentResponse_Success struct { Code SubmitIntentResponse_Success_Code `protobuf:"varint,1,opt,name=code,proto3,enum=code.transaction.v2.SubmitIntentResponse_Success_Code" json:"code,omitempty"` // contains filtered or unexported fields }
func (*SubmitIntentResponse_Success) Descriptor
deprecated
func (*SubmitIntentResponse_Success) Descriptor() ([]byte, []int)
Deprecated: Use SubmitIntentResponse_Success.ProtoReflect.Descriptor instead.
func (*SubmitIntentResponse_Success) GetCode ¶
func (x *SubmitIntentResponse_Success) GetCode() SubmitIntentResponse_Success_Code
func (*SubmitIntentResponse_Success) ProtoMessage ¶
func (*SubmitIntentResponse_Success) ProtoMessage()
func (*SubmitIntentResponse_Success) ProtoReflect ¶
func (x *SubmitIntentResponse_Success) ProtoReflect() protoreflect.Message
func (*SubmitIntentResponse_Success) Reset ¶
func (x *SubmitIntentResponse_Success) Reset()
func (*SubmitIntentResponse_Success) String ¶
func (x *SubmitIntentResponse_Success) String() string
func (*SubmitIntentResponse_Success) Validate ¶
func (m *SubmitIntentResponse_Success) Validate() error
Validate checks the field values on SubmitIntentResponse_Success with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SubmitIntentResponse_SuccessValidationError ¶
type SubmitIntentResponse_SuccessValidationError struct {
// contains filtered or unexported fields
}
SubmitIntentResponse_SuccessValidationError is the validation error returned by SubmitIntentResponse_Success.Validate if the designated constraints aren't met.
func (SubmitIntentResponse_SuccessValidationError) Cause ¶
func (e SubmitIntentResponse_SuccessValidationError) Cause() error
Cause function returns cause value.
func (SubmitIntentResponse_SuccessValidationError) Error ¶
func (e SubmitIntentResponse_SuccessValidationError) Error() string
Error satisfies the builtin error interface
func (SubmitIntentResponse_SuccessValidationError) ErrorName ¶
func (e SubmitIntentResponse_SuccessValidationError) ErrorName() string
ErrorName returns error name.
func (SubmitIntentResponse_SuccessValidationError) Field ¶
func (e SubmitIntentResponse_SuccessValidationError) Field() string
Field function returns field value.
func (SubmitIntentResponse_SuccessValidationError) Key ¶
func (e SubmitIntentResponse_SuccessValidationError) Key() bool
Key function returns key value.
func (SubmitIntentResponse_SuccessValidationError) Reason ¶
func (e SubmitIntentResponse_SuccessValidationError) Reason() string
Reason function returns reason value.
type SubmitIntentResponse_Success_ ¶
type SubmitIntentResponse_Success_ struct {
Success *SubmitIntentResponse_Success `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}
type SubmitIntentResponse_Success_Code ¶
type SubmitIntentResponse_Success_Code int32
const ( // The intent was successfully created and is now scheduled. SubmitIntentResponse_Success_OK SubmitIntentResponse_Success_Code = 0 )
func (SubmitIntentResponse_Success_Code) Descriptor ¶
func (SubmitIntentResponse_Success_Code) Descriptor() protoreflect.EnumDescriptor
func (SubmitIntentResponse_Success_Code) Enum ¶
func (x SubmitIntentResponse_Success_Code) Enum() *SubmitIntentResponse_Success_Code
func (SubmitIntentResponse_Success_Code) EnumDescriptor
deprecated
func (SubmitIntentResponse_Success_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubmitIntentResponse_Success_Code.Descriptor instead.
func (SubmitIntentResponse_Success_Code) Number ¶
func (x SubmitIntentResponse_Success_Code) Number() protoreflect.EnumNumber
func (SubmitIntentResponse_Success_Code) String ¶
func (x SubmitIntentResponse_Success_Code) String() string
func (SubmitIntentResponse_Success_Code) Type ¶
func (SubmitIntentResponse_Success_Code) Type() protoreflect.EnumType
type SwapRequest ¶ added in v1.8.0
type SwapRequest struct { // Types that are assignable to Request: // // *SwapRequest_Initiate_ // *SwapRequest_SubmitSignature_ Request isSwapRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*SwapRequest) Descriptor
deprecated
added in
v1.8.0
func (*SwapRequest) Descriptor() ([]byte, []int)
Deprecated: Use SwapRequest.ProtoReflect.Descriptor instead.
func (*SwapRequest) GetInitiate ¶ added in v1.8.0
func (x *SwapRequest) GetInitiate() *SwapRequest_Initiate
func (*SwapRequest) GetRequest ¶ added in v1.8.0
func (m *SwapRequest) GetRequest() isSwapRequest_Request
func (*SwapRequest) GetSubmitSignature ¶ added in v1.8.0
func (x *SwapRequest) GetSubmitSignature() *SwapRequest_SubmitSignature
func (*SwapRequest) ProtoMessage ¶ added in v1.8.0
func (*SwapRequest) ProtoMessage()
func (*SwapRequest) ProtoReflect ¶ added in v1.8.0
func (x *SwapRequest) ProtoReflect() protoreflect.Message
func (*SwapRequest) Reset ¶ added in v1.8.0
func (x *SwapRequest) Reset()
func (*SwapRequest) String ¶ added in v1.8.0
func (x *SwapRequest) String() string
func (*SwapRequest) Validate ¶ added in v1.8.0
func (m *SwapRequest) Validate() error
Validate checks the field values on SwapRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SwapRequestValidationError ¶ added in v1.8.0
type SwapRequestValidationError struct {
// contains filtered or unexported fields
}
SwapRequestValidationError is the validation error returned by SwapRequest.Validate if the designated constraints aren't met.
func (SwapRequestValidationError) Cause ¶ added in v1.8.0
func (e SwapRequestValidationError) Cause() error
Cause function returns cause value.
func (SwapRequestValidationError) Error ¶ added in v1.8.0
func (e SwapRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SwapRequestValidationError) ErrorName ¶ added in v1.8.0
func (e SwapRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SwapRequestValidationError) Field ¶ added in v1.8.0
func (e SwapRequestValidationError) Field() string
Field function returns field value.
func (SwapRequestValidationError) Key ¶ added in v1.8.0
func (e SwapRequestValidationError) Key() bool
Key function returns key value.
func (SwapRequestValidationError) Reason ¶ added in v1.8.0
func (e SwapRequestValidationError) Reason() string
Reason function returns reason value.
type SwapRequest_Initiate ¶ added in v1.8.0
type SwapRequest_Initiate struct { // The verified owner account public key Owner *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // The user authority account that will sign to authorize the swap. Ideally, // this is an account derived off the owner account that is solely responsible // for swapping. SwapAuthority *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=swap_authority,json=swapAuthority,proto3" json:"swap_authority,omitempty"` // Maximum amount to swap from the source mint, in quarks. If value is set to zero, // the entire amount will be swapped. Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // Whether the client wants the RPC to wait for blockchain status. If false, // then the RPC will return Success when the swap is submitted to the blockchain. // Otherwise, the RPC will observe and report back the status of the transaction. WaitForBlockchainStatus bool `` /* 135-byte string literal not displayed */ // The signature is of serialize(Initiate) without this field set using the // private key of the owner account. This provides an authentication mechanism // to the RPC. Signature *v1.Signature `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SwapRequest_Initiate) Descriptor
deprecated
added in
v1.8.0
func (*SwapRequest_Initiate) Descriptor() ([]byte, []int)
Deprecated: Use SwapRequest_Initiate.ProtoReflect.Descriptor instead.
func (*SwapRequest_Initiate) GetLimit ¶ added in v1.8.0
func (x *SwapRequest_Initiate) GetLimit() uint64
func (*SwapRequest_Initiate) GetOwner ¶ added in v1.8.0
func (x *SwapRequest_Initiate) GetOwner() *v1.SolanaAccountId
func (*SwapRequest_Initiate) GetSignature ¶ added in v1.8.0
func (x *SwapRequest_Initiate) GetSignature() *v1.Signature
func (*SwapRequest_Initiate) GetSwapAuthority ¶ added in v1.8.0
func (x *SwapRequest_Initiate) GetSwapAuthority() *v1.SolanaAccountId
func (*SwapRequest_Initiate) GetWaitForBlockchainStatus ¶ added in v1.8.0
func (x *SwapRequest_Initiate) GetWaitForBlockchainStatus() bool
func (*SwapRequest_Initiate) ProtoMessage ¶ added in v1.8.0
func (*SwapRequest_Initiate) ProtoMessage()
func (*SwapRequest_Initiate) ProtoReflect ¶ added in v1.8.0
func (x *SwapRequest_Initiate) ProtoReflect() protoreflect.Message
func (*SwapRequest_Initiate) Reset ¶ added in v1.8.0
func (x *SwapRequest_Initiate) Reset()
func (*SwapRequest_Initiate) String ¶ added in v1.8.0
func (x *SwapRequest_Initiate) String() string
func (*SwapRequest_Initiate) Validate ¶ added in v1.8.0
func (m *SwapRequest_Initiate) Validate() error
Validate checks the field values on SwapRequest_Initiate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SwapRequest_InitiateValidationError ¶ added in v1.8.0
type SwapRequest_InitiateValidationError struct {
// contains filtered or unexported fields
}
SwapRequest_InitiateValidationError is the validation error returned by SwapRequest_Initiate.Validate if the designated constraints aren't met.
func (SwapRequest_InitiateValidationError) Cause ¶ added in v1.8.0
func (e SwapRequest_InitiateValidationError) Cause() error
Cause function returns cause value.
func (SwapRequest_InitiateValidationError) Error ¶ added in v1.8.0
func (e SwapRequest_InitiateValidationError) Error() string
Error satisfies the builtin error interface
func (SwapRequest_InitiateValidationError) ErrorName ¶ added in v1.8.0
func (e SwapRequest_InitiateValidationError) ErrorName() string
ErrorName returns error name.
func (SwapRequest_InitiateValidationError) Field ¶ added in v1.8.0
func (e SwapRequest_InitiateValidationError) Field() string
Field function returns field value.
func (SwapRequest_InitiateValidationError) Key ¶ added in v1.8.0
func (e SwapRequest_InitiateValidationError) Key() bool
Key function returns key value.
func (SwapRequest_InitiateValidationError) Reason ¶ added in v1.8.0
func (e SwapRequest_InitiateValidationError) Reason() string
Reason function returns reason value.
type SwapRequest_Initiate_ ¶ added in v1.8.0
type SwapRequest_Initiate_ struct {
Initiate *SwapRequest_Initiate `protobuf:"bytes,1,opt,name=initiate,proto3,oneof"`
}
type SwapRequest_SubmitSignature ¶ added in v1.8.0
type SwapRequest_SubmitSignature struct { // The signature for the locally constructed swap transaction Signature *v1.Signature `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SwapRequest_SubmitSignature) Descriptor
deprecated
added in
v1.8.0
func (*SwapRequest_SubmitSignature) Descriptor() ([]byte, []int)
Deprecated: Use SwapRequest_SubmitSignature.ProtoReflect.Descriptor instead.
func (*SwapRequest_SubmitSignature) GetSignature ¶ added in v1.8.0
func (x *SwapRequest_SubmitSignature) GetSignature() *v1.Signature
func (*SwapRequest_SubmitSignature) ProtoMessage ¶ added in v1.8.0
func (*SwapRequest_SubmitSignature) ProtoMessage()
func (*SwapRequest_SubmitSignature) ProtoReflect ¶ added in v1.8.0
func (x *SwapRequest_SubmitSignature) ProtoReflect() protoreflect.Message
func (*SwapRequest_SubmitSignature) Reset ¶ added in v1.8.0
func (x *SwapRequest_SubmitSignature) Reset()
func (*SwapRequest_SubmitSignature) String ¶ added in v1.8.0
func (x *SwapRequest_SubmitSignature) String() string
func (*SwapRequest_SubmitSignature) Validate ¶ added in v1.8.0
func (m *SwapRequest_SubmitSignature) Validate() error
Validate checks the field values on SwapRequest_SubmitSignature with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SwapRequest_SubmitSignatureValidationError ¶ added in v1.8.0
type SwapRequest_SubmitSignatureValidationError struct {
// contains filtered or unexported fields
}
SwapRequest_SubmitSignatureValidationError is the validation error returned by SwapRequest_SubmitSignature.Validate if the designated constraints aren't met.
func (SwapRequest_SubmitSignatureValidationError) Cause ¶ added in v1.8.0
func (e SwapRequest_SubmitSignatureValidationError) Cause() error
Cause function returns cause value.
func (SwapRequest_SubmitSignatureValidationError) Error ¶ added in v1.8.0
func (e SwapRequest_SubmitSignatureValidationError) Error() string
Error satisfies the builtin error interface
func (SwapRequest_SubmitSignatureValidationError) ErrorName ¶ added in v1.8.0
func (e SwapRequest_SubmitSignatureValidationError) ErrorName() string
ErrorName returns error name.
func (SwapRequest_SubmitSignatureValidationError) Field ¶ added in v1.8.0
func (e SwapRequest_SubmitSignatureValidationError) Field() string
Field function returns field value.
func (SwapRequest_SubmitSignatureValidationError) Key ¶ added in v1.8.0
func (e SwapRequest_SubmitSignatureValidationError) Key() bool
Key function returns key value.
func (SwapRequest_SubmitSignatureValidationError) Reason ¶ added in v1.8.0
func (e SwapRequest_SubmitSignatureValidationError) Reason() string
Reason function returns reason value.
type SwapRequest_SubmitSignature_ ¶ added in v1.8.0
type SwapRequest_SubmitSignature_ struct {
SubmitSignature *SwapRequest_SubmitSignature `protobuf:"bytes,2,opt,name=submit_signature,json=submitSignature,proto3,oneof"`
}
type SwapResponse ¶ added in v1.8.0
type SwapResponse struct { // Types that are assignable to Response: // // *SwapResponse_ServerParameters_ // *SwapResponse_Success_ // *SwapResponse_Error_ Response isSwapResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*SwapResponse) Descriptor
deprecated
added in
v1.8.0
func (*SwapResponse) Descriptor() ([]byte, []int)
Deprecated: Use SwapResponse.ProtoReflect.Descriptor instead.
func (*SwapResponse) GetError ¶ added in v1.8.0
func (x *SwapResponse) GetError() *SwapResponse_Error
func (*SwapResponse) GetResponse ¶ added in v1.8.0
func (m *SwapResponse) GetResponse() isSwapResponse_Response
func (*SwapResponse) GetServerParameters ¶ added in v1.10.0
func (x *SwapResponse) GetServerParameters() *SwapResponse_ServerParameters
func (*SwapResponse) GetSuccess ¶ added in v1.8.0
func (x *SwapResponse) GetSuccess() *SwapResponse_Success
func (*SwapResponse) ProtoMessage ¶ added in v1.8.0
func (*SwapResponse) ProtoMessage()
func (*SwapResponse) ProtoReflect ¶ added in v1.8.0
func (x *SwapResponse) ProtoReflect() protoreflect.Message
func (*SwapResponse) Reset ¶ added in v1.8.0
func (x *SwapResponse) Reset()
func (*SwapResponse) String ¶ added in v1.8.0
func (x *SwapResponse) String() string
func (*SwapResponse) Validate ¶ added in v1.8.0
func (m *SwapResponse) Validate() error
Validate checks the field values on SwapResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SwapResponseValidationError ¶ added in v1.8.0
type SwapResponseValidationError struct {
// contains filtered or unexported fields
}
SwapResponseValidationError is the validation error returned by SwapResponse.Validate if the designated constraints aren't met.
func (SwapResponseValidationError) Cause ¶ added in v1.8.0
func (e SwapResponseValidationError) Cause() error
Cause function returns cause value.
func (SwapResponseValidationError) Error ¶ added in v1.8.0
func (e SwapResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SwapResponseValidationError) ErrorName ¶ added in v1.8.0
func (e SwapResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SwapResponseValidationError) Field ¶ added in v1.8.0
func (e SwapResponseValidationError) Field() string
Field function returns field value.
func (SwapResponseValidationError) Key ¶ added in v1.8.0
func (e SwapResponseValidationError) Key() bool
Key function returns key value.
func (SwapResponseValidationError) Reason ¶ added in v1.8.0
func (e SwapResponseValidationError) Reason() string
Reason function returns reason value.
type SwapResponse_Error ¶ added in v1.8.0
type SwapResponse_Error struct { Code SwapResponse_Error_Code `protobuf:"varint,1,opt,name=code,proto3,enum=code.transaction.v2.SwapResponse_Error_Code" json:"code,omitempty"` ErrorDetails []*ErrorDetails `protobuf:"bytes,2,rep,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"` // contains filtered or unexported fields }
func (*SwapResponse_Error) Descriptor
deprecated
added in
v1.8.0
func (*SwapResponse_Error) Descriptor() ([]byte, []int)
Deprecated: Use SwapResponse_Error.ProtoReflect.Descriptor instead.
func (*SwapResponse_Error) GetCode ¶ added in v1.8.0
func (x *SwapResponse_Error) GetCode() SwapResponse_Error_Code
func (*SwapResponse_Error) GetErrorDetails ¶ added in v1.8.0
func (x *SwapResponse_Error) GetErrorDetails() []*ErrorDetails
func (*SwapResponse_Error) ProtoMessage ¶ added in v1.8.0
func (*SwapResponse_Error) ProtoMessage()
func (*SwapResponse_Error) ProtoReflect ¶ added in v1.8.0
func (x *SwapResponse_Error) ProtoReflect() protoreflect.Message
func (*SwapResponse_Error) Reset ¶ added in v1.8.0
func (x *SwapResponse_Error) Reset()
func (*SwapResponse_Error) String ¶ added in v1.8.0
func (x *SwapResponse_Error) String() string
func (*SwapResponse_Error) Validate ¶ added in v1.8.0
func (m *SwapResponse_Error) Validate() error
Validate checks the field values on SwapResponse_Error with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SwapResponse_ErrorValidationError ¶ added in v1.8.0
type SwapResponse_ErrorValidationError struct {
// contains filtered or unexported fields
}
SwapResponse_ErrorValidationError is the validation error returned by SwapResponse_Error.Validate if the designated constraints aren't met.
func (SwapResponse_ErrorValidationError) Cause ¶ added in v1.8.0
func (e SwapResponse_ErrorValidationError) Cause() error
Cause function returns cause value.
func (SwapResponse_ErrorValidationError) Error ¶ added in v1.8.0
func (e SwapResponse_ErrorValidationError) Error() string
Error satisfies the builtin error interface
func (SwapResponse_ErrorValidationError) ErrorName ¶ added in v1.8.0
func (e SwapResponse_ErrorValidationError) ErrorName() string
ErrorName returns error name.
func (SwapResponse_ErrorValidationError) Field ¶ added in v1.8.0
func (e SwapResponse_ErrorValidationError) Field() string
Field function returns field value.
func (SwapResponse_ErrorValidationError) Key ¶ added in v1.8.0
func (e SwapResponse_ErrorValidationError) Key() bool
Key function returns key value.
func (SwapResponse_ErrorValidationError) Reason ¶ added in v1.8.0
func (e SwapResponse_ErrorValidationError) Reason() string
Reason function returns reason value.
type SwapResponse_Error_ ¶ added in v1.8.0
type SwapResponse_Error_ struct {
Error *SwapResponse_Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
type SwapResponse_Error_Code ¶ added in v1.8.0
type SwapResponse_Error_Code int32
const ( // Denied by a guard (spam, money laundering, etc) SwapResponse_Error_DENIED SwapResponse_Error_Code = 0 // There is an issue with the provided signature. SwapResponse_Error_SIGNATURE_ERROR SwapResponse_Error_Code = 2 // The swap failed server-side validation SwapResponse_Error_INVALID_SWAP SwapResponse_Error_Code = 3 // The submitted swap transaction failed. Attempt the swap again. SwapResponse_Error_SWAP_FAILED SwapResponse_Error_Code = 4 )
func (SwapResponse_Error_Code) Descriptor ¶ added in v1.8.0
func (SwapResponse_Error_Code) Descriptor() protoreflect.EnumDescriptor
func (SwapResponse_Error_Code) Enum ¶ added in v1.8.0
func (x SwapResponse_Error_Code) Enum() *SwapResponse_Error_Code
func (SwapResponse_Error_Code) EnumDescriptor
deprecated
added in
v1.8.0
func (SwapResponse_Error_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SwapResponse_Error_Code.Descriptor instead.
func (SwapResponse_Error_Code) Number ¶ added in v1.8.0
func (x SwapResponse_Error_Code) Number() protoreflect.EnumNumber
func (SwapResponse_Error_Code) String ¶ added in v1.8.0
func (x SwapResponse_Error_Code) String() string
func (SwapResponse_Error_Code) Type ¶ added in v1.8.0
func (SwapResponse_Error_Code) Type() protoreflect.EnumType
type SwapResponse_ServerParameters ¶ added in v1.8.0
type SwapResponse_ServerParameters struct { // Subisdizer account that will be paying for the swap Payer *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=payer,proto3" json:"payer,omitempty"` // Recent blockhash RecentBlockhash *v1.Blockhash `protobuf:"bytes,2,opt,name=recent_blockhash,json=recentBlockhash,proto3" json:"recent_blockhash,omitempty"` // Compute unit limit provided to the ComputeBudget::SetComputeUnitLimit // instruction. If the value is 0, then the instruction can be omitted. ComputeUnitLimit uint32 `protobuf:"varint,3,opt,name=compute_unit_limit,json=computeUnitLimit,proto3" json:"compute_unit_limit,omitempty"` // Compute unit price provided in the ComputeBudget::SetComputeUnitPrice // instruction. If the value is 0, then the instruction can be omitted. ComputeUnitPrice uint64 `protobuf:"varint,4,opt,name=compute_unit_price,json=computeUnitPrice,proto3" json:"compute_unit_price,omitempty"` // On-chain program that will be performing the swap SwapProgram *v1.SolanaAccountId `protobuf:"bytes,5,opt,name=swap_program,json=swapProgram,proto3" json:"swap_program,omitempty"` // Accounts provided to the swap instruction SwapIxnAccounts []*v1.InstructionAccount `protobuf:"bytes,6,rep,name=swap_ixn_accounts,json=swapIxnAccounts,proto3" json:"swap_ixn_accounts,omitempty"` // Instruction data for the swap instruction SwapIxnData []byte `protobuf:"bytes,7,opt,name=swap_ixn_data,json=swapIxnData,proto3" json:"swap_ixn_data,omitempty"` // Maximum quarks that will be sent out of the source account after // executing the swap. If not, the validation instruction will cause // the transaction to fail. MaxToSend uint64 `protobuf:"varint,8,opt,name=max_to_send,json=maxToSend,proto3" json:"max_to_send,omitempty"` // Minimum quarks that will be received into the destination account // after executing the swap. If not, the validation instruction will // cause the transaction to fail. MinToReceive uint64 `protobuf:"varint,9,opt,name=min_to_receive,json=minToReceive,proto3" json:"min_to_receive,omitempty"` // Nonce to use in swap validator state account PDA Nonce *v1.SolanaAccountId `protobuf:"bytes,10,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*SwapResponse_ServerParameters) Descriptor
deprecated
added in
v1.8.0
func (*SwapResponse_ServerParameters) Descriptor() ([]byte, []int)
Deprecated: Use SwapResponse_ServerParameters.ProtoReflect.Descriptor instead.
func (*SwapResponse_ServerParameters) GetComputeUnitLimit ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) GetComputeUnitLimit() uint32
func (*SwapResponse_ServerParameters) GetComputeUnitPrice ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) GetComputeUnitPrice() uint64
func (*SwapResponse_ServerParameters) GetMaxToSend ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) GetMaxToSend() uint64
func (*SwapResponse_ServerParameters) GetMinToReceive ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) GetMinToReceive() uint64
func (*SwapResponse_ServerParameters) GetNonce ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) GetNonce() *v1.SolanaAccountId
func (*SwapResponse_ServerParameters) GetPayer ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) GetPayer() *v1.SolanaAccountId
func (*SwapResponse_ServerParameters) GetRecentBlockhash ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) GetRecentBlockhash() *v1.Blockhash
func (*SwapResponse_ServerParameters) GetSwapIxnAccounts ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) GetSwapIxnAccounts() []*v1.InstructionAccount
func (*SwapResponse_ServerParameters) GetSwapIxnData ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) GetSwapIxnData() []byte
func (*SwapResponse_ServerParameters) GetSwapProgram ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) GetSwapProgram() *v1.SolanaAccountId
func (*SwapResponse_ServerParameters) ProtoMessage ¶ added in v1.8.0
func (*SwapResponse_ServerParameters) ProtoMessage()
func (*SwapResponse_ServerParameters) ProtoReflect ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) ProtoReflect() protoreflect.Message
func (*SwapResponse_ServerParameters) Reset ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) Reset()
func (*SwapResponse_ServerParameters) String ¶ added in v1.8.0
func (x *SwapResponse_ServerParameters) String() string
func (*SwapResponse_ServerParameters) Validate ¶ added in v1.8.0
func (m *SwapResponse_ServerParameters) Validate() error
Validate checks the field values on SwapResponse_ServerParameters with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SwapResponse_ServerParametersValidationError ¶ added in v1.8.0
type SwapResponse_ServerParametersValidationError struct {
// contains filtered or unexported fields
}
SwapResponse_ServerParametersValidationError is the validation error returned by SwapResponse_ServerParameters.Validate if the designated constraints aren't met.
func (SwapResponse_ServerParametersValidationError) Cause ¶ added in v1.8.0
func (e SwapResponse_ServerParametersValidationError) Cause() error
Cause function returns cause value.
func (SwapResponse_ServerParametersValidationError) Error ¶ added in v1.8.0
func (e SwapResponse_ServerParametersValidationError) Error() string
Error satisfies the builtin error interface
func (SwapResponse_ServerParametersValidationError) ErrorName ¶ added in v1.8.0
func (e SwapResponse_ServerParametersValidationError) ErrorName() string
ErrorName returns error name.
func (SwapResponse_ServerParametersValidationError) Field ¶ added in v1.8.0
func (e SwapResponse_ServerParametersValidationError) Field() string
Field function returns field value.
func (SwapResponse_ServerParametersValidationError) Key ¶ added in v1.8.0
func (e SwapResponse_ServerParametersValidationError) Key() bool
Key function returns key value.
func (SwapResponse_ServerParametersValidationError) Reason ¶ added in v1.8.0
func (e SwapResponse_ServerParametersValidationError) Reason() string
Reason function returns reason value.
type SwapResponse_ServerParameters_ ¶ added in v1.10.0
type SwapResponse_ServerParameters_ struct {
ServerParameters *SwapResponse_ServerParameters `protobuf:"bytes,1,opt,name=server_parameters,json=serverParameters,proto3,oneof"`
}
type SwapResponse_Success ¶ added in v1.8.0
type SwapResponse_Success struct { Code SwapResponse_Success_Code `protobuf:"varint,1,opt,name=code,proto3,enum=code.transaction.v2.SwapResponse_Success_Code" json:"code,omitempty"` // contains filtered or unexported fields }
func (*SwapResponse_Success) Descriptor
deprecated
added in
v1.8.0
func (*SwapResponse_Success) Descriptor() ([]byte, []int)
Deprecated: Use SwapResponse_Success.ProtoReflect.Descriptor instead.
func (*SwapResponse_Success) GetCode ¶ added in v1.8.0
func (x *SwapResponse_Success) GetCode() SwapResponse_Success_Code
func (*SwapResponse_Success) ProtoMessage ¶ added in v1.8.0
func (*SwapResponse_Success) ProtoMessage()
func (*SwapResponse_Success) ProtoReflect ¶ added in v1.8.0
func (x *SwapResponse_Success) ProtoReflect() protoreflect.Message
func (*SwapResponse_Success) Reset ¶ added in v1.8.0
func (x *SwapResponse_Success) Reset()
func (*SwapResponse_Success) String ¶ added in v1.8.0
func (x *SwapResponse_Success) String() string
func (*SwapResponse_Success) Validate ¶ added in v1.8.0
func (m *SwapResponse_Success) Validate() error
Validate checks the field values on SwapResponse_Success with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SwapResponse_SuccessValidationError ¶ added in v1.8.0
type SwapResponse_SuccessValidationError struct {
// contains filtered or unexported fields
}
SwapResponse_SuccessValidationError is the validation error returned by SwapResponse_Success.Validate if the designated constraints aren't met.
func (SwapResponse_SuccessValidationError) Cause ¶ added in v1.8.0
func (e SwapResponse_SuccessValidationError) Cause() error
Cause function returns cause value.
func (SwapResponse_SuccessValidationError) Error ¶ added in v1.8.0
func (e SwapResponse_SuccessValidationError) Error() string
Error satisfies the builtin error interface
func (SwapResponse_SuccessValidationError) ErrorName ¶ added in v1.8.0
func (e SwapResponse_SuccessValidationError) ErrorName() string
ErrorName returns error name.
func (SwapResponse_SuccessValidationError) Field ¶ added in v1.8.0
func (e SwapResponse_SuccessValidationError) Field() string
Field function returns field value.
func (SwapResponse_SuccessValidationError) Key ¶ added in v1.8.0
func (e SwapResponse_SuccessValidationError) Key() bool
Key function returns key value.
func (SwapResponse_SuccessValidationError) Reason ¶ added in v1.8.0
func (e SwapResponse_SuccessValidationError) Reason() string
Reason function returns reason value.
type SwapResponse_Success_ ¶ added in v1.8.0
type SwapResponse_Success_ struct {
Success *SwapResponse_Success `protobuf:"bytes,2,opt,name=success,proto3,oneof"`
}
type SwapResponse_Success_Code ¶ added in v1.8.0
type SwapResponse_Success_Code int32
const ( // The swap was submitted to the blockchain. SwapResponse_Success_SWAP_SUBMITTED SwapResponse_Success_Code = 0 // The swap was finalized on the blockchain. SwapResponse_Success_SWAP_FINALIZED SwapResponse_Success_Code = 1 )
func (SwapResponse_Success_Code) Descriptor ¶ added in v1.8.0
func (SwapResponse_Success_Code) Descriptor() protoreflect.EnumDescriptor
func (SwapResponse_Success_Code) Enum ¶ added in v1.8.0
func (x SwapResponse_Success_Code) Enum() *SwapResponse_Success_Code
func (SwapResponse_Success_Code) EnumDescriptor
deprecated
added in
v1.8.0
func (SwapResponse_Success_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use SwapResponse_Success_Code.Descriptor instead.
func (SwapResponse_Success_Code) Number ¶ added in v1.8.0
func (x SwapResponse_Success_Code) Number() protoreflect.EnumNumber
func (SwapResponse_Success_Code) String ¶ added in v1.8.0
func (x SwapResponse_Success_Code) String() string
func (SwapResponse_Success_Code) Type ¶ added in v1.8.0
func (SwapResponse_Success_Code) Type() protoreflect.EnumType
type TemporaryPrivacyExchangeAction ¶
type TemporaryPrivacyExchangeAction struct { // The public key of the private key that has authority over source Authority *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // The source account where funds are exchanged from Source *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // The destination account where funds are exchanged to Destination *v1.SolanaAccountId `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` // The Kin quark amount to exchange Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
Transaction 1
Instructions: 1. system::AdvanceNonce 2. memo::Memo 3. splitter::TransferWithCommitment (treasury -> destination) Client Signature Required: No
Transaction 2
Instructions: 1. system::AdvanceNonce 2. memo::Memo 3. timelock::TransferWithAuthority (source -> commitment) Client Signature Required: Yes
func (*TemporaryPrivacyExchangeAction) Descriptor
deprecated
func (*TemporaryPrivacyExchangeAction) Descriptor() ([]byte, []int)
Deprecated: Use TemporaryPrivacyExchangeAction.ProtoReflect.Descriptor instead.
func (*TemporaryPrivacyExchangeAction) GetAmount ¶
func (x *TemporaryPrivacyExchangeAction) GetAmount() uint64
func (*TemporaryPrivacyExchangeAction) GetAuthority ¶
func (x *TemporaryPrivacyExchangeAction) GetAuthority() *v1.SolanaAccountId
func (*TemporaryPrivacyExchangeAction) GetDestination ¶
func (x *TemporaryPrivacyExchangeAction) GetDestination() *v1.SolanaAccountId
func (*TemporaryPrivacyExchangeAction) GetSource ¶
func (x *TemporaryPrivacyExchangeAction) GetSource() *v1.SolanaAccountId
func (*TemporaryPrivacyExchangeAction) ProtoMessage ¶
func (*TemporaryPrivacyExchangeAction) ProtoMessage()
func (*TemporaryPrivacyExchangeAction) ProtoReflect ¶
func (x *TemporaryPrivacyExchangeAction) ProtoReflect() protoreflect.Message
func (*TemporaryPrivacyExchangeAction) Reset ¶
func (x *TemporaryPrivacyExchangeAction) Reset()
func (*TemporaryPrivacyExchangeAction) String ¶
func (x *TemporaryPrivacyExchangeAction) String() string
func (*TemporaryPrivacyExchangeAction) Validate ¶
func (m *TemporaryPrivacyExchangeAction) Validate() error
Validate checks the field values on TemporaryPrivacyExchangeAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TemporaryPrivacyExchangeActionValidationError ¶
type TemporaryPrivacyExchangeActionValidationError struct {
// contains filtered or unexported fields
}
TemporaryPrivacyExchangeActionValidationError is the validation error returned by TemporaryPrivacyExchangeAction.Validate if the designated constraints aren't met.
func (TemporaryPrivacyExchangeActionValidationError) Cause ¶
func (e TemporaryPrivacyExchangeActionValidationError) Cause() error
Cause function returns cause value.
func (TemporaryPrivacyExchangeActionValidationError) Error ¶
func (e TemporaryPrivacyExchangeActionValidationError) Error() string
Error satisfies the builtin error interface
func (TemporaryPrivacyExchangeActionValidationError) ErrorName ¶
func (e TemporaryPrivacyExchangeActionValidationError) ErrorName() string
ErrorName returns error name.
func (TemporaryPrivacyExchangeActionValidationError) Field ¶
func (e TemporaryPrivacyExchangeActionValidationError) Field() string
Field function returns field value.
func (TemporaryPrivacyExchangeActionValidationError) Key ¶
func (e TemporaryPrivacyExchangeActionValidationError) Key() bool
Key function returns key value.
func (TemporaryPrivacyExchangeActionValidationError) Reason ¶
func (e TemporaryPrivacyExchangeActionValidationError) Reason() string
Reason function returns reason value.
type TemporaryPrivacyExchangeServerParameter ¶
type TemporaryPrivacyExchangeServerParameter struct { // The treasury that will be used to split payments and provide a level of privacy Treasury *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=treasury,proto3" json:"treasury,omitempty"` // A recent root server observed from the treasury RecentRoot *v1.Hash `protobuf:"bytes,2,opt,name=recent_root,json=recentRoot,proto3" json:"recent_root,omitempty"` // contains filtered or unexported fields }
func (*TemporaryPrivacyExchangeServerParameter) Descriptor
deprecated
func (*TemporaryPrivacyExchangeServerParameter) Descriptor() ([]byte, []int)
Deprecated: Use TemporaryPrivacyExchangeServerParameter.ProtoReflect.Descriptor instead.
func (*TemporaryPrivacyExchangeServerParameter) GetRecentRoot ¶
func (x *TemporaryPrivacyExchangeServerParameter) GetRecentRoot() *v1.Hash
func (*TemporaryPrivacyExchangeServerParameter) GetTreasury ¶
func (x *TemporaryPrivacyExchangeServerParameter) GetTreasury() *v1.SolanaAccountId
func (*TemporaryPrivacyExchangeServerParameter) ProtoMessage ¶
func (*TemporaryPrivacyExchangeServerParameter) ProtoMessage()
func (*TemporaryPrivacyExchangeServerParameter) ProtoReflect ¶
func (x *TemporaryPrivacyExchangeServerParameter) ProtoReflect() protoreflect.Message
func (*TemporaryPrivacyExchangeServerParameter) Reset ¶
func (x *TemporaryPrivacyExchangeServerParameter) Reset()
func (*TemporaryPrivacyExchangeServerParameter) String ¶
func (x *TemporaryPrivacyExchangeServerParameter) String() string
func (*TemporaryPrivacyExchangeServerParameter) Validate ¶
func (m *TemporaryPrivacyExchangeServerParameter) Validate() error
Validate checks the field values on TemporaryPrivacyExchangeServerParameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TemporaryPrivacyExchangeServerParameterValidationError ¶
type TemporaryPrivacyExchangeServerParameterValidationError struct {
// contains filtered or unexported fields
}
TemporaryPrivacyExchangeServerParameterValidationError is the validation error returned by TemporaryPrivacyExchangeServerParameter.Validate if the designated constraints aren't met.
func (TemporaryPrivacyExchangeServerParameterValidationError) Cause ¶
func (e TemporaryPrivacyExchangeServerParameterValidationError) Cause() error
Cause function returns cause value.
func (TemporaryPrivacyExchangeServerParameterValidationError) Error ¶
func (e TemporaryPrivacyExchangeServerParameterValidationError) Error() string
Error satisfies the builtin error interface
func (TemporaryPrivacyExchangeServerParameterValidationError) ErrorName ¶
func (e TemporaryPrivacyExchangeServerParameterValidationError) ErrorName() string
ErrorName returns error name.
func (TemporaryPrivacyExchangeServerParameterValidationError) Field ¶
func (e TemporaryPrivacyExchangeServerParameterValidationError) Field() string
Field function returns field value.
func (TemporaryPrivacyExchangeServerParameterValidationError) Key ¶
func (e TemporaryPrivacyExchangeServerParameterValidationError) Key() bool
Key function returns key value.
func (TemporaryPrivacyExchangeServerParameterValidationError) Reason ¶
func (e TemporaryPrivacyExchangeServerParameterValidationError) Reason() string
Reason function returns reason value.
type TemporaryPrivacyTransferAction ¶
type TemporaryPrivacyTransferAction struct { // The public key of the private key that has authority over source Authority *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // The source account where funds are transferred from Source *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // The destination account where funds are transferred to Destination *v1.SolanaAccountId `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` // The Kin quark amount to transfer Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
Transaction 1
Instructions: 1. system::AdvanceNonce 2. memo::Memo 3. splitter::TransferWithCommitment (treasury -> destination) Client Signature Required: No
Transaction 2
Instructions: 1. system::AdvanceNonce 2. memo::Memo 3. timelock::TransferWithAuthority (source -> commitment) Client Signature Required: Yes
func (*TemporaryPrivacyTransferAction) Descriptor
deprecated
func (*TemporaryPrivacyTransferAction) Descriptor() ([]byte, []int)
Deprecated: Use TemporaryPrivacyTransferAction.ProtoReflect.Descriptor instead.
func (*TemporaryPrivacyTransferAction) GetAmount ¶
func (x *TemporaryPrivacyTransferAction) GetAmount() uint64
func (*TemporaryPrivacyTransferAction) GetAuthority ¶
func (x *TemporaryPrivacyTransferAction) GetAuthority() *v1.SolanaAccountId
func (*TemporaryPrivacyTransferAction) GetDestination ¶
func (x *TemporaryPrivacyTransferAction) GetDestination() *v1.SolanaAccountId
func (*TemporaryPrivacyTransferAction) GetSource ¶
func (x *TemporaryPrivacyTransferAction) GetSource() *v1.SolanaAccountId
func (*TemporaryPrivacyTransferAction) ProtoMessage ¶
func (*TemporaryPrivacyTransferAction) ProtoMessage()
func (*TemporaryPrivacyTransferAction) ProtoReflect ¶
func (x *TemporaryPrivacyTransferAction) ProtoReflect() protoreflect.Message
func (*TemporaryPrivacyTransferAction) Reset ¶
func (x *TemporaryPrivacyTransferAction) Reset()
func (*TemporaryPrivacyTransferAction) String ¶
func (x *TemporaryPrivacyTransferAction) String() string
func (*TemporaryPrivacyTransferAction) Validate ¶
func (m *TemporaryPrivacyTransferAction) Validate() error
Validate checks the field values on TemporaryPrivacyTransferAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TemporaryPrivacyTransferActionValidationError ¶
type TemporaryPrivacyTransferActionValidationError struct {
// contains filtered or unexported fields
}
TemporaryPrivacyTransferActionValidationError is the validation error returned by TemporaryPrivacyTransferAction.Validate if the designated constraints aren't met.
func (TemporaryPrivacyTransferActionValidationError) Cause ¶
func (e TemporaryPrivacyTransferActionValidationError) Cause() error
Cause function returns cause value.
func (TemporaryPrivacyTransferActionValidationError) Error ¶
func (e TemporaryPrivacyTransferActionValidationError) Error() string
Error satisfies the builtin error interface
func (TemporaryPrivacyTransferActionValidationError) ErrorName ¶
func (e TemporaryPrivacyTransferActionValidationError) ErrorName() string
ErrorName returns error name.
func (TemporaryPrivacyTransferActionValidationError) Field ¶
func (e TemporaryPrivacyTransferActionValidationError) Field() string
Field function returns field value.
func (TemporaryPrivacyTransferActionValidationError) Key ¶
func (e TemporaryPrivacyTransferActionValidationError) Key() bool
Key function returns key value.
func (TemporaryPrivacyTransferActionValidationError) Reason ¶
func (e TemporaryPrivacyTransferActionValidationError) Reason() string
Reason function returns reason value.
type TemporaryPrivacyTransferServerParameter ¶
type TemporaryPrivacyTransferServerParameter struct { // The treasury that will be used to split payments and provide a level of privacy Treasury *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=treasury,proto3" json:"treasury,omitempty"` // A recent root server observed from the treasury RecentRoot *v1.Hash `protobuf:"bytes,2,opt,name=recent_root,json=recentRoot,proto3" json:"recent_root,omitempty"` // contains filtered or unexported fields }
func (*TemporaryPrivacyTransferServerParameter) Descriptor
deprecated
func (*TemporaryPrivacyTransferServerParameter) Descriptor() ([]byte, []int)
Deprecated: Use TemporaryPrivacyTransferServerParameter.ProtoReflect.Descriptor instead.
func (*TemporaryPrivacyTransferServerParameter) GetRecentRoot ¶
func (x *TemporaryPrivacyTransferServerParameter) GetRecentRoot() *v1.Hash
func (*TemporaryPrivacyTransferServerParameter) GetTreasury ¶
func (x *TemporaryPrivacyTransferServerParameter) GetTreasury() *v1.SolanaAccountId
func (*TemporaryPrivacyTransferServerParameter) ProtoMessage ¶
func (*TemporaryPrivacyTransferServerParameter) ProtoMessage()
func (*TemporaryPrivacyTransferServerParameter) ProtoReflect ¶
func (x *TemporaryPrivacyTransferServerParameter) ProtoReflect() protoreflect.Message
func (*TemporaryPrivacyTransferServerParameter) Reset ¶
func (x *TemporaryPrivacyTransferServerParameter) Reset()
func (*TemporaryPrivacyTransferServerParameter) String ¶
func (x *TemporaryPrivacyTransferServerParameter) String() string
func (*TemporaryPrivacyTransferServerParameter) Validate ¶
func (m *TemporaryPrivacyTransferServerParameter) Validate() error
Validate checks the field values on TemporaryPrivacyTransferServerParameter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TemporaryPrivacyTransferServerParameterValidationError ¶
type TemporaryPrivacyTransferServerParameterValidationError struct {
// contains filtered or unexported fields
}
TemporaryPrivacyTransferServerParameterValidationError is the validation error returned by TemporaryPrivacyTransferServerParameter.Validate if the designated constraints aren't met.
func (TemporaryPrivacyTransferServerParameterValidationError) Cause ¶
func (e TemporaryPrivacyTransferServerParameterValidationError) Cause() error
Cause function returns cause value.
func (TemporaryPrivacyTransferServerParameterValidationError) Error ¶
func (e TemporaryPrivacyTransferServerParameterValidationError) Error() string
Error satisfies the builtin error interface
func (TemporaryPrivacyTransferServerParameterValidationError) ErrorName ¶
func (e TemporaryPrivacyTransferServerParameterValidationError) ErrorName() string
ErrorName returns error name.
func (TemporaryPrivacyTransferServerParameterValidationError) Field ¶
func (e TemporaryPrivacyTransferServerParameterValidationError) Field() string
Field function returns field value.
func (TemporaryPrivacyTransferServerParameterValidationError) Key ¶
func (e TemporaryPrivacyTransferServerParameterValidationError) Key() bool
Key function returns key value.
func (TemporaryPrivacyTransferServerParameterValidationError) Reason ¶
func (e TemporaryPrivacyTransferServerParameterValidationError) Reason() string
Reason function returns reason value.
type TippedUser ¶ added in v1.16.0
type TippedUser struct { Platform TippedUser_Platform `protobuf:"varint,1,opt,name=platform,proto3,enum=code.transaction.v2.TippedUser_Platform" json:"platform,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*TippedUser) Descriptor
deprecated
added in
v1.16.0
func (*TippedUser) Descriptor() ([]byte, []int)
Deprecated: Use TippedUser.ProtoReflect.Descriptor instead.
func (*TippedUser) GetPlatform ¶ added in v1.16.0
func (x *TippedUser) GetPlatform() TippedUser_Platform
func (*TippedUser) GetUsername ¶ added in v1.16.0
func (x *TippedUser) GetUsername() string
func (*TippedUser) ProtoMessage ¶ added in v1.16.0
func (*TippedUser) ProtoMessage()
func (*TippedUser) ProtoReflect ¶ added in v1.16.0
func (x *TippedUser) ProtoReflect() protoreflect.Message
func (*TippedUser) Reset ¶ added in v1.16.0
func (x *TippedUser) Reset()
func (*TippedUser) String ¶ added in v1.16.0
func (x *TippedUser) String() string
func (*TippedUser) Validate ¶ added in v1.16.0
func (m *TippedUser) Validate() error
Validate checks the field values on TippedUser with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type TippedUserValidationError ¶ added in v1.16.0
type TippedUserValidationError struct {
// contains filtered or unexported fields
}
TippedUserValidationError is the validation error returned by TippedUser.Validate if the designated constraints aren't met.
func (TippedUserValidationError) Cause ¶ added in v1.16.0
func (e TippedUserValidationError) Cause() error
Cause function returns cause value.
func (TippedUserValidationError) Error ¶ added in v1.16.0
func (e TippedUserValidationError) Error() string
Error satisfies the builtin error interface
func (TippedUserValidationError) ErrorName ¶ added in v1.16.0
func (e TippedUserValidationError) ErrorName() string
ErrorName returns error name.
func (TippedUserValidationError) Field ¶ added in v1.16.0
func (e TippedUserValidationError) Field() string
Field function returns field value.
func (TippedUserValidationError) Key ¶ added in v1.16.0
func (e TippedUserValidationError) Key() bool
Key function returns key value.
func (TippedUserValidationError) Reason ¶ added in v1.16.0
func (e TippedUserValidationError) Reason() string
Reason function returns reason value.
type TippedUser_Platform ¶ added in v1.16.0
type TippedUser_Platform int32
const ( TippedUser_UNKNOWN TippedUser_Platform = 0 TippedUser_TWITTER TippedUser_Platform = 1 )
func (TippedUser_Platform) Descriptor ¶ added in v1.16.0
func (TippedUser_Platform) Descriptor() protoreflect.EnumDescriptor
func (TippedUser_Platform) Enum ¶ added in v1.16.0
func (x TippedUser_Platform) Enum() *TippedUser_Platform
func (TippedUser_Platform) EnumDescriptor
deprecated
added in
v1.16.0
func (TippedUser_Platform) EnumDescriptor() ([]byte, []int)
Deprecated: Use TippedUser_Platform.Descriptor instead.
func (TippedUser_Platform) Number ¶ added in v1.16.0
func (x TippedUser_Platform) Number() protoreflect.EnumNumber
func (TippedUser_Platform) String ¶ added in v1.16.0
func (x TippedUser_Platform) String() string
func (TippedUser_Platform) Type ¶ added in v1.16.0
func (TippedUser_Platform) Type() protoreflect.EnumType
type TransactionClient ¶
type TransactionClient interface { // SubmitIntent is the mechanism for client and server to agree upon a set of // client actions to execute on the blockchain using the Code sequencer for // fulfillment. // // Transactions are never exchanged between client and server. Instead, the // required accounts and arguments for instructions known to each actor are // exchanged to allow independent and local transaction construction. // // Client and server are expected to fully validate the intent. Proofs will // be provided for any parameter requiring one. Signatures should only be // generated after approval of all transactions. // // This RPC is not a traditional streaming endpoint. It bundles two unary calls // to enable DB-level transaction semantics. // // The high-level happy path flow for the RPC is as follows: // 1. Client initiates a stream and sends SubmitIntentRequest.SubmitActions // 2. Server validates the intent, its actions and metadata // 3a. If there are transactions requiring the user's signature, then server // returns SubmitIntentResponse.ServerParameters // 3b. Otherwise, server returns SubmitIntentResponse.Success and closes the // stream // 4. For each transaction requiring the user's signature, the client locally // constructs it, performs validation and collects the signature // 5. Client sends SubmitIntentRequest.SubmitSignatures with the signature // list generated from 4 // 6. Server validates all signatures are submitted and are the expected values // using locally constructed transactions. // 7. Server returns SubmitIntentResponse.Success and closes the stream // // In the error case: // - Server will return SubmitIntentResponse.Error and close the stream // - Client will close the stream SubmitIntent(ctx context.Context, opts ...grpc.CallOption) (Transaction_SubmitIntentClient, error) // GetIntentMetadata gets basic metadata on an intent. It can also be used // to fetch the status of submitted intents. Metadata exists only for intents // that have been successfully submitted. GetIntentMetadata(ctx context.Context, in *GetIntentMetadataRequest, opts ...grpc.CallOption) (*GetIntentMetadataResponse, error) // GetPrivacyUpgradeStatus gets the status of a private transaction and the // ability to upgrade it to permanent privacy. GetPrivacyUpgradeStatus(ctx context.Context, in *GetPrivacyUpgradeStatusRequest, opts ...grpc.CallOption) (*GetPrivacyUpgradeStatusResponse, error) // GetPrioritizedIntentsForPrivacyUpgrade allows clients to get private // intent actions that can be upgraded in a secure and verifiable manner. GetPrioritizedIntentsForPrivacyUpgrade(ctx context.Context, in *GetPrioritizedIntentsForPrivacyUpgradeRequest, opts ...grpc.CallOption) (*GetPrioritizedIntentsForPrivacyUpgradeResponse, error) // GetLimits gets limits for money moving intents for an owner account in an // identity-aware manner GetLimits(ctx context.Context, in *GetLimitsRequest, opts ...grpc.CallOption) (*GetLimitsResponse, error) // GetPaymentHistory gets an owner account's payment history inferred from intents // // Deprecated: Payment history has migrated to chats GetPaymentHistory(ctx context.Context, in *GetPaymentHistoryRequest, opts ...grpc.CallOption) (*GetPaymentHistoryResponse, error) // CanWithdrawToAccount provides hints to clients for submitting withdraw intents. // The RPC indicates if a withdrawal is possible, and how it should be performed. CanWithdrawToAccount(ctx context.Context, in *CanWithdrawToAccountRequest, opts ...grpc.CallOption) (*CanWithdrawToAccountResponse, error) // Airdrop airdrops Kin to the requesting account Airdrop(ctx context.Context, in *AirdropRequest, opts ...grpc.CallOption) (*AirdropResponse, error) // Swap performs an on-chain swap. The high-level flow mirrors SubmitIntent // closely. However, due to the time-sensitive nature and unreliability of // swaps, they do not fit within the broader intent system. This results in // a few key differences: // - Transactions are submitted on a best-effort basis outside of the Code // Sequencer within the RPC handler // - Balance changes are applied after the transaction has finalized // - Transactions use recent blockhashes over a nonce // // The transaction will have the following instruction format: // 1. ComputeBudget::SetComputeUnitLimit // 2. ComputeBudget::SetComputeUnitPrice // 3. SwapValidator::PreSwap // 4. Dynamic swap instruction // 5. SwapValidator::PostSwap // // Note: Currently limited to swapping USDC to Kin. // Note: Kin is deposited into the primary account. Swap(ctx context.Context, opts ...grpc.CallOption) (Transaction_SwapClient, error) // DeclareFiatOnrampPurchaseAttempt is called whenever a user attempts to use a fiat // onramp to purchase crypto for use in Code. DeclareFiatOnrampPurchaseAttempt(ctx context.Context, in *DeclareFiatOnrampPurchaseAttemptRequest, opts ...grpc.CallOption) (*DeclareFiatOnrampPurchaseAttemptResponse, error) }
TransactionClient is the client API for Transaction 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 NewTransactionClient ¶
func NewTransactionClient(cc grpc.ClientConnInterface) TransactionClient
type TransactionServer ¶
type TransactionServer interface { // SubmitIntent is the mechanism for client and server to agree upon a set of // client actions to execute on the blockchain using the Code sequencer for // fulfillment. // // Transactions are never exchanged between client and server. Instead, the // required accounts and arguments for instructions known to each actor are // exchanged to allow independent and local transaction construction. // // Client and server are expected to fully validate the intent. Proofs will // be provided for any parameter requiring one. Signatures should only be // generated after approval of all transactions. // // This RPC is not a traditional streaming endpoint. It bundles two unary calls // to enable DB-level transaction semantics. // // The high-level happy path flow for the RPC is as follows: // 1. Client initiates a stream and sends SubmitIntentRequest.SubmitActions // 2. Server validates the intent, its actions and metadata // 3a. If there are transactions requiring the user's signature, then server // returns SubmitIntentResponse.ServerParameters // 3b. Otherwise, server returns SubmitIntentResponse.Success and closes the // stream // 4. For each transaction requiring the user's signature, the client locally // constructs it, performs validation and collects the signature // 5. Client sends SubmitIntentRequest.SubmitSignatures with the signature // list generated from 4 // 6. Server validates all signatures are submitted and are the expected values // using locally constructed transactions. // 7. Server returns SubmitIntentResponse.Success and closes the stream // // In the error case: // - Server will return SubmitIntentResponse.Error and close the stream // - Client will close the stream SubmitIntent(Transaction_SubmitIntentServer) error // GetIntentMetadata gets basic metadata on an intent. It can also be used // to fetch the status of submitted intents. Metadata exists only for intents // that have been successfully submitted. GetIntentMetadata(context.Context, *GetIntentMetadataRequest) (*GetIntentMetadataResponse, error) // GetPrivacyUpgradeStatus gets the status of a private transaction and the // ability to upgrade it to permanent privacy. GetPrivacyUpgradeStatus(context.Context, *GetPrivacyUpgradeStatusRequest) (*GetPrivacyUpgradeStatusResponse, error) // GetPrioritizedIntentsForPrivacyUpgrade allows clients to get private // intent actions that can be upgraded in a secure and verifiable manner. GetPrioritizedIntentsForPrivacyUpgrade(context.Context, *GetPrioritizedIntentsForPrivacyUpgradeRequest) (*GetPrioritizedIntentsForPrivacyUpgradeResponse, error) // GetLimits gets limits for money moving intents for an owner account in an // identity-aware manner GetLimits(context.Context, *GetLimitsRequest) (*GetLimitsResponse, error) // GetPaymentHistory gets an owner account's payment history inferred from intents // // Deprecated: Payment history has migrated to chats GetPaymentHistory(context.Context, *GetPaymentHistoryRequest) (*GetPaymentHistoryResponse, error) // CanWithdrawToAccount provides hints to clients for submitting withdraw intents. // The RPC indicates if a withdrawal is possible, and how it should be performed. CanWithdrawToAccount(context.Context, *CanWithdrawToAccountRequest) (*CanWithdrawToAccountResponse, error) // Airdrop airdrops Kin to the requesting account Airdrop(context.Context, *AirdropRequest) (*AirdropResponse, error) // Swap performs an on-chain swap. The high-level flow mirrors SubmitIntent // closely. However, due to the time-sensitive nature and unreliability of // swaps, they do not fit within the broader intent system. This results in // a few key differences: // - Transactions are submitted on a best-effort basis outside of the Code // Sequencer within the RPC handler // - Balance changes are applied after the transaction has finalized // - Transactions use recent blockhashes over a nonce // // The transaction will have the following instruction format: // 1. ComputeBudget::SetComputeUnitLimit // 2. ComputeBudget::SetComputeUnitPrice // 3. SwapValidator::PreSwap // 4. Dynamic swap instruction // 5. SwapValidator::PostSwap // // Note: Currently limited to swapping USDC to Kin. // Note: Kin is deposited into the primary account. Swap(Transaction_SwapServer) error // DeclareFiatOnrampPurchaseAttempt is called whenever a user attempts to use a fiat // onramp to purchase crypto for use in Code. DeclareFiatOnrampPurchaseAttempt(context.Context, *DeclareFiatOnrampPurchaseAttemptRequest) (*DeclareFiatOnrampPurchaseAttemptResponse, error) // contains filtered or unexported methods }
TransactionServer is the server API for Transaction service. All implementations must embed UnimplementedTransactionServer for forward compatibility
type Transaction_SubmitIntentClient ¶
type Transaction_SubmitIntentClient interface { Send(*SubmitIntentRequest) error Recv() (*SubmitIntentResponse, error) grpc.ClientStream }
type Transaction_SubmitIntentServer ¶
type Transaction_SubmitIntentServer interface { Send(*SubmitIntentResponse) error Recv() (*SubmitIntentRequest, error) grpc.ServerStream }
type Transaction_SwapClient ¶ added in v1.8.0
type Transaction_SwapClient interface { Send(*SwapRequest) error Recv() (*SwapResponse, error) grpc.ClientStream }
type Transaction_SwapServer ¶ added in v1.8.0
type Transaction_SwapServer interface { Send(*SwapResponse) error Recv() (*SwapRequest, error) grpc.ServerStream }
type UnimplementedTransactionServer ¶
type UnimplementedTransactionServer struct { }
UnimplementedTransactionServer must be embedded to have forward compatible implementations.
func (UnimplementedTransactionServer) Airdrop ¶
func (UnimplementedTransactionServer) Airdrop(context.Context, *AirdropRequest) (*AirdropResponse, error)
func (UnimplementedTransactionServer) CanWithdrawToAccount ¶
func (UnimplementedTransactionServer) CanWithdrawToAccount(context.Context, *CanWithdrawToAccountRequest) (*CanWithdrawToAccountResponse, error)
func (UnimplementedTransactionServer) DeclareFiatOnrampPurchaseAttempt ¶ added in v1.12.2
func (UnimplementedTransactionServer) DeclareFiatOnrampPurchaseAttempt(context.Context, *DeclareFiatOnrampPurchaseAttemptRequest) (*DeclareFiatOnrampPurchaseAttemptResponse, error)
func (UnimplementedTransactionServer) GetIntentMetadata ¶
func (UnimplementedTransactionServer) GetIntentMetadata(context.Context, *GetIntentMetadataRequest) (*GetIntentMetadataResponse, error)
func (UnimplementedTransactionServer) GetLimits ¶
func (UnimplementedTransactionServer) GetLimits(context.Context, *GetLimitsRequest) (*GetLimitsResponse, error)
func (UnimplementedTransactionServer) GetPaymentHistory ¶
func (UnimplementedTransactionServer) GetPaymentHistory(context.Context, *GetPaymentHistoryRequest) (*GetPaymentHistoryResponse, error)
func (UnimplementedTransactionServer) GetPrioritizedIntentsForPrivacyUpgrade ¶
func (UnimplementedTransactionServer) GetPrioritizedIntentsForPrivacyUpgrade(context.Context, *GetPrioritizedIntentsForPrivacyUpgradeRequest) (*GetPrioritizedIntentsForPrivacyUpgradeResponse, error)
func (UnimplementedTransactionServer) GetPrivacyUpgradeStatus ¶
func (UnimplementedTransactionServer) GetPrivacyUpgradeStatus(context.Context, *GetPrivacyUpgradeStatusRequest) (*GetPrivacyUpgradeStatusResponse, error)
func (UnimplementedTransactionServer) SubmitIntent ¶
func (UnimplementedTransactionServer) SubmitIntent(Transaction_SubmitIntentServer) error
func (UnimplementedTransactionServer) Swap ¶ added in v1.8.0
func (UnimplementedTransactionServer) Swap(Transaction_SwapServer) error
type UnsafeTransactionServer ¶
type UnsafeTransactionServer interface {
// contains filtered or unexported methods
}
UnsafeTransactionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransactionServer will result in compilation errors.
type UpgradePrivacyMetadata ¶
type UpgradePrivacyMetadata struct {
// contains filtered or unexported fields
}
Upgrade existing private transactions from temporary to permanent privacy.
func (*UpgradePrivacyMetadata) Descriptor
deprecated
func (*UpgradePrivacyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpgradePrivacyMetadata.ProtoReflect.Descriptor instead.
func (*UpgradePrivacyMetadata) ProtoMessage ¶
func (*UpgradePrivacyMetadata) ProtoMessage()
func (*UpgradePrivacyMetadata) ProtoReflect ¶
func (x *UpgradePrivacyMetadata) ProtoReflect() protoreflect.Message
func (*UpgradePrivacyMetadata) Reset ¶
func (x *UpgradePrivacyMetadata) Reset()
func (*UpgradePrivacyMetadata) String ¶
func (x *UpgradePrivacyMetadata) String() string
func (*UpgradePrivacyMetadata) Validate ¶
func (m *UpgradePrivacyMetadata) Validate() error
Validate checks the field values on UpgradePrivacyMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpgradePrivacyMetadataValidationError ¶
type UpgradePrivacyMetadataValidationError struct {
// contains filtered or unexported fields
}
UpgradePrivacyMetadataValidationError is the validation error returned by UpgradePrivacyMetadata.Validate if the designated constraints aren't met.
func (UpgradePrivacyMetadataValidationError) Cause ¶
func (e UpgradePrivacyMetadataValidationError) Cause() error
Cause function returns cause value.
func (UpgradePrivacyMetadataValidationError) Error ¶
func (e UpgradePrivacyMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (UpgradePrivacyMetadataValidationError) ErrorName ¶
func (e UpgradePrivacyMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (UpgradePrivacyMetadataValidationError) Field ¶
func (e UpgradePrivacyMetadataValidationError) Field() string
Field function returns field value.
func (UpgradePrivacyMetadataValidationError) Key ¶
func (e UpgradePrivacyMetadataValidationError) Key() bool
Key function returns key value.
func (UpgradePrivacyMetadataValidationError) Reason ¶
func (e UpgradePrivacyMetadataValidationError) Reason() string
Reason function returns reason value.
type UpgradeableIntent ¶
type UpgradeableIntent struct { // The intent ID Id *v1.IntentId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The set of private actions that can be upgraded Actions []*UpgradeableIntent_UpgradeablePrivateAction `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
UpgradeableIntent is an intent whose actions can be upgraded.
func (*UpgradeableIntent) Descriptor
deprecated
func (*UpgradeableIntent) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeableIntent.ProtoReflect.Descriptor instead.
func (*UpgradeableIntent) GetActions ¶
func (x *UpgradeableIntent) GetActions() []*UpgradeableIntent_UpgradeablePrivateAction
func (*UpgradeableIntent) GetId ¶
func (x *UpgradeableIntent) GetId() *v1.IntentId
func (*UpgradeableIntent) ProtoMessage ¶
func (*UpgradeableIntent) ProtoMessage()
func (*UpgradeableIntent) ProtoReflect ¶
func (x *UpgradeableIntent) ProtoReflect() protoreflect.Message
func (*UpgradeableIntent) Reset ¶
func (x *UpgradeableIntent) Reset()
func (*UpgradeableIntent) String ¶
func (x *UpgradeableIntent) String() string
func (*UpgradeableIntent) Validate ¶
func (m *UpgradeableIntent) Validate() error
Validate checks the field values on UpgradeableIntent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpgradeableIntentValidationError ¶
type UpgradeableIntentValidationError struct {
// contains filtered or unexported fields
}
UpgradeableIntentValidationError is the validation error returned by UpgradeableIntent.Validate if the designated constraints aren't met.
func (UpgradeableIntentValidationError) Cause ¶
func (e UpgradeableIntentValidationError) Cause() error
Cause function returns cause value.
func (UpgradeableIntentValidationError) Error ¶
func (e UpgradeableIntentValidationError) Error() string
Error satisfies the builtin error interface
func (UpgradeableIntentValidationError) ErrorName ¶
func (e UpgradeableIntentValidationError) ErrorName() string
ErrorName returns error name.
func (UpgradeableIntentValidationError) Field ¶
func (e UpgradeableIntentValidationError) Field() string
Field function returns field value.
func (UpgradeableIntentValidationError) Key ¶
func (e UpgradeableIntentValidationError) Key() bool
Key function returns key value.
func (UpgradeableIntentValidationError) Reason ¶
func (e UpgradeableIntentValidationError) Reason() string
Reason function returns reason value.
type UpgradeableIntent_UpgradeablePrivateAction ¶
type UpgradeableIntent_UpgradeablePrivateAction struct { // The transaction blob that was signed by the client. Clients *MUST* use // the source and destination account in the timelock::TransferWithAuthority // instruction to validate all fields provided by server by locally computing // the expected addresses. TransactionBlob *v1.Transaction `protobuf:"bytes,1,opt,name=transaction_blob,json=transactionBlob,proto3" json:"transaction_blob,omitempty"` // The client's signature for the transaction. Clients MUST use this to // locally validate the transaction blob provided by server. ClientSignature *v1.Signature `protobuf:"bytes,2,opt,name=client_signature,json=clientSignature,proto3" json:"client_signature,omitempty"` // The action ID of this transaction ActionId uint32 `protobuf:"varint,3,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // The source account's type, which hints how to efficiently derive source SourceAccountType v1.AccountType `` /* 147-byte string literal not displayed */ // The source account's derivation index, which hints how to efficiently derive source SourceDerivationIndex uint64 `` /* 127-byte string literal not displayed */ // The original destination account that was paid by the treasury OriginalDestination *v1.SolanaAccountId `protobuf:"bytes,6,opt,name=original_destination,json=originalDestination,proto3" json:"original_destination,omitempty"` // The original quark amount for the action OriginalAmount uint64 `protobuf:"varint,7,opt,name=original_amount,json=originalAmount,proto3" json:"original_amount,omitempty"` // The treasury used for this the private action Treasury *v1.SolanaAccountId `protobuf:"bytes,8,opt,name=treasury,proto3" json:"treasury,omitempty"` // The recent root observed at the time of intent creation for this private action RecentRoot *v1.Hash `protobuf:"bytes,9,opt,name=recent_root,json=recentRoot,proto3" json:"recent_root,omitempty"` // contains filtered or unexported fields }
func (*UpgradeableIntent_UpgradeablePrivateAction) Descriptor
deprecated
func (*UpgradeableIntent_UpgradeablePrivateAction) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeableIntent_UpgradeablePrivateAction.ProtoReflect.Descriptor instead.
func (*UpgradeableIntent_UpgradeablePrivateAction) GetActionId ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) GetActionId() uint32
func (*UpgradeableIntent_UpgradeablePrivateAction) GetClientSignature ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) GetClientSignature() *v1.Signature
func (*UpgradeableIntent_UpgradeablePrivateAction) GetOriginalAmount ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) GetOriginalAmount() uint64
func (*UpgradeableIntent_UpgradeablePrivateAction) GetOriginalDestination ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) GetOriginalDestination() *v1.SolanaAccountId
func (*UpgradeableIntent_UpgradeablePrivateAction) GetRecentRoot ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) GetRecentRoot() *v1.Hash
func (*UpgradeableIntent_UpgradeablePrivateAction) GetSourceAccountType ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) GetSourceAccountType() v1.AccountType
func (*UpgradeableIntent_UpgradeablePrivateAction) GetSourceDerivationIndex ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) GetSourceDerivationIndex() uint64
func (*UpgradeableIntent_UpgradeablePrivateAction) GetTransactionBlob ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) GetTransactionBlob() *v1.Transaction
func (*UpgradeableIntent_UpgradeablePrivateAction) GetTreasury ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) GetTreasury() *v1.SolanaAccountId
func (*UpgradeableIntent_UpgradeablePrivateAction) ProtoMessage ¶
func (*UpgradeableIntent_UpgradeablePrivateAction) ProtoMessage()
func (*UpgradeableIntent_UpgradeablePrivateAction) ProtoReflect ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) ProtoReflect() protoreflect.Message
func (*UpgradeableIntent_UpgradeablePrivateAction) Reset ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) Reset()
func (*UpgradeableIntent_UpgradeablePrivateAction) String ¶
func (x *UpgradeableIntent_UpgradeablePrivateAction) String() string
func (*UpgradeableIntent_UpgradeablePrivateAction) Validate ¶
func (m *UpgradeableIntent_UpgradeablePrivateAction) Validate() error
Validate checks the field values on UpgradeableIntent_UpgradeablePrivateAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpgradeableIntent_UpgradeablePrivateActionValidationError ¶
type UpgradeableIntent_UpgradeablePrivateActionValidationError struct {
// contains filtered or unexported fields
}
UpgradeableIntent_UpgradeablePrivateActionValidationError is the validation error returned by UpgradeableIntent_UpgradeablePrivateAction.Validate if the designated constraints aren't met.
func (UpgradeableIntent_UpgradeablePrivateActionValidationError) Cause ¶
func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) Cause() error
Cause function returns cause value.
func (UpgradeableIntent_UpgradeablePrivateActionValidationError) Error ¶
func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) Error() string
Error satisfies the builtin error interface
func (UpgradeableIntent_UpgradeablePrivateActionValidationError) ErrorName ¶
func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) ErrorName() string
ErrorName returns error name.
func (UpgradeableIntent_UpgradeablePrivateActionValidationError) Field ¶
func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) Field() string
Field function returns field value.
func (UpgradeableIntent_UpgradeablePrivateActionValidationError) Key ¶
func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) Key() bool
Key function returns key value.
func (UpgradeableIntent_UpgradeablePrivateActionValidationError) Reason ¶
func (e UpgradeableIntent_UpgradeablePrivateActionValidationError) Reason() string
Reason function returns reason value.