Skip to content

Commit

Permalink
Merge branch 'main' into mmuftic/add-parachain-id
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrunic authored Mar 28, 2024
2 parents bc54c49 + 19a36f1 commit 8f2d75c
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 18 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/validate-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,12 @@ jobs:
with:
schema: /schema.json
jsons: /mainnet/shared-config-mainnet.json
validate-x-json:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Validate JSON
uses: nhalstead/validate-json-action@0.1.3
with:
schema: /schema.json
jsons: /testnet/shared-config-x.json
43 changes: 25 additions & 18 deletions testnet/shared-config-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,38 +17,38 @@
},
{
"type": "erc1155",
"address": "0x65903772866e538e6ffc001dd0c7665e356eb6d8"
"address": "0x65903772866E538E6fFc001dD0C7665E356eB6d8"
},
{
"type": "permissionlessGeneric",
"address": "0x7dCBdb9cBA0Bb1871EECafAB290E5a2e45077479"
},
{
"type": "permissionlessGeneric",
"address": "0x39f34c108e0e47ed7fe124975c0204aa5146c074"
"address": "0x39f34c108E0E47ED7fe124975c0204aa5146c074"
}
],
"nativeTokenSymbol": "eth",
"nativeTokenFullName": "ether",
"nativeTokenDecimals": 18,
"blockConfirmations": 5,
"startBlock": 4228380,
"feeRouter": "0x9D45e9bE1E70735Ee78052717107d5dc59C1EaCE",
"feeRouter": "0xCF4324adDf2ECA0181A2A0F5176ef61D115C0ae4",
"feeHandlers": [
{
"address": "0xDcBA3f691eF406415556C802163C265Db56208cF",
"address": "0xb71adf39D4Bc4EbC5b8a5A514d921dB269AFAcff",
"type": "basic"
},
{
"address": "0x2e77dEa116117eCF44a427064260D16D488ccff2",
"address": "0xcEc8b912DdfC25F381EDC11D0629652EC2022265",
"type": "percentage"
}
],
"resources": [
{
"resourceId": "0x0000000000000000000000000000000000000000000000000000000000000200",
"type": "nonfungible",
"address": "0x285207cbed7af3bc80e05421d17ae1181d63abd0",
"address": "0x285207Cbed7AF3Bc80E05421D17AE1181d63aBd0",
"symbol": "ERC721TST",
"decimals": 0
},
Expand All @@ -62,7 +62,7 @@
{
"resourceId": "0x0000000000000000000000000000000000000000000000000000000000000400",
"type": "erc1155",
"address": "0xc6de9aa04ef369540a6a4fa2864342732bc99d06",
"address": "0xc6DE9aa04eF369540A6A4Fa2864342732bC99d06",
"symbol": "ERC1155TST",
"decimals": 18
},
Expand Down Expand Up @@ -168,38 +168,38 @@
},
{
"type": "erc1155",
"address": "0x2d92a0aa3ea19da735514ea542438345ef09cb60"
"address": "0x2d92a0aa3Ea19DA735514Ea542438345EF09cB60"
},
{
"type": "permissionlessGeneric",
"address": "0x3CBbC542d10CD037cafb1632B29B5B0F59B08A48"
},
{
"type": "permissionlessGeneric",
"address": "0x65903772866e538e6ffc001dd0c7665e356eb6d8"
"address": "0x65903772866E538E6fFc001dD0C7665E356eB6d8"
}
],
"nativeTokenSymbol": "eth",
"nativeTokenFullName": "ether",
"nativeTokenDecimals": 18,
"blockConfirmations": 5,
"startBlock": 12876313,
"feeRouter": "0x8b8F51bB26Eb521ac33dD6DcAA97f5d052977746",
"feeRouter": "0xA7f6f510E7d36bC52a19e8e812933F022Be9d86b",
"feeHandlers": [
{
"address": "0x8eDab7563C618a3F1e5021677640565468C706d8",
"address": "0xB43c86671d10a05bf074220D5B343DA18840A5d0",
"type": "basic"
},
{
"address": "0x26545905a3a63B9ffB37926e909a827bDd088512",
"address": "0x81219B8c30f1eDb53684038EC43934b71Bb326CC",
"type": "percentage"
}
],
"resources": [
{
"resourceId": "0x0000000000000000000000000000000000000000000000000000000000000200",
"type": "nonfungible",
"address": "0x18a8e0748fa207483d23aeac3d0508a25dda3db1",
"address": "0x18A8E0748FA207483D23aeAc3D0508a25dDA3dB1",
"symbol": "ERC721TST",
"decimals": 0
},
Expand All @@ -213,7 +213,7 @@
{
"resourceId": "0x0000000000000000000000000000000000000000000000000000000000000400",
"type": "erc1155",
"address": "0x0d3ce33038a3e9bf940eca6f5eadf355d47d36b3",
"address": "0x0d3Ce33038a3E9bF940eCA6f5EADF355d47D36B3",
"symbol": "ERC1155TST",
"decimals": 18
},
Expand Down Expand Up @@ -250,7 +250,7 @@
},
{
"type": "permissionlessGeneric",
"address": "0x3c1a4d85826919ce0d170aaa93987c79d2b4374d"
"address": "0x3C1A4d85826919CE0d170AaA93987C79D2B4374d"
}
],
"nativeTokenSymbol": "eth",
Expand Down Expand Up @@ -303,7 +303,7 @@
},
{
"type": "permissionlessGeneric",
"address": "0x9d45e9be1e70735ee78052717107d5dc59c1eace"
"address": "0x9D45e9bE1E70735Ee78052717107d5dc59C1EaCE"
}
],
"nativeTokenSymbol": "eth",
Expand Down Expand Up @@ -363,7 +363,7 @@
},
{
"type": "permissionlessGeneric",
"address": "0xcb9eb2b2abbd51945a82f77e789c26720b3835bf"
"address": "0xcB9EB2B2ABBD51945A82f77e789C26720B3835bF"
}
],
"nativeTokenSymbol": "eth",
Expand Down Expand Up @@ -416,7 +416,7 @@
},
{
"type": "permissionlessGeneric",
"address": "0xf2d8a89bd008180222c2be154c9948421c9184db"
"address": "0xF2d8A89bd008180222c2be154C9948421C9184dB"
}
],
"nativeTokenSymbol": "XDAI",
Expand Down Expand Up @@ -502,6 +502,13 @@
"address": "",
"symbol": "eth",
"decimals": 18
},
{
"resourceId": "0x0000000000000000000000000000000000000000000000000000000000001100",
"type": "fungible",
"address": "0xb947F89269F0cF54CC721BcDE298a46930f3418b",
"symbol": "sygUSD",
"decimals": 18
}
]
}
Expand Down
106 changes: 106 additions & 0 deletions testnet/shared-config-x.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"domains": [
{
"id": 1,
"chainId": 17000,
"name": "holesky",
"type": "evm",
"bridge": "0x3DA376947B760836905a0407588C606D1020C4f3",
"router": "0x6Bac21Aa7627009C79cd4784D94e9c280E36ED79",
"executor": "0x8Fa58B46F887aB519bB4d7967E718eCe7a92716d",
"handlers": [
{
"type": "erc20",
"address": "0x96e0cBCb653448a6AE76C2f4041eC6D73127585a"
},
{
"type": "permissionlessGeneric",
"address": "0x347BfeA6B3E929d91caE8e0AfB5DE97d3574AB45"
}
],
"nativeTokenSymbol": "ETH",
"nativeTokenFullName": "eth",
"nativeTokenDecimals": 18,
"blockConfirmations": 5,
"startBlock": 1213349,
"feeRouter": "0x48512523Bb2634467292dd7776313916425F4c8a",
"feeHandlers": [
{
"address": "0x51b9DcAcB395B00857C815aDb89D20175cBb4A58",
"type": "basic"
},
{
"address": "0x8fc170823A8dc9eD6Ce81128f0FED3E0089D52f1",
"type": "percentage"
}
],
"resources": [
{
"resourceId": "0x0000000000000000000000000000000000000000000000000000000000000500",
"type": "permissionlessGeneric",
"address": "",
"symbol": "",
"decimals": 18
},
{
"resourceId": "0x0000000000000000000000000000000000000000000000000000000000000300",
"type": "fungible",
"address": "0xa85F87ff5F5d28eB775C23e35771A984c4bb3D41",
"symbol": "ERC20TST",
"decimals": 18
}
]
},
{
"id": 2,
"chainId": 11155111,
"name": "sepolia",
"type": "evm",
"bridge": "0x60e3fd2148f3D6934521a00a0Cf318cB1194e072",
"router": "0x57a3aC22bb0779A91B334027982cbC58a71aaD32",
"executor": "0x108E42c97a57A7FFC3fbB80A8A14129a94cD29C7",
"handlers": [
{
"type": "erc20",
"address": "0x65Ce12864941F56D3665bb0d97D803E81a1d09a0"
},
{
"type": "permissionlessGeneric",
"address": "0x57d66F8A5A57942b25368C837005141e8A586155"
}
],
"nativeTokenSymbol": "eth",
"nativeTokenFullName": "ether",
"nativeTokenDecimals": 18,
"blockConfirmations": 5,
"startBlock": 5557824,
"feeRouter": "0xC2C26789671ec5e1542308Ee38faE4A640bCc03e",
"feeHandlers": [
{
"address": "0xEA3a9Bcc6de765aC6E01e327D22DB53b8d3DFa0C",
"type": "basic"
},
{
"address": "0xA048Ddc2C953052835e7847d8c3C4b19183AE1C0",
"type": "percentage"
}
],
"resources": [
{
"resourceId": "0x0000000000000000000000000000000000000000000000000000000000000500",
"type": "permissionlessGeneric",
"address": "",
"symbol": "",
"decimals": 18
},
{
"resourceId": "0x0000000000000000000000000000000000000000000000000000000000000300",
"type": "fungible",
"address": "0x7d58589b6C1Ba455c4060a3563b9a0d447Bef9af",
"symbol": "ERC20TST",
"decimals": 18
}
]
}
]
}

0 comments on commit 8f2d75c

Please sign in to comment.