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

Method ToString

src/entities/dexorder.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 // COrderOperatorParams
16
17 string COrderOperatorParams::ToString() const {
18 return strprintf("open_mode=%s", kOpenModeHelper.GetName(open_mode)) + ", " +
19 strprintf("taker_fee_ratio=%llu", taker_fee_ratio) + ", " +
20 strprintf("maker_fee_ratio=%s", maker_fee_ratio);
21 }
22
23 Object COrderOperatorParams::ToJson() const {
24 json_spirit::Object obj;

Callers 1

ToJsonMethod · 0.45

Calls 1

ToStringFunction · 0.50

Tested by

no test coverage detected