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 senderAddress
string Sender Address senderPassphrase
String Sender Passphrase opsAddress
String address which is to be made Ops Address of currContract options
Object options for this transaction Returns:
- Type
- promise.<result>