Vault Pool

updatePrice

updatePrice(uint256 _newPrice) 

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

reedem(uint256 amount)

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:

nametypedescription

amount

uint

Amount of RWA coins to redeem

withdraw

withdraw()

The administrator withdraws the stablecoins for the next round of RWA requisitions.

pause

pause()

Suspend user redemptions, callable only by administrators.

unpause

unpause()

Open for user redemption, callable only by administrators.

Query method

nametypedescription

issueToken

address

stablecoin

shareToken

address

RWA coin

price

uint256

Price of the RWA shareToken

Last updated