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

Function GetDexId

src/rpc/rpcdex.cpp:126–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 }
125
126 DexID GetDexId(const Value &jsonValue) {
127 return RPC_PARAM::GetUint32(jsonValue);
128 }
129
130 DexID GetDexId(const Array& params, const size_t index) {
131 return params.size() > index? GetDexId(params[index]) : DEX_RESERVED_ID;

Callers 6

submitdexbuylimitordertxFunction · 0.85
gendexoperatorordertxFunction · 0.85
submitdexopupdatetxFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected