Skip to content

Commit cdca26d

Browse files
author
Rahul Sethuram
authored
Merge pull request #579 from connext/movr-deployment
Deployment
2 parents 5618843 + 3b2b3b9 commit cdca26d

File tree

4 files changed

+1022
-0
lines changed

4 files changed

+1022
-0
lines changed

packages/contracts/deploy/deploy.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ WRAPPED_ETH_MAP.set("250", "0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83"); // fan
1919
WRAPPED_ETH_MAP.set("42161", "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"); // arbitrum WETH
2020
WRAPPED_ETH_MAP.set("43114", "0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7"); // avalanche WAVAX
2121
WRAPPED_ETH_MAP.set("100", "0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d"); // xdai wxDAI
22+
WRAPPED_ETH_MAP.set("1285", "0x98878B06940aE243284CA214f92Bb71a2b032B8A"); // moonriver wMOVR
2223

2324
/**
2425
* Hardhat task defining the contract deployments for nxtp

packages/contracts/deployments.json

Lines changed: 374 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27310,6 +27310,380 @@
2731027310
"name": "moonriver",
2731127311
"chainId": "1285",
2731227312
"contracts": {
27313+
"ConnextPriceOracle": {
27314+
"address": "0x3E0fDc863607D0a3d50EBc90a1385F8caE29b9B2",
27315+
"abi": [
27316+
{
27317+
"inputs": [
27318+
{
27319+
"internalType": "address",
27320+
"name": "_wrapped",
27321+
"type": "address"
27322+
}
27323+
],
27324+
"stateMutability": "nonpayable",
27325+
"type": "constructor"
27326+
},
27327+
{
27328+
"anonymous": false,
27329+
"inputs": [
27330+
{
27331+
"indexed": false,
27332+
"internalType": "address",
27333+
"name": "tokenAddress",
27334+
"type": "address"
27335+
},
27336+
{
27337+
"indexed": false,
27338+
"internalType": "address",
27339+
"name": "source",
27340+
"type": "address"
27341+
}
27342+
],
27343+
"name": "AggregatorUpdated",
27344+
"type": "event"
27345+
},
27346+
{
27347+
"anonymous": false,
27348+
"inputs": [
27349+
{
27350+
"indexed": false,
27351+
"internalType": "address",
27352+
"name": "token",
27353+
"type": "address"
27354+
},
27355+
{
27356+
"indexed": false,
27357+
"internalType": "uint256",
27358+
"name": "oldPrice",
27359+
"type": "uint256"
27360+
},
27361+
{
27362+
"indexed": false,
27363+
"internalType": "uint256",
27364+
"name": "newPrice",
27365+
"type": "uint256"
27366+
}
27367+
],
27368+
"name": "DirectPriceUpdated",
27369+
"type": "event"
27370+
},
27371+
{
27372+
"anonymous": false,
27373+
"inputs": [
27374+
{
27375+
"indexed": false,
27376+
"internalType": "address",
27377+
"name": "oldAdmin",
27378+
"type": "address"
27379+
},
27380+
{
27381+
"indexed": false,
27382+
"internalType": "address",
27383+
"name": "newAdmin",
27384+
"type": "address"
27385+
}
27386+
],
27387+
"name": "NewAdmin",
27388+
"type": "event"
27389+
},
27390+
{
27391+
"anonymous": false,
27392+
"inputs": [
27393+
{
27394+
"indexed": false,
27395+
"internalType": "address",
27396+
"name": "token",
27397+
"type": "address"
27398+
},
27399+
{
27400+
"indexed": false,
27401+
"internalType": "address",
27402+
"name": "baseToken",
27403+
"type": "address"
27404+
},
27405+
{
27406+
"indexed": false,
27407+
"internalType": "address",
27408+
"name": "lpToken",
27409+
"type": "address"
27410+
},
27411+
{
27412+
"indexed": false,
27413+
"internalType": "bool",
27414+
"name": "_active",
27415+
"type": "bool"
27416+
}
27417+
],
27418+
"name": "PriceRecordUpdated",
27419+
"type": "event"
27420+
},
27421+
{
27422+
"inputs": [],
27423+
"name": "admin",
27424+
"outputs": [
27425+
{
27426+
"internalType": "address",
27427+
"name": "",
27428+
"type": "address"
27429+
}
27430+
],
27431+
"stateMutability": "view",
27432+
"type": "function"
27433+
},
27434+
{
27435+
"inputs": [
27436+
{
27437+
"internalType": "address",
27438+
"name": "",
27439+
"type": "address"
27440+
}
27441+
],
27442+
"name": "aggregators",
27443+
"outputs": [
27444+
{
27445+
"internalType": "contract AggregatorV3Interface",
27446+
"name": "",
27447+
"type": "address"
27448+
}
27449+
],
27450+
"stateMutability": "view",
27451+
"type": "function"
27452+
},
27453+
{
27454+
"inputs": [
27455+
{
27456+
"internalType": "address",
27457+
"name": "",
27458+
"type": "address"
27459+
}
27460+
],
27461+
"name": "assetPrices",
27462+
"outputs": [
27463+
{
27464+
"internalType": "uint256",
27465+
"name": "",
27466+
"type": "uint256"
27467+
}
27468+
],
27469+
"stateMutability": "view",
27470+
"type": "function"
27471+
},
27472+
{
27473+
"inputs": [
27474+
{
27475+
"internalType": "address",
27476+
"name": "_tokenAddress",
27477+
"type": "address"
27478+
}
27479+
],
27480+
"name": "getPriceFromChainlink",
27481+
"outputs": [
27482+
{
27483+
"internalType": "uint256",
27484+
"name": "",
27485+
"type": "uint256"
27486+
}
27487+
],
27488+
"stateMutability": "view",
27489+
"type": "function"
27490+
},
27491+
{
27492+
"inputs": [
27493+
{
27494+
"internalType": "address",
27495+
"name": "_tokenAddress",
27496+
"type": "address"
27497+
}
27498+
],
27499+
"name": "getPriceFromDex",
27500+
"outputs": [
27501+
{
27502+
"internalType": "uint256",
27503+
"name": "",
27504+
"type": "uint256"
27505+
}
27506+
],
27507+
"stateMutability": "view",
27508+
"type": "function"
27509+
},
27510+
{
27511+
"inputs": [
27512+
{
27513+
"internalType": "address",
27514+
"name": "_tokenAddress",
27515+
"type": "address"
27516+
}
27517+
],
27518+
"name": "getPriceFromOracle",
27519+
"outputs": [
27520+
{
27521+
"internalType": "uint256",
27522+
"name": "",
27523+
"type": "uint256"
27524+
}
27525+
],
27526+
"stateMutability": "view",
27527+
"type": "function"
27528+
},
27529+
{
27530+
"inputs": [
27531+
{
27532+
"internalType": "address",
27533+
"name": "_tokenAddress",
27534+
"type": "address"
27535+
}
27536+
],
27537+
"name": "getTokenPrice",
27538+
"outputs": [
27539+
{
27540+
"internalType": "uint256",
27541+
"name": "",
27542+
"type": "uint256"
27543+
}
27544+
],
27545+
"stateMutability": "view",
27546+
"type": "function"
27547+
},
27548+
{
27549+
"inputs": [],
27550+
"name": "isPriceOracle",
27551+
"outputs": [
27552+
{
27553+
"internalType": "bool",
27554+
"name": "",
27555+
"type": "bool"
27556+
}
27557+
],
27558+
"stateMutability": "view",
27559+
"type": "function"
27560+
},
27561+
{
27562+
"inputs": [
27563+
{
27564+
"internalType": "address",
27565+
"name": "",
27566+
"type": "address"
27567+
}
27568+
],
27569+
"name": "priceRecords",
27570+
"outputs": [
27571+
{
27572+
"internalType": "address",
27573+
"name": "token",
27574+
"type": "address"
27575+
},
27576+
{
27577+
"internalType": "address",
27578+
"name": "baseToken",
27579+
"type": "address"
27580+
},
27581+
{
27582+
"internalType": "address",
27583+
"name": "lpToken",
27584+
"type": "address"
27585+
},
27586+
{
27587+
"internalType": "bool",
27588+
"name": "active",
27589+
"type": "bool"
27590+
}
27591+
],
27592+
"stateMutability": "view",
27593+
"type": "function"
27594+
},
27595+
{
27596+
"inputs": [
27597+
{
27598+
"internalType": "address",
27599+
"name": "newAdmin",
27600+
"type": "address"
27601+
}
27602+
],
27603+
"name": "setAdmin",
27604+
"outputs": [],
27605+
"stateMutability": "nonpayable",
27606+
"type": "function"
27607+
},
27608+
{
27609+
"inputs": [
27610+
{
27611+
"internalType": "address[]",
27612+
"name": "tokenAddresses",
27613+
"type": "address[]"
27614+
},
27615+
{
27616+
"internalType": "address[]",
27617+
"name": "sources",
27618+
"type": "address[]"
27619+
}
27620+
],
27621+
"name": "setAggregators",
27622+
"outputs": [],
27623+
"stateMutability": "nonpayable",
27624+
"type": "function"
27625+
},
27626+
{
27627+
"inputs": [
27628+
{
27629+
"internalType": "address",
27630+
"name": "_token",
27631+
"type": "address"
27632+
},
27633+
{
27634+
"internalType": "address",
27635+
"name": "_baseToken",
27636+
"type": "address"
27637+
},
27638+
{
27639+
"internalType": "address",
27640+
"name": "_lpToken",
27641+
"type": "address"
27642+
},
27643+
{
27644+
"internalType": "bool",
27645+
"name": "_active",
27646+
"type": "bool"
27647+
}
27648+
],
27649+
"name": "setDexPriceInfo",
27650+
"outputs": [],
27651+
"stateMutability": "nonpayable",
27652+
"type": "function"
27653+
},
27654+
{
27655+
"inputs": [
27656+
{
27657+
"internalType": "address",
27658+
"name": "_token",
27659+
"type": "address"
27660+
},
27661+
{
27662+
"internalType": "uint256",
27663+
"name": "_price",
27664+
"type": "uint256"
27665+
}
27666+
],
27667+
"name": "setDirectPrice",
27668+
"outputs": [],
27669+
"stateMutability": "nonpayable",
27670+
"type": "function"
27671+
},
27672+
{
27673+
"inputs": [],
27674+
"name": "wrapped",
27675+
"outputs": [
27676+
{
27677+
"internalType": "address",
27678+
"name": "",
27679+
"type": "address"
27680+
}
27681+
],
27682+
"stateMutability": "view",
27683+
"type": "function"
27684+
}
27685+
]
27686+
},
2731327687
"Multicall": {
2731427688
"address": "0x665D6802d22B7FE74cF8328eB384F575c8Be2302",
2731527689
"abi": [

0 commit comments

Comments
 (0)