Check if fees are on

Check if fees are on on Avantis

Base
Base

Reads onchain state

Reads whether the Avantis vault is charging its fees. The vault's feesOn is a governance switch. While it is off every deposit and exit is fee free whatever the collateral health fee reads; while it is on, exits pay that fee. Reach for it to branch an exit between waiting and leaving now, or to require the switch is off before a large withdrawal.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on Avantis ยท 37