Commit b37ccfe 1 parent e126772 commit b37ccfe Copy full SHA for b37ccfe
File tree 6 files changed +368
-409
lines changed
6 files changed +368
-409
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,23 @@ class logging:
101
101
"Balance" : "u64" , # Need to override default u128
102
102
},
103
103
"runtime_api" : {
104
+ "DelegateInfoRuntimeApi" : {
105
+ "methods" : {
106
+ "get_delegated" : {
107
+ "params" : [
108
+ {
109
+ "name" : "coldkey" ,
110
+ "type" : "Vec<u8>" ,
111
+ },
112
+ ],
113
+ "type" : "Vec<u8>" ,
114
+ },
115
+ "get_delegates" : {
116
+ "params" : [],
117
+ "type" : "Vec<u8>" ,
118
+ },
119
+ }
120
+ },
104
121
"NeuronInfoRuntimeApi" : {
105
122
"methods" : {
106
123
"get_neuron_lite" : {
@@ -125,6 +142,28 @@ class logging:
125
142
],
126
143
"type" : "Vec<u8>" ,
127
144
},
145
+ "get_neuron" : {
146
+ "params" : [
147
+ {
148
+ "name" : "netuid" ,
149
+ "type" : "u16" ,
150
+ },
151
+ {
152
+ "name" : "uid" ,
153
+ "type" : "u16" ,
154
+ },
155
+ ],
156
+ "type" : "Vec<u8>" ,
157
+ },
158
+ "get_neurons" : {
159
+ "params" : [
160
+ {
161
+ "name" : "netuid" ,
162
+ "type" : "u16" ,
163
+ },
164
+ ],
165
+ "type" : "Vec<u8>" ,
166
+ },
128
167
}
129
168
},
130
169
"StakeInfoRuntimeApi" : {
@@ -172,23 +211,54 @@ class logging:
172
211
},
173
212
],
174
213
"type" : "Vec<u8>" ,
175
- }
214
+ },
215
+ "get_subnet_info" : {
216
+ "params" : [
217
+ {
218
+ "name" : "netuid" ,
219
+ "type" : "u16" ,
220
+ },
221
+ ],
222
+ "type" : "Vec<u8>" ,
223
+ },
224
+ "get_subnets_info" : {
225
+ "params" : [],
226
+ "type" : "Vec<u8>" ,
227
+ },
176
228
}
177
229
},
178
230
"SubnetRegistrationRuntimeApi" : {
179
231
"methods" : {"get_network_registration_cost" : {"params" : [], "type" : "u64" }}
180
232
},
181
- "DelegateInfo " : {
233
+ "ColdkeySwapRuntimeApi " : {
182
234
"methods" : {
183
- "get_delegated " : {
235
+ "get_scheduled_coldkey_swap " : {
184
236
"params" : [
185
237
{
186
238
"name" : "coldkey_account_vec" ,
187
239
"type" : "Vec<u8>" ,
188
- }
240
+ },
189
241
],
190
242
"type" : "Vec<u8>" ,
191
- }
243
+ },
244
+ "get_remaining_arbitration_period" : {
245
+ "params" : [
246
+ {
247
+ "name" : "coldkey_account_vec" ,
248
+ "type" : "Vec<u8>" ,
249
+ },
250
+ ],
251
+ "type" : "Vec<u8>" ,
252
+ },
253
+ "get_coldkey_swap_destinations" : {
254
+ "params" : [
255
+ {
256
+ "name" : "coldkey_account_vec" ,
257
+ "type" : "Vec<u8>" ,
258
+ },
259
+ ],
260
+ "type" : "Vec<u8>" ,
261
+ },
192
262
}
193
263
},
194
264
},
You can’t perform that action at this time.
0 commit comments