Protocol Vault
Protocol Vault deals with all token transfers and monetary transactions as well as receive all the allowances and keeps all the tokens.
Last updated
Protocol Vault deals with all token transfers and monetary transactions as well as receive all the allowances and keeps all the tokens.
Last updated
Protocol Vault is responsible for all token transfers and related functions.
function receiveDepositWETH(uint256 amount)
Function to process deposit in the WETH token.
function receiveDepositInOtherToken(address tokenAddress, uint256 amount)
Function to receive a deposit in any other token than WETH.
function withdraw(uint256 amount)
Function to withdraw any amount
from your margin.
Ensure that you have no open limit orders to be able to withdraw!