Documentation ¶
Index ¶
- func Name() string
- type Service
- func (svc *Service) Balance(req client.BalanceRequest, resp *client.BalanceReply) error
- func (svc *Service) CurrencyBalance(req client.CurrencyBalanceRequest, resp *client.CurrencyBalanceReply) error
- func (svc *Service) FeeOptions(_ struct{}, reply *client.FeeOptionsReply) error
- func (svc *Service) ListCurrencies(_ client.ListCurrenciesRequest, reply *client.ListCurrenciesReply) error
- func (svc *Service) ListTxTypes(_ client.ListTxTypesRequest, reply *client.ListTxTypesReply) error
- func (svc *Service) ListValidators(_ client.ListValidatorsRequest, reply *client.ListValidatorsReply) error
- func (sv *Service) ONS_GetDomainByBeneficiary(req client.ONSGetDomainsRequest, reply *client.ONSGetDomainsOnSaleReply) error
- func (sv *Service) ONS_GetDomainByName(req client.ONSGetDomainsRequest, reply *client.ONSGetDomainsReply) error
- func (sv *Service) ONS_GetDomainByOwner(req client.ONSGetDomainsRequest, reply *client.ONSGetDomainsReply) error
- func (sv *Service) ONS_GetDomainOnSale(req client.ONSGetDomainsRequest, reply *client.ONSGetDomainsOnSaleReply) error
- func (svc *Service) ONS_GetOptions(_ struct{}, reply *client.ONSGetOptionsReply) error
- func (svc *Service) Tx(req client.TxRequest, reply *client.TxResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.