Summary
The user is seeking clarification on the differences between acct.storage.borrow
and acct.capabilities.borrow
in Cadence 1.0, particularly regarding authenticated access versus public capabilities. They explain that acct.capabilities.borrow
allows borrowing a value from a public path without permissions, as long as the account owner has published a capability for it. They note that capabilities.borrow()
is a new helper function that simplifies borrowing capabilities. Additionally, they mention that all storage functions have been moved under acct.storage
, making acct.storage.borrow
the replacement for acct.borrow
.