Skip to content

Commit

Permalink
Merge pull request #224 from graphprotocol/byron/update-everest-contr…
Browse files Browse the repository at this point in the history
…acts-references
  • Loading branch information
baiirun authored Oct 14, 2021
2 parents 31a362b + 28da124 commit 545c2ef
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
]
},
"scripts": {
"build:contracts": "lerna exec --scope everest-contracts -- yarn build",
"build:contracts": "lerna exec --scope @graphprotocol/everest-contracts -- yarn build",
"build:mutations": "lerna exec --scope everest-mutations -- yarn build",
"build:subgraph-ropsten": "lerna exec --scope everest-subgraph -- yarn build-ropsten",
"build:subgraph-mainnet": "lerna exec --scope everest-subgraph -- yarn build-mainnet",
Expand Down
2 changes: 1 addition & 1 deletion subgraph/mutations/src/contract-helpers/daiPermit.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ethers } from 'ethers'

const addresses = require('everest-contracts/addresses.json')
const addresses = require('@graphprotocol/everest-contracts/addresses.json')

//////////////////////////
//////// DAI utils ///////
Expand Down
21 changes: 11 additions & 10 deletions subgraph/mutations/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,19 @@ const sendTransaction = async (tx: Promise<Transaction>) => {
}

const abis = {
Context: require('everest-contracts/abis/Context.json').abi,
Dai: require('everest-contracts/abis/Dai.json').abi,
EthereumDIDRegistry: require('everest-contracts/abis/EthereumDIDRegistry.json').abi,
LibNote: require('everest-contracts/abis/LibNote.json').abi,
Ownable: require('everest-contracts/abis/Ownable.json').abi,
Registry: require('everest-contracts/abis/Registry.json').abi,
ReserveBank: require('everest-contracts/abis/ReserveBank.json').abi,
SafeMath: require('everest-contracts/abis/SafeMath.json').abi,
Everest: require('everest-contracts/abis/Everest.json').abi,
Context: require('@graphprotocol/everest-contracts/abis/Context.json').abi,
Dai: require('@graphprotocol/everest-contracts/abis/Dai.json').abi,
EthereumDIDRegistry: require('@graphprotocol/everest-contracts/abis/EthereumDIDRegistry.json')
.abi,
LibNote: require('@graphprotocol/everest-contracts/abis/LibNote.json').abi,
Ownable: require('@graphprotocol/everest-contracts/abis/Ownable.json').abi,
Registry: require('@graphprotocol/everest-contracts/abis/Registry.json').abi,
ReserveBank: require('@graphprotocol/everest-contracts/abis/ReserveBank.json').abi,
SafeMath: require('@graphprotocol/everest-contracts/abis/SafeMath.json').abi,
Everest: require('@graphprotocol/everest-contracts/abis/Everest.json').abi,
}

const addresses = require('everest-contracts/addresses.json')
const addresses = require('@graphprotocol/everest-contracts/addresses.json')

const addressMap = {
Dai: 'dai',
Expand Down

0 comments on commit 545c2ef

Please sign in to comment.