XVSVaultTreasury

XVSVaultTreasury

This contract stores XVS received from XVSVaultConverter and funds XVSVault

Solidity API

XVS_ADDRESS

The xvs token address

address XVS_ADDRESS

xvsVault

The xvsvault address

address xvsVault

fundXVSVault

This function transfers funds to the XVS vault

function fundXVSVault(uint256 amountMantissa) external

Parameters

📅 Events

  • FundsTransferredToXVSStore emits on success

⛔️ Access Requirements

  • Restricted by ACM

❌ Errors

  • InsufficientBalance is thrown when amount entered is greater than balance

sweepToken

This function sweep tokens from the contract

function sweepToken(address tokenAddress, address to, uint256 amount) external

Parameters

📅 Events

  • SweepToken emits on success

⛔️ Access Requirements

  • Restricted by ACM


Last updated