[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address","name":"lsp","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountUSDC","type":"uint256"}],"name":"VaultDeposited","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"tokensToBuy","type":"uint256"},{"internalType":"contract LongShortPair","name":"lsp","type":"address"},{"internalType":"contract IUniswapV2Router02","name":"router","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"components":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct Vault.Signature","name":"usdcSignature","type":"tuple"}],"name":"arbitrage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"usdcForArb","type":"uint256"},{"internalType":"uint256","name":"tokensToBuyForArb","type":"uint256"},{"internalType":"contract IUniswapV2Router02","name":"router","type":"address"},{"components":[{"internalType":"uint256","name":"rawValue","type":"uint256"}],"internalType":"struct FixedPoint.Unsigned","name":"priceDeviation_","type":"tuple"},{"internalType":"contract LongShortPair","name":"lsp","type":"address"},{"components":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct Vault.Signature","name":"usdcSignature","type":"tuple"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"contract Staking","name":"longStaking","type":"address"},{"internalType":"contract Staking","name":"shortStaking","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IUniswapV2Factory","name":"factory","type":"address"},{"internalType":"contract LongShortPair","name":"lsp","type":"address"},{"internalType":"contract Staking","name":"longStaking","type":"address"},{"internalType":"contract Staking","name":"shortStaking","type":"address"},{"internalType":"address","name":"user","type":"address"}],"name":"depositedFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"rawValue","type":"uint256"}],"internalType":"struct FixedPoint.Unsigned","name":"priceDeviation_","type":"tuple"},{"internalType":"contract LongShortPair","name":"lsp","type":"address"},{"internalType":"uint256","name":"longLPAmount","type":"uint256"},{"internalType":"uint256","name":"shortLPAmount","type":"uint256"},{"internalType":"contract IUniswapV2Router02","name":"router","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"components":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct Vault.Signature","name":"longSignature","type":"tuple"},{"components":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct Vault.Signature","name":"shortSignature","type":"tuple"},{"internalType":"enum Vault.WithdrawMode","name":"withdrawMode","type":"uint8"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]