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/241217 #454

Merged
merged 5 commits into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
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
84 changes: 57 additions & 27 deletions migrations/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
"WitnetRequestBytecodesDefault": "0x51376b77d9944bb9c5685b9d9289dd08D399B5e1",
"WitnetRequestFactoryDefault": "0xB06a2fEc3Dc38b6f8Ce6337317Fcd4aAB00FE773"
},
"kava:mainnet": {
"kaia:mainnet": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetPriceFeedsLib": "0x579b4aD5E67E5B491a33A033A02A70769D7AF837",
Expand All @@ -264,7 +264,7 @@
"WitnetOracleTrustableDefault": "0x2c2C1Cf21c113F1c2D2df35a1E88aa96fc0AE749",
"WitnetPriceFeedsDefault": "0xd26f5c402D274C1b7c443E2215221D70C0b8DeB0"
},
"kava:testnet": {
"kaia:testnet": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetOracleDataLib": "0x561A6c8F9C9D6e7EbAEcd4963A8f27Ae13568676",
Expand All @@ -274,7 +274,7 @@
"WitnetRequestBytecodesDefault": "0x51376b77d9944bb9c5685b9d9289dd08D399B5e1",
"WitnetRequestFactoryDefault": "0xB06a2fEc3Dc38b6f8Ce6337317Fcd4aAB00FE773"
},
"kcc:mainnet": {
"kava:mainnet": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetPriceFeedsLib": "0x579b4aD5E67E5B491a33A033A02A70769D7AF837",
Expand All @@ -284,7 +284,7 @@
"WitnetOracleTrustableDefault": "0x2c2C1Cf21c113F1c2D2df35a1E88aa96fc0AE749",
"WitnetPriceFeedsDefault": "0xd26f5c402D274C1b7c443E2215221D70C0b8DeB0"
},
"kcc:testnet": {
"kava:testnet": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetOracleDataLib": "0x561A6c8F9C9D6e7EbAEcd4963A8f27Ae13568676",
Expand All @@ -294,7 +294,7 @@
"WitnetRequestBytecodesDefault": "0x51376b77d9944bb9c5685b9d9289dd08D399B5e1",
"WitnetRequestFactoryDefault": "0xB06a2fEc3Dc38b6f8Ce6337317Fcd4aAB00FE773"
},
"kaia:mainnet": {
"kcc:mainnet": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetPriceFeedsLib": "0x579b4aD5E67E5B491a33A033A02A70769D7AF837",
Expand All @@ -304,7 +304,7 @@
"WitnetOracleTrustableDefault": "0x2c2C1Cf21c113F1c2D2df35a1E88aa96fc0AE749",
"WitnetPriceFeedsDefault": "0xd26f5c402D274C1b7c443E2215221D70C0b8DeB0"
},
"kaia:testnet": {
"kcc:testnet": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetOracleDataLib": "0x561A6c8F9C9D6e7EbAEcd4963A8f27Ae13568676",
Expand Down Expand Up @@ -334,16 +334,6 @@
"WitnetRequestBytecodesDefault": "0xD1960cdC1593Bb9CA75263266dAB75EE33163187",
"WitnetRequestFactoryDefault": "0x9ef37BF321828AD49F3D31Fd9Cd36921ee317190"
},
"metis:sepolia": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetOracleDataLib": "0x561A6c8F9C9D6e7EbAEcd4963A8f27Ae13568676",
"WitnetOracleTrustableDefault": "0x90A31c3f10391bd0f69a436473C96AAEe4DF0A5e",
"WitnetPriceFeedsLib": "0x579b4aD5E67E5B491a33A033A02A70769D7AF837",
"WitnetPriceFeedsDefault": "0x8280929b7F6adcE1CfA15b63cbEC1A7FD8cAEf11",
"WitnetRequestBytecodesDefault": "0x51376b77d9944bb9c5685b9d9289dd08D399B5e1",
"WitnetRequestFactoryDefault": "0xB06a2fEc3Dc38b6f8Ce6337317Fcd4aAB00FE773"
},
"meter:mainnet": {
"WitnetDeployer": "0x496aB880a611825c7c2322AD6d7ead0f84276327",
"WitnetProxy": "0xc0a47100832Bf857Bf1F0517F4bf84D79da60B23",
Expand All @@ -361,6 +351,26 @@
"WitnetPriceFeeds": "0x27EF7A3e155F96e68A9988EAdBF8bd3eFdba1438",
"WitnetRandomnessV2": "0x4d239f070e475E454148093781211c9eE34f476C"
},
"metis:mainnet": {
"WitnetErrorsLib": "0x3b7AD1402C243Ba59D45a0364B17A31e260A4301",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetPriceFeedsLib": "0x751F77190Ce6212899D5848334838D56CF7eEe91",
"WitnetOracleDataLib": "0xE89dc301AEe78917018039FEBE72f9FE5aB730D9",
"WitnetRequestBytecodesDefault": "0x0cD95BaBBc2947f3e2dD01867B99eF7c666Dd740",
"WitnetRequestFactoryDefault": "0xfdb4C63E434BF05b85b6d4b038b7F5f119a09193",
"WitnetOracleTrustableDefault": "0x04f33b86124D7024Aac8E6966C6e82A060F138eB",
"WitnetPriceFeedsDefault": "0x37DF79C4ABE7ebe50093d3Af7CF92A6BB9971f64"
},
"metis:sepolia": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetOracleDataLib": "0x561A6c8F9C9D6e7EbAEcd4963A8f27Ae13568676",
"WitnetOracleTrustableDefault": "0x90A31c3f10391bd0f69a436473C96AAEe4DF0A5e",
"WitnetPriceFeedsLib": "0x579b4aD5E67E5B491a33A033A02A70769D7AF837",
"WitnetPriceFeedsDefault": "0x8280929b7F6adcE1CfA15b63cbEC1A7FD8cAEf11",
"WitnetRequestBytecodesDefault": "0x51376b77d9944bb9c5685b9d9289dd08D399B5e1",
"WitnetRequestFactoryDefault": "0xB06a2fEc3Dc38b6f8Ce6337317Fcd4aAB00FE773"
},
"moonbeam:mainnet": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
Expand Down Expand Up @@ -473,17 +483,6 @@
"WitnetRequestBytecodesNoSha256": "0xd3a3C178F76D788B4054C3945281F94e7122a8fD",
"WitnetRequestFactoryDefault": "0xB06a2fEc3Dc38b6f8Ce6337317Fcd4aAB00FE773"
},
"ten:testnet": {
"WitnetProxy": "0xaC3E870BF8D13Dc39f76936b6AF8279eF5a9211F",
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetOracleDataLib": "0x561A6c8F9C9D6e7EbAEcd4963A8f27Ae13568676",
"WitnetOracleTrustableObscuro": "0x2330f492635c2E7476bB2A3162e69129F6FEaB56",
"WitnetPriceFeedsLib": "0x579b4aD5E67E5B491a33A033A02A70769D7AF837",
"WitnetPriceFeedsDefault": "0x8280929b7F6adcE1CfA15b63cbEC1A7FD8cAEf11",
"WitnetRequestBytecodesDefault": "0x51376b77d9944bb9c5685b9d9289dd08D399B5e1",
"WitnetRequestFactoryDefault": "0xB06a2fEc3Dc38b6f8Ce6337317Fcd4aAB00FE773"
},
"ultron:mainnet": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
Expand All @@ -504,6 +503,37 @@
"WitnetOracleTrustableDefault": "0x90A31c3f10391bd0f69a436473C96AAEe4DF0A5e",
"WitnetPriceFeedsDefault": "0x8280929b7F6adcE1CfA15b63cbEC1A7FD8cAEf11"
},
"unichain:sepolia": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetPriceFeedsLib": "0x579b4aD5E67E5B491a33A033A02A70769D7AF837",
"WitnetOracleDataLib": "0x561A6c8F9C9D6e7EbAEcd4963A8f27Ae13568676",
"WitnetRequestBytecodesDefault": "0xB773D760eA86eF3b28589fBC77D0479f4E78F892",
"WitnetRequestFactoryDefault": "0xfdb4C63E434BF05b85b6d4b038b7F5f119a09193",
"WitnetOracleTrustableDefault": "0x91c50feec865a05379CE2560C16e5045B0e1eb6A",
"WitnetPriceFeedsDefault": "0xb017B0A6074dF313A75b41B67f0339153ec82500"
},
"ten:testnet": {
"WitnetProxy": "0xaC3E870BF8D13Dc39f76936b6AF8279eF5a9211F",
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetOracleDataLib": "0x561A6c8F9C9D6e7EbAEcd4963A8f27Ae13568676",
"WitnetOracleTrustableObscuro": "0x2330f492635c2E7476bB2A3162e69129F6FEaB56",
"WitnetPriceFeedsLib": "0x579b4aD5E67E5B491a33A033A02A70769D7AF837",
"WitnetPriceFeedsDefault": "0x8280929b7F6adcE1CfA15b63cbEC1A7FD8cAEf11",
"WitnetRequestBytecodesDefault": "0x51376b77d9944bb9c5685b9d9289dd08D399B5e1",
"WitnetRequestFactoryDefault": "0xB06a2fEc3Dc38b6f8Ce6337317Fcd4aAB00FE773"
},
"worldchain:mainnet": {
"WitnetErrorsLib": "0xa57B9dd8420631248c3DFB535f4FC9f7E2f02B4B",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
"WitnetPriceFeedsLib": "0x579b4aD5E67E5B491a33A033A02A70769D7AF837",
"WitnetOracleDataLib": "0x561A6c8F9C9D6e7EbAEcd4963A8f27Ae13568676",
"WitnetRequestBytecodesDefault": "0xB773D760eA86eF3b28589fBC77D0479f4E78F892",
"WitnetRequestFactoryDefault": "0xfdb4C63E434BF05b85b6d4b038b7F5f119a09193",
"WitnetOracleTrustableDefault": "0x91c50feec865a05379CE2560C16e5045B0e1eb6A",
"WitnetPriceFeedsDefault": "0xb017B0A6074dF313A75b41B67f0339153ec82500"
},
"worldchain:sepolia": {
"WitnetErrorsLib": "0x3b7AD1402C243Ba59D45a0364B17A31e260A4301",
"WitnetEncodingLib": "0x268631E002eE8c23F4C124AfBb6fE5DBbaa6d58c",
Expand Down
18 changes: 18 additions & 0 deletions migrations/constructorArgs.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@
"WitnetPriceFeedsDefault": "0000000000000000000000001f28e4d955ecce989c00b3871446ab22b3fa9cc80000000000000000000000000000000000000000000000000000000000000001322e302e31342d64313036336562000000000000000000000000000000000000",
"WitnetRandomnessV2": "0000000000000000000000001f28e4d955ecce989c00b3871446ab22b3fa9cc8000000000000000000000000e169bf81ecf738d02fd8d3824dfe02153b334ef7"
},
"metis:mainnet": {
"WitnetRequestBytecodesDefault": "0000000000000000000000000000000000000000000000000000000000000001322e302e31382d64373638363530000000000000000000000000000000000000",
"WitnetRequestFactoryDefault": "00000000000000000000000077703ae126b971c9946d562f41dd47071da00777000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e31382d33313165343062000000000000000000000000000000000000",
"WitnetOracleTrustableDefault": "000000000000000000000000000db36997af1f02209a6f995883b9b699900000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e31382d33313165343062000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e3aa000000000000000000000000000000000000000000000000000000000000fef90000000000000000000000000000000000000000000000000000000000010faa0000000000000000000000000000000000000000000000000000000000004e20",
"WitnetPriceFeedsDefault": "00000000000000000000000077703ae126b971c9946d562f41dd47071da007770000000000000000000000000000000000000000000000000000000000000001322e302e31382d64373638363530000000000000000000000000000000000000"
},
"moonbeam:moonbase": {
"WitnetOracleTrustableDefault": "000000000000000000000000000db36997af1f02209a6f995883b9b699900000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e31352d64626234666331000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e3aa000000000000000000000000000000000000000000000000000000000000fef90000000000000000000000000000000000000000000000000000000000010faa0000000000000000000000000000000000000000000000000000000000004e20"
},
Expand Down Expand Up @@ -192,10 +198,22 @@
"WitnetOracleTrustableDefault": "000000000000000000000000000db36997af1f02209a6f995883b9b699900000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e31342d64313036336562000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e3aa000000000000000000000000000000000000000000000000000000000000fef90000000000000000000000000000000000000000000000000000000000010faa0000000000000000000000000000000000000000000000000000000000004e20",
"WitnetPriceFeedsDefault": "00000000000000000000000077703ae126b971c9946d562f41dd47071da007770000000000000000000000000000000000000000000000000000000000000001322e302e31342d64313036336562000000000000000000000000000000000000"
},
"unichain:sepolia": {
"WitnetRequestBytecodesDefault": "0000000000000000000000000000000000000000000000000000000000000001322e302e31382d33313165343062000000000000000000000000000000000000",
"WitnetRequestFactoryDefault": "00000000000000000000000077703ae126b971c9946d562f41dd47071da00777000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e31382d33313165343062000000000000000000000000000000000000",
"WitnetOracleTrustableDefault": "000000000000000000000000000db36997af1f02209a6f995883b9b699900000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e31382d33313165343062000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e3aa000000000000000000000000000000000000000000000000000000000000fef90000000000000000000000000000000000000000000000000000000000010faa0000000000000000000000000000000000000000000000000000000000004e20",
"WitnetPriceFeedsDefault": "00000000000000000000000077703ae126b971c9946d562f41dd47071da007770000000000000000000000000000000000000000000000000000000000000001322e302e31382d33313165343062000000000000000000000000000000000000"
},
"worldchain:sepolia": {
"WitnetRequestBytecodesDefault": "0000000000000000000000000000000000000000000000000000000000000001322e302e31362d65666633376561000000000000000000000000000000000000",
"WitnetRequestFactoryDefault": "00000000000000000000000077703ae126b971c9946d562f41dd47071da00777000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e31362d65666633376561000000000000000000000000000000000000",
"WitnetOracleTrustableOvm2": "000000000000000000000000000db36997af1f02209a6f995883b9b699900000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e31362d65666633376561000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e3aa000000000000000000000000000000000000000000000000000000000000fef90000000000000000000000000000000000000000000000000000000000010faa0000000000000000000000000000000000000000000000000000000000004e20",
"WitnetPriceFeedsDefault": "00000000000000000000000077703ae126b971c9946d562f41dd47071da007770000000000000000000000000000000000000000000000000000000000000001322e302e31362d65666633376561000000000000000000000000000000000000"
},
"worldchain:mainnet": {
"WitnetRequestBytecodesDefault": "0000000000000000000000000000000000000000000000000000000000000001322e302e31372d62303433616166000000000000000000000000000000000000",
"WitnetRequestFactoryDefault": "00000000000000000000000077703ae126b971c9946d562f41dd47071da00777000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e31372d62303433616166000000000000000000000000000000000000",
"WitnetOracleTrustableOvm2": "000000000000000000000000000db36997af1f02209a6f995883b9b699900000000000000000000000000000000b61fe075f545fd37767f403916582759000000000000000000000000000000000000000000000000000000000000000000001322e302e31372d62303433616166000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e3aa000000000000000000000000000000000000000000000000000000000000fef90000000000000000000000000000000000000000000000000000000000010faa0000000000000000000000000000000000000000000000000000000000004e20",
"WitnetPriceFeedsDefault": "00000000000000000000000077703ae126b971c9946d562f41dd47071da007770000000000000000000000000000000000000000000000000000000000000001322e302e31372d62303433616166000000000000000000000000000000000000"
}
}
28 changes: 28 additions & 0 deletions settings/networks.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,16 @@ module.exports = {
port: 9536,
network_id: 1088,
},
"metis:mainnet": {
port: 7536,
network_id: 1088,
verify: {
apiKey: "MY_API_KEY",
// apiUrl: "https://explorer.metisdevops.link/api",
apiUrl: "https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan",
explorerUrl: "https://explorer.metisdevops.link",
},
},
"metis:sepolia": {
port: 8536,
network_id: 59902,
Expand Down Expand Up @@ -469,6 +479,24 @@ module.exports = {
port: 9516,
network_id: 1231,
},
"unichain:sepolia": {
port: 8500,
network_id: 1301,
confirmations: 8,
verify: {
apiUrl: "https://api-sepolia.uniscan.xyz/api",
explorerUrl: "https://sepolia.uniscan.xyz/address",
},
},
"worldchain:mainnet": {
port: 9501,
network_id: 480,
verify: {
apiKey: "MY_API_KEY",
apiUrl: "https://worldchain-mainnet.explorer.alchemy.com/api",
explorerUrl: "https://worldchain-mainnet.explorer.alchemy.com/address",
},
},
"worldchain:sepolia": {
port: 8501,
network_id: 4801,
Expand Down
1 change: 1 addition & 0 deletions truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ module.exports = {
polygonscan: process.env.ETHERSCAN_POLYGON_API_KEY,
routescan: process.env.ETHERSCAN_ROUTESCAN_API_KEY,
scrollscan: process.env.ETHERSCAN_SCROLL_API_KEY,
uniscan: process.env.ETHERSCAN_UNISCAN_API_KEY,
},
}