@show-karma/karma-gap-sdk 0.4.16 → 0.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/abi/AirdropNFT.json +1 -1
- package/core/abi/Allo.json +860 -860
- package/core/abi/AlloRegistry.json +578 -578
- package/core/abi/CommunityResolverABI.json +506 -506
- package/core/abi/Donations.json +251 -251
- package/core/abi/EAS.json +1 -1
- package/core/abi/MultiAttester.json +746 -746
- package/core/abi/ProjectResolver.json +574 -574
- package/core/abi/SchemaRegistry.json +1 -1
- package/core/abi/index.d.ts +1114 -0
- package/core/abi/index.js +26 -0
- package/core/class/AllGapSchemas.d.ts +9 -0
- package/core/class/AllGapSchemas.js +19 -0
- package/core/class/Attestation.d.ts +173 -0
- package/core/class/Attestation.js +333 -0
- package/core/class/Fetcher.d.ts +175 -0
- package/core/class/Fetcher.js +13 -0
- package/core/class/GAP.d.ts +254 -0
- package/core/class/GAP.js +289 -0
- package/core/class/GapSchema.d.ts +34 -0
- package/core/class/GapSchema.js +62 -0
- package/core/class/Gelato/{Gelato.ts → Gelato.js} +0 -23
- package/core/class/GrantProgramRegistry/Allo.d.ts +17 -0
- package/core/class/GrantProgramRegistry/Allo.js +137 -0
- package/core/class/GrantProgramRegistry/AlloRegistry.d.ts +15 -0
- package/core/class/GrantProgramRegistry/AlloRegistry.js +70 -0
- package/core/class/GraphQL/AxiosGQL.d.ts +6 -0
- package/core/class/GraphQL/AxiosGQL.js +25 -0
- package/core/class/GraphQL/EASClient.d.ts +16 -0
- package/core/class/GraphQL/EASClient.js +26 -0
- package/core/class/GraphQL/GapEasClient.d.ts +71 -0
- package/core/class/GraphQL/GapEasClient.js +451 -0
- package/core/class/GraphQL/index.js +19 -0
- package/core/class/Schema.d.ts +233 -0
- package/core/class/Schema.js +490 -0
- package/core/class/SchemaError.d.ts +30 -0
- package/core/class/SchemaError.js +39 -0
- package/core/class/contract/GapContract.d.ts +102 -0
- package/core/class/contract/GapContract.js +285 -0
- package/core/class/entities/Community.d.ts +34 -0
- package/core/class/entities/Community.js +109 -0
- package/core/class/entities/ContributorProfile.d.ts +41 -0
- package/core/class/entities/ContributorProfile.js +69 -0
- package/core/class/entities/Grant.d.ts +54 -0
- package/core/class/entities/Grant.js +223 -0
- package/core/class/entities/GrantUpdate.d.ts +62 -0
- package/core/class/entities/GrantUpdate.js +114 -0
- package/core/class/entities/MemberOf.d.ts +11 -0
- package/core/class/entities/MemberOf.js +33 -0
- package/core/class/entities/Milestone.d.ts +168 -0
- package/core/class/entities/Milestone.js +657 -0
- package/core/class/entities/Project.d.ts +92 -0
- package/core/class/entities/Project.js +418 -0
- package/core/class/entities/ProjectImpact.d.ts +50 -0
- package/core/class/entities/ProjectImpact.js +112 -0
- package/core/class/entities/ProjectMilestone.d.ts +60 -0
- package/core/class/entities/ProjectMilestone.js +174 -0
- package/core/class/entities/ProjectPointer.d.ts +12 -0
- package/core/class/entities/ProjectPointer.js +22 -0
- package/core/class/entities/ProjectUpdate.d.ts +50 -0
- package/core/class/entities/ProjectUpdate.js +110 -0
- package/core/class/entities/Track.d.ts +16 -0
- package/core/class/entities/Track.js +21 -0
- package/core/class/entities/index.js +26 -0
- package/core/class/index.js +26 -0
- package/core/class/karma-indexer/GapIndexerClient.d.ts +66 -0
- package/core/class/karma-indexer/GapIndexerClient.js +207 -0
- package/core/class/karma-indexer/api/GapIndexerApi.d.ts +73 -0
- package/core/class/karma-indexer/api/GapIndexerApi.js +256 -0
- package/core/class/karma-indexer/api/types.d.ts +309 -0
- package/core/class/karma-indexer/api/types.js +2 -0
- package/core/class/remote-storage/IpfsStorage.d.ts +23 -0
- package/core/class/remote-storage/IpfsStorage.js +56 -0
- package/core/class/remote-storage/RemoteStorage.d.ts +41 -0
- package/core/class/remote-storage/RemoteStorage.js +38 -0
- package/core/class/types/allo.d.ts +78 -0
- package/core/class/types/allo.js +2 -0
- package/core/class/types/attestations.d.ts +173 -0
- package/core/class/types/attestations.js +66 -0
- package/core/consts.d.ts +50 -0
- package/core/consts.js +699 -0
- package/core/index.js +24 -0
- package/core/shared/types.d.ts +13 -0
- package/core/shared/types.js +2 -0
- package/core/types.d.ts +131 -0
- package/core/types.js +13 -0
- package/core/utils/gelato/index.js +19 -0
- package/core/utils/gelato/send-gelato-txn.d.ts +55 -0
- package/core/utils/gelato/send-gelato-txn.js +100 -0
- package/core/utils/gelato/sponsor-handler.d.ts +9 -0
- package/core/utils/gelato/sponsor-handler.js +60 -0
- package/core/utils/gelato/watch-gelato-txn.d.ts +7 -0
- package/core/utils/gelato/watch-gelato-txn.js +63 -0
- package/core/utils/get-date.d.ts +1 -0
- package/core/utils/get-date.js +7 -0
- package/core/utils/get-ipfs-data.d.ts +1 -0
- package/core/utils/get-ipfs-data.js +20 -0
- package/core/utils/get-web3-provider.d.ts +2 -0
- package/core/utils/get-web3-provider.js +18 -0
- package/core/utils/gql-queries.d.ts +12 -0
- package/core/utils/gql-queries.js +90 -0
- package/core/utils/index.js +23 -0
- package/core/utils/map-filter.d.ts +8 -0
- package/core/utils/map-filter.js +20 -0
- package/core/utils/serialize-bigint.d.ts +1 -0
- package/core/utils/serialize-bigint.js +8 -0
- package/core/utils/to-unix.d.ts +1 -0
- package/core/utils/to-unix.js +25 -0
- package/index.js +17 -0
- package/package.json +45 -45
- package/.cursorrules +0 -43
- package/core/abi/index.ts +0 -21
- package/core/class/AllGapSchemas.ts +0 -21
- package/core/class/Attestation.ts +0 -429
- package/core/class/Fetcher.ts +0 -224
- package/core/class/GAP.ts +0 -481
- package/core/class/GapSchema.ts +0 -93
- package/core/class/GrantProgramRegistry/Allo.ts +0 -188
- package/core/class/GrantProgramRegistry/AlloRegistry.ts +0 -101
- package/core/class/GraphQL/AxiosGQL.ts +0 -29
- package/core/class/GraphQL/EASClient.ts +0 -34
- package/core/class/GraphQL/GapEasClient.ts +0 -869
- package/core/class/Schema.ts +0 -659
- package/core/class/SchemaError.ts +0 -42
- package/core/class/contract/GapContract.ts +0 -457
- package/core/class/entities/Community.ts +0 -148
- package/core/class/entities/ContributorProfile.ts +0 -108
- package/core/class/entities/Grant.ts +0 -321
- package/core/class/entities/GrantUpdate.ts +0 -187
- package/core/class/entities/MemberOf.ts +0 -52
- package/core/class/entities/Milestone.ts +0 -898
- package/core/class/entities/Project.ts +0 -672
- package/core/class/entities/ProjectImpact.ts +0 -170
- package/core/class/entities/ProjectMilestone.ts +0 -254
- package/core/class/entities/ProjectPointer.ts +0 -39
- package/core/class/entities/ProjectUpdate.ts +0 -176
- package/core/class/entities/Track.ts +0 -32
- package/core/class/karma-indexer/GapIndexerClient.ts +0 -383
- package/core/class/karma-indexer/api/GapIndexerApi.ts +0 -446
- package/core/class/karma-indexer/api/types.ts +0 -313
- package/core/class/remote-storage/IpfsStorage.ts +0 -76
- package/core/class/remote-storage/RemoteStorage.ts +0 -65
- package/core/class/types/allo.ts +0 -93
- package/core/class/types/attestations.ts +0 -223
- package/core/consts.ts +0 -775
- package/core/scripts/create-grant.ts +0 -102
- package/core/scripts/create-program.ts +0 -43
- package/core/scripts/create-schemas.ts +0 -65
- package/core/scripts/deploy.ts +0 -65
- package/core/scripts/index.ts +0 -1
- package/core/scripts/milestone-multi-grants.ts +0 -125
- package/core/shared/types.ts +0 -13
- package/core/types.ts +0 -224
- package/core/utils/gelato/send-gelato-txn.ts +0 -114
- package/core/utils/gelato/sponsor-handler.ts +0 -77
- package/core/utils/gelato/watch-gelato-txn.ts +0 -67
- package/core/utils/get-date.ts +0 -3
- package/core/utils/get-ipfs-data.ts +0 -13
- package/core/utils/get-web3-provider.ts +0 -18
- package/core/utils/gql-queries.ts +0 -133
- package/core/utils/map-filter.ts +0 -21
- package/core/utils/serialize-bigint.ts +0 -7
- package/core/utils/to-unix.ts +0 -18
- package/create-community-example.ts +0 -119
- package/csv-upload/README.md +0 -74
- package/csv-upload/config.ts +0 -41
- package/csv-upload/example.csv +0 -2
- package/csv-upload/keys.example.json +0 -8
- package/csv-upload/scripts/run.ts +0 -417
- package/csv-upload/types.ts +0 -39
- package/docs/.gitkeep +0 -0
- package/docs/images/attestation-architecture.png +0 -0
- package/docs/images/dfd-get-projects.png +0 -0
- package/gap-schema.yaml +0 -155
- package/milestone-workflow-example.ts +0 -353
- package/readme.md +0 -872
- package/schemas/.gitkeep +0 -0
- package/schemas/GAP-schemas-1692135812877.json +0 -33
- package/test-file-indexer-api.ts +0 -25
- package/tsconfig.json +0 -26
- /package/{csv-upload/.gitkeep → core/class/Gelato/Gelato.d.ts} +0 -0
- /package/core/class/GraphQL/{index.ts → index.d.ts} +0 -0
- /package/core/class/entities/{index.ts → index.d.ts} +0 -0
- /package/core/class/{index.ts → index.d.ts} +0 -0
- /package/core/{index.ts → index.d.ts} +0 -0
- /package/core/utils/gelato/{index.ts → index.d.ts} +0 -0
- /package/core/utils/{index.ts → index.d.ts} +0 -0
- /package/{index.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { Attestation, AttestationArgs } from "../Attestation";
|
|
2
|
+
import { Hex } from "core/types";
|
|
3
|
+
import { Project } from "../entities/Project";
|
|
4
|
+
import { GapSchema } from "../GapSchema";
|
|
5
|
+
import { GrantUpdate } from "../entities/GrantUpdate";
|
|
6
|
+
import { Transaction } from "ethers";
|
|
7
|
+
/** Attestation interfaces */
|
|
8
|
+
export type AttestationWithTx = {
|
|
9
|
+
uids: Hex[];
|
|
10
|
+
tx: Transaction[];
|
|
11
|
+
};
|
|
12
|
+
export type ExternalLink = {
|
|
13
|
+
type: string;
|
|
14
|
+
url: string;
|
|
15
|
+
}[];
|
|
16
|
+
export type ExternalCustomLink = {
|
|
17
|
+
type: 'custom';
|
|
18
|
+
url: string;
|
|
19
|
+
name: string;
|
|
20
|
+
};
|
|
21
|
+
export interface ICommunityDetails {
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
imageURL: string;
|
|
25
|
+
slug?: string;
|
|
26
|
+
links?: ExternalLink;
|
|
27
|
+
type?: string;
|
|
28
|
+
externalId?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare class CommunityDetails extends Attestation<ICommunityDetails> implements ICommunityDetails {
|
|
31
|
+
name: string;
|
|
32
|
+
description: string;
|
|
33
|
+
imageURL: string;
|
|
34
|
+
links: ExternalLink;
|
|
35
|
+
slug?: string;
|
|
36
|
+
type: string;
|
|
37
|
+
externalId?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface IGrantDetails {
|
|
40
|
+
title: string;
|
|
41
|
+
amount?: string;
|
|
42
|
+
proposalURL: string;
|
|
43
|
+
assetAndChainId?: [Hex, number];
|
|
44
|
+
payoutAddress?: Hex;
|
|
45
|
+
description?: string;
|
|
46
|
+
season?: string;
|
|
47
|
+
cycle?: string;
|
|
48
|
+
questions?: IGrantDetailsQuestion[];
|
|
49
|
+
type?: string;
|
|
50
|
+
startDate?: number;
|
|
51
|
+
programId?: string;
|
|
52
|
+
fundUsage?: string;
|
|
53
|
+
selectedTrackIds?: string[];
|
|
54
|
+
}
|
|
55
|
+
export declare class GrantDetails extends Attestation<IGrantDetails> implements IGrantDetails {
|
|
56
|
+
title: string;
|
|
57
|
+
proposalURL: string;
|
|
58
|
+
programId?: string;
|
|
59
|
+
payoutAddress?: Hex;
|
|
60
|
+
amount?: string;
|
|
61
|
+
assetAndChainId?: [Hex, number];
|
|
62
|
+
description?: string;
|
|
63
|
+
season?: string;
|
|
64
|
+
cycle?: string;
|
|
65
|
+
questions?: IGrantDetailsQuestion[];
|
|
66
|
+
type: string;
|
|
67
|
+
startDate?: number;
|
|
68
|
+
fundUsage?: string;
|
|
69
|
+
selectedTrackIds?: string[];
|
|
70
|
+
}
|
|
71
|
+
export interface IGrantRound {
|
|
72
|
+
name: string;
|
|
73
|
+
}
|
|
74
|
+
export declare class GrantRound extends Attestation<IGrantRound> implements IGrantRound {
|
|
75
|
+
name: string;
|
|
76
|
+
}
|
|
77
|
+
export interface IGrantVerified {
|
|
78
|
+
verified: boolean;
|
|
79
|
+
}
|
|
80
|
+
export declare class GrantVerified extends Attestation<IGrantVerified> implements IGrantVerified {
|
|
81
|
+
verified: boolean;
|
|
82
|
+
}
|
|
83
|
+
export interface IMemberDetails {
|
|
84
|
+
name: string;
|
|
85
|
+
profilePictureURL: string;
|
|
86
|
+
}
|
|
87
|
+
export declare class MemberDetails extends Attestation<IMemberDetails> implements IMemberDetails {
|
|
88
|
+
name: string;
|
|
89
|
+
profilePictureURL: string;
|
|
90
|
+
}
|
|
91
|
+
export interface IMilestoneCompleted {
|
|
92
|
+
type?: "approved" | "rejected" | "completed" | "verified";
|
|
93
|
+
reason?: string;
|
|
94
|
+
proofOfWork?: string;
|
|
95
|
+
}
|
|
96
|
+
export declare class MilestoneCompleted extends Attestation<IMilestoneCompleted> implements IMilestoneCompleted {
|
|
97
|
+
type: "approved" | "rejected" | "completed" | "verified";
|
|
98
|
+
reason?: string;
|
|
99
|
+
proofOfWork?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface ITag {
|
|
102
|
+
name: string;
|
|
103
|
+
}
|
|
104
|
+
export declare class Tag extends Attestation<ITag> implements ITag {
|
|
105
|
+
name: string;
|
|
106
|
+
}
|
|
107
|
+
export interface IProjectDetails {
|
|
108
|
+
title: string;
|
|
109
|
+
description: string;
|
|
110
|
+
problem?: string;
|
|
111
|
+
solution?: string;
|
|
112
|
+
missionSummary?: string;
|
|
113
|
+
locationOfImpact?: string;
|
|
114
|
+
imageURL: string;
|
|
115
|
+
links?: Array<ExternalLink[0] | ExternalCustomLink>;
|
|
116
|
+
tags?: ITag[];
|
|
117
|
+
externalIds?: string[];
|
|
118
|
+
slug?: string;
|
|
119
|
+
type?: string;
|
|
120
|
+
businessModel?: string;
|
|
121
|
+
stageIn?: string;
|
|
122
|
+
raisedMoney?: string;
|
|
123
|
+
pathToTake?: string;
|
|
124
|
+
}
|
|
125
|
+
export declare class ProjectDetails extends Attestation<IProjectDetails> implements IProjectDetails {
|
|
126
|
+
title: string;
|
|
127
|
+
description: string;
|
|
128
|
+
problem?: string;
|
|
129
|
+
solution?: string;
|
|
130
|
+
missionSummary?: string;
|
|
131
|
+
locationOfImpact?: string;
|
|
132
|
+
imageURL: string;
|
|
133
|
+
links: Array<ExternalLink[0] | ExternalCustomLink>;
|
|
134
|
+
tags: ITag[];
|
|
135
|
+
slug: string;
|
|
136
|
+
type: string;
|
|
137
|
+
externalIds: string[];
|
|
138
|
+
businessModel?: string;
|
|
139
|
+
stageIn?: string;
|
|
140
|
+
raisedMoney?: string;
|
|
141
|
+
pathToTake?: string;
|
|
142
|
+
}
|
|
143
|
+
export declare class Grantee {
|
|
144
|
+
address: string;
|
|
145
|
+
projects: Project[];
|
|
146
|
+
constructor(address: Hex, projects?: Project[]);
|
|
147
|
+
}
|
|
148
|
+
export declare class GrantCompleted extends GrantUpdate {
|
|
149
|
+
}
|
|
150
|
+
export interface IGrantDetailsQuestion {
|
|
151
|
+
query: string;
|
|
152
|
+
explanation: string;
|
|
153
|
+
type: string;
|
|
154
|
+
}
|
|
155
|
+
export interface IProjectEndorsement {
|
|
156
|
+
comment?: string;
|
|
157
|
+
type?: string;
|
|
158
|
+
}
|
|
159
|
+
export declare class ProjectEndorsement extends Attestation<IProjectEndorsement> implements IProjectEndorsement {
|
|
160
|
+
comment?: string;
|
|
161
|
+
type?: string;
|
|
162
|
+
constructor(data: AttestationArgs<IProjectEndorsement, GapSchema>);
|
|
163
|
+
}
|
|
164
|
+
export interface IProjectMilestoneCompleted {
|
|
165
|
+
type?: "approved" | "rejected" | "completed" | "verified";
|
|
166
|
+
reason?: string;
|
|
167
|
+
proofOfWork?: string;
|
|
168
|
+
}
|
|
169
|
+
export declare class ProjectMilestoneCompleted extends Attestation<IProjectMilestoneCompleted> implements IProjectMilestoneCompleted {
|
|
170
|
+
type: "approved" | "rejected" | "completed" | "verified";
|
|
171
|
+
reason?: string;
|
|
172
|
+
proofOfWork?: string;
|
|
173
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProjectMilestoneCompleted = exports.ProjectEndorsement = exports.GrantCompleted = exports.Grantee = exports.ProjectDetails = exports.Tag = exports.MilestoneCompleted = exports.MemberDetails = exports.GrantVerified = exports.GrantRound = exports.GrantDetails = exports.CommunityDetails = void 0;
|
|
4
|
+
const Attestation_1 = require("../Attestation");
|
|
5
|
+
const GrantUpdate_1 = require("../entities/GrantUpdate");
|
|
6
|
+
class CommunityDetails extends Attestation_1.Attestation {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.links = [];
|
|
10
|
+
this.type = "community-details";
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.CommunityDetails = CommunityDetails;
|
|
14
|
+
class GrantDetails extends Attestation_1.Attestation {
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments);
|
|
17
|
+
this.type = "grant-details";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.GrantDetails = GrantDetails;
|
|
21
|
+
class GrantRound extends Attestation_1.Attestation {
|
|
22
|
+
}
|
|
23
|
+
exports.GrantRound = GrantRound;
|
|
24
|
+
class GrantVerified extends Attestation_1.Attestation {
|
|
25
|
+
}
|
|
26
|
+
exports.GrantVerified = GrantVerified;
|
|
27
|
+
class MemberDetails extends Attestation_1.Attestation {
|
|
28
|
+
}
|
|
29
|
+
exports.MemberDetails = MemberDetails;
|
|
30
|
+
class MilestoneCompleted extends Attestation_1.Attestation {
|
|
31
|
+
}
|
|
32
|
+
exports.MilestoneCompleted = MilestoneCompleted;
|
|
33
|
+
class Tag extends Attestation_1.Attestation {
|
|
34
|
+
}
|
|
35
|
+
exports.Tag = Tag;
|
|
36
|
+
class ProjectDetails extends Attestation_1.Attestation {
|
|
37
|
+
constructor() {
|
|
38
|
+
super(...arguments);
|
|
39
|
+
this.links = [];
|
|
40
|
+
this.tags = [];
|
|
41
|
+
this.type = "project-details";
|
|
42
|
+
this.externalIds = [];
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.ProjectDetails = ProjectDetails;
|
|
46
|
+
class Grantee {
|
|
47
|
+
constructor(address, projects = []) {
|
|
48
|
+
this.projects = [];
|
|
49
|
+
this.address = address;
|
|
50
|
+
this.projects = projects;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.Grantee = Grantee;
|
|
54
|
+
class GrantCompleted extends GrantUpdate_1.GrantUpdate {
|
|
55
|
+
}
|
|
56
|
+
exports.GrantCompleted = GrantCompleted;
|
|
57
|
+
class ProjectEndorsement extends Attestation_1.Attestation {
|
|
58
|
+
constructor(data) {
|
|
59
|
+
data.data.type = "project-endorsement";
|
|
60
|
+
super(data);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.ProjectEndorsement = ProjectEndorsement;
|
|
64
|
+
class ProjectMilestoneCompleted extends Attestation_1.Attestation {
|
|
65
|
+
}
|
|
66
|
+
exports.ProjectMilestoneCompleted = ProjectMilestoneCompleted;
|
package/core/consts.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EASNetworkConfig, SchemaInterface, TNetwork, TSchemaName } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Schemas that should use default EAS attestation
|
|
4
|
+
* instead of the custom contract.
|
|
5
|
+
*/
|
|
6
|
+
export declare const useDefaultAttestation: TSchemaName[];
|
|
7
|
+
export declare const chainIdToNetwork: {
|
|
8
|
+
11155420: string;
|
|
9
|
+
42161: string;
|
|
10
|
+
10: string;
|
|
11
|
+
11155111: string;
|
|
12
|
+
84532: string;
|
|
13
|
+
42220: string;
|
|
14
|
+
1328: string;
|
|
15
|
+
1329: string;
|
|
16
|
+
1135: string;
|
|
17
|
+
534352: string;
|
|
18
|
+
8453: string;
|
|
19
|
+
137: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const nullRef = "0x0000000000000000000000000000000000000000000000000000000000000000";
|
|
22
|
+
export declare const nullResolver = "0x0000000000000000000000000000000000000000";
|
|
23
|
+
export declare const zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
24
|
+
/**
|
|
25
|
+
* The networks that are supported by the EAS
|
|
26
|
+
*/
|
|
27
|
+
export declare const Networks: Record<TNetwork, EASNetworkConfig>;
|
|
28
|
+
/**
|
|
29
|
+
* Mounts the schemas for the given network and return all the settings
|
|
30
|
+
* @param network
|
|
31
|
+
* @returns
|
|
32
|
+
*/
|
|
33
|
+
export declare const MountEntities: (network: EASNetworkConfig) => Record<TSchemaName, SchemaInterface<TSchemaName>>;
|
|
34
|
+
export declare const alloSupportedNetworks: {
|
|
35
|
+
mainnet: number[];
|
|
36
|
+
testnet: number[];
|
|
37
|
+
};
|
|
38
|
+
export declare const AlloContracts: {
|
|
39
|
+
registry: string;
|
|
40
|
+
alloProxy: string;
|
|
41
|
+
alloImplementation: string;
|
|
42
|
+
strategy: {
|
|
43
|
+
DonationVotingMerkleDistributionDirectTransferStrategy: string;
|
|
44
|
+
DirectGrantsSimpleStrategy: string;
|
|
45
|
+
RFPSimpleStrategy: string;
|
|
46
|
+
RFPCommitteeStrategy: string;
|
|
47
|
+
QVSimple: string;
|
|
48
|
+
};
|
|
49
|
+
factory: string;
|
|
50
|
+
};
|