Skip to content

Commit 1276dfe

Browse files
authored
Smol Testnet data and update schema (#10)
* smol testnet info * update data * update schema to have method property
1 parent 0416244 commit 1276dfe

File tree

7 files changed

+28
-11
lines changed

7 files changed

+28
-11
lines changed

Diff for: data/mainnet/erc1155.json

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"tokens": [
33
{
4+
"method": "zksync",
45
"name": "Magic Items",
56
"srcChainId": 5,
67
"destChainId": 420,
@@ -13,6 +14,7 @@
1314
"nftBatchSignature": "send((uint32,bytes32,uint256,uint256,bytes,bytes,bytes),(uint256,uint256),address)"
1415
},
1516
{
17+
"method": "zksync",
1618
"name": "Battle Equipment",
1719
"srcChainId": 80001,
1820
"destChainId": 421613,

Diff for: data/mainnet/erc20.json

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"tokens": [
33
{
4+
"method": "zksync",
45
"name": "Super Gold",
56
"srcChainId": 5,
67
"destChainId": 80001,
@@ -11,6 +12,7 @@
1112
"underlyingTokenAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
1213
},
1314
{
15+
"method": "zksync",
1416
"name": "Mystic Gems",
1517
"srcChainId": 80001,
1618
"destChainId": 421613,

Diff for: data/mainnet/erc721.json

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"tokens": [
33
{
4+
"method": "hyperlane",
45
"name": "Writ of Passage",
56
"srcChainId": 42161,
67
"destChainId": 61166,
@@ -13,6 +14,7 @@
1314
"nftBatchSignature": "transferRemoteBatch(uint32 destination, bytes32 recipient, uint128[] tokenIds) payable returns (bytes32[] messageIds)"
1415
},
1516
{
17+
"method": "hyperlane",
1618
"name": "Writ of Passage",
1719
"srcChainId": 61166,
1820
"destChainId": 42161,

Diff for: data/testnet/erc1155.json

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"tokens": [
33
{
4+
"method": "hyperlane",
45
"name": "Magic Items",
56
"srcChainId": 5,
67
"destChainId": 420,
@@ -13,6 +14,7 @@
1314
"nftBatchSignature": "send((uint32,bytes32,uint256,uint256,bytes,bytes,bytes),(uint256,uint256),address)"
1415
},
1516
{
17+
"method": "hyperlane",
1618
"name": "Battle Equipment",
1719
"srcChainId": 80001,
1820
"destChainId": 421613,

Diff for: data/testnet/erc20.json

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
22
"tokens": [
33
{
4-
"name": "Magic Gold",
5-
"srcChainId": 5,
6-
"destChainId": 80001,
7-
"srcTokenAddress": "0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1",
8-
"destTokenAddress": "0x3D9819210A31b4961b30EF54bE2aeD79B9c9Cd3B",
4+
"method": "hyperlane",
5+
"name": "Smol",
6+
"srcChainId": 421614,
7+
"srcTokenAddress": "0x608238d2F754FA7f4A717d283F135D0cE50C493F",
8+
"destChainId": 978658,
9+
"destTokenAddress": "0xab72295bc9C74DEe0A30231C486b2D4A2ae0457e",
910
"isNft": false,
1011
"isCollateral": true,
11-
"underlyingTokenAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
12+
"underlyingTokenAddress": "0x82F3f3f5cD3e28B37eFbCFa985b93E82Ea6bE2a3"
1213
},
1314
{
14-
"name": "Mystic Gems",
15-
"srcChainId": 80001,
16-
"destChainId": 421613,
17-
"srcTokenAddress": "0xE11BA2b4D45Eaed5996cd0824791E0C93114882d",
18-
"destTokenAddress": "0x1dD8E8BD0e5c7759B006C2f7985233B3887E57e1",
15+
"method": "hyperlane",
16+
"name": "Smol",
17+
"srcChainId": 978658,
18+
"srcTokenAddress": "0xab72295bc9C74DEe0A30231C486b2D4A2ae0457e",
19+
"destChainId": 421614,
20+
"destTokenAddress": "0x608238d2F754FA7f4A717d283F135D0cE50C493F",
1921
"isNft": false,
2022
"isCollateral": false
2123
}

Diff for: data/testnet/erc721.json

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"tokens": [
33
{
4+
"method": "hyperlane",
45
"name": "Writ of Passage",
56
"srcChainId": 421614,
67
"destChainId": 978658,
@@ -13,6 +14,7 @@
1314
"nftBatchSignature": "transferRemoteBatch(uint32 destination, bytes32 recipient, uint128[] tokenIds) payable returns (bytes32[] messageIds)"
1415
},
1516
{
17+
"method": "hyperlane",
1618
"name": "Writ of Passage",
1719
"srcChainId": 978658,
1820
"destChainId": 421614,

Diff for: schemas/tokenSchema.json

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"items": {
99
"type": "object",
1010
"properties": {
11+
"method": {
12+
"type": "string",
13+
"enum": ["zksync", "hyperlane"]
14+
},
1115
"name": { "type": "string" },
1216
"srcChainId": { "type": "integer" },
1317
"destChainId": { "type": "integer" },
@@ -32,6 +36,7 @@
3236
"nftBatchSignature": { "type": "string" }
3337
},
3438
"required": [
39+
"method",
3540
"name",
3641
"srcChainId",
3742
"destChainId",

0 commit comments

Comments
 (0)