Trait cw_multi_test::ChecksumGenerator
source · pub trait ChecksumGenerator {
// Required method
fn checksum(&self, creator: &Addr, code_id: u64) -> Checksum;
}
Expand description
Provides a custom interface for generating checksums for contract code. This is crucial for ensuring code integrity and is particularly useful in environments where code verification is a key part of the contract deployment process. This trait defines a method to calculate checksum based on the creator’s address and a unique code identifier.