function contractId() external pure returns (bytes32)
Returns the contract ID. It can be used as a check during upgrades.
Meant to be overridden in derived contracts.
Name | Type | Description |
---|---|---|
[0] | bytes32 | bytes32 The contract ID |
function _setup(bytes data) internal
Internal function to set up the contract with initial data
This function should be implemented in derived contracts.
Name | Type | Description |
---|---|---|
data | bytes | Initialization data for the contract |