Skip to content

Commit

Permalink
update interfaceids
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshka committed Dec 21, 2023
1 parent 36b4bac commit d2da103
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
9 changes: 9 additions & 0 deletions script/solidity/GetInterfaceId.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import "forge-std/console.sol";
import { ISoundEditionV1 } from "@core/interfaces/ISoundEditionV1.sol";
import { ISoundEditionV1_2 } from "@core/interfaces/ISoundEditionV1_2.sol";
import { ISoundEditionV2 } from "@core/interfaces/ISoundEditionV2.sol";
import { ISoundEditionV2_1 } from "@core/interfaces/ISoundEditionV2_1.sol";

import { IMinterModule } from "@core/interfaces/IMinterModule.sol";
import { IFixedPriceSignatureMinter } from "@modules/interfaces/IFixedPriceSignatureMinter.sol";
import { IMerkleDropMinter } from "@modules/interfaces/IMerkleDropMinter.sol";
Expand All @@ -19,6 +21,7 @@ import { IEditionMaxMinterV2 } from "@modules/interfaces/IEditionMaxMinterV2.sol
import { IRangeEditionMinterV2 } from "@modules/interfaces/IRangeEditionMinterV2.sol";

import { ISuperMinter } from "@modules/interfaces/ISuperMinter.sol";
import { ISuperMinterV2 } from "@modules/interfaces/ISuperMinterV2.sol";

contract GetInterfaceId is Script {
function run() external view {
Expand Down Expand Up @@ -67,9 +70,15 @@ contract GetInterfaceId is Script {
console.log('", "ISoundEditionV2": "');
console.logBytes4(type(ISoundEditionV2).interfaceId);

console.log('", "ISoundEditionV2_1": "');
console.logBytes4(type(ISoundEditionV2_1).interfaceId);

console.log('", "ISuperMinter": "');
console.logBytes4(type(ISuperMinter).interfaceId);

console.log('", "ISuperMinterV2": "');
console.logBytes4(type(ISuperMinterV2).interfaceId);

console.log('"}');
}
}
2 changes: 2 additions & 0 deletions src/interfaceIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ export const interfaceIds = {
IEditionMaxMinterV2: "0x6ee3f258",
IRangeEditionMinterV2: "0x84435ae5",
ISoundEditionV2: "0x7888cfe1",
ISoundEditionV2_1: "0x7888cfe1",
ISuperMinter: "0x1459ad68",
ISuperMinterV2: "0x75dd7850",
} as const;
17 changes: 1 addition & 16 deletions src/json/interfaceIds.json
Original file line number Diff line number Diff line change
@@ -1,16 +1 @@
{
"ISoundEditionV1": "0x50899e54",
"ISoundEditionV1_2": "0xa176eca6",
"IMinterModule": "0x37c74bd8",
"IFixedPriceSignatureMinter": "0xa61bd96f",
"IMerkleDropMinter": "0x89691c4c",
"IEditionMaxMinter": "0xa7ea8688",
"IRangeEditionMinter": "0x4d4a2e35",
"IMinterModuleV2": "0xf8ccd08e",
"IFixedPriceSignatureMinterV2": "0x0f713f15",
"IMerkleDropMinterV2": "0x5e9a2e5f",
"IEditionMaxMinterV2": "0x6ee3f258",
"IRangeEditionMinterV2": "0x84435ae5",
"ISoundEditionV2": "0x7888cfe1",
"ISuperMinter": "0x1459ad68"
}
{"ISoundEditionV1":"0x50899e54","ISoundEditionV1_2":"0xa176eca6","IMinterModule":"0x37c74bd8","IFixedPriceSignatureMinter":"0xa61bd96f","IMerkleDropMinter":"0x89691c4c","IEditionMaxMinter":"0xa7ea8688","IRangeEditionMinter":"0x4d4a2e35","IMinterModuleV2":"0xf8ccd08e","IFixedPriceSignatureMinterV2":"0x0f713f15","IMerkleDropMinterV2":"0x5e9a2e5f","IEditionMaxMinterV2":"0x6ee3f258","IRangeEditionMinterV2":"0x84435ae5","ISoundEditionV2":"0x7888cfe1","ISoundEditionV2_1":"0x7888cfe1","ISuperMinter":"0x1459ad68","ISuperMinterV2":"0x75dd7850"}

0 comments on commit d2da103

Please sign in to comment.