stellar1

package
v0.0.0-...-5fd17ea Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 License: BSD-3-Clause, BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

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

	KeybaseRequestIDLen       = 16
	KeybaseRequestIDSuffix    = 0x31
	KeybaseRequestIDSuffixHex = "31"
)

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 ParticipantTypeMap = map[string]ParticipantType{
	"NONE":       0,
	"KEYBASE":    1,
	"STELLAR":    2,
	"SBS":        3,
	"OWNACCOUNT": 4,
}
View Source
var ParticipantTypeRevMap = map[ParticipantType]string{
	0: "NONE",
	1: "KEYBASE",
	2: "STELLAR",
	3: "SBS",
	4: "OWNACCOUNT",
}
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 RequestStatusMap = map[string]RequestStatus{
	"OK":       0,
	"CANCELED": 1,
}
View Source
var RequestStatusRevMap = map[RequestStatus]string{
	0: "OK",
	1: "CANCELED",
}
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

func BundleProtocol(i BundleInterface) rpc.Protocol

func CommonProtocol

func CommonProtocol(i CommonInterface) rpc.Protocol

func CreateNonNativeAssetType

func CreateNonNativeAssetType(code string) (string, error)

func FromTimeMs

func FromTimeMs(t TimeMs) time.Time

func GregorProtocol

func GregorProtocol(i GregorInterface) rpc.Protocol

func LocalProtocol

func LocalProtocol(i LocalInterface) rpc.Protocol

func NotifyProtocol

func NotifyProtocol(i NotifyInterface) rpc.Protocol

func RemoteProtocol

func RemoteProtocol(i RemoteInterface) rpc.Protocol

Types

type AccountAssetLocal

type AccountAssetLocal struct {
	Name                   string           `codec:"name" json:"name"`
	AssetCode              string           `codec:"assetCode" json:"assetCode"`
	IssuerName             string           `codec:"issuerName" json:"issuerName"`
	IssuerAccountID        string           `codec:"issuerAccountID" json:"issuerAccountID"`
	BalanceTotal           string           `codec:"balanceTotal" json:"balanceTotal"`
	BalanceAvailableToSend string           `codec:"balanceAvailableToSend" json:"balanceAvailableToSend"`
	WorthCurrency          string           `codec:"worthCurrency" json:"worthCurrency"`
	Worth                  string           `codec:"worth" json:"worth"`
	AvailableToSendWorth   string           `codec:"availableToSendWorth" json:"availableToSendWorth"`
	Reserves               []AccountReserve `codec:"reserves" json:"reserves"`
}

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"`
	Reserves          []AccountReserve `codec:"reserves" json:"reserves"`
	ReadTransactionID *TransactionID   `codec:"readTransactionID,omitempty" json:"readTransactionID,omitempty"`
}

func (AccountDetails) DeepCopy

func (o AccountDetails) DeepCopy() AccountDetails

type AccountID

type AccountID string

func (AccountID) DeepCopy

func (o AccountID) DeepCopy() AccountID

func (AccountID) Eq

func (a AccountID) Eq(b AccountID) bool

func (AccountID) IsNil

func (a AccountID) IsNil() bool

func (AccountID) LossyAbbreviation

func (a AccountID) LossyAbbreviation() string

func (AccountID) String

func (a AccountID) String() string

type AccountMode

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

func (AccountMode) DeepCopy

func (o AccountMode) DeepCopy() AccountMode

func (AccountMode) String

func (e AccountMode) String() string

type AccountReserve

type AccountReserve struct {
	Amount      string `codec:"amount" json:"amount"`
	Description string `codec:"description" json:"description"`
}

func (AccountReserve) DeepCopy

func (o AccountReserve) DeepCopy() AccountReserve

type AccountSeqnoArg

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

func AssetNative() Asset

func (Asset) DeepCopy

func (o Asset) DeepCopy() Asset

func (Asset) Eq

func (a Asset) Eq(b Asset) bool

Eq compares assets strictly. Assets are not Eq if their type is different

even if they have the same code and issuer.

func (*Asset) IsNativeXLM

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 BuildPaymentLocalArg

type BuildPaymentLocalArg struct {
	SessionID          int                  `codec:"sessionID" json:"sessionID"`
	From               AccountID            `codec:"from" json:"from"`
	FromPrimaryAccount bool                 `codec:"fromPrimaryAccount" json:"fromPrimaryAccount"`
	FromSeqno          string               `codec:"fromSeqno" json:"fromSeqno"`
	To                 string               `codec:"to" json:"to"`
	ToIsAccountID      bool                 `codec:"toIsAccountID" json:"toIsAccountID"`
	Amount             string               `codec:"amount" json:"amount"`
	Currency           *OutsideCurrencyCode `codec:"currency,omitempty" json:"currency,omitempty"`
	Asset              *Asset               `codec:"asset,omitempty" json:"asset,omitempty"`
	SecretNote         string               `codec:"secretNote" json:"secretNote"`
	PublicMemo         string               `codec:"publicMemo" json:"publicMemo"`
}

type BuildPaymentResLocal

type BuildPaymentResLocal struct {
	ReadyToSend      bool              `codec:"readyToSend" json:"readyToSend"`
	From             AccountID         `codec:"from" json:"from"`
	ToErrMsg         string            `codec:"toErrMsg" json:"toErrMsg"`
	ToUsername       string            `codec:"toUsername" json:"toUsername"`
	AmountErrMsg     string            `codec:"amountErrMsg" json:"amountErrMsg"`
	SecretNoteErrMsg string            `codec:"secretNoteErrMsg" json:"secretNoteErrMsg"`
	PublicMemoErrMsg string            `codec:"publicMemoErrMsg" json:"publicMemoErrMsg"`
	WorthDescription string            `codec:"worthDescription" json:"worthDescription"`
	WorthInfo        string            `codec:"worthInfo" json:"worthInfo"`
	Banners          []SendBannerLocal `codec:"banners" json:"banners"`
}

func (BuildPaymentResLocal) DeepCopy

type Bundle

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

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

func (o Bundle) DeepCopy() Bundle

func (Bundle) Lookup

func (s Bundle) Lookup(acctID AccountID) (BundleEntry, error)

func (Bundle) PrimaryAccount

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

type BundleClient

type BundleClient struct {
	Cli rpc.GenericClient
}

type BundleEntry

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

func (o BundleEntry) DeepCopy() BundleEntry

type BundleInterface

type BundleInterface interface {
}

type BundleRevision

type BundleRevision uint64

func (BundleRevision) DeepCopy

func (o BundleRevision) DeepCopy() BundleRevision

type BundleSecretEntry

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

func (BundleSecretEntry) DeepCopy

func (o BundleSecretEntry) DeepCopy() BundleSecretEntry

type BundleSecretV1

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

func (BundleSecretV1) DeepCopy

func (o BundleSecretV1) DeepCopy() BundleSecretV1

type BundleSecretVersioned

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

func NewBundleSecretVersionedWithV1

func NewBundleSecretVersionedWithV1(v BundleSecretV1) BundleSecretVersioned

func (BundleSecretVersioned) DeepCopy

func (BundleSecretVersioned) V1

func (*BundleSecretVersioned) Version

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

type BundleVersion

type BundleVersion int
const (
	BundleVersion_V1 BundleVersion = 1
)

func (BundleVersion) DeepCopy

func (o BundleVersion) DeepCopy() BundleVersion

func (BundleVersion) String

func (e BundleVersion) String() string

type BundleVisibleEntry

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

func (BundleVisibleEntry) DeepCopy

type BundleVisibleV1

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

func (BundleVisibleV1) DeepCopy

func (o BundleVisibleV1) DeepCopy() BundleVisibleV1

type CancelRequestArg

type CancelRequestArg struct {
	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
	ReqID  KeybaseRequestID     `codec:"reqID" json:"reqID"`
}

type CancelRequestLocalArg

type CancelRequestLocalArg struct {
	SessionID int              `codec:"sessionID" json:"sessionID"`
	ReqID     KeybaseRequestID `codec:"reqID" json:"reqID"`
}

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 CreateWalletAccountLocalArg

type CreateWalletAccountLocalArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
}

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

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

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

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

type ExchangeRateLocalArg

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

type ExportSecretKeyLocalArg

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 GetDisplayCurrencyLocalArg

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

type GetPaymentDetailsLocalArg

type GetPaymentDetailsLocalArg struct {
	SessionID int        `codec:"sessionID" json:"sessionID"`
	AccountID *AccountID `codec:"accountID,omitempty" json:"accountID,omitempty"`
	Id        PaymentID  `codec:"id" json:"id"`
}

type GetPaymentsLocalArg

type GetPaymentsLocalArg struct {
	SessionID int         `codec:"sessionID" json:"sessionID"`
	AccountID AccountID   `codec:"accountID" json:"accountID"`
	Cursor    *PageCursor `codec:"cursor,omitempty" json:"cursor,omitempty"`
}

type GetPendingPaymentsLocalArg

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

type GetRequestDetailsLocalArg

type GetRequestDetailsLocalArg struct {
	SessionID int              `codec:"sessionID" json:"sessionID"`
	ReqID     KeybaseRequestID `codec:"reqID" json:"reqID"`
}

type GetSendAssetChoicesLocalArg

type GetSendAssetChoicesLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	From      AccountID `codec:"from" json:"from"`
	To        string    `codec:"to" json:"to"`
}

type GetWalletAccountLocalArg

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

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 GetWalletSettingsLocalArg

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

type GregorClient

type GregorClient struct {
	Cli rpc.GenericClient
}

type GregorInterface

type GregorInterface interface {
}

type Hash

type Hash []byte

func (Hash) DeepCopy

func (o Hash) DeepCopy() Hash

type ImportSecretKeyLocalArg

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

type IsAccountMobileOnlyLocalArg

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

type IsMasterKeyActiveArg

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

type KeybaseRequestID

type KeybaseRequestID string

func KeybaseRequestIDFromString

func KeybaseRequestIDFromString(s string) (KeybaseRequestID, error)

func (KeybaseRequestID) DeepCopy

func (o KeybaseRequestID) DeepCopy() KeybaseRequestID

func (KeybaseRequestID) Eq

func (KeybaseRequestID) String

