Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: strangelove-ventures/lens
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: vitwit/lens
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 19, 2023

  1. Update query.go

    anilcse authored Oct 19, 2023
    Copy the full SHA
    ba2b9d9 View commit details
Showing with 6 additions and 0 deletions.
  1. +6 −0 client/query.go
6 changes: 6 additions & 0 deletions client/query.go
Original file line number Diff line number Diff line change
@@ -17,6 +17,12 @@ import (
transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types"
)

// QueryBalanceWithAddress returns the amount of coins in the relayer account with address as input
// TODO add pagination support
func (cc *ChainClient) QueryBalanceWithAddress(ctx context.Context, address string) (sdk.Coins, error) {
return queryBalanceWithAddress(ctx, address)
}

// queryBalanceWithAddress returns the amount of coins in the relayer account with address as input
// TODO add pagination support
func (cc *ChainClient) queryBalanceWithAddress(ctx context.Context, address string) (sdk.Coins, error) {