Skip to main content

ICoreVaultManager

Command line reference for managing and interacting with FAssets ICoreVaultSettings.

Sourced from ICoreVaultManager.sol on GitHub.

To get the Core Vault Manager address, use the getCoreVaultManager method on the IAssetManager contract.

Functions

getSettings

Returns the current operational settings of the Core Vault Manager.

function getSettings()
external view
returns (
uint128 _escrowEndTimeSeconds,
uint128 _escrowAmount,
uint128 _minimalAmount,
uint128 _fee
);

Returns

  • _escrowEndTimeSeconds: The end time for escrow in seconds.
  • _escrowAmount: The amount of assets to be held in escrow.
  • _minimalAmount: The minimum amount that must remain in the vault after operations.
  • _fee: The fee charged for operations.

getAllowedDestinationAddresses

Returns the list of allowed destination addresses.

function getAllowedDestinationAddresses() external view returns (string[] memory);

isDestinationAddressAllowed

Checks if the destination address is allowed.

function isDestinationAddressAllowed(string memory _address) external view returns (bool);

coreVaultAddress

Returns the core vault address.

function coreVaultAddress() external view returns (string memory);

coreVaultAddressHash

Returns the core vault address hash.

function coreVaultAddressHash() external view returns (bytes32);

assetManager

Returns the corresponding asset manager.

function assetManager() external view returns (address);

custodianAddress

Returns the custodian address.

function custodianAddress() external view returns (string memory);

availableFunds

Returns the available funds.

function availableFunds() external view returns (uint128);

escrowedFunds

Returns the escrowed funds.

function escrowedFunds() external view returns (uint128);