// Waste Validator (Aiken)
validator waste_submission {
fn verify(datum: WasteData, ctx: ScriptContext) {
expect Some(location) = datum.gps_location
expect photo_hash == blake2b_256(datum.photo)
let tokens = datum.weight_kg * 10
mint_tokens(tokens, ctx.tx)
}
}