Version: 1.25.0
[1.25.0] – 2021-11-08
New
-
New module
proofs
is introduced! -
Functions
proofs.proof_block_data
andproofs.proof_transaction_data
which prove block data, retrieved from Graphql API.These are the first functions from proofs series :) Wait for others(
proof_account_data
,proof_message_data
) in the next releases.Read about them more in the documentation.
-
abi.decode_boc
function to decode custom BOC data into JSON parameters. -
Ref(<ParamType>)
type was added to ABI.
Solidity functions use ABI types for builder encoding. The simplest way to decode such a BOC is to use ABI decoding. ABI has it own rules for fields layout in cells so manually encoded BOC can not be described in terms of ABI rules. To solve this problem we introduce a new ABI typeRef(<ParamType>)
which allows to storeParamType
ABI parameter in cell reference and, thus, decode manually encoded BOCs. This type is available only indecode_boc
function and will not be available in ABI messages encoding until it is included into some ABI revision.