@show-karma/karma-gap-sdk 0.4.12 → 0.4.14
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/class/Schema.js +1 -0
- package/core/consts.d.ts +1 -0
- package/core/consts.js +31 -2
- package/core/types.d.ts +1 -1
- package/package.json +1 -1
package/core/class/Schema.js
CHANGED
package/core/consts.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare const chainIdToNetwork: {
|
|
|
14
14
|
1328: string;
|
|
15
15
|
1329: string;
|
|
16
16
|
1135: string;
|
|
17
|
+
534352: string;
|
|
17
18
|
};
|
|
18
19
|
export declare const nullRef = "0x0000000000000000000000000000000000000000000000000000000000000000";
|
|
19
20
|
export declare const nullResolver = "0x0000000000000000000000000000000000000000";
|
package/core/consts.js
CHANGED
|
@@ -27,6 +27,7 @@ exports.chainIdToNetwork = {
|
|
|
27
27
|
1328: "sei-testnet",
|
|
28
28
|
1329: "sei",
|
|
29
29
|
1135: "lisk",
|
|
30
|
+
534352: "scroll",
|
|
30
31
|
};
|
|
31
32
|
exports.nullRef = "0x0000000000000000000000000000000000000000000000000000000000000000";
|
|
32
33
|
// TODO: Remove null resolver and change usage to zero address
|
|
@@ -399,8 +400,8 @@ exports.Networks = {
|
|
|
399
400
|
},
|
|
400
401
|
lisk: {
|
|
401
402
|
chainId: 1135,
|
|
402
|
-
url: "https://
|
|
403
|
-
rpcUrl: "https://
|
|
403
|
+
url: "https://lisk.easscan.org/graphql",
|
|
404
|
+
rpcUrl: "https://lisk.drpc.org",
|
|
404
405
|
contracts: {
|
|
405
406
|
eas: "0x4200000000000000000000000000000000000021",
|
|
406
407
|
schema: "0x4200000000000000000000000000000000000020",
|
|
@@ -425,6 +426,34 @@ exports.Networks = {
|
|
|
425
426
|
ContributorProfile: "0x80f0701853e862d920f87e8ae5b359a1625ad417a9523af2ed12bc3504b04088"
|
|
426
427
|
},
|
|
427
428
|
},
|
|
429
|
+
scroll: {
|
|
430
|
+
chainId: 534352,
|
|
431
|
+
url: "https://scroll.easscan.org/graphql",
|
|
432
|
+
rpcUrl: "https://rpc.ankr.com/scroll",
|
|
433
|
+
contracts: {
|
|
434
|
+
eas: "0xC47300428b6AD2c7D03BB76D05A176058b47E6B0",
|
|
435
|
+
schema: "0xD2CDF46556543316e7D34e8eDc4624e2bB95e3B6",
|
|
436
|
+
multicall: "0x8791Ac8c099314bB1D1514D76de13a1E80275950",
|
|
437
|
+
projectResolver: "0xAFaE7aA6118D75Fe7FDB3eF8c1623cAaF8C8a653",
|
|
438
|
+
communityResolver: "0xfddb660F2F1C27d219372210745BB9f73431856E",
|
|
439
|
+
donations: "0x8791Ac8c099314bB1D1514D76de13a1E80275950",
|
|
440
|
+
airdropNFT: null,
|
|
441
|
+
},
|
|
442
|
+
schemas: {
|
|
443
|
+
Community: "0x3c2231024f4f17f3718b5bd9ed9ff29cc323dea5449f9ceba11a9888bfbdd0e1",
|
|
444
|
+
Details: "0x9895e82115987d8e3e02b35ced92e6a0509293890333f58f50ec291b34853dac",
|
|
445
|
+
Grant: "0x7afa603a89cee2d8f93d30007e2c64efddc6509fd76aa95d2ccd97b6e34acc71",
|
|
446
|
+
GrantVerified: "0xf45fdf2c064073f0623416571c2746085d785cde5a57fd0696ff88bdf78bcbdc",
|
|
447
|
+
MemberOf: "0xb4186a2401f40a4c78768941ef9140e1fbe5fe595053a65d44f31d6df180b712",
|
|
448
|
+
MilestoneApproved: "0xf45fdf2c064073f0623416571c2746085d785cde5a57fd0696ff88bdf78bcbdc",
|
|
449
|
+
MilestoneCompleted: "0xf45fdf2c064073f0623416571c2746085d785cde5a57fd0696ff88bdf78bcbdc",
|
|
450
|
+
GrantUpdateStatus: "0xf45fdf2c064073f0623416571c2746085d785cde5a57fd0696ff88bdf78bcbdc",
|
|
451
|
+
Project: "0x1194f9cd3ed5979434b16edce46715ca87d28510b6b2df1534250c52decc966a",
|
|
452
|
+
ProjectUpdateStatus: "0xf45fdf2c064073f0623416571c2746085d785cde5a57fd0696ff88bdf78bcbdc",
|
|
453
|
+
ProjectMilestoneStatus: "0xf45fdf2c064073f0623416571c2746085d785cde5a57fd0696ff88bdf78bcbdc",
|
|
454
|
+
ContributorProfile: null
|
|
455
|
+
},
|
|
456
|
+
},
|
|
428
457
|
};
|
|
429
458
|
const DetailsSchema = [{ type: "string", name: "json", value: null }];
|
|
430
459
|
/**
|
package/core/types.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export interface AttestArgs<T = unknown> {
|
|
|
30
30
|
export type TSchemaName = "Community" | "CommunityDetails" | "Grant" | "GrantDetails" | "GrantVerified" | "MemberOf" | "MemberDetails" | "Milestone" | "MilestoneCompleted" | "MilestoneApproved" | "Project" | "ProjectDetails" | "Details" | "ProjectImpact" | "ProjectUpdate" | "ProjectUpdateStatus" | "ProjectPointer" | "GrantUpdate" | "GrantUpdateStatus" | "ProjectEndorsement" | "ProjectMilestone" | "ProjectMilestoneStatus" | "ContributorProfile";
|
|
31
31
|
export type TResolvedSchemaNames = "Community" | "Grant" | "GrantVerified" | "MemberOf" | "MilestoneCompleted" | "MilestoneApproved" | "Project" | "Details" | "ProjectUpdateStatus" | "GrantUpdateStatus" | "ProjectUpdateStatus" | "ProjectMilestoneStatus" | "ContributorProfile";
|
|
32
32
|
export type TExternalLink = "twitter" | "github" | "website" | "linkedin" | "discord" | "pitchDeck" | "demoVideo" | "farcaster";
|
|
33
|
-
export type TNetwork = "optimism" | "celo" | "optimism-sepolia" | "arbitrum" | "sepolia" | "sei" | "sei-testnet" | "base-sepolia" | "lisk";
|
|
33
|
+
export type TNetwork = "optimism" | "celo" | "optimism-sepolia" | "arbitrum" | "sepolia" | "sei" | "sei-testnet" | "base-sepolia" | "lisk" | "scroll";
|
|
34
34
|
/**
|
|
35
35
|
* Generic GAP Facade interface.
|
|
36
36
|
* This supplies the GAP class with the necessary properties.
|