From 83d28b580083517c180f3c122dffd03d73865ddb Mon Sep 17 00:00:00 2001 From: Josh Hannan Date: Tue, 26 Mar 2024 10:47:29 -0500 Subject: [PATCH] remove docs, INFT, and update paths --- contracts/ExampleNFT.cdc | 16 +- contracts/NonFungibleToken.cdc | 3 - docs/ExampleNFT/ExampleNFT.md | 128 ---- docs/ExampleNFT/ExampleNFT_Collection.md | 112 ---- .../ExampleNFT_ExampleNFTCollectionPublic.md | 41 -- docs/ExampleNFT/ExampleNFT_NFT.md | 63 -- docs/ExampleNFT/ExampleNFT_NFTMinter.md | 27 - docs/MetdataViews/MetadataViews.md | 604 ------------------ docs/MetdataViews/MetadataViews_Display.md | 23 - docs/MetdataViews/MetadataViews_Edition.md | 26 - docs/MetdataViews/MetadataViews_Editions.md | 18 - .../MetdataViews/MetadataViews_ExternalURL.md | 20 - docs/MetdataViews/MetadataViews_File.md | 18 - docs/MetdataViews/MetadataViews_HTTPFile.md | 31 - docs/MetdataViews/MetadataViews_IPFSFile.md | 40 -- docs/MetdataViews/MetadataViews_License.md | 19 - docs/MetdataViews/MetadataViews_Media.md | 20 - docs/MetdataViews/MetadataViews_Medias.md | 18 - .../MetadataViews_NFTCollectionData.md | 32 - .../MetadataViews_NFTCollectionDisplay.md | 30 - docs/MetdataViews/MetadataViews_NFTView.md | 34 - docs/MetdataViews/MetadataViews_Rarity.md | 24 - docs/MetdataViews/MetadataViews_Resolver.md | 27 - .../MetadataViews_ResolverCollection.md | 25 - docs/MetdataViews/MetadataViews_Royalties.md | 32 - docs/MetdataViews/MetadataViews_Royalty.md | 23 - docs/MetdataViews/MetadataViews_Serial.md | 22 - docs/MetdataViews/MetadataViews_Trait.md | 26 - docs/MetdataViews/MetadataViews_Traits.md | 33 - docs/NonFungibleToken/NonFungibleToken.md | 143 ----- .../NonFungibleToken_Collection.md | 56 -- .../NonFungibleToken_CollectionPublic.md | 42 -- .../NonFungibleToken/NonFungibleToken_INFT.md | 42 -- docs/NonFungibleToken/NonFungibleToken_NFT.md | 15 - .../NonFungibleToken_Provider.md | 23 - .../NonFungibleToken_Receiver.md | 21 - lib/go/contracts/internal/assets/assets.go | 12 +- lib/go/test/metadata_test.go | 2 +- lib/go/test/nft_test.go | 6 +- tests/nft_forwarding_tests.cdc | 4 +- tests/test_example_nft.cdc | 16 +- 41 files changed, 31 insertions(+), 1886 deletions(-) delete mode 100644 docs/ExampleNFT/ExampleNFT.md delete mode 100644 docs/ExampleNFT/ExampleNFT_Collection.md delete mode 100644 docs/ExampleNFT/ExampleNFT_ExampleNFTCollectionPublic.md delete mode 100644 docs/ExampleNFT/ExampleNFT_NFT.md delete mode 100644 docs/ExampleNFT/ExampleNFT_NFTMinter.md delete mode 100644 docs/MetdataViews/MetadataViews.md delete mode 100644 docs/MetdataViews/MetadataViews_Display.md delete mode 100644 docs/MetdataViews/MetadataViews_Edition.md delete mode 100644 docs/MetdataViews/MetadataViews_Editions.md delete mode 100644 docs/MetdataViews/MetadataViews_ExternalURL.md delete mode 100644 docs/MetdataViews/MetadataViews_File.md delete mode 100644 docs/MetdataViews/MetadataViews_HTTPFile.md delete mode 100644 docs/MetdataViews/MetadataViews_IPFSFile.md delete mode 100644 docs/MetdataViews/MetadataViews_License.md delete mode 100644 docs/MetdataViews/MetadataViews_Media.md delete mode 100644 docs/MetdataViews/MetadataViews_Medias.md delete mode 100644 docs/MetdataViews/MetadataViews_NFTCollectionData.md delete mode 100644 docs/MetdataViews/MetadataViews_NFTCollectionDisplay.md delete mode 100644 docs/MetdataViews/MetadataViews_NFTView.md delete mode 100644 docs/MetdataViews/MetadataViews_Rarity.md delete mode 100644 docs/MetdataViews/MetadataViews_Resolver.md delete mode 100644 docs/MetdataViews/MetadataViews_ResolverCollection.md delete mode 100644 docs/MetdataViews/MetadataViews_Royalties.md delete mode 100644 docs/MetdataViews/MetadataViews_Royalty.md delete mode 100644 docs/MetdataViews/MetadataViews_Serial.md delete mode 100644 docs/MetdataViews/MetadataViews_Trait.md delete mode 100644 docs/MetdataViews/MetadataViews_Traits.md delete mode 100644 docs/NonFungibleToken/NonFungibleToken.md delete mode 100644 docs/NonFungibleToken/NonFungibleToken_Collection.md delete mode 100644 docs/NonFungibleToken/NonFungibleToken_CollectionPublic.md delete mode 100644 docs/NonFungibleToken/NonFungibleToken_INFT.md delete mode 100644 docs/NonFungibleToken/NonFungibleToken_NFT.md delete mode 100644 docs/NonFungibleToken/NonFungibleToken_Provider.md delete mode 100644 docs/NonFungibleToken/NonFungibleToken_Receiver.md diff --git a/contracts/ExampleNFT.cdc b/contracts/ExampleNFT.cdc index d9c18d1b..cd4d6406 100644 --- a/contracts/ExampleNFT.cdc +++ b/contracts/ExampleNFT.cdc @@ -16,13 +16,17 @@ import "MetadataViews" access(all) contract ExampleNFT: NonFungibleToken { + /// Standard Paths + access(all) let CollectionStoragePath: StoragePath + access(all) let CollectionPublicPath: PublicPath + /// Path where the minter should be stored /// The standard paths for the collection are stored in the collection resource type access(all) let MinterStoragePath: StoragePath /// We choose the name NFT here, but this type can have any name now /// because the interface does not require it to have a specific name any more - access(all) resource NFT: NonFungibleToken.NFT, ViewResolver.Resolver { + access(all) resource NFT: NonFungibleToken.NFT { access(all) let id: UInt64 @@ -124,7 +128,7 @@ access(all) contract ExampleNFT: NonFungibleToken { } } - // Deprecatred: Only here for backward compatibility. + // Deprecated: Only here for backward compatibility. access(all) resource interface ExampleNFTCollectionPublic {} access(all) resource Collection: NonFungibleToken.Collection, ExampleNFTCollectionPublic { @@ -229,8 +233,8 @@ access(all) contract ExampleNFT: NonFungibleToken { switch viewType { case Type(): let collectionData = MetadataViews.NFTCollectionData( - storagePath: /storage/cadenceExampleNFTCollection, - publicPath: /public/cadenceExampleNFTCollection, + storagePath: self.CollectionStoragePath, + publicPath: self.CollectionPublicPath, publicCollection: Type<&ExampleNFT.Collection>(), publicLinkedType: Type<&ExampleNFT.Collection>(), createEmptyCollectionFunction: (fun(): @{NonFungibleToken.Collection} { @@ -297,7 +301,9 @@ access(all) contract ExampleNFT: NonFungibleToken { init() { // Set the named paths - self.MinterStoragePath = /storage/cadenceExampleNFTMinter + self.CollectionStoragePath = /storage/exampleNFTCollection + self.CollectionPublicPath = /public/exampleNFTCollection + self.MinterStoragePath = /storage/exampleNFTMinter // Create a Collection resource and save it to storage let collection <- create Collection() diff --git a/contracts/NonFungibleToken.cdc b/contracts/NonFungibleToken.cdc index 4f79d2cc..9c67a301 100644 --- a/contracts/NonFungibleToken.cdc +++ b/contracts/NonFungibleToken.cdc @@ -85,9 +85,6 @@ access(all) contract interface NonFungibleToken: ViewResolver { /// access(all) event Deposited(type: String, id: UInt64, uuid: UInt64, to: Address?, collectionUUID: UInt64) - /// Included for backwards-compatibility - access(all) resource interface INFT: NFT {} - /// Interface that the NFTs must conform to /// access(all) resource interface NFT: ViewResolver.Resolver { diff --git a/docs/ExampleNFT/ExampleNFT.md b/docs/ExampleNFT/ExampleNFT.md deleted file mode 100644 index 68504ae4..00000000 --- a/docs/ExampleNFT/ExampleNFT.md +++ /dev/null @@ -1,128 +0,0 @@ -# Contract `ExampleNFT` - -```cadence -contract ExampleNFT { - - totalSupply: UInt64 - - CollectionStoragePath: StoragePath - - CollectionPublicPath: PublicPath - - MinterStoragePath: StoragePath -} -``` - - -Implemented Interfaces: - - `NonFungibleToken` - -## Interfaces - -### resource interface `ExampleNFTCollectionPublic` - -```cadence -resource interface ExampleNFTCollectionPublic { -} -``` -Defines the methods that are particular to this NFT contract collection - -[More...](ExampleNFT_ExampleNFTCollectionPublic.md) - ---- -## Structs & Resources - -### resource `NFT` - -```cadence -resource NFT { - - id: UInt64 - - name: String - - description: String - - thumbnail: String - - royalties: [MetadataViews.Royalty] - - metadata: {String: AnyStruct} -} -``` -The core resource that represents a Non Fungible Token. -New instances will be created using the NFTMinter resource -and stored in the Collection resource - -[More...](ExampleNFT_NFT.md) - ---- - -### resource `Collection` - -```cadence -resource Collection { - - ownedNFTs: {UInt64: NonFungibleToken.NFT} -} -``` -The resource that will be holding the NFTs inside any account. -In order to be able to manage NFTs any account will need to create -an empty collection first - -[More...](ExampleNFT_Collection.md) - ---- - -### resource `NFTMinter` - -```cadence -resource NFTMinter { -} -``` -Resource that an admin or something similar would own to be -able to mint new NFTs - -[More...](ExampleNFT_NFTMinter.md) - ---- -## Functions - -### fun `createEmptyCollection()` - -```cadence -func createEmptyCollection(): NonFungibleToken.Collection -``` -Allows anyone to create a new empty collection - -Returns: The new Collection resource - ---- -## Events - -### event `ContractInitialized` - -```cadence -event ContractInitialized() -``` -The event that is emitted when the contract is created - ---- - -### event `Withdraw` - -```cadence -event Withdraw(id UInt64, from Address?) -``` -The event that is emitted when an NFT is withdrawn from a Collection - ---- - -### event `Deposit` - -```cadence -event Deposit(id UInt64, to Address?) -``` -The event that is emitted when an NFT is deposited to a Collection - ---- diff --git a/docs/ExampleNFT/ExampleNFT_Collection.md b/docs/ExampleNFT/ExampleNFT_Collection.md deleted file mode 100644 index c3fa3d62..00000000 --- a/docs/ExampleNFT/ExampleNFT_Collection.md +++ /dev/null @@ -1,112 +0,0 @@ -# Resource `Collection` - -```cadence -resource Collection { - - ownedNFTs: {UInt64: NonFungibleToken.NFT} -} -``` - -The resource that will be holding the NFTs inside any account. -In order to be able to manage NFTs any account will need to create -an empty collection first - -Implemented Interfaces: - - `ExampleNFTCollectionPublic` - - `NonFungibleToken.Provider` - - `NonFungibleToken.Receiver` - - `NonFungibleToken.CollectionPublic` - - `MetadataViews.ResolverCollection` - - -### Initializer - -```cadence -func init() -``` - - -## Functions - -### fun `withdraw()` - -```cadence -func withdraw(withdrawID UInt64): NonFungibleToken.NFT -``` -Removes an NFT from the collection and moves it to the caller - -Parameters: - - withdrawID : _The ID of the NFT that wants to be withdrawn_ - -Returns: The NFT resource that has been taken out of the collection - ---- - -### fun `deposit()` - -```cadence -func deposit(token NonFungibleToken.NFT) -``` -Adds an NFT to the collections dictionary and adds the ID to the id array - -Parameters: - - token : _The NFT resource to be included in the collection_ - ---- - -### fun `getIDs()` - -```cadence -func getIDs(): [UInt64] -``` -Helper method for getting the collection IDs - -Returns: An array containing the IDs of the NFTs in the collection - ---- - -### fun `borrowNFT()` - -```cadence -func borrowNFT(id UInt64): &NonFungibleToken.NFT -``` -Gets a reference to an NFT in the collection so that -the caller can read its metadata and call its methods - -Parameters: - - id : _The ID of the wanted NFT_ - -Returns: A reference to the wanted NFT resource - ---- - -### fun `borrowExampleNFT()` - -```cadence -func borrowExampleNFT(id UInt64): &ExampleNFT.NFT? -``` -Gets a reference to an NFT in the collection so that -the caller can read its metadata and call its methods - -Parameters: - - id : _The ID of the wanted NFT_ - -Returns: A reference to the wanted NFT resource - ---- - -### fun `borrowViewResolver()` - -```cadence -func borrowViewResolver(id UInt64): &AnyResource{MetadataViews.Resolver} -``` -Gets a reference to the NFT only conforming to the `{MetadataViews.Resolver}` -interface so that the caller can retrieve the views that the NFT -is implementing and resolve them - -Parameters: - - id : _The ID of the wanted NFT_ - -Returns: The resource reference conforming to the Resolver interface - ---- diff --git a/docs/ExampleNFT/ExampleNFT_ExampleNFTCollectionPublic.md b/docs/ExampleNFT/ExampleNFT_ExampleNFTCollectionPublic.md deleted file mode 100644 index 26f6583c..00000000 --- a/docs/ExampleNFT/ExampleNFT_ExampleNFTCollectionPublic.md +++ /dev/null @@ -1,41 +0,0 @@ -# Resource Interface `ExampleNFTCollectionPublic` - -```cadence -resource interface ExampleNFTCollectionPublic { -} -``` - -Defines the methods that are particular to this NFT contract collection -## Functions - -### fun `deposit()` - -```cadence -func deposit(token NonFungibleToken.NFT) -``` - ---- - -### fun `getIDs()` - -```cadence -func getIDs(): [UInt64] -``` - ---- - -### fun `borrowNFT()` - -```cadence -func borrowNFT(id UInt64): &NonFungibleToken.NFT -``` - ---- - -### fun `borrowExampleNFT()` - -```cadence -func borrowExampleNFT(id UInt64): &ExampleNFT.NFT? -``` - ---- diff --git a/docs/ExampleNFT/ExampleNFT_NFT.md b/docs/ExampleNFT/ExampleNFT_NFT.md deleted file mode 100644 index cb27f69c..00000000 --- a/docs/ExampleNFT/ExampleNFT_NFT.md +++ /dev/null @@ -1,63 +0,0 @@ -# Resource `NFT` - -```cadence -resource NFT { - - id: UInt64 - - name: String - - description: String - - thumbnail: String - - royalties: [MetadataViews.Royalty] - - metadata: {String: AnyStruct} -} -``` - -The core resource that represents a Non Fungible Token. -New instances will be created using the NFTMinter resource -and stored in the Collection resource - -Implemented Interfaces: - - `NonFungibleToken.INFT` - - `MetadataViews.Resolver` - - -### Initializer - -```cadence -func init(id UInt64, name String, description String, thumbnail String, royalties [MetadataViews.Royalty], metadata {String: AnyStruct}) -``` - - -## Functions - -### fun `getViews()` - -```cadence -func getViews(): [Type] -``` -Function that returns all the Metadata Views implemented by a Non Fungible Token - -developers to know which parameter to pass to the resolveView() method. - -Returns: An array of Types defining the implemented views. This value will be used by - ---- - -### fun `resolveView()` - -```cadence -func resolveView(_ Type): AnyStruct? -``` -Function that resolves a metadata view for this token. - -Parameters: - - view : _The Type of the desired view._ - -Returns: A structure representing the requested view. - ---- diff --git a/docs/ExampleNFT/ExampleNFT_NFTMinter.md b/docs/ExampleNFT/ExampleNFT_NFTMinter.md deleted file mode 100644 index 4d022464..00000000 --- a/docs/ExampleNFT/ExampleNFT_NFTMinter.md +++ /dev/null @@ -1,27 +0,0 @@ -# Resource `NFTMinter` - -```cadence -resource NFTMinter { -} -``` - -Resource that an admin or something similar would own to be -able to mint new NFTs -## Functions - -### fun `mintNFT()` - -```cadence -func mintNFT(recipient &{NonFungibleToken.CollectionPublic}, name String, description String, thumbnail String, royalties [MetadataViews.Royalty]) -``` -Mints a new NFT with a new ID and deposit it in the -recipients collection using their collection reference - -Parameters: - - recipient : _A capability to the collection where the new NFT will be deposited_ - - name : _The name for the NFT metadata_ - - description : _The description for the NFT metadata_ - - thumbnail : _The thumbnail for the NFT metadata_ - - royalties : _An array of Royalty structs, see MetadataViews docs_ - ---- diff --git a/docs/MetdataViews/MetadataViews.md b/docs/MetdataViews/MetadataViews.md deleted file mode 100644 index 3777284f..00000000 --- a/docs/MetdataViews/MetadataViews.md +++ /dev/null @@ -1,604 +0,0 @@ -# Contract `MetadataViews` - -```cadence -pub contract MetadataViews { -} -``` - -This contract implements the metadata standard proposed -in FLIP-0636. - -Ref: https://github.com/onflow/flips/blob/main/application/20210916-nft-metadata.md - -Structs and resources can implement one or more -metadata types, called views. Each view type represents -a different kind of metadata, such as a creator biography -or a JPEG image file. -## Interfaces - -### `Resolver` - -```cadence -pub resource interface Resolver { -} -``` -Provides access to a set of metadata views. A struct or -resource (e.g. an NFT) can implement this interface to provide access to -the views that it supports. - -[More...](MetadataViews_Resolver.md) - ---- - -### `ResolverCollection` - -```cadence -pub resource interface ResolverCollection { -} -``` -A group of view resolvers indexed by ID. - -[More...](MetadataViews_ResolverCollection.md) - ---- - -### `File` - -```cadence -pub struct interface File { -} -``` -Generic interface that represents a file stored on or off chain. Files -can be used to references images, videos and other media. - -[More...](MetadataViews_File.md) - ---- -## Structs & Resources - -### `NFTView` - -```cadence -pub struct NFTView { - - pub let id: UInt64 - - pub let uuid: UInt64 - - pub let display: Display? - - pub let externalURL: ExternalURL? - - pub let collectionData: NFTCollectionData? - - pub let collectionDisplay: NFTCollectionDisplay? - - pub let royalties: Royalties? - - pub let traits: Traits? -} -``` -NFTView wraps all Core views along `id` and `uuid` fields, and is used -to give a complete picture of an NFT. Most NFTs should implement this -view. - -[More...](MetadataViews_NFTView.md) - ---- - -### `Display` - -```cadence -pub struct Display { - - pub let name: String - - pub let description: String - - pub let thumbnail: AnyStruct{File} -} -``` -Display is a basic view that includes the name, description and -thumbnail for an object. Most objects should implement this view. - -[More...](MetadataViews_Display.md) - ---- - -### `HTTPFile` - -```cadence -pub struct HTTPFile { - - pub let url: String -} -``` -View to expose a file that is accessible at an HTTP (or HTTPS) URL. - -[More...](MetadataViews_HTTPFile.md) - ---- - -### `IPFSFile` - -```cadence -pub struct IPFSFile { - - pub let cid: String - - pub let path: String? -} -``` -View to expose a file stored on IPFS. -IPFS images are referenced by their content identifier (CID) -rather than a direct URI. A client application can use this CID -to find and load the image via an IPFS gateway. - -[More...](MetadataViews_IPFSFile.md) - ---- - -### `Edition` - -```cadence -pub struct Edition { - - pub let name: String? - - pub let number: UInt64 - - pub let max: UInt64? -} -``` -Optional view for collections that issue multiple objects -with the same or similar metadata, for example an X of 100 set. This -information is useful for wallets and marketplaces. -An NFT might be part of multiple editions, which is why the edition -information is returned as an arbitrary sized array - -[More...](MetadataViews_Edition.md) - ---- - -### `Editions` - -```cadence -pub struct Editions { - - pub let infoList: [Edition] -} -``` -Wrapper view for multiple Edition views - -[More...](MetadataViews_Editions.md) - ---- - -### `Serial` - -```cadence -pub struct Serial { - - pub let number: UInt64 -} -``` -View representing a project-defined serial number for a specific NFT -Projects have different definitions for what a serial number should be -Some may use the NFTs regular ID and some may use a different -classification system. The serial number is expected to be unique among -other NFTs within that project - -[More...](MetadataViews_Serial.md) - ---- - -### `Royalty` - -```cadence -pub struct Royalty { - - pub let receiver: Capability<&AnyResource{FungibleToken.Receiver}> - - pub let cut: UFix64 - - pub let description: String -} -``` -View that defines the composable royalty standard that gives marketplaces a -unified interface to support NFT royalties. - -[More...](MetadataViews_Royalty.md) - ---- - -### `Royalties` - -```cadence -pub struct Royalties { - - priv let cutInfos: [Royalty] -} -``` -Wrapper view for multiple Royalty views. -Marketplaces can query this `Royalties` struct from NFTs -and are expected to pay royalties based on these specifications. - -[More...](MetadataViews_Royalties.md) - ---- - -### `Media` - -```cadence -pub struct Media { - - pub let file: AnyStruct{File} - - pub let mediaType: String -} -``` -View to represent, a file with an correspoiding mediaType. - -[More...](MetadataViews_Media.md) - ---- - -### `Medias` - -```cadence -pub struct Medias { - - pub let items: [Media] -} -``` -Wrapper view for multiple media views - -[More...](MetadataViews_Medias.md) - ---- - -### `License` - -```cadence -pub struct License { - - pub let spdxIdentifier: String -} -``` -View to represent a license according to https://spdx.org/licenses/ -This view can be used if the content of an NFT is licensed. - -[More...](MetadataViews_License.md) - ---- - -### `ExternalURL` - -```cadence -pub struct ExternalURL { - - pub let url: String -} -``` -View to expose a URL to this item on an external site. -This can be used by applications like .find and Blocto to direct users -to the original link for an NFT. - -[More...](MetadataViews_ExternalURL.md) - ---- - -### `NFTCollectionData` - -```cadence -pub struct NFTCollectionData { - - pub let storagePath: StoragePath - - pub let publicPath: PublicPath - - pub let providerPath: PrivatePath - - pub let publicCollection: Type - - pub let publicLinkedType: Type - - pub let providerLinkedType: Type - - pub let createEmptyCollection: ((): @NonFungibleToken.Collection) -} -``` -View to expose the information needed store and retrieve an NFT. -This can be used by applications to setup a NFT collection with proper -storage and public capabilities. - -[More...](MetadataViews_NFTCollectionData.md) - ---- - -### `NFTCollectionDisplay` - -```cadence -pub struct NFTCollectionDisplay { - - pub let name: String - - pub let description: String - - pub let externalURL: ExternalURL - - pub let squareImage: Media - - pub let bannerImage: Media - - pub let socials: {String: ExternalURL} -} -``` -View to expose the information needed to showcase this NFT's -collection. This can be used by applications to give an overview and -graphics of the NFT collection this NFT belongs to. - -[More...](MetadataViews_NFTCollectionDisplay.md) - ---- - -### `Rarity` - -```cadence -pub struct Rarity { - - pub let score: UFix64? - - pub let max: UFix64? - - pub let description: String? -} -``` -View to expose rarity information for a single rarity -Note that a rarity needs to have either score or description but it can -have both - -[More...](MetadataViews_Rarity.md) - ---- - -### `Trait` - -```cadence -pub struct Trait { - - pub let name: String - - pub let value: AnyStruct - - pub let displayType: String? - - pub let rarity: Rarity? -} -``` -View to represent a single field of metadata on an NFT. -This is used to get traits of individual key/value pairs along with some -contextualized data about the trait - -[More...](MetadataViews_Trait.md) - ---- - -### `Traits` - -```cadence -pub struct Traits { - - pub let traits: [Trait] -} -``` -Wrapper view to return all the traits on an NFT. -This is used to return traits as individual key/value pairs along with -some contextualized data about each trait. - -[More...](MetadataViews_Traits.md) - ---- -## Functions - -### `getNFTView()` - -```cadence -fun getNFTView(id: UInt64, viewResolver: &{Resolver}): NFTView -``` -Helper to get an NFT view - -Parameters: - - id : _The NFT id_ - - viewResolver : _A reference to the resolver resource_ - -Returns: A NFTView struct - ---- - -### `getDisplay()` - -```cadence -fun getDisplay(_: &{Resolver}): Display? -``` -Helper to get Display in a typesafe way - -Parameters: - - viewResolver : _A reference to the resolver resource_ - -Returns: An optional Display struct - ---- - -### `getEditions()` - -```cadence -fun getEditions(_: &{Resolver}): Editions? -``` -Helper to get Editions in a typesafe way - -Parameters: - - viewResolver : _A reference to the resolver resource_ - -Returns: An optional Editions struct - ---- - -### `getSerial()` - -```cadence -fun getSerial(_: &{Resolver}): Serial? -``` -Helper to get Serial in a typesafe way - -Parameters: - - viewResolver : _A reference to the resolver resource_ - -Returns: An optional Serial struct - ---- - -### `getRoyalties()` - -```cadence -fun getRoyalties(_: &{Resolver}): Royalties? -``` -Helper to get Royalties in a typesafe way - -Parameters: - - viewResolver : _A reference to the resolver resource_ - -Returns: A optional Royalties struct - ---- - -### `getRoyaltyReceiverPublicPath()` - -```cadence -fun getRoyaltyReceiverPublicPath(): PublicPath -``` -Get the path that should be used for receiving royalties -This is a path that will eventually be used for a generic switchboard receiver, -hence the name but will only be used for royalties for now. - -Returns: The PublicPath for the generic FT receiver - ---- - -### `getMedias()` - -```cadence -fun getMedias(_: &{Resolver}): Medias? -``` -Helper to get Medias in a typesafe way - -Parameters: - - viewResolver : _A reference to the resolver resource_ - -Returns: A optional Medias struct - ---- - -### `getLicense()` - -```cadence -fun getLicense(_: &{Resolver}): License? -``` -Helper to get License in a typesafe way - -Parameters: - - viewResolver : _A reference to the resolver resource_ - -Returns: A optional License struct - ---- - -### `getExternalURL()` - -```cadence -fun getExternalURL(_: &{Resolver}): ExternalURL? -``` -Helper to get ExternalURL in a typesafe way - -Parameters: - - viewResolver : _A reference to the resolver resource_ - -Returns: A optional ExternalURL struct - ---- - -### `getNFTCollectionData()` - -```cadence -fun getNFTCollectionData(_: &{Resolver}): NFTCollectionData? -``` -Helper to get NFTCollectionData in a way that will return an typed Optional - -Parameters: - - viewResolver : _A reference to the resolver resource_ - -Returns: A optional NFTCollectionData struct - ---- - -### `getNFTCollectionDisplay()` - -```cadence -fun getNFTCollectionDisplay(_: &{Resolver}): NFTCollectionDisplay? -``` -Helper to get NFTCollectionDisplay in a way that will return a typed -Optional - -Parameters: - - viewResolver : _A reference to the resolver resource_ - -Returns: A optional NFTCollection struct - ---- - -### `getRarity()` - -```cadence -fun getRarity(_: &{Resolver}): Rarity? -``` -Helper to get Rarity view in a typesafe way - -Parameters: - - viewResolver : _A reference to the resolver resource_ - -Returns: A optional Rarity struct - ---- - -### `getTraits()` - -```cadence -fun getTraits(_: &{Resolver}): Traits? -``` -Helper to get Traits view in a typesafe way - -Parameters: - - viewResolver : _A reference to the resolver resource_ - -Returns: A optional Traits struct - ---- - -### `dictToTraits()` - -```cadence -fun dictToTraits(dict: {String: AnyStruct}, excludedNames: [String]?): Traits -``` -Helper function to easily convert a dictionary to traits. For NFT -collections that do not need either of the optional values of a Trait, -this method should suffice to give them an array of valid traits. - -keys that are not wanted to become `Traits` - -Parameters: - - dict : _The dictionary to be converted to Traits_ - - excludedNames : _An optional String array specifying the `dict`_ - -Returns: The generated Traits view - ---- diff --git a/docs/MetdataViews/MetadataViews_Display.md b/docs/MetdataViews/MetadataViews_Display.md deleted file mode 100644 index 20317c78..00000000 --- a/docs/MetdataViews/MetadataViews_Display.md +++ /dev/null @@ -1,23 +0,0 @@ -# Struct `Display` - -```cadence -pub struct Display { - - pub let name: String - - pub let description: String - - pub let thumbnail: AnyStruct{File} -} -``` - -Display is a basic view that includes the name, description and -thumbnail for an object. Most objects should implement this view. - -### Initializer - -```cadence -init(name: String, description: String, thumbnail: AnyStruct{File}) -``` - - diff --git a/docs/MetdataViews/MetadataViews_Edition.md b/docs/MetdataViews/MetadataViews_Edition.md deleted file mode 100644 index a78ab4d2..00000000 --- a/docs/MetdataViews/MetadataViews_Edition.md +++ /dev/null @@ -1,26 +0,0 @@ -# Struct `Edition` - -```cadence -pub struct Edition { - - pub let name: String? - - pub let number: UInt64 - - pub let max: UInt64? -} -``` - -Optional view for collections that issue multiple objects -with the same or similar metadata, for example an X of 100 set. This -information is useful for wallets and marketplaces. -An NFT might be part of multiple editions, which is why the edition -information is returned as an arbitrary sized array - -### Initializer - -```cadence -init(name: String?, number: UInt64, max: UInt64?) -``` - - diff --git a/docs/MetdataViews/MetadataViews_Editions.md b/docs/MetdataViews/MetadataViews_Editions.md deleted file mode 100644 index aea84b99..00000000 --- a/docs/MetdataViews/MetadataViews_Editions.md +++ /dev/null @@ -1,18 +0,0 @@ -# Struct `Editions` - -```cadence -pub struct Editions { - - pub let infoList: [Edition] -} -``` - -Wrapper view for multiple Edition views - -### Initializer - -```cadence -init(_: [Edition]) -``` - - diff --git a/docs/MetdataViews/MetadataViews_ExternalURL.md b/docs/MetdataViews/MetadataViews_ExternalURL.md deleted file mode 100644 index a0d58d15..00000000 --- a/docs/MetdataViews/MetadataViews_ExternalURL.md +++ /dev/null @@ -1,20 +0,0 @@ -# Struct `ExternalURL` - -```cadence -pub struct ExternalURL { - - pub let url: String -} -``` - -View to expose a URL to this item on an external site. -This can be used by applications like .find and Blocto to direct users -to the original link for an NFT. - -### Initializer - -```cadence -init(_: String) -``` - - diff --git a/docs/MetdataViews/MetadataViews_File.md b/docs/MetdataViews/MetadataViews_File.md deleted file mode 100644 index 7850170d..00000000 --- a/docs/MetdataViews/MetadataViews_File.md +++ /dev/null @@ -1,18 +0,0 @@ -# Struct Interface `File` - -```cadence -pub struct interface File { -} -``` - -Generic interface that represents a file stored on or off chain. Files -can be used to references images, videos and other media. -## Functions - -### `uri()` - -```cadence -fun uri(): String -``` - ---- diff --git a/docs/MetdataViews/MetadataViews_HTTPFile.md b/docs/MetdataViews/MetadataViews_HTTPFile.md deleted file mode 100644 index f8c8f752..00000000 --- a/docs/MetdataViews/MetadataViews_HTTPFile.md +++ /dev/null @@ -1,31 +0,0 @@ -# Struct `HTTPFile` - -```cadence -pub struct HTTPFile { - - pub let url: String -} -``` - -View to expose a file that is accessible at an HTTP (or HTTPS) URL. - -Implemented Interfaces: - - `File` - - -### Initializer - -```cadence -init(url: String) -``` - - -## Functions - -### `uri()` - -```cadence -fun uri(): String -``` - ---- diff --git a/docs/MetdataViews/MetadataViews_IPFSFile.md b/docs/MetdataViews/MetadataViews_IPFSFile.md deleted file mode 100644 index a2f09723..00000000 --- a/docs/MetdataViews/MetadataViews_IPFSFile.md +++ /dev/null @@ -1,40 +0,0 @@ -# Struct `IPFSFile` - -```cadence -pub struct IPFSFile { - - pub let cid: String - - pub let path: String? -} -``` - -View to expose a file stored on IPFS. -IPFS images are referenced by their content identifier (CID) -rather than a direct URI. A client application can use this CID -to find and load the image via an IPFS gateway. - -Implemented Interfaces: - - `File` - - -### Initializer - -```cadence -init(cid: String, path: String?) -``` - - -## Functions - -### `uri()` - -```cadence -fun uri(): String -``` -This function returns the IPFS native URL for this file. -Ref: https://docs.ipfs.io/how-to/address-ipfs-on-web/#native-urls - -Returns: The string containing the file uri - ---- diff --git a/docs/MetdataViews/MetadataViews_License.md b/docs/MetdataViews/MetadataViews_License.md deleted file mode 100644 index 5017d304..00000000 --- a/docs/MetdataViews/MetadataViews_License.md +++ /dev/null @@ -1,19 +0,0 @@ -# Struct `License` - -```cadence -pub struct License { - - pub let spdxIdentifier: String -} -``` - -View to represent a license according to https://spdx.org/licenses/ -This view can be used if the content of an NFT is licensed. - -### Initializer - -```cadence -init(_: String) -``` - - diff --git a/docs/MetdataViews/MetadataViews_Media.md b/docs/MetdataViews/MetadataViews_Media.md deleted file mode 100644 index ad08a908..00000000 --- a/docs/MetdataViews/MetadataViews_Media.md +++ /dev/null @@ -1,20 +0,0 @@ -# Struct `Media` - -```cadence -pub struct Media { - - pub let file: AnyStruct{File} - - pub let mediaType: String -} -``` - -View to represent, a file with an correspoiding mediaType. - -### Initializer - -```cadence -init(file: AnyStruct{File}, mediaType: String) -``` - - diff --git a/docs/MetdataViews/MetadataViews_Medias.md b/docs/MetdataViews/MetadataViews_Medias.md deleted file mode 100644 index 35e450e4..00000000 --- a/docs/MetdataViews/MetadataViews_Medias.md +++ /dev/null @@ -1,18 +0,0 @@ -# Struct `Medias` - -```cadence -pub struct Medias { - - pub let items: [Media] -} -``` - -Wrapper view for multiple media views - -### Initializer - -```cadence -init(_: [Media]) -``` - - diff --git a/docs/MetdataViews/MetadataViews_NFTCollectionData.md b/docs/MetdataViews/MetadataViews_NFTCollectionData.md deleted file mode 100644 index 887c8df8..00000000 --- a/docs/MetdataViews/MetadataViews_NFTCollectionData.md +++ /dev/null @@ -1,32 +0,0 @@ -# Struct `NFTCollectionData` - -```cadence -pub struct NFTCollectionData { - - pub let storagePath: StoragePath - - pub let publicPath: PublicPath - - pub let providerPath: PrivatePath - - pub let publicCollection: Type - - pub let publicLinkedType: Type - - pub let providerLinkedType: Type - - pub let createEmptyCollection: ((): @NonFungibleToken.Collection) -} -``` - -View to expose the information needed store and retrieve an NFT. -This can be used by applications to setup a NFT collection with proper -storage and public capabilities. - -### Initializer - -```cadence -init(storagePath: StoragePath, publicPath: PublicPath, providerPath: PrivatePath, publicCollection: Type, publicLinkedType: Type, providerLinkedType: Type, createEmptyCollectionFunction: ((): @NonFungibleToken.Collection)) -``` - - diff --git a/docs/MetdataViews/MetadataViews_NFTCollectionDisplay.md b/docs/MetdataViews/MetadataViews_NFTCollectionDisplay.md deleted file mode 100644 index c29a6ebc..00000000 --- a/docs/MetdataViews/MetadataViews_NFTCollectionDisplay.md +++ /dev/null @@ -1,30 +0,0 @@ -# Struct `NFTCollectionDisplay` - -```cadence -pub struct NFTCollectionDisplay { - - pub let name: String - - pub let description: String - - pub let externalURL: ExternalURL - - pub let squareImage: Media - - pub let bannerImage: Media - - pub let socials: {String: ExternalURL} -} -``` - -View to expose the information needed to showcase this NFT's -collection. This can be used by applications to give an overview and -graphics of the NFT collection this NFT belongs to. - -### Initializer - -```cadence -init(name: String, description: String, externalURL: ExternalURL, squareImage: Media, bannerImage: Media, socials: {String: ExternalURL}) -``` - - diff --git a/docs/MetdataViews/MetadataViews_NFTView.md b/docs/MetdataViews/MetadataViews_NFTView.md deleted file mode 100644 index 1613bbf1..00000000 --- a/docs/MetdataViews/MetadataViews_NFTView.md +++ /dev/null @@ -1,34 +0,0 @@ -# Struct `NFTView` - -```cadence -pub struct NFTView { - - pub let id: UInt64 - - pub let uuid: UInt64 - - pub let display: Display? - - pub let externalURL: ExternalURL? - - pub let collectionData: NFTCollectionData? - - pub let collectionDisplay: NFTCollectionDisplay? - - pub let royalties: Royalties? - - pub let traits: Traits? -} -``` - -NFTView wraps all Core views along `id` and `uuid` fields, and is used -to give a complete picture of an NFT. Most NFTs should implement this -view. - -### Initializer - -```cadence -init(id: UInt64, uuid: UInt64, display: Display?, externalURL: ExternalURL?, collectionData: NFTCollectionData?, collectionDisplay: NFTCollectionDisplay?, royalties: Royalties?, traits: Traits?) -``` - - diff --git a/docs/MetdataViews/MetadataViews_Rarity.md b/docs/MetdataViews/MetadataViews_Rarity.md deleted file mode 100644 index 5400ebc7..00000000 --- a/docs/MetdataViews/MetadataViews_Rarity.md +++ /dev/null @@ -1,24 +0,0 @@ -# Struct `Rarity` - -```cadence -pub struct Rarity { - - pub let score: UFix64? - - pub let max: UFix64? - - pub let description: String? -} -``` - -View to expose rarity information for a single rarity -Note that a rarity needs to have either score or description but it can -have both - -### Initializer - -```cadence -init(score: UFix64?, max: UFix64?, description: String?) -``` - - diff --git a/docs/MetdataViews/MetadataViews_Resolver.md b/docs/MetdataViews/MetadataViews_Resolver.md deleted file mode 100644 index 12d16a09..00000000 --- a/docs/MetdataViews/MetadataViews_Resolver.md +++ /dev/null @@ -1,27 +0,0 @@ -# Resource Interface `Resolver` - -```cadence -pub resource interface Resolver { -} -``` - -Provides access to a set of metadata views. A struct or -resource (e.g. an NFT) can implement this interface to provide access to -the views that it supports. -## Functions - -### `getViews()` - -```cadence -fun getViews(): [Type] -``` - ---- - -### `resolveView()` - -```cadence -fun resolveView(_: Type): AnyStruct? -``` - ---- diff --git a/docs/MetdataViews/MetadataViews_ResolverCollection.md b/docs/MetdataViews/MetadataViews_ResolverCollection.md deleted file mode 100644 index 6371efff..00000000 --- a/docs/MetdataViews/MetadataViews_ResolverCollection.md +++ /dev/null @@ -1,25 +0,0 @@ -# Resource Interface `ResolverCollection` - -```cadence -pub resource interface ResolverCollection { -} -``` - -A group of view resolvers indexed by ID. -## Functions - -### `borrowViewResolver()` - -```cadence -fun borrowViewResolver(id: UInt64): &{Resolver} -``` - ---- - -### `getIDs()` - -```cadence -fun getIDs(): [UInt64] -``` - ---- diff --git a/docs/MetdataViews/MetadataViews_Royalties.md b/docs/MetdataViews/MetadataViews_Royalties.md deleted file mode 100644 index 14cecdba..00000000 --- a/docs/MetdataViews/MetadataViews_Royalties.md +++ /dev/null @@ -1,32 +0,0 @@ -# Struct `Royalties` - -```cadence -pub struct Royalties { - - priv let cutInfos: [Royalty] -} -``` - -Wrapper view for multiple Royalty views. -Marketplaces can query this `Royalties` struct from NFTs -and are expected to pay royalties based on these specifications. - -### Initializer - -```cadence -init(_: [Royalty]) -``` - - -## Functions - -### `getRoyalties()` - -```cadence -fun getRoyalties(): [Royalty] -``` -Return the cutInfos list - -Returns: An array containing all the royalties structs - ---- diff --git a/docs/MetdataViews/MetadataViews_Royalty.md b/docs/MetdataViews/MetadataViews_Royalty.md deleted file mode 100644 index 54c98c2e..00000000 --- a/docs/MetdataViews/MetadataViews_Royalty.md +++ /dev/null @@ -1,23 +0,0 @@ -# Struct `Royalty` - -```cadence -pub struct Royalty { - - pub let receiver: Capability<&AnyResource{FungibleToken.Receiver}> - - pub let cut: UFix64 - - pub let description: String -} -``` - -View that defines the composable royalty standard that gives marketplaces a -unified interface to support NFT royalties. - -### Initializer - -```cadence -init(receiver: Capability<&AnyResource{FungibleToken.Receiver}>, cut: UFix64, description: String) -``` - - diff --git a/docs/MetdataViews/MetadataViews_Serial.md b/docs/MetdataViews/MetadataViews_Serial.md deleted file mode 100644 index c5ab8d7f..00000000 --- a/docs/MetdataViews/MetadataViews_Serial.md +++ /dev/null @@ -1,22 +0,0 @@ -# Struct `Serial` - -```cadence -pub struct Serial { - - pub let number: UInt64 -} -``` - -View representing a project-defined serial number for a specific NFT -Projects have different definitions for what a serial number should be -Some may use the NFTs regular ID and some may use a different -classification system. The serial number is expected to be unique among -other NFTs within that project - -### Initializer - -```cadence -init(_: UInt64) -``` - - diff --git a/docs/MetdataViews/MetadataViews_Trait.md b/docs/MetdataViews/MetadataViews_Trait.md deleted file mode 100644 index 7e140a45..00000000 --- a/docs/MetdataViews/MetadataViews_Trait.md +++ /dev/null @@ -1,26 +0,0 @@ -# Struct `Trait` - -```cadence -pub struct Trait { - - pub let name: String - - pub let value: AnyStruct - - pub let displayType: String? - - pub let rarity: Rarity? -} -``` - -View to represent a single field of metadata on an NFT. -This is used to get traits of individual key/value pairs along with some -contextualized data about the trait - -### Initializer - -```cadence -init(name: String, value: AnyStruct, displayType: String?, rarity: Rarity?) -``` - - diff --git a/docs/MetdataViews/MetadataViews_Traits.md b/docs/MetdataViews/MetadataViews_Traits.md deleted file mode 100644 index ff0db7fb..00000000 --- a/docs/MetdataViews/MetadataViews_Traits.md +++ /dev/null @@ -1,33 +0,0 @@ -# Struct `Traits` - -```cadence -pub struct Traits { - - pub let traits: [Trait] -} -``` - -Wrapper view to return all the traits on an NFT. -This is used to return traits as individual key/value pairs along with -some contextualized data about each trait. - -### Initializer - -```cadence -init(_: [Trait]) -``` - - -## Functions - -### `addTrait()` - -```cadence -fun addTrait(_: Trait) -``` -Adds a single Trait to the Traits view - -Parameters: - - Trait : _The trait struct to be added_ - ---- diff --git a/docs/NonFungibleToken/NonFungibleToken.md b/docs/NonFungibleToken/NonFungibleToken.md deleted file mode 100644 index b4a4cf3a..00000000 --- a/docs/NonFungibleToken/NonFungibleToken.md +++ /dev/null @@ -1,143 +0,0 @@ -# Contract Interface `NonFungibleToken` - -```cadence -pub contract interface NonFungibleToken { - - pub var totalSupply: UInt64 -} -``` - -The main NFT contract interface. Other NFT contracts will -import and implement this interface -## Interfaces - -### `INFT` - -```cadence -pub resource interface INFT { - - pub let id: UInt64 -} -``` -Interface that the NFTs have to conform to -The metadata views methods are included here temporarily -because enforcing the metadata interfaces in the standard -would break many contracts in an upgrade. Those breaking changes -are being saved for the stable cadence milestone - -[More...](NonFungibleToken_INFT.md) - ---- - -### `Provider` - -```cadence -pub resource interface Provider { -} -``` -Interface to mediate withdraws from the Collection - -[More...](NonFungibleToken_Provider.md) - ---- - -### `Receiver` - -```cadence -pub resource interface Receiver { -} -``` -Interface to mediate deposits to the Collection - -[More...](NonFungibleToken_Receiver.md) - ---- - -### `CollectionPublic` - -```cadence -pub resource interface CollectionPublic { -} -``` -Interface that an account would commonly -publish for their collection - -[More...](NonFungibleToken_CollectionPublic.md) - ---- -## Structs & Resources - -### `NFT` - -```cadence -pub resource NFT { - - pub let id: UInt64 -} -``` -Requirement that all conforming NFT smart contracts have -to define a resource called NFT that conforms to INFT - -[More...](NonFungibleToken_NFT.md) - ---- - -### `Collection` - -```cadence -pub resource Collection { - - pub var ownedNFTs: {UInt64: NFT} -} -``` -Requirement for the concrete resource type -to be declared in the implementing contract - -[More...](NonFungibleToken_Collection.md) - ---- -## Functions - -### `createEmptyCollection()` - -```cadence -fun createEmptyCollection(): Collection -``` -Creates an empty Collection and returns it to the caller so that they can own NFTs - -Returns: A new Collection resource - ---- -## Events - -### `ContractInitialized` - -```cadence -pub event ContractInitialized() -``` -Event that emitted when the NFT contract is initialized - ---- - -### `Withdraw` - -```cadence -pub event Withdraw(id: UInt64, from: Address?) -``` -Event that is emitted when a token is withdrawn, -indicating the owner of the collection that it was withdrawn from. - -If the collection is not in an account's storage, `from` will be `nil`. - ---- - -### `Deposit` - -```cadence -pub event Deposit(id: UInt64, to: Address?) -``` -Event that emitted when a token is deposited to a collection. - -It indicates the owner of the collection that it was deposited to. - ---- diff --git a/docs/NonFungibleToken/NonFungibleToken_Collection.md b/docs/NonFungibleToken/NonFungibleToken_Collection.md deleted file mode 100644 index cb0dd6cd..00000000 --- a/docs/NonFungibleToken/NonFungibleToken_Collection.md +++ /dev/null @@ -1,56 +0,0 @@ -# Resource `Collection` - -```cadence -pub resource Collection { - - pub var ownedNFTs: {UInt64: NFT} -} -``` - -Requirement for the concrete resource type -to be declared in the implementing contract - -Implemented Interfaces: - - `Provider` - - `Receiver` - - `CollectionPublic` - -## Functions - -### `withdraw()` - -```cadence -fun withdraw(withdrawID: UInt64): NFT -``` -Removes an NFT from the collection and moves it to the caller - -Parameters: - - withdrawID : _The ID of the NFT that will be withdrawn_ - -Returns: The resource containing the desired NFT - ---- - -### `deposit()` - -```cadence -fun deposit(token: NFT) -``` - ---- - -### `getIDs()` - -```cadence -fun getIDs(): [UInt64] -``` - ---- - -### `borrowNFT()` - -```cadence -fun borrowNFT(id: UInt64): &NFT -``` - ---- diff --git a/docs/NonFungibleToken/NonFungibleToken_CollectionPublic.md b/docs/NonFungibleToken/NonFungibleToken_CollectionPublic.md deleted file mode 100644 index 19517fea..00000000 --- a/docs/NonFungibleToken/NonFungibleToken_CollectionPublic.md +++ /dev/null @@ -1,42 +0,0 @@ -# Resource Interface `CollectionPublic` - -```cadence -pub resource interface CollectionPublic { -} -``` - -Interface that an account would commonly -publish for their collection -## Functions - -### `deposit()` - -```cadence -fun deposit(token: NFT) -``` - ---- - -### `getIDs()` - -```cadence -fun getIDs(): [UInt64] -``` - ---- - -### `borrowNFT()` - -```cadence -fun borrowNFT(id: UInt64): &NFT -``` - ---- - -### `borrowNFTSafe()` - -```cadence -fun borrowNFTSafe(id: UInt64): &NFT? -``` - ---- diff --git a/docs/NonFungibleToken/NonFungibleToken_INFT.md b/docs/NonFungibleToken/NonFungibleToken_INFT.md deleted file mode 100644 index 36116a6e..00000000 --- a/docs/NonFungibleToken/NonFungibleToken_INFT.md +++ /dev/null @@ -1,42 +0,0 @@ -# Resource Interface `INFT` - -```cadence -pub resource interface INFT { - - pub let id: UInt64 -} -``` - -Interface that the NFTs have to conform to -The metadata views methods are included here temporarily -because enforcing the metadata interfaces in the standard -would break many contracts in an upgrade. Those breaking changes -are being saved for the stable cadence milestone -## Functions - -### `getViews()` - -```cadence -fun getViews(): [Type] -``` -Function that returns all the Metadata Views implemented by a Non Fungible Token - -developers to know which parameter to pass to the resolveView() method. - -Returns: An array of Types defining the implemented views. This value will be used by - ---- - -### `resolveView()` - -```cadence -fun resolveView(_: Type): AnyStruct? -``` -Function that resolves a metadata view for this token. - -Parameters: - - view : _The Type of the desired view._ - -Returns: A structure representing the requested view. - ---- diff --git a/docs/NonFungibleToken/NonFungibleToken_NFT.md b/docs/NonFungibleToken/NonFungibleToken_NFT.md deleted file mode 100644 index e5e9c581..00000000 --- a/docs/NonFungibleToken/NonFungibleToken_NFT.md +++ /dev/null @@ -1,15 +0,0 @@ -# Resource `NFT` - -```cadence -pub resource NFT { - - pub let id: UInt64 -} -``` - -Requirement that all conforming NFT smart contracts have -to define a resource called NFT that conforms to INFT - -Implemented Interfaces: - - `INFT` - diff --git a/docs/NonFungibleToken/NonFungibleToken_Provider.md b/docs/NonFungibleToken/NonFungibleToken_Provider.md deleted file mode 100644 index 32c95d13..00000000 --- a/docs/NonFungibleToken/NonFungibleToken_Provider.md +++ /dev/null @@ -1,23 +0,0 @@ -# Resource Interface `Provider` - -```cadence -pub resource interface Provider { -} -``` - -Interface to mediate withdraws from the Collection -## Functions - -### `withdraw()` - -```cadence -fun withdraw(withdrawID: UInt64): NFT -``` -Removes an NFT from the resource implementing it and moves it to the caller - -Parameters: - - withdrawID : _The ID of the NFT that will be removed_ - -Returns: The NFT resource removed from the implementing resource - ---- diff --git a/docs/NonFungibleToken/NonFungibleToken_Receiver.md b/docs/NonFungibleToken/NonFungibleToken_Receiver.md deleted file mode 100644 index 3883c6fd..00000000 --- a/docs/NonFungibleToken/NonFungibleToken_Receiver.md +++ /dev/null @@ -1,21 +0,0 @@ -# Resource Interface `Receiver` - -```cadence -pub resource interface Receiver { -} -``` - -Interface to mediate deposits to the Collection -## Functions - -### `deposit()` - -```cadence -fun deposit(token: NFT) -``` -Adds an NFT to the resource implementing it - -Parameters: - - token : _The NFT resource that will be deposited_ - ---- diff --git a/lib/go/contracts/internal/assets/assets.go b/lib/go/contracts/internal/assets/assets.go index 84e8c22b..14f189df 100644 --- a/lib/go/contracts/internal/assets/assets.go +++ b/lib/go/contracts/internal/assets/assets.go @@ -1,8 +1,8 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: -// ExampleNFT.cdc (13.545kB) +// ExampleNFT.cdc (13.759kB) // MetadataViews.cdc (25.493kB) -// NonFungibleToken.cdc (10.577kB) +// NonFungibleToken.cdc (10.483kB) // ViewResolver.cdc (2.71kB) package assets @@ -73,7 +73,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _examplenftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x5b\x5f\x73\xdb\xb6\xb2\x7f\xf7\xa7\xd8\xea\xa1\x23\xf5\x3a\x74\xd2\x3f\xb9\xad\x26\x6a\xda\xc6\x55\xaf\x67\x52\x37\x93\xa8\xed\x43\xc6\x93\x42\xe4\xd2\xc2\x35\x09\xb0\x00\x28\x59\x93\xe3\xef\x7e\x66\x01\xfe\x03\x09\xca\xb2\x33\xe7\xcc\x39\x7a\x48\x24\x72\xb1\xd8\xfd\x61\xb1\xbb\xd8\x85\xcf\xbe\x38\xf9\xe2\xe4\x0b\x80\xd5\x86\x6b\xe0\x1a\x98\x00\xbc\x65\x79\x91\x21\x70\xfa\x37\x47\x61\x98\xe1\x52\x80\x4c\x81\xc1\x32\x93\x3b\xb8\x94\xe2\xc9\xb2\x14\xd7\x7c\x9d\x21\xac\xe4\x0d\x0a\xe2\x50\x6a\x2e\xae\xc1\x6c\x10\xfe\xf8\x12\xb4\x61\x22\x61\x2a\x89\xe8\xcd\x85\x21\xce\x42\x1a\x28\x98\x32\xc4\x88\xa8\x64\x9a\xf2\x98\xb3\xac\xa1\x85\x75\x69\x80\x1b\x60\x5a\x97\x39\x26\x60\x24\xac\x91\xc6\x6b\x9e\xf3\x8c\x29\x7a\xb0\x91\x3b\xc8\x99\xd8\xc3\xe5\x72\xa5\x61\x27\xcb\x2c\x69\xe5\xb4\x6c\x63\xa9\x10\xd2\x52\xc4\x24\x34\xcb\xb8\xd9\x47\x1d\x0d\x63\x29\x8c\x62\xb1\x81\x44\xa2\x13\xa9\x1d\x4d\x6c\xb5\x2c\x36\x5c\x1b\x1e\x33\x83\x09\xc4\x19\xd3\x9a\xa7\xf4\x8b\x4b\xab\xa4\xde\x6b\x83\x39\xa4\x52\x01\x37\xda\x4a\x11\x91\x7e\x09\xa6\x5c\xa0\x06\x46\xc2\x12\x78\x97\xcb\x15\xec\xb8\xd9\x40\xce\x05\xcf\x59\x06\x39\x1a\x96\x30\xc3\xac\x34\x67\x27\x27\x3c\x2f\xa4\x32\x30\xb9\x94\xa2\xc6\xd2\x42\x39\x69\xde\xfc\xc1\x71\xf7\x16\xb5\xcc\xb6\xa8\xda\xa7\xbf\x56\x7c\xe8\xad\x9e\x9c\x9c\xb0\x38\x46\xad\xa7\x2c\xcb\x66\xad\x76\x3f\xbb\x25\xbc\x5c\xae\xe6\xd0\x9f\x00\x3e\x9e\x9c\x00\x00\x9c\x9d\x9d\xc1\x1b\x66\x36\xb0\xdb\xa0\x42\x8b\x5d\xce\x85\x41\x05\x7a\x63\x71\x5d\x23\x68\x23\x15\x26\x0d\xf9\x6a\x83\xed\x6a\x15\xcc\x6c\xb4\x45\xc2\xc1\x9e\x65\x68\x31\x07\xa6\xea\x81\xc0\x45\xff\xa5\x42\x2d\x4b\x15\x23\x98\x7d\x81\x96\x71\x57\x81\x0c\x0d\xfc\x6a\x85\x78\x67\xa4\x62\xd7\x48\x02\xce\xa1\xf3\xa3\x95\xfd\x4f\x84\x78\x23\xa5\x76\xa2\x0b\x96\x3b\xd0\x49\x99\x53\x6b\x4a\x86\x16\x9c\xa6\x81\x98\x09\xd8\xb0\x2d\xda\x25\xb6\x94\x42\xee\x1a\x46\x6b\x8c\x59\x59\xb1\xb1\x73\xa7\x2c\xc6\xd6\x40\x14\xfe\x5d\x72\x85\x64\x99\x64\x80\x96\x0d\xe8\x02\x63\x32\x0c\xc7\x8d\xd8\xe6\x52\x0d\xf5\x69\xb4\x0d\xae\x44\x74\xb9\x5c\x9d\x42\x77\x99\xa3\xfa\x4b\xbd\x48\x21\x80\x78\x32\x87\xdf\x2f\x84\x79\xfe\x75\x4b\x43\x7a\x2c\x95\xcc\xad\x12\xe7\x5c\x17\x19\xdb\x37\x26\x07\x5b\x8e\xbb\x51\x76\xa4\x01\x41\xac\xb8\xb8\x1e\x25\x4a\x50\xc7\x8a\x17\xb4\x84\xf7\xd2\x9a\x4d\x99\xaf\x05\xe3\x59\x43\xe9\x8b\x59\x59\xcc\x5b\xb9\x67\x99\xe1\xa8\x0f\xcb\xa9\x31\x4b\x1d\x5f\x55\x0f\x98\xc3\x7b\x6f\x17\x44\x8e\xd5\xfe\xca\x9f\xe8\x17\x14\xa8\x78\x0c\x09\x77\xbe\x40\xed\xad\xeb\x51\x8c\x76\x2e\x49\x60\xcd\x85\xe9\xf1\x19\x6b\xc1\xe6\xf0\xd1\x69\x32\x87\x1f\xc5\xfe\x9d\x51\x65\x6c\xee\xda\xc9\xb8\xe0\x66\xda\xfc\xa2\x4f\x17\xd3\x53\xef\x4d\x00\x48\x9f\x60\x80\x9e\xff\xfa\x7e\x10\x7c\xfa\x83\x2a\xb4\xa4\x33\xf8\xe8\x0d\x23\x0c\x22\x9e\xc0\xc2\x7d\x2b\x4b\x9e\x0c\xdf\x5b\xdb\x5f\x58\x65\x87\x2f\x3b\x8a\xc2\xa2\xab\xf6\x90\xb4\x51\x19\x16\xad\xfa\x43\xb2\x46\x75\x58\xb4\x30\x0c\xc9\x1a\x6b\x5a\x34\xca\x37\x44\x77\xbe\x85\xc4\x0a\x99\xc1\x9f\xf3\xc2\xec\x5f\xb5\x2e\xca\x3d\x75\xa1\x90\x5e\x41\xfb\xce\x1b\xcd\x44\x02\x0a\x4d\xa9\x84\xae\x9c\x83\xf5\x75\x2c\xcb\xc8\x87\xd2\x2f\x66\x43\xd2\xde\xfa\x1f\xb9\x13\x36\x5c\x78\x2c\x7e\xf8\x38\xf0\x09\xed\x64\x77\xc1\x1d\x96\x96\x22\x2c\xf7\x74\x36\xbf\x87\x5f\x6f\x8d\x9d\xec\xf0\xe2\x49\x1b\x2d\xa2\x30\x67\x91\x9a\xd5\xbe\xc0\x39\xd0\xbf\x2f\x7e\xe8\xd0\x5f\x2e\x57\xdf\x4f\x67\xb3\x10\xc0\x5d\xa1\x69\x63\x5b\xc9\xaf\xd1\x58\x6b\x25\x61\xdf\x13\xb7\xab\xb0\x50\xef\xbd\x87\xf4\xb1\x53\xfb\x16\x5f\xf9\xb9\xef\xa7\xb3\xd3\x63\xc8\x1b\x87\x73\xec\x80\x9f\x13\x4e\xea\x1f\x4f\x7f\x6b\x50\x09\x96\xfd\xfe\xf6\xf5\xb1\x43\x2e\x97\xab\x16\xe7\x73\x66\xd8\xe3\x06\x3e\x0c\x88\x77\xa8\x38\xcb\x8e\xa5\x5e\x59\x87\xf9\xfd\x74\xe6\x11\x5f\xdd\xb7\xe4\xb4\xda\xca\x45\x33\xe2\x33\xfd\x60\x8d\xc0\x99\xd0\xac\xe3\x84\x5e\xf6\x3d\xcf\x8e\x9b\x78\xe3\x2c\xe6\xe3\x40\xbe\x98\x69\x3c\x6c\x0a\xf3\xc1\x18\x68\xcd\x2a\x38\x68\x1a\x1c\x01\x8d\x1b\x6f\x7c\xdd\x10\xae\xfa\xe3\x79\xf5\xbe\xfb\x1b\x1f\xd6\xf1\xf5\xbe\x64\xff\xb7\x5a\xbd\x59\xf2\x0c\xc7\x45\xa3\x4f\xa9\xb2\x79\xcf\x83\x8e\xd2\xcf\x82\x6f\x86\x4f\xc7\x00\xee\xec\x85\x30\xc2\x2e\x3d\xa4\x3c\x89\xd2\x26\xc8\xd9\x2d\x88\x32\x5f\xa3\xa2\xa0\x6b\xb3\x75\xeb\x0f\xc9\x15\xae\xab\x4c\x33\x81\xd4\xa5\x2c\x9d\xc4\x7c\x8c\xb7\x76\xde\x95\xd8\xa2\x13\x05\x52\x8e\x59\x02\x5b\x96\x95\x76\x52\x8d\xd6\x07\x8b\x11\x10\x28\x9e\x57\x23\x2f\x44\x2a\x61\x01\x41\x05\xa7\x6e\xcd\x27\x95\x8f\xb3\x39\x42\xf5\x6a\x72\x5a\x69\x34\xaf\xc3\xe3\x29\xc9\x33\xa7\x29\xc3\xf0\x76\xe6\x7c\xcd\xb5\x19\x84\xec\x8a\xf1\x15\x2c\xe0\x7d\x47\xb6\xab\xe3\x4d\xb8\x5e\x96\x71\x43\xe9\xcc\xff\x89\x26\xd0\xb8\x8d\x07\x6c\x31\x37\x66\x5c\xba\x0a\xc8\x4f\x94\xac\xeb\xd9\x1f\x20\x5c\x33\xec\x1e\xf9\xc2\xc9\xc6\xc3\xc5\xf4\xe3\xc3\x03\x04\xed\x0c\x9c\x4e\x36\xc6\x14\x7a\x7e\x76\x56\x1d\xd3\x9f\x88\xd4\x44\x52\xa4\x99\xdc\x45\x52\x5d\x9f\x4d\xa2\x58\x8a\x98\x99\x69\x05\x6d\x64\xa4\x4b\xfc\xa6\xb3\xd9\xf1\xa2\x86\xe2\xd2\x41\x81\x3b\x39\x41\xe5\xf5\x5f\x55\x3b\xda\x7a\xff\xfa\x20\x74\x30\x8d\x38\xb5\x5e\xbf\x43\x72\xbf\x4c\x8f\xd5\xe8\xb8\x70\xf1\x6f\x57\xaa\x11\xeb\x78\xbd\x9a\xf0\x3c\xea\x96\xf1\x36\xce\xca\xa4\xf6\xb9\x2b\x6e\x0f\xac\x09\xa4\x52\x92\xbf\xd4\x1b\xb9\x03\x69\x36\xa8\xa0\xd4\xa8\xc9\x5b\x3b\x96\xe3\x1e\xcd\xf1\x4b\x1c\x19\xf9\xae\x49\xcb\x7a\x72\x0a\x93\x54\xca\x49\xd8\x87\xd9\xe3\xa1\x1d\x46\xc2\x0f\x7c\x30\x9d\xd4\x56\xd2\xf1\x9d\xd2\x8f\xb9\x9f\xd2\x9f\x36\x73\x5f\xb2\x9c\x8e\x40\xbe\x28\xb3\x93\x31\x08\x3a\xaa\x73\x0d\x0c\x4a\xc1\x6f\xc1\xf0\x1c\xb5\x61\x79\x71\x0a\x3b\xac\x8b\x1e\x39\x53\x37\x94\xcd\xdb\xda\x0d\x83\xc4\xad\x08\xe1\x4e\x21\xa8\xc8\x98\x49\xa5\xca\x35\xdc\x08\xb9\xb3\xd5\xa8\x1a\x42\x6e\xa2\x51\x95\xdb\xe9\xad\xa0\x03\xbd\xed\xd3\x3a\xf2\x78\x58\xda\xe8\xd6\x43\xc1\x83\xfb\xea\xb3\xd3\xae\x90\x73\x98\x9c\x33\x43\x23\x15\x53\xdc\xec\x0f\x04\xa7\x76\x1d\x22\x96\x38\x04\xa7\x3d\x41\xc7\x01\x25\xe3\xb1\x48\x5a\x2e\x0e\x2d\x32\x06\x3a\xe5\xb8\x99\x47\xc1\x48\xa5\x5b\xe1\xb7\x96\x6c\x80\x85\x7b\x3c\xd5\xb1\x54\x38\x87\x67\x4f\xa3\xa7\x55\x94\x7d\xf6\xd4\x7e\xf7\x52\xad\xc9\x2b\x99\xe7\x52\x4c\xc6\xc3\x6f\x3d\xdb\x61\xcc\xc9\x62\xc7\xc0\xb6\xd6\xdc\x03\x59\xf0\xac\x45\xd8\x57\xe8\x78\xb0\xeb\x71\x23\x28\x57\x3e\xa8\x1d\xe9\x51\xdd\x85\x4e\x4d\xdd\xdc\xc7\x11\xdc\xd5\xf5\x32\x38\xc7\x42\x61\xcc\x8c\xc2\x64\x0e\xbf\x89\x6c\x6f\x2b\x65\xb6\x7e\xb7\x66\xf1\xcd\x8e\xa9\x04\x62\x99\x17\xcc\xf0\x35\x77\x65\x53\x18\xab\x66\xb5\x55\xb2\xd6\xdd\xb5\x5e\xec\x4d\xb9\xce\x78\x0c\x1f\xab\xb9\x83\x1c\x5a\xea\x40\x59\xac\x7d\x79\x7a\x70\x02\xef\x28\xed\x57\x79\x28\x6d\x8b\xa5\xa0\xbd\x6a\xab\xd2\xc4\xd7\x3f\x7a\x13\x85\xb5\x60\xaf\x22\x59\xed\x7b\x01\x7f\xb9\x0a\xdb\x5f\x70\x71\xee\x12\xcd\xfe\x21\xa7\x4e\x58\x67\xb0\x65\x8a\xec\x1e\x13\xca\x72\xe9\x0c\xee\x86\xce\x61\x78\x18\xbf\x5c\xae\xee\x7a\x85\x23\x98\x06\x6b\x2f\x0d\x43\x78\xf1\x84\xa0\x6c\x97\xd5\xd3\xe2\x1a\xcd\xbb\xb2\x28\xa4\x32\x96\x9a\xac\x53\x37\x45\x09\x06\x19\xd7\xa6\x86\xc3\xd8\x77\x55\x51\x82\x13\x55\x8c\x7c\x8b\xca\x2a\x54\x98\x41\x19\x6c\x70\x70\x1f\x4c\x44\x87\xf8\x8f\x6e\x43\xfc\x24\x65\xd6\xaf\x2f\xd0\xf6\xd3\xf5\x18\x3b\xa0\x47\xbe\xe8\x2a\x66\x35\xf7\xa8\xdf\x8f\x44\x54\x4a\x97\x8d\x2a\x31\xb4\x03\x7c\x0e\x63\xa8\xbd\xad\x00\xda\x6d\xd0\x06\x3e\xa9\x6c\xa5\x97\x0e\x18\xd7\x7c\x8b\xc2\x99\x02\x59\x87\x85\x06\x13\x58\xef\x7b\x85\x6c\x8f\xdf\x8f\xdd\x0a\x77\x73\xcc\x71\x83\x6d\x71\xd8\xf2\xab\x22\xcc\xff\x97\xda\xb4\x9b\xbb\x44\xe2\x9d\x60\xca\xca\xcc\x1c\x5e\x02\xae\xfb\x2b\x30\x35\x4d\x5a\x31\x73\xa0\xfa\x4b\xc0\x53\x37\xf3\x62\x31\x96\x9d\x84\xab\x2f\x7d\x74\xef\x00\x33\x8d\x61\xda\x94\x65\xda\x27\x1e\x43\x9d\xb6\x56\xa2\xd8\x0e\x14\xe6\x72\xeb\x0a\x6c\x64\x98\x69\x5d\xb7\xee\xf6\x10\x44\x02\x8e\xa8\x5f\x59\xeb\x63\x34\xd8\x63\x7f\xd6\xd3\xfc\x63\xe8\x59\x7e\xdb\x09\x54\xae\x36\x51\x4b\x33\xad\xbf\x5c\x9c\xd7\x65\xf5\x70\x21\x8d\xf6\x6e\xc0\xc2\xad\x6b\xa1\x4d\xea\x6f\xdb\xc8\x29\x39\xbd\xc1\xfd\x1c\xda\x29\x86\xd1\xe1\xe5\x4b\x28\x98\xe0\xf1\x74\xf2\xca\x9a\x07\x19\x62\x83\x54\x85\x90\x75\x4a\x04\x41\xa1\xe4\x96\x27\x98\x58\xaf\x34\x84\x6d\xd2\x0b\x25\x4d\x85\xcf\x0a\x39\xb6\x2e\x09\x16\x52\x13\xcc\xec\xc6\x76\xb0\x68\x46\xc2\x9f\x25\x89\x07\x7f\x33\x8d\xee\x38\xdb\x41\x45\xd4\x8e\x22\xfa\x8b\xf3\x7a\x24\x4f\x80\x29\xc5\xf6\xa3\x75\xa2\x4a\x82\xa9\x15\x73\x14\xfc\xbe\xb1\x7a\xe8\xbb\x2f\x4c\x7f\x06\x3d\x23\xf7\x11\x21\x21\x93\xc4\x75\x8c\x70\x57\x8d\xaa\xc4\xec\x44\x90\xdd\x86\xc7\x9b\xc6\x4e\x6d\xb7\x32\x4b\x40\x0a\x1c\x08\x20\xb3\x64\x15\xb6\x80\xf7\x96\x79\xc4\x93\xab\x46\xbe\x93\x7e\x2b\xc0\x28\xb9\x6f\x58\x1c\xf0\xf1\x17\xe7\x1d\xaf\x2e\x1c\x9a\x75\x1f\x95\xde\x59\x9f\xc3\x14\x0e\x1b\x6e\xf7\x7a\xf5\x8b\x73\x57\x8c\x75\xa6\x3f\x52\x8e\xed\xd9\xf6\x0d\xee\x47\x7d\xeb\x2f\x58\x75\x57\x58\x2e\x4b\x61\x9a\xea\xcf\x58\x47\xf0\x5e\x01\x5f\xa3\xb8\x36\x1b\x92\xf1\x42\x98\xa3\xc5\x8b\x32\x3b\xec\xe8\xc2\xf4\x5a\x2a\x25\x77\x97\xcb\xd5\xf4\x43\xa7\xc1\x36\x9b\xc3\xe7\x61\x63\xec\x97\x2d\x2b\x49\xa6\x9f\xf7\x8c\x80\x96\x9f\xe9\x51\x2e\xc1\xca\x39\xc1\xf8\x93\x95\xc7\x62\x65\x65\x54\x75\x63\xb0\x6e\xb8\x56\x1d\x48\x4c\xec\x7e\xbd\x38\x3f\x46\xbd\x6e\xab\x71\xda\xd3\x32\xd8\x86\x1c\xa8\xc9\x53\xd7\x33\x4c\x29\xa1\x7e\xa0\xae\x81\x72\x6e\x9d\xb7\xa6\xc6\x0d\x0c\x0b\xf1\xd0\xc4\xf7\xd3\x7a\x3c\xf5\xbe\xd2\x2c\xef\x74\xa9\xe1\x88\xa6\x8f\xdf\xda\xa9\x44\xfb\xb1\x9d\x23\x3e\x62\x8e\xff\xa6\x56\x0f\x74\x0f\x18\x8f\x41\x3a\x6c\xcb\x0d\x1e\x9f\xd8\x64\x3b\x0e\x4a\x4f\xe1\x87\xe0\xda\x60\x5a\x31\x86\xee\xfa\xf4\xb1\x59\x56\x17\x52\x9c\xbc\x8d\x2b\xcf\x32\xab\x4e\x7d\x32\xb5\x77\x01\x74\x7b\x25\xc5\x25\x9e\x8c\xf2\x18\xe8\x5d\xb8\xa9\x18\x9f\x0c\xcc\xad\x13\x1d\xdc\x69\xc0\x5e\x4d\xa9\xaf\xe6\x74\x59\x6f\xed\x39\xd8\xdd\x8b\x71\x55\xf4\x1d\xcf\x32\x58\x23\x94\xda\xce\xdc\x30\xaf\x3f\x09\x6e\x31\x93\x05\x2a\x4d\x0b\x61\x4b\x20\x2e\x52\x16\x4c\xb1\x1c\x0d\xda\x3b\x3a\x05\xd3\xba\x5e\xa8\x6e\x07\x68\x06\x39\x9a\x8d\x4c\x22\x4f\xf8\x31\xb7\xdf\xad\xb4\xe9\x40\xa9\xed\x65\xa8\x83\x18\xec\x1e\x3e\xaa\xed\x76\x7c\xa9\xae\x19\x76\x75\xdf\xa2\x5b\x28\x28\xc3\xf2\x2e\x3c\x54\xbb\xa0\xd3\x03\x89\x86\xab\x6b\x01\xae\x3b\x68\x1b\x57\x08\xac\x9d\x48\x82\x9a\xab\x6a\x3d\xa3\xa1\x41\x80\xb6\x7d\xb6\x52\xd1\x6a\x14\x0a\x35\x0a\x53\x9b\x83\xc2\xbf\x4b\xd4\xa6\x3f\x38\xb8\x7d\x8e\xab\x80\xbe\xec\xd7\x3b\xc7\x7a\x7d\x9d\x3e\x9f\x55\xc6\x77\x58\x9f\x56\x97\xa6\x10\x15\x7b\x64\x83\xf2\xcf\x80\x51\xb8\x07\xa0\xbb\xd7\x90\xce\xaa\x5f\x67\x31\x4b\x50\xc4\x18\xaa\x4d\x84\x9b\x7d\x85\xad\x58\x54\x5c\xdc\x8f\xc7\x32\xe9\x56\x4e\x2c\x40\x9f\x77\x7c\x74\xfb\x32\xd8\xdd\x6d\xb9\xbc\xe6\xe2\xc6\x1d\x92\x1f\xc7\x25\xe8\x4b\x6b\x7b\x9f\xc3\x34\x2d\x1f\x1e\xa4\xba\x9f\x7f\x45\xc0\xea\x7e\xee\x86\x8f\x87\x4f\x2a\x21\x7c\x4b\x7a\x84\x99\x1e\x68\x36\xb8\x5b\x46\x09\x1f\x1a\xe8\xaf\xf4\x34\x6c\x94\x29\xcf\xf0\xe1\x1d\x63\xdb\x2d\x6e\xba\x47\x4c\x6b\x34\x3a\xda\xe1\x5a\x73\x83\x4f\x88\xa5\x8e\x62\x99\x9f\x7d\x93\x3e\xff\xf2\xbb\xaf\xe3\xa7\xf1\xff\xb2\x6f\xe3\x24\x79\xfe\xf5\x57\xeb\x67\xf1\xb7\x5f\x3e\xed\xbd\x60\xdf\x7c\x13\xaf\x9f\xc5\xdf\x7d\xf5\xfc\xc3\x32\x93\xbb\x0f\x7f\x4a\x95\xe4\x4c\xdd\x44\x7a\x7b\x3d\x09\xf7\xc9\xc2\x96\x64\xb5\xaf\x4a\xd7\x3c\xa7\xdd\xa5\xb7\xd7\xff\x73\x9b\x67\x43\x2e\xa3\x2b\x74\x3f\xf8\x61\x58\xaa\xea\x2f\x39\xd4\xba\xdf\xdb\x8e\x9c\x84\xe5\xf5\xeb\xcf\xd5\xa5\xd2\x26\xa3\xe1\xda\x05\x4f\xe6\xdd\xa4\x35\x12\x36\x98\x15\xb0\x97\x65\x1d\x43\xe9\xbb\x02\x81\xb7\xa6\xba\x53\xbb\x5c\x45\x23\x33\x62\xdb\xfd\xeb\xaf\xfa\x03\x1a\x83\x93\x11\xfc\xf5\xdf\x25\x53\x78\x41\xc8\xcf\xdd\x62\x84\xe9\xd6\x4c\x08\x54\xf7\xd3\x69\x19\x73\x96\xe9\xf9\x81\xcd\x3d\x31\x3b\x6e\x0c\xaa\xc9\x51\xea\x54\xc4\xd6\x38\x49\x99\x0f\xeb\x4c\xc6\x37\xf1\x86\xf1\xb1\xba\xff\xdd\x01\xcb\xb9\xeb\xe7\x0a\xf5\xd1\xa1\x13\xb7\xdf\x36\x15\x61\x7b\xac\x16\xc0\x92\x9c\x0b\x90\x94\x70\x52\x0a\x43\xd1\xb3\xbe\x93\xec\xae\x20\x53\xde\xe9\xae\x2b\xd7\x3c\xd8\xda\xad\x7b\xce\x85\xb1\xa5\x86\x26\x2d\x0d\xc5\xd7\xee\x3d\x51\x77\xff\xb5\x7b\x01\xf4\xac\xea\x60\x51\x72\x4c\xff\x53\x0a\x51\xb1\xac\xfb\x54\xf4\xb3\x73\x06\x3c\x9c\x39\x93\xfc\x94\x6b\xe0\x6d\xb8\xe2\x48\xd1\xbe\x9a\xef\x3f\xe7\x5a\x63\x43\x4e\x61\xc5\xf7\xf2\x5d\xac\xa0\x71\xaa\x07\xee\x3d\x0e\x2b\xcf\x36\x63\x28\x95\x42\x61\x7e\x22\xf3\x82\x85\xcd\x41\x3b\x4f\x7a\xf7\x9f\xfa\xcd\x38\x4b\x33\xb9\x82\x85\xc7\x26\xda\x20\xbf\xde\x98\x83\x23\x5d\x1b\xaf\x3f\xb0\x69\x4e\x0e\xea\x57\x36\x55\x2c\x38\xc6\x36\x01\x6c\x52\x49\x2f\x77\xaf\x9b\x92\x98\xaf\x31\x49\x68\xbd\x5d\xb3\x0a\xb8\x30\xb2\xee\xda\x8d\x48\x65\xfb\x5d\xb0\x80\xc9\x9a\xa9\xc9\x60\xf6\xea\xac\xd3\x18\xa0\xf7\x7e\xcb\xc8\xa5\xed\x68\x49\xda\x63\xd1\xc0\x8a\x5a\x4b\x0a\x5f\xaa\xf2\x6c\xe9\xe0\x3d\xaa\x8e\x51\x35\x5f\x87\x54\x1d\xdb\x6a\xbe\x0e\xa9\x5a\x83\x69\xba\xcd\x1e\xcd\x58\x69\xd5\xe9\x1b\x3e\x15\xdb\x8b\xc1\x33\x7f\x2b\xc3\x3b\x34\xcd\x8d\xf5\xea\x16\x7d\x9b\x14\x63\x96\x46\x83\x0b\xf0\xb0\x38\x90\x7a\x3a\x6a\x6f\x86\x57\xf5\x1a\xbd\x0a\xdc\xbb\x27\xb7\xa0\xd9\xb6\xbe\xcf\x5e\xf1\x6d\x86\xfb\xa9\xf3\xd8\xe9\xd6\x23\xe7\x09\x9d\x28\x52\x8e\x8a\xac\x06\x03\xf9\xec\xc4\xa3\xaf\x9a\x1d\xbe\x82\x9d\x5f\xd3\x96\xe1\xbc\xc3\x7c\xf6\x59\x88\xcb\x9b\x26\xb3\x86\x05\xb4\x3f\xc6\x79\xf8\x58\xb3\x38\x96\xa5\x30\x51\x05\x43\x44\xc8\x4c\x5f\x3c\x89\x3b\x1d\x48\x23\xe7\x01\x91\x67\x1e\xe2\xcd\xae\x70\xd9\x35\xc4\xac\x60\xae\x8b\x1a\xf8\x03\x89\x11\xac\x5f\xb1\xa2\xbe\x6e\x5d\x4b\xd5\xb0\xe1\xa8\x1b\x11\xb9\xd6\xe5\x78\xbe\x1e\x92\x34\xa8\xb1\xc7\xdb\x8a\xad\x37\x53\x4f\x9a\x53\x60\x66\x3e\xc4\x79\x16\xb6\xb5\x2a\x6c\x3d\xc4\xce\xaa\x3f\x37\xf1\x5c\x85\x63\x33\x1d\x11\xba\xb7\x4c\x8e\x81\x5b\xa2\xf0\xd6\xa9\x0b\x31\x77\x27\xff\x0c\x00\x00\xff\xff\x57\x64\xc1\x2a\xe9\x34\x00\x00" +var _examplenftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x5b\xdf\x73\xdb\xb6\x93\x7f\xf7\x5f\xb1\xd5\x43\x47\xea\x39\x72\xd2\x1f\xb9\x56\x13\x35\x6d\xe3\xba\xe7\x99\xd4\xed\x24\x6a\xfb\x90\xf1\xa4\x10\xb9\xb4\x70\x26\x01\x16\x00\x25\x6b\x72\xfe\xdf\x6f\x16\xe0\x0f\x80\x04\x65\x39\x99\xbb\xf9\x7e\xf5\x90\x48\xe4\xee\x62\xf7\x83\xc5\x62\xb1\x0b\x9f\x7d\x71\xf2\xc5\xc9\x17\x00\xab\x0d\xd7\xc0\x35\x30\x01\x78\xc7\x8a\x32\x47\xe0\xf4\x6f\x81\xc2\x30\xc3\xa5\x00\x99\x01\x83\x8b\x5c\xee\xe0\x4a\x8a\x27\x17\x95\xb8\xe1\xeb\x1c\x61\x25\x6f\x51\x90\x84\x4a\x73\x71\x03\x66\x83\xf0\xe7\x97\xa0\x0d\x13\x29\x53\xe9\x9c\xde\x5c\x1a\x92\x2c\xa4\x81\x92\x29\x43\x82\x88\x4a\x66\x19\x4f\x38\xcb\x5b\x5a\x58\x57\x06\xb8\x01\xa6\x75\x55\x60\x0a\x46\xc2\x1a\x89\x5f\xf3\x82\xe7\x4c\xd1\x83\x8d\xdc\x41\xc1\xc4\x1e\xae\x2e\x56\x1a\x76\xb2\xca\xd3\x4e\x4f\x2b\x36\x91\x0a\x21\xab\x44\x42\x4a\xb3\x9c\x9b\xfd\xdc\xb3\x30\x91\xc2\x28\x96\x18\x48\x25\x3a\x95\x3a\x6e\x12\xab\x65\xb9\xe1\xda\xf0\x84\x19\x4c\x21\xc9\x99\xd6\x3c\xa3\x5f\x5c\x5a\x23\xf5\x5e\x1b\x2c\x20\x93\x0a\xb8\xd1\x56\x8b\x39\xd9\x97\x62\xc6\x05\x6a\x60\xa4\x2c\x81\x77\x75\xb1\x82\x1d\x37\x1b\x28\xb8\xe0\x05\xcb\xa1\x40\xc3\x52\x66\x98\xd5\xe6\xec\xe4\x84\x17\xa5\x54\x06\x26\x57\x52\x34\x58\x5a\x28\x27\xed\x9b\x3f\x39\xee\xde\xa0\x96\xf9\x16\x55\xf7\xf4\xd7\x5a\x0e\xbd\xd5\x93\x93\x13\x96\x24\xa8\xf5\x94\xe5\xf9\xac\xb3\xee\x67\x37\x85\x57\x17\xab\x05\xf4\x07\x80\x0f\x27\x27\x00\x00\x67\x67\x67\xf0\xb6\x81\xfe\x77\x66\x36\xda\x3e\xf6\xe5\xe5\x68\xe0\x95\xcc\x73\xb4\x60\xbe\x35\x52\xb1\x1b\x24\xd2\x05\x78\x3f\x1e\x60\xfb\xbd\x5a\xe7\x3c\x71\x5c\xdd\xf7\x4e\x07\xfa\x05\xbb\x0d\x2a\xb4\xf3\x57\x70\x61\x50\x81\xde\xd8\xb9\x5d\x23\x68\x23\x15\xa6\x2d\xf9\x6a\x83\x9d\xc7\x94\xa4\xb6\x9d\x0d\x37\xf5\xcd\x98\xc0\x54\xc3\x08\x5c\xf4\x5f\x2a\xd4\xb2\x52\x09\x82\xd9\x97\x18\xd5\xfe\x57\xab\xc4\xa8\xc1\xad\x32\x7f\x21\x24\x1b\x29\xb5\x53\x5d\xb0\xc2\x4d\x3c\x19\x73\x6a\xdd\xd9\x90\xd3\xd1\x30\x90\x30\x01\x1b\xb6\x45\xeb\x66\x96\x52\xc8\x5d\x2b\x68\x8d\x09\xab\x6a\x31\x76\xec\x8c\x25\xd8\x39\xa9\xc2\x7f\x2a\xae\x90\x56\x07\x2d\x02\x2b\x06\x74\x89\x09\x39\xa7\x93\x46\x62\x0b\xa9\x86\xf6\xb4\xd6\x46\xbd\x61\x4e\xfa\xd6\x1e\x11\x43\x82\xa7\x0b\xf8\xe3\x52\x98\xe7\x5f\x77\x34\xa4\xf0\x85\x92\x85\xd5\xf6\x9c\xeb\x32\x67\xfb\xd6\xbf\x61\xcb\x71\x37\x2a\x8e\x54\x25\x2c\x15\x17\x37\xa3\x44\x29\xea\x44\xf1\x92\xe6\xea\x41\x5a\xb3\xa9\x8a\xb5\x60\x3c\x6f\x29\x43\x35\x6b\xd7\x78\x23\xf7\x2c\x37\x1c\xf5\x61\x3d\x35\xe6\x99\x93\xab\x1a\x86\x05\xbc\x0b\x96\xdc\xdc\x89\xda\x5f\x87\x03\xfd\x82\x02\x15\x4f\x20\xe5\x2e\xf0\xa8\xbd\x8d\x73\x8a\x51\x98\x20\x0d\xac\x5f\x30\x3d\x3e\x62\xa3\xd8\x02\x3e\x38\x4b\x16\xf0\xa3\xd8\xbf\x35\xaa\x4a\xcc\x7d\x37\x18\x17\xdc\x4c\xdb\x5f\xf4\xf1\x31\x3d\x0d\xde\x44\x80\x0c\x09\x06\xe8\x85\xaf\x1f\x06\x21\xa4\x3f\x68\x42\x47\x3a\x83\x0f\x01\x1b\x61\x30\xe7\x29\x2c\xdd\xb7\xaa\xe2\xe9\xf0\xbd\x75\xf2\xa5\x35\x76\xf8\xd2\x33\x14\x96\xbe\xd9\x43\xd2\xd6\x64\x58\x76\xe6\x0f\xc9\x5a\xd3\x61\xd9\xc1\x30\x24\x6b\xbd\x69\xd9\x1a\xdf\x12\xdd\x87\x1e\x92\x28\x64\x06\x7f\x2e\x4a\xb3\xef\x82\x63\xfd\xd4\xed\xbb\xf4\xca\x0b\x9c\x01\x37\x13\x29\x28\x34\x95\x12\xba\x8e\x02\x36\xa8\xb1\x3c\xa7\x60\x49\xbf\x98\xdd\xff\xf6\x36\xd0\xc8\x9d\xb0\x7b\x53\x20\xe2\x87\x0f\x83\xc5\xdf\x0d\x76\x1f\x5d\x61\x59\x25\xe2\x7a\x4f\x67\x8b\x07\xe4\xf5\xe6\xd8\xe9\x0e\x2f\x9e\x74\x5b\xd3\x3c\x2e\x59\x64\x66\xb5\x2f\x71\x01\xf4\xef\x8b\x1f\x3c\xfa\xab\x8b\xd5\xf7\xd3\xd9\x2c\x06\xb0\xaf\x34\x2d\x6c\xab\xf9\x0d\x1a\xeb\xad\xa4\xec\x3b\x92\x76\x1d\x57\xea\x5d\xf0\x90\x3e\x76\xe8\xd0\xe3\xeb\x38\xf7\xfd\x74\x76\x7a\x0c\x79\x1b\x70\x8e\x65\xf8\x39\xe5\x64\xfe\xf1\xf4\x77\x06\x95\x60\xf9\x1f\x6f\x5e\x1f\xcb\x72\x75\xb1\xea\x70\x3e\x67\x86\x7d\x1c\xe3\xe3\x80\x78\x8b\x8a\xb3\xfc\x58\xea\x95\x0d\x98\xdf\x4f\x67\x01\xf1\xf5\x43\x53\x4e\xb3\xad\x5c\xaa\x44\x72\xa6\xef\xad\x13\x38\x17\x9a\x79\x41\xe8\x65\x3f\xf2\xec\xb8\x49\x36\xce\x63\x3e\x0c\xf4\x4b\x98\xc6\xc3\xae\xb0\x18\xf0\x40\xe7\x56\x51\xa6\x69\x94\x03\xda\x30\xde\xc6\xba\x21\x5c\xcd\x27\x88\xea\xfd\xf0\x37\xce\xe6\xc5\xfa\x50\xb3\xff\x5a\xad\x7e\xbf\xe0\x39\x8e\xab\x46\x9f\x4a\xe5\x8b\x5e\x04\x1d\xa5\x9f\x45\xdf\x0c\x9f\x8e\x01\xec\xad\x85\x38\xc2\x2e\x0f\xa4\x84\x88\xf2\x23\x28\xd8\x1d\x88\xaa\x58\xa3\xa2\x4d\xd7\x1e\x0d\x6c\x3c\xa4\x50\xb8\xae\x53\xca\x14\x32\x97\xb2\x78\xa7\x80\x31\xd9\xda\x45\x57\x12\x8b\x4e\x15\xc8\x38\xe6\x29\x6c\x59\x5e\xd9\x41\x35\xda\x18\x2c\x46\x40\xa0\xfd\xbc\xe6\xbc\x14\x99\x84\x25\x44\x0d\x9c\xba\x39\x9f\xd4\x31\xce\xe6\x08\xf5\xab\xc9\x69\x6d\xd1\xa2\xd9\x1e\x4f\x49\x9f\x05\x0d\x19\x87\xd7\x1b\xf3\x35\xd7\x66\xb0\x65\xd7\x82\xaf\x61\x09\xef\x3c\xdd\xae\x8f\x77\xe1\x66\x5a\xc6\x1d\xc5\x1b\xff\x13\x5d\xa0\x0d\x1b\x8f\x58\x62\x8e\x67\x5c\xbb\x1a\xc8\x4f\xd4\xcc\x8f\xec\x8f\x50\xae\x65\x7b\x40\xbf\x78\xb2\xf1\x78\x35\xc3\xfd\xe1\x11\x8a\x7a\x8c\xd3\xc9\xc6\x98\x52\x2f\xce\xce\xea\x9a\xc0\x13\x91\x99\xb9\x14\x59\x2e\x77\x73\xa9\x6e\xce\x26\xf3\x44\x8a\x84\x99\x69\x0d\xed\xdc\x48\x97\xf8\x4d\x67\xb3\xe3\x55\x8d\xed\x4b\x07\x15\xf6\x72\x82\x3a\xea\xbf\xaa\x57\xb4\x8d\xfe\xcd\x89\xe7\x60\x1a\x71\x6a\xa3\xbe\x47\xf2\xb0\x4e\x1f\x6b\xd1\x71\xdb\xc5\xff\xbb\x51\xad\x5a\xc7\xdb\xd5\x6e\xcf\xa3\x61\x19\xef\x92\xbc\x4a\x9b\x98\xbb\xe2\xf6\x64\x9a\x42\x26\x25\xc5\x4b\xbd\x91\x3b\x90\x66\x83\x0a\x2a\x8d\x9a\xa2\xb5\x13\x39\x1e\xd1\x9c\xbc\xd4\x91\x51\xec\x9a\x74\xa2\x27\xa7\x30\xc9\xa4\x9c\xc4\x63\x98\x3d\x1e\x5a\x36\x52\x7e\x10\x83\xe9\xa4\xb6\x92\x4e\xee\x94\x7e\x2c\xc2\x94\xfe\xb4\x1d\xfb\x8a\x15\x74\x04\x0a\x55\x99\x9d\x8c\x41\xe0\x99\xce\x35\x30\xa8\x04\xbf\x03\xc3\x0b\xd4\x86\x15\xe5\x29\xec\xb0\xa9\x6e\x14\x4c\xdd\x52\x36\x6f\x0b\x45\x0c\x52\x37\x23\x84\x3b\x6d\x41\x65\xce\x4c\x26\x55\xa1\xe1\x56\xc8\x9d\x2d\x7d\x35\x10\x72\x33\x1f\x35\xb9\x1b\xde\x2a\x3a\xb0\xdb\x3e\x6d\x76\x9e\x00\x4b\xbb\xbb\xf5\x50\x08\xe0\xbe\xfe\xec\xd4\x57\x72\x01\x93\x73\x66\x88\x53\x31\xc5\xcd\xfe\xc0\xe6\xd4\xcd\xc3\x9c\xa5\x0e\xc1\x69\x4f\xd1\x71\x40\xc9\x79\x2c\x92\x56\x8a\x43\x8b\x9c\x81\x4e\x39\x6e\xe4\x51\x30\x32\xe9\x66\xf8\x8d\x25\x1b\x60\xe1\x1e\x4f\x75\x22\x15\x2e\xe0\xd9\xd3\xf9\xd3\x7a\x97\x7d\xf6\xd4\x7e\x0f\x52\xad\xc9\x2b\x59\x14\x52\x4c\xc6\xb7\xdf\x66\xb4\xc3\x98\x93\xc7\x8e\x81\x6d\xbd\xb9\x07\xb2\xe0\x79\x87\x70\x68\xd0\xf1\x60\x37\x7c\x23\x28\xd7\x31\xa8\xe3\x0c\xa8\xee\x63\xa7\x26\x3f\xf7\x71\x04\xf7\x4d\x61\x0c\xce\xb1\x54\x98\x30\xa3\x30\x5d\xc0\x6f\x22\xdf\xdb\x92\x98\x2d\xd4\xad\x59\x72\xbb\x63\x2a\x85\x44\x16\x25\x33\x7c\xcd\x5d\x8d\x16\xc6\xca\x56\x5d\x39\xac\x0b\x77\xfd\xea\x22\x7c\xa8\xc7\x8e\x4a\xe8\xa8\x23\xf5\xaf\xee\xe5\xe9\xc1\x01\x82\xa3\x74\x58\xe5\xa1\xb4\x2d\x91\x82\xd6\xaa\x2d\x81\x93\xdc\xf0\xe8\x4d\x14\xd6\x83\x83\xd2\x63\xbd\xee\x05\xfc\xed\x2a\x6c\x7f\xc3\xe5\xb9\x4b\x34\xfb\x87\x9c\x26\x61\x9d\xc1\x96\x29\xf2\x7b\x4c\x29\xcb\xa5\x33\xb8\x63\x5d\xc0\xf0\x30\x7e\x75\xb1\xba\xef\x15\x8e\x60\x1a\xad\xbd\xb4\x02\xe1\xc5\x13\x82\xb2\x9b\xd6\xc0\x8a\x1b\x34\x6f\xab\xb2\x94\xca\x58\x6a\xf2\x4e\xdd\x16\x25\x18\xe4\x5c\x9b\x06\x0e\x63\xdf\xd5\x45\x09\x4e\x54\x09\xf2\x2d\x2a\x6b\x50\x69\x06\x65\xb0\xc1\xc1\x7d\x30\x10\x1d\xe2\x3f\xb8\x05\xf1\x93\x94\x79\xbf\xbe\x40\xcb\x4f\x37\x3c\x96\xa1\x47\xbe\xf4\x0d\xb3\x96\x07\xd4\xef\x46\x76\x54\x4a\x97\x8d\xaa\x30\xb6\x02\x42\x09\x63\xa8\xbd\xa9\x01\xda\x6d\xd0\x6e\x7c\x52\xd9\x92\x2e\x1d\x30\x6e\xf8\x16\x85\x73\x05\xf2\x0e\x0b\x0d\xa6\xb0\xde\xf7\x2a\xd6\x81\xbc\x1f\xfd\x52\x76\x7b\xcc\x71\xcc\xb6\x0a\x6c\xe5\xd5\x3b\xcc\x7f\x57\xda\x74\x8b\xbb\x42\x92\x9d\x62\xc6\xaa\xdc\x1c\x9e\x02\xae\xfb\x33\x30\x35\x6d\x5a\x31\x73\xa0\x86\x53\xc0\x33\x37\xf2\x72\x39\x96\x9d\xc4\xab\x2f\x7d\x74\xef\x01\x73\x8d\x71\xda\x8c\xe5\x3a\x24\x1e\x43\x9d\x96\x56\xaa\xd8\x0e\x14\x16\x72\xeb\x0a\x6c\xe4\x98\x59\x53\xb7\xf6\x9b\x05\x22\x05\x47\xd4\xaf\xac\xf5\x31\x1a\xac\xb1\xbf\x9a\x61\xfe\x67\x18\x59\x7e\xdb\x09\x54\xae\x36\xd1\x68\x33\x6d\xbe\x5c\x9e\x37\x65\xf5\x78\x21\x8d\xd6\x6e\xc4\xc3\x6d\x68\xa1\x45\x1a\x2e\xdb\xb9\x33\x72\x7a\x8b\xfb\x05\x74\x43\x0c\x77\x87\x97\x2f\xa1\x64\x82\x27\xd3\xc9\x2b\xeb\x1e\xe4\x88\x2d\x52\x35\x42\x36\x28\x11\x04\xa5\x92\x5b\x9e\x62\x6a\xa3\xd2\x10\xb6\x49\x6f\x2b\x69\x2b\x7c\x56\xc9\xb1\x79\x49\xb1\x94\x9a\x60\x66\xb7\xb6\x5d\x46\x23\x12\xfe\x2c\x4d\x03\xf8\xdb\x61\xb4\x17\x6c\x07\x15\x51\xcb\x45\xf4\x97\xe7\x0d\x27\x4f\x81\x29\xc5\xf6\xa3\x75\xa2\x5a\x83\xa9\x55\x73\x14\xfc\xbe\xb3\x06\xe8\xbb\x2f\x4c\x7f\x06\x3d\x27\x0f\x11\x21\x25\xd3\xd4\xb5\x86\x70\x57\x73\xd5\x6a\x7a\x3b\xc8\x6e\xc3\x93\x4d\xeb\xa7\xb6\x35\x9a\xa7\x20\x05\x0e\x14\x90\x79\xba\x8a\x7b\xc0\x3b\x2b\x7c\xce\xd3\xeb\x56\xbf\x93\x7e\x2b\xc0\x28\xb9\x6f\x45\x1c\x88\xf1\x97\xe7\x5e\x54\x17\x0e\xcd\xa6\x69\x4b\xef\x6c\xcc\x61\x0a\x87\x9d\xb5\x07\xa3\xfa\xe5\xb9\x2b\xc6\x3a\xd7\x1f\x29\xc7\xf6\x7c\xfb\x16\xf7\xa3\xb1\xf5\x17\xac\xbb\x2b\xac\x90\x95\x30\x6d\xf5\x67\xac\xf5\xf7\xa0\x82\xaf\x51\xdc\x98\x0d\xe9\x78\x29\xcc\xd1\xea\xcd\x73\xcb\x76\x74\x61\x7a\x2d\x95\x92\xbb\xab\x8b\xd5\xf4\xbd\xd7\x60\x9b\x2d\xe0\xf3\xb8\x33\xf6\xcb\x96\xb5\x26\xd3\xcf\x7b\x4e\x40\xd3\xcf\xf4\xa8\x94\x68\xe5\x9c\x60\xfc\xc9\xea\x63\xb1\xb2\x3a\xd6\xe7\x4f\xd5\x76\x56\xeb\x56\x23\xa6\x76\xbd\x5e\x9e\x1f\x63\x9e\xdf\xbe\x9e\xf6\xac\xf4\xdf\xcd\x9b\x2f\x03\x33\x79\xe6\x7a\x86\x19\x25\xd4\x8f\xb4\x35\x52\xce\x6d\xf2\xd6\xcc\x38\xc6\xb8\x12\x8f\x4d\x7c\x3f\xad\xc7\xd3\xac\x2b\xcd\x0a\xaf\x1d\x0d\x47\x34\x7d\xc2\xd6\x4e\xad\xda\x8f\xdd\x18\xc9\x11\x63\xfc\x3b\xb5\x7a\xc0\x3f\x60\x7c\x0c\xd2\x71\x5f\x6e\xf1\xf8\xc4\x26\xdb\x71\x50\x06\x06\x3f\x06\xd7\x16\xd3\x5a\x30\xf8\xf3\xd3\xc7\xe6\xa2\xbe\xfd\xe2\xf4\x6d\x43\x79\x9e\x5b\x73\x9a\x93\x29\xd8\xa3\x69\x77\xff\xc5\x25\x9e\x8c\xf2\x18\xe8\xdd\xee\xa9\x05\x9f\x0c\xdc\xcd\xdb\x1d\xdc\x69\xc0\xde\x83\x69\xee\x01\xf9\xa2\xb7\xf6\x1c\xec\x2e\xe1\xb8\x2a\xfa\x8e\xe7\x39\xac\x11\x2a\x6d\x47\x6e\x85\x37\x9f\x14\xb7\x98\xcb\x12\x95\xa6\x89\xb0\x25\x10\xb7\x53\x96\x4c\xb1\x02\x0d\xda\x0b\x41\x25\xd3\xba\x99\x28\xbf\x03\x34\x83\x02\xcd\x46\xa6\xf3\x40\xf9\xb1\xb0\xef\x57\xda\x74\xa4\xd4\xf6\x32\xd6\x41\x8c\x76\x0f\x3f\xaa\xed\x76\x7c\xa9\xae\x65\xbb\x7e\x68\xd2\x2d\x14\x94\x61\x05\x17\x1e\xea\x55\xe0\xf5\x40\xe6\xc3\xd9\xb5\x00\x37\x1d\xb4\x8d\x2b\x04\x36\x41\x24\x45\xcd\x55\x3d\x9f\xf3\xa1\x43\x80\xb6\x7d\xb6\x4a\xd1\x6c\x94\x0a\x35\x0a\xd3\xb8\x83\xc2\x7f\x2a\xd4\xa6\xcf\x1c\x5d\x3e\xc7\x55\x40\x5f\xf6\xeb\x9d\x63\xbd\x3e\xaf\xcf\x67\x8d\x09\x03\xd6\xa7\xd5\xa5\x69\x8b\x4a\x02\xb2\x41\xf9\x67\x20\x28\xde\x03\xd0\xfe\x7d\x23\xbb\xdd\x45\x2f\x5f\xc5\x5b\x7c\xa5\x77\xcd\xaa\xc7\xdb\xdd\xba\x3a\xc4\xea\x57\x49\x2c\x18\x9f\x7b\xf1\xb8\x7b\x19\xed\xe4\x76\x52\x5e\x73\x71\xeb\x0e\xc4\x1f\x27\x25\x1a\x37\x1b\xdf\x5e\xc0\x34\xab\x1e\xbf\x21\xf9\x9f\xff\x8b\xcd\xc9\xff\xdc\x0f\x1f\x0f\x9f\xd4\x4a\x84\x5e\xf3\x11\x2e\x79\xa0\xb1\xe0\x6e\x14\xa5\x7c\xe8\x8c\xbf\xd2\xd3\xb8\x03\x66\x3c\xc7\xc7\x77\x87\x6d\x67\xb8\xed\x14\x31\xad\xd1\xe8\xf9\x0e\xd7\x9a\x1b\x7c\x42\x22\xf5\x3c\x91\xc5\xd9\x37\xd9\xf3\x2f\xbf\xfb\x3a\x79\x9a\xfc\x27\xfb\x36\x49\xd3\xe7\x5f\x7f\xb5\x7e\x96\x7c\xfb\xe5\xd3\xde\x0b\xf6\xcd\x37\xc9\xfa\x59\xf2\xdd\x57\xcf\xdf\x5f\xe4\x72\xf7\xfe\x2f\xa9\xd2\x82\xa9\xdb\xb9\xde\xde\x4c\xe2\x3d\xb1\xb8\x27\x59\xeb\xeb\x32\x35\x2f\xd8\x0d\x9e\xe9\xed\xcd\x7f\xdc\x15\xf9\x50\xca\xe8\x0c\x3d\x0c\x7e\x1c\x96\xba\xd2\x4b\xc1\xb3\xe9\xed\x76\x9c\x93\xb8\xbe\x61\xad\xb9\xbe\xad\xda\x66\x2f\x5c\xbb\x8d\x92\x05\x57\x74\x8d\x84\x0d\xe6\x25\xec\x65\xd5\xec\x97\xf4\x5d\x81\xc0\x3b\x53\x5f\xd6\xbd\x58\xcd\x47\x46\xc4\xae\xd3\xd7\x9f\xf5\x47\x34\x01\x27\x23\xf8\xeb\x7f\x2a\xa6\xf0\x92\x90\x5f\xb8\xc9\x88\xd3\xad\x99\x10\xa8\x1e\xa6\xd3\x32\xe1\x2c\xd7\x8b\x03\x8b\x7b\x62\x76\xdc\x18\x54\x93\xa3\xcc\xa9\x89\xad\x73\x92\x31\xef\xd7\xb9\x4c\x6e\x93\x0d\xe3\x63\x35\xfe\xfb\x03\x9e\x73\xdf\xcf\x0b\x9a\x63\x82\xb7\x47\xbf\x69\xab\xbf\xf6\x08\x2d\x80\xa5\x05\x17\x20\x29\xb9\xa4\x74\x85\x76\xca\xe6\xb2\xb3\xbb\xdb\x4c\x39\xa6\xbb\x07\xdd\xc8\x60\x6b\x37\xef\x05\x17\xc6\x96\x15\xda\x14\x34\xb6\x97\xfa\x97\x3f\xdd\xa5\x56\xff\xb2\xe7\x59\xdd\xad\xa2\x44\x98\xfe\xa7\x74\xa1\x16\xd9\xf4\xa4\xe8\xa7\x77\xde\x3b\x9c\x25\x93\xfe\x94\x57\xe0\x5d\xbc\xba\x48\x3b\x7b\x3d\xde\xbf\xce\x15\xc6\x96\x9c\xb6\x95\x30\xca\xfb\x58\x41\x1b\x54\x0f\xdc\x71\x1c\x56\x99\x6d\x76\x50\x29\x85\xc2\xfc\x44\xee\x05\x4b\x9b\x6f\x7a\x4f\x7a\x77\x9d\xfa\x8d\x37\x4b\x33\xb9\x86\x65\x20\x66\xbe\x41\x7e\xb3\x31\x07\x39\x5d\xcb\xae\xcf\xd8\x36\x22\x07\xb5\x2a\x9b\x16\x96\x1c\x13\x9b\xec\xb5\x69\x63\x90\xa7\x37\x0d\x48\x2c\xd6\x98\xa6\x34\xdf\xae\x31\x05\x5c\x18\xd9\x74\xe8\x46\xb4\xb2\xbd\x2d\x58\xc2\x64\xcd\xd4\x64\x30\x7a\x7d\xae\x69\x1d\x30\x78\xbf\x65\x14\xd2\x76\x34\x25\xdd\x11\x68\xe0\x45\x9d\x27\xc5\x2f\x50\x05\xbe\x74\xf0\xce\x94\xe7\x54\xed\xd7\x21\x95\xe7\x5b\xed\xd7\x21\x55\xe7\x30\x6d\x67\x39\xa0\x19\x2b\xa3\x3a\x7b\xe3\x27\x60\x7b\x09\x78\x16\x2e\x65\x78\x8b\xa6\xbd\x86\x5e\x5f\x8d\xef\x12\xe0\xd1\x6c\x12\x96\x70\x56\x27\x9e\x4d\x80\x0f\xf6\xb9\x31\x11\x5d\x52\x49\x12\x5c\xf2\x77\x84\x80\xc1\xcd\xfa\xf8\xf8\x8e\x2c\x30\xef\x55\xe3\x20\xaf\x22\x37\xf9\x29\x26\x69\xb6\x6d\x6e\xc8\xd7\x02\x5b\xf6\x30\x47\x1f\x3b\x46\x07\xe4\x3c\xa5\xa3\x4b\xc6\x51\x91\xcb\xc6\x0c\x9b\x04\xf4\x75\x57\x25\xb4\xcc\xfb\x35\xed\x04\x2e\x3c\xe1\xb3\xcf\x62\x52\x02\x70\xbb\x1f\xe3\x32\x42\x90\x59\x92\xc8\x4a\x98\x79\x0d\xc3\x9c\x90\x99\xbe\x78\x92\x78\xad\x4e\x23\x17\x11\x95\x67\x01\xe2\xed\x92\x74\xb3\x0b\x09\x2b\x99\x6b\xd7\x46\xfe\xe4\x62\x04\xeb\x57\xac\x6c\xee\x75\x37\x5a\xb5\x62\x38\xea\x56\x45\xae\x75\x35\x7e\x58\x88\x69\x1a\xb5\x38\x90\x6d\xd5\xd6\x9b\x69\xa0\xcd\x29\x30\xb3\x18\xe2\x3c\x8b\xfb\x5a\xbd\x67\x3e\xc6\xcf\xea\x3f\x60\x09\xe2\x94\x13\x33\x1d\x51\xba\x37\x4d\x4e\x80\x9b\xa2\xf8\x9a\x69\x2a\x3e\xf7\x27\xff\x1b\x00\x00\xff\xff\x67\x16\x88\xff\xbf\x35\x00\x00" func examplenftCdcBytes() ([]byte, error) { return bindataRead( @@ -89,7 +89,7 @@ func examplenftCdc() (*asset, error) { } info := bindataFileInfo{name: "ExampleNFT.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x5c, 0x90, 0x79, 0x6b, 0xb1, 0x69, 0x22, 0x2f, 0x45, 0xa5, 0xda, 0x35, 0x8a, 0x5b, 0x25, 0xac, 0x8f, 0xb6, 0xbc, 0x46, 0x7a, 0x28, 0x4e, 0x82, 0xb3, 0x33, 0xf4, 0xcc, 0x2d, 0x61, 0xb7, 0xa8}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe5, 0x7, 0xea, 0xa1, 0x1e, 0xda, 0x30, 0x7d, 0xda, 0xbc, 0x9a, 0xee, 0x8, 0xbf, 0xa2, 0x6f, 0x69, 0xe2, 0xf, 0x2, 0x7d, 0xa9, 0x3d, 0x23, 0x26, 0x9b, 0xaf, 0x9f, 0x1b, 0x6d, 0x62, 0x36}} return a, nil } @@ -113,7 +113,7 @@ func metadataviewsCdc() (*asset, error) { return a, nil } -var _nonfungibletokenCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x5a\x4f\x8f\xe3\x36\xb2\xbf\xeb\x53\xd4\xeb\x00\x6f\xba\x03\x8f\xfb\x1d\x1e\xf6\xd0\x40\x30\x99\xa4\xd3\x0b\x63\x17\x9d\x60\xe2\x49\x0e\x8b\x45\x4c\x4b\x65\x9b\x3b\x14\xa9\x21\x29\x3b\xde\x4e\x7f\xf7\x45\x15\x49\x89\x92\xe5\xfe\x93\xec\xae\x0f\xc9\x58\x16\x8b\xc5\xaa\x5f\x55\xfd\xaa\xd8\xd7\x5f\x7e\x59\x14\x5f\x7c\x01\xcb\x1d\xc2\x9d\x32\x07\xb8\x37\xfa\xed\x5d\xab\xb7\x72\xad\x10\x96\xe6\x13\x6a\x70\x5e\xe8\x4a\xd8\x8a\x5f\x5c\xdd\x1b\x9d\x7e\xe7\x9f\x57\x50\x1a\xed\xad\x28\x7d\x51\x90\x14\xa9\x3d\xda\x8d\x28\x11\xfc\x4e\x78\x10\x4a\x4d\xc9\x4c\x6b\x1c\xb8\x9d\x69\x55\x45\x0f\x36\xc6\xd6\xe0\xcd\xbc\x58\x6c\x40\x40\xeb\xd0\xc2\x41\x68\xef\xc0\x1b\xa8\xb0\x51\xe6\x08\x02\x34\x1e\xe0\xfe\x6e\xd9\x09\x98\x81\xdf\xa1\xb4\xdd\xf7\x24\x4f\xd6\x8d\xc2\x1a\xb5\x67\xa5\xfc\xb1\x41\x07\x15\x6e\xa4\xc6\x0a\x76\x68\x31\x1e\xe6\x6e\xb9\x02\x8b\xce\xb4\xb6\xcc\x54\x0f\x27\x29\x8d\xc5\xfe\x47\x12\x11\x8e\x64\xb1\xb1\xe8\x90\x34\x13\x9a\x95\x91\x9a\xb4\x00\x57\x0b\xeb\x3b\x4d\xe6\x61\x8b\x6f\x8d\x52\x58\x7a\x69\xf4\x0a\x3e\x9c\xd9\xa9\xdf\x84\xe4\x3b\x6f\x2c\xba\x68\x82\x37\x2e\x1e\x37\x49\x99\x17\x0b\x0f\x52\x97\xaa\xad\xf8\xa5\x0d\x1e\x60\xd3\x6a\xfe\x8d\x4d\x25\x14\xf9\x91\xf4\x31\x07\x8d\x96\x1e\xa1\x70\x52\x1d\x8b\xda\xec\x11\x3c\xd9\xdf\x91\xca\x42\x57\x60\x5a\x0f\x66\xc3\x6f\xe7\x5b\xb0\xe6\x3f\x58\xb3\x97\x15\xda\x15\xbf\xb9\xfa\x80\x25\xca\x3d\x7d\x3d\x35\x98\xe3\x73\xb8\xfc\x09\x54\x58\x2a\x61\x31\x53\xee\x20\xfd\x0e\x9c\xa9\x11\x1a\x8b\x2c\xb4\x31\x8e\x0d\x56\x49\x7e\xa3\x88\xf6\xfd\xdc\x4a\x8b\xac\x54\x6f\x3d\x3a\xc7\xc6\xf0\xd9\x4a\xb4\x5e\x48\x0d\x5a\xd4\x52\x6f\x59\xd0\x1a\x77\x62\x2f\x8d\xed\xc0\xea\xe6\xac\xd2\x11\x48\x05\x87\x8d\xb0\xc2\x23\xac\xb1\x14\x2d\xa9\xe9\x61\x2b\xf7\xac\xe4\x1e\x95\x69\xd0\x3a\xde\x4e\xac\xa5\x92\xfe\x18\x10\x47\x60\xe9\xb5\x0f\xba\x95\x42\x93\x5b\x40\xe8\x63\x86\x88\x0e\x6c\x2c\xc5\x0d\x0d\xf3\xcd\x11\x5a\x47\x7a\x26\xb3\x39\xd6\xb8\x7f\x65\xc6\x8e\x76\xe4\x07\x72\xf5\x10\x45\x8e\xb7\x74\xa8\xab\x82\x56\xd9\xe0\x84\xe4\xc5\x06\xd1\xbe\xf5\xe6\x2d\xfd\x7f\xc6\xf6\x25\x87\x92\x29\xf4\x96\x0e\xc1\x9b\x50\x54\xb0\xe9\x05\x94\x48\x52\x15\x28\xac\xb6\x68\x8b\x13\xc0\x2e\x0d\x6f\x95\x70\x4d\x68\xd2\xc6\xef\xd0\xb2\x8a\xb3\x2e\x2c\x39\xc4\x1c\x1d\xfb\xc8\xa2\x2b\x2b\x02\xe4\xee\xef\x96\xc5\xc6\x9a\x3a\x46\x65\xef\x3e\x8e\x53\x0d\x25\xe5\x03\x7a\xb1\xc2\xc6\x38\xe9\x3b\xfb\x82\xd1\x83\xbd\xde\xb8\x62\xe8\xfb\xd2\x90\x91\x7d\x80\x85\xb7\x42\xbb\x0d\xda\x79\x51\x7c\x79\x5d\x14\xb2\x6e\x8c\xf5\x70\xf1\x93\xc4\x03\xc5\x98\xda\xa3\xbd\x28\x8a\xeb\xeb\x6b\x4e\x6c\x35\x81\x25\x4f\x1a\x73\xf8\x9e\x37\xca\x9f\x11\x3c\x95\xe2\x35\x51\x1c\x7b\x29\x79\x96\xb7\x1d\xa0\x3b\xe4\x12\x0e\x7d\xe9\xfa\x24\x78\x7d\x7d\x5d\x88\xb2\x44\xe7\x2e\x85\x52\x57\x7d\x62\xea\x13\xe3\x38\x85\xde\x40\xae\x38\x3c\x14\x05\x00\x00\x69\xf2\x5e\x03\x6a\x2f\x7d\xd4\x61\x63\x6c\x08\x6f\x76\xef\x0e\x3b\xdb\x0b\xc5\x51\x1c\x40\xc1\xf6\x17\xf0\x93\x68\x95\x67\x49\xb9\x3a\xb9\xb8\x9f\xe3\xea\x97\xed\xd7\x36\x95\xf0\x11\xbc\xe1\xdf\x80\x7b\xc6\x3c\xbf\xc6\x16\x7e\x72\xbb\x8f\xbc\xa8\xdf\x6c\xbc\x53\x4c\x57\x14\x50\x5b\xcb\x89\x3f\x29\xc8\x7b\xc6\xe5\x4f\xed\xf0\x3d\x49\xe8\x37\xf8\x6e\x1f\x1c\x27\xfc\x69\xbd\xc1\x5a\x7a\x38\x10\x24\xc9\x8e\x35\x7a\x51\x09\x2f\xc8\x8a\x29\xa7\xbb\x78\xca\xaa\x93\xb7\x08\xf1\x6f\xb4\x3a\xc2\x1a\x59\x84\xc7\x0a\xd6\x47\x86\x75\xf2\xc9\x8a\x9e\xdf\xdf\x2d\x83\xbe\xd5\xaa\x83\x78\x27\x27\x04\xa3\x86\x15\xbf\x22\xd6\x0a\x57\xe9\x18\x14\xe1\x1b\xb4\xa8\xa9\x18\x98\x14\x52\xe1\x0c\x07\x71\xaa\x12\xc1\x3b\xb7\x40\x63\xa3\x4f\x5c\x23\xea\x9a\xb2\x0a\xa3\xa1\xd7\x4f\xc6\x27\x7d\xa4\xb9\x37\x59\xea\x77\x9d\xe4\x94\x2a\xf9\xb4\xa5\xa9\x02\xd8\xa8\x6c\x64\xaf\x83\x89\x0e\xdb\x09\xda\x12\x4b\x29\x54\x7f\x94\xe0\xa6\x4e\x62\x3c\x4f\xb6\x19\xd9\x7d\x67\xaa\x10\x7a\x64\x52\xb2\x05\xbd\xb7\xc5\x10\x70\xa7\x56\xe9\xa4\x0d\x4d\xc0\x9e\xae\xc5\x27\x74\x94\xdb\x9d\x09\x5a\xf9\x9d\xb4\xd5\xdb\x46\x58\x7f\x04\xa9\x2b\xfc\x95\x0c\x42\x2e\xac\x8d\x96\x9e\x75\x4f\x20\xee\xc4\x11\xd4\x3e\xb7\x68\x8f\xfc\x63\xb4\x77\x0f\x90\x94\xdc\x02\x5a\x87\xb6\x9b\x27\x21\xa7\x20\xdd\xf7\x01\x50\x5d\x52\xe1\xb8\x81\x1f\xbd\x95\x7a\x3b\x03\x59\xdd\xc0\xc7\x85\xf6\x7f\xfa\xff\x19\xb4\x6d\xfe\x8d\xb7\xb8\x81\xf7\x55\x65\xd1\xb9\x77\x57\xb9\xd8\x04\xe8\x2b\xd8\xcb\xc0\x00\x60\x88\xbb\xcb\x5f\x40\x6f\xfc\x07\xdc\xdc\x80\x68\xfd\xee\x32\x3c\x86\xdf\x42\x90\x5c\xc1\xff\x3e\x8c\xd3\xd0\xfc\xfe\x6e\xf9\x18\x36\x79\xe0\xff\xd2\x87\xe3\x64\xa8\x78\x10\x3b\xdf\xa2\x5f\x1e\x1b\xbc\xbc\x9a\xcb\x8a\xfc\xb4\x91\x54\x21\x48\xff\xf8\x82\xac\xd2\x81\xe2\x03\xfa\xd2\x9d\x2a\x3e\xe3\x6f\xef\xe6\x22\x9c\x31\xec\xfe\x58\x4c\xc6\xb0\x74\x5d\xc8\x71\xe0\x8a\x90\xf0\xe8\x79\xca\x83\x7a\xd6\x2d\x94\xba\x92\xa5\xf0\x29\x2a\x49\x75\xd2\x2e\xa8\x34\xcb\xf8\xd1\x09\xfd\x89\xbb\x85\x80\xeb\x24\xb3\xe7\x67\x03\x98\xd0\xb2\x8f\x1f\x17\xb7\x49\x44\xcf\x8b\x26\xd7\x42\xeb\x5a\xa1\xd4\x71\x10\x41\x43\xcc\x70\x96\x39\xd1\x47\x3a\xd0\xc6\x07\xca\x46\xfe\x37\xad\xf6\x6f\x1c\xf3\x44\xb1\xc5\x19\xac\x48\xfc\xaa\x0b\xa2\x95\x96\x6a\xf5\x1c\x16\x53\x6a\xd5\x2f\x46\x23\x6d\xd2\x83\x71\x06\x4d\xa4\x87\x64\x81\xf4\xd6\xd5\xa4\xe3\xce\x79\x2d\x72\x00\xac\x98\x68\x4c\x19\x05\x16\xc1\x8b\xe8\xfe\x90\x13\xf3\x8d\x9e\x76\x61\x6e\xf5\xd3\xb5\xff\x36\x5f\xcd\x5e\xe7\xac\xdb\xa4\xc3\x8b\x9d\xe5\x4d\xee\xaa\x5e\xbf\x33\xce\x5a\x84\x7e\xa2\xe2\x3a\xbc\x16\xe5\xa7\x03\x51\xe8\xb7\xc4\xb9\x84\x97\x81\x14\x9f\xe8\x76\xda\x06\xc0\xe2\xfe\x6e\x79\xc3\x15\xeb\xe1\x31\x97\x3e\x68\x09\x63\x51\x73\x50\xb7\x81\xfd\xc7\xc6\xef\xac\x11\x26\x36\xe2\x7d\x72\xd6\x34\x1f\xd3\xa7\xb4\x79\xab\xe5\xe7\x16\x61\x71\xcb\x67\x4b\x1c\x35\xbd\x91\x6f\xa3\xd0\x67\x16\x1d\x4a\x99\x4e\x43\xa2\xf5\xa6\x16\x5e\x96\x1c\xd6\xb8\xe7\xaa\x21\x6b\x04\x91\xe9\x4c\x10\x72\xde\x9a\x63\x2c\xdb\x79\xdd\xe2\x16\x42\xb2\x01\x44\x82\x8f\x4c\xbe\x90\x23\x6e\x12\xb0\xe0\x0c\x21\x33\xc2\x4c\x23\xd2\x9b\x82\x3b\x51\x61\xb7\x2d\x77\xbc\x53\x87\x0b\x8b\x53\x03\x7a\x9b\x34\xba\xec\x0f\x0c\x5f\x81\x43\x95\xa7\xed\xe1\x73\x7a\x76\x35\xb4\x4a\x69\x51\x78\xfc\xae\x6e\xfc\x31\x23\xeb\xe1\x29\xab\x84\xf4\xd3\xa0\x89\x8b\x16\x4c\x85\x9e\x7b\xdd\x13\xaf\xa4\xe8\xb4\xe8\x5b\xab\xb9\xa4\x27\xf2\x20\x94\x42\x9b\x15\x78\x3c\x06\x4e\x76\x60\xd6\xe6\x06\x22\xbe\x0e\xeb\xe1\x7d\xaf\xca\x38\x41\x70\x73\x15\x75\x90\xee\x2c\x34\xa8\xbc\x4e\x1e\xf6\xf2\xea\x06\xbe\x7e\xe8\xbf\x3f\x66\xa5\x93\x3e\xdc\xe0\x0e\x1f\xd1\xc7\xa2\x6b\x95\xa7\x12\xfa\x57\xd4\x5b\xbf\xbb\xbc\x82\xaf\xbe\x82\xff\xbb\x81\x0b\x1e\x3c\xf0\x4e\x55\xae\x2c\x87\x0a\x73\xce\xc6\x1f\xff\xe7\x62\x20\xf0\xb1\xe8\xff\x35\x38\xff\x9f\xd1\x3b\x48\x0d\x17\x47\x5c\x62\x45\x61\xa8\x50\x49\x8b\xa5\x57\x47\xb2\xde\x39\xcb\x55\x92\x15\x10\xf6\xc8\xdc\x58\x29\x70\xed\xfa\xfe\x6e\xf9\x23\x7c\xc2\x63\x20\xbf\x04\xe2\x49\xab\x75\xcc\x64\x8b\xfe\xfd\x5e\x48\x45\x5e\xff\x31\x2c\x27\xc3\x3d\x2c\x39\x9b\x05\x98\x8d\x2d\x17\x35\x78\x78\xea\x74\x1c\x67\x19\x5d\x4e\x6d\xeb\xe0\x94\x27\x87\xfb\xc6\x10\xfd\x8e\xc1\xe2\x78\x40\x60\x1a\x3e\xa4\x1a\xce\x4f\x62\x0b\x5c\xee\x8c\x71\x38\x10\xb1\x33\x07\x02\x65\xc2\xa7\x6b\xd7\xc1\xbe\x15\x36\xa8\x2b\xe2\x1c\x46\xc3\x81\xe7\x5f\x83\x7d\x62\xcd\x1c\x26\x82\x3b\x63\x01\x7f\x15\xd4\x69\xce\x40\x6e\x60\x45\x06\x5d\x31\xa5\x16\xb0\x17\xaa\xc5\x19\xac\x5b\x0f\x2b\x59\xad\xa0\x32\xe8\xf4\x9b\x30\xf6\x62\x05\x87\x01\x29\x74\x54\x17\x0e\x3b\x59\xee\x82\x01\x36\xd1\x22\x3c\xaf\x30\xc9\xb2\x92\x6b\x97\xe5\x0c\x25\xe0\xa2\xc2\x0d\x35\x8c\x17\x03\x79\x8b\x0d\xac\x83\xb5\x62\xa5\x8a\x6d\x7c\x0f\x26\x6e\x0f\x42\x04\x09\x70\x52\x6f\x55\x50\x8b\x34\xf9\x07\x81\x36\xec\x36\x90\x4a\x0b\xe7\xb0\x24\x07\xed\x50\x35\x2e\x46\xb5\x83\xc3\xce\xd0\x56\xfa\x8d\x07\xd7\x5a\x0c\x16\xf4\x69\x8a\xa3\x8c\xf9\x44\xa6\xa5\x3c\x9e\xcb\x1b\x22\xb7\x11\x56\xd4\x10\xea\x24\x05\x13\x61\x2c\x55\xf7\x0a\x9d\xb4\x58\x9d\xe4\x9a\xb8\x88\x72\x1e\x8f\x30\xab\xb4\x20\x22\x60\x6d\xac\x35\x87\xf3\x7b\x76\xd1\xe2\xbc\x6d\x4b\xdf\xf2\xdc\x30\x0e\x09\x13\x01\xb5\xf8\xb9\x45\x47\x61\x4d\x61\x31\x3f\x9b\x66\xb6\xe8\x43\x88\xc4\x5a\xbf\x8c\x9c\xa7\xab\xda\x70\x73\x8e\xbb\xbf\x9b\x0e\x21\x2d\x55\x31\xcc\x15\xd3\xb5\xd9\x40\x8d\x95\xa4\x26\xa1\x1f\x2b\x74\xd3\x84\x54\xcf\x72\x16\xdb\xa7\xbd\xd7\x94\xee\x34\x56\x1c\x16\x6a\xf8\x19\x63\x4f\x9e\x7a\xfe\x34\x5c\x48\x0d\x57\xe2\x9b\x99\xa8\xd4\xa3\x12\x87\xa0\x3c\xa5\xb7\xdd\xf2\x5c\x74\x94\x14\x91\x25\x78\x58\xb3\x09\x33\x39\x6f\x62\x65\x54\xd2\x79\xa4\x8e\x2e\xfd\xae\xa2\xc0\x34\xa8\x8a\x6d\xe2\xc0\xf1\x9d\xae\x16\x6b\xb3\xc7\x6e\x1e\xdc\xe9\x9c\x65\x70\xaa\x67\xe1\xa5\x71\x35\x1b\x46\x9c\xe7\x10\xe7\xea\xce\x0d\xf5\xe6\x48\xbc\x99\xbb\x75\x5a\xb2\xb8\xa5\x78\x0d\x94\xd5\xd2\x5b\x53\x40\x4e\x7a\x11\xd7\x9b\x04\x74\xa7\xf8\x84\xa6\x63\x64\x76\x43\x98\xae\x75\x24\x98\x26\x09\x97\xf9\x5e\x11\xa1\x54\x12\x09\x8f\xaf\xaa\x85\xb2\xa2\x12\x98\x4b\xe3\x5a\xd8\x53\xf3\xbe\x9b\x0a\x0d\x44\x2a\x89\x3c\x79\x17\x44\xba\xdc\x28\xd0\x16\xb7\x17\x27\xbb\x31\xc6\xc6\xcd\x4f\x5f\x8e\xcf\x74\xb4\x9d\x8e\x89\x1a\xc5\x07\xa1\x0d\x09\x9d\x11\x93\xa4\x61\x3b\x3b\x6e\x92\x32\x1e\x95\xeb\xf4\xf8\xca\xf0\x8c\x90\x74\x09\x46\xbf\x2f\x0e\xd3\x3c\x7f\x4c\x98\x13\xe0\x3d\x4f\x53\x22\xa2\x87\x0c\x93\xc1\x2c\xaa\x2a\xc7\xf2\xb7\xa7\x00\xca\xf3\x71\x98\x73\x2e\x7b\x08\xc6\x6d\xce\xe6\xc1\xf8\xfb\x65\x5c\x19\x10\x35\xe2\x9f\x9c\x2b\x9b\xc6\x58\x8f\xd5\xfd\xdd\x72\xc9\xb7\x3c\xa9\x28\x0b\x8e\xe9\x34\x55\x0f\x37\x40\x3d\x33\xb0\xe9\xf4\xb4\x6f\xe3\x5f\x46\x7f\x82\x90\x5a\x34\x4d\xe8\x59\xd7\xc6\x28\x14\x7c\x9b\xd2\x0d\x1b\xb8\xac\xca\xa1\xbc\x1e\xea\xa5\xa4\x2e\x01\x5c\xd0\x9a\xec\xf7\x2c\x73\x3a\x39\x61\x46\x9d\xbe\x31\x46\x8d\x68\xd1\x87\x78\xfc\x94\x34\x42\x96\x60\x17\x6d\xe5\x1e\x75\xec\x39\x5c\x3c\x78\xa4\x70\xd3\x19\x80\x47\xc2\x93\x9c\x39\x2c\xee\xaf\x41\xe2\x54\x35\xab\xf8\xe0\x6d\x8b\x24\x3b\x12\x8b\xf3\x55\xfa\xbd\xee\x3c\x74\xc6\x0b\xd1\xce\x13\x66\xee\xfd\x48\x5a\x45\xfb\x8e\x6b\xfd\x0b\x18\xaa\x74\x63\x33\x67\xe5\xf7\x2a\x18\x7a\x1c\x9b\x7f\x21\x0b\x3c\xd1\x30\x83\x45\xe1\xd2\x48\xf5\x99\x60\xec\xa3\xe7\x87\x76\xad\x64\x99\xe5\xc9\x17\x06\xc6\x73\x30\x4a\x8d\xc6\x0d\xe5\x94\x67\xdf\x5e\xdc\x32\xcc\xfe\x16\x32\xfa\xdf\x9f\x7e\x3f\xd0\x23\xa2\x2c\xbf\xe4\x44\x85\x79\x0a\xd1\x92\xb1\xe1\x3e\x84\x0b\xbe\x6e\xf0\x1f\xd0\xa7\x4b\x8b\x7e\x74\xe1\x9a\xcf\x8e\xd7\x98\xae\x14\xbb\xd6\xb8\xbb\x9d\x21\x44\x74\x37\x30\xaf\xc8\x81\xbd\xd9\x6f\x3a\x5e\x32\xeb\x32\xe3\xec\xc4\x2d\xb3\xe9\x99\x43\xd6\xe0\x3e\x9d\x4c\xcf\xe5\xd2\x78\xe5\x2b\x7d\x3a\xd9\x99\x60\x7c\x2e\x9b\xd2\xd1\xc6\x53\xf6\x57\x00\x69\x72\x20\x3c\xae\xe2\x16\x27\x8a\x78\x46\xe0\xf2\xdb\xbd\xc0\xad\xe2\x99\x06\x57\xe1\xfd\x0d\xf8\x84\xa8\xc4\xeb\xce\xaf\xe2\x04\xa6\x6a\x62\x14\x42\x1d\xc4\x31\x94\xfe\x8d\xa4\x1e\xae\x42\xe7\xa5\x16\x83\xb3\x67\xc2\xfb\x8b\x32\xb2\x7c\xa7\x69\x2d\x9d\xe3\x3b\x89\x70\x61\xd2\x3a\x6f\xea\x2e\xbb\x10\x25\xa4\xfc\xb6\xc6\x9e\x3b\x4e\xc9\x26\x89\x3b\x61\xab\xd0\x66\x11\xa6\x65\x98\x73\x8c\x48\xe6\x34\x2d\x19\x8f\xf9\x58\xcd\x27\x58\x49\xf8\xbd\x27\x25\xe1\x7b\x1c\x8d\x9a\x33\x8c\x64\x3c\x0b\x7c\x01\x27\x39\x1d\x2a\xf0\x5d\x79\x6d\x5a\x9d\xea\x6b\x98\x70\xf6\x91\x79\x0e\xbf\x29\xa5\x6b\x76\xe5\x96\xd9\xfc\x60\x4e\xef\xe4\x3f\xf1\x74\x18\xfb\xca\xec\x36\x6a\xf7\x29\x3b\xb9\x33\xb3\x82\x17\xa9\xbd\xe8\xc9\x33\xdf\xdd\xb1\xa2\x4c\xce\x25\xd3\xcc\x6c\xea\x3b\x94\x32\x1b\xf5\xbd\xfd\xdf\x13\xa4\x8a\x19\x0d\xc2\xcd\x35\xc3\x87\xe4\x34\x42\xcb\x72\xfe\x5c\x8f\x9b\xda\xd5\x54\xe9\xf4\xc6\x13\xd3\x3f\x51\x22\xeb\xf9\x93\x0d\x4a\xa4\xc4\x3b\x3f\xe7\x9b\x6e\x1c\x32\x75\x19\xf9\xfb\x6b\xc1\x4b\x7a\xd6\x33\x4d\xc2\x65\x20\xdc\xd4\x22\x68\xa9\xae\xe0\xb7\xdf\xd2\xa3\x77\xb1\x73\x90\xd5\xd5\x0d\x9c\xac\xa3\xcf\xc5\xb7\x42\x93\x55\x83\x6a\xec\xc5\xee\x5c\xc1\x82\xf9\x15\x0e\xd9\x60\x70\x0d\xdb\xb5\x63\xb5\xf0\xe5\x2e\x35\x61\xdd\x8d\x6c\x87\x83\x17\x0e\xe5\x5e\x3f\x33\x8d\xaa\x71\x8f\x73\x42\x92\x9e\x1a\x93\xbe\x62\x18\x7a\x76\x8f\xff\xce\x14\x34\x24\x38\x72\x23\xa7\xa3\xee\xc9\xf9\x81\x68\xe7\x95\x9d\xd8\xe3\x50\xf7\xd0\x08\xf2\xdf\x64\xa4\xd7\x4f\xfb\xc0\xff\xd8\x04\x16\x86\x5c\xe7\xf5\xee\x4e\x8c\xa8\x4f\x30\x03\x0a\xfb\x07\x67\xe3\x59\xfe\xd0\x1b\xbf\xec\xc6\x64\x79\x12\x19\x0d\x0a\x07\x17\xfe\x5d\xda\x18\xa5\x0c\x61\xad\x38\xa6\x66\x6b\x99\x37\x5b\x67\x68\x5a\xfc\x0b\x9a\x78\x69\xfe\x32\x98\xf5\x1a\x07\x56\x3e\x41\x59\xa6\x41\x38\x01\xc0\x1e\x00\xcc\x75\xe7\x8a\x61\xf0\x3b\x41\x90\xdc\xfe\x58\xfc\x2b\x00\x00\xff\xff\xee\x5d\xf5\x18\x51\x29\x00\x00" +var _nonfungibletokenCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x5a\x4f\x8f\x23\x37\xae\xbf\xfb\x53\xf0\x75\x80\x37\xdd\x81\xc7\xfd\x0e\x0f\x7b\x68\x20\x98\x4c\x32\xe9\x45\x63\x17\x9d\x60\xe2\x49\x0e\x8b\x45\x2c\x97\x68\x5b\x3b\x2a\xa9\x46\x52\xd9\xf1\x4e\xfa\xbb\x2f\x48\x49\x55\xaa\x72\xb9\xff\x24\xbb\xeb\x43\x32\x2e\x97\x28\x8a\xfc\x91\xfc\x91\xea\xeb\x2f\xbf\x9c\xcd\xbe\xf8\x02\x96\x3b\x84\x5b\x6d\x0f\x70\x6f\xcd\xeb\xdb\xd6\x6c\xd5\x5a\x23\x2c\xed\x47\x34\xe0\x83\x30\x52\x38\xc9\x2f\xae\xee\xad\xc9\xbf\xf3\xcf\x2b\xa8\xac\x09\x4e\x54\x61\x36\x23\x29\xca\x04\x74\x1b\x51\x21\x84\x9d\x08\x20\xb4\x9e\x92\x99\xd7\x78\xf0\x3b\xdb\x6a\x49\x0f\x36\xd6\xd5\x10\xec\x62\x76\xb7\x01\x01\xad\x47\x07\x07\x61\x82\x87\x60\x41\x62\xa3\xed\x11\x04\x18\x3c\xc0\xfd\xed\xb2\x13\x30\x87\xb0\x43\xe5\xba\xef\x59\x9e\xaa\x1b\x8d\x35\x9a\xc0\x4a\x85\x63\x83\x1e\x24\x6e\x94\x41\x09\x3b\x74\x98\x0e\x73\xbb\x5c\x81\x43\x6f\x5b\x57\x15\xaa\xc7\x93\x54\xd6\x61\xff\x23\x89\x88\x47\x72\xd8\x38\xf4\x48\x9a\x09\xc3\xca\x28\x43\x5a\x80\xaf\x85\x0b\x9d\x26\x8b\xb8\xc5\xb7\x56\x6b\xac\x82\xb2\x66\x05\xef\xcf\xec\xd4\x6f\x42\xf2\x7d\xb0\x0e\x7d\x32\xc1\x2b\x9f\x8e\x9b\xa5\x2c\x66\x77\x01\x94\xa9\x74\x2b\xf9\xa5\x0d\x1e\x60\xd3\x1a\xfe\x8d\x4d\x25\x34\xf9\x91\xf4\xb1\x07\x83\x8e\x1e\xa1\xf0\x4a\x1f\x67\xb5\xdd\x23\x04\xb2\xbf\x27\x95\x85\x91\x60\xdb\x00\x76\xc3\x6f\x97\x5b\xb0\xe6\x3f\x38\xbb\x57\x12\xdd\x8a\xdf\x5c\xbd\xc7\x0a\xd5\x9e\xbe\x9e\x1a\xcc\xf3\x39\x7c\xf9\x04\x24\x56\x5a\x38\x2c\x94\x3b\xa8\xb0\x03\x6f\x6b\x84\xc6\x21\x0b\x6d\xac\x67\x83\x49\xc5\x6f\xcc\x92\x7d\x3f\xb5\xca\x21\x2b\xd5\x5b\x8f\xce\xb1\xb1\x7c\xb6\x0a\x5d\x10\xca\x80\x11\xb5\x32\x5b\x16\xb4\xc6\x9d\xd8\x2b\xeb\x3a\xb0\xfa\x05\xab\x74\x04\x52\xc1\x63\x23\x9c\x08\x08\x6b\xac\x44\x4b\x6a\x06\xd8\xaa\x3d\x2b\xb9\x47\x6d\x1b\x74\x9e\xb7\x13\x6b\xa5\x55\x38\x46\xc4\x11\x58\x7a\xed\xa3\x6e\x95\x30\xe4\x16\x10\xe6\x58\x20\xa2\x03\x1b\x4b\xf1\x43\xc3\x7c\x73\x84\xd6\x93\x9e\xd9\x6c\x9e\x35\xee\x5f\x99\xb3\xa3\x3d\xf9\x81\x5c\x3d\x44\x91\xe7\x2d\x3d\x1a\x39\xa3\x55\x2e\x3a\x21\x7b\xb1\x41\x74\xaf\x83\x7d\x4d\xff\x9f\xb3\x7d\xc9\xa1\x64\x0a\xb3\xa5\x43\xf0\x26\x14\x15\x6c\x7a\x01\x15\x92\x54\x0d\x1a\xe5\x16\xdd\xec\x04\xb0\x4b\xcb\x5b\x65\x5c\x13\x9a\x8c\x0d\x3b\x74\xac\xe2\xbc\x0b\x4b\x0e\x31\x4f\xc7\x3e\xb2\x68\xe9\x44\x84\xdc\xfd\xed\x72\xb6\x71\xb6\x4e\x51\xd9\xbb\x8f\xe3\xd4\x40\x45\xf9\x80\x5e\x94\xd8\x58\xaf\x42\x67\x5f\xb0\x66\xb0\xd7\x2b\x3f\x1b\xfa\xbe\xb2\x64\xe4\x10\x61\x11\x9c\x30\x7e\x83\x6e\x31\x9b\x7d\x79\x3d\x9b\xa9\xba\xb1\x2e\xc0\xc5\x4f\x0a\x0f\x14\x63\x7a\x8f\xee\x62\x36\xbb\xbe\xbe\xe6\xc4\x56\x13\x58\xca\xa4\xb1\x80\xef\x79\xa3\xf2\x19\xc1\x53\x6b\x5e\x93\xc4\xb1\x97\xb2\x67\x79\xdb\x01\xba\x63\x2e\xe1\xd0\x57\xbe\x4f\x82\xd7\xd7\xd7\x33\x51\x55\xe8\xfd\xa5\xd0\xfa\xaa\x4f\x4c\x7d\x62\x1c\xa7\xd0\x1b\x28\x15\x87\xcf\xb3\x19\x00\x00\x69\xf2\xd6\x00\x9a\xa0\x42\xd2\x61\x63\x5d\x0c\x6f\x76\xef\x0e\x3b\xdb\x0b\xcd\x51\x1c\x41\xc1\xf6\x17\xf0\x93\x68\x75\x60\x49\xa5\x3a\xa5\xb8\x9f\xd3\xea\xe7\xed\xd7\x36\x52\x84\x04\xde\xf8\x6f\xc0\x3d\x63\x9e\x5f\x63\x0b\x3f\xba\xdd\x07\x5e\xd4\x6f\x36\xde\x29\xa5\x2b\x0a\xa8\xad\xe3\xc4\x9f\x15\xe4\x3d\xd3\xf2\xc7\x76\xf8\x9e\x24\xf4\x1b\x7c\xb7\x8f\x8e\x13\xe1\xb4\xde\x60\xad\x02\x1c\x08\x92\x64\xc7\x1a\x83\x90\x22\x08\xb2\x62\xce\xe9\x3e\x9d\x52\x76\xf2\xee\x62\xfc\x5b\xa3\x8f\xb0\x46\x16\x11\x50\xc2\xfa\xc8\xb0\xce\x3e\x59\xd1\xf3\xfb\xdb\x65\xd4\x57\xae\x3a\x88\x77\x72\x62\x30\x1a\x58\xf1\x2b\x62\xad\x71\x95\x8f\x41\x11\xbe\x41\x87\x86\x8a\x81\xcd\x21\x15\xcf\x70\x10\xa7\x2a\x11\xbc\x4b\x0b\x34\x2e\xf9\xc4\x37\xa2\xae\x29\xab\x30\x1a\x7a\xfd\x54\x7a\xd2\x47\x9a\x7f\x55\xa4\x7e\xdf\x49\xce\xa9\x92\x4f\x5b\x59\x19\xc1\x46\x65\xa3\x78\x1d\x6c\x72\xd8\x4e\xd0\x96\x58\x29\xa1\xfb\xa3\x44\x37\x75\x12\xd3\x79\x8a\xcd\xc8\xee\x3b\x2b\x63\xe8\x91\x49\xc9\x16\xf4\xde\x16\x63\xc0\x9d\x5a\xa5\x93\x36\x34\x01\x7b\xba\x16\x1f\xd1\x53\x6e\xf7\x36\x6a\x15\x76\xca\xc9\xd7\x8d\x70\xe1\x08\xca\x48\xfc\x95\x0c\x42\x2e\xac\xad\x51\x81\x75\xcf\x20\xee\xc4\x11\xd4\x3e\xb5\xe8\x8e\xfc\x63\xb2\x77\x0f\x90\x9c\xdc\x22\x5a\x87\xb6\x5b\x64\x21\xa7\x20\xdd\xf7\x01\x20\x2f\xa9\x70\xdc\xc0\x8f\xc1\x29\xb3\x9d\x83\x92\x37\xf0\xe1\xce\x84\x3f\xfd\xff\x1c\xda\xb6\xfc\xc6\x5b\xdc\xc0\x5b\x29\x1d\x7a\xff\xe6\xaa\x14\x9b\x01\x7d\x05\x7b\x15\x19\x00\x0c\x71\x77\xf9\x0b\x98\x4d\x78\x8f\x9b\x1b\x10\x6d\xd8\x5d\xc6\xc7\xf0\x5b\x0c\x92\x2b\xf8\xdf\xcf\xe3\x34\xb4\xb8\xbf\x5d\x3e\xc4\x4d\x3e\xf3\x7f\xe9\xc3\x71\x32\x54\x3c\x8a\x5d\x6c\x31\x2c\x8f\x0d\x5e\x5e\x2d\x94\x24\x3f\x6d\x14\x55\x08\xd2\x3f\xbd\xa0\x64\x3e\x50\x7a\x40\x5f\xba\x53\xa5\x67\xfc\xed\xcd\x42\xc4\x33\xc6\xdd\x1f\x66\x93\x31\xac\x7c\x17\x72\x1c\xb8\x22\x26\x3c\x7a\x9e\xf3\xa0\x99\x77\x0b\x95\x91\xaa\x12\x21\x47\x25\xa9\x4e\xda\x45\x95\xe6\x05\x3f\x3a\xa1\x3f\x69\xb7\x18\x70\x9d\x64\xf6\xfc\x7c\x00\x13\x5a\xf6\xe1\xc3\xdd\xbb\x2c\xa2\xe7\x45\x93\x6b\xa1\xf5\xad\xd0\xfa\x38\x88\xa0\x21\x66\x38\xcb\x9c\xe8\xa3\x3c\x18\x1b\x22\x65\x23\xff\xdb\xd6\x84\x57\x9e\x79\xa2\xd8\xe2\x1c\x56\x24\x7e\xd5\x05\xd1\xca\x28\xbd\x7a\x0a\x8b\x39\xb5\x9a\x67\xa3\x91\x36\xe9\xc1\x38\x87\x26\xd1\x43\xb2\x40\x7e\xeb\x6a\xd2\x71\xe7\xbc\x96\x38\x00\x4a\x26\x1a\x53\x46\x81\xbb\xe8\x45\xf4\x7f\xc8\x89\xe5\x46\x8f\xbb\xb0\xb4\xfa\xe9\xda\x7f\x9b\xaf\xe6\x2f\x73\xd6\xbb\xac\xc3\xb3\x9d\x15\x6c\xe9\xaa\x5e\xbf\x33\xce\xba\x1b\x36\x6d\xa9\xec\x78\xa8\xdb\xc8\xcf\x53\x6b\x76\x56\xcd\xd3\x8e\x80\xd6\x0f\x79\xcd\x62\x4c\x70\xf2\xe6\xad\x51\x9f\x5a\x84\xbb\x77\xcc\x02\x32\x8b\xcc\x6f\x94\xdb\x68\x0c\xc5\x99\x87\x52\xa6\x13\x85\x68\x83\xad\x45\x50\x15\x07\x1e\xee\x39\xaf\xab\x1a\x41\x14\x3a\x93\x93\x7d\x70\xf6\x98\x0a\x6b\x59\x59\x98\xe4\x2b\x36\x80\xc8\x0e\x4e\xdd\x97\xcc\x7d\x5f\x57\x1c\xa2\xb7\xbc\x25\xec\x24\x20\x18\x44\x7a\x53\x70\xaf\x28\xdc\xb6\xe5\x9e\x74\xea\x70\x71\x71\x6e\x11\xdf\x65\x8d\x2e\xfb\x03\xc3\x57\xe0\x51\x97\x89\x75\xf8\x9c\x9e\x5d\x0d\xad\x52\x39\x14\x01\xbf\xab\x9b\x70\x2c\xe8\x74\x7c\xca\x2a\x21\xfd\x34\x68\xb3\x92\x05\x73\x29\xe6\x6e\xf4\xc4\x2b\x39\x7e\x1c\x86\xd6\x19\x2e\xba\xb9\xbc\x0b\xad\xd1\x15\x25\x18\x8f\x91\x35\x1d\x98\x57\xf9\x81\x88\xaf\xe3\x7a\x78\xdb\xab\x32\x0e\x61\x6e\x7f\x92\x0e\xca\x9f\x85\x06\x15\xc0\xc9\xc3\x5e\x5e\xdd\xc0\xd7\x9f\xfb\xef\x0f\x45\x71\xa3\x0f\xb7\xa0\xc3\x47\xf4\x71\xe8\x5b\x1d\xa8\xc8\xfd\x15\xcd\x36\xec\x2e\xaf\xe0\xab\xaf\xe0\xff\x6e\xe0\x82\x47\x03\xbc\x93\x2c\x95\xe5\x50\x61\x56\xd8\x84\xe3\xff\x5c\x0c\x04\x3e\xcc\xfa\x7f\x0d\xce\xff\x67\x0c\x1e\x72\x4b\xc4\x11\x97\x79\x4b\x6c\xfb\xa5\x72\x58\x05\x7d\x24\xeb\x9d\xb3\x9c\x54\xac\x80\x70\x47\x66\xaf\x5a\x83\x6f\xd7\xf7\xb7\xcb\x1f\xe1\x23\x1e\x23\x3d\x25\x10\x4f\x5a\xad\xe3\x0e\x5b\x0c\x6f\xf7\x42\x69\xf2\xfa\x8f\x71\x39\x19\xee\xf3\x92\xf3\x4d\x84\xd9\xd8\x72\x49\x83\xcf\x8f\x9d\x8e\xe3\xac\x20\xb4\xb9\xb1\x1c\x9c\xf2\xe4\x70\xdf\x58\x22\xc8\x29\x58\x3c\xb7\xf0\xb6\xe1\x43\xea\xe1\x84\x23\x35\xa9\xd5\xce\x5a\x8f\x03\x11\x3b\x7b\x20\x50\x66\x7c\xfa\x76\x1d\xed\x2b\xb1\x41\x23\x89\x15\x58\x03\x07\x9e\x50\x0d\xf6\x49\x55\x6d\x98\x08\x6e\xad\x03\xfc\x55\x50\x2f\x38\x07\xb5\x81\x15\x19\x74\xc5\xa4\x57\xc0\x5e\xe8\x16\xe7\xb0\x6e\x03\xac\x94\x5c\x81\xb4\xe8\xcd\xab\x38\x98\x62\x05\x87\x01\x29\x4c\x52\x17\x0e\x3b\x55\xed\xa2\x01\x36\xc9\x22\x3c\x51\xb0\xd9\xb2\x8a\xab\x8b\xe3\x0c\x25\xe0\x42\xe2\x86\x5a\xba\x8b\x81\xbc\xbb\x0d\xac\xa3\xb5\x52\x2d\x49\x8d\x76\x0f\x26\x26\xf0\x31\x82\x04\x78\x65\xb6\x3a\xaa\x45\x9a\xfc\x83\x40\x1b\x77\x1b\x48\xa5\x85\x0b\x58\x92\x83\x76\xa8\x1b\x9f\xa2\xda\xc3\x61\x67\x69\x2b\xf3\x2a\x80\x6f\x1d\x46\x0b\x86\x3c\x67\xd1\xd6\x7e\x24\xd3\x52\x1e\x2f\xe5\x0d\x91\xdb\x08\x27\x6a\x88\x95\x8c\x82\x89\x30\x96\xeb\xaf\x44\xaf\x1c\xca\x93\x5c\x93\x16\x51\xce\xe3\x21\xa3\xcc\x0b\x12\x02\xd6\xd6\x39\x7b\x38\xbf\x67\x17\x2d\x3e\xb8\xb6\x0a\x2d\x4f\xf6\xd2\x18\x2f\x53\x44\x87\x9f\x5a\xf4\x14\xd6\x14\x16\x8b\xb3\x69\x66\x8b\x21\x86\x48\xaa\xc6\xcb\xc4\x4a\xba\xba\x0a\x37\xe7\xd8\xf5\x9b\xe9\x10\x32\x4a\xcf\x86\xb9\xe2\x61\xb2\x36\x5b\xa8\x51\x2a\xa2\xf1\x7d\xe3\xdf\xf5\xfb\xb9\x9e\x95\x3c\xb3\x4f\x7b\x2f\x29\xdd\x79\xf0\x37\x2c\xd4\xf0\x33\xa6\xae\x39\x77\xe5\xb9\xfd\xcf\x2d\x51\x66\x84\x85\xa8\xdc\x45\x12\x87\xa0\x3c\x65\xb6\xdd\xf2\x52\x74\x92\x94\x90\x25\x78\x9c\xb2\x89\x53\xb3\x60\x53\x65\xd4\xca\x07\xa4\x9e\x2b\xff\xae\x93\xc0\x3c\x4a\x4a\x8d\xdc\xc0\xf1\x9d\xae\x0e\x6b\xbb\xc7\x6e\x62\xdb\xe9\x5c\x64\x70\xaa\x67\xf1\xa5\x71\x35\x1b\x46\x5c\xe0\x10\xe7\xea\xce\x2d\xef\xe6\x48\xcc\x96\xfb\x69\x5a\x72\xf7\x8e\xe2\x35\x92\x4a\x47\x6f\x4d\x01\x39\xeb\x45\x6c\x6c\x12\xd0\x9d\xe2\x13\x9a\x8e\x91\xd9\x8d\x49\xba\xe6\x8e\x60\x9a\x25\x5c\x96\x7b\x25\x84\x52\x49\x24\x3c\xbe\xa8\x16\x2a\x49\x25\xb0\x94\xc6\xb5\xb0\x27\xcf\x7d\xbf\x13\x29\x7e\x2e\x89\x3c\x1b\x17\x44\xba\xfc\x28\xd0\xee\xde\x5d\x9c\xec\xc6\x18\x1b\xb7\x27\x7d\x39\x3e\xd3\x73\x76\x3a\x66\x6a\x94\x1e\xc4\x46\x21\xf6\x2e\x4c\x92\x86\x0d\xe7\xb8\x8d\x29\x78\x54\xa9\xd3\xc3\x0b\xc3\x33\x41\xd2\x67\x18\xfd\xbe\x38\xcc\x13\xf7\x31\x61\xce\x80\x0f\x3c\xef\x48\x88\x1e\x32\x4c\x06\xb3\x90\xb2\xc4\xf2\xb7\xa7\x00\x2a\xf3\x71\x9c\x44\x2e\x7b\x08\xa6\x6d\xce\xe6\xc1\xf4\xfb\x65\x5a\x19\x11\x35\xe2\x9f\x9c\x2b\x9b\xc6\xba\x80\xf2\xfe\x76\xb9\xe4\x7b\x98\x5c\x94\x05\xc7\x74\x9e\x7b\xc7\x3b\x9a\x9e\x19\xb8\x7c\x7a\xda\xb7\x09\xcf\xa3\x3f\x51\x48\x2d\x9a\x26\x76\x95\x6b\x6b\x35\x0a\xbe\xef\xe8\xc6\x01\x5c\x56\xd5\x50\x5e\x0f\xf5\x4a\x51\x97\x00\x3e\x6a\x4d\xf6\x7b\x92\x39\x9d\x9c\xb0\xa0\x4e\xdf\x58\xab\x47\xb4\xe8\x7d\x3a\x7e\x4e\x1a\x31\x4b\xb0\x8b\xb6\x6a\x8f\x26\xf5\x1c\x3e\x1d\x3c\x51\xb8\xe9\x0c\xc0\x43\xdb\x49\xce\x1c\x17\xf7\x17\x15\x69\xee\x59\x54\x7c\x08\xae\x45\x92\x9d\x88\xc5\xf9\x2a\xfd\xd6\x74\x1e\x3a\xe3\x85\x64\xe7\x09\x33\xf7\x7e\x24\xad\x92\x7d\xc7\xb5\xfe\x19\x0c\x55\xf9\xb1\x99\x8b\xf2\x7b\x15\x0d\x3d\x8e\xcd\xbf\x90\x05\x88\x8c\xac\x45\xf5\xf1\x20\x9c\xf4\xaf\x2b\x5b\x37\x22\xa8\x74\xcf\xe3\x50\xf8\x3c\xf4\x7c\x22\x18\xfb\xe8\xf9\xa1\x5d\x6b\x55\x15\x79\xf2\x99\x81\xf1\x14\x8c\x72\xa3\x71\x43\x39\xe5\xc9\xb7\xef\xde\x31\xcc\xfe\x16\x33\xfa\xdf\x1f\x7f\x3f\xd2\x23\xa2\x2c\xbf\x94\x44\x85\x79\x0a\xd1\x92\xb1\xe1\xde\xc7\x2b\xb8\x6e\x34\x1f\xd1\x67\x2a\x87\x61\x74\x25\x5a\x4e\x77\xd7\x98\x2f\xfd\xba\xd6\xb8\xbb\x3f\x21\x44\x74\x77\x24\x2f\xc8\x81\xbd\xd9\x6f\x3a\x5e\x32\xef\x32\xe3\xfc\xc4\x2d\xf3\xe9\x99\x43\xd1\xe0\x3e\x9e\x4c\xcf\xe5\xd2\x74\x29\xab\x42\x3e\xd9\x99\x60\x7c\x2a\x9b\xd2\xd1\xc6\x73\xf0\x17\x00\x69\x72\x64\x3b\xae\xe2\x0e\x27\x8a\x78\x41\xe0\xca\xfb\xb7\xc8\xad\xd2\x99\x06\x97\xd5\xfd\x1d\xf5\x84\xa8\xcc\xeb\xce\xaf\xe2\x04\xa6\x6b\x62\x14\x42\x1f\xc4\x31\x96\xfe\x8d\xa2\x1e\x4e\xa2\x0f\xca\x88\xc1\xd9\x0b\xe1\xfd\x55\x16\x59\xbe\xd3\xb4\x56\xde\xf3\xad\x41\xbc\xd2\x68\x7d\xb0\x75\x97\x5d\x88\x12\x52\x7e\x5b\x63\xcf\x1d\xa7\x64\x93\xc4\x9d\x70\x32\xb6\x59\x84\x69\x15\xe7\x1c\x23\x92\x39\x4d\x4b\xc6\x83\x38\x56\xf3\x11\x56\x12\x7f\xef\x49\x49\xfc\x9e\x86\x97\xf6\x0c\x23\x19\x4f\xeb\x9e\xc1\x49\x4e\x87\x0a\x7c\x9b\x5d\xdb\xd6\xe4\xfa\x1a\x67\x90\x7d\x64\x9e\xc3\x6f\x4e\xe9\x86\x5d\xb9\x65\x36\x3f\x98\xa4\x7b\xf5\x4f\x3c\x1d\x97\xbe\x30\xbb\x8d\xda\x7d\xca\x4e\xfe\xcc\xac\xe0\x59\x6a\xdf\xf5\xe4\x99\x6f\xd7\x58\x51\x26\xe7\x8a\x69\x66\x31\x97\x1d\x4a\x99\x8f\xfa\xde\xfe\xc6\x3f\x57\xcc\x64\x10\x6e\xae\x19\x3e\x24\xa7\x11\x46\x55\x8b\xa7\x7a\xdc\xdc\xae\xe6\x4a\x67\x36\x81\x98\xfe\x89\x12\x45\xcf\x9f\x6d\x50\x21\x25\xde\xc5\x39\xdf\x74\xe3\x90\xa9\xeb\xc2\xdf\x5f\x0b\x9e\xd3\xb3\x9e\x69\x12\x2e\x23\xe1\xa6\x16\xc1\x28\x7d\x05\xbf\xfd\x96\x1f\xbd\x49\x9d\x83\x92\x57\x37\x70\xb2\x8e\x3e\x17\xdf\x0a\x43\x56\x8d\xaa\xb1\x17\xbb\x73\x45\x0b\x96\x97\x2c\x64\x83\xc1\x45\x69\xd7\x8e\xd5\x22\x54\xbb\xdc\x84\x75\x77\xa6\x1d\x0e\x9e\x39\x94\x7b\xf9\xcc\x34\xa9\xc6\x3d\xce\x09\x49\x7a\x6c\x4c\xfa\x82\x61\xe8\xd9\x3d\xfe\x3b\x53\xd0\x98\xe0\xc8\x8d\x9c\x8e\xba\x27\xe7\x07\xa2\x9d\x57\x76\x62\x8f\x43\xdd\x63\x23\xc8\x7f\x35\x91\x5f\x3f\xed\x03\xff\x63\x13\x58\x18\x72\x9d\x97\xbb\x3b\x33\xa2\x3e\xc1\x0c\x28\xec\x1f\x9c\x8d\x17\xf9\xc3\x6c\xc2\xb2\x1b\x93\x95\x49\x64\x34\x28\x1c\x5c\xc9\x77\x69\x63\x94\x32\x84\x73\xe2\x98\x9b\xad\x65\xd9\x6c\x9d\xa1\x69\xe9\x6f\x5c\xd2\xb5\xf6\xf3\x60\xd6\x6b\x1c\x59\xf9\x04\x65\x99\x06\xe1\x04\x00\x7b\x00\x30\xd7\x5d\x68\x86\xc1\xef\x04\x41\x76\xfb\xc3\xec\x5f\x01\x00\x00\xff\xff\x4f\x6e\x20\xdf\xf3\x28\x00\x00" func nonfungibletokenCdcBytes() ([]byte, error) { return bindataRead( @@ -129,7 +129,7 @@ func nonfungibletokenCdc() (*asset, error) { } info := bindataFileInfo{name: "NonFungibleToken.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x45, 0x41, 0xe6, 0x8c, 0xc7, 0xc4, 0xf2, 0x8, 0x8f, 0x10, 0x73, 0xca, 0xee, 0x3, 0x22, 0x4b, 0xca, 0x4e, 0x9e, 0x38, 0xda, 0xd, 0x25, 0x77, 0xa5, 0xb8, 0x53, 0x62, 0x6a, 0x17, 0xf}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xaa, 0x66, 0x9c, 0xd3, 0xfd, 0x3c, 0xda, 0xeb, 0x15, 0xde, 0x88, 0xb8, 0x9e, 0x64, 0x59, 0x8c, 0xfe, 0xf8, 0x8d, 0xcf, 0xe8, 0xcb, 0xb5, 0x64, 0xa9, 0x4a, 0xaf, 0x3d, 0xd3, 0xa1, 0x2a, 0x42}} return a, nil } diff --git a/lib/go/test/metadata_test.go b/lib/go/test/metadata_test.go index 3b31da24..0c39e815 100644 --- a/lib/go/test/metadata_test.go +++ b/lib/go/test/metadata_test.go @@ -64,7 +64,7 @@ func TestSetupCollectionFromNFTReference(t *testing.T) { t.Run("Should be able to setup an account using the NFTCollectionData metadata view of a referenced NFT", func(t *testing.T) { const ( - pathName = "cadenceExampleNFTCollection" + pathName = "exampleNFTCollection" ) idsScript := templates.GenerateGetCollectionIDsScript(nftAddress, exampleNFTAddress) diff --git a/lib/go/test/nft_test.go b/lib/go/test/nft_test.go index 57cf264b..dbfb2124 100644 --- a/lib/go/test/nft_test.go +++ b/lib/go/test/nft_test.go @@ -100,7 +100,7 @@ func TestTransferNFT(t *testing.T) { joshAddress, _, joshSigner := newAccountWithAddress(b, accountKeys) const ( - pathName = "cadenceExampleNFTCollection" + pathName = "exampleNFTCollection" ) // Mint a single NFT with standard royalty cuts and metadata @@ -288,8 +288,8 @@ func TestTransferNFT(t *testing.T) { tx.AddArgument(mintedID) // add path identifier arguments - tx.AddArgument(cadence.String("cadenceExampleNFTCollection")) - tx.AddArgument(cadence.String("cadenceExampleNFTCollection")) + tx.AddArgument(cadence.String("exampleNFTCollection")) + tx.AddArgument(cadence.String("exampleNFTCollection")) signAndSubmit( t, b, tx, diff --git a/tests/nft_forwarding_tests.cdc b/tests/nft_forwarding_tests.cdc index 856ac8d4..6772b3b5 100644 --- a/tests/nft_forwarding_tests.cdc +++ b/tests/nft_forwarding_tests.cdc @@ -8,8 +8,8 @@ access(all) let admin = Test.getAccount(0x0000000000000007) access(all) let forwarder = Test.createAccount() access(all) let recipient = Test.createAccount() -access(all) let collectionStoragePath = /storage/cadenceExampleNFTCollection -access(all) let collectionPublicPath = /public/cadenceExampleNFTCollection +access(all) let collectionStoragePath = /storage/exampleNFTCollection +access(all) let collectionPublicPath = /public/exampleNFTCollection access(all) fun setup() { diff --git a/tests/test_example_nft.cdc b/tests/test_example_nft.cdc index 73563272..b3909306 100644 --- a/tests/test_example_nft.cdc +++ b/tests/test_example_nft.cdc @@ -89,7 +89,7 @@ fun testMintNFT() { "../scripts/get_collection_ids.cdc", [ recipient.address, - /public/cadenceExampleNFTCollection + /public/exampleNFTCollection ] ) Test.expect(scriptResult, Test.beSucceeded()) @@ -104,7 +104,7 @@ fun testTransferNFT() { "../scripts/get_collection_ids.cdc", [ recipient.address, - /public/cadenceExampleNFTCollection + /public/exampleNFTCollection ] ) Test.expect(scriptResult, Test.beSucceeded()) @@ -145,7 +145,7 @@ fun testTransferNFT() { "../scripts/get_collection_ids.cdc", [ admin.address, - /public/cadenceExampleNFTCollection + /public/exampleNFTCollection ] ) Test.expect(scriptResult, Test.beSucceeded()) @@ -158,8 +158,8 @@ fun testTransferNFT() { [ recipient.address, nftID, - "cadenceExampleNFTCollection", - "cadenceExampleNFTCollection" + "exampleNFTCollection", + "exampleNFTCollection" ], admin ) @@ -203,7 +203,7 @@ fun testBorrowNFT() { "../scripts/get_collection_ids.cdc", [ admin.address, - /public/cadenceExampleNFTCollection + /public/exampleNFTCollection ] ) Test.expect(scriptResult, Test.beSucceeded()) @@ -260,7 +260,7 @@ fun testGetContractStoragePath() { Test.expect(scriptResult, Test.beSucceeded()) let storagePath = scriptResult.returnValue! as! StoragePath - Test.assertEqual(/storage/cadenceExampleNFTCollection, storagePath) + Test.assertEqual(/storage/exampleNFTCollection, storagePath) } access(all) @@ -285,7 +285,7 @@ fun testGetNFTMetadata() { "../scripts/get_collection_ids.cdc", [ admin.address, - /public/cadenceExampleNFTCollection + /public/exampleNFTCollection ] ) Test.expect(scriptResult, Test.beSucceeded())