Skip to content

Commit

Permalink
👽️ Update campaign factory address
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Jul 2, 2024
1 parent 8730e30 commit d3f5a10
Show file tree
Hide file tree
Showing 5 changed files with 687 additions and 571 deletions.
46 changes: 44 additions & 2 deletions abis/frak-campaign-abis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const interactionCampaignAbi = [
inputs: [],
name: "getMetadata",
outputs: [
{ name: "name", internalType: "string", type: "string" },
{ name: "_type", internalType: "string", type: "string" },
{ name: "version", internalType: "string", type: "string" },
],
stateMutability: "pure",
Expand Down Expand Up @@ -383,12 +383,54 @@ export const referralCampaignAbi = [
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
inputs: [],
name: "getConfig",
outputs: [
{
name: "",
internalType: "struct ReferralCampaign.CampaignConfig",
type: "tuple",
components: [
{ name: "token", internalType: "address", type: "address" },
{
name: "initialReward",
internalType: "uint256",
type: "uint256",
},
{
name: "userRewardPercent",
internalType: "uint256",
type: "uint256",
},
{
name: "distributionCapPeriod",
internalType: "uint256",
type: "uint256",
},
{
name: "distributionCap",
internalType: "uint256",
type: "uint256",
},
{
name: "startDate",
internalType: "uint48",
type: "uint48",
},
{ name: "endDate", internalType: "uint48", type: "uint48" },
],
},
],
stateMutability: "view",
},
{
type: "function",
inputs: [],
name: "getMetadata",
outputs: [
{ name: "name", internalType: "string", type: "string" },
{ name: "_type", internalType: "string", type: "string" },
{ name: "version", internalType: "string", type: "string" },
],
stateMutability: "pure",
Expand Down
4 changes: 2 additions & 2 deletions abis/frak-interaction-abis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ export const contentInteractionDiamondAbi = [
type: "address",
},
{
name: "_interactionMananger",
name: "_interactionManager",
internalType: "address",
type: "address",
},
{
name: "_interactionManangerOwner",
name: "_interactionManagerOwner",
internalType: "address",
type: "address",
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"typecheck": "tsc"
},
"dependencies": {
"@ponder/core": "^0.4.36",
"@ponder/core": "^0.4.41",
"viem": "^1.19.9"
},
"devDependencies": {
"@biomejs/biome": "1.8.1",
"@biomejs/biome": "1.8.3",
"@types/aws-lambda": "8.10.138",
"@types/node": "^20.14.2",
"@types/node": "^20.14.9",
"aws-cdk-lib": "2.142.1",
"sst": "^2.42.0",
"typescript": "^5.3.2"
Expand Down
Loading

0 comments on commit d3f5a10

Please sign in to comment.