package source

import (
	sdk "github.com/cosmos/cosmos-sdk/types"

	"github.com/forbole/callisto/v4/types"
)

type Source interface {
	GetBalances(addresses []string, height int64) ([]types.AccountBalance, error)
	GetSupply(height int64) (sdk.Coins, error)

	// -- For hasura action --
	GetAccountBalance(address string, height int64) ([]sdk.Coin, error)
}

Synonyms

cyberindex/modules/liquidity/source/source.go
cyberindex/modules/liquidity/source/remote/source.go
cyberindex/modules/bank/source/local/source.go
cyberindex/modules/bank/source/remote/source.go

Neighbours