(self, rawCurrency: dict)
| 3013 | return result |
| 3014 | |
| 3015 | def parse_currency(self, rawCurrency: dict) -> Currency: |
| 3016 | # |
| 3017 | # { |
| 3018 | # "coin": "LINK", |
| 3019 | # "depositAllEnable": True, |
| 3020 | # "withdrawAllEnable": True, |
| 3021 | # "name": "ChainLink", |
| 3022 | # "free": "0", |
| 3023 | # "locked": "0", |
| 3024 | # "freeze": "0", |
| 3025 | # "withdrawing": "0", |
| 3026 | # "ipoing": "0", |
| 3027 | # "ipoable": "0", |
| 3028 | # "storage": "0", |
| 3029 | # "isLegalMoney": False, |
| 3030 | # "trading": True, |
| 3031 | # "networkList": [ |
| 3032 | # { |
| 3033 | # "network": "BSC", |
| 3034 | # "coin": "LINK", |
| 3035 | # "withdrawIntegerMultiple": "0.00000001", |
| 3036 | # "isDefault": False, |
| 3037 | # "depositEnable": True, |
| 3038 | # "withdrawEnable": True, |
| 3039 | # "depositDesc": "", |
| 3040 | # "withdrawDesc": "", |
| 3041 | # "specialTips": "", |
| 3042 | # "specialWithdrawTips": "The network you have selected is BSC. Please ensure that the withdrawal address supports the Binance Smart Chain network. You will lose your assets if the chosen platform does not support retrievals.", |
| 3043 | # "name": "BNB Smart Chain(BEP20)", |
| 3044 | # "resetAddressStatus": False, |
| 3045 | # "addressRegex": "^(0x)[0-9A-Fa-f]{40}$", |
| 3046 | # "addressRule": "", |
| 3047 | # "memoRegex": "", |
| 3048 | # "withdrawFee": "0.012", |
| 3049 | # "withdrawMin": "0.024", |
| 3050 | # "withdrawMax": "9999999999.99999999", |
| 3051 | # "minConfirm": "15", |
| 3052 | # "unLockConfirm": "0", |
| 3053 | # "sameAddress": False, |
| 3054 | # "estimatedArrivalTime": "5", |
| 3055 | # "busy": False, |
| 3056 | # "country": "AE,BINANCE_BAHRAIN_BSC" |
| 3057 | # }, |
| 3058 | # { |
| 3059 | # "network": "BNB", |
| 3060 | # "coin": "LINK", |
| 3061 | # "withdrawIntegerMultiple": "0.00000001", |
| 3062 | # "isDefault": False, |
| 3063 | # "depositEnable": True, |
| 3064 | # "withdrawEnable": True, |
| 3065 | # "depositDesc": "", |
| 3066 | # "withdrawDesc": "", |
| 3067 | # "specialTips": "Both a MEMO and an Address are required to successfully deposit your LINK BEP2 tokens to Binance.", |
| 3068 | # "specialWithdrawTips": "", |
| 3069 | # "name": "BNB Beacon Chain(BEP2)", |
| 3070 | # "resetAddressStatus": False, |
| 3071 | # "addressRegex": "^(bnb1)[0-9a-z]{38}$", |
| 3072 | # "addressRule": "", |
no test coverage detected