Skip to content

Commit

Permalink
ExternalContracts: Update ABI for the BatchRegistry contract
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex committed Aug 2, 2024
1 parent 54e0d15 commit 2bd1418
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions packages/nextjs/contracts/externalContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -37,6 +47,11 @@ const externalContracts = {
name: "NotAContract",
type: "error",
},
{
inputs: [],
name: "NotCheckedIn",
type: "error",
},
{
inputs: [],
name: "NotInAllowList",
Expand Down Expand Up @@ -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: [
{
Expand All @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 2bd1418

Please sign in to comment.