Documentation ¶
Overview ¶
Package injective_insurance_rpcpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterInjectiveInsuranceRPCHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterInjectiveInsuranceRPCHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InjectiveInsuranceRPCClient) error
- func RegisterInjectiveInsuranceRPCHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterInjectiveInsuranceRPCHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InjectiveInsuranceRPCServer) error
- func RegisterInjectiveInsuranceRPCServer(s grpc.ServiceRegistrar, srv InjectiveInsuranceRPCServer)
- type FundRequest
- type FundResponse
- type FundsRequest
- type FundsResponse
- type InjectiveInsuranceRPCClient
- type InjectiveInsuranceRPCServer
- type InsuranceFund
- func (*InsuranceFund) Descriptor() ([]byte, []int)deprecated
- func (x *InsuranceFund) GetBalance() string
- func (x *InsuranceFund) GetDepositDenom() string
- func (x *InsuranceFund) GetDepositTokenMeta() *TokenMeta
- func (x *InsuranceFund) GetExpiry() int64
- func (x *InsuranceFund) GetMarketId() string
- func (x *InsuranceFund) GetMarketTicker() string
- func (x *InsuranceFund) GetOracleBase() string
- func (x *InsuranceFund) GetOracleQuote() string
- func (x *InsuranceFund) GetOracleType() string
- func (x *InsuranceFund) GetPoolTokenDenom() string
- func (x *InsuranceFund) GetRedemptionNoticePeriodDuration() int64
- func (x *InsuranceFund) GetTotalShare() string
- func (*InsuranceFund) ProtoMessage()
- func (x *InsuranceFund) ProtoReflect() protoreflect.Message
- func (x *InsuranceFund) Reset()
- func (x *InsuranceFund) String() string
- type RedemptionSchedule
- func (*RedemptionSchedule) Descriptor() ([]byte, []int)deprecated
- func (x *RedemptionSchedule) GetClaimableRedemptionTime() int64
- func (x *RedemptionSchedule) GetDisbursedAmount() string
- func (x *RedemptionSchedule) GetDisbursedAt() int64
- func (x *RedemptionSchedule) GetDisbursedDenom() string
- func (x *RedemptionSchedule) GetRedeemer() string
- func (x *RedemptionSchedule) GetRedemptionAmount() string
- func (x *RedemptionSchedule) GetRedemptionDenom() string
- func (x *RedemptionSchedule) GetRedemptionId() uint64
- func (x *RedemptionSchedule) GetRequestedAt() int64
- func (x *RedemptionSchedule) GetStatus() string
- func (*RedemptionSchedule) ProtoMessage()
- func (x *RedemptionSchedule) ProtoReflect() protoreflect.Message
- func (x *RedemptionSchedule) Reset()
- func (x *RedemptionSchedule) String() string
- type RedemptionsRequest
- func (*RedemptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RedemptionsRequest) GetRedeemer() string
- func (x *RedemptionsRequest) GetRedemptionDenom() string
- func (x *RedemptionsRequest) GetStatus() string
- func (*RedemptionsRequest) ProtoMessage()
- func (x *RedemptionsRequest) ProtoReflect() protoreflect.Message
- func (x *RedemptionsRequest) Reset()
- func (x *RedemptionsRequest) String() string
- type RedemptionsResponse
- func (*RedemptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RedemptionsResponse) GetRedemptionSchedules() []*RedemptionSchedule
- func (*RedemptionsResponse) ProtoMessage()
- func (x *RedemptionsResponse) ProtoReflect() protoreflect.Message
- func (x *RedemptionsResponse) Reset()
- func (x *RedemptionsResponse) String() string
- type TokenMeta
- func (*TokenMeta) Descriptor() ([]byte, []int)deprecated
- func (x *TokenMeta) GetAddress() string
- func (x *TokenMeta) GetDecimals() int32
- func (x *TokenMeta) GetLogo() string
- func (x *TokenMeta) GetName() string
- func (x *TokenMeta) GetSymbol() string
- func (x *TokenMeta) GetUpdatedAt() int64
- func (*TokenMeta) ProtoMessage()
- func (x *TokenMeta) ProtoReflect() protoreflect.Message
- func (x *TokenMeta) Reset()
- func (x *TokenMeta) String() string
- type UnimplementedInjectiveInsuranceRPCServer
- func (UnimplementedInjectiveInsuranceRPCServer) Fund(context.Context, *FundRequest) (*FundResponse, error)
- func (UnimplementedInjectiveInsuranceRPCServer) Funds(context.Context, *FundsRequest) (*FundsResponse, error)
- func (UnimplementedInjectiveInsuranceRPCServer) Redemptions(context.Context, *RedemptionsRequest) (*RedemptionsResponse, error)
- type UnsafeInjectiveInsuranceRPCServer
Constants ¶
This section is empty.
Variables ¶
var File_goadesign_goagen_injective_insurance_rpc_proto protoreflect.FileDescriptor
var InjectiveInsuranceRPC_ServiceDesc = grpc.ServiceDesc{ ServiceName: "injective_insurance_rpc.InjectiveInsuranceRPC", HandlerType: (*InjectiveInsuranceRPCServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Funds", Handler: _InjectiveInsuranceRPC_Funds_Handler, }, { MethodName: "Fund", Handler: _InjectiveInsuranceRPC_Fund_Handler, }, { MethodName: "Redemptions", Handler: _InjectiveInsuranceRPC_Redemptions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "goadesign_goagen_injective_insurance_rpc.proto", }
InjectiveInsuranceRPC_ServiceDesc is the grpc.ServiceDesc for InjectiveInsuranceRPC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInjectiveInsuranceRPCHandler ¶ added in v1.32.1
func RegisterInjectiveInsuranceRPCHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterInjectiveInsuranceRPCHandler registers the http handlers for service InjectiveInsuranceRPC to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterInjectiveInsuranceRPCHandlerClient ¶ added in v1.32.1
func RegisterInjectiveInsuranceRPCHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InjectiveInsuranceRPCClient) error
RegisterInjectiveInsuranceRPCHandlerClient registers the http handlers for service InjectiveInsuranceRPC to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "InjectiveInsuranceRPCClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "InjectiveInsuranceRPCClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "InjectiveInsuranceRPCClient" to call the correct interceptors.
func RegisterInjectiveInsuranceRPCHandlerFromEndpoint ¶ added in v1.32.1
func RegisterInjectiveInsuranceRPCHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterInjectiveInsuranceRPCHandlerFromEndpoint is same as RegisterInjectiveInsuranceRPCHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterInjectiveInsuranceRPCHandlerServer ¶ added in v1.32.1
func RegisterInjectiveInsuranceRPCHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InjectiveInsuranceRPCServer) error
RegisterInjectiveInsuranceRPCHandlerServer registers the http handlers for service InjectiveInsuranceRPC to "mux". UnaryRPC :call InjectiveInsuranceRPCServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterInjectiveInsuranceRPCHandlerFromEndpoint instead.
func RegisterInjectiveInsuranceRPCServer ¶
func RegisterInjectiveInsuranceRPCServer(s grpc.ServiceRegistrar, srv InjectiveInsuranceRPCServer)
Types ¶
type FundRequest ¶ added in v1.51.0
type FundRequest struct { // denom of insurance fund Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // contains filtered or unexported fields }
func (*FundRequest) Descriptor
deprecated
added in
v1.51.0
func (*FundRequest) Descriptor() ([]byte, []int)
Deprecated: Use FundRequest.ProtoReflect.Descriptor instead.
func (*FundRequest) GetDenom ¶ added in v1.51.0
func (x *FundRequest) GetDenom() string
func (*FundRequest) ProtoMessage ¶ added in v1.51.0
func (*FundRequest) ProtoMessage()
func (*FundRequest) ProtoReflect ¶ added in v1.51.0
func (x *FundRequest) ProtoReflect() protoreflect.Message
func (*FundRequest) Reset ¶ added in v1.51.0
func (x *FundRequest) Reset()
func (*FundRequest) String ¶ added in v1.51.0
func (x *FundRequest) String() string
type FundResponse ¶ added in v1.51.0
type FundResponse struct { // The insurance fund corresponding to the provided token denom Fund *InsuranceFund `protobuf:"bytes,1,opt,name=fund,proto3" json:"fund,omitempty"` // contains filtered or unexported fields }
func (*FundResponse) Descriptor
deprecated
added in
v1.51.0
func (*FundResponse) Descriptor() ([]byte, []int)
Deprecated: Use FundResponse.ProtoReflect.Descriptor instead.
func (*FundResponse) GetFund ¶ added in v1.51.0
func (x *FundResponse) GetFund() *InsuranceFund
func (*FundResponse) ProtoMessage ¶ added in v1.51.0
func (*FundResponse) ProtoMessage()
func (*FundResponse) ProtoReflect ¶ added in v1.51.0
func (x *FundResponse) ProtoReflect() protoreflect.Message
func (*FundResponse) Reset ¶ added in v1.51.0
func (x *FundResponse) Reset()
func (*FundResponse) String ¶ added in v1.51.0
func (x *FundResponse) String() string
type FundsRequest ¶
type FundsRequest struct {
// contains filtered or unexported fields
}
func (*FundsRequest) Descriptor
deprecated
func (*FundsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FundsRequest.ProtoReflect.Descriptor instead.
func (*FundsRequest) ProtoMessage ¶
func (*FundsRequest) ProtoMessage()
func (*FundsRequest) ProtoReflect ¶
func (x *FundsRequest) ProtoReflect() protoreflect.Message
func (*FundsRequest) Reset ¶
func (x *FundsRequest) Reset()
func (*FundsRequest) String ¶
func (x *FundsRequest) String() string
type FundsResponse ¶
type FundsResponse struct { Funds []*InsuranceFund `protobuf:"bytes,1,rep,name=funds,proto3" json:"funds,omitempty"` // contains filtered or unexported fields }
func (*FundsResponse) Descriptor
deprecated
func (*FundsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FundsResponse.ProtoReflect.Descriptor instead.
func (*FundsResponse) GetFunds ¶
func (x *FundsResponse) GetFunds() []*InsuranceFund
func (*FundsResponse) ProtoMessage ¶
func (*FundsResponse) ProtoMessage()
func (*FundsResponse) ProtoReflect ¶
func (x *FundsResponse) ProtoReflect() protoreflect.Message
func (*FundsResponse) Reset ¶
func (x *FundsResponse) Reset()
func (*FundsResponse) String ¶
func (x *FundsResponse) String() string
type InjectiveInsuranceRPCClient ¶
type InjectiveInsuranceRPCClient interface { // Funds lists all insurance funds. Funds(ctx context.Context, in *FundsRequest, opts ...grpc.CallOption) (*FundsResponse, error) // Funds returns an insurance fund for a given insurance fund token denom. Fund(ctx context.Context, in *FundRequest, opts ...grpc.CallOption) (*FundResponse, error) // PendingRedemptions lists all pending redemptions according to a filter Redemptions(ctx context.Context, in *RedemptionsRequest, opts ...grpc.CallOption) (*RedemptionsResponse, error) }
InjectiveInsuranceRPCClient is the client API for InjectiveInsuranceRPC 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 NewInjectiveInsuranceRPCClient ¶
func NewInjectiveInsuranceRPCClient(cc grpc.ClientConnInterface) InjectiveInsuranceRPCClient
type InjectiveInsuranceRPCServer ¶
type InjectiveInsuranceRPCServer interface { // Funds lists all insurance funds. Funds(context.Context, *FundsRequest) (*FundsResponse, error) // Funds returns an insurance fund for a given insurance fund token denom. Fund(context.Context, *FundRequest) (*FundResponse, error) // PendingRedemptions lists all pending redemptions according to a filter Redemptions(context.Context, *RedemptionsRequest) (*RedemptionsResponse, error) // contains filtered or unexported methods }
InjectiveInsuranceRPCServer is the server API for InjectiveInsuranceRPC service. All implementations must embed UnimplementedInjectiveInsuranceRPCServer for forward compatibility
type InsuranceFund ¶
type InsuranceFund struct { // Ticker of the derivative market. MarketTicker string `protobuf:"bytes,1,opt,name=market_ticker,json=marketTicker,proto3" json:"market_ticker,omitempty"` // Derivative Market ID MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Coin denom used for the underwriting of the insurance fund. DepositDenom string `protobuf:"bytes,3,opt,name=deposit_denom,json=depositDenom,proto3" json:"deposit_denom,omitempty"` // Pool token denom PoolTokenDenom string `protobuf:"bytes,4,opt,name=pool_token_denom,json=poolTokenDenom,proto3" json:"pool_token_denom,omitempty"` // Redemption notice period duration in seconds. RedemptionNoticePeriodDuration int64 `` /* 158-byte string literal not displayed */ Balance string `protobuf:"bytes,6,opt,name=balance,proto3" json:"balance,omitempty"` // Oracle base currency OracleBase string `protobuf:"bytes,8,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"` // Oracle quote currency OracleQuote string `protobuf:"bytes,9,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"` // Oracle Type OracleType string `protobuf:"bytes,10,opt,name=oracle_type,json=oracleType,proto3" json:"oracle_type,omitempty"` // Defines the expiry, if any Expiry int64 `protobuf:"zigzag64,11,opt,name=expiry,proto3" json:"expiry,omitempty"` // Token metadata for the deposit asset, only for Ethereum-based assets DepositTokenMeta *TokenMeta `protobuf:"bytes,12,opt,name=deposit_token_meta,json=depositTokenMeta,proto3" json:"deposit_token_meta,omitempty"` // contains filtered or unexported fields }
func (*InsuranceFund) Descriptor
deprecated
func (*InsuranceFund) Descriptor() ([]byte, []int)
Deprecated: Use InsuranceFund.ProtoReflect.Descriptor instead.
func (*InsuranceFund) GetBalance ¶
func (x *InsuranceFund) GetBalance() string
func (*InsuranceFund) GetDepositDenom ¶
func (x *InsuranceFund) GetDepositDenom() string
func (*InsuranceFund) GetDepositTokenMeta ¶
func (x *InsuranceFund) GetDepositTokenMeta() *TokenMeta
func (*InsuranceFund) GetExpiry ¶
func (x *InsuranceFund) GetExpiry() int64
func (*InsuranceFund) GetMarketId ¶
func (x *InsuranceFund) GetMarketId() string
func (*InsuranceFund) GetMarketTicker ¶
func (x *InsuranceFund) GetMarketTicker() string
func (*InsuranceFund) GetOracleBase ¶
func (x *InsuranceFund) GetOracleBase() string
func (*InsuranceFund) GetOracleQuote ¶
func (x *InsuranceFund) GetOracleQuote() string
func (*InsuranceFund) GetOracleType ¶
func (x *InsuranceFund) GetOracleType() string
func (*InsuranceFund) GetPoolTokenDenom ¶
func (x *InsuranceFund) GetPoolTokenDenom() string
func (*InsuranceFund) GetRedemptionNoticePeriodDuration ¶
func (x *InsuranceFund) GetRedemptionNoticePeriodDuration() int64
func (*InsuranceFund) GetTotalShare ¶
func (x *InsuranceFund) GetTotalShare() string
func (*InsuranceFund) ProtoMessage ¶
func (*InsuranceFund) ProtoMessage()
func (*InsuranceFund) ProtoReflect ¶
func (x *InsuranceFund) ProtoReflect() protoreflect.Message
func (*InsuranceFund) Reset ¶
func (x *InsuranceFund) Reset()
func (*InsuranceFund) String ¶
func (x *InsuranceFund) String() string
type RedemptionSchedule ¶ added in v1.23.6
type RedemptionSchedule struct { // Redemption ID. RedemptionId uint64 `protobuf:"varint,1,opt,name=redemption_id,json=redemptionId,proto3" json:"redemption_id,omitempty"` // Status of the redemption. Either pending or disbursed. Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // Account address of the redemption owner Redeemer string `protobuf:"bytes,3,opt,name=redeemer,proto3" json:"redeemer,omitempty"` // Claimable redemption time in seconds ClaimableRedemptionTime int64 `` /* 135-byte string literal not displayed */ // Amount of pool tokens being redeemed. RedemptionAmount string `protobuf:"bytes,5,opt,name=redemption_amount,json=redemptionAmount,proto3" json:"redemption_amount,omitempty"` // Pool token denom being redeemed. RedemptionDenom string `protobuf:"bytes,6,opt,name=redemption_denom,json=redemptionDenom,proto3" json:"redemption_denom,omitempty"` // Redemption request time in unix milliseconds. RequestedAt int64 `protobuf:"zigzag64,7,opt,name=requested_at,json=requestedAt,proto3" json:"requested_at,omitempty"` // Amount of quote tokens disbursed DisbursedAmount string `protobuf:"bytes,8,opt,name=disbursed_amount,json=disbursedAmount,proto3" json:"disbursed_amount,omitempty"` // Denom of the quote tokens disbursed DisbursedDenom string `protobuf:"bytes,9,opt,name=disbursed_denom,json=disbursedDenom,proto3" json:"disbursed_denom,omitempty"` // Redemption disbursement time in unix milliseconds. DisbursedAt int64 `protobuf:"zigzag64,10,opt,name=disbursed_at,json=disbursedAt,proto3" json:"disbursed_at,omitempty"` // contains filtered or unexported fields }
func (*RedemptionSchedule) Descriptor
deprecated
added in
v1.23.6
func (*RedemptionSchedule) Descriptor() ([]byte, []int)
Deprecated: Use RedemptionSchedule.ProtoReflect.Descriptor instead.
func (*RedemptionSchedule) GetClaimableRedemptionTime ¶ added in v1.23.6
func (x *RedemptionSchedule) GetClaimableRedemptionTime() int64
func (*RedemptionSchedule) GetDisbursedAmount ¶ added in v1.23.6
func (x *RedemptionSchedule) GetDisbursedAmount() string
func (*RedemptionSchedule) GetDisbursedAt ¶ added in v1.23.6
func (x *RedemptionSchedule) GetDisbursedAt() int64
func (*RedemptionSchedule) GetDisbursedDenom ¶ added in v1.23.6
func (x *RedemptionSchedule) GetDisbursedDenom() string
func (*RedemptionSchedule) GetRedeemer ¶ added in v1.23.6
func (x *RedemptionSchedule) GetRedeemer() string
func (*RedemptionSchedule) GetRedemptionAmount ¶ added in v1.23.6
func (x *RedemptionSchedule) GetRedemptionAmount() string
func (*RedemptionSchedule) GetRedemptionDenom ¶ added in v1.23.6
func (x *RedemptionSchedule) GetRedemptionDenom() string
func (*RedemptionSchedule) GetRedemptionId ¶ added in v1.23.6
func (x *RedemptionSchedule) GetRedemptionId() uint64
func (*RedemptionSchedule) GetRequestedAt ¶ added in v1.23.6
func (x *RedemptionSchedule) GetRequestedAt() int64
func (*RedemptionSchedule) GetStatus ¶ added in v1.23.6
func (x *RedemptionSchedule) GetStatus() string
func (*RedemptionSchedule) ProtoMessage ¶ added in v1.23.6
func (*RedemptionSchedule) ProtoMessage()
func (*RedemptionSchedule) ProtoReflect ¶ added in v1.23.6
func (x *RedemptionSchedule) ProtoReflect() protoreflect.Message
func (*RedemptionSchedule) Reset ¶ added in v1.23.6
func (x *RedemptionSchedule) Reset()
func (*RedemptionSchedule) String ¶ added in v1.23.6
func (x *RedemptionSchedule) String() string
type RedemptionsRequest ¶ added in v1.23.6
type RedemptionsRequest struct { // Account address of the redemption owner Redeemer string `protobuf:"bytes,1,opt,name=redeemer,proto3" json:"redeemer,omitempty"` // Denom of the insurance pool token. RedemptionDenom string `protobuf:"bytes,2,opt,name=redemption_denom,json=redemptionDenom,proto3" json:"redemption_denom,omitempty"` // Status of the redemption. Either pending or disbursed. Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*RedemptionsRequest) Descriptor
deprecated
added in
v1.23.6
func (*RedemptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RedemptionsRequest.ProtoReflect.Descriptor instead.
func (*RedemptionsRequest) GetRedeemer ¶ added in v1.23.6
func (x *RedemptionsRequest) GetRedeemer() string
func (*RedemptionsRequest) GetRedemptionDenom ¶ added in v1.23.6
func (x *RedemptionsRequest) GetRedemptionDenom() string
func (*RedemptionsRequest) GetStatus ¶ added in v1.23.6
func (x *RedemptionsRequest) GetStatus() string
func (*RedemptionsRequest) ProtoMessage ¶ added in v1.23.6
func (*RedemptionsRequest) ProtoMessage()
func (*RedemptionsRequest) ProtoReflect ¶ added in v1.23.6
func (x *RedemptionsRequest) ProtoReflect() protoreflect.Message
func (*RedemptionsRequest) Reset ¶ added in v1.23.6
func (x *RedemptionsRequest) Reset()
func (*RedemptionsRequest) String ¶ added in v1.23.6
func (x *RedemptionsRequest) String() string
type RedemptionsResponse ¶ added in v1.23.6
type RedemptionsResponse struct { RedemptionSchedules []*RedemptionSchedule `protobuf:"bytes,1,rep,name=redemption_schedules,json=redemptionSchedules,proto3" json:"redemption_schedules,omitempty"` // contains filtered or unexported fields }
func (*RedemptionsResponse) Descriptor
deprecated
added in
v1.23.6
func (*RedemptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RedemptionsResponse.ProtoReflect.Descriptor instead.
func (*RedemptionsResponse) GetRedemptionSchedules ¶ added in v1.23.6
func (x *RedemptionsResponse) GetRedemptionSchedules() []*RedemptionSchedule
func (*RedemptionsResponse) ProtoMessage ¶ added in v1.23.6
func (*RedemptionsResponse) ProtoMessage()
func (*RedemptionsResponse) ProtoReflect ¶ added in v1.23.6
func (x *RedemptionsResponse) ProtoReflect() protoreflect.Message
func (*RedemptionsResponse) Reset ¶ added in v1.23.6
func (x *RedemptionsResponse) Reset()
func (*RedemptionsResponse) String ¶ added in v1.23.6
func (x *RedemptionsResponse) String() string
type TokenMeta ¶
type TokenMeta struct { // Token full name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Token Ethereum contract address Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // Token symbol short name Symbol string `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"` // URL to the logo image Logo string `protobuf:"bytes,4,opt,name=logo,proto3" json:"logo,omitempty"` // Token decimals Decimals int32 `protobuf:"zigzag32,5,opt,name=decimals,proto3" json:"decimals,omitempty"` // Token metadata fetched timestamp in UNIX millis. UpdatedAt int64 `protobuf:"zigzag64,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*TokenMeta) Descriptor
deprecated
func (*TokenMeta) GetAddress ¶
func (*TokenMeta) GetDecimals ¶
func (*TokenMeta) GetUpdatedAt ¶
func (*TokenMeta) ProtoMessage ¶
func (*TokenMeta) ProtoMessage()
func (*TokenMeta) ProtoReflect ¶
func (x *TokenMeta) ProtoReflect() protoreflect.Message
type UnimplementedInjectiveInsuranceRPCServer ¶
type UnimplementedInjectiveInsuranceRPCServer struct { }
UnimplementedInjectiveInsuranceRPCServer must be embedded to have forward compatible implementations.
func (UnimplementedInjectiveInsuranceRPCServer) Fund ¶ added in v1.51.0
func (UnimplementedInjectiveInsuranceRPCServer) Fund(context.Context, *FundRequest) (*FundResponse, error)
func (UnimplementedInjectiveInsuranceRPCServer) Funds ¶
func (UnimplementedInjectiveInsuranceRPCServer) Funds(context.Context, *FundsRequest) (*FundsResponse, error)
func (UnimplementedInjectiveInsuranceRPCServer) Redemptions ¶ added in v1.23.6
func (UnimplementedInjectiveInsuranceRPCServer) Redemptions(context.Context, *RedemptionsRequest) (*RedemptionsResponse, error)
type UnsafeInjectiveInsuranceRPCServer ¶
type UnsafeInjectiveInsuranceRPCServer interface {
// contains filtered or unexported methods
}
UnsafeInjectiveInsuranceRPCServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InjectiveInsuranceRPCServer will result in compilation errors.