diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-02-22 21:52:53 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-02-22 21:53:05 +0100 |
commit | 2760591d4deb00b594010493a0bbd07b347204ab (patch) | |
tree | acce52e557f004b20391aee0771147f2b62f034d /extension/lib/wallet/types.ts | |
parent | 81428771b8fc526a692dd26cf3f1421b65e32d6d (diff) | |
download | wallet-core-2760591d4deb00b594010493a0bbd07b347204ab.tar.xz |
put all crypto into backend
Diffstat (limited to 'extension/lib/wallet/types.ts')
-rw-r--r-- | extension/lib/wallet/types.ts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extension/lib/wallet/types.ts b/extension/lib/wallet/types.ts index cfd30bbc3..77603e083 100644 --- a/extension/lib/wallet/types.ts +++ b/extension/lib/wallet/types.ts @@ -120,12 +120,36 @@ export interface PreCoin { coinValue: AmountJson; } + export interface Reserve { mint_base_url: string reserve_priv: string; reserve_pub: string; } + +export interface CoinPaySig { + coin_sig: string; + coin_pub: string; + ub_sig: string; + denom_pub: string; + f: AmountJson; +} + + +export interface Coin { + coinPub: string; + coinPriv: string; + denomPub: string; + denomSig: string; + currentAmount: AmountJson; + mintBaseUrl: string; +} + + +export type PayCoinInfo = Array<{ updatedCoin: Coin, sig: CoinPaySig }>; + + export namespace Amounts { export interface Result { amount: AmountJson; |