impl
blocks need to be defined before any of the functions they define can be called. This includes sibling functions in the same impl
declaration, i.e., functions in an impl
can't call each other yet. storage
block are not yet supported. See the Manual Storage Management section for details on how to use store
and get
from the standard library to manage storage slots directly. Note, however, that StorageMap<K, V>
does support arbitrary types for K
and V
without any limitations. Was this page helpful?