GammaSwap-logo

GammaSwap

GammaSwap is a decentralized exchange enabling anyone to borrow liquidity from any AMM pool, oracle free. This contract is for UniV2 style AMMs but GammaSwap will support Balancer weighted pools in the future.There are two participants in the GammaSwap ecosystem: Liquidity Providers and Borrowers.

Arbitrum
Defi
AMM
DEX
Derivatives
Lending
Options
Perpetuals
Solidity
Maximum Bounty
$40,000
Live Since
29 September 2023
Last Updated
13 September 2024
  • PoC required

Select the category you'd like to explore

Assets in Scope

Target
Type
Smart Contract - Airdrop
Added on
13 September 2024
Target
Type
Smart Contract - GS
Added on
2 September 2024
Target
Type
Smart Contract - GSTimelockController
Added on
2 September 2024
Target
Type
Smart Contract - FeeTracker
Added on
6 August 2024
Target
Type
Smart Contract - BonusDistributor
Added on
6 August 2024
Target
Type
Smart Contract - BeaconProxyFactory
Added on
28 May 2024
Target
Type
Smart Contract - Vester
Added on
28 May 2024
Target
Type
Smart Contract - RewardDistributor
Added on
28 May 2024
Target
Type
Smart Contract - RewardTracker
Added on
28 May 2024
Target
Type
Smart Contract - StakingRouter
Added on
28 May 2024
Target
Type
Smart Contract - LockableMinimalBeacon
Added on
24 March 2024
Target
Type
Smart Contract - MinimalBeaconProxy
Added on
24 March 2024

Impacts in Scope

Severity
Critical
Title
Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yield
Severity
Critical
Title
Permanent freezing of funds
Severity
Critical
Title
Protocol insolvency
Severity
High
Title
Theft of unclaimed yield
Severity
High
Title
Permanent freezing of unclaimed yield
Severity
High
Title
Temporary freezing of funds
Severity
Medium
Title
Contract fails to deliver promised returns, but doesn't lose value

Out of scope

Program's Out of Scope information

These impacts are out of scope for this bug bounty program.

All Categories

  • Impacts requiring attacks that the reporter has already exploited themselves, leading to damage
  • Impacts caused by attacks requiring access to leaked keys/credentials
  • Impacts caused by attacks requiring access to privileged addresses (governance, strategist) except in such cases where the contracts are intended to have no privileged access to functions that make the attack possible
  • Impacts relying on attacks involving the depegging of an external stablecoin where the attacker does not directly cause the depegging due to a bug in code
  • Mentions of secrets, access tokens, API keys, private keys, etc. in Github will be considered out of scope without proof that they are in-use in production
  • Best practice recommendations
  • Feature requests
  • Impacts on test files and configuration files unless stated otherwise in the bug bounty program

Smart Contracts

  • Incorrect data supplied by third party oracles
    • Not to exclude oracle manipulation/flash loan attacks
  • Impacts requiring basic economic and governance attacks (e.g. 51% attack)
  • Lack of liquidity impacts
  • Impacts from Sybil attacks
  • Impacts involving centralization risks
  • Best practice recommendations
  • Impact in UniswapV2 code for DeltaSwap fork (Unless such code was materially changed by GammaSwap or used by the GammaSwap contracts)
  • Impacts affecting only the state of implementation contracts
  • Impacts affecting the value of parameters used to determine whether DeltaSwap will charge a trading fee or not (e.g. liquidityEMA, liquidityTradedEMA, etc.) Because DeltaSwap is set up to always charge a trading fee and the current GammaPool implementation requires that it must always charge a trading fee.
  • GS, GSTimelockController, and Staking contracts are only eligible for at most high severity level rewards.
  • Airdrop contract is not eligible for medium level bugs.

The following activities are prohibited by this bug bounty program:

  • Any testing on mainnet or public testnet deployed code; all testing should be done on local-forks of either public testnet or mainnet
  • Any testing with pricing oracles or third-party smart contracts
  • Attempting phishing or other social engineering attacks against our employees and/or customers
  • Any testing with third-party systems and applications (e.g. browser extensions) as well as websites (e.g. SSO providers, advertising networks)
  • Any denial of service attacks that are executed against project assets
  • Automated testing of services that generates significant amounts of traffic
  • Public disclosure of an unpatched vulnerability in an embargoed bounty