encodeSetContenthashCall static method

Uint8List encodeSetContenthashCall(
  1. Uint8List node,
  2. Uint8List hash
)

Implementation

static Uint8List encodeSetContenthashCall(Uint8List node, Uint8List hash) {
  return SolCodec.encodeCall(
    'setContenthash(bytes32,bytes)',
    [SolFixedBytes(32), SolBytes()],
    [node, hash],
  );
}