Skip to content

Commit

Permalink
feat: add signatureOverride param
Browse files Browse the repository at this point in the history
  • Loading branch information
VGabriel45 committed Sep 23, 2024
1 parent 322dccf commit 56f5e0e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/sdk/clients/decorators/erc7579/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ import {

export type Erc7579Actions<TSmartAccount extends SmartAccount | undefined> = {
accountId: (args?: GetSmartAccountParameter<TSmartAccount>) => Promise<string>
installModule: (args: InstallModuleParameters<TSmartAccount>) => Promise<Hash>
installModule: (args: InstallModuleParameters<TSmartAccount> & { signatureOverride?: Hex }) => Promise<Hash>
installModules: (
args: InstallModulesParameters<TSmartAccount>
args: InstallModulesParameters<TSmartAccount> & {
signatureOverride?: Hex
}
) => Promise<Hash>
isModuleInstalled: (
args: IsModuleInstalledParameters<TSmartAccount>
Expand All @@ -70,7 +72,9 @@ export type Erc7579Actions<TSmartAccount extends SmartAccount | undefined> = {
}
) => Promise<Hash>
uninstallModules: (
args: UninstallModulesParameters<TSmartAccount>
args: UninstallModulesParameters<TSmartAccount> & {
signatureOverride?: Hex
}
) => Promise<Hash>
getInstalledValidators: (
args: GetInstalledValidatorsParameters<TSmartAccount>
Expand Down

0 comments on commit 56f5e0e

Please sign in to comment.