Documentation ¶
Index ¶
- Constants
- Variables
- func BundleProtocol(i BundleInterface) rpc.Protocol
- func CommonProtocol(i CommonInterface) rpc.Protocol
- func FromTimeMs(t TimeMs) time.Time
- func GregorProtocol(i GregorInterface) rpc.Protocol
- func LocalProtocol(i LocalInterface) rpc.Protocol
- func RemoteProtocol(i RemoteInterface) rpc.Protocol
- type AccountAssetLocal
- type AccountDetails
- type AccountID
- type AccountMode
- type AccountSeqnoArg
- type AcquireAutoClaimLockArg
- type Asset
- type AutoClaim
- type Balance
- type BalanceDelta
- type BalancesArg
- type BalancesLocalArg
- type Bundle
- type BundleClient
- type BundleEntry
- type BundleInterface
- type BundleRevision
- type BundleSecretEntry
- type BundleSecretV1
- type BundleSecretVersioned
- type BundleVersion
- type BundleVisibleEntry
- type BundleVisibleV1
- type ChangeDisplayCurrencyLocalArg
- type ChangeWalletAccountNameLocalArg
- type ClaimCLILocalArg
- type ClaimSummary
- type CommonClient
- type CommonInterface
- type CurrencyLocal
- type CurrencySymbol
- type DeleteWalletAccountLocalArg
- type DetailsArg
- type EncryptedBundle
- type EncryptedNote
- type EncryptedRelaySecret
- type ExchangeRateLocalArg
- type ExportSecretKeyLocalArg
- type FormatLocalCurrencyStringArg
- type GetAccountAssetsLocalArg
- type GetAvailableLocalCurrenciesArg
- type GetDisplayCurrenciesLocalArg
- type GetPaymentsLocalArg
- type GetUserSettingsLocalArg
- type GetWalletAccountPublicKeyLocalArg
- type GetWalletAccountSecretKeyLocalArg
- type GetWalletAccountsLocalArg
- type GmAutoClaim
- type GregorClient
- type GregorInterface
- type Hash
- type ImportSecretKeyLocalArg
- type IsMasterKeyActiveArg
- type KeybaseTransactionID
- type LinkNewWalletAccountLocalArg
- type LocalClient
- func (c LocalClient) BalancesLocal(ctx context.Context, accountID AccountID) (res []Balance, err error)
- func (c LocalClient) ChangeDisplayCurrencyLocal(ctx context.Context, __arg ChangeDisplayCurrencyLocalArg) (err error)
- func (c LocalClient) ChangeWalletAccountNameLocal(ctx context.Context, __arg ChangeWalletAccountNameLocalArg) (err error)
- func (c LocalClient) ClaimCLILocal(ctx context.Context, __arg ClaimCLILocalArg) (res RelayClaimResult, err error)
- func (c LocalClient) DeleteWalletAccountLocal(ctx context.Context, __arg DeleteWalletAccountLocalArg) (err error)
- func (c LocalClient) ExchangeRateLocal(ctx context.Context, currency OutsideCurrencyCode) (res OutsideExchangeRate, err error)
- func (c LocalClient) ExportSecretKeyLocal(ctx context.Context, accountID AccountID) (res SecretKey, err error)
- func (c LocalClient) FormatLocalCurrencyString(ctx context.Context, __arg FormatLocalCurrencyStringArg) (res string, err error)
- func (c LocalClient) GetAccountAssetsLocal(ctx context.Context, __arg GetAccountAssetsLocalArg) (res []AccountAssetLocal, err error)
- func (c LocalClient) GetAvailableLocalCurrencies(ctx context.Context) (res map[OutsideCurrencyCode]OutsideCurrencyDefinition, err error)
- func (c LocalClient) GetDisplayCurrenciesLocal(ctx context.Context, sessionID int) (res []CurrencyLocal, err error)
- func (c LocalClient) GetPaymentsLocal(ctx context.Context, __arg GetPaymentsLocalArg) (res []PaymentOrErrorLocal, err error)
- func (c LocalClient) GetUserSettingsLocal(ctx context.Context, sessionID int) (res UserSettings, err error)
- func (c LocalClient) GetWalletAccountPublicKeyLocal(ctx context.Context, __arg GetWalletAccountPublicKeyLocalArg) (res string, err error)
- func (c LocalClient) GetWalletAccountSecretKeyLocal(ctx context.Context, __arg GetWalletAccountSecretKeyLocalArg) (res SecretKey, err error)
- func (c LocalClient) GetWalletAccountsLocal(ctx context.Context, sessionID int) (res []WalletAccountLocal, err error)
- func (c LocalClient) ImportSecretKeyLocal(ctx context.Context, __arg ImportSecretKeyLocalArg) (err error)
- func (c LocalClient) LinkNewWalletAccountLocal(ctx context.Context, __arg LinkNewWalletAccountLocalArg) (res AccountID, err error)
- func (c LocalClient) OwnAccountLocal(ctx context.Context, accountID AccountID) (res bool, err error)
- func (c LocalClient) PaymentDetailCLILocal(ctx context.Context, txID string) (res PaymentCLILocal, err error)
- func (c LocalClient) RecentPaymentsCLILocal(ctx context.Context, accountID *AccountID) (res []PaymentOrErrorCLILocal, err error)
- func (c LocalClient) SendCLILocal(ctx context.Context, __arg SendCLILocalArg) (res SendResultCLILocal, err error)
- func (c LocalClient) SetAcceptedDisclaimerLocal(ctx context.Context, sessionID int) (err error)
- func (c LocalClient) SetDisplayCurrency(ctx context.Context, __arg SetDisplayCurrencyArg) (err error)
- func (c LocalClient) SetWalletAccountAsDefaultLocal(ctx context.Context, __arg SetWalletAccountAsDefaultLocalArg) (err error)
- func (c LocalClient) WalletDumpLocal(ctx context.Context) (res Bundle, err error)
- func (c LocalClient) WalletGetAccountsCLILocal(ctx context.Context) (res []OwnAccountCLILocal, err error)
- func (c LocalClient) WalletInitLocal(ctx context.Context) (err error)
- type LocalInterface
- type NextAutoClaimArg
- type NoteContents
- type NoteRecipient
- type OutsideCurrencyCode
- type OutsideCurrencyDefinition
- type OutsideExchangeRate
- type OwnAccountCLILocal
- type OwnAccountLocalArg
- type PaymentCLILocal
- type PaymentDetailArg
- type PaymentDetailCLILocalArg
- type PaymentDirectPost
- type PaymentLocal
- type PaymentOrErrorCLILocal
- type PaymentOrErrorLocal
- type PaymentRelayPost
- type PaymentResult
- type PaymentStatus
- type PaymentStrategy
- type PaymentSummary
- type PaymentSummaryDirect
- type PaymentSummaryRelay
- type PaymentSummaryStellar
- type PaymentSummaryType
- type PingArg
- type RecentPaymentsArg
- type RecentPaymentsCLILocalArg
- type RelayClaimPost
- type RelayClaimResult
- type RelayContents
- type RelayDirection
- type ReleaseAutoClaimLockArg
- type RemoteClient
- func (c RemoteClient) AccountSeqno(ctx context.Context, __arg AccountSeqnoArg) (res string, err error)
- func (c RemoteClient) AcquireAutoClaimLock(ctx context.Context, caller keybase1.UserVersion) (res string, err error)
- func (c RemoteClient) Balances(ctx context.Context, __arg BalancesArg) (res []Balance, err error)
- func (c RemoteClient) Details(ctx context.Context, __arg DetailsArg) (res AccountDetails, err error)
- func (c RemoteClient) IsMasterKeyActive(ctx context.Context, __arg IsMasterKeyActiveArg) (res bool, err error)
- func (c RemoteClient) NextAutoClaim(ctx context.Context, caller keybase1.UserVersion) (res *AutoClaim, err error)
- func (c RemoteClient) PaymentDetail(ctx context.Context, __arg PaymentDetailArg) (res PaymentSummary, err error)
- func (c RemoteClient) Ping(ctx context.Context) (res string, err error)
- func (c RemoteClient) RecentPayments(ctx context.Context, __arg RecentPaymentsArg) (res []PaymentSummary, err error)
- func (c RemoteClient) ReleaseAutoClaimLock(ctx context.Context, __arg ReleaseAutoClaimLockArg) (err error)
- func (c RemoteClient) SubmitPayment(ctx context.Context, __arg SubmitPaymentArg) (res PaymentResult, err error)
- func (c RemoteClient) SubmitRelayClaim(ctx context.Context, __arg SubmitRelayClaimArg) (res RelayClaimResult, err error)
- func (c RemoteClient) SubmitRelayPayment(ctx context.Context, __arg SubmitRelayPaymentArg) (res PaymentResult, err error)
- type RemoteInterface
- type SecretKey
- type SendCLILocalArg
- type SendRelayResultCLILocal
- type SendResultCLILocal
- type SetAcceptedDisclaimerLocalArg
- type SetDisplayCurrencyArg
- type SetWalletAccountAsDefaultLocalArg
- type StellarServerDefinitions
- type SubmitPaymentArg
- type SubmitRelayClaimArg
- type SubmitRelayPaymentArg
- type TimeMs
- type TransactionID
- type TransactionStatus
- type UserSettings
- type WalletAccountLocal
- type WalletDumpLocalArg
- type WalletGetAccountsCLILocalArg
- type WalletInitLocalArg
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 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 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) IsNativeXLM ¶ added in v1.0.48
type AutoClaim ¶
type AutoClaim struct {
KbTxID KeybaseTransactionID `codec:"kbTxID" json:"kbTxID"`
}
type 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
CheckInvariants checks that the bundle satisfies 1. No duplicate account IDs 2. At most one primary account
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 (o BundleSecretVersioned) DeepCopy() BundleSecretVersioned
func (BundleSecretVersioned) V1 ¶ added in v1.0.47
func (o BundleSecretVersioned) V1() (res BundleSecretV1)
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
func (o BundleVisibleEntry) DeepCopy() BundleVisibleEntry
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 ClaimCLILocalArg ¶
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 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
func (o EncryptedRelaySecret) DeepCopy() EncryptedRelaySecret
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 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 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 ImportSecretKeyLocalArg ¶ added in v1.0.47
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 (o KeybaseTransactionID) DeepCopy() KeybaseTransactionID
func (KeybaseTransactionID) Eq ¶
func (k KeybaseTransactionID) Eq(b KeybaseTransactionID) bool
func (KeybaseTransactionID) String ¶
func (k KeybaseTransactionID) String() string
type LocalClient ¶
type LocalClient struct {
Cli rpc.GenericClient
}
func (LocalClient) BalancesLocal ¶
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 (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 (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
func (o OutsideCurrencyCode) DeepCopy() OutsideCurrencyCode
type OutsideCurrencyDefinition ¶
type OutsideCurrencyDefinition struct { Name string `codec:"name" json:"name"` Symbol CurrencySymbol `codec:"symbol" json:"symbol"` }
func (OutsideCurrencyDefinition) DeepCopy ¶
func (o OutsideCurrencyDefinition) DeepCopy() OutsideCurrencyDefinition
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
func (o OutsideExchangeRate) DeepCopy() OutsideExchangeRate
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 ¶
func (o OwnAccountCLILocal) DeepCopy() OwnAccountCLILocal
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 ¶
func (o PaymentOrErrorCLILocal) DeepCopy() PaymentOrErrorCLILocal
type PaymentOrErrorLocal ¶
type PaymentOrErrorLocal struct { Payment *PaymentLocal `codec:"payment,omitempty" json:"payment,omitempty"` Err *string `codec:"err,omitempty" json:"err,omitempty"` }
func (PaymentOrErrorLocal) DeepCopy ¶
func (o PaymentOrErrorLocal) DeepCopy() PaymentOrErrorLocal
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 ¶
func (o PaymentSummaryDirect) DeepCopy() PaymentSummaryDirect
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 ¶
func (o PaymentSummaryRelay) DeepCopy() PaymentSummaryRelay
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
func (o PaymentSummaryStellar) DeepCopy() PaymentSummaryStellar
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 (o PaymentSummaryType) DeepCopy() PaymentSummaryType
func (PaymentSummaryType) String ¶
func (e PaymentSummaryType) String() string
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 RemoteInterface ¶
type RemoteInterface interface { Balances(context.Context, BalancesArg) ([]Balance, error) Details(context.Context, DetailsArg) (AccountDetails, error) RecentPayments(context.Context, RecentPaymentsArg) ([]PaymentSummary, error) PaymentDetail(context.Context, PaymentDetailArg) (PaymentSummary, error) AccountSeqno(context.Context, AccountSeqnoArg) (string, error) SubmitPayment(context.Context, SubmitPaymentArg) (PaymentResult, error) SubmitRelayPayment(context.Context, SubmitRelayPaymentArg) (PaymentResult, error) SubmitRelayClaim(context.Context, SubmitRelayClaimArg) (RelayClaimResult, error) AcquireAutoClaimLock(context.Context, keybase1.UserVersion) (string, error) ReleaseAutoClaimLock(context.Context, ReleaseAutoClaimLockArg) error NextAutoClaim(context.Context, keybase1.UserVersion) (*AutoClaim, error) IsMasterKeyActive(context.Context, IsMasterKeyActiveArg) (bool, error) Ping(context.Context) (string, error) }
type SecretKey ¶ added in v1.0.47
type SecretKey string
func (SecretKey) SecureNoLogString ¶ added in v1.0.47
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 ¶
func (SendRelayResultCLILocal) DeepCopy ¶
func (o SendRelayResultCLILocal) DeepCopy() SendRelayResultCLILocal
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 ¶
func (o SendResultCLILocal) DeepCopy() SendResultCLILocal
type SetAcceptedDisclaimerLocalArg ¶
type SetAcceptedDisclaimerLocalArg struct {
SessionID int `codec:"sessionID" json:"sessionID"`
}
type SetDisplayCurrencyArg ¶ added in v1.0.48
type StellarServerDefinitions ¶
type StellarServerDefinitions struct { Revision int `codec:"revision" json:"revision"` Currencies map[OutsideCurrencyCode]OutsideCurrencyDefinition `codec:"currencies" json:"currencies"` }
func (StellarServerDefinitions) DeepCopy ¶
func (o StellarServerDefinitions) DeepCopy() StellarServerDefinitions
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 TransactionID ¶
type TransactionID string
func (TransactionID) DeepCopy ¶
func (o TransactionID) DeepCopy() TransactionID
func (TransactionID) Eq ¶
func (t TransactionID) Eq(b TransactionID) bool
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 ¶
func (o WalletAccountLocal) DeepCopy() WalletAccountLocal
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 { }
Click to show internal directories.
Click to hide internal directories.