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,
|
||||
idVerificationEnabled: compliance.idVerificationEnabled,
|
||||
idVerificationLimit: compliance.idVerificationLimit,
|
||||
currency: settings.currency,
|
||||
lowBalanceMargin: settings.lowBalanceMargin,
|
||||
cartridges: settings.cartridges,
|
||||
virtualCartridges: settings.virtualCartridges,
|
||||
zeroConfLimit: settings.zeroConfLimit,
|
||||
coins: settings.coins,
|
||||
direction: 'cashIn'
|
||||
zeroConfLimit: settings.zeroConfLimit
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,19 +1,42 @@
|
|||
{
|
||||
"jsonSchema": {
|
||||
"title": "Global",
|
||||
"type": "object",
|
||||
"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"}}
|
||||
}
|
||||
[
|
||||
{
|
||||
"code": "cashInTransactionLimit",
|
||||
"display": "Cash-in tx limit",
|
||||
"type": "integer"
|
||||
},
|
||||
"uiSchema": {
|
||||
"ui:order": ["commission", "cashOutCommission", "currency", "zeroConfLimit",
|
||||
"fiatTxLimit", "coins"]
|
||||
{
|
||||
"code": "cashOutTransactionLimit",
|
||||
"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