Represents a config set required to connect an Ethereum contract.
• 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.
src/lib/ethereum/adapter.ts:53
• 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.
src/lib/ethereum/adapter.ts:64
• 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)