stellar1

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2018 License: BSD-3-Clause, BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeybaseTransactionIDLen       = 16
	KeybaseTransactionIDSuffix    = 0x30
	KeybaseTransactionIDSuffixHex = "30"
)

Variables

View Source
var AccountModeMap = map[string]AccountMode{
	"NONE": 0,
	"USER": 1,
}
View Source
var AccountModeRevMap = map[AccountMode]string{
	0: "NONE",
	1: "USER",
}
View Source
var BalanceDeltaMap = map[string]BalanceDelta{
	"NONE":     0,
	"INCREASE": 1,
	"DECREASE": 2,
}
View Source
var BalanceDeltaRevMap = map[BalanceDelta]string{
	0: "NONE",
	1: "INCREASE",
	2: "DECREASE",
}
View Source
var BundleVersionMap = map[string]BundleVersion{
	"V1": 1,
}
View Source
var BundleVersionRevMap = map[BundleVersion]string{
	1: "V1",
}
View Source
var PaymentStatusMap = map[string]PaymentStatus{
	"NONE":      0,
	"PENDING":   1,
	"CLAIMABLE": 2,
	"COMPLETED": 3,
	"ERROR":     4,
	"UNKNOWN":   5,
}
View Source
var PaymentStatusRevMap = map[PaymentStatus]string{
	0: "NONE",
	1: "PENDING",
	2: "CLAIMABLE",
	3: "COMPLETED",
	4: "ERROR",
	5: "UNKNOWN",
}
View Source
var PaymentStrategyMap = map[string]PaymentStrategy{
	"NONE":   0,
	"DIRECT": 1,
	"RELAY":  2,
}
View Source
var PaymentStrategyRevMap = map[PaymentStrategy]string{
	0: "NONE",
	1: "DIRECT",
	2: "RELAY",
}
View Source
var PaymentSummaryTypeMap = map[string]PaymentSummaryType{
	"NONE":    0,
	"STELLAR": 1,
	"DIRECT":  2,
	"RELAY":   3,
}
View Source
var PaymentSummaryTypeRevMap = map[PaymentSummaryType]string{
	0: "NONE",
	1: "STELLAR",
	2: "DIRECT",
	3: "RELAY",
}
View Source
var RelayDirectionMap = map[string]RelayDirection{
	"CLAIM": 0,
	"YANK":  1,
}
View Source
var RelayDirectionRevMap = map[RelayDirection]string{
	0: "CLAIM",
	1: "YANK",
}
View Source
var TransactionStatusMap = map[string]TransactionStatus{
	"NONE":            0,
	"PENDING":         1,
	"SUCCESS":         2,
	"ERROR_TRANSIENT": 3,
	"ERROR_PERMANENT": 4,
}
View Source
var TransactionStatusRevMap = map[TransactionStatus]string{
	0: "NONE",
	1: "PENDING",
	2: "SUCCESS",
	3: "ERROR_TRANSIENT",
	4: "ERROR_PERMANENT",
}

Functions

func BundleProtocol added in v1.0.47

func BundleProtocol(i BundleInterface) rpc.Protocol

func CommonProtocol

func CommonProtocol(i CommonInterface) rpc.Protocol

func FromTimeMs added in v1.0.48

func FromTimeMs(t TimeMs) time.Time

func GregorProtocol

func GregorProtocol(i GregorInterface) rpc.Protocol

func LocalProtocol

func LocalProtocol(i LocalInterface) rpc.Protocol

func RemoteProtocol

func RemoteProtocol(i RemoteInterface) rpc.Protocol

Types

type AccountAssetLocal

type AccountAssetLocal struct {
	Name                   string `codec:"name" json:"name"`
	BalanceTotal           string `codec:"balanceTotal" json:"balanceTotal"`
	BalanceAvailableToSend string `codec:"balanceAvailableToSend" json:"balanceAvailableToSend"`
	AssetCode              string `codec:"assetCode" json:"assetCode"`
	Issuer                 string `codec:"issuer" json:"issuer"`
	Worth                  string `codec:"worth" json:"worth"`
	WorthCurrency          string `codec:"worthCurrency" json:"worthCurrency"`
}

func (AccountAssetLocal) DeepCopy

func (o AccountAssetLocal) DeepCopy() AccountAssetLocal

type AccountDetails

type AccountDetails struct {
	AccountID     AccountID `codec:"accountID" json:"accountID"`
	Seqno         string    `codec:"seqno" json:"seqno"`
	Balances      []Balance `codec:"balances" json:"balances"`
	SubentryCount int       `codec:"subentryCount" json:"subentryCount"`
	Available     string    `codec:"available" json:"available"`
}

func (AccountDetails) DeepCopy

func (o AccountDetails) DeepCopy() AccountDetails

type AccountID

type AccountID string

func (AccountID) DeepCopy

func (o AccountID) DeepCopy() AccountID

func (AccountID) Eq added in v1.0.47

func (a AccountID) Eq(b AccountID) bool

func (AccountID) IsNil

func (a AccountID) IsNil() bool

func (AccountID) LossyAbbreviation added in v1.0.48

func (a AccountID) LossyAbbreviation() string

func (AccountID) String added in v1.0.47

func (a AccountID) String() string

type AccountMode added in v1.0.47

type AccountMode int
const (
	AccountMode_NONE AccountMode = 0
	AccountMode_USER AccountMode = 1
)

func (AccountMode) DeepCopy added in v1.0.47

func (o AccountMode) DeepCopy() AccountMode

func (AccountMode) String added in v1.0.47

func (e AccountMode) String() string

type AccountSeqnoArg added in v1.0.48

type AccountSeqnoArg struct {
	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID AccountID            `codec:"accountID" json:"accountID"`
}

type AcquireAutoClaimLockArg

type AcquireAutoClaimLockArg struct {
	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
}

type Asset

type Asset struct {
	Type   string `codec:"type" json:"type"`
	Code   string `codec:"code" json:"code"`
	Issuer string `codec:"issuer" json:"issuer"`
}

func AssetNative added in v1.0.48

func AssetNative() Asset

func (Asset) DeepCopy

func (o Asset) DeepCopy() Asset

func (*Asset) IsNativeXLM added in v1.0.48

func (a *Asset) IsNativeXLM() bool

type AutoClaim

type AutoClaim struct {
	KbTxID KeybaseTransactionID `codec:"kbTxID" json:"kbTxID"`
}

func (AutoClaim) DeepCopy

