Vault Pool
updatePrice
The administrator updates the price for the underlying RWA shareToken. Used to calculate the amount users can redeem based on the RWA tokens they hold. The price is formatted in 10**6.
redeem
Redeem Stablecoin with RWA Assets, by calling this method the user will get Stablecoin and burn RWA tokens. The Formula for calculating stablecoin withdrawal amounts = price * amount
Parameters:
name | type | description |
---|---|---|
amount | uint | Amount of RWA coins to redeem |
withdraw
The administrator withdraws the stablecoins for the next round of RWA requisitions.
pause
Suspend user redemptions, callable only by administrators.
unpause
Open for user redemption, callable only by administrators.
Query method
name | type | description |
---|---|---|
issueToken | address | stablecoin |
shareToken | address | RWA coin |
price | uint256 | Price of the RWA shareToken |
Last updated