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: GitHub - onflow/flow-nft: The non-fungible token standard on the Flow blockchain
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: GitHub - onflow/flow-ft: The Fungible Token standard on the Flow Blockchain
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: GitHub - onflow/flow-ft: The Fungible Token standard on the Flow Blockchain
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: GitHub - onflow/flow-ft: The Fungible Token standard on the Flow Blockchain
Please reach out here with any questions!