func (o AutoClaim) DeepCopy() AutoClaim

type Balance

type Balance struct {
	Asset  Asset  `codec:"asset" json:"asset"`
	Amount string `codec:"amount" json:"amount"`
	Limit  string `codec:"limit" json:"limit"`
}

func (Balance) DeepCopy

func (o Balance) DeepCopy() Balance

type BalanceDelta

type BalanceDelta int
const (
	BalanceDelta_NONE     BalanceDelta = 0
	BalanceDelta_INCREASE BalanceDelta = 1
	BalanceDelta_DECREASE BalanceDelta = 2
)

func (BalanceDelta) DeepCopy

func (o BalanceDelta) DeepCopy() BalanceDelta

func (BalanceDelta) String

func (e BalanceDelta) String() string

type BalancesArg

type BalancesArg struct {
	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID AccountID            `codec:"accountID" json:"accountID"`
}

type BalancesLocalArg

type BalancesLocalArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
}

type Bundle added in v1.0.47

type Bundle struct {
	Revision BundleRevision `codec:"revision" json:"revision"`
	Prev     Hash           `codec:"prev" json:"prev"`
	OwnHash  Hash           `codec:"ownHash" json:"ownHash"`
	Accounts []BundleEntry  `codec:"accounts" json:"accounts"`
}

func (Bundle) CheckInvariants added in v1.0.47

func (s Bundle) CheckInvariants() error

CheckInvariants checks that the bundle satisfies 1. No duplicate account IDs 2. At most one primary account

func (Bundle) DeepCopy added in v1.0.47

func (o Bundle) DeepCopy() Bundle

func (Bundle) PrimaryAccount added in v1.0.47

func (s Bundle) PrimaryAccount() (BundleEntry, error)

type BundleClient added in v1.0.47

type BundleClient struct {
	Cli rpc.GenericClient
}

type BundleEntry added in v1.0.47

type BundleEntry struct {
	AccountID AccountID   `codec:"accountID" json:"accountID"`
	Mode      AccountMode `codec:"mode" json:"mode"`
	IsPrimary bool        `codec:"isPrimary" json:"isPrimary"`
	Signers   []SecretKey `codec:"signers" json:"signers"`
	Name      string      `codec:"name" json:"name"`
}

func (BundleEntry) DeepCopy added in v1.0.47

func (o BundleEntry) DeepCopy() BundleEntry

type BundleInterface added in v1.0.47

type BundleInterface interface {
}

type BundleRevision added in v1.0.47

type BundleRevision uint64

func (BundleRevision) DeepCopy added in v1.0.47

func (o BundleRevision) DeepCopy() BundleRevision

type BundleSecretEntry added in v1.0.47

type BundleSecretEntry struct {
	AccountID AccountID   `codec:"accountID" json:"accountID"`
	Signers   []SecretKey `codec:"signers" json:"signers"`
	Name      string      `codec:"name" json:"name"`
}

func (BundleSecretEntry) DeepCopy added in v1.0.47

func (o BundleSecretEntry) DeepCopy() BundleSecretEntry

type BundleSecretV1 added in v1.0.47

type BundleSecretV1 struct {
	VisibleHash Hash                `codec:"visibleHash" json:"visibleHash"`
	Accounts    []BundleSecretEntry `codec:"accounts" json:"accounts"`
}

func (BundleSecretV1) DeepCopy added in v1.0.47

func (o BundleSecretV1) DeepCopy() BundleSecretV1

type BundleSecretVersioned added in v1.0.47

type BundleSecretVersioned struct {
	Version__ BundleVersion   `codec:"version" json:"version"`
	V1__      *BundleSecretV1 `codec:"v1,omitempty" json:"v1,omitempty"`
}

func NewBundleSecretVersionedWithV1 added in v1.0.47

func NewBundleSecretVersionedWithV1(v BundleSecretV1) BundleSecretVersioned

func (BundleSecretVersioned) DeepCopy added in v1.0.47

func (BundleSecretVersioned) V1 added in v1.0.47

func (*BundleSecretVersioned) Version added in v1.0.47

func (o *BundleSecretVersioned) Version() (ret BundleVersion, err error)

type BundleVersion added in v1.0.47

type BundleVersion int
const (
	BundleVersion_V1 BundleVersion = 1
)

func (BundleVersion) DeepCopy added in v1.0.47

func (o BundleVersion) DeepCopy() BundleVersion

func (BundleVersion) String added in v1.0.47

func (e BundleVersion) String() string

type BundleVisibleEntry added in v1.0.47

type BundleVisibleEntry struct {
	AccountID AccountID   `codec:"accountID" json:"accountID"`
	Mode      AccountMode `codec:"mode" json:"mode"`
	IsPrimary bool        `codec:"isPrimary" json:"isPrimary"`
}

func (BundleVisibleEntry) DeepCopy added in v1.0.47

type BundleVisibleV1 added in v1.0.47

type BundleVisibleV1 struct {
	Revision BundleRevision       `codec:"revision" json:"revision"`
	Prev     Hash                 `codec:"prev" json:"prev"`
	Accounts []BundleVisibleEntry `codec:"accounts" json:"accounts"`
}

func (BundleVisibleV1) DeepCopy added in v1.0.47

func (o BundleVisibleV1) DeepCopy() BundleVisibleV1

type ChangeDisplayCurrencyLocalArg

type ChangeDisplayCurrencyLocalArg struct {
	SessionID int                 `codec:"sessionID" json:"sessionID"`
	AccountID AccountID           `codec:"accountID" json:"accountID"`
	Currency  OutsideCurrencyCode `codec:"currency" json:"currency"`
}

type ChangeWalletAccountNameLocalArg

type ChangeWalletAccountNameLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	AccountID AccountID `codec:"accountID" json:"accountID"`
	NewName   string    `codec:"newName" json:"newName"`
}

type ClaimCLILocalArg

type ClaimCLILocalArg struct {
	TxID string     `codec:"txID" json:"txID"`
	Into *AccountID `codec:"into,omitempty" json:"into,omitempty"`
}

type ClaimSummary

type ClaimSummary struct {
	TxID      TransactionID        `codec:"txID" json:"txID"`
	TxStatus  TransactionStatus    `codec:"txStatus" json:"txStatus"`
	TxErrMsg  string               `codec:"txErrMsg" json:"txErrMsg"`
	Dir       RelayDirection       `codec:"dir" json:"dir"`
	ToStellar AccountID            `codec:"toStellar" json:"toStellar"`
	To        keybase1.UserVersion `codec:"to" json:"to"`
}

