Commit Graph

46 Commits

Author SHA1 Message Date
AlienTornadosaurusHex
b58796d892 update registry storage layout
Signed-off-by: AlienTornadosaurusHex <>
2023-06-27 20:28:25 +00:00
AlienTornadosaurusHex
35fbaa074e preserve registry proxy admin
Signed-off-by: AlienTornadosaurusHex <>
2023-06-27 19:49:59 +00:00
AlienTornadosaurusHex
9e1aad7a08 rename onlyOwnerOfWorker to onlyWorkerOf
Signed-off-by: AlienTornadosaurusHex <>
2023-06-25 21:24:43 +00:00
AlienTornadosaurusHex
e145ce22e9 stricter check on registry, remove router function to reduce bloat and make contract clearer, include permit tests, some getters
Signed-off-by: AlienTornadosaurusHex <>
2023-06-25 21:23:48 +00:00
AlienTornadosaurusHex
e01db443d4 add a utility require to FeeOracleManager (because fn is managed by gov anyways)
Signed-off-by: AlienTornadosaurusHex <>
2023-06-24 21:32:15 +00:00
AlienTornadosaurusHex
3dbd4ad016 Code quality RelayerRegistry
Signed-off-by: AlienTornadosaurusHex <>
2023-06-24 18:52:39 +00:00
AlienTornadosaurusHex
c47c492c3c Code quality and other
Signed-off-by: AlienTornadosaurusHex <>
2023-06-23 23:23:17 +00:00
AlienTornadosaurusHex
c34a70585a deploy script and code quality on infra proposal
Signed-off-by: AlienTornadosaurusHex <>
2023-06-22 20:12:12 +00:00
AlienTornadosaurusHex
f1aabff16b Fix comments in proposals
Signed-off-by: AlienTornadosaurusHex <>
2023-06-22 19:04:26 +00:00
AlienTornadosaurusHex
235ab1869f Add setReward function back to TornadoStakingRewards
Signed-off-by: AlienTornadosaurusHex <>
2023-06-22 18:48:07 +00:00
AlienTornadosaurusHex
1ba4f94d2c Modularize external registry calls and code quality recommendations 2023-06-22 18:10:55 +00:00
AlienTornadosaurusHex
806aa103e8 Modularize external function calls on RelayerRegistry
Signed-off-by: AlienTornadosaurusHex <>
2023-06-22 18:01:25 +00:00
AlienTornadosaurusHex
ce43bb4787 Remove unnecessary files
Signed-off-by: AlienTornadosaurusHex <>
2023-06-22 16:49:22 +00:00
AlienTornadosaurusHex
c722b4f870 rm deprecated contracts
Signed-off-by: AlienTornadosaurusHex <>
2023-06-21 22:47:37 +00:00
AlienTornadosaurusHex
be09d864d8 update package.json
Signed-off-by: AlienTornadosaurusHex <>
2023-06-21 22:13:19 +00:00
AlienTornadosaurusHex
5429d036f5 edit .env.example
Signed-off-by: AlienTornadosaurusHex <>
2023-06-21 22:12:57 +00:00
AlienTornadosaurusHex
f678a160e3 Update README.md
Signed-off-by: AlienTornadosaurusHex <>
2023-06-21 22:10:31 +00:00
AlienTornadosaurusHex
73c244c019 Update README.md
Signed-off-by: AlienTornadosaurusHex <>
2023-06-21 22:09:49 +00:00
AlienTornadosaurusHex
2f53f4959c Configure for presentation
Signed-off-by: AlienTornadosaurusHex <>
2023-06-21 22:05:56 +00:00
AlienTornadosaurusHex
6b480c62cf Ready for review :]
Signed-off-by: AlienTornadosaurusHex <>
2023-06-21 21:53:30 +00:00
AlienTornadosaurusHex
b3d2c092d1 rm logs from gas report
Signed-off-by: AlienTornadosaurusHex <>
2023-06-20 21:08:24 +00:00
AlienTornadosaurusHex
1a6a4ebfbb mostly testing finalized design
Signed-off-by: AlienTornadosaurusHex <>
2023-06-20 21:04:29 +00:00
AlienTornadosaurusHex
307cc33d8c router will call staking reward addition
Signed-off-by: AlienTornadosaurusHex <>
2023-06-20 13:14:36 +00:00
AlienTornadosaurusHex
c11658265c Mostly finalize design
Signed-off-by: AlienTornadosaurusHex <>
2023-06-20 12:47:48 +00:00
AlienTornadosaurusHex
7d6749a6f6 Keep working on tests after adding slashing
Signed-off-by: AlienTornadosaurusHex <>
2023-06-19 00:08:10 +00:00
AlienTornadosaurusHex
08a62fc18a Allow people to slash relayers who avoid on newer instances...
Signed-off-by: AlienTornadosaurusHex <>
2023-06-18 22:35:13 +00:00
AlienTornadosaurusHex
dd4de78165 make updating fees safer, trash gas reports because foundry issues
Signed-off-by: AlienTornadosaurusHex <>
2023-06-17 20:08:51 +00:00
AlienTornadosaurusHex
7944afc94f Update README, rm yarn.lock
Signed-off-by: AlienTornadosaurusHex <>
2023-06-17 19:03:03 +00:00
AlienTornadosaurusHex
9104ab25dc sufficient test coverage
Signed-off-by: AlienTornadosaurusHex <>
2023-06-17 18:57:50 +00:00
AlienTornadosaurusHex
80a47ad36d Update some comments
Signed-off-by: AlienTornadosaurusHex <>
2023-06-16 22:52:33 +00:00
AlienTornadosaurusHex
5765376121 Move deprected to top level
Signed-off-by: AlienTornadosaurusHex <>
2023-06-16 22:47:51 +00:00
AlienTornadosaurusHex
337df8ccb8 Tests passing
Signed-off-by: AlienTornadosaurusHex <>
2023-06-16 22:38:42 +00:00
AlienTornadosaurusHex
3f93127d19 Working oracle
Signed-off-by: AlienTornadosaurusHex <>
2023-06-16 19:49:44 +00:00
AlienTornadosaurusHex
1578f5ac69 Code quality improvements
Signed-off-by: AlienTornadosaurusHex <>
2023-06-16 16:12:22 +00:00
AlienTornadosaurusHex
b25f8d569c use uniswap v2 for twap
Signed-off-by: AlienTornadosaurusHex <>
2023-06-16 01:12:39 +00:00
AlienTornadosaurusHex
60be3e5936 Proposals can execute
Signed-off-by: AlienTornadosaurusHex <>
2023-06-10 17:39:07 +00:00
AlienTornadosaurusHex
827e1d6991 Start testing contracts
Signed-off-by: AlienTornadosaurusHex <>
2023-06-10 00:14:20 +00:00
AlienTornadosaurusHex
a8e09194ec Last commit before tests
Signed-off-by: AlienTornadosaurusHex <>
2023-06-09 19:23:15 +00:00
AlienTornadosaurusHex
19f7d15c6f Write proposals logic
Signed-off-by: AlienTornadosaurusHex <>
2023-06-08 23:21:32 +00:00
AlienTornadosaurusHex
deebb13953 Add storage layout
Signed-off-by: AlienTornadosaurusHex <>
2023-06-07 19:56:30 +00:00
AlienTornadosaurusHex
6bdd7a26e7 polish code before testing
Signed-off-by: AlienTornadosaurusHex <>
2023-06-07 19:49:58 +00:00
AlienTornadosaurusHex
fce35d2a4f Remove unused INVERSE_NUMERATOR from CurveFeeOracle
Signed-off-by: AlienTornadosaurusHex <>
2023-06-06 21:16:26 +00:00
AlienTornadosaurusHex
bf352a3f67 Finalize untested CurveFeeOracle
Signed-off-by: AlienTornadosaurusHex <>
2023-06-06 21:14:14 +00:00
AlienTornadosaurusHex
e8b44ac3f8 Finalize Uniswap Oracle
Signed-off-by: AlienTornadosaurusHex <>
2023-06-04 22:37:03 +00:00
AlienTornadosaurusHex
cd2b889c2f work on stufF
Signed-off-by: AlienTornadosaurusHex <>
2023-06-04 01:23:20 +00:00
T-Hax
735546619e
init
Signed-off-by: T-Hax <>
2023-04-08 18:46:18 +00:00