Commit Graph

273 Commits

Author SHA1 Message Date
Hardhat Chad
9367eb9ebf Merge pull request #57 from regolith-labs/hardhat/safe-math
Safe math
2024-07-08 10:55:05 -05:00
Hardhat Chad
a82e881ae1 Merge pull request #59 from regolith-labs/hardhat/audit-feedback
Feedback from auditors
2024-07-08 10:53:01 -05:00
Hardhat Chad
ec441fef54 Disallow crowning if last stake was less than one minute ago 2024-07-05 15:26:06 +00:00
Hardhat Chad
bcba77eb7c Disallow closing the top stake account 2024-07-05 15:25:49 +00:00
Hardhat Chad
3e9150503c safe math 2024-07-02 17:03:40 +00:00
Hardhat Chad
2cbcaab23c checked unpack 2024-07-02 16:45:35 +00:00
Hardhat Chad
b2c3006242 safe math in consts 2024-07-02 16:45:27 +00:00
Hardhat Chad
cbfc7afc2b update timestamp incrementer to move at least one minute each time 2024-07-02 16:26:26 +00:00
Hardhat Chad
3b1039b469 use strict treasury_tokens loader 2024-07-02 13:08:35 +00:00
Hardhat Chad
b55b6d338d move loaders to api 2024-07-01 14:53:09 -05:00
Hardhat Chad
a7c6da1881 remove staking program 2024-07-01 14:14:42 -05:00
Hardhat Chad
d53f76c639 Merge pull request #56 from regolith-labs/hardhat/v2
Merge v2 into master
2024-06-29 08:37:18 -05:00
Hardhat Chad
f4d0751775 cleanup 2024-06-29 13:24:09 +00:00
Hardhat Chad
c022ba192e README 2024-06-29 13:21:42 +00:00
Hardhat Chad
df34091b38 Update README.md 2024-06-29 08:05:25 -05:00
Hardhat Chad
d41c790998 Update README.md 2024-06-29 08:03:26 -05:00
Hardhat Chad
742314f5cb readme 2024-06-29 13:02:30 +00:00
Hardhat Chad
6ea183e0f7 Merge pull request #55 from regolith-labs/hardhat/refactor
Refactor api into separate crate
2024-06-29 07:48:54 -05:00
Hardhat Chad
0870f6533d Merge pull request #52 from regolith-labs/hardhat/staking-mechanism
New staking mechanism
2024-06-29 07:48:37 -05:00
Hardhat Chad
54fd80e735 refactor 2024-06-29 12:44:32 +00:00
Hardhat Chad
9c1cc9babf continued refactor 2024-06-29 12:39:11 +00:00
Hardhat Chad
eaa90ae0ab cleanup 2024-06-29 01:04:47 +00:00
Hardhat Chad
462a7021e1 refactor 2024-06-29 00:59:55 +00:00
Hardhat Chad
edc1439712 nuke idl 2024-06-28 15:07:32 +00:00
Hardhat Chad
111a31d52a nuke tests 2024-06-28 15:04:02 +00:00
Hardhat Chad
3acb7a03be cleanup 2024-06-28 14:15:13 +00:00
Hardhat Chad
d718360caf fix instruction counter 2024-06-28 13:52:38 +00:00
Hardhat Chad
a1719fd3ca Merge branch 'hardhat/staking-mechanism' of https://github.com/regolith-labs/ore into hardhat/staking-mechanism 2024-06-28 13:50:54 +00:00
Hardhat Chad
2f60bf1f81 silent error 2024-06-28 13:50:14 +00:00
Hardhat Chad
8730052e4c if 2024-06-28 13:50:14 +00:00
Hardhat Chad
f1a9146830 crown new top staker 2024-06-28 13:50:14 +00:00
Hardhat Chad
f5c6975b48 begin testing new staking mechanism 2024-06-28 13:48:16 +00:00
Hardhat Chad
2fdc7ba08f Merge pull request #54 from regolith-labs/hardhat/miner-update
Introduce update ix
2024-06-28 08:21:52 -05:00
Hardhat Chad
9d0f948f05 account meta 2024-06-28 13:21:09 +00:00
Hardhat Chad
fb33d59434 cleanup 2024-06-28 13:14:00 +00:00
Hardhat Chad
45f5d133df comment 2024-06-28 12:44:01 +00:00
Hardhat Chad
cddcd493a8 introduce update ix 2024-06-28 12:42:54 +00:00
Hardhat Chad
50a4cf8dc4 Merge pull request #51 from regolith-labs/hardhat/miner-authority
Introduce miner authority
2024-06-28 07:28:02 -05:00
Hardhat Chad
98b6396fda Update README.md 2024-06-27 10:53:48 -05:00
Hardhat Chad
03a953cdd4 Update README.md 2024-06-27 10:53:03 -05:00
Hardhat Chad
2b0b28b813 comment 2024-06-27 15:51:56 +00:00
Hardhat Chad
6bdc8cbca2 split miner authority 2024-06-27 15:49:45 +00:00
Hardhat Chad
410ad47662 Merge pull request #49 from regolith-labs/hardhat/consts
Cleanup consts
2024-06-27 10:29:15 -05:00
Hardhat Chad
7b92169ad3 Merge pull request #48 from regolith-labs/hardhat/ix-name-cleanup
Cleanup ix names
2024-06-27 10:25:08 -05:00
Hardhat Chad
3b2bf98be9 Merge pull request #47 from regolith-labs/hardhat/reduce-admin-surface
Reduce admin surface
2024-06-27 10:06:31 -05:00
Hardhat Chad
d5e785899f silent error 2024-06-27 14:46:14 +00:00
Hardhat Chad
c2ef73a6d0 if 2024-06-27 14:03:02 +00:00
Hardhat Chad
3608071f1c crown new top staker 2024-06-27 14:01:52 +00:00
Hardhat Chad
7e115db1ed consts 2024-06-27 13:18:16 +00:00
Hardhat Chad
77bf195139 begin testing new staking mechanism 2024-06-27 13:17:53 +00:00