func (ClaimSummary) DeepCopy

func (o ClaimSummary) DeepCopy() ClaimSummary

type CommonClient

type CommonClient struct {
	Cli rpc.GenericClient
}

type CommonInterface

type CommonInterface interface {
}

type CurrencyLocal

type CurrencyLocal struct {
	Description string              `codec:"description" json:"description"`
	Code        OutsideCurrencyCode `codec:"code" json:"code"`
	Symbol      string              `codec:"symbol" json:"symbol"`
	Name        string              `codec:"name" json:"name"`
}

func (CurrencyLocal) DeepCopy

func (o CurrencyLocal) DeepCopy() CurrencyLocal

type CurrencySymbol

type CurrencySymbol struct {
	Symbol    string `codec:"symbol" json:"str"`
	Ambigious bool   `codec:"ambigious" json:"ambigious"`
	Postfix   bool   `codec:"postfix" json:"postfix"`
}

func (CurrencySymbol) DeepCopy

func (o CurrencySymbol) DeepCopy() CurrencySymbol

type DeleteWalletAccountLocalArg

type DeleteWalletAccountLocalArg struct {
	SessionID        int       `codec:"sessionID" json:"sessionID"`
	AccountID        AccountID `codec:"accountID" json:"accountID"`
	UserAcknowledged string    `codec:"userAcknowledged" json:"userAcknowledged"`
}

type DetailsArg

type DetailsArg struct {
	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID AccountID            `codec:"accountID" json:"accountID"`
}

type EncryptedBundle added in v1.0.47

type EncryptedBundle struct {
	V   int                           `codec:"v" json:"v"`
	E   []byte                        `codec:"e" json:"e"`
	N   keybase1.BoxNonce             `codec:"n" json:"n"`
	Gen keybase1.PerUserKeyGeneration `codec:"gen" json:"gen"`
}

func (EncryptedBundle) DeepCopy added in v1.0.47

func (o EncryptedBundle) DeepCopy() EncryptedBundle

type EncryptedNote

type EncryptedNote struct {
	V         int               `codec:"v" json:"v"`
	E         []byte            `codec:"e" json:"e"`
	N         keybase1.BoxNonce `codec:"n" json:"n"`
	Sender    NoteRecipient     `codec:"sender" json:"sender"`
	Recipient *NoteRecipient    `codec:"recipient,omitempty" json:"recipient,omitempty"`
}

func (EncryptedNote) DeepCopy

func (o EncryptedNote) DeepCopy() EncryptedNote

type EncryptedRelaySecret added in v1.0.48

type EncryptedRelaySecret struct {
	V   int                           `codec:"v" json:"v"`
	E   []byte                        `codec:"e" json:"e"`
	N   keybase1.BoxNonce             `codec:"n" json:"n"`
	Gen keybase1.PerTeamKeyGeneration `codec:"gen" json:"gen"`
}

func (EncryptedRelaySecret) DeepCopy added in v1.0.48

type ExchangeRateLocalArg added in v1.0.48

type ExchangeRateLocalArg struct {
	Currency OutsideCurrencyCode `codec:"currency" json:"currency"`
}

type ExportSecretKeyLocalArg added in v1.0.48

type ExportSecretKeyLocalArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
}

type FormatLocalCurrencyStringArg

type FormatLocalCurrencyStringArg struct {
	Amount string              `codec:"amount" json:"amount"`
	Code   OutsideCurrencyCode `codec:"code" json:"code"`
}

type GetAccountAssetsLocalArg

type GetAccountAssetsLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	AccountID AccountID `codec:"accountID" json:"accountID"`
}

type GetAvailableLocalCurrenciesArg

type GetAvailableLocalCurrenciesArg struct {
}

type GetDisplayCurrenciesLocalArg

type GetDisplayCurrenciesLocalArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetPaymentsLocalArg

type GetPaymentsLocalArg struct {
	AccountID              AccountID      `codec:"accountID" json:"accountID"`
	OlderThanTransactionID *TransactionID `codec:"olderThanTransactionID,omitempty" json:"olderThanTransactionID,omitempty"`
}

type GetUserSettingsLocalArg

type GetUserSettingsLocalArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GetWalletAccountPublicKeyLocalArg

type GetWalletAccountPublicKeyLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	AccountID AccountID `codec:"accountID" json:"accountID"`
}

type GetWalletAccountSecretKeyLocalArg

type GetWalletAccountSecretKeyLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	AccountID AccountID `codec:"accountID" json:"accountID"`
}

type GetWalletAccountsLocalArg

type GetWalletAccountsLocalArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type GmAutoClaim

type GmAutoClaim struct {
	KbTxID       KeybaseTransactionID `codec:"kbTxID" json:"kbTxID"`
	KnownCounter int                  `codec:"knownCounter" json:"knownCounter"`
}

func (GmAutoClaim) DeepCopy

func (o GmAutoClaim) DeepCopy() GmAutoClaim

type GregorClient

type GregorClient struct {
	Cli rpc.GenericClient
}

type GregorInterface

type GregorInterface interface {
}

type Hash added in v1.0.47

type Hash []byte

func (Hash) DeepCopy added in v1.0.47

func (o Hash) DeepCopy() Hash

type ImportSecretKeyLocalArg added in v1.0.47

type ImportSecretKeyLocalArg struct {
	SecretKey   SecretKey `codec:"secretKey" json:"secretKey"`
	MakePrimary bool      `codec:"makePrimary" json:"makePrimary"`
}

type IsMasterKeyActiveArg added in v1.0.48

type IsMasterKeyActiveArg struct {
	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID AccountID            `codec:"accountID" json:"accountID"`
}

type KeybaseTransactionID

type KeybaseTransactionID string

func KeybaseTransactionIDFromString

func KeybaseTransactionIDFromString(s string) (KeybaseTransactionID, error)

func (KeybaseTransactionID) DeepCopy

func (KeybaseTransactionID) Eq

func (KeybaseTransactionID) String

func (k KeybaseTransactionID) String() string

type LinkNewWalletAccountLocalArg

type LinkNewWalletAccountLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	SecretKey SecretKey `codec:"secretKey" json:"secretKey"`
	Name      string    `codec:"name" json:"name"`
}

type LocalClient

type LocalClient struct {
	Cli rpc.GenericClient
}

func (LocalClient) BalancesLocal

