Skip to content

Commit

Permalink
deploy(contracts): fixes missing artifacts in osx-artifacts package (#…
Browse files Browse the repository at this point in the history
…521)

* deploy(contracts): fixes missing artifacts in osx-artifacts package

* style(contracts): applies proper prettier styling
  • Loading branch information
mathewmeconry authored Jan 11, 2024
1 parent 1dd8963 commit e0716fa
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 66 deletions.
65 changes: 0 additions & 65 deletions packages/contracts/npm/artifacts.ts

This file was deleted.

66 changes: 65 additions & 1 deletion packages/contracts/npm/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,68 @@
import activeContracts from '../../../active_contracts.json';
// JSON artifacts of the contracts
// core
//// dao
import * as DAO from '../artifacts/src/core/dao/DAO.sol/DAO.json';
import * as PermissionLib from '../artifacts/src/core/permission/PermissionLib.sol/PermissionLib.json';
//// Permission
import * as PermissionManager from '../artifacts/src/core/permission/PermissionManager.sol/PermissionManager.json';
// framework
//// dao
import * as DAOFactory from '../artifacts/src/framework/dao/DAOFactory.sol/DAOFactory.json';
import * as DAORegistry from '../artifacts/src/framework/dao/DAORegistry.sol/DAORegistry.json';
//// Plugin
///// Repo
import * as PluginRepo from '../artifacts/src/framework/plugin/repo/PluginRepo.sol/PluginRepo.json';
import * as PluginRepoFactory from '../artifacts/src/framework/plugin/repo/PluginRepoFactory.sol/PluginRepoFactory.json';
import * as PluginRepoRegistry from '../artifacts/src/framework/plugin/repo/PluginRepoRegistry.sol/PluginRepoRegistry.json';
///// Setup
import * as PluginSetupProcessor from '../artifacts/src/framework/plugin/setup/PluginSetupProcessor.sol/PluginSetupProcessor.json';
// Plugins
//// Governance
////// Admin
import * as Admin from '../artifacts/src/plugins/governance/admin/Admin.sol/Admin.json';
import * as AdminSetup from '../artifacts/src/plugins/governance/admin/AdminSetup.sol/AdminSetup.json';
////// MajorityVoting
//////// AddresslistVoting
import * as AddresslistVoting from '../artifacts/src/plugins/governance/majority-voting/addresslist/AddresslistVoting.sol/AddresslistVoting.json';
import * as AddresslistVotingSetup from '../artifacts/src/plugins/governance/majority-voting/addresslist/AddresslistVotingSetup.sol/AddresslistVotingSetup.json';
//////// TokenVoting
import * as TokenVoting from '../artifacts/src/plugins/governance/majority-voting/token/TokenVoting.sol/TokenVoting.json';
import * as TokenVotingSetup from '../artifacts/src/plugins/governance/majority-voting/token/TokenVotingSetup.sol/TokenVotingSetup.json';
////// Multisig
import * as Multisig from '../artifacts/src/plugins/governance/multisig/Multisig.sol/Multisig.json';
import * as MultisigSetup from '../artifacts/src/plugins/governance/multisig/MultisigSetup.sol/MultisigSetup.json';
// Token
//// ERC20
////// Governance
import * as GovernanceERC20 from '../artifacts/src/token/ERC20/governance/GovernanceERC20.sol/GovernanceERC20.json';
import * as GovernanceWrappedERC20 from '../artifacts/src/token/ERC20/governance/GovernanceWrappedERC20.sol/GovernanceWrappedERC20.json';

export * from './artifacts';
export const activeContractsList = activeContracts;

export default {
DAO,
PermissionManager,
PermissionLib,

DAOFactory,
DAORegistry,

PluginRepo,
PluginRepoFactory,
PluginRepoRegistry,

PluginSetupProcessor,

Admin,
AdminSetup,
AddresslistVoting,
AddresslistVotingSetup,
TokenVoting,
TokenVotingSetup,
Multisig,
MultisigSetup,

GovernanceERC20,
GovernanceWrappedERC20,
};
1 change: 1 addition & 0 deletions packages/contracts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"./typechain",
"./deploy",
"./utils",
"./artifacts",
"types/hardhat.d.ts"
]
}

0 comments on commit e0716fa

Please sign in to comment.