-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVALUE.yml
57 lines (48 loc) · 2.1 KB
/
VALUE.yml
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
# Keywords:
# version: protocol version, must appear only at the root
# description: optinal description, can appear at any node
# split - splits value to child nodes according to their shares ratio
# shares - number of shares for a node (used to calculate shares ratio amongst sibling nodes)
# crypto - pay value to the node directly to a crypto currency address
# passcard - pay value to the node directly to one of the addresses specified in the passcard (may later turn this into url)
# namecoin - pay value according to instructions defined in this namecoin record. if record does not exist then hold the funds for later distribution.
# url - pay value according to instructions defined in this url. if url returns 404 or other error then hold the funds for later distribution.
# Nodes are defined in a list, prefixed by '-'. The node name must not be a keyword
# Each node must contain a nested 'shares' and may contain one of 'crypto','url','passcard'
# How relative value is calculated: each node's value ratio is calculated according to the shares of all the nodes at the same depth (siblings)
version: 1
description: value distribution protocol
split:
# Author
- id: ktorn
shares: 50
# the passcard should have a 'bitcoin:address' element
passcard: +ktorn
# Dependencies
- id: deps
shares: 10
split:
- id: protocols
shares: 1
split:
- id: http
shares: 1
# when a node doesn't have pay instructions, default is save value for later claim
- id: bitcoin
shares: 1
# example only - this URL doesn't exist
url: https://github.com/bitcoin/bitcoin/VALUE.yaml
- id: namecoin
shares: 1
crypto: bitcoin/17Si1rdVd6gaYbwLq9NkXtGV9Qzt3NmTKa
- id: namesystem
shares: 1
# example only - this URL doesn't exist
url: https://github.com/namesystem/namesystem/VALUE.yaml
# Project contributors
- id: contrib
shares: 40
split:
- id: marcoleong
shares: 100
crypto: bitcoin/1EGisKrfTjD72gHhvAhWDNq5mLyUZ9VcUe