XVSVaultTreasury
Last updated
This contract stores XVS received from XVSBuyback and funds XVSVault.
The xvs token address
address XVS_ADDRESSThe xvsvault address
address xvsVaultThis function transfers funds to the XVS vault
function fundXVSVault(uint256 amountMantissa) externalParameters
amountMantissa
uint256
Amount to be sent to XVS vault
📅 Events
FundsTransferredToXVSStore emits on success
⛔️ Access Requirements
Restricted by ACM
❌ Errors
InsufficientBalance is thrown when amount entered is greater than balance
This function sweep tokens from the contract
Parameters
tokenAddress
address
Address of the asset(token)
to
address
Address to which assets will be transferred
amount
uint256
Amount need to sweep from the contract
📅 Events
SweepToken emits on success
⛔️ Access Requirements
Restricted by ACM
Last updated
function sweepToken(address tokenAddress, address to, uint256 amount) external
