Lima
API
Deprecation
The types chest
and the primitive Tezos.open_chest
are deprecated (see the changelogs for the Lima protocol).
Changes in API
Tezos
pascaligo
val create_ticket<value> : value -> nat -> option (ticket (value))
cameligo
val create_ticket : 'value -> nat -> ('value ticket) option
jsligo
let create_ticket: 'value => nat => option<ticket<'value>>
Now create_ticket
returns an option
, preventing the creation of zero valued tickets.