func (k KeybaseRequestID) String() string

type KeybaseTransactionID

type KeybaseTransactionID string

func KeybaseTransactionIDFromString

func KeybaseTransactionIDFromString(s string) (KeybaseTransactionID, error)

func (KeybaseTransactionID) DeepCopy

func (KeybaseTransactionID) Eq

func (KeybaseTransactionID) IsNil

func (k KeybaseTransactionID) IsNil() bool

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) BuildPaymentLocal

func (c LocalClient) BuildPaymentLocal(ctx context.Context, __arg BuildPaymentLocalArg) (res BuildPaymentResLocal, err error)

func (LocalClient) CancelRequestLocal

func (c LocalClient) CancelRequestLocal(ctx context.Context, __arg CancelRequestLocalArg) (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) CreateWalletAccountLocal

func (c LocalClient) CreateWalletAccountLocal(ctx context.Context, __arg CreateWalletAccountLocalArg) (res AccountID, err error)

func (LocalClient) DeleteWalletAccountLocal

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

func (LocalClient) ExchangeRateLocal

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

func (LocalClient) ExportSecretKeyLocal

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) GetDisplayCurrencyLocal

func (c LocalClient) GetDisplayCurrencyLocal(ctx context.Context, __arg GetDisplayCurrencyLocalArg) (res CurrencyLocal, err error)

func (LocalClient) GetPaymentDetailsLocal

func (c LocalClient) GetPaymentDetailsLocal(ctx context.Context, __arg GetPaymentDetailsLocalArg) (res PaymentDetailsLocal, err error)

func (LocalClient) GetPaymentsLocal

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

func (LocalClient) GetPendingPaymentsLocal

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

func (LocalClient) GetRequestDetailsLocal

func (c LocalClient) GetRequestDetailsLocal(ctx context.Context, __arg GetRequestDetailsLocalArg) (res RequestDetailsLocal, err error)

func (LocalClient) GetSendAssetChoicesLocal

func (c LocalClient) GetSendAssetChoicesLocal(ctx context.Context, __arg GetSendAssetChoicesLocalArg) (res []SendAssetChoiceLocal, err error)

func (LocalClient) GetWalletAccountLocal

func (c LocalClient) GetWalletAccountLocal(ctx context.Context, __arg GetWalletAccountLocalArg) (res WalletAccountLocal, 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) GetWalletSettingsLocal

func (c LocalClient) GetWalletSettingsLocal(ctx context.Context, sessionID int) (res WalletSettings, err error)

func (LocalClient) ImportSecretKeyLocal

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

func (LocalClient) IsAccountMobileOnlyLocal

func (c LocalClient) IsAccountMobileOnlyLocal(ctx context.Context, __arg IsAccountMobileOnlyLocalArg) (res bool, err error)

func (LocalClient) LinkNewWalletAccountLocal

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

func (LocalClient) LookupCLILocal

func (c LocalClient) LookupCLILocal(ctx context.Context, name string) (res LookupResultCLILocal, err error)

func (LocalClient) MakeRequestCLILocal

func (c LocalClient) MakeRequestCLILocal(ctx context.Context, __arg MakeRequestCLILocalArg) (res KeybaseRequestID, err error)

func (LocalClient) MakeRequestLocal

func (c LocalClient) MakeRequestLocal(ctx context.Context, __arg MakeRequestLocalArg) (res KeybaseRequestID, err error)

func (LocalClient) MarkAsReadLocal

func (c LocalClient) MarkAsReadLocal(ctx context.Context, __arg MarkAsReadLocalArg) (err error)

func (LocalClient) OwnAccountLocal

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

func (LocalClient) PaymentDetailCLILocal

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

func (LocalClient) RecentPaymentsCLILocal

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) SendPaymentLocal

func (c LocalClient) SendPaymentLocal(ctx context.Context, __arg SendPaymentLocalArg) (res SendPaymentResLocal, err error)

func (LocalClient) SetAcceptedDisclaimerLocal

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

func (LocalClient) SetAccountMobileOnlyLocal

func (c LocalClient) SetAccountMobileOnlyLocal(ctx context.Context, __arg SetAccountMobileOnlyLocalArg) (err error)

func (LocalClient) SetDisplayCurrency

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) ValidateAccountIDLocal

func (c LocalClient) ValidateAccountIDLocal(ctx context.Context, __arg ValidateAccountIDLocalArg) (err error)

func (LocalClient) ValidateAccountNameLocal

func (c LocalClient) ValidateAccountNameLocal(ctx context.Context, __arg ValidateAccountNameLocalArg) (err error)

func (LocalClient) ValidateSecretKeyLocal

func (c LocalClient) ValidateSecretKeyLocal(ctx context.Context, __arg ValidateSecretKeyLocalArg) (err error)

func (LocalClient) WalletDumpLocal

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

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

type LocalInterface

