Documentation ¶
Overview ¶
this file is for the implementation of all the frontend-requested service endpoints for wallets.
Index ¶
- Constants
- type Server
- func (s *Server) BalancesLocal(ctx context.Context, accountID stellar1.AccountID) (ret []stellar1.Balance, err error)
- func (s *Server) ChangeDisplayCurrencyLocal(ctx context.Context, arg stellar1.ChangeDisplayCurrencyLocalArg) (err error)
- func (s *Server) ChangeWalletAccountNameLocal(ctx context.Context, arg stellar1.ChangeWalletAccountNameLocalArg) (err error)
- func (s *Server) ClaimCLILocal(ctx context.Context, arg stellar1.ClaimCLILocalArg) (res stellar1.RelayClaimResult, err error)
- func (s *Server) DeleteWalletAccountLocal(ctx context.Context, arg stellar1.DeleteWalletAccountLocalArg) (err error)
- func (s *Server) ExchangeRateLocal(ctx context.Context, currency stellar1.OutsideCurrencyCode) (res stellar1.OutsideExchangeRate, err error)
- func (s *Server) ExportSecretKeyLocal(ctx context.Context, accountID stellar1.AccountID) (res stellar1.SecretKey, err error)
- func (s *Server) FormatLocalCurrencyString(ctx context.Context, arg stellar1.FormatLocalCurrencyStringArg) (res string, err error)
- func (s *Server) GetAccountAssetsLocal(ctx context.Context, arg stellar1.GetAccountAssetsLocalArg) (assets []stellar1.AccountAssetLocal, err error)
- func (s *Server) GetAvailableLocalCurrencies(ctx context.Context) (ret map[stellar1.OutsideCurrencyCode]stellar1.OutsideCurrencyDefinition, ...)
- func (s *Server) GetDisplayCurrenciesLocal(ctx context.Context, sessionID int) (currencies []stellar1.CurrencyLocal, err error)
- func (s *Server) GetPaymentsLocal(ctx context.Context, arg stellar1.GetPaymentsLocalArg) (payments []stellar1.PaymentOrErrorLocal, err error)
- func (s *Server) GetUserSettingsLocal(ctx context.Context, sessionID int) (userSettings stellar1.UserSettings, err error)
- func (s *Server) GetWalletAccountPublicKeyLocal(ctx context.Context, arg stellar1.GetWalletAccountPublicKeyLocalArg) (res string, err error)
- func (s *Server) GetWalletAccountSecretKeyLocal(ctx context.Context, arg stellar1.GetWalletAccountSecretKeyLocalArg) (res stellar1.SecretKey, err error)
- func (s *Server) GetWalletAccountsLocal(ctx context.Context, sessionID int) (accts []stellar1.WalletAccountLocal, err error)
- func (s *Server) ImportSecretKeyLocal(ctx context.Context, arg stellar1.ImportSecretKeyLocalArg) (err error)
- func (s *Server) LinkNewWalletAccountLocal(ctx context.Context, arg stellar1.LinkNewWalletAccountLocalArg) (accountID stellar1.AccountID, err error)
- func (s *Server) OwnAccountLocal(ctx context.Context, accountID stellar1.AccountID) (isOwn bool, err error)
- func (s *Server) PaymentDetailCLILocal(ctx context.Context, txID string) (res stellar1.PaymentCLILocal, err error)
- func (s *Server) RecentPaymentsCLILocal(ctx context.Context, accountID *stellar1.AccountID) (res []stellar1.PaymentOrErrorCLILocal, err error)
- func (s *Server) SendCLILocal(ctx context.Context, arg stellar1.SendCLILocalArg) (res stellar1.SendResultCLILocal, err error)
- func (s *Server) SetAcceptedDisclaimerLocal(ctx context.Context, sessionID int) (err error)
- func (s *Server) SetDisplayCurrency(ctx context.Context, arg stellar1.SetDisplayCurrencyArg) (err error)
- func (s *Server) SetWalletAccountAsDefaultLocal(ctx context.Context, arg stellar1.SetWalletAccountAsDefaultLocalArg) (err error)
- func (s *Server) WalletDumpLocal(ctx context.Context) (dump stellar1.Bundle, err error)
- func (s *Server) WalletGetAccountsCLILocal(ctx context.Context) (ret []stellar1.OwnAccountCLILocal, err error)
- func (s *Server) WalletInitLocal(ctx context.Context) (err error)
- type UISource
Constants ¶
View Source
const ParticipantTypeKeybase = "keybase"
View Source
const ParticipantTypeSBS = "sbs"
View Source
const ParticipantTypeStellar = "stellar"
View Source
const WorthCurrencyErrorCode = "ERR"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶ added in v1.0.48
type Server struct { libkb.Contextified // contains filtered or unexported fields }
func (*Server) BalancesLocal ¶ added in v1.0.48
func (*Server) ChangeDisplayCurrencyLocal ¶
func (*Server) ChangeWalletAccountNameLocal ¶
func (*Server) ClaimCLILocal ¶
func (s *Server) ClaimCLILocal(ctx context.Context, arg stellar1.ClaimCLILocalArg) (res stellar1.RelayClaimResult, err error)
func (*Server) DeleteWalletAccountLocal ¶
func (*Server) ExchangeRateLocal ¶ added in v1.0.48
func (s *Server) ExchangeRateLocal(ctx context.Context, currency stellar1.OutsideCurrencyCode) (res stellar1.OutsideExchangeRate, err error)
func (*Server) ExportSecretKeyLocal ¶ added in v1.0.48
func (*Server) FormatLocalCurrencyString ¶
func (*Server) GetAccountAssetsLocal ¶
func (s *Server) GetAccountAssetsLocal(ctx context.Context, arg stellar1.GetAccountAssetsLocalArg) (assets []stellar1.AccountAssetLocal, err error)
func (*Server) GetAvailableLocalCurrencies ¶
func (s *Server) GetAvailableLocalCurrencies(ctx context.Context) (ret map[stellar1.OutsideCurrencyCode]stellar1.OutsideCurrencyDefinition, err error)
func (*Server) GetDisplayCurrenciesLocal ¶
func (*Server) GetPaymentsLocal ¶
func (s *Server) GetPaymentsLocal(ctx context.Context, arg stellar1.GetPaymentsLocalArg) (payments []stellar1.PaymentOrErrorLocal, err error)
func (*Server) GetUserSettingsLocal ¶
func (*Server) GetWalletAccountPublicKeyLocal ¶
func (*Server) GetWalletAccountSecretKeyLocal ¶
func (*Server) GetWalletAccountsLocal ¶
func (*Server) ImportSecretKeyLocal ¶ added in v1.0.48
func (*Server) LinkNewWalletAccountLocal ¶
func (*Server) OwnAccountLocal ¶ added in v1.0.48
func (*Server) PaymentDetailCLILocal ¶ added in v1.0.48
func (*Server) RecentPaymentsCLILocal ¶ added in v1.0.48
func (*Server) SendCLILocal ¶
func (s *Server) SendCLILocal(ctx context.Context, arg stellar1.SendCLILocalArg) (res stellar1.SendResultCLILocal, err error)
func (*Server) SetAcceptedDisclaimerLocal ¶
func (*Server) SetDisplayCurrency ¶ added in v1.0.48
func (*Server) SetWalletAccountAsDefaultLocal ¶
func (*Server) WalletDumpLocal ¶ added in v1.0.48
func (*Server) WalletGetAccountsCLILocal ¶
type UISource ¶ added in v1.0.48
type UISource interface { SecretUI(g *libkb.GlobalContext, sessionID int) libkb.SecretUI IdentifyUI(g *libkb.GlobalContext, sessionID int) libkb.IdentifyUI }
Click to show internal directories.
Click to hide internal directories.