WOOFi: Liquidity Source Integration Proposal
Title
WOOFi: Liquidity Source Integration Proposal
Author
Ivan Shen
Email: ivan@woo.network
Merlin Au
Email: merlin@woo.network
Simple Summary
WOOFi is a leading decentralized exchange (DEX) with over $70B in cumulative trading volume and more than 250k monthly active users. It supports 10+ blockchains and offers a diverse range of products, including earn vaults, simple swaps, crosschain swaps, and perpetual futures.
Motivation
WOOFi’s swap uses an onchain market-making algorithm called Synthetic Proactive Market Making (sPMM). The sPMM algorithm, which works in tandem with WOOFi’s high-frequency onchain oracles allows professional market makers to simulate the price, spread, and depth of the order book on centralized exchanges onchain.
-
WOOFi is the only swap DEX that pays rebates to wallets, apps, and aggregators that route order flow to it.
-
WOOFi have already been integrated by over 10 aggregators, including 1inch, Odos, Velora, 0x, and KyberSwap.
-
WOOFi supported USDC,ETH,WBTC,USDC.e,USDT,ARB,cbBTC and USDbC on Arbitrum and Base chain.These tokens can all be paired with each other.
-
WOOFi swap have an average trading volume of over 20 million across the entire chain, with peak volumes exceeding 100 million.
Technical Specification
Price Discovery
-
How can solvers obtain price information?
on-chain methods
-
API endpoints or on-chain methods
interface IWooPPV2 {
function query(address fromToken, address toToken, uint256 fromAmount) external view returns (uint256 toAmount);
} -
Response formats and data structures
uint256 toAmount
-
Rate limits and performance characteristics
Depends on the chain node’s rate limits
Settlement Interface
-
Smart contract addresses
WOOPP_v2:0x5520385bFcf07Ec87C4c53A7d8d65595Dff69FA4(Arbitrum,Base)
-
Function signatures
swap: 0x7dc20382
-
Parameter specifications
address fromToken: the token you want to sell
address toToken: to token you want to buy
uint256 fromAmount: the amount of token that you want to sell
uint256 minToAmount: the minimum received token that you want to buy
address to: wallet address that will receive the toToken
address rebateTo: wallet address that mark which aggregator send the swap tx -
Gas cost estimates
300,000
-
Example transactions
Base Transaction Hash: 0xeeac30a4b9... | BaseScan
Arbitrum One Transaction Hash: 0x07b8d455f7... | Arbitrum One
Integration Incentives
WOOFi rebates 20% of its swap fee in USDC back to the broker who routes the trades to it.
Additional Information
-
Security audits
-
Integrate WOOFi helper
Contact Information
Name: Merlin Au
Email: merlin@woo.network
Github: 0xmer1in (Merlin) · GitHub
Telegram: merlin_WG