stellar1

package
v4.3.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 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"
)
View Source
const (
	PushAutoClaim           = "stellar.autoclaim"
	PushPaymentStatus       = "stellar.payment_status"
	PushPaymentNotification = "stellar.payment_notification"
	PushRequestStatus       = "stellar.request_status"
	PushAccountChange       = "stellar.account_change"
)
View Source
const (
	AirdropQualified   = "qualified"
	AirdropUnqualified = "unqualified"
	AirdropAccepted    = "accepted"
)

Variables

View Source
var AccountBundleVersionMap = map[string]AccountBundleVersion{
	"V1":  1,
	"V2":  2,
	"V3":  3,
	"V4":  4,
	"V5":  5,
	"V6":  6,
	"V7":  7,
	"V8":  8,
	"V9":  9,
	"V10": 10,
}
View Source
var AccountBundleVersionRevMap = map[AccountBundleVersion]string{
	1:  "V1",
	2:  "V2",
	3:  "V3",
	4:  "V4",
	5:  "V5",
	6:  "V6",
	7:  "V7",
	8:  "V8",
	9:  "V9",
	10: "V10",
}
View Source
var AccountModeMap = map[string]AccountMode{
	"NONE":   0,
	"USER":   1,
	"MOBILE": 2,
}
View Source
var AccountModeRevMap = map[AccountMode]string{
	0: "NONE",
	1: "USER",
	2: "MOBILE",
}
View Source
var AdvancedBannerMap = map[string]AdvancedBanner{
	"NO_BANNER":       0,
	"SENDER_BANNER":   1,
	"RECEIVER_BANNER": 2,
}
View Source
var AdvancedBannerRevMap = map[AdvancedBanner]string{
	0: "NO_BANNER",
	1: "SENDER_BANNER",
	2: "RECEIVER_BANNER",
}
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,
	"V2":  2,
	"V3":  3,
	"V4":  4,
	"V5":  5,
	"V6":  6,
	"V7":  7,
	"V8":  8,
	"V9":  9,
	"V10": 10,
}
View Source
var BundleVersionRevMap = map[BundleVersion]string{
	1:  "V1",
	2:  "V2",
	3:  "V3",
	4:  "V4",
	5:  "V5",
	6:  "V6",
	7:  "V7",
	8:  "V8",
	9:  "V9",
	10: "V10",
}
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,
	"CANCELED":  6,
}
View Source
var PaymentStatusRevMap = map[PaymentStatus]string{
	0: "NONE",
	1: "PENDING",
	2: "CLAIMABLE",
	3: "COMPLETED",
	4: "ERROR",
	5: "UNKNOWN",
	6: "CANCELED",
}
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,
	"DONE":     2,
}
View Source
var RequestStatusRevMap = map[RequestStatus]string{
	0: "OK",
	1: "CANCELED",
	2: "DONE",
}
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 CreateNonNativeAssetType

func CreateNonNativeAssetType(code string) (string, error)

func FromTimeMs added in v1.0.48

func FromTimeMs(t TimeMs) time.Time

func GregorProtocol

func GregorProtocol(i GregorInterface) rpc.Protocol

func LocalProtocol

func LocalProtocol(i LocalInterface) rpc.Protocol

func NotifyProtocol

func NotifyProtocol(i NotifyInterface) rpc.Protocol

func RemoteProtocol

func RemoteProtocol(i RemoteInterface) rpc.Protocol

func UiProtocol

func UiProtocol(i UiInterface) rpc.Protocol

Types

type AcceptDisclaimerLocalArg

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

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"`
	IssuerVerifiedDomain   string           `codec:"issuerVerifiedDomain" json:"issuerVerifiedDomain"`
	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"`
	Desc                   string           `codec:"desc" json:"desc"`
	InfoUrl                string           `codec:"infoUrl" json:"infoUrl"`
	InfoUrlText            string           `codec:"infoUrlText" json:"infoUrlText"`
	ShowDepositButton      bool             `codec:"showDepositButton" json:"showDepositButton"`
	DepositButtonText      string           `codec:"depositButtonText" json:"depositButtonText"`
	ShowWithdrawButton     bool             `codec:"showWithdrawButton" json:"showWithdrawButton"`
	WithdrawButtonText     string           `codec:"withdrawButtonText" json:"withdrawButtonText"`
}

func (AccountAssetLocal) DeepCopy

func (o AccountAssetLocal) DeepCopy() AccountAssetLocal

type AccountBundle

type AccountBundle struct {
	Prev      Hash        `codec:"prev" json:"prev"`
	OwnHash   Hash        `codec:"ownHash" json:"ownHash"`
	AccountID AccountID   `codec:"accountID" json:"accountID"`
	Signers   []SecretKey `codec:"signers" json:"signers"`
}

func (AccountBundle) DeepCopy

func (o AccountBundle) DeepCopy() AccountBundle

type AccountBundleSecretUnsupported

type AccountBundleSecretUnsupported struct {
}

func (AccountBundleSecretUnsupported) DeepCopy

type AccountBundleSecretV1

type AccountBundleSecretV1 struct {
	AccountID AccountID   `codec:"accountID" json:"accountID"`
	Signers   []SecretKey `codec:"signers" json:"signers"`
}

func (AccountBundleSecretV1) DeepCopy

type AccountBundleSecretVersioned

type AccountBundleSecretVersioned struct {
	Version__ AccountBundleVersion            `codec:"version" json:"version"`
	V1__      *AccountBundleSecretV1          `codec:"v1,omitempty" json:"v1,omitempty"`
	V2__      *AccountBundleSecretUnsupported `codec:"v2,omitempty" json:"v2,omitempty"`
	V3__      *AccountBundleSecretUnsupported `codec:"v3,omitempty" json:"v3,omitempty"`
	V4__      *AccountBundleSecretUnsupported `codec:"v4,omitempty" json:"v4,omitempty"`
	V5__      *AccountBundleSecretUnsupported `codec:"v5,omitempty" json:"v5,omitempty"`
	V6__      *AccountBundleSecretUnsupported `codec:"v6,omitempty" json:"v6,omitempty"`
	V7__      *AccountBundleSecretUnsupported `codec:"v7,omitempty" json:"v7,omitempty"`
	V8__      *AccountBundleSecretUnsupported `codec:"v8,omitempty" json:"v8,omitempty"`
	V9__      *AccountBundleSecretUnsupported `codec:"v9,omitempty" json:"v9,omitempty"`
	V10__     *AccountBundleSecretUnsupported `codec:"v10,omitempty" json:"v10,omitempty"`
}

func (AccountBundleSecretVersioned) DeepCopy

func (AccountBundleSecretVersioned) V1

func (AccountBundleSecretVersioned) V10

func (AccountBundleSecretVersioned) V2

func (AccountBundleSecretVersioned) V3

func (AccountBundleSecretVersioned) V4

func (AccountBundleSecretVersioned) V5

func (AccountBundleSecretVersioned) V6

func (AccountBundleSecretVersioned) V7

func (AccountBundleSecretVersioned) V8

func (AccountBundleSecretVersioned) V9

func (*AccountBundleSecretVersioned) Version

type AccountBundleVersion

type AccountBundleVersion int
const (
	AccountBundleVersion_V1  AccountBundleVersion = 1
	AccountBundleVersion_V2  AccountBundleVersion = 2
	AccountBundleVersion_V3  AccountBundleVersion = 3
	AccountBundleVersion_V4  AccountBundleVersion = 4
	AccountBundleVersion_V5  AccountBundleVersion = 5
	AccountBundleVersion_V6  AccountBundleVersion = 6
	AccountBundleVersion_V7  AccountBundleVersion = 7
	AccountBundleVersion_V8  AccountBundleVersion = 8
	AccountBundleVersion_V9  AccountBundleVersion = 9
	AccountBundleVersion_V10 AccountBundleVersion = 10
)

func (AccountBundleVersion) DeepCopy

func (AccountBundleVersion) String

func (e AccountBundleVersion) String() string

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"`
	UnreadPayments       int              `codec:"unreadPayments" json:"unreadPayments"`
	DisplayCurrency      string           `codec:"displayCurrency" json:"displayCurrency"`
	InflationDestination *AccountID       `codec:"inflationDestination,omitempty" json:"inflationDestination,omitempty"`
}

func (AccountDetails) DeepCopy

func (o AccountDetails) DeepCopy() AccountDetails

func (*AccountDetails) SetDefaultDisplayCurrency

func (a *AccountDetails) SetDefaultDisplayCurrency()

type AccountDetailsUpdateArg

type AccountDetailsUpdateArg struct {
	AccountID AccountID          `codec:"accountID" json:"accountID"`
	Account   WalletAccountLocal `codec:"account" json:"account"`
}

type AccountID

type AccountID string

func (AccountID) DeepCopy

func (o AccountID) DeepCopy() AccountID

func (AccountID) Eq added in v1.0.47

func (a AccountID) Eq(b AccountID) bool

func (AccountID) IsNil

func (a AccountID) IsNil() bool

func (AccountID) LossyAbbreviation added in v1.0.48

func (a AccountID) LossyAbbreviation() string

func (AccountID) String added in v1.0.47

func (a AccountID) String() string

type AccountMode added in v1.0.47

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

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 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 added in v1.0.48

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

type AccountsUpdateArg

type AccountsUpdateArg struct {
	Accounts []WalletAccountLocal `codec:"accounts" json:"accounts"`
}

type AcquireAutoClaimLockArg

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

type AddTrustlineLocalArg

type AddTrustlineLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	AccountID AccountID `codec:"accountID" json:"accountID"`
	Trustline Trustline `codec:"trustline" json:"trustline"`
	Limit     string    `codec:"limit" json:"limit"`
}

type AdvancedBanner

type AdvancedBanner int
const (
	AdvancedBanner_NO_BANNER       AdvancedBanner = 0
	AdvancedBanner_SENDER_BANNER   AdvancedBanner = 1
	AdvancedBanner_RECEIVER_BANNER AdvancedBanner = 2
)

