Skip to content

Commit

Permalink
feat: add Everclear relayer app context (#4912)
Browse files Browse the repository at this point in the history
### Description

Tracks messages from the hub/spoke contracts here
https://docs.everclear.org/resources/contracts/mainnet (HubGateway
(Everclear hub) <> EverclearSpoke (all other spoke chains)). Went with
sender tracking to help us flag if there are other new spokes that pop
up

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
  • Loading branch information
tkporter authored Nov 28, 2024
1 parent 4c74aff commit 2f77bb0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
7 changes: 7 additions & 0 deletions typescript/infra/config/environments/mainnet3/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { getDomainId } from '../../registry.js';
import { environment } from './chains.js';
import { helloWorld } from './helloworld.js';
import aaveSenderAddresses from './misc-artifacts/aave-sender-addresses.json';
import everclearSenderAddresses from './misc-artifacts/everclear-sender-addresses.json';
import merklyEthAddresses from './misc-artifacts/merkly-eth-addresses.json';
import merklyNftAddresses from './misc-artifacts/merkly-eth-addresses.json';
import merklyErc20Addresses from './misc-artifacts/merkly-eth-addresses.json';
Expand Down Expand Up @@ -413,6 +414,12 @@ const metricAppContextsGetter = (): MetricAppContext[] => {
name: 'aave',
matchingList: senderMatchingList(aaveSenderAddresses),
},
{
// https://docs.everclear.org/resources/contracts/mainnet
// Messages between HubGateway (Everclear hub) <> EverclearSpoke (all other spoke chains)
name: 'everclear_gateway',
matchingList: senderMatchingList(everclearSenderAddresses),
},
];
};

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"everclear": {
"sender": "0xEFfAB7cCEBF63FbEFB4884964b12259d4374FaAa"
},
"ethereum": {
"sender": "0x9ADA72CCbAfe94248aFaDE6B604D1bEAacc899A7"
},
"optimism": {
"sender": "0x9ADA72CCbAfe94248aFaDE6B604D1bEAacc899A7"
},
"bsc": {
"sender": "0x9ADA72CCbAfe94248aFaDE6B604D1bEAacc899A7"
},
"base": {
"sender": "0x9ADA72CCbAfe94248aFaDE6B604D1bEAacc899A7"
},
"arbitrum": {
"sender": "0x9ADA72CCbAfe94248aFaDE6B604D1bEAacc899A7"
}
}

0 comments on commit 2f77bb0

Please sign in to comment.