Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Parameters

interface

Parameters

description

This interface defines the requirements for sets of parameters.

Use this interface whenever you are defining a new contract or creating sets of inputs or parameters to be passed to a contract.

Note that this interface is currently still empty and only present for future-upgradeability of contract parameters, if necessary. Also, due to the usage of eslint, a custom "@typescript-eslint/no-empty-interface": "off" has been added to the eslint configuration to permit the creation of this interface and usage of it in child interfaces.

example

Using the Parameters interface

// creating custom parameters
const params = {
coolness: "with a cool 8-) value",
} as Parameters;



Other links

ContractParameters | NetworkParameters | TransactionParameters

since

v0.3.0

Hierarchy

Generated using TypeDoc