├── .github ├── CODEOWNERS └── workflows │ └── codeql-analysis.yml ├── .gitignore ├── Makefile ├── README.md ├── contracts ├── AllDay.cdc ├── PackNFT.cdc └── imports │ ├── Burner.cdc │ ├── FungibleToken.cdc │ ├── IPackNFT.cdc │ ├── MetadataViews.cdc │ ├── NonFungibleToken.cdc │ └── ViewResolver.cdc ├── embed.go ├── embed_test.go ├── flow.json ├── go.mod ├── go.sum ├── lib └── go │ ├── Makefile │ └── test │ ├── Makefile │ ├── allday_test.go │ ├── go.mod │ ├── go.sum │ ├── scripts.go │ ├── templates.go │ ├── test.go │ ├── transactions.go │ └── types.go ├── scripts ├── badges │ ├── badge_exists.cdc │ ├── get_badge_by_slug.cdc │ └── get_nft_all_badges.cdc ├── editions │ ├── read_all_editions.cdc │ └── read_edition_by_id.cdc ├── nfts │ ├── read_collection_nft_ids.cdc │ ├── read_collection_nft_length.cdc │ ├── read_moment_nft_metadata.cdc │ ├── read_moment_nft_properties.cdc │ └── read_moment_nft_supply.cdc ├── plays │ ├── read_all_plays.cdc │ └── read_play_by_id.cdc ├── series │ ├── read_all_series.cdc │ ├── read_all_series_names.cdc │ ├── read_series_by_id.cdc │ └── read_series_by_name.cdc ├── sets │ ├── read_all_set_names.cdc │ ├── read_all_sets.cdc │ ├── read_set_by_id.cdc │ └── read_sets_by_name.cdc └── user │ ├── account_is_all_setup.cdc │ └── account_is_setup.cdc └── transactions ├── admin ├── badges │ ├── add_badge_to_entity.cdc │ ├── create_badge.cdc │ ├── delete_badge.cdc │ ├── remove_badge_from_entity.cdc │ └── update_badge.cdc ├── editions │ ├── close_edition.cdc │ └── create_edition.cdc ├── nfts │ ├── mint_moment_nft.cdc │ └── mint_moment_nfts_multi.cdc ├── plays │ ├── create_play.cdc │ ├── update_play_description.cdc │ └── update_play_dynamic_metadata.cdc ├── series │ ├── close_series.cdc │ └── create_series.cdc └── sets │ └── create_set.cdc └── user ├── batch_transfer_moment_nfts.cdc ├── setup_all_collections.cdc ├── setup_allday_account.cdc ├── setup_switchboard_account.cdc └── transfer_moment_nft.cdc /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | /imports 3 | .vscode 4 | .env -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/README.md -------------------------------------------------------------------------------- /contracts/AllDay.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/contracts/AllDay.cdc -------------------------------------------------------------------------------- /contracts/PackNFT.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/contracts/PackNFT.cdc -------------------------------------------------------------------------------- /contracts/imports/Burner.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/contracts/imports/Burner.cdc -------------------------------------------------------------------------------- /contracts/imports/FungibleToken.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/contracts/imports/FungibleToken.cdc -------------------------------------------------------------------------------- /contracts/imports/IPackNFT.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/contracts/imports/IPackNFT.cdc -------------------------------------------------------------------------------- /contracts/imports/MetadataViews.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/contracts/imports/MetadataViews.cdc -------------------------------------------------------------------------------- /contracts/imports/NonFungibleToken.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/contracts/imports/NonFungibleToken.cdc -------------------------------------------------------------------------------- /contracts/imports/ViewResolver.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/contracts/imports/ViewResolver.cdc -------------------------------------------------------------------------------- /embed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/embed.go -------------------------------------------------------------------------------- /embed_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/embed_test.go -------------------------------------------------------------------------------- /flow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/flow.json -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/go.sum -------------------------------------------------------------------------------- /lib/go/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/lib/go/Makefile -------------------------------------------------------------------------------- /lib/go/test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/lib/go/test/Makefile -------------------------------------------------------------------------------- /lib/go/test/allday_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/lib/go/test/allday_test.go -------------------------------------------------------------------------------- /lib/go/test/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/lib/go/test/go.mod -------------------------------------------------------------------------------- /lib/go/test/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/lib/go/test/go.sum -------------------------------------------------------------------------------- /lib/go/test/scripts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/lib/go/test/scripts.go -------------------------------------------------------------------------------- /lib/go/test/templates.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/lib/go/test/templates.go -------------------------------------------------------------------------------- /lib/go/test/test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/lib/go/test/test.go -------------------------------------------------------------------------------- /lib/go/test/transactions.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/lib/go/test/transactions.go -------------------------------------------------------------------------------- /lib/go/test/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/lib/go/test/types.go -------------------------------------------------------------------------------- /scripts/badges/badge_exists.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/badges/badge_exists.cdc -------------------------------------------------------------------------------- /scripts/badges/get_badge_by_slug.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/badges/get_badge_by_slug.cdc -------------------------------------------------------------------------------- /scripts/badges/get_nft_all_badges.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/badges/get_nft_all_badges.cdc -------------------------------------------------------------------------------- /scripts/editions/read_all_editions.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/editions/read_all_editions.cdc -------------------------------------------------------------------------------- /scripts/editions/read_edition_by_id.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/editions/read_edition_by_id.cdc -------------------------------------------------------------------------------- /scripts/nfts/read_collection_nft_ids.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/nfts/read_collection_nft_ids.cdc -------------------------------------------------------------------------------- /scripts/nfts/read_collection_nft_length.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/nfts/read_collection_nft_length.cdc -------------------------------------------------------------------------------- /scripts/nfts/read_moment_nft_metadata.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/nfts/read_moment_nft_metadata.cdc -------------------------------------------------------------------------------- /scripts/nfts/read_moment_nft_properties.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/nfts/read_moment_nft_properties.cdc -------------------------------------------------------------------------------- /scripts/nfts/read_moment_nft_supply.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/nfts/read_moment_nft_supply.cdc -------------------------------------------------------------------------------- /scripts/plays/read_all_plays.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/plays/read_all_plays.cdc -------------------------------------------------------------------------------- /scripts/plays/read_play_by_id.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/plays/read_play_by_id.cdc -------------------------------------------------------------------------------- /scripts/series/read_all_series.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/series/read_all_series.cdc -------------------------------------------------------------------------------- /scripts/series/read_all_series_names.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/series/read_all_series_names.cdc -------------------------------------------------------------------------------- /scripts/series/read_series_by_id.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/series/read_series_by_id.cdc -------------------------------------------------------------------------------- /scripts/series/read_series_by_name.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/series/read_series_by_name.cdc -------------------------------------------------------------------------------- /scripts/sets/read_all_set_names.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/sets/read_all_set_names.cdc -------------------------------------------------------------------------------- /scripts/sets/read_all_sets.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/sets/read_all_sets.cdc -------------------------------------------------------------------------------- /scripts/sets/read_set_by_id.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/sets/read_set_by_id.cdc -------------------------------------------------------------------------------- /scripts/sets/read_sets_by_name.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/sets/read_sets_by_name.cdc -------------------------------------------------------------------------------- /scripts/user/account_is_all_setup.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/user/account_is_all_setup.cdc -------------------------------------------------------------------------------- /scripts/user/account_is_setup.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/scripts/user/account_is_setup.cdc -------------------------------------------------------------------------------- /transactions/admin/badges/add_badge_to_entity.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/badges/add_badge_to_entity.cdc -------------------------------------------------------------------------------- /transactions/admin/badges/create_badge.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/badges/create_badge.cdc -------------------------------------------------------------------------------- /transactions/admin/badges/delete_badge.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/badges/delete_badge.cdc -------------------------------------------------------------------------------- /transactions/admin/badges/remove_badge_from_entity.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/badges/remove_badge_from_entity.cdc -------------------------------------------------------------------------------- /transactions/admin/badges/update_badge.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/badges/update_badge.cdc -------------------------------------------------------------------------------- /transactions/admin/editions/close_edition.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/editions/close_edition.cdc -------------------------------------------------------------------------------- /transactions/admin/editions/create_edition.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/editions/create_edition.cdc -------------------------------------------------------------------------------- /transactions/admin/nfts/mint_moment_nft.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/nfts/mint_moment_nft.cdc -------------------------------------------------------------------------------- /transactions/admin/nfts/mint_moment_nfts_multi.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/nfts/mint_moment_nfts_multi.cdc -------------------------------------------------------------------------------- /transactions/admin/plays/create_play.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/plays/create_play.cdc -------------------------------------------------------------------------------- /transactions/admin/plays/update_play_description.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/plays/update_play_description.cdc -------------------------------------------------------------------------------- /transactions/admin/plays/update_play_dynamic_metadata.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/plays/update_play_dynamic_metadata.cdc -------------------------------------------------------------------------------- /transactions/admin/series/close_series.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/series/close_series.cdc -------------------------------------------------------------------------------- /transactions/admin/series/create_series.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/series/create_series.cdc -------------------------------------------------------------------------------- /transactions/admin/sets/create_set.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/admin/sets/create_set.cdc -------------------------------------------------------------------------------- /transactions/user/batch_transfer_moment_nfts.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/user/batch_transfer_moment_nfts.cdc -------------------------------------------------------------------------------- /transactions/user/setup_all_collections.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/user/setup_all_collections.cdc -------------------------------------------------------------------------------- /transactions/user/setup_allday_account.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/user/setup_allday_account.cdc -------------------------------------------------------------------------------- /transactions/user/setup_switchboard_account.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/user/setup_switchboard_account.cdc -------------------------------------------------------------------------------- /transactions/user/transfer_moment_nft.cdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dapperlabs/nfl-smart-contracts/HEAD/transactions/user/transfer_moment_nft.cdc --------------------------------------------------------------------------------