Skip to content

Commit

Permalink
modify subgraph and abi for new contract
Browse files Browse the repository at this point in the history
  • Loading branch information
yu23ki14 committed Jan 27, 2025
1 parent cc8bff6 commit 8b48398
Show file tree
Hide file tree
Showing 13 changed files with 865 additions and 21 deletions.
147 changes: 147 additions & 0 deletions pkgs/frontend/abi/bigbang.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,36 @@
export const BIGBANG_ABI = [
{
inputs: [
{
internalType: "address",
name: "target",
type: "address",
},
],
name: "AddressEmptyCode",
type: "error",
},
{
inputs: [
{
internalType: "address",
name: "implementation",
type: "address",
},
],
name: "ERC1967InvalidImplementation",
type: "error",
},
{
inputs: [],
name: "ERC1967NonPayable",
type: "error",
},
{
inputs: [],
name: "FailedCall",
type: "error",
},
{
inputs: [],
name: "InvalidInitialization",
Expand Down Expand Up @@ -31,6 +63,22 @@ export const BIGBANG_ABI = [
name: "OwnableUnauthorizedAccount",
type: "error",
},
{
inputs: [],
name: "UUPSUnauthorizedCallContext",
type: "error",
},
{
inputs: [
{
internalType: "bytes32",
name: "slot",
type: "bytes32",
},
],
name: "UUPSUnsupportedProxiableUUID",
type: "error",
},
{
anonymous: false,
inputs: [
Expand Down Expand Up @@ -64,6 +112,12 @@ export const BIGBANG_ABI = [
name: "hatsTimeFrameModule",
type: "address",
},
{
indexed: false,
internalType: "address",
name: "hatsHatCreatorModule",
type: "address",
},
{
indexed: false,
internalType: "address",
Expand Down Expand Up @@ -106,6 +160,19 @@ export const BIGBANG_ABI = [
name: "OwnershipTransferred",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "implementation",
type: "address",
},
],
name: "Upgraded",
type: "event",
},
{
inputs: [],
name: "FractionToken",
Expand All @@ -132,6 +199,19 @@ export const BIGBANG_ABI = [
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "HatsHatCreatorModule_IMPL",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "HatsModuleFactory",
Expand Down Expand Up @@ -184,6 +264,19 @@ export const BIGBANG_ABI = [
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "UPGRADE_INTERFACE_VERSION",
outputs: [
{
internalType: "string",
name: "",
type: "string",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
Expand Down Expand Up @@ -225,6 +318,11 @@ export const BIGBANG_ABI = [
},
{
inputs: [
{
internalType: "address",
name: "_initialOwner",
type: "address",
},
{
internalType: "address",
name: "_hatsAddress",
Expand All @@ -240,6 +338,11 @@ export const BIGBANG_ABI = [
name: "_hatsTimeFrameModule_IMPL",
type: "address",
},
{
internalType: "address",
name: "_hatsHatCreatorModule_IMPL",
type: "address",
},
{
internalType: "address",
name: "_splitsCreatorFactory",
Expand Down Expand Up @@ -274,6 +377,19 @@ export const BIGBANG_ABI = [
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "proxiableUUID",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "renounceOwnership",
Expand Down Expand Up @@ -307,6 +423,19 @@ export const BIGBANG_ABI = [
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_hatsHatCreatorModuleImpl",
type: "address",
},
],
name: "setHatsHatCreatorModuleImpl",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
Expand Down Expand Up @@ -372,4 +501,22 @@ export const BIGBANG_ABI = [
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "newImplementation",
type: "address",
},
{
internalType: "bytes",
name: "data",
type: "bytes",
},
],
name: "upgradeToAndCall",
outputs: [],
stateMutability: "payable",
type: "function",
},
] as const;
Loading

0 comments on commit 8b48398

Please sign in to comment.