functionFromSelectorHex method

AbiFunctionFragment functionFromSelectorHex(
  1. String selectorHex
)

Retrieves a function fragment from the contract ABI based from selector.

Implementation

AbiFunctionFragment functionFromSelectorHex(String selectorHex) {
  return functionFromSelector(BytesUtils.fromHexString(selectorHex));
}