forked from l2beat/l2beat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trivial discovery updates 01/03 (l2beat#6263)
Co-authored-by: sekuba <[email protected]>
- Loading branch information
Showing
23 changed files
with
2,530 additions
and
158 deletions.
There are no files selected for viewing
1,239 changes: 1,239 additions & 0 deletions
1,239
packages/backend/discovery/_templates/fraxtal/EtherRouter/shape/EtherRouter.sol
Large diffs are not rendered by default.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
packages/backend/discovery/_templates/fraxtal/EtherRouter/template.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"$schema": "../../../../../discovery/schemas/contract.v2.schema.json", | ||
"description": "ETH deposited by users via the FraxEtherMinter is forwarded to this contract and then routed further to either lending pools or AMOs.", | ||
"ignoreRelatives": [ | ||
"amosArray", | ||
"depositToAmoAddr", | ||
"lendingPool", | ||
"primaryWithdrawFromAmoAddr", | ||
"redemptionQueue" | ||
], | ||
"ignoreMethods": ["previewRequestEther"], | ||
"fields": { | ||
"timelockAddress": { | ||
"target": { | ||
"permissions": [ | ||
{ | ||
"type": "configure", | ||
"description": "withdraw all escrowed ETH and ERC-20s and configure important addresses like the operator, AMO(s) or the lending pool(s)." | ||
} | ||
] | ||
} | ||
}, | ||
"operatorAddress": { | ||
"target": { | ||
"permissions": [ | ||
{ | ||
"type": "configure", | ||
"description": "set the default AMO and lending pool contracts among the registered ones and trigger the predefined rebalancing functions of the router." | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
510 changes: 510 additions & 0 deletions
510
packages/backend/discovery/_templates/fraxtal/FraxEtherMinter/shape/FraxEtherMinter.sol
Large diffs are not rendered by default.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
packages/backend/discovery/_templates/fraxtal/FraxEtherMinter/template.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"$schema": "../../../../../discovery/schemas/contract.v2.schema.json", | ||
"displayName": "frxETH Minter", | ||
"description": "Accepts user-supplied ETH to convert it to frxETH using auxiliary contracts like the EtherRouter.", | ||
"fields": { | ||
"timelockAddress": { | ||
"target": { | ||
"permissions": [ | ||
{ | ||
"type": "configure", | ||
"description": "configure important addresses like the operator or the EtherRouter and withdraw ETH and ERC-20s from the contract (usually not escrowed here)." | ||
} | ||
] | ||
} | ||
}, | ||
"operatorAddress": { | ||
"target": { | ||
"permissions": [ | ||
{ | ||
"type": "configure", | ||
"description": "pause ETH deposits / frxETH mints and withdraw ETH and ERC-20s from the contract (usually not escrowed here)." | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
packages/backend/discovery/across-v3/ethereum/diffHistory.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,58 @@ | ||
Generated with discovered.json: 0x4a75fdca8455fbd7d6fb3c4a66c4947552961416 | ||
|
||
# Diff at Fri, 03 Jan 2025 10:43:13 GMT: | ||
|
||
- author: sekuba (<[email protected]>) | ||
- comparing to: main@f2f208ac8a91552305da5e03332108446838b892 block: 21388072 | ||
- current block number: 21543430 | ||
|
||
## Description | ||
|
||
New Arbitrum_Adapter: No changes except for comments. | ||
|
||
New standard OP_Adapter for the Ink RU. | ||
|
||
## Watched changes | ||
|
||
```diff | ||
- Status: DELETED | ||
contract Arbitrum_Adapter (0x5473CBD30bEd1Bf97C0c9d7c59d268CD620dA426) | ||
+++ description: None | ||
``` | ||
|
||
```diff | ||
contract HubPool (0xc186fA914353c44b2E33eBE05f21846F1048bEda) { | ||
+++ description: None | ||
values.Adapters.42161: | ||
- "0x5473CBD30bEd1Bf97C0c9d7c59d268CD620dA426" | ||
+ "0x100EDfCf3af2B4625Fca4EaF6C533703e71F7210" | ||
values.Adapters.57073: | ||
+ "0x7e90A40c7519b041A7DF6498fBf5662e8cFC61d2" | ||
values.CrossChainContracts.57073: | ||
+ "0xeF684C38F94F48775959ECf2012D7E864ffb9dd4" | ||
} | ||
``` | ||
|
||
```diff | ||
+ Status: CREATED | ||
contract Arbitrum_Adapter (0x100EDfCf3af2B4625Fca4EaF6C533703e71F7210) | ||
+++ description: None | ||
``` | ||
|
||
```diff | ||
+ Status: CREATED | ||
contract Ink_Adapter (0x7e90A40c7519b041A7DF6498fBf5662e8cFC61d2) | ||
+++ description: None | ||
``` | ||
|
||
## Source code changes | ||
|
||
```diff | ||
.../{.flat@21388072 => .flat}/Arbitrum_Adapter.sol | 10 + | ||
.../across-v3/ethereum/.flat/Ink_Adapter.sol | 596 +++++++++++++++++++++ | ||
2 files changed, 606 insertions(+) | ||
``` | ||
|
||
Generated with discovered.json: 0x5cf4cef23f0cb03295260afbe5b50fdd11ebf6d1 | ||
|
||
# Diff at Thu, 12 Dec 2024 17:59:11 GMT: | ||
|
Oops, something went wrong.