-
Notifications
You must be signed in to change notification settings - Fork 0
/
authz.json
84 lines (84 loc) · 2.62 KB
/
authz.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
{
"package": "cosmos.staking.v1beta1",
"imports": [
"gogoproto/gogo.proto",
"cosmos_proto/cosmos.proto",
"cosmos/base/v1beta1/coin.proto"
],
"syntax": "proto3",
"root": {
"nested": {
"cosmos": {
"nested": {
"staking": {
"nested": {
"v1beta1": {
"options": {
"go_package": "github.com/cosmos/cosmos-sdk/x/staking/types"
},
"nested": {
"StakeAuthorization": {
"options": {
"(cosmos_proto.implements_interface)": "Authorization"
},
"oneofs": {
"validators": {
"oneof": [
"allowList",
"denyList"
]
}
},
"fields": {
"maxTokens": {
"type": "cosmos.base.v1beta1.Coin",
"id": 1,
"options": {
"(gogoproto.castrepeated)": "github.com/cosmos/cosmos-sdk/types.Coin"
}
},
"allowList": {
"type": "Validators",
"id": 2
},
"denyList": {
"type": "Validators",
"id": 3
},
"authorizationType": {
"type": "AuthorizationType",
"id": 4
}
},
"nested": {
"Validators": {
"fields": {
"address": {
"rule": "repeated",
"type": "string",
"id": 1,
"options": {
"(cosmos_proto.scalar)": "cosmos.AddressString"
}
}
}
}
}
},
"AuthorizationType": {
"values": {
"AUTHORIZATION_TYPE_UNSPECIFIED": 0,
"AUTHORIZATION_TYPE_DELEGATE": 1,
"AUTHORIZATION_TYPE_UNDELEGATE": 2,
"AUTHORIZATION_TYPE_REDELEGATE": 3
}
}
}
}
}
}
}
}
}
}
}