sui-move-object
Installation
SKILL.md
1. Structs
All structs must be declared public. Ability declarations go after the fields:
// ✅
public struct Pool has key {
id: UID,
balance_x: Balance<SUI>,
balance_y: Balance<USDC>,
}
public struct PoolCap has key, store {
id: UID,
pool_id: ID,
}