everscale-client-ruby 1.1.27 → 1.1.30
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: dff8003d58eca06a67fb2f2f228ed504d5e5e30f4861d913fe76a10e9f27f3bc
|
4
|
+
data.tar.gz: 5345852a75f28aed1c8be11f938e38112fee49e7058c29a8b03ff653cf8945bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 715525bcbfe42f0562edfc3624be875703cc73bca022ad47ea4e7fb3af8a433874fbb4bad3901d496d442dcc61dac9686123ef32291de5932036e11ef434a10a
|
7
|
+
data.tar.gz: f719dcaf7a6672ae39283b32528f4019e4c0f7eef77903ea46b30fcadf0825c68c9acc27b5effb41ac84a80230a9d9d91bf337255091a5782f9c352659d77c58
|
data/lib/code_generator/api.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "1.
|
2
|
+
"version": "1.34.2",
|
3
3
|
"modules": [
|
4
4
|
{
|
5
5
|
"name": "client",
|
@@ -466,7 +466,7 @@
|
|
466
466
|
"number_size": 8
|
467
467
|
},
|
468
468
|
"summary": "Maximum number of randomly chosen endpoints the library uses to broadcast a message.",
|
469
|
-
"description": "Default is
|
469
|
+
"description": "Default is 1."
|
470
470
|
},
|
471
471
|
{
|
472
472
|
"name": "latency_detection_interval",
|
@@ -511,6 +511,28 @@
|
|
511
511
|
"summary": "Queries protocol.",
|
512
512
|
"description": "`HTTP` or `WS`. \nDefault is `HTTP`."
|
513
513
|
},
|
514
|
+
{
|
515
|
+
"name": "first_remp_status_timeout",
|
516
|
+
"type": "Optional",
|
517
|
+
"optional_inner": {
|
518
|
+
"type": "Number",
|
519
|
+
"number_type": "UInt",
|
520
|
+
"number_size": 32
|
521
|
+
},
|
522
|
+
"summary": "UNSTABLE.",
|
523
|
+
"description": "First REMP status awaiting timeout. If no status recieved during the timeout than fallback transaction scenario is activated.\n\nMust be specified in milliseconds. Default is 1000 (1 sec)."
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"name": "next_remp_status_timeout",
|
527
|
+
"type": "Optional",
|
528
|
+
"optional_inner": {
|
529
|
+
"type": "Number",
|
530
|
+
"number_type": "UInt",
|
531
|
+
"number_size": 32
|
532
|
+
},
|
533
|
+
"summary": "UNSTABLE.",
|
534
|
+
"description": "Subsequent REMP status awaiting timeout. If no status recieved during the timeout than fallback transaction scenario is activated.\n\nMust be specified in milliseconds. Default is 5000 (5 sec)."
|
535
|
+
},
|
514
536
|
{
|
515
537
|
"name": "access_key",
|
516
538
|
"type": "Optional",
|
@@ -882,6 +904,37 @@
|
|
882
904
|
},
|
883
905
|
"errors": null
|
884
906
|
},
|
907
|
+
{
|
908
|
+
"name": "config",
|
909
|
+
"summary": "Returns Core Library API reference",
|
910
|
+
"description": null,
|
911
|
+
"params": [
|
912
|
+
{
|
913
|
+
"name": "context",
|
914
|
+
"type": "Generic",
|
915
|
+
"generic_name": "Arc",
|
916
|
+
"generic_args": [
|
917
|
+
{
|
918
|
+
"type": "Ref",
|
919
|
+
"ref_name": "ClientContext"
|
920
|
+
}
|
921
|
+
],
|
922
|
+
"summary": null,
|
923
|
+
"description": null
|
924
|
+
}
|
925
|
+
],
|
926
|
+
"result": {
|
927
|
+
"type": "Generic",
|
928
|
+
"generic_name": "ClientResult",
|
929
|
+
"generic_args": [
|
930
|
+
{
|
931
|
+
"type": "Ref",
|
932
|
+
"ref_name": "client.ClientConfig"
|
933
|
+
}
|
934
|
+
]
|
935
|
+
},
|
936
|
+
"errors": null
|
937
|
+
},
|
885
938
|
{
|
886
939
|
"name": "build_info",
|
887
940
|
"summary": "Returns detailed information about this build.",
|
@@ -1177,6 +1230,13 @@
|
|
1177
1230
|
"value": "133",
|
1178
1231
|
"summary": null,
|
1179
1232
|
"description": null
|
1233
|
+
},
|
1234
|
+
{
|
1235
|
+
"name": "InvalidNonceSize",
|
1236
|
+
"type": "Number",
|
1237
|
+
"value": "134",
|
1238
|
+
"summary": null,
|
1239
|
+
"description": null
|
1180
1240
|
}
|
1181
1241
|
],
|
1182
1242
|
"summary": null,
|
@@ -6398,6 +6458,15 @@
|
|
6398
6458
|
"type": "String",
|
6399
6459
|
"summary": "Message BOC",
|
6400
6460
|
"description": null
|
6461
|
+
},
|
6462
|
+
{
|
6463
|
+
"name": "allow_partial",
|
6464
|
+
"type": "Optional",
|
6465
|
+
"optional_inner": {
|
6466
|
+
"type": "Boolean"
|
6467
|
+
},
|
6468
|
+
"summary": "Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)",
|
6469
|
+
"description": null
|
6401
6470
|
}
|
6402
6471
|
],
|
6403
6472
|
"summary": null,
|
@@ -6466,6 +6535,15 @@
|
|
6466
6535
|
"type": "Boolean",
|
6467
6536
|
"summary": "True if the body belongs to the internal message.",
|
6468
6537
|
"description": null
|
6538
|
+
},
|
6539
|
+
{
|
6540
|
+
"name": "allow_partial",
|
6541
|
+
"type": "Optional",
|
6542
|
+
"optional_inner": {
|
6543
|
+
"type": "Boolean"
|
6544
|
+
},
|
6545
|
+
"summary": "Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)",
|
6546
|
+
"description": null
|
6469
6547
|
}
|
6470
6548
|
],
|
6471
6549
|
"summary": null,
|
@@ -6565,6 +6643,15 @@
|
|
6565
6643
|
"type": "String",
|
6566
6644
|
"summary": "Data BOC or BOC handle",
|
6567
6645
|
"description": null
|
6646
|
+
},
|
6647
|
+
{
|
6648
|
+
"name": "allow_partial",
|
6649
|
+
"type": "Optional",
|
6650
|
+
"optional_inner": {
|
6651
|
+
"type": "Boolean"
|
6652
|
+
},
|
6653
|
+
"summary": "Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)",
|
6654
|
+
"description": null
|
6568
6655
|
}
|
6569
6656
|
],
|
6570
6657
|
"summary": null,
|
@@ -6732,6 +6819,15 @@
|
|
6732
6819
|
"type": "String",
|
6733
6820
|
"summary": "Data BOC or BOC handle",
|
6734
6821
|
"description": null
|
6822
|
+
},
|
6823
|
+
{
|
6824
|
+
"name": "allow_partial",
|
6825
|
+
"type": "Optional",
|
6826
|
+
"optional_inner": {
|
6827
|
+
"type": "Boolean"
|
6828
|
+
},
|
6829
|
+
"summary": "Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)",
|
6830
|
+
"description": null
|
6735
6831
|
}
|
6736
6832
|
],
|
6737
6833
|
"summary": null,
|
@@ -9111,6 +9207,27 @@
|
|
9111
9207
|
"value": "513",
|
9112
9208
|
"summary": null,
|
9113
9209
|
"description": null
|
9210
|
+
},
|
9211
|
+
{
|
9212
|
+
"name": "MessageRejected",
|
9213
|
+
"type": "Number",
|
9214
|
+
"value": "514",
|
9215
|
+
"summary": null,
|
9216
|
+
"description": null
|
9217
|
+
},
|
9218
|
+
{
|
9219
|
+
"name": "InvalidRempStatus",
|
9220
|
+
"type": "Number",
|
9221
|
+
"value": "515",
|
9222
|
+
"summary": null,
|
9223
|
+
"description": null
|
9224
|
+
},
|
9225
|
+
{
|
9226
|
+
"name": "NextRempStatusTimeout",
|
9227
|
+
"type": "Number",
|
9228
|
+
"value": "516",
|
9229
|
+
"summary": null,
|
9230
|
+
"description": null
|
9114
9231
|
}
|
9115
9232
|
],
|
9116
9233
|
"summary": null,
|
@@ -9312,6 +9429,137 @@
|
|
9312
9429
|
],
|
9313
9430
|
"summary": "Notifies the app that the message was not executed within expire timeout on-chain and will never be because it is already expired. The expiration timeout can be configured with `AbiConfig` parameters.",
|
9314
9431
|
"description": "This event occurs only for the contracts which ABI includes \"expire\" header.\n\nIf Application specifies `NetworkConfig.message_retries_count` > 0, then `process_message`\nwill perform retries: will create a new message and send it again and repeat it untill it reaches\nthe maximum retries count or receives a successful result. All the processing\nevents will be repeated."
|
9432
|
+
},
|
9433
|
+
{
|
9434
|
+
"name": "RempSentToValidators",
|
9435
|
+
"type": "Struct",
|
9436
|
+
"struct_fields": [
|
9437
|
+
{
|
9438
|
+
"name": "message_id",
|
9439
|
+
"type": "String",
|
9440
|
+
"summary": null,
|
9441
|
+
"description": null
|
9442
|
+
},
|
9443
|
+
{
|
9444
|
+
"name": "timestamp",
|
9445
|
+
"type": "BigInt",
|
9446
|
+
"number_type": "UInt",
|
9447
|
+
"number_size": 64,
|
9448
|
+
"summary": null,
|
9449
|
+
"description": null
|
9450
|
+
},
|
9451
|
+
{
|
9452
|
+
"name": "json",
|
9453
|
+
"type": "Ref",
|
9454
|
+
"ref_name": "Value",
|
9455
|
+
"summary": null,
|
9456
|
+
"description": null
|
9457
|
+
}
|
9458
|
+
],
|
9459
|
+
"summary": "Notifies the app that the message has been delivered to the thread's validators",
|
9460
|
+
"description": null
|
9461
|
+
},
|
9462
|
+
{
|
9463
|
+
"name": "RempIncludedIntoBlock",
|
9464
|
+
"type": "Struct",
|
9465
|
+
"struct_fields": [
|
9466
|
+
{
|
9467
|
+
"name": "message_id",
|
9468
|
+
"type": "String",
|
9469
|
+
"summary": null,
|
9470
|
+
"description": null
|
9471
|
+
},
|
9472
|
+
{
|
9473
|
+
"name": "timestamp",
|
9474
|
+
"type": "BigInt",
|
9475
|
+
"number_type": "UInt",
|
9476
|
+
"number_size": 64,
|
9477
|
+
"summary": null,
|
9478
|
+
"description": null
|
9479
|
+
},
|
9480
|
+
{
|
9481
|
+
"name": "json",
|
9482
|
+
"type": "Ref",
|
9483
|
+
"ref_name": "Value",
|
9484
|
+
"summary": null,
|
9485
|
+
"description": null
|
9486
|
+
}
|
9487
|
+
],
|
9488
|
+
"summary": "Notifies the app that the message has been successfully included into a block candidate by the thread's collator",
|
9489
|
+
"description": null
|
9490
|
+
},
|
9491
|
+
{
|
9492
|
+
"name": "RempIncludedIntoAcceptedBlock",
|
9493
|
+
"type": "Struct",
|
9494
|
+
"struct_fields": [
|
9495
|
+
{
|
9496
|
+
"name": "message_id",
|
9497
|
+
"type": "String",
|
9498
|
+
"summary": null,
|
9499
|
+
"description": null
|
9500
|
+
},
|
9501
|
+
{
|
9502
|
+
"name": "timestamp",
|
9503
|
+
"type": "BigInt",
|
9504
|
+
"number_type": "UInt",
|
9505
|
+
"number_size": 64,
|
9506
|
+
"summary": null,
|
9507
|
+
"description": null
|
9508
|
+
},
|
9509
|
+
{
|
9510
|
+
"name": "json",
|
9511
|
+
"type": "Ref",
|
9512
|
+
"ref_name": "Value",
|
9513
|
+
"summary": null,
|
9514
|
+
"description": null
|
9515
|
+
}
|
9516
|
+
],
|
9517
|
+
"summary": "Notifies the app that the block candicate with the message has been accepted by the thread's validators",
|
9518
|
+
"description": null
|
9519
|
+
},
|
9520
|
+
{
|
9521
|
+
"name": "RempOther",
|
9522
|
+
"type": "Struct",
|
9523
|
+
"struct_fields": [
|
9524
|
+
{
|
9525
|
+
"name": "message_id",
|
9526
|
+
"type": "String",
|
9527
|
+
"summary": null,
|
9528
|
+
"description": null
|
9529
|
+
},
|
9530
|
+
{
|
9531
|
+
"name": "timestamp",
|
9532
|
+
"type": "BigInt",
|
9533
|
+
"number_type": "UInt",
|
9534
|
+
"number_size": 64,
|
9535
|
+
"summary": null,
|
9536
|
+
"description": null
|
9537
|
+
},
|
9538
|
+
{
|
9539
|
+
"name": "json",
|
9540
|
+
"type": "Ref",
|
9541
|
+
"ref_name": "Value",
|
9542
|
+
"summary": null,
|
9543
|
+
"description": null
|
9544
|
+
}
|
9545
|
+
],
|
9546
|
+
"summary": "Notifies the app about some other minor REMP statuses occurring during message processing",
|
9547
|
+
"description": null
|
9548
|
+
},
|
9549
|
+
{
|
9550
|
+
"name": "RempError",
|
9551
|
+
"type": "Struct",
|
9552
|
+
"struct_fields": [
|
9553
|
+
{
|
9554
|
+
"name": "error",
|
9555
|
+
"type": "Ref",
|
9556
|
+
"ref_name": "client.ClientError",
|
9557
|
+
"summary": null,
|
9558
|
+
"description": null
|
9559
|
+
}
|
9560
|
+
],
|
9561
|
+
"summary": "Notifies the app about any problem that has occured in REMP processing - in this case library switches to the fallback transaction awaiting scenario (sequential block reading).",
|
9562
|
+
"description": null
|
9315
9563
|
}
|
9316
9564
|
],
|
9317
9565
|
"summary": null,
|
@@ -10323,15 +10571,15 @@
|
|
10323
10571
|
"type": "BigInt",
|
10324
10572
|
"number_type": "UInt",
|
10325
10573
|
"number_size": 64,
|
10326
|
-
"summary":
|
10327
|
-
"description":
|
10574
|
+
"summary": "Deprecated.",
|
10575
|
+
"description": "Left for backward compatibility. Does not participate in account transaction fees calculation."
|
10328
10576
|
},
|
10329
10577
|
{
|
10330
10578
|
"name": "storage_fee",
|
10331
10579
|
"type": "BigInt",
|
10332
10580
|
"number_type": "UInt",
|
10333
10581
|
"number_size": 64,
|
10334
|
-
"summary":
|
10582
|
+
"summary": "Fee for account storage",
|
10335
10583
|
"description": null
|
10336
10584
|
},
|
10337
10585
|
{
|
@@ -10339,7 +10587,7 @@
|
|
10339
10587
|
"type": "BigInt",
|
10340
10588
|
"number_type": "UInt",
|
10341
10589
|
"number_size": 64,
|
10342
|
-
"summary":
|
10590
|
+
"summary": "Fee for processing",
|
10343
10591
|
"description": null
|
10344
10592
|
},
|
10345
10593
|
{
|
@@ -10347,23 +10595,47 @@
|
|
10347
10595
|
"type": "BigInt",
|
10348
10596
|
"number_type": "UInt",
|
10349
10597
|
"number_size": 64,
|
10350
|
-
"summary":
|
10351
|
-
"description":
|
10598
|
+
"summary": "Deprecated.",
|
10599
|
+
"description": "Contains the same data as total_fwd_fees field. Deprecated because of its confusing name, that is not the same with GraphQL API Transaction type's field."
|
10352
10600
|
},
|
10353
10601
|
{
|
10354
10602
|
"name": "total_account_fees",
|
10355
10603
|
"type": "BigInt",
|
10356
10604
|
"number_type": "UInt",
|
10357
10605
|
"number_size": 64,
|
10358
|
-
"summary":
|
10359
|
-
"description":
|
10606
|
+
"summary": "Deprecated.",
|
10607
|
+
"description": "This is the field that is named as `total_fees` in GraphQL API Transaction type. `total_account_fees` name is misleading, because it does not mean account fees, instead it means\nvalidators total fees received for the transaction execution. It does not include some forward fees that account\nactually pays now, but validators will receive later during value delivery to another account (not even in the receiving\ntransaction).\nBecause of all of this, this field is not interesting for those who wants to understand\nthe real account fees, this is why it is deprecated and left for backward compatibility."
|
10360
10608
|
},
|
10361
10609
|
{
|
10362
10610
|
"name": "total_output",
|
10363
10611
|
"type": "BigInt",
|
10364
10612
|
"number_type": "UInt",
|
10365
10613
|
"number_size": 64,
|
10366
|
-
"summary":
|
10614
|
+
"summary": "Deprecated because it means total value sent in the transaction, which does not relate to any fees.",
|
10615
|
+
"description": null
|
10616
|
+
},
|
10617
|
+
{
|
10618
|
+
"name": "ext_in_msg_fee",
|
10619
|
+
"type": "BigInt",
|
10620
|
+
"number_type": "UInt",
|
10621
|
+
"number_size": 64,
|
10622
|
+
"summary": "Fee for inbound external message import.",
|
10623
|
+
"description": null
|
10624
|
+
},
|
10625
|
+
{
|
10626
|
+
"name": "total_fwd_fees",
|
10627
|
+
"type": "BigInt",
|
10628
|
+
"number_type": "UInt",
|
10629
|
+
"number_size": 64,
|
10630
|
+
"summary": "Total fees the account pays for message forwarding",
|
10631
|
+
"description": null
|
10632
|
+
},
|
10633
|
+
{
|
10634
|
+
"name": "account_fees",
|
10635
|
+
"type": "BigInt",
|
10636
|
+
"number_type": "UInt",
|
10637
|
+
"number_size": 64,
|
10638
|
+
"summary": "Total account fees for the transaction execution. Compounds of storage_fee + gas_fee + ext_in_msg_fee + total_fwd_fees",
|
10367
10639
|
"description": null
|
10368
10640
|
}
|
10369
10641
|
],
|
@@ -59,13 +59,13 @@ gem install ton-client-ruby
|
|
59
59
|
Install TON-SDK
|
60
60
|
```bash
|
61
61
|
ton-client-ruby setup
|
62
|
-
# result - path to dylib file for
|
62
|
+
# result - path to dylib file for everscale-client-ruby configuration
|
63
63
|
```
|
64
64
|
|
65
65
|
### Manual build FreeTON SDK
|
66
66
|
0. Install Rust to your OS
|
67
|
-
1. git clone https://github.com/tonlabs/
|
68
|
-
2. cd ./
|
67
|
+
1. git clone https://github.com/tonlabs/ever-sdk
|
68
|
+
2. cd ./ever-sdk
|
69
69
|
3. cargo update
|
70
70
|
4. cargo build --release
|
71
71
|
|
@@ -73,11 +73,11 @@ ton-client-ruby setup
|
|
73
73
|
|
74
74
|
```ruby
|
75
75
|
# For MAcOS
|
76
|
-
TonClient.configure { |config| config.ffi_lib(./
|
76
|
+
TonClient.configure { |config| config.ffi_lib(./ever-sdk/target/release/libton_client.dylib) }
|
77
77
|
# For Linux
|
78
|
-
# TonClient.configure { |config| config.ffi_lib(./
|
78
|
+
# TonClient.configure { |config| config.ffi_lib(./ever-sdk/target/release/libton_client.so) }
|
79
79
|
|
80
|
-
client = TonClient.create(config: {network: {
|
80
|
+
client = TonClient.create(config: {network: {endpoints: ["https://eri01.net.everos.dev", "https://rbx01.net.everos.dev"]}})
|
81
81
|
|
82
82
|
# All methods are asynchronous
|
83
83
|
|
@@ -148,7 +148,7 @@ end
|
|
148
148
|
|
149
149
|
example for NodeSE
|
150
150
|
```
|
151
|
-
spec_ffi=./
|
151
|
+
spec_ffi=./ever-sdk/target/release/libton_client.dylib
|
152
152
|
server_address=http://localhost:80
|
153
153
|
giver_abi_name=GiverNodeSE
|
154
154
|
giver_amount=10000000000
|
@@ -167,21 +167,21 @@ giver_amount=10000000000
|
|
167
167
|
|
168
168
|
\n## Update\n\n
|
169
169
|
```\n
|
170
|
-
|
170
|
+
everscale-client-ruby update\n
|
171
171
|
```\n\n
|
172
172
|
or\n\n
|
173
173
|
```\n
|
174
|
-
curl https://raw.githubusercontent.com/tonlabs/
|
174
|
+
curl https://raw.githubusercontent.com/tonlabs/ever-sdk/master/tools/api.json > api.json\n\n
|
175
175
|
```\n\n
|
176
176
|
```\n
|
177
|
-
|
177
|
+
everscale-client-ruby update ./api.json\n
|
178
178
|
```\n
|
179
179
|
or\n\n
|
180
180
|
```\n
|
181
|
-
cd
|
181
|
+
cd everscale-client-ruby\n
|
182
182
|
```\n\n
|
183
183
|
```\n
|
184
|
-
./bin/
|
184
|
+
./bin/everscale-client-ruby update\n
|
185
185
|
```\n
|
186
186
|
}
|
187
187
|
content = checkContent(content)
|
@@ -94,6 +94,7 @@ module TonClient
|
|
94
94
|
# INPUT: ParamsOfDecodeMessage
|
95
95
|
# abi: Value - # # contract ABI
|
96
96
|
# message: String - # # Message BOC
|
97
|
+
# allow_partial: Boolean<Optional> - # # Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)
|
97
98
|
# RESPONSE: DecodedMessageBody
|
98
99
|
# body_type: MessageBodyType - # # Type of the message body content.
|
99
100
|
# name: String - # # Function or event name.
|
@@ -107,6 +108,7 @@ module TonClient
|
|
107
108
|
# abi: Value - # # Contract ABI used to decode.
|
108
109
|
# body: String - # # Message body BOC encoded in `base64`.
|
109
110
|
# is_internal: Boolean - # # True if the body belongs to the internal message.
|
111
|
+
# allow_partial: Boolean<Optional> - # # Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)
|
110
112
|
# RESPONSE: DecodedMessageBody
|
111
113
|
# body_type: MessageBodyType - # # Type of the message body content.
|
112
114
|
# name: String - # # Function or event name.
|
@@ -132,6 +134,7 @@ module TonClient
|
|
132
134
|
# INPUT: ParamsOfDecodeAccountData
|
133
135
|
# abi: Value - # # Contract ABI
|
134
136
|
# data: String - # # Data BOC or BOC handle
|
137
|
+
# allow_partial: Boolean<Optional> - # # Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)
|
135
138
|
# RESPONSE: ResultOfDecodeAccountData
|
136
139
|
# data: Value - # # Decoded data as a JSON structure.
|
137
140
|
def decode_account_data(payload, &block)
|
@@ -164,6 +167,7 @@ module TonClient
|
|
164
167
|
# INPUT: ParamsOfDecodeInitialData
|
165
168
|
# abi: Value<Optional> - # # Contract ABI. # # Initial data is decoded if this parameter is provided
|
166
169
|
# data: String - # # Data BOC or BOC handle
|
170
|
+
# allow_partial: Boolean<Optional> - # # Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)
|
167
171
|
# RESPONSE: ResultOfDecodeInitialData
|
168
172
|
# initial_data: Value<Optional> - # # List of initial values of contract's public variables. # # Initial data is decoded if `abi` input parameter is provided
|
169
173
|
# initial_pubkey: String - # # Initial account owner's public key
|
@@ -64,6 +64,17 @@ module TonClient
|
|
64
64
|
core.requestLibrary(context: context.id, method_name: full_method_name(MODULE, __method__.to_s), payload: {}, &block)
|
65
65
|
end
|
66
66
|
|
67
|
+
# RESPONSE: ClientConfig
|
68
|
+
# network: NetworkConfig<Optional> -
|
69
|
+
# crypto: CryptoConfig<Optional> -
|
70
|
+
# abi: Value -
|
71
|
+
# boc: BocConfig<Optional> -
|
72
|
+
# proofs: ProofsConfig<Optional> -
|
73
|
+
# local_storage_path: String<Optional> - # # For file based storage is a folder name where SDK will store its data. For browser based is a browser async storage key prefix. Default (recommended) value is "~/.tonclient" for native environments and ".tonclient" for web-browser.
|
74
|
+
def config(&block)
|
75
|
+
core.requestLibrary(context: context.id, method_name: full_method_name(MODULE, __method__.to_s), payload: {}, &block)
|
76
|
+
end
|
77
|
+
|
67
78
|
# RESPONSE: ResultOfBuildInfo
|
68
79
|
# build_number: Number - # # Build number assigned to this build by the CI.
|
69
80
|
# dependencies: Array - # # Fingerprint of the most important dependencies.
|
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.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nerzh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
|
-
rubygems_version: 3.3.
|
160
|
+
rubygems_version: 3.3.7
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: This is gem everscale-client-ruby
|