πStorage overview
Storage fields and types
Base types
type tokenId is nat
type assetType is
| FA12 of address // TZIP-007 compatible token
| FA2 of (address * nat) // TZIP-012 compatible token
type token_metadata_info is [@layout:comb] record [
token_id : tokenId;
token_info : map(string, bytes);
] // token metadata by TZIP-016 for each TZIP-012 tokenAccount type
Field
Type
Description
type account is [@layout:comb] record [
allowances : set(address);
borrow : nat;
lastBorrowIndex : nat;
]yToken type (market)
Field
Type
Hint
Description
yStorage - main Yupana storage values
Field
Type
Hint
Description
fullStorage - contract storage root
Field
Type
Description
Last updated