@carrot-foundation/schemas 0.1.37 → 0.1.39
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/dist/index.cjs +1037 -383
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1826 -1276
- package/dist/index.d.ts +1826 -1276
- package/dist/index.js +1017 -384
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/schemas/ipfs/collection/collection.schema.json +3 -2
- package/schemas/ipfs/credit/credit.schema.json +3 -2
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json +103 -99
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.example.json +280 -0
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json +1704 -0
- package/schemas/ipfs/gas-id/gas-id.schema.json +3 -2
- package/schemas/ipfs/mass-id/mass-id.schema.json +3 -2
- package/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json +3 -2
- package/schemas/ipfs/methodology/methodology.schema.json +3 -2
- package/schemas/ipfs/recycled-id/recycled-id.schema.json +3 -2
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "Collection IPFS Record",
|
|
4
4
|
"description": "Collection metadata stored in IPFS, extending the base schema with collection-specific fields required for NFT collection definitions in Carrot's ecosystem",
|
|
5
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
6
|
-
"version": "0.1.
|
|
5
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.39/schemas/ipfs/collection/collection.schema.json",
|
|
6
|
+
"version": "0.1.39",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": {
|
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
"mass-id-audit",
|
|
188
188
|
"methodology",
|
|
189
189
|
"credit-purchase-receipt",
|
|
190
|
+
"credit-retirement-receipt",
|
|
190
191
|
"recycled-id"
|
|
191
192
|
]
|
|
192
193
|
},
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "Credit IPFS Record",
|
|
4
4
|
"description": "Credit token metadata stored in IPFS, extending the base schema with ERC20-specific details",
|
|
5
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
6
|
-
"version": "0.1.
|
|
5
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.39/schemas/ipfs/credit/credit.schema.json",
|
|
6
|
+
"version": "0.1.39",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": {
|
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
"mass-id-audit",
|
|
188
188
|
"methodology",
|
|
189
189
|
"credit-purchase-receipt",
|
|
190
|
+
"credit-retirement-receipt",
|
|
190
191
|
"recycled-id"
|
|
191
192
|
]
|
|
192
193
|
},
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "CreditPurchaseReceipt NFT IPFS Record",
|
|
4
4
|
"description": "Complete CreditPurchaseReceipt NFT IPFS record including attributes and credit purchase data",
|
|
5
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
6
|
-
"version": "0.1.
|
|
5
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.39/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json",
|
|
6
|
+
"version": "0.1.39",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": {
|
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
"mass-id-audit",
|
|
188
188
|
"methodology",
|
|
189
189
|
"credit-purchase-receipt",
|
|
190
|
+
"credit-retirement-receipt",
|
|
190
191
|
"recycled-id"
|
|
191
192
|
]
|
|
192
193
|
},
|
|
@@ -261,31 +262,9 @@
|
|
|
261
262
|
"description": "Summary totals for the credit purchase including amounts and collections represented",
|
|
262
263
|
"type": "object",
|
|
263
264
|
"properties": {
|
|
264
|
-
"total_usdc_amount": {
|
|
265
|
-
"title": "Total USDC Amount",
|
|
266
|
-
"description": "Total amount paid in USDC for the purchase",
|
|
267
|
-
"examples": [
|
|
268
|
-
0,
|
|
269
|
-
45.2,
|
|
270
|
-
72.5
|
|
271
|
-
],
|
|
272
|
-
"type": "number",
|
|
273
|
-
"minimum": 0
|
|
274
|
-
},
|
|
275
|
-
"total_credits": {
|
|
276
|
-
"title": "Total Credits",
|
|
277
|
-
"description": "Total amount of credits purchased",
|
|
278
|
-
"examples": [
|
|
279
|
-
0,
|
|
280
|
-
45.2,
|
|
281
|
-
72.5
|
|
282
|
-
],
|
|
283
|
-
"type": "number",
|
|
284
|
-
"minimum": 0
|
|
285
|
-
},
|
|
286
265
|
"total_certificates": {
|
|
287
266
|
"title": "Total Certificates",
|
|
288
|
-
"description": "Total number of certificates
|
|
267
|
+
"description": "Total number of certificates represented in the receipt",
|
|
289
268
|
"examples": [
|
|
290
269
|
1,
|
|
291
270
|
123,
|
|
@@ -295,30 +274,17 @@
|
|
|
295
274
|
"minimum": 1,
|
|
296
275
|
"maximum": 9007199254740991
|
|
297
276
|
},
|
|
298
|
-
"purchase_date": {
|
|
299
|
-
"title": "Purchase Date",
|
|
300
|
-
"description": "Date when the purchase was made (YYYY-MM-DD)",
|
|
301
|
-
"examples": [
|
|
302
|
-
"2024-12-05",
|
|
303
|
-
"2025-02-22",
|
|
304
|
-
"2024-02-10"
|
|
305
|
-
],
|
|
306
|
-
"type": "string",
|
|
307
|
-
"format": "date",
|
|
308
|
-
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
309
|
-
},
|
|
310
277
|
"credit_symbols": {
|
|
311
278
|
"title": "Credit Symbols",
|
|
312
|
-
"description": "Array of credit token symbols
|
|
279
|
+
"description": "Array of credit token symbols represented in the receipt",
|
|
313
280
|
"minItems": 1,
|
|
314
281
|
"type": "array",
|
|
315
282
|
"items": {
|
|
316
|
-
"title": "Token Symbol",
|
|
317
|
-
"description": "Symbol
|
|
283
|
+
"title": "Credit Token Symbol",
|
|
284
|
+
"description": "Symbol of the credit token (e.g., C-CARB, C-BIOW)",
|
|
318
285
|
"examples": [
|
|
319
|
-
"
|
|
320
|
-
"
|
|
321
|
-
"GAS"
|
|
286
|
+
"C-CARB",
|
|
287
|
+
"C-BIOW"
|
|
322
288
|
],
|
|
323
289
|
"type": "string",
|
|
324
290
|
"minLength": 1,
|
|
@@ -328,7 +294,7 @@
|
|
|
328
294
|
},
|
|
329
295
|
"certificate_types": {
|
|
330
296
|
"title": "Certificate Types",
|
|
331
|
-
"description": "Array of certificate types
|
|
297
|
+
"description": "Array of certificate types represented in the receipt",
|
|
332
298
|
"minItems": 1,
|
|
333
299
|
"type": "array",
|
|
334
300
|
"items": {
|
|
@@ -341,7 +307,7 @@
|
|
|
341
307
|
},
|
|
342
308
|
"collection_slugs": {
|
|
343
309
|
"title": "Collection Slugs",
|
|
344
|
-
"description": "Array of collection slugs represented in the
|
|
310
|
+
"description": "Array of collection slugs represented in the receipt",
|
|
345
311
|
"minItems": 1,
|
|
346
312
|
"type": "array",
|
|
347
313
|
"items": {
|
|
@@ -356,16 +322,50 @@
|
|
|
356
322
|
"maxLength": 100,
|
|
357
323
|
"pattern": "^[a-z0-9-]+$"
|
|
358
324
|
}
|
|
325
|
+
},
|
|
326
|
+
"total_usdc_amount": {
|
|
327
|
+
"title": "Total USDC Amount",
|
|
328
|
+
"description": "Total amount paid in USDC for the purchase",
|
|
329
|
+
"examples": [
|
|
330
|
+
0,
|
|
331
|
+
45.2,
|
|
332
|
+
72.5
|
|
333
|
+
],
|
|
334
|
+
"type": "number",
|
|
335
|
+
"minimum": 0
|
|
336
|
+
},
|
|
337
|
+
"total_credits": {
|
|
338
|
+
"title": "Total Credits",
|
|
339
|
+
"description": "Total amount of credits purchased",
|
|
340
|
+
"examples": [
|
|
341
|
+
0,
|
|
342
|
+
45.2,
|
|
343
|
+
72.5
|
|
344
|
+
],
|
|
345
|
+
"type": "number",
|
|
346
|
+
"minimum": 0
|
|
347
|
+
},
|
|
348
|
+
"purchase_date": {
|
|
349
|
+
"title": "Purchase Date",
|
|
350
|
+
"description": "Date when the purchase was made (YYYY-MM-DD)",
|
|
351
|
+
"examples": [
|
|
352
|
+
"2024-12-05",
|
|
353
|
+
"2025-02-22",
|
|
354
|
+
"2024-02-10"
|
|
355
|
+
],
|
|
356
|
+
"type": "string",
|
|
357
|
+
"format": "date",
|
|
358
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
359
359
|
}
|
|
360
360
|
},
|
|
361
361
|
"required": [
|
|
362
|
-
"total_usdc_amount",
|
|
363
|
-
"total_credits",
|
|
364
362
|
"total_certificates",
|
|
365
|
-
"purchase_date",
|
|
366
363
|
"credit_symbols",
|
|
367
364
|
"certificate_types",
|
|
368
|
-
"collection_slugs"
|
|
365
|
+
"collection_slugs",
|
|
366
|
+
"total_usdc_amount",
|
|
367
|
+
"total_credits",
|
|
368
|
+
"purchase_date"
|
|
369
369
|
],
|
|
370
370
|
"additionalProperties": false
|
|
371
371
|
},
|
|
@@ -408,7 +408,8 @@
|
|
|
408
408
|
"title": "Identity Name",
|
|
409
409
|
"description": "Display name for the participant",
|
|
410
410
|
"examples": [
|
|
411
|
-
"EcoTech Solutions Inc."
|
|
411
|
+
"EcoTech Solutions Inc.",
|
|
412
|
+
"Climate Action Corp"
|
|
412
413
|
],
|
|
413
414
|
"type": "string",
|
|
414
415
|
"minLength": 1,
|
|
@@ -474,7 +475,8 @@
|
|
|
474
475
|
"title": "Identity Name",
|
|
475
476
|
"description": "Display name for the participant",
|
|
476
477
|
"examples": [
|
|
477
|
-
"EcoTech Solutions Inc."
|
|
478
|
+
"EcoTech Solutions Inc.",
|
|
479
|
+
"Climate Action Corp"
|
|
478
480
|
],
|
|
479
481
|
"type": "string",
|
|
480
482
|
"minLength": 1,
|
|
@@ -637,6 +639,8 @@
|
|
|
637
639
|
"title": "Credit Token Symbol",
|
|
638
640
|
"description": "Symbol of the credit token",
|
|
639
641
|
"examples": [
|
|
642
|
+
"CARBON",
|
|
643
|
+
"ORGANIC",
|
|
640
644
|
"C-CARB",
|
|
641
645
|
"C-BIOW"
|
|
642
646
|
],
|
|
@@ -892,45 +896,22 @@
|
|
|
892
896
|
"type": "number",
|
|
893
897
|
"minimum": 0
|
|
894
898
|
},
|
|
895
|
-
"purchased_amount": {
|
|
896
|
-
"title": "Certificate Purchased Amount",
|
|
897
|
-
"description": "Credits purchased from this certificate",
|
|
898
|
-
"examples": [
|
|
899
|
-
0,
|
|
900
|
-
45.2,
|
|
901
|
-
72.5
|
|
902
|
-
],
|
|
903
|
-
"type": "number",
|
|
904
|
-
"minimum": 0
|
|
905
|
-
},
|
|
906
|
-
"retired_amount": {
|
|
907
|
-
"title": "Certificate Retired Amount",
|
|
908
|
-
"description": "Credits retired from this certificate during the purchase (0 if none)",
|
|
909
|
-
"examples": [
|
|
910
|
-
0,
|
|
911
|
-
45.2,
|
|
912
|
-
72.5
|
|
913
|
-
],
|
|
914
|
-
"type": "number",
|
|
915
|
-
"minimum": 0
|
|
916
|
-
},
|
|
917
|
-
"credit_slug": {
|
|
918
|
-
"title": "Credit Slug",
|
|
919
|
-
"description": "Slug of the credit type for this certificate",
|
|
920
|
-
"examples": [
|
|
921
|
-
"carbon",
|
|
922
|
-
"organic"
|
|
923
|
-
],
|
|
924
|
-
"type": "string",
|
|
925
|
-
"minLength": 1,
|
|
926
|
-
"maxLength": 100,
|
|
927
|
-
"pattern": "^[a-z0-9-]+$"
|
|
928
|
-
},
|
|
929
899
|
"mass_id": {
|
|
930
900
|
"title": "MassID Reference with Smart Contract",
|
|
931
901
|
"description": "Reference to a MassID record including smart contract details",
|
|
932
902
|
"type": "object",
|
|
933
903
|
"properties": {
|
|
904
|
+
"external_id": {
|
|
905
|
+
"title": "MassID External ID",
|
|
906
|
+
"description": "Unique identifier for the MassID",
|
|
907
|
+
"examples": [
|
|
908
|
+
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530",
|
|
909
|
+
"b2c4e6f8-a1b3-4c5d-9e8f-123456789abc"
|
|
910
|
+
],
|
|
911
|
+
"type": "string",
|
|
912
|
+
"format": "uuid",
|
|
913
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$"
|
|
914
|
+
},
|
|
934
915
|
"token_id": {
|
|
935
916
|
"title": "MassID Token ID",
|
|
936
917
|
"description": "NFT token ID of the MassID",
|
|
@@ -964,17 +945,6 @@
|
|
|
964
945
|
"minLength": 1,
|
|
965
946
|
"pattern": "^ipfs:\\/\\/[a-zA-Z0-9]+(\\/.*)?$"
|
|
966
947
|
},
|
|
967
|
-
"external_id": {
|
|
968
|
-
"title": "MassID External ID",
|
|
969
|
-
"description": "Unique identifier for the referenced MassID",
|
|
970
|
-
"examples": [
|
|
971
|
-
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530",
|
|
972
|
-
"b2c4e6f8-a1b3-4c5d-9e8f-123456789abc"
|
|
973
|
-
],
|
|
974
|
-
"type": "string",
|
|
975
|
-
"format": "uuid",
|
|
976
|
-
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$"
|
|
977
|
-
},
|
|
978
948
|
"smart_contract": {
|
|
979
949
|
"title": "Smart Contract",
|
|
980
950
|
"description": "Smart contract details for on-chain references",
|
|
@@ -1024,13 +994,47 @@
|
|
|
1024
994
|
}
|
|
1025
995
|
},
|
|
1026
996
|
"required": [
|
|
997
|
+
"external_id",
|
|
1027
998
|
"token_id",
|
|
1028
999
|
"external_url",
|
|
1029
1000
|
"uri",
|
|
1030
|
-
"external_id",
|
|
1031
1001
|
"smart_contract"
|
|
1032
1002
|
],
|
|
1033
1003
|
"additionalProperties": false
|
|
1004
|
+
},
|
|
1005
|
+
"purchased_amount": {
|
|
1006
|
+
"title": "Certificate Purchased Amount",
|
|
1007
|
+
"description": "Credits purchased from this certificate",
|
|
1008
|
+
"examples": [
|
|
1009
|
+
0,
|
|
1010
|
+
45.2,
|
|
1011
|
+
72.5
|
|
1012
|
+
],
|
|
1013
|
+
"type": "number",
|
|
1014
|
+
"minimum": 0
|
|
1015
|
+
},
|
|
1016
|
+
"retired_amount": {
|
|
1017
|
+
"title": "Certificate Retired Amount",
|
|
1018
|
+
"description": "Credits retired from this certificate during the purchase (0 if none)",
|
|
1019
|
+
"examples": [
|
|
1020
|
+
0,
|
|
1021
|
+
45.2,
|
|
1022
|
+
72.5
|
|
1023
|
+
],
|
|
1024
|
+
"type": "number",
|
|
1025
|
+
"minimum": 0
|
|
1026
|
+
},
|
|
1027
|
+
"credit_slug": {
|
|
1028
|
+
"title": "Credit Slug",
|
|
1029
|
+
"description": "Slug of the credit type for this certificate",
|
|
1030
|
+
"examples": [
|
|
1031
|
+
"carbon",
|
|
1032
|
+
"organic"
|
|
1033
|
+
],
|
|
1034
|
+
"type": "string",
|
|
1035
|
+
"minLength": 1,
|
|
1036
|
+
"maxLength": 100,
|
|
1037
|
+
"pattern": "^[a-z0-9-]+$"
|
|
1034
1038
|
}
|
|
1035
1039
|
},
|
|
1036
1040
|
"required": [
|
|
@@ -1042,10 +1046,10 @@
|
|
|
1042
1046
|
"smart_contract",
|
|
1043
1047
|
"collection_slug",
|
|
1044
1048
|
"total_amount",
|
|
1049
|
+
"mass_id",
|
|
1045
1050
|
"purchased_amount",
|
|
1046
1051
|
"retired_amount",
|
|
1047
|
-
"credit_slug"
|
|
1048
|
-
"mass_id"
|
|
1052
|
+
"credit_slug"
|
|
1049
1053
|
],
|
|
1050
1054
|
"additionalProperties": false
|
|
1051
1055
|
}
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/heads/main/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json",
|
|
3
|
+
"schema": {
|
|
4
|
+
"hash": "0x9c22ff5f21f0b81b113e63f7db6da94fedef11b2119b4088b89664fb9a3cb658",
|
|
5
|
+
"type": "CreditRetirementReceipt",
|
|
6
|
+
"version": "0.1.0"
|
|
7
|
+
},
|
|
8
|
+
"environment": {
|
|
9
|
+
"blockchain_network": "mainnet",
|
|
10
|
+
"deployment": "production",
|
|
11
|
+
"data_set_name": "TEST"
|
|
12
|
+
},
|
|
13
|
+
"blockchain": {
|
|
14
|
+
"smart_contract_address": "0x742d35cc6634c0532925a3b8d8b5c2d4c7f8e1a9",
|
|
15
|
+
"chain_id": 137,
|
|
16
|
+
"network_name": "Polygon",
|
|
17
|
+
"token_id": "1245"
|
|
18
|
+
},
|
|
19
|
+
"created_at": "2025-01-20T14:45:30.000Z",
|
|
20
|
+
"external_id": "b2c3d4e5-f6a7-4c89-8a01-234567890abc",
|
|
21
|
+
"external_url": "https://explore.carrot.eco/document/b2c3d4e5-f6a7-4c89-8a01-234567890abc",
|
|
22
|
+
"content_hash": "9c22ff5f21f0b81b113e63f7db6da94fedef11b2119b4088b89664fb9a3cb658",
|
|
23
|
+
"creator": {
|
|
24
|
+
"name": "Carrot Foundation",
|
|
25
|
+
"id": "7f051e36-490c-420d-a59d-3bf73cc338af"
|
|
26
|
+
},
|
|
27
|
+
"name": "Credit Retirement Receipt #1245 • 10.5 Credits Retired",
|
|
28
|
+
"short_name": "Credit Retirement Receipt #1245",
|
|
29
|
+
"description": "Permanent proof of credit retirement: 10.5 credits (C-CARB and C-BIOW) retired by EcoTech Solutions Inc. on behalf of beneficiary Climate Action Corp, from 3 certificates across 2 collections.",
|
|
30
|
+
"image": "ipfs://QmRetirementReceiptHash1245/retirement-receipt.png",
|
|
31
|
+
"background_color": "#1B4332",
|
|
32
|
+
"external_links": [
|
|
33
|
+
{
|
|
34
|
+
"label": "View on Carrot Explorer",
|
|
35
|
+
"url": "https://explore.carrot.eco/document/b2c3d4e5-f6a7-4c89-8a01-234567890abc",
|
|
36
|
+
"description": "Complete retirement details and audit trail"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"label": "Retirement Certificate",
|
|
40
|
+
"url": "https://explore.carrot.eco/retirement/b2c3d4e5-f6a7-4c89-8a01-234567890abc",
|
|
41
|
+
"description": "Official retirement certificate for compliance reporting"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"attributes": [
|
|
45
|
+
{
|
|
46
|
+
"trait_type": "C-CARB",
|
|
47
|
+
"value": 6.5,
|
|
48
|
+
"display_type": "number"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"trait_type": "C-BIOW",
|
|
52
|
+
"value": 4.0,
|
|
53
|
+
"display_type": "number"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"trait_type": "Total Credits Retired",
|
|
57
|
+
"value": 10.5,
|
|
58
|
+
"display_type": "number"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"trait_type": "Beneficiary",
|
|
62
|
+
"value": "Climate Action Corp"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"trait_type": "Credit Holder",
|
|
66
|
+
"value": "EcoTech Solutions Inc."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"trait_type": "Retirement Date",
|
|
70
|
+
"value": 1737331200000,
|
|
71
|
+
"display_type": "date"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"trait_type": "Certificates Retired",
|
|
75
|
+
"value": 3,
|
|
76
|
+
"display_type": "number"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"trait_type": "BOLD Cold Start - Carazinho",
|
|
80
|
+
"value": 6.5,
|
|
81
|
+
"display_type": "number"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"trait_type": "BOLD Brazil",
|
|
85
|
+
"value": 4.0,
|
|
86
|
+
"display_type": "number"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"data": {
|
|
90
|
+
"summary": {
|
|
91
|
+
"total_retirement_amount": 10.5,
|
|
92
|
+
"total_certificates": 3,
|
|
93
|
+
"retirement_date": "2025-01-20",
|
|
94
|
+
"credit_symbols": ["C-CARB", "C-BIOW"],
|
|
95
|
+
"certificate_types": ["GasID", "RecycledID"],
|
|
96
|
+
"collection_slugs": ["bold-cold-start-carazinho", "bold-brazil"]
|
|
97
|
+
},
|
|
98
|
+
"beneficiary": {
|
|
99
|
+
"beneficiary_id": "c3d4e5f6-a7b8-4d12-8b56-789012cdef01",
|
|
100
|
+
"identity": {
|
|
101
|
+
"name": "Climate Action Corp",
|
|
102
|
+
"external_id": "d4e5f6a7-b8c9-4e23-8c67-890123def012",
|
|
103
|
+
"external_url": "https://explore.carrot.eco/participant/climate-action-corp-78901"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"credit_holder": {
|
|
107
|
+
"wallet_address": "0x1234567890abcdef1234567890abcdef12345678",
|
|
108
|
+
"identity": {
|
|
109
|
+
"name": "EcoTech Solutions Inc.",
|
|
110
|
+
"external_id": "8f2c3445-ef89-4de7-8d95-7c814d5c8af9",
|
|
111
|
+
"external_url": "https://explore.carrot.eco/participant/ecotech-solutions-inc-12345"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"collections": [
|
|
115
|
+
{
|
|
116
|
+
"slug": "bold-cold-start-carazinho",
|
|
117
|
+
"external_id": "8f2c3445-ef89-4de7-8d95-7c814d5c8af9",
|
|
118
|
+
"name": "BOLD Cold Start - Carazinho",
|
|
119
|
+
"external_url": "https://explore.carrot.eco/collection/bold-cold-start-carazinho",
|
|
120
|
+
"uri": "ipfs://QmCollectionImageHash/bold-cold-start-carazinho.json",
|
|
121
|
+
"amount": 6.5
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"slug": "bold-brazil",
|
|
125
|
+
"external_id": "e710790f-5909-4a54-ab89-6a59819472ee",
|
|
126
|
+
"name": "BOLD Brazil",
|
|
127
|
+
"external_url": "https://explore.carrot.eco/collection/bold-brazil",
|
|
128
|
+
"uri": "ipfs://QmCollectionProfHash/bold-brazil.json",
|
|
129
|
+
"amount": 4.0
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"credits": [
|
|
133
|
+
{
|
|
134
|
+
"slug": "carbon",
|
|
135
|
+
"symbol": "C-CARB",
|
|
136
|
+
"external_id": "8f2c3445-ef89-4de7-8d95-7c814d5c8af9",
|
|
137
|
+
"external_url": "https://explore.carrot.eco/credit/8f2c3445-ef89-4de7-8d95-7c814d5c8af9",
|
|
138
|
+
"uri": "ipfs://QmCreditHash/c-carb.json",
|
|
139
|
+
"smart_contract": {
|
|
140
|
+
"address": "0xabcdef1234567890abcdef1234567890abcdef12",
|
|
141
|
+
"chain_id": 137,
|
|
142
|
+
"network_name": "Polygon"
|
|
143
|
+
},
|
|
144
|
+
"amount": 6.5
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"slug": "organic",
|
|
148
|
+
"symbol": "C-BIOW",
|
|
149
|
+
"external_id": "e710790f-5909-4a54-ab89-6a59819472ee",
|
|
150
|
+
"external_url": "https://explore.carrot.eco/credit/9f3c4556-fg90-5ef8-9e06-8d925e6d9bg0",
|
|
151
|
+
"uri": "ipfs://QmCreditBiowHash/c-biow.json",
|
|
152
|
+
"smart_contract": {
|
|
153
|
+
"address": "0xfedcba0987654321fedcba0987654321fedcba09",
|
|
154
|
+
"chain_id": 137,
|
|
155
|
+
"network_name": "Polygon"
|
|
156
|
+
},
|
|
157
|
+
"amount": 4.0
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"certificates": [
|
|
161
|
+
{
|
|
162
|
+
"token_id": "456",
|
|
163
|
+
"type": "GasID",
|
|
164
|
+
"external_id": "e710790f-5909-4a54-ab89-6a59819472ee",
|
|
165
|
+
"external_url": "https://explore.carrot.eco/document/f47ac10b-58cc-4372-a567-0e02b2c3d479",
|
|
166
|
+
"uri": "ipfs://QmGasIdHash456/gas-id.json",
|
|
167
|
+
"smart_contract": {
|
|
168
|
+
"address": "0x742d35cc6634c0532925a3b8d8b5c2d4c7f8e1a9",
|
|
169
|
+
"chain_id": 137,
|
|
170
|
+
"network_name": "Polygon"
|
|
171
|
+
},
|
|
172
|
+
"collection_slug": "bold-cold-start-carazinho",
|
|
173
|
+
"total_amount": 10.0,
|
|
174
|
+
"retired_amount": 4.5,
|
|
175
|
+
"credits_retired": [
|
|
176
|
+
{
|
|
177
|
+
"credit_symbol": "C-CARB",
|
|
178
|
+
"credit_slug": "carbon",
|
|
179
|
+
"amount": 4.5,
|
|
180
|
+
"external_id": "8f2c3445-ef89-4de7-8d95-7c814d5c8af9",
|
|
181
|
+
"external_url": "https://explore.carrot.eco/credit-retirement/credit-retired-456-c-carb"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"mass_id": {
|
|
185
|
+
"token_id": "123",
|
|
186
|
+
"external_id": "6f520d88-864d-432d-bf9f-5c3166c4818f",
|
|
187
|
+
"external_url": "https://explore.carrot.eco/document/6f520d88-864d-432d-bf9f-5c3166c4818f",
|
|
188
|
+
"uri": "ipfs://QmYx8FdKl2mN9pQ7rS6tV8wB3cE4fG5hI9jK0lM1nO2pQ3r/mass-id.json",
|
|
189
|
+
"smart_contract": {
|
|
190
|
+
"address": "0x742d35cc6634c0532925a3b8d8b5c2d4c7f8e1a9",
|
|
191
|
+
"chain_id": 137,
|
|
192
|
+
"network_name": "Polygon"
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"token_id": "789",
|
|
198
|
+
"type": "RecycledID",
|
|
199
|
+
"external_id": "e710790f-5909-4a54-ab89-6a59819472ee",
|
|
200
|
+
"external_url": "https://explore.carrot.eco/document/r47ac10b-58cc-4372-a567-0e02b2c3d999",
|
|
201
|
+
"uri": "ipfs://QmRecycledIdHash789/recycled-id.json",
|
|
202
|
+
"smart_contract": {
|
|
203
|
+
"address": "0x742d35cc6634c0532925a3b8d8b5c2d4c7f8e1a9",
|
|
204
|
+
"chain_id": 137,
|
|
205
|
+
"network_name": "Polygon"
|
|
206
|
+
},
|
|
207
|
+
"collection_slug": "bold-cold-start-carazinho",
|
|
208
|
+
"total_amount": 5.0,
|
|
209
|
+
"retired_amount": 2.0,
|
|
210
|
+
"credits_retired": [
|
|
211
|
+
{
|
|
212
|
+
"credit_symbol": "C-CARB",
|
|
213
|
+
"credit_slug": "carbon",
|
|
214
|
+
"amount": 2.0,
|
|
215
|
+
"external_id": "a1b2c3d4-e5f6-4a90-8b34-567890abcedf",
|
|
216
|
+
"external_url": "https://explore.carrot.eco/credit-retirement/credit-retired-789-c-carb"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"mass_id": {
|
|
220
|
+
"token_id": "124",
|
|
221
|
+
"external_id": "e710790f-5909-4a54-ab89-6a59819472ee",
|
|
222
|
+
"external_url": "https://explore.carrot.eco/document/7f520d88-864d-432d-bf9f-5c3166c4888f",
|
|
223
|
+
"uri": "ipfs://QmMassIdHash124/mass-id.json",
|
|
224
|
+
"smart_contract": {
|
|
225
|
+
"address": "0x742d35cc6634c0532925a3b8d8b5c2d4c7f8e1a9",
|
|
226
|
+
"chain_id": 137,
|
|
227
|
+
"network_name": "Polygon"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"token_id": "790",
|
|
233
|
+
"type": "RecycledID",
|
|
234
|
+
"external_id": "e710790f-5909-4a54-ab89-6a59819472ee",
|
|
235
|
+
"external_url": "https://explore.carrot.eco/document/r47ac10b-58cc-4372-a567-0e02b2c3d999",
|
|
236
|
+
"uri": "ipfs://QmRecycledIdHash789/recycled-id.json",
|
|
237
|
+
"smart_contract": {
|
|
238
|
+
"address": "0x742d35cc6634c0532925a3b8d8b5c2d4c7f8e1a9",
|
|
239
|
+
"chain_id": 137,
|
|
240
|
+
"network_name": "Polygon"
|
|
241
|
+
},
|
|
242
|
+
"collection_slug": "bold-brazil",
|
|
243
|
+
"total_amount": 8.0,
|
|
244
|
+
"retired_amount": 4.0,
|
|
245
|
+
"credits_retired": [
|
|
246
|
+
{
|
|
247
|
+
"credit_symbol": "C-BIOW",
|
|
248
|
+
"credit_slug": "organic",
|
|
249
|
+
"amount": 4.0,
|
|
250
|
+
"external_id": "b2c3d4e5-f6a7-4b01-8c45-678901bcdef1",
|
|
251
|
+
"external_url": "https://explore.carrot.eco/credit-retirement/credit-retired-790-c-biow"
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
"mass_id": {
|
|
255
|
+
"token_id": "124",
|
|
256
|
+
"external_id": "e710790f-5909-4a54-ab89-6a59819472ee",
|
|
257
|
+
"external_url": "https://explore.carrot.eco/document/7f520d88-864d-432d-bf9f-5c3166c4888f",
|
|
258
|
+
"uri": "ipfs://QmMassIdHash124/mass-id.json",
|
|
259
|
+
"smart_contract": {
|
|
260
|
+
"address": "0x742d35cc6634c0532925a3b8d8b5c2d4c7f8e1a9",
|
|
261
|
+
"chain_id": 137,
|
|
262
|
+
"network_name": "Polygon"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"purchase_receipt": {
|
|
268
|
+
"token_id": "789",
|
|
269
|
+
"external_id": "a1b2c3d4-e5f6-4b90-8c34-567890abcdef",
|
|
270
|
+
"external_url": "https://explore.carrot.eco/document/a1b2c3d4-e5f6-4b90-8c34-567890abcdef",
|
|
271
|
+
"uri": "ipfs://QmPurchaseIdHash789/credit-purchase-receipt.json",
|
|
272
|
+
"smart_contract": {
|
|
273
|
+
"address": "0x742d35cc6634c0532925a3b8d8b5c2d4c7f8e1a9",
|
|
274
|
+
"chain_id": 137,
|
|
275
|
+
"network_name": "Polygon"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|