Token List - A on-chain list of Flow Standard Fungible Tokens (FTs) or Non-Fungible Tokens (NFTs)

October 24, 2024 ยท View on GitHub

This repo contains all contract and frontend code.

๐ŸŒ Websites

๐Ÿ”— Contract Addresses

Contract NameTestnetMainnet
BlackHole0xad26718c4b6b921b0x4396883a58c3a2d1
ViewResolvers0xb86f928a1fa7798e0x15a918087ab12d86
FTViewUtils0xb86f928a1fa7798e0x15a918087ab12d86
TokenList0xb86f928a1fa7798e0x15a918087ab12d86
NFTViewUtils0xb86f928a1fa7798e0x15a918087ab12d86
NFTList0xb86f928a1fa7798e0x15a918087ab12d86
EVMTokenList0xb86f928a1fa7798e0x15a918087ab12d86
TokenListHelper0xb86f928a1fa7798e0x15a918087ab12d86

๐Ÿ“ฆ Special Contract: BlackHole

BlackHole is a special contract that can receive any fungible/non-fungible token and burn it.

the Token Vault can be permanently unusable without being destroyed.
It will essentially be sent to a black hole address.

You just need one line of code to execute the action:

execute {
  // For Fungible Token
  BlackHole.vanish(<- tokenVault)
  // For Non-Fungbile Token, you need to deposit it to BlackHole Collection
  let blackHoleCol = BlackHole.borrowBlackHoleCollection(address)
  blackHoleCol.deposit(<- anyNFT)
}

๐Ÿ“„ Documentation

Please visit https://docs.fixes.world for more information.