[eth] Add WEMIX network (#940)
* [eth] Add WEMIX network * Fix pre-commit * Remove unnecessary change * Fix prettier --------- Co-authored-by: Guillermo Bescos <g.bescos@yahoo.com>
This commit is contained in:
parent
78917f6d65
commit
aa0e6fdf22
|
@ -38,6 +38,7 @@ export const RECEIVER_CHAINS = {
|
||||||
juno: 60020,
|
juno: 60020,
|
||||||
juno_testnet: 60021,
|
juno_testnet: 60021,
|
||||||
kava: 60022,
|
kava: 60022,
|
||||||
|
wemix: 60023,
|
||||||
};
|
};
|
||||||
|
|
||||||
// If there is any overlapping value the receiver chain will replace the wormhole
|
// If there is any overlapping value the receiver chain will replace the wormhole
|
||||||
|
|
|
@ -55928,7 +55928,7 @@
|
||||||
},
|
},
|
||||||
"price_pusher": {
|
"price_pusher": {
|
||||||
"name": "@pythnetwork/price-pusher",
|
"name": "@pythnetwork/price-pusher",
|
||||||
"version": "5.4.1",
|
"version": "5.4.3",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@injectivelabs/sdk-ts": "1.10.72",
|
"@injectivelabs/sdk-ts": "1.10.72",
|
||||||
|
@ -59019,7 +59019,7 @@
|
||||||
},
|
},
|
||||||
"target_chains/ethereum/sdk/js": {
|
"target_chains/ethereum/sdk/js": {
|
||||||
"name": "@pythnetwork/pyth-evm-js",
|
"name": "@pythnetwork/pyth-evm-js",
|
||||||
"version": "1.19.0",
|
"version": "1.20.0",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pythnetwork/price-service-client": "*",
|
"@pythnetwork/price-service-client": "*",
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
MIGRATIONS_DIR=./migrations/prod-receiver
|
||||||
|
MIGRATIONS_NETWORK=wemix
|
||||||
|
WORMHOLE_CHAIN_NAME=wemix
|
||||||
|
CLUSTER=mainnet
|
||||||
|
VALID_TIME_PERIOD_SECONDS=60
|
|
@ -0,0 +1,5 @@
|
||||||
|
MIGRATIONS_DIR=./migrations/prod-receiver
|
||||||
|
MIGRATIONS_NETWORK=wemix_testnet
|
||||||
|
WORMHOLE_CHAIN_NAME=wemix
|
||||||
|
CLUSTER=testnet
|
||||||
|
VALID_TIME_PERIOD_SECONDS=60
|
|
@ -0,0 +1,16 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"contractName": "Migrations",
|
||||||
|
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"contractName": "WormholeReceiver",
|
||||||
|
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
|
||||||
|
"transactionHash": "0xb3168a99749474402d4a6763f207736fcdd7fa8b7326e6a1ae0a74b84773be57"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"contractName": "PythUpgradable",
|
||||||
|
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||||
|
"transactionHash": "0xe5d3f6b77e5a7694929a3a2017f65b2607d5e003d1fea6d58f27cf32fa1f462f"
|
||||||
|
}
|
||||||
|
]
|
|
@ -0,0 +1,16 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"contractName": "Migrations",
|
||||||
|
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"contractName": "WormholeReceiver",
|
||||||
|
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
|
||||||
|
"transactionHash": "0x8afe07593eded6e9a061dd8ec59458dcf36033307afc21f68cd016be46de2d20"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"contractName": "PythUpgradable",
|
||||||
|
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||||
|
"transactionHash": "0x92fa026e0c85f030369e61a32f26d69e80f3e5d4f6a6befb27a3cfb5df804065"
|
||||||
|
}
|
||||||
|
]
|
|
@ -280,6 +280,18 @@ module.exports = {
|
||||||
provider: payerProvider("https://evm.testnet.kava.io"),
|
provider: payerProvider("https://evm.testnet.kava.io"),
|
||||||
network_id: 2221,
|
network_id: 2221,
|
||||||
},
|
},
|
||||||
|
wemix: {
|
||||||
|
provider: payerProvider("https://api.wemix.com"),
|
||||||
|
network_id: 1111,
|
||||||
|
gas: 10000000,
|
||||||
|
gasPrice: 200000000000,
|
||||||
|
},
|
||||||
|
wemix_testnet: {
|
||||||
|
provider: payerProvider("https://api.test.wemix.com"),
|
||||||
|
network_id: 1112,
|
||||||
|
gas: 10000000,
|
||||||
|
gasPrice: 200000000000,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
compilers: {
|
compilers: {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@pythnetwork/pyth-evm-js",
|
"name": "@pythnetwork/pyth-evm-js",
|
||||||
"version": "1.19.0",
|
"version": "1.20.0",
|
||||||
"description": "Pyth Network EVM Utils in JS",
|
"description": "Pyth Network EVM Utils in JS",
|
||||||
"homepage": "https://pyth.network",
|
"homepage": "https://pyth.network",
|
||||||
"author": {
|
"author": {
|
||||||
|
|
|
@ -52,4 +52,6 @@ export const CONTRACT_ADDR: Record<string, string> = {
|
||||||
conflux_espace_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
conflux_espace_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||||
kava_testnet: "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",
|
kava_testnet: "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",
|
||||||
kava: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
kava: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||||
|
wemix: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||||
|
wemix_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue