From 5519ffe0aa251989a79be59b1c5a859c5df650c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D0=B5=D0=BC?= Date: Fri, 14 Feb 2020 16:18:18 +0300 Subject: [PATCH] FF-160: w2w (#541) * added terms for w2w and deposit * removed 2w2 provider * fixed --- proto/domain.thrift | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/proto/domain.thrift b/proto/domain.thrift index 4e66682..6bda641 100644 --- a/proto/domain.thrift +++ b/proto/domain.thrift @@ -1024,6 +1024,7 @@ struct WalletServiceTerms { 3: optional CumulativeLimitSelector turnover_limit 4: optional WithdrawalServiceTerms withdrawals 5: optional P2PServiceTerms p2p + 6: optional W2WServiceTerms w2w } union CumulativeLimitSelector { @@ -1068,6 +1069,16 @@ struct P2PServiceTerms { 6: optional LifetimeSelector quote_lifetime } +/** W2W service terms **/ + +struct W2WServiceTerms { + 1: optional Predicate allow + 2: optional CurrencySelector currencies + 3: optional CashLimitSelector cash_limit + 4: optional CashFlowSelector cash_flow + 5: optional FeeSelector fees +} + /* Payout methods */ enum PayoutMethod {