# How Can I Reduce the Gas Used by This Contract?
# Product - All Weather Protocol
https://all-weather-protocol.on.fleek.co/
## Problem
如果有看到漏洞或能優化 gas fee 的都有 bounty~
## Audit Reports
1. <https://all-weather.gitbook.io/all-weather-protocol/contracts-and-security/audits>
2. [slither](https://github.com/all-weather-protocol/contract/security/code-scanning)
## Contracts
1. [AbstractVaultV2](https://github.com/all-weather-protocol/contract/blob/master/packages/hardhat/contracts/interfaces/AbstractVaultV2.sol)
2. [BasePortfolioV2](https://github.com/all-weather-protocol/contract/blob/master/packages/hardhat/contracts/BasePortfolioV2.sol)
3. [StableCoinVault](https://github.com/all-weather-protocol/contract/blob/master/packages/hardhat/contracts/StableCoinVault.sol)
4. 串接其他 protocol 的 vault
1. [Radiant](https://github.com/all-weather-protocol/contract/blob/master/packages/hardhat/contracts/vaults/radiant/RadiantArbitrumVault.sol)
2. [ApolloX](https://github.com/all-weather-protocol/contract/blob/master/packages/hardhat/contracts/vaults/apolloX/ApolloXBscVault.sol)
3. [Equilibria](https://github.com/all-weather-protocol/contract/blob/master/packages/hardhat/contracts/vaults/equilibria/EquilibriaGDAIVault.sol)
## CI & Gas Report
run `BLOCK_NUMBER=33285876 yarn test test/apolloX.js` then you'll see the same gas report
<https://github.com/all-weather-protocol/contract/actions/runs/6834218274/job/18586783910>

## Bounty
1. `$20~30` for each low severity vulnerability
2. `$100` for each medium/high severity vulnerability
> Reports regarding bugs that All Weather Protocol was previously aware of are not eligible for a reward
>
> All bug reports must come with a PoC with an end-effect impacting an asset-in-scope in order to be considered for a reward. Explanations and statements are not accepted as PoC and code is required.