AbiModule class

Constructors

AbiModule.new(TonSdkCore core)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach_signature(ParamsOfAttachSignature params) Future<ResultOfAttachSignature>
Combines hex-encoded signature with base64-encoded unsigned_message. Returns signed message encoded in base64.
attach_signature_to_message_body(ParamsOfAttachSignatureToMessageBody params) Future<ResultOfAttachSignatureToMessageBody>
calc_function_id(ParamsOfCalcFunctionId params) Future<ResultOfCalcFunctionId>
Calculates contract function ID by contract ABI
decode_account_data(ParamsOfDecodeAccountData params) Future<ResultOfDecodeAccountData>
Note: this feature requires ABI 2.1 or higher.
decode_boc(ParamsOfDecodeBoc params) Future<ResultOfDecodeBoc>
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.
decode_initial_data(ParamsOfDecodeInitialData params) Future<ResultOfDecodeInitialData>
Doesn't support ABI version >= 2.4. Use decode_account_data instead
decode_message(ParamsOfDecodeMessage params) Future<DecodedMessageBody>
Decodes message body using provided message BOC and ABI.
decode_message_body(ParamsOfDecodeMessageBody params) Future<DecodedMessageBody>
Decodes message body using provided body BOC and ABI.
encode_account(ParamsOfEncodeAccount params) Future<ResultOfEncodeAccount>
Creates account state BOC
encode_boc(ParamsOfAbiEncodeBoc params) Future<ResultOfAbiEncodeBoc>
Encodes given parameters in JSON into a BOC using param types from ABI.
encode_initial_data(ParamsOfEncodeInitialData params) Future<ResultOfEncodeInitialData>
This function is analogue of tvm.buildDataInit function in Solidity.
encode_internal_message(ParamsOfEncodeInternalMessage params) Future<ResultOfEncodeInternalMessage>
Allows to encode deploy and function call messages.
encode_message(ParamsOfEncodeMessage params) Future<ResultOfEncodeMessage>
Allows to encode deploy and function call messages, both signed and unsigned.
encode_message_body(ParamsOfEncodeMessageBody params) Future<ResultOfEncodeMessageBody>
Encodes message body according to ABI function call.
get_signature_data(ParamsOfGetSignatureData params) Future<ResultOfGetSignatureData>
Extracts signature from message body and calculates hash to verify the signature
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update_initial_data(ParamsOfUpdateInitialData params) Future<ResultOfUpdateInitialData>
Doesn't support ABI version >= 2.4. Use encode_initial_data instead

Operators

operator ==(Object other) bool
The equality operator.
inherited