Open txalkan opened 10 months ago
In Minter.sol, there is a @ review to calculate the loans' size (amount of stablecoins) equivalent to the collateral.
We can use the ETH/USD price feed. And then, there is the conversion to SGD at a fixed rate of 0.74 SGD/USD.
At last, we could have an over-collateralization ratio to compute the loans' value.
Alternatively, we can consider using USD as the peg. And avoid the conversion step.
In Minter.sol, there is a @ review to calculate the loans' size (amount of stablecoins) equivalent to the collateral.
We can use the ETH/USD price feed. And then, there is the conversion to SGD at a fixed rate of 0.74 SGD/USD.
At last, we could have an over-collateralization ratio to compute the loans' value.