query

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Name

func Name() string

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(ctx client.ExtServiceContext, balances *balance.Store, currencies *balance.CurrencySet, validators *identity.ValidatorStore,
	domains *ons.DomainStore, feePool *fees.Store, logger *log.Logger, txTypes *[]action.TxTypeDescribe) *Service

func (*Service) Balance

func (svc *Service) Balance(req client.BalanceRequest, resp *client.BalanceReply) error

func (*Service) CurrencyBalance added in v0.13.0

func (svc *Service) CurrencyBalance(req client.CurrencyBalanceRequest, resp *client.CurrencyBalanceReply) error

func (*Service) FeeOptions added in v0.14.0

func (svc *Service) FeeOptions(_ struct{}, reply *client.FeeOptionsReply) error

func (*Service) ListCurrencies

func (svc *Service) ListCurrencies(_ client.ListCurrenciesRequest, reply *client.ListCurrenciesReply) error

func (*Service) ListTxTypes added in v0.14.0

func (svc *Service) ListTxTypes(_ client.ListTxTypesRequest, reply *client.ListTxTypesReply) error

func (*Service) ListValidators

func (svc *Service) ListValidators(_ client.ListValidatorsRequest, reply *client.ListValidatorsReply) error

ListValidator returns a list of all validator

func (*Service) ONS_GetDomainByBeneficiary added in v0.13.0

func (sv *Service) ONS_GetDomainByBeneficiary(req client.ONSGetDomainsRequest, reply *client.ONSGetDomainsOnSaleReply) error

func (*Service) ONS_GetDomainByName

func (sv *Service) ONS_GetDomainByName(req client.ONSGetDomainsRequest, reply *client.ONSGetDomainsReply) error

func (*Service) ONS_GetDomainByOwner

func (sv *Service) ONS_GetDomainByOwner(req client.ONSGetDomainsRequest, reply *client.ONSGetDomainsReply) error

func (*Service) ONS_GetDomainOnSale

func (sv *Service) ONS_GetDomainOnSale(req client.ONSGetDomainsRequest, reply *client.ONSGetDomainsOnSaleReply) error

func (*Service) ONS_GetOptions added in v0.14.0

func (svc *Service) ONS_GetOptions(_ struct{}, reply *client.ONSGetOptionsReply) error

func (*Service) Tx added in v0.14.0

func (svc *Service) Tx(req client.TxRequest, reply *client.TxResponse) error

Jump to

Keyboard shortcuts

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