forked from oncyberio/factory
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New contract + goerli deployments (oncyberio#35)
* 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
1 parent
01d3663
commit 1038d20
Showing
51 changed files
with
42,296 additions
and
1,771 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
...ages/contracts/contracts/Diamantaires/OnCyberAndFriends/OnCyberAndFriendsFactoryFacet.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] |
Oops, something went wrong.