Skip to content

Commit

Permalink
deployed to kovan
Browse files Browse the repository at this point in the history
  • Loading branch information
Aodhgan committed Mar 9, 2021
1 parent 52fd33d commit 77bfb0a
Show file tree
Hide file tree
Showing 6 changed files with 519 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/PrizeStrategyUpkeep.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ contract PrizeStrategyUpkeep is KeeperCompatibleInterface {
/// @notice Checks if PrizePools require upkeep. Call in a static manner every block by the Chainlink Upkeep network.
/// @param checkData Not used in this implementation.
/// @return upkeepNeeded as true if performUpkeep() needs to be called, false otherwise. performData returned empty.
function checkUpkeep(bytes calldata checkData) override external returns (bool upkeepNeeded, bytes memory performData){
function checkUpkeep(bytes calldata checkData) override external returns (bool upkeepNeeded, bytes memory performData){ // check view

address[] memory prizePools = PrizePoolRegistryInterface(prizePoolRegistry).getPrizePools();

Expand Down
4 changes: 2 additions & 2 deletions deploy/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ module.exports = async (hardhat) => {

console.log("running deploy script")

console.log("network id ", getChainId())

const { getNamedAccounts, deployments, ethers } = hardhat
const { deploy } = deployments
const namedAccounts = await getNamedAccounts()
const { deployer, MultiSig } = await getNamedAccounts()
const namedSigners = await ethers.getNamedSigners()
const deployerSigner = namedSigners.deployer

const batchSize = 10
const batchSize = 5


dim(`deploying PrizePoolRegistry contract from ${deployer}`)
Expand Down
1 change: 1 addition & 0 deletions deployments/kovan/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
42
277 changes: 277 additions & 0 deletions deployments/kovan/PrizePoolRegistry.json

Large diffs are not rendered by default.

Loading

0 comments on commit 77bfb0a

Please sign in to comment.