├── .DS_Store ├── .gas-snapshot ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .gitmodules ├── README.md ├── audits └── Solidproof_Audit_Report.pdf ├── foundry.toml ├── src ├── aggregators │ ├── gmx │ │ ├── Config.sol │ │ ├── GmxAdapter.sol │ │ ├── Position.sol │ │ ├── Storage.sol │ │ ├── Types.sol │ │ └── lib │ │ │ └── LibGmx.sol │ ├── lib │ │ ├── LibMath.sol │ │ └── LibUtils.sol │ └── mux │ │ ├── Config.sol │ │ ├── MuxAdapter.sol │ │ ├── Position.sol │ │ ├── Storage.sol │ │ ├── Types.sol │ │ └── lib │ │ └── LibMux.sol ├── components │ └── ImplementationGuard.sol ├── gmxProxyFactory │ ├── GmxProxyBeacon.sol │ ├── GmxProxyConfig.sol │ ├── GmxProxyFactory.sol │ └── GmxStorage.sol ├── interfaces │ ├── IGmxAggregator.sol │ ├── IGmxOrderBook.sol │ ├── IGmxPositionRouter.sol │ ├── IGmxProxyFactory.sol │ ├── IGmxRouter.sol │ ├── IGmxVault.sol │ ├── IMuxAggregator.sol │ ├── IMuxGetter.sol │ ├── IMuxOrderBook.sol │ ├── IMuxProxyFactory.sol │ ├── ITransparentUpgradeableProxy.sol │ └── IWETH.sol ├── muxProxyFactory │ ├── MuxProxyBeacon.sol │ ├── MuxProxyConfig.sol │ ├── MuxProxyFactory.sol │ └── MuxStorage.sol └── transparentUpgradeableProxy │ └── TransparentUpgradeableProxy.sol └── test ├── test_gmxAdapter.sol ├── test_gmxProxyFactory.sol ├── test_gmxSetUp.sol ├── test_muxAdapter.sol ├── test_muxProxyFactory.sol └── test_muxSetUp.sol /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/.DS_Store -------------------------------------------------------------------------------- /.gas-snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/.gas-snapshot -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/.gitmodules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/README.md -------------------------------------------------------------------------------- /audits/Solidproof_Audit_Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/audits/Solidproof_Audit_Report.pdf -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/foundry.toml -------------------------------------------------------------------------------- /src/aggregators/gmx/Config.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/gmx/Config.sol -------------------------------------------------------------------------------- /src/aggregators/gmx/GmxAdapter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/gmx/GmxAdapter.sol -------------------------------------------------------------------------------- /src/aggregators/gmx/Position.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/gmx/Position.sol -------------------------------------------------------------------------------- /src/aggregators/gmx/Storage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/gmx/Storage.sol -------------------------------------------------------------------------------- /src/aggregators/gmx/Types.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/gmx/Types.sol -------------------------------------------------------------------------------- /src/aggregators/gmx/lib/LibGmx.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/gmx/lib/LibGmx.sol -------------------------------------------------------------------------------- /src/aggregators/lib/LibMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/lib/LibMath.sol -------------------------------------------------------------------------------- /src/aggregators/lib/LibUtils.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/lib/LibUtils.sol -------------------------------------------------------------------------------- /src/aggregators/mux/Config.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/mux/Config.sol -------------------------------------------------------------------------------- /src/aggregators/mux/MuxAdapter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/mux/MuxAdapter.sol -------------------------------------------------------------------------------- /src/aggregators/mux/Position.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/mux/Position.sol -------------------------------------------------------------------------------- /src/aggregators/mux/Storage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/mux/Storage.sol -------------------------------------------------------------------------------- /src/aggregators/mux/Types.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/mux/Types.sol -------------------------------------------------------------------------------- /src/aggregators/mux/lib/LibMux.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/aggregators/mux/lib/LibMux.sol -------------------------------------------------------------------------------- /src/components/ImplementationGuard.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/components/ImplementationGuard.sol -------------------------------------------------------------------------------- /src/gmxProxyFactory/GmxProxyBeacon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/gmxProxyFactory/GmxProxyBeacon.sol -------------------------------------------------------------------------------- /src/gmxProxyFactory/GmxProxyConfig.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/gmxProxyFactory/GmxProxyConfig.sol -------------------------------------------------------------------------------- /src/gmxProxyFactory/GmxProxyFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/gmxProxyFactory/GmxProxyFactory.sol -------------------------------------------------------------------------------- /src/gmxProxyFactory/GmxStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/gmxProxyFactory/GmxStorage.sol -------------------------------------------------------------------------------- /src/interfaces/IGmxAggregator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/IGmxAggregator.sol -------------------------------------------------------------------------------- /src/interfaces/IGmxOrderBook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/IGmxOrderBook.sol -------------------------------------------------------------------------------- /src/interfaces/IGmxPositionRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/IGmxPositionRouter.sol -------------------------------------------------------------------------------- /src/interfaces/IGmxProxyFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/IGmxProxyFactory.sol -------------------------------------------------------------------------------- /src/interfaces/IGmxRouter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/IGmxRouter.sol -------------------------------------------------------------------------------- /src/interfaces/IGmxVault.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/IGmxVault.sol -------------------------------------------------------------------------------- /src/interfaces/IMuxAggregator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/IMuxAggregator.sol -------------------------------------------------------------------------------- /src/interfaces/IMuxGetter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/IMuxGetter.sol -------------------------------------------------------------------------------- /src/interfaces/IMuxOrderBook.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/IMuxOrderBook.sol -------------------------------------------------------------------------------- /src/interfaces/IMuxProxyFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/IMuxProxyFactory.sol -------------------------------------------------------------------------------- /src/interfaces/ITransparentUpgradeableProxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/ITransparentUpgradeableProxy.sol -------------------------------------------------------------------------------- /src/interfaces/IWETH.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/interfaces/IWETH.sol -------------------------------------------------------------------------------- /src/muxProxyFactory/MuxProxyBeacon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/muxProxyFactory/MuxProxyBeacon.sol -------------------------------------------------------------------------------- /src/muxProxyFactory/MuxProxyConfig.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/muxProxyFactory/MuxProxyConfig.sol -------------------------------------------------------------------------------- /src/muxProxyFactory/MuxProxyFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/muxProxyFactory/MuxProxyFactory.sol -------------------------------------------------------------------------------- /src/muxProxyFactory/MuxStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/muxProxyFactory/MuxStorage.sol -------------------------------------------------------------------------------- /src/transparentUpgradeableProxy/TransparentUpgradeableProxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/src/transparentUpgradeableProxy/TransparentUpgradeableProxy.sol -------------------------------------------------------------------------------- /test/test_gmxAdapter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/test/test_gmxAdapter.sol -------------------------------------------------------------------------------- /test/test_gmxProxyFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/test/test_gmxProxyFactory.sol -------------------------------------------------------------------------------- /test/test_gmxSetUp.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/test/test_gmxSetUp.sol -------------------------------------------------------------------------------- /test/test_muxAdapter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/test/test_muxAdapter.sol -------------------------------------------------------------------------------- /test/test_muxProxyFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/test/test_muxProxyFactory.sol -------------------------------------------------------------------------------- /test/test_muxSetUp.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eugenix-io/logx-aggregator-contracts/HEAD/test/test_muxSetUp.sol --------------------------------------------------------------------------------