uint256 val
function setup(bytes params) external
Initializes contract parameters. This function is intended to be overridden by derived contracts. The overriding function must have the onlyProxy modifier.
Name | Type | Description |
---|---|---|
params | bytes | The parameters to be used for initialization |
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 |