yieldMode
setting:
configure(YieldMode yieldMode
function:
AUTOMATIC
— default mode; your USDB or WETH token rebases positively.
VOID
— your USDB or WETH token does not rebase or accrue claimable yield.
CLAIMABLE
— your USDB or WETH token does not rebase but accrues claimable yield separately.
ETH or stablecoins bridged to the Blast network get assigned the default AUTOMATIC
yield mode.
Users can manually set any other (VOID
or CLAIMABLE
) mode to their assets by calling the configure(YieldMode yieldMode
on each of the contracts.
This is all we need to know. This seems like checking the live addresses as they interact on the Blast network for the yield mode setting might raise a flag if it’s non-default and could be useful. And this is what we are going to do in this simple tutorial.
We will do a Python script that:
from
.AUTOMATIC
, VOID
, CLAIMABLE
.
We’ll do this to make sure the script works as expected.
rps=25
— an RPS setting to make sure you stay within the limits.VOID
and CLAIMABLE
accounts, which would be a decent enough flag for non-ordinary accounts.