TermMax / TermMax
TermMax revolutionizes Decentralized Finance (DeFi) leveraged yield strategies by simplifying complex operations and enhancing both cost and time efficiency. Through its innovative fixed-rate borrowing and lending mechanism with integrated leverage functions, TermMax enables investors to borrow at predictable fixed costs, earn expected returns, and maximize leveraged yields.
This streamlined approach eliminates the need for multiple intricate transactions across different protocols, making leveraged yield strategies more accessible, efficient, and profitable for all types of investors.
Prize distribution and scoring
-
Total Prize Pool: $30,000
-
The prize distribution has 3 possible triggers:
- If one or more valid medium severity findings are found, the total pot size is $12,000
- If both valid high severity and medium severity findings are found, the total pot size is $30,000
- If there are only High severity findings and no mediums found then the total pot would be $18,000
-
Scoring described in the competition scoring page.
-
Findings Severities described in detail on our docs page.
Documentation
-
Token description:
Scope
-
Repository: termmax-contracts
-
Total LOC: 3120
-
Files:
- contracts/access/AccessManager.sol
- contracts/core/access/Ownable.sol
- contracts/core/factory/ITermMaxFactory.sol
- contracts/core/factory/TermMaxFactory.sol
- contracts/core/lib/Constants.sol
- contracts/core/lib/MathLib.sol
- contracts/core/lib/TermMaxCurve.sol
- contracts/core/storage/TermMaxStorage.sol
- contracts/core/tokens/AbstractGearingToken.sol
- contracts/core/tokens/GearingTokenWithERC20.sol
- contracts/core/tokens/IFlashRepayer.sol
- contracts/core/tokens/IGearingToken.sol
- contracts/core/tokens/IMintableERC20.sol
- contracts/core/tokens/MintableERC20.sol
- contracts/core/IFlashLoanReceiver.sol
- contracts/core/ITermMaxMarket.sol
- contracts/core/TermMaxMarket.sol
- contracts/extensions/pendle/PTWithRedStonePriceFeed.sol
- contracts/router/lib/PendleHelper.sol
- contracts/router/swapAdapters/ERC20SwapAdapter.sol
- contracts/router/swapAdapters/PendleSwapV3Adapter.sol
- contracts/router/swapAdapters/UniswapV3Adapter.sol
- contracts/router/ISwapAdapter.sol
- contracts/router/ITermMaxRouter.sol
- contracts/router/TermMaxRouter.sol
- contracts/access/AccessManager.sol
Build Instructions
Please refer to the README.md file in the repo.
- POC test You can refer to our unit test in test folder as the Basic POC test framework.
Out of scope
- Issues without losing fund
- Issues without authentication vulnerability
- Automated findings by Lightchaser
Contact Us
For any issues or concerns regarding this competition, please reach out to the Cantina core team through the Cantina Discord.
Summary
Status
CompletedTotal reward:
$30,000
Findings submitted:
74
Start date:
28 Nov 2024 8:00pm (local time)
End date:
12 Dec 2024 8:00pm (local time)