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
24 October 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
  • 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.
Default Out of Scope and rules

Smart Contract specific

  • 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

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 (including, but not limited to: governance and strategist contracts) without additional modifications to the privileges attributed
  • 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
  • Impacts requiring phishing or other social engineering attacks against project's employees and/or customers
Severity
Min. - Max.
Critical
$15k -$40k
High
$5k -$10k
Medium
$2k
Total Assets in Scope
26
Total Impacts in Scope
7