Skip to content

Commit

Permalink
aax: add deposit/withdraw flag in currencies ccxt#11107
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0Vu committed Jan 9, 2022
1 parent 116532d commit 140e985
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/aax.js
Expand Up @@ -577,6 +577,8 @@ module.exports = class aax extends Exchange {
const fee = this.safeNumber (currency, 'withdrawFee');
const visible = this.safeValue (currency, 'visible');
const active = (enableWithdraw && enableDeposit && visible);
const deposit = (enableDeposit && visible);
const withdraw = (enableWithdraw && visible);
const network = this.safeString (currency, 'network');
result[code] = {
'id': id,
Expand All @@ -585,6 +587,8 @@ module.exports = class aax extends Exchange {
'precision': precision,
'info': currency,
'active': active,
'deposit': deposit,
'withdraw': withdraw,
'fee': fee,
'network': network,
'limits': {
Expand Down

0 comments on commit 140e985

Please sign in to comment.