You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
?? panic("Could not borrow FungibleToken Balance capability for account ".concat(address.toString()).concat(" at path /public/flowTokenBalance. Make sure the account has a FlowToken Vault set up properly."))
169
+
?? panic("Could not borrow FungibleToken Balance capability for account \(address) at path /public/flowTokenBalance. Make sure the account has a FlowToken Vault set up properly.")
?? panic("Could not borrow FungibleToken Balance capability for account ".concat(address.toString()).concat(" at path /public/flowTokenBalance. Make sure the account has a FlowToken Vault set up properly."))
24
+
?? panic("Could not borrow FungibleToken Balance capability for account \(address) at path /public/flowTokenBalance. Make sure the account has a FlowToken Vault set up properly.")
25
25
return vaultRef.balance
26
26
}
27
27
```
@@ -44,7 +44,7 @@ import FungibleToken from 0xf233dcee88fe0abe
44
44
access(all) fun main(address: Address, path: PublicPath): UFix64 {
45
45
return getAccount(address).capabilities
46
46
.borrow<&{FungibleToken.Balance}>(path)?.balance
47
-
?? panic("Could not borrow FungibleToken Balance capability for account ".concat(address.toString()).concat(" at path ").concat(path.toString()).concat(". Make sure the account has a Fungible Token Vault set up at this path."))
47
+
?? panic("Could not borrow FungibleToken Balance capability for account \(address) at path \(path). Make sure the account has a Fungible Token Vault set up at this path.")
?? panic("Could not borrow FungibleToken Vault capability for account ".concat(address.toString()).concat(" at path ").concat(vaultPath.toString()).concat(". Make sure the account has a Fungible Token Vault set up at this path."))
61
+
?? panic("Could not borrow FungibleToken Vault capability for account \(address) at path \(vaultPath). Make sure the account has a Fungible Token Vault set up at this path.")
?? panic("Could not borrow NonFungibleToken Collection capability for account ".concat(address.toString()).concat(" at path ").concat(collectionPublicPath.toString()).concat(". Make sure the account has an NFT Collection set up at this path."))
297
+
?? panic("Could not borrow NonFungibleToken Collection capability for account \(address) at path \(collectionPublicPath). Make sure the account has an NFT Collection set up at this path.")
?? panic("Could not borrow NonFungibleToken Collection capability for account ".concat(address.toString()).concat(" at path ").concat(collectionPublicPath.toString()).concat(". Make sure the account has an NFT Collection set up at this path."))
312
+
?? panic("Could not borrow NonFungibleToken Collection capability for account \(address) at path \(collectionPublicPath). Make sure the account has an NFT Collection set up at this path.")
0 commit comments