-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ethers): reexports structs and event from typechain (#528)
* feat(ethers): exports structs and event from typechain * chore(ethers): updates package version to be alpha * style: run prettier * fix: failing deployment tests * chore: maintained changelog * fix: type error * ci: adapt workflows * fix: remove struct now located in osx-commons-contracts * feat: add missing exports * feat: add ens contracts * chore: maintained changelog * build: use correct version number --------- Co-authored-by: Michael Heuer <[email protected]>
- Loading branch information
1 parent
929ab7a
commit 35c066e
Showing
14 changed files
with
151 additions
and
2 deletions.
There are no files selected for viewing
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
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,31 @@ | ||
export { | ||
GrantedEvent, | ||
RevokedEvent, | ||
ExecutedEvent, | ||
UpgradedEvent, | ||
DepositedEvent, | ||
InitializedEvent, | ||
MetadataSetEvent, | ||
AdminChangedEvent, | ||
BeaconUpgradedEvent, | ||
CallbackReceivedEvent, | ||
TrustedForwarderSetEvent, | ||
NativeTokenDepositedEvent, | ||
StandardCallbackRegisteredEvent, | ||
} from '../../types/core/dao/DAO'; | ||
|
||
export type EventName = | ||
| 'Granted' | ||
| 'Revoked' | ||
| 'Executed' | ||
| 'Upgraded' | ||
| 'Deposited' | ||
| 'Initialized' | ||
| 'MetadataSet' | ||
| 'AdminChanged' | ||
| 'BeaconUpgraded' | ||
| 'CallbackReceived' | ||
| 'TrustedForwarderSet' | ||
| 'NativeTokenDeposited' | ||
| 'SignatureValidatorSet' | ||
| 'StandardCallbackRegistered'; |
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,14 @@ | ||
export { | ||
UpgradedEvent, | ||
AdminChangedEvent, | ||
BeaconUpgradedEvent, | ||
DAORegisteredEvent, | ||
InitializedEvent, | ||
} from '../../types/framework/dao/DAORegistry'; | ||
|
||
export type EventName = | ||
| 'Upgraded' | ||
| 'AdminChanged' | ||
| 'BeaconUpgraded' | ||
| 'DAORegistered' | ||
| 'Initialized'; |
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,20 @@ | ||
export { | ||
GrantedEvent, | ||
RevokedEvent, | ||
UpgradedEvent, | ||
InitializedEvent, | ||
AdminChangedEvent, | ||
BeaconUpgradedEvent, | ||
VersionCreatedEvent, | ||
ReleaseMetadataUpdatedEvent, | ||
} from '../../types/framework/plugin/repo/PluginRepo'; | ||
|
||
export type EventName = | ||
| 'Granted' | ||
| 'Revoked' | ||
| 'Upgraded' | ||
| 'Initialized' | ||
| 'AdminChanged' | ||
| 'BeaconUpgraded' | ||
| 'VersionCreated' | ||
| 'ReleaseMetadataUpdated'; |
14 changes: 14 additions & 0 deletions
14
packages/contracts-ethers/npm/events/PluginRepoRegistry.ts
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,14 @@ | ||
export { | ||
UpgradedEvent, | ||
InitializedEvent, | ||
AdminChangedEvent, | ||
BeaconUpgradedEvent, | ||
PluginRepoRegisteredEvent, | ||
} from '../../types/framework/plugin/repo/PluginRepoRegistry'; | ||
|
||
export type EventName = | ||
| 'Upgraded' | ||
| 'Initialized' | ||
| 'AdminChanged' | ||
| 'BeaconUpgraded' | ||
| 'PluginRepoRegistered'; |
16 changes: 16 additions & 0 deletions
16
packages/contracts-ethers/npm/events/PluginSetupProcessor.ts
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,16 @@ | ||
export { | ||
UpdateAppliedEvent, | ||
UpdatePreparedEvent, | ||
InstallationAppliedEvent, | ||
InstallationPreparedEvent, | ||
UninstallationAppliedEvent, | ||
UninstallationPreparedEvent, | ||
} from '../../types/framework/plugin/setup/PluginSetupProcessor'; | ||
|
||
export type EventName = | ||
| 'UpdateApplied' | ||
| 'UpdatePrepared' | ||
| 'InstallationApplied' | ||
| 'InstallationPrepared' | ||
| 'UninstallationApplied' | ||
| 'UninstallationPrepared'; |
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,5 @@ | ||
export * as DAOEvents from './DAO'; | ||
export * as DAORegistryEvents from './DAORegistry'; | ||
export * as PluginRepoEvents from './PluginRepo'; | ||
export * as PluginRepoRegistryEvents from './PluginRepoRegistry'; | ||
export * as PluginSetupProcessorEvents from './PluginSetupProcessor'; |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
export * from '../types/'; | ||
export * from './events/'; | ||
export * from './structs'; |
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 @@ | ||
import {IDAO, PermissionLib} from '../../types/core/dao/DAO'; | ||
|
||
export type ActionStruct = IDAO.ActionStruct; | ||
export type MultiTargetPermissionStruct = | ||
PermissionLib.MultiTargetPermissionStruct; | ||
export type SingleTargetPermissionStruct = | ||
PermissionLib.SingleTargetPermissionStruct; |
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,4 @@ | ||
import {DAOFactory} from '../../types/framework/dao/DAOFactory'; | ||
|
||
export type DAOSettingsStruct = DAOFactory.DAOSettingsStruct; | ||
export type PluginSettingsStruct = DAOFactory.PluginSettingsStruct; |
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,4 @@ | ||
import {PluginRepo} from '../../types/framework/plugin/repo/PluginRepo'; | ||
|
||
export type TagStruct = PluginRepo.TagStruct; | ||
export type VersionStruct = PluginRepo.VersionStruct; |
26 changes: 26 additions & 0 deletions
26
packages/contracts-ethers/npm/structs/PluginSetupProcessor.ts
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,26 @@ | ||
import { | ||
PluginSetupProcessor, | ||
PluginSetupRefStruct as PluginSetupRefStruct_, | ||
PluginSetupRefStructOutput as PluginSetupRefStructOutput_, | ||
} from '../../types/framework/plugin/setup/PluginSetupProcessor'; | ||
|
||
export type ApplyInstallationParamsStruct = | ||
PluginSetupProcessor.ApplyInstallationParamsStruct; | ||
|
||
export type ApplyUninstallationParamsStruct = | ||
PluginSetupProcessor.ApplyUninstallationParamsStruct; | ||
|
||
export type ApplyUpdateParamsStruct = | ||
PluginSetupProcessor.ApplyUpdateParamsStruct; | ||
|
||
export type PrepareInstallationParamsStruct = | ||
PluginSetupProcessor.PrepareInstallationParamsStruct; | ||
export type PrepareUninstallationParamsStruct = | ||
PluginSetupProcessor.PrepareUninstallationParamsStruct; | ||
|
||
export type PrepareUpdateParamsStructOutput = | ||
PluginSetupProcessor.PrepareUpdateParamsStructOutput; | ||
|
||
export type PluginSetupRefStruct = PluginSetupRefStruct_; | ||
|
||
export type PluginSetupRefStructOutput = PluginSetupRefStructOutput_; |
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,4 @@ | ||
export * as DAOStructs from './DAO'; | ||
export * as DAOFactoryStructs from './DAOFactory'; | ||
export * as PluginRepoStructs from './PluginRepo'; | ||
export * as PluginSetupProcessorStructs from './PluginSetupProcessor'; |
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