currency

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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)

View Source
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

Cause function returns cause value.

func (CoreMintFiatExchangeRateValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (CoreMintFiatExchangeRateValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (CoreMintFiatExchangeRateValidationError) Field added in v0.9.0

Field function returns field value.

func (CoreMintFiatExchangeRateValidationError) Key added in v0.9.0

Key function returns key value.

func (CoreMintFiatExchangeRateValidationError) Reason added in v0.9.0

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 (*GetHistoricalMintDataRequest) GetCurrencyCode added in v0.8.0

func (x *GetHistoricalMintDataRequest) GetCurrencyCode() string

func (*GetHistoricalMintDataRequest) GetPredefinedRange added in v0.8.0

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 (*GetHistoricalMintDataRequest) Reset added in v0.8.0

func (x *GetHistoricalMintDataRequest) Reset()

func (*GetHistoricalMintDataRequest) String added in v0.8.0

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

Cause function returns cause value.

func (GetHistoricalMintDataRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (GetHistoricalMintDataRequestValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (GetHistoricalMintDataRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (GetHistoricalMintDataRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (GetHistoricalMintDataRequestValidationError) Reason added in v0.8.0

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) Enum added in v0.8.0

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 (GetHistoricalMintDataRequest_PredefinedRange) String added in v0.8.0

func (GetHistoricalMintDataRequest_PredefinedRange) Type added in v0.8.0

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 (*GetHistoricalMintDataResponse) GetResult added in v0.8.0

func (*GetHistoricalMintDataResponse) ProtoMessage added in v0.8.0

func (*GetHistoricalMintDataResponse) ProtoMessage()

func (*GetHistoricalMintDataResponse) ProtoReflect added in v0.8.0

func (*GetHistoricalMintDataResponse) Reset added in v0.8.0

func (x *GetHistoricalMintDataResponse) Reset()

func (*GetHistoricalMintDataResponse) String added in v0.8.0

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

Cause function returns cause value.

func (GetHistoricalMintDataResponseValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (GetHistoricalMintDataResponseValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (GetHistoricalMintDataResponseValidationError) Field added in v0.8.0

Field function returns field value.

func (GetHistoricalMintDataResponseValidationError) Key added in v0.8.0

Key function returns key value.

func (GetHistoricalMintDataResponseValidationError) Reason added in v0.8.0

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) Enum added in v0.8.0

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 (GetHistoricalMintDataResponse_Result) String added in v0.8.0

func (GetHistoricalMintDataResponse_Result) Type added in v0.8.0

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

Cause function returns cause value.

func (GetMintsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetMintsRequestValidationError) ErrorName

func (e GetMintsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetMintsRequestValidationError) Field

Field function returns field value.

func (GetMintsRequestValidationError) Key

Key function returns key value.

func (GetMintsRequestValidationError) Reason

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 (*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

Cause function returns cause value.

func (GetMintsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetMintsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetMintsResponseValidationError) Field

Field function returns field value.

func (GetMintsResponseValidationError) Key

Key function returns key value.

func (GetMintsResponseValidationError) Reason

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) Enum

func (GetMintsResponse_Result) EnumDescriptor deprecated

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

Deprecated: Use GetMintsResponse_Result.Descriptor instead.

func (GetMintsResponse_Result) Number

func (GetMintsResponse_Result) String

func (x GetMintsResponse_Result) String() string

func (GetMintsResponse_Result) Type

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

Cause function returns cause value.

func (HistoricalMintDataValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (HistoricalMintDataValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (HistoricalMintDataValidationError) Field added in v0.8.0

Field function returns field value.

func (HistoricalMintDataValidationError) Key added in v0.8.0

Key function returns key value.

func (HistoricalMintDataValidationError) Reason added in v0.8.0

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 (*LaunchpadCurrencyReserveState) GetSupplyFromBonding added in v0.9.0

func (x *LaunchpadCurrencyReserveState) GetSupplyFromBonding() uint64

func (*LaunchpadCurrencyReserveState) GetTimestamp added in v0.9.0

func (*LaunchpadCurrencyReserveState) ProtoMessage added in v0.9.0

func (*LaunchpadCurrencyReserveState) ProtoMessage()

func (*LaunchpadCurrencyReserveState) ProtoReflect added in v0.9.0

func (*LaunchpadCurrencyReserveState) Reset added in v0.9.0

func (x *LaunchpadCurrencyReserveState) Reset()

func (*LaunchpadCurrencyReserveState) String added in v0.9.0

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

Cause function returns cause value.

func (LaunchpadCurrencyReserveStateValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (LaunchpadCurrencyReserveStateValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (LaunchpadCurrencyReserveStateValidationError) Field added in v0.9.0

Field function returns field value.

func (LaunchpadCurrencyReserveStateValidationError) Key added in v0.9.0

Key function returns key value.

func (LaunchpadCurrencyReserveStateValidationError) Reason added in v0.9.0

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

Cause function returns cause value.

func (LaunchpadMetadataValidationError) Error

Error satisfies the builtin error interface

func (LaunchpadMetadataValidationError) ErrorName

ErrorName returns error name.

func (LaunchpadMetadataValidationError) Field

Field function returns field value.

func (LaunchpadMetadataValidationError) Key

Key function returns key value.

func (LaunchpadMetadataValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Mint.ProtoReflect.Descriptor instead.

func (*Mint) GetAddress

func (x *Mint) GetAddress() *v1.SolanaAccountId

func (*Mint) GetCreatedAt

func (x *Mint) GetCreatedAt() *timestamppb.Timestamp

func (*Mint) GetDecimals

func (x *Mint) GetDecimals() uint32

func (*Mint) GetDescription

func (x *Mint) GetDescription() string

func (*Mint) GetImageUrl

func (x *Mint) GetImageUrl() string

func (*Mint) GetLaunchpadMetadata

func (x *Mint) GetLaunchpadMetadata() *LaunchpadMetadata

func (*Mint) GetName

func (x *Mint) GetName() string

func (*Mint) GetSymbol

func (x *Mint) GetSymbol() string

func (*Mint) GetVmMetadata

func (x *Mint) GetVmMetadata() *VmMetadata

func (*Mint) ProtoMessage

func (*Mint) ProtoMessage()

func (*Mint) ProtoReflect

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

func (*Mint) Reset

func (x *Mint) Reset()

func (*Mint) String

func (x *Mint) String() string

func (*Mint) Validate

func (m *Mint) Validate() error

Validate checks the field values on Mint with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

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 (*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 (*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

Cause function returns cause value.

func (StreamLiveMintDataRequestValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (StreamLiveMintDataRequestValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (StreamLiveMintDataRequestValidationError) Field added in v0.9.0

Field function returns field value.

func (StreamLiveMintDataRequestValidationError) Key added in v0.9.0

Key function returns key value.

func (StreamLiveMintDataRequestValidationError) Reason added in v0.9.0

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 (*StreamLiveMintDataRequest_Request) ProtoMessage added in v0.9.0

func (*StreamLiveMintDataRequest_Request) ProtoMessage()

func (*StreamLiveMintDataRequest_Request) ProtoReflect added in v0.9.0

func (*StreamLiveMintDataRequest_Request) Reset added in v0.9.0

func (*StreamLiveMintDataRequest_Request) String added in v0.9.0

func (*StreamLiveMintDataRequest_Request) Validate added in v0.9.0

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

Cause function returns cause value.

func (StreamLiveMintDataRequest_RequestValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (StreamLiveMintDataRequest_RequestValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (StreamLiveMintDataRequest_RequestValidationError) Field added in v0.9.0

Field function returns field value.

func (StreamLiveMintDataRequest_RequestValidationError) Key added in v0.9.0

Key function returns key value.

func (StreamLiveMintDataRequest_RequestValidationError) Reason added in v0.9.0

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 (*StreamLiveMintDataResponse) GetPing added in v0.9.0

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 (*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

Cause function returns cause value.

func (StreamLiveMintDataResponseValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (StreamLiveMintDataResponseValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (StreamLiveMintDataResponseValidationError) Field added in v0.9.0

Field function returns field value.

func (StreamLiveMintDataResponseValidationError) Key added in v0.9.0

Key function returns key value.

func (StreamLiveMintDataResponseValidationError) Reason added in v0.9.0

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 (*StreamLiveMintDataResponse_LiveData) GetLaunchpadCurrencyReserveStates added in v0.9.0

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 (*StreamLiveMintDataResponse_LiveData) Reset added in v0.9.0

func (*StreamLiveMintDataResponse_LiveData) String added in v0.9.0

func (*StreamLiveMintDataResponse_LiveData) Validate added in v0.9.0

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

Cause function returns cause value.

func (StreamLiveMintDataResponse_LiveDataValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (StreamLiveMintDataResponse_LiveDataValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (StreamLiveMintDataResponse_LiveDataValidationError) Field added in v0.9.0

Field function returns field value.

func (StreamLiveMintDataResponse_LiveDataValidationError) Key added in v0.9.0

Key function returns key value.

func (StreamLiveMintDataResponse_LiveDataValidationError) Reason added in v0.9.0

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) GetMints

func (UnimplementedCurrencyServer) StreamLiveMintData added in v0.9.0

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 (*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 (*VerifiedCoreMintFiatExchangeRate) Reset added in v0.9.0

func (*VerifiedCoreMintFiatExchangeRate) String added in v0.9.0

func (*VerifiedCoreMintFiatExchangeRate) Validate added in v0.9.0

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 (*VerifiedCoreMintFiatExchangeRateBatch) ProtoMessage added in v0.9.0

func (*VerifiedCoreMintFiatExchangeRateBatch) ProtoMessage()

func (*VerifiedCoreMintFiatExchangeRateBatch) ProtoReflect added in v0.9.0

func (*VerifiedCoreMintFiatExchangeRateBatch) Reset added in v0.9.0

func (*VerifiedCoreMintFiatExchangeRateBatch) String added in v0.9.0

func (*VerifiedCoreMintFiatExchangeRateBatch) Validate added in v0.9.0

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

Cause function returns cause value.

func (VerifiedCoreMintFiatExchangeRateBatchValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (VerifiedCoreMintFiatExchangeRateBatchValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (VerifiedCoreMintFiatExchangeRateBatchValidationError) Field added in v0.9.0

Field function returns field value.

func (VerifiedCoreMintFiatExchangeRateBatchValidationError) Key added in v0.9.0

Key function returns key value.

func (VerifiedCoreMintFiatExchangeRateBatchValidationError) Reason added in v0.9.0

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

Cause function returns cause value.

func (VerifiedCoreMintFiatExchangeRateValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (VerifiedCoreMintFiatExchangeRateValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (VerifiedCoreMintFiatExchangeRateValidationError) Field added in v0.9.0

Field function returns field value.

func (VerifiedCoreMintFiatExchangeRateValidationError) Key added in v0.9.0

Key function returns key value.

func (VerifiedCoreMintFiatExchangeRateValidationError) Reason added in v0.9.0

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

Deprecated: Use VerifiedLaunchapdCurrencyReserveStateBatch.ProtoReflect.Descriptor instead.

func (*VerifiedLaunchapdCurrencyReserveStateBatch) GetReserveStates added in v0.9.0

func (*VerifiedLaunchapdCurrencyReserveStateBatch) ProtoMessage added in v0.9.0

func (*VerifiedLaunchapdCurrencyReserveStateBatch) ProtoReflect added in v0.9.0

func (*VerifiedLaunchapdCurrencyReserveStateBatch) Reset added in v0.9.0

func (*VerifiedLaunchapdCurrencyReserveStateBatch) String added in v0.9.0

func (*VerifiedLaunchapdCurrencyReserveStateBatch) Validate added in v0.9.0

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

Cause function returns cause value.

func (VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (VerifiedLaunchapdCurrencyReserveStateBatchValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Field added in v0.9.0

Field function returns field value.

func (VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Key added in v0.9.0

Key function returns key value.

func (VerifiedLaunchapdCurrencyReserveStateBatchValidationError) Reason added in v0.9.0

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 (*VerifiedLaunchpadCurrencyReserveState) GetSignature added in v0.9.0

func (*VerifiedLaunchpadCurrencyReserveState) ProtoMessage added in v0.9.0

func (*VerifiedLaunchpadCurrencyReserveState) ProtoMessage()

func (*VerifiedLaunchpadCurrencyReserveState) ProtoReflect added in v0.9.0

func (*VerifiedLaunchpadCurrencyReserveState) Reset added in v0.9.0

func (*VerifiedLaunchpadCurrencyReserveState) String added in v0.9.0

func (*VerifiedLaunchpadCurrencyReserveState) Validate added in v0.9.0

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

Cause function returns cause value.

func (VerifiedLaunchpadCurrencyReserveStateValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (VerifiedLaunchpadCurrencyReserveStateValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (VerifiedLaunchpadCurrencyReserveStateValidationError) Field added in v0.9.0

Field function returns field value.

func (VerifiedLaunchpadCurrencyReserveStateValidationError) Key added in v0.9.0

Key function returns key value.

func (VerifiedLaunchpadCurrencyReserveStateValidationError) Reason added in v0.9.0

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

Error satisfies the builtin error interface

func (VmMetadataValidationError) ErrorName

func (e VmMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (VmMetadataValidationError) Field

Field function returns field value.

func (VmMetadataValidationError) Key

Key function returns key value.

func (VmMetadataValidationError) Reason

func (e VmMetadataValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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