strategistBootyClaim
) with bathToken
funds. The three main functions are as follows:executeStrategy
- this is the core function a strategist utilizes to place trades within the closed-loop system. It allows for the placing of a bid and/or an ask in the order book while logging the strategist and key data so they can be rewarded for NPV-positive market-making behaviorbathScrub
- this function is the mandatory "cleaning" function that must be performed on Rubicon Pools for it to operate efficiently. This function parses through outstanding orders on a given BathPair
. This ensures that after "time expiry" any orders still in the order book are logged for yield and liquidity is returned to the pool. Moreover, this function must be called to reduce the outstanding quantity of orders for a given pair to adhere to maxOutstandingPairCount
removeLiquidity
- this function allows a strategist to go "risk-off" and remove liquidity from the order book that they placed with Pools liquidity.executeStrategy
function on BathPair.sol. The role of a strategist is to find exact offers to make with user funds that are automatically, and exclusively, placed in the Rubicon order book; Pools allows for a bid or ask to be placed in the Rubicon order book.offer
function on RubiconMarket.sol:targetStrategy
- the address of the contract executing a market-making strategy with the given inputs. In the current version of Pools the only approved strategy is the Pairs Trade.askDenominator
- the exact denominator (buy_amt) that will be used to make a trade with LP funds in a quote asset amount (e.g. USDC).bidDenominator
- the exact denominator (buy_amt) that will be used to make this bid in an asset amount (e.g. WETH).