joshua | Flow (2024-04-01)
[C1.0]
FlowToken.Vault
implements the FungibleToken.Vault
interface. If I have a FlowToken.Vault
in storage, should I be able to borrow a &{FungibleToken.Vault}
reference from it using:
I could have sworn I was told that it would be possible in Cadence 1.0, but I'm trying right now and it is not working10 Replies
I've created a thread for your message. Please continue any relevant discussion in this thread.
You can rename this thread using
/title <new title>
If this is a technical question that others may benefit from, considering also asking it on Stackoverflow: https://stackoverflow.com/questions/ask?tags=onflow-cadenceUnknown User•9mo ago
Message Not Public
Sign In & Join Server To View
yeah I am getting this error:
This is in my automated tests in the flow-nft repo
maybe there is something about my setup that is wrong. maybe I'm using two different
FungibleToken
contracts or something
yeah I think it is because I was using different FungibleToken versions, but that brings up another question. I'm trying to import the pre-deployed emulator FungibleToken
from 0xee82856bf20e2aa6
in the cadence testing framework, but it is telling me that there is nothing at that addressUnknown User•9mo ago
Message Not Public
Sign In & Join Server To View
but I know that is the correct address in the emulator because I use it in all my Go tests
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
does the cadence testing framework emulator have different addresses or something?
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
Is there a list of which contracts are deployed to which addresses somewhere?
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View