Ricardo Guilherme Schmidt
79006d72ea
Merge pull request #2 from logos-co/martin_dev
...
Initial MP mint repaired
2023-07-16 22:56:51 -03:00
Martin Strobl
56f007e3b7
added MP boost limit check
...
- limit checked when locking incl. the increased limit due to bonus
- limit checked when processing only for accounts that are not locked
2023-07-11 15:47:55 +02:00
Martin Strobl
a731962d32
Repair minting MPs with lock
...
- The "free MPs" in the amount of 100% of stake that are minted on deposit are now not minted anymore duplicitely in the lock function
2023-07-11 12:08:30 +02:00
Martin Strobl
fe5cd4b517
Initial MP mint repaired
...
- Now, MPs are minted on the newly staked amount only (previously was entire stake).
- The bonus MPs are calculated correctly such that there is a 1x bonus per year of lock.
- Still TBD: MPs are not minted for existing stake if current lock extended (or newly introduced), there is no check for max boost MP ceiling
2023-07-11 11:56:34 +02:00
Ricardo Guilherme Schmidt
24e59ff4a8
Merge pull request #1 from logos-co/research
...
Merge research into develop
2023-07-10 09:16:56 -03:00
Ricardo Guilherme Schmidt
fcb8dca9a6
mintInitialMultiplier dt+1
2023-07-09 16:00:49 -03:00
Ricardo Guilherme Schmidt
c1570fa471
add optimism minime
2023-07-08 17:10:37 -03:00
Ricardo Guilherme Schmidt
17d1816570
fixes: initial multiplier mint, leave, unstake
2023-07-06 09:12:01 -03:00
Ricardo Guilherme Schmidt
c487f24371
add keys to config file
2023-06-28 21:54:05 -03:00
Ricardo Guilherme Schmidt
50241a1494
fix deploy script
2023-06-28 21:10:52 -03:00
Ricardo Guilherme Schmidt
cbeb1afdd8
add script to deploy SNT/STT
2023-06-28 20:03:00 -03:00
Ricardo Guilherme Schmidt
9ba151266d
use solidity 0.8.18 for hardhat compatibility
2023-06-28 17:51:53 -03:00
Ricardo Guilherme Schmidt
7af15318a1
update hardhat
2023-06-28 17:49:33 -03:00
Ricardo Guilherme Schmidt
c350bbd3ce
add legacy contracts
2023-06-28 14:29:01 -03:00
Ricardo Guilherme Schmidt
a53cbb07ac
fix test timeout
2023-06-26 23:11:48 -03:00
Ricardo Guilherme Schmidt
82ebd1301e
create test script
2023-06-26 17:27:19 -03:00
Ricardo Guilherme Schmidt
ff4bdf65f3
fix typo
2023-06-26 12:30:48 -03:00
Ricardo Guilherme Schmidt
6bf8d66221
force users to migrate or leave
2023-06-26 12:26:02 -03:00
Ricardo Guilherme Schmidt
da5ea645b0
fix account rewarding
2023-06-26 11:52:51 -03:00
Ricardo Guilherme Schmidt
6a05b57f40
fix import
2023-06-26 11:51:42 -03:00
Ricardo Guilherme Schmidt
57bc268288
rename functions
2023-06-25 11:44:32 -03:00
Ricardo Guilherme Schmidt
ef9cf77c3a
fix constructor
2023-06-25 11:44:12 -03:00
Ricardo Guilherme Schmidt
2f6fe21682
small fix
2023-06-23 20:03:03 -03:00
Ricardo Guilherme Schmidt
fc74878977
fix compilation errors
2023-06-23 20:01:59 -03:00
Ricardo Guilherme Schmidt
98ea9aee4f
update solc
2023-06-23 19:26:07 -03:00
Ricardo Guilherme Schmidt
1417e1721a
update solc
2023-06-23 19:24:59 -03:00
Ricardo Guilherme Schmidt
26da805fd9
add upgradability
2023-06-23 18:38:55 -03:00
Ricardo Guilherme Schmidt
ff3a7b09ea
Only vaults that Re previosly allowed
2023-06-23 15:03:52 -03:00
Ricardo Guilherme Schmidt
d960512915
add documentation
2023-06-23 13:47:37 -03:00
Ricardo Guilherme Schmidt
e217f9b78e
organize header
2023-06-23 13:31:13 -03:00
Ricardo Guilherme Schmidt
1375440bd5
fix balance lock
2023-06-23 13:29:36 -03:00
Ricardo Guilherme Schmidt
c2142c1306
rename variables
2023-06-23 13:09:07 -03:00
Ricardo Guilherme Schmidt
6a79af5f95
fix var name
2023-06-23 10:04:17 -03:00
Ricardo Guilherme Schmidt
56bc1a5b05
remove obsolete files
2023-06-23 10:02:24 -03:00
Ricardo Guilherme Schmidt
14782c9dd2
improve storage access
2023-06-22 15:42:42 -03:00
Ricardo Guilherme Schmidt
1fbc871f5b
reduce gas use
2023-06-21 12:35:47 -03:00
Ricardo Guilherme Schmidt
0f50e2d2de
only one claim per epoch
2023-06-21 12:32:30 -03:00
Ricardo Guilherme Schmidt
4849cccb81
execute epoch, user reward
2023-06-21 11:20:23 -03:00
Ricardo Guilherme Schmidt
b70666c26d
reward emissions
2023-06-21 10:59:30 -03:00
Ricardo Guilherme Schmidt
e9d71449c1
simplfy contract
2023-06-20 11:53:34 -03:00
Ricardo Guilherme Schmidt
254afe9932
save progress
2023-05-24 10:25:52 -03:00
Ricardo Guilherme Schmidt
a692d32516
add mint multiplier points
2023-05-23 19:10:37 -03:00
Ricardo Guilherme Schmidt
2e1ec2b7a1
formulas
2023-05-16 19:04:13 -03:00
Ricardo Guilherme Schmidt
d23afa676a
skel
2023-05-16 18:59:25 -03:00
Ricardo Guilherme Schmidt
f56d7197f4
Initial commit
2023-05-05 11:12:51 -03:00