Overview
Constructor.decodeParams decodes constructor arguments from the encoded params without a selector. If you have full deployment data, slice off the creation bytecode first.
Quick Start
Decoding from Deploy Data
If you havebytecode + params, slice off the bytecode length first:
Error Handling
decodeParams throws AbiDecodingError when the data does not match the constructor input types.
See Also
- encodeParams - Encode constructor parameters
- Encoding - ABI encoding rules

