

Reads onchain state
Reads how much of an asset Origin's vault holds across itself and its strategies. The vault's checkBalance sums the asset in the vault and in every strategy, less what the withdrawal queue still owes, in the asset's own decimals. Reach for it to see the liquidity behind the rebasing token, or to gate a withdrawal request on the vault holding enough of the asset.
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 Origin · 8