everscale-client-ruby 1.1.32 → 1.1.33

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: 3e8e5b24c568395ba3eb4f994a72a361f2831eeb3e12fbf860140d45833d701c
4
- data.tar.gz: 6c0ddf186417dac415b93738b6ea4df2088985a1ab825a486165b8e2205145b2
3
+ metadata.gz: 0700e531a8ee4c7400969a1367be0d03699485d884384e749c8b215bb27ebc44
4
+ data.tar.gz: da6a48669efff9e0bb0567ae47b1bffd387191a29991a2ad8fb3e248f762f43a
5
5
  SHA512:
6
- metadata.gz: 1920154311c45aecaa5c2ad7daff439132840aca0eea544a5867eb2ff3cdc92a05686bd4411bd3f21342d8570bc3e41512a60ef4f1a9d52cd1adb626ce00c3ef
7
- data.tar.gz: e5d95d1f6f71486b9bc3386307da5109a2f52a8db0cacb36e0458c9290723236fe6ea1708142f32c9f3be13a344c34e52c7d0b5eaed905ac1515c89c71504872
6
+ metadata.gz: 1da8e4a4d439595e3c55ea80307b5f67b1c81f416655dcd5ccb92dcf8fc33c5ff809c26fa5fdf6913fd1c511b8c43a4fbcd58625c44cffb040000aa9113e751e
7
+ data.tar.gz: 94d9892a9b4dfa2732eb725f0e8c848107df5585c9252a9c2cdbfaa5c987b9693e4bcf31391976afedcc82c04d10db8f6ef3476236b7fb32f9dbf02a3fed76e3
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.34.3",
2
+ "version": "1.36.0",
3
3
  "modules": [
4
4
  {
5
5
  "name": "client",
@@ -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
 
@@ -1,4 +1,4 @@
1
1
  module TonClient
2
- VERSION = "1.1.32"
2
+ VERSION = "1.1.33"
3
3
  end
4
4
 
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.32
4
+ version: 1.1.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - nerzh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-25 00:00:00.000000000 Z
11
+ date: 2022-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi