The Flow team has updated various token contracts on mainnet. These changes were not breaking, but open up new possibilities and features for developers. The deployments are detailed here:
Upgrade NonFungibleToken to include metadata view methods in the standard interface
This allows developers to query metadataviews directly from borrowing the NFT with the generic borrowNFT
method instead of having to use bespoke methods.
Location: https://flowscan.org/contract/A.1d7e57aa55817448.NonFungibleToken
Documentation: https://github.com/onflow/flow-nft#nft-metadata
Upgrade FungibleToken to include metadata view methods in the standard Balance
interface
This allows developers to query metadataviews directly from borrowing the FT with the generic Balance
interface instead of having to use bespoke methods.
Location: https://flowscan.org/contract/A.f233dcee88fe0abe.FungibleToken
Documentation: https://github.com/onflow/flow-ft#ft-metadata
Deploy FungibleTokenMetadataViews Contract
This contract defines useful metadata views for Fungible Tokens to include in their contracts.
Location: https://flowscan.org/contract/A.f233dcee88fe0abe.FungibleTokenMetadataViews
Documentation: https://github.com/onflow/flow-ft#ft-metadata
Deploy FungibleSwitchboard Contract
This contract defines a switchboard resource that can be used as a universal receiver for fungible tokens. Users set up the switchboard on their account, then can route specific fungible tokens to any receiver of their choice. This will make it easier for others to send them tokens, because all transactions could borrow the generic switchboard reciever instead of having to borrow specific recievers.
Location: https://flowscan.org/contract/A.f233dcee88fe0abe.FungibleTokenSwitchboard
Documentation: https://github.com/onflow/flow-ft#fungible-token-switchboard
Please reach out here with any questions!