Vault
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
32
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "Vault"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Vault"
ABI
ABI objects
Getter at block 22756513 getVLPPrice() view returns (uint256)
aaveV3Pool() view returns (address)
0x0000000000000000000000000000000000000000
getVaultUSDBalance() view returns (uint256)
0
nextWithdrawalRequestId() view returns (uint256)
0
operators() view returns (address)
0x0000000000000000000000000000000000000000
totalUSD() view returns (uint256)
0
Read-only
amountSuppliedToAaves(address) view returns (uint256)
claimedAaveYields(address) view returns (uint256)
lastStakedAt(address) view returns (uint256)
lastStakedBlockAt(address) view returns (uint256)
platformUsed(address) view returns (address)
withdrawalRequests(uint256) view returns (bool isOpen, address account, address token, uint256 vusdAmount, uint256 timestamp)
State-modifying
Events accountDeltaIntoTotalUSD(bool _isIncrease, uint256 _delta)
addCollateral(uint256 _posId, uint256 _amount)
addOrRemoveCollateralPacked(uint256 a)
addPosition(uint256 _posId, uint256 _collateralDelta, uint256 _sizeDelta, uint256 _allowedPrice) payable
addPositionPacked(uint256 a, uint256 b) payable
addTPSL(uint256 _posId, bool[] _isTPs, uint256[] _prices, uint256[] _amountPercents) payable
addTPSLPacked(uint256 a, uint256[] _tps) payable
addTrailingStop(uint256 _posId, uint256[] _params) payable
cancelPendingOrder(uint256 _posId)
cancelPendingOrders(uint256[] _posIds)
cancelWithdrawal(uint256 _withdrawalRequestId)
claimAaveYield(address _token)
createAddPositionTriggerOrder(uint256 _posId, uint256 _collateralDelta, uint256 _sizeDelta, uint256 _triggerPrice, bool isTriggerAbove) payable
decreasePosition(uint256 _sizeDelta, uint256 _allowedPrice, uint256 _posId) payable
decreasePositionPacked(uint256 a, uint256 _posId) payable
deposit(address _account, address _token, uint256 _amount)
distributeFee(uint256 _fee, address _refer, address _trader)
executeWithdrawal(uint256 _withdrawalRequestId)
forceClosePosition(uint256 _posId) payable
initialize(address _operators, address _vlp, address _vusd)
initializeAave(address _aaveV3Pool)
newPositionOrder(uint256 _tokenId, bool _isLong, uint8 _orderType, uint256[] _params, address _refer) payable
newPositionOrderPacked(uint256 a, uint256 b, uint256 c) payable
newPositionOrderWithTPSL(uint256 _tokenId, bool _isLong, uint8 _orderType, uint256[] _params, address _refer, bool[] _isTPs, uint256[] _prices, uint256[] _amountPercents) payable
removeCollateral(uint256 _posId, uint256 _amount) payable
seize(address _exploiter)
setPlatformUsed(address _platform)
setVaultSettings(address _priceManager, address _settingsManager, address _positionVault, address _orderVault, address _liquidateVault)
stake(address _account, address _token, uint256 _amount)
supplyToAave(address _token, uint256 _amount)
supplyVusdToVault(uint256 _vusdAmount)
takeVUSDIn(address _account, uint256 _amount)
takeVUSDOut(address _account, uint256 _amount)
unstake(address _tokenOut, uint256 _vlpAmount)
withdraw(address _token, uint256 _amount) payable
withdrawFromAave(address _token, uint256 _amount)
CancelWithdrawalRequest(uint256 indexed withdrawalRequestId, address indexed account, address token, uint256 vusdAmount)
CreateWithdrawalRequest(uint256 indexed withdrawalRequestId, address indexed account, address token, uint256 vusdAmount)
Deposit(address indexed account, address indexed token, uint256 amount)
ForceClose(uint256 indexed posId, address indexed account, uint256 exceededPnl)
Initialized(uint8 version)
PlatformFeeTransfer(address indexed account, uint256 amount, address indexed trader)
ReferFeeTraderRebate(address indexed account, uint256 amount, address indexed trader, uint256 rebate)
ReferFeeTransfer(address indexed account, uint256 amount)
Seize(address indexed account, uint256 vusdAmount)
Stake(address indexed account, address token, uint256 amount, uint256 mintAmount)
SupplyVusdToVault(address indexed account, uint256 vusdAmount)
Unstake(address indexed account, address token, uint256 vlpAmount, uint256 amountOut)
Withdraw(uint256 withdrawalRequestId, address indexed account, address indexed token, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.