MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / GetDexOperator

Function GetDexOperator

src/rpc/rpcdex.cpp:172–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 DexOperatorDetail GetDexOperator(const DexID &dexId) {
173 DexOperatorDetail operatorDetail;
174 if (!pCdMan->pDexCache->GetDexOperator(dexId, operatorDetail))
175 throw JSONRPCError(RPC_INVALID_PARAMETER, strprintf("the dex operator does not exist! dex_id=%u",
176 dexId));
177 return operatorDetail;
178 }
179
180 void CheckOrderAmount(const TokenSymbol &symbol, const uint64_t amount, const char *pSymbolSide) {
181

Callers 5

submitdexbuylimitordertxFunction · 0.70
gendexoperatorordertxFunction · 0.70

Calls 2

JSONRPCErrorFunction · 0.85
GetDexOperatorMethod · 0.80

Tested by

no test coverage detected