-
Notifications
You must be signed in to change notification settings - Fork 3
/
yourData.js
57 lines (54 loc) · 1.26 KB
/
yourData.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
const issuerInfo = {
displayName: "my super legit issuer for the Pit",
legalName: "gm inc.",
region: "USA",
};
const schemaStructure = {
schema: "PolygonAtThePit",
mandatoryExpiration: false,
technicalName: "PolygonAtThePit",
attributes: [
{
name: "AllowedInThePit",
technicalName: "AllowedInThePit",
type: "boolean",
description:
"Are you one of the top 150 Polygon builders selected for the Pit?",
},
{
name: "ProjectsBuilt",
technicalName: "ProjectsBuilt",
type: "number",
description: "How many web3 projects have you built?",
},
// schemas can have 2 attributes max
// {
// name: "DateSignedUp",
// technicalName: "DateSignedUp",
// type: "date",
// description: "When did you register for Polygon @ the Pit?",
// },
],
};
const claimOffer = {
schemaId: "204e27e9-be3c-409b-a8fc-d6a9901da7d2",
claimPayload: {
attributes: [
{
attributeKey: "AllowedInThePit",
// 🕳️ true!
attributeValue: 1,
},
{
attributeKey: "ProjectsBuilt",
// 💻 all we do is ship ship ship 🚀
attributeValue: 420,
},
],
},
};
module.exports = {
issuerInfo,
schemaStructure,
claimOffer,
};