type LocalInterface interface {
	GetWalletAccountsLocal(context.Context, int) ([]WalletAccountLocal, error)
	GetWalletAccountLocal(context.Context, GetWalletAccountLocalArg) (WalletAccountLocal, error)
	GetAccountAssetsLocal(context.Context, GetAccountAssetsLocalArg) ([]AccountAssetLocal, error)
	GetPaymentsLocal(context.Context, GetPaymentsLocalArg) (PaymentsPageLocal, error)
	GetPendingPaymentsLocal(context.Context, GetPendingPaymentsLocalArg) ([]PaymentOrErrorLocal, error)
	MarkAsReadLocal(context.Context, MarkAsReadLocalArg) error
	GetPaymentDetailsLocal(context.Context, GetPaymentDetailsLocalArg) (PaymentDetailsLocal, error)
	GetDisplayCurrenciesLocal(context.Context, int) ([]CurrencyLocal, error)
	ValidateAccountIDLocal(context.Context, ValidateAccountIDLocalArg) error
	ValidateSecretKeyLocal(context.Context, ValidateSecretKeyLocalArg) error
	ValidateAccountNameLocal(context.Context, ValidateAccountNameLocalArg) error
	ChangeWalletAccountNameLocal(context.Context, ChangeWalletAccountNameLocalArg) error
	SetWalletAccountAsDefaultLocal(context.Context, SetWalletAccountAsDefaultLocalArg) error
	DeleteWalletAccountLocal(context.Context, DeleteWalletAccountLocalArg) error
	LinkNewWalletAccountLocal(context.Context, LinkNewWalletAccountLocalArg) (AccountID, error)
	CreateWalletAccountLocal(context.Context, CreateWalletAccountLocalArg) (AccountID, error)
	ChangeDisplayCurrencyLocal(context.Context, ChangeDisplayCurrencyLocalArg) error
	GetDisplayCurrencyLocal(context.Context, GetDisplayCurrencyLocalArg) (CurrencyLocal, error)
	GetWalletSettingsLocal(context.Context, int) (WalletSettings, error)
	SetAcceptedDisclaimerLocal(context.Context, int) error
	GetWalletAccountPublicKeyLocal(context.Context, GetWalletAccountPublicKeyLocalArg) (string, error)
	GetWalletAccountSecretKeyLocal(context.Context, GetWalletAccountSecretKeyLocalArg) (SecretKey, error)
	GetSendAssetChoicesLocal(context.Context, GetSendAssetChoicesLocalArg) ([]SendAssetChoiceLocal, error)
	BuildPaymentLocal(context.Context, BuildPaymentLocalArg) (BuildPaymentResLocal, error)
	SendPaymentLocal(context.Context, SendPaymentLocalArg) (SendPaymentResLocal, error)
	GetRequestDetailsLocal(context.Context, GetRequestDetailsLocalArg) (RequestDetailsLocal, error)
	CancelRequestLocal(context.Context, CancelRequestLocalArg) error
	MakeRequestLocal(context.Context, MakeRequestLocalArg) (KeybaseRequestID, error)
	SetAccountMobileOnlyLocal(context.Context, SetAccountMobileOnlyLocalArg) error
	IsAccountMobileOnlyLocal(context.Context, IsAccountMobileOnlyLocalArg) (bool, 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)
	MakeRequestCLILocal(context.Context, MakeRequestCLILocalArg) (KeybaseRequestID, error)
	LookupCLILocal(context.Context, string) (LookupResultCLILocal, error)
}

type LookupCLILocalArg

type LookupCLILocalArg struct {
	Name string `codec:"name" json:"name"`
}

type LookupResultCLILocal

type LookupResultCLILocal struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
	Username  *string   `codec:"username,omitempty" json:"username,omitempty"`
}

func (LookupResultCLILocal) DeepCopy

type MakeRequestCLILocalArg

type MakeRequestCLILocalArg struct {
	Recipient string               `codec:"recipient" json:"recipient"`
	Asset     *Asset               `codec:"asset,omitempty" json:"asset,omitempty"`
	Currency  *OutsideCurrencyCode `codec:"currency,omitempty" json:"currency,omitempty"`
	Amount    string               `codec:"amount" json:"amount"`
	Note      string               `codec:"note" json:"note"`
}

type MakeRequestLocalArg

type MakeRequestLocalArg struct {
	SessionID int                  `codec:"sessionID" json:"sessionID"`
	Recipient string               `codec:"recipient" json:"recipient"`
	Asset     *Asset               `codec:"asset,omitempty" json:"asset,omitempty"`
	Currency  *OutsideCurrencyCode `codec:"currency,omitempty" json:"currency,omitempty"`
	Amount    string               `codec:"amount" json:"amount"`
	Note      string               `codec:"note" json:"note"`
}

type MarkAsReadArg

type MarkAsReadArg struct {
	Caller       keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID    AccountID            `codec:"accountID" json:"accountID"`
	MostRecentID TransactionID        `codec:"mostRecentID" json:"mostRecentID"`
}

type MarkAsReadLocalArg

type MarkAsReadLocalArg struct {
	SessionID    int       `codec:"sessionID" json:"sessionID"`
	AccountID    AccountID `codec:"accountID" json:"accountID"`
	MostRecentID PaymentID `codec:"mostRecentID" json:"mostRecentID"`
}

type NextAutoClaimArg

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

type NoteContents

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

func (NoteContents) DeepCopy

func (o NoteContents) DeepCopy() NoteContents

type NoteRecipient

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

func (NoteRecipient) DeepCopy

func (o NoteRecipient) DeepCopy() NoteRecipient

type NotifyClient

type NotifyClient struct {
	Cli rpc.GenericClient
}

func (NotifyClient) PaymentNotification

func (c NotifyClient) PaymentNotification(ctx context.Context, __arg PaymentNotificationArg) (err error)

func (NotifyClient) PaymentStatusNotification

func (c NotifyClient) PaymentStatusNotification(ctx context.Context, __arg PaymentStatusNotificationArg) (err error)

func (NotifyClient) RequestStatusNotification

func (c NotifyClient) RequestStatusNotification(ctx context.Context, reqID KeybaseRequestID) (err error)

type NotifyInterface

type NotifyInterface interface {
	PaymentNotification(context.Context, PaymentNotificationArg) error
	PaymentStatusNotification(context.Context, PaymentStatusNotificationArg) error
	RequestStatusNotification(context.Context, KeybaseRequestID) error
}

type OutsideCurrencyCode

type OutsideCurrencyCode string

func (OutsideCurrencyCode) DeepCopy

func (OutsideCurrencyCode) String

func (c OutsideCurrencyCode) String() string

type OutsideCurrencyDefinition

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

func (OutsideCurrencyDefinition) DeepCopy

type OutsideExchangeRate

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

func (OutsideExchangeRate) DeepCopy

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

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

type PageCursor

type PageCursor struct {
	HorizonCursor string `codec:"horizonCursor" json:"horizonCursor"`
	DirectCursor  string `codec:"directCursor" json:"directCursor"`
	RelayCursor   string `codec:"relayCursor" json:"relayCursor"`
}

func (PageCursor) DeepCopy

func (o PageCursor) DeepCopy() PageCursor

type ParticipantType

type ParticipantType int
const (
	ParticipantType_NONE       ParticipantType = 0
	ParticipantType_KEYBASE    ParticipantType = 1
	ParticipantType_STELLAR    ParticipantType = 2
	ParticipantType_SBS        ParticipantType = 3
	ParticipantType_OWNACCOUNT ParticipantType = 4
)

func (ParticipantType) DeepCopy

func (o ParticipantType) DeepCopy() ParticipantType

func (ParticipantType) String

func (e ParticipantType) String() string

type PaymentCLILocal

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"`
	ToAssertion     *string       `codec:"toAssertion,omitempty" json:"toAssertion,omitempty"`
	Note            string        `codec:"note" json:"note"`
	NoteErr         string        `codec:"noteErr" json:"noteErr"`
}

func (PaymentCLILocal) DeepCopy

func (o PaymentCLILocal) DeepCopy() PaymentCLILocal

type PaymentDetailCLILocalArg

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

type PaymentDetails

type PaymentDetails struct {
	Summary  PaymentSummary `codec:"summary" json:"summary"`
	Memo     string         `codec:"memo" json:"memo"`
	MemoType string         `codec:"memoType" json:"memoType"`
}

func (PaymentDetails) DeepCopy

func (o PaymentDetails) DeepCopy() PaymentDetails

type PaymentDetailsArg

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

type PaymentDetailsLocal

type PaymentDetailsLocal struct {
	Id                   PaymentID       `codec:"id" json:"id"`
	TxID                 TransactionID   `codec:"txID" json:"txID"`
	Time                 TimeMs          `codec:"time" json:"time"`
	StatusSimplified     PaymentStatus   `codec:"statusSimplified" json:"statusSimplified"`
	StatusDescription    string          `codec:"statusDescription" json:"statusDescription"`
	StatusDetail         string          `codec:"statusDetail" json:"statusDetail"`
	ShowCancel           bool            `codec:"showCancel" json:"showCancel"`
	AmountDescription    string          `codec:"amountDescription" json:"amountDescription"`
	Delta                BalanceDelta    `codec:"delta" json:"delta"`
	Worth                string          `codec:"worth" json:"worth"`
	WorthCurrency        string          `codec:"worthCurrency" json:"worthCurrency"`
	CurrentWorth         string          `codec:"currentWorth" json:"currentWorth"`
	CurrentWorthCurrency string          `codec:"currentWorthCurrency" json:"currentWorthCurrency"`
	FromType             ParticipantType `codec:"fromType" json:"fromType"`
	ToType               ParticipantType `codec:"toType" json:"toType"`
	FromAccountID        AccountID       `codec:"fromAccountID" json:"fromAccountID"`
	FromAccountName      string          `codec:"fromAccountName" json:"fromAccountName"`
	FromUsername         string          `codec:"fromUsername" json:"fromUsername"`
	ToAccountID          *AccountID      `codec:"toAccountID,omitempty" json:"toAccountID,omitempty"`
	ToAccountName        string          `codec:"toAccountName" json:"toAccountName"`
	ToUsername           string          `codec:"toUsername" json:"toUsername"`
	ToAssertion          string          `codec:"toAssertion" json:"toAssertion"`
	Note                 string          `codec:"note" json:"note"`
	NoteErr              string          `codec:"noteErr" json:"noteErr"`
	PublicNote           string          `codec:"publicNote" json:"publicNote"`
	PublicNoteType       string          `codec:"publicNoteType" json:"publicNoteType"`
}

