pub trait ChecksumGenerator {
// Required method
fn checksum(&self, creator: &Addr, code_id: u64) -> Checksum;
}
Expand description
This trait defines a method to calculate checksum based on the creator’s address and a unique code identifier.