steak

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackboneStateResponse

type BackboneStateResponse struct {
	TotalUsteak   string       `json:"total_usteak"`
	TotalNative   string       `json:"total_native"`
	ExchangeRate  string       `json:"exchange_rate"`
	UnlockedCoins []types.Coin `json:"unlocked_coins"`
}

osmo1s3l0lcqc7tu0vpj6wdjz9wqpxv8nk6eraevje4fuwkyjnwuy82qsx3lduv - backbone

type ErisStateResponse

type ErisStateResponse struct {
	TotalUsteak  string       `json:"total_usteak"`
	TotalNative  string       `json:"total_native"`
	ExchangeRate string       `json:"exchange_rate"`
	UnlockCoins  []types.Coin `json:"unlocked_coin"`
	Unbonding    string       `json:"unbonding"`
	Available    string       `json:"available"`
	TVLUtoken    string       `json:"tvl_utoken"`
}

osmo1dv8wz09tckslr2wy5z86r46dxvegylhpt97r9yd6qc3kyc6tv42qa89dr9 - eris

type QueryClient

type QueryClient interface {
	ExchangeRateBackbone(ctx context.Context, contractAddress string, opts ...grpc.CallOption) (*float64, error)
	ExchangeRateEris(ctx context.Context, contractAddress string, opts ...grpc.CallOption) (*float64, error)
	Close() error
}

QueryClient is the API for querying an astroport contract.

func NewQueryClient

func NewQueryClient(conn *grpc.ClientConn) QueryClient

NewQueryClient creates a new QueryClient

Jump to

Keyboard shortcuts

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