This commit is contained in:
Olivier Gagnon
2021-11-03 00:27:21 -04:00
parent 37845c57c0
commit 2b79871c02
299 changed files with 3861 additions and 7125 deletions

View File

@@ -4,7 +4,7 @@
## CodingContract.getNumTriesRemaining() method
Get the number of tries remaining on the contract before it self-destructs.
Get the number of attempt remaining.
<b>Signature:</b>
@@ -17,7 +17,7 @@ getNumTriesRemaining(fn: string, host?: string): number;
| Parameter | Type | Description |
| --- | --- | --- |
| fn | string | Filename of the contract. |
| host | string | Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. |
| host | string | Host of the server containing the contract. Optional. Defaults to current server if not provided. |
<b>Returns:</b>
@@ -29,3 +29,5 @@ How many attempts are remaining for the contract;
RAM cost: 2 GB
Get the number of tries remaining on the contract before it self-destructs.