FF-160: w2w (#541)

* added terms for w2w and deposit

* removed 2w2 provider

* fixed
This commit is contained in:
Артем 2020-02-14 16:18:18 +03:00 committed by GitHub
parent 6886456dc9
commit 5519ffe0aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {