MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / encodeDeploy

Method encodeDeploy

lib.commonjs/abi/interface.js:681–683  ·  view source on GitHub ↗

* Encodes a ``tx.data`` object for deploying the Contract with * the %%values%% as the constructor arguments.

(values)

Source from the content-addressed store, hash-verified

679 * the %%values%% as the constructor arguments.
680 */
681 encodeDeploy(values) {
682 return this._encodeParams(this.deploy.inputs, values || []);
683 }
684 /**
685 * Decodes the result %%data%% (e.g. from an ``eth_call``) for the
686 * specified error (see [[getError]] for valid values for

Callers 1

getDeployTransactionMethod · 0.45

Calls 1

_encodeParamsMethod · 0.95

Tested by

no test coverage detected