DOCUMENTATION: Update documentation of Corporation API (#1587)

This commit is contained in:
catloversg
2024-08-16 16:02:23 +07:00
committed by GitHub
parent d82247a404
commit a9cb46606c
69 changed files with 841 additions and 256 deletions

View File

@@ -4,7 +4,7 @@
## Corporation.issueNewShares() method
Issue new shares
Issue new shares.
**Signature:**
@@ -16,7 +16,7 @@ issueNewShares(amount?: number): number;
| Parameter | Type | Description |
| --- | --- | --- |
| amount | number | _(Optional)_ Number of new shares to issue, will be rounded to nearest 10m. Defaults to max amount. |
| amount | number | _(Optional)_ Number of new shares to issue. It will be rounded to nearest 10 million. Defaults to max amount. |
**Returns:**
@@ -24,3 +24,7 @@ number
Amount of funds generated for the corporation.
## Remarks
RAM cost: 20 GB