CoinSwap: handle "receiving/received LBC"

This commit is contained in:
infiinte-persistence 2021-04-08 09:23:17 +08:00
parent 5f3a40a420
commit ef3f5999a9
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
2 changed files with 8 additions and 6 deletions

View file

@ -2,12 +2,13 @@ declare type CoinSwapInfo = {
chargeCode: string, chargeCode: string,
coins: Array<string>, coins: Array<string>,
sendAddresses: { [string]: string}, sendAddresses: { [string]: string},
sendAmounts: { [string]: number }, sendAmounts: { [string]: any },
lbcAmount: number, lbcAmount: number,
status?: { status?: {
status: string, status: string,
receipt_txid: string, receiptCurrency: string,
lbc_txid: string, receiptTxid: string,
lbcTxid: string,
}, },
} }

View file

@ -2,12 +2,13 @@ declare type CoinSwapInfo = {
chargeCode: string, chargeCode: string,
coins: Array<string>, coins: Array<string>,
sendAddresses: { [string]: string}, sendAddresses: { [string]: string},
sendAmounts: { [string]: number }, sendAmounts: { [string]: any },
lbcAmount: number, lbcAmount: number,
status?: { status?: {
status: string, status: string,
receipt_txid: string, receiptCurrency: string,
lbc_txid: string, receiptTxid: string,
lbcTxid: string,
}, },
} }