Skip to content

Commit

Permalink
New contract + goerli deployments (oncyberio#35)
Browse files Browse the repository at this point in the history
* New rinkeby deployment after upgrade

* Link rinkeby

* Restore polygon and upgrade utility contract

* Add 4th contract OncyberAndFriends

* Move to goerli + New Contract deployed

* Remove newer contracts from deployments

* Fix config file

* prettier

* Eth deployments for OnCyberAndFriends

* re enable gasreporter

* take out tmp

* Take out pkg line

* latest lock

* Fix keys

* Latest deployments on rinkeby

* revert lock

Co-authored-by: julesGoullee <[email protected]>
  • Loading branch information
rayanoncyber and julesGoullee authored Aug 15, 2022
1 parent 01d3663 commit 1038d20
Show file tree
Hide file tree
Showing 51 changed files with 42,296 additions and 1,771 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

//import 'hardhat/console.sol';
import '../../CyberDropBase.sol';

contract OnCyberAndFriendsFactoryFacet is CyberDropBase {}
27 changes: 27 additions & 0 deletions packages/contracts/deploy/004OnCyberAndFriends.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { DeployFunction } from 'hardhat-deploy/types'
import { HardhatRuntimeEnvironment } from 'hardhat/types'

const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const { deployments, getNamedAccounts } = hre
const { diamond } = deployments

const namedAccounts = await getNamedAccounts()
await diamond.deploy('DiamondOnCyberAndFriendsFactory', {
from: namedAccounts.deployer,
owner: namedAccounts.deployer,
facets: ['OnCyberAndFriendsFactoryFacet'],
execute: {
methodName: 'initialize',
args: [
'ipfs://',
namedAccounts.managerAndFriends,
namedAccounts.biconomyForwarder,
namedAccounts.opensea,
namedAccounts.oncyber,
],
},
log: true,
})
}
export default func
func.tags = ['DiamondOnCyberAndFriendsFactory']
Loading

0 comments on commit 1038d20

Please sign in to comment.