MCPcopy Create free account
hub / github.com/ccxt/ccxt / encodeDeploy

Method encodeDeploy

js/src/static_dependencies/ethers/interface.js:584–586  ·  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

582 * the %%values%% as the constructor arguments.
583 */
584 encodeDeploy(values) {
585 return this._encodeParams(this.deploy.inputs, values || []);
586 }
587 /**
588 * Decodes the result %%data%% (e.g. from an ``eth_call``) for the
589 * specified error (see [[getError]] for valid values for

Callers

nothing calls this directly

Calls 1

_encodeParamsMethod · 0.95

Tested by

no test coverage detected