everscale-client-ruby 1.1.65 → 1.1.67
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a93d4d2771a7f64d20927ef24560fbf4e0482e1da7a532f227181928ac8e2e9a
|
4
|
+
data.tar.gz: 168976d23c879bdf4552a7fd5219363b9e4900fed0c2705b4a2f44367ae11054
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 287e70350537f467821366f4f19fd708278f408d924eaeca8673c6c20d86b2e623457c032a2414270f310038d2c93caa427bf53aa1a550f62c3b34e6fc8db68c
|
7
|
+
data.tar.gz: 0ea70b0ccad423715a71260b4c7e19619e6e163cad6900fbffb5fc020f86bed3def606b3e7df71bee5f2140d2bd1c50e0af0b55b2638406925b3a7a2cdc16640
|
data/lib/code_generator/api.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "1.
|
2
|
+
"version": "1.42.1",
|
3
3
|
"modules": [
|
4
4
|
{
|
5
5
|
"name": "client",
|
@@ -537,7 +537,7 @@
|
|
537
537
|
"number_size": 32
|
538
538
|
},
|
539
539
|
"summary": "UNSTABLE.",
|
540
|
-
"description": "First REMP status awaiting timeout. If no status received during the timeout than fallback transaction scenario is activated.\n\nMust be specified in milliseconds. Default is
|
540
|
+
"description": "First REMP status awaiting timeout. If no status received during the timeout than fallback transaction scenario is activated.\n\nMust be specified in milliseconds. Default is 1 (1 ms) in order to start fallback scenario\ntogether with REMP statuses processing while REMP is not properly tuned yet."
|
541
541
|
},
|
542
542
|
{
|
543
543
|
"name": "next_remp_status_timeout",
|
@@ -10175,6 +10175,427 @@
|
|
10175
10175
|
"summary": null,
|
10176
10176
|
"description": null
|
10177
10177
|
},
|
10178
|
+
{
|
10179
|
+
"name": "MessageMonitoringTransactionCompute",
|
10180
|
+
"type": "Struct",
|
10181
|
+
"struct_fields": [
|
10182
|
+
{
|
10183
|
+
"name": "exit_code",
|
10184
|
+
"type": "Number",
|
10185
|
+
"number_type": "Int",
|
10186
|
+
"number_size": 32,
|
10187
|
+
"summary": "Compute phase exit code.",
|
10188
|
+
"description": null
|
10189
|
+
}
|
10190
|
+
],
|
10191
|
+
"summary": null,
|
10192
|
+
"description": null
|
10193
|
+
},
|
10194
|
+
{
|
10195
|
+
"name": "MessageMonitoringTransaction",
|
10196
|
+
"type": "Struct",
|
10197
|
+
"struct_fields": [
|
10198
|
+
{
|
10199
|
+
"name": "hash",
|
10200
|
+
"type": "Optional",
|
10201
|
+
"optional_inner": {
|
10202
|
+
"type": "String"
|
10203
|
+
},
|
10204
|
+
"summary": "Hash of the transaction. Present if transaction was included into the blocks. When then transaction was emulated this field will be missing.",
|
10205
|
+
"description": null
|
10206
|
+
},
|
10207
|
+
{
|
10208
|
+
"name": "aborted",
|
10209
|
+
"type": "Boolean",
|
10210
|
+
"summary": "Aborted field of the transaction.",
|
10211
|
+
"description": null
|
10212
|
+
},
|
10213
|
+
{
|
10214
|
+
"name": "compute",
|
10215
|
+
"type": "Optional",
|
10216
|
+
"optional_inner": {
|
10217
|
+
"type": "Ref",
|
10218
|
+
"ref_name": "processing.MessageMonitoringTransactionCompute"
|
10219
|
+
},
|
10220
|
+
"summary": "Optional information about the compute phase of the transaction.",
|
10221
|
+
"description": null
|
10222
|
+
}
|
10223
|
+
],
|
10224
|
+
"summary": null,
|
10225
|
+
"description": null
|
10226
|
+
},
|
10227
|
+
{
|
10228
|
+
"name": "MessageMonitoringParams",
|
10229
|
+
"type": "Struct",
|
10230
|
+
"struct_fields": [
|
10231
|
+
{
|
10232
|
+
"name": "message",
|
10233
|
+
"type": "Ref",
|
10234
|
+
"ref_name": "processing.MonitoredMessage",
|
10235
|
+
"summary": "Monitored message identification. Can be provided as a message's BOC or (hash, address) pair. BOC is a preferable way because it helps to determine possible error reason (using TVM execution of the message).",
|
10236
|
+
"description": null
|
10237
|
+
},
|
10238
|
+
{
|
10239
|
+
"name": "wait_until",
|
10240
|
+
"type": "Number",
|
10241
|
+
"number_type": "UInt",
|
10242
|
+
"number_size": 32,
|
10243
|
+
"summary": "Block time Must be specified as a UNIX timestamp in seconds",
|
10244
|
+
"description": null
|
10245
|
+
},
|
10246
|
+
{
|
10247
|
+
"name": "user_data",
|
10248
|
+
"type": "Optional",
|
10249
|
+
"optional_inner": {
|
10250
|
+
"type": "Ref",
|
10251
|
+
"ref_name": "Value"
|
10252
|
+
},
|
10253
|
+
"summary": "User defined data associated with this message. Helps to identify this message when user received `MessageMonitoringResult`.",
|
10254
|
+
"description": null
|
10255
|
+
}
|
10256
|
+
],
|
10257
|
+
"summary": null,
|
10258
|
+
"description": null
|
10259
|
+
},
|
10260
|
+
{
|
10261
|
+
"name": "MessageMonitoringResult",
|
10262
|
+
"type": "Struct",
|
10263
|
+
"struct_fields": [
|
10264
|
+
{
|
10265
|
+
"name": "hash",
|
10266
|
+
"type": "String",
|
10267
|
+
"summary": "Hash of the message.",
|
10268
|
+
"description": null
|
10269
|
+
},
|
10270
|
+
{
|
10271
|
+
"name": "status",
|
10272
|
+
"type": "Ref",
|
10273
|
+
"ref_name": "processing.MessageMonitoringStatus",
|
10274
|
+
"summary": "Processing status.",
|
10275
|
+
"description": null
|
10276
|
+
},
|
10277
|
+
{
|
10278
|
+
"name": "transaction",
|
10279
|
+
"type": "Optional",
|
10280
|
+
"optional_inner": {
|
10281
|
+
"type": "Ref",
|
10282
|
+
"ref_name": "processing.MessageMonitoringTransaction"
|
10283
|
+
},
|
10284
|
+
"summary": "In case of `Finalized` the transaction is extracted from the block. In case of `Timeout` the transaction is emulated using the last known account state.",
|
10285
|
+
"description": null
|
10286
|
+
},
|
10287
|
+
{
|
10288
|
+
"name": "error",
|
10289
|
+
"type": "Optional",
|
10290
|
+
"optional_inner": {
|
10291
|
+
"type": "String"
|
10292
|
+
},
|
10293
|
+
"summary": "In case of `Timeout` contains possible error reason.",
|
10294
|
+
"description": null
|
10295
|
+
},
|
10296
|
+
{
|
10297
|
+
"name": "user_data",
|
10298
|
+
"type": "Optional",
|
10299
|
+
"optional_inner": {
|
10300
|
+
"type": "Ref",
|
10301
|
+
"ref_name": "Value"
|
10302
|
+
},
|
10303
|
+
"summary": "User defined data related to this message. This is the same value as passed before with `MessageMonitoringParams` or `SendMessageParams`.",
|
10304
|
+
"description": null
|
10305
|
+
}
|
10306
|
+
],
|
10307
|
+
"summary": null,
|
10308
|
+
"description": null
|
10309
|
+
},
|
10310
|
+
{
|
10311
|
+
"name": "MonitorFetchWaitMode",
|
10312
|
+
"type": "EnumOfConsts",
|
10313
|
+
"enum_consts": [
|
10314
|
+
{
|
10315
|
+
"name": "AtLeastOne",
|
10316
|
+
"type": "None",
|
10317
|
+
"summary": "If there are no resolved results yet, then monitor awaits for the next resolved result.",
|
10318
|
+
"description": null
|
10319
|
+
},
|
10320
|
+
{
|
10321
|
+
"name": "All",
|
10322
|
+
"type": "None",
|
10323
|
+
"summary": "Monitor waits until all unresolved messages will be resolved. If there are no unresolved messages then monitor will wait.",
|
10324
|
+
"description": null
|
10325
|
+
},
|
10326
|
+
{
|
10327
|
+
"name": "NoWait",
|
10328
|
+
"type": "None",
|
10329
|
+
"summary": null,
|
10330
|
+
"description": null
|
10331
|
+
}
|
10332
|
+
],
|
10333
|
+
"summary": null,
|
10334
|
+
"description": null
|
10335
|
+
},
|
10336
|
+
{
|
10337
|
+
"name": "MonitoredMessage",
|
10338
|
+
"type": "EnumOfTypes",
|
10339
|
+
"enum_types": [
|
10340
|
+
{
|
10341
|
+
"name": "Boc",
|
10342
|
+
"type": "Struct",
|
10343
|
+
"struct_fields": [
|
10344
|
+
{
|
10345
|
+
"name": "boc",
|
10346
|
+
"type": "String",
|
10347
|
+
"summary": null,
|
10348
|
+
"description": null
|
10349
|
+
}
|
10350
|
+
],
|
10351
|
+
"summary": "BOC of the message.",
|
10352
|
+
"description": null
|
10353
|
+
},
|
10354
|
+
{
|
10355
|
+
"name": "HashAddress",
|
10356
|
+
"type": "Struct",
|
10357
|
+
"struct_fields": [
|
10358
|
+
{
|
10359
|
+
"name": "hash",
|
10360
|
+
"type": "String",
|
10361
|
+
"summary": "Hash of the message.",
|
10362
|
+
"description": null
|
10363
|
+
},
|
10364
|
+
{
|
10365
|
+
"name": "address",
|
10366
|
+
"type": "String",
|
10367
|
+
"summary": "Destination address of the message.",
|
10368
|
+
"description": null
|
10369
|
+
}
|
10370
|
+
],
|
10371
|
+
"summary": "Message's hash and destination address.",
|
10372
|
+
"description": null
|
10373
|
+
}
|
10374
|
+
],
|
10375
|
+
"summary": null,
|
10376
|
+
"description": null
|
10377
|
+
},
|
10378
|
+
{
|
10379
|
+
"name": "MessageMonitoringStatus",
|
10380
|
+
"type": "EnumOfConsts",
|
10381
|
+
"enum_consts": [
|
10382
|
+
{
|
10383
|
+
"name": "Finalized",
|
10384
|
+
"type": "None",
|
10385
|
+
"summary": "Returned when the messages was processed and included into finalized block before `wait_until` block time.",
|
10386
|
+
"description": null
|
10387
|
+
},
|
10388
|
+
{
|
10389
|
+
"name": "Timeout",
|
10390
|
+
"type": "None",
|
10391
|
+
"summary": "Returned when the message was not processed until `wait_until` block time.",
|
10392
|
+
"description": null
|
10393
|
+
},
|
10394
|
+
{
|
10395
|
+
"name": "Reserved",
|
10396
|
+
"type": "None",
|
10397
|
+
"summary": "Reserved for future statuses.",
|
10398
|
+
"description": "Is never returned. Application should wait for one of the `Finalized` or `Timeout` statuses.\nAll other statuses are intermediate."
|
10399
|
+
}
|
10400
|
+
],
|
10401
|
+
"summary": null,
|
10402
|
+
"description": null
|
10403
|
+
},
|
10404
|
+
{
|
10405
|
+
"name": "MessageSendingParams",
|
10406
|
+
"type": "Struct",
|
10407
|
+
"struct_fields": [
|
10408
|
+
{
|
10409
|
+
"name": "boc",
|
10410
|
+
"type": "String",
|
10411
|
+
"summary": "BOC of the message, that must be sent to the blockchain.",
|
10412
|
+
"description": null
|
10413
|
+
},
|
10414
|
+
{
|
10415
|
+
"name": "wait_until",
|
10416
|
+
"type": "Number",
|
10417
|
+
"number_type": "UInt",
|
10418
|
+
"number_size": 32,
|
10419
|
+
"summary": "Expiration time of the message. Must be specified as a UNIX timestamp in seconds.",
|
10420
|
+
"description": null
|
10421
|
+
},
|
10422
|
+
{
|
10423
|
+
"name": "user_data",
|
10424
|
+
"type": "Optional",
|
10425
|
+
"optional_inner": {
|
10426
|
+
"type": "Ref",
|
10427
|
+
"ref_name": "Value"
|
10428
|
+
},
|
10429
|
+
"summary": "User defined data associated with this message. Helps to identify this message when user received `MessageMonitoringResult`.",
|
10430
|
+
"description": null
|
10431
|
+
}
|
10432
|
+
],
|
10433
|
+
"summary": null,
|
10434
|
+
"description": null
|
10435
|
+
},
|
10436
|
+
{
|
10437
|
+
"name": "ParamsOfMonitorMessages",
|
10438
|
+
"type": "Struct",
|
10439
|
+
"struct_fields": [
|
10440
|
+
{
|
10441
|
+
"name": "queue",
|
10442
|
+
"type": "String",
|
10443
|
+
"summary": "Name of the monitoring queue.",
|
10444
|
+
"description": null
|
10445
|
+
},
|
10446
|
+
{
|
10447
|
+
"name": "messages",
|
10448
|
+
"type": "Array",
|
10449
|
+
"array_item": {
|
10450
|
+
"type": "Ref",
|
10451
|
+
"ref_name": "processing.MessageMonitoringParams"
|
10452
|
+
},
|
10453
|
+
"summary": "Messages to start monitoring for.",
|
10454
|
+
"description": null
|
10455
|
+
}
|
10456
|
+
],
|
10457
|
+
"summary": null,
|
10458
|
+
"description": null
|
10459
|
+
},
|
10460
|
+
{
|
10461
|
+
"name": "ParamsOfGetMonitorInfo",
|
10462
|
+
"type": "Struct",
|
10463
|
+
"struct_fields": [
|
10464
|
+
{
|
10465
|
+
"name": "queue",
|
10466
|
+
"type": "String",
|
10467
|
+
"summary": "Name of the monitoring queue.",
|
10468
|
+
"description": null
|
10469
|
+
}
|
10470
|
+
],
|
10471
|
+
"summary": null,
|
10472
|
+
"description": null
|
10473
|
+
},
|
10474
|
+
{
|
10475
|
+
"name": "MonitoringQueueInfo",
|
10476
|
+
"type": "Struct",
|
10477
|
+
"struct_fields": [
|
10478
|
+
{
|
10479
|
+
"name": "unresolved",
|
10480
|
+
"type": "Number",
|
10481
|
+
"number_type": "UInt",
|
10482
|
+
"number_size": 32,
|
10483
|
+
"summary": "Count of the unresolved messages.",
|
10484
|
+
"description": null
|
10485
|
+
},
|
10486
|
+
{
|
10487
|
+
"name": "resolved",
|
10488
|
+
"type": "Number",
|
10489
|
+
"number_type": "UInt",
|
10490
|
+
"number_size": 32,
|
10491
|
+
"summary": "Count of resolved results.",
|
10492
|
+
"description": null
|
10493
|
+
}
|
10494
|
+
],
|
10495
|
+
"summary": null,
|
10496
|
+
"description": null
|
10497
|
+
},
|
10498
|
+
{
|
10499
|
+
"name": "ParamsOfFetchNextMonitorResults",
|
10500
|
+
"type": "Struct",
|
10501
|
+
"struct_fields": [
|
10502
|
+
{
|
10503
|
+
"name": "queue",
|
10504
|
+
"type": "String",
|
10505
|
+
"summary": "Name of the monitoring queue.",
|
10506
|
+
"description": null
|
10507
|
+
},
|
10508
|
+
{
|
10509
|
+
"name": "wait_mode",
|
10510
|
+
"type": "Optional",
|
10511
|
+
"optional_inner": {
|
10512
|
+
"type": "Ref",
|
10513
|
+
"ref_name": "processing.MonitorFetchWaitMode"
|
10514
|
+
},
|
10515
|
+
"summary": "Wait mode.",
|
10516
|
+
"description": "Default is `NO_WAIT`."
|
10517
|
+
}
|
10518
|
+
],
|
10519
|
+
"summary": null,
|
10520
|
+
"description": null
|
10521
|
+
},
|
10522
|
+
{
|
10523
|
+
"name": "ResultOfFetchNextMonitorResults",
|
10524
|
+
"type": "Struct",
|
10525
|
+
"struct_fields": [
|
10526
|
+
{
|
10527
|
+
"name": "results",
|
10528
|
+
"type": "Array",
|
10529
|
+
"array_item": {
|
10530
|
+
"type": "Ref",
|
10531
|
+
"ref_name": "processing.MessageMonitoringResult"
|
10532
|
+
},
|
10533
|
+
"summary": "List of the resolved results.",
|
10534
|
+
"description": null
|
10535
|
+
}
|
10536
|
+
],
|
10537
|
+
"summary": null,
|
10538
|
+
"description": null
|
10539
|
+
},
|
10540
|
+
{
|
10541
|
+
"name": "ParamsOfCancelMonitor",
|
10542
|
+
"type": "Struct",
|
10543
|
+
"struct_fields": [
|
10544
|
+
{
|
10545
|
+
"name": "queue",
|
10546
|
+
"type": "String",
|
10547
|
+
"summary": "Name of the monitoring queue.",
|
10548
|
+
"description": null
|
10549
|
+
}
|
10550
|
+
],
|
10551
|
+
"summary": null,
|
10552
|
+
"description": null
|
10553
|
+
},
|
10554
|
+
{
|
10555
|
+
"name": "ParamsOfSendMessages",
|
10556
|
+
"type": "Struct",
|
10557
|
+
"struct_fields": [
|
10558
|
+
{
|
10559
|
+
"name": "messages",
|
10560
|
+
"type": "Array",
|
10561
|
+
"array_item": {
|
10562
|
+
"type": "Ref",
|
10563
|
+
"ref_name": "processing.MessageSendingParams"
|
10564
|
+
},
|
10565
|
+
"summary": "Messages that must be sent to the blockchain.",
|
10566
|
+
"description": null
|
10567
|
+
},
|
10568
|
+
{
|
10569
|
+
"name": "monitor_queue",
|
10570
|
+
"type": "Optional",
|
10571
|
+
"optional_inner": {
|
10572
|
+
"type": "String"
|
10573
|
+
},
|
10574
|
+
"summary": "Optional message monitor queue that starts monitoring for the processing results for sent messages.",
|
10575
|
+
"description": null
|
10576
|
+
}
|
10577
|
+
],
|
10578
|
+
"summary": null,
|
10579
|
+
"description": null
|
10580
|
+
},
|
10581
|
+
{
|
10582
|
+
"name": "ResultOfSendMessages",
|
10583
|
+
"type": "Struct",
|
10584
|
+
"struct_fields": [
|
10585
|
+
{
|
10586
|
+
"name": "messages",
|
10587
|
+
"type": "Array",
|
10588
|
+
"array_item": {
|
10589
|
+
"type": "Ref",
|
10590
|
+
"ref_name": "processing.MessageMonitoringParams"
|
10591
|
+
},
|
10592
|
+
"summary": "Messages that was sent to the blockchain for execution.",
|
10593
|
+
"description": null
|
10594
|
+
}
|
10595
|
+
],
|
10596
|
+
"summary": null,
|
10597
|
+
"description": null
|
10598
|
+
},
|
10178
10599
|
{
|
10179
10600
|
"name": "ParamsOfSendMessage",
|
10180
10601
|
"type": "Struct",
|
@@ -10299,6 +10720,194 @@
|
|
10299
10720
|
}
|
10300
10721
|
],
|
10301
10722
|
"functions": [
|
10723
|
+
{
|
10724
|
+
"name": "monitor_messages",
|
10725
|
+
"summary": "Starts monitoring for the processing results of the specified messages.",
|
10726
|
+
"description": "Message monitor performs background monitoring for a message processing results\nfor the specified set of messages.\n\nMessage monitor can serve several isolated monitoring queues.\nEach monitor queue has a unique application defined identifier (or name) used\nto separate several queue's.\n\nThere are two important lists inside of the monitoring queue:\n\n- unresolved messages: contains messages requested by the application for monitoring\n and not yet resolved;\n\n- resolved results: contains resolved processing results for monitored messages.\n\nEach monitoring queue tracks own unresolved and resolved lists.\nApplication can add more messages to the monitoring queue at any time.\n\nMessage monitor accumulates resolved results.\nApplication should fetch this results with `fetchNextMonitorResults` function.\n\nWhen both unresolved and resolved lists becomes empty, monitor stops any background activity\nand frees all allocated internal memory.\n\nIf monitoring queue with specified name already exists then messages will be added\nto the unresolved list.\n\nIf monitoring queue with specified name does not exist then monitoring queue will be created\nwith specified unresolved messages.",
|
10727
|
+
"params": [
|
10728
|
+
{
|
10729
|
+
"name": "context",
|
10730
|
+
"type": "Generic",
|
10731
|
+
"generic_name": "Arc",
|
10732
|
+
"generic_args": [
|
10733
|
+
{
|
10734
|
+
"type": "Ref",
|
10735
|
+
"ref_name": "ClientContext"
|
10736
|
+
}
|
10737
|
+
],
|
10738
|
+
"summary": null,
|
10739
|
+
"description": null
|
10740
|
+
},
|
10741
|
+
{
|
10742
|
+
"name": "params",
|
10743
|
+
"type": "Ref",
|
10744
|
+
"ref_name": "processing.ParamsOfMonitorMessages",
|
10745
|
+
"summary": null,
|
10746
|
+
"description": null
|
10747
|
+
}
|
10748
|
+
],
|
10749
|
+
"result": {
|
10750
|
+
"type": "Generic",
|
10751
|
+
"generic_name": "ClientResult",
|
10752
|
+
"generic_args": [
|
10753
|
+
{
|
10754
|
+
"type": "None"
|
10755
|
+
}
|
10756
|
+
]
|
10757
|
+
},
|
10758
|
+
"errors": null
|
10759
|
+
},
|
10760
|
+
{
|
10761
|
+
"name": "get_monitor_info",
|
10762
|
+
"summary": "Returns summary information about current state of the specified monitoring queue.",
|
10763
|
+
"description": null,
|
10764
|
+
"params": [
|
10765
|
+
{
|
10766
|
+
"name": "context",
|
10767
|
+
"type": "Generic",
|
10768
|
+
"generic_name": "Arc",
|
10769
|
+
"generic_args": [
|
10770
|
+
{
|
10771
|
+
"type": "Ref",
|
10772
|
+
"ref_name": "ClientContext"
|
10773
|
+
}
|
10774
|
+
],
|
10775
|
+
"summary": null,
|
10776
|
+
"description": null
|
10777
|
+
},
|
10778
|
+
{
|
10779
|
+
"name": "params",
|
10780
|
+
"type": "Ref",
|
10781
|
+
"ref_name": "processing.ParamsOfGetMonitorInfo",
|
10782
|
+
"summary": null,
|
10783
|
+
"description": null
|
10784
|
+
}
|
10785
|
+
],
|
10786
|
+
"result": {
|
10787
|
+
"type": "Generic",
|
10788
|
+
"generic_name": "ClientResult",
|
10789
|
+
"generic_args": [
|
10790
|
+
{
|
10791
|
+
"type": "Ref",
|
10792
|
+
"ref_name": "processing.MonitoringQueueInfo"
|
10793
|
+
}
|
10794
|
+
]
|
10795
|
+
},
|
10796
|
+
"errors": null
|
10797
|
+
},
|
10798
|
+
{
|
10799
|
+
"name": "fetch_next_monitor_results",
|
10800
|
+
"summary": "Fetches next resolved results from the specified monitoring queue.",
|
10801
|
+
"description": "Results and waiting options are depends on the `wait` parameter.\nAll returned results will be removed from the queue's resolved list.",
|
10802
|
+
"params": [
|
10803
|
+
{
|
10804
|
+
"name": "context",
|
10805
|
+
"type": "Generic",
|
10806
|
+
"generic_name": "Arc",
|
10807
|
+
"generic_args": [
|
10808
|
+
{
|
10809
|
+
"type": "Ref",
|
10810
|
+
"ref_name": "ClientContext"
|
10811
|
+
}
|
10812
|
+
],
|
10813
|
+
"summary": null,
|
10814
|
+
"description": null
|
10815
|
+
},
|
10816
|
+
{
|
10817
|
+
"name": "params",
|
10818
|
+
"type": "Ref",
|
10819
|
+
"ref_name": "processing.ParamsOfFetchNextMonitorResults",
|
10820
|
+
"summary": null,
|
10821
|
+
"description": null
|
10822
|
+
}
|
10823
|
+
],
|
10824
|
+
"result": {
|
10825
|
+
"type": "Generic",
|
10826
|
+
"generic_name": "ClientResult",
|
10827
|
+
"generic_args": [
|
10828
|
+
{
|
10829
|
+
"type": "Ref",
|
10830
|
+
"ref_name": "processing.ResultOfFetchNextMonitorResults"
|
10831
|
+
}
|
10832
|
+
]
|
10833
|
+
},
|
10834
|
+
"errors": null
|
10835
|
+
},
|
10836
|
+
{
|
10837
|
+
"name": "cancel_monitor",
|
10838
|
+
"summary": "Cancels all background activity and releases all allocated system resources for the specified monitoring queue.",
|
10839
|
+
"description": null,
|
10840
|
+
"params": [
|
10841
|
+
{
|
10842
|
+
"name": "context",
|
10843
|
+
"type": "Generic",
|
10844
|
+
"generic_name": "Arc",
|
10845
|
+
"generic_args": [
|
10846
|
+
{
|
10847
|
+
"type": "Ref",
|
10848
|
+
"ref_name": "ClientContext"
|
10849
|
+
}
|
10850
|
+
],
|
10851
|
+
"summary": null,
|
10852
|
+
"description": null
|
10853
|
+
},
|
10854
|
+
{
|
10855
|
+
"name": "params",
|
10856
|
+
"type": "Ref",
|
10857
|
+
"ref_name": "processing.ParamsOfCancelMonitor",
|
10858
|
+
"summary": null,
|
10859
|
+
"description": null
|
10860
|
+
}
|
10861
|
+
],
|
10862
|
+
"result": {
|
10863
|
+
"type": "Generic",
|
10864
|
+
"generic_name": "ClientResult",
|
10865
|
+
"generic_args": [
|
10866
|
+
{
|
10867
|
+
"type": "None"
|
10868
|
+
}
|
10869
|
+
]
|
10870
|
+
},
|
10871
|
+
"errors": null
|
10872
|
+
},
|
10873
|
+
{
|
10874
|
+
"name": "send_messages",
|
10875
|
+
"summary": "Sends specified messages to the blockchain.",
|
10876
|
+
"description": null,
|
10877
|
+
"params": [
|
10878
|
+
{
|
10879
|
+
"name": "context",
|
10880
|
+
"type": "Generic",
|
10881
|
+
"generic_name": "Arc",
|
10882
|
+
"generic_args": [
|
10883
|
+
{
|
10884
|
+
"type": "Ref",
|
10885
|
+
"ref_name": "ClientContext"
|
10886
|
+
}
|
10887
|
+
],
|
10888
|
+
"summary": null,
|
10889
|
+
"description": null
|
10890
|
+
},
|
10891
|
+
{
|
10892
|
+
"name": "params",
|
10893
|
+
"type": "Ref",
|
10894
|
+
"ref_name": "processing.ParamsOfSendMessages",
|
10895
|
+
"summary": null,
|
10896
|
+
"description": null
|
10897
|
+
}
|
10898
|
+
],
|
10899
|
+
"result": {
|
10900
|
+
"type": "Generic",
|
10901
|
+
"generic_name": "ClientResult",
|
10902
|
+
"generic_args": [
|
10903
|
+
{
|
10904
|
+
"type": "Ref",
|
10905
|
+
"ref_name": "processing.ResultOfSendMessages"
|
10906
|
+
}
|
10907
|
+
]
|
10908
|
+
},
|
10909
|
+
"errors": null
|
10910
|
+
},
|
10302
10911
|
{
|
10303
10912
|
"name": "send_message",
|
10304
10913
|
"summary": "Sends message to the network",
|
@@ -11717,6 +12326,13 @@
|
|
11717
12326
|
"value": "617",
|
11718
12327
|
"summary": null,
|
11719
12328
|
"description": null
|
12329
|
+
},
|
12330
|
+
{
|
12331
|
+
"name": "WrongWebscoketProtocolSequence",
|
12332
|
+
"type": "Number",
|
12333
|
+
"value": "618",
|
12334
|
+
"summary": null,
|
12335
|
+
"description": null
|
11720
12336
|
}
|
11721
12337
|
],
|
11722
12338
|
"summary": null,
|
@@ -45,6 +45,12 @@ class CodeGenerator
|
|
45
45
|
content = %{
|
46
46
|
# Ruby Client for Free TON SDK
|
47
47
|
|
48
|
+
<p align="center">
|
49
|
+
<a href="https://github.com/venom-blockchain/developer-program">
|
50
|
+
<img src="https://raw.githubusercontent.com/venom-blockchain/developer-program/main/vf-dev-program.png" alt="Logo" width="366.8" height="146.4">
|
51
|
+
</a>
|
52
|
+
</p>
|
53
|
+
|
48
54
|
[![GEM](https://img.shields.io/badge/ruby-gem-orange)](https://rubygems.org/gems/everscale-client-ruby)
|
49
55
|
[![SPM](https://img.shields.io/badge/SDK%20VERSION-#{types.version}-green)](https://github.com/tonlabs/TON-SDK)
|
50
56
|
|
@@ -103,7 +109,7 @@ p response['result']['parsed']['src']
|
|
103
109
|
p response['result']['parsed']['dst']
|
104
110
|
|
105
111
|
# Async
|
106
|
-
client.boc.
|
112
|
+
client.boc.parse_message(payload) do |response|
|
107
113
|
p response.result['parsed']['id']
|
108
114
|
p response.result['parsed']['src']
|
109
115
|
p response.result['parsed']['dst']
|
@@ -13,6 +13,76 @@ module TonClient
|
|
13
13
|
@monitor = monitor
|
14
14
|
end
|
15
15
|
|
16
|
+
# INPUT: ParamsOfMonitorMessages
|
17
|
+
# queue: String - # # Name of the monitoring queue.
|
18
|
+
# messages: Array - # # Messages to start monitoring for.
|
19
|
+
# Async
|
20
|
+
def monitor_messages(payload, &block)
|
21
|
+
TonBinding.requestLibrary(context: context, request_id: request_id, requests: requests, monitor: monitor, method_name: full_method_name(MODULE, __method__.to_s), payload: payload, &block)
|
22
|
+
end
|
23
|
+
|
24
|
+
# Sync
|
25
|
+
def monitor_messages_sync(payload)
|
26
|
+
TonBinding.send_request_sync(context: context, method_name: full_method_name(MODULE, __method__.to_s).sub(/_sync$/, ''), payload: payload)
|
27
|
+
end
|
28
|
+
|
29
|
+
# INPUT: ParamsOfGetMonitorInfo
|
30
|
+
# queue: String - # # Name of the monitoring queue.
|
31
|
+
# RESPONSE: MonitoringQueueInfo
|
32
|
+
# unresolved: Number - # # Count of the unresolved messages.
|
33
|
+
# resolved: Number - # # Count of resolved results.
|
34
|
+
# Async
|
35
|
+
def get_monitor_info(payload, &block)
|
36
|
+
TonBinding.requestLibrary(context: context, request_id: request_id, requests: requests, monitor: monitor, method_name: full_method_name(MODULE, __method__.to_s), payload: payload, &block)
|
37
|
+
end
|
38
|
+
|
39
|
+
# Sync
|
40
|
+
def get_monitor_info_sync(payload)
|
41
|
+
TonBinding.send_request_sync(context: context, method_name: full_method_name(MODULE, __method__.to_s).sub(/_sync$/, ''), payload: payload)
|
42
|
+
end
|
43
|
+
|
44
|
+
# INPUT: ParamsOfFetchNextMonitorResults
|
45
|
+
# queue: String - # # Name of the monitoring queue.
|
46
|
+
# wait_mode: MonitorFetchWaitMode<Optional> - # # Wait mode. # # Default is `NO_WAIT`.
|
47
|
+
# RESPONSE: ResultOfFetchNextMonitorResults
|
48
|
+
# results: Array - # # List of the resolved results.
|
49
|
+
# Async
|
50
|
+
def fetch_next_monitor_results(payload, &block)
|
51
|
+
TonBinding.requestLibrary(context: context, request_id: request_id, requests: requests, monitor: monitor, method_name: full_method_name(MODULE, __method__.to_s), payload: payload, &block)
|
52
|
+
end
|
53
|
+
|
54
|
+
# Sync
|
55
|
+
def fetch_next_monitor_results_sync(payload)
|
56
|
+
TonBinding.send_request_sync(context: context, method_name: full_method_name(MODULE, __method__.to_s).sub(/_sync$/, ''), payload: payload)
|
57
|
+
end
|
58
|
+
|
59
|
+
# INPUT: ParamsOfCancelMonitor
|
60
|
+
# queue: String - # # Name of the monitoring queue.
|
61
|
+
# Async
|
62
|
+
def cancel_monitor(payload, &block)
|
63
|
+
TonBinding.requestLibrary(context: context, request_id: request_id, requests: requests, monitor: monitor, method_name: full_method_name(MODULE, __method__.to_s), payload: payload, &block)
|
64
|
+
end
|
65
|
+
|
66
|
+
# Sync
|
67
|
+
def cancel_monitor_sync(payload)
|
68
|
+
TonBinding.send_request_sync(context: context, method_name: full_method_name(MODULE, __method__.to_s).sub(/_sync$/, ''), payload: payload)
|
69
|
+
end
|
70
|
+
|
71
|
+
# INPUT: ParamsOfSendMessages
|
72
|
+
# messages: Array - # # Messages that must be sent to the blockchain.
|
73
|
+
# monitor_queue: String<Optional> - # # Optional message monitor queue that starts monitoring for the processing results for sent messages.
|
74
|
+
# RESPONSE: ResultOfSendMessages
|
75
|
+
# messages: Array - # # Messages that was sent to the blockchain for execution.
|
76
|
+
# Async
|
77
|
+
def send_messages(payload, &block)
|
78
|
+
TonBinding.requestLibrary(context: context, request_id: request_id, requests: requests, monitor: monitor, method_name: full_method_name(MODULE, __method__.to_s), payload: payload, &block)
|
79
|
+
end
|
80
|
+
|
81
|
+
# Sync
|
82
|
+
def send_messages_sync(payload)
|
83
|
+
TonBinding.send_request_sync(context: context, method_name: full_method_name(MODULE, __method__.to_s).sub(/_sync$/, ''), payload: payload)
|
84
|
+
end
|
85
|
+
|
16
86
|
# INPUT: ParamsOfSendMessage
|
17
87
|
# message: String - # # Message BOC.
|
18
88
|
# abi: Value<Optional> - # # Optional message ABI. # # If this parameter is specified and the message has the`expire` header then expiration time will be checked againstthe current time to prevent unnecessary sending of already expired message.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: everscale-client-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.67
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nerzh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -123,7 +123,7 @@ files:
|
|
123
123
|
- lib/everscale-client-ruby/Client/Utils.rb
|
124
124
|
- lib/everscale-client-ruby/Helpers/CommonHelpers.rb
|
125
125
|
- lib/everscale-client-ruby/version.rb
|
126
|
-
homepage: https://github.com/
|
126
|
+
homepage: https://github.com/nerzh/everscale-client-ruby
|
127
127
|
licenses:
|
128
128
|
- MIT
|
129
129
|
metadata: {}
|