abiEncode method

  1. @override
EncoderResult abiEncode(
  1. AbiParameter params,
  2. List<int> input
)
override

Encodes a function signature (bytes) to ABI-encoded bytes.

Implementation

@override
EncoderResult abiEncode(AbiParameter params, List<int> input) {
  return const BytesCoder().abiEncode(AbiParameter.function, input);
}