I want to add some more functionality to my init function which will require changing the state but the option ‘mutable’ gives an error.
/// Initialize contract instance with a no token types.
#[init(
contract = “cis2_multi”,
parameter = “InitParams”,
event = “Cis2Event<ContractTokenId, ContractTokenAmount>”,
enable_logger,
mutable – error is here
)]
Am I doing this wrong or can init functions not have this option?