diff --git a/packages/deploy/src/models/deployment.ts b/packages/deploy/src/models/deployment.ts index a03569ff..20b97f85 100644 --- a/packages/deploy/src/models/deployment.ts +++ b/packages/deploy/src/models/deployment.ts @@ -18,6 +18,13 @@ export type SourceCodeLicense = | 'GNU AGPLv3' | 'BSL 1.1'; +export type TxOverrides = { + gasLimit?: number; + gasPrice?: string; + maxFeePerGas?: string; + maxPriorityFeePerGas?: string; +}; + export interface DeployContractRequest { contractName: string; contractPath: string; @@ -33,6 +40,11 @@ export interface DeployContractRequest { relayerId?: string; approvalProcessId?: string; createFactoryAddress?: string; + /** + * Only applies to Relayers approval processes, for other default approval processes it has no effect + * @default undefined + */ + txOverrides?: TxOverrides; } export interface DeployRequestLibraries { [k: string]: string;