-
Notifications
You must be signed in to change notification settings - Fork 24
/
move-crypto.yaml
60 lines (50 loc) · 1.85 KB
/
move-crypto.yaml
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
# Move of crypto-currency for one agent, ignoring the fee
'@context':
- https://git.io/vf-examples-jsonld-context
- bob: https://bob.example/
fair: https://faircoin.example/
'@id': rgh:valueflows/valueflows/master/examples/move-crypto.yaml
'@graph':
# accounts before
- '@id': fair:6fb358a3-2859-4d6a-a4fa-431603ee70f5
'@type': EconomicResource
skos:note: Bob's first wallet address
classifiedAs: wd:Q21002847 # FairCoin
accountingQuantity:
om2:hasUnit: om2:one
om2:hasNumericalValue: 540
- '@id': fair:3be5259d-10f0-431c-9fec-9c0c15a461d3
'@type': EconomicResource
skos:note: Bob's second wallet address
classifiedAs: wd:Q21002847 # FairCoin
accountingQuantity:
om2:hasUnit: om2:one
om2:hasNumericalValue: 480
# move between Bob's accounts
- '@id': urn:uuid:e5afaa28-1080-4912-835b-46883efb83e6
'@type': EconomicEvent
action: move
resourceClassifiedAs: wd:Q21002847 # FairCoin
resourceInventoriedAs: fair:6fb358a3-2859-4d6a-a4fa-431603ee70f5 # Bob's first wallet address
toResourceInventoriedAs: fair:3be5259d-10f0-431c-9fec-9c0c15a461d3 # Bob's second wallet address
provider: https://bob.example
receiver: https://bob.example
resourceQuantity:
om2:hasUnit: om2:one
om2:hasNumericalValue: 100
hasPointInTime: 2019-04-18T8:30:08-5:00
# accounts after
- '@id': fair:b6fb358a3-2859-4d6a-a4fa-431603ee70f5
'@type': EconomicResource
skos:note: Bob's first wallet address
classifiedAs: wd:Q21002847 # FairCoin
accountingQuantity:
om2:hasUnit: om2:one
om2:hasNumericalValue: 440
- '@id': fair:3be5259d-10f0-431c-9fec-9c0c15a461d3
'@type': EconomicResource
skos:note: Bob's second wallet address
classifiedAs: wd:Q21002847 # FairCoin
accountingQuantity:
om2:hasUnit: om2:one
om2:hasNumericalValue: 580