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: