new OpsManagedContract(contractAddress, defaultGasPrice, chainId)
Ops managed contract interact constructor
Parameters:
| Name | Type | Description |
|---|---|---|
contractAddress |
string | address where Contract has been deployed |
defaultGasPrice |
string | default Gas Price |
chainId |
number | chain id |
Extends
- OwnedContract
Methods
-
getOpsAddress()
-
Get currContract's Ops Address
Returns:
- Type
- promise.<result>
-
setOpsAddress(senderAddress, senderPassphrase, opsAddress, options)
-
Set currContract's Ops Address
Parameters:
Name Type Description senderAddressstring Sender Address senderPassphraseString Sender Passphrase opsAddressString address which is to be made Ops Address of currContract optionsObject options for this transaction Returns:
- Type
- promise.<result>