Skip to content

Commit

Permalink
Fix: Add extension name enum to Deployment type
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lima committed May 2, 2024
1 parent 8aacbbe commit 29989c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions constants/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,7 @@ export enum CONTRACT_UPGRADABLE_NAME {
RewardItemsUpgradable = 'RewardItemsUpgradable',
Marketplace = 'Marketplace',
}

export enum CONTRACT_EXTENSION_NAME {
DirectListingExtension = 'DirectListingExtension'
}
4 changes: 3 additions & 1 deletion types/deployment-type.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import {
CONTRACT_EXTENSION_NAME,
CONTRACT_NAME,
CONTRACT_PROXY_CONTRACT_NAME,
CONTRACT_PROXY_FILE_NAME,
CONTRACT_TYPE,
Expand Down Expand Up @@ -44,7 +46,7 @@ export interface Deployment {
abi: any;
address: string;
functions: ExtensionFunction[];
name: string;
name: CONTRACT_EXTENSION_NAME;
}[];
}

Expand Down

0 comments on commit 29989c0

Please sign in to comment.