@qubic.org/contracts 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__generated__/computorcontrolledfund.d.ts +15 -15
- package/dist/__generated__/computorcontrolledfund.d.ts.map +1 -1
- package/dist/__generated__/computorcontrolledfund.js +34 -34
- package/dist/__generated__/computorcontrolledfund.js.map +1 -1
- package/dist/__generated__/escrow.d.ts +2 -2
- package/dist/__generated__/escrow.js +2 -2
- package/dist/__generated__/generalquorumproposal.d.ts +7 -7
- package/dist/__generated__/generalquorumproposal.js +7 -7
- package/dist/__generated__/msvault.d.ts +68 -68
- package/dist/__generated__/msvault.d.ts.map +1 -1
- package/dist/__generated__/msvault.js +157 -157
- package/dist/__generated__/msvault.js.map +1 -1
- package/dist/__generated__/nostromo.d.ts +10 -10
- package/dist/__generated__/nostromo.d.ts.map +1 -1
- package/dist/__generated__/nostromo.js +10 -10
- package/dist/__generated__/nostromo.js.map +1 -1
- package/dist/__generated__/pulse.d.ts +146 -146
- package/dist/__generated__/pulse.d.ts.map +1 -1
- package/dist/__generated__/pulse.js +415 -415
- package/dist/__generated__/pulse.js.map +1 -1
- package/dist/__generated__/qbay.d.ts +9 -9
- package/dist/__generated__/qbay.d.ts.map +1 -1
- package/dist/__generated__/qbay.js +9 -9
- package/dist/__generated__/qbay.js.map +1 -1
- package/dist/__generated__/qbond.d.ts +16 -16
- package/dist/__generated__/qbond.d.ts.map +1 -1
- package/dist/__generated__/qbond.js +16 -16
- package/dist/__generated__/qbond.js.map +1 -1
- package/dist/__generated__/qduel.d.ts +31 -31
- package/dist/__generated__/qduel.d.ts.map +1 -1
- package/dist/__generated__/qduel.js +75 -75
- package/dist/__generated__/qduel.js.map +1 -1
- package/dist/__generated__/qearn.d.ts +5 -5
- package/dist/__generated__/qearn.d.ts.map +1 -1
- package/dist/__generated__/qearn.js +5 -5
- package/dist/__generated__/qearn.js.map +1 -1
- package/dist/__generated__/qip.d.ts +1 -1
- package/dist/__generated__/qip.js +1 -1
- package/dist/__generated__/qraffle.d.ts +22 -22
- package/dist/__generated__/qraffle.d.ts.map +1 -1
- package/dist/__generated__/qraffle.js +58 -58
- package/dist/__generated__/qraffle.js.map +1 -1
- package/dist/__generated__/qreservepool.d.ts +3 -3
- package/dist/__generated__/qreservepool.js +3 -3
- package/dist/__generated__/qrwa.d.ts +40 -40
- package/dist/__generated__/qrwa.d.ts.map +1 -1
- package/dist/__generated__/qrwa.js +114 -114
- package/dist/__generated__/qrwa.js.map +1 -1
- package/dist/__generated__/qswap.d.ts +47 -47
- package/dist/__generated__/qswap.d.ts.map +1 -1
- package/dist/__generated__/qswap.js +104 -104
- package/dist/__generated__/qswap.js.map +1 -1
- package/dist/__generated__/qthirtyfour.d.ts +58 -58
- package/dist/__generated__/qthirtyfour.d.ts.map +1 -1
- package/dist/__generated__/qthirtyfour.js +133 -133
- package/dist/__generated__/qthirtyfour.js.map +1 -1
- package/dist/__generated__/quottery.d.ts +105 -105
- package/dist/__generated__/quottery.d.ts.map +1 -1
- package/dist/__generated__/quottery.js +240 -240
- package/dist/__generated__/quottery.js.map +1 -1
- package/dist/__generated__/qusino.d.ts +21 -21
- package/dist/__generated__/qusino.d.ts.map +1 -1
- package/dist/__generated__/qusino.js +46 -46
- package/dist/__generated__/qusino.js.map +1 -1
- package/dist/__generated__/qutil.d.ts +76 -76
- package/dist/__generated__/qutil.d.ts.map +1 -1
- package/dist/__generated__/qutil.js +172 -172
- package/dist/__generated__/qutil.js.map +1 -1
- package/dist/__generated__/qvault.d.ts +28 -28
- package/dist/__generated__/qvault.d.ts.map +1 -1
- package/dist/__generated__/qvault.js +28 -28
- package/dist/__generated__/qvault.js.map +1 -1
- package/dist/__generated__/qx.d.ts +12 -12
- package/dist/__generated__/qx.d.ts.map +1 -1
- package/dist/__generated__/qx.js +12 -12
- package/dist/__generated__/qx.js.map +1 -1
- package/dist/__generated__/randomlottery.d.ts +12 -12
- package/dist/__generated__/randomlottery.d.ts.map +1 -1
- package/dist/__generated__/randomlottery.js +12 -12
- package/dist/__generated__/randomlottery.js.map +1 -1
- package/dist/__generated__/vottunbridge.d.ts +58 -58
- package/dist/__generated__/vottunbridge.d.ts.map +1 -1
- package/dist/__generated__/vottunbridge.js +146 -146
- package/dist/__generated__/vottunbridge.js.map +1 -1
- package/package.json +1 -1
|
@@ -72,7 +72,7 @@ const STRUCTS = {
|
|
|
72
72
|
],
|
|
73
73
|
},
|
|
74
74
|
};
|
|
75
|
-
export const PULSE_BUY_TICKET_INPUT_TYPE =
|
|
75
|
+
export const PULSE_BUY_TICKET_INPUT_TYPE = 1;
|
|
76
76
|
const PULSE_BUY_TICKET_INPUT_FIELDS = [
|
|
77
77
|
{
|
|
78
78
|
name: 'digits',
|
|
@@ -98,6 +98,139 @@ const PULSE_BUY_TICKET_OUTPUT_FIELDS = [
|
|
|
98
98
|
export function decodePulseBuyTicketOutput(data) {
|
|
99
99
|
return decodePayload(data, PULSE_BUY_TICKET_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
100
100
|
}
|
|
101
|
+
export const PULSE_SET_PRICE_INPUT_TYPE = 2;
|
|
102
|
+
const PULSE_SET_PRICE_INPUT_FIELDS = [
|
|
103
|
+
{
|
|
104
|
+
name: 'newPrice',
|
|
105
|
+
type: 'uint64',
|
|
106
|
+
offset: 0,
|
|
107
|
+
byteLength: 8,
|
|
108
|
+
},
|
|
109
|
+
];
|
|
110
|
+
export function buildPulseSetPriceInput(input) {
|
|
111
|
+
return { contractIndex: PULSE_CONTRACT_INDEX, inputType: PULSE_SET_PRICE_INPUT_TYPE, payload: buildPayload(PULSE_SET_PRICE_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
112
|
+
}
|
|
113
|
+
const PULSE_SET_PRICE_OUTPUT_FIELDS = [
|
|
114
|
+
{
|
|
115
|
+
name: 'returnCode',
|
|
116
|
+
type: 'uint8',
|
|
117
|
+
offset: 0,
|
|
118
|
+
byteLength: 1,
|
|
119
|
+
},
|
|
120
|
+
];
|
|
121
|
+
export function decodePulseSetPriceOutput(data) {
|
|
122
|
+
return decodePayload(data, PULSE_SET_PRICE_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
123
|
+
}
|
|
124
|
+
export const PULSE_SET_SCHEDULE_INPUT_TYPE = 3;
|
|
125
|
+
const PULSE_SET_SCHEDULE_INPUT_FIELDS = [
|
|
126
|
+
{
|
|
127
|
+
name: 'newSchedule',
|
|
128
|
+
type: 'uint8',
|
|
129
|
+
offset: 0,
|
|
130
|
+
byteLength: 1,
|
|
131
|
+
},
|
|
132
|
+
];
|
|
133
|
+
export function buildPulseSetScheduleInput(input) {
|
|
134
|
+
return { contractIndex: PULSE_CONTRACT_INDEX, inputType: PULSE_SET_SCHEDULE_INPUT_TYPE, payload: buildPayload(PULSE_SET_SCHEDULE_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
135
|
+
}
|
|
136
|
+
const PULSE_SET_SCHEDULE_OUTPUT_FIELDS = [
|
|
137
|
+
{
|
|
138
|
+
name: 'returnCode',
|
|
139
|
+
type: 'uint8',
|
|
140
|
+
offset: 0,
|
|
141
|
+
byteLength: 1,
|
|
142
|
+
},
|
|
143
|
+
];
|
|
144
|
+
export function decodePulseSetScheduleOutput(data) {
|
|
145
|
+
return decodePayload(data, PULSE_SET_SCHEDULE_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
146
|
+
}
|
|
147
|
+
export const PULSE_SET_DRAW_HOUR_INPUT_TYPE = 4;
|
|
148
|
+
const PULSE_SET_DRAW_HOUR_INPUT_FIELDS = [
|
|
149
|
+
{
|
|
150
|
+
name: 'newDrawHour',
|
|
151
|
+
type: 'uint8',
|
|
152
|
+
offset: 0,
|
|
153
|
+
byteLength: 1,
|
|
154
|
+
},
|
|
155
|
+
];
|
|
156
|
+
export function buildPulseSetDrawHourInput(input) {
|
|
157
|
+
return { contractIndex: PULSE_CONTRACT_INDEX, inputType: PULSE_SET_DRAW_HOUR_INPUT_TYPE, payload: buildPayload(PULSE_SET_DRAW_HOUR_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
158
|
+
}
|
|
159
|
+
const PULSE_SET_DRAW_HOUR_OUTPUT_FIELDS = [
|
|
160
|
+
{
|
|
161
|
+
name: 'returnCode',
|
|
162
|
+
type: 'uint8',
|
|
163
|
+
offset: 0,
|
|
164
|
+
byteLength: 1,
|
|
165
|
+
},
|
|
166
|
+
];
|
|
167
|
+
export function decodePulseSetDrawHourOutput(data) {
|
|
168
|
+
return decodePayload(data, PULSE_SET_DRAW_HOUR_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
169
|
+
}
|
|
170
|
+
export const PULSE_SET_FEES_INPUT_TYPE = 5;
|
|
171
|
+
const PULSE_SET_FEES_INPUT_FIELDS = [
|
|
172
|
+
{
|
|
173
|
+
name: 'devPercent',
|
|
174
|
+
type: 'uint8',
|
|
175
|
+
offset: 0,
|
|
176
|
+
byteLength: 1,
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'burnPercent',
|
|
180
|
+
type: 'uint8',
|
|
181
|
+
offset: 1,
|
|
182
|
+
byteLength: 1,
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: 'shareholdersPercent',
|
|
186
|
+
type: 'uint8',
|
|
187
|
+
offset: 2,
|
|
188
|
+
byteLength: 1,
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: 'rlShareholdersPercent',
|
|
192
|
+
type: 'uint8',
|
|
193
|
+
offset: 3,
|
|
194
|
+
byteLength: 1,
|
|
195
|
+
},
|
|
196
|
+
];
|
|
197
|
+
export function buildPulseSetFeesInput(input) {
|
|
198
|
+
return { contractIndex: PULSE_CONTRACT_INDEX, inputType: PULSE_SET_FEES_INPUT_TYPE, payload: buildPayload(PULSE_SET_FEES_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
199
|
+
}
|
|
200
|
+
const PULSE_SET_FEES_OUTPUT_FIELDS = [
|
|
201
|
+
{
|
|
202
|
+
name: 'returnCode',
|
|
203
|
+
type: 'uint8',
|
|
204
|
+
offset: 0,
|
|
205
|
+
byteLength: 1,
|
|
206
|
+
},
|
|
207
|
+
];
|
|
208
|
+
export function decodePulseSetFeesOutput(data) {
|
|
209
|
+
return decodePayload(data, PULSE_SET_FEES_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
210
|
+
}
|
|
211
|
+
export const PULSE_SET_Q_HEART_HOLD_LIMIT_INPUT_TYPE = 6;
|
|
212
|
+
const PULSE_SET_Q_HEART_HOLD_LIMIT_INPUT_FIELDS = [
|
|
213
|
+
{
|
|
214
|
+
name: 'newQHeartHoldLimit',
|
|
215
|
+
type: 'uint64',
|
|
216
|
+
offset: 0,
|
|
217
|
+
byteLength: 8,
|
|
218
|
+
},
|
|
219
|
+
];
|
|
220
|
+
export function buildPulseSetQHeartHoldLimitInput(input) {
|
|
221
|
+
return { contractIndex: PULSE_CONTRACT_INDEX, inputType: PULSE_SET_Q_HEART_HOLD_LIMIT_INPUT_TYPE, payload: buildPayload(PULSE_SET_Q_HEART_HOLD_LIMIT_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
222
|
+
}
|
|
223
|
+
const PULSE_SET_Q_HEART_HOLD_LIMIT_OUTPUT_FIELDS = [
|
|
224
|
+
{
|
|
225
|
+
name: 'returnCode',
|
|
226
|
+
type: 'uint8',
|
|
227
|
+
offset: 0,
|
|
228
|
+
byteLength: 1,
|
|
229
|
+
},
|
|
230
|
+
];
|
|
231
|
+
export function decodePulseSetQHeartHoldLimitOutput(data) {
|
|
232
|
+
return decodePayload(data, PULSE_SET_Q_HEART_HOLD_LIMIT_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
233
|
+
}
|
|
101
234
|
export const PULSE_BUY_RANDOM_TICKETS_INPUT_TYPE = 7;
|
|
102
235
|
const PULSE_BUY_RANDOM_TICKETS_INPUT_FIELDS = [
|
|
103
236
|
{
|
|
@@ -121,7 +254,7 @@ const PULSE_BUY_RANDOM_TICKETS_OUTPUT_FIELDS = [
|
|
|
121
254
|
export function decodePulseBuyRandomTicketsOutput(data) {
|
|
122
255
|
return decodePayload(data, PULSE_BUY_RANDOM_TICKETS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
123
256
|
}
|
|
124
|
-
export const PULSE_DEPOSIT_AUTO_PARTICIPATION_INPUT_TYPE =
|
|
257
|
+
export const PULSE_DEPOSIT_AUTO_PARTICIPATION_INPUT_TYPE = 8;
|
|
125
258
|
const PULSE_DEPOSIT_AUTO_PARTICIPATION_INPUT_FIELDS = [
|
|
126
259
|
{
|
|
127
260
|
name: 'amount',
|
|
@@ -156,7 +289,7 @@ const PULSE_DEPOSIT_AUTO_PARTICIPATION_OUTPUT_FIELDS = [
|
|
|
156
289
|
export function decodePulseDepositAutoParticipationOutput(data) {
|
|
157
290
|
return decodePayload(data, PULSE_DEPOSIT_AUTO_PARTICIPATION_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
158
291
|
}
|
|
159
|
-
export const PULSE_WITHDRAW_AUTO_PARTICIPATION_INPUT_TYPE =
|
|
292
|
+
export const PULSE_WITHDRAW_AUTO_PARTICIPATION_INPUT_TYPE = 9;
|
|
160
293
|
const PULSE_WITHDRAW_AUTO_PARTICIPATION_INPUT_FIELDS = [
|
|
161
294
|
{
|
|
162
295
|
name: 'amount',
|
|
@@ -179,7 +312,7 @@ const PULSE_WITHDRAW_AUTO_PARTICIPATION_OUTPUT_FIELDS = [
|
|
|
179
312
|
export function decodePulseWithdrawAutoParticipationOutput(data) {
|
|
180
313
|
return decodePayload(data, PULSE_WITHDRAW_AUTO_PARTICIPATION_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
181
314
|
}
|
|
182
|
-
export const PULSE_SET_AUTO_CONFIG_INPUT_TYPE =
|
|
315
|
+
export const PULSE_SET_AUTO_CONFIG_INPUT_TYPE = 10;
|
|
183
316
|
const PULSE_SET_AUTO_CONFIG_INPUT_FIELDS = [
|
|
184
317
|
{
|
|
185
318
|
name: 'desiredTickets',
|
|
@@ -202,7 +335,7 @@ const PULSE_SET_AUTO_CONFIG_OUTPUT_FIELDS = [
|
|
|
202
335
|
export function decodePulseSetAutoConfigOutput(data) {
|
|
203
336
|
return decodePayload(data, PULSE_SET_AUTO_CONFIG_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
204
337
|
}
|
|
205
|
-
export const PULSE_SET_AUTO_LIMITS_INPUT_TYPE =
|
|
338
|
+
export const PULSE_SET_AUTO_LIMITS_INPUT_TYPE = 11;
|
|
206
339
|
const PULSE_SET_AUTO_LIMITS_INPUT_FIELDS = [
|
|
207
340
|
{
|
|
208
341
|
name: 'maxTicketsPerUser',
|
|
@@ -225,30 +358,7 @@ const PULSE_SET_AUTO_LIMITS_OUTPUT_FIELDS = [
|
|
|
225
358
|
export function decodePulseSetAutoLimitsOutput(data) {
|
|
226
359
|
return decodePayload(data, PULSE_SET_AUTO_LIMITS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
227
360
|
}
|
|
228
|
-
export const
|
|
229
|
-
const PULSE_DEPOSIT_MANAGED_Q_HEART_INPUT_FIELDS = [
|
|
230
|
-
{
|
|
231
|
-
name: 'amount',
|
|
232
|
-
type: 'sint64',
|
|
233
|
-
offset: 0,
|
|
234
|
-
byteLength: 8,
|
|
235
|
-
},
|
|
236
|
-
];
|
|
237
|
-
export function buildPulseDepositManagedQHeartInput(input) {
|
|
238
|
-
return { contractIndex: PULSE_CONTRACT_INDEX, inputType: PULSE_DEPOSIT_MANAGED_Q_HEART_INPUT_TYPE, payload: buildPayload(PULSE_DEPOSIT_MANAGED_Q_HEART_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
239
|
-
}
|
|
240
|
-
const PULSE_DEPOSIT_MANAGED_Q_HEART_OUTPUT_FIELDS = [
|
|
241
|
-
{
|
|
242
|
-
name: 'returnCode',
|
|
243
|
-
type: 'uint8',
|
|
244
|
-
offset: 0,
|
|
245
|
-
byteLength: 1,
|
|
246
|
-
},
|
|
247
|
-
];
|
|
248
|
-
export function decodePulseDepositManagedQHeartOutput(data) {
|
|
249
|
-
return decodePayload(data, PULSE_DEPOSIT_MANAGED_Q_HEART_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
250
|
-
}
|
|
251
|
-
export const PULSE_TRANSFER_TOKEN_TO_QX_INPUT_TYPE = 16;
|
|
361
|
+
export const PULSE_TRANSFER_TOKEN_TO_QX_INPUT_TYPE = 12;
|
|
252
362
|
const PULSE_TRANSFER_TOKEN_TO_QX_INPUT_FIELDS = [
|
|
253
363
|
{
|
|
254
364
|
name: 'numberOfShares',
|
|
@@ -271,19 +381,19 @@ const PULSE_TRANSFER_TOKEN_TO_QX_OUTPUT_FIELDS = [
|
|
|
271
381
|
export function decodePulseTransferTokenToQxOutput(data) {
|
|
272
382
|
return decodePayload(data, PULSE_TRANSFER_TOKEN_TO_QX_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
273
383
|
}
|
|
274
|
-
export const
|
|
275
|
-
const
|
|
384
|
+
export const PULSE_DEPOSIT_MANAGED_Q_HEART_INPUT_TYPE = 13;
|
|
385
|
+
const PULSE_DEPOSIT_MANAGED_Q_HEART_INPUT_FIELDS = [
|
|
276
386
|
{
|
|
277
|
-
name: '
|
|
278
|
-
type: '
|
|
387
|
+
name: 'amount',
|
|
388
|
+
type: 'sint64',
|
|
279
389
|
offset: 0,
|
|
280
390
|
byteLength: 8,
|
|
281
391
|
},
|
|
282
392
|
];
|
|
283
|
-
export function
|
|
284
|
-
return { contractIndex: PULSE_CONTRACT_INDEX, inputType:
|
|
393
|
+
export function buildPulseDepositManagedQHeartInput(input) {
|
|
394
|
+
return { contractIndex: PULSE_CONTRACT_INDEX, inputType: PULSE_DEPOSIT_MANAGED_Q_HEART_INPUT_TYPE, payload: buildPayload(PULSE_DEPOSIT_MANAGED_Q_HEART_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
285
395
|
}
|
|
286
|
-
const
|
|
396
|
+
const PULSE_DEPOSIT_MANAGED_Q_HEART_OUTPUT_FIELDS = [
|
|
287
397
|
{
|
|
288
398
|
name: 'returnCode',
|
|
289
399
|
type: 'uint8',
|
|
@@ -291,331 +401,159 @@ const PULSE_SET_PRICE_OUTPUT_FIELDS = [
|
|
|
291
401
|
byteLength: 1,
|
|
292
402
|
},
|
|
293
403
|
];
|
|
294
|
-
export function
|
|
295
|
-
return decodePayload(data,
|
|
404
|
+
export function decodePulseDepositManagedQHeartOutput(data) {
|
|
405
|
+
return decodePayload(data, PULSE_DEPOSIT_MANAGED_Q_HEART_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
296
406
|
}
|
|
297
|
-
export const
|
|
298
|
-
const
|
|
407
|
+
export const PULSE_GET_TICKET_PRICE_INPUT_TYPE = 1;
|
|
408
|
+
export const PULSE_GET_TICKET_PRICE_INPUT_SIZE = 0;
|
|
409
|
+
const PULSE_GET_TICKET_PRICE_OUTPUT_FIELDS = [
|
|
299
410
|
{
|
|
300
|
-
name: '
|
|
301
|
-
type: '
|
|
411
|
+
name: 'ticketPrice',
|
|
412
|
+
type: 'uint64',
|
|
302
413
|
offset: 0,
|
|
303
|
-
byteLength:
|
|
414
|
+
byteLength: 8,
|
|
304
415
|
},
|
|
305
416
|
];
|
|
306
|
-
export function
|
|
307
|
-
return
|
|
417
|
+
export function decodePulseGetTicketPriceOutput(data) {
|
|
418
|
+
return decodePayload(data, PULSE_GET_TICKET_PRICE_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
308
419
|
}
|
|
309
|
-
|
|
420
|
+
export async function pulseGetTicketPrice(live, options) {
|
|
421
|
+
return callContractFunction({
|
|
422
|
+
live,
|
|
423
|
+
contractIndex: PULSE_CONTRACT_INDEX,
|
|
424
|
+
inputType: PULSE_GET_TICKET_PRICE_INPUT_TYPE,
|
|
425
|
+
inputSize: PULSE_GET_TICKET_PRICE_INPUT_SIZE,
|
|
426
|
+
inputFields: [],
|
|
427
|
+
outputFields: PULSE_GET_TICKET_PRICE_OUTPUT_FIELDS,
|
|
428
|
+
structs: STRUCTS,
|
|
429
|
+
input: {},
|
|
430
|
+
...options,
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
export const PULSE_GET_PLAYER_BALANCE_INPUT_TYPE = 2;
|
|
434
|
+
export const PULSE_GET_PLAYER_BALANCE_INPUT_SIZE = 32;
|
|
435
|
+
const PULSE_GET_PLAYER_BALANCE_INPUT_FIELDS = [
|
|
310
436
|
{
|
|
311
|
-
name: '
|
|
312
|
-
type: '
|
|
437
|
+
name: 'player',
|
|
438
|
+
type: 'id',
|
|
313
439
|
offset: 0,
|
|
314
|
-
byteLength:
|
|
440
|
+
byteLength: 32,
|
|
315
441
|
},
|
|
316
442
|
];
|
|
317
|
-
export function
|
|
318
|
-
return
|
|
443
|
+
export function buildPulseGetPlayerBalanceInput(input, identityToPublicKey) {
|
|
444
|
+
return buildPayload(PULSE_GET_PLAYER_BALANCE_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
|
|
319
445
|
}
|
|
320
|
-
|
|
321
|
-
const PULSE_SET_DRAW_HOUR_INPUT_FIELDS = [
|
|
446
|
+
const PULSE_GET_PLAYER_BALANCE_OUTPUT_FIELDS = [
|
|
322
447
|
{
|
|
323
|
-
name: '
|
|
324
|
-
type: '
|
|
448
|
+
name: 'balance',
|
|
449
|
+
type: 'uint64',
|
|
325
450
|
offset: 0,
|
|
326
|
-
byteLength:
|
|
451
|
+
byteLength: 8,
|
|
327
452
|
},
|
|
328
|
-
];
|
|
329
|
-
export function buildPulseSetDrawHourInput(input) {
|
|
330
|
-
return { contractIndex: PULSE_CONTRACT_INDEX, inputType: PULSE_SET_DRAW_HOUR_INPUT_TYPE, payload: buildPayload(PULSE_SET_DRAW_HOUR_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
331
|
-
}
|
|
332
|
-
const PULSE_SET_DRAW_HOUR_OUTPUT_FIELDS = [
|
|
333
453
|
{
|
|
334
454
|
name: 'returnCode',
|
|
335
455
|
type: 'uint8',
|
|
336
|
-
offset:
|
|
456
|
+
offset: 8,
|
|
337
457
|
byteLength: 1,
|
|
338
458
|
},
|
|
339
459
|
];
|
|
340
|
-
export function
|
|
341
|
-
return decodePayload(data,
|
|
460
|
+
export function decodePulseGetPlayerBalanceOutput(data) {
|
|
461
|
+
return decodePayload(data, PULSE_GET_PLAYER_BALANCE_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
342
462
|
}
|
|
343
|
-
export
|
|
344
|
-
|
|
463
|
+
export async function pulseGetPlayerBalance(live, input, options) {
|
|
464
|
+
return callContractFunction({
|
|
465
|
+
live,
|
|
466
|
+
contractIndex: PULSE_CONTRACT_INDEX,
|
|
467
|
+
inputType: PULSE_GET_PLAYER_BALANCE_INPUT_TYPE,
|
|
468
|
+
inputSize: PULSE_GET_PLAYER_BALANCE_INPUT_SIZE,
|
|
469
|
+
inputFields: PULSE_GET_PLAYER_BALANCE_INPUT_FIELDS,
|
|
470
|
+
outputFields: PULSE_GET_PLAYER_BALANCE_OUTPUT_FIELDS,
|
|
471
|
+
structs: STRUCTS,
|
|
472
|
+
input: input,
|
|
473
|
+
...options,
|
|
474
|
+
});
|
|
475
|
+
}
|
|
476
|
+
export const PULSE_GET_ROUND_STATE_INPUT_TYPE = 3;
|
|
477
|
+
export const PULSE_GET_ROUND_STATE_INPUT_SIZE = 0;
|
|
478
|
+
const PULSE_GET_ROUND_STATE_OUTPUT_FIELDS = [
|
|
345
479
|
{
|
|
346
|
-
name: '
|
|
347
|
-
type: '
|
|
480
|
+
name: 'epoch',
|
|
481
|
+
type: 'uint32',
|
|
348
482
|
offset: 0,
|
|
349
|
-
byteLength:
|
|
483
|
+
byteLength: 4,
|
|
350
484
|
},
|
|
351
485
|
{
|
|
352
|
-
name: '
|
|
353
|
-
type: '
|
|
354
|
-
offset:
|
|
355
|
-
byteLength:
|
|
486
|
+
name: 'lastDrawDateStamp',
|
|
487
|
+
type: 'uint32',
|
|
488
|
+
offset: 4,
|
|
489
|
+
byteLength: 4,
|
|
356
490
|
},
|
|
357
491
|
{
|
|
358
|
-
name: '
|
|
359
|
-
type: 'uint8',
|
|
360
|
-
offset: 2,
|
|
361
|
-
byteLength: 1,
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
name: 'rlShareholdersPercent',
|
|
365
|
-
type: 'uint8',
|
|
366
|
-
offset: 3,
|
|
367
|
-
byteLength: 1,
|
|
368
|
-
},
|
|
369
|
-
];
|
|
370
|
-
export function buildPulseSetFeesInput(input) {
|
|
371
|
-
return { contractIndex: PULSE_CONTRACT_INDEX, inputType: PULSE_SET_FEES_INPUT_TYPE, payload: buildPayload(PULSE_SET_FEES_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
372
|
-
}
|
|
373
|
-
const PULSE_SET_FEES_OUTPUT_FIELDS = [
|
|
374
|
-
{
|
|
375
|
-
name: 'returnCode',
|
|
376
|
-
type: 'uint8',
|
|
377
|
-
offset: 0,
|
|
378
|
-
byteLength: 1,
|
|
379
|
-
},
|
|
380
|
-
];
|
|
381
|
-
export function decodePulseSetFeesOutput(data) {
|
|
382
|
-
return decodePayload(data, PULSE_SET_FEES_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
383
|
-
}
|
|
384
|
-
export const PULSE_SET_Q_HEART_HOLD_LIMIT_INPUT_TYPE = 33;
|
|
385
|
-
const PULSE_SET_Q_HEART_HOLD_LIMIT_INPUT_FIELDS = [
|
|
386
|
-
{
|
|
387
|
-
name: 'newQHeartHoldLimit',
|
|
388
|
-
type: 'uint64',
|
|
389
|
-
offset: 0,
|
|
390
|
-
byteLength: 8,
|
|
391
|
-
},
|
|
392
|
-
];
|
|
393
|
-
export function buildPulseSetQHeartHoldLimitInput(input) {
|
|
394
|
-
return { contractIndex: PULSE_CONTRACT_INDEX, inputType: PULSE_SET_Q_HEART_HOLD_LIMIT_INPUT_TYPE, payload: buildPayload(PULSE_SET_Q_HEART_HOLD_LIMIT_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32)) };
|
|
395
|
-
}
|
|
396
|
-
const PULSE_SET_Q_HEART_HOLD_LIMIT_OUTPUT_FIELDS = [
|
|
397
|
-
{
|
|
398
|
-
name: 'returnCode',
|
|
399
|
-
type: 'uint8',
|
|
400
|
-
offset: 0,
|
|
401
|
-
byteLength: 1,
|
|
402
|
-
},
|
|
403
|
-
];
|
|
404
|
-
export function decodePulseSetQHeartHoldLimitOutput(data) {
|
|
405
|
-
return decodePayload(data, PULSE_SET_Q_HEART_HOLD_LIMIT_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
406
|
-
}
|
|
407
|
-
export const PULSE_VALIDATE_DIGITS_INPUT_TYPE = 1;
|
|
408
|
-
export const PULSE_VALIDATE_DIGITS_INPUT_SIZE = 0;
|
|
409
|
-
const PULSE_VALIDATE_DIGITS_INPUT_FIELDS = [
|
|
410
|
-
{
|
|
411
|
-
name: 'digits',
|
|
412
|
-
type: 'array',
|
|
413
|
-
offset: 0,
|
|
414
|
-
byteLength: 0,
|
|
415
|
-
arrayLength: 0,
|
|
416
|
-
arrayItemType: 'uint8',
|
|
417
|
-
arrayItemByteLength: 1,
|
|
418
|
-
},
|
|
419
|
-
];
|
|
420
|
-
export function buildPulseValidateDigitsInput(input) {
|
|
421
|
-
return buildPayload(PULSE_VALIDATE_DIGITS_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32));
|
|
422
|
-
}
|
|
423
|
-
const PULSE_VALIDATE_DIGITS_OUTPUT_FIELDS = [
|
|
424
|
-
{
|
|
425
|
-
name: 'isValid',
|
|
426
|
-
type: 'uint8',
|
|
427
|
-
offset: 0,
|
|
428
|
-
byteLength: 1,
|
|
429
|
-
},
|
|
430
|
-
];
|
|
431
|
-
export function decodePulseValidateDigitsOutput(data) {
|
|
432
|
-
return decodePayload(data, PULSE_VALIDATE_DIGITS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
433
|
-
}
|
|
434
|
-
export async function pulseValidateDigits(live, input, options) {
|
|
435
|
-
return callContractFunction({
|
|
436
|
-
live,
|
|
437
|
-
contractIndex: PULSE_CONTRACT_INDEX,
|
|
438
|
-
inputType: PULSE_VALIDATE_DIGITS_INPUT_TYPE,
|
|
439
|
-
inputSize: PULSE_VALIDATE_DIGITS_INPUT_SIZE,
|
|
440
|
-
inputFields: PULSE_VALIDATE_DIGITS_INPUT_FIELDS,
|
|
441
|
-
outputFields: PULSE_VALIDATE_DIGITS_OUTPUT_FIELDS,
|
|
442
|
-
structs: STRUCTS,
|
|
443
|
-
input: input,
|
|
444
|
-
...options,
|
|
445
|
-
});
|
|
446
|
-
}
|
|
447
|
-
export const PULSE_GET_AUTO_PARTICIPATION_INPUT_TYPE = 9;
|
|
448
|
-
export const PULSE_GET_AUTO_PARTICIPATION_INPUT_SIZE = 32;
|
|
449
|
-
const PULSE_GET_AUTO_PARTICIPATION_INPUT_FIELDS = [
|
|
450
|
-
{
|
|
451
|
-
name: 'player',
|
|
452
|
-
type: 'id',
|
|
453
|
-
offset: 0,
|
|
454
|
-
byteLength: 32,
|
|
455
|
-
},
|
|
456
|
-
];
|
|
457
|
-
export function buildPulseGetAutoParticipationInput(input, identityToPublicKey) {
|
|
458
|
-
return buildPayload(PULSE_GET_AUTO_PARTICIPATION_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
|
|
459
|
-
}
|
|
460
|
-
const PULSE_GET_AUTO_PARTICIPATION_OUTPUT_FIELDS = [
|
|
461
|
-
{
|
|
462
|
-
name: 'deposit',
|
|
463
|
-
type: 'uint64',
|
|
464
|
-
offset: 0,
|
|
465
|
-
byteLength: 8,
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
name: 'desiredTickets',
|
|
492
|
+
name: 'ticketCounter',
|
|
469
493
|
type: 'uint16',
|
|
470
494
|
offset: 8,
|
|
471
495
|
byteLength: 2,
|
|
472
496
|
},
|
|
473
497
|
{
|
|
474
|
-
name: '
|
|
475
|
-
type: 'uint8',
|
|
476
|
-
offset: 10,
|
|
477
|
-
byteLength: 1,
|
|
478
|
-
},
|
|
479
|
-
];
|
|
480
|
-
export function decodePulseGetAutoParticipationOutput(data) {
|
|
481
|
-
return decodePayload(data, PULSE_GET_AUTO_PARTICIPATION_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
482
|
-
}
|
|
483
|
-
export async function pulseGetAutoParticipation(live, input, options) {
|
|
484
|
-
return callContractFunction({
|
|
485
|
-
live,
|
|
486
|
-
contractIndex: PULSE_CONTRACT_INDEX,
|
|
487
|
-
inputType: PULSE_GET_AUTO_PARTICIPATION_INPUT_TYPE,
|
|
488
|
-
inputSize: PULSE_GET_AUTO_PARTICIPATION_INPUT_SIZE,
|
|
489
|
-
inputFields: PULSE_GET_AUTO_PARTICIPATION_INPUT_FIELDS,
|
|
490
|
-
outputFields: PULSE_GET_AUTO_PARTICIPATION_OUTPUT_FIELDS,
|
|
491
|
-
structs: STRUCTS,
|
|
492
|
-
input: input,
|
|
493
|
-
...options,
|
|
494
|
-
});
|
|
495
|
-
}
|
|
496
|
-
export const PULSE_GET_AUTO_STATS_INPUT_TYPE = 10;
|
|
497
|
-
export const PULSE_GET_AUTO_STATS_INPUT_SIZE = 0;
|
|
498
|
-
const PULSE_GET_AUTO_STATS_OUTPUT_FIELDS = [
|
|
499
|
-
{
|
|
500
|
-
name: 'participants',
|
|
501
|
-
type: 'array',
|
|
502
|
-
offset: 0,
|
|
503
|
-
byteLength: 0,
|
|
504
|
-
arrayLength: 0,
|
|
505
|
-
arrayItemByteLength: 42,
|
|
506
|
-
arrayItemStructRef: 'AutoParticipant',
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
name: 'maxAutoParticipants',
|
|
510
|
-
type: 'uint16',
|
|
511
|
-
offset: 0,
|
|
512
|
-
byteLength: 2,
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
name: 'maxAutoTicketsPerUser',
|
|
498
|
+
name: 'maxPlayers',
|
|
516
499
|
type: 'uint16',
|
|
517
|
-
offset:
|
|
500
|
+
offset: 10,
|
|
518
501
|
byteLength: 2,
|
|
519
502
|
},
|
|
520
503
|
{
|
|
521
|
-
name: '
|
|
504
|
+
name: 'slotsLeft',
|
|
522
505
|
type: 'uint16',
|
|
523
|
-
offset:
|
|
506
|
+
offset: 12,
|
|
524
507
|
byteLength: 2,
|
|
525
508
|
},
|
|
526
509
|
{
|
|
527
|
-
name: '
|
|
510
|
+
name: 'currentState',
|
|
528
511
|
type: 'uint8',
|
|
529
|
-
offset:
|
|
512
|
+
offset: 14,
|
|
530
513
|
byteLength: 1,
|
|
531
514
|
},
|
|
532
|
-
];
|
|
533
|
-
export function decodePulseGetAutoStatsOutput(data) {
|
|
534
|
-
return decodePayload(data, PULSE_GET_AUTO_STATS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
535
|
-
}
|
|
536
|
-
export async function pulseGetAutoStats(live, options) {
|
|
537
|
-
return callContractFunction({
|
|
538
|
-
live,
|
|
539
|
-
contractIndex: PULSE_CONTRACT_INDEX,
|
|
540
|
-
inputType: PULSE_GET_AUTO_STATS_INPUT_TYPE,
|
|
541
|
-
inputSize: PULSE_GET_AUTO_STATS_INPUT_SIZE,
|
|
542
|
-
inputFields: [],
|
|
543
|
-
outputFields: PULSE_GET_AUTO_STATS_OUTPUT_FIELDS,
|
|
544
|
-
structs: STRUCTS,
|
|
545
|
-
input: {},
|
|
546
|
-
...options,
|
|
547
|
-
});
|
|
548
|
-
}
|
|
549
|
-
export const PULSE_GET_TICKET_PRICE_INPUT_TYPE = 17;
|
|
550
|
-
export const PULSE_GET_TICKET_PRICE_INPUT_SIZE = 0;
|
|
551
|
-
const PULSE_GET_TICKET_PRICE_OUTPUT_FIELDS = [
|
|
552
515
|
{
|
|
553
|
-
name: '
|
|
554
|
-
type: '
|
|
555
|
-
offset:
|
|
556
|
-
byteLength:
|
|
516
|
+
name: 'drawHour',
|
|
517
|
+
type: 'uint8',
|
|
518
|
+
offset: 15,
|
|
519
|
+
byteLength: 1,
|
|
557
520
|
},
|
|
558
|
-
];
|
|
559
|
-
export function decodePulseGetTicketPriceOutput(data) {
|
|
560
|
-
return decodePayload(data, PULSE_GET_TICKET_PRICE_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
561
|
-
}
|
|
562
|
-
export async function pulseGetTicketPrice(live, options) {
|
|
563
|
-
return callContractFunction({
|
|
564
|
-
live,
|
|
565
|
-
contractIndex: PULSE_CONTRACT_INDEX,
|
|
566
|
-
inputType: PULSE_GET_TICKET_PRICE_INPUT_TYPE,
|
|
567
|
-
inputSize: PULSE_GET_TICKET_PRICE_INPUT_SIZE,
|
|
568
|
-
inputFields: [],
|
|
569
|
-
outputFields: PULSE_GET_TICKET_PRICE_OUTPUT_FIELDS,
|
|
570
|
-
structs: STRUCTS,
|
|
571
|
-
input: {},
|
|
572
|
-
...options,
|
|
573
|
-
});
|
|
574
|
-
}
|
|
575
|
-
export const PULSE_GET_PLAYER_BALANCE_INPUT_TYPE = 18;
|
|
576
|
-
export const PULSE_GET_PLAYER_BALANCE_INPUT_SIZE = 32;
|
|
577
|
-
const PULSE_GET_PLAYER_BALANCE_INPUT_FIELDS = [
|
|
578
521
|
{
|
|
579
|
-
name: '
|
|
580
|
-
type: '
|
|
581
|
-
offset:
|
|
582
|
-
byteLength:
|
|
522
|
+
name: 'schedule',
|
|
523
|
+
type: 'uint8',
|
|
524
|
+
offset: 16,
|
|
525
|
+
byteLength: 1,
|
|
583
526
|
},
|
|
584
|
-
];
|
|
585
|
-
export function buildPulseGetPlayerBalanceInput(input, identityToPublicKey) {
|
|
586
|
-
return buildPayload(PULSE_GET_PLAYER_BALANCE_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
|
|
587
|
-
}
|
|
588
|
-
const PULSE_GET_PLAYER_BALANCE_OUTPUT_FIELDS = [
|
|
589
527
|
{
|
|
590
|
-
name: '
|
|
591
|
-
type: '
|
|
592
|
-
offset:
|
|
593
|
-
byteLength:
|
|
528
|
+
name: 'sellingOpen',
|
|
529
|
+
type: 'uint8',
|
|
530
|
+
offset: 17,
|
|
531
|
+
byteLength: 1,
|
|
594
532
|
},
|
|
595
533
|
{
|
|
596
534
|
name: 'returnCode',
|
|
597
535
|
type: 'uint8',
|
|
598
|
-
offset:
|
|
536
|
+
offset: 18,
|
|
599
537
|
byteLength: 1,
|
|
600
538
|
},
|
|
601
539
|
];
|
|
602
|
-
export function
|
|
603
|
-
return decodePayload(data,
|
|
540
|
+
export function decodePulseGetRoundStateOutput(data) {
|
|
541
|
+
return decodePayload(data, PULSE_GET_ROUND_STATE_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
604
542
|
}
|
|
605
|
-
export async function
|
|
543
|
+
export async function pulseGetRoundState(live, options) {
|
|
606
544
|
return callContractFunction({
|
|
607
545
|
live,
|
|
608
546
|
contractIndex: PULSE_CONTRACT_INDEX,
|
|
609
|
-
inputType:
|
|
610
|
-
inputSize:
|
|
611
|
-
inputFields:
|
|
612
|
-
outputFields:
|
|
547
|
+
inputType: PULSE_GET_ROUND_STATE_INPUT_TYPE,
|
|
548
|
+
inputSize: PULSE_GET_ROUND_STATE_INPUT_SIZE,
|
|
549
|
+
inputFields: [],
|
|
550
|
+
outputFields: PULSE_GET_ROUND_STATE_OUTPUT_FIELDS,
|
|
613
551
|
structs: STRUCTS,
|
|
614
|
-
input:
|
|
552
|
+
input: {},
|
|
615
553
|
...options,
|
|
616
554
|
});
|
|
617
555
|
}
|
|
618
|
-
export const PULSE_GET_FEES_INPUT_TYPE =
|
|
556
|
+
export const PULSE_GET_FEES_INPUT_TYPE = 4;
|
|
619
557
|
export const PULSE_GET_FEES_INPUT_SIZE = 0;
|
|
620
558
|
const PULSE_GET_FEES_OUTPUT_FIELDS = [
|
|
621
559
|
{
|
|
@@ -665,7 +603,7 @@ export async function pulseGetFees(live, options) {
|
|
|
665
603
|
...options,
|
|
666
604
|
});
|
|
667
605
|
}
|
|
668
|
-
export const PULSE_GET_Q_HEART_HOLD_LIMIT_INPUT_TYPE =
|
|
606
|
+
export const PULSE_GET_Q_HEART_HOLD_LIMIT_INPUT_TYPE = 5;
|
|
669
607
|
export const PULSE_GET_Q_HEART_HOLD_LIMIT_INPUT_SIZE = 0;
|
|
670
608
|
const PULSE_GET_Q_HEART_HOLD_LIMIT_OUTPUT_FIELDS = [
|
|
671
609
|
{
|
|
@@ -691,7 +629,7 @@ export async function pulseGetQHeartHoldLimit(live, options) {
|
|
|
691
629
|
...options,
|
|
692
630
|
});
|
|
693
631
|
}
|
|
694
|
-
export const PULSE_GET_Q_HEART_WALLET_INPUT_TYPE =
|
|
632
|
+
export const PULSE_GET_Q_HEART_WALLET_INPUT_TYPE = 6;
|
|
695
633
|
export const PULSE_GET_Q_HEART_WALLET_INPUT_SIZE = 0;
|
|
696
634
|
const PULSE_GET_Q_HEART_WALLET_OUTPUT_FIELDS = [
|
|
697
635
|
{
|
|
@@ -717,7 +655,7 @@ export async function pulseGetQHeartWallet(live, options) {
|
|
|
717
655
|
...options,
|
|
718
656
|
});
|
|
719
657
|
}
|
|
720
|
-
export const PULSE_GET_WINNING_DIGITS_INPUT_TYPE =
|
|
658
|
+
export const PULSE_GET_WINNING_DIGITS_INPUT_TYPE = 7;
|
|
721
659
|
export const PULSE_GET_WINNING_DIGITS_INPUT_SIZE = 0;
|
|
722
660
|
const PULSE_GET_WINNING_DIGITS_OUTPUT_FIELDS = [
|
|
723
661
|
{
|
|
@@ -746,7 +684,7 @@ export async function pulseGetWinningDigits(live, options) {
|
|
|
746
684
|
...options,
|
|
747
685
|
});
|
|
748
686
|
}
|
|
749
|
-
export const PULSE_GET_BALANCE_INPUT_TYPE =
|
|
687
|
+
export const PULSE_GET_BALANCE_INPUT_TYPE = 8;
|
|
750
688
|
export const PULSE_GET_BALANCE_INPUT_SIZE = 0;
|
|
751
689
|
const PULSE_GET_BALANCE_OUTPUT_FIELDS = [
|
|
752
690
|
{
|
|
@@ -772,207 +710,269 @@ export async function pulseGetBalance(live, options) {
|
|
|
772
710
|
...options,
|
|
773
711
|
});
|
|
774
712
|
}
|
|
775
|
-
export const
|
|
776
|
-
export const
|
|
777
|
-
const
|
|
713
|
+
export const PULSE_GET_WINNERS_INPUT_TYPE = 9;
|
|
714
|
+
export const PULSE_GET_WINNERS_INPUT_SIZE = 0;
|
|
715
|
+
const PULSE_GET_WINNERS_OUTPUT_FIELDS = [
|
|
778
716
|
{
|
|
779
|
-
name: '
|
|
717
|
+
name: 'winners',
|
|
780
718
|
type: 'array',
|
|
781
719
|
offset: 0,
|
|
782
|
-
byteLength:
|
|
720
|
+
byteLength: 43008,
|
|
783
721
|
arrayLength: 1024,
|
|
784
|
-
arrayItemByteLength:
|
|
785
|
-
arrayItemStructRef: '
|
|
722
|
+
arrayItemByteLength: 42,
|
|
723
|
+
arrayItemStructRef: 'WinnerInfo',
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
name: 'winnersCounter',
|
|
727
|
+
type: 'uint64',
|
|
728
|
+
offset: 43008,
|
|
729
|
+
byteLength: 8,
|
|
786
730
|
},
|
|
787
731
|
{
|
|
788
732
|
name: 'returnCode',
|
|
789
733
|
type: 'uint8',
|
|
790
|
-
offset:
|
|
734
|
+
offset: 43016,
|
|
791
735
|
byteLength: 1,
|
|
792
736
|
},
|
|
793
737
|
];
|
|
794
|
-
export function
|
|
795
|
-
return decodePayload(data,
|
|
738
|
+
export function decodePulseGetWinnersOutput(data) {
|
|
739
|
+
return decodePayload(data, PULSE_GET_WINNERS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
796
740
|
}
|
|
797
|
-
export async function
|
|
741
|
+
export async function pulseGetWinners(live, options) {
|
|
798
742
|
return callContractFunction({
|
|
799
743
|
live,
|
|
800
744
|
contractIndex: PULSE_CONTRACT_INDEX,
|
|
801
|
-
inputType:
|
|
802
|
-
inputSize:
|
|
745
|
+
inputType: PULSE_GET_WINNERS_INPUT_TYPE,
|
|
746
|
+
inputSize: PULSE_GET_WINNERS_INPUT_SIZE,
|
|
803
747
|
inputFields: [],
|
|
804
|
-
outputFields:
|
|
748
|
+
outputFields: PULSE_GET_WINNERS_OUTPUT_FIELDS,
|
|
805
749
|
structs: STRUCTS,
|
|
806
750
|
input: {},
|
|
807
751
|
...options,
|
|
808
752
|
});
|
|
809
753
|
}
|
|
810
|
-
export const
|
|
811
|
-
export const
|
|
812
|
-
const
|
|
813
|
-
{
|
|
814
|
-
name: 'leftAlignedRewards',
|
|
815
|
-
type: 'array',
|
|
816
|
-
offset: 0,
|
|
817
|
-
byteLength: 0,
|
|
818
|
-
arrayLength: 0,
|
|
819
|
-
arrayItemType: 'uint64',
|
|
820
|
-
arrayItemByteLength: 8,
|
|
821
|
-
},
|
|
754
|
+
export const PULSE_GET_AUTO_PARTICIPATION_INPUT_TYPE = 10;
|
|
755
|
+
export const PULSE_GET_AUTO_PARTICIPATION_INPUT_SIZE = 32;
|
|
756
|
+
const PULSE_GET_AUTO_PARTICIPATION_INPUT_FIELDS = [
|
|
822
757
|
{
|
|
823
|
-
name: '
|
|
824
|
-
type: '
|
|
758
|
+
name: 'player',
|
|
759
|
+
type: 'id',
|
|
825
760
|
offset: 0,
|
|
826
|
-
byteLength:
|
|
827
|
-
arrayLength: 0,
|
|
828
|
-
arrayItemType: 'uint64',
|
|
829
|
-
arrayItemByteLength: 8,
|
|
761
|
+
byteLength: 32,
|
|
830
762
|
},
|
|
763
|
+
];
|
|
764
|
+
export function buildPulseGetAutoParticipationInput(input, identityToPublicKey) {
|
|
765
|
+
return buildPayload(PULSE_GET_AUTO_PARTICIPATION_INPUT_FIELDS, STRUCTS, input, identityToPublicKey);
|
|
766
|
+
}
|
|
767
|
+
const PULSE_GET_AUTO_PARTICIPATION_OUTPUT_FIELDS = [
|
|
831
768
|
{
|
|
832
|
-
name: '
|
|
769
|
+
name: 'deposit',
|
|
833
770
|
type: 'uint64',
|
|
834
771
|
offset: 0,
|
|
835
772
|
byteLength: 8,
|
|
836
773
|
},
|
|
774
|
+
{
|
|
775
|
+
name: 'desiredTickets',
|
|
776
|
+
type: 'uint16',
|
|
777
|
+
offset: 8,
|
|
778
|
+
byteLength: 2,
|
|
779
|
+
},
|
|
837
780
|
{
|
|
838
781
|
name: 'returnCode',
|
|
839
782
|
type: 'uint8',
|
|
840
|
-
offset:
|
|
783
|
+
offset: 10,
|
|
841
784
|
byteLength: 1,
|
|
842
785
|
},
|
|
843
786
|
];
|
|
844
|
-
export function
|
|
845
|
-
return decodePayload(data,
|
|
787
|
+
export function decodePulseGetAutoParticipationOutput(data) {
|
|
788
|
+
return decodePayload(data, PULSE_GET_AUTO_PARTICIPATION_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
846
789
|
}
|
|
847
|
-
export async function
|
|
790
|
+
export async function pulseGetAutoParticipation(live, input, options) {
|
|
848
791
|
return callContractFunction({
|
|
849
792
|
live,
|
|
850
793
|
contractIndex: PULSE_CONTRACT_INDEX,
|
|
851
|
-
inputType:
|
|
852
|
-
inputSize:
|
|
853
|
-
inputFields:
|
|
854
|
-
outputFields:
|
|
794
|
+
inputType: PULSE_GET_AUTO_PARTICIPATION_INPUT_TYPE,
|
|
795
|
+
inputSize: PULSE_GET_AUTO_PARTICIPATION_INPUT_SIZE,
|
|
796
|
+
inputFields: PULSE_GET_AUTO_PARTICIPATION_INPUT_FIELDS,
|
|
797
|
+
outputFields: PULSE_GET_AUTO_PARTICIPATION_OUTPUT_FIELDS,
|
|
855
798
|
structs: STRUCTS,
|
|
856
|
-
input:
|
|
799
|
+
input: input,
|
|
857
800
|
...options,
|
|
858
801
|
});
|
|
859
802
|
}
|
|
860
|
-
export const
|
|
861
|
-
export const
|
|
862
|
-
const
|
|
803
|
+
export const PULSE_GET_AUTO_STATS_INPUT_TYPE = 11;
|
|
804
|
+
export const PULSE_GET_AUTO_STATS_INPUT_SIZE = 0;
|
|
805
|
+
const PULSE_GET_AUTO_STATS_OUTPUT_FIELDS = [
|
|
863
806
|
{
|
|
864
|
-
name: '
|
|
865
|
-
type: '
|
|
807
|
+
name: 'participants',
|
|
808
|
+
type: 'array',
|
|
866
809
|
offset: 0,
|
|
867
|
-
byteLength:
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
type: 'uint32',
|
|
872
|
-
offset: 4,
|
|
873
|
-
byteLength: 4,
|
|
810
|
+
byteLength: 0,
|
|
811
|
+
arrayLength: 0,
|
|
812
|
+
arrayItemByteLength: 42,
|
|
813
|
+
arrayItemStructRef: 'AutoParticipant',
|
|
874
814
|
},
|
|
875
815
|
{
|
|
876
|
-
name: '
|
|
816
|
+
name: 'maxAutoParticipants',
|
|
877
817
|
type: 'uint16',
|
|
878
|
-
offset:
|
|
818
|
+
offset: 0,
|
|
879
819
|
byteLength: 2,
|
|
880
820
|
},
|
|
881
821
|
{
|
|
882
|
-
name: '
|
|
822
|
+
name: 'maxAutoTicketsPerUser',
|
|
883
823
|
type: 'uint16',
|
|
884
|
-
offset:
|
|
824
|
+
offset: 2,
|
|
885
825
|
byteLength: 2,
|
|
886
826
|
},
|
|
887
827
|
{
|
|
888
|
-
name: '
|
|
828
|
+
name: 'roundSlotsLeft',
|
|
889
829
|
type: 'uint16',
|
|
890
|
-
offset:
|
|
830
|
+
offset: 4,
|
|
891
831
|
byteLength: 2,
|
|
892
832
|
},
|
|
893
833
|
{
|
|
894
|
-
name: '
|
|
834
|
+
name: 'returnCode',
|
|
895
835
|
type: 'uint8',
|
|
896
|
-
offset:
|
|
836
|
+
offset: 6,
|
|
897
837
|
byteLength: 1,
|
|
898
838
|
},
|
|
839
|
+
];
|
|
840
|
+
export function decodePulseGetAutoStatsOutput(data) {
|
|
841
|
+
return decodePayload(data, PULSE_GET_AUTO_STATS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
842
|
+
}
|
|
843
|
+
export async function pulseGetAutoStats(live, options) {
|
|
844
|
+
return callContractFunction({
|
|
845
|
+
live,
|
|
846
|
+
contractIndex: PULSE_CONTRACT_INDEX,
|
|
847
|
+
inputType: PULSE_GET_AUTO_STATS_INPUT_TYPE,
|
|
848
|
+
inputSize: PULSE_GET_AUTO_STATS_INPUT_SIZE,
|
|
849
|
+
inputFields: [],
|
|
850
|
+
outputFields: PULSE_GET_AUTO_STATS_OUTPUT_FIELDS,
|
|
851
|
+
structs: STRUCTS,
|
|
852
|
+
input: {},
|
|
853
|
+
...options,
|
|
854
|
+
});
|
|
855
|
+
}
|
|
856
|
+
export const PULSE_VALIDATE_DIGITS_INPUT_TYPE = 12;
|
|
857
|
+
export const PULSE_VALIDATE_DIGITS_INPUT_SIZE = 0;
|
|
858
|
+
const PULSE_VALIDATE_DIGITS_INPUT_FIELDS = [
|
|
899
859
|
{
|
|
900
|
-
name: '
|
|
901
|
-
type: '
|
|
902
|
-
offset:
|
|
903
|
-
byteLength:
|
|
860
|
+
name: 'digits',
|
|
861
|
+
type: 'array',
|
|
862
|
+
offset: 0,
|
|
863
|
+
byteLength: 0,
|
|
864
|
+
arrayLength: 0,
|
|
865
|
+
arrayItemType: 'uint8',
|
|
866
|
+
arrayItemByteLength: 1,
|
|
904
867
|
},
|
|
868
|
+
];
|
|
869
|
+
export function buildPulseValidateDigitsInput(input) {
|
|
870
|
+
return buildPayload(PULSE_VALIDATE_DIGITS_INPUT_FIELDS, STRUCTS, input, (_) => new Uint8Array(32));
|
|
871
|
+
}
|
|
872
|
+
const PULSE_VALIDATE_DIGITS_OUTPUT_FIELDS = [
|
|
905
873
|
{
|
|
906
|
-
name: '
|
|
874
|
+
name: 'isValid',
|
|
907
875
|
type: 'uint8',
|
|
908
|
-
offset:
|
|
876
|
+
offset: 0,
|
|
909
877
|
byteLength: 1,
|
|
910
878
|
},
|
|
879
|
+
];
|
|
880
|
+
export function decodePulseValidateDigitsOutput(data) {
|
|
881
|
+
return decodePayload(data, PULSE_VALIDATE_DIGITS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
882
|
+
}
|
|
883
|
+
export async function pulseValidateDigits(live, input, options) {
|
|
884
|
+
return callContractFunction({
|
|
885
|
+
live,
|
|
886
|
+
contractIndex: PULSE_CONTRACT_INDEX,
|
|
887
|
+
inputType: PULSE_VALIDATE_DIGITS_INPUT_TYPE,
|
|
888
|
+
inputSize: PULSE_VALIDATE_DIGITS_INPUT_SIZE,
|
|
889
|
+
inputFields: PULSE_VALIDATE_DIGITS_INPUT_FIELDS,
|
|
890
|
+
outputFields: PULSE_VALIDATE_DIGITS_OUTPUT_FIELDS,
|
|
891
|
+
structs: STRUCTS,
|
|
892
|
+
input: input,
|
|
893
|
+
...options,
|
|
894
|
+
});
|
|
895
|
+
}
|
|
896
|
+
export const PULSE_GET_PLAYERS_INPUT_TYPE = 13;
|
|
897
|
+
export const PULSE_GET_PLAYERS_INPUT_SIZE = 0;
|
|
898
|
+
const PULSE_GET_PLAYERS_OUTPUT_FIELDS = [
|
|
911
899
|
{
|
|
912
|
-
name: '
|
|
913
|
-
type: '
|
|
914
|
-
offset:
|
|
915
|
-
byteLength:
|
|
900
|
+
name: 'players',
|
|
901
|
+
type: 'array',
|
|
902
|
+
offset: 0,
|
|
903
|
+
byteLength: 32768,
|
|
904
|
+
arrayLength: 1024,
|
|
905
|
+
arrayItemByteLength: 32,
|
|
906
|
+
arrayItemStructRef: 'Ticket',
|
|
916
907
|
},
|
|
917
908
|
{
|
|
918
909
|
name: 'returnCode',
|
|
919
910
|
type: 'uint8',
|
|
920
|
-
offset:
|
|
911
|
+
offset: 32768,
|
|
921
912
|
byteLength: 1,
|
|
922
913
|
},
|
|
923
914
|
];
|
|
924
|
-
export function
|
|
925
|
-
return decodePayload(data,
|
|
915
|
+
export function decodePulseGetPlayersOutput(data) {
|
|
916
|
+
return decodePayload(data, PULSE_GET_PLAYERS_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
926
917
|
}
|
|
927
|
-
export async function
|
|
918
|
+
export async function pulseGetPlayers(live, options) {
|
|
928
919
|
return callContractFunction({
|
|
929
920
|
live,
|
|
930
921
|
contractIndex: PULSE_CONTRACT_INDEX,
|
|
931
|
-
inputType:
|
|
932
|
-
inputSize:
|
|
922
|
+
inputType: PULSE_GET_PLAYERS_INPUT_TYPE,
|
|
923
|
+
inputSize: PULSE_GET_PLAYERS_INPUT_SIZE,
|
|
933
924
|
inputFields: [],
|
|
934
|
-
outputFields:
|
|
925
|
+
outputFields: PULSE_GET_PLAYERS_OUTPUT_FIELDS,
|
|
935
926
|
structs: STRUCTS,
|
|
936
927
|
input: {},
|
|
937
928
|
...options,
|
|
938
929
|
});
|
|
939
930
|
}
|
|
940
|
-
export const
|
|
941
|
-
export const
|
|
942
|
-
const
|
|
931
|
+
export const PULSE_GET_PRIZE_TABLE_INPUT_TYPE = 14;
|
|
932
|
+
export const PULSE_GET_PRIZE_TABLE_INPUT_SIZE = 0;
|
|
933
|
+
const PULSE_GET_PRIZE_TABLE_OUTPUT_FIELDS = [
|
|
943
934
|
{
|
|
944
|
-
name: '
|
|
935
|
+
name: 'leftAlignedRewards',
|
|
945
936
|
type: 'array',
|
|
946
937
|
offset: 0,
|
|
947
|
-
byteLength:
|
|
948
|
-
arrayLength:
|
|
949
|
-
|
|
950
|
-
|
|
938
|
+
byteLength: 0,
|
|
939
|
+
arrayLength: 0,
|
|
940
|
+
arrayItemType: 'uint64',
|
|
941
|
+
arrayItemByteLength: 8,
|
|
951
942
|
},
|
|
952
943
|
{
|
|
953
|
-
name: '
|
|
944
|
+
name: 'anyPositionRewards',
|
|
945
|
+
type: 'array',
|
|
946
|
+
offset: 0,
|
|
947
|
+
byteLength: 0,
|
|
948
|
+
arrayLength: 0,
|
|
949
|
+
arrayItemType: 'uint64',
|
|
950
|
+
arrayItemByteLength: 8,
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
name: 'ticketPrice',
|
|
954
954
|
type: 'uint64',
|
|
955
|
-
offset:
|
|
955
|
+
offset: 0,
|
|
956
956
|
byteLength: 8,
|
|
957
957
|
},
|
|
958
958
|
{
|
|
959
959
|
name: 'returnCode',
|
|
960
960
|
type: 'uint8',
|
|
961
|
-
offset:
|
|
961
|
+
offset: 8,
|
|
962
962
|
byteLength: 1,
|
|
963
963
|
},
|
|
964
964
|
];
|
|
965
|
-
export function
|
|
966
|
-
return decodePayload(data,
|
|
965
|
+
export function decodePulseGetPrizeTableOutput(data) {
|
|
966
|
+
return decodePayload(data, PULSE_GET_PRIZE_TABLE_OUTPUT_FIELDS, STRUCTS, (_pk) => 'A'.repeat(60));
|
|
967
967
|
}
|
|
968
|
-
export async function
|
|
968
|
+
export async function pulseGetPrizeTable(live, options) {
|
|
969
969
|
return callContractFunction({
|
|
970
970
|
live,
|
|
971
971
|
contractIndex: PULSE_CONTRACT_INDEX,
|
|
972
|
-
inputType:
|
|
973
|
-
inputSize:
|
|
972
|
+
inputType: PULSE_GET_PRIZE_TABLE_INPUT_TYPE,
|
|
973
|
+
inputSize: PULSE_GET_PRIZE_TABLE_INPUT_SIZE,
|
|
974
974
|
inputFields: [],
|
|
975
|
-
outputFields:
|
|
975
|
+
outputFields: PULSE_GET_PRIZE_TABLE_OUTPUT_FIELDS,
|
|
976
976
|
structs: STRUCTS,
|
|
977
977
|
input: {},
|
|
978
978
|
...options,
|
|
@@ -980,22 +980,32 @@ export async function pulseGetWinners(live, options) {
|
|
|
980
980
|
}
|
|
981
981
|
export const pulse = {
|
|
982
982
|
contractIndex: PULSE_CONTRACT_INDEX,
|
|
983
|
-
ValidateDigits: pulseValidateDigits,
|
|
984
|
-
GetAutoParticipation: pulseGetAutoParticipation,
|
|
985
|
-
GetAutoStats: pulseGetAutoStats,
|
|
986
983
|
GetTicketPrice: pulseGetTicketPrice,
|
|
987
984
|
GetPlayerBalance: pulseGetPlayerBalance,
|
|
985
|
+
GetRoundState: pulseGetRoundState,
|
|
988
986
|
GetFees: pulseGetFees,
|
|
989
987
|
GetQHeartHoldLimit: pulseGetQHeartHoldLimit,
|
|
990
988
|
GetQHeartWallet: pulseGetQHeartWallet,
|
|
991
989
|
GetWinningDigits: pulseGetWinningDigits,
|
|
992
990
|
GetBalance: pulseGetBalance,
|
|
991
|
+
GetWinners: pulseGetWinners,
|
|
992
|
+
GetAutoParticipation: pulseGetAutoParticipation,
|
|
993
|
+
GetAutoStats: pulseGetAutoStats,
|
|
994
|
+
ValidateDigits: pulseValidateDigits,
|
|
993
995
|
GetPlayers: pulseGetPlayers,
|
|
994
996
|
GetPrizeTable: pulseGetPrizeTable,
|
|
995
|
-
GetRoundState: pulseGetRoundState,
|
|
996
|
-
GetWinners: pulseGetWinners,
|
|
997
997
|
buildBuyTicketInput: buildPulseBuyTicketInput,
|
|
998
998
|
decodeBuyTicketOutput: decodePulseBuyTicketOutput,
|
|
999
|
+
buildSetPriceInput: buildPulseSetPriceInput,
|
|
1000
|
+
decodeSetPriceOutput: decodePulseSetPriceOutput,
|
|
1001
|
+
buildSetScheduleInput: buildPulseSetScheduleInput,
|
|
1002
|
+
decodeSetScheduleOutput: decodePulseSetScheduleOutput,
|
|
1003
|
+
buildSetDrawHourInput: buildPulseSetDrawHourInput,
|
|
1004
|
+
decodeSetDrawHourOutput: decodePulseSetDrawHourOutput,
|
|
1005
|
+
buildSetFeesInput: buildPulseSetFeesInput,
|
|
1006
|
+
decodeSetFeesOutput: decodePulseSetFeesOutput,
|
|
1007
|
+
buildSetQHeartHoldLimitInput: buildPulseSetQHeartHoldLimitInput,
|
|
1008
|
+
decodeSetQHeartHoldLimitOutput: decodePulseSetQHeartHoldLimitOutput,
|
|
999
1009
|
buildBuyRandomTicketsInput: buildPulseBuyRandomTicketsInput,
|
|
1000
1010
|
decodeBuyRandomTicketsOutput: decodePulseBuyRandomTicketsOutput,
|
|
1001
1011
|
buildDepositAutoParticipationInput: buildPulseDepositAutoParticipationInput,
|
|
@@ -1006,19 +1016,9 @@ export const pulse = {
|
|
|
1006
1016
|
decodeSetAutoConfigOutput: decodePulseSetAutoConfigOutput,
|
|
1007
1017
|
buildSetAutoLimitsInput: buildPulseSetAutoLimitsInput,
|
|
1008
1018
|
decodeSetAutoLimitsOutput: decodePulseSetAutoLimitsOutput,
|
|
1009
|
-
buildDepositManagedQHeartInput: buildPulseDepositManagedQHeartInput,
|
|
1010
|
-
decodeDepositManagedQHeartOutput: decodePulseDepositManagedQHeartOutput,
|
|
1011
1019
|
buildTransferTokenToQxInput: buildPulseTransferTokenToQxInput,
|
|
1012
1020
|
decodeTransferTokenToQxOutput: decodePulseTransferTokenToQxOutput,
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
buildSetScheduleInput: buildPulseSetScheduleInput,
|
|
1016
|
-
decodeSetScheduleOutput: decodePulseSetScheduleOutput,
|
|
1017
|
-
buildSetDrawHourInput: buildPulseSetDrawHourInput,
|
|
1018
|
-
decodeSetDrawHourOutput: decodePulseSetDrawHourOutput,
|
|
1019
|
-
buildSetFeesInput: buildPulseSetFeesInput,
|
|
1020
|
-
decodeSetFeesOutput: decodePulseSetFeesOutput,
|
|
1021
|
-
buildSetQHeartHoldLimitInput: buildPulseSetQHeartHoldLimitInput,
|
|
1022
|
-
decodeSetQHeartHoldLimitOutput: decodePulseSetQHeartHoldLimitOutput,
|
|
1021
|
+
buildDepositManagedQHeartInput: buildPulseDepositManagedQHeartInput,
|
|
1022
|
+
decodeDepositManagedQHeartOutput: decodePulseDepositManagedQHeartOutput,
|
|
1023
1023
|
};
|
|
1024
1024
|
//# sourceMappingURL=pulse.js.map
|