Skip to content

Commit

Permalink
adapt externalContracts to new toggleGraduationOpen
Browse files Browse the repository at this point in the history
  • Loading branch information
phipsae committed Oct 10, 2024
1 parent 14aff69 commit 2642339
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions packages/nextjs/contracts/externalContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ const externalContracts = {
name: "BatchNotOpen",
type: "error",
},
{
inputs: [],
name: "GraduationClosed",
type: "error",
},
{
inputs: [],
name: "NotAContract",
Expand All @@ -57,6 +62,28 @@ const externalContracts = {
name: "NotInAllowList",
type: "error",
},
{
inputs: [
{
internalType: "address",
name: "owner",
type: "address",
},
],
name: "OwnableInvalidOwner",
type: "error",
},
{
inputs: [
{
internalType: "address",
name: "account",
type: "address",
},
],
name: "OwnableUnauthorizedAccount",
type: "error",
},
{
anonymous: false,
inputs: [
Expand Down Expand Up @@ -192,6 +219,19 @@ const externalContracts = {
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "graduationOpen",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "isOpen",
Expand Down Expand Up @@ -232,6 +272,13 @@ const externalContracts = {
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "toggleGraduationOpenStatus",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
Expand Down

0 comments on commit 2642339

Please sign in to comment.