Skip to content

Commit

Permalink
chore: add devnet and testnet configs for migrations (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmlinaric authored Apr 24, 2023
1 parent 6e99f0f commit acb58b1
Show file tree
Hide file tree
Showing 2 changed files with 735 additions and 0 deletions.
358 changes: 358 additions & 0 deletions migrations/devnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,358 @@
{
"goerli": {
"domainID": "0",
"MPCAddress": "0xB01137123EF02fAeF251a39108c6ef513AAaC485",
"fee": {
"oracle": {
"gasUsed": "100000",
"feePercentage": 300,
"address": "0x124226016fc76a6bf501b4aedbed6a4a0472644f"
},
"basic": {
"fee": "0.0001"
}
},
"access": {
"accessControl": {}
},
"erc721": [
{
"name": "ERC721Test",
"symbol": "ERC721TST",
"uri": "metadata.test",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000200",
"feeType": "basic"
}
],
"erc20": [
{
"name": "ERC20LRTest",
"symbol": "ERC20LRTST",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000300",
"feeType": "basic",
"strategy": "lr",
"decimals": "18"
},
{
"name": "ERC20Test",
"symbol": "ERC20TST",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000000",
"feeType": "oracle",
"strategy": "mb",
"decimals": "18"
},
{
"name": "ERC20LRTest_14Dec",
"symbol": "ERC20LRTST_14D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000600",
"feeType": "basic",
"strategy": "lr",
"decimals": 14
},
{
"name": "ERC20Test_14Dec",
"symbol": "ERC20TST_14D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000700",
"feeType": "oracle",
"strategy": "mb",
"decimals": 14
},
{
"name": "ERC20LRTest_20Dec",
"symbol": "ERC20LRTST_20D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000800",
"feeType": "basic",
"strategy": "lr",
"decimals": 20
},
{
"name": "ERC20Test_20Dec",
"symbol": "ERC20TST_20D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000900",
"feeType": "oracle",
"strategy": "mb",
"decimals": 20
}
],
"permissionedGeneric": [
{
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000100",
"feeType": "basic",
"depositFunctionSig": "0x00000000",
"depositorOffset": 0,
"executeFunctionSig": "store"
}
],
"permissionlessGeneric": {
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000500",
"feeType": "basic"
}
},
"mumbai": {
"domainID": "1",
"MPCAddress": "0xB01137123EF02fAeF251a39108c6ef513AAaC485",
"fee": {
"oracle": {
"gasUsed": "100000",
"feePercentage": 300,
"address": "0x124226016fc76a6bf501b4aedbed6a4a0472644f"
},
"basic": {
"fee": "0.0001"
}
},
"access": {
"accessControl": {}
},
"erc721": [
{
"name": "ERC721Test",
"symbol": "ERC721TST",
"uri": "metadata.test",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000200",
"feeType": "basic"
}
],
"erc20": [
{
"name": "ERC20LRTest",
"symbol": "ERC20LRTST",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000300",
"feeType": "basic",
"strategy": "lr",
"decimals": "18"
},
{
"name": "ERC20Test",
"symbol": "ERC20TST",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000000",
"feeType": "oracle",
"strategy": "mb",
"decimals": "18"
},
{
"name": "ERC20LRTest_14Dec",
"symbol": "ERC20LRTST_14D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000600",
"feeType": "basic",
"strategy": "lr",
"decimals": 14
},
{
"name": "ERC20Test_14Dec",
"symbol": "ERC20TST_14D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000700",
"feeType": "oracle",
"strategy": "mb",
"decimals": 14
},
{
"name": "ERC20LRTest_20Dec",
"symbol": "ERC20LRTST_20D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000800",
"feeType": "basic",
"strategy": "lr",
"decimals": 20
},
{
"name": "ERC20Test_20Dec",
"symbol": "ERC20TST_20D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000900",
"feeType": "oracle",
"strategy": "mb",
"decimals": 20
}
],
"permissionedGeneric": [
{
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000100",
"feeType": "basic",
"depositFunctionSig": "0x00000000",
"depositorOffset": 0,
"executeFunctionSig": "store"
}
],
"permissionlessGeneric": {
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000500",
"feeType": "basic"
}
},
"moonbase": {
"domainID": "2",
"MPCAddress": "0xB01137123EF02fAeF251a39108c6ef513AAaC485",
"fee": {
"oracle": {
"gasUsed": "100000",
"feePercentage": 300,
"address": "0x124226016fc76a6bf501b4aedbed6a4a0472644f"
},
"basic": {
"fee": "0.0001"
}
},
"access": {
"accessControl": {}
},
"erc721": [
{
"name": "ERC721Test",
"symbol": "ERC721TST",
"uri": "metadata.test",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000200",
"feeType": "basic"
}
],
"erc20": [
{
"name": "ERC20LRTest",
"symbol": "ERC20LRTST",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000300",
"feeType": "basic",
"strategy": "lr",
"decimals": "18"
},
{
"name": "ERC20Test",
"symbol": "ERC20TST",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000000",
"feeType": "oracle",
"strategy": "mb",
"decimals": "18"
},
{
"name": "ERC20LRTest_14Dec",
"symbol": "ERC20LRTST_14D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000600",
"feeType": "basic",
"strategy": "lr",
"decimals": 14
},
{
"name": "ERC20Test_14Dec",
"symbol": "ERC20TST_14D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000700",
"feeType": "oracle",
"strategy": "mb",
"decimals": 14
},
{
"name": "ERC20LRTest_20Dec",
"symbol": "ERC20LRTST_20D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000800",
"feeType": "basic",
"strategy": "lr",
"decimals": 20
},
{
"name": "ERC20Test_20Dec",
"symbol": "ERC20TST_20D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000900",
"feeType": "oracle",
"strategy": "mb",
"decimals": 20
}
],
"permissionedGeneric": [
{
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000100",
"feeType": "basic",
"depositFunctionSig": "0x00000000",
"depositorOffset": 0,
"executeFunctionSig": "store"
}
],
"permissionlessGeneric": {
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000500",
"feeType": "basic"
}
},
"sepolia": {
"domainID": "3",
"MPCAddress": "0xB01137123EF02fAeF251a39108c6ef513AAaC485",
"fee": {
"oracle": {
"gasUsed": "100000",
"feePercentage": 300,
"address": "0x124226016fc76a6bf501b4aedbed6a4a0472644f"
},
"basic": {
"fee": "0.0001"
}
},
"access": {
"accessControl": {}
},
"erc721": [
{
"name": "ERC721Test",
"symbol": "ERC721TST",
"uri": "metadata.test",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000200",
"feeType": "basic"
}
],
"erc20": [
{
"name": "ERC20LRTest",
"symbol": "ERC20LRTST",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000300",
"feeType": "basic",
"strategy": "lr",
"decimals": "18"
},
{
"name": "ERC20Test",
"symbol": "ERC20TST",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000000",
"feeType": "oracle",
"strategy": "mb",
"decimals": "18"
},
{
"name": "ERC20LRTest_14Dec",
"symbol": "ERC20LRTST_14D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000600",
"feeType": "basic",
"strategy": "lr",
"decimals": 14
},
{
"name": "ERC20Test_14Dec",
"symbol": "ERC20TST_14D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000700",
"feeType": "oracle",
"strategy": "mb",
"decimals": 14
},
{
"name": "ERC20LRTest_20Dec",
"symbol": "ERC20LRTST_20D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000800",
"feeType": "basic",
"strategy": "lr",
"decimals": 20
},
{
"name": "ERC20Test_20Dec",
"symbol": "ERC20TST_20D",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000900",
"feeType": "oracle",
"strategy": "mb",
"decimals": 20
}
],
"permissionedGeneric": [
{
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000100",
"feeType": "basic",
"depositFunctionSig": "0x00000000",
"depositorOffset": 0,
"executeFunctionSig": "store"
}
],
"permissionlessGeneric": {
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000500",
"feeType": "basic"
}
}
}
Loading

0 comments on commit acb58b1

Please sign in to comment.