

Reads onchain state
Reads what one Chamber (dHEDGE) vault token is worth in USD, at 18 decimals. The vault values everything it holds through its oracles and divides by its token supply, counting the manager fee it has earned but not yet minted, so this is the price a deposit mints at and a withdrawal pays out at. Reach for it to gate a deposit or withdrawal on the price crossing a level, or to value a position in the vault.
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 Chamber · 4