MCPcopy Index your code
hub / github.com/PolymathNetwork/polymath-core / encodeModuleCall

Function encodeModuleCall

test/helpers/encodeCall.js:9–13  ·  view source on GitHub ↗
(parametersType, values)

Source from the content-addressed store, hash-verified

7}
8
9export function encodeModuleCall(parametersType, values) {
10 const methodId = abi.methodID("configure", parametersType).toString("hex");
11 const params = abi.rawEncode(parametersType, values).toString("hex");
12 return "0x" + methodId + params;
13}

Calls

no outgoing calls

Tested by

no test coverage detected