func (PaymentDetailsLocal) DeepCopy

type PaymentDirectPost

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"`
	QuickReturn       bool                  `codec:"quickReturn" json:"quickReturn"`
}

func (PaymentDirectPost) DeepCopy

func (o PaymentDirectPost) DeepCopy() PaymentDirectPost

type PaymentID

type PaymentID struct {
	TxID TransactionID `codec:"txID" json:"txID"`
}

func (PaymentID) DeepCopy

func (o PaymentID) DeepCopy() PaymentID

type PaymentLocal

type PaymentLocal struct {
	Id                   PaymentID       `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"`
	ShowCancel           bool            `codec:"showCancel" json:"showCancel"`
	AmountDescription    string          `codec:"amountDescription" json:"amountDescription"`
	Delta                BalanceDelta    `codec:"delta" json:"delta"`
	Worth                string          `codec:"worth" json:"worth"`
	WorthCurrency        string          `codec:"worthCurrency" json:"worthCurrency"`
	CurrentWorth         string          `codec:"currentWorth" json:"currentWorth"`
	CurrentWorthCurrency string          `codec:"currentWorthCurrency" json:"currentWorthCurrency"`
	FromType             ParticipantType `codec:"fromType" json:"fromType"`
	ToType               ParticipantType `codec:"toType" json:"toType"`
	FromAccountID        AccountID       `codec:"fromAccountID" json:"fromAccountID"`
	FromAccountName      string          `codec:"fromAccountName" json:"fromAccountName"`
	FromUsername         string          `codec:"fromUsername" json:"fromUsername"`
	ToAccountID          *AccountID      `codec:"toAccountID,omitempty" json:"toAccountID,omitempty"`
	ToAccountName        string          `codec:"toAccountName" json:"toAccountName"`
	ToUsername           string          `codec:"toUsername" json:"toUsername"`
	ToAssertion          string          `codec:"toAssertion" json:"toAssertion"`
	Note                 string          `codec:"note" json:"note"`
	NoteErr              string          `codec:"noteErr" json:"noteErr"`
	Unread               bool            `codec:"unread" json:"unread"`
}

func NewPaymentLocal

func NewPaymentLocal(txid TransactionID, ctime TimeMs) *PaymentLocal

func (PaymentLocal) DeepCopy

func (o PaymentLocal) DeepCopy() PaymentLocal

type PaymentNotificationArg

type PaymentNotificationArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
	PaymentID PaymentID `codec:"paymentID" json:"paymentID"`
}

type PaymentNotificationMsg

type PaymentNotificationMsg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
	PaymentID PaymentID `codec:"paymentID" json:"paymentID"`
}

func (PaymentNotificationMsg) DeepCopy

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

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"`
	QuickReturn       bool                  `codec:"quickReturn" json:"quickReturn"`
}

func (PaymentRelayPost) DeepCopy

func (o PaymentRelayPost) DeepCopy() PaymentRelayPost

type PaymentResult

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

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 PaymentStatusMsg

type PaymentStatusMsg struct {
	AccountID AccountID            `codec:"accountID" json:"accountID"`
	KbTxID    KeybaseTransactionID `codec:"kbTxID" json:"kbTxID"`
	TxID      TransactionID        `codec:"txID" json:"txID"`
}

func (PaymentStatusMsg) DeepCopy

func (o PaymentStatusMsg) DeepCopy() PaymentStatusMsg

type PaymentStatusNotificationArg

type PaymentStatusNotificationArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
	PaymentID PaymentID `codec:"paymentID" json:"paymentID"`
}

type PaymentStrategy

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

func (PaymentStrategy) DeepCopy

func (o PaymentStrategy) DeepCopy() PaymentStrategy

func (PaymentStrategy) String

func (e PaymentStrategy) String() string

type PaymentSummary

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

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

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

func (*PaymentSummary) ToDetails

func (p *PaymentSummary) ToDetails() *PaymentDetails

func (*PaymentSummary) TransactionID

func (p *PaymentSummary) TransactionID() (TransactionID, error)

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"`
	CursorToken     string                `codec:"cursorToken" json:"cursorToken"`
}

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"`
	CursorToken     string                `codec:"cursorToken" json:"cursorToken"`
}

func (PaymentSummaryRelay) DeepCopy

type PaymentSummaryStellar

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"`
	Ctime       TimeMs        `codec:"ctime" json:"ctime"`
	CursorToken string        `codec:"cursorToken" json:"cursorToken"`
	Unread      bool          `codec:"unread" json:"unread"`
}

func (PaymentSummaryStellar) DeepCopy

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 PaymentsPage

type PaymentsPage struct {
	Payments     []PaymentSummary `codec:"payments" json:"payments"`
	Cursor       *PageCursor      `codec:"cursor,omitempty" json:"cursor,omitempty"`
	OldestUnread *TransactionID   `codec:"oldestUnread,omitempty" json:"oldestUnread,omitempty"`
}

func (PaymentsPage) DeepCopy

func (o PaymentsPage) DeepCopy() PaymentsPage

type PaymentsPageLocal

type PaymentsPageLocal struct {
	Payments     []PaymentOrErrorLocal `codec:"payments" json:"payments"`
	Cursor       *PageCursor           `codec:"cursor,omitempty" json:"cursor,omitempty"`
	OldestUnread *PaymentID            `codec:"oldestUnread,omitempty" json:"oldestUnread,omitempty"`
}

func (PaymentsPageLocal) DeepCopy

func (o PaymentsPageLocal) DeepCopy() PaymentsPageLocal

type PendingPaymentsArg

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

type PingArg

type PingArg struct {
}

type RecentPaymentsArg

type RecentPaymentsArg struct {
	Caller      keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID   AccountID            `codec:"accountID" json:"accountID"`
	Cursor      *PageCursor          `codec:"cursor,omitempty" json:"cursor,omitempty"`
	Limit       int                  `codec:"limit" json:"limit"`
	SkipPending bool                 `codec:"skipPending" json:"skipPending"`
}

type RecentPaymentsCLILocalArg

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

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

func (RelayContents) DeepCopy

func (o RelayContents) DeepCopy() RelayContents

type RelayDirection

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

func (RelayDirection) DeepCopy

func (o RelayDirection) DeepCopy() RelayDirection

func (RelayDirection) String

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

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) CancelRequest

func (c RemoteClient) CancelRequest(ctx context.Context, __arg CancelRequestArg) (err error)

func (RemoteClient) Details

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

func (RemoteClient) IsMasterKeyActive

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

func (RemoteClient) MarkAsRead

func (c RemoteClient) MarkAsRead(ctx context.Context, __arg MarkAsReadArg) (err error)

func (RemoteClient) NextAutoClaim

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

func (RemoteClient) PaymentDetails

func (c RemoteClient) PaymentDetails(ctx context.Context, __arg PaymentDetailsArg) (res PaymentDetails, err error)

func (RemoteClient) PendingPayments

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

func (RemoteClient) Ping

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

func (RemoteClient) RecentPayments

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

func (RemoteClient) ReleaseAutoClaimLock

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

func (RemoteClient) RequestDetails

func (c RemoteClient) RequestDetails(ctx context.Context, __arg RequestDetailsArg) (res RequestDetails, 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

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

func (RemoteClient) SubmitRequest

func (c RemoteClient) SubmitRequest(ctx context.Context, __arg SubmitRequestArg) (res KeybaseRequestID, err error)

type RequestDetails

type RequestDetails struct {
	Id            KeybaseRequestID      `codec:"id" json:"id"`
	FromUser      keybase1.UserVersion  `codec:"fromUser" json:"fromUser"`
	ToUser        *keybase1.UserVersion `codec:"toUser,omitempty" json:"toUser,omitempty"`
	ToAssertion   string                `codec:"toAssertion" json:"toAssertion"`
	Amount        string                `codec:"amount" json:"amount"`
	Asset         *Asset                `codec:"asset,omitempty" json:"asset,omitempty"`
	Currency      *OutsideCurrencyCode  `codec:"currency,omitempty" json:"currency,omitempty"`
	FundingKbTxID KeybaseTransactionID  `codec:"fundingKbTxID" json:"fundingKbTxID"`
	Status        RequestStatus         `codec:"status" json:"status"`
}

func (RequestDetails) DeepCopy

func (o RequestDetails) DeepCopy() RequestDetails

type RequestDetailsArg

type RequestDetailsArg struct {
	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
	ReqID  KeybaseRequestID     `codec:"reqID" json:"reqID"`
}

type RequestDetailsLocal

type RequestDetailsLocal struct {
	Id                KeybaseRequestID     `codec:"id" json:"id"`
	FromAssertion     string               `codec:"fromAssertion" json:"fromAssertion"`
	FromCurrentUser   bool                 `codec:"fromCurrentUser" json:"fromCurrentUser"`
	ToUserType        ParticipantType      `codec:"toUserType" json:"toUserType"`
	ToAssertion       string               `codec:"toAssertion" json:"toAssertion"`
	Amount            string               `codec:"amount" json:"amount"`
	Asset             *Asset               `codec:"asset,omitempty" json:"asset,omitempty"`
	Currency          *OutsideCurrencyCode `codec:"currency,omitempty" json:"currency,omitempty"`
	AmountDescription string               `codec:"amountDescription" json:"amountDescription"`
	Status            RequestStatus        `codec:"status" json:"status"`
}

func (RequestDetailsLocal) DeepCopy

type RequestPost

type RequestPost struct {
	ToUser      *keybase1.UserVersion `codec:"toUser,omitempty" json:"toUser,omitempty"`
	ToAssertion string                `codec:"toAssertion" json:"toAssertion"`
	Amount      string                `codec:"amount" json:"amount"`
	Asset       *Asset                `codec:"asset,omitempty" json:"asset,omitempty"`
	Currency    *OutsideCurrencyCode  `codec:"currency,omitempty" json:"currency,omitempty"`
}

func (RequestPost) DeepCopy

func (o RequestPost) DeepCopy() RequestPost

type RequestStatus

type RequestStatus int
const (
	RequestStatus_OK       RequestStatus = 0
	RequestStatus_CANCELED RequestStatus = 1
)

func (RequestStatus) DeepCopy

func (o RequestStatus) DeepCopy() RequestStatus

func (RequestStatus) String

func (e RequestStatus) String() string

type RequestStatusMsg

type RequestStatusMsg struct {
	ReqID KeybaseRequestID `codec:"reqID" json:"reqID"`
}

func (RequestStatusMsg) DeepCopy

func (o RequestStatusMsg) DeepCopy() RequestStatusMsg

type RequestStatusNotificationArg

type RequestStatusNotificationArg struct {
	ReqID KeybaseRequestID `codec:"reqID" json:"reqID"`
}

type SecretKey

type SecretKey string

func (SecretKey) DeepCopy

func (o SecretKey) DeepCopy() SecretKey

func (SecretKey) SecureNoLogString

func (s SecretKey) SecureNoLogString() string

func (SecretKey) String

func (s SecretKey) String() string

type SendAssetChoiceLocal

type SendAssetChoiceLocal struct {
	Asset   Asset  `codec:"asset" json:"asset"`
	Enabled bool   `codec:"enabled" json:"enabled"`
	Left    string `codec:"left" json:"left"`
	Right   string `codec:"right" json:"right"`
	Subtext string `codec:"subtext" json:"subtext"`
}

func (SendAssetChoiceLocal) DeepCopy

type SendBannerLocal

type SendBannerLocal struct {
	Level         string `codec:"level" json:"level"`
	Message       string `codec:"message" json:"message"`
	ProofsChanged bool   `codec:"proofsChanged" json:"proofsChanged"`
}

func (SendBannerLocal) DeepCopy

func (o SendBannerLocal) DeepCopy() SendBannerLocal

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"`
	PublicNote      string    `codec:"publicNote" json:"publicNote"`
	FromAccountID   AccountID `codec:"fromAccountID" json:"fromAccountID"`
}

type SendPaymentLocalArg

type SendPaymentLocalArg struct {
	SessionID     int                  `codec:"sessionID" json:"sessionID"`
	From          AccountID            `codec:"from" json:"from"`
	FromSeqno     string               `codec:"fromSeqno" json:"fromSeqno"`
	To            string               `codec:"to" json:"to"`
	ToIsAccountID bool                 `codec:"toIsAccountID" json:"toIsAccountID"`
	Amount        string               `codec:"amount" json:"amount"`
	Asset         Asset                `codec:"asset" json:"asset"`
	WorthAmount   string               `codec:"worthAmount" json:"worthAmount"`
	WorthCurrency *OutsideCurrencyCode `codec:"worthCurrency,omitempty" json:"worthCurrency,omitempty"`
	SecretNote    string               `codec:"secretNote" json:"secretNote"`
	PublicMemo    string               `codec:"publicMemo" json:"publicMemo"`
	QuickReturn   bool                 `codec:"quickReturn" json:"quickReturn"`
}

type SendPaymentResLocal

type SendPaymentResLocal struct {
	KbTxID  KeybaseTransactionID `codec:"kbTxID" json:"kbTxID"`
	Pending bool                 `codec:"pending" json:"pending"`
}

func (SendPaymentResLocal) DeepCopy

type SendResultCLILocal

type SendResultCLILocal struct {
	KbTxID KeybaseTransactionID `codec:"kbTxID" json:"kbTxID"`
	TxID   TransactionID        `codec:"txID" json:"txID"`
}

func (SendResultCLILocal) DeepCopy

type SetAcceptedDisclaimerLocalArg

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

type SetAccountMobileOnlyLocalArg

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

type SetDisplayCurrencyArg

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

func (*StellarServerDefinitions) GetCurrencyLocal

func (d *StellarServerDefinitions) GetCurrencyLocal(code OutsideCurrencyCode) (res CurrencyLocal, ok bool)

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

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

type SubmitRequestArg

type SubmitRequestArg struct {
	Caller  keybase1.UserVersion `codec:"caller" json:"caller"`
	Request RequestPost          `codec:"request" json:"request"`
}

type TimeMs

type TimeMs int64

func ToTimeMs

func ToTimeMs(t time.Time) TimeMs

func (TimeMs) DeepCopy

func (o TimeMs) DeepCopy() TimeMs

func (TimeMs) Time

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

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 ValidateAccountIDLocalArg

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

type ValidateAccountNameLocalArg

type ValidateAccountNameLocalArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Name      string `codec:"name" json:"name"`
}

type ValidateSecretKeyLocalArg

type ValidateSecretKeyLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	SecretKey SecretKey `codec:"secretKey" json:"secretKey"`
}

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"`
	Seqno              string    `codec:"seqno" json:"seqno"`
}

func (WalletAccountLocal) DeepCopy

type WalletDumpLocalArg

type WalletDumpLocalArg struct {
}

type WalletGetAccountsCLILocalArg

type WalletGetAccountsCLILocalArg struct {
}

type WalletInitLocalArg

type WalletInitLocalArg struct {
}

type WalletSettings

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

func (WalletSettings) DeepCopy

func (o WalletSettings) DeepCopy() WalletSettings

Jump to

Keyboard shortcuts

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