MCPcopy Create free account
hub / github.com/Semporia/Scripts / encode

Function encode

activity/jd_nian.js:164–171  ·  view source on GitHub ↗
(data, aa, extraData)

Source from the content-addressed store, hash-verified

162}
163
164function encode(data, aa, extraData) {
165 const temp = {
166 "extraData": JSON.stringify(extraData),
167 "businessData": JSON.stringify(data),
168 "secretp": aa,
169 }
170 return {"ss": (JSON.stringify(temp))};
171}
172
173function getRnd() {
174 return Math.floor(1e6 * Math.random()).toString();

Callers 9

collectProduceScoreFunction · 0.70
collectScoreFunction · 0.70
pkCollectScoreFunction · 0.70
raiseFunction · 0.70
pkAssignGroupFunction · 0.70
pkStealGroupFunction · 0.70
killCouponFunction · 0.70
collectSpecialScoreFunction · 0.70
collectSpecialFinalScoreFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected