You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/hackatom/schema/hackatom.json
+9-63
Original file line number
Diff line number
Diff line change
@@ -25,14 +25,22 @@
25
25
"title": "ExecuteMsg",
26
26
"oneOf": [
27
27
{
28
-
"description": "Releasing all funds in the contract to the beneficiary. This is the only \"proper\" action of this demo contract.",
28
+
"description": "Releasing all funds of the given denom in the contract to the beneficiary. This is the only \"proper\" action of this demo contract.",
29
29
"type": "object",
30
30
"required": [
31
31
"release"
32
32
],
33
33
"properties": {
34
34
"release": {
35
35
"type": "object",
36
+
"required": [
37
+
"denom"
38
+
],
39
+
"properties": {
40
+
"denom": {
41
+
"type": "string"
42
+
}
43
+
},
36
44
"additionalProperties": false
37
45
}
38
46
},
@@ -166,28 +174,6 @@
166
174
},
167
175
"additionalProperties": false
168
176
},
169
-
{
170
-
"description": "This returns cosmwasm_std::AllBalanceResponse to demo use of the querier",
171
-
"type": "object",
172
-
"required": [
173
-
"other_balance"
174
-
],
175
-
"properties": {
176
-
"other_balance": {
177
-
"type": "object",
178
-
"required": [
179
-
"address"
180
-
],
181
-
"properties": {
182
-
"address": {
183
-
"type": "string"
184
-
}
185
-
},
186
-
"additionalProperties": false
187
-
}
188
-
},
189
-
"additionalProperties": false
190
-
},
191
177
{
192
178
"description": "Recurse will execute a query into itself up to depth-times and return Each step of the recursion may perform some extra work to test gas metering (`work` rounds of sha256 on contract). Now that we have Env, we can auto-calculate the address to recurse into",
"description": "Returns all non-zero coins held by this account.",
336
-
"type": "array",
337
-
"items": {
338
-
"$ref": "#/definitions/Coin"
339
-
}
340
-
}
341
-
},
342
-
"additionalProperties": false,
343
-
"definitions": {
344
-
"Coin": {
345
-
"type": "object",
346
-
"required": [
347
-
"amount",
348
-
"denom"
349
-
],
350
-
"properties": {
351
-
"amount": {
352
-
"$ref": "#/definitions/Uint128"
353
-
},
354
-
"denom": {
355
-
"type": "string"
356
-
}
357
-
},
358
-
"additionalProperties": false
359
-
},
360
-
"Uint128": {
361
-
"description": "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```",
0 commit comments