Mellow Protocol
  • 💡Welcome to Mellow
  • Mellow Vaults Overview
  • Security
  • User Tutorials
    • Deposit guide
    • Withdrawal guide
  • 🔳Simple LRT
    • Overview
  • Architecture
  • Deployments
  • 🍱MultiVault
    • Overview
    • Architecture
  • Deployments
  • 💧DVstETH vault
    • Overview
    • Architecture
    • Contracts specs
      • 🏦Vault
      • 🔧VaultConfigurator
      • ⚖️Validators
        • ManagedValidator
        • ERC20SwapValidator
        • DefaultBondValidator
        • AllowAllValidator
      • 🧬Strategies
        • DefaultBondStrategy
        • SimpleDVTStakingStrategy
      • 🔎Oracles
        • ChainlinkOracle
        • ManagedRatiosOracle
      • 🧱Modules
        • DelegateModules
          • ERC20SwapModule
          • DefaultBondModule
          • StakingModule
        • ExternalModules
        • TvlModules
          • DefaultBondTvlModule
          • ERC20TvlModule
          • ManagedTvlModule
      • 🪛Utils
        • DepositWrapper
        • DefaultAccessControl
      • 🔐Security
        • AdminProxy
  • Deployment
    • Emergency withdrawal guide (advanced)
  • 🖇️Interoperable vaults
    • Overview
    • Architecture
    • Deployments
  • 🤖MELLOW ALM
    • Mellow Permissionless Vaults
      • Core
      • Contracts API
      • Strategies
        • Fearless Gearbox strategy
        • LStrategy
        • Uni V3 Boosted strategy
        • Pulse strategy
        • Pulse strategy V2
        • Tamper strategy
      • Governance parameters
      • Contracts specs
      • Tutorials
        • Contracts deployments
        • Deploy your own strategy
        • wstETH strategies deposit guide
      • Mellow contracts addresses
        • Mellow Protocol Addresses (Polygon)
        • Mellow Protocol Addresses (Mainnet)
        • Gearbox Fearless Strategy
        • Tamper Strategy
        • UniV3 Pulse wstETH-USDC
        • UniV3 Pulse V2 wstETH-USDC
        • Velodrome CL strategies
        • Aerodrome CL strategies
      • Glossary
      • FAQ
    • Mellow ALM Toolkit
      • 📘Domain objects
      • 🧩Components
      • 🍜Processes
      • 💎Core
      • 🔮Oracles
        • VeloOracle
      • 🎯Strategy
        • PulseStrategyModule
      • 🔌AMM Adapters
        • VeloAmmModule
      • 🚙Utility contracts
        • AmmDepositWithdrawModule
        • Counter
        • LpWrapper
        • VeloDeployFactory
    • Mellow Backtesting SDK
  • 📍Points
    • Overview
    • Points in Symbiotic pre-deposit contracts
    • DeFi points integration instructions
  • 🗄️Resources
    • API
    • Media kit
    • Twitter
    • Discord
Powered by GitBook
On this page
  1. MELLOW ALM
  2. Mellow ALM Toolkit
  3. AMM Adapters

VeloAmmModule

CallbackParams

Represents parameters for callbacks in operations tied to the Velo and auxiliary protocols, particularly around yield farming and reward tracking.

struct CallbackParams {
    address farm;
    address gauge;
    address counter;
}
  • farm: Address of the Synthetix farm contract. It acts as a central hub for yield farming activities, interfacing directly with users and other contracts to manage and allocate yield farming rewards based on defined criteria.

  • gauge: Address of the Velo gauge contract.

  • counter: Address of a counter contract. This contract is designed for tracking and aggregating specific numerical data, such as the total amount of rewards added to the farm. It serves as a specialized tool for monitoring and reporting on key metrics that inform decisions and actions within the protocol, ensuring transparency and accuracy in reward distribution and other quantifiable activities.

ProtocolParams

Encapsulates the operational parameters defining the Velo AMM module's financial interplays, focusing on fee mechanisms and treasury interactions.

struct ProtocolParams {
    address treasury;
    uint32 feeD9;
}
  • treasury: The designated treasury of the Mellow protocol, acting as the recipient for fees accrued through the Velo AMM module's activities. This setup underscores the protocol's economic structure, funneling operational proceeds back into the ecosystem.

  • feeD9: Specifies the fee percentage levied by the Velo AMM module. The use of a fixed-point format with 9 decimal places permits the detailed specification of fees, ensuring clarity and precision in financial transactions. For instance, a feeD9 of 10,000,000 denotes a 1% fee, illustrating the module's revenue-generating mechanisms.

PreviousAMM AdaptersNextUtility contracts

Last updated 1 year ago

🤖
🔌