func (AdvancedBanner) DeepCopy

func (o AdvancedBanner) DeepCopy() AdvancedBanner

func (AdvancedBanner) String

func (e AdvancedBanner) String() string

type AirdropDetails

type AirdropDetails struct {
	IsPromoted bool   `codec:"isPromoted" json:"isPromoted"`
	Details    string `codec:"details" json:"details"`
	Disclaimer string `codec:"disclaimer" json:"disclaimer"`
}

func (AirdropDetails) DeepCopy

func (o AirdropDetails) DeepCopy() AirdropDetails

type AirdropDetailsLocalArg

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

type AirdropQualification

type AirdropQualification struct {
	Title    string `codec:"title" json:"title"`
	Subtitle string `codec:"subtitle" json:"subtitle"`
	Valid    bool   `codec:"valid" json:"valid"`
}

func (AirdropQualification) DeepCopy

type AirdropRegisterLocalArg

type AirdropRegisterLocalArg struct {
	SessionID int  `codec:"sessionID" json:"sessionID"`
	Register  bool `codec:"register" json:"register"`
}

type AirdropState

type AirdropState string

func (AirdropState) DeepCopy

func (o AirdropState) DeepCopy() AirdropState

type AirdropStatus

type AirdropStatus struct {
	State AirdropState           `codec:"state" json:"state"`
	Rows  []AirdropQualification `codec:"rows" json:"rows"`
}

func (AirdropStatus) DeepCopy

func (o AirdropStatus) DeepCopy() AirdropStatus

type AirdropStatusLocalArg

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

type ApprovePathURILocalArg

type ApprovePathURILocalArg struct {
	SessionID int         `codec:"sessionID" json:"sessionID"`
	InputURI  string      `codec:"inputURI" json:"inputURI"`
	FullPath  PaymentPath `codec:"fullPath" json:"fullPath"`
	FromCLI   bool        `codec:"fromCLI" json:"fromCLI"`
}

type ApprovePayURILocalArg

type ApprovePayURILocalArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	InputURI  string `codec:"inputURI" json:"inputURI"`
	Amount    string `codec:"amount" json:"amount"`
	FromCLI   bool   `codec:"fromCLI" json:"fromCLI"`
}

type ApproveTxURILocalArg

type ApproveTxURILocalArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	InputURI  string `codec:"inputURI" json:"inputURI"`
}

type Asset

type Asset struct {
	Type               string `codec:"type" json:"type"`
	Code               string `codec:"code" json:"code"`
	Issuer             string `codec:"issuer" json:"issuer"`
	VerifiedDomain     string `codec:"verifiedDomain" json:"verifiedDomain"`
	IssuerName         string `codec:"issuerName" json:"issuerName"`
	Desc               string `codec:"desc" json:"desc"`
	InfoUrl            string `codec:"infoUrl" json:"infoUrl"`
	InfoUrlText        string `codec:"infoUrlText" json:"infoUrlText"`
	ShowDepositButton  bool   `codec:"showDepositButton" json:"showDepositButton"`
	DepositButtonText  string `codec:"depositButtonText" json:"depositButtonText"`
	ShowWithdrawButton bool   `codec:"showWithdrawButton" json:"showWithdrawButton"`
	WithdrawButtonText string `codec:"withdrawButtonText" json:"withdrawButtonText"`
	WithdrawType       string `codec:"withdrawType" json:"withdrawType"`
	TransferServer     string `codec:"transferServer" json:"transferServer"`
	AuthEndpoint       string `codec:"authEndpoint" json:"authEndpoint"`
}

func AssetNative added in v1.0.48

func AssetNative() Asset

func (Asset) CodeString

func (a Asset) CodeString() string

CodeString implements stellarnet.AssetBase.

func (Asset) DeepCopy

func (o Asset) DeepCopy() Asset

func (*Asset) IsEmpty

func (a *Asset) IsEmpty() bool

func (*Asset) IsNativeXLM added in v1.0.48

func (a *Asset) IsNativeXLM() bool

func (Asset) IssuerString

func (a Asset) IssuerString() string

IssuerString implements stellarnet.AssetBase.

func (Asset) SameAsset

func (a Asset) SameAsset(b Asset) bool

func (Asset) String

func (a Asset) String() string

String returns a display friendly form of the asset, compatible with xdr.Asset fomat: type/code/issuer or just "native" if asset is native XLM.

func (Asset) TypeString

func (a Asset) TypeString() string

TypeString implements stellarnet.AssetBase.

type AssetActionResultLocal

type AssetActionResultLocal struct {
	ExternalUrl       *string `codec:"externalUrl,omitempty" json:"externalUrl,omitempty"`
	MessageFromAnchor *string `codec:"messageFromAnchor,omitempty" json:"messageFromAnchor,omitempty"`
}

func (AssetActionResultLocal) DeepCopy

type AssetCode

type AssetCode string

func (AssetCode) DeepCopy

func (o AssetCode) DeepCopy() AssetCode

func (AssetCode) Eq

func (a AssetCode) Eq(other AssetCode) bool

func (AssetCode) GetAssetType

func (a AssetCode) GetAssetType() string

func (AssetCode) String

func (a AssetCode) String() string

type AssetDepositLocalArg

type AssetDepositLocalArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
	Asset     Asset     `codec:"asset" json:"asset"`
}

type AssetListResult

type AssetListResult struct {
	Assets     []Asset `codec:"assets" json:"assets"`
	TotalCount int     `codec:"totalCount" json:"totalCount"`
}

func (AssetListResult) DeepCopy

func (o AssetListResult) DeepCopy() AssetListResult

type AssetSearchArg

type AssetSearchArg struct {
	AssetCode       string `codec:"assetCode" json:"assetCode"`
	IssuerAccountID string `codec:"issuerAccountID" json:"issuerAccountID"`
}

type AssetWithdrawLocalArg

type AssetWithdrawLocalArg struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
	Asset     Asset     `codec:"asset" json:"asset"`
}

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"`
	IsAuthorized bool   `codec:"isAuthorized" json:"isAuthorized"`
}

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 BatchLocalArg

type BatchLocalArg struct {
	BatchID     string            `codec:"batchID" json:"batchID"`
	TimeoutSecs int               `codec:"timeoutSecs" json:"timeoutSecs"`
	Payments    []BatchPaymentArg `codec:"payments" json:"payments"`
	UseMulti    bool              `codec:"useMulti" json:"useMulti"`
}

type BatchPaymentArg

type BatchPaymentArg struct {
	Recipient string `codec:"recipient" json:"recipient"`
	Amount    string `codec:"amount" json:"amount"`
	Message   string `codec:"message" json:"message"`
}

func (BatchPaymentArg) DeepCopy

func (o BatchPaymentArg) DeepCopy() BatchPaymentArg

type BatchPaymentError

type BatchPaymentError struct {
	Message string `codec:"message" json:"message"`
	Code    int    `codec:"code" json:"code"`
}

func (BatchPaymentError) DeepCopy

func (o BatchPaymentError) DeepCopy() BatchPaymentError

type BatchPaymentResult

type BatchPaymentResult struct {
	Username          string             `codec:"username" json:"username"`
	StartTime         TimeMs             `codec:"startTime" json:"startTime"`
	SubmittedTime     TimeMs             `codec:"submittedTime" json:"submittedTime"`
	EndTime           TimeMs             `codec:"endTime" json:"endTime"`
	TxID              TransactionID      `codec:"txID" json:"txID"`
	Status            PaymentStatus      `codec:"status" json:"status"`
	StatusDescription string             `codec:"statusDescription" json:"statusDescription"`
	Error             *BatchPaymentError `codec:"error,omitempty" json:"error,omitempty"`
}

func (BatchPaymentResult) DeepCopy

type BatchResultLocal

type BatchResultLocal struct {
	StartTime              TimeMs               `codec:"startTime" json:"startTime"`
	PreparedTime           TimeMs               `codec:"preparedTime" json:"preparedTime"`
	AllSubmittedTime       TimeMs               `codec:"allSubmittedTime" json:"allSubmittedTime"`
	AllCompleteTime        TimeMs               `codec:"allCompleteTime" json:"allCompleteTime"`
	EndTime                TimeMs               `codec:"endTime" json:"endTime"`
	Payments               []BatchPaymentResult `codec:"payments" json:"payments"`
	OverallDurationMs      TimeMs               `codec:"overallDurationMs" json:"overallDurationMs"`
	PrepareDurationMs      TimeMs               `codec:"prepareDurationMs" json:"prepareDurationMs"`
	SubmitDurationMs       TimeMs               `codec:"submitDurationMs" json:"submitDurationMs"`
	WaitPaymentsDurationMs TimeMs               `codec:"waitPaymentsDurationMs" json:"waitPaymentsDurationMs"`
	WaitChatDurationMs     TimeMs               `codec:"waitChatDurationMs" json:"waitChatDurationMs"`
	CountSuccess           int                  `codec:"countSuccess" json:"countSuccess"`
	CountDirect            int                  `codec:"countDirect" json:"countDirect"`
	CountRelay             int                  `codec:"countRelay" json:"countRelay"`
	CountError             int                  `codec:"countError" json:"countError"`
	CountPending           int                  `codec:"countPending" json:"countPending"`
	AvgDurationMs          TimeMs               `codec:"avgDurationMs" json:"avgDurationMs"`
	AvgSuccessDurationMs   TimeMs               `codec:"avgSuccessDurationMs" json:"avgSuccessDurationMs"`
	AvgDirectDurationMs    TimeMs               `codec:"avgDirectDurationMs" json:"avgDirectDurationMs"`
	AvgRelayDurationMs     TimeMs               `codec:"avgRelayDurationMs" json:"avgRelayDurationMs"`
	AvgErrorDurationMs     TimeMs               `codec:"avgErrorDurationMs" json:"avgErrorDurationMs"`
}

func (BatchResultLocal) DeepCopy

func (o BatchResultLocal) DeepCopy() BatchResultLocal

type BuildPaymentID

type BuildPaymentID string

func (BuildPaymentID) DeepCopy

func (o BuildPaymentID) DeepCopy() BuildPaymentID

func (BuildPaymentID) Eq

func (b BuildPaymentID) Eq(other BuildPaymentID) bool

func (BuildPaymentID) IsNil

func (b BuildPaymentID) IsNil() bool

func (BuildPaymentID) String

func (b BuildPaymentID) String() string

type BuildPaymentLocalArg

type BuildPaymentLocalArg struct {
	SessionID          int                  `codec:"sessionID" json:"sessionID"`
	Bid                BuildPaymentID       `codec:"bid" json:"bid"`
	From               AccountID            `codec:"from" json:"from"`
	FromPrimaryAccount bool                 `codec:"fromPrimaryAccount" json:"fromPrimaryAccount"`
	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 {
	ReadyToReview       bool              `codec:"readyToReview" json:"readyToReview"`
	From                AccountID         `codec:"from" json:"from"`
	ToErrMsg            string            `codec:"toErrMsg" json:"toErrMsg"`
	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"`
	WorthAmount         string            `codec:"worthAmount" json:"worthAmount"`
	WorthCurrency       string            `codec:"worthCurrency" json:"worthCurrency"`
	DisplayAmountXLM    string            `codec:"displayAmountXLM" json:"displayAmountXLM"`
	DisplayAmountFiat   string            `codec:"displayAmountFiat" json:"displayAmountFiat"`
	SendingIntentionXLM bool              `codec:"sendingIntentionXLM" json:"sendingIntentionXLM"`
	AmountAvailable     string            `codec:"amountAvailable" json:"amountAvailable"`
	Banners             []SendBannerLocal `codec:"banners" json:"banners"`
}

func (BuildPaymentResLocal) DeepCopy

type BuildRequestLocalArg

type BuildRequestLocalArg struct {
	SessionID  int                  `codec:"sessionID" json:"sessionID"`
	To         string               `codec:"to" json:"to"`
	Amount     string               `codec:"amount" json:"amount"`
	Asset      *Asset               `codec:"asset,omitempty" json:"asset,omitempty"`
	Currency   *OutsideCurrencyCode `codec:"currency,omitempty" json:"currency,omitempty"`
	SecretNote string               `codec:"secretNote" json:"secretNote"`
}

type BuildRequestResLocal

type BuildRequestResLocal struct {
	ReadyToRequest      bool              `codec:"readyToRequest" json:"readyToRequest"`
	ToErrMsg            string            `codec:"toErrMsg" json:"toErrMsg"`
	AmountErrMsg        string            `codec:"amountErrMsg" json:"amountErrMsg"`
	SecretNoteErrMsg    string            `codec:"secretNoteErrMsg" json:"secretNoteErrMsg"`
	WorthDescription    string            `codec:"worthDescription" json:"worthDescription"`
	WorthInfo           string            `codec:"worthInfo" json:"worthInfo"`
	DisplayAmountXLM    string            `codec:"displayAmountXLM" json:"displayAmountXLM"`
	DisplayAmountFiat   string            `codec:"displayAmountFiat" json:"displayAmountFiat"`
	SendingIntentionXLM bool              `codec:"sendingIntentionXLM" json:"sendingIntentionXLM"`
	Banners             []SendBannerLocal `codec:"banners" json:"banners"`
}

func (BuildRequestResLocal) DeepCopy

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"`
	AccountBundles map[AccountID]AccountBundle `codec:"accountBundles" json:"accountBundles"`
}

func (Bundle) CheckInvariants added in v1.0.47

func (r Bundle) CheckInvariants() error

CheckInvariants checks that the Bundle satisfies 1. No duplicate account IDs 2. Exactly one primary account 3. Non-negative revision numbers 4. Account Bundle accountIDs are consistent 5. every account in AccountBundles is also in Accounts

func (Bundle) DeepCopy added in v1.0.47

func (o Bundle) DeepCopy() Bundle

func (Bundle) Lookup

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

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"`
	Name               string         `codec:"name" json:"name"`
	AcctBundleRevision BundleRevision `codec:"acctBundleRevision" json:"acctBundleRevision"`
	EncAcctBundleHash  Hash           `codec:"encAcctBundleHash" json:"encAcctBundleHash"`
}

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 BundleSecretEntryV2

type BundleSecretEntryV2 struct {
	AccountID AccountID `codec:"accountID" json:"accountID"`
	Name      string    `codec:"name" json:"name"`
}

func (BundleSecretEntryV2) DeepCopy

type BundleSecretUnsupported

type BundleSecretUnsupported struct {
}

func (BundleSecretUnsupported) DeepCopy

type BundleSecretV2

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

func (BundleSecretV2) DeepCopy

func (o BundleSecretV2) DeepCopy() BundleSecretV2

type BundleSecretVersioned added in v1.0.47

type BundleSecretVersioned struct {
	Version__ BundleVersion            `codec:"version" json:"version"`
	V1__      *BundleSecretUnsupported `codec:"v1,omitempty" json:"v1,omitempty"`
	V2__      *BundleSecretV2          `codec:"v2,omitempty" json:"v2,omitempty"`
	V3__      *BundleSecretUnsupported `codec:"v3,omitempty" json:"v3,omitempty"`
	V4__      *BundleSecretUnsupported `codec:"v4,omitempty" json:"v4,omitempty"`
	V5__      *BundleSecretUnsupported `codec:"v5,omitempty" json:"v5,omitempty"`
	V6__      *BundleSecretUnsupported `codec:"v6,omitempty" json:"v6,omitempty"`
	V7__      *BundleSecretUnsupported `codec:"v7,omitempty" json:"v7,omitempty"`
	V8__      *BundleSecretUnsupported `codec:"v8,omitempty" json:"v8,omitempty"`
	V9__      *BundleSecretUnsupported `codec:"v9,omitempty" json:"v9,omitempty"`
	V10__     *BundleSecretUnsupported `codec:"v10,omitempty" json:"v10,omitempty"`
}

func NewBundleSecretVersionedWithV1 added in v1.0.47

func NewBundleSecretVersionedWithV1(v BundleSecretUnsupported) BundleSecretVersioned

func NewBundleSecretVersionedWithV2

func NewBundleSecretVersionedWithV2(v BundleSecretV2) BundleSecretVersioned

func (BundleSecretVersioned) DeepCopy added in v1.0.47

func (BundleSecretVersioned) V1 added in v1.0.47

func (BundleSecretVersioned) V10

func (BundleSecretVersioned) V2

func (BundleSecretVersioned) V3

func (BundleSecretVersioned) V4

func (BundleSecretVersioned) V5

func (BundleSecretVersioned) V6

func (BundleSecretVersioned) V7

func (BundleSecretVersioned) V8

func (BundleSecretVersioned) V9

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
	BundleVersion_V2  BundleVersion = 2
	BundleVersion_V3  BundleVersion = 3
	BundleVersion_V4  BundleVersion = 4
	BundleVersion_V5  BundleVersion = 5
	BundleVersion_V6  BundleVersion = 6
	BundleVersion_V7  BundleVersion = 7
	BundleVersion_V8  BundleVersion = 8
	BundleVersion_V9  BundleVersion = 9
	BundleVersion_V10 BundleVersion = 10
)

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 BundleVisibleEntryV2

type BundleVisibleEntryV2 struct {
	AccountID          AccountID      `codec:"accountID" json:"accountID"`
	Mode               AccountMode    `codec:"mode" json:"mode"`
	IsPrimary          bool           `codec:"isPrimary" json:"isPrimary"`
	AcctBundleRevision BundleRevision `codec:"acctBundleRevision" json:"acctBundleRevision"`
	EncAcctBundleHash  Hash           `codec:"encAcctBundleHash" json:"encAcctBundleHash"`
}

func (BundleVisibleEntryV2) DeepCopy

type BundleVisibleV2

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

func (BundleVisibleV2) DeepCopy

func (o BundleVisibleV2) DeepCopy() BundleVisibleV2

type CancelPaymentLocalArg

type CancelPaymentLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	PaymentID PaymentID `codec:"paymentID" json:"paymentID"`
}

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 ChangeTrustlineArg

type ChangeTrustlineArg struct {
	Caller            keybase1.UserVersion `codec:"caller" json:"caller"`
	SignedTransaction string               `codec:"signedTransaction" json:"signedTransaction"`
}

type ChangeTrustlineLimitLocalArg

type ChangeTrustlineLimitLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	AccountID AccountID `codec:"accountID" json:"accountID"`
	Trustline Trustline `codec:"trustline" json:"trustline"`
	Limit     string    `codec:"limit" json:"limit"`
}

type ChangeWalletAccountNameLocalArg

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

type ChatConversationID

type ChatConversationID string

func NewChatConversationID

func NewChatConversationID(b []byte) *ChatConversationID

func (ChatConversationID) DeepCopy

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

func (*ClaimSummary) ToPaymentStatus

func (c *ClaimSummary) ToPaymentStatus() PaymentStatus

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 DeleteTrustlineLocalArg

type DeleteTrustlineLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	AccountID AccountID `codec:"accountID" json:"accountID"`
	Trustline Trustline `codec:"trustline" json:"trustline"`
}

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"`
	IncludeMulti    bool                 `codec:"includeMulti" json:"includeMulti"`
	IncludeAdvanced bool                 `codec:"includeAdvanced" json:"includeAdvanced"`
}

type DetailsPlusPayments

type DetailsPlusPayments struct {
	Details         AccountDetails   `codec:"details" json:"details"`
	RecentPayments  PaymentsPage     `codec:"recentPayments" json:"recentPayments"`
	PendingPayments []PaymentSummary `codec:"pendingPayments" json:"pendingPayments"`
}

func (DetailsPlusPayments) DeepCopy

type DetailsPlusPaymentsArg

