Unsigned Integers in Move
Learn how Move handles different unsigned integer types, their use cases, and how they impact storage, performance, and gas efficiency.
Unsigned Integers: u8, u32, u64, u128, u256
module 0xcafe::Dinosaur_nest {
struct DinosaurGendna has key {
Gendna_digits: u64,
}
fun init_module(cafe_signer: &signer) {
move_to(cafe_signer, DinosaurGendna {
Gendna_digits: 10,
});
}
}