Summary
The contract initialisation function sets the admin address, base price, protocol fee, and treasury address. Unit tests should confirm every field is readable from contract state immediately after initialisation and that calling initialise a second time panics with already_initialised.
Scope
- Call initialise with known values and assert each field is readable from state
- Assert calling initialise a second time panics with
already_initialised
- Assert state is unchanged after the second initialise attempt
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The contract initialisation function sets the admin address, base price, protocol fee, and treasury address. Unit tests should confirm every field is readable from contract state immediately after initialisation and that calling initialise a second time panics with
already_initialised.Scope
already_initialisedAcceptance Criteria
already_initialisedETA: 12 hours
Coordinate on Telegram