Overview
Constructor parameters are ABI-encoded without a selector. You append the encoded params to the contract creation bytecode when deploying.Quick Start
Append to Bytecode
The deploy data isbytecode + encoded params. If you already have a Uint8Array of bytecode, concatenate the raw bytes:
Error Handling
If a value does not match the constructor input types, encoding throws anAbiEncodingError.
See Also
- decodeParams - Decode constructor parameters
- Encoding - ABI encoding rules

