Commit Graph

100 Commits

Author SHA1 Message Date
Hardhat Chad
07730be9ab avoid diving by zero (#106) 2024-11-13 23:50:02 -06:00
Hardhat Chad
cb24b65133 Migrate to steel v2 (#102)
* migrate to steel v2

* migrate to steel v2

* assert with err

* args ordering

* new close

* logging

* bump deps

* bump ore-boost-api version

* deprecate bumps in sdk

* remove msg

* remove comment

* remove unused import

* bump version
2024-10-25 17:22:41 -05:00
Hardhat Chad
d59b3a2f4d Deprecate legacy staking (#99)
* add post balance to MineEvent log

* log input hash

* deprecate legacy staking

* update error message

* remove stake from readme

* err msg

* err msg

* update logs and comments

* consolidate logs

* last hash at

* bump version

* deprecate legacy staking

* update error message

* remove stake from readme

* err msg

* err msg

* bump version

---------

Co-authored-by: tonton-sol <19677766+tonton-sol@users.noreply.github.com>
Co-authored-by: alex <aabinaei@gmail.com>
2024-10-24 13:41:03 -05:00
Hardhat Chad
4b9362048a last hash at 2024-10-18 23:48:07 +00:00
Hardhat Chad
c913ee44ea consolidate logs 2024-10-18 23:41:54 +00:00
Hardhat Chad
34cea09457 Merge pull request #79 from tonton-sol/mine-event-log-add-balance
add post balance to MineEvent log
2024-10-18 18:38:42 -05:00
Hardhat Chad
bbc71bf86c update logs and comments 2024-10-18 18:38:10 +00:00
alex
fa5dedae3b log input hash 2024-10-16 20:33:54 -07:00
Hardhat Chad
c5eb87cac8 comments 2024-10-15 23:53:02 +00:00
Hardhat Chad
c27e1f5570 comment 2024-10-15 23:40:56 +00:00
Hardhat Chad
6e87712021 update comment 2024-10-15 21:29:17 +00:00
Hardhat Chad
5c27bd3d00 move spam check up in logic 2024-10-15 21:27:06 +00:00
Hardhat Chad
f3a04fd8cb unify imports 2024-10-15 18:00:33 +00:00
Hardhat Chad
3e9638679d move logs to end 2024-10-15 17:59:26 +00:00
Hardhat Chad
55e85898b3 simple cleanup 2024-10-15 15:41:27 +00:00
alex
86162147f3 scale boosts 2024-10-15 07:33:19 -07:00
alex
6744270071 sum boost rewards 2024-10-14 02:14:22 -07:00
alex
681df6f96d base rewards 2024-10-14 01:56:47 -07:00
Hardhat Chad
24aace2c24 add stricter address check 2024-10-11 20:58:56 +00:00
alex
648c024b51 log base reward after boost rewards 2024-10-08 00:41:18 -07:00
alex
f339895deb log bas reward after boost rewards 2024-10-08 00:06:02 -07:00
Hardhat Chad
e873fbb0dd fix total rewards calculus 2024-10-07 20:10:08 +00:00
alex
6ae1ac53b3 rebased 2024-10-07 18:40:03 +00:00
Hardhat Chad
58e27c1274 skip duplicate boost 2024-10-07 18:36:56 +00:00
Hardhat Chad
85d9baf097 remove unneeded data borrow 2024-10-07 18:36:13 +00:00
Hardhat Chad
74c8a1a073 reimplement staking multiplier 2024-10-07 18:36:13 +00:00
Hardhat Chad
b4fdfe1166 boost expires at 2024-10-07 18:34:21 +00:00
Hardhat Chad
1584fc5cbf fix overflow issue 2024-10-07 18:33:47 +00:00
Hardhat Chad
b5f42e251a update boosts 2024-10-07 18:26:04 +00:00
Hardhat Chad
0f6909454d scaffolding boosts 2024-10-07 18:25:34 +00:00
Hardhat Chad
7d05132d9d remove unneeded data borrow 2024-10-07 18:23:43 +00:00
Hardhat Chad
01e3f8f81e reimplement staking multiplier 2024-10-07 18:23:43 +00:00
Hardhat Chad
e6f01e88bc boost expires at 2024-10-07 18:23:12 +00:00
Hardhat Chad
eb8ce05049 fix overflow issue 2024-10-07 18:22:40 +00:00
Hardhat Chad
21041c7a8b todo 2024-10-07 18:15:07 +00:00
Hardhat Chad
862c639343 update boosts 2024-10-07 18:14:18 +00:00
Hardhat Chad
1cc3d9c202 scaffolding boosts 2024-10-07 18:13:11 +00:00
alex
44c83f0e72 boost event 2024-10-07 01:38:29 -07:00
Hardhat Chad
13bd94df90 ore_api prelude module 2024-09-27 08:15:05 +00:00
Hardhat Chad
ec505541b1 cleanup 2024-09-27 07:59:17 +00:00
Hardhat Chad
8b095c2336 account validation checks 2024-09-27 07:41:48 +00:00
Hardhat Chad
5bd4a467d6 cleanup imports 2024-09-27 07:04:29 +00:00
Hardhat Chad
4db7f970b2 cleanup 2024-09-27 01:26:26 +00:00
Hardhat Chad
be20034e57 continue migration 2024-09-27 00:22:32 +00:00
Hardhat Chad
609349a5aa upgrade to new version of steel 2024-09-26 03:50:36 +00:00
Hardhat Chad
7814e28847 migrate to steel 2024-09-25 06:45:37 +00:00
alex
78ebb7a8d6 rebased 2024-09-23 23:54:24 -07:00
Hardhat Chad
4d66db69dc var name 2024-09-24 05:56:19 +00:00
Hardhat Chad
dae14334d3 skip duplicate boost 2024-09-24 05:55:15 +00:00
Hardhat Chad
161ddd9cd2 remove unneeded data borrow 2024-09-24 05:36:14 +00:00