WIP
This commit is contained in:
parent
2413d69e94
commit
5ea37d4ec4
2 changed files with 41 additions and 23 deletions
|
|
@ -20,13 +20,8 @@ db.one('select data from user_config where type=$1', 'exchanges')
|
||||||
cashOutCommission: settings.fiatCommission || settings.commission,
|
cashOutCommission: settings.fiatCommission || settings.commission,
|
||||||
idVerificationEnabled: compliance.idVerificationEnabled,
|
idVerificationEnabled: compliance.idVerificationEnabled,
|
||||||
idVerificationLimit: compliance.idVerificationLimit,
|
idVerificationLimit: compliance.idVerificationLimit,
|
||||||
currency: settings.currency,
|
|
||||||
lowBalanceMargin: settings.lowBalanceMargin,
|
lowBalanceMargin: settings.lowBalanceMargin,
|
||||||
cartridges: settings.cartridges,
|
zeroConfLimit: settings.zeroConfLimit
|
||||||
virtualCartridges: settings.virtualCartridges,
|
|
||||||
zeroConfLimit: settings.zeroConfLimit,
|
|
||||||
coins: settings.coins,
|
|
||||||
direction: 'cashIn'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,42 @@
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"jsonSchema": {
|
"code": "cashInTransactionLimit",
|
||||||
"title": "Global",
|
"display": "Cash-in tx limit",
|
||||||
"type": "object",
|
"type": "integer"
|
||||||
"required": [],
|
|
||||||
"properties": {
|
|
||||||
"commission": {"type": "number", "title": "Cash-in Commission", "minimum": 0},
|
|
||||||
"cashOutCommission": {"type": "number", "title": "Cash-out Commission", "minimum": 0},
|
|
||||||
"currency": {"type": "string", "title": "Currency"},
|
|
||||||
"zeroConfLimit": {"type": "number", "title": "Zero-conf Limit", "minimum": 0},
|
|
||||||
"fiatTxLimit": {"type": "number", "title": "Cash-out Limit", "minimum": 0},
|
|
||||||
"coins": {"type": "array", "title": "Crypto Coins", "items": {"type": "string"}}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"uiSchema": {
|
{
|
||||||
"ui:order": ["commission", "cashOutCommission", "currency", "zeroConfLimit",
|
"code": "cashOutTransactionLimit",
|
||||||
"fiatTxLimit", "coins"]
|
"display": "Cash-out tx limit",
|
||||||
}
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "cashInCommission",
|
||||||
|
"display": "Cash-in commission",
|
||||||
|
"type": "percentage"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "cashOutCommission",
|
||||||
|
"display": "Cash-out commission",
|
||||||
|
"type": "percentage"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "idVerificationEnabled",
|
||||||
|
"display": "ID verification",
|
||||||
|
"type": "bool"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "idVerificationLimit",
|
||||||
|
"display": "ID Verification Limit",
|
||||||
|
"type": "int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "lowBalanceMargin",
|
||||||
|
"display": "Low balance margin",
|
||||||
|
"type": "percentage"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"code": "zeroConfLimit",
|
||||||
|
"display": "Zero conf limit",
|
||||||
|
"type": "int"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue