Skip to content

Commit 2bd1418

Browse files
committed
ExternalContracts: Update ABI for the BatchRegistry contract
1 parent 54e0d15 commit 2bd1418

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

packages/nextjs/contracts/externalContracts.ts

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,20 @@ const externalContracts = {
2323
name: "initialOwner",
2424
type: "address",
2525
},
26+
{
27+
internalType: "uint16",
28+
name: "batchNumber",
29+
type: "uint16",
30+
},
2631
],
2732
stateMutability: "nonpayable",
2833
type: "constructor",
2934
},
35+
{
36+
inputs: [],
37+
name: "AlreadyGraduated",
38+
type: "error",
39+
},
3040
{
3141
inputs: [],
3242
name: "BatchNotOpen",
@@ -37,6 +47,11 @@ const externalContracts = {
3747
name: "NotAContract",
3848
type: "error",
3949
},
50+
{
51+
inputs: [],
52+
name: "NotCheckedIn",
53+
type: "error",
54+
},
4055
{
4156
inputs: [],
4257
name: "NotInAllowList",
@@ -86,6 +101,19 @@ const externalContracts = {
86101
name: "OwnershipTransferred",
87102
type: "event",
88103
},
104+
{
105+
inputs: [],
106+
name: "BATCH_NUMBER",
107+
outputs: [
108+
{
109+
internalType: "uint16",
110+
name: "",
111+
type: "uint16",
112+
},
113+
],
114+
stateMutability: "view",
115+
type: "function",
116+
},
89117
{
90118
inputs: [
91119
{
@@ -105,6 +133,19 @@ const externalContracts = {
105133
stateMutability: "view",
106134
type: "function",
107135
},
136+
{
137+
inputs: [],
138+
name: "batchGraduationNFT",
139+
outputs: [
140+
{
141+
internalType: "contract BatchGraduationNFT",
142+
name: "",
143+
type: "address",
144+
},
145+
],
146+
stateMutability: "view",
147+
type: "function",
148+
},
108149
{
109150
inputs: [],
110151
name: "checkIn",
@@ -125,6 +166,32 @@ const externalContracts = {
125166
stateMutability: "view",
126167
type: "function",
127168
},
169+
{
170+
inputs: [],
171+
name: "graduate",
172+
outputs: [],
173+
stateMutability: "nonpayable",
174+
type: "function",
175+
},
176+
{
177+
inputs: [
178+
{
179+
internalType: "address",
180+
name: "",
181+
type: "address",
182+
},
183+
],
184+
name: "graduatedTokenId",
185+
outputs: [
186+
{
187+
internalType: "uint256",
188+
name: "",
189+
type: "uint256",
190+
},
191+
],
192+
stateMutability: "view",
193+
type: "function",
194+
},
128195
{
129196
inputs: [],
130197
name: "isOpen",

0 commit comments

Comments
 (0)