From ec4d5ff922125eba0a06587a5034513d6ba47599 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Thu, 6 Feb 2025 15:36:19 -0700 Subject: [PATCH 1/9] update .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5594599..50553f7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ .vscode node_modules coverage.json -*.pkey \ No newline at end of file +*.pkey +imports/ \ No newline at end of file From d291f566ba592bbeade51eb19f6605c5e9ff0c18 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Thu, 6 Feb 2025 15:41:49 -0700 Subject: [PATCH 2/9] update flow.json & contained dependency sources --- flow.json | 95 ++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 63 insertions(+), 32 deletions(-) diff --git a/flow.json b/flow.json index a9f52b4..a7c5824 100644 --- a/flow.json +++ b/flow.json @@ -1,34 +1,11 @@ { "contracts": { - "BasicNFT": { - "source": "./contracts/BasicNFT.cdc", - "aliases": { - "testing": "0000000000000007" - } - }, - "Burner": { - "source": "./contracts/utility/Burner.cdc", - "aliases": { - "emulator": "f8d6e0586b0a20c7", - "testing": "0000000000000001", - "testnet": "9a0766d93b6608b7" - } - }, "ExampleNFT": { "source": "./contracts/ExampleNFT.cdc", "aliases": { "testing": "0000000000000007" } }, - "FungibleToken": { - "source": "./contracts/utility/FungibleToken.cdc", - "aliases": { - "emulator": "ee82856bf20e2aa6", - "mainnet": "f233dcee88fe0abe", - "testing": "0000000000000002", - "testnet": "9a0766d93b6608b7" - } - }, "MaliciousNFT": { "source": "./contracts/MaliciousNFT.cdc", "aliases": { @@ -57,12 +34,6 @@ "testnet": "631e88ae7f1d7c20" } }, - "UniversalCollection": { - "source": "./contracts/UniversalCollection.cdc", - "aliases": { - "testing": "0000000000000007" - } - }, "ViewResolver": { "source": "./contracts/ViewResolver.cdc", "aliases": { @@ -72,6 +43,68 @@ } } }, + "dependencies": { + "Burner": { + "source": "mainnet://f233dcee88fe0abe.Burner", + "hash": "71af18e227984cd434a3ad00bb2f3618b76482842bae920ee55662c37c8bf331", + "aliases": { + "emulator": "f8d6e0586b0a20c7", + "mainnet": "f233dcee88fe0abe", + "testnet": "9a0766d93b6608b7" + } + }, + "EVM": { + "source": "mainnet://e467b9dd11fa00df.EVM", + "hash": "5c69921fa06088b477e2758e122636b39d3d3eb5316807c206c5680d9ac74c7e", + "aliases": { + "emulator": "f8d6e0586b0a20c7", + "mainnet": "e467b9dd11fa00df", + "testnet": "8c5303eaa26202d6" + } + }, + "FlowToken": { + "source": "mainnet://1654653399040a61.FlowToken", + "hash": "cefb25fd19d9fc80ce02896267eb6157a6b0df7b1935caa8641421fe34c0e67a", + "aliases": { + "emulator": "0ae53cb6e3f42a79", + "mainnet": "1654653399040a61", + "testnet": "7e60df042a9c0868" + } + }, + "FungibleToken": { + "source": "mainnet://f233dcee88fe0abe.FungibleToken", + "hash": "050328d01c6cde307fbe14960632666848d9b7ea4fef03ca8c0bbfb0f2884068", + "aliases": { + "emulator": "ee82856bf20e2aa6", + "mainnet": "f233dcee88fe0abe", + "testnet": "9a0766d93b6608b7" + } + }, + "FungibleTokenMetadataViews": { + "source": "mainnet://f233dcee88fe0abe.FungibleTokenMetadataViews", + "hash": "dff704a6e3da83997ed48bcd244aaa3eac0733156759a37c76a58ab08863016a", + "aliases": { + "emulator": "ee82856bf20e2aa6", + "mainnet": "f233dcee88fe0abe", + "testnet": "9a0766d93b6608b7" + } + }, + "MetadataViews": { + "source": "mainnet://1d7e57aa55817448.MetadataViews", + "hash": "10a239cc26e825077de6c8b424409ae173e78e8391df62750b6ba19ffd048f51", + "aliases": {} + }, + "NonFungibleToken": { + "source": "mainnet://1d7e57aa55817448.NonFungibleToken", + "hash": "b63f10e00d1a814492822652dac7c0574428a200e4c26cb3c832c4829e2778f0", + "aliases": {} + }, + "ViewResolver": { + "source": "mainnet://1d7e57aa55817448.ViewResolver", + "hash": "374a1994046bac9f6228b4843cb32393ef40554df9bd9907a702d098a2987bde", + "aliases": {} + } + }, "networks": { "emulator": "127.0.0.1:3569", "mainnet": "access.mainnet.nodes.onflow.org:9000", @@ -100,9 +133,7 @@ "FungibleToken", "MetadataViews", "ExampleNFT", - "NFTForwarding", - "UniversalCollection", - "BasicNFT" + "NFTForwarding" ] }, "mainnet": { From 3c02d167a0654acdd660c1acdd27d8dcc78c47b4 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Thu, 6 Feb 2025 16:18:53 -0700 Subject: [PATCH 3/9] add CrossVMMetadataViews to flow.json --- flow.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/flow.json b/flow.json index a7c5824..978c8af 100644 --- a/flow.json +++ b/flow.json @@ -1,5 +1,11 @@ { "contracts": { + "CrossVMMetadataViews": { + "source": "contracts/CrossVMMetadataViews.cdc", + "aliases": { + "emulator": "f8d6e0586b0a20c7" + } + }, "ExampleNFT": { "source": "./contracts/ExampleNFT.cdc", "aliases": { @@ -133,7 +139,8 @@ "FungibleToken", "MetadataViews", "ExampleNFT", - "NFTForwarding" + "NFTForwarding", + "CrossVMMetadataViews" ] }, "mainnet": { From d11f5e0de63bd95378a78c95bf39113068baa378 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Thu, 6 Feb 2025 16:45:59 -0700 Subject: [PATCH 4/9] update CrossVMMetadataViews & add to go lib --- contracts/CrossVMMetadataViews.cdc | 63 ++++++++++++++++++++++ lib/go/contracts/contracts.go | 47 +++++++++------- lib/go/contracts/contracts_test.go | 5 ++ lib/go/contracts/internal/assets/assets.go | 31 +++++++++-- 4 files changed, 124 insertions(+), 22 deletions(-) create mode 100644 contracts/CrossVMMetadataViews.cdc diff --git a/contracts/CrossVMMetadataViews.cdc b/contracts/CrossVMMetadataViews.cdc new file mode 100644 index 0000000..d82c2ef --- /dev/null +++ b/contracts/CrossVMMetadataViews.cdc @@ -0,0 +1,63 @@ +import "EVM" + +/// This contract implements views originally proposed in FLIP-318 supporting NFT collections +/// with project-defined implementations across both Cadence & EVM. +/// +access(all) contract CrossVMMetadataViews { + + /// An enum denoting a VM. For now, there are only two VMs on Flow, but this enum could be + /// expanded in the event other VMs are supported on the network. + /// + access(all) enum VM : UInt8 { + access(all) case Cadence + access(all) case EVM + } + + /// View resolved at contract & resource level pointing to the associated EVM implementation. + /// NOTE: This view alone is not sufficient to validate an association across Cadence & EVM! + /// Both the Cadence Type/contract *and* the EVM contract should point to each other, with the + /// EVM pointer being facilitated by ICrossVM.sol contract interface methods. For more + /// information and context, see FLIP-318: https://github.com/onflow/flips/issues/318 + /// + access(all) struct EVMPointer { + /// The associated Cadence Type + access(all) let cadenceType: Type + /// The defining Cadence contract address + access(all) let cadenceContractAddress: Address + /// The associated EVM contract address + access(all) let evmContractAddress: EVM.EVMAddress + /// Whether the asset is Cadence- or EVM-native. Native here meaning the VM in which the + /// asset is distributed. + access(all) let nativeVM: VM + + init( + cadenceType: Type, + cadenceContractAddress: Address, + evmContractAddress: EVM.EVMAddress, + nativeVM: VM + ) { + self.cadenceType = cadenceType + self.cadenceContractAddress = cadenceContractAddress + self.evmContractAddress = evmContractAddress + self.nativeVM = nativeVM + } + } + + /// View resolved at resource level denoting any metadata to be passed to the associated EVM + /// contract at the time of / bridging. This optional view would allow EVM side metadata to be + /// updated based on current Cadence state. If the / view is not supported, no bytes will be + /// passed into EVM when bridging. + /// + access(all) struct EVMBytesMetadata { + /// Returns the bytes to be passed to the EVM contract on `fulfillToEVM` call, allowing the + /// EVM contract to update / the metadata associated with the NFT. The corresponding Solidity + /// `bytes` type allows the implementer greater / flexibility by enabling them to pass + /// arbitrary data between VMs. + access(all) let bytes: EVM.EVMBytes? + + init(bytes: EVM.EVMBytes?) { + self.bytes = bytes + } + } + +} diff --git a/lib/go/contracts/contracts.go b/lib/go/contracts/contracts.go index a16511d..38d1683 100644 --- a/lib/go/contracts/contracts.go +++ b/lib/go/contracts/contracts.go @@ -14,27 +14,30 @@ import ( ) var ( - placeholderNonFungibleToken = regexp.MustCompile(`"NonFungibleToken"`) - nonFungibleTokenImport = "NonFungibleToken from " - placeholderMetadataViews = regexp.MustCompile(`"MetadataViews"`) - metadataViewsImport = "MetadataViews from " - placeholderFungibleToken = regexp.MustCompile(`"FungibleToken"`) - fungibleTokenImport = "FungibleToken from " - placeholderResolver = regexp.MustCompile(`"ViewResolver"`) - viewResolverImport = "ViewResolver from " - placeholderUniversalCollection = regexp.MustCompile(`"UniversalCollection"`) - universalCollectionImport = "UniversalCollection from " + placeholderNonFungibleToken = regexp.MustCompile(`"NonFungibleToken"`) + nonFungibleTokenImport = "NonFungibleToken from " + placeholderMetadataViews = regexp.MustCompile(`"MetadataViews"`) + metadataViewsImport = "MetadataViews from " + placeholderFungibleToken = regexp.MustCompile(`"FungibleToken"`) + fungibleTokenImport = "FungibleToken from " + placeholderResolver = regexp.MustCompile(`"ViewResolver"`) + viewResolverImport = "ViewResolver from " + placeholderUniversalCollection = regexp.MustCompile(`"UniversalCollection"`) + universalCollectionImport = "UniversalCollection from " + placeholderCrossVMMetadataViews = regexp.MustCompile(`"CrossVMMetadataViews"`) + crossVMMetadataViewsImport = "CrossVMMetadataViews from " ) const ( - filenameNonFungibleToken = "NonFungibleToken.cdc" - filenameExampleNFT = "ExampleNFT.cdc" - filenameMetadataViews = "MetadataViews.cdc" - filenameNFTMetadataViews = "NFTMetadataViews.cdc" - filenameViewResolver = "ViewResolver.cdc" - filenameUniversalCollection = "UniversalCollection.cdc" - filenameBasicNFT = "BasicNFT.cdc" - filenameFungibleToken = "utility/FungibleToken.cdc" + filenameNonFungibleToken = "NonFungibleToken.cdc" + filenameExampleNFT = "ExampleNFT.cdc" + filenameMetadataViews = "MetadataViews.cdc" + filenameCrossVMMetadataViews = "CrossVMMetadataViews.cdc" + filenameNFTMetadataViews = "NFTMetadataViews.cdc" + filenameViewResolver = "ViewResolver.cdc" + filenameUniversalCollection = "UniversalCollection.cdc" + filenameBasicNFT = "BasicNFT.cdc" + filenameFungibleToken = "utility/FungibleToken.cdc" ) func withHexPrefix(address string) string { @@ -84,6 +87,14 @@ func ViewResolver() []byte { return []byte(code) } +func CrossVMMetadataViews(evmAddress string) []byte { + code := assets.MustAssetString(filenameCrossVMMetadataViews) + + code = placeholderFungibleToken.ReplaceAllString(code, fungibleTokenImport+withHexPrefix(evmAddress)) + + return []byte(code) +} + func UniversalCollection(nftAddress, resolverAddress, metadataAddress flow.Address) []byte { code := assets.MustAssetString(filenameUniversalCollection) code = placeholderMetadataViews.ReplaceAllString(code, metadataViewsImport+withHexPrefix(metadataAddress.String())) diff --git a/lib/go/contracts/contracts_test.go b/lib/go/contracts/contracts_test.go index 5889d8f..08b4731 100644 --- a/lib/go/contracts/contracts_test.go +++ b/lib/go/contracts/contracts_test.go @@ -35,3 +35,8 @@ func TestMetadataViewsContract(t *testing.T) { contract := contracts.MetadataViews(addrA, addrA, addrA) assert.NotNil(t, contract) } + +func TestCrossVMMetadataViewsContract(t *testing.T) { + contract := contracts.CrossVMMetadataViews(addrA) + assert.NotNil(t, contract) +} diff --git a/lib/go/contracts/internal/assets/assets.go b/lib/go/contracts/internal/assets/assets.go index 2620320..0fd07ca 100644 --- a/lib/go/contracts/internal/assets/assets.go +++ b/lib/go/contracts/internal/assets/assets.go @@ -1,5 +1,6 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: +// CrossVMMetadataViews.cdc (2.73kB) // ExampleNFT.cdc (16.847kB) // MetadataViews.cdc (29.808kB) // NonFungibleToken.cdc (13.763kB) @@ -73,6 +74,26 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } +var _crossvmmetadataviewsCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x56\x4b\x6f\xdb\x46\x10\xbe\xeb\x57\x4c\x73\x08\x92\x40\x16\x11\xe4\x12\x08\x30\x8a\xc4\x90\x01\x03\xa5\x1b\xb4\x2e\x7b\xf5\x72\x39\x14\xb7\x5d\xee\x10\xbb\x43\xd1\x42\xe0\xff\x5e\xcc\xf2\x21\x51\x0f\xb8\xba\x10\xe2\xce\xe3\x9b\x6f\x66\xbe\xa5\xa9\x1b\xf2\x0c\xef\x36\x59\xfa\x6e\xb1\x48\x92\x04\x9e\x2a\x13\x40\x93\x63\xaf\x34\x83\xa9\x1b\x8b\x35\x3a\x0e\xb0\x33\xd8\x05\x20\x6f\xb6\xc6\x29\x6b\xf7\xd0\x78\x6a\x28\x60\x01\xc6\xc1\xfd\x6f\x0f\x3f\x6e\xbe\x7c\xfe\x0a\xa1\x6d\x24\xa2\x71\x5b\x78\xbc\x7f\x02\x4d\xd6\xa2\x66\x43\x2e\xc4\xe8\x9d\xe1\x4a\x1c\xff\x41\xcd\x37\x05\x96\xc6\x89\xff\x98\x44\x45\x43\x50\xda\x53\x08\x90\x13\x57\x70\xa7\x0a\x74\x1a\xe1\x3d\x6c\xb2\x74\x25\x31\x16\x4a\x6b\x0c\xe1\x83\xb2\xf6\xe3\x01\xe8\x9d\xb8\x64\x69\x8a\xac\x0a\xc5\x2a\x8b\x60\x7f\x2e\x16\x00\x00\x92\xf8\x9b\x03\x74\x6d\x0d\x05\x3a\x8a\xe8\x14\x64\xe9\x0a\xee\xc9\x83\xa3\x6e\x09\x5c\xa1\x47\x50\x1e\x81\x9c\xdd\x03\x77\x04\x59\x1a\x80\x1c\xdc\x5b\x39\xcf\x5b\x06\x16\x6a\x62\x14\x4d\xad\x2d\x20\xc7\x29\x3c\xbe\x34\xca\x15\x3d\x17\x5c\x21\xe0\x0e\x1d\x03\x49\xd4\x18\x47\x02\x0f\xd4\x60\x21\x51\xc5\xc8\x21\x77\xe4\xff\x5d\x8d\x51\xe2\xf3\xb8\xba\x98\x2b\x4b\x61\x0d\x7f\x3d\x38\xfe\x0a\x3f\xa3\xc5\xa9\x95\x56\x01\x47\x9e\xae\x1b\x6c\xb2\x34\x1e\xbe\x1e\x38\x11\x92\xc0\x63\x20\xbb\xc3\x02\x14\x1f\xd8\x7c\x1f\x5f\xb7\x5e\x23\x58\xdc\xa1\x85\x86\x8c\x8b\xb4\x31\x45\xe8\x2a\x04\xd2\x46\x49\x31\x9b\x2c\x3d\xe9\xe0\x54\x10\x3c\xfe\xfe\xb4\x59\xf7\x23\x25\xe3\x03\xca\x92\x43\x30\x01\x1c\x31\x84\xb6\x2c\x8d\x36\x42\x14\x13\xec\x94\x35\x85\x62\x04\xe5\xa6\xe8\x86\xdc\x38\x0c\xb3\x39\xf8\x65\x4a\xf0\x5d\x66\x44\x00\x8d\xe7\x4f\xfb\x06\x93\xa9\x8e\x4f\xca\x15\x9f\xe2\xb9\xa0\x9c\x5e\x87\x2a\xf6\x2f\x16\x25\xb9\x51\xe9\xaa\x6f\xd6\xb2\x9f\x50\xae\x0e\xad\x15\xcf\x68\x89\x1e\x72\x14\x0e\x4a\xa5\x8d\x35\x1c\xab\xcf\xf7\xf0\x30\xcc\xde\x2a\x90\x3d\xda\x1c\x71\x28\x95\x46\xa8\x91\x2b\x2a\x42\x3f\x6c\x35\xf9\x43\x68\xe3\x4a\xf2\xf5\x50\xa7\x2b\xa2\x33\xbe\xf0\x12\x02\xe2\xb4\x52\x6b\xa8\x98\x9b\xb0\x4e\x92\xad\xe1\xaa\xcd\x57\x9a\xea\x84\x5c\x69\xa9\x4b\x4a\x6b\x9a\x90\x98\x10\x5a\x0c\xc9\x97\xcf\x5f\xaf\x4e\x52\x60\xdf\x6a\x96\x5a\x7e\x0c\xa5\x1c\x66\xa9\xdf\xfa\x59\x4f\x8f\xd9\xbc\x38\x52\x16\x19\x74\x6f\x24\x36\xeb\xb9\xe5\x18\x31\x2e\xb8\x30\x36\xc6\x9b\xd8\x51\x45\xe1\x31\x84\xb7\x62\xdf\x0d\xf6\xdf\x7a\xf3\x35\x7c\x3b\xf1\xbb\x80\x7d\xd6\xe9\xb7\xf2\xe0\xae\x3e\xcb\x21\x42\xb3\xc9\xd2\x4b\xa9\xfe\xae\x30\xae\xf4\xb0\x02\xc8\x32\xcb\x43\x71\x37\x40\x5e\x7c\x6f\x9c\x62\xb3\xc3\x15\x3c\xc6\x27\x44\x61\xa9\x51\x45\x22\xc4\x51\xf6\xc5\x41\x57\x19\x7d\x18\xb4\x31\xc1\x14\xb4\x30\x81\xbd\xc9\x5b\xc6\x62\x75\x15\x7d\x9f\x29\x4b\xd7\x90\xa5\x8b\xc9\xca\x38\xc3\x1f\xa6\x7f\xf2\x3b\xeb\xd4\xf2\xd2\xf1\x35\xb2\xe7\xc6\x6f\x33\x36\xb7\x9f\x61\x1c\x5f\x7e\x3c\x1a\x3f\xf9\x05\xb4\xe5\xea\x08\x25\xdc\x1e\x63\xbe\x6a\x7a\x02\xe4\xe0\x75\x72\x70\x1e\xe0\xbc\x0a\xb8\xbd\x50\xda\xb9\xe3\x58\x0e\xdc\x4e\x95\x4d\x46\xaf\x6f\x0a\xec\x89\xaa\x1e\x2e\x23\xb7\x17\x99\x88\x57\x97\x08\x52\x8e\xd0\xc8\x28\x14\x97\xf5\x76\x4a\x70\x98\x73\x8e\x66\x6c\x6a\x04\x2a\x21\x81\xdc\x9b\x62\x6b\xdc\x76\xd5\xab\x2f\x35\x22\x32\xca\xf6\x32\xdc\x45\xf9\x53\xd6\x52\x17\xd7\x25\x98\x02\x4f\xf2\x4f\x29\xda\xa6\xe8\x85\x4e\x85\xfe\xe6\xd2\xad\xf7\xa2\xd9\xe3\x4e\x07\x11\xc2\x15\x3c\x94\x11\x41\xd2\x67\x98\x24\x7e\xb8\xf2\x96\xe0\x08\xf2\x3d\x63\x80\xce\x58\x7b\x9c\x60\x28\xd4\x38\xa6\x08\xa6\xab\xd0\x1d\xe0\xff\x0f\x45\xfb\x2e\x61\xc7\x8b\xff\x44\xd7\xfe\x40\x6e\xbd\x0b\x11\x5a\x9f\xfe\x12\xbb\x33\xc9\x20\x07\xcf\x65\x6b\x4b\x63\xed\x13\x6d\xb2\xf4\x19\xb4\xb2\x76\xd9\xd3\x35\xec\xf0\x2c\xc7\xcc\x9b\x69\x60\x0c\x92\x18\x7a\x62\xf5\xa8\x83\xe3\x15\x23\x5f\x48\xab\x28\x5f\x9a\xbc\xc7\xd0\x90\x2b\x24\xc1\x9f\x64\x4d\x61\x78\x3f\xcb\xf2\x1c\xe1\x3f\x03\xcb\x7a\x44\x2c\x7d\x55\xd3\xd5\x8b\x1e\xb6\x1e\x95\x3c\x13\x28\x2d\xbe\x98\x5c\x6e\xa9\xbd\x5c\x51\xe8\x54\x6e\x07\xec\xb5\x60\x94\xfa\xe7\xc2\xe3\x73\xc3\x5e\xf9\x3d\x44\xb4\x39\x72\x87\xe8\xe4\xdb\xe5\xba\xfc\x44\x44\xd3\xf6\xc7\x36\xfc\x7a\x22\x43\x97\x4c\x2e\x2e\x7f\xdf\x9c\xdb\x3e\xe6\xf9\x46\xbd\x2e\xfe\x0b\x00\x00\xff\xff\x08\x6c\x5d\x2e\xaa\x0a\x00\x00" + +func crossvmmetadataviewsCdcBytes() ([]byte, error) { + return bindataRead( + _crossvmmetadataviewsCdc, + "CrossVMMetadataViews.cdc", + ) +} + +func crossvmmetadataviewsCdc() (*asset, error) { + bytes, err := crossvmmetadataviewsCdcBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "CrossVMMetadataViews.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc6, 0x44, 0x9a, 0x4f, 0x6e, 0x3, 0xaa, 0x4, 0x47, 0x15, 0x54, 0x86, 0xdc, 0x89, 0xbb, 0x79, 0x8, 0x3b, 0x53, 0x6b, 0xd7, 0x78, 0xa, 0xa5, 0x4f, 0x3d, 0x55, 0xcc, 0x15, 0xf8, 0x1e, 0x6e}} + return a, nil +} + var _examplenftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x3b\x6b\x73\x1b\x37\x92\xdf\xf5\x2b\x3a\xfc\x90\x23\x73\x34\x65\xe7\xb5\xbb\x2c\x33\x4e\x22\x59\x39\x5e\xd9\x5a\x97\x44\x3b\x57\xe5\x52\x79\xc1\x99\xa6\x88\x68\x06\x60\x00\x8c\x68\x96\x4b\xff\xfd\xaa\x1b\xf3\xc0\xbc\x48\xca\xbe\x5c\xdd\xf1\x83\x44\xce\xa0\x1b\xdd\x8d\x46\xa3\x5f\x38\xfd\xe6\xe4\x9b\x93\x6f\x00\x16\x6b\x69\x41\x5a\x10\x0a\xf0\xa3\x48\x37\x09\x82\xa4\xbf\x29\x2a\x27\x9c\xd4\x0a\xf4\x0a\x04\x5c\x24\x7a\x0b\x97\x5a\x3d\xb9\xc8\xd4\xad\x5c\x26\x08\x0b\x7d\x87\x8a\x30\x64\x56\xaa\x5b\x70\x6b\x84\x77\xdf\x82\x75\x42\xc5\xc2\xc4\x13\x7a\x33\x77\x84\x59\x69\x07\x1b\x61\x1c\x21\xa2\x51\x7a\xb5\x92\x91\x14\x49\x39\x16\x96\x99\x03\xe9\x40\x58\x9b\xa5\x18\x83\xd3\xb0\x44\x82\xb7\x32\x95\x89\x30\xf4\x60\xad\xb7\x90\x0a\xb5\x83\xcb\x8b\x85\x85\xad\xce\x92\xb8\xa2\x93\xd1\x46\xda\x20\xac\x32\x15\x11\xd1\x22\x91\x6e\x37\x09\x38\x8c\xb4\x72\x46\x44\x0e\x62\x8d\x9e\xa4\x0a\x9a\xd0\x5a\xbd\x59\x4b\xeb\x64\x24\x1c\xc6\x10\x25\xc2\x5a\xb9\xa2\x5f\x52\x33\x93\x76\x67\x1d\xa6\xb0\xd2\x06\xa4\xb3\x4c\xc5\x84\xf8\x8b\x71\x25\x15\x5a\x10\x44\x2c\x09\xef\xf2\x62\x01\x5b\xe9\xd6\x90\x4a\x25\x53\x91\x40\x8a\x4e\xc4\xc2\x09\xa6\xe6\xf4\xe4\x44\xa6\x1b\x6d\x1c\x0c\x2e\xb5\x2a\x64\xc9\xa2\x1c\x94\x6f\xde\x49\xdc\x5e\xa1\xd5\xc9\x3d\x9a\xea\xe9\xeb\x1c\x0f\xbd\xb5\x83\x93\x13\x11\x45\x68\xed\x50\x24\xc9\xa8\xe2\xee\xa5\x5f\xc2\xcb\x8b\xc5\x14\x9a\x13\xc0\xa7\x93\x13\x00\x80\xd3\xd3\x53\xb8\x2e\x44\xff\x46\xb8\xb5\xe5\xc7\x21\xbe\x04\x1d\x9c\xe9\x24\x41\x16\xe6\xb5\xd3\x46\xdc\x22\x0d\x9d\x42\xf0\xe3\x00\xd8\x9b\x6c\x99\xc8\xc8\x43\x55\xdf\x2b\x1a\xe8\x17\x6c\xd7\x68\x90\xd7\x2f\x95\xca\xa1\x01\xbb\xe6\xb5\x5d\x22\x58\xa7\x0d\xc6\xe5\xf0\xc5\x1a\x2b\x8d\xd9\x10\xd9\xbc\x1a\x7e\xe9\x8b\x39\x41\x98\x02\x10\xa4\x6a\xbe\x34\x68\x75\x66\x22\x04\xb7\xdb\x60\x27\xf5\xaf\x99\x88\x5e\x86\x4b\x62\x7e\x47\x88\xd6\x5a\x5b\x4f\xba\x12\xa9\x5f\x78\x62\x66\xcc\xea\xec\x48\xe9\x68\x1a\x88\x84\x82\xb5\xb8\x47\x56\x33\x1e\xa9\xf4\xb6\x44\xb4\xc4\x48\x64\x39\x1a\x9e\x7b\x25\x22\xac\x94\xd4\xe0\x9f\x99\x34\x48\xbb\x83\x36\x01\xa3\x01\xbb\xc1\x88\x94\xd3\x63\x23\xb4\xa9\x36\x6d\x7e\x4a\x6e\x3b\xb5\x61\x42\xf4\xe6\x1a\xd1\x25\x09\x19\x4f\xe1\xed\x5c\xb9\x1f\xbf\xaf\xc6\x10\xc1\x17\x46\xa7\x4c\xed\xb9\xb4\x9b\x44\xec\x4a\xfd\x86\x7b\x89\xdb\x5e\x74\x44\x2a\xc9\xd2\x48\x75\xdb\x3b\x28\x46\x1b\x19\xb9\xa1\xb5\x3a\x38\xd6\xad\xb3\x74\xa9\x84\x4c\xca\x91\x75\x32\x73\xd5\xb8\xd2\x3b\x91\x38\x89\x76\x3f\x9d\x16\x93\x95\xc7\x6b\x0a\x80\x29\xbc\xaf\x6d\xb9\x89\x47\xb5\xbb\xa9\x4f\xf4\x1b\x2a\x34\x32\x82\x58\x7a\xc3\x63\x76\x6c\xe7\x8c\x20\x33\x41\x14\xb0\x5e\x08\xdb\x3f\x63\x41\xd8\x14\x3e\x79\x4e\xa6\xf0\x8b\xda\x5d\x3b\x93\x45\xee\xa1\x9a\x4c\x2a\xe9\x86\xe5\x2f\xfa\x84\x32\x1d\xd7\xde\x74\x08\xb2\x3e\xa0\x25\xbd\xfa\xeb\xc3\x42\xa8\x8f\xdf\xcb\x42\x35\x74\x04\x9f\x6a\x60\x24\x83\x89\x8c\x61\xe6\xbf\x65\x99\x8c\xdb\xef\x59\xc9\x67\xcc\x6c\xfb\x65\xc0\x28\xcc\x42\xb6\xdb\x43\x4b\x96\x61\x56\xb1\xdf\x1e\x56\xb2\x0e\xb3\x4a\x0c\xed\x61\xa5\x36\xcd\x4a\xe6\xcb\x41\x0f\x75\x0d\x89\x0c\x0a\x87\x2f\xd3\x8d\xdb\x55\xc6\x31\x7f\xea\xcf\x5d\x7a\x15\x18\xce\x1a\xb4\x50\x31\x18\x74\x99\x51\x36\xb7\x02\x6c\xd4\x44\x92\x90\xb1\xa4\x5f\x82\xcf\xbf\x1d\x1b\x1a\xbd\x55\x7c\x36\xd5\x50\xfc\xfc\xa9\xb5\xf9\xab\xc9\x1e\x3a\x77\xd8\x2a\x53\xdd\x74\x0f\x47\xd3\x03\xf8\x1a\x6b\xec\x69\x87\xe7\x4f\xaa\xa3\x69\xd2\x8d\x59\xad\xdc\x62\xb7\xc1\x29\xd0\xdf\xe7\x3f\x07\xe3\x2f\x2f\x16\x3f\x0d\x47\xa3\x2e\x01\x87\x44\xd3\xc6\x66\xca\x6f\xd1\xb1\xb6\x12\xb1\xef\x09\xdb\x4d\x37\x51\xef\x6b\x0f\xe9\xc3\x53\xd7\x35\x3e\xb7\x73\x3f\x0d\x47\xe3\x63\x86\x97\x06\xe7\x58\x80\x97\xb1\x24\xf6\x8f\x1f\xff\xd1\xa1\x51\x22\x79\x7b\xf5\xea\x58\x90\xcb\x8b\x45\x25\xe7\x73\xe1\xc4\xe7\x01\x3e\x4e\x10\xd7\x68\xa4\x48\x8e\x1d\xbd\x60\x83\x79\xb4\x0c\xde\xbd\xfe\xd5\xc8\xf8\x16\xe3\xe2\xf9\x4f\xc3\x51\x0d\xf0\xe6\x90\xb2\x90\x9e\x18\xef\x64\x11\xce\xe1\x07\x56\x1f\xaf\x7c\xa3\xc0\x7c\xbd\x68\xda\xac\xad\x74\xd1\xda\xeb\xda\xa7\x16\xad\x91\xb0\xb8\x5f\x89\xa6\x2d\x18\xa8\x14\xb2\x13\x68\xd8\x09\x01\xe5\x01\x50\x5a\xc9\xb6\xe8\x8a\x4f\xed\x3c\x68\x1a\xce\x7e\xb0\xe0\x94\xa8\x53\xf6\x1f\x8b\xc5\x9b\x0b\x99\x60\x3f\x69\xf4\xc9\x4c\x32\x6d\xd8\xde\xde\xf1\xa3\xce\x37\xed\xa7\x7d\x02\x0e\x76\x51\xb7\x84\xbd\x07\x49\xae\x14\x79\x56\x90\x8a\x8f\xa0\xb2\x74\x89\x86\x8e\x6b\x0e\x2a\xd8\x92\x92\x11\x5d\xe6\xce\x68\x0c\x2b\xef\xec\x04\xf1\x43\x1f\x6e\xeb\xed\x32\xa1\x45\x4f\x0a\xac\x24\x26\x31\xdc\x8b\x24\xe3\x49\x2d\xb2\xf5\x56\x3d\x42\x20\x4f\x20\x87\x9c\xab\x95\x86\x19\x74\x32\x38\xf4\x6b\x3e\xc8\xad\x23\x7b\x17\xf9\xab\xc1\x38\xe7\x68\x5a\x1c\xac\x63\xa2\x67\x4a\x53\x76\x8b\x37\x98\xf3\x95\xb4\xae\x75\xd8\xe7\x88\x6f\x60\x06\xef\x03\xda\x6e\x8e\x57\xe1\x62\x59\xfa\x15\x25\x98\xff\x0b\x55\xa0\x34\x38\x8f\xd8\x62\x1e\xa6\x9f\xba\x5c\x90\x5f\x48\x59\x78\x26\x3c\x82\xb8\x12\xec\x00\x7d\xdd\x6e\xca\xe3\xc9\xac\x9f\x2c\x8f\x20\x34\x00\x1c\x0e\xd6\xce\x6d\xec\xf4\xf4\x34\xcf\x26\x3c\x51\x2b\x37\xd1\x6a\x95\xe8\xed\x44\x9b\xdb\xd3\xc1\x24\xd2\x2a\x12\x6e\x98\x8b\x76\xe2\xb4\x77\x19\x87\xa3\xd1\xf1\xa4\x76\x9d\x68\x7b\x09\x0e\xbc\x89\xdc\xea\x9f\xe5\x3b\x9a\xad\x7f\x11\x2b\xed\x75\x40\xc6\x6c\xf5\x83\x21\x87\x69\xfa\x5c\x8e\x8e\x3b\x2e\xfe\xd7\x99\x2a\xc9\x3a\x9e\xaf\xf2\x60\xef\x35\xcb\xf8\x31\x4a\xb2\xb8\xb0\xb9\x0b\xc9\x31\x6d\x0c\x2b\xad\xc9\x5e\xda\xb5\xde\x82\x76\x6b\x34\x90\x59\xb4\x64\xad\x3d\xca\x7e\x8b\xe6\xf1\xc5\x7e\x18\xd9\xae\x41\x85\x7a\x30\x86\xc1\x4a\xeb\x41\xb7\x0d\xe3\xc0\x92\xc1\x88\xf8\x96\x0d\xa6\x18\x6f\xa1\x3d\xde\x21\xfd\x98\xd6\x83\x81\x71\x39\xf7\xa5\x48\x29\x78\xaa\x93\x32\x3a\xe9\x13\x41\xc0\xba\xb4\x20\x20\x53\xf2\x23\x38\x99\xa2\x75\x22\xdd\x8c\x61\x8b\x45\x5e\x24\x15\xe6\x8e\xe2\x00\x4e\x31\x09\x88\xfd\x8a\x90\xdc\xe9\x08\xda\x24\xc2\xad\xb4\x49\x2d\xdc\x29\xbd\xe5\xa4\x59\x21\x42\xe9\x26\xbd\x2c\x57\xd3\x33\xa1\x2d\xbe\xf9\x69\x71\xf2\xd4\x64\xc9\xa7\x5b\x43\x0a\x35\x71\xdf\x7c\x35\x0e\x89\x9c\xc2\xe0\x5c\x38\x82\x34\xc2\x48\xb7\xdb\x73\x38\x55\xeb\x30\x11\xb1\x97\xe0\xb0\x41\x68\xbf\x40\x49\x79\x58\x92\x8c\xc5\x4b\x8b\x94\x81\xe2\x23\x3f\x73\xaf\x30\x56\xda\xaf\xf0\x15\x0f\x6b\xc9\xc2\x3f\x1e\xda\x48\x1b\x9c\xc2\xb3\xa7\x93\xa7\xf9\x29\xfb\xec\x29\x7f\xaf\xb9\x5a\x83\x33\x9d\xa6\x5a\x0d\xfa\x8f\xdf\x62\xb6\xfd\x32\x27\x8d\xed\x13\x36\x6b\x73\x43\xc8\x4a\x26\x95\x84\xeb\x0c\x1d\x2f\xec\x02\xae\x47\xca\xb9\x0d\xaa\x20\x8f\x3f\x67\xba\xbc\xf7\x5e\xf3\x30\x2f\xf2\xb4\x3e\xcb\x2c\xad\xf7\xbd\x6f\xe5\x3d\xfa\x04\xcb\xc6\xe8\x3f\x30\x72\xde\x45\xd3\x09\xe8\x7b\x34\x5e\xf5\xd7\x08\x4b\x3f\x11\xfb\x49\xd2\x82\xc1\x8d\x41\x8b\xec\xdc\x09\x0a\xbe\xfb\x66\x7d\x79\x75\xf6\xb7\x6f\x9f\xc1\x76\x8d\xaa\xc4\xe1\x34\xbc\x7c\xf7\x1a\xb4\xf2\xd9\xf0\x7b\x29\xfc\xfc\x9c\xdb\x04\xa9\x56\x46\x58\x8e\x19\x32\x53\x4c\x3c\xe9\xd5\xd0\xdf\xb0\x48\x5b\x7b\x8b\xfd\x24\xc1\x7b\x4c\x8a\x94\x5e\x0c\x76\x97\x2e\x75\xe2\xd7\xbc\xdf\xd6\x15\xd0\xaf\x18\x78\x76\xe8\x44\xd8\xeb\xae\xd7\x8f\x0b\x52\xa1\xbd\xc3\xf7\x1e\x1b\x87\x03\xb4\xf0\x33\x02\x61\xbf\x6a\xfa\x14\x2d\x0c\x2f\xba\x65\x29\x57\x35\x49\xbc\xae\x12\x33\x75\xe1\xb4\x83\xb5\x60\x35\xce\x74\xba\x29\xb2\xb9\x4e\xdf\xa1\xca\x97\xe3\xed\xd5\x1c\x96\xc2\x62\x4c\xab\x2e\xf8\x2b\x3f\xa3\x15\x2a\xc7\xc2\xfc\x7c\x0c\x1b\x2d\x73\x15\xd5\x20\xe0\x3f\xaf\xff\x79\x09\x2b\x99\xe0\x84\xcb\x0f\xfb\xa6\xde\x16\xf9\x6e\xc1\x00\xb0\xd3\xd9\xbf\xdd\x23\x64\x9b\x44\x8b\x98\xd4\x54\xc5\x9c\xd5\x5e\x6b\xcb\xf8\xad\x4e\xd1\x67\xcd\x9f\xf8\x14\x37\x45\x27\x44\x17\x05\x65\x41\xf2\x39\xca\xf1\xee\x9b\x7b\xfe\xe6\xe2\x7a\x0c\xd7\xdf\x8d\xe9\x28\x21\xa1\xbd\xbd\x7a\xc5\x62\x13\x52\x15\x45\x1d\x66\x25\x96\x06\x23\x97\xec\xc6\x80\x2e\xea\x3e\x48\x20\x57\x49\x92\x11\x89\x68\x06\x87\x5c\x41\x2f\xe8\xc2\x92\x9d\x0e\xf6\xa2\xcd\x8c\x7c\xc7\xa1\xd4\x0c\xda\x9e\x63\xe1\x53\x0e\x26\x7f\x58\x36\xb7\xbd\xa8\xba\xfd\xd7\x96\xae\xed\xdf\x29\xde\x2a\x37\x35\xee\x40\x0c\x4e\x1f\xbf\xa9\x3b\x40\xfd\x8b\xfd\xc0\x99\x91\xcd\x38\xfc\xed\xd5\x7c\x3f\xa5\xf4\xc9\x17\x64\x5a\x7c\x19\xd3\xca\x73\xdd\x8a\x96\xb8\x58\x2e\x83\x36\x4b\x9c\x25\x95\x12\xe0\xc5\x89\xaa\x2c\x00\x16\xa3\x48\x19\xd9\x24\x1d\x9c\x35\x3c\xac\xf6\xaf\xd5\x3e\x2c\x7b\x6c\x46\xe7\x9b\x07\xc0\xc4\xe2\x9e\xbd\x9e\xaf\x7f\x5f\x14\xfe\x70\xd2\xff\xab\x03\xd4\x0f\x78\x28\xea\x42\x70\x4e\xc7\x0b\x97\x10\xa7\xf0\x4f\x95\xec\xb8\x20\xc4\x65\xaa\xa5\x88\xee\xb6\xc2\xc4\x10\xe9\x74\x23\x9c\x5c\x4a\x5f\xa1\x84\xbe\xa2\x4d\x55\x0c\xaa\x6c\x7a\xb3\xb6\x06\x9f\xf2\xa9\x3b\x31\x54\xa3\x3b\xaa\x3f\xd5\xcb\xf1\xde\x09\x6a\x89\xe4\x7a\x8d\x83\x8e\xd4\x48\x2b\xf2\x37\xbd\xdd\xbb\x43\x55\x4f\x3c\xe7\x87\xae\xa8\x17\xde\x72\xdf\x55\xc1\xbf\x7c\x7d\xe9\x5f\x30\x3f\xf7\xc9\x92\xee\xac\xae\x30\xe4\xb6\x61\x7c\x79\xb1\xb0\x53\xf8\xf9\x93\x87\x9a\x42\x3b\x0b\x7d\x79\xb1\x78\x68\x54\x4c\x60\xd8\x59\x74\x28\x11\xc2\xf3\x27\x24\xc5\x6a\x41\x6b\x0c\xdc\xa2\xbb\xce\x36\x1b\x6d\x1c\x8f\xa6\x83\xce\x96\xd9\x78\x01\x89\xb4\xae\x90\x84\xe3\x77\x79\x36\x9e\x3d\x8d\x08\x25\x79\x22\xc4\xcb\xc6\xb5\xea\x3f\xad\x8c\x75\x6b\xa2\xe1\x68\x0a\x9f\xfc\x09\xfb\xab\xd6\x49\x33\xb1\x4e\x46\xd1\x16\x30\x0c\xd0\x18\x3e\x0b\x19\x63\xce\x6b\xa3\xdf\xf7\x04\x84\x37\x30\x03\x67\x1a\x3b\x3c\xd7\xfd\x3a\x86\x3e\xa9\x5d\xe5\x02\xda\xae\x91\xe3\x36\x6d\xb8\x96\x49\x87\x09\x79\x6d\xca\x6b\x01\x29\x06\x8b\x06\x63\x58\xee\x1a\xa5\xda\x1a\xbe\x5f\xc2\x1a\x6e\x99\xa5\xf3\xc0\x5c\xfe\x64\x7c\x79\x80\xf4\x47\x66\x5d\xe5\x9b\x66\x48\xb8\x63\x5c\x89\x2c\x71\xfb\x97\x40\xda\xe6\x0a\x0c\x5d\xe9\xde\x8c\xbc\x50\xbb\xcb\x08\x3c\xfd\x6c\xd6\x17\x61\xf7\x89\x89\xb6\x41\x6c\xc4\x16\x0c\xa6\xfa\xde\x97\x82\x48\x93\x56\x45\x85\x35\x2c\x6b\xab\x18\xfc\xa0\x66\x0d\xa8\xc9\x54\x6b\x53\xfc\x9e\x4f\xe3\x53\xde\xc5\xa4\xc3\xe2\xcb\xfc\xbc\xa8\xf3\x76\x57\x76\x68\x4f\x75\x68\x9e\x77\x7c\x9e\x3f\x69\x6c\xa7\x89\xe7\x65\x78\x87\xbb\x29\x54\x53\xb4\x8d\xf5\x8b\x17\xb0\x11\x4a\x46\xc3\x41\x20\xaf\xca\xfc\x4c\x0a\xd8\x29\x9c\xf1\xb2\x92\x02\x95\x02\xcb\x05\xc5\x76\x64\x7e\x0e\xfd\x8e\x43\x71\xd6\x54\x94\x84\xe9\xa6\x83\x60\x83\x09\x9c\xad\x31\xba\x63\x71\xdb\x6c\x99\x4a\x47\xda\x3a\x3f\xa7\x25\x48\xc5\x1d\x3d\xf4\xc5\x79\x69\x41\x2b\x0c\xb6\x7f\xb0\x76\x7a\xab\xec\x64\x30\x6a\x38\x25\x65\x5d\x8c\x25\xd9\xa7\x23\x31\x6e\xb4\xa5\x25\x17\x77\xdc\x64\x42\x6c\xb3\x43\x18\xc7\x35\x55\x28\x67\xb3\x81\x91\x6e\xd5\x11\x19\x8a\xc6\x7b\x0e\xb8\xe7\x80\x9c\x4b\x23\x76\xbd\x35\x92\x9c\x82\x21\x93\xd9\xab\x21\x4d\x23\x5b\x53\x11\xff\x85\x5c\xfc\xc6\xe6\x68\x81\x70\x2d\x98\x87\x4f\x64\x5c\x97\x17\xb1\x10\x7b\xa7\x5b\xe1\x36\xc7\x99\x33\x11\x9c\x4b\xdb\xb5\x8c\xd6\xe5\x8e\xe2\x76\xa3\x84\x9c\x77\x6c\xcd\xa5\x93\x78\xd1\xad\xc4\xef\x0b\x0a\x6e\x4a\xea\xeb\xb4\xc4\x68\x9d\xd1\xbb\x12\x45\x8b\xd2\xbc\xe5\x28\x66\x2b\xc7\x5d\x2a\xe8\x9d\xf7\x4d\x66\x28\xce\x20\x6d\x49\x76\x4d\xa8\x73\xcd\x6a\xce\x6c\x6a\x8a\x03\x4c\xd5\xd8\x93\xa9\x04\xad\xa5\x87\xcd\x2e\x90\x26\x16\x83\xc2\x6a\x16\xcd\x56\x28\xd6\x10\x4c\xa5\x2b\x5a\x11\xde\x6e\x62\xee\x70\xc2\x7b\x54\xae\x8a\x25\x9a\x48\xa4\xaa\xcf\xdf\x92\x9e\xc8\xdc\x9a\x79\xbf\xc2\x15\xcc\x60\xf8\x75\x43\x84\x24\x3c\x0a\xb0\x33\xb7\x6e\x9b\x24\x4f\xc4\x08\xbe\xee\x56\xa6\x17\xa3\xaf\x1a\xf4\x84\xb3\x4d\x32\x86\x5e\x18\xa1\xec\x0a\xcd\xb9\x70\x38\xa4\x07\x53\x3a\x44\xcf\x32\x63\x50\xb9\x5f\x13\x1d\xdd\x0d\x47\x93\x32\x85\x56\xdf\xeb\x81\x16\x92\x6c\x2a\xb1\x0c\xc3\x89\x7a\x0d\xf7\x2d\xba\xf9\x79\xe0\x07\x28\xbf\x85\x8a\xfe\x36\x7a\xc7\x86\x80\xa2\xb6\x56\x13\xd2\x41\x3f\x60\x7e\xee\xeb\xd6\xde\x28\xf7\x54\xae\x1b\x56\xf7\x0e\x77\xbd\xa7\xf1\x6f\x98\x37\xa2\x88\x54\x67\xca\x95\xe5\xae\xbe\x2e\xa9\x83\x04\xbe\x42\x75\xeb\xd6\x44\xe3\x5c\xb9\xa3\xc8\x4b\x18\xe2\x50\x45\xb6\x9c\x63\xa9\x8d\xd1\xdb\xcb\x8b\xc5\xf0\x43\xd0\x86\x34\x9a\xf6\xea\x4b\x37\x11\x1d\x2a\xd9\x27\xa3\x5f\x79\x46\x16\x04\x53\x91\xe7\x4e\x4c\xd9\x61\x96\x6f\xb6\x3c\x91\x34\x3f\x3f\x86\x81\xb0\x8d\x6f\xd8\xe0\x23\x7c\x37\x29\xbe\xb4\x18\xc9\x53\x1b\x6a\xe5\x60\xd6\xc5\x0e\xed\xb0\x23\x65\x12\xc8\x85\xd0\x31\x60\x37\x11\x8f\x8d\x80\x6a\x82\x7c\x74\xaf\x4b\xb1\x69\xac\x48\x83\xb6\x3c\x38\xa2\xf9\xa5\x36\xf0\xe7\x9c\xb4\x5f\xaa\x39\xa2\x23\xe6\xf8\xff\xd4\xf2\x02\x61\xa4\xf9\x39\x92\xee\xd6\xe5\x52\x1e\x5f\xd8\x6c\x74\x9c\x28\x6b\x0c\x3f\x46\xae\xa5\x4c\x73\xc4\x10\xae\x4f\x53\x36\x17\x79\x17\xb0\xa7\xb7\xb4\xd3\x49\xc2\xec\x94\x19\x42\xce\xa1\x54\x7d\xc0\x3e\x0e\x11\x14\x2b\x43\xa3\xcb\x39\x47\x7c\xd2\x52\xb7\xc0\xf4\xfb\xe0\xb0\xcc\xab\xb0\x73\x15\xa0\xbe\xe7\x84\x8d\xf7\x0c\x7c\x4f\xc0\x56\x26\x09\x2c\x11\x32\xcb\x33\x97\xc8\x8b\x4f\x8c\xf7\x98\xe8\x0d\x1a\x4b\x0b\xc1\x05\x1d\xef\xdd\x6c\x84\x11\x29\x3a\xe4\xc6\xe8\x8d\xb0\xb6\x58\xa8\xb0\x9f\x65\x04\x29\xba\xb5\x8e\x27\x35\xe2\xfb\x6c\x7a\x98\x25\xb6\x1d\x85\xc3\x17\x5d\x9d\x54\x9d\x5d\x54\x9f\xd5\x7e\xf4\xb9\xad\x47\x8f\xce\x3c\xdf\x1c\x52\x15\x16\x20\x79\xda\xb5\x76\xd1\x7c\xef\x04\x7d\x20\x93\xb6\x4e\xf0\xb2\x14\x5d\x44\x6b\x5f\xf9\x28\x4c\x4f\x8c\x56\x9a\x5c\x0b\x26\x6d\x35\x82\xaa\x6e\x50\x56\x28\x0a\x25\x32\xf8\x67\x86\xd6\x35\x81\x3b\x37\xdd\x71\x55\xe0\x17\xcd\x9a\x6f\x5f\xbf\x53\xd0\xeb\xc4\xcc\xd4\xcd\xdc\x97\xd5\xe6\x7d\xce\x3e\x1c\xd6\x2a\x81\xb5\x10\x75\xe7\x3a\x6d\xd8\xad\xcd\x87\x64\x67\xeb\x7a\x77\x72\x75\x13\x34\xa9\x37\x60\xab\x9e\xf5\x7d\xa0\x61\x96\x8d\x85\xf1\x75\x67\x40\xdb\xd9\xd9\x56\x61\x79\x25\xd5\x9d\xcf\xaa\x7c\x1e\x96\x4e\x6b\x5b\xe8\xf6\x14\x86\xab\xec\xf1\xc7\x58\xf8\xf9\x2b\x8e\xb4\xf0\xf3\xd0\x7e\xdc\x7e\x92\x13\x51\xd7\x9a\xcf\x50\xc9\x3d\xcd\x15\xbe\x1f\x3b\x96\x6d\x65\x7c\x4d\x4f\xbb\x15\x70\x25\x13\x7c\x7c\x87\x1c\x77\xc7\x95\x25\x12\x61\x2d\x3a\x3b\xd9\xe2\xd2\x4a\x87\x4f\x08\xa5\x9d\x44\x3a\x3d\xfd\x61\xf5\xe3\xb7\xff\xf8\x3e\x7a\x1a\xfd\x4d\xfc\x3d\x8a\xe3\x1f\xbf\xff\x6e\xf9\x2c\xfa\xfb\xb7\x4f\x1b\x2f\xc4\x0f\x3f\x44\xcb\x67\xd1\x3f\xbe\xfb\xf1\xc3\x45\xa2\xb7\x1f\x7e\xd7\x26\x4e\x85\xb9\x9b\xd8\xfb\xdb\xee\xfc\x48\x8f\x26\x31\xf7\x79\xa9\x5e\xa6\xe2\x16\x4f\xed\xfd\xed\xbf\x7f\x4c\x93\x36\x96\xde\x15\x3a\x2c\xfc\x6e\xb1\xe4\xd5\x6e\x32\x9e\x45\x7f\x5b\x05\x39\xe8\xa6\xb7\x5e\x6f\x5f\x34\x72\x2f\xd2\xfa\xe3\x55\xd4\x2e\x38\x39\x0d\x6b\x4c\x36\x1c\x4d\xe7\xa7\xac\x0f\x77\x15\x7e\x74\xf9\x55\xa7\x8b\xc5\xa4\x67\x46\xac\xba\x9d\x9a\xab\xfe\x88\x46\xa8\x41\x8f\xfc\xed\x9f\x99\x30\x38\x27\xc9\x4f\xfd\x62\x74\x8f\x5b\x0a\xa5\xd0\x1c\x1e\x67\x75\x24\x45\x62\xa7\x7b\x36\xf7\xc0\x6d\xa5\x73\x68\x06\x47\xb1\x93\x0f\x66\xe5\x24\x66\x3e\x2c\x29\xd8\x8e\xd6\x42\xf6\x15\x73\x1e\x0e\x68\xce\x17\xf6\x09\xfc\xe5\x3d\x02\x79\x33\x40\xd7\xc4\x7f\x41\x7f\x40\xa3\x1a\xdd\xe8\x0f\x78\x7b\x35\x9f\xc0\x3c\x28\xfb\x8e\x6b\xa3\x2a\xb7\x45\x5a\x48\xb4\xbf\xcd\xa6\x15\x27\x7a\xb8\x40\xcc\x65\xe4\xb6\xa6\x9c\x9e\x16\x97\xf0\x8a\xb2\xf1\xff\x58\x6d\xf8\x8b\x2a\xae\xf5\x6e\xd7\xcb\x8b\x45\xcf\x9e\x2c\x0a\xab\x83\xff\x7a\xfd\xe6\x55\xcf\x98\xc7\xd6\x4f\xcb\xba\x29\x77\xd3\x9c\x9e\x82\x45\xe7\xc2\x92\xa9\xb0\xf4\x8a\x1e\xdb\xa0\xb8\xe1\x9d\x7b\xe1\x1f\x65\x46\x86\x7d\xc0\xbd\x73\xe5\xd5\xd2\x43\x15\xf3\x52\x19\xca\x4b\x85\x5c\x43\xed\xb6\xef\x7b\x76\xdd\x43\xd3\x87\x2f\x42\xfa\xc0\x33\xbe\x2a\x6b\x76\x9c\xcb\x52\x20\xe2\x54\x2a\xd0\x86\x95\xc9\xad\xb9\x17\x21\xbf\xa0\xe9\x7b\x18\x28\x1e\xf4\x77\x37\x0b\x1c\x62\xe9\xad\x6d\x2a\x95\xe3\xb4\x6d\x19\x2e\x76\x79\xb0\xe1\x85\x35\x7f\x11\x2f\xbc\xa0\x76\x9a\xf7\xc9\xd1\x2e\xa5\xff\xe4\xa4\xe7\x28\x8b\x6e\x38\xfa\x19\xe4\x66\xf6\x47\xb4\x44\x3f\xc9\x13\x3f\x76\x17\x86\xc8\x9f\xce\xe7\xfb\xbf\x73\xed\xaa\x1c\x4e\xce\x5c\xdd\xb7\x0a\x65\x05\xa5\x2b\xb3\xe7\x5e\x56\xbb\x40\xc8\x3e\x79\x90\x41\x85\x59\x3b\xa7\x5a\x03\x68\xb6\xfc\xf1\x98\xc1\x0d\xcc\x6a\x68\x26\x6b\x94\xb7\x6b\xb7\x17\xd2\x37\x0b\x36\x01\xcb\xfc\x6d\x2b\xc3\xce\xf6\x6f\x23\x31\xe2\x10\xab\xb4\x7a\xb5\x98\xba\x68\x7d\xc4\x74\x89\x71\x4c\xeb\xed\x5b\xe2\x40\x2a\x6e\xd2\xe1\xd6\xb5\x1e\xaa\xb8\xab\x0e\x66\x30\x58\x0a\x33\x68\xcd\x9e\xe7\x20\x4a\x05\xac\xbd\xbf\x17\xe4\x48\x6c\x69\x49\xaa\x74\x45\x4b\x8b\x2a\x4d\xea\x6e\x1b\xa9\xe9\xd2\xde\xdb\x1a\x81\x52\x95\x5f\xdb\xa3\x02\xdd\x2a\xbf\xb6\x47\x55\x0a\x53\xf6\xb4\xd6\xc6\xf4\x15\xb1\x3c\xbf\xdd\xd9\x2a\xbe\xb8\x38\xaa\x6f\x65\xb8\xce\xdb\xdf\x88\xf9\xfc\x3a\x6f\x15\x76\xf6\xc6\x70\x30\x83\xd3\x3c\xdc\x2b\x4c\x64\xcd\xbb\xec\x43\x51\x85\x72\x84\xc1\x1f\xc8\x47\x20\x68\xdd\x06\xee\x9e\xdf\x0f\xab\xb1\x77\x56\x28\xc8\x59\xc7\xed\x63\x6e\xef\x13\xf7\xc5\xad\xde\x1c\x61\x09\x5e\x8f\x8c\xf7\xa5\xbc\x4a\x42\x45\x14\xe9\x4c\xb9\x49\x8e\x6a\x42\xd8\x87\xcf\x9f\x44\x41\x93\x87\xd3\xfb\x82\xe3\x51\x8d\xfa\x52\xbd\x73\xd7\x25\x12\x1b\xe1\x1b\x56\x3a\xae\x5c\xf7\xd0\x7d\x26\x36\x45\xab\x56\x41\x5d\x89\x46\xa2\x2d\x49\x95\xd6\x66\xfd\xe1\xee\x3e\x8a\x3b\x25\x50\x9b\x83\xc9\xb7\xeb\x61\x8d\xaa\x31\x08\xb7\x27\xd6\x1f\x75\xaf\x63\x7e\x1e\x3d\x66\x0d\xf3\x0b\xed\x35\x1b\xe0\xd1\x1c\xb9\x7c\x1e\x41\xb0\x74\x2d\x7d\x2c\x32\x9f\x0f\x27\xff\x1d\x00\x00\xff\xff\x6c\xb6\x54\xe9\xcf\x41\x00\x00" func examplenftCdcBytes() ([]byte, error) { @@ -244,10 +265,11 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "ExampleNFT.cdc": examplenftCdc, - "MetadataViews.cdc": metadataviewsCdc, - "NonFungibleToken.cdc": nonfungibletokenCdc, - "ViewResolver.cdc": viewresolverCdc, + "CrossVMMetadataViews.cdc": crossvmmetadataviewsCdc, + "ExampleNFT.cdc": examplenftCdc, + "MetadataViews.cdc": metadataviewsCdc, + "NonFungibleToken.cdc": nonfungibletokenCdc, + "ViewResolver.cdc": viewresolverCdc, } // AssetDebug is true if the assets were built with the debug flag enabled. @@ -294,6 +316,7 @@ type bintree struct { } var _bintree = &bintree{nil, map[string]*bintree{ + "CrossVMMetadataViews.cdc": {crossvmmetadataviewsCdc, map[string]*bintree{}}, "ExampleNFT.cdc": {examplenftCdc, map[string]*bintree{}}, "MetadataViews.cdc": {metadataviewsCdc, map[string]*bintree{}}, "NonFungibleToken.cdc": {nonfungibletokenCdc, map[string]*bintree{}}, From 4d565cfc67a3e1898a30bc3eece74491f7a90d7a Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Tue, 11 Feb 2025 13:13:48 -0700 Subject: [PATCH 5/9] Apply suggestions from code review Co-authored-by: Joshua Hannan --- contracts/CrossVMMetadataViews.cdc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/contracts/CrossVMMetadataViews.cdc b/contracts/CrossVMMetadataViews.cdc index d82c2ef..4a13d4f 100644 --- a/contracts/CrossVMMetadataViews.cdc +++ b/contracts/CrossVMMetadataViews.cdc @@ -2,7 +2,8 @@ import "EVM" /// This contract implements views originally proposed in FLIP-318 supporting NFT collections /// with project-defined implementations across both Cadence & EVM. -/// +/// The View structs in this contract should be implemented in the same way that views from `MetadataViews` are implemented +/// access(all) contract CrossVMMetadataViews { /// An enum denoting a VM. For now, there are only two VMs on Flow, but this enum could be @@ -20,14 +21,14 @@ access(all) contract CrossVMMetadataViews { /// information and context, see FLIP-318: https://github.com/onflow/flips/issues/318 /// access(all) struct EVMPointer { - /// The associated Cadence Type + /// The associated Cadence Type defined in the contract that this view is returned from access(all) let cadenceType: Type /// The defining Cadence contract address access(all) let cadenceContractAddress: Address - /// The associated EVM contract address + /// The associated EVM contract address that the Cadence contract will bridge to access(all) let evmContractAddress: EVM.EVMAddress /// Whether the asset is Cadence- or EVM-native. Native here meaning the VM in which the - /// asset is distributed. + /// asset is originally distributed. access(all) let nativeVM: VM init( From 2165f6651572ca1b0b51e9e30efe87579ff28ae9 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Tue, 11 Feb 2025 16:03:11 -0700 Subject: [PATCH 6/9] add tests for CrossVMMetadataViews impl in ExampleNFT --- contracts/CrossVMMetadataViews.cdc | 31 +++++-- contracts/ExampleNFT.cdc | 50 +++++++++++ flow.json | 36 ++++---- tests/example_nft_test.cdc | 19 ++++ tests/scripts/get_cross_vm_nft_view.cdc | 90 +++++++++++++++++++ .../scripts/get_cross_vm_nft_view.cdc | 70 +++++++++++++++ 6 files changed, 275 insertions(+), 21 deletions(-) create mode 100644 tests/scripts/get_cross_vm_nft_view.cdc create mode 100644 transactions/scripts/get_cross_vm_nft_view.cdc diff --git a/contracts/CrossVMMetadataViews.cdc b/contracts/CrossVMMetadataViews.cdc index 4a13d4f..4e5b356 100644 --- a/contracts/CrossVMMetadataViews.cdc +++ b/contracts/CrossVMMetadataViews.cdc @@ -1,3 +1,4 @@ +import "ViewResolver" import "EVM" /// This contract implements views originally proposed in FLIP-318 supporting NFT collections @@ -44,21 +45,39 @@ access(all) contract CrossVMMetadataViews { } } + access(all) fun getEVMPointer(_ viewResolver: &{ViewResolver.Resolver}): EVMPointer? { + if let view = viewResolver.resolveView(Type()) { + if let v = view as? EVMPointer { + return v + } + } + return nil + } + /// View resolved at resource level denoting any metadata to be passed to the associated EVM - /// contract at the time of / bridging. This optional view would allow EVM side metadata to be - /// updated based on current Cadence state. If the / view is not supported, no bytes will be + /// contract at the time of bridging. This optional view would allow EVM side metadata to be + /// updated based on current Cadence state. If the view is not supported, no bytes will be /// passed into EVM when bridging. /// access(all) struct EVMBytesMetadata { /// Returns the bytes to be passed to the EVM contract on `fulfillToEVM` call, allowing the - /// EVM contract to update / the metadata associated with the NFT. The corresponding Solidity - /// `bytes` type allows the implementer greater / flexibility by enabling them to pass + /// EVM contract to update the metadata associated with the NFT. The corresponding Solidity + /// `bytes` type allows the implementer greater flexibility by enabling them to pass /// arbitrary data between VMs. - access(all) let bytes: EVM.EVMBytes? + access(all) let bytes: EVM.EVMBytes - init(bytes: EVM.EVMBytes?) { + init(bytes: EVM.EVMBytes) { self.bytes = bytes } } + access(all) fun getEVMBytesMetadata(_ viewResolver: &{ViewResolver.Resolver}): EVMBytesMetadata? { + if let view = viewResolver.resolveView(Type()) { + if let v = view as? EVMBytesMetadata { + return v + } + } + return nil + } + } diff --git a/contracts/ExampleNFT.cdc b/contracts/ExampleNFT.cdc index 6c04d5e..dbd24bf 100644 --- a/contracts/ExampleNFT.cdc +++ b/contracts/ExampleNFT.cdc @@ -13,6 +13,9 @@ import "NonFungibleToken" import "ViewResolver" import "MetadataViews" +import "CrossVMMetadataViews" +import "SerializeMetadata" +import "EVM" access(all) contract ExampleNFT: NonFungibleToken { @@ -127,6 +130,11 @@ access(all) contract ExampleNFT: NonFungibleToken { case Type(): // Implementing this view gives the project control over how the bridged NFT is represented as an // ERC721 when bridged to EVM on Flow via the public infrastructure bridge. + // NOTE: If your NFT is a cross-VM NFT, meaning you control both your Cadence & EVM contracts and + // registered your custom association with the VM bridge, it's recommended you use the + // CrossVMMetadata.EVMBytesMetadata view to define and pass metadata as EVMBytes into your + // EVM contract at the time of bridging into EVM. For more information about cross-VM NFTs, + // see FLIP-318: https://github.com/onflow/flips/issues/318 // Get the contract-level name and symbol values let contractLevel = ExampleNFT.resolveContractView( @@ -152,6 +160,27 @@ access(all) contract ExampleNFT: NonFungibleToken { } else { return nil } + case Type(): + // This view is intended for NFT projects with corresponding NFT implementations in both Cadence and + // EVM. Resolving EVMPointer indicates the associated EVM implementation. Fully validating the + // cross-VM association would involve inspecting the associated EVM contract and ensuring that + // contract also points to the resolved Cadence type and contract address. For more information + // about cross-VM NFTs, see FLIP-318: https://github.com/onflow/flips/issues/318 + + return ExampleNFT.resolveContractView(resourceType: self.getType(), viewType: view) + case Type(): + // This view is intended for Cadence-native NFTs with corresponding ERC721 implementations. By + // resolving, you're able to pass arbitrary metadata into your EVM contract whenever an NFT is + // bridged which can be useful for Cadence NFTs with dynamic metadata values. + // See FLIP-318 for more information about cross-VM NFTs: https://github.com/onflow/flips/issues/318 + + // Here we serialize the NFT's metadata and encode the string as EVM bytes, but you could pass any + // Cadence values that can be abi encoded and decode them in your EVM contract as you wish. Within + // your EVM contract, you can abi decode the bytes and update metadata as you see fit. + let serializedAsDataURI = SerializeMetadata.serializeNFTMetadataAsURI(&self as &{NonFungibleToken.NFT}) + let encodedURI = EVM.encodeABI([serializedAsDataURI]) + let evmBytes = EVM.EVMBytes(value: encodedURI) + return CrossVMMetadataViews.EVMBytesMetadata(bytes: evmBytes) } return nil } @@ -310,6 +339,27 @@ access(all) contract ExampleNFT: NonFungibleToken { value: "https://example-nft.onflow.org/contract-metadata.json" ) ) + case Type(): + // This view is intended for NFT projects with corresponding NFT implementations in both Cadence and + // EVM. Resolving EVMPointer indicates the associated EVM implementation. Fully validating the + // cross-VM association would involve inspecting the associated EVM contract and ensuring that contract + // also points to the resolved Cadence type and contract address. For more information about cross-VM + // NFTs, see FLIP-318: https://github.com/onflow/flips/issues/318 + + // Assigning a dummy EVM address and deserializing. Implementations would want to declare the actual + // EVM address corresponding to their corresponding ERC721. If using a proxy in your EVM contracts, this + // address should be your proxy's address. + let evmContractAddress = EVM.addressFromString( + "0x1234565789012345657890123456578901234565" + ) + // Since this NFT is distributed in Cadence, it's declared as Cadence-native + let nativeVM = CrossVMMetadataViews.VM.Cadence + return CrossVMMetadataViews.EVMPointer( + cadenceType: Type<@ExampleNFT.NFT>(), + cadenceContractAddress: self.account.address, + evmContractAddress: evmContractAddress, + nativeVM: nativeVM + ) } return nil } diff --git a/flow.json b/flow.json index 978c8af..0b1a8f3 100644 --- a/flow.json +++ b/flow.json @@ -3,7 +3,8 @@ "CrossVMMetadataViews": { "source": "contracts/CrossVMMetadataViews.cdc", "aliases": { - "emulator": "f8d6e0586b0a20c7" + "emulator": "f8d6e0586b0a20c7", + "testing": "0000000000000007" } }, "ExampleNFT": { @@ -95,20 +96,23 @@ "testnet": "9a0766d93b6608b7" } }, - "MetadataViews": { - "source": "mainnet://1d7e57aa55817448.MetadataViews", - "hash": "10a239cc26e825077de6c8b424409ae173e78e8391df62750b6ba19ffd048f51", - "aliases": {} - }, - "NonFungibleToken": { - "source": "mainnet://1d7e57aa55817448.NonFungibleToken", - "hash": "b63f10e00d1a814492822652dac7c0574428a200e4c26cb3c832c4829e2778f0", - "aliases": {} + "Serialize": { + "source": "mainnet://1e4aa0b87d10b141.Serialize", + "hash": "50bf2599bac68e3fb0e426a262e7db2eed91b90c0a5ad57e70688cbf93282b4f", + "aliases": { + "mainnet": "1e4aa0b87d10b141", + "testing": "0000000000000007", + "testnet": "dfc20aee650fcbdf" + } }, - "ViewResolver": { - "source": "mainnet://1d7e57aa55817448.ViewResolver", - "hash": "374a1994046bac9f6228b4843cb32393ef40554df9bd9907a702d098a2987bde", - "aliases": {} + "SerializeMetadata": { + "source": "mainnet://1e4aa0b87d10b141.SerializeMetadata", + "hash": "7be42ac4e42fd3019ab6771f205abeb80ded5a461649a010b1a0668533909012", + "aliases": { + "mainnet": "1e4aa0b87d10b141", + "testing": "0000000000000007", + "testnet": "dfc20aee650fcbdf" + } } }, "networks": { @@ -140,7 +144,9 @@ "MetadataViews", "ExampleNFT", "NFTForwarding", - "CrossVMMetadataViews" + "CrossVMMetadataViews", + "SerializeMetadata", + "Serialize" ] }, "mainnet": { diff --git a/tests/example_nft_test.cdc b/tests/example_nft_test.cdc index f3fe4c0..2235545 100644 --- a/tests/example_nft_test.cdc +++ b/tests/example_nft_test.cdc @@ -5,6 +5,8 @@ import "ViewResolver" import "NonFungibleToken" import "ExampleNFT" import "MetadataViews" +import "CrossVMMetadataViews" +import "EVM" access(all) let admin = Test.getAccount(0x0000000000000007) access(all) let recipient = Test.createAccount() @@ -27,6 +29,9 @@ fun setup() { deploy("ViewResolver", "../contracts/ViewResolver.cdc") deploy("NonFungibleToken", "../contracts/NonFungibleToken.cdc") deploy("MetadataViews", "../contracts/MetadataViews.cdc") + deploy("Serialize", "../imports/1e4aa0b87d10b141/Serialize.cdc") + deploy("SerializeMetadata", "../imports/1e4aa0b87d10b141/SerializeMetadata.cdc") + deploy("CrossVMMetadataViews", "../contracts/CrossVMMetadataViews.cdc") deploy("ExampleNFT", "../contracts/ExampleNFT.cdc") deploy("MaliciousNFT", "../contracts/test/MaliciousNFT.cdc") } @@ -321,6 +326,20 @@ fun testGetNFTView() { Test.expect(scriptResult, Test.beSucceeded()) } +access(all) +fun testGetCrossVMNFTView() { + var collectionIDs = getCollectionIDs(from: admin.address, path: /public/exampleNFTCollection) + + var scriptResult = executeScript( + "scripts/get_cross_vm_nft_view.cdc", + [ + admin.address, + collectionIDs[0] + ] + ) + Test.expect(scriptResult, Test.beSucceeded()) +} + access(all) fun testGetMissingNFTView() { let scriptResult = executeScript( diff --git a/tests/scripts/get_cross_vm_nft_view.cdc b/tests/scripts/get_cross_vm_nft_view.cdc new file mode 100644 index 0000000..417b80f --- /dev/null +++ b/tests/scripts/get_cross_vm_nft_view.cdc @@ -0,0 +1,90 @@ +import "ExampleNFT" +import "NonFungibleToken" +import "MetadataViews" +import "CrossVMMetadataViews" +import "ViewResolver" +import "EVM" +import "SerializeMetadata" + +access(all) struct NFTView { + access(all) let id: UInt64 + access(all) let name: String + access(all) let symbol: String + access(all) let nftType: Type + access(all) let cadenceContractAddress: Address + access(all) let evmContractAddress: EVM.EVMAddress + access(all) let nativeVM: CrossVMMetadataViews.VM + access(all) let evmMetadata: String + + init( + id: UInt64, + name: String, + symbol: String, + nftType: Type, + cadenceContractAddress: Address, + evmContractAddress: EVM.EVMAddress, + nativeVM: CrossVMMetadataViews.VM, + evmMetadata: String + ) { + self.id = id + self.name = name + self.symbol = symbol + self.nftType = nftType + self.cadenceContractAddress = cadenceContractAddress + self.evmContractAddress = evmContractAddress + self.nativeVM = nativeVM + self.evmMetadata = evmMetadata + } +} + +access(all) fun main(address: Address, id: UInt64): Bool { + let account = getAccount(address) + + let collectionData = ExampleNFT.resolveContractView(resourceType: nil, viewType: Type()) as! MetadataViews.NFTCollectionData? + ?? panic("Could not resolve NFTCollectionData view. The ExampleNFT contract needs to implement the NFTCollectionData Metadata view in order to execute this transaction") + + let collection = account.capabilities.borrow<&ExampleNFT.Collection>( + collectionData.publicPath + ) ?? panic("The account ".concat(address.toString()).concat(" does not have a NonFungibleToken Collection at ") + .concat(collectionData.publicPath.toString()) + .concat(". The account must initialize their account with this collection first!")) + + let viewResolver = collection.borrowViewResolver(id: id) + ?? panic("Could not borrow resolver with given id ".concat(id.toString())) + + let evmBridgedMetadata = MetadataViews.getEVMBridgedMetadata(viewResolver) + ?? panic("Example NFT id ".concat(id.toString()).concat(" did not resolve EVMBridgedMetadata view")) + let evmPointer = CrossVMMetadataViews.getEVMPointer(viewResolver) + ?? panic("Example NFT id ".concat(id.toString()).concat(" did not resolve EVMPointer view")) + let evmBytesMetadata = CrossVMMetadataViews.getEVMBytesMetadata(viewResolver) + ?? panic("Example NFT id ".concat(id.toString()).concat(" did not resolve EVMBytesMetadata view")) + + let decodedBytesMetadata = EVM.decodeABI(types: [Type()], data: evmBytesMetadata.bytes.value) + let bytesMetadataAsString = decodedBytesMetadata[0] as! String + + + let nftViewResult = NFTView( + id: id, + name: evmBridgedMetadata.name, + symbol: evmBridgedMetadata.symbol, + nftType: evmPointer.cadenceType, + cadenceContractAddress: evmPointer.cadenceContractAddress, + evmContractAddress: evmPointer.evmContractAddress, + nativeVM: evmPointer.nativeVM, + evmMetadata: bytesMetadataAsString + ) + + let expectedEVMContractAddress = EVM.addressFromString("0x1234565789012345657890123456578901234565") + let nft = viewResolver as! &{NonFungibleToken.NFT} + let expectedDecodedMetadata = SerializeMetadata.serializeNFTMetadataAsURI(nft) + + assert("ExampleNFT" == nftViewResult.name) + assert("XMPL" == nftViewResult.symbol) + assert(Type<@ExampleNFT.NFT>() == nftViewResult.nftType) + assert(Type<@ExampleNFT.NFT>().address == nftViewResult.cadenceContractAddress) + assert(expectedEVMContractAddress.equals(nftViewResult.evmContractAddress)) + assert(CrossVMMetadataViews.VM.Cadence == nftViewResult.nativeVM) + assert(expectedDecodedMetadata == nftViewResult.evmMetadata) + + return true +} diff --git a/transactions/scripts/get_cross_vm_nft_view.cdc b/transactions/scripts/get_cross_vm_nft_view.cdc new file mode 100644 index 0000000..42c6a56 --- /dev/null +++ b/transactions/scripts/get_cross_vm_nft_view.cdc @@ -0,0 +1,70 @@ +import "ExampleNFT" +import "MetadataViews" +import "CrossVMMetadataViews" +import "ViewResolver" +import "EVM" + +access(all) struct NFTView { + access(all) let id: UInt64 + access(all) let name: String + access(all) let symbol: String + access(all) let nftType: Type + access(all) let cadenceContractAddress: Address + access(all) let nativeVM: CrossVMMetadataViews.VM + access(all) let evmMetadata: String + + init( + id: UInt64, + name: String, + symbol: String, + nftType: Type, + cadenceContractAddress: Address, + nativeVM: CrossVMMetadataViews.VM, + evmMetadata: String + ) { + self.id = id + self.name = name + self.symbol = symbol + self.nftType = nftType + self.cadenceContractAddress = cadenceContractAddress + self.nativeVM = nativeVM + self.evmMetadata = evmMetadata + } +} + +access(all) fun main(address: Address, id: UInt64): NFTView { + let account = getAccount(address) + + let collectionData = ExampleNFT.resolveContractView(resourceType: nil, viewType: Type()) as! MetadataViews.NFTCollectionData? + ?? panic("Could not resolve NFTCollectionData view. The ExampleNFT contract needs to implement the NFTCollectionData Metadata view in order to execute this transaction") + + let collection = account.capabilities.borrow<&ExampleNFT.Collection>( + collectionData.publicPath + ) ?? panic("The account ".concat(address.toString()).concat(" does not have a NonFungibleToken Collection at ") + .concat(collectionData.publicPath.toString()) + .concat(". The account must initialize their account with this collection first!")) + + let viewResolver = collection.borrowViewResolver(id: id) + ?? panic("Could not borrow resolver with given id ".concat(id.toString())) + + let evmBridgedMetadata = MetadataViews.getEVMBridgedMetadata(viewResolver) + ?? panic("Example NFT id ".concat(id.toString()).concat(" did not resolve EVMBridgedMetadata view")) + let evmPointer = CrossVMMetadataViews.getEVMPointer(viewResolver) + ?? panic("Example NFT id ".concat(id.toString()).concat(" did not resolve EVMPointer view")) + let evmBytesMetadata = CrossVMMetadataViews.getEVMBytesMetadata(viewResolver) + ?? panic("Example NFT id ".concat(id.toString()).concat(" did not resolve EVMBytesMetadata view")) + + let decodedBytesMetadata = EVM.decodeABI(types: [Type()], data: evmBytesMetadata.bytes.value) + let bytesMetadataAsString = decodedBytesMetadata[0] as! String + + + return NFTView( + id: id, + name: evmBridgedMetadata.name, + symbol: evmBridgedMetadata.symbol, + nftType: evmPointer.cadenceType, + cadenceContractAddress: evmPointer.cadenceContractAddress, + nativeVM: evmPointer.nativeVM, + evmMetadata: bytesMetadataAsString + ) +} From 8b1661ca3af3cfc2c8a9d0d68a7293929ce3bba5 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Tue, 11 Feb 2025 16:03:44 -0700 Subject: [PATCH 7/9] add coverage output to .gitignore --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 50553f7..b548b78 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,6 @@ node_modules coverage.json *.pkey -imports/ \ No newline at end of file +imports/ +coverage.lcov +coverage.json \ No newline at end of file From 6970cef664085d66532448d4ab470e02f9930b54 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Tue, 11 Feb 2025 17:16:45 -0700 Subject: [PATCH 8/9] remove serialization in ExampleNFT --- contracts/ExampleNFT.cdc | 11 ++++++----- flow.json | 22 +-------------------- lib/go/contracts/contracts.go | 13 ++++++++---- lib/go/contracts/contracts_test.go | 16 +++++++++++++-- lib/go/contracts/internal/assets/assets.go | 12 +++++------ lib/go/templates/internal/assets/assets.go | 23 ++++++++++++++++++++++ lib/go/test/nft_test_helpers.go | 5 ++++- lib/go/test/test.go | 1 + tests/example_nft_test.cdc | 4 ---- tests/scripts/get_cross_vm_nft_view.cdc | 3 +-- 10 files changed, 65 insertions(+), 45 deletions(-) diff --git a/contracts/ExampleNFT.cdc b/contracts/ExampleNFT.cdc index dbd24bf..5a34ef9 100644 --- a/contracts/ExampleNFT.cdc +++ b/contracts/ExampleNFT.cdc @@ -14,7 +14,6 @@ import "NonFungibleToken" import "ViewResolver" import "MetadataViews" import "CrossVMMetadataViews" -import "SerializeMetadata" import "EVM" access(all) contract ExampleNFT: NonFungibleToken { @@ -174,11 +173,13 @@ access(all) contract ExampleNFT: NonFungibleToken { // bridged which can be useful for Cadence NFTs with dynamic metadata values. // See FLIP-318 for more information about cross-VM NFTs: https://github.com/onflow/flips/issues/318 - // Here we serialize the NFT's metadata and encode the string as EVM bytes, but you could pass any + // Here we encoded the EVMBridgedMetadata URI and encode the string as EVM bytes, but you could pass any // Cadence values that can be abi encoded and decode them in your EVM contract as you wish. Within - // your EVM contract, you can abi decode the bytes and update metadata as you see fit. - let serializedAsDataURI = SerializeMetadata.serializeNFTMetadataAsURI(&self as &{NonFungibleToken.NFT}) - let encodedURI = EVM.encodeABI([serializedAsDataURI]) + // your EVM contract, you can abi decode the bytes and update metadata in your ERC721 contract as + // you see fit. + let bridgedMetadata = (self.resolveView(Type()) as! MetadataViews.EVMBridgedMetadata?)! + let uri = bridgedMetadata.uri.uri() + let encodedURI = EVM.encodeABI([uri]) let evmBytes = EVM.EVMBytes(value: encodedURI) return CrossVMMetadataViews.EVMBytesMetadata(bytes: evmBytes) } diff --git a/flow.json b/flow.json index 0b1a8f3..1281b0c 100644 --- a/flow.json +++ b/flow.json @@ -95,24 +95,6 @@ "mainnet": "f233dcee88fe0abe", "testnet": "9a0766d93b6608b7" } - }, - "Serialize": { - "source": "mainnet://1e4aa0b87d10b141.Serialize", - "hash": "50bf2599bac68e3fb0e426a262e7db2eed91b90c0a5ad57e70688cbf93282b4f", - "aliases": { - "mainnet": "1e4aa0b87d10b141", - "testing": "0000000000000007", - "testnet": "dfc20aee650fcbdf" - } - }, - "SerializeMetadata": { - "source": "mainnet://1e4aa0b87d10b141.SerializeMetadata", - "hash": "7be42ac4e42fd3019ab6771f205abeb80ded5a461649a010b1a0668533909012", - "aliases": { - "mainnet": "1e4aa0b87d10b141", - "testing": "0000000000000007", - "testnet": "dfc20aee650fcbdf" - } } }, "networks": { @@ -144,9 +126,7 @@ "MetadataViews", "ExampleNFT", "NFTForwarding", - "CrossVMMetadataViews", - "SerializeMetadata", - "Serialize" + "CrossVMMetadataViews" ] }, "mainnet": { diff --git a/lib/go/contracts/contracts.go b/lib/go/contracts/contracts.go index 38d1683..f2bec84 100644 --- a/lib/go/contracts/contracts.go +++ b/lib/go/contracts/contracts.go @@ -25,7 +25,9 @@ var ( placeholderUniversalCollection = regexp.MustCompile(`"UniversalCollection"`) universalCollectionImport = "UniversalCollection from " placeholderCrossVMMetadataViews = regexp.MustCompile(`"CrossVMMetadataViews"`) - crossVMMetadataViewsImport = "CrossVMMetadataViews from " + crossVMMetadataImport = "CrossVMMetadataViews from " + placeholderEVM = regexp.MustCompile(`"EVM"`) + evmImport = "EVM from " ) const ( @@ -62,12 +64,14 @@ func NonFungibleToken(resolverAddress string) []byte { // ExampleNFT returns the ExampleNFT contract. // // The returned contract will import the NonFungibleToken contract from the specified address. -func ExampleNFT(nftAddress, metadataAddress, resolverAddress flow.Address) []byte { +func ExampleNFT(nftAddress, metadataAddress, resolverAddress, evmAddress, crossVMMetadataAddress flow.Address) []byte { code := assets.MustAssetString(filenameExampleNFT) code = placeholderNonFungibleToken.ReplaceAllString(code, nonFungibleTokenImport+withHexPrefix(nftAddress.String())) code = placeholderMetadataViews.ReplaceAllString(code, metadataViewsImport+withHexPrefix(metadataAddress.String())) code = placeholderResolver.ReplaceAllString(code, viewResolverImport+withHexPrefix(resolverAddress.String())) + code = placeholderEVM.ReplaceAllString(code, evmImport+withHexPrefix(evmAddress.String())) + code = placeholderCrossVMMetadataViews.ReplaceAllString(code, crossVMMetadataImport+withHexPrefix(crossVMMetadataAddress.String())) return []byte(code) } @@ -87,10 +91,11 @@ func ViewResolver() []byte { return []byte(code) } -func CrossVMMetadataViews(evmAddress string) []byte { +func CrossVMMetadataViews(resolverAddress, evmAddress string) []byte { code := assets.MustAssetString(filenameCrossVMMetadataViews) - code = placeholderFungibleToken.ReplaceAllString(code, fungibleTokenImport+withHexPrefix(evmAddress)) + code = placeholderFungibleToken.ReplaceAllString(code, viewResolverImport+withHexPrefix(resolverAddress)) + code = placeholderFungibleToken.ReplaceAllString(code, evmImport+withHexPrefix(evmAddress)) return []byte(code) } diff --git a/lib/go/contracts/contracts_test.go b/lib/go/contracts/contracts_test.go index 08b4731..06ea08e 100644 --- a/lib/go/contracts/contracts_test.go +++ b/lib/go/contracts/contracts_test.go @@ -22,8 +22,10 @@ func TestExampleNFTContract(t *testing.T) { addressA := addresses.New() addressB := addresses.New() addressC := addresses.New() + addressD := addresses.New() + addressE := addresses.New() - contract := contracts.ExampleNFT(addressA, addressB, addressC) + contract := contracts.ExampleNFT(addressA, addressB, addressC, addressD, addressE) assert.NotNil(t, contract) assert.Contains(t, string(contract), addressA.String()) @@ -37,6 +39,16 @@ func TestMetadataViewsContract(t *testing.T) { } func TestCrossVMMetadataViewsContract(t *testing.T) { - contract := contracts.CrossVMMetadataViews(addrA) + addresses := test.AddressGenerator() + addressA := addresses.New() + addressB := addresses.New() + + contract := contracts.CrossVMMetadataViews(addressA.String(), addressB.String()) assert.NotNil(t, contract) } + +/** +have ("github.com/onflow/flow-go-sdk".Address, "github.com/onflow/flow-go-sdk".Address, "github.com/onflow/flow-go-sdk".Address) +want ("github.com/onflow/flow-go-sdk".Address, "github.com/onflow/flow-go-sdk".Address, "github.com/onflow/flow-go-sdk".Address, "github.com/onflow/flow-go-sdk".Address, "github.com/onflow/flow-go-sdk".Address, "github.com/onflow/flow-go-sdk".Address + +*/ diff --git a/lib/go/contracts/internal/assets/assets.go b/lib/go/contracts/internal/assets/assets.go index 0fd07ca..1fd0457 100644 --- a/lib/go/contracts/internal/assets/assets.go +++ b/lib/go/contracts/internal/assets/assets.go @@ -1,7 +1,7 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: -// CrossVMMetadataViews.cdc (2.73kB) -// ExampleNFT.cdc (16.847kB) +// CrossVMMetadataViews.cdc (3.559kB) +// ExampleNFT.cdc (21.007kB) // MetadataViews.cdc (29.808kB) // NonFungibleToken.cdc (13.763kB) // ViewResolver.cdc (2.71kB) @@ -74,7 +74,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _crossvmmetadataviewsCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x56\x4b\x6f\xdb\x46\x10\xbe\xeb\x57\x4c\x73\x08\x92\x40\x16\x11\xe4\x12\x08\x30\x8a\xc4\x90\x01\x03\xa5\x1b\xb4\x2e\x7b\xf5\x72\x39\x14\xb7\x5d\xee\x10\xbb\x43\xd1\x42\xe0\xff\x5e\xcc\xf2\x21\x51\x0f\xb8\xba\x10\xe2\xce\xe3\x9b\x6f\x66\xbe\xa5\xa9\x1b\xf2\x0c\xef\x36\x59\xfa\x6e\xb1\x48\x92\x04\x9e\x2a\x13\x40\x93\x63\xaf\x34\x83\xa9\x1b\x8b\x35\x3a\x0e\xb0\x33\xd8\x05\x20\x6f\xb6\xc6\x29\x6b\xf7\xd0\x78\x6a\x28\x60\x01\xc6\xc1\xfd\x6f\x0f\x3f\x6e\xbe\x7c\xfe\x0a\xa1\x6d\x24\xa2\x71\x5b\x78\xbc\x7f\x02\x4d\xd6\xa2\x66\x43\x2e\xc4\xe8\x9d\xe1\x4a\x1c\xff\x41\xcd\x37\x05\x96\xc6\x89\xff\x98\x44\x45\x43\x50\xda\x53\x08\x90\x13\x57\x70\xa7\x0a\x74\x1a\xe1\x3d\x6c\xb2\x74\x25\x31\x16\x4a\x6b\x0c\xe1\x83\xb2\xf6\xe3\x01\xe8\x9d\xb8\x64\x69\x8a\xac\x0a\xc5\x2a\x8b\x60\x7f\x2e\x16\x00\x00\x92\xf8\x9b\x03\x74\x6d\x0d\x05\x3a\x8a\xe8\x14\x64\xe9\x0a\xee\xc9\x83\xa3\x6e\x09\x5c\xa1\x47\x50\x1e\x81\x9c\xdd\x03\x77\x04\x59\x1a\x80\x1c\xdc\x5b\x39\xcf\x5b\x06\x16\x6a\x62\x14\x4d\xad\x2d\x20\xc7\x29\x3c\xbe\x34\xca\x15\x3d\x17\x5c\x21\xe0\x0e\x1d\x03\x49\xd4\x18\x47\x02\x0f\xd4\x60\x21\x51\xc5\xc8\x21\x77\xe4\xff\x5d\x8d\x51\xe2\xf3\xb8\xba\x98\x2b\x4b\x61\x0d\x7f\x3d\x38\xfe\x0a\x3f\xa3\xc5\xa9\x95\x56\x01\x47\x9e\xae\x1b\x6c\xb2\x34\x1e\xbe\x1e\x38\x11\x92\xc0\x63\x20\xbb\xc3\x02\x14\x1f\xd8\x7c\x1f\x5f\xb7\x5e\x23\x58\xdc\xa1\x85\x86\x8c\x8b\xb4\x31\x45\xe8\x2a\x04\xd2\x46\x49\x31\x9b\x2c\x3d\xe9\xe0\x54\x10\x3c\xfe\xfe\xb4\x59\xf7\x23\x25\xe3\x03\xca\x92\x43\x30\x01\x1c\x31\x84\xb6\x2c\x8d\x36\x42\x14\x13\xec\x94\x35\x85\x62\x04\xe5\xa6\xe8\x86\xdc\x38\x0c\xb3\x39\xf8\x65\x4a\xf0\x5d\x66\x44\x00\x8d\xe7\x4f\xfb\x06\x93\xa9\x8e\x4f\xca\x15\x9f\xe2\xb9\xa0\x9c\x5e\x87\x2a\xf6\x2f\x16\x25\xb9\x51\xe9\xaa\x6f\xd6\xb2\x9f\x50\xae\x0e\xad\x15\xcf\x68\x89\x1e\x72\x14\x0e\x4a\xa5\x8d\x35\x1c\xab\xcf\xf7\xf0\x30\xcc\xde\x2a\x90\x3d\xda\x1c\x71\x28\x95\x46\xa8\x91\x2b\x2a\x42\x3f\x6c\x35\xf9\x43\x68\xe3\x4a\xf2\xf5\x50\xa7\x2b\xa2\x33\xbe\xf0\x12\x02\xe2\xb4\x52\x6b\xa8\x98\x9b\xb0\x4e\x92\xad\xe1\xaa\xcd\x57\x9a\xea\x84\x5c\x69\xa9\x4b\x4a\x6b\x9a\x90\x98\x10\x5a\x0c\xc9\x97\xcf\x5f\xaf\x4e\x52\x60\xdf\x6a\x96\x5a\x7e\x0c\xa5\x1c\x66\xa9\xdf\xfa\x59\x4f\x8f\xd9\xbc\x38\x52\x16\x19\x74\x6f\x24\x36\xeb\xb9\xe5\x18\x31\x2e\xb8\x30\x36\xc6\x9b\xd8\x51\x45\xe1\x31\x84\xb7\x62\xdf\x0d\xf6\xdf\x7a\xf3\x35\x7c\x3b\xf1\xbb\x80\x7d\xd6\xe9\xb7\xf2\xe0\xae\x3e\xcb\x21\x42\xb3\xc9\xd2\x4b\xa9\xfe\xae\x30\xae\xf4\xb0\x02\xc8\x32\xcb\x43\x71\x37\x40\x5e\x7c\x6f\x9c\x62\xb3\xc3\x15\x3c\xc6\x27\x44\x61\xa9\x51\x45\x22\xc4\x51\xf6\xc5\x41\x57\x19\x7d\x18\xb4\x31\xc1\x14\xb4\x30\x81\xbd\xc9\x5b\xc6\x62\x75\x15\x7d\x9f\x29\x4b\xd7\x90\xa5\x8b\xc9\xca\x38\xc3\x1f\xa6\x7f\xf2\x3b\xeb\xd4\xf2\xd2\xf1\x35\xb2\xe7\xc6\x6f\x33\x36\xb7\x9f\x61\x1c\x5f\x7e\x3c\x1a\x3f\xf9\x05\xb4\xe5\xea\x08\x25\xdc\x1e\x63\xbe\x6a\x7a\x02\xe4\xe0\x75\x72\x70\x1e\xe0\xbc\x0a\xb8\xbd\x50\xda\xb9\xe3\x58\x0e\xdc\x4e\x95\x4d\x46\xaf\x6f\x0a\xec\x89\xaa\x1e\x2e\x23\xb7\x17\x99\x88\x57\x97\x08\x52\x8e\xd0\xc8\x28\x14\x97\xf5\x76\x4a\x70\x98\x73\x8e\x66\x6c\x6a\x04\x2a\x21\x81\xdc\x9b\x62\x6b\xdc\x76\xd5\xab\x2f\x35\x22\x32\xca\xf6\x32\xdc\x45\xf9\x53\xd6\x52\x17\xd7\x25\x98\x02\x4f\xf2\x4f\x29\xda\xa6\xe8\x85\x4e\x85\xfe\xe6\xd2\xad\xf7\xa2\xd9\xe3\x4e\x07\x11\xc2\x15\x3c\x94\x11\x41\xd2\x67\x98\x24\x7e\xb8\xf2\x96\xe0\x08\xf2\x3d\x63\x80\xce\x58\x7b\x9c\x60\x28\xd4\x38\xa6\x08\xa6\xab\xd0\x1d\xe0\xff\x0f\x45\xfb\x2e\x61\xc7\x8b\xff\x44\xd7\xfe\x40\x6e\xbd\x0b\x11\x5a\x9f\xfe\x12\xbb\x33\xc9\x20\x07\xcf\x65\x6b\x4b\x63\xed\x13\x6d\xb2\xf4\x19\xb4\xb2\x76\xd9\xd3\x35\xec\xf0\x2c\xc7\xcc\x9b\x69\x60\x0c\x92\x18\x7a\x62\xf5\xa8\x83\xe3\x15\x23\x5f\x48\xab\x28\x5f\x9a\xbc\xc7\xd0\x90\x2b\x24\xc1\x9f\x64\x4d\x61\x78\x3f\xcb\xf2\x1c\xe1\x3f\x03\xcb\x7a\x44\x2c\x7d\x55\xd3\xd5\x8b\x1e\xb6\x1e\x95\x3c\x13\x28\x2d\xbe\x98\x5c\x6e\xa9\xbd\x5c\x51\xe8\x54\x6e\x07\xec\xb5\x60\x94\xfa\xe7\xc2\xe3\x73\xc3\x5e\xf9\x3d\x44\xb4\x39\x72\x87\xe8\xe4\xdb\xe5\xba\xfc\x44\x44\xd3\xf6\xc7\x36\xfc\x7a\x22\x43\x97\x4c\x2e\x2e\x7f\xdf\x9c\xdb\x3e\xe6\xf9\x46\xbd\x2e\xfe\x0b\x00\x00\xff\xff\x08\x6c\x5d\x2e\xaa\x0a\x00\x00" +var _crossvmmetadataviewsCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x56\x4b\x6f\xdb\x46\x10\xbe\xeb\x57\x4c\x73\x08\xec\x40\xa6\x10\xe4\x12\x08\x75\x83\x24\x90\x01\x03\x65\x1a\xa4\x2e\x7b\xac\x96\xe4\x50\xdc\x76\xb9\x4b\xec\x0e\x45\x0b\x86\xff\x7b\x31\xbb\x7c\xea\x01\x27\x68\x75\x91\xad\x9d\xf9\xe6\x9b\xc7\x7e\xb3\xb2\xaa\x8d\x25\x78\x95\x48\x6c\xbf\xa1\x33\x6a\x8f\xf6\xd5\xa2\xff\x75\x93\xc4\xaf\x16\x8b\xd5\x6a\x05\x0f\xa5\x74\x90\x19\x4d\x56\x64\x04\xb2\xaa\x15\x56\xa8\xc9\xc1\x5e\x62\xeb\xc0\x58\xb9\x93\x5a\x28\x75\x80\xda\x9a\xda\x38\xcc\x41\x6a\xb8\xfb\xf5\xfe\xeb\xcd\xbb\xb7\xef\xc1\x35\x35\x23\x4a\xbd\x83\x2f\x77\x0f\x90\x19\xa5\x30\x23\x69\xb4\xf3\xe8\xad\xa4\x92\x1d\xff\xc6\x8c\x6e\x72\x2c\xa4\x66\xff\x3e\x88\xf0\x86\x20\x32\x6b\x9c\x83\xd4\x50\x09\x9f\x45\x8e\x3a\x43\x78\x0d\x9b\x24\x8e\x3a\x86\x08\x9c\x05\x38\xb2\x4d\x46\x8e\xe3\xd3\x8c\xb5\x2b\x4d\xa3\x72\x48\x71\x84\x0e\x34\xa9\x44\x70\xa2\x42\x68\xc5\x01\xa8\x14\xd4\x65\x55\x58\x53\xc1\x36\x46\x12\xb9\x20\xc1\xe0\x6e\x0b\xc2\xce\xfc\x7d\xec\x85\xc8\x32\x74\xee\x4a\x28\x75\x3d\xc6\xfb\xcc\x7c\x93\x78\xe6\x0f\x4f\x8b\x05\x00\x00\x7b\x7d\xd4\x80\xba\xa9\x20\x47\x6d\x7c\x69\x04\x24\x71\x04\x77\xc6\x82\x36\xed\x92\x69\x59\xf4\xf1\x8c\x56\x07\xa0\xd6\x40\x12\x3b\x30\x1a\xee\x14\x9f\xa7\x0d\x85\x0c\x3d\x4a\xd6\x25\x37\xc0\xe3\x63\x2d\x74\x3e\x66\x88\x7b\xd4\x04\x86\x51\x3d\x0e\x03\x77\x7d\xc1\x9c\x51\xd9\x48\x23\xb5\xc6\xfe\x13\xf5\x28\xfe\x7b\x9a\x9d\x8f\x95\xc4\xb0\x86\x3f\xee\x35\xbd\x87\x27\x6f\x71\x6c\x95\x09\x87\x7d\x93\x2e\x1b\x6c\x92\xd8\x1f\x3e\x8f\x35\xf1\x1d\xb4\x61\x10\x73\x10\x34\x56\xf3\xb5\xff\xb9\xb1\x19\x82\xc2\x3d\x2a\xa8\x8d\xd4\xbe\x6c\x64\x3c\x75\xe1\x9c\xc9\xa4\xe0\x64\x36\x49\x7c\x34\x3e\x43\x42\xf0\xe5\xb7\x87\xcd\x3a\xcc\x33\x77\x19\x84\x32\x1a\x41\x3a\xd0\x86\xc0\x35\x45\x21\x33\xc9\x85\x22\x03\x7b\xa1\x64\x2e\x08\x41\xe8\x01\x5d\x1a\xdd\x4f\xe2\x6c\x08\x7f\x1a\x02\x7c\xe2\x01\x65\x42\xfd\xf9\xc3\xa1\xc6\xd5\x90\xc7\x1b\xa1\xf3\x37\xfe\x9c\x59\x1e\x0f\xa7\x4f\x8a\x63\xa3\xc8\xca\xd0\xac\x65\xb8\x1e\x54\x8e\xad\x65\x4f\x6f\x89\x16\x52\xe4\x1a\x14\x22\x93\x4a\x92\xcf\x3e\x3d\xc0\x7d\x37\x7b\x91\x33\x6a\x72\x6d\xd9\xa1\x10\x19\x42\x85\x54\x9a\xdc\x85\x61\xab\x8c\x1d\xa1\xa5\x2e\x8c\xad\xba\x3c\x75\xee\x9d\xf1\x91\x96\xe0\x10\x87\xfb\xbc\x86\x92\xa8\x76\xeb\xd5\x6a\x27\xa9\x6c\xd2\x28\x33\xd5\xca\xe8\x42\x99\x76\x55\x28\x59\xbb\x95\x74\xae\x41\xb7\x7a\xf7\xf6\xfd\xc5\x49\x0a\xf7\x94\x73\xf9\xda\xa5\x32\xce\x52\x7f\xa1\x27\x3d\x9d\x56\x13\x06\x8d\x08\x53\x3b\x64\xe8\x2f\x2f\x0d\xbd\x95\x0e\x2c\x52\x63\xd9\x94\x2f\xf3\xd9\x51\x54\x48\x90\x05\x70\xc6\x5e\xfb\x08\x27\x4c\x7c\x44\xae\x74\xcf\x63\x88\x29\xf2\xdc\xa2\x73\x2f\x61\x7f\xee\xec\x3f\x06\xf3\x35\x7c\x3c\xf2\x3b\x93\xf3\x6c\x42\xba\x38\x7d\x8e\x78\xca\xa4\x95\x4a\x41\x6a\x65\xbe\x43\x20\x73\x91\x10\xee\xab\x13\x32\x2c\xa3\x9b\x24\x3e\xc7\xe9\xcf\x12\xbd\x66\x74\x77\x0c\x89\xcb\xda\xc5\xbe\x01\x63\xd9\xf7\x46\x0b\x92\x7b\x8c\xe0\x8b\xff\x06\xaf\x5c\x15\x0a\x5f\x31\x76\xe4\x0b\xa9\xa1\x2d\x65\x36\x4e\x72\x1f\x60\x00\x9d\x6c\x91\x5c\x3a\xb2\x32\x6d\x08\xf3\xe8\x62\x22\x21\x68\x12\xaf\x21\x89\x17\x83\x95\xd4\x92\xae\x86\xff\xf8\x73\xd2\xdd\xe5\xb9\xe3\x4b\x0d\x9a\x1b\xbf\x5c\xbc\xb9\xfd\x8c\x63\xff\xe3\xf5\x64\xd4\xf9\xe3\x50\x15\xd1\x84\x25\xdc\x4e\x39\x5f\x34\x3d\x22\x32\x7a\x1d\x1d\x9c\x02\x9c\x66\x01\xb7\x67\x52\x3b\x75\xec\xd3\x81\xdb\x21\xb3\xc1\xe8\x79\x2a\xe6\xd3\x5e\x15\x8d\x86\x1d\xd2\x78\xd3\xaf\xfe\xf2\xf7\xb3\x7f\x70\xac\xe1\xf5\xd3\xf4\x01\x12\xf5\x7f\x3c\x5f\xaf\x27\xfa\xf0\x61\x52\x35\x59\xf8\x09\xf0\xb7\xfc\x76\x06\x16\x75\xdb\x83\x01\xaf\xb8\x7c\x3f\x8f\x08\xbf\x5c\x5d\x1f\x97\xbe\x07\xea\x50\x40\xb8\x0f\xe7\x25\xa9\xff\x04\x41\x81\xfd\xec\xe0\x79\x71\xfa\x57\x67\xa8\xa5\x7a\x71\xc9\x1d\x6d\xb6\xf1\x41\xa0\x0f\x2c\xd5\xfe\xf9\xc0\x4b\x21\x45\xa8\xf9\xb6\xe4\xe7\x77\xde\x10\x60\xd4\x8c\xa0\x14\x24\x2b\x04\x53\x04\x6d\x90\x7a\x17\x85\xfd\x67\x6a\x96\x79\xa1\x42\xe6\xad\x5f\x40\x42\x29\xd3\x7a\xe1\x71\x32\xc7\xa3\xe8\x43\x80\xa6\xce\xc3\xaa\x11\x2e\xbc\x1d\xb2\xc6\x5a\xde\x9a\xbd\x26\x39\x5e\x45\x11\xdc\x17\x3e\x7e\x2f\xc6\x61\xc5\x76\x4f\x8e\x25\x68\x03\xe9\x81\xd0\x75\xc2\x35\xc2\x77\x49\x4a\x4d\xc6\x53\x69\x4b\xd4\x23\xf9\xef\xd8\x28\x9f\x18\xb6\x7f\x78\x1d\xed\x95\x6f\xbe\x2f\xce\x13\x0b\xe1\xcf\x55\x76\x26\xbd\x46\xc3\xb6\x68\x54\x21\x95\x7a\x30\x9b\x24\xde\x42\x26\x94\x5a\x86\x62\x75\x12\x37\x8b\x31\xf3\x26\xd3\xd5\xcb\x03\x0f\x15\x9d\xf4\xae\x5f\xf0\xfc\x38\x8e\xfc\x12\xc8\x8c\xb5\xe8\x6a\xa3\x73\x86\xff\xdd\x28\x99\x4b\x3a\xcc\x62\x6c\x3d\xf9\x2d\x10\x0b\x86\x67\x12\x72\x1a\x1f\xa7\x16\x76\x16\x05\x7f\x17\x0a\x1f\x65\xca\x2f\x84\x03\x3f\x0f\x50\x8b\x54\x75\xbc\x2b\xe6\xc7\xb9\xcf\x35\xd9\xa6\x92\xac\xb0\x07\xf0\x5c\x53\xa4\x16\x51\xf3\xbb\xf1\xb2\x1c\x7b\x3e\x83\x1a\xfa\x16\x1c\xa9\xf2\x19\x8b\xb3\x52\x18\xda\x72\x1b\x10\x7f\x44\x5f\x66\x7d\xff\x41\x95\x99\xf9\xfe\x07\xad\x99\xe1\x7c\xbf\xe2\x5c\x1a\xd9\xff\x41\x77\x9e\x17\xff\x06\x00\x00\xff\xff\x79\xe0\x8d\x86\xe7\x0d\x00\x00" func crossvmmetadataviewsCdcBytes() ([]byte, error) { return bindataRead( @@ -90,11 +90,11 @@ func crossvmmetadataviewsCdc() (*asset, error) { } info := bindataFileInfo{name: "CrossVMMetadataViews.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc6, 0x44, 0x9a, 0x4f, 0x6e, 0x3, 0xaa, 0x4, 0x47, 0x15, 0x54, 0x86, 0xdc, 0x89, 0xbb, 0x79, 0x8, 0x3b, 0x53, 0x6b, 0xd7, 0x78, 0xa, 0xa5, 0x4f, 0x3d, 0x55, 0xcc, 0x15, 0xf8, 0x1e, 0x6e}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0x79, 0xb7, 0x7b, 0x87, 0xc7, 0x50, 0xde, 0x5b, 0x12, 0x6e, 0xbd, 0x6f, 0xca, 0x51, 0x7c, 0x2b, 0x90, 0x5a, 0xc7, 0xf0, 0x1c, 0x4, 0x28, 0xe9, 0xf3, 0xf8, 0x28, 0x38, 0xc7, 0xf5, 0x24}} return a, nil } -var _examplenftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x3b\x6b\x73\x1b\x37\x92\xdf\xf5\x2b\x3a\xfc\x90\x23\x73\x34\x65\xe7\xb5\xbb\x2c\x33\x4e\x22\x59\x39\x5e\xd9\x5a\x97\x44\x3b\x57\xe5\x52\x79\xc1\x99\xa6\x88\x68\x06\x60\x00\x8c\x68\x96\x4b\xff\xfd\xaa\x1b\xf3\xc0\xbc\x48\xca\xbe\x5c\xdd\xf1\x83\x44\xce\xa0\x1b\xdd\x8d\x46\xa3\x5f\x38\xfd\xe6\xe4\x9b\x93\x6f\x00\x16\x6b\x69\x41\x5a\x10\x0a\xf0\xa3\x48\x37\x09\x82\xa4\xbf\x29\x2a\x27\x9c\xd4\x0a\xf4\x0a\x04\x5c\x24\x7a\x0b\x97\x5a\x3d\xb9\xc8\xd4\xad\x5c\x26\x08\x0b\x7d\x87\x8a\x30\x64\x56\xaa\x5b\x70\x6b\x84\x77\xdf\x82\x75\x42\xc5\xc2\xc4\x13\x7a\x33\x77\x84\x59\x69\x07\x1b\x61\x1c\x21\xa2\x51\x7a\xb5\x92\x91\x14\x49\x39\x16\x96\x99\x03\xe9\x40\x58\x9b\xa5\x18\x83\xd3\xb0\x44\x82\xb7\x32\x95\x89\x30\xf4\x60\xad\xb7\x90\x0a\xb5\x83\xcb\x8b\x85\x85\xad\xce\x92\xb8\xa2\x93\xd1\x46\xda\x20\xac\x32\x15\x11\xd1\x22\x91\x6e\x37\x09\x38\x8c\xb4\x72\x46\x44\x0e\x62\x8d\x9e\xa4\x0a\x9a\xd0\x5a\xbd\x59\x4b\xeb\x64\x24\x1c\xc6\x10\x25\xc2\x5a\xb9\xa2\x5f\x52\x33\x93\x76\x67\x1d\xa6\xb0\xd2\x06\xa4\xb3\x4c\xc5\x84\xf8\x8b\x71\x25\x15\x5a\x10\x44\x2c\x09\xef\xf2\x62\x01\x5b\xe9\xd6\x90\x4a\x25\x53\x91\x40\x8a\x4e\xc4\xc2\x09\xa6\xe6\xf4\xe4\x44\xa6\x1b\x6d\x1c\x0c\x2e\xb5\x2a\x64\xc9\xa2\x1c\x94\x6f\xde\x49\xdc\x5e\xa1\xd5\xc9\x3d\x9a\xea\xe9\xeb\x1c\x0f\xbd\xb5\x83\x93\x13\x11\x45\x68\xed\x50\x24\xc9\xa8\xe2\xee\xa5\x5f\xc2\xcb\x8b\xc5\x14\x9a\x13\xc0\xa7\x93\x13\x00\x80\xd3\xd3\x53\xb8\x2e\x44\xff\x46\xb8\xb5\xe5\xc7\x21\xbe\x04\x1d\x9c\xe9\x24\x41\x16\xe6\xb5\xd3\x46\xdc\x22\x0d\x9d\x42\xf0\xe3\x00\xd8\x9b\x6c\x99\xc8\xc8\x43\x55\xdf\x2b\x1a\xe8\x17\x6c\xd7\x68\x90\xd7\x2f\x95\xca\xa1\x01\xbb\xe6\xb5\x5d\x22\x58\xa7\x0d\xc6\xe5\xf0\xc5\x1a\x2b\x8d\xd9\x10\xd9\xbc\x1a\x7e\xe9\x8b\x39\x41\x98\x02\x10\xa4\x6a\xbe\x34\x68\x75\x66\x22\x04\xb7\xdb\x60\x27\xf5\xaf\x99\x88\x5e\x86\x4b\x62\x7e\x47\x88\xd6\x5a\x5b\x4f\xba\x12\xa9\x5f\x78\x62\x66\xcc\xea\xec\x48\xe9\x68\x1a\x88\x84\x82\xb5\xb8\x47\x56\x33\x1e\xa9\xf4\xb6\x44\xb4\xc4\x48\x64\x39\x1a\x9e\x7b\x25\x22\xac\x94\xd4\xe0\x9f\x99\x34\x48\xbb\x83\x36\x01\xa3\x01\xbb\xc1\x88\x94\xd3\x63\x23\xb4\xa9\x36\x6d\x7e\x4a\x6e\x3b\xb5\x61\x42\xf4\xe6\x1a\xd1\x25\x09\x19\x4f\xe1\xed\x5c\xb9\x1f\xbf\xaf\xc6\x10\xc1\x17\x46\xa7\x4c\xed\xb9\xb4\x9b\x44\xec\x4a\xfd\x86\x7b\x89\xdb\x5e\x74\x44\x2a\xc9\xd2\x48\x75\xdb\x3b\x28\x46\x1b\x19\xb9\xa1\xb5\x3a\x38\xd6\xad\xb3\x74\xa9\x84\x4c\xca\x91\x75\x32\x73\xd5\xb8\xd2\x3b\x91\x38\x89\x76\x3f\x9d\x16\x93\x95\xc7\x6b\x0a\x80\x29\xbc\xaf\x6d\xb9\x89\x47\xb5\xbb\xa9\x4f\xf4\x1b\x2a\x34\x32\x82\x58\x7a\xc3\x63\x76\x6c\xe7\x8c\x20\x33\x41\x14\xb0\x5e\x08\xdb\x3f\x63\x41\xd8\x14\x3e\x79\x4e\xa6\xf0\x8b\xda\x5d\x3b\x93\x45\xee\xa1\x9a\x4c\x2a\xe9\x86\xe5\x2f\xfa\x84\x32\x1d\xd7\xde\x74\x08\xb2\x3e\xa0\x25\xbd\xfa\xeb\xc3\x42\xa8\x8f\xdf\xcb\x42\x35\x74\x04\x9f\x6a\x60\x24\x83\x89\x8c\x61\xe6\xbf\x65\x99\x8c\xdb\xef\x59\xc9\x67\xcc\x6c\xfb\x65\xc0\x28\xcc\x42\xb6\xdb\x43\x4b\x96\x61\x56\xb1\xdf\x1e\x56\xb2\x0e\xb3\x4a\x0c\xed\x61\xa5\x36\xcd\x4a\xe6\xcb\x41\x0f\x75\x0d\x89\x0c\x0a\x87\x2f\xd3\x8d\xdb\x55\xc6\x31\x7f\xea\xcf\x5d\x7a\x15\x18\xce\x1a\xb4\x50\x31\x18\x74\x99\x51\x36\xb7\x02\x6c\xd4\x44\x92\x90\xb1\xa4\x5f\x82\xcf\xbf\x1d\x1b\x1a\xbd\x55\x7c\x36\xd5\x50\xfc\xfc\xa9\xb5\xf9\xab\xc9\x1e\x3a\x77\xd8\x2a\x53\xdd\x74\x0f\x47\xd3\x03\xf8\x1a\x6b\xec\x69\x87\xe7\x4f\xaa\xa3\x69\xd2\x8d\x59\xad\xdc\x62\xb7\xc1\x29\xd0\xdf\xe7\x3f\x07\xe3\x2f\x2f\x16\x3f\x0d\x47\xa3\x2e\x01\x87\x44\xd3\xc6\x66\xca\x6f\xd1\xb1\xb6\x12\xb1\xef\x09\xdb\x4d\x37\x51\xef\x6b\x0f\xe9\xc3\x53\xd7\x35\x3e\xb7\x73\x3f\x0d\x47\xe3\x63\x86\x97\x06\xe7\x58\x80\x97\xb1\x24\xf6\x8f\x1f\xff\xd1\xa1\x51\x22\x79\x7b\xf5\xea\x58\x90\xcb\x8b\x45\x25\xe7\x73\xe1\xc4\xe7\x01\x3e\x4e\x10\xd7\x68\xa4\x48\x8e\x1d\xbd\x60\x83\x79\xb4\x0c\xde\xbd\xfe\xd5\xc8\xf8\x16\xe3\xe2\xf9\x4f\xc3\x51\x0d\xf0\xe6\x90\xb2\x90\x9e\x18\xef\x64\x11\xce\xe1\x07\x56\x1f\xaf\x7c\xa3\xc0\x7c\xbd\x68\xda\xac\xad\x74\xd1\xda\xeb\xda\xa7\x16\xad\x91\xb0\xb8\x5f\x89\xa6\x2d\x18\xa8\x14\xb2\x13\x68\xd8\x09\x01\xe5\x01\x50\x5a\xc9\xb6\xe8\x8a\x4f\xed\x3c\x68\x1a\xce\x7e\xb0\xe0\x94\xa8\x53\xf6\x1f\x8b\xc5\x9b\x0b\x99\x60\x3f\x69\xf4\xc9\x4c\x32\x6d\xd8\xde\xde\xf1\xa3\xce\x37\xed\xa7\x7d\x02\x0e\x76\x51\xb7\x84\xbd\x07\x49\xae\x14\x79\x56\x90\x8a\x8f\xa0\xb2\x74\x89\x86\x8e\x6b\x0e\x2a\xd8\x92\x92\x11\x5d\xe6\xce\x68\x0c\x2b\xef\xec\x04\xf1\x43\x1f\x6e\xeb\xed\x32\xa1\x45\x4f\x0a\xac\x24\x26\x31\xdc\x8b\x24\xe3\x49\x2d\xb2\xf5\x56\x3d\x42\x20\x4f\x20\x87\x9c\xab\x95\x86\x19\x74\x32\x38\xf4\x6b\x3e\xc8\xad\x23\x7b\x17\xf9\xab\xc1\x38\xe7\x68\x5a\x1c\xac\x63\xa2\x67\x4a\x53\x76\x8b\x37\x98\xf3\x95\xb4\xae\x75\xd8\xe7\x88\x6f\x60\x06\xef\x03\xda\x6e\x8e\x57\xe1\x62\x59\xfa\x15\x25\x98\xff\x0b\x55\xa0\x34\x38\x8f\xd8\x62\x1e\xa6\x9f\xba\x5c\x90\x5f\x48\x59\x78\x26\x3c\x82\xb8\x12\xec\x00\x7d\xdd\x6e\xca\xe3\xc9\xac\x9f\x2c\x8f\x20\x34\x00\x1c\x0e\xd6\xce\x6d\xec\xf4\xf4\x34\xcf\x26\x3c\x51\x2b\x37\xd1\x6a\x95\xe8\xed\x44\x9b\xdb\xd3\xc1\x24\xd2\x2a\x12\x6e\x98\x8b\x76\xe2\xb4\x77\x19\x87\xa3\xd1\xf1\xa4\x76\x9d\x68\x7b\x09\x0e\xbc\x89\xdc\xea\x9f\xe5\x3b\x9a\xad\x7f\x11\x2b\xed\x75\x40\xc6\x6c\xf5\x83\x21\x87\x69\xfa\x5c\x8e\x8e\x3b\x2e\xfe\xd7\x99\x2a\xc9\x3a\x9e\xaf\xf2\x60\xef\x35\xcb\xf8\x31\x4a\xb2\xb8\xb0\xb9\x0b\xc9\x31\x6d\x0c\x2b\xad\xc9\x5e\xda\xb5\xde\x82\x76\x6b\x34\x90\x59\xb4\x64\xad\x3d\xca\x7e\x8b\xe6\xf1\xc5\x7e\x18\xd9\xae\x41\x85\x7a\x30\x86\xc1\x4a\xeb\x41\xb7\x0d\xe3\xc0\x92\xc1\x88\xf8\x96\x0d\xa6\x18\x6f\xa1\x3d\xde\x21\xfd\x98\xd6\x83\x81\x71\x39\xf7\xa5\x48\x29\x78\xaa\x93\x32\x3a\xe9\x13\x41\xc0\xba\xb4\x20\x20\x53\xf2\x23\x38\x99\xa2\x75\x22\xdd\x8c\x61\x8b\x45\x5e\x24\x15\xe6\x8e\xe2\x00\x4e\x31\x09\x88\xfd\x8a\x90\xdc\xe9\x08\xda\x24\xc2\xad\xb4\x49\x2d\xdc\x29\xbd\xe5\xa4\x59\x21\x42\xe9\x26\xbd\x2c\x57\xd3\x33\xa1\x2d\xbe\xf9\x69\x71\xf2\xd4\x64\xc9\xa7\x5b\x43\x0a\x35\x71\xdf\x7c\x35\x0e\x89\x9c\xc2\xe0\x5c\x38\x82\x34\xc2\x48\xb7\xdb\x73\x38\x55\xeb\x30\x11\xb1\x97\xe0\xb0\x41\x68\xbf\x40\x49\x79\x58\x92\x8c\xc5\x4b\x8b\x94\x81\xe2\x23\x3f\x73\xaf\x30\x56\xda\xaf\xf0\x15\x0f\x6b\xc9\xc2\x3f\x1e\xda\x48\x1b\x9c\xc2\xb3\xa7\x93\xa7\xf9\x29\xfb\xec\x29\x7f\xaf\xb9\x5a\x83\x33\x9d\xa6\x5a\x0d\xfa\x8f\xdf\x62\xb6\xfd\x32\x27\x8d\xed\x13\x36\x6b\x73\x43\xc8\x4a\x26\x95\x84\xeb\x0c\x1d\x2f\xec\x02\xae\x47\xca\xb9\x0d\xaa\x20\x8f\x3f\x67\xba\xbc\xf7\x5e\xf3\x30\x2f\xf2\xb4\x3e\xcb\x2c\xad\xf7\xbd\x6f\xe5\x3d\xfa\x04\xcb\xc6\xe8\x3f\x30\x72\xde\x45\xd3\x09\xe8\x7b\x34\x5e\xf5\xd7\x08\x4b\x3f\x11\xfb\x49\xd2\x82\xc1\x8d\x41\x8b\xec\xdc\x09\x0a\xbe\xfb\x66\x7d\x79\x75\xf6\xb7\x6f\x9f\xc1\x76\x8d\xaa\xc4\xe1\x34\xbc\x7c\xf7\x1a\xb4\xf2\xd9\xf0\x7b\x29\xfc\xfc\x9c\xdb\x04\xa9\x56\x46\x58\x8e\x19\x32\x53\x4c\x3c\xe9\xd5\xd0\xdf\xb0\x48\x5b\x7b\x8b\xfd\x24\xc1\x7b\x4c\x8a\x94\x5e\x0c\x76\x97\x2e\x75\xe2\xd7\xbc\xdf\xd6\x15\xd0\xaf\x18\x78\x76\xe8\x44\xd8\xeb\xae\xd7\x8f\x0b\x52\xa1\xbd\xc3\xf7\x1e\x1b\x87\x03\xb4\xf0\x33\x02\x61\xbf\x6a\xfa\x14\x2d\x0c\x2f\xba\x65\x29\x57\x35\x49\xbc\xae\x12\x33\x75\xe1\xb4\x83\xb5\x60\x35\xce\x74\xba\x29\xb2\xb9\x4e\xdf\xa1\xca\x97\xe3\xed\xd5\x1c\x96\xc2\x62\x4c\xab\x2e\xf8\x2b\x3f\xa3\x15\x2a\xc7\xc2\xfc\x7c\x0c\x1b\x2d\x73\x15\xd5\x20\xe0\x3f\xaf\xff\x79\x09\x2b\x99\xe0\x84\xcb\x0f\xfb\xa6\xde\x16\xf9\x6e\xc1\x00\xb0\xd3\xd9\xbf\xdd\x23\x64\x9b\x44\x8b\x98\xd4\x54\xc5\x9c\xd5\x5e\x6b\xcb\xf8\xad\x4e\xd1\x67\xcd\x9f\xf8\x14\x37\x45\x27\x44\x17\x05\x65\x41\xf2\x39\xca\xf1\xee\x9b\x7b\xfe\xe6\xe2\x7a\x0c\xd7\xdf\x8d\xe9\x28\x21\xa1\xbd\xbd\x7a\xc5\x62\x13\x52\x15\x45\x1d\x66\x25\x96\x06\x23\x97\xec\xc6\x80\x2e\xea\x3e\x48\x20\x57\x49\x92\x11\x89\x68\x06\x87\x5c\x41\x2f\xe8\xc2\x92\x9d\x0e\xf6\xa2\xcd\x8c\x7c\xc7\xa1\xd4\x0c\xda\x9e\x63\xe1\x53\x0e\x26\x7f\x58\x36\xb7\xbd\xa8\xba\xfd\xd7\x96\xae\xed\xdf\x29\xde\x2a\x37\x35\xee\x40\x0c\x4e\x1f\xbf\xa9\x3b\x40\xfd\x8b\xfd\xc0\x99\x91\xcd\x38\xfc\xed\xd5\x7c\x3f\xa5\xf4\xc9\x17\x64\x5a\x7c\x19\xd3\xca\x73\xdd\x8a\x96\xb8\x58\x2e\x83\x36\x4b\x9c\x25\x95\x12\xe0\xc5\x89\xaa\x2c\x00\x16\xa3\x48\x19\xd9\x24\x1d\x9c\x35\x3c\xac\xf6\xaf\xd5\x3e\x2c\x7b\x6c\x46\xe7\x9b\x07\xc0\xc4\xe2\x9e\xbd\x9e\xaf\x7f\x5f\x14\xfe\x70\xd2\xff\xab\x03\xd4\x0f\x78\x28\xea\x42\x70\x4e\xc7\x0b\x97\x10\xa7\xf0\x4f\x95\xec\xb8\x20\xc4\x65\xaa\xa5\x88\xee\xb6\xc2\xc4\x10\xe9\x74\x23\x9c\x5c\x4a\x5f\xa1\x84\xbe\xa2\x4d\x55\x0c\xaa\x6c\x7a\xb3\xb6\x06\x9f\xf2\xa9\x3b\x31\x54\xa3\x3b\xaa\x3f\xd5\xcb\xf1\xde\x09\x6a\x89\xe4\x7a\x8d\x83\x8e\xd4\x48\x2b\xf2\x37\xbd\xdd\xbb\x43\x55\x4f\x3c\xe7\x87\xae\xa8\x17\xde\x72\xdf\x55\xc1\xbf\x7c\x7d\xe9\x5f\x30\x3f\xf7\xc9\x92\xee\xac\xae\x30\xe4\xb6\x61\x7c\x79\xb1\xb0\x53\xf8\xf9\x93\x87\x9a\x42\x3b\x0b\x7d\x79\xb1\x78\x68\x54\x4c\x60\xd8\x59\x74\x28\x11\xc2\xf3\x27\x24\xc5\x6a\x41\x6b\x0c\xdc\xa2\xbb\xce\x36\x1b\x6d\x1c\x8f\xa6\x83\xce\x96\xd9\x78\x01\x89\xb4\xae\x90\x84\xe3\x77\x79\x36\x9e\x3d\x8d\x08\x25\x79\x22\xc4\xcb\xc6\xb5\xea\x3f\xad\x8c\x75\x6b\xa2\xe1\x68\x0a\x9f\xfc\x09\xfb\xab\xd6\x49\x33\xb1\x4e\x46\xd1\x16\x30\x0c\xd0\x18\x3e\x0b\x19\x63\xce\x6b\xa3\xdf\xf7\x04\x84\x37\x30\x03\x67\x1a\x3b\x3c\xd7\xfd\x3a\x86\x3e\xa9\x5d\xe5\x02\xda\xae\x91\xe3\x36\x6d\xb8\x96\x49\x87\x09\x79\x6d\xca\x6b\x01\x29\x06\x8b\x06\x63\x58\xee\x1a\xa5\xda\x1a\xbe\x5f\xc2\x1a\x6e\x99\xa5\xf3\xc0\x5c\xfe\x64\x7c\x79\x80\xf4\x47\x66\x5d\xe5\x9b\x66\x48\xb8\x63\x5c\x89\x2c\x71\xfb\x97\x40\xda\xe6\x0a\x0c\x5d\xe9\xde\x8c\xbc\x50\xbb\xcb\x08\x3c\xfd\x6c\xd6\x17\x61\xf7\x89\x89\xb6\x41\x6c\xc4\x16\x0c\xa6\xfa\xde\x97\x82\x48\x93\x56\x45\x85\x35\x2c\x6b\xab\x18\xfc\xa0\x66\x0d\xa8\xc9\x54\x6b\x53\xfc\x9e\x4f\xe3\x53\xde\xc5\xa4\xc3\xe2\xcb\xfc\xbc\xa8\xf3\x76\x57\x76\x68\x4f\x75\x68\x9e\x77\x7c\x9e\x3f\x69\x6c\xa7\x89\xe7\x65\x78\x87\xbb\x29\x54\x53\xb4\x8d\xf5\x8b\x17\xb0\x11\x4a\x46\xc3\x41\x20\xaf\xca\xfc\x4c\x0a\xd8\x29\x9c\xf1\xb2\x92\x02\x95\x02\xcb\x05\xc5\x76\x64\x7e\x0e\xfd\x8e\x43\x71\xd6\x54\x94\x84\xe9\xa6\x83\x60\x83\x09\x9c\xad\x31\xba\x63\x71\xdb\x6c\x99\x4a\x47\xda\x3a\x3f\xa7\x25\x48\xc5\x1d\x3d\xf4\xc5\x79\x69\x41\x2b\x0c\xb6\x7f\xb0\x76\x7a\xab\xec\x64\x30\x6a\x38\x25\x65\x5d\x8c\x25\xd9\xa7\x23\x31\x6e\xb4\xa5\x25\x17\x77\xdc\x64\x42\x6c\xb3\x43\x18\xc7\x35\x55\x28\x67\xb3\x81\x91\x6e\xd5\x11\x19\x8a\xc6\x7b\x0e\xb8\xe7\x80\x9c\x4b\x23\x76\xbd\x35\x92\x9c\x82\x21\x93\xd9\xab\x21\x4d\x23\x5b\x53\x11\xff\x85\x5c\xfc\xc6\xe6\x68\x81\x70\x2d\x98\x87\x4f\x64\x5c\x97\x17\xb1\x10\x7b\xa7\x5b\xe1\x36\xc7\x99\x33\x11\x9c\x4b\xdb\xb5\x8c\xd6\xe5\x8e\xe2\x76\xa3\x84\x9c\x77\x6c\xcd\xa5\x93\x78\xd1\xad\xc4\xef\x0b\x0a\x6e\x4a\xea\xeb\xb4\xc4\x68\x9d\xd1\xbb\x12\x45\x8b\xd2\xbc\xe5\x28\x66\x2b\xc7\x5d\x2a\xe8\x9d\xf7\x4d\x66\x28\xce\x20\x6d\x49\x76\x4d\xa8\x73\xcd\x6a\xce\x6c\x6a\x8a\x03\x4c\xd5\xd8\x93\xa9\x04\xad\xa5\x87\xcd\x2e\x90\x26\x16\x83\xc2\x6a\x16\xcd\x56\x28\xd6\x10\x4c\xa5\x2b\x5a\x11\xde\x6e\x62\xee\x70\xc2\x7b\x54\xae\x8a\x25\x9a\x48\xa4\xaa\xcf\xdf\x92\x9e\xc8\xdc\x9a\x79\xbf\xc2\x15\xcc\x60\xf8\x75\x43\x84\x24\x3c\x0a\xb0\x33\xb7\x6e\x9b\x24\x4f\xc4\x08\xbe\xee\x56\xa6\x17\xa3\xaf\x1a\xf4\x84\xb3\x4d\x32\x86\x5e\x18\xa1\xec\x0a\xcd\xb9\x70\x38\xa4\x07\x53\x3a\x44\xcf\x32\x63\x50\xb9\x5f\x13\x1d\xdd\x0d\x47\x93\x32\x85\x56\xdf\xeb\x81\x16\x92\x6c\x2a\xb1\x0c\xc3\x89\x7a\x0d\xf7\x2d\xba\xf9\x79\xe0\x07\x28\xbf\x85\x8a\xfe\x36\x7a\xc7\x86\x80\xa2\xb6\x56\x13\xd2\x41\x3f\x60\x7e\xee\xeb\xd6\xde\x28\xf7\x54\xae\x1b\x56\xf7\x0e\x77\xbd\xa7\xf1\x6f\x98\x37\xa2\x88\x54\x67\xca\x95\xe5\xae\xbe\x2e\xa9\x83\x04\xbe\x42\x75\xeb\xd6\x44\xe3\x5c\xb9\xa3\xc8\x4b\x18\xe2\x50\x45\xb6\x9c\x63\xa9\x8d\xd1\xdb\xcb\x8b\xc5\xf0\x43\xd0\x86\x34\x9a\xf6\xea\x4b\x37\x11\x1d\x2a\xd9\x27\xa3\x5f\x79\x46\x16\x04\x53\x91\xe7\x4e\x4c\xd9\x61\x96\x6f\xb6\x3c\x91\x34\x3f\x3f\x86\x81\xb0\x8d\x6f\xd8\xe0\x23\x7c\x37\x29\xbe\xb4\x18\xc9\x53\x1b\x6a\xe5\x60\xd6\xc5\x0e\xed\xb0\x23\x65\x12\xc8\x85\xd0\x31\x60\x37\x11\x8f\x8d\x80\x6a\x82\x7c\x74\xaf\x4b\xb1\x69\xac\x48\x83\xb6\x3c\x38\xa2\xf9\xa5\x36\xf0\xe7\x9c\xb4\x5f\xaa\x39\xa2\x23\xe6\xf8\xff\xd4\xf2\x02\x61\xa4\xf9\x39\x92\xee\xd6\xe5\x52\x1e\x5f\xd8\x6c\x74\x9c\x28\x6b\x0c\x3f\x46\xae\xa5\x4c\x73\xc4\x10\xae\x4f\x53\x36\x17\x79\x17\xb0\xa7\xb7\xb4\xd3\x49\xc2\xec\x94\x19\x42\xce\xa1\x54\x7d\xc0\x3e\x0e\x11\x14\x2b\x43\xa3\xcb\x39\x47\x7c\xd2\x52\xb7\xc0\xf4\xfb\xe0\xb0\xcc\xab\xb0\x73\x15\xa0\xbe\xe7\x84\x8d\xf7\x0c\x7c\x4f\xc0\x56\x26\x09\x2c\x11\x32\xcb\x33\x97\xc8\x8b\x4f\x8c\xf7\x98\xe8\x0d\x1a\x4b\x0b\xc1\x05\x1d\xef\xdd\x6c\x84\x11\x29\x3a\xe4\xc6\xe8\x8d\xb0\xb6\x58\xa8\xb0\x9f\x65\x04\x29\xba\xb5\x8e\x27\x35\xe2\xfb\x6c\x7a\x98\x25\xb6\x1d\x85\xc3\x17\x5d\x9d\x54\x9d\x5d\x54\x9f\xd5\x7e\xf4\xb9\xad\x47\x8f\xce\x3c\xdf\x1c\x52\x15\x16\x20\x79\xda\xb5\x76\xd1\x7c\xef\x04\x7d\x20\x93\xb6\x4e\xf0\xb2\x14\x5d\x44\x6b\x5f\xf9\x28\x4c\x4f\x8c\x56\x9a\x5c\x0b\x26\x6d\x35\x82\xaa\x6e\x50\x56\x28\x0a\x25\x32\xf8\x67\x86\xd6\x35\x81\x3b\x37\xdd\x71\x55\xe0\x17\xcd\x9a\x6f\x5f\xbf\x53\xd0\xeb\xc4\xcc\xd4\xcd\xdc\x97\xd5\xe6\x7d\xce\x3e\x1c\xd6\x2a\x81\xb5\x10\x75\xe7\x3a\x6d\xd8\xad\xcd\x87\x64\x67\xeb\x7a\x77\x72\x75\x13\x34\xa9\x37\x60\xab\x9e\xf5\x7d\xa0\x61\x96\x8d\x85\xf1\x75\x67\x40\xdb\xd9\xd9\x56\x61\x79\x25\xd5\x9d\xcf\xaa\x7c\x1e\x96\x4e\x6b\x5b\xe8\xf6\x14\x86\xab\xec\xf1\xc7\x58\xf8\xf9\x2b\x8e\xb4\xf0\xf3\xd0\x7e\xdc\x7e\x92\x13\x51\xd7\x9a\xcf\x50\xc9\x3d\xcd\x15\xbe\x1f\x3b\x96\x6d\x65\x7c\x4d\x4f\xbb\x15\x70\x25\x13\x7c\x7c\x87\x1c\x77\xc7\x95\x25\x12\x61\x2d\x3a\x3b\xd9\xe2\xd2\x4a\x87\x4f\x08\xa5\x9d\x44\x3a\x3d\xfd\x61\xf5\xe3\xb7\xff\xf8\x3e\x7a\x1a\xfd\x4d\xfc\x3d\x8a\xe3\x1f\xbf\xff\x6e\xf9\x2c\xfa\xfb\xb7\x4f\x1b\x2f\xc4\x0f\x3f\x44\xcb\x67\xd1\x3f\xbe\xfb\xf1\xc3\x45\xa2\xb7\x1f\x7e\xd7\x26\x4e\x85\xb9\x9b\xd8\xfb\xdb\xee\xfc\x48\x8f\x26\x31\xf7\x79\xa9\x5e\xa6\xe2\x16\x4f\xed\xfd\xed\xbf\x7f\x4c\x93\x36\x96\xde\x15\x3a\x2c\xfc\x6e\xb1\xe4\xd5\x6e\x32\x9e\x45\x7f\x5b\x05\x39\xe8\xa6\xb7\x5e\x6f\x5f\x34\x72\x2f\xd2\xfa\xe3\x55\xd4\x2e\x38\x39\x0d\x6b\x4c\x36\x1c\x4d\xe7\xa7\xac\x0f\x77\x15\x7e\x74\xf9\x55\xa7\x8b\xc5\xa4\x67\x46\xac\xba\x9d\x9a\xab\xfe\x88\x46\xa8\x41\x8f\xfc\xed\x9f\x99\x30\x38\x27\xc9\x4f\xfd\x62\x74\x8f\x5b\x0a\xa5\xd0\x1c\x1e\x67\x75\x24\x45\x62\xa7\x7b\x36\xf7\xc0\x6d\xa5\x73\x68\x06\x47\xb1\x93\x0f\x66\xe5\x24\x66\x3e\x2c\x29\xd8\x8e\xd6\x42\xf6\x15\x73\x1e\x0e\x68\xce\x17\xf6\x09\xfc\xe5\x3d\x02\x79\x33\x40\xd7\xc4\x7f\x41\x7f\x40\xa3\x1a\xdd\xe8\x0f\x78\x7b\x35\x9f\xc0\x3c\x28\xfb\x8e\x6b\xa3\x2a\xb7\x45\x5a\x48\xb4\xbf\xcd\xa6\x15\x27\x7a\xb8\x40\xcc\x65\xe4\xb6\xa6\x9c\x9e\x16\x97\xf0\x8a\xb2\xf1\xff\x58\x6d\xf8\x8b\x2a\xae\xf5\x6e\xd7\xcb\x8b\x45\xcf\x9e\x2c\x0a\xab\x83\xff\x7a\xfd\xe6\x55\xcf\x98\xc7\xd6\x4f\xcb\xba\x29\x77\xd3\x9c\x9e\x82\x45\xe7\xc2\x92\xa9\xb0\xf4\x8a\x1e\xdb\xa0\xb8\xe1\x9d\x7b\xe1\x1f\x65\x46\x86\x7d\xc0\xbd\x73\xe5\xd5\xd2\x43\x15\xf3\x52\x19\xca\x4b\x85\x5c\x43\xed\xb6\xef\x7b\x76\xdd\x43\xd3\x87\x2f\x42\xfa\xc0\x33\xbe\x2a\x6b\x76\x9c\xcb\x52\x20\xe2\x54\x2a\xd0\x86\x95\xc9\xad\xb9\x17\x21\xbf\xa0\xe9\x7b\x18\x28\x1e\xf4\x77\x37\x0b\x1c\x62\xe9\xad\x6d\x2a\x95\xe3\xb4\x6d\x19\x2e\x76\x79\xb0\xe1\x85\x35\x7f\x11\x2f\xbc\xa0\x76\x9a\xf7\xc9\xd1\x2e\xa5\xff\xe4\xa4\xe7\x28\x8b\x6e\x38\xfa\x19\xe4\x66\xf6\x47\xb4\x44\x3f\xc9\x13\x3f\x76\x17\x86\xc8\x9f\xce\xe7\xfb\xbf\x73\xed\xaa\x1c\x4e\xce\x5c\xdd\xb7\x0a\x65\x05\xa5\x2b\xb3\xe7\x5e\x56\xbb\x40\xc8\x3e\x79\x90\x41\x85\x59\x3b\xa7\x5a\x03\x68\xb6\xfc\xf1\x98\xc1\x0d\xcc\x6a\x68\x26\x6b\x94\xb7\x6b\xb7\x17\xd2\x37\x0b\x36\x01\xcb\xfc\x6d\x2b\xc3\xce\xf6\x6f\x23\x31\xe2\x10\xab\xb4\x7a\xb5\x98\xba\x68\x7d\xc4\x74\x89\x71\x4c\xeb\xed\x5b\xe2\x40\x2a\x6e\xd2\xe1\xd6\xb5\x1e\xaa\xb8\xab\x0e\x66\x30\x58\x0a\x33\x68\xcd\x9e\xe7\x20\x4a\x05\xac\xbd\xbf\x17\xe4\x48\x6c\x69\x49\xaa\x74\x45\x4b\x8b\x2a\x4d\xea\x6e\x1b\xa9\xe9\xd2\xde\xdb\x1a\x81\x52\x95\x5f\xdb\xa3\x02\xdd\x2a\xbf\xb6\x47\x55\x0a\x53\xf6\xb4\xd6\xc6\xf4\x15\xb1\x3c\xbf\xdd\xd9\x2a\xbe\xb8\x38\xaa\x6f\x65\xb8\xce\xdb\xdf\x88\xf9\xfc\x3a\x6f\x15\x76\xf6\xc6\x70\x30\x83\xd3\x3c\xdc\x2b\x4c\x64\xcd\xbb\xec\x43\x51\x85\x72\x84\xc1\x1f\xc8\x47\x20\x68\xdd\x06\xee\x9e\xdf\x0f\xab\xb1\x77\x56\x28\xc8\x59\xc7\xed\x63\x6e\xef\x13\xf7\xc5\xad\xde\x1c\x61\x09\x5e\x8f\x8c\xf7\xa5\xbc\x4a\x42\x45\x14\xe9\x4c\xb9\x49\x8e\x6a\x42\xd8\x87\xcf\x9f\x44\x41\x93\x87\xd3\xfb\x82\xe3\x51\x8d\xfa\x52\xbd\x73\xd7\x25\x12\x1b\xe1\x1b\x56\x3a\xae\x5c\xf7\xd0\x7d\x26\x36\x45\xab\x56\x41\x5d\x89\x46\xa2\x2d\x49\x95\xd6\x66\xfd\xe1\xee\x3e\x8a\x3b\x25\x50\x9b\x83\xc9\xb7\xeb\x61\x8d\xaa\x31\x08\xb7\x27\xd6\x1f\x75\xaf\x63\x7e\x1e\x3d\x66\x0d\xf3\x0b\xed\x35\x1b\xe0\xd1\x1c\xb9\x7c\x1e\x41\xb0\x74\x2d\x7d\x2c\x32\x9f\x0f\x27\xff\x1d\x00\x00\xff\xff\x6c\xb6\x54\xe9\xcf\x41\x00\x00" +var _examplenftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x5c\x7b\x73\x1b\x37\x92\xff\xdf\x9f\xa2\x97\x7f\x64\xc9\x3d\x89\xb4\xe3\x3c\x59\x61\x1c\x5b\xb2\xb2\xbc\xb2\x14\x97\x2c\x3b\x57\xe5\x72\x65\xc1\x19\x50\x44\x34\x03\x30\x00\x46\x34\xcf\xe5\xef\x7e\xd5\x0d\x60\x9e\x98\x11\x65\x27\x7b\x77\xaa\x4a\x8a\x9e\x01\xfa\x85\x46\xa3\xd1\xf8\x61\x66\xff\x78\xf0\x8f\x07\xff\x00\xb8\xda\x08\x03\xc2\x00\x93\xc0\xdf\xb3\x7c\x9b\x71\x10\xf8\xff\x9c\x4b\xcb\xac\x50\x12\xd4\x1a\x18\x9c\x65\x6a\x07\x17\x4a\x1e\x9f\x15\xf2\x5a\xac\x32\x0e\x57\xea\x86\x4b\xa4\x50\x18\x21\xaf\xc1\x6e\x38\xbc\xf9\x12\x8c\x65\x32\x65\x3a\x9d\xe2\x9b\xa5\x45\xca\x52\x59\xd8\x32\x6d\x91\x10\xb6\x52\xeb\xb5\x48\x04\xcb\xca\xb6\xb0\x2a\x2c\x08\x0b\xcc\x98\x22\xe7\x29\x58\x05\x2b\x8e\xfd\x8d\xc8\x45\xc6\x34\x3e\xd8\xa8\x1d\xe4\x4c\xee\xe1\xe2\xec\xca\xc0\x4e\x15\x59\x5a\xc9\x49\x64\x13\xa5\x39\xac\x0b\x99\xa0\xd0\x2c\x13\x76\x3f\xad\x69\x98\x28\x69\x35\x4b\x2c\xa4\x8a\x3b\x91\xaa\xde\x48\xd6\xa8\xed\x46\x18\x2b\x12\x66\x79\x0a\x49\xc6\x8c\x11\x6b\xfc\x97\x50\xa4\xa4\xd9\x1b\xcb\x73\x58\x2b\x0d\xc2\x1a\x92\x62\x8a\xfa\xa5\x7c\x2d\x24\x37\xc0\x50\x58\x34\xde\xc5\xd9\x15\xec\x84\xdd\x40\x2e\xa4\xc8\x59\x06\x39\xb7\x2c\x65\x96\x91\x34\xb3\x07\x0f\x44\xbe\x55\xda\xc2\xe8\x42\xc9\x60\x4b\x32\xe5\xa8\x7c\xf3\x46\xf0\xdd\x25\x37\x2a\xbb\xe5\xba\x7a\x7a\xee\xe9\xe0\x5b\x53\x3d\x3e\xd1\xca\x98\x37\xe7\x3d\x6f\x9f\xbf\x39\x1f\x3d\x78\xc0\x92\x84\x1b\x33\x66\x59\x36\xa9\x0c\xf1\xdc\x8d\xf6\xc5\xd9\xd5\x1c\xda\xb2\xc0\x87\x07\x0f\x00\x00\x66\xb3\x19\xbc\x0a\xa3\xf4\x92\xd9\x8d\xa1\xc7\x75\x7a\x19\xb7\x70\xa2\xb2\x8c\x93\xdd\x5f\x59\xa5\xd9\x35\xc7\xa6\x73\xa8\xfd\xe3\x8e\x6e\x2f\x8b\x55\x26\x12\xd7\xab\xfa\x5d\xc9\x80\xff\x82\xdd\x86\x6b\x4e\x43\x9d\x0b\x69\xb9\x06\xb3\x21\x37\x58\x71\x30\x56\x69\x9e\x96\xcd\xaf\x36\xbc\x72\xae\x2d\x8a\x4d\x03\xe7\xbc\x24\xf0\x04\xa6\x43\x47\x10\xb2\xfd\x52\x73\xa3\x0a\x9d\x70\xb0\xfb\x2d\x8f\x4a\x7f\x4e\x42\xf4\x2a\x5c\x0a\xf3\x2b\x87\x64\xa3\x94\x71\xa2\x4b\x96\x3b\x1f\x41\x65\x8e\xc8\xf3\x2d\xfa\x27\xb2\x81\x84\x49\xd8\xb0\x5b\x4e\x1e\x49\x2d\xa5\xda\x95\x84\x56\x3c\x61\x85\x27\x43\xbc\xd7\x2c\xe1\x95\x3f\x6b\xfe\x47\x21\x34\xc7\x89\x84\xf3\x85\xc8\x80\xd9\xf2\x04\xfd\xd8\x51\x43\xb2\xb9\xd2\x5d\x7d\x4a\x6d\xa3\xde\x30\x45\x79\xbd\x47\xc4\x2c\x21\xd2\x39\xbc\x5e\x4a\xfb\xcd\x57\x55\x1b\x14\xf8\x4c\xab\x9c\xa4\x3d\x15\x66\x9b\xb1\x7d\x39\x15\xe0\x56\xf0\x5d\x2f\x39\x14\x15\x6d\xa9\x85\xbc\xee\x6d\x94\x72\x93\x68\xb1\xc5\xb1\xba\xb3\xad\xdd\x14\xf9\x4a\x32\x91\x95\x2d\x9b\x62\x7a\xd7\xb8\x54\x7b\x96\x59\xc1\xcd\xb0\x9c\x86\x67\x6b\x47\x57\x87\x0e\x73\x78\xdb\x98\x7f\x53\x47\x6a\xff\xae\xc9\xe8\x67\x2e\xb9\x16\x09\xa4\xc2\xc5\x28\xbd\xa7\x90\xa8\x19\x46\x14\x94\x80\xfc\x82\x99\x7e\x8e\x41\xb0\x39\x7c\x70\x9a\xcc\xe1\xa9\xdc\xbf\xb2\xba\x48\xec\xc7\x8a\x99\x90\xc2\x8e\xcb\x7f\xe1\x5f\xdd\xa6\x47\x8d\x37\x11\x43\x36\x1b\x74\xac\xd7\x7c\x7d\xb7\x11\x9a\xed\x07\x55\xa8\x9a\x4e\xe0\x43\xa3\x1b\xda\x60\x2a\x52\x58\xb8\x5f\x45\x21\xd2\xee\x7b\x72\xf2\x05\x29\xdb\x7d\x59\x53\x14\x16\x75\xb5\xbb\x4d\x4b\x95\x61\x51\xa9\xdf\x6d\x56\xaa\x0e\x8b\xca\x0c\xdd\x66\xa5\x37\x2d\x4a\xe5\xcb\x46\x1f\x9b\x1e\x92\x68\xce\x2c\x7f\x9e\x6f\xed\xbe\x0a\x8e\xfe\xa9\x5b\xa2\xf1\x55\x2d\x70\x36\x7a\x33\x99\x82\xe6\xb6\xd0\xd2\xf8\x28\x40\x41\x8d\x65\x19\x06\x4b\xfc\x17\xa3\xa5\x72\x4f\x81\x46\xed\x24\x2d\x63\x0d\x12\x3f\x7d\xe8\x4c\xfe\x8a\xd9\xc7\xe8\x0c\x5b\x17\x32\x2e\xf7\x78\x32\xbf\x83\x5e\x6b\x8c\x9d\xec\xf0\xc3\x71\xb5\x34\x4d\xe3\x94\xe5\xda\x5e\xed\xb7\x7c\x0e\xf8\xff\x1f\x7e\xaa\xb5\xbf\x38\xbb\xfa\x71\x3c\x99\xc4\x0c\x5c\x17\x1a\x27\x36\x49\x7e\xcd\x2d\x79\x2b\x0a\xfb\x16\xa9\xbd\x8b\x0b\xf5\xb6\xf1\x10\xff\x88\x75\xd3\xe3\x7d\x9c\xfb\x71\x3c\x39\x3a\xa4\x79\x19\x70\x0e\xed\xf0\x3c\x15\xa8\xfe\xe1\xed\xdf\x5b\xae\x25\xcb\x5e\x5f\xbe\x38\xb4\xcb\xc5\xd9\x55\x65\xe7\x53\x66\xd9\xa7\x75\xbc\x9f\x21\x5e\x71\x2d\x58\x76\x68\xeb\x2b\x0a\x98\x07\xdb\xe0\xcd\xf9\x33\x2d\xd2\x6b\x9e\x86\xe7\x3f\x8e\x27\x8d\x8e\xef\xee\x72\x16\xf4\x13\xed\xf2\x31\xa4\x39\xfe\x8d\xdc\xc7\x39\xdf\xa4\x16\xbe\x9e\xb4\x63\xd6\x4e\xd8\x64\xe3\x7c\xed\x43\x47\xd6\x84\x19\x3e\xec\x44\xf3\x4e\x1f\xa8\x1c\x32\xda\x69\x1c\xed\x01\xe5\x02\x50\x46\xc9\xae\xe9\xc2\x5f\x63\x3d\x68\x07\xce\xfe\x6e\xb5\x55\xa2\x29\xd9\x3f\xaf\xae\x5e\x9e\x89\x8c\xf7\x8b\x86\x7f\x85\xce\xe6\xad\xd8\xdb\xdb\x7e\x12\x7d\xd3\x7d\xda\x67\xe0\xda\x2c\x8a\x5b\xd8\x65\x90\x98\x4a\x61\x66\x05\x39\x7b\x0f\xb2\xc8\x57\x5c\xe3\x72\x4d\xfb\x0f\x8a\xa4\x18\x44\x57\x3e\x19\x4d\x61\xed\x92\x9d\xda\x56\xa3\x8f\xb6\x71\x71\x19\xc9\x72\x27\x0a\xac\x05\xcf\x52\xb8\x65\x59\x41\x4c\x0d\xa7\xe8\x2d\x7b\x8c\x80\x99\x80\xef\xb9\x94\x6b\x05\x0b\x88\x2a\x38\x76\x63\x3e\xf2\xd1\x91\xb2\x0b\xff\x6a\x74\xe4\x35\x9a\x87\x85\xf5\x08\xe5\x99\x23\xcb\xb8\x79\x6b\x3c\x5f\x08\x63\x3b\x8b\xbd\x27\xfc\x0e\x16\xf0\xb6\x26\xdb\xbb\xc3\x5d\x38\x0c\x4b\xbf\xa3\xd4\xf8\x7f\xa6\x0b\x94\x01\xe7\x1e\x53\xcc\xf5\xe9\x97\xce\x1b\xf2\x33\x25\xab\xaf\x09\xf7\x10\xae\xec\x76\x87\x7c\xf1\x34\xe5\xfe\x62\x36\x57\x96\x7b\x08\x5a\xeb\x38\x1e\x6d\xac\xdd\x9a\xf9\x6c\xe6\x0b\x0f\xc7\x72\x6d\xa7\x4a\xae\x33\xb5\x9b\x2a\x7d\x3d\x1b\x4d\x13\x25\x13\x66\xc7\xde\xb4\x53\xab\x5c\xca\x38\x9e\x4c\x0e\x17\x35\xb6\xa2\x0d\x0a\x5c\xcb\x26\x7c\xd4\x3f\xf1\x33\x9a\xa2\x7f\xd8\x2b\x0d\x26\x20\x47\x14\xf5\x6b\x4d\xee\x96\xe9\x53\x35\x3a\x6c\xb9\xf8\xb7\x2b\x55\x8a\x75\xb8\x5e\xe5\xc2\xde\x1b\x96\xf9\xfb\x24\x2b\xd2\x10\x73\xaf\x04\xed\x69\x53\x58\x2b\x85\xf1\xd2\x6c\xd4\x0e\x94\xdd\x70\x0d\x85\xe1\x06\xa3\xb5\x23\xd9\x1f\xd1\x1c\xbd\xd4\x35\xc3\xd8\x35\xaa\x48\x8f\x8e\x60\xb4\x56\x6a\x14\x8f\x61\xb4\xb1\xa4\x6e\x28\x7c\x27\x06\xe3\x1e\xef\x4a\x39\xba\x63\xfc\xc7\xbc\xb9\x19\x38\x2a\x79\x5f\xb0\x1c\x37\x4f\x4d\x51\x26\x0f\xfa\x4c\x50\x53\x5d\x18\x60\x50\x48\xf1\x1e\xac\xc8\xb9\xb1\x2c\xdf\x1e\xc1\x8e\x87\xba\x48\xce\xf4\x0d\xee\x03\xa8\x1a\xc5\x20\x75\x23\x82\x76\xc7\x25\x68\x9b\x31\xbb\x56\x3a\x37\x70\x23\xd5\x8e\xea\x6b\xc1\x84\xc2\x4e\x7b\x55\xae\xd8\x93\xa0\x1d\xbd\xe9\x69\x58\x79\x1a\xb6\xa4\xd5\xad\x65\x85\x86\xb9\xdf\xfd\xed\xa8\x2e\xe4\x1c\x46\xa7\xcc\x62\x4f\xcd\xb4\xb0\xfb\x81\xc5\xa9\x1a\x87\x29\x4b\x9d\x05\xc7\x2d\x41\xfb\x0d\x8a\xce\x43\x96\x24\x2a\xce\x5a\xe8\x0c\xb8\x3f\x72\x9c\x7b\x8d\xb1\x56\x6e\x84\x2f\xa9\x59\xc7\x16\xee\xf1\xd8\x24\x4a\xf3\x39\x3c\x7a\x38\x7d\xe8\x57\xd9\x47\x0f\xe9\x77\x23\xd5\x1a\x9d\xa8\x3c\x57\x72\xd4\xbf\xfc\x06\x6e\xc3\x36\x47\x8f\xed\x33\x36\x79\x73\xcb\xc8\x52\x64\x95\x85\x9b\x0a\x1d\x6e\xec\xd0\xaf\xc7\xca\x3e\x06\x55\x3d\x0f\x5f\x67\x62\xd9\x7b\x6f\x78\x58\x86\x92\xae\x2b\x48\x0b\xe3\x72\xef\x6b\x71\xcb\x5d\x81\x65\xab\xd5\xef\x3c\xb1\x2e\x45\x53\x19\xa8\x5b\xae\x9d\xeb\x6f\x38\xac\x1c\x23\xca\x93\x84\x01\xcd\xb7\x9a\x1b\x4e\xc9\x1d\xc3\xcd\x77\x1f\xd7\xe7\x97\x27\xdf\x7e\xf9\x08\x76\x1b\x2e\x4b\x1a\x56\xc1\xf3\x37\xe7\xa0\xa4\x2b\x9c\xdf\x0a\xe6\xf8\x53\x6d\x13\x84\x5c\x6b\x66\x68\xcf\x50\xe8\xc0\x38\x3e\xe7\x66\x33\xb8\xf8\xe5\xea\xf9\x1c\x96\x6b\xd8\xab\x42\x07\xe9\x18\x24\x5a\x19\x73\xfc\xe6\x1c\x9f\x1c\x41\xce\x99\x44\xad\xf7\xaa\x28\xb5\x5b\x29\xbb\x71\x9d\x4e\x58\xca\x65\xc2\xe1\x0b\x92\x2a\x24\xa8\xa8\x54\x3c\x5f\x99\xcd\xc2\xc0\x5d\x0b\x63\xb9\xe6\xa9\xa3\x93\x14\xc6\xaa\x1c\x98\x31\x2a\x11\xee\x74\x80\xe6\x0b\x15\xff\xcf\xbd\x22\x47\x20\xec\xdf\xd1\x7e\x89\xca\x73\x2e\x53\xd7\x19\x42\xe9\x72\x90\x61\xab\x9a\x4d\xe3\xbf\xb7\xdc\x9c\xd7\x2b\x72\x68\x5d\x57\x77\xa7\xe8\xbf\x65\xa6\x56\xb2\x63\x06\x42\x27\x10\xd2\x2a\x12\x7c\x90\x67\xdd\x24\xe0\x2a\x24\x14\x50\x71\xfd\x20\x8d\xd0\xae\x44\xea\xf9\x9b\xf3\x29\x95\x0b\x73\x85\xbb\x03\x89\xf1\xd3\x59\x81\xad\x54\x61\x1b\x43\x62\xe2\x7b\xa5\xc0\xd4\x70\x0e\x67\x2f\x96\x2f\x8f\x1f\x3f\xfa\x6e\x0e\x21\x11\xba\x16\x76\x53\xac\xa6\x89\xca\x67\x2e\x0f\x9a\xad\x33\xb1\x35\x33\x61\x4c\xc1\xcd\xec\xf1\xa3\xef\x7a\xc3\xd8\xcf\x3c\x1c\x83\x38\x4d\x8e\x33\x7e\xcb\xb3\x50\xf7\x4d\xc1\xec\xf3\x95\xca\x5c\x60\xe8\x5f\x10\x43\xef\x17\xd4\x79\x71\x57\xda\x30\xb8\xa7\x6b\xe6\x14\x18\x67\x06\x9b\x0f\xe6\x16\x77\xef\xe2\xeb\x7f\x13\x60\xe6\x6f\xed\xc4\xb3\x43\xe1\x49\xdc\x96\x62\xdd\xb0\xc4\x79\x55\xbd\x6b\x1a\xa7\xbb\xa3\xaf\x8d\xc6\x89\xca\xb7\xa1\xe4\x6f\xd5\x0d\x97\x7e\x38\x5e\x5f\x2e\x61\xc5\x0c\x4f\x31\x34\x30\xfa\x49\xcf\x70\x84\xca\xb6\xb0\x3c\x3d\x82\xad\x12\x3e\x8e\x29\x60\xf0\x9f\xaf\x7e\xb9\x80\xb5\xc8\xf8\x94\x8e\xb3\x86\x58\xef\xc2\xa1\x08\xa3\x0e\xe8\xff\x7f\xbf\xe5\x50\x6c\x33\xc5\x70\x2e\x22\x2b\xa6\x39\x6c\x94\x21\xfa\x46\xe5\xdc\x1d\xad\x1c\xbb\x73\x10\xdc\xc2\xa2\x5c\xb8\x73\xaf\x9d\x50\x24\x9e\xee\x10\xef\xe5\xcb\xb3\x57\x47\xf0\xea\xf1\x11\xe6\x1b\x68\xb4\xd7\x97\x2f\xc8\x6c\x4c\xc8\x70\x48\x48\xaa\xa4\x42\xf3\xc4\x66\xfb\x23\xe0\x36\x89\x47\x3e\xf0\x2e\x89\x36\x42\x13\x2d\xe0\xae\xfd\x82\x33\x74\x88\x04\xb3\xd1\x20\xd9\x42\x8b\x37\xb4\xdf\x5e\x40\x77\x7b\x11\x36\x1e\xa3\xe9\xef\x86\xd6\xe4\x5e\x52\xf1\x4d\x4e\xc7\xd7\x86\x67\x8a\x5b\xba\xdb\x1e\x77\x47\xa1\x06\xff\xdc\xa4\x8e\x74\x75\x2f\x86\x3b\x17\x5a\xb4\x8b\x35\xaf\x2f\x97\xc3\x92\xe2\x9f\x1f\x90\x79\xf8\x71\x84\x23\x4f\xf1\x18\x87\x38\x0c\x97\xe6\xa6\xc8\x2c\xc6\x60\x5c\xab\xc8\x9c\x5c\x96\x07\xca\xa1\x15\x3a\x23\x85\xa4\x3b\xb9\xd6\x33\x9a\xe1\xb1\x1a\xa2\x32\x10\x33\xa2\x6f\x3e\x02\xcf\x0c\x1f\x98\xeb\x7e\xfc\xfb\x4a\x35\x1f\x07\x32\x9d\xd8\xc9\x2d\xba\xce\x4b\x45\xa7\x7b\xc3\xe5\xa9\x90\xdb\x08\x5a\xe5\xdc\x2a\xbb\x56\x2e\x3d\xf0\x59\x8e\x71\x6b\x73\xa2\xb4\xe6\x66\xab\x64\x8a\xc3\x43\xe9\x43\xe3\x7c\x9f\x86\x88\x52\x85\x90\x25\x0c\x64\x05\xb4\x02\xba\xb3\x69\xa4\x56\x49\x0b\x42\xa6\x74\x78\xee\x12\xad\x90\x21\xf0\x94\x96\xd7\x26\xc7\x29\x9c\x15\x59\xb6\xc7\x21\x15\x29\xf3\xc9\x5a\xdc\x03\xe8\x4c\xc4\x2f\xaa\x8d\xac\xc3\x01\x00\xe4\x2d\x2e\x49\x20\xa4\xd9\xe2\xb6\xd3\x47\x98\x16\xf3\x6a\x6d\x97\x29\x70\x69\x0a\xed\x1a\xb2\xde\x0a\x5d\xd5\x23\xc3\x9d\x12\x6a\x68\xc2\x71\x8a\x5f\x06\xd3\xd2\x5a\x74\x72\x8b\xa4\xab\x5e\x69\xaa\xb9\x31\xf1\x54\xa1\x8f\x67\x2c\x83\xf8\x93\xb3\x84\x4f\x29\x05\xd0\x7c\xbb\xe6\x74\xdc\xd2\xac\x00\xe0\xaf\xa1\xbd\x7d\x9f\x7b\x37\xf2\xb9\x4f\x73\x72\x6f\xfa\x63\x8c\x27\xb7\xdc\x43\x42\xba\xbe\xee\x13\xf3\x96\xbb\x4f\xe1\x59\x7c\x47\x37\x9b\xf9\xc1\x15\xf2\xfa\x88\x96\x4d\xcd\x81\xad\x32\x5c\x95\x5d\x92\xc9\xf4\x4a\x58\xcd\x74\xed\x24\xbb\x4c\x31\x9b\xae\x86\x9b\x01\x8e\x9b\x0b\x26\x7d\xc6\xde\xc7\x32\xec\x18\x76\x1b\x91\x6c\x42\x4d\xb9\x30\x7c\x5d\x64\x75\x5d\x6b\x4a\xa6\x7b\xc9\x72\x91\xd4\x4e\xa9\x29\xa7\xeb\xdd\x3f\xbc\xaa\x39\x11\x91\x3c\x24\x7b\xfd\x53\x72\xd2\x7f\x62\x56\xb1\xe3\xc0\x65\xa2\x70\xec\x70\xfe\x74\xd7\xc6\x32\x01\x72\xcd\xa8\x95\xa1\xe0\xee\x93\x79\x58\xa1\xcb\xb8\x54\xc4\xed\x6f\x70\xf2\xbb\x11\x91\xbd\x63\x19\x0c\xe7\xac\xd3\x28\xd9\xb3\x95\x28\x65\x42\xc6\x29\x0f\x8c\x73\x0c\x86\xdd\xe1\x64\x86\x18\xef\x84\xd9\x4c\xe1\x57\x61\x37\xa2\x77\x1e\x77\x3a\x1f\x39\x99\x99\x24\xb6\x15\x2b\xa7\x15\xf1\x2f\xb6\x29\xb3\xbc\xee\x54\x9e\x8c\x73\xe0\x9a\x18\x03\x5c\x29\x58\xac\x87\x6a\x37\xab\x96\xdd\x17\xe0\x2a\xab\xf5\xb3\xad\x43\x73\xef\x03\x53\xec\xc9\xdf\x7a\xa5\x29\xb4\x80\x45\x5b\xa6\x69\xa1\x05\xfe\xd7\x93\xdc\x53\xcd\xce\x0d\x9c\x4b\x09\x71\x3d\x72\x0f\x9e\x3e\x5b\x8e\xdf\x16\x5a\xbc\x1b\xe8\x79\x9b\xbb\x7d\xa1\xeb\x17\x62\xd1\xd8\xa7\x16\x15\xe1\x38\x09\x1f\x3e\x0f\x8a\x6b\x63\x1a\xdc\x79\xc9\xb2\x49\xf1\x63\xec\x84\xb9\x9e\x42\xb8\x06\x1f\x03\x88\x08\x4e\xf9\x56\x73\x82\xa6\xcd\xe1\x17\x99\xed\x09\x3d\x44\x73\x79\xc5\x92\x9b\x1d\xd3\xb8\xfa\xe4\x5b\x66\xc5\x4a\x38\xe4\x1b\xf4\x21\x7c\x2a\xe4\x50\xb5\x0e\xb4\x81\x58\xf0\xc1\xb3\x8e\x52\xa8\x5a\x47\xa0\x42\xd5\xcb\xa3\x41\x06\x0d\xd4\x41\x13\x10\x83\xf1\x32\x51\x14\x9e\xdc\xfe\xe7\x86\xcb\x26\x4a\xa1\xac\x81\x34\x50\x5a\xbe\xd0\x29\xe1\x5f\x0e\x8c\xf4\x2f\x58\x9e\xba\x93\xb5\x38\x04\x80\x69\x50\x3b\xc9\x53\x17\xee\x7e\xfa\xe0\x7a\xcd\xa1\x0b\x59\xb8\x38\xbb\xfa\xd8\x82\xd7\xc0\x38\x8a\x50\x29\x09\xc2\x0f\xc7\x68\xc5\x6a\x40\x1b\x0a\x5c\x73\xfb\xaa\xd8\x6e\x95\xb6\xd4\x1a\x27\x9d\x29\xa1\x1b\x0c\x32\x61\x6c\xb0\x84\xa5\x77\x1e\xba\x41\x65\xa9\x84\x0b\x5a\x59\x92\x84\x6f\x6d\x07\x2c\xd4\x81\x37\x74\x18\x8d\x27\x73\xf8\xe0\xd6\xf0\x67\x4a\x65\x6d\x14\x06\xce\x14\x13\xfa\x50\x87\x56\xf3\x45\x5d\x31\xd2\xbc\xd1\xfa\x6d\xcf\xe9\xc1\x3b\x58\x80\xd5\xad\x4c\xdf\xfb\x7e\x93\x42\x9f\xd5\x2e\xbd\x81\x76\x1b\x4e\x45\x7e\xa5\x09\xf8\x86\xb1\xf4\x5a\xdc\x72\xe9\xbc\x00\x1d\x83\x4c\xc3\x53\x58\xed\x5b\xb8\xbe\x06\xbd\xa7\x75\xc0\x5f\xb9\x3e\xb8\xce\x84\x95\x23\x7a\xbe\x9a\xfe\x7b\x61\x6c\x55\xc8\x2c\x30\x7c\xe3\xa6\x87\x15\x99\x1d\x1e\x02\x61\xda\x23\x30\xb6\x65\x99\x63\xe2\x8c\x1a\xc7\x9c\x10\xfb\xc5\xa2\xef\x38\xa6\xcf\x4c\x38\x0d\x52\xcd\x76\xa0\x79\xae\x6e\x1d\x6e\x08\x3d\x69\x1d\xe0\x78\x75\x0c\xa4\x4c\xc1\x35\x6a\x03\x86\xda\x4a\x75\x26\xc5\xaf\x9e\x8d\xc3\x47\x04\xa6\xe3\xf0\x63\x79\x1a\x40\x81\x71\x18\x10\xce\xa9\x88\xe7\xb9\x02\xc8\x0f\xc7\xad\xe9\x34\x75\xba\x8c\x6f\xf8\x7e\x0e\x15\x8b\x6e\xa0\x7e\xf2\x04\xb6\x4c\x8a\x64\x3c\xaa\xd9\xab\x0a\x3f\xd3\xd0\x77\x0e\x27\x34\xac\xe8\x40\xa5\xc1\xbc\xa1\x28\x8e\x2c\x4f\xa1\xbf\x80\x10\xf6\x9c\x95\x24\xf5\xb3\xc9\x3b\xbb\x8d\xa6\x70\xb2\xe1\xc9\x8d\x4b\x75\x8a\x55\x2e\x2c\x7a\xeb\xf2\x14\x87\x20\x67\x37\xf8\xd0\x21\x39\x85\x01\x25\x79\x6d\xfa\xd7\xc6\x4e\xed\xa4\x99\x8e\x26\xad\xe2\x44\x09\xa2\x22\x4b\xf6\xf9\x48\xca\xb7\xca\xe0\x90\xb3\x1b\x02\x2f\xa3\xda\x54\x18\x4a\xd3\x86\x2b\x94\xdc\x4c\x2d\x48\x37\x28\x95\xbd\xb0\xbd\xd3\x80\x00\xaa\x29\x30\xad\xd9\x3e\x3a\x37\xd0\x61\xbc\x04\x63\x12\xb3\xd7\x43\xda\x41\xb6\xe1\x22\xee\x07\xe6\x21\xad\xc9\xd1\xe9\x42\xc0\x41\x6a\x3e\x15\x69\xd3\x5e\xa8\x42\xea\x52\x53\x49\xa5\x65\xa4\xe9\x95\xa8\xad\x4b\x2e\x3d\x0f\x33\x8a\x60\xec\x59\x8a\x63\xd3\xe1\xa5\xb2\xf4\x2a\xee\xc4\x6f\x83\x04\xef\x4a\xe9\x9b\xb2\xa4\xdc\x58\xad\xf6\x25\x89\x8e\xa4\x1e\xca\x9e\x52\x94\x23\x48\x33\x77\x45\xbc\x6d\xa1\xb7\x8a\xce\x3c\x65\xb6\x6f\xf7\x3a\x55\xe4\xe6\xa4\xa6\xdf\xac\x94\x29\x65\x21\x33\x6e\x5c\x76\xdb\x82\x0c\xb7\xa9\x68\xce\x8c\x22\xd3\xec\x98\x24\x0f\xe1\xb9\xb0\x01\xb7\xfa\x9a\x52\xd8\x14\xf8\x2d\x97\xb6\xaa\x29\xb6\x89\x84\xcc\x36\x8a\x91\x41\xeb\xb1\xc2\x6e\x48\xf7\x4b\xbe\xc6\x04\xf5\x8b\x96\x09\xd1\x78\xcc\x50\xb3\x6e\x48\x72\x42\x4c\xe0\x8b\xb8\x33\xb5\xb3\xd1\xd9\xac\xce\x6d\xea\xb2\xf0\x2b\xcd\xa4\x59\x73\x7d\xca\x2c\x1f\xe3\x83\x39\x2e\xa2\x27\x85\xd6\x5c\xda\x67\x99\x4a\x6e\xc6\x93\x69\x79\xde\xda\x9c\xeb\x35\x2f\x44\xdb\x54\x66\x19\xd7\x19\xf5\x06\xee\x6b\x6e\x97\xa7\xb5\x3c\x40\xba\x29\x14\xee\x4d\xe0\x3b\x0a\x04\x8c\xb6\x6f\x7d\x2b\x5b\x5f\x1e\xb0\x3c\x75\x20\x47\x17\x94\x7b\x60\x8e\xad\xa8\x7b\xc3\xf7\xbd\xab\xf1\xcf\xdc\xa3\x96\x59\xae\x0a\x69\x4b\x6c\x54\x1f\xa4\xfe\x4e\x01\x5f\x70\x79\x6d\x37\x28\xe3\x52\xda\x83\xc4\xcb\xa8\x47\x4c\xc0\x28\x8f\x95\xd2\x5a\xed\x2e\xce\xae\xc6\xbf\xd5\x30\xeb\x93\x79\xaf\xbf\xc4\x85\x88\xb8\x64\x9f\x8d\x9e\x11\x47\x32\x04\x49\xe1\x77\x5a\xba\xbc\x8e\xe0\x27\x9b\x3f\x75\x5c\x9e\x1e\xa2\x40\xfd\x7a\xc8\xb8\xa5\x47\xfd\xdd\x34\xfc\xe8\x28\xe2\x8f\x38\xe4\xda\xc2\x22\xa6\x0e\xce\xb0\x03\x6d\x52\xb3\x0b\x92\xa3\x8e\x71\x21\xee\xbb\x03\x6a\x18\xf2\xde\xc0\xe8\x30\x69\x0c\xcb\x6b\x77\x38\xe0\x00\xa4\x74\xa3\xe1\x4f\x5e\xb4\xa7\x15\x8f\xe4\x00\x1e\xff\x9f\xf0\xd1\x50\xdf\x69\x7e\x8a\xa5\xe3\xbe\x5c\xda\xe3\x33\x91\xe9\x87\x99\xb2\xa1\xf0\x7d\xec\x5a\xda\xd4\x13\x86\xfa\xf8\xb4\x6d\x73\xe6\x6f\x97\x39\x79\xcb\x38\x9d\x65\xa4\x4e\x59\x57\xa1\x92\x40\x55\x76\x74\xfb\x10\x86\x7b\x65\x68\xdd\x9e\xf3\x84\x1f\x74\xdc\xad\x16\xfa\xdd\xe6\xb0\x3c\x5f\xa1\xe4\xaa\x46\xfa\x96\xea\x0f\xbe\x58\x4a\x07\x5a\x3b\x91\x65\xbe\x88\x88\x9c\x4b\xe2\xe1\x2f\xe5\xb7\x3c\x53\x5b\xae\xa9\xa6\x4d\xe8\x1f\x97\xdd\x6c\x99\x66\x39\xb7\x5c\x97\x05\xcf\x66\xcd\x9b\x0a\x44\x13\xc8\xb9\xdd\xa8\x74\xda\x10\xbe\x2f\xa6\xd7\x2b\xcb\x26\x82\x32\x7b\x12\x83\xdd\x47\x21\xf7\x9f\x84\x55\xff\x54\x9c\xfa\xbd\x4f\xa0\xdf\xdd\xe5\x2a\x64\x40\xcc\xb4\x1b\x77\x8b\xfc\xdc\xa9\x81\x86\xa7\x5d\x9f\xa0\x61\x09\x90\xf3\x8d\xab\xae\x87\xd0\x93\x72\x23\xb4\xf7\x82\x69\xd7\x8d\xa0\x02\x99\x94\x70\x96\xe0\x44\x9a\xff\x51\x70\x63\xdb\x9d\xa3\x93\xee\x30\xc8\xe0\x93\x36\x40\xb0\x0f\x1c\x5f\x03\xc6\x93\x32\xcd\x30\xf7\x79\x40\x4e\x77\x76\x5f\x6f\xd6\xc1\x4b\x75\x08\xc5\xcf\x3c\x4d\xfd\x6a\x1f\x2d\x92\xd1\x7b\x8e\xf1\x43\xd6\x6d\xed\x46\x63\xab\x6f\x75\xc1\x71\xa8\x6b\xbd\xca\x46\xc6\xf8\x22\xba\xa1\x8d\x5e\x83\xa8\xa8\xbc\x10\xf2\xc6\x55\x55\x3e\x8d\x4a\x34\xda\x06\xdf\x9e\xc3\x78\x5d\xdc\x7f\x19\xab\xff\xfd\x15\x4b\x5a\xfd\xef\x63\xf7\x71\xf7\x89\x17\xa2\xe9\x35\x9f\xe0\x92\x03\x48\x5c\x77\x79\x2f\x15\x5d\x67\x3c\xc7\xa7\x71\x07\x5c\x8b\x8c\xdf\xff\x3a\x05\x5d\xa5\x28\xa1\x12\xcc\x18\x6e\xcd\x74\xc7\x57\x46\x58\x7e\x8c\x24\x0d\x9d\xe5\x7c\xbd\xfe\xe6\xcb\xef\xbf\x4a\x1e\x26\xdf\xb2\xef\x92\x34\xfd\xe6\xab\xc7\xab\x47\xc9\x77\x5f\x3e\x6c\xbd\x60\x5f\x7f\x9d\xac\x1e\x25\xdf\x3f\xfe\xe6\xb7\xb3\x4c\xed\x7e\xfb\x55\xe9\x34\x67\xfa\x66\x6a\x6e\xaf\xe3\xf5\x91\x1e\x4f\x22\xed\x3d\xae\x53\xe4\xec\x9a\xcf\xcc\xed\xf5\x7f\xbc\xcf\xb3\x2e\x95\xde\x11\xba\xdb\xf8\x71\xb3\x78\x68\x24\x06\xcf\x70\x19\xa2\xea\x39\x8a\xcb\xdb\x04\x67\x5e\xb5\x6a\x2f\xc2\xb8\xe5\x95\x35\x2e\xce\x5b\x05\x1b\x9e\x6d\x69\x37\xed\x57\x59\xb7\xdd\x95\xfc\xbd\xf5\x57\xe8\xcf\xae\xa6\x3d\x1c\x79\x05\x8d\x6f\x8f\xfa\x3d\x50\xf3\xa3\x1e\xfb\x9b\x3f\x0a\xa6\xf9\x12\x2d\x3f\x77\x83\x11\x6f\xb7\x62\x52\x72\x7d\x77\x3b\x3a\x62\xcf\xcc\x7c\x60\x72\x8f\xec\x4e\x58\xcb\xf5\xe8\x20\x75\x7c\x63\x72\x4e\x54\xe6\xb7\x15\x6e\xb6\x93\x0d\x13\x7d\xa0\x8e\x2e\xb8\x62\x72\xd0\xac\x3d\x10\x54\xfa\x97\x03\x4a\xfd\xf9\x5e\x8c\xf1\xe7\x83\x49\x63\x54\xeb\xa8\xb4\x16\x4e\xf0\xf5\xe5\x72\x0a\xcb\x1a\xfc\xeb\xa8\xd1\xaa\x76\x36\x69\x20\x53\xee\x2b\x09\x4a\x52\xa1\x87\x80\x62\x04\x27\xeb\x7a\xca\x6c\x16\x3e\xee\x10\xe0\x63\x7f\x1a\x46\xec\xb3\x90\x57\xcd\xab\x51\x17\x67\x57\x3d\x73\x32\x00\xac\x46\xff\x75\xfe\xf2\x45\x4f\x9b\xfb\xe2\xa8\x4a\xfc\x14\x41\xaf\x67\x33\x30\xdc\xda\x3a\x74\x8a\x19\x7c\x85\x8f\x4d\xed\x70\xc3\x25\xf7\xcc\x3d\x2a\xb4\xa8\x5f\x1a\xeb\xe5\xe5\x8f\x36\xef\x42\xce\x95\xce\x50\x7e\xac\x82\xb0\x54\xf1\xf8\x7e\xf0\xac\xfb\x14\x80\xd3\xff\x0a\xb8\xe9\xdf\x0c\x6c\xfa\x6b\x41\x4d\xfd\xf7\x0f\x71\x23\xfe\xe7\x03\x9a\x5a\xe8\x91\x18\xd7\x3f\x1b\xcc\x34\x9b\xc1\x53\x63\xc4\x35\xc5\x0b\x06\x69\x91\xe7\x7b\xb2\x8a\x17\xd4\x83\x3a\x0c\xdd\xd8\x13\xff\x2d\xe4\xf5\xb4\x0a\xe5\xde\x2f\x9c\xb1\x43\x29\x3b\xe5\x49\xc6\xfc\xd7\x45\x58\x62\x0b\xd6\x85\xf3\x39\x27\x29\x59\x34\x3d\xcf\xd9\x52\xe8\x28\x02\x69\x0a\xcb\xb5\xff\x4a\x0e\x43\xff\x7d\xbf\x8f\xa2\x4c\xcc\x11\x45\xdf\xe8\xb0\x79\xa6\xd5\x17\x4f\xa8\x37\xd1\xfa\xbb\x29\xc7\x27\x9a\x76\xf2\xdb\x3c\xec\xdb\x9e\x7a\x32\x0e\xff\xe0\x7b\x9d\x69\x95\xfb\xa3\xab\xfe\x95\xfc\xe1\xfb\x47\x5f\x3e\xfe\xea\xeb\x6f\xbe\xfe\xf6\xbb\xef\x1f\x0e\xfe\x3c\x34\x68\xcc\x66\xf0\x4a\x90\xbb\xe1\x74\xf7\x4b\x64\x2a\x8c\xd5\x62\x55\x58\x57\x40\xf6\x1e\xe9\x2f\x14\xf8\x31\xa2\xc5\xb3\x89\x00\x8b\xea\xed\x5e\xbd\x39\x87\x45\x1c\xb2\xf1\xe6\x7c\xea\xa9\xf4\x2d\x2d\x77\xc4\xaf\xb8\xb9\x12\x47\x73\xf8\x22\xdd\x50\xcf\xd6\x60\xf9\xed\x23\x4b\x12\x55\x48\x1b\x06\xad\x27\x83\xec\x0c\xf5\x3c\xf2\x2c\xde\x37\x98\x6b\x5e\xfe\x1a\x88\xf3\x1f\xdb\xb5\x9a\x50\xba\xad\x55\x40\x2e\x4b\x6c\x06\x9d\x59\x48\x60\x69\x2e\x24\x28\x4d\x49\x83\xdd\x10\xf6\xdc\x7f\xe0\xc9\x4d\x46\xb5\x93\xfe\xdb\x4f\x81\x46\x40\xdf\xe5\x42\x5a\x3a\x9e\x2b\xcb\x82\xb1\x4a\x45\xfd\x2b\x36\xee\xeb\x3c\xf5\xaf\xd6\xcc\xfc\xe5\x39\x74\xb5\x9c\x02\x20\x0b\x24\xc3\x15\x39\xfc\x67\xad\x06\x3f\x5c\xb9\x44\xf9\x71\xea\xf2\xf7\x71\x00\xc0\xba\x90\x81\xdf\xff\x9d\x6f\xb1\x94\xcd\x71\xd3\xde\xf4\xcb\xba\xad\xa0\xdc\xb2\x0e\x7c\xac\xa5\x0b\x04\xa1\xda\x4b\xed\xa4\x0c\x16\xdd\xb3\xb3\x46\x87\xf6\x3d\x40\x6a\x33\x7a\x07\x8b\x06\x99\xe9\x86\x8b\xeb\x8d\x1d\xec\xe9\x6e\x10\xb6\x3b\x96\xe7\x74\x9d\x93\x54\x8a\x3a\x5b\xc1\x13\x2a\xa5\x95\xd9\x6d\xa3\x76\x1a\xee\x43\xf2\x7c\xc5\x53\x8a\xe7\xee\x9e\x9c\x03\x7d\xfa\x0b\x83\x3d\x52\xd1\x55\x3b\x58\xc0\x68\xc5\xf4\xa8\xc3\xdd\xd7\x9a\x4b\x07\x6c\xbc\xbf\x65\xb8\x61\xdc\xe1\x90\x54\x65\xe9\x8e\x17\x55\x9e\x14\xbf\x26\xd0\xf0\xa5\xc1\x4f\x38\xd4\x9c\xaa\xfc\xd9\x6d\x55\xf3\xad\xf2\x67\xb7\x55\xe5\x30\xe5\x45\xd7\x46\x9b\x3e\xb0\x82\xd3\x37\x7e\x2a\x41\x5f\x33\x9a\x34\xa7\x32\xbc\xf2\xd7\x9d\x50\x79\xff\x8d\xaf\xaa\xbc\xd8\x5b\xab\x83\x05\xcc\x7c\x59\x2f\xa4\xc2\x8d\x2a\x42\x1f\x89\xaa\x64\x87\x14\xdc\xc6\xeb\x00\x02\x9d\x4f\x84\xc5\xf9\xbb\x66\x0d\xf5\x4e\x82\x83\x9c\x44\x3e\x49\x46\xd7\xb9\xd8\x6d\xf8\xd4\x97\x27\x58\x76\x6f\x56\x40\x87\x8e\x36\x4a\x41\xc3\xea\xe2\x49\x4d\x91\xfa\xf8\x87\xe3\xa4\x06\xe6\xb3\x6a\xa8\x08\x3a\x69\x48\x5f\xba\xb7\xdf\xa2\x26\x6c\xcb\x1c\x30\x31\xf2\x1d\xb6\x1e\xb9\x4f\xd8\x36\x5c\xcd\x09\xd2\x95\x64\x04\x37\xa5\xa8\x94\x27\xf6\x96\x35\x87\x24\x8e\x5a\xa0\xc1\x83\xc4\x37\x9b\x71\x43\xaa\x23\x60\x76\xa0\xa6\x3b\x89\x8f\xa3\x5f\x8f\xee\x33\x86\xfe\x2b\x77\x8d\x18\xe0\xc8\x1c\x38\x7c\x8e\x40\x6d\xe8\x3a\xfe\x18\x4e\xb8\x3e\x3e\xf8\x9f\x00\x00\x00\xff\xff\x1a\x82\xe0\x88\x0f\x52\x00\x00" func examplenftCdcBytes() ([]byte, error) { return bindataRead( @@ -110,7 +110,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{0xee, 0x18, 0xbe, 0x2e, 0xc1, 0xd4, 0x88, 0x60, 0xfc, 0xaf, 0x1a, 0xa8, 0x6b, 0x94, 0xb, 0x58, 0xba, 0xa1, 0x80, 0x75, 0xb4, 0x68, 0xb3, 0x7f, 0xd6, 0x52, 0x56, 0xc7, 0xc5, 0xf9, 0x94, 0x1c}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x88, 0xf8, 0x1f, 0xad, 0x64, 0x18, 0xb7, 0x81, 0x2d, 0x71, 0xf9, 0x43, 0xc0, 0x75, 0x96, 0xa8, 0xdf, 0xc, 0x85, 0xa, 0x2c, 0x31, 0x23, 0xf1, 0x21, 0x30, 0xca, 0x5c, 0x10, 0xd9, 0x30, 0xe1}} return a, nil } diff --git a/lib/go/templates/internal/assets/assets.go b/lib/go/templates/internal/assets/assets.go index b8914fd..4a76f1e 100644 --- a/lib/go/templates/internal/assets/assets.go +++ b/lib/go/templates/internal/assets/assets.go @@ -17,6 +17,7 @@ // transactions/scripts/get_collection_length_from_storage.cdc (1.095kB) // transactions/scripts/get_contract_storage_path.cdc (688B) // transactions/scripts/get_contract_views.cdc (242B) +// transactions/scripts/get_cross_vm_nft_view.cdc (2.909kB) // transactions/scripts/get_nft_metadata.cdc (6.463kB) // transactions/scripts/get_nft_view.cdc (4.717kB) // transactions/scripts/get_views.cdc (1.244kB) @@ -436,6 +437,26 @@ func transactionsScriptsGet_contract_viewsCdc() (*asset, error) { return a, nil } +var _transactionsScriptsGet_cross_vm_nft_viewCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x56\x4f\x6f\xe3\xb6\x13\xbd\xeb\x53\xcc\xea\xf0\x83\x04\x04\xc2\xef\x50\xf4\x60\xac\x13\x24\x69\x02\xec\xc1\xc1\xa2\x75\x7d\x59\xec\x81\x26\x27\xf6\xa0\x12\x69\x90\x23\x65\xd3\x22\xdf\xbd\xa0\xa8\x3f\x94\x2c\x27\x3d\xad\x0f\x86\x34\x7c\x23\xbe\xf7\x86\x43\x92\xaa\x93\xb1\x0c\xe9\xc3\x0f\x51\x9d\x4a\x7c\x7a\xdc\xa6\x49\x1f\xdb\x20\x0b\x25\x58\xec\x08\x5f\xdc\x18\xbe\xb7\xc6\xb9\xdd\xe6\xc2\xa8\x7f\xfd\x1d\x9d\x29\x1b\xb4\x63\xf4\x61\xb7\x49\x93\x44\x48\x89\xce\x65\xa2\x2c\x73\x70\x6c\x6b\xc9\xf0\xf4\xb8\xf5\x19\xf0\x4f\x02\x00\x10\x03\x4a\x64\x20\xb5\x82\x3f\xbf\x68\xfe\xf5\x97\xc5\x61\x2d\x2a\x5c\xc1\x1f\x6c\x49\x1f\x16\x01\xee\xb5\xda\x9b\xf2\x5d\x88\x7e\xe6\xed\xeb\x09\x57\xe0\xff\x17\x11\x52\x28\xd4\x12\xef\x8d\x66\x2b\x24\xdf\x2a\x65\xd1\xb9\x15\x74\x0f\x17\x98\x31\x35\xb8\xdb\xac\x60\xc9\xad\x62\xb7\x59\xcc\xc2\xa6\xea\x71\x03\xe7\x16\x48\x9a\x38\x6b\x9f\xda\xb7\xc1\x95\xab\x21\x16\x5b\x31\x46\xa7\xfa\x23\x74\x2c\x7a\x0c\x7f\xa0\x34\x9e\xed\x03\x79\x23\x74\x49\x93\x8f\xe7\x5d\xc9\x5b\x9a\x58\x3e\x17\xa4\x60\x0d\xa4\xa6\x41\x2f\x0b\xd6\xad\xba\xe9\x40\x50\x06\xeb\x4e\xe2\x2c\x2b\xc8\xf3\x89\xe1\x69\x3a\xbc\x2c\x13\xd6\x17\xf4\xcf\x19\x05\xe9\x2d\xab\xf0\x38\x05\x44\x82\x61\x1d\xcb\x6f\x61\x6f\xc9\xdb\xb4\x0f\x9e\x6b\x0d\x95\x20\x9d\x89\xb9\xdb\x51\x9d\xf3\xd5\xac\x51\xfc\x6a\x11\x52\x9a\x5a\x33\xac\xe1\x80\x7c\x1b\x5e\xfa\xaf\xe4\xc9\x00\x93\xa6\x2c\x51\x32\x19\xfd\x5b\xa0\x34\xb6\x7a\x61\x43\xa3\xf6\x82\xfd\x04\x99\x8f\xd5\x56\x62\x58\x20\x9a\xca\x2b\x68\x08\x5f\xc6\xf5\xf2\x79\x5a\xec\xa7\xc7\xed\xfd\x64\x8a\xeb\x2c\xcf\x41\xb8\x4f\xf0\x01\xee\x66\xf0\xcd\xff\x6e\x6e\xe0\x24\x34\xc9\x2c\xbd\x37\x75\xa9\x40\x1b\x86\x8e\x1e\x9c\xa5\xb6\x8c\x0a\xd8\x1e\x31\x52\x03\xb2\x93\x01\x1a\x51\x39\x60\x03\xe4\x87\x2a\xd4\x0c\x7c\x5c\xfa\xcc\x50\x28\xff\x3d\x20\x0d\xc6\x2a\xb4\x3e\x13\x7f\xa0\xac\x19\x81\x8f\xe4\x80\xad\xd0\x4e\xb4\x69\xe9\xa2\xb3\xb0\xee\xab\x51\x48\x71\x12\x7b\x2a\x89\x09\x5d\xb1\x37\xd6\x9a\x97\xcf\xff\x8b\x2c\x1f\x19\x5c\x67\x13\x03\xa6\x75\x2a\x4e\xf5\xbe\x24\xf9\x55\xf0\xb1\x6b\x97\xd1\x20\x2f\xbb\x2f\x7e\x5a\x48\xa3\xa5\x18\x0a\x5f\xb0\x09\x4d\x96\xe5\x79\x3f\x94\x82\x32\xe8\x5a\x47\x8f\xa2\x41\x10\xf0\x64\xf4\x63\xad\x0f\xb4\x2f\x71\x6b\xfe\x42\x0d\x23\x2b\x10\x0c\x69\x3e\x61\xe6\x7f\xfd\xb7\x2e\xb2\x8c\x27\xbe\x98\x9d\x86\x9a\xf5\xe4\xab\xda\x71\xbb\xb7\x91\x28\xe9\x6f\x6f\x36\x92\x1d\x46\x5f\x88\x8f\xc1\xff\xc8\xe8\x67\xb2\x8e\x3f\xa5\x79\x54\x86\x26\x3a\x71\x7c\x13\x0f\xe0\xce\xfe\xf8\x44\xca\x7c\x4f\x91\xca\x21\x79\x6f\xdd\x85\xbc\x7e\xf9\xd9\xc0\xe4\x40\x0d\x6a\x20\x35\x5a\x4e\x2a\x16\x1d\x31\xc2\xa6\xba\xb3\xa4\x0e\xa8\xa2\x9d\x60\xda\x0d\x07\xe4\x87\xdd\x66\x86\xca\x62\x29\xf9\x02\xc5\x6e\x1d\xf9\x95\xfc\x0e\x93\xa8\xee\x34\x6d\xa4\xf3\x29\x5b\xf7\xd2\xae\x64\x1d\xf7\xaf\x86\x34\xb7\x5e\x2e\xee\xee\x81\x7a\x07\xfa\x19\x94\x7b\x3e\x0b\x54\xef\x5e\x19\x5d\x64\xf2\x3b\x84\x27\xd0\x9f\xe2\xf4\x84\x5b\x4f\x7e\x60\xaf\x50\x1a\x85\x6a\xae\xe0\x61\xb7\x29\xc2\xd0\xed\xdd\x97\x8c\x5f\x4f\xe8\x56\xf0\xad\xdd\x77\xc3\xb4\xd7\x59\xfe\xfd\x0a\xc2\x79\x3a\x77\xa0\xd8\xfb\xb7\xa2\x11\x65\x8d\xa3\x4f\xfb\x18\x72\xeb\xc2\x67\x60\xbd\xc8\xe0\xdb\xff\xbf\xb7\x7b\x77\x7f\xfb\x68\x3f\x62\x91\x6b\xab\xfb\x23\x68\x7a\x11\x21\x35\xbf\x84\x9c\xaf\xfe\xf6\x18\x3f\xbf\x95\x2c\x00\xc3\xd0\xc2\x45\x65\x5c\x96\xfd\xf1\xfd\xdf\xae\x2e\xe7\x79\x33\xc8\xd2\xa5\x26\x4a\xea\x83\x17\x2e\x34\x8b\xd6\x86\x0d\x3b\x79\x4b\xfe\x0d\x00\x00\xff\xff\x78\x0b\xfa\xf8\x5d\x0b\x00\x00" + +func transactionsScriptsGet_cross_vm_nft_viewCdcBytes() ([]byte, error) { + return bindataRead( + _transactionsScriptsGet_cross_vm_nft_viewCdc, + "transactions/scripts/get_cross_vm_nft_view.cdc", + ) +} + +func transactionsScriptsGet_cross_vm_nft_viewCdc() (*asset, error) { + bytes, err := transactionsScriptsGet_cross_vm_nft_viewCdcBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "transactions/scripts/get_cross_vm_nft_view.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6c, 0x3a, 0xa7, 0x1f, 0xcf, 0xfc, 0x66, 0x7e, 0x98, 0x2d, 0x24, 0x55, 0xc7, 0x9d, 0x79, 0x3b, 0x2, 0xed, 0x45, 0xf3, 0x80, 0xa7, 0xe4, 0xd3, 0x3a, 0xba, 0xa4, 0x92, 0xb0, 0x21, 0x5b, 0x98}} + return a, nil +} + var _transactionsScriptsGet_nft_metadataCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x58\x4f\x6f\xdb\xb8\x12\xbf\xfb\x53\x4c\x7c\x78\xb0\x80\x3e\xe5\x1d\x1e\xf6\x10\x54\x0d\xfa\x27\x59\x14\x48\x8d\x22\x71\x7b\x29\x7a\xa0\xa5\xb1\x3d\x88\x4c\x79\x49\x2a\xa9\xb7\xc8\x77\x5f\x90\x94\x44\x52\x22\xed\x6c\x80\xdd\xca\x33\xbf\x21\x87\xe4\xfc\x66\x38\xbc\xbc\xbc\x84\xd5\x8e\x24\xc8\x52\xd0\x41\xc1\x16\x95\x04\x56\xd7\xa0\x76\x08\x4f\x84\xcf\xff\x5d\x33\x89\x15\xec\x51\xb1\x8a\x29\x06\x4c\xca\xa6\x24\xa6\xb0\x82\x67\x52\x3b\x83\x93\x07\x2c\x69\x43\x58\xc1\xf2\x76\x35\xd3\x43\x32\x5e\x81\x40\xd5\x0a\x2e\x81\x14\x30\x09\x0c\x24\xf1\x6d\x8d\x20\x95\x68\x4b\x35\x9b\xd1\xfe\xd0\x08\x05\xf3\x9b\x5f\x6c\x7f\xa8\x71\x79\xbb\x9a\x0f\xb2\x2f\xdd\x6c\xdf\x09\x9f\xe5\x7c\x36\x63\x65\x89\x52\x2e\x58\x5d\x67\x9d\xbd\x9e\x09\x7e\xcf\x00\x00\x7c\x65\x8d\x0a\x38\xdb\xe3\x15\x3c\x28\x41\x7c\x1b\x05\x54\x68\x17\x4b\x0d\x3f\x89\x53\xbb\x76\xbf\xe6\x8c\xea\x93\xa8\xe6\x99\xa3\xb8\x82\xf7\x55\x25\x50\xca\xf8\x40\xc7\xc3\x69\x8f\x44\x73\x64\xb5\x22\x94\x57\xf0\x23\x58\x7b\x7e\x6f\x34\xc7\x9f\x51\x33\xfc\xa5\x50\x70\x56\x7f\xbb\xbf\x3b\x39\xbc\x44\x41\xac\x5e\xb6\xfb\xb5\xf6\xf4\xdb\x67\xae\xfe\xf8\x7f\x14\x58\x36\x75\x8d\xa5\xde\x98\xaf\xed\xba\xa6\xf2\x2b\x53\xbb\x2b\x70\xdf\x67\x8c\x1e\x54\x23\xd8\x16\xad\x95\xf7\xe3\x55\x73\x9d\x5c\xc1\x18\x7c\x47\xfc\x11\xab\xd5\xb9\x7d\x75\x66\xcb\x73\x41\xe1\xa0\x9f\x5e\x19\x1e\xce\xe2\xe6\x95\xe7\xe0\xed\xd4\x5f\x2d\x13\xf8\x79\xcf\xb6\xaf\xf5\xea\x03\xe3\x1c\xc5\xbf\xb1\x78\xd0\x3c\xad\xe5\x15\xfc\xb6\xf0\xde\xec\x25\x1e\x4b\x15\xd9\x15\x87\xf1\x77\x63\xc5\xf1\xb0\x16\x8c\x94\x1c\x5b\xac\x8c\x34\x6a\xb0\xc7\x8a\xd8\xc4\xe0\x8b\x91\x5e\x47\x2d\x6a\x2a\x91\x4b\x1c\x9b\xdc\x59\x71\xdc\x66\x2d\xa8\xda\x62\x75\xf6\xc4\xe5\x71\xbf\x6e\x4e\x73\x5b\x35\x8f\xc8\xbf\xdd\x7f\x1e\x40\x06\x45\x9c\xd4\xc2\x7c\xe9\x3f\x3f\xdd\xbc\x19\xa4\x91\x1c\xe3\x94\x93\xc4\xe2\x54\x61\x36\x71\x72\xbe\x51\x7e\xb4\x3b\xc5\xf9\xd4\xe1\xb0\x91\x7c\xe1\x94\xb1\x24\xe1\xb4\xe7\x32\x43\x0c\x99\x4a\x07\xe9\x51\xa7\x5e\x9d\x27\x7e\x0c\xbb\x8c\x9e\xc9\x49\x8a\xc7\x60\x11\x5e\x47\xd7\x39\x25\x73\x0c\x16\x61\x70\x74\xb4\x14\x6d\xbd\x73\x3c\xc9\x55\x2f\xce\x4e\x10\xd4\xa1\x3a\x56\x46\x49\xe9\x50\x3d\x13\xe3\x44\x74\xb8\x08\xfb\xbc\x18\x0b\x28\xe7\x39\x3a\xe6\x99\x16\x66\x5d\x7d\xb7\xc1\x59\x6f\x72\xcd\x34\x28\x0c\xe1\x42\x85\x47\x36\x28\x7c\xea\x85\xb0\x81\x76\x50\x38\x0a\x86\x10\x43\x3f\x28\x2c\x0d\x47\xd6\xc7\x83\x99\xdd\x12\x31\xd4\x0d\x24\x84\xc2\x11\x32\x84\x78\xdc\x83\xc2\x67\x62\x08\xf3\x59\x08\x45\x40\xca\x10\x18\x23\x24\x14\x51\x9e\xa6\x0c\x3d\x4a\x06\x96\xe3\xca\x9d\x9c\x33\x32\xdf\x69\x03\xc7\xde\x88\xa9\x53\xa6\x06\x59\xda\x00\x08\x05\x29\xf0\xa7\x20\x28\xa2\xf2\x94\xe9\x4d\x70\x56\x51\x79\x72\x4f\x5d\x2e\x08\xf7\xd4\xc9\x53\xa6\x5e\x7e\x08\x4c\x3d\x79\x72\x56\x9b\x33\xc2\x19\xad\x6c\x14\x85\x36\x45\xe8\x08\xf4\x0a\xbb\x8b\x71\x93\x1a\x34\x3d\x5c\x11\x1f\x94\x36\x4f\x40\xd1\x25\x8c\x50\xd9\xa5\x07\x28\xfa\x44\x11\xaa\xbd\xac\x00\x85\x9f\x23\x46\xd1\x6f\xf2\x83\x8e\x7b\xf3\x31\x72\xae\x4b\x12\xda\xbd\xee\xd3\x00\x5e\x66\x2f\x61\x87\xb0\x69\x39\xec\x19\xf1\x05\xb3\x55\xd4\x95\x53\xa0\xaa\x2f\x6d\xd9\x95\xd7\x42\xe8\x5a\xcf\xca\xb2\x69\xb9\x82\x42\xf7\x40\xef\xed\x8f\x7e\x84\x6c\x36\xc0\xbc\x40\xd2\xed\x50\x01\xae\x7f\xc9\x05\xca\xa6\x7e\xc2\x8f\x0d\x57\x82\x95\x4a\xa7\xc8\x85\x96\xb5\xa2\x44\x5b\xb2\x38\xd5\x6f\x4c\x5b\x65\x7f\xea\xff\xbf\x0d\x33\xea\xf2\x76\xf5\x31\x98\xe2\xdd\x22\xcb\x80\xc9\x0b\x38\x83\xbb\x1e\x76\x4b\xff\x5d\x5f\xc3\x81\x71\x2a\x17\xf3\x8f\x4d\x5b\x57\xc0\x1b\x05\x9d\x7b\x30\x31\x35\x1e\xe5\xb0\xda\xa1\xb7\x1a\x28\xbb\x65\x00\x47\xac\x24\xa8\x06\x48\xab\xf6\xc8\x95\xe9\xfa\xa6\xc3\xf4\x1e\x9a\xf1\x80\x38\x34\xa2\x42\xa1\x2d\xf1\x17\x96\xad\x42\x50\xba\xd5\x54\x82\x71\xc9\x8c\xd9\x3c\x33\x5e\x47\x76\x17\x8a\xfe\x44\xf2\x92\x1d\xd8\x9a\x6a\xd2\x49\x35\x5f\x37\x42\x34\xcf\x6f\xff\xe3\x6d\xbb\xf3\xe2\xdd\x22\xd8\x84\xf0\xac\xf2\x43\x98\x11\x33\x6f\x93\xf4\xd2\xfb\x00\x98\xe7\x65\xc3\x4b\x36\x1c\x7e\xae\x1a\x5b\x95\x16\x59\xd6\xab\xe6\x50\x35\x28\xcd\xae\xee\xd8\x13\x02\x83\x65\xc3\x6f\x5b\xbe\xa5\x75\x8d\x2b\x1d\x9d\xe0\xbc\x02\xa6\xa0\x5b\xa8\xff\xd7\x8f\x95\xf4\xd2\x9f\x38\x69\x3d\xb7\xe7\xd6\x3b\xbf\x6f\xa5\x32\x17\x54\x62\x35\xfd\xad\x37\x1c\x49\x0c\xda\xae\x63\x27\xe9\x6f\xf4\x86\x84\x54\x17\xf3\xcc\x0b\x72\xbe\x51\x41\x2e\xe9\x76\x7d\x79\xbb\x5a\x50\xe5\x7c\x89\x05\x99\x45\x02\x03\x81\x1b\x14\xc8\x4b\xd4\xe7\xcf\xb8\x1f\x59\xfa\x3f\xe3\x0a\x55\x6e\xb7\xa9\xf2\xd7\xdb\x39\x73\x79\x09\x7f\xa2\x0d\xb7\x35\x93\x54\x42\x45\xf2\x50\xb3\x23\x10\xdf\x34\x62\xcf\xec\x02\x1a\x61\x17\xb5\xbc\x5d\x0d\x4b\xe8\x81\xc5\x88\x37\x5b\x54\x9f\xac\x6a\xc1\x37\x2a\xbb\x98\xcc\x63\xeb\x77\x6c\x06\x84\x2d\x3d\x21\x0f\xa6\xe9\xd0\x7a\xec\xd8\x54\xf7\xfd\x65\xc0\x9f\x6c\xd4\xba\xc7\xec\xbc\x4a\x33\xb6\xf4\xc2\x25\xbd\xc4\x90\x9b\xc1\x7a\xbd\x33\x76\x90\x94\xff\x13\x8e\x8f\xbd\xe1\x1b\xd5\x5d\x3b\x53\x43\x74\x6a\x39\x9a\xde\xbf\xd9\xa4\x4c\x1f\x0c\x66\x3c\x65\xd8\x22\xd9\x2b\x99\xbd\xb8\x5d\xe4\x1d\x65\x83\x55\xae\x86\x8b\x9b\x1e\x53\xff\x5a\x44\xf3\x79\xf2\xe2\x0d\x05\xfc\xb6\x4d\xb3\x8e\x83\x47\xd4\xb1\x31\x3d\x86\x5c\x5a\xfb\xfc\x11\x8f\xd2\xbb\xba\x4e\x26\xf8\xf1\x88\xc7\x9f\xe1\x95\x24\x1c\xc1\x00\x2e\xf2\x56\xd4\x5d\x7d\x1b\x9c\x1d\xea\xf3\x64\xab\xec\xa5\x7e\xbc\x55\x43\xc9\x9e\xe0\xed\xfd\xde\xe0\x07\xb4\xab\xe1\x13\x78\x77\xcf\xb7\xf8\xc1\xa0\xab\xe3\x43\xda\x8f\x9d\xfe\xf7\x2f\x1f\x42\x94\xef\xa3\x7d\x22\xd4\x84\x1a\xf7\xd3\x1d\x7d\xcd\x9d\x3f\xd1\x55\xf7\x10\x4f\x18\x6d\xb1\x7b\xdc\x20\xca\x5b\x41\x8b\x6c\xd2\x73\x9b\x7f\x22\x1d\x77\xf7\x91\x53\x85\x5c\xd1\x86\x7c\x90\xd7\x7d\x7b\x99\x20\x64\x7e\x96\x68\xc0\xbd\x1f\xfa\xac\x53\x9d\xf8\x98\x28\x39\x37\x9f\xe7\x5a\xf3\x09\xbd\xbd\xc2\x72\xb6\x59\x9f\x1a\xcb\xd7\xb5\xef\xa9\x59\x9d\x30\xba\x8d\xa7\xba\xfc\xd4\x90\x0e\x73\x66\x48\xdb\x8a\x4e\xd9\x16\x86\x56\xe2\x71\x60\x6a\x16\x0d\xb7\xc4\x9b\xc1\xd4\x3a\x79\xe8\x89\xe7\x84\x48\x92\x70\xea\x7c\x43\x35\x8e\xa3\x39\xf1\xe0\x30\x1d\x68\xed\xd4\x67\x06\x1a\x32\xe3\x44\x14\x79\x93\x08\x2b\x42\xae\xcb\xe8\x1d\x49\xf5\xe3\x7f\x3f\xa7\x0f\x13\x2a\xfe\x14\xd1\xfd\x3b\x7d\x7c\xe8\x3f\x12\xcf\x0d\xa3\x7c\x34\x3a\xe1\xfe\xf1\x61\x8c\xb2\xf2\xd8\x63\xc4\x18\xd9\x0a\xb2\x9b\x64\xef\x8f\xb3\x97\xd9\x3f\x01\x00\x00\xff\xff\x6c\xae\xf4\x95\x3f\x19\x00\x00" func transactionsScriptsGet_nft_metadataCdcBytes() ([]byte, error) { @@ -744,6 +765,7 @@ var _bindata = map[string]func() (*asset, error){ "transactions/scripts/get_collection_length_from_storage.cdc": transactionsScriptsGet_collection_length_from_storageCdc, "transactions/scripts/get_contract_storage_path.cdc": transactionsScriptsGet_contract_storage_pathCdc, "transactions/scripts/get_contract_views.cdc": transactionsScriptsGet_contract_viewsCdc, + "transactions/scripts/get_cross_vm_nft_view.cdc": transactionsScriptsGet_cross_vm_nft_viewCdc, "transactions/scripts/get_nft_metadata.cdc": transactionsScriptsGet_nft_metadataCdc, "transactions/scripts/get_nft_view.cdc": transactionsScriptsGet_nft_viewCdc, "transactions/scripts/get_views.cdc": transactionsScriptsGet_viewsCdc, @@ -821,6 +843,7 @@ var _bintree = &bintree{nil, map[string]*bintree{ "get_collection_length_from_storage.cdc": {transactionsScriptsGet_collection_length_from_storageCdc, map[string]*bintree{}}, "get_contract_storage_path.cdc": {transactionsScriptsGet_contract_storage_pathCdc, map[string]*bintree{}}, "get_contract_views.cdc": {transactionsScriptsGet_contract_viewsCdc, map[string]*bintree{}}, + "get_cross_vm_nft_view.cdc": {transactionsScriptsGet_cross_vm_nft_viewCdc, map[string]*bintree{}}, "get_nft_metadata.cdc": {transactionsScriptsGet_nft_metadataCdc, map[string]*bintree{}}, "get_nft_view.cdc": {transactionsScriptsGet_nft_viewCdc, map[string]*bintree{}}, "get_views.cdc": {transactionsScriptsGet_viewsCdc, map[string]*bintree{}}, diff --git a/lib/go/test/nft_test_helpers.go b/lib/go/test/nft_test_helpers.go index 14c79b5..54451a4 100644 --- a/lib/go/test/nft_test_helpers.go +++ b/lib/go/test/nft_test_helpers.go @@ -48,10 +48,13 @@ func deployNFTContracts( metadataAddress := deploy(t, b, adapter, "MetadataViews", contracts.MetadataViews(emulatorFTAddress, nftAddress.String(), resolverAddress.String()), nftAccountKey) + evmAddress := flow.HexToAddress(emulatorEVMAddress) + crossVMMetadataAddress := deploy(t, b, adapter, "CrossVMMetadataViews", contracts.CrossVMMetadataViews(resolverAddress.String(), evmAddress.String()), nftAccountKey) + exampleNFTAddress := deploy( t, b, adapter, "ExampleNFT", - contracts.ExampleNFT(nftAddress, metadataAddress, resolverAddress), + contracts.ExampleNFT(nftAddress, metadataAddress, resolverAddress, evmAddress, crossVMMetadataAddress), exampleNFTAccountKey, ) diff --git a/lib/go/test/test.go b/lib/go/test/test.go index c220d67..84691d7 100644 --- a/lib/go/test/test.go +++ b/lib/go/test/test.go @@ -29,6 +29,7 @@ var _ = chainhash.Hash{} const ( emulatorFTAddress = "ee82856bf20e2aa6" + emulatorEVMAddress = "f8d6e0586b0a20c7" ) // Sets up testing and emulator objects and initialize the emulator default addresses diff --git a/tests/example_nft_test.cdc b/tests/example_nft_test.cdc index 2235545..e392e6f 100644 --- a/tests/example_nft_test.cdc +++ b/tests/example_nft_test.cdc @@ -5,8 +5,6 @@ import "ViewResolver" import "NonFungibleToken" import "ExampleNFT" import "MetadataViews" -import "CrossVMMetadataViews" -import "EVM" access(all) let admin = Test.getAccount(0x0000000000000007) access(all) let recipient = Test.createAccount() @@ -29,8 +27,6 @@ fun setup() { deploy("ViewResolver", "../contracts/ViewResolver.cdc") deploy("NonFungibleToken", "../contracts/NonFungibleToken.cdc") deploy("MetadataViews", "../contracts/MetadataViews.cdc") - deploy("Serialize", "../imports/1e4aa0b87d10b141/Serialize.cdc") - deploy("SerializeMetadata", "../imports/1e4aa0b87d10b141/SerializeMetadata.cdc") deploy("CrossVMMetadataViews", "../contracts/CrossVMMetadataViews.cdc") deploy("ExampleNFT", "../contracts/ExampleNFT.cdc") deploy("MaliciousNFT", "../contracts/test/MaliciousNFT.cdc") diff --git a/tests/scripts/get_cross_vm_nft_view.cdc b/tests/scripts/get_cross_vm_nft_view.cdc index 417b80f..3fea92e 100644 --- a/tests/scripts/get_cross_vm_nft_view.cdc +++ b/tests/scripts/get_cross_vm_nft_view.cdc @@ -4,7 +4,6 @@ import "MetadataViews" import "CrossVMMetadataViews" import "ViewResolver" import "EVM" -import "SerializeMetadata" access(all) struct NFTView { access(all) let id: UInt64 @@ -76,7 +75,7 @@ access(all) fun main(address: Address, id: UInt64): Bool { let expectedEVMContractAddress = EVM.addressFromString("0x1234565789012345657890123456578901234565") let nft = viewResolver as! &{NonFungibleToken.NFT} - let expectedDecodedMetadata = SerializeMetadata.serializeNFTMetadataAsURI(nft) + let expectedDecodedMetadata = evmBridgedMetadata.uri.uri() assert("ExampleNFT" == nftViewResult.name) assert("XMPL" == nftViewResult.symbol) From c21240586f8e0d9abde048c8b9f5f2ef2e0d4710 Mon Sep 17 00:00:00 2001 From: Josh Hannan Date: Wed, 12 Feb 2025 13:43:21 -0600 Subject: [PATCH 9/9] use separate getter for new additions --- .gitignore | 3 +- .../test/ExampleNFT_preCrossVMPointer.cdc | 371 ++++++++++++++++++ lib/go/contracts/contracts.go | 25 +- lib/go/contracts/contracts_test.go | 6 +- lib/go/contracts/internal/assets/assets.go | 83 +++- lib/go/test/nft_test_helpers.go | 9 +- tests/nft_forwarding_test.cdc | 1 + 7 files changed, 477 insertions(+), 21 deletions(-) create mode 100644 contracts/test/ExampleNFT_preCrossVMPointer.cdc diff --git a/.gitignore b/.gitignore index b548b78..8a57874 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ coverage.json *.pkey imports/ coverage.lcov -coverage.json \ No newline at end of file +coverage.json +lcov.info \ No newline at end of file diff --git a/contracts/test/ExampleNFT_preCrossVMPointer.cdc b/contracts/test/ExampleNFT_preCrossVMPointer.cdc new file mode 100644 index 0000000..6a97704 --- /dev/null +++ b/contracts/test/ExampleNFT_preCrossVMPointer.cdc @@ -0,0 +1,371 @@ +/* +* +* This is an example implementation of a Flow Non-Fungible Token +* using the V2 standard. +* It is not part of the official standard but it assumed to be +* similar to how many NFTs would implement the core functionality. +* +* This contract does not implement any sophisticated classification +* system for its NFTs. It defines a simple NFT with minimal metadata. +* +*/ + +import "NonFungibleToken" +import "ViewResolver" +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 { + + access(all) let id: UInt64 + + /// From the Display metadata view + access(all) let name: String + access(all) let description: String + access(all) let thumbnail: String + + /// For the Royalties metadata view + access(self) let royalties: [MetadataViews.Royalty] + + /// Generic dictionary of traits the NFT has + access(self) let metadata: {String: AnyStruct} + + init( + name: String, + description: String, + thumbnail: String, + royalties: [MetadataViews.Royalty], + metadata: {String: AnyStruct}, + ) { + self.id = self.uuid + self.name = name + self.description = description + self.thumbnail = thumbnail + self.royalties = royalties + self.metadata = metadata + } + + /// createEmptyCollection creates an empty Collection + /// and returns it to the caller so that they can own NFTs + /// @{NonFungibleToken.Collection} + access(all) fun createEmptyCollection(): @{NonFungibleToken.Collection} { + return <-ExampleNFT.createEmptyCollection(nftType: Type<@ExampleNFT.NFT>()) + } + + access(all) view fun getViews(): [Type] { + return [ + Type(), + Type(), + Type(), + Type(), + Type(), + Type(), + Type(), + Type(), + Type() + ] + } + + access(all) fun resolveView(_ view: Type): AnyStruct? { + switch view { + case Type(): + return MetadataViews.Display( + name: self.name, + description: self.description, + thumbnail: MetadataViews.HTTPFile( + url: self.thumbnail + ) + ) + case Type(): + // There is no max number of NFTs that can be minted from this contract + // so the max edition field value is set to nil + let editionInfo = MetadataViews.Edition(name: "Example NFT Edition", number: self.id, max: nil) + let editionList: [MetadataViews.Edition] = [editionInfo] + return MetadataViews.Editions( + editionList + ) + case Type(): + return MetadataViews.Serial( + self.id + ) + case Type(): + return MetadataViews.Royalties( + self.royalties + ) + case Type(): + return MetadataViews.ExternalURL("https://example-nft.onflow.org/".concat(self.id.toString())) + case Type(): + return ExampleNFT.resolveContractView(resourceType: Type<@ExampleNFT.NFT>(), viewType: Type()) + case Type(): + return ExampleNFT.resolveContractView(resourceType: Type<@ExampleNFT.NFT>(), viewType: Type()) + case Type(): + // exclude mintedTime and foo to show other uses of Traits + let excludedTraits = ["mintedTime", "foo"] + let traitsView = MetadataViews.dictToTraits(dict: self.metadata, excludedNames: excludedTraits) + + // mintedTime is a unix timestamp, we should mark it with a displayType so platforms know how to show it. + let mintedTimeTrait = MetadataViews.Trait(name: "mintedTime", value: self.metadata["mintedTime"]!, displayType: "Date", rarity: nil) + traitsView.addTrait(mintedTimeTrait) + + // foo is a trait with its own rarity + let fooTraitRarity = MetadataViews.Rarity(score: 10.0, max: 100.0, description: "Common") + let fooTrait = MetadataViews.Trait(name: "foo", value: self.metadata["foo"], displayType: nil, rarity: fooTraitRarity) + traitsView.addTrait(fooTrait) + + return traitsView + case Type(): + // Implementing this view gives the project control over how the bridged NFT is represented as an + // ERC721 when bridged to EVM on Flow via the public infrastructure bridge. + + // Get the contract-level name and symbol values + let contractLevel = ExampleNFT.resolveContractView( + resourceType: nil, + viewType: Type() + ) as! MetadataViews.EVMBridgedMetadata? + + if let contractMetadata = contractLevel { + // Compose the token-level URI based on a base URI and the token ID, pointing to a JSON file. This + // would be a file you've uploaded and are hosting somewhere - in this case HTTP, but this could be + // IPFS, S3, a data URL containing the JSON directly, etc. + let baseURI = "https://example-nft.onflow.org/token-metadata/" + let uriValue = self.id.toString().concat(".json") + + return MetadataViews.EVMBridgedMetadata( + name: contractMetadata.name, + symbol: contractMetadata.symbol, + uri: MetadataViews.URI( + baseURI: baseURI, // defining baseURI results in a concatenation of baseURI and value + value: self.id.toString().concat(".json") + ) + ) + } else { + return nil + } + } + return nil + } + } + + // Deprecated: Only here for backward compatibility. + access(all) resource interface ExampleNFTCollectionPublic {} + + access(all) resource Collection: NonFungibleToken.Collection, ExampleNFTCollectionPublic { + /// dictionary of NFT conforming tokens + /// NFT is a resource type with an `UInt64` ID field + access(all) var ownedNFTs: @{UInt64: {NonFungibleToken.NFT}} + + init () { + self.ownedNFTs <- {} + } + + /// getSupportedNFTTypes returns a list of NFT types that this receiver accepts + access(all) view fun getSupportedNFTTypes(): {Type: Bool} { + let supportedTypes: {Type: Bool} = {} + supportedTypes[Type<@ExampleNFT.NFT>()] = true + return supportedTypes + } + + /// Returns whether or not the given type is accepted by the collection + /// A collection that can accept any type should just return true by default + access(all) view fun isSupportedNFTType(type: Type): Bool { + return type == Type<@ExampleNFT.NFT>() + } + + /// withdraw removes an NFT from the collection and moves it to the caller + access(NonFungibleToken.Withdraw) fun withdraw(withdrawID: UInt64): @{NonFungibleToken.NFT} { + let token <- self.ownedNFTs.remove(key: withdrawID) + ?? panic("ExampleNFT.Collection.withdraw: Could not withdraw an NFT with ID " + .concat(withdrawID.toString()) + .concat(". Check the submitted ID to make sure it is one that this collection owns.")) + + return <-token + } + + /// deposit takes a NFT and adds it to the collections dictionary + /// and adds the ID to the id array + access(all) fun deposit(token: @{NonFungibleToken.NFT}) { + let token <- token as! @ExampleNFT.NFT + let id = token.id + + // add the new token to the dictionary which removes the old one + let oldToken <- self.ownedNFTs[token.id] <- token + + destroy oldToken + + // This code is for testing purposes only + // Do not add to your contract unless you have a specific + // reason to want to emit the NFTUpdated event somewhere + // in your contract + let authTokenRef = (&self.ownedNFTs[id] as auth(NonFungibleToken.Update) &{NonFungibleToken.NFT}?)! + //authTokenRef.updateTransferDate(date: getCurrentBlock().timestamp) + ExampleNFT.emitNFTUpdated(authTokenRef) + } + + /// getIDs returns an array of the IDs that are in the collection + access(all) view fun getIDs(): [UInt64] { + return self.ownedNFTs.keys + } + + /// Gets the amount of NFTs stored in the collection + access(all) view fun getLength(): Int { + return self.ownedNFTs.length + } + + access(all) view fun borrowNFT(_ id: UInt64): &{NonFungibleToken.NFT}? { + return &self.ownedNFTs[id] + } + + /// Borrow the view resolver for the specified NFT ID + access(all) view fun borrowViewResolver(id: UInt64): &{ViewResolver.Resolver}? { + if let nft = &self.ownedNFTs[id] as &{NonFungibleToken.NFT}? { + return nft as &{ViewResolver.Resolver} + } + return nil + } + + /// createEmptyCollection creates an empty Collection of the same type + /// and returns it to the caller + /// @return A an empty collection of the same type + access(all) fun createEmptyCollection(): @{NonFungibleToken.Collection} { + return <-ExampleNFT.createEmptyCollection(nftType: Type<@ExampleNFT.NFT>()) + } + } + + /// createEmptyCollection creates an empty Collection for the specified NFT type + /// and returns it to the caller so that they can own NFTs + access(all) fun createEmptyCollection(nftType: Type): @{NonFungibleToken.Collection} { + return <- create Collection() + } + + /// Function that returns all the Metadata Views implemented by a Non Fungible Token + /// + /// @return An array of Types defining the implemented views. This value will be used by + /// developers to know which parameter to pass to the resolveView() method. + /// + access(all) view fun getContractViews(resourceType: Type?): [Type] { + return [ + Type(), + Type(), + Type() + ] + } + + /// Function that resolves a metadata view for this contract. + /// + /// @param view: The Type of the desired view. + /// @return A structure representing the requested view. + /// + access(all) fun resolveContractView(resourceType: Type?, viewType: Type): AnyStruct? { + switch viewType { + case Type(): + let collectionData = MetadataViews.NFTCollectionData( + storagePath: self.CollectionStoragePath, + publicPath: self.CollectionPublicPath, + publicCollection: Type<&ExampleNFT.Collection>(), + publicLinkedType: Type<&ExampleNFT.Collection>(), + createEmptyCollectionFunction: (fun(): @{NonFungibleToken.Collection} { + return <-ExampleNFT.createEmptyCollection(nftType: Type<@ExampleNFT.NFT>()) + }) + ) + return collectionData + case Type(): + let media = MetadataViews.Media( + file: MetadataViews.HTTPFile( + url: "https://assets.website-files.com/5f6294c0c7a8cdd643b1c820/5f6294c0c7a8cda55cb1c936_Flow_Wordmark.svg" + ), + mediaType: "image/svg+xml" + ) + return MetadataViews.NFTCollectionDisplay( + name: "The Example Collection", + description: "This collection is used as an example to help you develop your next Flow NFT.", + externalURL: MetadataViews.ExternalURL("https://example-nft.onflow.org"), + squareImage: media, + bannerImage: media, + socials: { + "twitter": MetadataViews.ExternalURL("https://twitter.com/flow_blockchain") + } + ) + case Type(): + // Implementing this view gives the project control over how the bridged NFT is represented as an ERC721 + // when bridged to EVM on Flow via the public infrastructure bridge. + + // Compose the contract-level URI. In this case, the contract metadata is located on some HTTP host, + // but it could be IPFS, S3, a data URL containing the JSON directly, etc. + return MetadataViews.EVMBridgedMetadata( + name: "ExampleNFT", + symbol: "XMPL", + uri: MetadataViews.URI( + baseURI: nil, // setting baseURI as nil sets the given value as the uri field value + value: "https://example-nft.onflow.org/contract-metadata.json" + ) + ) + } + return nil + } + + /// Resource that an admin or something similar would own to be + /// able to mint new NFTs + /// + access(all) resource NFTMinter { + + /// mintNFT mints a new NFT with a new ID + /// and returns it to the calling context + access(all) fun mintNFT( + name: String, + description: String, + thumbnail: String, + royalties: [MetadataViews.Royalty] + ): @ExampleNFT.NFT { + + let metadata: {String: AnyStruct} = {} + let currentBlock = getCurrentBlock() + metadata["mintedBlock"] = currentBlock.height + metadata["mintedTime"] = currentBlock.timestamp + + // this piece of metadata will be used to show embedding rarity into a trait + metadata["foo"] = "bar" + + // create a new NFT + var newNFT <- create NFT( + name: name, + description: description, + thumbnail: thumbnail, + royalties: royalties, + metadata: metadata, + ) + + return <-newNFT + } + } + + init() { + + // Set the named paths + 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() + self.account.storage.save(<-collection, to: self.CollectionStoragePath) + + // create a public capability for the collection + let collectionCap = self.account.capabilities.storage.issue<&ExampleNFT.Collection>(self.CollectionStoragePath) + self.account.capabilities.publish(collectionCap, at: self.CollectionPublicPath) + + // Create a Minter resource and save it to storage + let minter <- create NFTMinter() + self.account.storage.save(<-minter, to: self.MinterStoragePath) + } +} \ No newline at end of file diff --git a/lib/go/contracts/contracts.go b/lib/go/contracts/contracts.go index f2bec84..cbaa3d9 100644 --- a/lib/go/contracts/contracts.go +++ b/lib/go/contracts/contracts.go @@ -1,6 +1,6 @@ package contracts -//go:generate go run github.com/kevinburke/go-bindata/go-bindata -prefix ../../../contracts -o internal/assets/assets.go -pkg assets -nometadata -nomemcopy ../../../contracts +//go:generate go run github.com/kevinburke/go-bindata/go-bindata -prefix ../../../contracts -o internal/assets/assets.go -pkg assets -nometadata -nomemcopy ../../../contracts/... import ( "fmt" @@ -39,7 +39,6 @@ const ( filenameViewResolver = "ViewResolver.cdc" filenameUniversalCollection = "UniversalCollection.cdc" filenameBasicNFT = "BasicNFT.cdc" - filenameFungibleToken = "utility/FungibleToken.cdc" ) func withHexPrefix(address string) string { @@ -64,7 +63,18 @@ func NonFungibleToken(resolverAddress string) []byte { // ExampleNFT returns the ExampleNFT contract. // // The returned contract will import the NonFungibleToken contract from the specified address. -func ExampleNFT(nftAddress, metadataAddress, resolverAddress, evmAddress, crossVMMetadataAddress flow.Address) []byte { +func ExampleNFT(nftAddress, metadataAddress, resolverAddress flow.Address) []byte { + code := assets.MustAssetString("test/ExampleNFT_preCrossVMPointer.cdc") + + code = placeholderNonFungibleToken.ReplaceAllString(code, nonFungibleTokenImport+withHexPrefix(nftAddress.String())) + code = placeholderMetadataViews.ReplaceAllString(code, metadataViewsImport+withHexPrefix(metadataAddress.String())) + code = placeholderResolver.ReplaceAllString(code, viewResolverImport+withHexPrefix(resolverAddress.String())) + + return []byte(code) +} + +// ExampleNFTWithCrossVMPointers returns the ExampleNFT contract with cross VM pointers views. +func ExampleNFTWithCrossVMPointers(nftAddress, metadataAddress, resolverAddress, evmAddress, crossVMMetadataAddress flow.Address) []byte { code := assets.MustAssetString(filenameExampleNFT) code = placeholderNonFungibleToken.ReplaceAllString(code, nonFungibleTokenImport+withHexPrefix(nftAddress.String())) @@ -94,8 +104,8 @@ func ViewResolver() []byte { func CrossVMMetadataViews(resolverAddress, evmAddress string) []byte { code := assets.MustAssetString(filenameCrossVMMetadataViews) - code = placeholderFungibleToken.ReplaceAllString(code, viewResolverImport+withHexPrefix(resolverAddress)) - code = placeholderFungibleToken.ReplaceAllString(code, evmImport+withHexPrefix(evmAddress)) + code = placeholderResolver.ReplaceAllString(code, viewResolverImport+withHexPrefix(resolverAddress)) + code = placeholderEVM.ReplaceAllString(code, evmImport+withHexPrefix(evmAddress)) return []byte(code) } @@ -116,8 +126,3 @@ func BasicNFT(nftAddress, resolverAddress, metadataAddress, universalCollectionA code = placeholderUniversalCollection.ReplaceAllString(code, universalCollectionImport+withHexPrefix(universalCollectionAddress.String())) return []byte(code) } - -// FungibleToken returns the FungibleToken contract interface. -func FungibleToken() []byte { - return assets.MustAsset(filenameFungibleToken) -} diff --git a/lib/go/contracts/contracts_test.go b/lib/go/contracts/contracts_test.go index 06ea08e..2dae9f3 100644 --- a/lib/go/contracts/contracts_test.go +++ b/lib/go/contracts/contracts_test.go @@ -22,10 +22,10 @@ func TestExampleNFTContract(t *testing.T) { addressA := addresses.New() addressB := addresses.New() addressC := addresses.New() - addressD := addresses.New() - addressE := addresses.New() + // addressD := addresses.New() + // addressE := addresses.New() - contract := contracts.ExampleNFT(addressA, addressB, addressC, addressD, addressE) + contract := contracts.ExampleNFT(addressA, addressB, addressC) assert.NotNil(t, contract) assert.Contains(t, string(contract), addressA.String()) diff --git a/lib/go/contracts/internal/assets/assets.go b/lib/go/contracts/internal/assets/assets.go index 1fd0457..47b433f 100644 --- a/lib/go/contracts/internal/assets/assets.go +++ b/lib/go/contracts/internal/assets/assets.go @@ -5,6 +5,9 @@ // MetadataViews.cdc (29.808kB) // NonFungibleToken.cdc (13.763kB) // ViewResolver.cdc (2.71kB) +// test/ExampleNFT_preCrossVMPointer.cdc (16.846kB) +// test/MaliciousNFT.cdc (16.838kB) +// utility/NFTForwarding.cdc (5.739kB) package assets @@ -174,6 +177,66 @@ func viewresolverCdc() (*asset, error) { return a, nil } +var _testExamplenft_precrossvmpointerCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x3b\x6b\x73\x1b\x37\x92\xdf\xf5\x2b\x3a\xfc\x90\x23\x73\x34\x65\xe7\xb5\xbb\x2c\x33\x4e\x22\x59\x39\x5e\xd9\x5a\x97\x44\x3b\x57\xe5\x52\x79\xc1\x99\xa6\x88\x68\x06\x60\x00\x8c\x68\x96\x4b\xff\xfd\xaa\x1b\xf3\xc0\xbc\x48\xca\xbe\x5c\xdd\xf1\x83\x44\xce\xa0\x1b\xdd\x8d\x46\xa3\x5f\x38\xfd\xe6\xe4\x9b\x93\x6f\x00\x16\x6b\x69\x41\x5a\x10\x0a\xf0\xa3\x48\x37\x09\x82\xa4\xbf\x29\x2a\x27\x9c\xd4\x0a\xf4\x0a\x04\x5c\x24\x7a\x0b\x97\x5a\x3d\xb9\xc8\xd4\xad\x5c\x26\x08\x0b\x7d\x87\x8a\x30\x64\x56\xaa\x5b\x70\x6b\x84\x77\xdf\x82\x75\x42\xc5\xc2\xc4\x13\x7a\x33\x77\x84\x59\x69\x07\x1b\x61\x1c\x21\xa2\x51\x7a\xb5\x92\x91\x14\x49\x39\x16\x96\x99\x03\xe9\x40\x58\x9b\xa5\x18\x83\xd3\xb0\x44\x82\xb7\x32\x95\x89\x30\xf4\x60\xad\xb7\x90\x0a\xb5\x83\xcb\x8b\x85\x85\xad\xce\x92\xb8\xa2\x93\xd1\x46\xda\x20\xac\x32\x15\x11\xd1\x22\x91\x6e\x37\x09\x38\x8c\xb4\x72\x46\x44\x0e\x62\x8d\x9e\xa4\x0a\x9a\xd0\x5a\xbd\x59\x4b\xeb\x64\x24\x1c\xc6\x10\x25\xc2\x5a\xb9\xa2\x5f\x52\x33\x93\x76\x67\x1d\xa6\xb0\xd2\x06\xa4\xb3\x4c\xc5\x84\xf8\x8b\x71\x25\x15\x5a\x10\x44\x2c\x09\xef\xf2\x62\x01\x5b\xe9\xd6\x90\x4a\x25\x53\x91\x40\x8a\x4e\xc4\xc2\x09\xa6\xe6\xf4\xe4\x44\xa6\x1b\x6d\x1c\x0c\x2e\xb5\x2a\x64\xc9\xa2\x1c\x94\x6f\xde\x49\xdc\x5e\xa1\xd5\xc9\x3d\x9a\xea\xe9\xeb\x1c\x0f\xbd\xb5\x83\x93\x13\x11\x45\x68\xed\x50\x24\xc9\xa8\xe2\xee\xa5\x5f\xc2\xcb\x8b\xc5\x14\x9a\x13\xc0\xa7\x93\x13\x00\x80\xd3\xd3\x53\xb8\x2e\x44\xff\x46\xb8\xb5\xe5\xc7\x21\xbe\x04\x1d\x9c\xe9\x24\x41\x16\xe6\xb5\xd3\x46\xdc\x22\x0d\x9d\x42\xf0\xe3\x00\xd8\x9b\x6c\x99\xc8\xc8\x43\x55\xdf\x2b\x1a\xe8\x17\x6c\xd7\x68\x90\xd7\x2f\x95\xca\xa1\x01\xbb\xe6\xb5\x5d\x22\x58\xa7\x0d\xc6\xe5\xf0\xc5\x1a\x2b\x8d\xd9\x10\xd9\xbc\x1a\x7e\xe9\x8b\x39\x41\x98\x02\x10\xa4\x6a\xbe\x34\x68\x75\x66\x22\x04\xb7\xdb\x60\x27\xf5\xaf\x99\x88\x5e\x86\x4b\x62\x7e\x47\x88\xd6\x5a\x5b\x4f\xba\x12\xa9\x5f\x78\x62\x66\xcc\xea\xec\x48\xe9\x68\x1a\x88\x84\x82\xb5\xb8\x47\x56\x33\x1e\xa9\xf4\xb6\x44\xb4\xc4\x48\x64\x39\x1a\x9e\x7b\x25\x22\xac\x94\xd4\xe0\x9f\x99\x34\x48\xbb\x83\x36\x01\xa3\x01\xbb\xc1\x88\x94\xd3\x63\x23\xb4\xa9\x36\x6d\x7e\x4a\x6e\x3b\xb5\x61\x42\xf4\xe6\x1a\xd1\x25\x09\x19\x4f\xe1\xed\x5c\xb9\x1f\xbf\xaf\xc6\x10\xc1\x17\x46\xa7\x4c\xed\xb9\xb4\x9b\x44\xec\x4a\xfd\x86\x7b\x89\xdb\x5e\x74\x44\x2a\xc9\xd2\x48\x75\xdb\x3b\x28\x46\x1b\x19\xb9\xa1\xb5\x3a\x38\xd6\xad\xb3\x74\xa9\x84\x4c\xca\x91\x75\x32\x73\xd5\xb8\xd2\x3b\x91\x38\x89\x76\x3f\x9d\x16\x93\x95\xc7\x6b\x0a\x80\x29\xbc\xaf\x6d\xb9\x89\x47\xb5\xbb\xa9\x4f\xf4\x1b\x2a\x34\x32\x82\x58\x7a\xc3\x63\x76\x6c\xe7\x8c\x20\x33\x41\x14\xb0\x5e\x08\xdb\x3f\x63\x41\xd8\x14\x3e\x79\x4e\xa6\xf0\x8b\xda\x5d\x3b\x93\x45\xee\xa1\x9a\x4c\x2a\xe9\x86\xe5\x2f\xfa\x84\x32\x1d\xd7\xde\x74\x08\xb2\x3e\xa0\x25\xbd\xfa\xeb\xc3\x42\xa8\x8f\xdf\xcb\x42\x35\x74\x04\x9f\x6a\x60\x24\x83\x89\x8c\x61\xe6\xbf\x65\x99\x8c\xdb\xef\x59\xc9\x67\xcc\x6c\xfb\x65\xc0\x28\xcc\x42\xb6\xdb\x43\x4b\x96\x61\x56\xb1\xdf\x1e\x56\xb2\x0e\xb3\x4a\x0c\xed\x61\xa5\x36\xcd\x4a\xe6\xcb\x41\x0f\x75\x0d\x89\x0c\x0a\x87\x2f\xd3\x8d\xdb\x55\xc6\x31\x7f\xea\xcf\x5d\x7a\x15\x18\xce\x1a\xb4\x50\x31\x18\x74\x99\x51\x36\xb7\x02\x6c\xd4\x44\x92\x90\xb1\xa4\x5f\x82\xcf\xbf\x1d\x1b\x1a\xbd\x55\x7c\x36\xd5\x50\xfc\xfc\xa9\xb5\xf9\xab\xc9\x1e\x3a\x77\xd8\x2a\x53\xdd\x74\x0f\x47\xd3\x03\xf8\x1a\x6b\xec\x69\x87\xe7\x4f\xaa\xa3\x69\xd2\x8d\x59\xad\xdc\x62\xb7\xc1\x29\xd0\xdf\xe7\x3f\x07\xe3\x2f\x2f\x16\x3f\x0d\x47\xa3\x2e\x01\x87\x44\xd3\xc6\x66\xca\x6f\xd1\xb1\xb6\x12\xb1\xef\x09\xdb\x4d\x37\x51\xef\x6b\x0f\xe9\xc3\x53\xd7\x35\x3e\xb7\x73\x3f\x0d\x47\xe3\x63\x86\x97\x06\xe7\x58\x80\x97\xb1\x24\xf6\x8f\x1f\xff\xd1\xa1\x51\x22\x79\x7b\xf5\xea\x58\x90\xcb\x8b\x45\x25\xe7\x73\xe1\xc4\xe7\x01\x3e\x4e\x10\xd7\x68\xa4\x48\x8e\x1d\xbd\x60\x83\x79\xb4\x0c\xde\xbd\xfe\xd5\xc8\xf8\x16\xe3\xe2\xf9\x4f\xc3\x51\x0d\xf0\xe6\x90\xb2\x90\x9e\x18\xef\x64\x11\xce\xe1\x07\x56\x1f\xaf\x7c\xa3\xc0\x7c\xbd\x68\xda\xac\xad\x74\xd1\xda\xeb\xda\xa7\x16\xad\x91\xb0\xb8\x5f\x89\xa6\x2d\x18\xa8\x14\xb2\x13\x68\xd8\x09\x01\xe5\x01\x50\x5a\xc9\xb6\xe8\x8a\x4f\xed\x3c\x68\x1a\xce\x7e\xb0\xe0\x94\xa8\x53\xf6\x1f\x8b\xc5\x9b\x0b\x99\x60\x3f\x69\xf4\xc9\x4c\x32\x6d\xd8\xde\xde\xf1\xa3\xce\x37\xed\xa7\x7d\x02\x0e\x76\x51\xb7\x84\xbd\x07\x49\xae\x14\x79\x56\x90\x8a\x8f\xa0\xb2\x74\x89\x86\x8e\x6b\x0e\x2a\xd8\x92\x92\x11\x5d\xe6\xce\x68\x0c\x2b\xef\xec\x04\xf1\x43\x1f\x6e\xeb\xed\x32\xa1\x45\x4f\x0a\xac\x24\x26\x31\xdc\x8b\x24\xe3\x49\x2d\xb2\xf5\x56\x3d\x42\x20\x4f\x20\x87\x9c\xab\x95\x86\x19\x74\x32\x38\xf4\x6b\x3e\xc8\xad\x23\x7b\x17\xf9\xab\xc1\x38\xe7\x68\x5a\x1c\xac\x63\xa2\x67\x4a\x53\x76\x8b\x37\x98\xf3\x95\xb4\xae\x75\xd8\xe7\x88\x6f\x60\x06\xef\x03\xda\x6e\x8e\x57\xe1\x62\x59\xfa\x15\x25\x98\xff\x0b\x55\xa0\x34\x38\x8f\xd8\x62\x1e\xa6\x9f\xba\x5c\x90\x5f\x48\x59\x78\x26\x3c\x82\xb8\x12\xec\x00\x7d\xdd\x6e\xca\xe3\xc9\xac\x9f\x2c\x8f\x20\x34\x00\x1c\x0e\xd6\xce\x6d\xec\xf4\xf4\x34\xcf\x26\x3c\x51\x2b\x37\xd1\x6a\x95\xe8\xed\x44\x9b\xdb\xd3\xc1\x24\xd2\x2a\x12\x6e\x98\x8b\x76\xe2\xb4\x77\x19\x87\xa3\xd1\xf1\xa4\x76\x9d\x68\x7b\x09\x0e\xbc\x89\xdc\xea\x9f\xe5\x3b\x9a\xad\x7f\x11\x2b\xed\x75\x40\xc6\x6c\xf5\x83\x21\x87\x69\xfa\x5c\x8e\x8e\x3b\x2e\xfe\xd7\x99\x2a\xc9\x3a\x9e\xaf\xf2\x60\xef\x35\xcb\xf8\x31\x4a\xb2\xb8\xb0\xb9\x0b\xc9\x31\x6d\x0c\x2b\xad\xc9\x5e\xda\xb5\xde\x82\x76\x6b\x34\x90\x59\xb4\x64\xad\x3d\xca\x7e\x8b\xe6\xf1\xc5\x7e\x18\xd9\xae\x41\x85\x7a\x30\x86\xc1\x4a\xeb\x41\xb7\x0d\xe3\xc0\x92\xc1\x88\xf8\x96\x0d\xa6\x18\x6f\xa1\x3d\xde\x21\xfd\x98\xd6\x83\x81\x71\x39\xf7\xa5\x48\x29\x78\xaa\x93\x32\x3a\xe9\x13\x41\xc0\xba\xb4\x20\x20\x53\xf2\x23\x38\x99\xa2\x75\x22\xdd\x8c\x61\x8b\x45\x5e\x24\x15\xe6\x8e\xe2\x00\x4e\x31\x09\x88\xfd\x8a\x90\xdc\xe9\x08\xda\x24\xc2\xad\xb4\x49\x2d\xdc\x29\xbd\xe5\xa4\x59\x21\x42\xe9\x26\xbd\x2c\x57\xd3\x33\xa1\x2d\xbe\xf9\x69\x71\xf2\xd4\x64\xc9\xa7\x5b\x43\x0a\x35\x71\xdf\x7c\x35\x0e\x89\x9c\xc2\xe0\x5c\x38\x82\x34\xc2\x48\xb7\xdb\x73\x38\x55\xeb\x30\x11\xb1\x97\xe0\xb0\x41\x68\xbf\x40\x49\x79\x58\x92\x8c\xc5\x4b\x8b\x94\x81\xe2\x23\x3f\x73\xaf\x30\x56\xda\xaf\xf0\x15\x0f\x6b\xc9\xc2\x3f\x1e\xda\x48\x1b\x9c\xc2\xb3\xa7\x93\xa7\xf9\x29\xfb\xec\x29\x7f\xaf\xb9\x5a\x83\x33\x9d\xa6\x5a\x0d\xfa\x8f\xdf\x62\xb6\xfd\x32\x27\x8d\xed\x13\x36\x6b\x73\x43\xc8\x4a\x26\x95\x84\xeb\x0c\x1d\x2f\xec\x02\xae\x47\xca\xb9\x0d\xaa\x20\x8f\x3f\x67\xba\xbc\xf7\x5e\xf3\x30\x2f\xf2\xb4\x3e\xcb\x2c\xad\xf7\xbd\x6f\xe5\x3d\xfa\x04\xcb\xc6\xe8\x3f\x30\x72\xde\x45\xd3\x09\xe8\x7b\x34\x5e\xf5\xd7\x08\x4b\x3f\x11\xfb\x49\xd2\x82\xc1\x8d\x41\x8b\xec\xdc\x09\x0a\xbe\xfb\x66\x7d\x79\x75\xf6\xb7\x6f\x9f\xc1\x76\x8d\xaa\xc4\xe1\x34\xbc\x7c\xf7\x1a\xb4\xf2\xd9\xf0\x7b\x29\xfc\xfc\x9c\xdb\x04\xa9\x56\x46\x58\x8e\x19\x32\x53\x4c\x3c\xe9\xd5\xd0\xdf\xb0\x48\x5b\x7b\x8b\xfd\x24\xc1\x7b\x4c\x8a\x94\x5e\x0c\x76\x97\x2e\x75\xe2\xd7\xbc\xdf\xd6\x15\xd0\xaf\x18\x78\x76\xe8\x44\xd8\xeb\xae\xd7\x8f\x0b\x52\xa1\xbd\xc3\xf7\x1e\x1b\x87\x03\xb4\xf0\x33\x02\x61\xbf\x6a\xfa\x14\x2d\x0c\x2f\xba\x65\x29\x57\x35\x49\xbc\xae\x12\x33\x75\xe1\xb4\x83\xb5\x60\x35\xce\x74\xba\x29\xb2\xb9\x4e\xdf\xa1\xca\x97\xe3\xed\xd5\x1c\x96\xc2\x62\x4c\xab\x2e\xf8\x2b\x3f\xa3\x15\x2a\xc7\xc2\xfc\x7c\x0c\x1b\x2d\x73\x15\xd5\x20\xe0\x3f\xaf\xff\x79\x09\x2b\x99\xe0\x84\xcb\x0f\xfb\xa6\xde\x16\xf9\x6e\xc1\x00\xb0\xd3\xd9\xbf\xdd\x23\x64\x9b\x44\x8b\x98\xd4\x54\xc5\x9c\xd5\x5e\x6b\xcb\xf8\xad\x4e\xd1\x67\xcd\x9f\xf8\x14\x37\x45\x27\x44\x17\x05\x65\x41\xf2\x39\xca\xf1\xee\x9b\x7b\xfe\xe6\xe2\x7a\x0c\xd7\xdf\x8d\xe9\x28\x21\xa1\xbd\xbd\x7a\xc5\x62\x13\x52\x15\x45\x1d\x66\x25\x96\x06\x23\x97\xec\xc6\x80\x2e\xea\x3e\x48\x20\x57\x49\x92\x11\x89\x68\x06\x87\x5c\x41\x2f\xe8\xc2\x92\x9d\x0e\xf6\xa2\xcd\x8c\x7c\xc7\xa1\xd4\x0c\xda\x9e\x63\xe1\x53\x0e\x26\x7f\x58\x36\xb7\xbd\xa8\xba\xfd\xd7\x96\xae\xed\xdf\x29\xde\x2a\x37\x35\xee\x40\x0c\x4e\x1f\xbf\xa9\x3b\x40\xfd\x8b\xfd\xc0\x99\x91\xcd\x38\xfc\xed\xd5\x7c\x3f\xa5\xf4\xc9\x17\x64\x5a\x7c\x19\xd3\xca\x73\xdd\x8a\x96\xb8\x58\x2e\x83\x36\x4b\x9c\x25\x95\x12\xe0\xc5\x89\xaa\x2c\x00\x16\xa3\x48\x19\xd9\x24\x1d\x9c\x35\x3c\xac\xf6\xaf\xd5\x3e\x2c\x7b\x6c\x46\xe7\x9b\x07\xc0\xc4\xe2\x9e\xbd\x9e\xaf\x7f\x5f\x14\xfe\x70\xd2\xff\xab\x03\xd4\x0f\x78\x28\xea\x42\x70\x4e\xc7\x0b\x97\x10\xa7\xf0\x4f\x95\xec\xb8\x20\xc4\x65\xaa\xa5\x88\xee\xb6\xc2\xc4\x10\xe9\x74\x23\x9c\x5c\x4a\x5f\xa1\x84\xbe\xa2\x4d\x55\x0c\xaa\x6c\x7a\xb3\xb6\x06\x9f\xf2\xa9\x3b\x31\x54\xa3\x3b\xaa\x3f\xd5\xcb\xf1\xde\x09\x6a\x89\xe4\x7a\x8d\x83\x8e\xd4\x48\x2b\xf2\x37\xbd\xdd\xbb\x43\x55\x4f\x3c\xe7\x87\xae\xa8\x17\xde\x72\xdf\x55\xc1\xbf\x7c\x7d\xe9\x5f\x30\x3f\xf7\xc9\x92\xee\xac\xae\x30\xe4\xb6\x61\x7c\x79\xb1\xb0\x53\xf8\xf9\x93\x87\x9a\x42\x3b\x0b\x7d\x79\xb1\x78\x68\x54\x4c\x60\xd8\x59\x74\x28\x11\xc2\xf3\x27\x24\xc5\x6a\x41\x6b\x0c\xdc\xa2\xbb\xce\x36\x1b\x6d\x1c\x8f\xa6\x83\xce\x96\xd9\x78\x01\x89\xb4\xae\x90\x84\xe3\x77\x79\x36\x9e\x3d\x8d\x08\x25\x79\x22\xc4\xcb\xc6\xb5\xea\x3f\xad\x8c\x75\x6b\xa2\xe1\x68\x0a\x9f\xfc\x09\xfb\xab\xd6\x49\x33\xb1\x4e\x46\xd1\x16\x30\x0c\xd0\x18\x3e\x0b\x19\x63\xce\x6b\xa3\xdf\xf7\x04\x84\x37\x30\x03\x67\x1a\x3b\x3c\xd7\xfd\x3a\x86\x3e\xa9\x5d\xe5\x02\xda\xae\x91\xe3\x36\x6d\xb8\x96\x49\x87\x09\x79\x6d\xca\x6b\x01\x29\x06\x8b\x06\x63\x58\xee\x1a\xa5\xda\x1a\xbe\x5f\xc2\x1a\x6e\x99\xa5\xf3\xc0\x5c\xfe\x64\x7c\x79\x80\xf4\x47\x66\x5d\xe5\x9b\x66\x48\xb8\x63\x5c\x89\x2c\x71\xfb\x97\x40\xda\xe6\x0a\x0c\x5d\xe9\xde\x8c\xbc\x50\xbb\xcb\x08\x3c\xfd\x6c\xd6\x17\x61\xf7\x89\x89\xb6\x41\x6c\xc4\x16\x0c\xa6\xfa\xde\x97\x82\x48\x93\x56\x45\x85\x35\x2c\x6b\xab\x18\xfc\xa0\x66\x0d\xa8\xc9\x54\x6b\x53\xfc\x9e\x4f\xe3\x53\xde\xc5\xa4\xc3\xe2\xcb\xfc\xbc\xa8\xf3\x76\x57\x76\x68\x4f\x75\x68\x9e\x77\x7c\x9e\x3f\x69\x6c\xa7\x89\xe7\x65\x78\x87\xbb\x29\x54\x53\xb4\x8d\xf5\x8b\x17\xb0\x11\x4a\x46\xc3\x41\x20\xaf\xca\xfc\x4c\x0a\xd8\x29\x9c\xf1\xb2\x92\x02\x95\x02\xcb\x05\xc5\x76\x64\x7e\x0e\xfd\x8e\x43\x71\xd6\x54\x94\x84\xe9\xa6\x83\x60\x83\x09\x9c\xad\x31\xba\x63\x71\xdb\x6c\x99\x4a\x47\xda\x3a\x3f\xa7\x25\x48\xc5\x1d\x3d\xf4\xc5\x79\x69\x41\x2b\x0c\xb6\x7f\xb0\x76\x7a\xab\xec\x64\x30\x6a\x38\x25\x65\x5d\x8c\x25\xd9\xa7\x23\x31\x6e\xb4\xa5\x25\x17\x77\xdc\x64\x42\x6c\xb3\x43\x18\xc7\x35\x55\x28\x67\xb3\x81\x91\x6e\xd5\x11\x19\x8a\xc6\x7b\x0e\xb8\xe7\x80\x9c\x4b\x23\x76\xbd\x35\x92\x9c\x82\x21\x93\xd9\xab\x21\x4d\x23\x5b\x53\x11\xff\x85\x5c\xfc\xc6\xe6\x68\x81\x70\x2d\x98\x87\x4f\x64\x5c\x97\x17\xb1\x10\x7b\xa7\x5b\xe1\x36\xc7\x99\x33\x11\x9c\x4b\xdb\xb5\x8c\xd6\xe5\x8e\xe2\x76\xa3\x84\x9c\x77\x6c\xcd\xa5\x93\x78\xd1\xad\xc4\xef\x0b\x0a\x6e\x4a\xea\xeb\xb4\xc4\x68\x9d\xd1\xbb\x12\x45\x8b\xd2\xbc\xe5\x28\x66\x2b\xc7\x5d\x2a\xe8\x9d\xf7\x4d\x66\x28\xce\x20\x6d\x49\x76\x4d\xa8\x73\xcd\x6a\xce\x6c\x6a\x8a\x03\x4c\xd5\xd8\x93\xa9\x04\xad\xa5\x87\xcd\x2e\x90\x26\x16\x83\xc2\x6a\x16\xcd\x56\x28\xd6\x10\x4c\xa5\x2b\x5a\x11\xde\x6e\x62\xee\x70\xc2\x7b\x54\xae\x8a\x25\x9a\x48\xa4\xaa\xcf\xdf\x92\x9e\xc8\xdc\x9a\x79\xbf\xc2\x15\xcc\x60\xf8\x75\x43\x84\x24\x3c\x0a\xb0\x33\xb7\x6e\x9b\x24\x4f\xc4\x08\xbe\xee\x56\xa6\x17\xa3\xaf\x1a\xf4\x84\xb3\x4d\x32\x86\x5e\x18\xa1\xec\x0a\xcd\xb9\x70\x38\xa4\x07\x53\x3a\x44\xcf\x32\x63\x50\xb9\x5f\x13\x1d\xdd\x0d\x47\x93\x32\x85\x56\xdf\xeb\x81\x16\x92\x6c\x2a\xb1\x0c\xc3\x89\x7a\x0d\xf7\x2d\xba\xf9\x79\xe0\x07\x28\xbf\x85\x8a\xfe\x36\x7a\xc7\x86\x80\xa2\xb6\x56\x13\xd2\x41\x3f\x60\x7e\xee\xeb\xd6\xde\x28\xf7\x54\xae\x1b\x56\xf7\x0e\x77\xbd\xa7\xf1\x6f\x98\x37\xa2\x88\x54\x67\xca\x95\xe5\xae\xbe\x2e\xa9\x83\x04\xbe\x42\x75\xeb\xd6\x44\xe3\x5c\xb9\xa3\xc8\x4b\x18\xe2\x50\x45\xb6\x9c\x63\xa9\x8d\xd1\xdb\xcb\x8b\xc5\xf0\x43\xd0\x86\x34\x9a\xf6\xea\x4b\x37\x11\x1d\x2a\xd9\x27\xa3\x5f\x79\x46\x16\x04\x53\x91\xe7\x4e\x4c\xd9\x61\x96\x6f\xb6\x3c\x91\x34\x3f\x3f\x86\x81\xb0\x8d\x6f\xd8\xe0\x23\x7c\x37\x29\xbe\xb4\x18\xc9\x53\x1b\x6a\xe5\x60\xd6\xc5\x0e\xed\xb0\x23\x65\x12\xc8\x85\xd0\x31\x60\x37\x11\x8f\x8d\x80\x6a\x82\x7c\x74\xaf\x4b\xb1\x69\xac\x48\x83\xb6\x3c\x38\xa2\xf9\xa5\x36\xf0\xe7\x9c\xb4\x5f\xaa\x39\xa2\x23\xe6\xf8\xff\xd4\xf2\x02\x61\xa4\xf9\x39\x92\xee\xd6\xe5\x52\x1e\x5f\xd8\x6c\x74\x9c\x28\x6b\x0c\x3f\x46\xae\xa5\x4c\x73\xc4\x10\xae\x4f\x53\x36\x17\x79\x17\xb0\xa7\xb7\xb4\xd3\x49\xc2\xec\x94\x19\x42\xce\xa1\x54\x7d\xc0\x3e\x0e\x11\x14\x2b\x43\xa3\xcb\x39\x47\x7c\xd2\x52\xb7\xc0\xf4\xfb\xe0\xb0\xcc\xab\xb0\x73\x15\xa0\xbe\xe7\x84\x8d\xf7\x0c\x7c\x4f\xc0\x56\x26\x09\x2c\x11\x32\xcb\x33\x97\xc8\x8b\x4f\x8c\xf7\x98\xe8\x0d\x1a\x4b\x0b\xc1\x05\x1d\xef\xdd\x6c\x84\x11\x29\x3a\xe4\xc6\xe8\x8d\xb0\xb6\x58\xa8\xb0\x9f\x65\x04\x29\xba\xb5\x8e\x27\x35\xe2\xfb\x6c\x7a\x98\x25\xb6\x1d\x85\xc3\x17\x5d\x9d\x54\x9d\x5d\x54\x9f\xd5\x7e\xf4\xb9\xad\x47\x8f\xce\x3c\xdf\x1c\x52\x15\x16\x20\x79\xda\xb5\x76\xd1\x7c\xef\x04\x7d\x20\x93\xb6\x4e\xf0\xb2\x14\x5d\x44\x6b\x5f\xf9\x28\x4c\x4f\x8c\x56\x9a\x5c\x0b\x26\x6d\x35\x82\xaa\x6e\x50\x56\x28\x0a\x25\x32\xf8\x67\x86\xd6\x35\x81\x3b\x37\xdd\x71\x55\xe0\x17\xcd\x9a\x6f\x5f\xbf\x53\xd0\xeb\xc4\xcc\xd4\xcd\xdc\x97\xd5\xe6\x7d\xce\x3e\x1c\xd6\x2a\x81\xb5\x10\x75\xe7\x3a\x6d\xd8\xad\xcd\x87\x64\x67\xeb\x7a\x77\x72\x75\x13\x34\xa9\x37\x60\xab\x9e\xf5\x7d\xa0\x61\x96\x8d\x85\xf1\x75\x67\x40\xdb\xd9\xd9\x56\x61\x79\x25\xd5\x9d\xcf\xaa\x7c\x1e\x96\x4e\x6b\x5b\xe8\xf6\x14\x86\xab\xec\xf1\xc7\x58\xf8\xf9\x2b\x8e\xb4\xf0\xf3\xd0\x7e\xdc\x7e\x92\x13\x51\xd7\x9a\xcf\x50\xc9\x3d\xcd\x15\xbe\x1f\x3b\x96\x6d\x65\x7c\x4d\x4f\xbb\x15\x70\x25\x13\x7c\x7c\x87\x1c\x77\xc7\x95\x25\x12\x61\x2d\x3a\x3b\xd9\xe2\xd2\x4a\x87\x4f\x08\xa5\x9d\x44\x3a\x3d\xfd\x61\xf5\xe3\xb7\xff\xf8\x3e\x7a\x1a\xfd\x4d\xfc\x3d\x8a\xe3\x1f\xbf\xff\x6e\xf9\x2c\xfa\xfb\xb7\x4f\x1b\x2f\xc4\x0f\x3f\x44\xcb\x67\xd1\x3f\xbe\xfb\xf1\xc3\x45\xa2\xb7\x1f\x7e\xd7\x26\x4e\x85\xb9\x9b\xd8\xfb\xdb\xee\xfc\x48\x8f\x26\x31\xf7\x79\xa9\x5e\xa6\xe2\x16\x4f\xed\xfd\xed\xbf\x7f\x4c\x93\x36\x96\xde\x15\x3a\x2c\xfc\x6e\xb1\xe4\xd5\x6e\x32\x9e\x45\x7f\x5b\x05\x39\xe8\xa6\xb7\x5e\x6f\x5f\x34\x72\x2f\xd2\xfa\xe3\x55\xd4\x2e\x38\x39\x0d\x6b\x4c\x36\x1c\x4d\xe7\xa7\xac\x0f\x77\x15\x7e\x74\xf9\x55\xa7\x8b\xc5\xa4\x67\x46\xac\xba\x9d\x9a\xab\xfe\x88\x46\xa8\x41\x8f\xfc\xed\x9f\x99\x30\x38\x27\xc9\x4f\xfd\x62\x74\x8f\x5b\x0a\xa5\xd0\x1c\x1e\x67\x75\x24\x45\x62\xa7\x7b\x36\xf7\xc0\x6d\xa5\x73\x68\x06\x47\xb1\x93\x0f\x66\xe5\x24\x66\x3e\x2c\x29\xd8\x8e\xd6\x42\xf6\x15\x73\x1e\x0e\x68\xce\x17\xf6\x09\xfc\xe5\x3d\x02\x79\x33\x40\xd7\xc4\x7f\x41\x7f\x40\xa3\x1a\xdd\xe8\x0f\x78\x7b\x35\x9f\xc0\x3c\x28\xfb\x8e\x6b\xa3\x2a\xb7\x45\x5a\x48\xb4\xbf\xcd\xa6\x15\x27\x7a\xb8\x40\xcc\x65\xe4\xb6\xa6\x9c\x9e\x16\x97\xf0\x8a\xb2\xf1\xff\x58\x6d\xf8\x8b\x2a\xae\xf5\x6e\xd7\xcb\x8b\x45\xcf\x9e\x2c\x0a\xab\x83\xff\x7a\xfd\xe6\x55\xcf\x98\xc7\xd6\x4f\xcb\xba\x29\x77\xd3\x9c\x9e\x82\x45\xe7\xc2\x92\xa9\xb0\xf4\x8a\x1e\xdb\xa0\xb8\xe1\x9d\x7b\xe1\x1f\x65\x46\x86\x7d\xc0\xbd\x73\xe5\xd5\xd2\x43\x15\xf3\x52\x19\xca\x4b\x85\x5c\x43\xed\xb6\xef\x7b\x76\xdd\x43\xd3\x87\x2f\x42\xfa\xc0\x33\xbe\x2a\x6b\x76\x9c\xcb\x52\x20\xe2\x54\x2a\xd0\x86\x95\xc9\xad\xb9\x17\x21\xbf\xa0\xe9\x7b\x18\x28\x1e\xf4\x77\x37\x0b\x1c\x62\xe9\xad\x6d\x2a\x95\xe3\xb4\x6d\x19\x2e\x76\x79\xb0\xe1\x85\x35\x7f\x11\x2f\xbc\xa0\x76\x9a\xf7\xc9\xd1\x2e\xa5\xff\xe4\xa4\xe7\x28\x8b\x6e\x38\xfa\x19\xe4\x66\xf6\x47\xb4\x44\x3f\xc9\x13\x3f\x76\x17\x86\xc8\x9f\xce\xe7\xfb\xbf\x73\xed\xaa\x1c\x4e\xce\x5c\xdd\xb7\x0a\x65\x05\xa5\x2b\xb3\xe7\x5e\x56\xbb\x40\xc8\x3e\x79\x90\x41\x85\x59\x3b\xa7\x5a\x03\x68\xb6\xfc\xf1\x98\xc1\x0d\xcc\x6a\x68\x26\x6b\x94\xb7\x6b\xb7\x17\xd2\x37\x0b\x36\x01\xcb\xfc\x6d\x2b\xc3\xce\xf6\x6f\x23\x31\xe2\x10\xab\xb4\x7a\xb5\x98\xba\x68\x7d\xc4\x74\x89\x71\x4c\xeb\xed\x5b\xe2\x40\x2a\x6e\xd2\xe1\xd6\xb5\x1e\xaa\xb8\xab\x0e\x66\x30\x58\x0a\x33\x68\xcd\x9e\xe7\x20\x4a\x05\xac\xbd\xbf\x17\xe4\x48\x6c\x69\x49\xaa\x74\x45\x4b\x8b\x2a\x4d\xea\x6e\x1b\xa9\xe9\xd2\xde\xdb\x1a\x81\x52\x95\x5f\xdb\xa3\x02\xdd\x2a\xbf\xb6\x47\x55\x0a\x53\xf6\xb4\xd6\xc6\xf4\x15\xb1\x3c\xbf\xdd\xd9\x2a\xbe\xb8\x38\xaa\x6f\x65\xb8\xce\xdb\xdf\x88\xf9\xfc\x3a\x6f\x15\x76\xf6\xc6\x70\x30\x83\xd3\x3c\xdc\x2b\x4c\x64\xcd\xbb\xec\x43\x51\x85\x72\x84\xc1\x1f\xc8\x47\x20\x68\xdd\x06\xee\x9e\xdf\x0f\xab\xb1\x77\x56\x28\xc8\x59\xc7\xed\x63\x6e\xef\x13\xf7\xc5\xad\xde\x1c\x61\x09\x5e\x8f\x8c\xf7\xa5\xbc\x4a\x42\x45\x14\xe9\x4c\xb9\x49\x8e\x6a\x42\xd8\x87\xcf\x9f\x44\x41\x93\x87\xd3\xfb\x82\xe3\x51\x8d\xfa\x52\xbd\x73\xd7\x25\x12\x1b\xe1\x1b\x56\x3a\xae\x5c\xf7\xd0\x7d\x26\x36\x45\xab\x56\x41\x5d\x89\x46\xa2\x2d\x49\x95\xd6\x66\xfd\xe1\xee\x3e\x8a\x3b\x25\x50\x9b\x83\xc9\xb7\xeb\x61\x8d\xaa\x31\x08\xb7\x27\xd6\x1f\x75\xaf\x63\x7e\x1e\x3d\x66\x0d\xf3\x0b\xed\x35\x1b\xe0\xd1\x1c\xb9\x7c\x1e\x41\xb0\x74\x2d\x7d\x2c\x32\x9f\x0f\xff\x1d\x00\x00\xff\xff\x2a\x29\x79\x38\xce\x41\x00\x00" + +func testExamplenft_precrossvmpointerCdcBytes() ([]byte, error) { + return bindataRead( + _testExamplenft_precrossvmpointerCdc, + "test/ExampleNFT_preCrossVMPointer.cdc", + ) +} + +func testExamplenft_precrossvmpointerCdc() (*asset, error) { + bytes, err := testExamplenft_precrossvmpointerCdcBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "test/ExampleNFT_preCrossVMPointer.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9b, 0xa3, 0xe9, 0xb2, 0xed, 0x7a, 0x7a, 0xe1, 0xd6, 0x55, 0x7d, 0x2c, 0x80, 0x77, 0xaf, 0x24, 0xca, 0x96, 0x9e, 0x67, 0xae, 0xdf, 0x63, 0x3f, 0x48, 0x1a, 0xe8, 0x7c, 0x58, 0x41, 0x47, 0x2a}} + return a, nil +} + +var _testMaliciousnftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xd4\x3b\x6b\x73\x1b\x37\x92\xdf\xf5\x2b\x3a\xfc\x90\x23\x73\x32\x69\xe7\xb5\xbb\x2c\x33\x4e\x22\x59\x39\x5e\xd9\x5a\x97\x44\x3b\x57\xe5\x52\x79\xc1\x99\xa6\x88\x68\x06\x60\x00\x8c\x68\x96\x4b\xff\xfd\xaa\x1b\xf3\xc0\xbc\x48\xca\xbe\xd4\xdd\xf1\x83\x44\xce\xa0\x1b\xdd\x8d\x46\xa3\x5f\x98\x7c\x73\xf2\xcd\xc9\x37\x00\x8b\xb5\xb4\x20\x2d\x08\x05\xf8\x51\xa4\x9b\x04\x41\xd2\xdf\x14\x95\x13\x4e\x6a\x05\x7a\x05\x02\x2e\x12\xbd\x85\x4b\xad\x9e\x5c\x64\xea\x56\x2e\x13\x84\x85\xbe\x43\x45\x18\x32\x2b\xd5\x2d\xb8\x35\xc2\xbb\x6f\xc1\x3a\xa1\x62\x61\xe2\x31\xbd\x99\x3b\xc2\xac\xb4\x83\x8d\x30\x8e\x10\xd1\x28\xbd\x5a\xc9\x48\x8a\xa4\x1c\x0b\xcb\xcc\x81\x74\x20\xac\xcd\x52\x8c\xc1\x69\x58\x22\xc1\x5b\x99\xca\x44\x18\x7a\xb0\xd6\x5b\x48\x85\xda\xc1\xe5\xc5\xc2\xc2\x56\x67\x49\x5c\xd1\xc9\x68\x23\x6d\x10\x56\x99\x8a\x88\x68\x91\x48\xb7\x1b\x07\x1c\x46\x5a\x39\x23\x22\x07\xb1\x46\x4f\x52\x05\x4d\x68\xad\xde\xac\xa5\x75\x32\x12\x0e\x63\x88\x12\x61\xad\x5c\xd1\x2f\xa9\x99\x49\xbb\xb3\x0e\x53\x58\x69\x03\xd2\x59\xa6\x62\x4c\xfc\xc5\xb8\x92\x0a\x2d\x08\x22\x96\x84\x77\x79\xb1\x80\xad\x74\x6b\x48\xa5\x92\xa9\x48\x20\x45\x27\x62\xe1\x04\x53\x33\x39\x39\x91\xe9\x46\x1b\x07\x83\x4b\xad\x0a\x59\xb2\x28\x07\xe5\x9b\x77\x12\xb7\x57\x68\x75\x72\x8f\xa6\x7a\xfa\x3a\xc7\x43\x6f\x6d\xf5\xf8\xa5\x5f\xb4\xcb\x8b\xc5\xe0\xe4\x44\x44\x11\x5a\x3b\x14\x49\x32\xaa\x38\x7e\x2d\x12\x19\x49\x9d\xd9\xcb\x8b\xc5\x14\x9a\xd3\xc2\xa7\x93\x13\x00\x80\xc9\x64\x02\xd7\xc5\x82\xbc\x11\x6e\x6d\xf9\x71\x88\x31\x41\x07\x67\x3a\x49\x90\x45\x7c\xed\xb4\x11\xb7\x48\x43\xa7\x10\xfc\x38\x00\xf6\x26\x5b\x26\x32\xf2\x50\xd5\xf7\x8a\x06\xfa\x05\xdb\x35\x1a\xe4\x55\x4d\xa5\x72\x68\xc0\xae\x79\xc5\x97\x08\xd6\x69\x83\x71\x39\x7c\xb1\xc6\x4a\x8f\x36\x44\x36\xaf\x91\x57\x88\x62\x4e\x10\xa6\x00\x04\xa9\x9a\x2f\x0d\x5a\x9d\x99\x08\xc1\xed\x36\xd8\x49\xfd\x6b\x26\xa2\x97\xe1\x92\x98\xdf\x11\xa2\xb5\xd6\xd6\x93\xae\x44\xea\xd5\x81\x98\x39\x65\x25\x77\xa4\x8a\x34\x0d\x44\x42\xc1\x5a\xdc\x23\x2b\x1f\x8f\x54\x7a\x5b\x22\x5a\x62\x24\xb2\x1c\x0d\xcf\xbd\x12\x11\x56\xaa\x6b\xf0\xcf\x4c\x1a\xa4\x3d\x43\x5b\x83\xd1\x80\xdd\x60\x44\x2a\xeb\xb1\x11\xda\x54\x9b\x36\x3f\x25\xb7\x9d\xda\x30\x26\x7a\x73\x8d\xe8\x92\x84\x8c\xa7\xf0\x76\xae\xdc\x8f\xdf\x57\x63\x88\xe0\x0b\xa3\x53\xa6\xf6\x5c\xda\x4d\x22\x76\xa5\xd6\xc3\xbd\xc4\x6d\x2f\x3a\x22\x95\x64\x69\xa4\xba\xed\x1d\x14\xa3\x8d\x8c\xdc\xd0\x5a\x1d\x1c\xeb\xd6\x59\xba\x54\x42\x26\xe5\xc8\x3a\x99\xb9\x6a\x5c\xe9\x9d\x48\x9c\x44\xbb\x9f\x4e\x8b\xc9\xca\xe3\x35\x05\xc0\x14\xde\xd7\x36\xe2\xd8\xa3\xda\xdd\xd4\x27\xfa\x0d\x15\x1a\x19\x41\x2c\xbd\x39\x32\x3b\xb6\x7e\x46\x90\xf1\x20\x0a\x58\x2f\x84\xed\x9f\xb1\x20\x6c\x0a\x9f\x3c\x27\x53\xf8\x45\xed\xae\x9d\xc9\x22\xf7\x50\x4d\x26\x95\x74\xc3\xf2\x17\x7d\x42\x99\x9e\xd6\xde\x74\x08\xb2\x3e\xa0\x25\xbd\xfa\xeb\xc3\x42\xa8\x8f\xdf\xcb\x42\x35\x74\x04\x9f\x6a\x60\x24\x83\xb1\x8c\x61\xe6\xbf\x65\x99\x8c\xdb\xef\x59\xc9\x67\xcc\x6c\xfb\x65\xc0\x28\xcc\x42\xb6\xdb\x43\x4b\x96\x61\x56\xb1\xdf\x1e\x56\xb2\x0e\xb3\x4a\x0c\xed\x61\xa5\x36\xcd\x4a\xe6\xcb\x41\x0f\x75\x0d\x89\x0c\x0a\x87\x2f\xd3\x8d\xdb\x55\xc6\x31\x7f\xea\x4f\x63\x7a\x15\x18\xce\x1a\xb4\x50\x31\x18\x74\x99\x51\x36\xb7\x02\x6c\xd4\x44\x92\x90\xb1\xa4\x5f\x82\x4f\xc5\x1d\x1b\x1a\xbd\x55\x7c\x62\xd5\x50\xfc\xfc\xa9\xb5\xf9\xab\xc9\x1e\x3a\x77\xd8\x2a\x53\xdd\x74\x0f\x47\xd3\x03\xf8\x1a\x6b\xec\x69\x87\xe7\x4f\xc2\xc3\x69\xdc\x8d\x5b\xad\xdc\x62\xb7\xc1\x29\xd0\xdf\xe7\x3f\xd7\x20\x2e\x2f\x16\x3f\x0d\x47\xa3\x2e\x21\x87\x84\xd3\xe6\x66\xea\x6f\xd1\xb1\xc6\x12\xc1\xef\x09\xdf\x4d\x37\x61\xef\x6b\x0f\xe9\xc3\x93\xd7\xb5\x3e\xb7\x75\x3f\x0d\x47\xa7\xc7\x0c\x2f\x8d\xce\xb1\x00\x2f\x63\x49\x02\x38\x7e\xfc\x47\x87\x46\x89\xe4\xed\xd5\xab\x63\x41\x2e\x2f\x16\x95\xa4\xcf\x85\x13\x9f\x07\xf8\x38\x41\x5c\xa3\x91\x22\x39\x76\xf4\x82\x8d\xe6\xd1\x32\x78\xf7\xfa\x57\x23\xe3\x5b\x8c\x8b\xe7\x3f\x0d\x47\x35\xc0\x9b\x43\xca\x42\x7a\x62\xbc\xfb\x45\x38\x87\x1f\x58\x7d\xbc\xfa\x8d\x02\x13\xf6\xa2\x69\xb7\xb6\xd2\x45\x6b\xaf\x6b\x9f\x5a\xb4\x46\xc2\xe2\x7e\x25\x9a\xb6\x60\xa0\x52\xc8\x4e\xa0\x61\x27\x04\x94\x87\x40\x69\x29\xdb\xa2\x2b\x3e\xb5\x33\xa1\x69\x3c\xfb\xc1\x82\x93\xa2\x4e\xd9\x7f\x2c\x16\x6f\x2e\x64\x82\xfd\xa4\xd1\x27\x33\xc9\xb4\x61\x7f\x7b\xc7\x8f\x3a\xdf\xb4\x9f\xf6\x09\x38\xd8\x45\xdd\x12\xf6\x5e\x24\xb9\x53\xe4\x5d\x41\x2a\x3e\x82\xca\xd2\x25\x1a\x3a\xb2\x39\xdc\x60\x6b\x4a\x86\x74\x99\x3b\xa4\x31\xac\xbc\xc3\x13\x44\x16\x7d\xb8\xad\xb7\xcd\x84\x16\x3d\x29\xb0\x92\x98\xc4\x70\x2f\x92\x8c\x27\xb5\xc8\x16\x5c\xf5\x08\x81\xbc\x81\x1c\x72\xae\x56\x1a\x66\xd0\xc9\xe0\xd0\xaf\x79\x11\x10\xb0\x87\x91\xbf\x1a\x9c\xe6\x1c\x4d\x8b\xc3\xf5\x94\xe8\x99\xd2\x94\xdd\xe2\x0d\xe6\x7c\x25\xad\x6b\x1d\xf8\x39\xe2\x1b\x98\xc1\xfb\x80\xb6\x9b\xe3\x55\xb8\x58\x96\x7e\x45\x09\xe6\xff\x42\x15\x28\x0d\xce\x23\xb6\x98\x87\xe9\xa7\x2e\x17\xe4\x17\x52\x16\x9e\x09\x8f\x20\xae\x04\x3b\x40\x5f\xb7\xab\xf2\x78\x32\xeb\x27\xcb\x23\x08\x0d\x00\x87\x83\xb5\x73\x1b\x3b\x9d\x4c\xf2\x3c\xc3\x13\xb5\x72\x63\xad\x56\x89\xde\x8e\xb5\xb9\x9d\x0c\xc6\x91\x56\x91\x70\xc3\x5c\xb4\x63\xa7\xbd\xdb\x38\x1c\x8d\x8e\x27\xb5\xeb\x44\xdb\x4f\x70\xe8\x4f\xe4\x76\xff\x2c\xdf\xd3\x6c\xff\x8b\x88\xe9\x80\x13\x72\xca\x96\x3f\x18\x74\x98\xae\xcf\xe5\xea\xc8\x23\xe3\x7f\x83\xb1\x92\xb4\xe3\x79\x2b\x0f\xf8\x5e\xf3\x8c\x1f\xa3\x24\x8b\x0b\xdb\xbb\x90\x1c\xdf\xc6\xb0\xd2\x9a\xec\xa6\x5d\xeb\x2d\x68\xb7\x46\x03\x99\x45\x4b\x56\xdb\xa3\xec\xb7\x6c\x1e\x5f\xec\x87\x91\x0d\x1b\x54\xa8\x07\xa7\x30\x58\x69\x3d\xe8\xb6\x65\x1c\x64\x32\x18\x11\xdf\xb2\xc5\x14\xef\x2d\xb4\xc7\x3b\xa4\x1f\xd3\x7a\x60\x70\x5a\xce\x7d\x29\x52\x0a\xa4\xea\xa4\x8c\x4e\xfa\x44\x10\xb0\x2e\x2d\x08\xc8\x94\xfc\x08\x4e\xa6\x68\x9d\x48\x37\xa7\xb0\xc5\x22\x47\x92\x0a\x73\x47\x31\x01\x27\xa1\x04\xc4\x7e\x45\x48\xee\x74\x14\x6d\x12\xe1\x56\xda\xa4\x16\xee\x94\xde\x72\x5a\xad\x10\xa1\x74\xe3\x5e\x96\xab\xe9\x99\xd0\x16\xdf\xfc\xb4\x38\x81\x6a\xb2\xe4\x53\xae\x21\x85\x9a\xb8\x6f\xbe\x3a\x0d\x89\x9c\xc2\xe0\x5c\x38\x82\x34\xc2\x48\xb7\xdb\x73\x48\x55\xeb\x30\x16\xb1\x97\xe0\xb0\x41\x68\xbf\x40\x49\x79\x58\x92\x8c\xc5\x4b\x8b\x94\x81\x62\x25\x3f\x73\xaf\x30\x56\xda\xaf\xf0\x15\x0f\x6b\xc9\xc2\x3f\x1e\xda\x48\x1b\x9c\xc2\xb3\xa7\xe3\xa7\xf9\x69\xfb\xec\x29\x7f\xaf\xb9\x5c\x83\x33\x9d\xa6\x5a\x0d\xfa\x8f\xe1\x62\xb6\xfd\x32\x27\x8d\xed\x13\x36\x6b\x73\x43\xc8\x4a\x26\x95\x84\xeb\x0c\x1d\x2f\xec\x02\xae\x47\xca\xb9\x1d\xaa\x20\x8f\x3f\x6f\xba\xbc\xf8\x5e\xf3\x30\x2f\x32\xb9\x3e\x0f\x2d\xad\xf7\xc1\x6f\xe5\x3d\xfa\x64\xcb\xc6\xe8\x3f\x30\x72\xde\x55\xd3\x09\xe8\x7b\x34\x5e\xf5\xd7\x08\x4b\x3f\x11\xfb\x4b\xd2\x82\xc1\x8d\x41\x8b\xec\xe4\x09\x0a\xc4\xfb\x66\x7d\x79\x75\xf6\xb7\x6f\x9f\xc1\x76\x8d\xaa\xc4\xe1\x34\xbc\x7c\xf7\x1a\xb4\xf2\xf9\xf2\x7b\x29\xfc\xfc\x9c\xe7\x04\xa9\x56\x46\x58\x8e\x1d\x32\x53\x4c\x3c\xee\xd5\xd0\xdf\xb0\x48\x6c\x7b\x9b\xfd\x24\xc1\x7b\x4c\x8a\xf4\x5e\x0c\x76\x97\x2e\x75\xe2\xd7\xbc\xdf\xd6\x15\xd0\xaf\x18\x78\x76\xf8\x54\xd8\xeb\xb8\xd7\x8f\x0c\x52\xa2\xbd\xc3\xf7\x1e\x1c\x87\x43\xb5\xf0\x33\x02\x61\xbf\x6a\x7a\x17\x2d\x0c\x2f\x7a\xe1\x5f\xbc\x80\x8d\x50\x32\x1a\x0e\xce\xd8\x4c\xfa\x3c\x2a\xb3\xdf\x94\x70\x1b\x6d\xcf\xf6\x9c\x4c\xe0\x4c\xa7\x9b\x22\xe1\xeb\xf4\x1d\xaa\x1c\xc7\xdb\xab\x39\x2c\x85\xc5\x98\x94\x41\xf0\x57\x7e\x46\x0b\x57\x8e\x85\xf9\xf9\x29\x6c\xb4\xcc\x35\x57\x83\x80\xff\xbc\xfe\xe7\x25\xac\x64\x82\x63\xae\x5b\xf4\x4d\xbb\x2d\xd2\xe1\x82\x07\xc3\x4e\x67\xff\x76\x8f\x90\x6d\x12\x2d\x62\xd2\x5c\x15\x73\xd2\x7b\xad\x2d\xe3\xb6\x3a\x45\x9f\x54\x7f\xe2\x33\xe0\x14\xb8\x10\x4d\x14\xaf\x05\xb9\xe9\x28\xc7\xdb\xbb\xd5\xde\x5c\x5c\x9f\xc2\xf5\x77\xa7\x74\xb2\x08\x27\xe0\xed\xd5\x2b\x16\x9f\x90\xaa\xa8\x02\x31\x0b\xb1\x34\x18\xb9\x64\x77\x0a\xe8\xa2\xfe\x73\x85\xe4\x42\x62\x99\xc1\x21\xef\xd0\x0b\xb7\x30\x6a\x93\x41\x2f\xca\xcc\xc8\x77\x1c\x59\xcd\xa0\xed\x48\x16\x2e\xe6\x60\xfc\x87\x65\xab\xfb\x08\x57\xb6\xa5\x15\x87\xc2\xef\xda\xd6\x3b\x10\x87\xfb\xcd\xdc\x84\xf1\x4f\xfb\xa1\x32\x23\x9b\x01\xf8\xdb\xab\xf9\xfe\x2d\x9c\x8b\x7c\x5a\x7c\x39\xa5\x75\xe5\x32\x16\x2d\x60\xb1\x20\x06\x6d\x96\x38\x4b\xca\x22\xc0\x0b\x0d\x55\x59\x0f\x2c\x46\x91\x9a\xb1\xfd\xd9\x6f\x05\x82\x53\x69\xff\x6a\xf4\x61\xe8\xcb\x01\xd4\x1e\x3f\x74\x25\xf2\xc2\xa0\xda\x0f\x78\x28\xea\x35\x70\x4e\xa6\x9e\x0b\x7e\x53\xf8\xa7\x4a\x76\x5c\xa8\xe1\xf2\xd1\x52\x44\x77\x5b\x61\x62\x88\x74\xba\x11\x4e\x2e\xa5\xaf\x27\x42\x5f\x31\xa5\x2a\xd2\x84\xf6\xb5\x59\xf5\x82\x4f\xf9\xe4\x9d\x38\xaa\xd1\x1d\x75\x99\xea\xe5\xe9\x81\x29\x6a\x49\xde\x7a\xfd\x81\x8e\xb8\x48\x2b\xf2\xff\xbc\xc1\xb9\x43\x55\x4f\x0a\xe7\x87\xa0\xa8\x17\xc5\x72\x5f\x52\xc1\xbf\x7c\xed\xe7\x5f\x30\x3f\xf7\x49\x8c\xee\x6c\xab\x30\xe4\x46\x61\x7c\x79\xb1\xb0\x53\xf8\xf9\x93\x87\x9a\x42\x3b\x43\x7c\x79\xb1\x78\x68\x54\x33\x60\xd8\x59\x10\x28\x11\xc2\xf3\x27\x24\xc7\x6a\x51\x6b\x0c\xdc\xa2\xbb\xce\x36\x1b\x6d\x1c\x8f\xa6\x63\xc7\x96\x99\x72\x01\x89\xb4\xae\x90\x84\xe3\x77\x79\xa6\x9c\x4f\xfe\x08\x25\x79\x06\xc4\xcb\xc6\xb5\x6a\x33\xad\x4c\x72\x6b\xa2\xe1\x68\x0a\x9f\xfc\x79\xf7\xab\xd6\x49\x33\xe9\x4d\xd6\xc9\x16\x30\x0c\xd0\x18\x3e\x0b\x19\x63\xce\x6b\xa3\xdf\xf7\x86\x68\x37\x30\x03\x67\x1a\xdb\x30\xdf\x01\x75\x1c\x7d\x72\xbb\xca\x45\xb4\x5d\x23\x47\x52\xda\xf0\x09\x49\xf6\x9c\xfc\x28\xe5\xf5\x80\x54\x83\x85\x83\x31\x2c\x77\x8d\x42\x6a\x0d\xdf\x2f\x61\x85\xb5\xcc\x9f\x79\x60\x2e\x4e\x32\xbe\x3c\x64\xf9\x23\xb3\xae\xf2\x16\x33\x24\xdc\x31\xae\x44\x96\xb8\xfd\x8b\x20\x6d\x73\x0d\x86\xae\x74\x37\x46\x5e\xac\xdd\x09\x7e\x9e\x7e\x36\xeb\x8f\x7a\xfb\x04\x45\x5b\x21\x36\x62\x0b\x06\x53\x7d\xef\x4b\x35\xa4\x4d\xab\xa2\x02\x1a\x96\x9d\x55\x0c\x7e\x50\xb3\x46\xd3\x64\xab\xb5\x31\x7e\xcf\xa7\xf1\xe9\xe8\x62\xd2\x61\xf1\x65\x7e\x5e\xd4\x61\xbb\x2b\x2f\xb4\xaf\x3a\xb4\xcf\x7b\x1d\xcf\x9f\x34\xb6\xd4\xd8\xf3\x32\xbc\xc3\xdd\x14\xaa\x29\xda\x56\xb7\x72\xa2\x6a\x12\xab\x8c\xd0\xb8\x80\x9e\x42\xe5\x66\x95\x22\xcb\x45\xc5\xd6\x84\x64\x31\x3f\x9f\x75\x9f\xe3\xf4\x29\x0e\x87\x8a\x9e\x30\x21\x74\x10\x6c\x30\x86\xb3\x35\x46\x77\x3c\x91\xcd\x96\xa9\x74\xa4\xb5\xf3\x73\x5a\x88\x54\xdc\xd1\x43\x5f\x42\x97\x16\xb4\xc2\xc0\x10\x04\x2b\xa8\xb7\xca\x0e\x46\x8d\x83\xa6\x2c\x5e\xb1\x38\xfb\x14\x25\xc6\x8d\xb6\xb4\xee\xe2\x8e\xfb\x43\x88\x73\x76\xcb\xe2\xb8\xa6\x0f\xe5\x64\x36\xb0\xd6\xad\x62\x1f\x43\x79\x99\x15\x90\x92\x5c\x3c\x23\x76\xbd\x45\x8c\x9c\x82\x21\x93\xd9\xab\x26\x4d\x6b\x5b\xd3\x13\xff\x85\x3c\xef\xd6\x1e\x69\x01\x71\xc9\x96\x01\xc6\x32\xae\x4b\x8c\x98\x88\xbd\xe3\xab\x70\x9b\x63\xcd\xd9\x08\x8e\xa8\xed\x5a\x46\xeb\x72\x63\x71\xaf\x50\x42\x0e\x34\xb6\xe6\xd2\x49\xbc\xe8\xd6\xe5\xf7\x05\x05\x37\x25\xfd\x75\x5a\x62\xb4\xce\xe8\x5d\x89\xa2\x45\x69\xde\x2f\x14\xb3\xb9\xe3\x66\x12\xf4\x4e\xf4\x26\x33\xe4\xeb\x93\xba\x24\xbb\x26\xd4\xb9\x66\x5d\x67\x36\x35\xf9\xe3\xa6\xea\xc0\xc9\x54\x82\xd6\xd2\xc3\x66\xb3\x46\x13\x8b\x41\x61\x35\x8b\x66\x2b\x14\xeb\x08\xa6\xd2\x15\x1d\x03\x6f\x37\x31\xb7\x27\xe1\x3d\x2a\x57\xf9\xf4\x4d\x24\x52\xd5\xe7\x6f\x49\x4f\x64\x6e\xcd\xbc\x5f\xe1\x0a\x66\x30\xfc\xba\x21\x42\x12\x1e\xc5\xbe\x99\x5b\xb7\x2d\x93\x27\x62\x04\x5f\x77\xab\xd3\x8b\xd1\x57\x0d\x7a\xc2\xd9\xc6\x19\x43\x2f\x8c\x50\x76\x85\xe6\x5c\x38\x1c\xd2\x83\x29\x9d\xa7\x67\x99\x31\xa8\xdc\xaf\x89\x8e\xee\x86\xa3\x71\x99\xdd\xaa\x6f\xf6\x9a\x1e\x92\x74\x2a\xc1\x0c\xc3\xa9\x7a\x2d\xf8\x2d\xba\xf9\x79\xe0\x14\x28\xbf\x8d\x8a\xf6\x34\x7a\xc7\xb6\x80\xe2\xa7\x56\xb7\xd0\x41\xa7\x60\x7e\xee\x8b\xcb\xde\x3a\xf7\x94\x97\x1b\xe6\xf7\x0e\x77\xbd\x07\xf3\x6f\x98\x77\x8c\x88\x54\x67\xca\x95\x35\xa9\xbe\x76\xa6\x83\x04\xbe\x42\x75\xeb\xd6\x44\xe3\x5c\xb9\xa3\xc8\x4b\x18\xe2\x50\xd9\xb4\x9c\x63\xa9\x8d\xd1\xdb\xcb\x8b\xc5\xf0\x43\xd0\x2f\x34\x9a\xf6\x6a\x4c\x37\x11\x7d\x5a\xd9\xab\x77\x7d\x12\xfc\x95\xe9\x61\x31\x31\x8d\x79\xd4\x6f\xca\x46\xb1\x7c\x33\xe6\x39\xa0\xf9\xf9\x31\xec\x85\x3d\x7a\xc3\x06\x97\xe1\xbb\x71\xf1\xa5\xc5\xa6\x5c\xf9\x16\xa8\x95\x83\x19\x3c\x92\xd7\x8e\xfa\x72\x11\xef\xac\x9c\x07\xec\x26\xe2\xb1\x01\x53\x4d\x90\x8f\x6e\x59\x29\xb6\x94\x15\x69\xd0\x5d\x07\x47\xf4\xb0\xd4\x06\xfe\x9c\x93\xf6\x4b\x35\x47\x74\xc4\x1c\xff\xdf\x3a\x57\x20\x0c\x4e\x3f\x47\xda\xdd\xfa\x5c\xca\xe4\x0b\xfb\x86\x8e\x13\x67\x8d\xe5\xc7\xc8\xb6\x94\x6b\x8e\x18\xc2\x35\x6a\xca\xe6\x22\x6f\xf3\xf5\xf4\x96\x96\x3c\x49\x98\x9d\x22\x21\x02\x9c\x11\xa9\x1a\x7d\x7d\xd0\x22\x28\xb8\x86\x46\x1b\x73\x8e\xf8\xa4\xa5\x72\xc1\xe1\xe0\x63\xc9\x32\x53\xc2\x2e\x58\x80\xfa\x9e\xd3\x2f\xde\x7b\xf0\xa5\xfd\xad\x4c\x12\x58\x22\x64\x96\x67\x2e\x91\x17\x9f\x18\xef\x31\xd1\x1b\x34\x96\x16\x82\xeb\x31\xde\x03\xda\x08\x23\x52\x74\xc8\x9d\xcf\x1b\x61\x6d\xb1\x50\x61\x5b\xca\x08\x52\x74\x6b\x1d\x8f\x6b\xc4\xf7\x59\xfd\x30\xc5\x6b\x3b\x2a\x7f\x2f\xba\x1a\xa2\x3a\x9b\xa1\x3e\xab\x8b\xe8\x73\x3b\x88\x1e\x9d\x36\xbe\x39\xa4\x2a\x2c\x40\xf2\xc7\x6b\x9d\x9f\xf9\xde\x09\xda\x39\xc6\x6d\x9d\xe0\x65\x29\x9a\x81\xd6\xbe\x70\x51\x98\x9f\x18\xad\x34\xb9\x16\x8c\xdb\x6a\x04\x55\xda\xbf\x2c\x30\x14\x4a\x64\xf0\xcf\x0c\xad\x6b\x02\x77\x6e\xba\xe3\xca\xb8\x2f\x9a\x25\xdb\xbe\xb6\xa5\xa0\x65\x89\x99\xa9\x9b\xba\x2f\x2b\xb1\xfb\xe2\x43\x38\xac\x55\xc1\x6a\x21\xea\xce\x5c\xda\xb0\xf1\x7a\x92\xff\x2a\xf2\xc4\x35\x1c\xdd\x99\xd2\x4d\xd0\x72\x3e\xf1\x3f\x1e\x0d\x1d\x26\xe7\x58\x24\x5f\x57\x8d\xf7\x81\x45\xeb\x6c\x53\xab\xb0\xbc\x92\xea\xce\x27\x62\x3e\x0f\x4b\xa7\xcd\x2d\x34\x7c\x0a\xc3\x55\xf6\xf8\x03\x2d\xfc\xfc\x55\x87\x5b\xf8\x79\x68\x3f\x6e\x3f\xc9\x09\xa9\xeb\xcf\x67\x28\xe7\x9e\x4e\x09\xdf\x64\x1d\xcb\xb6\x5a\xbe\xa6\xa7\xdd\xaa\xb8\x92\x09\x3e\xbe\xe5\x8d\xdb\xdd\xca\x02\x87\xb0\x16\x9d\x1d\x6f\x71\x69\xa5\xc3\x27\x84\xd2\x8e\x23\x9d\x4e\x7e\x58\xfd\xf8\xed\x3f\xbe\x8f\x9e\x46\x7f\x13\x7f\x8f\xe2\xf8\xc7\xef\xbf\x5b\x3e\x8b\xfe\xfe\xed\xd3\xc6\x0b\xf1\xc3\x0f\xd1\xf2\x59\xf4\x8f\xef\x7e\xfc\x70\x91\xe8\xed\x87\xdf\xb5\x89\x53\x61\xee\xc6\xf6\xfe\xb6\x3b\x9d\xd2\xa3\x4d\xcc\x7d\x5e\x73\x97\x29\xed\x29\x7b\x7f\xfb\xef\x1f\xd3\xa4\x8d\xa5\x77\x85\x0e\x0b\xbf\x5b\x2c\x79\xd9\x9a\xcc\x68\xd1\xb0\x56\x41\x0e\xba\xe9\xad\x17\xce\x17\x8d\x54\x8d\xb4\xfe\xa0\x15\xb5\xbb\x4c\x4e\xc3\x1a\x93\x0d\xc7\xde\xf9\x79\xeb\x83\x63\x85\x1f\x5d\x7e\xab\xe9\x62\x31\xee\x99\x11\xab\xf6\xa5\xe6\xaa\x3f\xa2\xb3\x69\xd0\x23\x7f\xfb\x67\x26\x0c\xce\x49\xf2\x53\xbf\x18\xdd\xe3\x96\x42\x29\x34\x87\xc7\x59\x1d\x49\x91\xd8\xe9\x9e\x0d\x3e\x70\x5b\xe9\x1c\x9a\xc1\x51\xec\xe4\x83\x59\x39\x89\x99\x0f\x4b\x0a\xcd\xa3\xb5\x90\x7d\xc5\x9a\x87\x03\x9a\xf3\x85\x05\xff\xbf\xbc\xd8\x9f\x57\xf5\xbb\x26\xfe\x0b\x0a\xfd\x8d\xfa\x71\xa3\x0c\xfd\xf6\x6a\x3e\x86\x79\x50\xac\x3d\xad\x8d\xaa\x1c\x18\x69\x21\xd1\xfe\xe2\x9a\x56\x9c\x16\xe2\xb2\x2e\x17\x7f\xdb\x9a\x32\x99\x14\xf7\xed\x8a\x62\xef\xff\x58\x55\xf7\x8b\xea\xa6\xb9\x45\x08\xcf\x91\x9e\x5d\x59\xd4\x4a\x07\xff\xf5\xfa\xcd\xab\x9e\x31\x8f\xad\x8c\x96\x55\x51\x6e\x8c\x99\x4c\xc0\xa2\x73\x61\x41\x54\x58\x7a\x45\x8f\x6d\x50\x15\xf1\x8e\xbe\xf0\x8f\x32\x23\xc3\xd6\xde\xde\xb9\xf2\x7a\xe8\xa1\x8a\x77\xa9\x0e\xe5\x0d\x42\xae\x92\x76\x5b\xf8\x3d\xfb\xee\xa1\xe9\xcf\x17\x21\x7e\xe0\x25\x5f\x95\xe5\x3e\xce\x7c\x29\x10\x71\x2a\x15\x68\xc3\xea\xe4\xd6\xdc\x43\x90\xdf\xc6\xf4\xbd\x07\x14\x1b\xfa\x8b\x9a\x05\x0e\xb1\xf4\xf6\x36\x95\xca\x71\x9a\xb7\x0c\x1d\xbb\xbc\xd9\xf0\x1e\x9a\xbf\x5f\x17\xde\x3b\x9b\xe4\x2d\x6f\xb4\x4f\xe9\x3f\x39\xec\x39\xca\xa2\xb1\x8d\x7e\x06\xb9\x9a\xfd\xd1\x2d\xd1\x4f\xf2\xc4\x8f\xdd\x15\x25\xf2\xad\xf3\xf9\xfe\xef\xdc\xa6\x2a\x87\x93\x4b\xd7\xf4\xaf\x42\x69\x41\xe9\xce\xec\xb9\x70\xd5\xae\x2e\xb2\x87\x1e\xe4\x5c\x61\xd6\xce\xc2\xd6\x00\x9a\xfd\x7b\x3c\x66\x70\x03\xb3\x1a\x9a\xf1\x1a\xe5\xed\xda\xed\x85\xf4\x9d\x7f\x4d\xc0\x32\xe3\xdb\xca\xc9\xb3\x0d\xdc\x48\x8c\x38\xe0\x2a\x2d\x5f\x2d\xc2\x2e\xfa\x18\x31\x5d\x62\x1c\xd3\x8a\xfb\xfe\x36\x90\x8a\x5b\x6b\xb8\x0f\xad\x87\x2a\x6e\x91\x83\x19\x0c\x96\xc2\x0c\x5a\xb3\xe7\x19\x89\x52\x05\x6b\xef\xef\x05\x39\x13\x5b\x5a\x92\x2a\x79\xd1\xd2\xa3\x4a\x97\xba\xfb\x40\x6a\xda\xb4\xf7\x0a\x46\xa0\x56\xe5\xd7\xf6\xa8\x40\xbb\xca\xaf\xed\x51\x95\xc2\x94\x0d\xaa\xb5\x31\x7d\x85\x2f\xcf\x6f\x77\xee\x8a\x6f\x24\x8e\xea\x9b\x19\xae\xf3\x5e\x36\x62\x3e\xbf\xa7\x5b\x05\xa1\x98\xac\xc6\x9d\xf7\x8a\x61\x56\x85\x7b\x69\x67\xd3\x43\x1f\x92\xea\x66\x31\xe1\xc8\x63\xbe\x63\x50\xb4\xae\xfa\xf6\xd1\xe0\x07\xd6\x98\x3c\x2b\xd4\xe4\xac\xe3\x72\x31\x77\xec\x89\xfb\xe2\xd2\x6e\x8e\xb2\x04\xaf\x47\xcb\xfb\xd2\x60\x25\xa9\x22\x8a\x74\xa6\xdc\x38\x47\x35\x26\xec\xc3\xe7\x4f\xa2\xa0\x53\xc4\xe9\xe9\x1e\xf1\x8e\x6a\xd4\x97\x4a\x9e\x3b\x31\x91\xd8\x08\xdf\xf7\xd2\x71\xa3\xba\x87\xee\x33\xb1\x29\xda\xae\x0a\xea\x4a\x34\x12\x6d\x49\xaa\xb4\x36\xc3\xe7\x5f\xf7\x14\x91\x7f\x1a\xee\xa3\xb9\x53\x06\xb5\x59\x98\x01\xbb\x1e\xd6\xe8\x3a\x05\xe1\x5a\xc2\xa8\xd4\x64\xd4\xbd\x92\xf9\xc9\xf4\x98\x55\xcc\x6f\xac\xd7\x6c\x81\x47\x73\xe4\x02\x7a\x04\xc1\xe2\xb5\x74\xb2\xc8\x87\x3e\x9c\xfc\x77\x00\x00\x00\xff\xff\xe8\x96\xe3\xba\xc6\x41\x00\x00" + +func testMaliciousnftCdcBytes() ([]byte, error) { + return bindataRead( + _testMaliciousnftCdc, + "test/MaliciousNFT.cdc", + ) +} + +func testMaliciousnftCdc() (*asset, error) { + bytes, err := testMaliciousnftCdcBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "test/MaliciousNFT.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xf4, 0x6c, 0xd5, 0xbc, 0x52, 0x37, 0x53, 0xdd, 0x5, 0x7a, 0xfe, 0xf8, 0xc6, 0xe5, 0x54, 0x66, 0xc5, 0x96, 0xe, 0x1b, 0xf8, 0xd5, 0x58, 0xba, 0xf0, 0x5a, 0x8, 0x1b, 0xe1, 0xb, 0xa5, 0x91}} + return a, nil +} + +var _utilityNftforwardingCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xe4\x58\x41\x6f\xdb\xb8\x12\xbe\xfb\x57\x4c\x52\xe0\x3d\x09\x48\xed\xcb\xc3\x3b\x18\xcd\xa6\xdd\xa4\xc1\xe6\xb0\x41\x91\x26\xa7\xc5\xa2\xa0\xa5\x91\xcd\x2d\x4d\x0a\x24\x65\x37\x1b\xe4\xbf\x2f\x86\x14\x25\x52\x92\x9d\xb4\xd8\x5b\x0d\x24\xb0\x4c\x72\xf8\xcd\xcc\x37\x1f\x87\x5a\x2c\x16\xf0\xe6\x0d\xdc\x2a\xf9\xf6\xba\x91\x6b\xbe\x12\x08\xf7\xea\x2b\x4a\xb8\x56\x7a\xcf\x74\xc9\xe5\x1a\x2e\x95\xb4\x9a\x15\x76\xb6\x58\x2c\xe8\x0f\xee\x37\xdc\x40\xd1\xfe\x0a\x28\xd9\x4a\xa0\x01\x06\x8d\x41\x0d\x56\x41\x89\x86\xaf\x25\xb3\x08\x0c\x34\x16\xbc\xe6\x28\x2d\x18\x05\xb7\xd7\xf7\xb4\xb0\x11\x25\xac\x10\x2a\xbf\x05\x96\x91\x61\xa4\x39\xed\xde\xa8\x41\xa3\x51\x8d\x2e\x10\x0a\x26\x69\x89\xc6\x0a\x35\xca\x02\x4b\xf8\xab\x31\x16\x04\xff\x8a\xc0\xe4\x23\x79\x10\x1c\xf0\xf8\x2f\x95\x10\x58\x58\xae\xe4\x99\x33\xcd\x84\x50\x7b\xf2\x86\x81\x41\x59\x06\xa0\xb5\x32\xdc\x7a\x5c\xcc\x80\xdd\xe0\x23\x34\xa6\x61\x42\x3c\xc2\x9e\x70\x76\xd0\x7e\x53\x7b\xdc\xa1\x3e\x03\x2e\xc1\x92\xff\x7c\x5b\x0b\xdc\xa2\xb4\xcc\x6d\xe2\x50\x58\xbe\x25\x9f\x83\x59\x6e\x60\xcb\x4a\x3c\x23\xbb\xe1\x47\x2c\x69\x37\xe0\xc6\xa3\x2a\x4b\x4e\xcb\xdd\x86\xfd\x0c\xab\x80\x41\xad\xb1\xc4\x8a\x4b\x2c\xa3\x20\xf6\x6e\xcd\xfb\xa8\x29\x28\x34\xba\x70\xcb\xe9\xf0\x11\x3a\x60\x45\xa1\x1a\x69\xa1\x60\x42\x38\x57\xdb\x55\xb7\xb8\x8f\x17\x65\xb9\x33\x5a\x35\xd2\x47\x0f\x6a\x66\x0c\x05\x8e\x56\xf4\xdb\xc3\x25\xab\xd9\x8a\x0b\x6e\x1f\x09\xee\x7e\xc3\x8b\x8d\x8f\xe3\x9e\x0b\x91\xa4\xd7\x23\xe5\xdb\x5a\x69\x0b\xa7\xc3\x4c\x9d\xce\x66\xac\x28\xd0\x98\x8c\x09\x91\xf7\xb4\xea\x31\xd1\xe6\x4f\xb3\x19\x00\x40\x3c\x13\xa5\xe5\xd6\xa7\x00\x7e\x6f\x2c\x91\x70\x62\xd2\x8e\x86\x83\x73\xe5\xed\xf5\xfd\x95\x8f\x72\xc6\xcb\x25\x3c\xdc\x48\xfb\xff\xff\x9d\x41\xd3\xc4\x4f\x95\x56\xdb\x25\x7c\x28\x4b\x8d\xc6\x5c\xf8\xe7\x87\x87\x9b\xab\x7e\x86\x55\xf1\xb8\x55\xf1\x68\x7e\x00\xc3\x43\x5d\x32\xeb\x10\x74\xa1\xbe\x0b\x69\xcd\x42\xac\x74\x6b\x35\xd9\x3e\x8c\xa5\x18\x24\xee\xbb\xf5\x13\xab\xe2\xe1\x14\x9e\xc3\x47\x29\xbe\x64\x52\x49\x5e\x30\x01\x9f\xad\xd2\x6c\x4d\xfc\x29\xe1\x53\xb3\x12\xbc\x80\x9a\xd9\x8d\x09\x53\x47\x2e\x09\xb4\x61\xd1\x27\x66\x37\xcb\xf8\xa1\xdf\xe0\x2e\x54\xaf\xdd\x30\x1b\xfc\x30\x69\x25\x18\x4f\xf6\x4e\x32\x22\xb2\xff\xd7\x44\x7c\x3b\x08\xa5\x93\x88\x38\xb2\xcb\x91\x20\xcc\xef\xb0\x40\xbe\x43\x1d\xa8\xd4\x83\x0c\xb5\xf5\x02\x8d\xe3\x55\xdd\xf7\x16\x89\x41\x51\xe5\xb0\x63\xba\x47\xbf\x8c\x2a\xe4\xdd\x7f\x9e\x46\x78\x7a\xd7\x9e\x7f\x49\x11\xad\xd1\x7e\x6e\x6a\xaa\x16\x47\x97\xfb\xc7\x1a\x0d\x68\xb4\x8d\x96\xa4\xb2\x82\x1b\x0b\xaa\x72\x32\x62\xdd\x98\x0b\xaf\x13\x25\x1d\x9c\x24\x5c\xb5\x35\x43\x9c\x2e\x62\x3b\x8e\x7b\xaa\xef\xc9\x8d\xb2\x7c\x09\x4f\xf4\x6d\x09\xbf\x2a\x25\x9e\xe1\xa9\xb3\x41\x1f\x4a\x7c\xe7\xe2\x1d\x56\x70\x0e\xe4\xfb\x7c\xa5\xb4\x56\x3d\xe3\x7a\xe7\xb2\x3c\x59\x4f\x9f\x8b\x0b\xa8\x99\xe4\x45\x76\x9a\xd4\xf8\x3c\x4e\xe0\x7c\x0a\xdb\x12\x4e\x47\xc6\xc2\x67\x5e\x28\x59\x30\x9b\x9d\x5e\xba\xe3\x45\x2a\x0b\x1e\x93\x3b\x83\xda\x53\x83\x52\x4c\x32\x16\x53\x8c\xc2\xd8\xc3\x3d\x39\xcd\x53\xc0\x3e\xee\x89\xcf\x93\xd8\x22\x3f\x9f\x87\x04\xf3\x99\xdb\x6f\xd0\x6e\x50\x83\xd2\x0e\x1d\xe1\x58\xf3\x1d\x4a\x97\x44\x3a\x2b\x7c\xce\xb0\x84\xd5\xa3\x97\xe7\x94\xfc\xc1\xde\x87\x68\xc0\xa7\xbe\xf0\xea\x8e\xb5\xf5\xa7\x10\xd9\x33\x1b\x17\x07\x77\x4a\xb6\x3e\x58\xdd\x20\xd9\x2e\xb1\x62\x8d\xb0\xc7\xb9\xc1\xcd\xd0\xc5\xcc\x3a\x56\xd0\xd7\xdc\x93\x23\xe5\x06\x51\xc3\xf3\xb1\xe5\xc4\x0b\x61\x02\x00\x5e\xb9\x55\x26\xcc\x82\x73\x6f\xe1\x0f\xfa\xff\xe7\x80\x7a\x51\x36\xba\x05\xf1\x84\xe7\xd9\x78\x62\xc5\x84\xc1\x43\x89\xf9\x40\x2d\x81\xa1\x02\x0f\x92\x64\x42\x5d\x05\x51\x31\x9d\xfc\x72\xb9\x4e\x16\xd3\xa9\x88\x65\xbf\xb0\x65\xd6\x94\x8e\x4d\x0a\x07\xd9\x78\x5f\x33\xcd\xb6\x60\x49\x0f\x96\xbe\x9e\x15\x49\x4e\x27\x90\xc7\x24\xc7\xa5\x8b\x32\xd5\xce\xce\x5a\x33\xef\xc7\x52\x73\x7b\x7d\xff\x9c\x0f\xa2\x59\x2b\x63\x27\x03\x9c\xf2\xfc\xe6\xca\x64\x39\xd5\x96\x65\x5c\x9a\x8c\x97\xf9\x12\x26\x6b\xf0\x58\x2d\xb7\x08\x97\xd0\xd7\x66\x1b\xd5\xf4\x2c\x38\x39\x50\xdf\x5d\x6d\xdf\x0f\x6a\x37\x2a\x84\x92\x7b\xc3\x2d\x54\x97\x0c\xab\x99\x34\x15\x6a\xdd\x36\x5d\x7b\x6e\x37\x70\x73\x05\xa7\x63\x4d\x8a\xb7\xe1\xe5\xdc\xaa\xcf\x56\x73\xb9\xce\xf2\xbc\xdb\x1c\x58\x65\x51\x77\x8d\x11\xe0\x37\x2c\x1a\xd7\x89\x0d\xec\x45\x34\x83\x7f\x5d\x32\x47\xf2\x96\x88\xdb\xf4\xd9\x79\x32\x00\x48\x88\xb8\x2b\x36\x47\x0f\x5e\x8e\x46\xa9\x21\xea\xc6\xe9\x61\x36\x3b\xc8\x92\x01\xff\xde\xbd\x75\x5f\xf2\x74\x05\x6e\xf9\xe1\x36\x8c\x97\xa1\x05\xa3\xff\xa1\x01\x73\x41\x52\x7b\x89\xfa\x62\xce\x7c\x5f\x13\xf7\x62\x6e\xd8\xcf\xa7\x76\x2c\x81\x34\x5c\x15\x3a\xb4\x64\x12\xad\x3d\x28\xda\x1f\xdb\x4b\x4d\x1f\x5d\x8d\x56\x73\xdc\x31\x41\x1a\x31\x3c\x44\xa2\xbe\x98\xe4\x9d\x8b\xc3\x35\xdf\x2a\xd3\x0b\xa7\xd2\xc8\x20\x69\xa5\xeb\xc0\xfb\xb6\x9b\x1b\x90\x0a\x84\x92\x6b\xd4\xb0\x63\x82\xbf\xac\x17\x9d\xbc\x1f\x21\xdf\x12\x8e\x77\x2b\x17\x03\xd9\x08\x9a\x4c\xf9\xe8\x5c\x68\xd9\x9d\xe5\x44\xdd\x38\x1e\x83\x38\x5f\x87\x6a\x72\x07\x19\xf3\x8a\xdc\xb5\x74\x2e\x8f\x14\x9e\x62\xc3\xe4\x1a\xd3\x28\x81\xaa\x12\x53\x5d\xa3\xe6\xfa\xb7\x97\x44\x37\xee\x8f\x27\xba\xc5\xc9\x8b\xce\xb1\xf0\xb6\x37\x10\x2f\xc9\x1e\x6e\xdf\xde\x7f\x19\x6c\xf7\xfa\xce\x70\x24\xdb\x1a\x27\x54\x3b\xb6\x3e\x2f\x36\x58\x7c\xcd\xf2\xe5\x77\xcb\x34\x97\xa9\x46\xb7\x02\x93\x36\x48\x11\x6d\xa9\x16\xa3\x36\xa6\x77\x6a\xfe\x82\x8c\xc3\x47\x69\x1a\x8d\x13\x7c\x76\x2c\x86\x15\x56\x4a\x23\x10\x1e\xce\x04\xff\x9b\x2e\x80\x4e\xbb\xf5\xd0\xc9\x17\xa4\x37\xe5\x24\x9c\x27\x81\x7a\x95\x48\x8f\x09\x7d\x32\xd6\xb5\xef\xbc\xda\x4d\x0b\x5b\x7a\xcb\x8b\xd4\x6d\xf2\xa2\x77\x54\xee\xc6\x77\xbf\xd7\x09\x1f\x05\x3c\xfb\xf2\x63\x57\x98\xd7\x11\x75\x94\xc0\x9f\x94\xa5\x47\x49\x3a\x6e\x1c\x7f\x76\x86\x46\x3c\x75\x2f\x2e\xdc\x7b\x2b\xba\x0b\x4b\xdc\xa7\x6f\xbc\x5c\x02\x28\x63\x6d\x7f\xde\xc7\xb5\x48\x65\x3c\x48\x78\x74\x24\xe8\x1f\x3a\x0f\xd2\x43\x7d\x04\x28\x9c\x65\x07\xdf\x5f\xb8\xf3\x62\xf2\x45\xdc\x8f\xd5\xe1\x12\xde\x27\x00\xfa\x22\x6c\x41\xbe\x7b\x1b\x5e\x17\x4e\xef\x96\xc7\xe1\x76\x92\x10\xd7\xb6\x4b\x7b\xf4\xb6\x07\xce\x61\x61\xfc\xe3\xe2\xe3\x37\xb6\xad\x05\xc6\x66\x83\xad\xe7\xd9\x3f\x01\x00\x00\xff\xff\xe4\xd7\xe1\xd6\x6b\x16\x00\x00" + +func utilityNftforwardingCdcBytes() ([]byte, error) { + return bindataRead( + _utilityNftforwardingCdc, + "utility/NFTForwarding.cdc", + ) +} + +func utilityNftforwardingCdc() (*asset, error) { + bytes, err := utilityNftforwardingCdcBytes() + if err != nil { + return nil, err + } + + info := bindataFileInfo{name: "utility/NFTForwarding.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe, 0x30, 0x1b, 0xb8, 0xb0, 0x5d, 0xb8, 0x23, 0xf3, 0x79, 0x79, 0x24, 0x64, 0x74, 0x5, 0xa6, 0x15, 0xa6, 0xa6, 0x4b, 0xa0, 0x8, 0xe1, 0x6f, 0x2, 0x4a, 0xc5, 0x3d, 0x8e, 0xeb, 0x80, 0x3c}} + return a, nil +} + // Asset loads and returns the asset for the given name. // It returns an error if the asset could not be found or // could not be loaded. @@ -265,11 +328,14 @@ func AssetNames() []string { // _bindata is a table, holding each asset generator, mapped to its name. var _bindata = map[string]func() (*asset, error){ - "CrossVMMetadataViews.cdc": crossvmmetadataviewsCdc, - "ExampleNFT.cdc": examplenftCdc, - "MetadataViews.cdc": metadataviewsCdc, - "NonFungibleToken.cdc": nonfungibletokenCdc, - "ViewResolver.cdc": viewresolverCdc, + "CrossVMMetadataViews.cdc": crossvmmetadataviewsCdc, + "ExampleNFT.cdc": examplenftCdc, + "MetadataViews.cdc": metadataviewsCdc, + "NonFungibleToken.cdc": nonfungibletokenCdc, + "ViewResolver.cdc": viewresolverCdc, + "test/ExampleNFT_preCrossVMPointer.cdc": testExamplenft_precrossvmpointerCdc, + "test/MaliciousNFT.cdc": testMaliciousnftCdc, + "utility/NFTForwarding.cdc": utilityNftforwardingCdc, } // AssetDebug is true if the assets were built with the debug flag enabled. @@ -321,6 +387,13 @@ var _bintree = &bintree{nil, map[string]*bintree{ "MetadataViews.cdc": {metadataviewsCdc, map[string]*bintree{}}, "NonFungibleToken.cdc": {nonfungibletokenCdc, map[string]*bintree{}}, "ViewResolver.cdc": {viewresolverCdc, map[string]*bintree{}}, + "test": {nil, map[string]*bintree{ + "ExampleNFT_preCrossVMPointer.cdc": {testExamplenft_precrossvmpointerCdc, map[string]*bintree{}}, + "MaliciousNFT.cdc": {testMaliciousnftCdc, map[string]*bintree{}}, + }}, + "utility": {nil, map[string]*bintree{ + "NFTForwarding.cdc": {utilityNftforwardingCdc, map[string]*bintree{}}, + }}, }} // RestoreAsset restores an asset under the given directory. diff --git a/lib/go/test/nft_test_helpers.go b/lib/go/test/nft_test_helpers.go index 54451a4..c4e04c8 100644 --- a/lib/go/test/nft_test_helpers.go +++ b/lib/go/test/nft_test_helpers.go @@ -49,12 +49,17 @@ func deployNFTContracts( metadataAddress := deploy(t, b, adapter, "MetadataViews", contracts.MetadataViews(emulatorFTAddress, nftAddress.String(), resolverAddress.String()), nftAccountKey) evmAddress := flow.HexToAddress(emulatorEVMAddress) - crossVMMetadataAddress := deploy(t, b, adapter, "CrossVMMetadataViews", contracts.CrossVMMetadataViews(resolverAddress.String(), evmAddress.String()), nftAccountKey) + crossVMMetadataAddress := deploy( + t, b, adapter, + "CrossVMMetadataViews", + contracts.CrossVMMetadataViews(resolverAddress.String(), evmAddress.String()), + nftAccountKey, + ) exampleNFTAddress := deploy( t, b, adapter, "ExampleNFT", - contracts.ExampleNFT(nftAddress, metadataAddress, resolverAddress, evmAddress, crossVMMetadataAddress), + contracts.ExampleNFTWithCrossVMPointers(nftAddress, metadataAddress, resolverAddress, evmAddress, crossVMMetadataAddress), exampleNFTAccountKey, ) diff --git a/tests/nft_forwarding_test.cdc b/tests/nft_forwarding_test.cdc index f1a5616..f559027 100644 --- a/tests/nft_forwarding_test.cdc +++ b/tests/nft_forwarding_test.cdc @@ -16,6 +16,7 @@ access(all) fun setup() { deploy("ViewResolver", "../contracts/ViewResolver.cdc") deploy("NonFungibleToken", "../contracts/NonFungibleToken.cdc") deploy("MetadataViews", "../contracts/MetadataViews.cdc") + deploy("CrossVMMetadataViews", "../contracts/CrossVMMetadataViews.cdc") deploy("ExampleNFT", "../contracts/ExampleNFT.cdc") deploy("NFTForwarding", "../contracts/utility/NFTForwarding.cdc")