Readonly
signatureReadonly
stringThrows an exception because the ABI cannot be represented as a big integer.
The BigInt representation of the ABI.
The ABI cannot be represented as a bigint. VeChainDataModel#bi
Encodes the values according to the specified ABI types when creating the ABI instance.
The ABI-encoded bytes representing the given values.
Throws an exception because the ABI cannot be represented as a number.
The number representation of the ABI.
The mnemonic cannot be represented as a number. VeChainDataModel#n
The signature hash of the ABIItem.
The signature hash of the ABIItem.
Compares the current ABIItem instance with another ABIItem instance.
The item to compare with.
A non-zero number if the current ABIItem is different to the other ABI or zero if they are equal. VeChainDataModel#compareTo
Decode event log data using the event's ABI.
Event to decode.
Decoding results.
Encode event log data returning the encoded data and topics.
Data to encode.
Encoded data along with topics.
There is no equivalent to encodeEventLog in viem https://viem.sh/docs/ethers-migration. Discussion started here https://github.com/wevm/viem/discussions/2676.
Encode event log topics using the event's ABI.
values to encode as topics. Non-indexed values are ignored. Only the values of the indexed parameters are needed.
Encoded topics array.
Encode event log topics using the event's ABI, replacing null values with undefined.
values to encode as topics. Non-indexed values are ignored. Only the values of the indexed parameters are needed.
Encoded topics array.
It gets the first decoded value from the ABI.
The first decoded value from the ABI.
Checks if the current ABI object is equal to the given ABI object.
The ABI object to compare with.
True if the objects are equal, false otherwise. VeChainDataModel#isEqual
Static
ofStatic
ofDecodes the ABI values from the given ABI types and encoded data.
The list of ABI types representing the types of the values to decode.
The encoded data to decode.
An ABI instance with the decoded values.
Static
ofStatic
parseDecode event log data using the event's ABI.
Event to decode.
Decoding results.
Represents a function call in the Event ABI.