manifoldfinance / sushi-rewards-spec

Gas Rebate Formula/Refunding Policy

Home Page:https://hackmd.io/@sbacha/gas-rebates-sushi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sushi-rewards-spec

Read the spec on HackMD

Atomic arbitrage profit (aarb): is defined as the gain of two atomically executed arbitrage trades $TA$ and $TB$ on exchange $A$ and $B$.

Non-atomic arbitrage profit (naarb): is defined as the arbitrage gain, if $TA$ executes first, and $TB$’s execution follows after $i$ intermediary transactions.

Holding value ($Hv$): is defined as the change in the averaged price of the given asset pair on the two exchanges, which represents the asset value change during the non-atomic execution period.

Borrowing Capacity ($Bc$): Refers to the total value that a borrower is allowed to request from a lending pool, given its collateral amount. For each collateral asset 𝑖 of a borrower, its borrowing capacity is defined in Equation 3.

$$ Bc =βˆ‘οΈ 𝑉 π‘Žπ‘™π‘’π‘’ π‘œπ‘“ πΆπ‘œπ‘™π‘™π‘Žπ‘‘π‘’π‘Ÿal Γ— LT𝑖 $$

Health Factor ($Hhf$): The health factor measures the collateralization status of a position, defined as the ratio of the borrowing capacity over the outstanding debts (cf. Equation 4).

$$ Hhf = BC / βˆ‘οΈ π‘‰π‘Žπ‘™π‘’π‘’ π‘œπ‘“ 𝐷𝑒𝑏𝑑t $$

MVI: Mininumal Profitable Viable Input

Rebate Calculations