Skip to content

Commit 337fd8d

Browse files
authored
Merge pull request #74 from LiskHQ/main
Cfg: add wstETH on Lisk
2 parents 5d9fe86 + f661425 commit 337fd8d

7 files changed

+235
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"contracts": {
3+
"0x9348AF23B01F2B517AFE8f29B3183d2Bb7d69Fcf": "OssifiableProxy",
4+
"0xC7315f4FaaB2F700fc6b4704BB801c46ff6327AC": "L1ERC20TokenBridge"
5+
},
6+
"explorer_hostname": "api.etherscan.io",
7+
"explorer_token_env_var": "ETHERSCAN_TOKEN",
8+
"github_repo": {
9+
"url": "https://github.com/lidofinance/lido-l2",
10+
"commit": "082e7eb59de63bd376b30886568813408d04f00b",
11+
"relative_root": ""
12+
},
13+
"dependencies": {
14+
"@openzeppelin/contracts": {
15+
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
16+
"commit": "d4fb3a89f9d0a39c7ee6f2601d33ffbf30085322",
17+
"relative_root": "contracts"
18+
}
19+
},
20+
"fail_on_comparison_error": true,
21+
"bytecode_comparison": {
22+
"constructor_args": {
23+
"0x9348AF23B01F2B517AFE8f29B3183d2Bb7d69Fcf": [
24+
"0xC7315f4FaaB2F700fc6b4704BB801c46ff6327AC",
25+
"0x3e40D73EB977Dc6a537aF587D48316feE66E9C8c",
26+
"0x"
27+
],
28+
"0xC7315f4FaaB2F700fc6b4704BB801c46ff6327AC": [
29+
"0x31B72D76FB666844C41EdF08dF0254875Dbb7edB",
30+
"0xca498Ee83eD3546321d4DC25e2789B0624F15f68",
31+
"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
32+
"0x76D8de471F54aAA87784119c60Df1bbFc852C415"
33+
]
34+
}
35+
}
36+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"contracts": {
3+
"0xca498Ee83eD3546321d4DC25e2789B0624F15f68": "OssifiableProxy",
4+
"0xE766BE7B76E3F4d06551CB169Dd69B10a58ba91D": "L2ERC20TokenBridge",
5+
"0x76D8de471F54aAA87784119c60Df1bbFc852C415": "OssifiableProxy",
6+
"0x16B8006b49db9022BF5457BD2de0144a7d0F970b": "ERC20Bridged"
7+
},
8+
"explorer_hostname": "blockscout.lisk.com",
9+
"github_repo": {
10+
"url": "https://github.com/lidofinance/lido-l2",
11+
"commit": "082e7eb59de63bd376b30886568813408d04f00b",
12+
"relative_root": ""
13+
},
14+
"dependencies": {
15+
"@openzeppelin/contracts": {
16+
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
17+
"commit": "d4fb3a89f9d0a39c7ee6f2601d33ffbf30085322",
18+
"relative_root": "contracts"
19+
}
20+
},
21+
"fail_on_comparison_error": true,
22+
"bytecode_comparison": {
23+
"constructor_args": {
24+
"0xca498Ee83eD3546321d4DC25e2789B0624F15f68": [
25+
"0xE766BE7B76E3F4d06551CB169Dd69B10a58ba91D",
26+
"0xfD050cDa025f6378e54ab5fd5Da377D242Ed74d3",
27+
"0x"
28+
],
29+
"0xE766BE7B76E3F4d06551CB169Dd69B10a58ba91D": [
30+
"0x4200000000000000000000000000000000000007",
31+
"0x9348AF23B01F2B517AFE8f29B3183d2Bb7d69Fcf",
32+
"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
33+
"0x76D8de471F54aAA87784119c60Df1bbFc852C415"
34+
],
35+
"0x76D8de471F54aAA87784119c60Df1bbFc852C415": [
36+
"0x16B8006b49db9022BF5457BD2de0144a7d0F970b",
37+
"0xfD050cDa025f6378e54ab5fd5Da377D242Ed74d3",
38+
"0x"
39+
],
40+
"0x16B8006b49db9022BF5457BD2de0144a7d0F970b": [
41+
"Wrapped liquid staked Ether 2.0",
42+
"wstETH",
43+
18,
44+
"0xca498Ee83eD3546321d4DC25e2789B0624F15f68"
45+
]
46+
}
47+
}
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"contracts": {
3+
"0xfD050cDa025f6378e54ab5fd5Da377D242Ed74d3": "OptimismBridgeExecutor"
4+
},
5+
"explorer_hostname": "blockscout.lisk.com",
6+
"github_repo": {
7+
"url": "https://github.com/lidofinance/governance-crosschain-bridges",
8+
"commit": "8fa25b0080dd3dcc2390313631aea6796a12c9d8",
9+
"relative_root": ""
10+
},
11+
"dependencies": {
12+
"@openzeppelin/contracts": {
13+
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
14+
"commit": "d4fb3a89f9d0a39c7ee6f2601d33ffbf30085322",
15+
"relative_root": "contracts",
16+
"//": "OZ 4.6.0"
17+
}
18+
},
19+
"fail_on_comparison_error": true,
20+
"bytecode_comparison": {
21+
"constructor_args": {
22+
"0xfD050cDa025f6378e54ab5fd5Da377D242Ed74d3": [
23+
"0x4200000000000000000000000000000000000007",
24+
"0x3e40D73EB977Dc6a537aF587D48316feE66E9C8c",
25+
0,
26+
86400,
27+
0,
28+
1,
29+
"0x0000000000000000000000000000000000000000"
30+
]
31+
}
32+
}
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"contracts": {
3+
"0xD3f64eB2082cEe7632C12a968dEDF304bCac2deF": "OssifiableProxy",
4+
"0x7c8D06196299B1642D192C595281f2d9d7Cf9D31": "L1ERC20TokenBridge"
5+
},
6+
"explorer_hostname": "api-sepolia.etherscan.io",
7+
"explorer_token_env_var": "ETHERSCAN_EXPLORER_TOKEN",
8+
"github_repo": {
9+
"url": "https://github.com/lidofinance/lido-l2",
10+
"commit": "082e7eb59de63bd376b30886568813408d04f00b",
11+
"relative_root": ""
12+
},
13+
"dependencies": {
14+
"@openzeppelin/contracts": {
15+
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
16+
"commit": "d4fb3a89f9d0a39c7ee6f2601d33ffbf30085322",
17+
"relative_root": "contracts"
18+
}
19+
},
20+
"fail_on_comparison_error": true,
21+
"bytecode_comparison": {
22+
"constructor_args": {
23+
"0xD3f64eB2082cEe7632C12a968dEDF304bCac2deF": [
24+
"0x7c8D06196299B1642D192C595281f2d9d7Cf9D31",
25+
"0x32A0E5828B62AAb932362a4816ae03b860b65e83",
26+
"0x"
27+
],
28+
"0x7c8D06196299B1642D192C595281f2d9d7Cf9D31": [
29+
"0x857824E6234f7733ecA4e9A76804fd1afa1A3A2C",
30+
"0xb150759C71073Edf7D90d3D053aB5e67ea731Aa2",
31+
"0xB82381A3fBD3FaFA77B3a7bE693342618240067b",
32+
"0x03F1259b4986b8ae9040E250f958CEf09DaD8b6C"
33+
]
34+
}
35+
}
36+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"contracts": {
3+
"0xb150759C71073Edf7D90d3D053aB5e67ea731Aa2": "OssifiableProxy",
4+
"0x4795d8Bbb94676058a6777C2410Ad3ebcc2fB3aF": "L2ERC20TokenBridge",
5+
"0x03F1259b4986b8ae9040E250f958CEf09DaD8b6C": "OssifiableProxy",
6+
"0xEd84E536E7611B185b84329a31bED71351D82576": "ERC20Bridged"
7+
},
8+
"explorer_hostname": "sepolia-blockscout.lisk.com",
9+
"github_repo": {
10+
"url": "https://github.com/lidofinance/lido-l2",
11+
"commit": "082e7eb59de63bd376b30886568813408d04f00b",
12+
"relative_root": ""
13+
},
14+
"dependencies": {
15+
"@openzeppelin/contracts": {
16+
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
17+
"commit": "d4fb3a89f9d0a39c7ee6f2601d33ffbf30085322",
18+
"relative_root": "contracts"
19+
}
20+
},
21+
"fail_on_comparison_error": true,
22+
"bytecode_comparison": {
23+
"constructor_args": {
24+
"0xb150759C71073Edf7D90d3D053aB5e67ea731Aa2": [
25+
"0x4795d8Bbb94676058a6777C2410Ad3ebcc2fB3aF",
26+
"0x48Dce305f4209BD9926072Df3307b70602Bd8107",
27+
"0x"
28+
],
29+
"0x4795d8Bbb94676058a6777C2410Ad3ebcc2fB3aF": [
30+
"0x4200000000000000000000000000000000000007",
31+
"0xD3f64eB2082cEe7632C12a968dEDF304bCac2deF",
32+
"0xB82381A3fBD3FaFA77B3a7bE693342618240067b",
33+
"0x03F1259b4986b8ae9040E250f958CEf09DaD8b6C"
34+
],
35+
"0x03F1259b4986b8ae9040E250f958CEf09DaD8b6C": [
36+
"0xEd84E536E7611B185b84329a31bED71351D82576",
37+
"0x48Dce305f4209BD9926072Df3307b70602Bd8107",
38+
"0x"
39+
],
40+
"0xEd84E536E7611B185b84329a31bED71351D82576": [
41+
"Wrapped liquid staked Ether 2.0",
42+
"wstETH",
43+
18,
44+
"0xb150759C71073Edf7D90d3D053aB5e67ea731Aa2"
45+
]
46+
}
47+
}
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"contracts": {
3+
"0x48Dce305f4209BD9926072Df3307b70602Bd8107": "OptimismBridgeExecutor"
4+
},
5+
"explorer_hostname": "sepolia-blockscout.lisk.com",
6+
"github_repo": {
7+
"url": "https://github.com/lidofinance/governance-crosschain-bridges",
8+
"commit": "8fa25b0080dd3dcc2390313631aea6796a12c9d8",
9+
"relative_root": ""
10+
},
11+
"dependencies": {
12+
"@openzeppelin/contracts": {
13+
"url": "https://github.com/OpenZeppelin/openzeppelin-contracts",
14+
"commit": "d4fb3a89f9d0a39c7ee6f2601d33ffbf30085322",
15+
"relative_root": "contracts",
16+
"//": "OZ 4.6.0"
17+
}
18+
},
19+
"fail_on_comparison_error": true,
20+
"bytecode_comparison": {
21+
"constructor_args": {
22+
"0x48Dce305f4209BD9926072Df3307b70602Bd8107": [
23+
"0x4200000000000000000000000000000000000007",
24+
"0x32A0E5828B62AAb932362a4816ae03b860b65e83",
25+
0,
26+
86400,
27+
0,
28+
1,
29+
"0x0000000000000000000000000000000000000000"
30+
]
31+
}
32+
}
33+
}

diffyscan/utils/explorer.py

+1
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def get_contract_from_explorer(
166166
explorer_hostname.endswith("mode.network")
167167
or explorer_hostname.endswith("blockscout.com")
168168
or explorer_hostname.endswith("swellnetwork.io")
169+
or explorer_hostname.endswith("lisk.com")
169170
):
170171
result = _get_contract_from_blockscout(explorer_hostname, contract_address)
171172
else:

0 commit comments

Comments
 (0)