UBank
UBank works like a traditional bank with Saving packages that offer higher interest rates and more decentralization.
1
function calculateReward(uint256 _amount, uint256 _days) public view returns (uint256) {
2
uint256 _multiplier = _quadraticRewardCurveY(_days);
3
uint256 _AY = _amount.mul(_multiplier);
4
return _AY.div(10000000);
5
}
6
// a + b*x + c*x^2
7
function _quadraticRewardCurveY(uint256 _x) public view returns (uint256) {
8
uint256 _bx = _x.mul(B);
9
uint256 _x2 = _x.mul(_x);
10
uint256 _cx2 = C.mul(_x2);
11
return A.add(_bx).add(_cx2);
12
}
Copied!

Saving Duration

  • 11 days
    πŸ’°
    5% ROI
  • 1 month
    πŸ’°
    12% ROI
  • 3 months
    πŸ’°
    40% ROI
  • 6 months
    πŸ’°
    101% ROI
  • 12 months
    πŸ’°
    297% ROI
The longer you saving the higher the APY. However you won't be able to withdraw funds until the duration has passed.

How to join UBank?

Step 1: Install Metamask​
Step 3: Go to UBank and Connect to Metamask
Step 4: Enter amount and Saving Duration
Step 5: Click Saving and Confirm
​