type DetailsPlusPaymentsArg struct {
	Caller          keybase1.UserVersion `codec:"caller" json:"caller"`
	AccountID       AccountID            `codec:"accountID" json:"accountID"`
	IncludeAdvanced bool                 `codec:"includeAdvanced" json:"includeAdvanced"`
}

type DirectOp

type DirectOp struct {
	NoteB64 string `codec:"noteB64" json:"noteB64"`
}

func (DirectOp) DeepCopy

func (o DirectOp) DeepCopy() DirectOp

type EncryptedAccountBundle

type EncryptedAccountBundle 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 (EncryptedAccountBundle) DeepCopy

type EncryptedBundle added in v1.0.47

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

func (EncryptedBundle) DeepCopy added in v1.0.47

func (o EncryptedBundle) DeepCopy() EncryptedBundle

type EncryptedNote

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

func (EncryptedNote) DeepCopy

func (o EncryptedNote) DeepCopy() EncryptedNote

type EncryptedRelaySecret added in v1.0.48

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

func (EncryptedRelaySecret) DeepCopy added in v1.0.48

type ExchangeRateLocalArg added in v1.0.48

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

type ExportSecretKeyLocalArg added in v1.0.48

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

type FindPaymentPathArg

type FindPaymentPathArg struct {
	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
	Query  PaymentPathQuery     `codec:"query" json:"query"`
}

type FindPaymentPathLocalArg

type FindPaymentPathLocalArg struct {
	From             AccountID `codec:"from" json:"from"`
	To               string    `codec:"to" json:"to"`
	SourceAsset      Asset     `codec:"sourceAsset" json:"sourceAsset"`
	DestinationAsset Asset     `codec:"destinationAsset" json:"destinationAsset"`
	Amount           string    `codec:"amount" json:"amount"`
}

type FormatLocalCurrencyStringArg

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

type FuzzyAssetSearchArg

type FuzzyAssetSearchArg struct {
	Caller       keybase1.UserVersion `codec:"caller" json:"caller"`
	SearchString string               `codec:"searchString" json:"searchString"`
}

type FuzzyAssetSearchLocalArg

type FuzzyAssetSearchLocalArg struct {
	SessionID    int    `codec:"sessionID" json:"sessionID"`
	SearchString string `codec:"searchString" json:"searchString"`
}

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,omitempty" json:"accountID,omitempty"`
}

type GetGenericPaymentDetailsLocalArg

type GetGenericPaymentDetailsLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	Id        PaymentID `codec:"id" json:"id"`
}

type GetInflationDestinationLocalArg

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

type GetPartnerUrlsLocalArg

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

type GetPaymentDetailsLocalArg

type GetPaymentDetailsLocalArg struct {
	SessionID int       `codec:"sessionID" json:"sessionID"`
	AccountID AccountID `codec:"accountID" json:"accountID"`
	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 GetPredefinedInflationDestinationsLocalArg

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

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 GetStaticConfigLocalArg

type GetStaticConfigLocalArg struct {
}

type GetTrustlinesForRecipientLocalArg

type GetTrustlinesForRecipientLocalArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	Recipient string `codec:"recipient" json:"recipient"`
}

type GetTrustlinesLocalArg

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

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 GregorClient

type GregorClient struct {
	Cli rpc.GenericClient
}

type GregorInterface

type GregorInterface interface {
}

type HasAcceptedDisclaimerLocalArg

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

type Hash added in v1.0.47

type Hash []byte

func (Hash) DeepCopy added in v1.0.47

func (o Hash) DeepCopy() Hash

type ImportSecretKeyLocalArg added in v1.0.47

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

type InflationDestinationResultLocal

type InflationDestinationResultLocal struct {
	Destination      *AccountID                      `codec:"destination,omitempty" json:"destination,omitempty"`
	KnownDestination *PredefinedInflationDestination `codec:"knownDestination,omitempty" json:"knownDestination,omitempty"`
	Self             bool                            `codec:"self" json:"self"`
}

func (InflationDestinationResultLocal) DeepCopy

type InflationDestinationTag

type InflationDestinationTag string

func (InflationDestinationTag) DeepCopy

type IsAccountMobileOnlyLocalArg

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

type IsMasterKeyActiveArg added in v1.0.48

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 ListPopularAssetsArg

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

type ListPopularAssetsLocalArg

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

type LocalClient

type LocalClient struct {
	Cli rpc.GenericClient
}

func (LocalClient) AcceptDisclaimerLocal

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

func (LocalClient) AddTrustlineLocal

func (c LocalClient) AddTrustlineLocal(ctx context.Context, __arg AddTrustlineLocalArg) (err error)

func (LocalClient) AirdropDetailsLocal

func (c LocalClient) AirdropDetailsLocal(ctx context.Context, sessionID int) (res AirdropDetails, err error)

func (LocalClient) AirdropRegisterLocal

func (c LocalClient) AirdropRegisterLocal(ctx context.Context, __arg AirdropRegisterLocalArg) (err error)

func (LocalClient) AirdropStatusLocal

func (c LocalClient) AirdropStatusLocal(ctx context.Context, sessionID int) (res AirdropStatus, err error)

func (LocalClient) ApprovePathURILocal

func (c LocalClient) ApprovePathURILocal(ctx context.Context, __arg ApprovePathURILocalArg) (res TransactionID, err error)

func (LocalClient) ApprovePayURILocal

func (c LocalClient) ApprovePayURILocal(ctx context.Context, __arg ApprovePayURILocalArg) (res TransactionID, err error)

func (LocalClient) ApproveTxURILocal

func (c LocalClient) ApproveTxURILocal(ctx context.Context, __arg ApproveTxURILocalArg) (res TransactionID, err error)

func (LocalClient) AssetDepositLocal

func (c LocalClient) AssetDepositLocal(ctx context.Context, __arg AssetDepositLocalArg) (res AssetActionResultLocal, err error)

func (LocalClient) AssetWithdrawLocal

func (c LocalClient) AssetWithdrawLocal(ctx context.Context, __arg AssetWithdrawLocalArg) (res AssetActionResultLocal, err error)

func (LocalClient) BalancesLocal

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

func (LocalClient) BatchLocal

func (c LocalClient) BatchLocal(ctx context.Context, __arg BatchLocalArg) (res BatchResultLocal, err error)

func (LocalClient) BuildPaymentLocal

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

func (LocalClient) BuildRequestLocal

func (c LocalClient) BuildRequestLocal(ctx context.Context, __arg BuildRequestLocalArg) (res BuildRequestResLocal, err error)

func (LocalClient) CancelPaymentLocal

func (c LocalClient) CancelPaymentLocal(ctx context.Context, __arg CancelPaymentLocalArg) (res RelayClaimResult, 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) (res CurrencyLocal, err error)

func (LocalClient) ChangeTrustlineLimitLocal

func (c LocalClient) ChangeTrustlineLimitLocal(ctx context.Context, __arg ChangeTrustlineLimitLocalArg) (err error)

func (LocalClient) ChangeWalletAccountNameLocal

func (c LocalClient) ChangeWalletAccountNameLocal(ctx context.Context, __arg ChangeWalletAccountNameLocalArg) (res WalletAccountLocal, 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) DeleteTrustlineLocal

func (c LocalClient) DeleteTrustlineLocal(ctx context.Context, __arg DeleteTrustlineLocalArg) (err error)

func (LocalClient) DeleteWalletAccountLocal

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

func (LocalClient) ExchangeRateLocal added in v1.0.48

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

func (LocalClient) ExportSecretKeyLocal added in v1.0.48

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

func (LocalClient) FindPaymentPathLocal

func (c LocalClient) FindPaymentPathLocal(ctx context.Context, __arg FindPaymentPathLocalArg) (res PaymentPathLocal, err error)

func (LocalClient) FormatLocalCurrencyString

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

func (LocalClient) FuzzyAssetSearchLocal

func (c LocalClient) FuzzyAssetSearchLocal(ctx context.Context, __arg FuzzyAssetSearchLocalArg) (res []Asset, 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) GetGenericPaymentDetailsLocal

func (c LocalClient) GetGenericPaymentDetailsLocal(ctx context.Context, __arg GetGenericPaymentDetailsLocalArg) (res PaymentDetailsLocal, err error)

func (LocalClient) GetInflationDestinationLocal

func (c LocalClient) GetInflationDestinationLocal(ctx context.Context, __arg GetInflationDestinationLocalArg) (res InflationDestinationResultLocal, err error)

func (LocalClient) GetPartnerUrlsLocal

func (c LocalClient) GetPartnerUrlsLocal(ctx context.Context, sessionID int) (res []PartnerUrl, 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) GetPredefinedInflationDestinationsLocal

func (c LocalClient) GetPredefinedInflationDestinationsLocal(ctx context.Context, sessionID int) (res []PredefinedInflationDestination, 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) GetStaticConfigLocal

func (c LocalClient) GetStaticConfigLocal(ctx context.Context) (res StaticConfig, err error)

func (LocalClient) GetTrustlinesForRecipientLocal

func (c LocalClient) GetTrustlinesForRecipientLocal(ctx context.Context, __arg GetTrustlinesForRecipientLocalArg) (res RecipientTrustlinesLocal, err error)

func (LocalClient) GetTrustlinesLocal

func (c LocalClient) GetTrustlinesLocal(ctx context.Context, __arg GetTrustlinesLocalArg) (res []Balance, 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) HasAcceptedDisclaimerLocal

func (c LocalClient) HasAcceptedDisclaimerLocal(ctx context.Context, sessionID int) (res bool, err error)

func (LocalClient) ImportSecretKeyLocal added in v1.0.47

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