func (c LocalClient) BalancesLocal(ctx context.Context, accountID AccountID) (res []Balance, err error)

func (LocalClient) ChangeDisplayCurrencyLocal

func (c LocalClient) ChangeDisplayCurrencyLocal(ctx context.Context, __arg ChangeDisplayCurrencyLocalArg) (err error)

func (LocalClient) ChangeWalletAccountNameLocal

func (c LocalClient) ChangeWalletAccountNameLocal(ctx context.Context, __arg ChangeWalletAccountNameLocalArg) (err error)

func (LocalClient) ClaimCLILocal

func (c LocalClient) ClaimCLILocal(ctx context.Context, __arg ClaimCLILocalArg) (res RelayClaimResult, err error)

func (LocalClient) DeleteWalletAccountLocal

func (c LocalClient) DeleteWalletAccountLocal(ctx context.Context, __arg DeleteWalletAccountLocalArg) (err error)

func (LocalClient) ExchangeRateLocal added in v1.0.48

func (c LocalClient) ExchangeRateLocal(ctx context.Context, currency OutsideCurrencyCode) (res OutsideExchangeRate, err error)

func (LocalClient) ExportSecretKeyLocal added in v1.0.48

func (c LocalClient) ExportSecretKeyLocal(ctx context.Context, accountID AccountID) (res SecretKey, err error)

func (LocalClient) FormatLocalCurrencyString

func (c LocalClient) FormatLocalCurrencyString(ctx context.Context, __arg FormatLocalCurrencyStringArg) (res string, err error)

func (LocalClient) GetAccountAssetsLocal

func (c LocalClient) GetAccountAssetsLocal(ctx context.Context, __arg GetAccountAssetsLocalArg) (res []AccountAssetLocal, err error)

func (LocalClient) GetAvailableLocalCurrencies

func (c LocalClient) GetAvailableLocalCurrencies(ctx context.Context) (res map[OutsideCurrencyCode]OutsideCurrencyDefinition, err error)

func (LocalClient) GetDisplayCurrenciesLocal

func (c LocalClient) GetDisplayCurrenciesLocal(ctx context.Context, sessionID int) (res []CurrencyLocal, err error)

func (LocalClient) GetPaymentsLocal

func (c LocalClient) GetPaymentsLocal(ctx context.Context, __arg GetPaymentsLocalArg) (res []PaymentOrErrorLocal, err error)

func (LocalClient) GetUserSettingsLocal

func (c LocalClient) GetUserSettingsLocal(ctx context.Context, sessionID int) (res UserSettings, err error)

func (LocalClient) GetWalletAccountPublicKeyLocal

func (c LocalClient) GetWalletAccountPublicKeyLocal(ctx context.Context, __arg GetWalletAccountPublicKeyLocalArg) (res string, err error)

func (LocalClient) GetWalletAccountSecretKeyLocal

func (c LocalClient) GetWalletAccountSecretKeyLocal(ctx context.Context, __arg GetWalletAccountSecretKeyLocalArg) (res SecretKey, err error)

func (LocalClient) GetWalletAccountsLocal

func (c LocalClient) GetWalletAccountsLocal(ctx context.Context, sessionID int) (res []WalletAccountLocal, err error)

func (LocalClient) ImportSecretKeyLocal added in v1.0.47

func (c LocalClient) ImportSecretKeyLocal(ctx context.Context, __arg ImportSecretKeyLocalArg) (err error)

func (LocalClient) LinkNewWalletAccountLocal

func (c LocalClient) LinkNewWalletAccountLocal(ctx context.Context, __arg LinkNewWalletAccountLocalArg) (res AccountID, err error)

func (LocalClient) OwnAccountLocal added in v1.0.47

func (c LocalClient) OwnAccountLocal(ctx context.Context, accountID AccountID) (res bool, err error)

func (LocalClient) PaymentDetailCLILocal added in v1.0.48

func (c LocalClient) PaymentDetailCLILocal(ctx context.Context, txID string) (res PaymentCLILocal, err error)

func (LocalClient) RecentPaymentsCLILocal added in v1.0.48

func (c LocalClient) RecentPaymentsCLILocal(ctx context.Context, accountID *AccountID) (res []PaymentOrErrorCLILocal, err error)

func (LocalClient) SendCLILocal

func (c LocalClient) SendCLILocal(ctx context.Context, __arg SendCLILocalArg) (res SendResultCLILocal, err error)

func (LocalClient) SetAcceptedDisclaimerLocal

func (c LocalClient) SetAcceptedDisclaimerLocal(ctx context.Context, sessionID int) (err error)

func (LocalClient) SetDisplayCurrency added in v1.0.48

func (c LocalClient) SetDisplayCurrency(ctx context.Context, __arg SetDisplayCurrencyArg) (err error)

func (LocalClient) SetWalletAccountAsDefaultLocal

func (c LocalClient) SetWalletAccountAsDefaultLocal(ctx context.Context, __arg SetWalletAccountAsDefaultLocalArg) (err error)

func (LocalClient) WalletDumpLocal added in v1.0.47

func (c LocalClient) WalletDumpLocal(ctx context.Context) (res Bundle, err error)

func (LocalClient) WalletGetAccountsCLILocal

func (c LocalClient) WalletGetAccountsCLILocal(ctx context.Context) (res []OwnAccountCLILocal, err error)

func (LocalClient) WalletInitLocal added in v1.0.47

func (c LocalClient) WalletInitLocal(ctx context.Context) (err error)

type LocalInterface

