{"p":"can-20","op":"mint","tick":"can","amt":"1000","rows":[{"df":"qa","content":[{"q":"Why borrow Accounts using RefCell in Solana?","a":"In Solana, borrowing Accounts using RefCell is possible due to the internal mutability characteristic of RefCell. In the Rust programming language, we usually cannot directly modify the value of an immutable reference, and we cannot convert an immutable reference directly to a mutable one (which would be an undefined behavior). However, RefCell provides a mechanism that allows us to modify the internal value while maintaining an immutable reference.\n\nRefCell acts as a layer of protection for the internal value, enabling us to borrow and modify Accounts securely. By using RefCell, we can ensure that the Account values remain safe during the borrowing and modification process."}]}],"pr":"ae160fd5aef097e537f8ca478ebd0f89ac1424ee3919fae673266b12301c5b01"}