-
Total tokens: {sum}
+
diff --git a/packages/nextjs/contracts/deployedContracts.ts b/packages/nextjs/contracts/deployedContracts.ts
index 06235db..9dccb3e 100644
--- a/packages/nextjs/contracts/deployedContracts.ts
+++ b/packages/nextjs/contracts/deployedContracts.ts
@@ -5,6 +5,55 @@
import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract";
const deployedContracts = {
+ 8453: {
+ Disperse: {
+ address: "0xA7210b419372222429f2A692B253BAeb50AEa12a",
+ abi: [
+ {
+ inputs: [
+ {
+ internalType: "address[]",
+ name: "recipients",
+ type: "address[]",
+ },
+ {
+ internalType: "uint256[]",
+ name: "values",
+ type: "uint256[]",
+ },
+ ],
+ name: "disperseEther",
+ outputs: [],
+ stateMutability: "payable",
+ type: "function",
+ },
+ {
+ inputs: [
+ {
+ internalType: "contract IERC20",
+ name: "tokenAddress",
+ type: "address",
+ },
+ {
+ internalType: "address payable[]",
+ name: "recipients",
+ type: "address[]",
+ },
+ {
+ internalType: "uint256[]",
+ name: "values",
+ type: "uint256[]",
+ },
+ ],
+ name: "disperseToken",
+ outputs: [],
+ stateMutability: "nonpayable",
+ type: "function",
+ },
+ ],
+ inheritedFunctions: {},
+ },
+ },
31337: {
Disperse: {
address: "0x5FbDB2315678afecb367f032d93F642f64180aa3",
diff --git a/packages/nextjs/scaffold.config.ts b/packages/nextjs/scaffold.config.ts
index 86c737a..ecefd0d 100644
--- a/packages/nextjs/scaffold.config.ts
+++ b/packages/nextjs/scaffold.config.ts
@@ -10,7 +10,7 @@ export type ScaffoldConfig = {
const scaffoldConfig = {
// The networks on which your DApp is live
- targetNetworks: [chains.hardhat],
+ targetNetworks: [chains.base],
// The interval at which your front-end polls the RPC servers for new data
// it has no effect if you only target the local network (default is 4000)
diff --git a/packages/nextjs/services/store/store.ts b/packages/nextjs/services/store/store.ts
index 5a9c8df..ab2e04f 100644
--- a/packages/nextjs/services/store/store.ts
+++ b/packages/nextjs/services/store/store.ts
@@ -39,8 +39,8 @@ export const useGlobalState = create
(set => ({
},
disperseFormData: {
baseNetwork: "",
- schemaID: "0xddc12d29e4863e857d1b6429f2afd4bf3d687110bbb425e730b87d5f1efcda5a",
- attesterAddress: "0xe2A45CA9Ec5780FC389FBD8991980397b8B470AF",
+ schemaID: "",
+ attesterAddress: "",
attesterENS: "",
destinationNetwork: "",
typeOfReward: "",