Skip to content

Commit

Permalink
⬆️ Update deployed contract address
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Aug 26, 2024
1 parent eb1cf8c commit 3991f7e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 5 deletions.
35 changes: 33 additions & 2 deletions packages/ponder/abis/frak-campaign-abis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ export const interactionCampaignAbi = [
outputs: [{ name: "", internalType: "bool", type: "bool" }],
stateMutability: "view",
},
{
type: "function",
inputs: [],
name: "isRunning",
outputs: [{ name: "", internalType: "bool", type: "bool" }],
stateMutability: "view",
},
{
type: "function",
inputs: [],
Expand Down Expand Up @@ -193,6 +200,13 @@ export const interactionCampaignAbi = [
outputs: [{ name: "roles", internalType: "uint256", type: "uint256" }],
stateMutability: "view",
},
{
type: "function",
inputs: [{ name: "_isRunning", internalType: "bool", type: "bool" }],
name: "setRunningStatus",
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
inputs: [
Expand Down Expand Up @@ -282,6 +296,7 @@ export const interactionCampaignAbi = [
{ type: "error", inputs: [], name: "AlreadyInitialized" },
{ type: "error", inputs: [], name: "NewOwnerIsZeroAddress" },
{ type: "error", inputs: [], name: "NoHandoverRequest" },
{ type: "error", inputs: [], name: "Reentrancy" },
{ type: "error", inputs: [], name: "Unauthorized" },
] as const;

Expand Down Expand Up @@ -325,6 +340,7 @@ export const referralCampaignAbi = [
type: "uint48",
},
{ name: "endDate", internalType: "uint48", type: "uint48" },
{ name: "name", internalType: "bytes32", type: "bytes32" },
],
},
{
Expand Down Expand Up @@ -420,6 +436,7 @@ export const referralCampaignAbi = [
type: "uint48",
},
{ name: "endDate", internalType: "uint48", type: "uint48" },
{ name: "name", internalType: "bytes32", type: "bytes32" },
],
},
],
Expand Down Expand Up @@ -493,6 +510,13 @@ export const referralCampaignAbi = [
outputs: [{ name: "", internalType: "bool", type: "bool" }],
stateMutability: "view",
},
{
type: "function",
inputs: [],
name: "isRunning",
outputs: [{ name: "", internalType: "bool", type: "bool" }],
stateMutability: "view",
},
{
type: "function",
inputs: [],
Expand Down Expand Up @@ -557,13 +581,20 @@ export const referralCampaignAbi = [
{
type: "function",
inputs: [
{ name: "startDate", internalType: "uint48", type: "uint48" },
{ name: "endDate", internalType: "uint48", type: "uint48" },
{ name: "_startDate", internalType: "uint48", type: "uint48" },
{ name: "_endDate", internalType: "uint48", type: "uint48" },
],
name: "setActivationDate",
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
inputs: [{ name: "_isRunning", internalType: "bool", type: "bool" }],
name: "setRunningStatus",
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
inputs: [
Expand Down
6 changes: 3 additions & 3 deletions packages/ponder/ponder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default createConfig({
// The interaction manager
ContentInteractionManager: {
abi: contentInteractionManagerAbi,
address: "0xFE0717cACd6Fff3001EdD3f360Eb2854F54861DD",
address: "0xB3fc8bD4e71a15a674ed6BAb63e884720FC4A3B4",
network: {
arbitrumSepolia: {
startBlock: 64121923,
Expand All @@ -75,7 +75,7 @@ export default createConfig({
referralFeatureFacetAbi,
]),
factory: {
address: "0xFE0717cACd6Fff3001EdD3f360Eb2854F54861DD",
address: "0xB3fc8bD4e71a15a674ed6BAb63e884720FC4A3B4",
event: parseAbiItem(
"event InteractionContractDeployed(uint256 indexed contentId, address interactionContract)"
),
Expand All @@ -91,7 +91,7 @@ export default createConfig({
Campaigns: {
abi: mergeAbis([interactionCampaignAbi, referralCampaignAbi]),
factory: {
address: "0x440B19d7694f4B8949b02e674870880c5e40250C",
address: "0xB178c17AC5ad0455b1a10b05d25Fe4847567Ef1D",
event: parseAbiItem("event CampaignCreated(address campaign)"),
parameter: "campaign",
},
Expand Down

0 comments on commit 3991f7e

Please sign in to comment.