func (c LocalClient) ListPopularAssetsLocal(ctx context.Context, sessionID int) (res AssetListResult, 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 added in v1.0.47

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

func (LocalClient) PaymentDetailCLILocal added in v1.0.48

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

func (LocalClient) RecentPaymentsCLILocal added in v1.0.48

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

func (LocalClient) ReviewPaymentLocal

func (c LocalClient) ReviewPaymentLocal(ctx context.Context, __arg ReviewPaymentLocalArg) (err error)

func (LocalClient) SendCLILocal

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

func (LocalClient) SendPathCLILocal

func (c LocalClient) SendPathCLILocal(ctx context.Context, __arg SendPathCLILocalArg) (res SendResultCLILocal, err error)

func (LocalClient) SendPathLocal

func (c LocalClient) SendPathLocal(ctx context.Context, __arg SendPathLocalArg) (res SendPaymentResLocal, err error)

func (LocalClient) SendPaymentLocal

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

func (LocalClient) SetAccountAllDevicesLocal

func (c LocalClient) SetAccountAllDevicesLocal(ctx context.Context, __arg SetAccountAllDevicesLocalArg) (err error)

func (LocalClient) SetAccountMobileOnlyLocal

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

func (LocalClient) SetDisplayCurrency added in v1.0.48

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

func (LocalClient) SetInflationDestinationLocal

func (c LocalClient) SetInflationDestinationLocal(ctx context.Context, __arg SetInflationDestinationLocalArg) (err error)

func (LocalClient) SetWalletAccountAsDefaultLocal

func (c LocalClient) SetWalletAccountAsDefaultLocal(ctx context.Context, __arg SetWalletAccountAsDefaultLocalArg) (res []WalletAccountLocal, err error)

func (LocalClient) SignTransactionXdrLocal

func (c LocalClient) SignTransactionXdrLocal(ctx context.Context, __arg SignTransactionXdrLocalArg) (res SignXdrResult, err error)

func (LocalClient) StartBuildPaymentLocal

func (c LocalClient) StartBuildPaymentLocal(ctx context.Context, sessionID int) (res BuildPaymentID, err error)

func (LocalClient) StopBuildPaymentLocal

func (c LocalClient) StopBuildPaymentLocal(ctx context.Context, __arg StopBuildPaymentLocalArg) (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) ValidateStellarURILocal

func (c LocalClient) ValidateStellarURILocal(ctx context.Context, __arg ValidateStellarURILocalArg) (res ValidateStellarURIResultLocal, 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)
	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)
	GetGenericPaymentDetailsLocal(context.Context, GetGenericPaymentDetailsLocalArg) (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) (WalletAccountLocal, error)
	SetWalletAccountAsDefaultLocal(context.Context, SetWalletAccountAsDefaultLocalArg) ([]WalletAccountLocal, error)
	DeleteWalletAccountLocal(context.Context, DeleteWalletAccountLocalArg) error
	LinkNewWalletAccountLocal(context.Context, LinkNewWalletAccountLocalArg) (AccountID, error)
	CreateWalletAccountLocal(context.Context, CreateWalletAccountLocalArg) (AccountID, error)
	ChangeDisplayCurrencyLocal(context.Context, ChangeDisplayCurrencyLocalArg) (CurrencyLocal, error)
	GetDisplayCurrencyLocal(context.Context, GetDisplayCurrencyLocalArg) (CurrencyLocal, error)
	HasAcceptedDisclaimerLocal(context.Context, int) (bool, error)
	AcceptDisclaimerLocal(context.Context, int) error
	GetWalletAccountPublicKeyLocal(context.Context, GetWalletAccountPublicKeyLocalArg) (string, error)
	GetWalletAccountSecretKeyLocal(context.Context, GetWalletAccountSecretKeyLocalArg) (SecretKey, error)
	GetSendAssetChoicesLocal(context.Context, GetSendAssetChoicesLocalArg) ([]SendAssetChoiceLocal, error)
	StartBuildPaymentLocal(context.Context, int) (BuildPaymentID, error)
	StopBuildPaymentLocal(context.Context, StopBuildPaymentLocalArg) error
	BuildPaymentLocal(context.Context, BuildPaymentLocalArg) (BuildPaymentResLocal, error)
	ReviewPaymentLocal(context.Context, ReviewPaymentLocalArg) error
	SendPaymentLocal(context.Context, SendPaymentLocalArg) (SendPaymentResLocal, error)
	SendPathLocal(context.Context, SendPathLocalArg) (SendPaymentResLocal, error)
	BuildRequestLocal(context.Context, BuildRequestLocalArg) (BuildRequestResLocal, error)
	GetRequestDetailsLocal(context.Context, GetRequestDetailsLocalArg) (RequestDetailsLocal, error)
	CancelRequestLocal(context.Context, CancelRequestLocalArg) error
	MakeRequestLocal(context.Context, MakeRequestLocalArg) (KeybaseRequestID, error)
	SetAccountMobileOnlyLocal(context.Context, SetAccountMobileOnlyLocalArg) error
	SetAccountAllDevicesLocal(context.Context, SetAccountAllDevicesLocalArg) error
	IsAccountMobileOnlyLocal(context.Context, IsAccountMobileOnlyLocalArg) (bool, error)
	CancelPaymentLocal(context.Context, CancelPaymentLocalArg) (RelayClaimResult, error)
	GetPredefinedInflationDestinationsLocal(context.Context, int) ([]PredefinedInflationDestination, error)
	SetInflationDestinationLocal(context.Context, SetInflationDestinationLocalArg) error
	GetInflationDestinationLocal(context.Context, GetInflationDestinationLocalArg) (InflationDestinationResultLocal, error)
	AirdropDetailsLocal(context.Context, int) (AirdropDetails, error)
	AirdropStatusLocal(context.Context, int) (AirdropStatus, error)
	AirdropRegisterLocal(context.Context, AirdropRegisterLocalArg) error
	FuzzyAssetSearchLocal(context.Context, FuzzyAssetSearchLocalArg) ([]Asset, error)
	ListPopularAssetsLocal(context.Context, int) (AssetListResult, error)
	AddTrustlineLocal(context.Context, AddTrustlineLocalArg) error
	DeleteTrustlineLocal(context.Context, DeleteTrustlineLocalArg) error
	ChangeTrustlineLimitLocal(context.Context, ChangeTrustlineLimitLocalArg) error
	GetTrustlinesLocal(context.Context, GetTrustlinesLocalArg) ([]Balance, error)
	GetTrustlinesForRecipientLocal(context.Context, GetTrustlinesForRecipientLocalArg) (RecipientTrustlinesLocal, error)
	FindPaymentPathLocal(context.Context, FindPaymentPathLocalArg) (PaymentPathLocal, error)
	AssetDepositLocal(context.Context, AssetDepositLocalArg) (AssetActionResultLocal, error)
	AssetWithdrawLocal(context.Context, AssetWithdrawLocalArg) (AssetActionResultLocal, error)
	BalancesLocal(context.Context, AccountID) ([]Balance, error)
	SendCLILocal(context.Context, SendCLILocalArg) (SendResultCLILocal, error)
	SendPathCLILocal(context.Context, SendPathCLILocalArg) (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)
	BatchLocal(context.Context, BatchLocalArg) (BatchResultLocal, error)
	ValidateStellarURILocal(context.Context, ValidateStellarURILocalArg) (ValidateStellarURIResultLocal, error)
	ApproveTxURILocal(context.Context, ApproveTxURILocalArg) (TransactionID, error)
	ApprovePayURILocal(context.Context, ApprovePayURILocalArg) (TransactionID, error)
	ApprovePathURILocal(context.Context, ApprovePathURILocalArg) (TransactionID, error)
	GetPartnerUrlsLocal(context.Context, int) ([]PartnerUrl, error)
	SignTransactionXdrLocal(context.Context, SignTransactionXdrLocalArg) (SignXdrResult, error)
	GetStaticConfigLocal(context.Context) (StaticConfig, 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 NetworkOptions

type NetworkOptions struct {
	BaseFee uint64 `codec:"baseFee" json:"baseFee"`
}

func (NetworkOptions) DeepCopy

func (o NetworkOptions) DeepCopy() NetworkOptions

type NetworkOptionsArg

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

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 NotifyClient

type NotifyClient struct {
	Cli rpc.GenericClient
}

func (NotifyClient) AccountDetailsUpdate

func (c NotifyClient) AccountDetailsUpdate(ctx context.Context, __arg AccountDetailsUpdateArg) (err error)

func (NotifyClient) AccountsUpdate

func (c NotifyClient) AccountsUpdate(ctx context.Context, accounts []WalletAccountLocal) (err error)

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

func (c NotifyClient) PendingPaymentsUpdate(ctx context.Context, __arg PendingPaymentsUpdateArg) (err error)

func (NotifyClient) RecentPaymentsUpdate

func (c NotifyClient) RecentPaymentsUpdate(ctx context.Context, __arg RecentPaymentsUpdateArg) (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
	AccountDetailsUpdate(context.Context, AccountDetailsUpdateArg) error
	AccountsUpdate(context.Context, []WalletAccountLocal) error
	PendingPaymentsUpdate(context.Context, PendingPaymentsUpdateArg) error
	RecentPaymentsUpdate(context.Context, RecentPaymentsUpdateArg) error
}

type OutsideCurrencyCode added in v1.0.48

type OutsideCurrencyCode string

func (OutsideCurrencyCode) DeepCopy added in v1.0.48

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 added in v1.0.48

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

func (OutsideExchangeRate) DeepCopy added in v1.0.48

type OwnAccountCLILocal

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

func (OwnAccountCLILocal) DeepCopy

type OwnAccountLocalArg added in v1.0.47

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 PartnerUrl

type PartnerUrl struct {
	Url          string `codec:"url" json:"url"`
	Title        string `codec:"title" json:"title"`
	Description  string `codec:"description" json:"description"`
	IconFilename string `codec:"iconFilename" json:"icon_filename"`
	AdminOnly    bool   `codec:"adminOnly" json:"admin_only"`
	Extra        string `codec:"extra" json:"extra"`
}

func (PartnerUrl) DeepCopy

func (o PartnerUrl) DeepCopy() PartnerUrl

type PathPaymentPost

type PathPaymentPost struct {
	FromDeviceID       keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
	To                 *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
	NoteB64            string                `codec:"noteB64" json:"noteB64"`
	SignedTransaction  string                `codec:"signedTransaction" json:"signedTransaction"`
	QuickReturn        bool                  `codec:"quickReturn" json:"quickReturn"`
	ChatConversationID *ChatConversationID   `codec:"chatConversationID,omitempty" json:"chatConversationID,omitempty"`
}

func (PathPaymentPost) DeepCopy

func (o PathPaymentPost) DeepCopy() PathPaymentPost

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"`
	SourceAmountMax       string        `codec:"sourceAmountMax" json:"sourceAmountMax"`
	SourceAmountActual    string        `codec:"sourceAmountActual" json:"sourceAmountActual"`
	SourceAsset           Asset         `codec:"sourceAsset" json:"sourceAsset"`
	IsAdvanced            bool          `codec:"isAdvanced" json:"isAdvanced"`
	SummaryAdvanced       string        `codec:"summaryAdvanced" json:"summaryAdvanced"`
	Operations            []string      `codec:"operations" json:"operations"`
	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"`
	Unread                bool          `codec:"unread" json:"unread"`
	PublicNote            string        `codec:"publicNote" json:"publicNote"`
	PublicNoteType        string        `codec:"publicNoteType" json:"publicNoteType"`
	FeeChargedDescription string        `codec:"feeChargedDescription" json:"feeChargedDescription"`
}

