Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add morph #33

Merged
merged 4 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions conf/mainnets/arbitrum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ couples:
protocol: lnv3
fee: '10000000000000'
messager: layerzero
- chain: morph
symbol: ETH
protocol: lnv3
fee: '10000000000000'
messager: msgline

## ring
- chain: ethereum
Expand Down
33 changes: 33 additions & 0 deletions conf/mainnets/morph.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
id: '2818'
lzid: ''
code: morph
name: Morph
rpcs:
- https://rpc.morphl2.io
additional:
dao: '0x88a39B052d477CfdE47600a7C9950a441Ce61cb4'
multicallAddress: '0x876A4f6eCF13EEb101F9E75FCeF58f19Ff383eEB'
contract:
proxy-admin: '0x756DFD82e79E739c6e4B0CDf263ad68cF396fA3C'
protocol:
lnv2-default: null
lnv2-opposite: null
lnv3: '0xCcD566F8dA3643A9948A1509cde0D0324D32d19b'
messagers:
- name: msgline
address: '0x1d53AEaD0DFbE3A605AfEC8FF1414614277afCde'
indexers:
- type: superindex
endpoint: http://34.142.158.162:8800/graphql
tokens:
- symbol: ETH
address: '0x0000000000000000000000000000000000000000'
decimals: 18
type: native
couples:
## ETH
- chain: arbitrum
symbol: ETH
protocol: lnv3
fee: '10000000000000'
messager: msgline
10 changes: 5 additions & 5 deletions conf/testnets/arbitrum-sepolia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tokens:
decimals: 18
type: erc20
couples:
- chain: morph
- chain: morph-testnet
symbol: USDC
protocol: lnv2-default
fee: '100000000000000000'
Expand Down Expand Up @@ -46,7 +46,7 @@ couples:
fee: '100000000000000000'
messager: layerzero
category: usdc
- chain: morph
- chain: morph-testnet
symbol: USDC
protocol: lnv3
fee: '100000000000000000'
Expand Down Expand Up @@ -83,7 +83,7 @@ couples:
messager: layerzero
category: usdc

- chain: morph
- chain: morph-testnet
symbol: USDT
protocol: lnv2-default
fee: '100000000000000000'
Expand Down Expand Up @@ -112,7 +112,7 @@ couples:
fee: '100000000000000000'
messager: layerzero
category: usdt
- chain: morph
- chain: morph-testnet
symbol: USDT
protocol: lnv3
fee: '100000000000000000'
Expand Down Expand Up @@ -161,7 +161,7 @@ couples:
fee: '100000000000000000'
messager: layerzero
category: eth
- chain: morph
- chain: morph-testnet
symbol: ETH
protocol: lnv2-default
fee: '100000000000000000'
Expand Down
4 changes: 2 additions & 2 deletions conf/testnets/morph.yml → conf/testnets/morph-testnet.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: '2810'
code: morph
name: morph
code: morph-testnet
name: morph-testnet
rpcs:
- https://rpc-holesky.morphl2.io
protocol:
Expand Down
4 changes: 2 additions & 2 deletions template/ts/files/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@helixbridge/helixconf",
"version": "1.1.17",
"version": "1.1.18",
"description": "Helix conf",
"main": "dist/src/index.js",
"publishConfig": {
Expand All @@ -17,7 +17,7 @@
"scripts": {
"build": "rm -rf dist && tsc",
"test": "jest --verbose --coverage",
"test:ci": "jest --coverage --ci --no-colors"
"test:ci": "jest --coverage --no-colors"
},
"author": "HelixBridge",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion template/ts/files/src/helixconf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export type MessagerName = 'eth2arb-receive' | 'eth2arb-send' | 'msgline' | 'lay
export type TokenType = 'native' | 'erc20';
export type _NetworkType = 'mainnets' | 'testnets';
export type HelixContractName = 'proxy-admin' | 'protocol-fee-receiver';
export type ChainIndexerType = 'thegraph' | 'ponder' | 'hyperindex';
export type ChainIndexerType = 'thegraph' | 'ponder' | 'hyperindex' | 'superindex';


export interface ChainMessager {
Expand Down
2 changes: 1 addition & 1 deletion template/ts/files/tests/generatedconfig.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe.each(TestSource.chains())('helix chain config check -> $_data.code', (c

if (chain.indexers.length) {
test.each(chain.indexers)('should be defined correct indexer', (indexer) => {
expect(Object.values(['thegraph', 'ponder', 'hyperindex'])).toContain(indexer.type);
expect(Object.values(['thegraph', 'ponder', 'hyperindex', 'superindex'])).toContain(indexer.type);
});
}

Expand Down
Loading