type LocalInterface interface {
	GetWalletAccountsLocal(context.Context, int) ([]WalletAccountLocal, error)
	GetAccountAssetsLocal(context.Context, GetAccountAssetsLocalArg) ([]AccountAssetLocal, error)
	GetPaymentsLocal(context.Context, GetPaymentsLocalArg) ([]PaymentOrErrorLocal, error)
	GetDisplayCurrenciesLocal(context.Context, int) ([]CurrencyLocal, error)
	ChangeWalletAccountNameLocal(context.Context, ChangeWalletAccountNameLocalArg) error
	SetWalletAccountAsDefaultLocal(context.Context, SetWalletAccountAsDefaultLocalArg) error
	DeleteWalletAccountLocal(context.Context, DeleteWalletAccountLocalArg) error
	LinkNewWalletAccountLocal(context.Context, LinkNewWalletAccountLocalArg) (AccountID, error)
	ChangeDisplayCurrencyLocal(context.Context, ChangeDisplayCurrencyLocalArg) error
	GetUserSettingsLocal(context.Context, int) (UserSettings, error)
	SetAcceptedDisclaimerLocal(context.Context, int) error
	GetWalletAccountPublicKeyLocal(context.Context, GetWalletAccountPublicKeyLocalArg) (string, error)
	GetWalletAccountSecretKeyLocal(context.Context, GetWalletAccountSecretKeyLocalArg) (SecretKey, error)
	BalancesLocal(context.Context, AccountID) ([]Balance, error)
	SendCLILocal(context.Context, SendCLILocalArg) (SendResultCLILocal, error)
	ClaimCLILocal(context.Context, ClaimCLILocalArg) (RelayClaimResult, error)
	RecentPaymentsCLILocal(context.Context, *AccountID) ([]PaymentOrErrorCLILocal, error)
	PaymentDetailCLILocal(context.Context, string) (PaymentCLILocal, error)
	WalletInitLocal(context.Context) error
	WalletDumpLocal(context.Context) (Bundle, error)
	WalletGetAccountsCLILocal(context.Context) ([]OwnAccountCLILocal, error)
	OwnAccountLocal(context.Context, AccountID) (bool, error)
	ImportSecretKeyLocal(context.Context, ImportSecretKeyLocalArg) error
	ExportSecretKeyLocal(context.Context, AccountID) (SecretKey, error)
	SetDisplayCurrency(context.Context, SetDisplayCurrencyArg) error
	ExchangeRateLocal(context.Context, OutsideCurrencyCode) (OutsideExchangeRate, error)
	GetAvailableLocalCurrencies(context.Context) (map[OutsideCurrencyCode]OutsideCurrencyDefinition, error)
	FormatLocalCurrencyString(context.Context, FormatLocalCurrencyStringArg) (string, error)
}

type NextAutoClaimArg

type NextAutoClaimArg struct {
	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
}

type NoteContents added in v1.0.48

type NoteContents struct {
	Note      string        `codec:"note" json:"note"`
	StellarID TransactionID `codec:"stellarID" json:"stellarID"`
}

func (NoteContents) DeepCopy added in v1.0.48

func (o NoteContents) DeepCopy() NoteContents

type NoteRecipient added in v1.0.48

type NoteRecipient struct {
	User   keybase1.UserVersion          `codec:"user" json:"user"`
	PukGen keybase1.PerUserKeyGeneration `codec:"pukGen" json:"pukGen"`
}

func (NoteRecipient) DeepCopy added in v1.0.48

func (o NoteRecipient) DeepCopy() NoteRecipient

type OutsideCurrencyCode added in v1.0.48

type OutsideCurrencyCode string

func (OutsideCurrencyCode) DeepCopy added in v1.0.48

type OutsideCurrencyDefinition

type OutsideCurrencyDefinition struct {
	Name   string         `codec:"name" json:"name"`
	Symbol CurrencySymbol `codec:"symbol" json:"symbol"`
}

func (OutsideCurrencyDefinition) DeepCopy

type OutsideExchangeRate added in v1.0.48

type OutsideExchangeRate struct {
	Currency OutsideCurrencyCode `codec:"currency" json:"currency"`
	Rate     string              `codec:"rate" json:"rate"`
}

func (OutsideExchangeRate) DeepCopy added in v1.0.48

type OwnAccountCLILocal

type OwnAccountCLILocal struct {
	AccountID    AccountID            `codec:"accountID" json:"accountID"`
	IsPrimary    bool                 `codec:"isPrimary" json:"isPrimary"`
	Name         string               `codec:"name" json:"name"`
	Balance      []Balance            `codec:"balance" json:"balance"`
	ExchangeRate *OutsideExchangeRate `codec:"exchangeRate,omitempty" json:"exchangeRate,omitempty"`
}

func (OwnAccountCLILocal) DeepCopy

type OwnAccountLocalArg added in v1.0.47

type OwnAccountLocalArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
}

type PaymentCLILocal added in v1.0.48

type PaymentCLILocal struct {
	TxID            TransactionID `codec:"txID" json:"txID"`
	Time            TimeMs        `codec:"time" json:"time"`
	Status          string        `codec:"status" json:"status"`
	StatusDetail    string        `codec:"statusDetail" json:"statusDetail"`
	Amount          string        `codec:"amount" json:"amount"`
	Asset           Asset         `codec:"asset" json:"asset"`
	DisplayAmount   *string       `codec:"displayAmount,omitempty" json:"displayAmount,omitempty"`
	DisplayCurrency *string       `codec:"displayCurrency,omitempty" json:"displayCurrency,omitempty"`
	FromStellar     AccountID     `codec:"fromStellar" json:"fromStellar"`
	ToStellar       *AccountID    `codec:"toStellar,omitempty" json:"toStellar,omitempty"`
	FromUsername    *string       `codec:"fromUsername,omitempty" json:"fromUsername,omitempty"`
	ToUsername      *string       `codec:"toUsername,omitempty" json:"toUsername,omitempty"`
	Note            string        `codec:"note" json:"note"`
	NoteErr         string        `codec:"noteErr" json:"noteErr"`
}

func (PaymentCLILocal) DeepCopy added in v1.0.48

func (o PaymentCLILocal) DeepCopy() PaymentCLILocal

type PaymentDetailArg added in v1.0.48

type PaymentDetailArg struct {
	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
	TxID   string               `codec:"txID" json:"txID"`
}

type PaymentDetailCLILocalArg added in v1.0.48

type PaymentDetailCLILocalArg struct {
	TxID string `codec:"txID" json:"txID"`
}

type PaymentDirectPost added in v1.0.48

type PaymentDirectPost struct {
	FromDeviceID      keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
	To                *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
	DisplayAmount     string                `codec:"displayAmount" json:"displayAmount"`
	DisplayCurrency   string                `codec:"displayCurrency" json:"displayCurrency"`
	NoteB64           string                `codec:"noteB64" json:"noteB64"`
	SignedTransaction string                `codec:"signedTransaction" json:"signedTransaction"`
}

func (PaymentDirectPost) DeepCopy added in v1.0.48

func (o PaymentDirectPost) DeepCopy() PaymentDirectPost

type PaymentLocal