func (PaymentCLILocal) DeepCopy added in v1.0.48

func (o PaymentCLILocal) DeepCopy() PaymentCLILocal

type PaymentDetailCLILocalArg added in v1.0.48

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"`
	ExternalTxURL    string         `codec:"externalTxURL" json:"externalTxURL"`
	FeeCharged       string         `codec:"feeCharged" json:"feeCharged"`
	PathIntermediate []Asset        `codec:"pathIntermediate" json:"pathIntermediate"`
}

func (PaymentDetails) DeepCopy

func (o PaymentDetails) DeepCopy() PaymentDetails

type PaymentDetailsArg

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

type PaymentDetailsLocal

type PaymentDetailsLocal struct {
	Summary PaymentLocal            `codec:"summary" json:"summary"`
	Details PaymentDetailsOnlyLocal `codec:"details" json:"details"`
}

func (PaymentDetailsLocal) DeepCopy

type PaymentDetailsOnlyLocal

type PaymentDetailsOnlyLocal struct {
	PublicNote            string  `codec:"publicNote" json:"publicNote"`
	PublicNoteType        string  `codec:"publicNoteType" json:"publicNoteType"`
	ExternalTxURL         string  `codec:"externalTxURL" json:"externalTxURL"`
	FeeChargedDescription string  `codec:"feeChargedDescription" json:"feeChargedDescription"`
	PathIntermediate      []Asset `codec:"pathIntermediate" json:"pathIntermediate"`
}

func (PaymentDetailsOnlyLocal) DeepCopy

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"`
	QuickReturn        bool                  `codec:"quickReturn" json:"quickReturn"`
	ChatConversationID *ChatConversationID   `codec:"chatConversationID,omitempty" json:"chatConversationID,omitempty"`
	BatchID            string                `codec:"batchID" json:"batchID"`
}

func (PaymentDirectPost) DeepCopy added in v1.0.48

func (o PaymentDirectPost) DeepCopy() PaymentDirectPost

type PaymentID

type PaymentID string

func NewPaymentID

func NewPaymentID(txid TransactionID) PaymentID

func (PaymentID) DeepCopy

func (o PaymentID) DeepCopy() PaymentID

func (PaymentID) String

func (p PaymentID) String() string

type PaymentLocal

type PaymentLocal 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"`
	WorthAtSendTime     string                 `codec:"worthAtSendTime" json:"worthAtSendTime"`
	IssuerDescription   string                 `codec:"issuerDescription" json:"issuerDescription"`
	IssuerAccountID     *AccountID             `codec:"issuerAccountID,omitempty" json:"issuerAccountID,omitempty"`
	FromType            ParticipantType        `codec:"fromType" json:"fromType"`
	ToType              ParticipantType        `codec:"toType" json:"toType"`
	AssetCode           string                 `codec:"assetCode" json:"assetCode"`
	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"`
	OriginalToAssertion string                 `codec:"originalToAssertion" json:"originalToAssertion"`
	Note                string                 `codec:"note" json:"note"`
	NoteErr             string                 `codec:"noteErr" json:"noteErr"`
	SourceAmountMax     string                 `codec:"sourceAmountMax" json:"sourceAmountMax"`
	SourceAmountActual  string                 `codec:"sourceAmountActual" json:"sourceAmountActual"`
	SourceAsset         Asset                  `codec:"sourceAsset" json:"sourceAsset"`
	SourceConvRate      string                 `codec:"sourceConvRate" json:"sourceConvRate"`
	IsAdvanced          bool                   `codec:"isAdvanced" json:"isAdvanced"`
	SummaryAdvanced     string                 `codec:"summaryAdvanced" json:"summaryAdvanced"`
	Operations          []string               `codec:"operations" json:"operations"`
	Unread              bool                   `codec:"unread" json:"unread"`
	BatchID             string                 `codec:"batchID" json:"batchID"`
	FromAirdrop         bool                   `codec:"fromAirdrop" json:"fromAirdrop"`
	IsInflation         bool                   `codec:"isInflation" json:"isInflation"`
	InflationSource     *string                `codec:"inflationSource,omitempty" json:"inflationSource,omitempty"`
	Trustline           *PaymentTrustlineLocal `codec:"trustline,omitempty" json:"trustline,omitempty"`
}

func NewPaymentLocal

func NewPaymentLocal(txid TransactionID, ctime TimeMs) *PaymentLocal

func (PaymentLocal) DeepCopy

func (o PaymentLocal) DeepCopy() PaymentLocal

type PaymentMultiPost

type PaymentMultiPost struct {
	FromDeviceID      keybase1.DeviceID `codec:"fromDeviceID" json:"fromDeviceID"`
	SignedTransaction string            `codec:"signedTransaction" json:"signedTransaction"`
	Operations        []PaymentOp       `codec:"operations" json:"operations"`
	BatchID           string            `codec:"batchID" json:"batchID"`
}

func (PaymentMultiPost) DeepCopy

func (o PaymentMultiPost) DeepCopy() PaymentMultiPost

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 PaymentOp

type PaymentOp struct {
	To     *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
	Direct *DirectOp             `codec:"direct,omitempty" json:"direct,omitempty"`
	Relay  *RelayOp              `codec:"relay,omitempty" json:"relay,omitempty"`
}

func (PaymentOp) DeepCopy

func (o PaymentOp) DeepCopy() PaymentOp

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 PaymentPath

type PaymentPath struct {
	SourceAmount              string  `codec:"sourceAmount" json:"sourceAmount"`
	SourceAmountMax           string  `codec:"sourceAmountMax" json:"sourceAmountMax"`
	SourceAsset               Asset   `codec:"sourceAsset" json:"sourceAsset"`
	Path                      []Asset `codec:"path" json:"path"`
	DestinationAmount         string  `codec:"destinationAmount" json:"destinationAmount"`
	DestinationAsset          Asset   `codec:"destinationAsset" json:"destinationAsset"`
	SourceInsufficientBalance string  `codec:"sourceInsufficientBalance" json:"sourceInsufficientBalance"`
}

func (PaymentPath) DeepCopy

func (o PaymentPath) DeepCopy() PaymentPath

type PaymentPathLocal

type PaymentPathLocal struct {
	SourceDisplay      string      `codec:"sourceDisplay" json:"sourceDisplay"`
	SourceMaxDisplay   string      `codec:"sourceMaxDisplay" json:"sourceMaxDisplay"`
	DestinationDisplay string      `codec:"destinationDisplay" json:"destinationDisplay"`
	ExchangeRate       string      `codec:"exchangeRate" json:"exchangeRate"`
	AmountError        string      `codec:"amountError" json:"amountError"`
	DestinationAccount AccountID   `codec:"destinationAccount" json:"destinationAccount"`
	FullPath           PaymentPath `codec:"fullPath" json:"fullPath"`
}

func (PaymentPathLocal) DeepCopy

func (o PaymentPathLocal) DeepCopy() PaymentPathLocal

type PaymentPathQuery

type PaymentPathQuery struct {
	Source           AccountID `codec:"source" json:"source"`
	Destination      AccountID `codec:"destination" json:"destination"`
	SourceAsset      Asset     `codec:"sourceAsset" json:"sourceAsset"`
	DestinationAsset Asset     `codec:"destinationAsset" json:"destinationAsset"`
	Amount           string    `codec:"amount" json:"amount"`
}

func (PaymentPathQuery) DeepCopy

func (o PaymentPathQuery) DeepCopy() PaymentPathQuery

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"`
	QuickReturn        bool                  `codec:"quickReturn" json:"quickReturn"`
	ChatConversationID *ChatConversationID   `codec:"chatConversationID,omitempty" json:"chatConversationID,omitempty"`
	BatchID            string                `codec:"batchID" json:"batchID"`
}

func (PaymentRelayPost) DeepCopy added in v1.0.48

func (o PaymentRelayPost) DeepCopy() PaymentRelayPost

type PaymentResult

type PaymentResult struct {
	SenderAccountID AccountID            `codec:"senderAccountID" json:"senderAccountID"`
	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 PaymentReviewedArg

type PaymentReviewedArg struct {
	SessionID int               `codec:"sessionID" json:"sessionID"`
	Msg       UIPaymentReviewed `codec:"msg" json:"msg"`
}

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
	PaymentStatus_CANCELED  PaymentStatus = 6
)

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

func (p *PaymentSummary) ToDetails() *PaymentDetails

func (*PaymentSummary) TransactionID

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

func (*PaymentSummary) TransactionStatus

