You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/fassets/firelight/01-status.mdx
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,15 +34,14 @@ The following script retrieves and displays information about the Firelight vaul
34
34
35
35
The `main()` function executes the following steps:
36
36
37
-
1.**Get the account and vault instance**: Retrieves the signer account and connects to the Firelight vault contract.
38
-
2.**Get vault information**: Fetches vault data, including asset address, total assets, total supply, and period configuration.
39
-
3.**Get asset token information**: Retrieves the asset token's symbol and decimals for formatting.
40
-
4.**Log asset information**: Displays the asset address, symbol, and decimals.
41
-
5.**Log vault balances and exchange rate**: Shows total assets, total supply, and the current exchange rate.
42
-
6.**Log period configuration**: Displays period timing and configuration.
43
-
Firelight vaults operate on [period-based logic](https://docs.firelight.finance/technical-documents#period-based-logic).
44
-
7.**Get and log user information**: Shows user balances and maximum limits for deposit, mint, withdraw, and redeem.
45
-
8.**Log user withdrawals**: Displays pending withdrawals for current and previous periods.
37
+
1.**Get the account and vault instance:** Retrieves the signer account and connects to the Firelight vault contract.
38
+
2.**Get vault information:** Fetches vault data, including asset address, total assets, total supply, and period configuration.
39
+
3.**Get asset token information:** Retrieves the asset token's symbol and decimals for formatting.
40
+
4.**Log asset information:** Displays the asset address, symbol, and decimals.
41
+
5.**Log vault balances and exchange rate:** Shows total assets, total supply, and the current exchange rate.
42
+
6.**Log period configuration:** Displays period timing and configuration. Firelight vaults operate on [period-based logic](https://docs.firelight.finance/technical-documents#period-based-logic).
43
+
7.**Get and log user information:** Shows user balances and maximum limits for deposit, mint, withdraw, and redeem.
44
+
8.**Log user withdrawals:** Displays pending withdrawals for current and previous periods.
0 commit comments