Provider Fees Smart contract
Enable any Aquarius integrator to easily take a configurable commission on each swap—without mixing classic Stellar payments and Soroban calls in one transaction.
Abstract:
Configurable Fee Fraction: Specify maximum fee allowed by contract (e.g. 2 %) on each swap.
Fee Destination: Route collected fees into a single “fee destination” address of your choice.
Uniform Denomination: Allow swap fees on claim into one target asset (e.g. XLM, USDC, AQUA), so you aren’t left holding a basket of tokens.
Out‑of‑the‑Box Wrapper: A standalone Soroban contract sits atop our Aquarius AMM Router. Call it instead of directly calling the router, and it handles fee deduction and forwarding for you.
Secure & Flexible: Operators can claim raw fees or immediately swap them via predefined routes.
Last updated