Skip to main content

FindDeployedContractOptionsBase

For the complete documentation index, see llms.txt

Midnight.js API Reference v4.0.4


Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / FindDeployedContractOptionsBase

Type Alias: FindDeployedContractOptionsBase<C>

FindDeployedContractOptionsBase<C> = object

Base type for the configuration options for findDeployedContract.

Type Parameters

C

C extends Contract.Any

Properties

compiledContract

readonly compiledContract: CompiledContract.CompiledContract<C, any>

서킷을 실행하는 데 사용할 컴파일된 컨트랙트입니다.


contractAddress

readonly contractAddress: ContractAddress

이전에 배포된 컨트랙트의 주소입니다.


signingKey?

readonly optional signingKey?: SigningKey

The signing key to use to perform contract maintenance updates. If defined, the given signing key is stored for this contract address. This is useful when someone has already added the given signing key to the contract maintenance authority. If undefined, and there is an existing signing key for the contract address locally, the existing signing key is kept. This is useful when the contract was deployed locally. If undefined, and there is not an existing signing key for the contract address locally, a fresh signing key is generated and stored for the contract address locally. This is useful when you want to give a signing key to someone else to add you as a maintenance authority.