Commit Graph

578 Commits

Author SHA1 Message Date
Hardhat Chad
3492feef67 keccak 2025-05-07 17:00:00 -07:00
Hardhat Chad
c18503d0ee description 2025-04-14 12:57:51 -07:00
Hardhat Chad
3c9a431b3f bump version 2025-04-07 16:27:41 -07:00
Hardhat Chad
96c37e68d1 Enable universal boost (#126)
* disable boosts for migration

* renable new boosts

* take rate

* enable universal boost

* bump version
2025-04-07 13:24:29 -05:00
Hardhat Chad
798457ebb1 remove 50% limit 2025-04-02 11:04:54 -04:00
Hardhat Chad
bb4c59c3b6 Simplify boost accounting (#123)
* make boosts mandatory

* make boosts mandatory

* fix account loading

* cleanup

* update boost accounting

* cleanup

* finalize boost accounting change

* move sanity check
2025-03-30 17:06:06 -05:00
Hardhat Chad
1c9df74adb last claim at (#120) 2025-03-30 08:45:19 -05:00
Hardhat Chad
832b3264a8 Make boosts mandatory (#121)
* make boosts mandatory

* make boosts mandatory

* fix account loading

* cleanup

* cleanup

* bump version

* nullify reward for invalid boosts
2025-03-30 08:44:42 -05:00
Hardhat Chad
b54c542925 Reduce emissions by 10% every year (#108)
* deprecate top balance

* stub dynamic emissions impl

* impl 90% curve

* scaffold emissions rate function

* emissions curve

* implement new supply curve

* remove comments

* update comment

* bump version

* test reset

* add tests for emissions reduction

* test

* fix test

* bump version
2025-03-23 13:46:15 -05:00
Hardhat Chad
68159ca443 comment 2025-03-23 09:54:19 -07:00
Hardhat Chad
9bc1a71575 update consts 2025-03-23 09:53:46 -07:00
Hardhat Chad
52b5dfd17e Delete deprecated interfaces (#119)
* delete deprecated interfaces

* bump version
2025-03-23 11:41:01 -05:00
Hardhat Chad
34b7de191c 15 min epoch 2025-03-19 14:15:18 -07:00
Hardhat Chad
1098ae3581 overflow checks 2025-03-19 10:24:31 -07:00
Hardhat Chad
e048bd6600 update deps 2025-03-19 17:21:44 +00:00
Hardhat Chad
fa1bb1c05b Boost v3 cutover (#118)
* steel v4

* scaffold boost v3 integration

* fix build

* enforce rotation duration

* update interface

* update deps

* bump version

* boost v3

* rsut version

* deps

* silent error

* remove version flag
2025-03-19 12:19:44 -05:00
Hardhat Chad
b0145c202c Remove boost lock constraint (#116)
* remove boost lock constraint

* make boost expiration a hard error

* undo
2025-02-21 13:28:40 -06:00
Hardhat Chad
c89f73e8d3 update description 2025-02-11 12:25:11 -08:00
Hardhat Chad
112016acd2 remove idl injection 2025-02-11 12:24:12 -08:00
Hardhat Chad
217db93ccf update deps 2025-02-10 13:35:19 -08:00
Hardhat Chad
dcdfa2b733 bump version 2025-02-10 13:31:32 -08:00
Hardhat Chad
cee50ae16d upgrade to steel v3 2025-02-10 13:22:10 -08:00
Hardhat Chad
ec84d18860 comment 2025-01-20 10:20:49 -08:00
Hardhat Chad
cbe63c0d7d mining reward checksum 2025-01-20 09:38:12 -08:00
Hardhat Chad
70a9d38e4d Global Boost (#112)
* update accounting logic for global boosts

* rename vars

* update event

* const

* deprecate top balance

* handle div by zero

* cast to u128

* debug logs

* fix proof parser

* debug logs

* update boost sdk

* remove debug logs

* import

* cleanup sdk

* silent error

* debug logs

* more logs

* boost math

* debug log

* log timing

* debug logs

* alt model

* alt model

* refine sdk

* fix optional account parser

* debug logs

* boost keys

* update sdk

* remove debug logs

* mainnet program id

* cleanup

* update metadata

* update deps
2025-01-19 19:07:16 -06:00
Hardhat Chad
ebec3ca237 reduce supply cap to 5m (#107) 2024-11-22 13:04:47 -06:00
Hardhat Chad
306289cec6 comment out idl for now 2024-11-14 05:50:57 +00:00
Hardhat Chad
07730be9ab avoid diving by zero (#106) 2024-11-13 23:50:02 -06:00
Hardhat Chad
03cdc53cb1 Merge branch 'master' of https://github.com/regolith-labs/ore 2024-11-03 15:41:21 +00:00
Hardhat Chad
55e135bced deprecate v1 mint address 2024-11-03 15:41:19 +00:00
Fernando Otero
07d8b4cedd Add Codama IDL to program binary (#105)
* Add Codama IDL

* Add IDL to program binary

* Update dependency

* Use published crate

---------

Co-authored-by: Hardhat Chad <155858888+HardhatChad@users.noreply.github.com>
2024-11-01 17:00:49 -05:00
Hardhat Chad
0e1460e2a4 Deprecate upgrade (#101)
* deprecate upgrade function

* bump versions

* move flag
2024-11-01 16:08:02 -05: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
ac31c75201 docs link 2024-10-25 01:11:10 +00: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
22b974bf7b bump version 2024-10-19 17:00:05 +00:00
Hardhat Chad
99b6beb2d9 Merge pull request #103 from regolith-labs/hardhat/log-consolidation
Consolidates all mining logs into single return value
2024-10-18 18:50:13 -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
0bd74836a6 Merge pull request #100 from regolith-labs/hardhat/logs
update logs and comments
2024-10-18 13:41:30 -05:00
Hardhat Chad
bbc71bf86c update logs and comments 2024-10-18 18:38:10 +00:00
Hardhat Chad
3e9cfd8bf9 Merge pull request #97 from regolith-labs/log-input-hash
Log the input hash
2024-10-18 12:48:59 -05: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
50ac4060c0 Update README.md 2024-10-15 16:16:03 -05:00
Hardhat Chad
f3a04fd8cb unify imports 2024-10-15 18:00:33 +00:00