Deposit string tickets into the kernel
closes tezos#3034 (closed)
Overview
Interpret internal inbox messages as deposits. Tickets are stored against their hash, as a global ticket table.
Accounts can store multiple ticket types - depositing a ticket into an account creates an entry of the amount against the ticket hash within the relevant account.
NB HashMap
is not available under alloc::collections
, therefore we use BTreeMap
for now - may need updating in future.
Edited by Emma Turner