yearn_treasury.rules.ignore package

Subpackages

Submodules

yearn_treasury.rules.ignore.general module

yearn_treasury.rules.ignore.general.is_returned_fundus(tx)[source]

A user accientally refunded their yield to yChad, yChad sent it back.

Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.maker module

yearn_treasury.rules.ignore.maker.is_usdc_cdp_deposit(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.maker.is_usdc_cdp_withdrawal(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.maker.is_yfi_cdp_deposit(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.maker.is_yfi_cdp_withdrawal(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.passthru module

yearn_treasury.rules.ignore.passthru.is_aura(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.passthru.is_dola_bribe(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.passthru.is_idle(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.passthru.is_inverse_fees_from_yearn_fed(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.passthru.is_rkp3r(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.passthru.is_sent_to_dinoswap(tx)[source]

These tokens are dumpped and the proceeds sent back to the origin strategy.

Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.passthru.is_stkaave(tx)[source]

stkAAVE is sent from a strategy to ychad, then to sms for unwrapping.

Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.passthru.is_ycrv(tx)[source]

These are routed thru cowswap with dai as the purchase token.

Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.passthru.is_yprisma_migration(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.staking module

yearn_treasury.rules.ignore.staking.is_curve_gauge(tx)[source]

Ignore DAO staking into Curve gauge contracts on Mainnet.

These deposit transactions into Curve gauges are infrequent and are excluded from automatic categorization.

Parameters:

tx (TreasuryTx)

Return type:

bool

async yearn_treasury.rules.ignore.staking.is_solidex_staking(tx)[source]

Ignore Solidex staking and unstaking lifecycle transactions on Fantom.

This rule matches each stage of the Solidex LP flow: - Stake deposits: DAO wallet deposits tokens into the LP depositor contract (Deposited event). - Reward claims: Claim tokens minted to DAO (Deposited event with ZERO_ADDRESS as sender). - Claim token burns: DAO wallet burns claim tokens to redeem rewards (Withdrawn event). - Unstake withdrawals: DAO wallet receives original LP tokens back (Withdrawn event).

Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.weth module

yearn_treasury.rules.ignore.weth.is_weth(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.weth.is_weth_mint(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

yearn_treasury.rules.ignore.ygov module

yearn_treasury.rules.ignore.ygov.is_sent_to_ygov(tx)[source]
Parameters:

tx (TreasuryTx)

Return type:

bool

Module contents