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/7-operational-parameters.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,8 +66,12 @@ To get the default agent settings, you need to call the `getAgentInfo` function
66
66
67
67
### Core Vault Manager
68
68
69
+
To get the Core Vault manager operational parameters you need to use the [`ICoreVaultManager`](/fassets/reference/ICoreVaultManager) interface. Specific functions added to each parameter.
To get the Core Vault settings you need to use the [`ICoreVaultSettings`](/fassets/reference/ICoreVaultSettings) interface. Specific functions added to each parameter.
Command line reference for managing and interacting with FAssets `ICoreVaultSettings`.
9
+
10
+
Sourced from `ICoreVaultManager.sol` on [GitHub](https://github.com/flare-foundation/fassets/blob/main/contracts/userInterfaces/ICoreVaultManager.sol).
11
+
12
+
## Functions
13
+
14
+
### `getSettings`
15
+
16
+
Returns the current operational settings of the Core Vault Manager.
17
+
18
+
```solidity
19
+
function getSettings()
20
+
external view
21
+
returns (
22
+
uint128 _escrowEndTimeSeconds,
23
+
uint128 _escrowAmount,
24
+
uint128 _minimalAmount,
25
+
uint128 _fee
26
+
);
27
+
```
28
+
29
+
#### Returns
30
+
31
+
-`_escrowEndTimeSeconds`: The end time for escrow in seconds.
32
+
-`_escrowAmount`: The amount of assets to be held in escrow.
33
+
-`_minimalAmount`: The minimum amount that must remain in the vault after operations.
Command line reference for managing and interacting with FAssets `ICoreVaultSettings`.
9
+
10
+
Sourced from `ICoreVaultSettings.sol` on [GitHub](https://github.com/flare-foundation/fassets/blob/main/contracts/userInterfaces/ICoreVaultSettings.sol).
11
+
12
+
## Functions
13
+
14
+
### `getCoreVaultMinimumAmountLeftBIPS`
15
+
16
+
Returns the minimum amount of minting left on agent's address after transfer to core vault.
17
+
18
+
```solidity
19
+
function getCoreVaultMinimumAmountLeftBIPS()
20
+
external view
21
+
returns (uint256);
22
+
```
23
+
24
+
### `getCoreVaultTransferTimeExtensionSeconds`
25
+
26
+
Returns the extra time for an agent's transfer to the core vault.
27
+
28
+
```solidity
29
+
function getCoreVaultTransferTimeExtensionSeconds()
30
+
external view
31
+
returns (uint256);
32
+
```
33
+
34
+
### `getCoreVaultTransferFeeBIPS`
35
+
36
+
Returns the fee paid by agent for transfer to the core vault.
37
+
38
+
```solidity
39
+
function getCoreVaultTransferFeeBIPS()
40
+
external view
41
+
returns (uint256);
42
+
```
43
+
44
+
### `getCoreVaultMinimumRedeemLots`
45
+
46
+
Returns the minimum number of lots that a direct redemption from core vault can take.
47
+
48
+
```solidity
49
+
function getCoreVaultMinimumRedeemLots()
50
+
external view
51
+
returns (uint256);
52
+
```
53
+
54
+
### `getCoreVaultRedemptionFeeBIPS`
55
+
56
+
Returns the fee paid by the redeemer for direct redemptions from the core vault.
"Minimum amount of minting left on agent's address after transfer to core vault. Expressed as percentage of agent's minting capacity (calculated from agent's vault and pool collateral).",
0 commit comments