Commit Graph

106 Commits

Author SHA1 Message Date
Hardhat Chad
816a0fdfa5 remove mine arg 2025-05-10 10:37:51 -07:00
Hardhat Chad
ae53d0e829 block based sha256 mining 2025-05-10 10:36:37 -07:00
Hardhat Chad
3492feef67 keccak 2025-05-07 17:00:00 -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
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
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
c89f73e8d3 update description 2025-02-11 12:25:11 -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
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
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
24aace2c24 add stricter address check 2024-10-11 20:58:56 +00:00
Hardhat Chad
f356139484 id shortcut 2024-10-07 18:55:44 +00:00
Hardhat Chad
49418e94c7 add sdk 2024-10-07 18:41:11 +00:00
Hardhat Chad
58e27c1274 skip duplicate boost 2024-10-07 18:36:56 +00:00
Hardhat Chad
d3fb384eae implement three boost system 2024-10-07 18:19:55 +00:00
Hardhat Chad
1cc3d9c202 scaffolding boosts 2024-10-07 18:13:11 +00:00
Hardhat Chad
13bd94df90 ore_api prelude module 2024-09-27 08:15:05 +00:00
Hardhat Chad
f0b0274372 cleanup imports 2024-09-27 08:10:46 +00:00
Hardhat Chad
6cb5f18628 cleanup imports 2024-09-27 08:05:48 +00:00
Hardhat Chad
a9e445ad36 use const pubkey 2024-09-27 02:40:50 +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
Hardhat Chad
e423676713 ore sdk 2024-09-24 05:35:16 +00:00
Hardhat Chad
bff1868ccc instruction macro and simplification 2024-08-26 21:02:52 +00:00
Hardhat Chad
3a3550ced5 error macro 2024-08-25 20:00:51 +00:00
Hardhat Chad
3a425364c2 from bytes macro 2024-08-25 15:01:00 +00:00
Hardhat Chad
dce5c11a12 account discriminator macro 2024-08-25 14:52:10 +00:00
Hardhat Chad
80f6efeeb2 cleanup utils imports 2024-08-25 14:16:05 +00:00
Hardhat Chad
d164241c40 remove lifetimes 2024-08-25 11:58:08 +00:00
Hardhat Chad
18b87be8ea new macros 2024-08-25 01:36:32 +00:00
Hardhat Chad
6cae0d773b fix utils import 2024-08-24 13:59:28 +00:00
Hardhat Chad
6d0e447017 refactor loaders into utils 2024-08-23 17:26:33 +00:00
Hardhat Chad
5e60318eb8 bump epoch minutes to 5 2024-08-20 17:24:26 +00:00
Hardhat Chad
8e3e5374dd bump epoch to 2 minutes 2024-08-12 15:32:32 +00:00
tonton-sol
8869a395d5 add post balance to MineEvent log 2024-08-11 15:44:34 +09:00