func (p *PaymentSummary) TransactionStatus() (TransactionStatus, 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"`
	FromDisplayAmount   string                `codec:"fromDisplayAmount" json:"fromDisplayAmount"`
	FromDisplayCurrency string                `codec:"fromDisplayCurrency" json:"fromDisplayCurrency"`
	ToDisplayAmount     string                `codec:"toDisplayAmount" json:"toDisplayAmount"`
	ToDisplayCurrency   string                `codec:"toDisplayCurrency" json:"toDisplayCurrency"`
	Ctime               TimeMs                `codec:"ctime" json:"ctime"`
	Rtime               TimeMs                `codec:"rtime" json:"rtime"`
	CursorToken         string                `codec:"cursorToken" json:"cursorToken"`
	Unread              bool                  `codec:"unread" json:"unread"`
	FromPrimary         bool                  `codec:"fromPrimary" json:"fromPrimary"`
	BatchID             string                `codec:"batchID" json:"batchID"`
	FromAirdrop         bool                  `codec:"fromAirdrop" json:"fromAirdrop"`
	SourceAmountMax     string                `codec:"sourceAmountMax" json:"sourceAmountMax"`
	SourceAmountActual  string                `codec:"sourceAmountActual" json:"sourceAmountActual"`
	SourceAsset         Asset                 `codec:"sourceAsset" json:"sourceAsset"`
}

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"`
	BatchID         string                `codec:"batchID" json:"batchID"`
	FromAirdrop     bool                  `codec:"fromAirdrop" json:"fromAirdrop"`
}

func (PaymentSummaryRelay) DeepCopy

type PaymentSummaryStellar added in v1.0.48

type PaymentSummaryStellar struct {
	TxID               TransactionID          `codec:"txID" json:"txID"`
	From               AccountID              `codec:"from" json:"from"`
	To                 AccountID              `codec:"to" json:"to"`
	Amount             string                 `codec:"amount" json:"amount"`
	Asset              Asset                  `codec:"asset" json:"asset"`
	Ctime              TimeMs                 `codec:"ctime" json:"ctime"`
	CursorToken        string                 `codec:"cursorToken" json:"cursorToken"`
	Unread             bool                   `codec:"unread" json:"unread"`
	IsInflation        bool                   `codec:"isInflation" json:"isInflation"`
	InflationSource    *string                `codec:"inflationSource,omitempty" json:"inflationSource,omitempty"`
	SourceAmountMax    string                 `codec:"sourceAmountMax" json:"sourceAmountMax"`
	SourceAmountActual string                 `codec:"sourceAmountActual" json:"sourceAmountActual"`
	SourceAsset        Asset                  `codec:"sourceAsset" json:"sourceAsset"`
	IsAdvanced         bool                   `codec:"isAdvanced" json:"isAdvanced"`
	SummaryAdvanced    string                 `codec:"summaryAdvanced" json:"summaryAdvanced"`
	Operations         []string               `codec:"operations" json:"operations"`
	Trustline          *PaymentTrustlineLocal `codec:"trustline,omitempty" json:"trustline,omitempty"`
}

func (PaymentSummaryStellar) DeepCopy added in v1.0.48

type PaymentSummaryType

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

func (PaymentSummaryType) DeepCopy

func (PaymentSummaryType) String

func (e PaymentSummaryType) String() string

type PaymentTrustlineLocal

type PaymentTrustlineLocal struct {
	Asset  Asset `codec:"asset" json:"asset"`
	Remove bool  `codec:"remove" json:"remove"`
}

func (PaymentTrustlineLocal) DeepCopy

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 PendingPaymentsUpdateArg

type PendingPaymentsUpdateArg struct {
	AccountID AccountID             `codec:"accountID" json:"accountID"`
	Pending   []PaymentOrErrorLocal `codec:"pending" json:"pending"`
}

type PingArg added in v1.0.48

type PingArg struct {
}

type PostAnyTransactionArg

type PostAnyTransactionArg struct {
	Caller            keybase1.UserVersion `codec:"caller" json:"caller"`
	SignedTransaction string               `codec:"signedTransaction" json:"signedTransaction"`
}

type PredefinedInflationDestination

type PredefinedInflationDestination struct {
	Tag         InflationDestinationTag `codec:"tag" json:"tag"`
	Name        string                  `codec:"name" json:"name"`
	Recommended bool                    `codec:"recommended" json:"recommended"`
	AccountID   AccountID               `codec:"accountID" json:"accountID"`
	Url         string                  `codec:"url" json:"url"`
}

func (PredefinedInflationDestination) DeepCopy

type RecentPaymentsArg added in v1.0.48

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"`
	IncludeMulti    bool                 `codec:"includeMulti" json:"includeMulti"`
	IncludeAdvanced bool                 `codec:"includeAdvanced" json:"includeAdvanced"`
}

type RecentPaymentsCLILocalArg added in v1.0.48

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

type RecentPaymentsUpdateArg

type RecentPaymentsUpdateArg struct {
	AccountID AccountID         `codec:"accountID" json:"accountID"`
	FirstPage PaymentsPageLocal `codec:"firstPage" json:"firstPage"`
}

type RecipientTrustlinesLocal

type RecipientTrustlinesLocal struct {
	Trustlines    []Balance       `codec:"trustlines" json:"trustlines"`
	RecipientType ParticipantType `codec:"recipientType" json:"recipientType"`
}

func (RecipientTrustlinesLocal) DeepCopy

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 RelayOp

type RelayOp struct {
	ToAssertion  string          `codec:"toAssertion" json:"toAssertion"`
	RelayAccount AccountID       `codec:"relayAccount" json:"relayAccount"`
	TeamID       keybase1.TeamID `codec:"teamID" json:"teamID"`
	BoxB64       string          `codec:"boxB64" json:"boxB64"`
}

func (RelayOp) DeepCopy

func (o RelayOp) DeepCopy() RelayOp

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

func (c RemoteClient) AssetSearch(ctx context.Context, __arg AssetSearchArg) (res []Asset, 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) ChangeTrustline

func (c RemoteClient) ChangeTrustline(ctx context.Context, __arg ChangeTrustlineArg) (err error)

func (RemoteClient) Details

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

func (RemoteClient) DetailsPlusPayments

func (c RemoteClient) DetailsPlusPayments(ctx context.Context, __arg DetailsPlusPaymentsArg) (res DetailsPlusPayments, err error)

func (RemoteClient) FindPaymentPath

func (c RemoteClient) FindPaymentPath(ctx context.Context, __arg FindPaymentPathArg) (res PaymentPath, err error)

func (RemoteClient) FuzzyAssetSearch

func (c RemoteClient) FuzzyAssetSearch(ctx context.Context, __arg FuzzyAssetSearchArg) (res []Asset, 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) ListPopularAssets

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

func (RemoteClient) MarkAsRead

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

func (RemoteClient) NetworkOptions

func (c RemoteClient) NetworkOptions(ctx context.Context, caller keybase1.UserVersion) (res NetworkOptions, 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 added in v1.0.48

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

func (RemoteClient) PostAnyTransaction

func (c RemoteClient) PostAnyTransaction(ctx context.Context, __arg PostAnyTransactionArg) (err error)

func (RemoteClient) RecentPayments added in v1.0.48

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

func (c RemoteClient) SetInflationDestination(ctx context.Context, __arg SetInflationDestinationArg) (err error)

func (RemoteClient) SubmitMultiPayment

func (c RemoteClient) SubmitMultiPayment(ctx context.Context, __arg SubmitMultiPaymentArg) (res SubmitMultiRes, err error)

func (RemoteClient) SubmitPathPayment

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

func (RemoteClient) SubmitRequest

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

type RemoteInterface

type RemoteInterface interface {
	Balances(context.Context, BalancesArg) ([]Balance, error)
	Details(context.Context, DetailsArg) (AccountDetails, error)
	RecentPayments(context.Context, RecentPaymentsArg) (PaymentsPage, error)
	PendingPayments(context.Context, PendingPaymentsArg) ([]PaymentSummary, error)
	MarkAsRead(context.Context, MarkAsReadArg) error
	PaymentDetails(context.Context, PaymentDetailsArg) (PaymentDetails, 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)
	SubmitPathPayment(context.Context, SubmitPathPaymentArg) (PaymentResult, error)
	SubmitMultiPayment(context.Context, SubmitMultiPaymentArg) (SubmitMultiRes, 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)
	SubmitRequest(context.Context, SubmitRequestArg) (KeybaseRequestID, error)
	RequestDetails(context.Context, RequestDetailsArg) (RequestDetails, error)
	CancelRequest(context.Context, CancelRequestArg) error
	SetInflationDestination(context.Context, SetInflationDestinationArg) error
	Ping(context.Context) (string, error)
	NetworkOptions(context.Context, keybase1.UserVersion) (NetworkOptions, error)
	DetailsPlusPayments(context.Context, DetailsPlusPaymentsArg) (DetailsPlusPayments, error)
	AssetSearch(context.Context, AssetSearchArg) ([]Asset, error)
	FuzzyAssetSearch(context.Context, FuzzyAssetSearchArg) ([]Asset, error)
	ListPopularAssets(context.Context, keybase1.UserVersion) (AssetListResult, error)
	ChangeTrustline(context.Context, ChangeTrustlineArg) error
	FindPaymentPath(context.Context, FindPaymentPathArg) (PaymentPath, error)
	PostAnyTransaction(context.Context, PostAnyTransactionArg) 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"`
	FromDisplayAmount   string                `codec:"fromDisplayAmount" json:"fromDisplayAmount"`
	FromDisplayCurrency string                `codec:"fromDisplayCurrency" json:"fromDisplayCurrency"`
	ToDisplayAmount     string                `codec:"toDisplayAmount" json:"toDisplayAmount"`
	ToDisplayCurrency   string                `codec:"toDisplayCurrency" json:"toDisplayCurrency"`
	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"`
	WorthAtRequestTime string               `codec:"worthAtRequestTime" json:"worthAtRequestTime"`
	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
	RequestStatus_DONE     RequestStatus = 2
)

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 ReviewPaymentLocalArg

type ReviewPaymentLocalArg struct {
	SessionID int            `codec:"sessionID" json:"sessionID"`
	ReviewID  int            `codec:"reviewID" json:"reviewID"`
	Bid       BuildPaymentID `codec:"bid" json:"bid"`
}

type SecretKey added in v1.0.47

type SecretKey string

func (SecretKey) DeepCopy added in v1.0.47

func (o SecretKey) DeepCopy() SecretKey

func (SecretKey) SecureNoLogString added in v1.0.47

func (s SecretKey) SecureNoLogString() string

func (SecretKey) String added in v1.0.47

func (s SecretKey) String() string

type 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"`
	OfferAdvancedSendForm AdvancedBanner `codec:"offerAdvancedSendForm" json:"offerAdvancedSendForm"`
}

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 SendPathCLILocalArg