type PaymentLocal struct {
	Id                string        `codec:"id" json:"id"`
	Time              TimeMs        `codec:"time" json:"time"`
	StatusSimplified  PaymentStatus `codec:"statusSimplified" json:"statusSimplified"`
	StatusDescription string        `codec:"statusDescription" json:"statusDescription"`
	StatusDetail      string        `codec:"statusDetail" json:"statusDetail"`
	AmountDescription string        `codec:"amountDescription" json:"amountDescription"`
	Delta             BalanceDelta  `codec:"delta" json:"delta"`
	Worth             string        `codec:"worth" json:"worth"`
	WorthCurrency     string        `codec:"worthCurrency" json:"worthCurrency"`
	Source            string        `codec:"source" json:"source"`
	SourceType        string        `codec:"sourceType" json:"sourceType"`
	Target            string        `codec:"target" json:"target"`
	TargetType        string        `codec:"targetType" json:"targetType"`
	Note              string        `codec:"note" json:"note"`
	NoteErr           string        `codec:"noteErr" json:"noteErr"`
}

func NewPaymentLocal

func NewPaymentLocal(txid TransactionID, ctime TimeMs) *PaymentLocal

func (PaymentLocal) DeepCopy

func (o PaymentLocal) DeepCopy() PaymentLocal

type PaymentOrErrorCLILocal

type PaymentOrErrorCLILocal struct {
	Payment *PaymentCLILocal `codec:"payment,omitempty" json:"payment,omitempty"`
	Err     *string          `codec:"err,omitempty" json:"err,omitempty"`
}

func (PaymentOrErrorCLILocal) DeepCopy

type PaymentOrErrorLocal

type PaymentOrErrorLocal struct {
	Payment *PaymentLocal `codec:"payment,omitempty" json:"payment,omitempty"`
	Err     *string       `codec:"err,omitempty" json:"err,omitempty"`
}

func (PaymentOrErrorLocal) DeepCopy

type PaymentRelayPost added in v1.0.48

type PaymentRelayPost struct {
	FromDeviceID      keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
	To                *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
	ToAssertion       string                `codec:"toAssertion" json:"toAssertion"`
	RelayAccount      AccountID             `codec:"relayAccount" json:"relayAccount"`
	TeamID            keybase1.TeamID       `codec:"teamID" json:"teamID"`
	DisplayAmount     string                `codec:"displayAmount" json:"displayAmount"`
	DisplayCurrency   string                `codec:"displayCurrency" json:"displayCurrency"`
	BoxB64            string                `codec:"boxB64" json:"boxB64"`
	SignedTransaction string                `codec:"signedTransaction" json:"signedTransaction"`
}

func (PaymentRelayPost) DeepCopy added in v1.0.48

func (o PaymentRelayPost) DeepCopy() PaymentRelayPost

type PaymentResult

type PaymentResult struct {
	KeybaseID KeybaseTransactionID `codec:"keybaseID" json:"keybaseID"`
	StellarID TransactionID        `codec:"stellarID" json:"stellarID"`
}

func (PaymentResult) DeepCopy

func (o PaymentResult) DeepCopy() PaymentResult

type PaymentStatus

type PaymentStatus int
const (
	PaymentStatus_NONE      PaymentStatus = 0
	PaymentStatus_PENDING   PaymentStatus = 1
	PaymentStatus_CLAIMABLE PaymentStatus = 2
	PaymentStatus_COMPLETED PaymentStatus = 3
	PaymentStatus_ERROR     PaymentStatus = 4
	PaymentStatus_UNKNOWN   PaymentStatus = 5
)

func (PaymentStatus) DeepCopy

func (o PaymentStatus) DeepCopy() PaymentStatus

func (PaymentStatus) String

func (e PaymentStatus) String() string

type PaymentStrategy added in v1.0.48

type PaymentStrategy int
const (
	PaymentStrategy_NONE   PaymentStrategy = 0
	PaymentStrategy_DIRECT PaymentStrategy = 1
	PaymentStrategy_RELAY  PaymentStrategy = 2
)

func (PaymentStrategy) DeepCopy added in v1.0.48

func (o PaymentStrategy) DeepCopy() PaymentStrategy

func (PaymentStrategy) String added in v1.0.48

func (e PaymentStrategy) String() string

type PaymentSummary added in v1.0.48

type PaymentSummary struct {
	Typ__     PaymentSummaryType     `codec:"typ" json:"typ"`
	Stellar__ *PaymentSummaryStellar `codec:"stellar,omitempty" json:"stellar,omitempty"`
	Direct__  *PaymentSummaryDirect  `codec:"direct,omitempty" json:"direct,omitempty"`
	Relay__   *PaymentSummaryRelay   `codec:"relay,omitempty" json:"relay,omitempty"`
}

func NewPaymentSummaryWithDirect

func NewPaymentSummaryWithDirect(v PaymentSummaryDirect) PaymentSummary

func NewPaymentSummaryWithRelay

func NewPaymentSummaryWithRelay(v PaymentSummaryRelay) PaymentSummary

func NewPaymentSummaryWithStellar

func NewPaymentSummaryWithStellar(v PaymentSummaryStellar) PaymentSummary

func (PaymentSummary) DeepCopy added in v1.0.48

func (o PaymentSummary) DeepCopy() PaymentSummary

func (PaymentSummary) Direct

func (o PaymentSummary) Direct() (res PaymentSummaryDirect)

func (PaymentSummary) Relay

func (o PaymentSummary) Relay() (res PaymentSummaryRelay)

func (PaymentSummary) Stellar added in v1.0.48

func (o PaymentSummary) Stellar() (res PaymentSummaryStellar)

func (*PaymentSummary) Typ

func (o *PaymentSummary) Typ() (ret PaymentSummaryType, err error)

type PaymentSummaryDirect

type PaymentSummaryDirect struct {
	KbTxID          KeybaseTransactionID  `codec:"kbTxID" json:"kbTxID"`
	TxID            TransactionID         `codec:"txID" json:"txID"`
	TxStatus        TransactionStatus     `codec:"txStatus" json:"txStatus"`
	TxErrMsg        string                `codec:"txErrMsg" json:"txErrMsg"`
	FromStellar     AccountID             `codec:"fromStellar" json:"fromStellar"`
	From            keybase1.UserVersion  `codec:"from" json:"from"`
	FromDeviceID    keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
	ToStellar       AccountID             `codec:"toStellar" json:"toStellar"`
	To              *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
	Amount          string                `codec:"amount" json:"amount"`
	Asset           Asset                 `codec:"asset" json:"asset"`
	DisplayAmount   *string               `codec:"displayAmount,omitempty" json:"displayAmount,omitempty"`
	DisplayCurrency *string               `codec:"displayCurrency,omitempty" json:"displayCurrency,omitempty"`
	NoteB64         string                `codec:"noteB64" json:"noteB64"`
	Ctime           TimeMs                `codec:"ctime" json:"ctime"`
	Rtime           TimeMs                `codec:"rtime" json:"rtime"`
}

