diff --git a/packages/nextjs/contracts/externalContracts.ts b/packages/nextjs/contracts/externalContracts.ts index 000c9a7..cca85c3 100644 --- a/packages/nextjs/contracts/externalContracts.ts +++ b/packages/nextjs/contracts/externalContracts.ts @@ -23,10 +23,20 @@ const externalContracts = { name: "initialOwner", type: "address", }, + { + internalType: "uint16", + name: "batchNumber", + type: "uint16", + }, ], stateMutability: "nonpayable", type: "constructor", }, + { + inputs: [], + name: "AlreadyGraduated", + type: "error", + }, { inputs: [], name: "BatchNotOpen", @@ -37,6 +47,11 @@ const externalContracts = { name: "NotAContract", type: "error", }, + { + inputs: [], + name: "NotCheckedIn", + type: "error", + }, { inputs: [], name: "NotInAllowList", @@ -86,6 +101,19 @@ const externalContracts = { name: "OwnershipTransferred", type: "event", }, + { + inputs: [], + name: "BATCH_NUMBER", + outputs: [ + { + internalType: "uint16", + name: "", + type: "uint16", + }, + ], + stateMutability: "view", + type: "function", + }, { inputs: [ { @@ -105,6 +133,19 @@ const externalContracts = { stateMutability: "view", type: "function", }, + { + inputs: [], + name: "batchGraduationNFT", + outputs: [ + { + internalType: "contract BatchGraduationNFT", + name: "", + type: "address", + }, + ], + stateMutability: "view", + type: "function", + }, { inputs: [], name: "checkIn", @@ -125,6 +166,32 @@ const externalContracts = { stateMutability: "view", type: "function", }, + { + inputs: [], + name: "graduate", + outputs: [], + stateMutability: "nonpayable", + type: "function", + }, + { + inputs: [ + { + internalType: "address", + name: "", + type: "address", + }, + ], + name: "graduatedTokenId", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256", + }, + ], + stateMutability: "view", + type: "function", + }, { inputs: [], name: "isOpen",