Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 1.48 KB

EthereumContractConfig.md

File metadata and controls

52 lines (30 loc) · 1.48 KB

Interface: EthereumContractConfig

Represents a config set required to connect an Ethereum contract.

Table of contents

Properties

Properties

address

Optional address: string

Address of the Ethereum contract as a 0x-prefixed hex string. Optional parameter, if not provided the value will be resolved from the contract artifact.

Defined in

src/lib/ethereum/adapter.ts:53


deployedAtBlockNumber

Optional deployedAtBlockNumber: number

Number of a block in which the contract was deployed. Optional parameter, if not provided the value will be resolved from the contract artifact.

Defined in

src/lib/ethereum/adapter.ts:64


signerOrProvider

signerOrProvider: Signer | Provider

Signer - will return a Contract which will act on behalf of that signer. The signer will sign all contract transactions. Provider - will return a downgraded Contract which only has read-only access (i.e. constant calls)

Defined in

src/lib/ethereum/adapter.ts:58