Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ContractParameters

interface

ContractParameters

description

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:

Input Type Required? Description
dappIdentifier string Required The dApp identifier, e.g. "elevate".



example

Using the ContractParameters interface

// creating contract inputs
const inputs = {
dappIdentifier: "my-cool-dapp",
} as ContractParameters;



Other links

Contract | Factory

since

v0.3.0

Hierarchy

Index

Properties

Properties

dappIdentifier: string

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.

access

public

example

"My Cool dApp"

var

{string}

Generated using TypeDoc