feat: bnb
This commit is contained in:
@@ -151,6 +151,9 @@ layui.use(['table', 'form', 'layer'], function () {
|
||||
if (type.indexOf('TRON') >= 0 || type === 'TRX' || /^T[1-9A-HJ-NP-Za-km-z]{33}$/.test(addr)) {
|
||||
return ['USDT', 'TRX'];
|
||||
}
|
||||
if (type.indexOf('BSC') >= 0 || type.indexOf('BNB') >= 0 || type.indexOf('BINANCE') >= 0) {
|
||||
return ['BNB', 'USDT'];
|
||||
}
|
||||
if (type.indexOf('ETH') >= 0 || type.indexOf('EVM') >= 0 || /^0x[0-9a-fA-F]{40}$/.test(addr)) {
|
||||
return ['ETH', 'USDT', 'BNB'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user