mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +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:
@@ -461,17 +461,39 @@ message GetCryptocurrencyDepositAddressesRequest {
|
||||
string exchange = 1;
|
||||
}
|
||||
|
||||
message DepositAddress {
|
||||
string address = 1;
|
||||
string tag = 2;
|
||||
string chain = 3;
|
||||
}
|
||||
|
||||
message DepositAddresses {
|
||||
repeated DepositAddress addresses = 1;
|
||||
}
|
||||
|
||||
message GetCryptocurrencyDepositAddressesResponse {
|
||||
map<string, string> addresses = 1;
|
||||
map<string, DepositAddresses> addresses = 1;
|
||||
}
|
||||
|
||||
message GetCryptocurrencyDepositAddressRequest {
|
||||
string exchange = 1;
|
||||
string cryptocurrency = 2;
|
||||
string chain = 3;
|
||||
bool bypass = 4;
|
||||
}
|
||||
|
||||
message GetCryptocurrencyDepositAddressResponse {
|
||||
string address = 1;
|
||||
string tag = 2;
|
||||
}
|
||||
|
||||
message GetAvailableTransferChainsRequest {
|
||||
string exchange = 1;
|
||||
string cryptocurrency = 2;
|
||||
}
|
||||
|
||||
message GetAvailableTransferChainsResponse {
|
||||
repeated string chains = 1;
|
||||
}
|
||||
|
||||
message WithdrawFiatRequest {
|
||||
@@ -490,6 +512,7 @@ message WithdrawCryptoRequest {
|
||||
double amount = 5;
|
||||
double fee = 6;
|
||||
string description = 7;
|
||||
string chain = 8;
|
||||
}
|
||||
|
||||
message WithdrawResponse {
|
||||
@@ -1254,6 +1277,12 @@ service GoCryptoTrader {
|
||||
};
|
||||
}
|
||||
|
||||
rpc GetAvailableTransferChains(GetAvailableTransferChainsRequest) returns (GetAvailableTransferChainsResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/v1/getavailabletransferchains"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc WithdrawFiatFunds(WithdrawFiatRequest) returns (WithdrawResponse) {
|
||||
option (google.api.http) = {
|
||||
|
||||
Reference in New Issue
Block a user