forked from hyperledger-iroha/iroha-dco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zero.block
85 lines (85 loc) · 3.41 KB
/
zero.block
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
{
"hash": "20e1a6f78251ddf3f2e9820dbb6b8d0a8f1944f71198f00a7c521533eb8c6118",
"signatures": [
{
"pubkey": "0000000000000000000000000000000000000000000000000000000000000000",
"signature": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
],
"created_ts": 1501779527803139642,
"height": 1,
"prev_hash": "0000000000000000000000000000000000000000000000000000000000000000",
"txs_number": 5,
"merkle_root": "0000000000001100000000000000e976a8e26d7f0000b013ee00000000009ba7",
"transactions": [
{
"signatures": [
{
"pubkey": "0000000000000000000000000000000000000000000000000000000000000000",
"signature": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
],
"created_ts": 1501779527803139642,
"creator_account_id": "",
"tx_counter": 0,
"commands": [
{
"command_type": "AddPeer",
"address": "0.0.0.0:10001",
"peer_key": "0000000000000000000000000000000000000000000000000000000000000000"
}
]
},
{
"signatures": [
{
"pubkey": "0000000000000000000000000000000000000000000000000000000000000000",
"signature": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
],
"created_ts": 1501779527803139642,
"creator_account_id": "",
"tx_counter": 0,
"commands": [
{
"command_type": "CreateDomain",
"domain_name": "test"
},
{
"command_type": "CreateAsset",
"asset_name": "coin",
"domain_id": "test",
"precision": 2
},
{
"command_type": "CreateAccount",
"domain_id": "test",
"account_name": "admin",
"pubkey": "1000000000000000000000000000000000000000000000000000000000000000"
},
{
"command_type": "CreateAccount",
"domain_id": "test",
"account_name": "test",
"pubkey": "2000000000000000000000000000000000000000000000000000000000000000"
},
{
"command_type": "SetAccountPermissions",
"account_id": "admin@test",
"new_permissions": {
"add_signatory": false,
"can_transfer": true,
"create_accounts": false,
"create_assets": false,
"create_domains": false,
"issue_assets": true,
"read_all_accounts": true,
"remove_signatory": false,
"set_permissions": true,
"set_quorum": false
}
}
]
}
]
}