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

Function encode

activity/jd_nian_ar.js:88–95  ·  view source on GitHub ↗
(data, aa, extraData)

Source from the content-addressed store, hash-verified

86 await showMsg()
87}
88function encode(data, aa, extraData) {
89 const temp = {
90 "extraData": JSON.stringify(extraData),
91 "businessData": JSON.stringify(data),
92 "secretp": aa,
93 }
94 return { "ss": (JSON.stringify(temp)) };
95}
96function getRnd() {
97 return Math.floor(1e6 * Math.random()).toString();
98}

Callers 1

pkAssignGroupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected