-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathunique-whole-fungible.json
88 lines (88 loc) · 2.92 KB
/
unique-whole-fungible.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"artifact": {
"artifactSymbol": {
"id":"2d291501-4cca-43cf-8330-e2440e58d7df",
"type": "BASE",
"visual": "τ<sub>F'</sub>{<i>~d</i>}",
"tooling": "tF'{~d}",
"version": "1.0",
"templateValidated": true
},
"name": "Unique Whole Fungible",
"aliases": [
"Inventory",
"SKU",
"Loyalty Point"
],
"artifactDefinition": {
"businessDescription": "Unique, Whole Fungible tokens have interchangeable value with each other, where any owned sum of them from a class has the same value as another owned sum from the same class. A whole token cannot be sub-divided, so it doesn't support the notion of 'making change'. Because this token is unique, it will have its own identity and can have unique properties like a serial number. Implementations should support a GetBalance or List for owners to see their balances or tokens they own.",
"businessExample": "An inventory item or SKU, where an item is treated as a whole, because it makes no sense to own a fraction of a SKU or loyalty point.",
"analogies": [
{
"name": "Loyalty Points",
"description": "Most credit card or retail loyalty point programs deal with whole numbers so that redeeming points is easy to understand for their customers.",
"artifactDefinition": null
},
{
"name": "General Admission Movie Ticket",
"description": "Purchasing a general admission ticket to a movie only allows for you to have a seat, but the seat that you get depends on factors like when you arrive. You're not likely to want to share a seat with another adult.",
"artifactDefinition": null
}
],
"comments": "",
"artifact": null
},
"dependencies": [
{
"description": "Base Token Definition",
"symbol": {
"id":"5f5c4e7f-8ff1-4767-b59c-799d49753226",
"type": "BASE",
"visual": "&tau",
"tooling": "t",
"version": "1.0",
"templateValidated": true
}
}
],
"incompatibleWithSymbols": [
{
"id":"6e3501dc-5800-4c71-b59e-ad11418a998c",
"type": "BEHAVIOR",
"visual": "<i>d</i>",
"tooling": "d",
"version": "1.0",
"templateValidated": false
}
],
"influencedBySymbols": [],
"artifactFiles": [
{
"content": "CONTROL",
"fileName": "whole-fungible.proto",
"fileData": "",
"artifact": null
},
{
"content": "UML",
"fileName": "whole-fungible.md",
"fileData": "",
"artifact": null
}
],
"maps": {}
},
"tokenType": "FUNGIBLE",
"tokenUnit": "WHOLE",
"representationType": "UNIQUE",
"valueType": "INTRINSIC",
"supply": "INFINITE",
"name": "",
"symbol": "",
"owner": "",
"quantity": 0,
"decimals": 0,
"tokenProperties": {},
"constructorName": "",
"constructor": null
}