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

chore: update devnet, testnet & mainnet migrations config files #190

Merged
merged 2 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
290 changes: 117 additions & 173 deletions migrations/devnet.json
Original file line number Diff line number Diff line change
@@ -1,94 +1,5 @@
{
"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": {
Expand Down Expand Up @@ -177,7 +88,7 @@
"feeType": "basic"
}
},
"moonbase": {
"sepolia": {
"domainID": "2",
"MPCAddress": "0xB01137123EF02fAeF251a39108c6ef513AAaC485",
"fee": {
Expand Down Expand Up @@ -266,93 +177,126 @@
"feeType": "basic"
}
},
"sepolia": {
"domainID": "3",
"canto_testnet": {
"domainID": "100",
"MPCAddress": "0xB01137123EF02fAeF251a39108c6ef513AAaC485",
"fee": {
"oracle": {
"gasUsed": "100000",
"feePercentage": 300,
"address": "0x124226016fc76a6bf501b4aedbed6a4a0472644f"
},
"basic": {
"fee": "0.0001"
}
"oracle": [
{
"gasUsed": "100000",
"feePercentage": 300,
"address": "0x124226016fc76a6bf501b4aedbed6a4a0472644f"
},
{
"gasUsed": "500000",
"feePercentage": 300,
"address": "0x124226016fc76a6bf501b4aedbed6a4a0472644f"
}
],
"basic": [
"0.0001",
"0.1"
]
}
},
"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"
},
"access": {
"accessControl": {}
{
"name": "ERC20Test",
"symbol": "ERC20TST",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000000",
"feeType": "oracle",
"strategy": "mb",
"decimals": "18"
},
"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"
{
"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"
}
},
"gnosis_chain": {
"domainID": "101",
"MPCAddress": "0xB01137123EF02fAeF251a39108c6ef513AAaC485",
"fee": {
"oracle": {
"gasUsed": "100000",
"feePercentage": 300,
"address": "0x124226016fc76a6bf501b4aedbed6a4a0472644f"
},
"basic": {
"fee": "0.0001"
}
},
"access": {
"accessControl": {}
},
"erc721": [],
"erc20": [],
"permissionedGeneric": [],
"permissionlessGeneric": {
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000500",
"feeType": "basic"
}
}
}
48 changes: 48 additions & 0 deletions migrations/mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"mainnet": {
"domainID": "1",
"MPCAddress": "",
"fee": {
"oracle": {},
"basic": {
"fee": "0.0001"
}
},
"access": {
"feeRouterAdmin": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53",
"feeHandlerAdmin": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53",
"accessControl": {
"0x80ae1c28": "0x695bd50CB07ffBd4098b272CE8b52B3c256ca049",
"0xffaac0eb": "0x695bd50CB07ffBd4098b272CE8b52B3c256ca049",
"0x9d33b6d4": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53",
"0x8b63aebf": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53",
"0x8c0c2631": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53",
"0xedc20c3c": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53",
"0xd15ef64e": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53",
"0x8a3234c7": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53",
"0xbd2a1820": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53",
"0xd2e5fae9": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53",
"0xd8236744": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53",
"0x366b4885": "0x695bd50CB07ffBd4098b272CE8b52B3c256ca049",
"0x6ba6db6b": "0xde79695d5cefF7c324552B3ecbe6165f77FCdF53"
}
},
"erc721": [],
"erc20": [
{
"name": "Phala",
"symbol": "PHA",
"address": "0x6c5bA91642F10282b576d91922Ae6448C9d52f4E",
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000001",
"feeType": "basic",
"strategy": "lr",
"decimals": "18"
}
],
"permissionedGeneric": [],
"permissionlessGeneric": {
"resourceID": "0x0000000000000000000000000000000000000000000000000000000000000000",
"feeType": ""
}
}
}
Loading