everscale-client-ruby 1.1.31 → 1.1.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/code_generator/api.json +111 -2
- data/lib/everscale-client-ruby/Client/Abi.rb +11 -0
- data/lib/everscale-client-ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c3239f8d61fc441d260d7dd73259efdf2dd84ea308c6f632f92cc54cef921c4
|
4
|
+
data.tar.gz: 36d278333f388707c6b27e71fe69917c12e348ec9663554bfa4aa3cf587339b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a790b3f45eb1b33d9a911befd1282b9a23fd7c930e804ede883a8ae486eda305971fc1550fc398aba388ab3e7028079357927a078ed12e9ca85766a6f336e557
|
7
|
+
data.tar.gz: dd0cbe807337748746acc7fc315ec6db0bb34a2843c7a606b592fb18738b8261f7e17063ff78fedd2ca8e8d7282612a7a4d37a99b313cec914c056dadfbf0d6d
|
data/lib/code_generator/api.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "1.
|
2
|
+
"version": "1.37.0",
|
3
3
|
"modules": [
|
4
4
|
{
|
5
5
|
"name": "client",
|
@@ -540,7 +540,7 @@
|
|
540
540
|
"type": "String"
|
541
541
|
},
|
542
542
|
"summary": "Access key to GraphQL API.",
|
543
|
-
"description": "
|
543
|
+
"description": "You can specify here Evercloud project secret ot serialized JWT."
|
544
544
|
}
|
545
545
|
],
|
546
546
|
"summary": null,
|
@@ -5374,6 +5374,13 @@
|
|
5374
5374
|
"value": "314",
|
5375
5375
|
"summary": null,
|
5376
5376
|
"description": null
|
5377
|
+
},
|
5378
|
+
{
|
5379
|
+
"name": "InvalidFunctionName",
|
5380
|
+
"type": "Number",
|
5381
|
+
"value": "315",
|
5382
|
+
"summary": null,
|
5383
|
+
"description": null
|
5377
5384
|
}
|
5378
5385
|
],
|
5379
5386
|
"summary": null,
|
@@ -6111,6 +6118,15 @@
|
|
6111
6118
|
},
|
6112
6119
|
"summary": "Processing try index.",
|
6113
6120
|
"description": "Used in message processing with retries.\n\nEncoder uses the provided try index to calculate message\nexpiration time.\n\nExpiration timeouts will grow with every retry.\n\nDefault value is 0."
|
6121
|
+
},
|
6122
|
+
{
|
6123
|
+
"name": "address",
|
6124
|
+
"type": "Optional",
|
6125
|
+
"optional_inner": {
|
6126
|
+
"type": "String"
|
6127
|
+
},
|
6128
|
+
"summary": "Destination address of the message",
|
6129
|
+
"description": "Since ABI version 2.3 destination address of external inbound message is used in message\nbody signature calculation. Should be provided when signed external inbound message body is\ncreated. Otherwise can be omitted."
|
6114
6130
|
}
|
6115
6131
|
],
|
6116
6132
|
"summary": null,
|
@@ -6950,6 +6966,52 @@
|
|
6950
6966
|
],
|
6951
6967
|
"summary": null,
|
6952
6968
|
"description": null
|
6969
|
+
},
|
6970
|
+
{
|
6971
|
+
"name": "ParamsOfCalcFunctionId",
|
6972
|
+
"type": "Struct",
|
6973
|
+
"struct_fields": [
|
6974
|
+
{
|
6975
|
+
"name": "abi",
|
6976
|
+
"type": "Ref",
|
6977
|
+
"ref_name": "abi.Abi",
|
6978
|
+
"summary": "Contract ABI.",
|
6979
|
+
"description": null
|
6980
|
+
},
|
6981
|
+
{
|
6982
|
+
"name": "function_name",
|
6983
|
+
"type": "String",
|
6984
|
+
"summary": "Contract function name",
|
6985
|
+
"description": null
|
6986
|
+
},
|
6987
|
+
{
|
6988
|
+
"name": "output",
|
6989
|
+
"type": "Optional",
|
6990
|
+
"optional_inner": {
|
6991
|
+
"type": "Boolean"
|
6992
|
+
},
|
6993
|
+
"summary": "If set to `true` output function ID will be returned which is used in contract response. Default is `false`",
|
6994
|
+
"description": null
|
6995
|
+
}
|
6996
|
+
],
|
6997
|
+
"summary": null,
|
6998
|
+
"description": null
|
6999
|
+
},
|
7000
|
+
{
|
7001
|
+
"name": "ResultOfCalcFunctionId",
|
7002
|
+
"type": "Struct",
|
7003
|
+
"struct_fields": [
|
7004
|
+
{
|
7005
|
+
"name": "function_id",
|
7006
|
+
"type": "Number",
|
7007
|
+
"number_type": "UInt",
|
7008
|
+
"number_size": 32,
|
7009
|
+
"summary": "Contract function ID",
|
7010
|
+
"description": null
|
7011
|
+
}
|
7012
|
+
],
|
7013
|
+
"summary": null,
|
7014
|
+
"description": null
|
6953
7015
|
}
|
6954
7016
|
],
|
6955
7017
|
"functions": [
|
@@ -7484,6 +7546,44 @@
|
|
7484
7546
|
]
|
7485
7547
|
},
|
7486
7548
|
"errors": null
|
7549
|
+
},
|
7550
|
+
{
|
7551
|
+
"name": "calc_function_id",
|
7552
|
+
"summary": "Calculates contract function ID by contract ABI",
|
7553
|
+
"description": null,
|
7554
|
+
"params": [
|
7555
|
+
{
|
7556
|
+
"name": "_context",
|
7557
|
+
"type": "Generic",
|
7558
|
+
"generic_name": "Arc",
|
7559
|
+
"generic_args": [
|
7560
|
+
{
|
7561
|
+
"type": "Ref",
|
7562
|
+
"ref_name": "ClientContext"
|
7563
|
+
}
|
7564
|
+
],
|
7565
|
+
"summary": null,
|
7566
|
+
"description": null
|
7567
|
+
},
|
7568
|
+
{
|
7569
|
+
"name": "params",
|
7570
|
+
"type": "Ref",
|
7571
|
+
"ref_name": "abi.ParamsOfCalcFunctionId",
|
7572
|
+
"summary": null,
|
7573
|
+
"description": null
|
7574
|
+
}
|
7575
|
+
],
|
7576
|
+
"result": {
|
7577
|
+
"type": "Generic",
|
7578
|
+
"generic_name": "ClientResult",
|
7579
|
+
"generic_args": [
|
7580
|
+
{
|
7581
|
+
"type": "Ref",
|
7582
|
+
"ref_name": "abi.ResultOfCalcFunctionId"
|
7583
|
+
}
|
7584
|
+
]
|
7585
|
+
},
|
7586
|
+
"errors": null
|
7487
7587
|
}
|
7488
7588
|
]
|
7489
7589
|
},
|
@@ -10512,6 +10612,15 @@
|
|
10512
10612
|
},
|
10513
10613
|
"summary": "transaction logical time",
|
10514
10614
|
"description": null
|
10615
|
+
},
|
10616
|
+
{
|
10617
|
+
"name": "chksig_always_succeed",
|
10618
|
+
"type": "Optional",
|
10619
|
+
"optional_inner": {
|
10620
|
+
"type": "Boolean"
|
10621
|
+
},
|
10622
|
+
"summary": "Overrides standard TVM behaviour. If set to `true` then CHKSIG always will return `true`.",
|
10623
|
+
"description": null
|
10515
10624
|
}
|
10516
10625
|
],
|
10517
10626
|
"summary": null,
|
@@ -21,6 +21,7 @@ module TonClient
|
|
21
21
|
# Encoder uses the provided try index to calculate messageexpiration time.
|
22
22
|
# Expiration timeouts will grow with every retry.
|
23
23
|
# Default value is 0.
|
24
|
+
# address: String<Optional> - # # Destination address of the message # # Since ABI version 2.3 destination address of external inbound message is used in messagebody signature calculation. Should be provided when signed external inbound message body iscreated. Otherwise can be omitted.
|
24
25
|
# RESPONSE: ResultOfEncodeMessageBody
|
25
26
|
# body: String - # # Message body BOC encoded with `base64`.
|
26
27
|
# data_to_sign: String<Optional> - # # Optional data to sign. # # Encoded with `base64`.
|
@@ -195,6 +196,16 @@ module TonClient
|
|
195
196
|
core.requestLibrary(context: context.id, method_name: full_method_name(MODULE, __method__.to_s), payload: payload, &block)
|
196
197
|
end
|
197
198
|
|
199
|
+
# INPUT: ParamsOfCalcFunctionId
|
200
|
+
# abi: Value - # # Contract ABI.
|
201
|
+
# function_name: String - # # Contract function name
|
202
|
+
# output: Boolean<Optional> - # # If set to `true` output function ID will be returned which is used in contract response. Default is `false`
|
203
|
+
# RESPONSE: ResultOfCalcFunctionId
|
204
|
+
# function_id: Number - # # Contract function ID
|
205
|
+
def calc_function_id(payload, &block)
|
206
|
+
core.requestLibrary(context: context.id, method_name: full_method_name(MODULE, __method__.to_s), payload: payload, &block)
|
207
|
+
end
|
208
|
+
|
198
209
|
end
|
199
210
|
end
|
200
211
|
|
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.34
|
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-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|