mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-14 07:26:47 +00:00
exchanges/engine: Add multichain deposit/withdrawal support (#794)
* Add exchange multichain support * Start tidying up * Add multichain transfer support for Bitfinex and fix poloniex bug * Add Coinbene multichain support * Start adjusting the deposit address manager * Fix deposit tests and further enhancements * Cleanup * Add bypass flag, expand tests plus error coverage for Huobi Adjust helpers * Address nitterinos * BFX wd changes * Address nitterinos * Minor fixes rebasing on master * Fix BFX acceptableMethods test * Add some TO-DOs for 2 tests WRT races * Fix acceptableMethods test round 2 * Address nitterinos
This commit is contained in:
2
testdata/configtest.json
vendored
2
testdata/configtest.json
vendored
File diff suppressed because one or more lines are too long
31541
testdata/http_mock/binance/binance.json
vendored
31541
testdata/http_mock/binance/binance.json
vendored
File diff suppressed because it is too large
Load Diff
17
testdata/http_mock/bitstamp/bitstamp.json
vendored
17
testdata/http_mock/bitstamp/bitstamp.json
vendored
@@ -68201,6 +68201,23 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"/api/v2/xrp_address/": {
|
||||
"POST": [
|
||||
{
|
||||
"data": {
|
||||
"address": "rDsbeomae4FXwgQTJp9Rs64Qg9vDiTCdBv",
|
||||
"destination_tag": 40687762
|
||||
},
|
||||
"queryString": "",
|
||||
"bodyParams": "key=\u0026nonce=1630130772019126700\u0026signature=4867C3278797DE9AC555D3F3A69076FED19AB28C7CEFBE18A056DAFF2EE7E2EF",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/x-www-form-urlencoded"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"/api/withdrawal_requests/": {
|
||||
"POST": [
|
||||
{
|
||||
|
||||
10304
testdata/http_mock/poloniex/poloniex.json
vendored
10304
testdata/http_mock/poloniex/poloniex.json
vendored
File diff suppressed because it is too large
Load Diff
48
testdata/http_mock/zb/zb.json
vendored
48
testdata/http_mock/zb/zb.json
vendored
@@ -1,5 +1,53 @@
|
||||
{
|
||||
"routes": {
|
||||
"/api/getPayinAddress": {
|
||||
"GET": [
|
||||
{
|
||||
"data": {
|
||||
"code": 1001,
|
||||
"message": "暂无地址,请先前往APP或WEB获取地址"
|
||||
},
|
||||
"queryString": "accesskey=\u0026currency=btc\u0026method=getPayinAddress\u0026reqTime=1631162511742\u0026sign=b223f64c54af7f040455d5ee15ff2242",
|
||||
"bodyParams": "",
|
||||
"headers": {}
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"code": 1000,
|
||||
"message": {
|
||||
"datas": [
|
||||
{
|
||||
"address": "0x7425dd3bf8dd3ec40522988a4431fe7e812b2011",
|
||||
"blockChain": "eth",
|
||||
"canDeposit": true,
|
||||
"canWithdraw": true,
|
||||
"isUseMemo": false
|
||||
},
|
||||
{
|
||||
"address": "TULhiu4Ffng27BABRJAkAUzqLpiLjNgwfC",
|
||||
"blockChain": "trx",
|
||||
"canDeposit": true,
|
||||
"canWithdraw": true,
|
||||
"isUseMemo": false
|
||||
},
|
||||
{
|
||||
"address": "1DoWTZHg4kF1DnR2kZ7J9wezVVReigrMjZ",
|
||||
"blockChain": "btc",
|
||||
"canDeposit": true,
|
||||
"canWithdraw": true,
|
||||
"isUseMemo": false
|
||||
}
|
||||
],
|
||||
"des": "success",
|
||||
"isSuc": true
|
||||
}
|
||||
},
|
||||
"queryString": "accesskey=\u0026currency=usdt\u0026method=getPayinAddress\u0026reqTime=1631162512275\u0026sign=25ba302f911b23ad2364394906d6033f",
|
||||
"bodyParams": "",
|
||||
"headers": {}
|
||||
}
|
||||
]
|
||||
},
|
||||
"/data/v1/allTicker": {
|
||||
"GET": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user