func (PaymentSummaryDirect) DeepCopy

type PaymentSummaryRelay

type PaymentSummaryRelay struct {
	KbTxID          KeybaseTransactionID  `codec:"kbTxID" json:"kbTxID"`
	TxID            TransactionID         `codec:"txID" json:"txID"`
	TxStatus        TransactionStatus     `codec:"txStatus" json:"txStatus"`
	TxErrMsg        string                `codec:"txErrMsg" json:"txErrMsg"`
	FromStellar     AccountID             `codec:"fromStellar" json:"fromStellar"`
	From            keybase1.UserVersion  `codec:"from" json:"from"`
	FromDeviceID    keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
	To              *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
	ToAssertion     string                `codec:"toAssertion" json:"toAssertion"`
	RelayAccount    AccountID             `codec:"relayAccount" json:"relayAccount"`
	Amount          string                `codec:"amount" json:"amount"`
	DisplayAmount   *string               `codec:"displayAmount,omitempty" json:"displayAmount,omitempty"`
	DisplayCurrency *string               `codec:"displayCurrency,omitempty" json:"displayCurrency,omitempty"`
	Ctime           TimeMs                `codec:"ctime" json:"ctime"`
	Rtime           TimeMs                `codec:"rtime" json:"rtime"`
	BoxB64          string                `codec:"boxB64" json:"boxB64"`
	TeamID          keybase1.TeamID       `codec:"teamID" json:"teamID"`
	Claim           *ClaimSummary         `codec:"claim,omitempty" json:"claim,omitempty"`
}

func (PaymentSummaryRelay) DeepCopy

type PaymentSummaryStellar added in v1.0.48

type PaymentSummaryStellar struct {
	TxID        TransactionID `codec:"txID" json:"txID"`
	From        AccountID     `codec:"from" json:"from"`
	To          AccountID     `codec:"to" json:"to"`
	Amount      string        `codec:"amount" json:"amount"`
	Asset       Asset         `codec:"asset" json:"asset"`
	OperationID uint64        `codec:"operationID" json:"operationID"`
	Ctime       TimeMs        `codec:"ctime" json:"ctime"`
}

func (PaymentSummaryStellar) DeepCopy added in v1.0.48

type PaymentSummaryType

type PaymentSummaryType int
const (
	PaymentSummaryType_NONE    PaymentSummaryType = 0
	PaymentSummaryType_STELLAR PaymentSummaryType = 1
	PaymentSummaryType_DIRECT  PaymentSummaryType = 2
	PaymentSummaryType_RELAY   PaymentSummaryType = 3
)

func (PaymentSummaryType) DeepCopy

func (PaymentSummaryType) String

func (e PaymentSummaryType) String() string

type PingArg added in v1.0.48

type PingArg struct {
}

type RecentPaymentsArg added in v1.0.48

type RecentPaymentsArg struct {
	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID AccountID            `codec:"accountID" json:"accountID"`
	Limit     int                  `codec:"limit" json:"limit"`
}

type RecentPaymentsCLILocalArg added in v1.0.48

type RecentPaymentsCLILocalArg struct {
	AccountID *AccountID `codec:"accountID,omitempty" json:"accountID,omitempty"`
}

type RelayClaimPost

type RelayClaimPost struct {
	KeybaseID         KeybaseTransactionID `codec:"keybaseID" json:"keybaseID"`
	Dir               RelayDirection       `codec:"dir" json:"dir"`
	SignedTransaction string               `codec:"signedTransaction" json:"signedTransaction"`
	AutoClaimToken    *string              `codec:"autoClaimToken,omitempty" json:"autoClaimToken,omitempty"`
}

func (RelayClaimPost) DeepCopy

func (o RelayClaimPost) DeepCopy() RelayClaimPost

type RelayClaimResult

type RelayClaimResult struct {
	ClaimStellarID TransactionID `codec:"claimStellarID" json:"claimStellarID"`
}

func (RelayClaimResult) DeepCopy

func (o RelayClaimResult) DeepCopy() RelayClaimResult

type RelayContents added in v1.0.48

type RelayContents struct {
	StellarID TransactionID `codec:"stellarID" json:"stellarID"`
	Sk        SecretKey     `codec:"sk" json:"sk"`
	Note      string        `codec:"note" json:"note"`
}

func (RelayContents) DeepCopy added in v1.0.48

func (o RelayContents) DeepCopy() RelayContents

type RelayDirection added in v1.0.48

type RelayDirection int
const (
	RelayDirection_CLAIM RelayDirection = 0
	RelayDirection_YANK  RelayDirection = 1
)

func (RelayDirection) DeepCopy added in v1.0.48

func (o RelayDirection) DeepCopy() RelayDirection

func (RelayDirection) String added in v1.0.48

func (e RelayDirection) String() string

type ReleaseAutoClaimLockArg

type ReleaseAutoClaimLockArg struct {
	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
	Token  string               `codec:"token" json:"token"`
}

type RemoteClient

type RemoteClient struct {
	Cli rpc.GenericClient
}

func (RemoteClient) AccountSeqno added in v1.0.48

func (c RemoteClient) AccountSeqno(ctx context.Context, __arg AccountSeqnoArg) (res string, err error)

func (RemoteClient) AcquireAutoClaimLock

func (c RemoteClient) AcquireAutoClaimLock(ctx context.Context, caller keybase1.UserVersion) (res string, err error)

func (RemoteClient) Balances

func (c RemoteClient) Balances(ctx context.Context, __arg BalancesArg) (res []Balance, err error)

func (RemoteClient) Details

func (c RemoteClient) Details(ctx context.Context, __arg DetailsArg) (res AccountDetails, err error)

func (RemoteClient) IsMasterKeyActive added in v1.0.48

func (c RemoteClient) IsMasterKeyActive(ctx context.Context, __arg IsMasterKeyActiveArg) (res bool, err error)

func (RemoteClient) NextAutoClaim

func (c RemoteClient) NextAutoClaim(ctx context.Context, caller keybase1.UserVersion) (res *AutoClaim, err error)

func (RemoteClient) PaymentDetail added in v1.0.48

func (c RemoteClient) PaymentDetail(ctx context.Context, __arg PaymentDetailArg) (res PaymentSummary, err error)

func (RemoteClient) Ping added in v1.0.48

func (c RemoteClient) Ping(ctx context.Context) (res string, err error)

func (RemoteClient) RecentPayments added in v1.0.48

func (c RemoteClient) RecentPayments(ctx context.Context, __arg RecentPaymentsArg) (res []PaymentSummary, err error)

func (RemoteClient) ReleaseAutoClaimLock

func (c RemoteClient) ReleaseAutoClaimLock(ctx context.Context, __arg ReleaseAutoClaimLockArg) (err error)

func (RemoteClient) SubmitPayment

func (c RemoteClient) SubmitPayment(ctx context.Context, __arg SubmitPaymentArg) (res PaymentResult, err error)

func (RemoteClient) SubmitRelayClaim

func (c RemoteClient) SubmitRelayClaim(ctx context.Context, __arg SubmitRelayClaimArg) (res RelayClaimResult, err error)

func (RemoteClient) SubmitRelayPayment added in v1.0.48

func (c RemoteClient) SubmitRelayPayment(ctx context.Context, __arg SubmitRelayPaymentArg) (res PaymentResult, err error)

type SecretKey added in v1.0.47

type SecretKey string

func (SecretKey) DeepCopy added in v1.0.47

func (o SecretKey) DeepCopy() SecretKey

func (SecretKey) SecureNoLogString added in v1.0.47

func (s SecretKey) SecureNoLogString() string

func (SecretKey) String added in v1.0.47

func (s SecretKey) String() string

type SendCLILocalArg

type SendCLILocalArg struct {
	Recipient       string `codec:"recipient" json:"recipient"`
	Amount          string `codec:"amount" json:"amount"`
	Asset           Asset  `codec:"asset" json:"asset"`
	Note            string `codec:"note" json:"note"`
	DisplayAmount   string `codec:"displayAmount" json:"displayAmount"`
	DisplayCurrency string `codec:"displayCurrency" json:"displayCurrency"`
	ForceRelay      bool   `codec:"forceRelay" json:"forceRelay"`
}

type SendRelayResultCLILocal

type SendRelayResultCLILocal struct {
	TeamID keybase1.TeamID `codec:"teamID" json:"teamID"`
}

func (SendRelayResultCLILocal) DeepCopy

type SendResultCLILocal

type SendResultCLILocal struct {
	KbTxID KeybaseTransactionID     `codec:"kbTxID" json:"kbTxID"`
	TxID   TransactionID            `codec:"txID" json:"txID"`
	Relay  *SendRelayResultCLILocal `codec:"relay,omitempty" json:"relay,omitempty"`
}

func (SendResultCLILocal) DeepCopy

type SetAcceptedDisclaimerLocalArg

type SetAcceptedDisclaimerLocalArg struct {
	SessionID int `codec:"sessionID" json:"sessionID"`
}

type SetDisplayCurrencyArg added in v1.0.48

type SetDisplayCurrencyArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
	Currency  string    `codec:"currency" json:"currency"`
}

type SetWalletAccountAsDefaultLocalArg

type SetWalletAccountAsDefaultLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	AccountID AccountID `codec:"accountID" json:"accountID"`
}

type StellarServerDefinitions

type StellarServerDefinitions struct {
	Revision   int                                               `codec:"revision" json:"revision"`
	Currencies map[OutsideCurrencyCode]OutsideCurrencyDefinition `codec:"currencies" json:"currencies"`
}

func (StellarServerDefinitions) DeepCopy

type SubmitPaymentArg

type SubmitPaymentArg struct {
	Caller  keybase1.UserVersion `codec:"caller" json:"caller"`
	Payment PaymentDirectPost    `codec:"payment" json:"payment"`
}

type SubmitRelayClaimArg

type SubmitRelayClaimArg struct {
	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
	Claim  RelayClaimPost       `codec:"claim" json:"claim"`
}

type SubmitRelayPaymentArg added in v1.0.48

type SubmitRelayPaymentArg struct {
	Caller  keybase1.UserVersion `codec:"caller" json:"caller"`
	Payment PaymentRelayPost     `codec:"payment" json:"payment"`
}

type TimeMs

type TimeMs int64

func ToTimeMs

func ToTimeMs(t time.Time) TimeMs

func (TimeMs) DeepCopy

func (o TimeMs) DeepCopy() TimeMs

func (TimeMs) Time added in v1.0.48

func (t TimeMs) Time() time.Time

type TransactionID

type TransactionID string

func (TransactionID) DeepCopy

func (o TransactionID) DeepCopy() TransactionID

func (TransactionID) Eq

func (TransactionID) String added in v1.0.48

func (t TransactionID) String() string

type TransactionStatus

type TransactionStatus int
const (
	TransactionStatus_NONE            TransactionStatus = 0
	TransactionStatus_PENDING         TransactionStatus = 1
	TransactionStatus_SUCCESS         TransactionStatus = 2
	TransactionStatus_ERROR_TRANSIENT TransactionStatus = 3
	TransactionStatus_ERROR_PERMANENT TransactionStatus = 4
)

func (TransactionStatus) DeepCopy

func (o TransactionStatus) DeepCopy() TransactionStatus

func (TransactionStatus) Details

func (t TransactionStatus) Details(errMsg string) (status, detail string)

func (TransactionStatus) String

func (e TransactionStatus) String() string

func (TransactionStatus) ToPaymentStatus

func (t TransactionStatus) ToPaymentStatus() PaymentStatus

type UserSettings

type UserSettings struct {
	AcceptedDisclaimer bool `codec:"acceptedDisclaimer" json:"acceptedDisclaimer"`
}

func (UserSettings) DeepCopy

func (o UserSettings) DeepCopy() UserSettings

type WalletAccountLocal

type WalletAccountLocal struct {
	AccountID          AccountID `codec:"accountID" json:"accountID"`
	IsDefault          bool      `codec:"isDefault" json:"isDefault"`
	Name               string    `codec:"name" json:"name"`
	BalanceDescription string    `codec:"balanceDescription" json:"balanceDescription"`
}

func (WalletAccountLocal) DeepCopy

type WalletDumpLocalArg added in v1.0.47

type WalletDumpLocalArg struct {
}

type WalletGetAccountsCLILocalArg

type WalletGetAccountsCLILocalArg struct {
}

type WalletInitLocalArg added in v1.0.47

type WalletInitLocalArg struct {
}

Jump to

Keyboard shortcuts

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