Documentation
¶
Index ¶
- Variables
- func RegisterCurrencyServer(s grpc.ServiceRegistrar, srv CurrencyServer)
- type CoreMintFiatExchangeRate
- func (*CoreMintFiatExchangeRate) Descriptor() ([]byte, []int)deprecated
- func (x *CoreMintFiatExchangeRate) GetCurrencyCode() string
- func (x *CoreMintFiatExchangeRate) GetExchangeRate() float64
- func (x *CoreMintFiatExchangeRate) GetTimestamp() *timestamppb.Timestamp
- func (*CoreMintFiatExchangeRate) ProtoMessage()
- func (x *CoreMintFiatExchangeRate) ProtoReflect() protoreflect.Message
- func (x *CoreMintFiatExchangeRate) Reset()
- func (x *CoreMintFiatExchangeRate) String() string
- func (m *CoreMintFiatExchangeRate) Validate() error
- type CoreMintFiatExchangeRateValidationError
- func (e CoreMintFiatExchangeRateValidationError) Cause() error
- func (e CoreMintFiatExchangeRateValidationError) Error() string
- func (e CoreMintFiatExchangeRateValidationError) ErrorName() string
- func (e CoreMintFiatExchangeRateValidationError) Field() string
- func (e CoreMintFiatExchangeRateValidationError) Key() bool
- func (e CoreMintFiatExchangeRateValidationError) Reason() string
- type CurrencyClient
- type CurrencyServer
- type Currency_StreamLiveMintDataClient
- type Currency_StreamLiveMintDataServer
- type GetHistoricalMintDataRequest
- func (*GetHistoricalMintDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHistoricalMintDataRequest) GetAddress() *v1.SolanaAccountId
- func (x *GetHistoricalMintDataRequest) GetCurrencyCode() string
- func (x *GetHistoricalMintDataRequest) GetPredefinedRange() GetHistoricalMintDataRequest_PredefinedRange
- func (m *GetHistoricalMintDataRequest) GetRange() isGetHistoricalMintDataRequest_Range
- func (*GetHistoricalMintDataRequest) ProtoMessage()
- func (x *GetHistoricalMintDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetHistoricalMintDataRequest) Reset()
- func (x *GetHistoricalMintDataRequest) String() string
- func (m *GetHistoricalMintDataRequest) Validate() error
- type GetHistoricalMintDataRequestValidationError
- func (e GetHistoricalMintDataRequestValidationError) Cause() error
- func (e GetHistoricalMintDataRequestValidationError) Error() string
- func (e GetHistoricalMintDataRequestValidationError) ErrorName() string
- func (e GetHistoricalMintDataRequestValidationError) Field() string
- func (e GetHistoricalMintDataRequestValidationError) Key() bool
- func (e GetHistoricalMintDataRequestValidationError) Reason() string
- type GetHistoricalMintDataRequest_PredefinedRange
- func (GetHistoricalMintDataRequest_PredefinedRange) Descriptor() protoreflect.EnumDescriptor
- func (x GetHistoricalMintDataRequest_PredefinedRange) Enum() *GetHistoricalMintDataRequest_PredefinedRange
- func (GetHistoricalMintDataRequest_PredefinedRange) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetHistoricalMintDataRequest_PredefinedRange) Number() protoreflect.EnumNumber
- func (x GetHistoricalMintDataRequest_PredefinedRange) String() string
- func (GetHistoricalMintDataRequest_PredefinedRange) Type() protoreflect.EnumType
- type GetHistoricalMintDataRequest_PredefinedRange_
- type GetHistoricalMintDataResponse
- func (*GetHistoricalMintDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHistoricalMintDataResponse) GetData() []*HistoricalMintData
- func (x *GetHistoricalMintDataResponse) GetResult() GetHistoricalMintDataResponse_Result
- func (*GetHistoricalMintDataResponse) ProtoMessage()
- func (x *GetHistoricalMintDataResponse) ProtoReflect() protoreflect.Message
- func (x *GetHistoricalMintDataResponse) Reset()
- func (x *GetHistoricalMintDataResponse) String() string
- func (m *GetHistoricalMintDataResponse) Validate() error
- type GetHistoricalMintDataResponseValidationError
- func (e GetHistoricalMintDataResponseValidationError) Cause() error
- func (e GetHistoricalMintDataResponseValidationError) Error() string
- func (e GetHistoricalMintDataResponseValidationError) ErrorName() string
- func (e GetHistoricalMintDataResponseValidationError) Field() string
- func (e GetHistoricalMintDataResponseValidationError) Key() bool
- func (e GetHistoricalMintDataResponseValidationError) Reason() string
- type GetHistoricalMintDataResponse_Result
- func (GetHistoricalMintDataResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetHistoricalMintDataResponse_Result) Enum() *GetHistoricalMintDataResponse_Result
- func (GetHistoricalMintDataResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetHistoricalMintDataResponse_Result) Number() protoreflect.EnumNumber
- func (x GetHistoricalMintDataResponse_Result) String() string
- func (GetHistoricalMintDataResponse_Result) Type() protoreflect.EnumType
- type GetMintsRequest
- func (*GetMintsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMintsRequest) GetAddresses() []*v1.SolanaAccountId
- func (*GetMintsRequest) ProtoMessage()
- func (x *GetMintsRequest) ProtoReflect() protoreflect.Message
- func (x *GetMintsRequest) Reset()
- func (x *GetMintsRequest) String() string
- func (m *GetMintsRequest) Validate() error
- type GetMintsRequestValidationError
- func (e GetMintsRequestValidationError) Cause() error
- func (e GetMintsRequestValidationError) Error() string
- func (e GetMintsRequestValidationError) ErrorName() string
- func (e GetMintsRequestValidationError) Field() string
- func (e GetMintsRequestValidationError) Key() bool
- func (e GetMintsRequestValidationError) Reason() string
- type GetMintsResponse
- func (*GetMintsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMintsResponse) GetMetadataByAddress() map[string]*Mint
- func (x *GetMintsResponse) GetResult() GetMintsResponse_Result
- func (*GetMintsResponse) ProtoMessage()
- func (x *GetMintsResponse) ProtoReflect() protoreflect.Message
- func (x *GetMintsResponse) Reset()
- func (x *GetMintsResponse) String() string
- func (m *GetMintsResponse) Validate() error
- type GetMintsResponseValidationError
- func (e GetMintsResponseValidationError) Cause() error
- func (e GetMintsResponseValidationError) Error() string
- func (e GetMintsResponseValidationError) ErrorName() string
- func (e GetMintsResponseValidationError) Field() string
- func (e GetMintsResponseValidationError) Key() bool
- func (e GetMintsResponseValidationError) Reason() string
- type GetMintsResponse_Result
- func (GetMintsResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x GetMintsResponse_Result) Enum() *GetMintsResponse_Result
- func (GetMintsResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetMintsResponse_Result) Number() protoreflect.EnumNumber
- func (x GetMintsResponse_Result) String() string
- func (GetMintsResponse_Result) Type() protoreflect.EnumType
- type HistoricalMintData
- func (*HistoricalMintData) Descriptor() ([]byte, []int)deprecated
- func (x *HistoricalMintData) GetMarketCap() float64
- func (x *HistoricalMintData) GetTimestamp() *timestamppb.Timestamp
- func (*HistoricalMintData) ProtoMessage()
- func (x *HistoricalMintData) ProtoReflect() protoreflect.Message
- func (x *HistoricalMintData) Reset()
- func (x *HistoricalMintData) String() string
- func (m *HistoricalMintData) Validate() error
- type HistoricalMintDataValidationError
- func (e HistoricalMintDataValidationError) Cause() error
- func (e HistoricalMintDataValidationError) Error() string
- func (e HistoricalMintDataValidationError) ErrorName() string
- func (e HistoricalMintDataValidationError) Field() string
- func (e HistoricalMintDataValidationError) Key() bool
- func (e HistoricalMintDataValidationError) Reason() string
- type LaunchpadCurrencyReserveState
- func (*LaunchpadCurrencyReserveState) Descriptor() ([]byte, []int)deprecated
- func (x *LaunchpadCurrencyReserveState) GetMint() *v1.SolanaAccountId
- func (x *LaunchpadCurrencyReserveState) GetSupplyFromBonding() uint64
- func (x *LaunchpadCurrencyReserveState) GetTimestamp() *timestamppb.Timestamp
- func (*LaunchpadCurrencyReserveState) ProtoMessage()
- func (x *LaunchpadCurrencyReserveState) ProtoReflect() protoreflect.Message
- func (x *LaunchpadCurrencyReserveState) Reset()
- func (x *LaunchpadCurrencyReserveState) String() string
- func (m *LaunchpadCurrencyReserveState) Validate() error
- type LaunchpadCurrencyReserveStateValidationError
- func (e LaunchpadCurrencyReserveStateValidationError) Cause() error
- func (e LaunchpadCurrencyReserveStateValidationError) Error() string
- func (e LaunchpadCurrencyReserveStateValidationError) ErrorName() string
- func (e LaunchpadCurrencyReserveStateValidationError) Field() string
- func (e LaunchpadCurrencyReserveStateValidationError) Key() bool
- func (e LaunchpadCurrencyReserveStateValidationError) Reason() string
- type LaunchpadMetadata
- func (*LaunchpadMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *LaunchpadMetadata) GetAuthority() *v1.SolanaAccountId
- func (x *LaunchpadMetadata) GetCoreMintVault() *v1.SolanaAccountId
- func (x *LaunchpadMetadata) GetCurrencyConfig() *v1.SolanaAccountId
- func (x *LaunchpadMetadata) GetLiquidityPool() *v1.SolanaAccountId
- func (x *LaunchpadMetadata) GetMintVault() *v1.SolanaAccountId
- func (x *LaunchpadMetadata) GetSeed() *v1.SolanaAccountId
- func (x *LaunchpadMetadata) GetSellFeeBps() uint32
- func (x *LaunchpadMetadata) GetSupplyFromBonding() uint64
- func (*LaunchpadMetadata) ProtoMessage()
- func (x *LaunchpadMetadata) ProtoReflect() protoreflect.Message
- func (x *LaunchpadMetadata) Reset()
- func (x *LaunchpadMetadata) String() string
- func (m *LaunchpadMetadata) Validate() error
- type LaunchpadMetadataValidationError
- func (e LaunchpadMetadataValidationError) Cause() error
- func (e LaunchpadMetadataValidationError) Error() string
- func (e LaunchpadMetadataValidationError) ErrorName() string
- func (e LaunchpadMetadataValidationError) Field() string
- func (e LaunchpadMetadataValidationError) Key() bool
- func (e LaunchpadMetadataValidationError) Reason() string
- type Mint
- func (*Mint) Descriptor() ([]byte, []int)deprecated
- func (x *Mint) GetAddress() *v1.SolanaAccountId
- func (x *Mint) GetCreatedAt() *timestamppb.Timestamp
- func (x *Mint) GetDecimals() uint32
- func (x *Mint) GetDescription() string
- func (x *Mint) GetImageUrl() string
- func (x *Mint) GetLaunchpadMetadata() *LaunchpadMetadata
- func (x *Mint) GetName() string
- func (x *Mint) GetSymbol() string
- func (x *Mint) GetVmMetadata() *VmMetadata
- func (*Mint) ProtoMessage()
- func (x *Mint) ProtoReflect() protoreflect.Message
- func (x *Mint) Reset()
- func (x *Mint) String() string
- func (m *Mint) Validate() error
- type MintValidationError
- type StreamLiveMintDataRequest
- func (*StreamLiveMintDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamLiveMintDataRequest) GetPong() *v1.ClientPong
- func (x *StreamLiveMintDataRequest) GetRequest() *StreamLiveMintDataRequest_Request
- func (m *StreamLiveMintDataRequest) GetType() isStreamLiveMintDataRequest_Type
- func (*StreamLiveMintDataRequest) ProtoMessage()
- func (x *StreamLiveMintDataRequest) ProtoReflect() protoreflect.Message
- func (x *StreamLiveMintDataRequest) Reset()
- func (x *StreamLiveMintDataRequest) String() string
- func (m *StreamLiveMintDataRequest) Validate() error
- type StreamLiveMintDataRequestValidationError
- func (e StreamLiveMintDataRequestValidationError) Cause() error
- func (e StreamLiveMintDataRequestValidationError) Error() string
- func (e StreamLiveMintDataRequestValidationError) ErrorName() string
- func (e StreamLiveMintDataRequestValidationError) Field() string
- func (e StreamLiveMintDataRequestValidationError) Key() bool
- func (e StreamLiveMintDataRequestValidationError) Reason() string
- type StreamLiveMintDataRequest_Pong
- type StreamLiveMintDataRequest_Request
- func (*StreamLiveMintDataRequest_Request) Descriptor() ([]byte, []int)deprecated
- func (x *StreamLiveMintDataRequest_Request) GetMints() []*v1.SolanaAccountId
- func (*StreamLiveMintDataRequest_Request) ProtoMessage()
- func (x *StreamLiveMintDataRequest_Request) ProtoReflect() protoreflect.Message
- func (x *StreamLiveMintDataRequest_Request) Reset()
- func (x *StreamLiveMintDataRequest_Request) String() string
- func (m *StreamLiveMintDataRequest_Request) Validate() error
- type StreamLiveMintDataRequest_RequestValidationError
- func (e StreamLiveMintDataRequest_RequestValidationError) Cause() error
- func (e StreamLiveMintDataRequest_RequestValidationError) Error() string
- func (e StreamLiveMintDataRequest_RequestValidationError) ErrorName() string
- func (e StreamLiveMintDataRequest_RequestValidationError) Field() string
- func (e StreamLiveMintDataRequest_RequestValidationError) Key() bool
- func (e StreamLiveMintDataRequest_RequestValidationError) Reason() string
- type StreamLiveMintDataRequest_Request_
- type StreamLiveMintDataResponse
- func (*StreamLiveMintDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamLiveMintDataResponse) GetData() *StreamLiveMintDataResponse_LiveData
- func (x *StreamLiveMintDataResponse) GetPing() *v1.ServerPing
- func (m *StreamLiveMintDataResponse) GetType() isStreamLiveMintDataResponse_Type
- func (*StreamLiveMintDataResponse) ProtoMessage()
- func (x *StreamLiveMintDataResponse) ProtoReflect() protoreflect.Message
- func (x *StreamLiveMintDataResponse) Reset()
- func (x *StreamLiveMintDataResponse) String() string
- func (m *StreamLiveMintDataResponse) Validate() error
- type StreamLiveMintDataResponseValidationError
- func (e StreamLiveMintDataResponseValidationError) Cause() error
- func (e StreamLiveMintDataResponseValidationError) Error() string
- func (e StreamLiveMintDataResponseValidationError) ErrorName() string
- func (e StreamLiveMintDataResponseValidationError) Field() string
- func (e StreamLiveMintDataResponseValidationError) Key() bool
- func (e StreamLiveMintDataResponseValidationError) Reason() string
- type StreamLiveMintDataResponse_Data
- type StreamLiveMintDataResponse_LiveData
- func (*StreamLiveMintDataResponse_LiveData) Descriptor() ([]byte, []int)deprecated
- func (x *StreamLiveMintDataResponse_LiveData) GetCoreMintFiatExchangeRates() *VerifiedCoreMintFiatExchangeRateBatch
- func (x *StreamLiveMintDataResponse_LiveData) GetLaunchpadCurrencyReserveStates() *VerifiedLaunchapdCurrencyReserveStateBatch
- func (m *StreamLiveMintDataResponse_LiveData) GetType() isStreamLiveMintDataResponse_LiveData_Type
- func (*StreamLiveMintDataResponse_LiveData) ProtoMessage()
- func (x *StreamLiveMintDataResponse_LiveData) ProtoReflect() protoreflect.Message
- func (x *StreamLiveMintDataResponse_LiveData) Reset()
- func (x *StreamLiveMintDataResponse_LiveData) String() string
- func (m *StreamLiveMintDataResponse_LiveData) Validate() error
- type StreamLiveMintDataResponse_LiveDataValidationError
- func (e StreamLiveMintDataResponse_LiveDataValidationError) Cause() error
- func (e StreamLiveMintDataResponse_LiveDataValidationError) Error() string
- func (e StreamLiveMintDataResponse_LiveDataValidationError) ErrorName() string
- func (e StreamLiveMintDataResponse_LiveDataValidationError) Field() string
- func (e StreamLiveMintDataResponse_LiveDataValidationError) Key() bool
- func (e StreamLiveMintDataResponse_LiveDataValidationError) Reason() string
- type StreamLiveMintDataResponse_LiveData_CoreMintFiatExchangeRates
- type StreamLiveMintDataResponse_LiveData_LaunchpadCurrencyReserveStates
- type StreamLiveMintDataResponse_Ping
- type UnimplementedCurrencyServer
- func (UnimplementedCurrencyServer) GetHistoricalMintData(context.Context, *GetHistoricalMintDataRequest) (*GetHistoricalMintDataResponse, error)
- func (UnimplementedCurrencyServer) GetMints(context.Context, *GetMintsRequest) (*GetMintsResponse, error)
- func (UnimplementedCurrencyServer) StreamLiveMintData(Currency_StreamLiveMintDataServer) error
- type UnsafeCurrencyServer
- type VerifiedCoreMintFiatExchangeRate
- func (*VerifiedCoreMintFiatExchangeRate) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiedCoreMintFiatExchangeRate) GetExchangeRate() *CoreMintFiatExchangeRate
- func (x *VerifiedCoreMintFiatExchangeRate) GetSignature() *v1.Signature
- func (*VerifiedCoreMintFiatExchangeRate) ProtoMessage()
- func (x *VerifiedCoreMintFiatExchangeRate) ProtoReflect() protoreflect.Message
- func (x *VerifiedCoreMintFiatExchangeRate) Reset()
- func (x *VerifiedCoreMintFiatExchangeRate) String() string
- func (m *VerifiedCoreMintFiatExchangeRate) Validate() error
- type VerifiedCoreMintFiatExchangeRateBatch
- func (*VerifiedCoreMintFiatExchangeRateBatch) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiedCoreMintFiatExchangeRateBatch) GetExchangeRates() []*VerifiedCoreMintFiatExchangeRate
- func (*VerifiedCoreMintFiatExchangeRateBatch) ProtoMessage()
- func (x *VerifiedCoreMintFiatExchangeRateBatch) ProtoReflect() protoreflect.Message
- func (x *VerifiedCoreMintFiatExchangeRateBatch) Reset()
- func (x *VerifiedCoreMintFiatExchangeRateBatch) String() string
- func (m *VerifiedCoreMintFiatExchangeRateBatch) Validate() error
- type VerifiedCoreMintFiatExchangeRateBatchValidationError
- func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) Cause() error
- func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) Error() string
- func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) ErrorName() string
- func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) Field() string
- func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) Key() bool
- func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) Reason() string
- type VerifiedCoreMintFiatExchangeRateValidationError
- func (e VerifiedCoreMintFiatExchangeRateValidationError) Cause() error
- func (e VerifiedCoreMintFiatExchangeRateValidationError) Error() string
- func (e VerifiedCoreMintFiatExchangeRateValidationError) ErrorName() string
- func (e VerifiedCoreMintFiatExchangeRateValidationError) Field() string
- func (e VerifiedCoreMintFiatExchangeRateValidationError) Key() bool
- func (e VerifiedCoreMintFiatExchangeRateValidationError) Reason() string
- type VerifiedLaunchapdCurrencyReserveStateBatch
- func (*VerifiedLaunchapdCurrencyReserveStateBatch) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiedLaunchapdCurrencyReserveStateBatch) GetReserveStates() []*VerifiedLaunchpadCurrencyReserveState
- func (*VerifiedLaunchapdCurrencyReserveStateBatch) ProtoMessage()
- func (x *VerifiedLaunchapdCurrencyReserveStateBatch) ProtoReflect() protoreflect.Message
- func (x *VerifiedLaunchapdCurrencyReserveStateBatch) Reset()
- func (x *VerifiedLaunchapdCurrencyReserveStateBatch) String() string
- func (m *VerifiedLaunchapdCurrencyReserveStateBatch) Validate() error
- type VerifiedLaunchapdCurrencyReserveStateBatchValidationError
- func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Cause() error
- func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Error() string
- func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) ErrorName() string
- func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Field() string
- func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Key() bool
- func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Reason() string
- type VerifiedLaunchpadCurrencyReserveState
- func (*VerifiedLaunchpadCurrencyReserveState) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiedLaunchpadCurrencyReserveState) GetReserveState() *LaunchpadCurrencyReserveState
- func (x *VerifiedLaunchpadCurrencyReserveState) GetSignature() *v1.Signature
- func (*VerifiedLaunchpadCurrencyReserveState) ProtoMessage()
- func (x *VerifiedLaunchpadCurrencyReserveState) ProtoReflect() protoreflect.Message
- func (x *VerifiedLaunchpadCurrencyReserveState) Reset()
- func (x *VerifiedLaunchpadCurrencyReserveState) String() string
- func (m *VerifiedLaunchpadCurrencyReserveState) Validate() error
- type VerifiedLaunchpadCurrencyReserveStateValidationError
- func (e VerifiedLaunchpadCurrencyReserveStateValidationError) Cause() error
- func (e VerifiedLaunchpadCurrencyReserveStateValidationError) Error() string
- func (e VerifiedLaunchpadCurrencyReserveStateValidationError) ErrorName() string
- func (e VerifiedLaunchpadCurrencyReserveStateValidationError) Field() string
- func (e VerifiedLaunchpadCurrencyReserveStateValidationError) Key() bool
- func (e VerifiedLaunchpadCurrencyReserveStateValidationError) Reason() string
- type VmMetadata
- func (*VmMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *VmMetadata) GetAuthority() *v1.SolanaAccountId
- func (x *VmMetadata) GetLockDurationInDays() uint32
- func (x *VmMetadata) GetOmnibus() *v1.SolanaAccountId
- func (x *VmMetadata) GetVm() *v1.SolanaAccountId
- func (*VmMetadata) ProtoMessage()
- func (x *VmMetadata) ProtoReflect() protoreflect.Message
- func (x *VmMetadata) Reset()
- func (x *VmMetadata) String() string
- func (m *VmMetadata) Validate() error
- type VmMetadataValidationError
Constants ¶
This section is empty.
Variables ¶
var ( GetMintsResponse_Result_name = map[int32]string{ 0: "OK", 1: "NOT_FOUND", } GetMintsResponse_Result_value = map[string]int32{ "OK": 0, "NOT_FOUND": 1, } )
Enum value maps for GetMintsResponse_Result.
var ( GetHistoricalMintDataRequest_PredefinedRange_name = map[int32]string{ 0: "ALL_TIME", 1: "LAST_DAY", 2: "LAST_WEEK", 3: "LAST_MONTH", 4: "LAST_YEAR", } GetHistoricalMintDataRequest_PredefinedRange_value = map[string]int32{ "ALL_TIME": 0, "LAST_DAY": 1, "LAST_WEEK": 2, "LAST_MONTH": 3, "LAST_YEAR": 4, } )
Enum value maps for GetHistoricalMintDataRequest_PredefinedRange.
var ( GetHistoricalMintDataResponse_Result_name = map[int32]string{ 0: "OK", 1: "NOT_FOUND", 2: "MISSING_DATA", } GetHistoricalMintDataResponse_Result_value = map[string]int32{ "OK": 0, "NOT_FOUND": 1, "MISSING_DATA": 2, } )
Enum value maps for GetHistoricalMintDataResponse_Result.
var Currency_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ocp.currency.v1.Currency", HandlerType: (*CurrencyServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMints", Handler: _Currency_GetMints_Handler, }, { MethodName: "GetHistoricalMintData", Handler: _Currency_GetHistoricalMintData_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamLiveMintData", Handler: _Currency_StreamLiveMintData_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "currency/v1/currency_service.proto", }
Currency_ServiceDesc is the grpc.ServiceDesc for Currency service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_currency_v1_currency_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCurrencyServer ¶
func RegisterCurrencyServer(s grpc.ServiceRegistrar, srv CurrencyServer)
Types ¶
type CoreMintFiatExchangeRate ¶ added in v0.9.0
type CoreMintFiatExchangeRate struct {
// The currency code for the fiat exchange rate
CurrencyCode string `protobuf:"bytes,1,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
// The exchange rate against the core mint
ExchangeRate float64 `protobuf:"fixed64,2,opt,name=exchange_rate,json=exchangeRate,proto3" json:"exchange_rate,omitempty"`
// Timestamp for this data point
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*CoreMintFiatExchangeRate) Descriptor
deprecated
added in
v0.9.0
func (*CoreMintFiatExchangeRate) Descriptor() ([]byte, []int)
Deprecated: Use CoreMintFiatExchangeRate.ProtoReflect.Descriptor instead.
func (*CoreMintFiatExchangeRate) GetCurrencyCode ¶ added in v0.9.0
func (x *CoreMintFiatExchangeRate) GetCurrencyCode() string
func (*CoreMintFiatExchangeRate) GetExchangeRate ¶ added in v0.9.0
func (x *CoreMintFiatExchangeRate) GetExchangeRate() float64
func (*CoreMintFiatExchangeRate) GetTimestamp ¶ added in v0.9.0
func (x *CoreMintFiatExchangeRate) GetTimestamp() *timestamppb.Timestamp
func (*CoreMintFiatExchangeRate) ProtoMessage ¶ added in v0.9.0
func (*CoreMintFiatExchangeRate) ProtoMessage()
func (*CoreMintFiatExchangeRate) ProtoReflect ¶ added in v0.9.0
func (x *CoreMintFiatExchangeRate) ProtoReflect() protoreflect.Message
func (*CoreMintFiatExchangeRate) Reset ¶ added in v0.9.0
func (x *CoreMintFiatExchangeRate) Reset()
func (*CoreMintFiatExchangeRate) String ¶ added in v0.9.0
func (x *CoreMintFiatExchangeRate) String() string
func (*CoreMintFiatExchangeRate) Validate ¶ added in v0.9.0
func (m *CoreMintFiatExchangeRate) Validate() error
Validate checks the field values on CoreMintFiatExchangeRate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CoreMintFiatExchangeRateValidationError ¶ added in v0.9.0
type CoreMintFiatExchangeRateValidationError struct {
// contains filtered or unexported fields
}
CoreMintFiatExchangeRateValidationError is the validation error returned by CoreMintFiatExchangeRate.Validate if the designated constraints aren't met.
func (CoreMintFiatExchangeRateValidationError) Cause ¶ added in v0.9.0
func (e CoreMintFiatExchangeRateValidationError) Cause() error
Cause function returns cause value.
func (CoreMintFiatExchangeRateValidationError) Error ¶ added in v0.9.0
func (e CoreMintFiatExchangeRateValidationError) Error() string
Error satisfies the builtin error interface
func (CoreMintFiatExchangeRateValidationError) ErrorName ¶ added in v0.9.0
func (e CoreMintFiatExchangeRateValidationError) ErrorName() string
ErrorName returns error name.
func (CoreMintFiatExchangeRateValidationError) Field ¶ added in v0.9.0
func (e CoreMintFiatExchangeRateValidationError) Field() string
Field function returns field value.
func (CoreMintFiatExchangeRateValidationError) Key ¶ added in v0.9.0
func (e CoreMintFiatExchangeRateValidationError) Key() bool
Key function returns key value.
func (CoreMintFiatExchangeRateValidationError) Reason ¶ added in v0.9.0
func (e CoreMintFiatExchangeRateValidationError) Reason() string
Reason function returns reason value.
type CurrencyClient ¶
type CurrencyClient interface {
// GetMints gets mint account metadata by address
GetMints(ctx context.Context, in *GetMintsRequest, opts ...grpc.CallOption) (*GetMintsResponse, error)
// GetHistoricalMintData returns historical market data for a mint
GetHistoricalMintData(ctx context.Context, in *GetHistoricalMintDataRequest, opts ...grpc.CallOption) (*GetHistoricalMintDataResponse, error)
// StreamLiveMintData streams live mint data for a set of mints
StreamLiveMintData(ctx context.Context, opts ...grpc.CallOption) (Currency_StreamLiveMintDataClient, error)
}
CurrencyClient is the client API for Currency 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 NewCurrencyClient ¶
func NewCurrencyClient(cc grpc.ClientConnInterface) CurrencyClient
type CurrencyServer ¶
type CurrencyServer interface {
// GetMints gets mint account metadata by address
GetMints(context.Context, *GetMintsRequest) (*GetMintsResponse, error)
// GetHistoricalMintData returns historical market data for a mint
GetHistoricalMintData(context.Context, *GetHistoricalMintDataRequest) (*GetHistoricalMintDataResponse, error)
// StreamLiveMintData streams live mint data for a set of mints
StreamLiveMintData(Currency_StreamLiveMintDataServer) error
// contains filtered or unexported methods
}
CurrencyServer is the server API for Currency service. All implementations must embed UnimplementedCurrencyServer for forward compatibility
type Currency_StreamLiveMintDataClient ¶ added in v0.9.0
type Currency_StreamLiveMintDataClient interface {
Send(*StreamLiveMintDataRequest) error
Recv() (*StreamLiveMintDataResponse, error)
grpc.ClientStream
}
type Currency_StreamLiveMintDataServer ¶ added in v0.9.0
type Currency_StreamLiveMintDataServer interface {
Send(*StreamLiveMintDataResponse) error
Recv() (*StreamLiveMintDataRequest, error)
grpc.ServerStream
}
type GetHistoricalMintDataRequest ¶ added in v0.8.0
type GetHistoricalMintDataRequest struct {
// The mint address to get historical data for
Address *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// The currency code for the returned market data (e.g., "usd")
CurrencyCode string `protobuf:"bytes,2,opt,name=currency_code,json=currencyCode,proto3" json:"currency_code,omitempty"`
// Types that are assignable to Range:
//
// *GetHistoricalMintDataRequest_PredefinedRange_
Range isGetHistoricalMintDataRequest_Range `protobuf_oneof:"range"`
// contains filtered or unexported fields
}
func (*GetHistoricalMintDataRequest) Descriptor
deprecated
added in
v0.8.0
func (*GetHistoricalMintDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHistoricalMintDataRequest.ProtoReflect.Descriptor instead.
func (*GetHistoricalMintDataRequest) GetAddress ¶ added in v0.8.0
func (x *GetHistoricalMintDataRequest) GetAddress() *v1.SolanaAccountId
func (*GetHistoricalMintDataRequest) GetCurrencyCode ¶ added in v0.8.0
func (x *GetHistoricalMintDataRequest) GetCurrencyCode() string
func (*GetHistoricalMintDataRequest) GetPredefinedRange ¶ added in v0.8.0
func (x *GetHistoricalMintDataRequest) GetPredefinedRange() GetHistoricalMintDataRequest_PredefinedRange
func (*GetHistoricalMintDataRequest) GetRange ¶ added in v0.8.0
func (m *GetHistoricalMintDataRequest) GetRange() isGetHistoricalMintDataRequest_Range
func (*GetHistoricalMintDataRequest) ProtoMessage ¶ added in v0.8.0
func (*GetHistoricalMintDataRequest) ProtoMessage()
func (*GetHistoricalMintDataRequest) ProtoReflect ¶ added in v0.8.0
func (x *GetHistoricalMintDataRequest) ProtoReflect() protoreflect.Message
func (*GetHistoricalMintDataRequest) Reset ¶ added in v0.8.0
func (x *GetHistoricalMintDataRequest) Reset()
func (*GetHistoricalMintDataRequest) String ¶ added in v0.8.0
func (x *GetHistoricalMintDataRequest) String() string
func (*GetHistoricalMintDataRequest) Validate ¶ added in v0.8.0
func (m *GetHistoricalMintDataRequest) Validate() error
Validate checks the field values on GetHistoricalMintDataRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetHistoricalMintDataRequestValidationError ¶ added in v0.8.0
type GetHistoricalMintDataRequestValidationError struct {
// contains filtered or unexported fields
}
GetHistoricalMintDataRequestValidationError is the validation error returned by GetHistoricalMintDataRequest.Validate if the designated constraints aren't met.
func (GetHistoricalMintDataRequestValidationError) Cause ¶ added in v0.8.0
func (e GetHistoricalMintDataRequestValidationError) Cause() error
Cause function returns cause value.
func (GetHistoricalMintDataRequestValidationError) Error ¶ added in v0.8.0
func (e GetHistoricalMintDataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetHistoricalMintDataRequestValidationError) ErrorName ¶ added in v0.8.0
func (e GetHistoricalMintDataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetHistoricalMintDataRequestValidationError) Field ¶ added in v0.8.0
func (e GetHistoricalMintDataRequestValidationError) Field() string
Field function returns field value.
func (GetHistoricalMintDataRequestValidationError) Key ¶ added in v0.8.0
func (e GetHistoricalMintDataRequestValidationError) Key() bool
Key function returns key value.
func (GetHistoricalMintDataRequestValidationError) Reason ¶ added in v0.8.0
func (e GetHistoricalMintDataRequestValidationError) Reason() string
Reason function returns reason value.
type GetHistoricalMintDataRequest_PredefinedRange ¶ added in v0.8.0
type GetHistoricalMintDataRequest_PredefinedRange int32
const ( GetHistoricalMintDataRequest_ALL_TIME GetHistoricalMintDataRequest_PredefinedRange = 0 GetHistoricalMintDataRequest_LAST_DAY GetHistoricalMintDataRequest_PredefinedRange = 1 GetHistoricalMintDataRequest_LAST_WEEK GetHistoricalMintDataRequest_PredefinedRange = 2 GetHistoricalMintDataRequest_LAST_MONTH GetHistoricalMintDataRequest_PredefinedRange = 3 GetHistoricalMintDataRequest_LAST_YEAR GetHistoricalMintDataRequest_PredefinedRange = 4 )
func (GetHistoricalMintDataRequest_PredefinedRange) Descriptor ¶ added in v0.8.0
func (GetHistoricalMintDataRequest_PredefinedRange) Descriptor() protoreflect.EnumDescriptor
func (GetHistoricalMintDataRequest_PredefinedRange) EnumDescriptor
deprecated
added in
v0.8.0
func (GetHistoricalMintDataRequest_PredefinedRange) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetHistoricalMintDataRequest_PredefinedRange.Descriptor instead.
func (GetHistoricalMintDataRequest_PredefinedRange) Number ¶ added in v0.8.0
func (x GetHistoricalMintDataRequest_PredefinedRange) Number() protoreflect.EnumNumber
func (GetHistoricalMintDataRequest_PredefinedRange) String ¶ added in v0.8.0
func (x GetHistoricalMintDataRequest_PredefinedRange) String() string
func (GetHistoricalMintDataRequest_PredefinedRange) Type ¶ added in v0.8.0
func (GetHistoricalMintDataRequest_PredefinedRange) Type() protoreflect.EnumType
type GetHistoricalMintDataRequest_PredefinedRange_ ¶ added in v0.8.0
type GetHistoricalMintDataRequest_PredefinedRange_ struct {
PredefinedRange GetHistoricalMintDataRequest_PredefinedRange `` /* 145-byte string literal not displayed */
}
type GetHistoricalMintDataResponse ¶ added in v0.8.0
type GetHistoricalMintDataResponse struct {
Result GetHistoricalMintDataResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=ocp.currency.v1.GetHistoricalMintDataResponse_Result" json:"result,omitempty"`
Data []*HistoricalMintData `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*GetHistoricalMintDataResponse) Descriptor
deprecated
added in
v0.8.0
func (*GetHistoricalMintDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHistoricalMintDataResponse.ProtoReflect.Descriptor instead.
func (*GetHistoricalMintDataResponse) GetData ¶ added in v0.8.0
func (x *GetHistoricalMintDataResponse) GetData() []*HistoricalMintData
func (*GetHistoricalMintDataResponse) GetResult ¶ added in v0.8.0
func (x *GetHistoricalMintDataResponse) GetResult() GetHistoricalMintDataResponse_Result
func (*GetHistoricalMintDataResponse) ProtoMessage ¶ added in v0.8.0
func (*GetHistoricalMintDataResponse) ProtoMessage()
func (*GetHistoricalMintDataResponse) ProtoReflect ¶ added in v0.8.0
func (x *GetHistoricalMintDataResponse) ProtoReflect() protoreflect.Message
func (*GetHistoricalMintDataResponse) Reset ¶ added in v0.8.0
func (x *GetHistoricalMintDataResponse) Reset()
func (*GetHistoricalMintDataResponse) String ¶ added in v0.8.0
func (x *GetHistoricalMintDataResponse) String() string
func (*GetHistoricalMintDataResponse) Validate ¶ added in v0.8.0
func (m *GetHistoricalMintDataResponse) Validate() error
Validate checks the field values on GetHistoricalMintDataResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetHistoricalMintDataResponseValidationError ¶ added in v0.8.0
type GetHistoricalMintDataResponseValidationError struct {
// contains filtered or unexported fields
}
GetHistoricalMintDataResponseValidationError is the validation error returned by GetHistoricalMintDataResponse.Validate if the designated constraints aren't met.
func (GetHistoricalMintDataResponseValidationError) Cause ¶ added in v0.8.0
func (e GetHistoricalMintDataResponseValidationError) Cause() error
Cause function returns cause value.
func (GetHistoricalMintDataResponseValidationError) Error ¶ added in v0.8.0
func (e GetHistoricalMintDataResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetHistoricalMintDataResponseValidationError) ErrorName ¶ added in v0.8.0
func (e GetHistoricalMintDataResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetHistoricalMintDataResponseValidationError) Field ¶ added in v0.8.0
func (e GetHistoricalMintDataResponseValidationError) Field() string
Field function returns field value.
func (GetHistoricalMintDataResponseValidationError) Key ¶ added in v0.8.0
func (e GetHistoricalMintDataResponseValidationError) Key() bool
Key function returns key value.
func (GetHistoricalMintDataResponseValidationError) Reason ¶ added in v0.8.0
func (e GetHistoricalMintDataResponseValidationError) Reason() string
Reason function returns reason value.
type GetHistoricalMintDataResponse_Result ¶ added in v0.8.0
type GetHistoricalMintDataResponse_Result int32
const ( GetHistoricalMintDataResponse_OK GetHistoricalMintDataResponse_Result = 0 // The requested mint or currency was not found GetHistoricalMintDataResponse_NOT_FOUND GetHistoricalMintDataResponse_Result = 1 // No data available for the requested time range GetHistoricalMintDataResponse_MISSING_DATA GetHistoricalMintDataResponse_Result = 2 )
func (GetHistoricalMintDataResponse_Result) Descriptor ¶ added in v0.8.0
func (GetHistoricalMintDataResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetHistoricalMintDataResponse_Result) Enum ¶ added in v0.8.0
func (x GetHistoricalMintDataResponse_Result) Enum() *GetHistoricalMintDataResponse_Result
func (GetHistoricalMintDataResponse_Result) EnumDescriptor
deprecated
added in
v0.8.0
func (GetHistoricalMintDataResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetHistoricalMintDataResponse_Result.Descriptor instead.
func (GetHistoricalMintDataResponse_Result) Number ¶ added in v0.8.0
func (x GetHistoricalMintDataResponse_Result) Number() protoreflect.EnumNumber
func (GetHistoricalMintDataResponse_Result) String ¶ added in v0.8.0
func (x GetHistoricalMintDataResponse_Result) String() string
func (GetHistoricalMintDataResponse_Result) Type ¶ added in v0.8.0
func (GetHistoricalMintDataResponse_Result) Type() protoreflect.EnumType
type GetMintsRequest ¶
type GetMintsRequest struct {
Addresses []*v1.SolanaAccountId `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
// contains filtered or unexported fields
}
func (*GetMintsRequest) Descriptor
deprecated
func (*GetMintsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMintsRequest.ProtoReflect.Descriptor instead.
func (*GetMintsRequest) GetAddresses ¶
func (x *GetMintsRequest) GetAddresses() []*v1.SolanaAccountId
func (*GetMintsRequest) ProtoMessage ¶
func (*GetMintsRequest) ProtoMessage()
func (*GetMintsRequest) ProtoReflect ¶
func (x *GetMintsRequest) ProtoReflect() protoreflect.Message
func (*GetMintsRequest) Reset ¶
func (x *GetMintsRequest) Reset()
func (*GetMintsRequest) String ¶
func (x *GetMintsRequest) String() string
func (*GetMintsRequest) Validate ¶
func (m *GetMintsRequest) Validate() error
Validate checks the field values on GetMintsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetMintsRequestValidationError ¶
type GetMintsRequestValidationError struct {
// contains filtered or unexported fields
}
GetMintsRequestValidationError is the validation error returned by GetMintsRequest.Validate if the designated constraints aren't met.
func (GetMintsRequestValidationError) Cause ¶
func (e GetMintsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetMintsRequestValidationError) Error ¶
func (e GetMintsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetMintsRequestValidationError) ErrorName ¶
func (e GetMintsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetMintsRequestValidationError) Field ¶
func (e GetMintsRequestValidationError) Field() string
Field function returns field value.
func (GetMintsRequestValidationError) Key ¶
func (e GetMintsRequestValidationError) Key() bool
Key function returns key value.
func (GetMintsRequestValidationError) Reason ¶
func (e GetMintsRequestValidationError) Reason() string
Reason function returns reason value.
type GetMintsResponse ¶
type GetMintsResponse struct {
Result GetMintsResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=ocp.currency.v1.GetMintsResponse_Result" json:"result,omitempty"`
MetadataByAddress map[string]*Mint `` /* 202-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GetMintsResponse) Descriptor
deprecated
func (*GetMintsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMintsResponse.ProtoReflect.Descriptor instead.
func (*GetMintsResponse) GetMetadataByAddress ¶
func (x *GetMintsResponse) GetMetadataByAddress() map[string]*Mint
func (*GetMintsResponse) GetResult ¶
func (x *GetMintsResponse) GetResult() GetMintsResponse_Result
func (*GetMintsResponse) ProtoMessage ¶
func (*GetMintsResponse) ProtoMessage()
func (*GetMintsResponse) ProtoReflect ¶
func (x *GetMintsResponse) ProtoReflect() protoreflect.Message
func (*GetMintsResponse) Reset ¶
func (x *GetMintsResponse) Reset()
func (*GetMintsResponse) String ¶
func (x *GetMintsResponse) String() string
func (*GetMintsResponse) Validate ¶
func (m *GetMintsResponse) Validate() error
Validate checks the field values on GetMintsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetMintsResponseValidationError ¶
type GetMintsResponseValidationError struct {
// contains filtered or unexported fields
}
GetMintsResponseValidationError is the validation error returned by GetMintsResponse.Validate if the designated constraints aren't met.
func (GetMintsResponseValidationError) Cause ¶
func (e GetMintsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetMintsResponseValidationError) Error ¶
func (e GetMintsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetMintsResponseValidationError) ErrorName ¶
func (e GetMintsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetMintsResponseValidationError) Field ¶
func (e GetMintsResponseValidationError) Field() string
Field function returns field value.
func (GetMintsResponseValidationError) Key ¶
func (e GetMintsResponseValidationError) Key() bool
Key function returns key value.
func (GetMintsResponseValidationError) Reason ¶
func (e GetMintsResponseValidationError) Reason() string
Reason function returns reason value.
type GetMintsResponse_Result ¶
type GetMintsResponse_Result int32
const ( GetMintsResponse_OK GetMintsResponse_Result = 0 GetMintsResponse_NOT_FOUND GetMintsResponse_Result = 1 )
func (GetMintsResponse_Result) Descriptor ¶
func (GetMintsResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (GetMintsResponse_Result) Enum ¶
func (x GetMintsResponse_Result) Enum() *GetMintsResponse_Result
func (GetMintsResponse_Result) EnumDescriptor
deprecated
func (GetMintsResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetMintsResponse_Result.Descriptor instead.
func (GetMintsResponse_Result) Number ¶
func (x GetMintsResponse_Result) Number() protoreflect.EnumNumber
func (GetMintsResponse_Result) String ¶
func (x GetMintsResponse_Result) String() string
func (GetMintsResponse_Result) Type ¶
func (GetMintsResponse_Result) Type() protoreflect.EnumType
type HistoricalMintData ¶ added in v0.8.0
type HistoricalMintData struct {
// Timestamp for this data point
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Market capitalization at this point in time
MarketCap float64 `protobuf:"fixed64,2,opt,name=market_cap,json=marketCap,proto3" json:"market_cap,omitempty"`
// contains filtered or unexported fields
}
func (*HistoricalMintData) Descriptor
deprecated
added in
v0.8.0
func (*HistoricalMintData) Descriptor() ([]byte, []int)
Deprecated: Use HistoricalMintData.ProtoReflect.Descriptor instead.
func (*HistoricalMintData) GetMarketCap ¶ added in v0.8.0
func (x *HistoricalMintData) GetMarketCap() float64
func (*HistoricalMintData) GetTimestamp ¶ added in v0.8.0
func (x *HistoricalMintData) GetTimestamp() *timestamppb.Timestamp
func (*HistoricalMintData) ProtoMessage ¶ added in v0.8.0
func (*HistoricalMintData) ProtoMessage()
func (*HistoricalMintData) ProtoReflect ¶ added in v0.8.0
func (x *HistoricalMintData) ProtoReflect() protoreflect.Message
func (*HistoricalMintData) Reset ¶ added in v0.8.0
func (x *HistoricalMintData) Reset()
func (*HistoricalMintData) String ¶ added in v0.8.0
func (x *HistoricalMintData) String() string
func (*HistoricalMintData) Validate ¶ added in v0.8.0
func (m *HistoricalMintData) Validate() error
Validate checks the field values on HistoricalMintData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type HistoricalMintDataValidationError ¶ added in v0.8.0
type HistoricalMintDataValidationError struct {
// contains filtered or unexported fields
}
HistoricalMintDataValidationError is the validation error returned by HistoricalMintData.Validate if the designated constraints aren't met.
func (HistoricalMintDataValidationError) Cause ¶ added in v0.8.0
func (e HistoricalMintDataValidationError) Cause() error
Cause function returns cause value.
func (HistoricalMintDataValidationError) Error ¶ added in v0.8.0
func (e HistoricalMintDataValidationError) Error() string
Error satisfies the builtin error interface
func (HistoricalMintDataValidationError) ErrorName ¶ added in v0.8.0
func (e HistoricalMintDataValidationError) ErrorName() string
ErrorName returns error name.
func (HistoricalMintDataValidationError) Field ¶ added in v0.8.0
func (e HistoricalMintDataValidationError) Field() string
Field function returns field value.
func (HistoricalMintDataValidationError) Key ¶ added in v0.8.0
func (e HistoricalMintDataValidationError) Key() bool
Key function returns key value.
func (HistoricalMintDataValidationError) Reason ¶ added in v0.8.0
func (e HistoricalMintDataValidationError) Reason() string
Reason function returns reason value.
type LaunchpadCurrencyReserveState ¶ added in v0.9.0
type LaunchpadCurrencyReserveState struct {
// Launchpad currency mint address
Mint *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=mint,proto3" json:"mint,omitempty"`
// Current circulating mint token supply in quarks
SupplyFromBonding uint64 `protobuf:"varint,2,opt,name=supply_from_bonding,json=supplyFromBonding,proto3" json:"supply_from_bonding,omitempty"`
// Timestamp for this data point
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*LaunchpadCurrencyReserveState) Descriptor
deprecated
added in
v0.9.0
func (*LaunchpadCurrencyReserveState) Descriptor() ([]byte, []int)
Deprecated: Use LaunchpadCurrencyReserveState.ProtoReflect.Descriptor instead.
func (*LaunchpadCurrencyReserveState) GetMint ¶ added in v0.9.0
func (x *LaunchpadCurrencyReserveState) GetMint() *v1.SolanaAccountId
func (*LaunchpadCurrencyReserveState) GetSupplyFromBonding ¶ added in v0.9.0
func (x *LaunchpadCurrencyReserveState) GetSupplyFromBonding() uint64
func (*LaunchpadCurrencyReserveState) GetTimestamp ¶ added in v0.9.0
func (x *LaunchpadCurrencyReserveState) GetTimestamp() *timestamppb.Timestamp
func (*LaunchpadCurrencyReserveState) ProtoMessage ¶ added in v0.9.0
func (*LaunchpadCurrencyReserveState) ProtoMessage()
func (*LaunchpadCurrencyReserveState) ProtoReflect ¶ added in v0.9.0
func (x *LaunchpadCurrencyReserveState) ProtoReflect() protoreflect.Message
func (*LaunchpadCurrencyReserveState) Reset ¶ added in v0.9.0
func (x *LaunchpadCurrencyReserveState) Reset()
func (*LaunchpadCurrencyReserveState) String ¶ added in v0.9.0
func (x *LaunchpadCurrencyReserveState) String() string
func (*LaunchpadCurrencyReserveState) Validate ¶ added in v0.9.0
func (m *LaunchpadCurrencyReserveState) Validate() error
Validate checks the field values on LaunchpadCurrencyReserveState with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LaunchpadCurrencyReserveStateValidationError ¶ added in v0.9.0
type LaunchpadCurrencyReserveStateValidationError struct {
// contains filtered or unexported fields
}
LaunchpadCurrencyReserveStateValidationError is the validation error returned by LaunchpadCurrencyReserveState.Validate if the designated constraints aren't met.
func (LaunchpadCurrencyReserveStateValidationError) Cause ¶ added in v0.9.0
func (e LaunchpadCurrencyReserveStateValidationError) Cause() error
Cause function returns cause value.
func (LaunchpadCurrencyReserveStateValidationError) Error ¶ added in v0.9.0
func (e LaunchpadCurrencyReserveStateValidationError) Error() string
Error satisfies the builtin error interface
func (LaunchpadCurrencyReserveStateValidationError) ErrorName ¶ added in v0.9.0
func (e LaunchpadCurrencyReserveStateValidationError) ErrorName() string
ErrorName returns error name.
func (LaunchpadCurrencyReserveStateValidationError) Field ¶ added in v0.9.0
func (e LaunchpadCurrencyReserveStateValidationError) Field() string
Field function returns field value.
func (LaunchpadCurrencyReserveStateValidationError) Key ¶ added in v0.9.0
func (e LaunchpadCurrencyReserveStateValidationError) Key() bool
Key function returns key value.
func (LaunchpadCurrencyReserveStateValidationError) Reason ¶ added in v0.9.0
func (e LaunchpadCurrencyReserveStateValidationError) Reason() string
Reason function returns reason value.
type LaunchpadMetadata ¶
type LaunchpadMetadata struct {
// The address of the currency config
CurrencyConfig *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=currency_config,json=currencyConfig,proto3" json:"currency_config,omitempty"`
// The address of the liquidity pool
LiquidityPool *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=liquidity_pool,json=liquidityPool,proto3" json:"liquidity_pool,omitempty"`
// The random seed used during currency creation
Seed *v1.SolanaAccountId `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"`
// The address of the authority for the currency
Authority *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=authority,proto3" json:"authority,omitempty"`
// The address where this mint's tokens are locked against the liquidity pool
MintVault *v1.SolanaAccountId `protobuf:"bytes,5,opt,name=mint_vault,json=mintVault,proto3" json:"mint_vault,omitempty"`
// The address where core mint tokens are locked against the liquidity pool
CoreMintVault *v1.SolanaAccountId `protobuf:"bytes,6,opt,name=core_mint_vault,json=coreMintVault,proto3" json:"core_mint_vault,omitempty"`
// Current circulating mint token supply in quarks
//
// Deprecated: Use supply value from StreamLiveMintData
SupplyFromBonding uint64 `protobuf:"varint,7,opt,name=supply_from_bonding,json=supplyFromBonding,proto3" json:"supply_from_bonding,omitempty"`
// Precent fee for sells in basis points, currently hardcoded to 1%
SellFeeBps uint32 `protobuf:"varint,8,opt,name=sell_fee_bps,json=sellFeeBps,proto3" json:"sell_fee_bps,omitempty"`
// contains filtered or unexported fields
}
func (*LaunchpadMetadata) Descriptor
deprecated
func (*LaunchpadMetadata) Descriptor() ([]byte, []int)
Deprecated: Use LaunchpadMetadata.ProtoReflect.Descriptor instead.
func (*LaunchpadMetadata) GetAuthority ¶
func (x *LaunchpadMetadata) GetAuthority() *v1.SolanaAccountId
func (*LaunchpadMetadata) GetCoreMintVault ¶
func (x *LaunchpadMetadata) GetCoreMintVault() *v1.SolanaAccountId
func (*LaunchpadMetadata) GetCurrencyConfig ¶
func (x *LaunchpadMetadata) GetCurrencyConfig() *v1.SolanaAccountId
func (*LaunchpadMetadata) GetLiquidityPool ¶
func (x *LaunchpadMetadata) GetLiquidityPool() *v1.SolanaAccountId
func (*LaunchpadMetadata) GetMintVault ¶
func (x *LaunchpadMetadata) GetMintVault() *v1.SolanaAccountId
func (*LaunchpadMetadata) GetSeed ¶
func (x *LaunchpadMetadata) GetSeed() *v1.SolanaAccountId
func (*LaunchpadMetadata) GetSellFeeBps ¶
func (x *LaunchpadMetadata) GetSellFeeBps() uint32
func (*LaunchpadMetadata) GetSupplyFromBonding ¶
func (x *LaunchpadMetadata) GetSupplyFromBonding() uint64
func (*LaunchpadMetadata) ProtoMessage ¶
func (*LaunchpadMetadata) ProtoMessage()
func (*LaunchpadMetadata) ProtoReflect ¶
func (x *LaunchpadMetadata) ProtoReflect() protoreflect.Message
func (*LaunchpadMetadata) Reset ¶
func (x *LaunchpadMetadata) Reset()
func (*LaunchpadMetadata) String ¶
func (x *LaunchpadMetadata) String() string
func (*LaunchpadMetadata) Validate ¶
func (m *LaunchpadMetadata) Validate() error
Validate checks the field values on LaunchpadMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type LaunchpadMetadataValidationError ¶
type LaunchpadMetadataValidationError struct {
// contains filtered or unexported fields
}
LaunchpadMetadataValidationError is the validation error returned by LaunchpadMetadata.Validate if the designated constraints aren't met.
func (LaunchpadMetadataValidationError) Cause ¶
func (e LaunchpadMetadataValidationError) Cause() error
Cause function returns cause value.
func (LaunchpadMetadataValidationError) Error ¶
func (e LaunchpadMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (LaunchpadMetadataValidationError) ErrorName ¶
func (e LaunchpadMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (LaunchpadMetadataValidationError) Field ¶
func (e LaunchpadMetadataValidationError) Field() string
Field function returns field value.
func (LaunchpadMetadataValidationError) Key ¶
func (e LaunchpadMetadataValidationError) Key() bool
Key function returns key value.
func (LaunchpadMetadataValidationError) Reason ¶
func (e LaunchpadMetadataValidationError) Reason() string
Reason function returns reason value.
type Mint ¶
type Mint struct {
// Token mint address
Address *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// The number of decimals configured for the mint
Decimals uint32 `protobuf:"varint,2,opt,name=decimals,proto3" json:"decimals,omitempty"`
// Currency name
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Currency ticker symbol
Symbol string `protobuf:"bytes,4,opt,name=symbol,proto3" json:"symbol,omitempty"`
// Currency description
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// URL to currency image
ImageUrl string `protobuf:"bytes,6,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
// Available when a VM exists for the given mint, and can be used for deriving
// VM deposit PDAs
//
// Note: Only currencies with a VM are useable for payments
VmMetadata *VmMetadata `protobuf:"bytes,7,opt,name=vm_metadata,json=vmMetadata,proto3" json:"vm_metadata,omitempty"`
// Available when created by the launchpad via the currency creator program, and
// can be used for calculating price, market cap, etc. based on the exponential
// bonding curve
LaunchpadMetadata *LaunchpadMetadata `protobuf:"bytes,8,opt,name=launchpad_metadata,json=launchpadMetadata,proto3" json:"launchpad_metadata,omitempty"`
// Timestamp the currency was created
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*Mint) Descriptor
deprecated
func (*Mint) GetAddress ¶
func (x *Mint) GetAddress() *v1.SolanaAccountId
func (*Mint) GetCreatedAt ¶
func (x *Mint) GetCreatedAt() *timestamppb.Timestamp
func (*Mint) GetDecimals ¶
func (*Mint) GetDescription ¶
func (*Mint) GetImageUrl ¶
func (*Mint) GetLaunchpadMetadata ¶
func (x *Mint) GetLaunchpadMetadata() *LaunchpadMetadata
func (*Mint) GetVmMetadata ¶
func (x *Mint) GetVmMetadata() *VmMetadata
func (*Mint) ProtoMessage ¶
func (*Mint) ProtoMessage()
func (*Mint) ProtoReflect ¶
func (x *Mint) ProtoReflect() protoreflect.Message
type MintValidationError ¶
type MintValidationError struct {
// contains filtered or unexported fields
}
MintValidationError is the validation error returned by Mint.Validate if the designated constraints aren't met.
func (MintValidationError) Cause ¶
func (e MintValidationError) Cause() error
Cause function returns cause value.
func (MintValidationError) Error ¶
func (e MintValidationError) Error() string
Error satisfies the builtin error interface
func (MintValidationError) ErrorName ¶
func (e MintValidationError) ErrorName() string
ErrorName returns error name.
func (MintValidationError) Field ¶
func (e MintValidationError) Field() string
Field function returns field value.
func (MintValidationError) Key ¶
func (e MintValidationError) Key() bool
Key function returns key value.
func (MintValidationError) Reason ¶
func (e MintValidationError) Reason() string
Reason function returns reason value.
type StreamLiveMintDataRequest ¶ added in v0.9.0
type StreamLiveMintDataRequest struct {
// Types that are assignable to Type:
//
// *StreamLiveMintDataRequest_Request_
// *StreamLiveMintDataRequest_Pong
Type isStreamLiveMintDataRequest_Type `protobuf_oneof:"type"`
// contains filtered or unexported fields
}
func (*StreamLiveMintDataRequest) Descriptor
deprecated
added in
v0.9.0
func (*StreamLiveMintDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamLiveMintDataRequest.ProtoReflect.Descriptor instead.
func (*StreamLiveMintDataRequest) GetPong ¶ added in v0.9.0
func (x *StreamLiveMintDataRequest) GetPong() *v1.ClientPong
func (*StreamLiveMintDataRequest) GetRequest ¶ added in v0.9.0
func (x *StreamLiveMintDataRequest) GetRequest() *StreamLiveMintDataRequest_Request
func (*StreamLiveMintDataRequest) GetType ¶ added in v0.9.0
func (m *StreamLiveMintDataRequest) GetType() isStreamLiveMintDataRequest_Type
func (*StreamLiveMintDataRequest) ProtoMessage ¶ added in v0.9.0
func (*StreamLiveMintDataRequest) ProtoMessage()
func (*StreamLiveMintDataRequest) ProtoReflect ¶ added in v0.9.0
func (x *StreamLiveMintDataRequest) ProtoReflect() protoreflect.Message
func (*StreamLiveMintDataRequest) Reset ¶ added in v0.9.0
func (x *StreamLiveMintDataRequest) Reset()
func (*StreamLiveMintDataRequest) String ¶ added in v0.9.0
func (x *StreamLiveMintDataRequest) String() string
func (*StreamLiveMintDataRequest) Validate ¶ added in v0.9.0
func (m *StreamLiveMintDataRequest) Validate() error
Validate checks the field values on StreamLiveMintDataRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StreamLiveMintDataRequestValidationError ¶ added in v0.9.0
type StreamLiveMintDataRequestValidationError struct {
// contains filtered or unexported fields
}
StreamLiveMintDataRequestValidationError is the validation error returned by StreamLiveMintDataRequest.Validate if the designated constraints aren't met.
func (StreamLiveMintDataRequestValidationError) Cause ¶ added in v0.9.0
func (e StreamLiveMintDataRequestValidationError) Cause() error
Cause function returns cause value.
func (StreamLiveMintDataRequestValidationError) Error ¶ added in v0.9.0
func (e StreamLiveMintDataRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StreamLiveMintDataRequestValidationError) ErrorName ¶ added in v0.9.0
func (e StreamLiveMintDataRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StreamLiveMintDataRequestValidationError) Field ¶ added in v0.9.0
func (e StreamLiveMintDataRequestValidationError) Field() string
Field function returns field value.
func (StreamLiveMintDataRequestValidationError) Key ¶ added in v0.9.0
func (e StreamLiveMintDataRequestValidationError) Key() bool
Key function returns key value.
func (StreamLiveMintDataRequestValidationError) Reason ¶ added in v0.9.0
func (e StreamLiveMintDataRequestValidationError) Reason() string
Reason function returns reason value.
type StreamLiveMintDataRequest_Pong ¶ added in v0.9.0
type StreamLiveMintDataRequest_Pong struct {
Pong *v1.ClientPong `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}
type StreamLiveMintDataRequest_Request ¶ added in v0.9.0
type StreamLiveMintDataRequest_Request struct {
// The set of mints to receive live data against. To update the set of mints,
// close the current stream and open a new one with the new set.
Mints []*v1.SolanaAccountId `protobuf:"bytes,1,rep,name=mints,proto3" json:"mints,omitempty"`
// contains filtered or unexported fields
}
func (*StreamLiveMintDataRequest_Request) Descriptor
deprecated
added in
v0.9.0
func (*StreamLiveMintDataRequest_Request) Descriptor() ([]byte, []int)
Deprecated: Use StreamLiveMintDataRequest_Request.ProtoReflect.Descriptor instead.
func (*StreamLiveMintDataRequest_Request) GetMints ¶ added in v0.9.0
func (x *StreamLiveMintDataRequest_Request) GetMints() []*v1.SolanaAccountId
func (*StreamLiveMintDataRequest_Request) ProtoMessage ¶ added in v0.9.0
func (*StreamLiveMintDataRequest_Request) ProtoMessage()
func (*StreamLiveMintDataRequest_Request) ProtoReflect ¶ added in v0.9.0
func (x *StreamLiveMintDataRequest_Request) ProtoReflect() protoreflect.Message
func (*StreamLiveMintDataRequest_Request) Reset ¶ added in v0.9.0
func (x *StreamLiveMintDataRequest_Request) Reset()
func (*StreamLiveMintDataRequest_Request) String ¶ added in v0.9.0
func (x *StreamLiveMintDataRequest_Request) String() string
func (*StreamLiveMintDataRequest_Request) Validate ¶ added in v0.9.0
func (m *StreamLiveMintDataRequest_Request) Validate() error
Validate checks the field values on StreamLiveMintDataRequest_Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StreamLiveMintDataRequest_RequestValidationError ¶ added in v0.9.0
type StreamLiveMintDataRequest_RequestValidationError struct {
// contains filtered or unexported fields
}
StreamLiveMintDataRequest_RequestValidationError is the validation error returned by StreamLiveMintDataRequest_Request.Validate if the designated constraints aren't met.
func (StreamLiveMintDataRequest_RequestValidationError) Cause ¶ added in v0.9.0
func (e StreamLiveMintDataRequest_RequestValidationError) Cause() error
Cause function returns cause value.
func (StreamLiveMintDataRequest_RequestValidationError) Error ¶ added in v0.9.0
func (e StreamLiveMintDataRequest_RequestValidationError) Error() string
Error satisfies the builtin error interface
func (StreamLiveMintDataRequest_RequestValidationError) ErrorName ¶ added in v0.9.0
func (e StreamLiveMintDataRequest_RequestValidationError) ErrorName() string
ErrorName returns error name.
func (StreamLiveMintDataRequest_RequestValidationError) Field ¶ added in v0.9.0
func (e StreamLiveMintDataRequest_RequestValidationError) Field() string
Field function returns field value.
func (StreamLiveMintDataRequest_RequestValidationError) Key ¶ added in v0.9.0
func (e StreamLiveMintDataRequest_RequestValidationError) Key() bool
Key function returns key value.
func (StreamLiveMintDataRequest_RequestValidationError) Reason ¶ added in v0.9.0
func (e StreamLiveMintDataRequest_RequestValidationError) Reason() string
Reason function returns reason value.
type StreamLiveMintDataRequest_Request_ ¶ added in v0.9.0
type StreamLiveMintDataRequest_Request_ struct {
Request *StreamLiveMintDataRequest_Request `protobuf:"bytes,1,opt,name=request,proto3,oneof"`
}
type StreamLiveMintDataResponse ¶ added in v0.9.0
type StreamLiveMintDataResponse struct {
// Types that are assignable to Type:
//
// *StreamLiveMintDataResponse_Data
// *StreamLiveMintDataResponse_Ping
Type isStreamLiveMintDataResponse_Type `protobuf_oneof:"type"`
// contains filtered or unexported fields
}
func (*StreamLiveMintDataResponse) Descriptor
deprecated
added in
v0.9.0
func (*StreamLiveMintDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamLiveMintDataResponse.ProtoReflect.Descriptor instead.
func (*StreamLiveMintDataResponse) GetData ¶ added in v0.9.0
func (x *StreamLiveMintDataResponse) GetData() *StreamLiveMintDataResponse_LiveData
func (*StreamLiveMintDataResponse) GetPing ¶ added in v0.9.0
func (x *StreamLiveMintDataResponse) GetPing() *v1.ServerPing
func (*StreamLiveMintDataResponse) GetType ¶ added in v0.9.0
func (m *StreamLiveMintDataResponse) GetType() isStreamLiveMintDataResponse_Type
func (*StreamLiveMintDataResponse) ProtoMessage ¶ added in v0.9.0
func (*StreamLiveMintDataResponse) ProtoMessage()
func (*StreamLiveMintDataResponse) ProtoReflect ¶ added in v0.9.0
func (x *StreamLiveMintDataResponse) ProtoReflect() protoreflect.Message
func (*StreamLiveMintDataResponse) Reset ¶ added in v0.9.0
func (x *StreamLiveMintDataResponse) Reset()
func (*StreamLiveMintDataResponse) String ¶ added in v0.9.0
func (x *StreamLiveMintDataResponse) String() string
func (*StreamLiveMintDataResponse) Validate ¶ added in v0.9.0
func (m *StreamLiveMintDataResponse) Validate() error
Validate checks the field values on StreamLiveMintDataResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StreamLiveMintDataResponseValidationError ¶ added in v0.9.0
type StreamLiveMintDataResponseValidationError struct {
// contains filtered or unexported fields
}
StreamLiveMintDataResponseValidationError is the validation error returned by StreamLiveMintDataResponse.Validate if the designated constraints aren't met.
func (StreamLiveMintDataResponseValidationError) Cause ¶ added in v0.9.0
func (e StreamLiveMintDataResponseValidationError) Cause() error
Cause function returns cause value.
func (StreamLiveMintDataResponseValidationError) Error ¶ added in v0.9.0
func (e StreamLiveMintDataResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StreamLiveMintDataResponseValidationError) ErrorName ¶ added in v0.9.0
func (e StreamLiveMintDataResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StreamLiveMintDataResponseValidationError) Field ¶ added in v0.9.0
func (e StreamLiveMintDataResponseValidationError) Field() string
Field function returns field value.
func (StreamLiveMintDataResponseValidationError) Key ¶ added in v0.9.0
func (e StreamLiveMintDataResponseValidationError) Key() bool
Key function returns key value.
func (StreamLiveMintDataResponseValidationError) Reason ¶ added in v0.9.0
func (e StreamLiveMintDataResponseValidationError) Reason() string
Reason function returns reason value.
type StreamLiveMintDataResponse_Data ¶ added in v0.9.0
type StreamLiveMintDataResponse_Data struct {
Data *StreamLiveMintDataResponse_LiveData `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}
type StreamLiveMintDataResponse_LiveData ¶ added in v0.9.0
type StreamLiveMintDataResponse_LiveData struct {
// Types that are assignable to Type:
//
// *StreamLiveMintDataResponse_LiveData_CoreMintFiatExchangeRates
// *StreamLiveMintDataResponse_LiveData_LaunchpadCurrencyReserveStates
Type isStreamLiveMintDataResponse_LiveData_Type `protobuf_oneof:"type"`
// contains filtered or unexported fields
}
func (*StreamLiveMintDataResponse_LiveData) Descriptor
deprecated
added in
v0.9.0
func (*StreamLiveMintDataResponse_LiveData) Descriptor() ([]byte, []int)
Deprecated: Use StreamLiveMintDataResponse_LiveData.ProtoReflect.Descriptor instead.
func (*StreamLiveMintDataResponse_LiveData) GetCoreMintFiatExchangeRates ¶ added in v0.9.0
func (x *StreamLiveMintDataResponse_LiveData) GetCoreMintFiatExchangeRates() *VerifiedCoreMintFiatExchangeRateBatch
func (*StreamLiveMintDataResponse_LiveData) GetLaunchpadCurrencyReserveStates ¶ added in v0.9.0
func (x *StreamLiveMintDataResponse_LiveData) GetLaunchpadCurrencyReserveStates() *VerifiedLaunchapdCurrencyReserveStateBatch
func (*StreamLiveMintDataResponse_LiveData) GetType ¶ added in v0.9.0
func (m *StreamLiveMintDataResponse_LiveData) GetType() isStreamLiveMintDataResponse_LiveData_Type
func (*StreamLiveMintDataResponse_LiveData) ProtoMessage ¶ added in v0.9.0
func (*StreamLiveMintDataResponse_LiveData) ProtoMessage()
func (*StreamLiveMintDataResponse_LiveData) ProtoReflect ¶ added in v0.9.0
func (x *StreamLiveMintDataResponse_LiveData) ProtoReflect() protoreflect.Message
func (*StreamLiveMintDataResponse_LiveData) Reset ¶ added in v0.9.0
func (x *StreamLiveMintDataResponse_LiveData) Reset()
func (*StreamLiveMintDataResponse_LiveData) String ¶ added in v0.9.0
func (x *StreamLiveMintDataResponse_LiveData) String() string
func (*StreamLiveMintDataResponse_LiveData) Validate ¶ added in v0.9.0
func (m *StreamLiveMintDataResponse_LiveData) Validate() error
Validate checks the field values on StreamLiveMintDataResponse_LiveData with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type StreamLiveMintDataResponse_LiveDataValidationError ¶ added in v0.9.0
type StreamLiveMintDataResponse_LiveDataValidationError struct {
// contains filtered or unexported fields
}
StreamLiveMintDataResponse_LiveDataValidationError is the validation error returned by StreamLiveMintDataResponse_LiveData.Validate if the designated constraints aren't met.
func (StreamLiveMintDataResponse_LiveDataValidationError) Cause ¶ added in v0.9.0
func (e StreamLiveMintDataResponse_LiveDataValidationError) Cause() error
Cause function returns cause value.
func (StreamLiveMintDataResponse_LiveDataValidationError) Error ¶ added in v0.9.0
func (e StreamLiveMintDataResponse_LiveDataValidationError) Error() string
Error satisfies the builtin error interface
func (StreamLiveMintDataResponse_LiveDataValidationError) ErrorName ¶ added in v0.9.0
func (e StreamLiveMintDataResponse_LiveDataValidationError) ErrorName() string
ErrorName returns error name.
func (StreamLiveMintDataResponse_LiveDataValidationError) Field ¶ added in v0.9.0
func (e StreamLiveMintDataResponse_LiveDataValidationError) Field() string
Field function returns field value.
func (StreamLiveMintDataResponse_LiveDataValidationError) Key ¶ added in v0.9.0
func (e StreamLiveMintDataResponse_LiveDataValidationError) Key() bool
Key function returns key value.
func (StreamLiveMintDataResponse_LiveDataValidationError) Reason ¶ added in v0.9.0
func (e StreamLiveMintDataResponse_LiveDataValidationError) Reason() string
Reason function returns reason value.
type StreamLiveMintDataResponse_LiveData_CoreMintFiatExchangeRates ¶ added in v0.9.0
type StreamLiveMintDataResponse_LiveData_CoreMintFiatExchangeRates struct {
CoreMintFiatExchangeRates *VerifiedCoreMintFiatExchangeRateBatch `protobuf:"bytes,1,opt,name=core_mint_fiat_exchange_rates,json=coreMintFiatExchangeRates,proto3,oneof"`
}
type StreamLiveMintDataResponse_LiveData_LaunchpadCurrencyReserveStates ¶ added in v0.9.0
type StreamLiveMintDataResponse_LiveData_LaunchpadCurrencyReserveStates struct {
LaunchpadCurrencyReserveStates *VerifiedLaunchapdCurrencyReserveStateBatch `protobuf:"bytes,2,opt,name=launchpad_currency_reserve_states,json=launchpadCurrencyReserveStates,proto3,oneof"`
}
type StreamLiveMintDataResponse_Ping ¶ added in v0.9.0
type StreamLiveMintDataResponse_Ping struct {
Ping *v1.ServerPing `protobuf:"bytes,2,opt,name=ping,proto3,oneof"`
}
type UnimplementedCurrencyServer ¶
type UnimplementedCurrencyServer struct {
}
UnimplementedCurrencyServer must be embedded to have forward compatible implementations.
func (UnimplementedCurrencyServer) GetHistoricalMintData ¶ added in v0.8.0
func (UnimplementedCurrencyServer) GetHistoricalMintData(context.Context, *GetHistoricalMintDataRequest) (*GetHistoricalMintDataResponse, error)
func (UnimplementedCurrencyServer) GetMints ¶
func (UnimplementedCurrencyServer) GetMints(context.Context, *GetMintsRequest) (*GetMintsResponse, error)
func (UnimplementedCurrencyServer) StreamLiveMintData ¶ added in v0.9.0
func (UnimplementedCurrencyServer) StreamLiveMintData(Currency_StreamLiveMintDataServer) error
type UnsafeCurrencyServer ¶
type UnsafeCurrencyServer interface {
// contains filtered or unexported methods
}
UnsafeCurrencyServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CurrencyServer will result in compilation errors.
type VerifiedCoreMintFiatExchangeRate ¶ added in v0.9.0
type VerifiedCoreMintFiatExchangeRate struct {
ExchangeRate *CoreMintFiatExchangeRate `protobuf:"bytes,1,opt,name=exchange_rate,json=exchangeRate,proto3" json:"exchange_rate,omitempty"`
Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
// contains filtered or unexported fields
}
CoreMintFiatExchangeRate with a server signature for proof for use in a payment
func (*VerifiedCoreMintFiatExchangeRate) Descriptor
deprecated
added in
v0.9.0
func (*VerifiedCoreMintFiatExchangeRate) Descriptor() ([]byte, []int)
Deprecated: Use VerifiedCoreMintFiatExchangeRate.ProtoReflect.Descriptor instead.
func (*VerifiedCoreMintFiatExchangeRate) GetExchangeRate ¶ added in v0.9.0
func (x *VerifiedCoreMintFiatExchangeRate) GetExchangeRate() *CoreMintFiatExchangeRate
func (*VerifiedCoreMintFiatExchangeRate) GetSignature ¶ added in v0.9.0
func (x *VerifiedCoreMintFiatExchangeRate) GetSignature() *v1.Signature
func (*VerifiedCoreMintFiatExchangeRate) ProtoMessage ¶ added in v0.9.0
func (*VerifiedCoreMintFiatExchangeRate) ProtoMessage()
func (*VerifiedCoreMintFiatExchangeRate) ProtoReflect ¶ added in v0.9.0
func (x *VerifiedCoreMintFiatExchangeRate) ProtoReflect() protoreflect.Message
func (*VerifiedCoreMintFiatExchangeRate) Reset ¶ added in v0.9.0
func (x *VerifiedCoreMintFiatExchangeRate) Reset()
func (*VerifiedCoreMintFiatExchangeRate) String ¶ added in v0.9.0
func (x *VerifiedCoreMintFiatExchangeRate) String() string
func (*VerifiedCoreMintFiatExchangeRate) Validate ¶ added in v0.9.0
func (m *VerifiedCoreMintFiatExchangeRate) Validate() error
Validate checks the field values on VerifiedCoreMintFiatExchangeRate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type VerifiedCoreMintFiatExchangeRateBatch ¶ added in v0.9.0
type VerifiedCoreMintFiatExchangeRateBatch struct {
ExchangeRates []*VerifiedCoreMintFiatExchangeRate `protobuf:"bytes,2,rep,name=exchange_rates,json=exchangeRates,proto3" json:"exchange_rates,omitempty"`
// contains filtered or unexported fields
}
func (*VerifiedCoreMintFiatExchangeRateBatch) Descriptor
deprecated
added in
v0.9.0
func (*VerifiedCoreMintFiatExchangeRateBatch) Descriptor() ([]byte, []int)
Deprecated: Use VerifiedCoreMintFiatExchangeRateBatch.ProtoReflect.Descriptor instead.
func (*VerifiedCoreMintFiatExchangeRateBatch) GetExchangeRates ¶ added in v0.9.0
func (x *VerifiedCoreMintFiatExchangeRateBatch) GetExchangeRates() []*VerifiedCoreMintFiatExchangeRate
func (*VerifiedCoreMintFiatExchangeRateBatch) ProtoMessage ¶ added in v0.9.0
func (*VerifiedCoreMintFiatExchangeRateBatch) ProtoMessage()
func (*VerifiedCoreMintFiatExchangeRateBatch) ProtoReflect ¶ added in v0.9.0
func (x *VerifiedCoreMintFiatExchangeRateBatch) ProtoReflect() protoreflect.Message
func (*VerifiedCoreMintFiatExchangeRateBatch) Reset ¶ added in v0.9.0
func (x *VerifiedCoreMintFiatExchangeRateBatch) Reset()
func (*VerifiedCoreMintFiatExchangeRateBatch) String ¶ added in v0.9.0
func (x *VerifiedCoreMintFiatExchangeRateBatch) String() string
func (*VerifiedCoreMintFiatExchangeRateBatch) Validate ¶ added in v0.9.0
func (m *VerifiedCoreMintFiatExchangeRateBatch) Validate() error
Validate checks the field values on VerifiedCoreMintFiatExchangeRateBatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type VerifiedCoreMintFiatExchangeRateBatchValidationError ¶ added in v0.9.0
type VerifiedCoreMintFiatExchangeRateBatchValidationError struct {
// contains filtered or unexported fields
}
VerifiedCoreMintFiatExchangeRateBatchValidationError is the validation error returned by VerifiedCoreMintFiatExchangeRateBatch.Validate if the designated constraints aren't met.
func (VerifiedCoreMintFiatExchangeRateBatchValidationError) Cause ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) Cause() error
Cause function returns cause value.
func (VerifiedCoreMintFiatExchangeRateBatchValidationError) Error ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) Error() string
Error satisfies the builtin error interface
func (VerifiedCoreMintFiatExchangeRateBatchValidationError) ErrorName ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) ErrorName() string
ErrorName returns error name.
func (VerifiedCoreMintFiatExchangeRateBatchValidationError) Field ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) Field() string
Field function returns field value.
func (VerifiedCoreMintFiatExchangeRateBatchValidationError) Key ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) Key() bool
Key function returns key value.
func (VerifiedCoreMintFiatExchangeRateBatchValidationError) Reason ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateBatchValidationError) Reason() string
Reason function returns reason value.
type VerifiedCoreMintFiatExchangeRateValidationError ¶ added in v0.9.0
type VerifiedCoreMintFiatExchangeRateValidationError struct {
// contains filtered or unexported fields
}
VerifiedCoreMintFiatExchangeRateValidationError is the validation error returned by VerifiedCoreMintFiatExchangeRate.Validate if the designated constraints aren't met.
func (VerifiedCoreMintFiatExchangeRateValidationError) Cause ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateValidationError) Cause() error
Cause function returns cause value.
func (VerifiedCoreMintFiatExchangeRateValidationError) Error ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateValidationError) Error() string
Error satisfies the builtin error interface
func (VerifiedCoreMintFiatExchangeRateValidationError) ErrorName ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateValidationError) ErrorName() string
ErrorName returns error name.
func (VerifiedCoreMintFiatExchangeRateValidationError) Field ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateValidationError) Field() string
Field function returns field value.
func (VerifiedCoreMintFiatExchangeRateValidationError) Key ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateValidationError) Key() bool
Key function returns key value.
func (VerifiedCoreMintFiatExchangeRateValidationError) Reason ¶ added in v0.9.0
func (e VerifiedCoreMintFiatExchangeRateValidationError) Reason() string
Reason function returns reason value.
type VerifiedLaunchapdCurrencyReserveStateBatch ¶ added in v0.9.0
type VerifiedLaunchapdCurrencyReserveStateBatch struct {
ReserveStates []*VerifiedLaunchpadCurrencyReserveState `protobuf:"bytes,2,rep,name=reserve_states,json=reserveStates,proto3" json:"reserve_states,omitempty"`
// contains filtered or unexported fields
}
func (*VerifiedLaunchapdCurrencyReserveStateBatch) Descriptor
deprecated
added in
v0.9.0
func (*VerifiedLaunchapdCurrencyReserveStateBatch) Descriptor() ([]byte, []int)
Deprecated: Use VerifiedLaunchapdCurrencyReserveStateBatch.ProtoReflect.Descriptor instead.
func (*VerifiedLaunchapdCurrencyReserveStateBatch) GetReserveStates ¶ added in v0.9.0
func (x *VerifiedLaunchapdCurrencyReserveStateBatch) GetReserveStates() []*VerifiedLaunchpadCurrencyReserveState
func (*VerifiedLaunchapdCurrencyReserveStateBatch) ProtoMessage ¶ added in v0.9.0
func (*VerifiedLaunchapdCurrencyReserveStateBatch) ProtoMessage()
func (*VerifiedLaunchapdCurrencyReserveStateBatch) ProtoReflect ¶ added in v0.9.0
func (x *VerifiedLaunchapdCurrencyReserveStateBatch) ProtoReflect() protoreflect.Message
func (*VerifiedLaunchapdCurrencyReserveStateBatch) Reset ¶ added in v0.9.0
func (x *VerifiedLaunchapdCurrencyReserveStateBatch) Reset()
func (*VerifiedLaunchapdCurrencyReserveStateBatch) String ¶ added in v0.9.0
func (x *VerifiedLaunchapdCurrencyReserveStateBatch) String() string
func (*VerifiedLaunchapdCurrencyReserveStateBatch) Validate ¶ added in v0.9.0
func (m *VerifiedLaunchapdCurrencyReserveStateBatch) Validate() error
Validate checks the field values on VerifiedLaunchapdCurrencyReserveStateBatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type VerifiedLaunchapdCurrencyReserveStateBatchValidationError ¶ added in v0.9.0
type VerifiedLaunchapdCurrencyReserveStateBatchValidationError struct {
// contains filtered or unexported fields
}
VerifiedLaunchapdCurrencyReserveStateBatchValidationError is the validation error returned by VerifiedLaunchapdCurrencyReserveStateBatch.Validate if the designated constraints aren't met.
func (VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Cause ¶ added in v0.9.0
func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Cause() error
Cause function returns cause value.
func (VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Error ¶ added in v0.9.0
func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Error() string
Error satisfies the builtin error interface
func (VerifiedLaunchapdCurrencyReserveStateBatchValidationError) ErrorName ¶ added in v0.9.0
func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) ErrorName() string
ErrorName returns error name.
func (VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Field ¶ added in v0.9.0
func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Field() string
Field function returns field value.
func (VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Key ¶ added in v0.9.0
func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Key() bool
Key function returns key value.
func (VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Reason ¶ added in v0.9.0
func (e VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Reason() string
Reason function returns reason value.
type VerifiedLaunchpadCurrencyReserveState ¶ added in v0.9.0
type VerifiedLaunchpadCurrencyReserveState struct {
ReserveState *LaunchpadCurrencyReserveState `protobuf:"bytes,1,opt,name=reserve_state,json=reserveState,proto3" json:"reserve_state,omitempty"`
Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
// contains filtered or unexported fields
}
LaunchpadCurrencyReserveState with a server signature for proof for use in a payment
func (*VerifiedLaunchpadCurrencyReserveState) Descriptor
deprecated
added in
v0.9.0
func (*VerifiedLaunchpadCurrencyReserveState) Descriptor() ([]byte, []int)
Deprecated: Use VerifiedLaunchpadCurrencyReserveState.ProtoReflect.Descriptor instead.
func (*VerifiedLaunchpadCurrencyReserveState) GetReserveState ¶ added in v0.9.0
func (x *VerifiedLaunchpadCurrencyReserveState) GetReserveState() *LaunchpadCurrencyReserveState
func (*VerifiedLaunchpadCurrencyReserveState) GetSignature ¶ added in v0.9.0
func (x *VerifiedLaunchpadCurrencyReserveState) GetSignature() *v1.Signature
func (*VerifiedLaunchpadCurrencyReserveState) ProtoMessage ¶ added in v0.9.0
func (*VerifiedLaunchpadCurrencyReserveState) ProtoMessage()
func (*VerifiedLaunchpadCurrencyReserveState) ProtoReflect ¶ added in v0.9.0
func (x *VerifiedLaunchpadCurrencyReserveState) ProtoReflect() protoreflect.Message
func (*VerifiedLaunchpadCurrencyReserveState) Reset ¶ added in v0.9.0
func (x *VerifiedLaunchpadCurrencyReserveState) Reset()
func (*VerifiedLaunchpadCurrencyReserveState) String ¶ added in v0.9.0
func (x *VerifiedLaunchpadCurrencyReserveState) String() string
func (*VerifiedLaunchpadCurrencyReserveState) Validate ¶ added in v0.9.0
func (m *VerifiedLaunchpadCurrencyReserveState) Validate() error
Validate checks the field values on VerifiedLaunchpadCurrencyReserveState with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type VerifiedLaunchpadCurrencyReserveStateValidationError ¶ added in v0.9.0
type VerifiedLaunchpadCurrencyReserveStateValidationError struct {
// contains filtered or unexported fields
}
VerifiedLaunchpadCurrencyReserveStateValidationError is the validation error returned by VerifiedLaunchpadCurrencyReserveState.Validate if the designated constraints aren't met.
func (VerifiedLaunchpadCurrencyReserveStateValidationError) Cause ¶ added in v0.9.0
func (e VerifiedLaunchpadCurrencyReserveStateValidationError) Cause() error
Cause function returns cause value.
func (VerifiedLaunchpadCurrencyReserveStateValidationError) Error ¶ added in v0.9.0
func (e VerifiedLaunchpadCurrencyReserveStateValidationError) Error() string
Error satisfies the builtin error interface
func (VerifiedLaunchpadCurrencyReserveStateValidationError) ErrorName ¶ added in v0.9.0
func (e VerifiedLaunchpadCurrencyReserveStateValidationError) ErrorName() string
ErrorName returns error name.
func (VerifiedLaunchpadCurrencyReserveStateValidationError) Field ¶ added in v0.9.0
func (e VerifiedLaunchpadCurrencyReserveStateValidationError) Field() string
Field function returns field value.
func (VerifiedLaunchpadCurrencyReserveStateValidationError) Key ¶ added in v0.9.0
func (e VerifiedLaunchpadCurrencyReserveStateValidationError) Key() bool
Key function returns key value.
func (VerifiedLaunchpadCurrencyReserveStateValidationError) Reason ¶ added in v0.9.0
func (e VerifiedLaunchpadCurrencyReserveStateValidationError) Reason() string
Reason function returns reason value.
type VmMetadata ¶
type VmMetadata struct {
// VM address
Vm *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=vm,proto3" json:"vm,omitempty"`
// Authority that subsidizes and authorizes all transactions against the VM
Authority *v1.SolanaAccountId `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
// Lock duration of Virtual Timelock Accounts on the VM, currently hardcoded
// to 21 days
LockDurationInDays uint32 `protobuf:"varint,3,opt,name=lock_duration_in_days,json=lockDurationInDays,proto3" json:"lock_duration_in_days,omitempty"`
// VM omnibus address
Omnibus *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=omnibus,proto3" json:"omnibus,omitempty"`
// contains filtered or unexported fields
}
func (*VmMetadata) Descriptor
deprecated
func (*VmMetadata) Descriptor() ([]byte, []int)
Deprecated: Use VmMetadata.ProtoReflect.Descriptor instead.
func (*VmMetadata) GetAuthority ¶
func (x *VmMetadata) GetAuthority() *v1.SolanaAccountId
func (*VmMetadata) GetLockDurationInDays ¶
func (x *VmMetadata) GetLockDurationInDays() uint32
func (*VmMetadata) GetOmnibus ¶ added in v0.4.0
func (x *VmMetadata) GetOmnibus() *v1.SolanaAccountId
func (*VmMetadata) GetVm ¶
func (x *VmMetadata) GetVm() *v1.SolanaAccountId
func (*VmMetadata) ProtoMessage ¶
func (*VmMetadata) ProtoMessage()
func (*VmMetadata) ProtoReflect ¶
func (x *VmMetadata) ProtoReflect() protoreflect.Message
func (*VmMetadata) Reset ¶
func (x *VmMetadata) Reset()
func (*VmMetadata) String ¶
func (x *VmMetadata) String() string
func (*VmMetadata) Validate ¶
func (m *VmMetadata) Validate() error
Validate checks the field values on VmMetadata with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type VmMetadataValidationError ¶
type VmMetadataValidationError struct {
// contains filtered or unexported fields
}
VmMetadataValidationError is the validation error returned by VmMetadata.Validate if the designated constraints aren't met.
func (VmMetadataValidationError) Cause ¶
func (e VmMetadataValidationError) Cause() error
Cause function returns cause value.
func (VmMetadataValidationError) Error ¶
func (e VmMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (VmMetadataValidationError) ErrorName ¶
func (e VmMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (VmMetadataValidationError) Field ¶
func (e VmMetadataValidationError) Field() string
Field function returns field value.
func (VmMetadataValidationError) Key ¶
func (e VmMetadataValidationError) Key() bool
Key function returns key value.
func (VmMetadataValidationError) Reason ¶
func (e VmMetadataValidationError) Reason() string
Reason function returns reason value.