Merge branch 'revert-e71f76c1' into 'master'
Revert "Merge branch 'randomTradeSummary' into 'master'" See merge request riftenlabs/lib/wizardconnect!29
This commit is contained in:
commit
a4941b80bb
1 changed files with 0 additions and 16 deletions
|
|
@ -134,27 +134,11 @@ export interface ErrorMessage extends ProtocolMessage {
|
||||||
error: string;
|
error: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TxSummaryTokenChange {
|
|
||||||
categoryId: string; // hex token category ID
|
|
||||||
fungibleAmount: string; // signed bigint as string (negative = spending, positive = receiving)
|
|
||||||
nftCount?: number;
|
|
||||||
symbol?: string;
|
|
||||||
decimals?: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface TxSummary {
|
|
||||||
netBchSats: string; // signed bigint as string (negative = spending, positive = receiving)
|
|
||||||
tokenChanges: TxSummaryTokenChange[];
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface SignTransactionRequest extends ProtocolMessage {
|
export interface SignTransactionRequest extends ProtocolMessage {
|
||||||
action: RelayMsgAction.SignTransactionRequest;
|
action: RelayMsgAction.SignTransactionRequest;
|
||||||
transaction: WcSignTransactionRequest;
|
transaction: WcSignTransactionRequest;
|
||||||
sequence: number;
|
sequence: number;
|
||||||
inputPaths: [number, PathName, number][]; // [inputIndex, pathName, addressIndex]
|
inputPaths: [number, PathName, number][]; // [inputIndex, pathName, addressIndex]
|
||||||
/// Dapp-provided transaction summary. Wallets should use this for display
|
|
||||||
/// when present rather than parsing the raw transaction themselves.
|
|
||||||
txSummary?: TxSummary;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SignTransactionResponse extends ProtocolMessage {
|
export interface SignTransactionResponse extends ProtocolMessage {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue