Skip to content

Commit

Permalink
Trivial discovery updates 01/03 (l2beat#6263)
Browse files Browse the repository at this point in the history
Co-authored-by: sekuba <[email protected]>
  • Loading branch information
sekuba and sekuba authored Jan 3, 2025
1 parent f2f208a commit dcd263a
Show file tree
Hide file tree
Showing 23 changed files with 2,530 additions and 158 deletions.
1,239 changes: 1,239 additions & 0 deletions packages/backend/discovery/_templates/fraxtal/EtherRouter/shape/EtherRouter.sol

Large diffs are not rendered by default.

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."
}
]
}
}
}
}

Large diffs are not rendered by default.

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)."
}
]
}
}
}
}
1 change: 1 addition & 0 deletions packages/backend/discovery/across-v3/ethereum/config.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"0x8692B776d1Ff0664177c90465038056Dc64f8991": "OptimisticGovernor",
"0xA8399e221a583A57F54Abb5bA22f31b5D6C09f32": "WorldChain_Adapter",
"0x6F4083304C2cA99B077ACE06a5DcF670615915Af": "Alephzero_Adapter",
"0x7e90A40c7519b041A7DF6498fBf5662e8cFC61d2": "Ink_Adapter",
"0xeE3Afe347D5C74317041E2618C49534dAf887c24": "UMAOptimisticOracle",
"0x48d990AbDA20afa1fD1da713AbC041B60a922c65": "PolygonTokenBridger",
"0x3B03509645713718B78951126E0A6de6f10043f5": "AcrossConfigStore"
Expand Down
55 changes: 55 additions & 0 deletions packages/backend/discovery/across-v3/ethereum/diffHistory.md
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:
Expand Down
Loading

0 comments on commit dcd263a

Please sign in to comment.