Non-custodial vaults that allow
- Traders to swap perpetuals AND
- Everyone else to earn from them
Vault.sol: Vault holds funds non-custodially and allows Managers to use them for perpetual trading on the GMX derivatives exchange.VaultFactory.sol: Factory which enables anyone to deploy a Perpetual Vault.modules/: Contracts used for managing and/or simplifying interaction with Vaults and the Vault Factory.GMXClient.sol: Module that tracks and places orders on GMX.
interfaces/: Interfaces of external contracts Vaults and modules interact with.Strategy.sol: Minimal interfaces for ERC20 and ETH compatible strategies.
- Track
positionOpenstate for stopLimit orders - Performance fee model
forge testforge snapshot