yearn_treasury.rules.other_expense package
Submodules
yearn_treasury.rules.other_expense.boost module
yearn_treasury.rules.other_expense.bugs module
- yearn_treasury.rules.other_expense.bugs.is_dai_vault_reimbursement(tx)[source]
- Parameters:
tx (TreasuryTx)
- Return type:
- yearn_treasury.rules.other_expense.bugs.is_double_fee_reimbursement(tx)[source]
Due to new single-sided strats that deposit into other vaults, some users were accidentally charged 2x the expected withdrawal fee.
- Parameters:
tx (TreasuryTx)
- Return type:
- yearn_treasury.rules.other_expense.bugs.is_gusd_vault_bug_reimbursement(tx)[source]
- Parameters:
tx (TreasuryTx)
- Return type:
- yearn_treasury.rules.other_expense.bugs.is_lossy_fee_reimbursement(tx)[source]
old vault code doesn’t prevent fees from making harvest lossy. so here we airdrop the fee-take back to vault and do some housekeeper to prevent this from happening on other strats.
- Parameters:
tx (TreasuryTx)
- Return type:
- yearn_treasury.rules.other_expense.bugs.is_slippage_bug_reimbursement(tx)[source]
a swap tx was messed up so Yearn sent treasury funds to the relevant strategy to compensate
- Parameters:
tx (TreasuryTx)
- Return type:
yearn_treasury.rules.other_expense.donations module
Other expense rules for donations in Yearn Treasury.
This module defines matching logic for donation transactions, including Gitcoin matching rounds, 4626 Alliance, Vyper Compiler Audit Contest, Warroom Games, and more.
yearn_treasury.rules.other_expense.dyfi module
yearn_treasury.rules.other_expense.events module
yearn_treasury.rules.other_expense.misc module
Other expense rules for miscellaneous cases in Yearn Treasury.
This module defines matching logic for miscellaneous other expenses.
If it doesn’t really fit anywhere else in other_expenses
,
it will end up in here.