github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/protocol/stellar1/remote.go (about)

     1  // Auto-generated to Go types and interfaces using avdl-compiler v1.4.10 (https://github.com/keybase/node-avdl-compiler)
     2  //   Input file: avdl/stellar1/remote.avdl
     3  
     4  package stellar1
     5  
     6  import (
     7  	"errors"
     8  	"fmt"
     9  	keybase1 "github.com/keybase/client/go/protocol/keybase1"
    10  	"github.com/keybase/go-framed-msgpack-rpc/rpc"
    11  	context "golang.org/x/net/context"
    12  	"time"
    13  )
    14  
    15  type ChatConversationID string
    16  
    17  func (o ChatConversationID) DeepCopy() ChatConversationID {
    18  	return o
    19  }
    20  
    21  type PaymentDirectPost struct {
    22  	FromDeviceID       keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
    23  	To                 *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
    24  	DisplayAmount      string                `codec:"displayAmount" json:"displayAmount"`
    25  	DisplayCurrency    string                `codec:"displayCurrency" json:"displayCurrency"`
    26  	NoteB64            string                `codec:"noteB64" json:"noteB64"`
    27  	SignedTransaction  string                `codec:"signedTransaction" json:"signedTransaction"`
    28  	QuickReturn        bool                  `codec:"quickReturn" json:"quickReturn"`
    29  	ChatConversationID *ChatConversationID   `codec:"chatConversationID,omitempty" json:"chatConversationID,omitempty"`
    30  	BatchID            string                `codec:"batchID" json:"batchID"`
    31  }
    32  
    33  func (o PaymentDirectPost) DeepCopy() PaymentDirectPost {
    34  	return PaymentDirectPost{
    35  		FromDeviceID: o.FromDeviceID.DeepCopy(),
    36  		To: (func(x *keybase1.UserVersion) *keybase1.UserVersion {
    37  			if x == nil {
    38  				return nil
    39  			}
    40  			tmp := (*x).DeepCopy()
    41  			return &tmp
    42  		})(o.To),
    43  		DisplayAmount:     o.DisplayAmount,
    44  		DisplayCurrency:   o.DisplayCurrency,
    45  		NoteB64:           o.NoteB64,
    46  		SignedTransaction: o.SignedTransaction,
    47  		QuickReturn:       o.QuickReturn,
    48  		ChatConversationID: (func(x *ChatConversationID) *ChatConversationID {
    49  			if x == nil {
    50  				return nil
    51  			}
    52  			tmp := (*x).DeepCopy()
    53  			return &tmp
    54  		})(o.ChatConversationID),
    55  		BatchID: o.BatchID,
    56  	}
    57  }
    58  
    59  type PaymentRelayPost struct {
    60  	FromDeviceID       keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
    61  	To                 *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
    62  	ToAssertion        string                `codec:"toAssertion" json:"toAssertion"`
    63  	RelayAccount       AccountID             `codec:"relayAccount" json:"relayAccount"`
    64  	TeamID             keybase1.TeamID       `codec:"teamID" json:"teamID"`
    65  	DisplayAmount      string                `codec:"displayAmount" json:"displayAmount"`
    66  	DisplayCurrency    string                `codec:"displayCurrency" json:"displayCurrency"`
    67  	BoxB64             string                `codec:"boxB64" json:"boxB64"`
    68  	SignedTransaction  string                `codec:"signedTransaction" json:"signedTransaction"`
    69  	QuickReturn        bool                  `codec:"quickReturn" json:"quickReturn"`
    70  	ChatConversationID *ChatConversationID   `codec:"chatConversationID,omitempty" json:"chatConversationID,omitempty"`
    71  	BatchID            string                `codec:"batchID" json:"batchID"`
    72  }
    73  
    74  func (o PaymentRelayPost) DeepCopy() PaymentRelayPost {
    75  	return PaymentRelayPost{
    76  		FromDeviceID: o.FromDeviceID.DeepCopy(),
    77  		To: (func(x *keybase1.UserVersion) *keybase1.UserVersion {
    78  			if x == nil {
    79  				return nil
    80  			}
    81  			tmp := (*x).DeepCopy()
    82  			return &tmp
    83  		})(o.To),
    84  		ToAssertion:       o.ToAssertion,
    85  		RelayAccount:      o.RelayAccount.DeepCopy(),
    86  		TeamID:            o.TeamID.DeepCopy(),
    87  		DisplayAmount:     o.DisplayAmount,
    88  		DisplayCurrency:   o.DisplayCurrency,
    89  		BoxB64:            o.BoxB64,
    90  		SignedTransaction: o.SignedTransaction,
    91  		QuickReturn:       o.QuickReturn,
    92  		ChatConversationID: (func(x *ChatConversationID) *ChatConversationID {
    93  			if x == nil {
    94  				return nil
    95  			}
    96  			tmp := (*x).DeepCopy()
    97  			return &tmp
    98  		})(o.ChatConversationID),
    99  		BatchID: o.BatchID,
   100  	}
   101  }
   102  
   103  type RelayClaimPost struct {
   104  	KeybaseID         KeybaseTransactionID `codec:"keybaseID" json:"keybaseID"`
   105  	Dir               RelayDirection       `codec:"dir" json:"dir"`
   106  	SignedTransaction string               `codec:"signedTransaction" json:"signedTransaction"`
   107  	AutoClaimToken    *string              `codec:"autoClaimToken,omitempty" json:"autoClaimToken,omitempty"`
   108  }
   109  
   110  func (o RelayClaimPost) DeepCopy() RelayClaimPost {
   111  	return RelayClaimPost{
   112  		KeybaseID:         o.KeybaseID.DeepCopy(),
   113  		Dir:               o.Dir.DeepCopy(),
   114  		SignedTransaction: o.SignedTransaction,
   115  		AutoClaimToken: (func(x *string) *string {
   116  			if x == nil {
   117  				return nil
   118  			}
   119  			tmp := (*x)
   120  			return &tmp
   121  		})(o.AutoClaimToken),
   122  	}
   123  }
   124  
   125  type PathPaymentPost struct {
   126  	FromDeviceID       keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
   127  	To                 *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
   128  	NoteB64            string                `codec:"noteB64" json:"noteB64"`
   129  	SignedTransaction  string                `codec:"signedTransaction" json:"signedTransaction"`
   130  	QuickReturn        bool                  `codec:"quickReturn" json:"quickReturn"`
   131  	ChatConversationID *ChatConversationID   `codec:"chatConversationID,omitempty" json:"chatConversationID,omitempty"`
   132  }
   133  
   134  func (o PathPaymentPost) DeepCopy() PathPaymentPost {
   135  	return PathPaymentPost{
   136  		FromDeviceID: o.FromDeviceID.DeepCopy(),
   137  		To: (func(x *keybase1.UserVersion) *keybase1.UserVersion {
   138  			if x == nil {
   139  				return nil
   140  			}
   141  			tmp := (*x).DeepCopy()
   142  			return &tmp
   143  		})(o.To),
   144  		NoteB64:           o.NoteB64,
   145  		SignedTransaction: o.SignedTransaction,
   146  		QuickReturn:       o.QuickReturn,
   147  		ChatConversationID: (func(x *ChatConversationID) *ChatConversationID {
   148  			if x == nil {
   149  				return nil
   150  			}
   151  			tmp := (*x).DeepCopy()
   152  			return &tmp
   153  		})(o.ChatConversationID),
   154  	}
   155  }
   156  
   157  type DirectOp struct {
   158  	NoteB64 string `codec:"noteB64" json:"noteB64"`
   159  }
   160  
   161  func (o DirectOp) DeepCopy() DirectOp {
   162  	return DirectOp{
   163  		NoteB64: o.NoteB64,
   164  	}
   165  }
   166  
   167  type RelayOp struct {
   168  	ToAssertion  string          `codec:"toAssertion" json:"toAssertion"`
   169  	RelayAccount AccountID       `codec:"relayAccount" json:"relayAccount"`
   170  	TeamID       keybase1.TeamID `codec:"teamID" json:"teamID"`
   171  	BoxB64       string          `codec:"boxB64" json:"boxB64"`
   172  }
   173  
   174  func (o RelayOp) DeepCopy() RelayOp {
   175  	return RelayOp{
   176  		ToAssertion:  o.ToAssertion,
   177  		RelayAccount: o.RelayAccount.DeepCopy(),
   178  		TeamID:       o.TeamID.DeepCopy(),
   179  		BoxB64:       o.BoxB64,
   180  	}
   181  }
   182  
   183  type PaymentOp struct {
   184  	To     *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
   185  	Direct *DirectOp             `codec:"direct,omitempty" json:"direct,omitempty"`
   186  	Relay  *RelayOp              `codec:"relay,omitempty" json:"relay,omitempty"`
   187  }
   188  
   189  func (o PaymentOp) DeepCopy() PaymentOp {
   190  	return PaymentOp{
   191  		To: (func(x *keybase1.UserVersion) *keybase1.UserVersion {
   192  			if x == nil {
   193  				return nil
   194  			}
   195  			tmp := (*x).DeepCopy()
   196  			return &tmp
   197  		})(o.To),
   198  		Direct: (func(x *DirectOp) *DirectOp {
   199  			if x == nil {
   200  				return nil
   201  			}
   202  			tmp := (*x).DeepCopy()
   203  			return &tmp
   204  		})(o.Direct),
   205  		Relay: (func(x *RelayOp) *RelayOp {
   206  			if x == nil {
   207  				return nil
   208  			}
   209  			tmp := (*x).DeepCopy()
   210  			return &tmp
   211  		})(o.Relay),
   212  	}
   213  }
   214  
   215  type PaymentMultiPost struct {
   216  	FromDeviceID      keybase1.DeviceID `codec:"fromDeviceID" json:"fromDeviceID"`
   217  	SignedTransaction string            `codec:"signedTransaction" json:"signedTransaction"`
   218  	Operations        []PaymentOp       `codec:"operations" json:"operations"`
   219  	BatchID           string            `codec:"batchID" json:"batchID"`
   220  }
   221  
   222  func (o PaymentMultiPost) DeepCopy() PaymentMultiPost {
   223  	return PaymentMultiPost{
   224  		FromDeviceID:      o.FromDeviceID.DeepCopy(),
   225  		SignedTransaction: o.SignedTransaction,
   226  		Operations: (func(x []PaymentOp) []PaymentOp {
   227  			if x == nil {
   228  				return nil
   229  			}
   230  			ret := make([]PaymentOp, len(x))
   231  			for i, v := range x {
   232  				vCopy := v.DeepCopy()
   233  				ret[i] = vCopy
   234  			}
   235  			return ret
   236  		})(o.Operations),
   237  		BatchID: o.BatchID,
   238  	}
   239  }
   240  
   241  type PaymentSummaryType int
   242  
   243  const (
   244  	PaymentSummaryType_NONE    PaymentSummaryType = 0
   245  	PaymentSummaryType_STELLAR PaymentSummaryType = 1
   246  	PaymentSummaryType_DIRECT  PaymentSummaryType = 2
   247  	PaymentSummaryType_RELAY   PaymentSummaryType = 3
   248  )
   249  
   250  func (o PaymentSummaryType) DeepCopy() PaymentSummaryType { return o }
   251  
   252  var PaymentSummaryTypeMap = map[string]PaymentSummaryType{
   253  	"NONE":    0,
   254  	"STELLAR": 1,
   255  	"DIRECT":  2,
   256  	"RELAY":   3,
   257  }
   258  
   259  var PaymentSummaryTypeRevMap = map[PaymentSummaryType]string{
   260  	0: "NONE",
   261  	1: "STELLAR",
   262  	2: "DIRECT",
   263  	3: "RELAY",
   264  }
   265  
   266  func (e PaymentSummaryType) String() string {
   267  	if v, ok := PaymentSummaryTypeRevMap[e]; ok {
   268  		return v
   269  	}
   270  	return fmt.Sprintf("%v", int(e))
   271  }
   272  
   273  type PaymentSummary struct {
   274  	Typ__     PaymentSummaryType     `codec:"typ" json:"typ"`
   275  	Stellar__ *PaymentSummaryStellar `codec:"stellar,omitempty" json:"stellar,omitempty"`
   276  	Direct__  *PaymentSummaryDirect  `codec:"direct,omitempty" json:"direct,omitempty"`
   277  	Relay__   *PaymentSummaryRelay   `codec:"relay,omitempty" json:"relay,omitempty"`
   278  }
   279  
   280  func (o *PaymentSummary) Typ() (ret PaymentSummaryType, err error) {
   281  	switch o.Typ__ {
   282  	case PaymentSummaryType_STELLAR:
   283  		if o.Stellar__ == nil {
   284  			err = errors.New("unexpected nil value for Stellar__")
   285  			return ret, err
   286  		}
   287  	case PaymentSummaryType_DIRECT:
   288  		if o.Direct__ == nil {
   289  			err = errors.New("unexpected nil value for Direct__")
   290  			return ret, err
   291  		}
   292  	case PaymentSummaryType_RELAY:
   293  		if o.Relay__ == nil {
   294  			err = errors.New("unexpected nil value for Relay__")
   295  			return ret, err
   296  		}
   297  	}
   298  	return o.Typ__, nil
   299  }
   300  
   301  func (o PaymentSummary) Stellar() (res PaymentSummaryStellar) {
   302  	if o.Typ__ != PaymentSummaryType_STELLAR {
   303  		panic("wrong case accessed")
   304  	}
   305  	if o.Stellar__ == nil {
   306  		return
   307  	}
   308  	return *o.Stellar__
   309  }
   310  
   311  func (o PaymentSummary) Direct() (res PaymentSummaryDirect) {
   312  	if o.Typ__ != PaymentSummaryType_DIRECT {
   313  		panic("wrong case accessed")
   314  	}
   315  	if o.Direct__ == nil {
   316  		return
   317  	}
   318  	return *o.Direct__
   319  }
   320  
   321  func (o PaymentSummary) Relay() (res PaymentSummaryRelay) {
   322  	if o.Typ__ != PaymentSummaryType_RELAY {
   323  		panic("wrong case accessed")
   324  	}
   325  	if o.Relay__ == nil {
   326  		return
   327  	}
   328  	return *o.Relay__
   329  }
   330  
   331  func NewPaymentSummaryWithStellar(v PaymentSummaryStellar) PaymentSummary {
   332  	return PaymentSummary{
   333  		Typ__:     PaymentSummaryType_STELLAR,
   334  		Stellar__: &v,
   335  	}
   336  }
   337  
   338  func NewPaymentSummaryWithDirect(v PaymentSummaryDirect) PaymentSummary {
   339  	return PaymentSummary{
   340  		Typ__:    PaymentSummaryType_DIRECT,
   341  		Direct__: &v,
   342  	}
   343  }
   344  
   345  func NewPaymentSummaryWithRelay(v PaymentSummaryRelay) PaymentSummary {
   346  	return PaymentSummary{
   347  		Typ__:   PaymentSummaryType_RELAY,
   348  		Relay__: &v,
   349  	}
   350  }
   351  
   352  func (o PaymentSummary) DeepCopy() PaymentSummary {
   353  	return PaymentSummary{
   354  		Typ__: o.Typ__.DeepCopy(),
   355  		Stellar__: (func(x *PaymentSummaryStellar) *PaymentSummaryStellar {
   356  			if x == nil {
   357  				return nil
   358  			}
   359  			tmp := (*x).DeepCopy()
   360  			return &tmp
   361  		})(o.Stellar__),
   362  		Direct__: (func(x *PaymentSummaryDirect) *PaymentSummaryDirect {
   363  			if x == nil {
   364  				return nil
   365  			}
   366  			tmp := (*x).DeepCopy()
   367  			return &tmp
   368  		})(o.Direct__),
   369  		Relay__: (func(x *PaymentSummaryRelay) *PaymentSummaryRelay {
   370  			if x == nil {
   371  				return nil
   372  			}
   373  			tmp := (*x).DeepCopy()
   374  			return &tmp
   375  		})(o.Relay__),
   376  	}
   377  }
   378  
   379  type PaymentSummaryStellar struct {
   380  	TxID               TransactionID          `codec:"txID" json:"txID"`
   381  	From               AccountID              `codec:"from" json:"from"`
   382  	To                 AccountID              `codec:"to" json:"to"`
   383  	Amount             string                 `codec:"amount" json:"amount"`
   384  	Asset              Asset                  `codec:"asset" json:"asset"`
   385  	Ctime              TimeMs                 `codec:"ctime" json:"ctime"`
   386  	CursorToken        string                 `codec:"cursorToken" json:"cursorToken"`
   387  	Unread             bool                   `codec:"unread" json:"unread"`
   388  	IsInflation        bool                   `codec:"isInflation" json:"isInflation"`
   389  	InflationSource    *string                `codec:"inflationSource,omitempty" json:"inflationSource,omitempty"`
   390  	SourceAmountMax    string                 `codec:"sourceAmountMax" json:"sourceAmountMax"`
   391  	SourceAmountActual string                 `codec:"sourceAmountActual" json:"sourceAmountActual"`
   392  	SourceAsset        Asset                  `codec:"sourceAsset" json:"sourceAsset"`
   393  	IsAdvanced         bool                   `codec:"isAdvanced" json:"isAdvanced"`
   394  	SummaryAdvanced    string                 `codec:"summaryAdvanced" json:"summaryAdvanced"`
   395  	Operations         []string               `codec:"operations" json:"operations"`
   396  	Trustline          *PaymentTrustlineLocal `codec:"trustline,omitempty" json:"trustline,omitempty"`
   397  }
   398  
   399  func (o PaymentSummaryStellar) DeepCopy() PaymentSummaryStellar {
   400  	return PaymentSummaryStellar{
   401  		TxID:        o.TxID.DeepCopy(),
   402  		From:        o.From.DeepCopy(),
   403  		To:          o.To.DeepCopy(),
   404  		Amount:      o.Amount,
   405  		Asset:       o.Asset.DeepCopy(),
   406  		Ctime:       o.Ctime.DeepCopy(),
   407  		CursorToken: o.CursorToken,
   408  		Unread:      o.Unread,
   409  		IsInflation: o.IsInflation,
   410  		InflationSource: (func(x *string) *string {
   411  			if x == nil {
   412  				return nil
   413  			}
   414  			tmp := (*x)
   415  			return &tmp
   416  		})(o.InflationSource),
   417  		SourceAmountMax:    o.SourceAmountMax,
   418  		SourceAmountActual: o.SourceAmountActual,
   419  		SourceAsset:        o.SourceAsset.DeepCopy(),
   420  		IsAdvanced:         o.IsAdvanced,
   421  		SummaryAdvanced:    o.SummaryAdvanced,
   422  		Operations: (func(x []string) []string {
   423  			if x == nil {
   424  				return nil
   425  			}
   426  			ret := make([]string, len(x))
   427  			for i, v := range x {
   428  				vCopy := v
   429  				ret[i] = vCopy
   430  			}
   431  			return ret
   432  		})(o.Operations),
   433  		Trustline: (func(x *PaymentTrustlineLocal) *PaymentTrustlineLocal {
   434  			if x == nil {
   435  				return nil
   436  			}
   437  			tmp := (*x).DeepCopy()
   438  			return &tmp
   439  		})(o.Trustline),
   440  	}
   441  }
   442  
   443  type PaymentSummaryDirect struct {
   444  	KbTxID              KeybaseTransactionID  `codec:"kbTxID" json:"kbTxID"`
   445  	TxID                TransactionID         `codec:"txID" json:"txID"`
   446  	TxStatus            TransactionStatus     `codec:"txStatus" json:"txStatus"`
   447  	TxErrMsg            string                `codec:"txErrMsg" json:"txErrMsg"`
   448  	FromStellar         AccountID             `codec:"fromStellar" json:"fromStellar"`
   449  	From                keybase1.UserVersion  `codec:"from" json:"from"`
   450  	FromDeviceID        keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
   451  	ToStellar           AccountID             `codec:"toStellar" json:"toStellar"`
   452  	To                  *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
   453  	Amount              string                `codec:"amount" json:"amount"`
   454  	Asset               Asset                 `codec:"asset" json:"asset"`
   455  	DisplayAmount       *string               `codec:"displayAmount,omitempty" json:"displayAmount,omitempty"`
   456  	DisplayCurrency     *string               `codec:"displayCurrency,omitempty" json:"displayCurrency,omitempty"`
   457  	NoteB64             string                `codec:"noteB64" json:"noteB64"`
   458  	FromDisplayAmount   string                `codec:"fromDisplayAmount" json:"fromDisplayAmount"`
   459  	FromDisplayCurrency string                `codec:"fromDisplayCurrency" json:"fromDisplayCurrency"`
   460  	ToDisplayAmount     string                `codec:"toDisplayAmount" json:"toDisplayAmount"`
   461  	ToDisplayCurrency   string                `codec:"toDisplayCurrency" json:"toDisplayCurrency"`
   462  	Ctime               TimeMs                `codec:"ctime" json:"ctime"`
   463  	Rtime               TimeMs                `codec:"rtime" json:"rtime"`
   464  	CursorToken         string                `codec:"cursorToken" json:"cursorToken"`
   465  	Unread              bool                  `codec:"unread" json:"unread"`
   466  	FromPrimary         bool                  `codec:"fromPrimary" json:"fromPrimary"`
   467  	BatchID             string                `codec:"batchID" json:"batchID"`
   468  	FromAirdrop         bool                  `codec:"fromAirdrop" json:"fromAirdrop"`
   469  	SourceAmountMax     string                `codec:"sourceAmountMax" json:"sourceAmountMax"`
   470  	SourceAmountActual  string                `codec:"sourceAmountActual" json:"sourceAmountActual"`
   471  	SourceAsset         Asset                 `codec:"sourceAsset" json:"sourceAsset"`
   472  }
   473  
   474  func (o PaymentSummaryDirect) DeepCopy() PaymentSummaryDirect {
   475  	return PaymentSummaryDirect{
   476  		KbTxID:       o.KbTxID.DeepCopy(),
   477  		TxID:         o.TxID.DeepCopy(),
   478  		TxStatus:     o.TxStatus.DeepCopy(),
   479  		TxErrMsg:     o.TxErrMsg,
   480  		FromStellar:  o.FromStellar.DeepCopy(),
   481  		From:         o.From.DeepCopy(),
   482  		FromDeviceID: o.FromDeviceID.DeepCopy(),
   483  		ToStellar:    o.ToStellar.DeepCopy(),
   484  		To: (func(x *keybase1.UserVersion) *keybase1.UserVersion {
   485  			if x == nil {
   486  				return nil
   487  			}
   488  			tmp := (*x).DeepCopy()
   489  			return &tmp
   490  		})(o.To),
   491  		Amount: o.Amount,
   492  		Asset:  o.Asset.DeepCopy(),
   493  		DisplayAmount: (func(x *string) *string {
   494  			if x == nil {
   495  				return nil
   496  			}
   497  			tmp := (*x)
   498  			return &tmp
   499  		})(o.DisplayAmount),
   500  		DisplayCurrency: (func(x *string) *string {
   501  			if x == nil {
   502  				return nil
   503  			}
   504  			tmp := (*x)
   505  			return &tmp
   506  		})(o.DisplayCurrency),
   507  		NoteB64:             o.NoteB64,
   508  		FromDisplayAmount:   o.FromDisplayAmount,
   509  		FromDisplayCurrency: o.FromDisplayCurrency,
   510  		ToDisplayAmount:     o.ToDisplayAmount,
   511  		ToDisplayCurrency:   o.ToDisplayCurrency,
   512  		Ctime:               o.Ctime.DeepCopy(),
   513  		Rtime:               o.Rtime.DeepCopy(),
   514  		CursorToken:         o.CursorToken,
   515  		Unread:              o.Unread,
   516  		FromPrimary:         o.FromPrimary,
   517  		BatchID:             o.BatchID,
   518  		FromAirdrop:         o.FromAirdrop,
   519  		SourceAmountMax:     o.SourceAmountMax,
   520  		SourceAmountActual:  o.SourceAmountActual,
   521  		SourceAsset:         o.SourceAsset.DeepCopy(),
   522  	}
   523  }
   524  
   525  type PaymentSummaryRelay struct {
   526  	KbTxID          KeybaseTransactionID  `codec:"kbTxID" json:"kbTxID"`
   527  	TxID            TransactionID         `codec:"txID" json:"txID"`
   528  	TxStatus        TransactionStatus     `codec:"txStatus" json:"txStatus"`
   529  	TxErrMsg        string                `codec:"txErrMsg" json:"txErrMsg"`
   530  	FromStellar     AccountID             `codec:"fromStellar" json:"fromStellar"`
   531  	From            keybase1.UserVersion  `codec:"from" json:"from"`
   532  	FromDeviceID    keybase1.DeviceID     `codec:"fromDeviceID" json:"fromDeviceID"`
   533  	To              *keybase1.UserVersion `codec:"to,omitempty" json:"to,omitempty"`
   534  	ToAssertion     string                `codec:"toAssertion" json:"toAssertion"`
   535  	RelayAccount    AccountID             `codec:"relayAccount" json:"relayAccount"`
   536  	Amount          string                `codec:"amount" json:"amount"`
   537  	DisplayAmount   *string               `codec:"displayAmount,omitempty" json:"displayAmount,omitempty"`
   538  	DisplayCurrency *string               `codec:"displayCurrency,omitempty" json:"displayCurrency,omitempty"`
   539  	Ctime           TimeMs                `codec:"ctime" json:"ctime"`
   540  	Rtime           TimeMs                `codec:"rtime" json:"rtime"`
   541  	BoxB64          string                `codec:"boxB64" json:"boxB64"`
   542  	TeamID          keybase1.TeamID       `codec:"teamID" json:"teamID"`
   543  	Claim           *ClaimSummary         `codec:"claim,omitempty" json:"claim,omitempty"`
   544  	CursorToken     string                `codec:"cursorToken" json:"cursorToken"`
   545  	BatchID         string                `codec:"batchID" json:"batchID"`
   546  	FromAirdrop     bool                  `codec:"fromAirdrop" json:"fromAirdrop"`
   547  }
   548  
   549  func (o PaymentSummaryRelay) DeepCopy() PaymentSummaryRelay {
   550  	return PaymentSummaryRelay{
   551  		KbTxID:       o.KbTxID.DeepCopy(),
   552  		TxID:         o.TxID.DeepCopy(),
   553  		TxStatus:     o.TxStatus.DeepCopy(),
   554  		TxErrMsg:     o.TxErrMsg,
   555  		FromStellar:  o.FromStellar.DeepCopy(),
   556  		From:         o.From.DeepCopy(),
   557  		FromDeviceID: o.FromDeviceID.DeepCopy(),
   558  		To: (func(x *keybase1.UserVersion) *keybase1.UserVersion {
   559  			if x == nil {
   560  				return nil
   561  			}
   562  			tmp := (*x).DeepCopy()
   563  			return &tmp
   564  		})(o.To),
   565  		ToAssertion:  o.ToAssertion,
   566  		RelayAccount: o.RelayAccount.DeepCopy(),
   567  		Amount:       o.Amount,
   568  		DisplayAmount: (func(x *string) *string {
   569  			if x == nil {
   570  				return nil
   571  			}
   572  			tmp := (*x)
   573  			return &tmp
   574  		})(o.DisplayAmount),
   575  		DisplayCurrency: (func(x *string) *string {
   576  			if x == nil {
   577  				return nil
   578  			}
   579  			tmp := (*x)
   580  			return &tmp
   581  		})(o.DisplayCurrency),
   582  		Ctime:  o.Ctime.DeepCopy(),
   583  		Rtime:  o.Rtime.DeepCopy(),
   584  		BoxB64: o.BoxB64,
   585  		TeamID: o.TeamID.DeepCopy(),
   586  		Claim: (func(x *ClaimSummary) *ClaimSummary {
   587  			if x == nil {
   588  				return nil
   589  			}
   590  			tmp := (*x).DeepCopy()
   591  			return &tmp
   592  		})(o.Claim),
   593  		CursorToken: o.CursorToken,
   594  		BatchID:     o.BatchID,
   595  		FromAirdrop: o.FromAirdrop,
   596  	}
   597  }
   598  
   599  type ClaimSummary struct {
   600  	TxID      TransactionID        `codec:"txID" json:"txID"`
   601  	TxStatus  TransactionStatus    `codec:"txStatus" json:"txStatus"`
   602  	TxErrMsg  string               `codec:"txErrMsg" json:"txErrMsg"`
   603  	Dir       RelayDirection       `codec:"dir" json:"dir"`
   604  	ToStellar AccountID            `codec:"toStellar" json:"toStellar"`
   605  	To        keybase1.UserVersion `codec:"to" json:"to"`
   606  }
   607  
   608  func (o ClaimSummary) DeepCopy() ClaimSummary {
   609  	return ClaimSummary{
   610  		TxID:      o.TxID.DeepCopy(),
   611  		TxStatus:  o.TxStatus.DeepCopy(),
   612  		TxErrMsg:  o.TxErrMsg,
   613  		Dir:       o.Dir.DeepCopy(),
   614  		ToStellar: o.ToStellar.DeepCopy(),
   615  		To:        o.To.DeepCopy(),
   616  	}
   617  }
   618  
   619  type PaymentDetails struct {
   620  	Summary          PaymentSummary `codec:"summary" json:"summary"`
   621  	Memo             string         `codec:"memo" json:"memo"`
   622  	MemoType         string         `codec:"memoType" json:"memoType"`
   623  	ExternalTxURL    string         `codec:"externalTxURL" json:"externalTxURL"`
   624  	FeeCharged       string         `codec:"feeCharged" json:"feeCharged"`
   625  	PathIntermediate []Asset        `codec:"pathIntermediate" json:"pathIntermediate"`
   626  }
   627  
   628  func (o PaymentDetails) DeepCopy() PaymentDetails {
   629  	return PaymentDetails{
   630  		Summary:       o.Summary.DeepCopy(),
   631  		Memo:          o.Memo,
   632  		MemoType:      o.MemoType,
   633  		ExternalTxURL: o.ExternalTxURL,
   634  		FeeCharged:    o.FeeCharged,
   635  		PathIntermediate: (func(x []Asset) []Asset {
   636  			if x == nil {
   637  				return nil
   638  			}
   639  			ret := make([]Asset, len(x))
   640  			for i, v := range x {
   641  				vCopy := v.DeepCopy()
   642  				ret[i] = vCopy
   643  			}
   644  			return ret
   645  		})(o.PathIntermediate),
   646  	}
   647  }
   648  
   649  type AccountDetails struct {
   650  	AccountID            AccountID        `codec:"accountID" json:"accountID"`
   651  	Seqno                string           `codec:"seqno" json:"seqno"`
   652  	Balances             []Balance        `codec:"balances" json:"balances"`
   653  	SubentryCount        int              `codec:"subentryCount" json:"subentryCount"`
   654  	Available            string           `codec:"available" json:"available"`
   655  	Reserves             []AccountReserve `codec:"reserves" json:"reserves"`
   656  	ReadTransactionID    *TransactionID   `codec:"readTransactionID,omitempty" json:"readTransactionID,omitempty"`
   657  	UnreadPayments       int              `codec:"unreadPayments" json:"unreadPayments"`
   658  	DisplayCurrency      string           `codec:"displayCurrency" json:"displayCurrency"`
   659  	InflationDestination *AccountID       `codec:"inflationDestination,omitempty" json:"inflationDestination,omitempty"`
   660  }
   661  
   662  func (o AccountDetails) DeepCopy() AccountDetails {
   663  	return AccountDetails{
   664  		AccountID: o.AccountID.DeepCopy(),
   665  		Seqno:     o.Seqno,
   666  		Balances: (func(x []Balance) []Balance {
   667  			if x == nil {
   668  				return nil
   669  			}
   670  			ret := make([]Balance, len(x))
   671  			for i, v := range x {
   672  				vCopy := v.DeepCopy()
   673  				ret[i] = vCopy
   674  			}
   675  			return ret
   676  		})(o.Balances),
   677  		SubentryCount: o.SubentryCount,
   678  		Available:     o.Available,
   679  		Reserves: (func(x []AccountReserve) []AccountReserve {
   680  			if x == nil {
   681  				return nil
   682  			}
   683  			ret := make([]AccountReserve, len(x))
   684  			for i, v := range x {
   685  				vCopy := v.DeepCopy()
   686  				ret[i] = vCopy
   687  			}
   688  			return ret
   689  		})(o.Reserves),
   690  		ReadTransactionID: (func(x *TransactionID) *TransactionID {
   691  			if x == nil {
   692  				return nil
   693  			}
   694  			tmp := (*x).DeepCopy()
   695  			return &tmp
   696  		})(o.ReadTransactionID),
   697  		UnreadPayments:  o.UnreadPayments,
   698  		DisplayCurrency: o.DisplayCurrency,
   699  		InflationDestination: (func(x *AccountID) *AccountID {
   700  			if x == nil {
   701  				return nil
   702  			}
   703  			tmp := (*x).DeepCopy()
   704  			return &tmp
   705  		})(o.InflationDestination),
   706  	}
   707  }
   708  
   709  type PaymentsPage struct {
   710  	Payments     []PaymentSummary `codec:"payments" json:"payments"`
   711  	Cursor       *PageCursor      `codec:"cursor,omitempty" json:"cursor,omitempty"`
   712  	OldestUnread *TransactionID   `codec:"oldestUnread,omitempty" json:"oldestUnread,omitempty"`
   713  }
   714  
   715  func (o PaymentsPage) DeepCopy() PaymentsPage {
   716  	return PaymentsPage{
   717  		Payments: (func(x []PaymentSummary) []PaymentSummary {
   718  			if x == nil {
   719  				return nil
   720  			}
   721  			ret := make([]PaymentSummary, len(x))
   722  			for i, v := range x {
   723  				vCopy := v.DeepCopy()
   724  				ret[i] = vCopy
   725  			}
   726  			return ret
   727  		})(o.Payments),
   728  		Cursor: (func(x *PageCursor) *PageCursor {
   729  			if x == nil {
   730  				return nil
   731  			}
   732  			tmp := (*x).DeepCopy()
   733  			return &tmp
   734  		})(o.Cursor),
   735  		OldestUnread: (func(x *TransactionID) *TransactionID {
   736  			if x == nil {
   737  				return nil
   738  			}
   739  			tmp := (*x).DeepCopy()
   740  			return &tmp
   741  		})(o.OldestUnread),
   742  	}
   743  }
   744  
   745  type SubmitMultiRes struct {
   746  	TxID TransactionID `codec:"txID" json:"txID"`
   747  }
   748  
   749  func (o SubmitMultiRes) DeepCopy() SubmitMultiRes {
   750  	return SubmitMultiRes{
   751  		TxID: o.TxID.DeepCopy(),
   752  	}
   753  }
   754  
   755  type AutoClaim struct {
   756  	KbTxID KeybaseTransactionID `codec:"kbTxID" json:"kbTxID"`
   757  }
   758  
   759  func (o AutoClaim) DeepCopy() AutoClaim {
   760  	return AutoClaim{
   761  		KbTxID: o.KbTxID.DeepCopy(),
   762  	}
   763  }
   764  
   765  type RequestPost struct {
   766  	ToUser      *keybase1.UserVersion `codec:"toUser,omitempty" json:"toUser,omitempty"`
   767  	ToAssertion string                `codec:"toAssertion" json:"toAssertion"`
   768  	Amount      string                `codec:"amount" json:"amount"`
   769  	Asset       *Asset                `codec:"asset,omitempty" json:"asset,omitempty"`
   770  	Currency    *OutsideCurrencyCode  `codec:"currency,omitempty" json:"currency,omitempty"`
   771  }
   772  
   773  func (o RequestPost) DeepCopy() RequestPost {
   774  	return RequestPost{
   775  		ToUser: (func(x *keybase1.UserVersion) *keybase1.UserVersion {
   776  			if x == nil {
   777  				return nil
   778  			}
   779  			tmp := (*x).DeepCopy()
   780  			return &tmp
   781  		})(o.ToUser),
   782  		ToAssertion: o.ToAssertion,
   783  		Amount:      o.Amount,
   784  		Asset: (func(x *Asset) *Asset {
   785  			if x == nil {
   786  				return nil
   787  			}
   788  			tmp := (*x).DeepCopy()
   789  			return &tmp
   790  		})(o.Asset),
   791  		Currency: (func(x *OutsideCurrencyCode) *OutsideCurrencyCode {
   792  			if x == nil {
   793  				return nil
   794  			}
   795  			tmp := (*x).DeepCopy()
   796  			return &tmp
   797  		})(o.Currency),
   798  	}
   799  }
   800  
   801  type RequestDetails struct {
   802  	Id                  KeybaseRequestID      `codec:"id" json:"id"`
   803  	FromUser            keybase1.UserVersion  `codec:"fromUser" json:"fromUser"`
   804  	ToUser              *keybase1.UserVersion `codec:"toUser,omitempty" json:"toUser,omitempty"`
   805  	ToAssertion         string                `codec:"toAssertion" json:"toAssertion"`
   806  	Amount              string                `codec:"amount" json:"amount"`
   807  	Asset               *Asset                `codec:"asset,omitempty" json:"asset,omitempty"`
   808  	Currency            *OutsideCurrencyCode  `codec:"currency,omitempty" json:"currency,omitempty"`
   809  	FromDisplayAmount   string                `codec:"fromDisplayAmount" json:"fromDisplayAmount"`
   810  	FromDisplayCurrency string                `codec:"fromDisplayCurrency" json:"fromDisplayCurrency"`
   811  	ToDisplayAmount     string                `codec:"toDisplayAmount" json:"toDisplayAmount"`
   812  	ToDisplayCurrency   string                `codec:"toDisplayCurrency" json:"toDisplayCurrency"`
   813  	FundingKbTxID       KeybaseTransactionID  `codec:"fundingKbTxID" json:"fundingKbTxID"`
   814  	Status              RequestStatus         `codec:"status" json:"status"`
   815  }
   816  
   817  func (o RequestDetails) DeepCopy() RequestDetails {
   818  	return RequestDetails{
   819  		Id:       o.Id.DeepCopy(),
   820  		FromUser: o.FromUser.DeepCopy(),
   821  		ToUser: (func(x *keybase1.UserVersion) *keybase1.UserVersion {
   822  			if x == nil {
   823  				return nil
   824  			}
   825  			tmp := (*x).DeepCopy()
   826  			return &tmp
   827  		})(o.ToUser),
   828  		ToAssertion: o.ToAssertion,
   829  		Amount:      o.Amount,
   830  		Asset: (func(x *Asset) *Asset {
   831  			if x == nil {
   832  				return nil
   833  			}
   834  			tmp := (*x).DeepCopy()
   835  			return &tmp
   836  		})(o.Asset),
   837  		Currency: (func(x *OutsideCurrencyCode) *OutsideCurrencyCode {
   838  			if x == nil {
   839  				return nil
   840  			}
   841  			tmp := (*x).DeepCopy()
   842  			return &tmp
   843  		})(o.Currency),
   844  		FromDisplayAmount:   o.FromDisplayAmount,
   845  		FromDisplayCurrency: o.FromDisplayCurrency,
   846  		ToDisplayAmount:     o.ToDisplayAmount,
   847  		ToDisplayCurrency:   o.ToDisplayCurrency,
   848  		FundingKbTxID:       o.FundingKbTxID.DeepCopy(),
   849  		Status:              o.Status.DeepCopy(),
   850  	}
   851  }
   852  
   853  type TimeboundsRecommendation struct {
   854  	TimeNow keybase1.UnixTime `codec:"timeNow" json:"time_now"`
   855  	Timeout int64             `codec:"timeout" json:"timeout"`
   856  }
   857  
   858  func (o TimeboundsRecommendation) DeepCopy() TimeboundsRecommendation {
   859  	return TimeboundsRecommendation{
   860  		TimeNow: o.TimeNow.DeepCopy(),
   861  		Timeout: o.Timeout,
   862  	}
   863  }
   864  
   865  type NetworkOptions struct {
   866  	BaseFee uint64 `codec:"baseFee" json:"baseFee"`
   867  }
   868  
   869  func (o NetworkOptions) DeepCopy() NetworkOptions {
   870  	return NetworkOptions{
   871  		BaseFee: o.BaseFee,
   872  	}
   873  }
   874  
   875  type DetailsPlusPayments struct {
   876  	Details         AccountDetails   `codec:"details" json:"details"`
   877  	RecentPayments  PaymentsPage     `codec:"recentPayments" json:"recentPayments"`
   878  	PendingPayments []PaymentSummary `codec:"pendingPayments" json:"pendingPayments"`
   879  }
   880  
   881  func (o DetailsPlusPayments) DeepCopy() DetailsPlusPayments {
   882  	return DetailsPlusPayments{
   883  		Details:        o.Details.DeepCopy(),
   884  		RecentPayments: o.RecentPayments.DeepCopy(),
   885  		PendingPayments: (func(x []PaymentSummary) []PaymentSummary {
   886  			if x == nil {
   887  				return nil
   888  			}
   889  			ret := make([]PaymentSummary, len(x))
   890  			for i, v := range x {
   891  				vCopy := v.DeepCopy()
   892  				ret[i] = vCopy
   893  			}
   894  			return ret
   895  		})(o.PendingPayments),
   896  	}
   897  }
   898  
   899  type PaymentPathQuery struct {
   900  	Source           AccountID `codec:"source" json:"source"`
   901  	Destination      AccountID `codec:"destination" json:"destination"`
   902  	SourceAsset      Asset     `codec:"sourceAsset" json:"sourceAsset"`
   903  	DestinationAsset Asset     `codec:"destinationAsset" json:"destinationAsset"`
   904  	Amount           string    `codec:"amount" json:"amount"`
   905  }
   906  
   907  func (o PaymentPathQuery) DeepCopy() PaymentPathQuery {
   908  	return PaymentPathQuery{
   909  		Source:           o.Source.DeepCopy(),
   910  		Destination:      o.Destination.DeepCopy(),
   911  		SourceAsset:      o.SourceAsset.DeepCopy(),
   912  		DestinationAsset: o.DestinationAsset.DeepCopy(),
   913  		Amount:           o.Amount,
   914  	}
   915  }
   916  
   917  type BalancesArg struct {
   918  	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
   919  	AccountID AccountID            `codec:"accountID" json:"accountID"`
   920  }
   921  
   922  type DetailsArg struct {
   923  	Caller          keybase1.UserVersion `codec:"caller" json:"caller"`
   924  	AccountID       AccountID            `codec:"accountID" json:"accountID"`
   925  	IncludeMulti    bool                 `codec:"includeMulti" json:"includeMulti"`
   926  	IncludeAdvanced bool                 `codec:"includeAdvanced" json:"includeAdvanced"`
   927  }
   928  
   929  type RecentPaymentsArg struct {
   930  	Caller          keybase1.UserVersion `codec:"caller" json:"caller"`
   931  	AccountID       AccountID            `codec:"accountID" json:"accountID"`
   932  	Cursor          *PageCursor          `codec:"cursor,omitempty" json:"cursor,omitempty"`
   933  	Limit           int                  `codec:"limit" json:"limit"`
   934  	SkipPending     bool                 `codec:"skipPending" json:"skipPending"`
   935  	IncludeMulti    bool                 `codec:"includeMulti" json:"includeMulti"`
   936  	IncludeAdvanced bool                 `codec:"includeAdvanced" json:"includeAdvanced"`
   937  }
   938  
   939  type PendingPaymentsArg struct {
   940  	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
   941  	AccountID AccountID            `codec:"accountID" json:"accountID"`
   942  	Limit     int                  `codec:"limit" json:"limit"`
   943  }
   944  
   945  type MarkAsReadArg struct {
   946  	Caller       keybase1.UserVersion `codec:"caller" json:"caller"`
   947  	AccountID    AccountID            `codec:"accountID" json:"accountID"`
   948  	MostRecentID TransactionID        `codec:"mostRecentID" json:"mostRecentID"`
   949  }
   950  
   951  type PaymentDetailsArg struct {
   952  	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
   953  	AccountID AccountID            `codec:"accountID" json:"accountID"`
   954  	TxID      string               `codec:"txID" json:"txID"`
   955  }
   956  
   957  type AccountSeqnoArg struct {
   958  	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
   959  	AccountID AccountID            `codec:"accountID" json:"accountID"`
   960  }
   961  
   962  type SubmitPaymentArg struct {
   963  	Caller  keybase1.UserVersion `codec:"caller" json:"caller"`
   964  	Payment PaymentDirectPost    `codec:"payment" json:"payment"`
   965  }
   966  
   967  type SubmitRelayPaymentArg struct {
   968  	Caller  keybase1.UserVersion `codec:"caller" json:"caller"`
   969  	Payment PaymentRelayPost     `codec:"payment" json:"payment"`
   970  }
   971  
   972  type SubmitRelayClaimArg struct {
   973  	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
   974  	Claim  RelayClaimPost       `codec:"claim" json:"claim"`
   975  }
   976  
   977  type SubmitPathPaymentArg struct {
   978  	Caller  keybase1.UserVersion `codec:"caller" json:"caller"`
   979  	Payment PathPaymentPost      `codec:"payment" json:"payment"`
   980  }
   981  
   982  type SubmitMultiPaymentArg struct {
   983  	Caller  keybase1.UserVersion `codec:"caller" json:"caller"`
   984  	Payment PaymentMultiPost     `codec:"payment" json:"payment"`
   985  }
   986  
   987  type AcquireAutoClaimLockArg struct {
   988  	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
   989  }
   990  
   991  type ReleaseAutoClaimLockArg struct {
   992  	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
   993  	Token  string               `codec:"token" json:"token"`
   994  }
   995  
   996  type NextAutoClaimArg struct {
   997  	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
   998  }
   999  
  1000  type IsMasterKeyActiveArg struct {
  1001  	Caller    keybase1.UserVersion `codec:"caller" json:"caller"`
  1002  	AccountID AccountID            `codec:"accountID" json:"accountID"`
  1003  }
  1004  
  1005  type SubmitRequestArg struct {
  1006  	Caller  keybase1.UserVersion `codec:"caller" json:"caller"`
  1007  	Request RequestPost          `codec:"request" json:"request"`
  1008  }
  1009  
  1010  type RequestDetailsArg struct {
  1011  	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
  1012  	ReqID  KeybaseRequestID     `codec:"reqID" json:"reqID"`
  1013  }
  1014  
  1015  type CancelRequestArg struct {
  1016  	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
  1017  	ReqID  KeybaseRequestID     `codec:"reqID" json:"reqID"`
  1018  }
  1019  
  1020  type SetInflationDestinationArg struct {
  1021  	Caller            keybase1.UserVersion `codec:"caller" json:"caller"`
  1022  	SignedTransaction string               `codec:"signedTransaction" json:"signedTransaction"`
  1023  }
  1024  
  1025  type PingArg struct {
  1026  }
  1027  
  1028  type NetworkOptionsArg struct {
  1029  	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
  1030  }
  1031  
  1032  type DetailsPlusPaymentsArg struct {
  1033  	Caller          keybase1.UserVersion `codec:"caller" json:"caller"`
  1034  	AccountID       AccountID            `codec:"accountID" json:"accountID"`
  1035  	IncludeAdvanced bool                 `codec:"includeAdvanced" json:"includeAdvanced"`
  1036  }
  1037  
  1038  type AllDetailsPlusPaymentsArg struct {
  1039  	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
  1040  }
  1041  
  1042  type AssetSearchArg struct {
  1043  	AssetCode       string `codec:"assetCode" json:"assetCode"`
  1044  	IssuerAccountID string `codec:"issuerAccountID" json:"issuerAccountID"`
  1045  }
  1046  
  1047  type FuzzyAssetSearchArg struct {
  1048  	Caller       keybase1.UserVersion `codec:"caller" json:"caller"`
  1049  	SearchString string               `codec:"searchString" json:"searchString"`
  1050  }
  1051  
  1052  type ListPopularAssetsArg struct {
  1053  	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
  1054  }
  1055  
  1056  type ChangeTrustlineArg struct {
  1057  	Caller            keybase1.UserVersion `codec:"caller" json:"caller"`
  1058  	SignedTransaction string               `codec:"signedTransaction" json:"signedTransaction"`
  1059  }
  1060  
  1061  type FindPaymentPathArg struct {
  1062  	Caller keybase1.UserVersion `codec:"caller" json:"caller"`
  1063  	Query  PaymentPathQuery     `codec:"query" json:"query"`
  1064  }
  1065  
  1066  type PostAnyTransactionArg struct {
  1067  	Caller            keybase1.UserVersion `codec:"caller" json:"caller"`
  1068  	SignedTransaction string               `codec:"signedTransaction" json:"signedTransaction"`
  1069  }
  1070  
  1071  type RemoteInterface interface {
  1072  	Balances(context.Context, BalancesArg) ([]Balance, error)
  1073  	Details(context.Context, DetailsArg) (AccountDetails, error)
  1074  	RecentPayments(context.Context, RecentPaymentsArg) (PaymentsPage, error)
  1075  	PendingPayments(context.Context, PendingPaymentsArg) ([]PaymentSummary, error)
  1076  	MarkAsRead(context.Context, MarkAsReadArg) error
  1077  	PaymentDetails(context.Context, PaymentDetailsArg) (PaymentDetails, error)
  1078  	AccountSeqno(context.Context, AccountSeqnoArg) (string, error)
  1079  	SubmitPayment(context.Context, SubmitPaymentArg) (PaymentResult, error)
  1080  	SubmitRelayPayment(context.Context, SubmitRelayPaymentArg) (PaymentResult, error)
  1081  	SubmitRelayClaim(context.Context, SubmitRelayClaimArg) (RelayClaimResult, error)
  1082  	SubmitPathPayment(context.Context, SubmitPathPaymentArg) (PaymentResult, error)
  1083  	SubmitMultiPayment(context.Context, SubmitMultiPaymentArg) (SubmitMultiRes, error)
  1084  	AcquireAutoClaimLock(context.Context, keybase1.UserVersion) (string, error)
  1085  	ReleaseAutoClaimLock(context.Context, ReleaseAutoClaimLockArg) error
  1086  	NextAutoClaim(context.Context, keybase1.UserVersion) (*AutoClaim, error)
  1087  	IsMasterKeyActive(context.Context, IsMasterKeyActiveArg) (bool, error)
  1088  	SubmitRequest(context.Context, SubmitRequestArg) (KeybaseRequestID, error)
  1089  	RequestDetails(context.Context, RequestDetailsArg) (RequestDetails, error)
  1090  	CancelRequest(context.Context, CancelRequestArg) error
  1091  	SetInflationDestination(context.Context, SetInflationDestinationArg) error
  1092  	Ping(context.Context) (string, error)
  1093  	NetworkOptions(context.Context, keybase1.UserVersion) (NetworkOptions, error)
  1094  	DetailsPlusPayments(context.Context, DetailsPlusPaymentsArg) (DetailsPlusPayments, error)
  1095  	AllDetailsPlusPayments(context.Context, keybase1.UserVersion) ([]DetailsPlusPayments, error)
  1096  	AssetSearch(context.Context, AssetSearchArg) ([]Asset, error)
  1097  	FuzzyAssetSearch(context.Context, FuzzyAssetSearchArg) ([]Asset, error)
  1098  	ListPopularAssets(context.Context, keybase1.UserVersion) (AssetListResult, error)
  1099  	ChangeTrustline(context.Context, ChangeTrustlineArg) error
  1100  	FindPaymentPath(context.Context, FindPaymentPathArg) (PaymentPath, error)
  1101  	PostAnyTransaction(context.Context, PostAnyTransactionArg) error
  1102  }
  1103  
  1104  func RemoteProtocol(i RemoteInterface) rpc.Protocol {
  1105  	return rpc.Protocol{
  1106  		Name: "stellar.1.remote",
  1107  		Methods: map[string]rpc.ServeHandlerDescription{
  1108  			"balances": {
  1109  				MakeArg: func() interface{} {
  1110  					var ret [1]BalancesArg
  1111  					return &ret
  1112  				},
  1113  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1114  					typedArgs, ok := args.(*[1]BalancesArg)
  1115  					if !ok {
  1116  						err = rpc.NewTypeError((*[1]BalancesArg)(nil), args)
  1117  						return
  1118  					}
  1119  					ret, err = i.Balances(ctx, typedArgs[0])
  1120  					return
  1121  				},
  1122  			},
  1123  			"details": {
  1124  				MakeArg: func() interface{} {
  1125  					var ret [1]DetailsArg
  1126  					return &ret
  1127  				},
  1128  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1129  					typedArgs, ok := args.(*[1]DetailsArg)
  1130  					if !ok {
  1131  						err = rpc.NewTypeError((*[1]DetailsArg)(nil), args)
  1132  						return
  1133  					}
  1134  					ret, err = i.Details(ctx, typedArgs[0])
  1135  					return
  1136  				},
  1137  			},
  1138  			"recentPayments": {
  1139  				MakeArg: func() interface{} {
  1140  					var ret [1]RecentPaymentsArg
  1141  					return &ret
  1142  				},
  1143  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1144  					typedArgs, ok := args.(*[1]RecentPaymentsArg)
  1145  					if !ok {
  1146  						err = rpc.NewTypeError((*[1]RecentPaymentsArg)(nil), args)
  1147  						return
  1148  					}
  1149  					ret, err = i.RecentPayments(ctx, typedArgs[0])
  1150  					return
  1151  				},
  1152  			},
  1153  			"pendingPayments": {
  1154  				MakeArg: func() interface{} {
  1155  					var ret [1]PendingPaymentsArg
  1156  					return &ret
  1157  				},
  1158  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1159  					typedArgs, ok := args.(*[1]PendingPaymentsArg)
  1160  					if !ok {
  1161  						err = rpc.NewTypeError((*[1]PendingPaymentsArg)(nil), args)
  1162  						return
  1163  					}
  1164  					ret, err = i.PendingPayments(ctx, typedArgs[0])
  1165  					return
  1166  				},
  1167  			},
  1168  			"markAsRead": {
  1169  				MakeArg: func() interface{} {
  1170  					var ret [1]MarkAsReadArg
  1171  					return &ret
  1172  				},
  1173  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1174  					typedArgs, ok := args.(*[1]MarkAsReadArg)
  1175  					if !ok {
  1176  						err = rpc.NewTypeError((*[1]MarkAsReadArg)(nil), args)
  1177  						return
  1178  					}
  1179  					err = i.MarkAsRead(ctx, typedArgs[0])
  1180  					return
  1181  				},
  1182  			},
  1183  			"paymentDetails": {
  1184  				MakeArg: func() interface{} {
  1185  					var ret [1]PaymentDetailsArg
  1186  					return &ret
  1187  				},
  1188  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1189  					typedArgs, ok := args.(*[1]PaymentDetailsArg)
  1190  					if !ok {
  1191  						err = rpc.NewTypeError((*[1]PaymentDetailsArg)(nil), args)
  1192  						return
  1193  					}
  1194  					ret, err = i.PaymentDetails(ctx, typedArgs[0])
  1195  					return
  1196  				},
  1197  			},
  1198  			"accountSeqno": {
  1199  				MakeArg: func() interface{} {
  1200  					var ret [1]AccountSeqnoArg
  1201  					return &ret
  1202  				},
  1203  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1204  					typedArgs, ok := args.(*[1]AccountSeqnoArg)
  1205  					if !ok {
  1206  						err = rpc.NewTypeError((*[1]AccountSeqnoArg)(nil), args)
  1207  						return
  1208  					}
  1209  					ret, err = i.AccountSeqno(ctx, typedArgs[0])
  1210  					return
  1211  				},
  1212  			},
  1213  			"submitPayment": {
  1214  				MakeArg: func() interface{} {
  1215  					var ret [1]SubmitPaymentArg
  1216  					return &ret
  1217  				},
  1218  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1219  					typedArgs, ok := args.(*[1]SubmitPaymentArg)
  1220  					if !ok {
  1221  						err = rpc.NewTypeError((*[1]SubmitPaymentArg)(nil), args)
  1222  						return
  1223  					}
  1224  					ret, err = i.SubmitPayment(ctx, typedArgs[0])
  1225  					return
  1226  				},
  1227  			},
  1228  			"submitRelayPayment": {
  1229  				MakeArg: func() interface{} {
  1230  					var ret [1]SubmitRelayPaymentArg
  1231  					return &ret
  1232  				},
  1233  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1234  					typedArgs, ok := args.(*[1]SubmitRelayPaymentArg)
  1235  					if !ok {
  1236  						err = rpc.NewTypeError((*[1]SubmitRelayPaymentArg)(nil), args)
  1237  						return
  1238  					}
  1239  					ret, err = i.SubmitRelayPayment(ctx, typedArgs[0])
  1240  					return
  1241  				},
  1242  			},
  1243  			"submitRelayClaim": {
  1244  				MakeArg: func() interface{} {
  1245  					var ret [1]SubmitRelayClaimArg
  1246  					return &ret
  1247  				},
  1248  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1249  					typedArgs, ok := args.(*[1]SubmitRelayClaimArg)
  1250  					if !ok {
  1251  						err = rpc.NewTypeError((*[1]SubmitRelayClaimArg)(nil), args)
  1252  						return
  1253  					}
  1254  					ret, err = i.SubmitRelayClaim(ctx, typedArgs[0])
  1255  					return
  1256  				},
  1257  			},
  1258  			"submitPathPayment": {
  1259  				MakeArg: func() interface{} {
  1260  					var ret [1]SubmitPathPaymentArg
  1261  					return &ret
  1262  				},
  1263  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1264  					typedArgs, ok := args.(*[1]SubmitPathPaymentArg)
  1265  					if !ok {
  1266  						err = rpc.NewTypeError((*[1]SubmitPathPaymentArg)(nil), args)
  1267  						return
  1268  					}
  1269  					ret, err = i.SubmitPathPayment(ctx, typedArgs[0])
  1270  					return
  1271  				},
  1272  			},
  1273  			"submitMultiPayment": {
  1274  				MakeArg: func() interface{} {
  1275  					var ret [1]SubmitMultiPaymentArg
  1276  					return &ret
  1277  				},
  1278  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1279  					typedArgs, ok := args.(*[1]SubmitMultiPaymentArg)
  1280  					if !ok {
  1281  						err = rpc.NewTypeError((*[1]SubmitMultiPaymentArg)(nil), args)
  1282  						return
  1283  					}
  1284  					ret, err = i.SubmitMultiPayment(ctx, typedArgs[0])
  1285  					return
  1286  				},
  1287  			},
  1288  			"acquireAutoClaimLock": {
  1289  				MakeArg: func() interface{} {
  1290  					var ret [1]AcquireAutoClaimLockArg
  1291  					return &ret
  1292  				},
  1293  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1294  					typedArgs, ok := args.(*[1]AcquireAutoClaimLockArg)
  1295  					if !ok {
  1296  						err = rpc.NewTypeError((*[1]AcquireAutoClaimLockArg)(nil), args)
  1297  						return
  1298  					}
  1299  					ret, err = i.AcquireAutoClaimLock(ctx, typedArgs[0].Caller)
  1300  					return
  1301  				},
  1302  			},
  1303  			"releaseAutoClaimLock": {
  1304  				MakeArg: func() interface{} {
  1305  					var ret [1]ReleaseAutoClaimLockArg
  1306  					return &ret
  1307  				},
  1308  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1309  					typedArgs, ok := args.(*[1]ReleaseAutoClaimLockArg)
  1310  					if !ok {
  1311  						err = rpc.NewTypeError((*[1]ReleaseAutoClaimLockArg)(nil), args)
  1312  						return
  1313  					}
  1314  					err = i.ReleaseAutoClaimLock(ctx, typedArgs[0])
  1315  					return
  1316  				},
  1317  			},
  1318  			"nextAutoClaim": {
  1319  				MakeArg: func() interface{} {
  1320  					var ret [1]NextAutoClaimArg
  1321  					return &ret
  1322  				},
  1323  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1324  					typedArgs, ok := args.(*[1]NextAutoClaimArg)
  1325  					if !ok {
  1326  						err = rpc.NewTypeError((*[1]NextAutoClaimArg)(nil), args)
  1327  						return
  1328  					}
  1329  					ret, err = i.NextAutoClaim(ctx, typedArgs[0].Caller)
  1330  					return
  1331  				},
  1332  			},
  1333  			"isMasterKeyActive": {
  1334  				MakeArg: func() interface{} {
  1335  					var ret [1]IsMasterKeyActiveArg
  1336  					return &ret
  1337  				},
  1338  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1339  					typedArgs, ok := args.(*[1]IsMasterKeyActiveArg)
  1340  					if !ok {
  1341  						err = rpc.NewTypeError((*[1]IsMasterKeyActiveArg)(nil), args)
  1342  						return
  1343  					}
  1344  					ret, err = i.IsMasterKeyActive(ctx, typedArgs[0])
  1345  					return
  1346  				},
  1347  			},
  1348  			"submitRequest": {
  1349  				MakeArg: func() interface{} {
  1350  					var ret [1]SubmitRequestArg
  1351  					return &ret
  1352  				},
  1353  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1354  					typedArgs, ok := args.(*[1]SubmitRequestArg)
  1355  					if !ok {
  1356  						err = rpc.NewTypeError((*[1]SubmitRequestArg)(nil), args)
  1357  						return
  1358  					}
  1359  					ret, err = i.SubmitRequest(ctx, typedArgs[0])
  1360  					return
  1361  				},
  1362  			},
  1363  			"requestDetails": {
  1364  				MakeArg: func() interface{} {
  1365  					var ret [1]RequestDetailsArg
  1366  					return &ret
  1367  				},
  1368  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1369  					typedArgs, ok := args.(*[1]RequestDetailsArg)
  1370  					if !ok {
  1371  						err = rpc.NewTypeError((*[1]RequestDetailsArg)(nil), args)
  1372  						return
  1373  					}
  1374  					ret, err = i.RequestDetails(ctx, typedArgs[0])
  1375  					return
  1376  				},
  1377  			},
  1378  			"cancelRequest": {
  1379  				MakeArg: func() interface{} {
  1380  					var ret [1]CancelRequestArg
  1381  					return &ret
  1382  				},
  1383  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1384  					typedArgs, ok := args.(*[1]CancelRequestArg)
  1385  					if !ok {
  1386  						err = rpc.NewTypeError((*[1]CancelRequestArg)(nil), args)
  1387  						return
  1388  					}
  1389  					err = i.CancelRequest(ctx, typedArgs[0])
  1390  					return
  1391  				},
  1392  			},
  1393  			"setInflationDestination": {
  1394  				MakeArg: func() interface{} {
  1395  					var ret [1]SetInflationDestinationArg
  1396  					return &ret
  1397  				},
  1398  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1399  					typedArgs, ok := args.(*[1]SetInflationDestinationArg)
  1400  					if !ok {
  1401  						err = rpc.NewTypeError((*[1]SetInflationDestinationArg)(nil), args)
  1402  						return
  1403  					}
  1404  					err = i.SetInflationDestination(ctx, typedArgs[0])
  1405  					return
  1406  				},
  1407  			},
  1408  			"ping": {
  1409  				MakeArg: func() interface{} {
  1410  					var ret [1]PingArg
  1411  					return &ret
  1412  				},
  1413  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1414  					ret, err = i.Ping(ctx)
  1415  					return
  1416  				},
  1417  			},
  1418  			"networkOptions": {
  1419  				MakeArg: func() interface{} {
  1420  					var ret [1]NetworkOptionsArg
  1421  					return &ret
  1422  				},
  1423  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1424  					typedArgs, ok := args.(*[1]NetworkOptionsArg)
  1425  					if !ok {
  1426  						err = rpc.NewTypeError((*[1]NetworkOptionsArg)(nil), args)
  1427  						return
  1428  					}
  1429  					ret, err = i.NetworkOptions(ctx, typedArgs[0].Caller)
  1430  					return
  1431  				},
  1432  			},
  1433  			"detailsPlusPayments": {
  1434  				MakeArg: func() interface{} {
  1435  					var ret [1]DetailsPlusPaymentsArg
  1436  					return &ret
  1437  				},
  1438  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1439  					typedArgs, ok := args.(*[1]DetailsPlusPaymentsArg)
  1440  					if !ok {
  1441  						err = rpc.NewTypeError((*[1]DetailsPlusPaymentsArg)(nil), args)
  1442  						return
  1443  					}
  1444  					ret, err = i.DetailsPlusPayments(ctx, typedArgs[0])
  1445  					return
  1446  				},
  1447  			},
  1448  			"allDetailsPlusPayments": {
  1449  				MakeArg: func() interface{} {
  1450  					var ret [1]AllDetailsPlusPaymentsArg
  1451  					return &ret
  1452  				},
  1453  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1454  					typedArgs, ok := args.(*[1]AllDetailsPlusPaymentsArg)
  1455  					if !ok {
  1456  						err = rpc.NewTypeError((*[1]AllDetailsPlusPaymentsArg)(nil), args)
  1457  						return
  1458  					}
  1459  					ret, err = i.AllDetailsPlusPayments(ctx, typedArgs[0].Caller)
  1460  					return
  1461  				},
  1462  			},
  1463  			"assetSearch": {
  1464  				MakeArg: func() interface{} {
  1465  					var ret [1]AssetSearchArg
  1466  					return &ret
  1467  				},
  1468  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1469  					typedArgs, ok := args.(*[1]AssetSearchArg)
  1470  					if !ok {
  1471  						err = rpc.NewTypeError((*[1]AssetSearchArg)(nil), args)
  1472  						return
  1473  					}
  1474  					ret, err = i.AssetSearch(ctx, typedArgs[0])
  1475  					return
  1476  				},
  1477  			},
  1478  			"fuzzyAssetSearch": {
  1479  				MakeArg: func() interface{} {
  1480  					var ret [1]FuzzyAssetSearchArg
  1481  					return &ret
  1482  				},
  1483  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1484  					typedArgs, ok := args.(*[1]FuzzyAssetSearchArg)
  1485  					if !ok {
  1486  						err = rpc.NewTypeError((*[1]FuzzyAssetSearchArg)(nil), args)
  1487  						return
  1488  					}
  1489  					ret, err = i.FuzzyAssetSearch(ctx, typedArgs[0])
  1490  					return
  1491  				},
  1492  			},
  1493  			"listPopularAssets": {
  1494  				MakeArg: func() interface{} {
  1495  					var ret [1]ListPopularAssetsArg
  1496  					return &ret
  1497  				},
  1498  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1499  					typedArgs, ok := args.(*[1]ListPopularAssetsArg)
  1500  					if !ok {
  1501  						err = rpc.NewTypeError((*[1]ListPopularAssetsArg)(nil), args)
  1502  						return
  1503  					}
  1504  					ret, err = i.ListPopularAssets(ctx, typedArgs[0].Caller)
  1505  					return
  1506  				},
  1507  			},
  1508  			"changeTrustline": {
  1509  				MakeArg: func() interface{} {
  1510  					var ret [1]ChangeTrustlineArg
  1511  					return &ret
  1512  				},
  1513  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1514  					typedArgs, ok := args.(*[1]ChangeTrustlineArg)
  1515  					if !ok {
  1516  						err = rpc.NewTypeError((*[1]ChangeTrustlineArg)(nil), args)
  1517  						return
  1518  					}
  1519  					err = i.ChangeTrustline(ctx, typedArgs[0])
  1520  					return
  1521  				},
  1522  			},
  1523  			"findPaymentPath": {
  1524  				MakeArg: func() interface{} {
  1525  					var ret [1]FindPaymentPathArg
  1526  					return &ret
  1527  				},
  1528  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1529  					typedArgs, ok := args.(*[1]FindPaymentPathArg)
  1530  					if !ok {
  1531  						err = rpc.NewTypeError((*[1]FindPaymentPathArg)(nil), args)
  1532  						return
  1533  					}
  1534  					ret, err = i.FindPaymentPath(ctx, typedArgs[0])
  1535  					return
  1536  				},
  1537  			},
  1538  			"postAnyTransaction": {
  1539  				MakeArg: func() interface{} {
  1540  					var ret [1]PostAnyTransactionArg
  1541  					return &ret
  1542  				},
  1543  				Handler: func(ctx context.Context, args interface{}) (ret interface{}, err error) {
  1544  					typedArgs, ok := args.(*[1]PostAnyTransactionArg)
  1545  					if !ok {
  1546  						err = rpc.NewTypeError((*[1]PostAnyTransactionArg)(nil), args)
  1547  						return
  1548  					}
  1549  					err = i.PostAnyTransaction(ctx, typedArgs[0])
  1550  					return
  1551  				},
  1552  			},
  1553  		},
  1554  	}
  1555  }
  1556  
  1557  type RemoteClient struct {
  1558  	Cli rpc.GenericClient
  1559  }
  1560  
  1561  func (c RemoteClient) Balances(ctx context.Context, __arg BalancesArg) (res []Balance, err error) {
  1562  	err = c.Cli.Call(ctx, "stellar.1.remote.balances", []interface{}{__arg}, &res, 0*time.Millisecond)
  1563  	return
  1564  }
  1565  
  1566  func (c RemoteClient) Details(ctx context.Context, __arg DetailsArg) (res AccountDetails, err error) {
  1567  	err = c.Cli.Call(ctx, "stellar.1.remote.details", []interface{}{__arg}, &res, 0*time.Millisecond)
  1568  	return
  1569  }
  1570  
  1571  func (c RemoteClient) RecentPayments(ctx context.Context, __arg RecentPaymentsArg) (res PaymentsPage, err error) {
  1572  	err = c.Cli.Call(ctx, "stellar.1.remote.recentPayments", []interface{}{__arg}, &res, 0*time.Millisecond)
  1573  	return
  1574  }
  1575  
  1576  func (c RemoteClient) PendingPayments(ctx context.Context, __arg PendingPaymentsArg) (res []PaymentSummary, err error) {
  1577  	err = c.Cli.Call(ctx, "stellar.1.remote.pendingPayments", []interface{}{__arg}, &res, 0*time.Millisecond)
  1578  	return
  1579  }
  1580  
  1581  func (c RemoteClient) MarkAsRead(ctx context.Context, __arg MarkAsReadArg) (err error) {
  1582  	err = c.Cli.Call(ctx, "stellar.1.remote.markAsRead", []interface{}{__arg}, nil, 0*time.Millisecond)
  1583  	return
  1584  }
  1585  
  1586  func (c RemoteClient) PaymentDetails(ctx context.Context, __arg PaymentDetailsArg) (res PaymentDetails, err error) {
  1587  	err = c.Cli.Call(ctx, "stellar.1.remote.paymentDetails", []interface{}{__arg}, &res, 0*time.Millisecond)
  1588  	return
  1589  }
  1590  
  1591  func (c RemoteClient) AccountSeqno(ctx context.Context, __arg AccountSeqnoArg) (res string, err error) {
  1592  	err = c.Cli.Call(ctx, "stellar.1.remote.accountSeqno", []interface{}{__arg}, &res, 0*time.Millisecond)
  1593  	return
  1594  }
  1595  
  1596  func (c RemoteClient) SubmitPayment(ctx context.Context, __arg SubmitPaymentArg) (res PaymentResult, err error) {
  1597  	err = c.Cli.Call(ctx, "stellar.1.remote.submitPayment", []interface{}{__arg}, &res, 0*time.Millisecond)
  1598  	return
  1599  }
  1600  
  1601  func (c RemoteClient) SubmitRelayPayment(ctx context.Context, __arg SubmitRelayPaymentArg) (res PaymentResult, err error) {
  1602  	err = c.Cli.Call(ctx, "stellar.1.remote.submitRelayPayment", []interface{}{__arg}, &res, 0*time.Millisecond)
  1603  	return
  1604  }
  1605  
  1606  func (c RemoteClient) SubmitRelayClaim(ctx context.Context, __arg SubmitRelayClaimArg) (res RelayClaimResult, err error) {
  1607  	err = c.Cli.Call(ctx, "stellar.1.remote.submitRelayClaim", []interface{}{__arg}, &res, 0*time.Millisecond)
  1608  	return
  1609  }
  1610  
  1611  func (c RemoteClient) SubmitPathPayment(ctx context.Context, __arg SubmitPathPaymentArg) (res PaymentResult, err error) {
  1612  	err = c.Cli.Call(ctx, "stellar.1.remote.submitPathPayment", []interface{}{__arg}, &res, 0*time.Millisecond)
  1613  	return
  1614  }
  1615  
  1616  func (c RemoteClient) SubmitMultiPayment(ctx context.Context, __arg SubmitMultiPaymentArg) (res SubmitMultiRes, err error) {
  1617  	err = c.Cli.Call(ctx, "stellar.1.remote.submitMultiPayment", []interface{}{__arg}, &res, 0*time.Millisecond)
  1618  	return
  1619  }
  1620  
  1621  func (c RemoteClient) AcquireAutoClaimLock(ctx context.Context, caller keybase1.UserVersion) (res string, err error) {
  1622  	__arg := AcquireAutoClaimLockArg{Caller: caller}
  1623  	err = c.Cli.Call(ctx, "stellar.1.remote.acquireAutoClaimLock", []interface{}{__arg}, &res, 0*time.Millisecond)
  1624  	return
  1625  }
  1626  
  1627  func (c RemoteClient) ReleaseAutoClaimLock(ctx context.Context, __arg ReleaseAutoClaimLockArg) (err error) {
  1628  	err = c.Cli.Call(ctx, "stellar.1.remote.releaseAutoClaimLock", []interface{}{__arg}, nil, 0*time.Millisecond)
  1629  	return
  1630  }
  1631  
  1632  func (c RemoteClient) NextAutoClaim(ctx context.Context, caller keybase1.UserVersion) (res *AutoClaim, err error) {
  1633  	__arg := NextAutoClaimArg{Caller: caller}
  1634  	err = c.Cli.Call(ctx, "stellar.1.remote.nextAutoClaim", []interface{}{__arg}, &res, 0*time.Millisecond)
  1635  	return
  1636  }
  1637  
  1638  func (c RemoteClient) IsMasterKeyActive(ctx context.Context, __arg IsMasterKeyActiveArg) (res bool, err error) {
  1639  	err = c.Cli.Call(ctx, "stellar.1.remote.isMasterKeyActive", []interface{}{__arg}, &res, 0*time.Millisecond)
  1640  	return
  1641  }
  1642  
  1643  func (c RemoteClient) SubmitRequest(ctx context.Context, __arg SubmitRequestArg) (res KeybaseRequestID, err error) {
  1644  	err = c.Cli.Call(ctx, "stellar.1.remote.submitRequest", []interface{}{__arg}, &res, 0*time.Millisecond)
  1645  	return
  1646  }
  1647  
  1648  func (c RemoteClient) RequestDetails(ctx context.Context, __arg RequestDetailsArg) (res RequestDetails, err error) {
  1649  	err = c.Cli.Call(ctx, "stellar.1.remote.requestDetails", []interface{}{__arg}, &res, 0*time.Millisecond)
  1650  	return
  1651  }
  1652  
  1653  func (c RemoteClient) CancelRequest(ctx context.Context, __arg CancelRequestArg) (err error) {
  1654  	err = c.Cli.Call(ctx, "stellar.1.remote.cancelRequest", []interface{}{__arg}, nil, 0*time.Millisecond)
  1655  	return
  1656  }
  1657  
  1658  func (c RemoteClient) SetInflationDestination(ctx context.Context, __arg SetInflationDestinationArg) (err error) {
  1659  	err = c.Cli.Call(ctx, "stellar.1.remote.setInflationDestination", []interface{}{__arg}, nil, 0*time.Millisecond)
  1660  	return
  1661  }
  1662  
  1663  func (c RemoteClient) Ping(ctx context.Context) (res string, err error) {
  1664  	err = c.Cli.Call(ctx, "stellar.1.remote.ping", []interface{}{PingArg{}}, &res, 0*time.Millisecond)
  1665  	return
  1666  }
  1667  
  1668  func (c RemoteClient) NetworkOptions(ctx context.Context, caller keybase1.UserVersion) (res NetworkOptions, err error) {
  1669  	__arg := NetworkOptionsArg{Caller: caller}
  1670  	err = c.Cli.Call(ctx, "stellar.1.remote.networkOptions", []interface{}{__arg}, &res, 0*time.Millisecond)
  1671  	return
  1672  }
  1673  
  1674  func (c RemoteClient) DetailsPlusPayments(ctx context.Context, __arg DetailsPlusPaymentsArg) (res DetailsPlusPayments, err error) {
  1675  	err = c.Cli.Call(ctx, "stellar.1.remote.detailsPlusPayments", []interface{}{__arg}, &res, 0*time.Millisecond)
  1676  	return
  1677  }
  1678  
  1679  func (c RemoteClient) AllDetailsPlusPayments(ctx context.Context, caller keybase1.UserVersion) (res []DetailsPlusPayments, err error) {
  1680  	__arg := AllDetailsPlusPaymentsArg{Caller: caller}
  1681  	err = c.Cli.Call(ctx, "stellar.1.remote.allDetailsPlusPayments", []interface{}{__arg}, &res, 0*time.Millisecond)
  1682  	return
  1683  }
  1684  
  1685  func (c RemoteClient) AssetSearch(ctx context.Context, __arg AssetSearchArg) (res []Asset, err error) {
  1686  	err = c.Cli.Call(ctx, "stellar.1.remote.assetSearch", []interface{}{__arg}, &res, 0*time.Millisecond)
  1687  	return
  1688  }
  1689  
  1690  func (c RemoteClient) FuzzyAssetSearch(ctx context.Context, __arg FuzzyAssetSearchArg) (res []Asset, err error) {
  1691  	err = c.Cli.Call(ctx, "stellar.1.remote.fuzzyAssetSearch", []interface{}{__arg}, &res, 0*time.Millisecond)
  1692  	return
  1693  }
  1694  
  1695  func (c RemoteClient) ListPopularAssets(ctx context.Context, caller keybase1.UserVersion) (res AssetListResult, err error) {
  1696  	__arg := ListPopularAssetsArg{Caller: caller}
  1697  	err = c.Cli.Call(ctx, "stellar.1.remote.listPopularAssets", []interface{}{__arg}, &res, 0*time.Millisecond)
  1698  	return
  1699  }
  1700  
  1701  func (c RemoteClient) ChangeTrustline(ctx context.Context, __arg ChangeTrustlineArg) (err error) {
  1702  	err = c.Cli.Call(ctx, "stellar.1.remote.changeTrustline", []interface{}{__arg}, nil, 0*time.Millisecond)
  1703  	return
  1704  }
  1705  
  1706  func (c RemoteClient) FindPaymentPath(ctx context.Context, __arg FindPaymentPathArg) (res PaymentPath, err error) {
  1707  	err = c.Cli.Call(ctx, "stellar.1.remote.findPaymentPath", []interface{}{__arg}, &res, 0*time.Millisecond)
  1708  	return
  1709  }
  1710  
  1711  func (c RemoteClient) PostAnyTransaction(ctx context.Context, __arg PostAnyTransactionArg) (err error) {
  1712  	err = c.Cli.Call(ctx, "stellar.1.remote.postAnyTransaction", []interface{}{__arg}, nil, 0*time.Millisecond)
  1713  	return
  1714  }