ContractParameters
This interface defines the requirements for objects passed as inputs to Contract instances. Use this interface whenever you are defining a new contract or creating sets of inputs to be passed to a contract.
Following inputs apply to this contract class:
dappIdentifier
string
Using the ContractParameters interface
// creating contract inputsconst inputs = { dappIdentifier: "my-cool-dapp",} as ContractParameters;
Contract | Factory
v0.3.0
A human-readable dApp identifier, e.g. "ELEVATE". Note that this field will be slugified using the Contract.dApp method before it is attached to the transfer transaction message.
public
"My Cool dApp"
{string}
Generated using TypeDoc
ContractParameters
This interface defines the requirements for objects passed as inputs to Contract instances.
Use this interface whenever you are defining a new contract or creating sets of inputs to be passed to a contract.
Parameters
Following inputs apply to this contract class:
dappIdentifier
string
Using the
ContractParameters
interfaceOther links
Contract | Factory
v0.3.0