Skip to content

Commit

Permalink
refactor: swap key-value in old previous interface IDs objects for LS…
Browse files Browse the repository at this point in the history
…P7/8
  • Loading branch information
CJ42 committed Apr 5, 2024
1 parent 1799237 commit e9ebd8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion packages/lsp7-contracts/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
export const INTERFACE_ID_LSP7 = '0xc52d6008';

export const INTERFACE_ID_LSP7_PREVIOUS = { '0xb3c4928f': 'v0.14.0', '0xdaa746b7': 'v0.12.0' };
export const INTERFACE_ID_LSP7_PREVIOUS = {
'v0.14.0': '0xb3c4928f',
'v0.12.0': '0xdaa746b7',
};

export const LSP7_TYPE_IDS = {
// keccak256('LSP7Tokens_SenderNotification')
Expand Down
4 changes: 2 additions & 2 deletions packages/lsp8-contracts/constants.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const INTERFACE_ID_LSP8 = '0x3a271706';

export const INTERFACE_ID_LSP8_PREVIOUS = {
'0xecad9f75': 'v0.13.0',
'0x30dc5278': 'v0.12.0',
'v0.14.0': '0xecad9f75',
'v0.12.0': '0x30dc5278',
};

export const LSP8DataKeys = {
Expand Down

0 comments on commit e9ebd8f

Please sign in to comment.