type SendPathCLILocalArg struct {
	Source     AccountID   `codec:"source" json:"source"`
	Recipient  string      `codec:"recipient" json:"recipient"`
	Path       PaymentPath `codec:"path" json:"path"`
	Note       string      `codec:"note" json:"note"`
	PublicNote string      `codec:"publicNote" json:"publicNote"`
}

type SendPathLocalArg

type SendPathLocalArg struct {
	Source     AccountID   `codec:"source" json:"source"`
	Recipient  string      `codec:"recipient" json:"recipient"`
	Path       PaymentPath `codec:"path" json:"path"`
	Note       string      `codec:"note" json:"note"`
	PublicNote string      `codec:"publicNote" json:"publicNote"`
}

type SendPaymentLocalArg

type SendPaymentLocalArg struct {
	SessionID     int                  `codec:"sessionID" json:"sessionID"`
	Bid           BuildPaymentID       `codec:"bid" json:"bid"`
	BypassBid     bool                 `codec:"bypassBid" json:"bypassBid"`
	BypassReview  bool                 `codec:"bypassReview" json:"bypassReview"`
	From          AccountID            `codec:"from" json:"from"`
	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"`
	JumpToChat string               `codec:"jumpToChat" json:"jumpToChat"`
}

func (SendPaymentResLocal) DeepCopy

type SendResultCLILocal

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

func (SendResultCLILocal) DeepCopy

type SetAccountAllDevicesLocalArg

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

type SetAccountMobileOnlyLocalArg

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

type SetDisplayCurrencyArg added in v1.0.48

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

type SetInflationDestinationArg

type SetInflationDestinationArg struct {
	Caller            keybase1.UserVersion `codec:"caller" json:"caller"`
	SignedTransaction string               `codec:"signedTransaction" json:"signedTransaction"`
}

type SetInflationDestinationLocalArg

type SetInflationDestinationLocalArg struct {
	SessionID   int       `codec:"sessionID" json:"sessionID"`
	AccountID   AccountID `codec:"accountID" json:"accountID"`
	Destination AccountID `codec:"destination" json:"destination"`
}

type SetWalletAccountAsDefaultLocalArg

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

type SignTransactionXdrLocalArg

type SignTransactionXdrLocalArg struct {
	EnvelopeXdr string     `codec:"envelopeXdr" json:"envelopeXdr"`
	AccountID   *AccountID `codec:"accountID,omitempty" json:"accountID,omitempty"`
	Submit      bool       `codec:"submit" json:"submit"`
}

type SignXdrResult

type SignXdrResult struct {
	SingedTx   string         `codec:"singedTx" json:"singedTx"`
	AccountID  AccountID      `codec:"accountID" json:"accountID"`
	SubmitErr  *string        `codec:"submitErr,omitempty" json:"submitErr,omitempty"`
	SubmitTxID *TransactionID `codec:"submitTxID,omitempty" json:"submitTxID,omitempty"`
}

func (SignXdrResult) DeepCopy

func (o SignXdrResult) DeepCopy() SignXdrResult

type StartBuildPaymentLocalArg

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

type StaticConfig

type StaticConfig struct {
	PaymentNoteMaxLength int `codec:"paymentNoteMaxLength" json:"paymentNoteMaxLength"`
	RequestNoteMaxLength int `codec:"requestNoteMaxLength" json:"requestNoteMaxLength"`
	PublicMemoMaxLength  int `codec:"publicMemoMaxLength" json:"publicMemoMaxLength"`
}

func (StaticConfig) DeepCopy

func (o StaticConfig) DeepCopy() StaticConfig

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 StopBuildPaymentLocalArg

type StopBuildPaymentLocalArg struct {
	SessionID int            `codec:"sessionID" json:"sessionID"`
	Bid       BuildPaymentID `codec:"bid" json:"bid"`
}

type SubmitMultiPaymentArg

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

type SubmitMultiRes

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

func (SubmitMultiRes) DeepCopy

func (o SubmitMultiRes) DeepCopy() SubmitMultiRes

type SubmitPathPaymentArg

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

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 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 added in v1.0.48

func (t TimeMs) Time() time.Time

type TimeboundsRecommendation

type TimeboundsRecommendation struct {
	TimeNow keybase1.UnixTime `codec:"timeNow" json:"time_now"`
	Timeout int64             `codec:"timeout" json:"timeout"`
}

func (TimeboundsRecommendation) DeepCopy

type TransactionID

type TransactionID string

func TransactionIDFromPaymentID

func TransactionIDFromPaymentID(p PaymentID) TransactionID

func (TransactionID) DeepCopy

func (o TransactionID) DeepCopy() TransactionID

func (TransactionID) Eq

func (TransactionID) String added in v1.0.48

func (t TransactionID) String() string

type TransactionStatus

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

func (TransactionStatus) DeepCopy

func (o TransactionStatus) DeepCopy() TransactionStatus

func (TransactionStatus) Details

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

func (TransactionStatus) String

func (e TransactionStatus) String() string

func (TransactionStatus) ToPaymentStatus

func (t TransactionStatus) ToPaymentStatus() PaymentStatus

type Trustline

type Trustline struct {
	AssetCode AssetCode `codec:"assetCode" json:"assetCode"`
	Issuer    AccountID `codec:"issuer" json:"issuer"`
}

func (Trustline) DeepCopy

func (o Trustline) DeepCopy() Trustline

type TxDisplaySummary

type TxDisplaySummary struct {
	Source     AccountID `codec:"source" json:"source"`
	Fee        int       `codec:"fee" json:"fee"`
	Memo       string    `codec:"memo" json:"memo"`
	MemoType   string    `codec:"memoType" json:"memoType"`
	Operations []string  `codec:"operations" json:"operations"`
}

func (TxDisplaySummary) DeepCopy

func (o TxDisplaySummary) DeepCopy() TxDisplaySummary

type UIPaymentReviewed

type UIPaymentReviewed struct {
	Bid        BuildPaymentID    `codec:"bid" json:"bid"`
	ReviewID   int               `codec:"reviewID" json:"reviewID"`
	Seqno      int               `codec:"seqno" json:"seqno"`
	Banners    []SendBannerLocal `codec:"banners" json:"banners"`
	NextButton string            `codec:"nextButton" json:"nextButton"`
}

func (UIPaymentReviewed) DeepCopy

func (o UIPaymentReviewed) DeepCopy() UIPaymentReviewed

type UiClient

type UiClient struct {
	Cli rpc.GenericClient
}

func (UiClient) PaymentReviewed

func (c UiClient) PaymentReviewed(ctx context.Context, __arg PaymentReviewedArg) (err error)

type UiInterface

type UiInterface interface {
	PaymentReviewed(context.Context, PaymentReviewedArg) error
}

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 ValidateStellarURILocalArg

type ValidateStellarURILocalArg struct {
	SessionID int    `codec:"sessionID" json:"sessionID"`
	InputURI  string `codec:"inputURI" json:"inputURI"`
}

type ValidateStellarURIResultLocal

type ValidateStellarURIResultLocal struct {
	Operation             string           `codec:"operation" json:"operation"`
	OriginDomain          string           `codec:"originDomain" json:"originDomain"`
	Message               string           `codec:"message" json:"message"`
	CallbackURL           string           `codec:"callbackURL" json:"callbackURL"`
	Xdr                   string           `codec:"xdr" json:"xdr"`
	Summary               TxDisplaySummary `codec:"summary" json:"summary"`
	Recipient             string           `codec:"recipient" json:"recipient"`
	Amount                string           `codec:"amount" json:"amount"`
	AssetCode             string           `codec:"assetCode" json:"assetCode"`
	AssetIssuer           string           `codec:"assetIssuer" json:"assetIssuer"`
	Memo                  string           `codec:"memo" json:"memo"`
	MemoType              string           `codec:"memoType" json:"memoType"`
	DisplayAmountFiat     string           `codec:"displayAmountFiat" json:"displayAmountFiat"`
	AvailableToSendNative string           `codec:"availableToSendNative" json:"availableToSendNative"`
	AvailableToSendFiat   string           `codec:"availableToSendFiat" json:"availableToSendFiat"`
	Signed                bool             `codec:"signed" json:"signed"`
}

func (ValidateStellarURIResultLocal) DeepCopy

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"`
	CurrencyLocal       CurrencyLocal `codec:"currencyLocal" json:"currencyLocal"`
	AccountMode         AccountMode   `codec:"accountMode" json:"accountMode"`
	AccountModeEditable bool          `codec:"accountModeEditable" json:"accountModeEditable"`
	DeviceReadOnly      bool          `codec:"deviceReadOnly" json:"deviceReadOnly"`
	IsFunded            bool          `codec:"isFunded" json:"isFunded"`
	CanSubmitTx         bool          `codec:"canSubmitTx" json:"canSubmitTx"`
	CanAddTrustline     bool          `codec:"canAddTrustline" json:"canAddTrustline"`
}

func (WalletAccountLocal) DeepCopy

type WalletDumpLocalArg added in v1.0.47

type WalletDumpLocalArg struct {
}

type WalletGetAccountsCLILocalArg

type WalletGetAccountsCLILocalArg struct {
}

type WalletInitLocalArg added in v1.0.47

type WalletInitLocalArg struct {
}

Jump to

Keyboard shortcuts

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