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:
Adrian Gallagher
2021-10-15 15:55:38 +11:00
committed by GitHub
parent b093a7df19
commit 0c00b7e1df
145 changed files with 46329 additions and 5507 deletions

View File

@@ -1127,6 +1127,38 @@
]
}
},
"/v1/getavailabletransferchains": {
"post": {
"operationId": "GoCryptoTrader_GetAvailableTransferChains",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/gctrpcGetAvailableTransferChainsResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/gctrpcGetAvailableTransferChainsRequest"
}
}
],
"tags": [
"GoCryptoTrader"
]
}
},
"/v1/getcommunicationrelayers": {
"get": {
"operationId": "GoCryptoTrader_GetCommunicationRelayers",
@@ -3656,6 +3688,31 @@
}
}
},
"gctrpcDepositAddress": {
"type": "object",
"properties": {
"address": {
"type": "string"
},
"tag": {
"type": "string"
},
"chain": {
"type": "string"
}
}
},
"gctrpcDepositAddresses": {
"type": "object",
"properties": {
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/gctrpcDepositAddress"
}
}
}
},
"gctrpcFiatWithdrawalEvent": {
"type": "object",
"properties": {
@@ -3891,6 +3948,28 @@
}
}
},
"gctrpcGetAvailableTransferChainsRequest": {
"type": "object",
"properties": {
"exchange": {
"type": "string"
},
"cryptocurrency": {
"type": "string"
}
}
},
"gctrpcGetAvailableTransferChainsResponse": {
"type": "object",
"properties": {
"chains": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"gctrpcGetCommunicationRelayersResponse": {
"type": "object",
"properties": {
@@ -3919,6 +3998,12 @@
},
"cryptocurrency": {
"type": "string"
},
"chain": {
"type": "string"
},
"bypass": {
"type": "boolean"
}
}
},
@@ -3927,6 +4012,9 @@
"properties": {
"address": {
"type": "string"
},
"tag": {
"type": "string"
}
}
},
@@ -3944,7 +4032,7 @@
"addresses": {
"type": "object",
"additionalProperties": {
"type": "string"
"$ref": "#/definitions/gctrpcDepositAddresses"
}
}
}
@@ -5075,6 +5163,9 @@
},
"description": {
"type": "string"
},
"chain": {
"type": "string"
}
}
},