Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrClientNotFound is a new error with message "Client not found" ErrClientNotFound = errors.New("Client not found") // ErrBroadcastTx is used when a broadcast fails due to tendermint errors ErrBroadcastTx = errors.New("broadcast tx error") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Query() QueryClient Tx() TxClient }
Client interface pre-defined with query and tx interfaces
type QueryClient ¶
type QueryClient interface { dtypes.QueryClient mtypes.QueryClient ptypes.QueryClient // TODO: implement with search parameters ActiveLeasesForProvider(id sdk.AccAddress) (mtypes.Leases, error) }
QueryClient interface includes query clients of deployment, market and provider modules
func NewQueryClient ¶
func NewQueryClient( dclient dtypes.QueryClient, mclient mtypes.QueryClient, pclient ptypes.QueryClient, ) QueryClient
NewQueryClient creates new query client instance
Click to show internal directories.
Click to hide internal directories.