Constructor

constructor(abi, address)

Parameter

abi - Any

Contract ABI Array, Object or any other types required by the blockchain.

address - String:

Contract address.


Property

abi

Type: Any
Description: Contract ABI passed by the constructor.

address

Type: String
Contract Address passed by the constructor.

contract

Type: Any
Description: Contract object instance of js-sdk of blockchain, such as web3.eth.Contract.