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
Click to show internal directories.
Click to hide internal directories.