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

Smol Testnet data and update schema #10

Merged
merged 3 commits into from
Jan 23, 2025
Merged
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
2 changes: 2 additions & 0 deletions data/mainnet/erc1155.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"tokens": [
{
"method": "zksync",
"name": "Magic Items",
"srcChainId": 5,
"destChainId": 420,
@@ -13,6 +14,7 @@
"nftBatchSignature": "send((uint32,bytes32,uint256,uint256,bytes,bytes,bytes),(uint256,uint256),address)"
},
{
"method": "zksync",
"name": "Battle Equipment",
"srcChainId": 80001,
"destChainId": 421613,
2 changes: 2 additions & 0 deletions data/mainnet/erc20.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"tokens": [
{
"method": "zksync",
"name": "Super Gold",
"srcChainId": 5,
"destChainId": 80001,
@@ -11,6 +12,7 @@
"underlyingTokenAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
},
{
"method": "zksync",
"name": "Mystic Gems",
"srcChainId": 80001,
"destChainId": 421613,
2 changes: 2 additions & 0 deletions data/mainnet/erc721.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"tokens": [
{
"method": "hyperlane",
"name": "Writ of Passage",
"srcChainId": 42161,
"destChainId": 61166,
@@ -13,6 +14,7 @@
"nftBatchSignature": "transferRemoteBatch(uint32 destination, bytes32 recipient, uint128[] tokenIds) payable returns (bytes32[] messageIds)"
},
{
"method": "hyperlane",
"name": "Writ of Passage",
"srcChainId": 61166,
"destChainId": 42161,
2 changes: 2 additions & 0 deletions data/testnet/erc1155.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"tokens": [
{
"method": "hyperlane",
"name": "Magic Items",
"srcChainId": 5,
"destChainId": 420,
@@ -13,6 +14,7 @@
"nftBatchSignature": "send((uint32,bytes32,uint256,uint256,bytes,bytes,bytes),(uint256,uint256),address)"
},
{
"method": "hyperlane",
"name": "Battle Equipment",
"srcChainId": 80001,
"destChainId": 421613,
24 changes: 13 additions & 11 deletions data/testnet/erc20.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
{
"tokens": [
{
"name": "Magic Gold",
"srcChainId": 5,
"destChainId": 80001,
"srcTokenAddress": "0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1",
"destTokenAddress": "0x3D9819210A31b4961b30EF54bE2aeD79B9c9Cd3B",
"method": "hyperlane",
"name": "Smol",
"srcChainId": 421614,
"srcTokenAddress": "0x608238d2F754FA7f4A717d283F135D0cE50C493F",
"destChainId": 978658,
"destTokenAddress": "0xab72295bc9C74DEe0A30231C486b2D4A2ae0457e",
"isNft": false,
"isCollateral": true,
"underlyingTokenAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
"underlyingTokenAddress": "0x82F3f3f5cD3e28B37eFbCFa985b93E82Ea6bE2a3"
},
{
"name": "Mystic Gems",
"srcChainId": 80001,
"destChainId": 421613,
"srcTokenAddress": "0xE11BA2b4D45Eaed5996cd0824791E0C93114882d",
"destTokenAddress": "0x1dD8E8BD0e5c7759B006C2f7985233B3887E57e1",
"method": "hyperlane",
"name": "Smol",
"srcChainId": 978658,
"srcTokenAddress": "0xab72295bc9C74DEe0A30231C486b2D4A2ae0457e",
"destChainId": 421614,
"destTokenAddress": "0x608238d2F754FA7f4A717d283F135D0cE50C493F",
"isNft": false,
"isCollateral": false
}
2 changes: 2 additions & 0 deletions data/testnet/erc721.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"tokens": [
{
"method": "hyperlane",
"name": "Writ of Passage",
"srcChainId": 421614,
"destChainId": 978658,
@@ -13,6 +14,7 @@
"nftBatchSignature": "transferRemoteBatch(uint32 destination, bytes32 recipient, uint128[] tokenIds) payable returns (bytes32[] messageIds)"
},
{
"method": "hyperlane",
"name": "Writ of Passage",
"srcChainId": 978658,
"destChainId": 421614,
5 changes: 5 additions & 0 deletions schemas/tokenSchema.json
Original file line number Diff line number Diff line change
@@ -8,6 +8,10 @@
"items": {
"type": "object",
"properties": {
"method": {
"type": "string",
"enum": ["zksync", "hyperlane"]
},
"name": { "type": "string" },
"srcChainId": { "type": "integer" },
"destChainId": { "type": "integer" },
@@ -32,6 +36,7 @@
"nftBatchSignature": { "type": "string" }
},
"required": [
"method",
"name",
"srcChainId",
"destChainId",