createUnprovenDeployTxFromVerifierKeys
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / createUnprovenDeployTxFromVerifierKeys
Function: createUnprovenDeployTxFromVerifierKeys()
Calls a contract constructor and creates an unbalanced, unproven, unsubmitted, deploy transaction from the constructor results.
Paramβ
The verifier keys for the contract being deployed.
Paramβ
The Zswap coin public key of the current user.
Paramβ
Configuration.
Call Signatureβ
createUnprovenDeployTxFromVerifierKeys<
C>(verifierKeys,coinPublicKey,options,encryptionPublicKey):UnsubmittedDeployTxData<C>
Type Parametersβ
Cβ
C extends Contract<undefined, Witnesses<undefined>>
Parametersβ
verifierKeysβ
[ImpureCircuitId<C>, VerifierKey][]
coinPublicKeyβ
string
optionsβ
encryptionPublicKeyβ
string
Returnsβ
Call Signatureβ
createUnprovenDeployTxFromVerifierKeys<
C>(verifierKeys,coinPublicKey,options,encryptionPublicKey):UnsubmittedDeployTxData<C>
Type Parametersβ
Cβ
C extends Contract<any, Witnesses<any>>
Parametersβ
verifierKeysβ
[ImpureCircuitId<C>, VerifierKey][]
coinPublicKeyβ
string
optionsβ
DeployTxOptionsWithPrivateState<C>
encryptionPublicKeyβ
string