diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 787aad91..7dffac2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: restore-keys: | ${{ runner.os }}-go- - name: Install Flow CLI - run: sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)" -- v1.3.1 + run: sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)" -- v1.5.0 - name: Flow CLI Version run: flow version - name: Update PATH diff --git a/Makefile b/Makefile index 10da71e6..24a16cfd 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,9 @@ test: $(MAKE) generate -C lib/go $(MAKE) test -C lib/go - flow test --cover tests/test_example_nft.cdc + flow test --cover --covercode="contracts" tests/test_*.cdc .PHONY: ci ci: $(MAKE) ci -C lib/go - flow test --cover tests/test_example_nft.cdc + flow test --cover --covercode="contracts" tests/test_*.cdc diff --git a/flow.json b/flow.json index c31895e0..83e975e5 100644 --- a/flow.json +++ b/flow.json @@ -10,18 +10,45 @@ "source": "./contracts/NonFungibleToken.cdc", "aliases": { "emulator": "0xf8d6e0586b0a20c7", + "testing": "0x0000000000000001", "testnet": "0x631e88ae7f1d7c20", "mainnet": "0x1d7e57aa55817448" } }, - "MetadataViews": "./contracts/MetadataViews.cdc", - "ViewResolver": "./contracts/ViewResolver.cdc", - "ExampleNFT": "./contracts/ExampleNFT.cdc", - "FungibleToken": "./contracts/utility/FungibleToken.cdc", - "NFTForwarding": "./contracts/utility/NFTForwarding.cdc" + "MetadataViews": { + "source": "./contracts/MetadataViews.cdc", + "aliases": { + "testing": "0x0000000000000001" + } + }, + "ViewResolver": { + "source": "./contracts/ViewResolver.cdc", + "aliases": { + "testing": "0x0000000000000001" + } + }, + "ExampleNFT": { + "source": "./contracts/ExampleNFT.cdc", + "aliases": { + "testing": "0x0000000000000007" + } + }, + "FungibleToken": { + "source": "./contracts/utility/FungibleToken.cdc", + "aliases": { + "testing": "0x0000000000000002" + } + }, + "NFTForwarding": { + "source": "./contracts/utility/NFTForwarding.cdc", + "aliases": { + "testing": "0x0000000000000007" + } + } }, "networks": { "emulator": "127.0.0.1:3569", + "testing": "127.0.0.1:3569", "mainnet": "access.mainnet.nodes.onflow.org:9000", "testnet": "access.devnet.nodes.onflow.org:9000" }, diff --git a/lib/go/templates/internal/assets/assets.go b/lib/go/templates/internal/assets/assets.go index ae2c64b8..9a818d52 100644 --- a/lib/go/templates/internal/assets/assets.go +++ b/lib/go/templates/internal/assets/assets.go @@ -1,22 +1,22 @@ // Code generated by go-bindata. DO NOT EDIT. // sources: -// ../../../scripts/borrow_nft.cdc (542B) -// ../../../scripts/get_collection_ids.cdc (514B) -// ../../../scripts/get_collection_length.cdc (421B) -// ../../../scripts/get_contract_storage_path.cdc (510B) -// ../../../scripts/get_nft_metadata.cdc (5.663kB) -// ../../../scripts/get_nft_view.cdc (4.443kB) -// ../../../scripts/get_total_supply.cdc (98B) +// ../../../scripts/borrow_nft.cdc (504B) +// ../../../scripts/get_collection_ids.cdc (476B) +// ../../../scripts/get_collection_length.cdc (383B) +// ../../../scripts/get_contract_storage_path.cdc (473B) +// ../../../scripts/get_nft_metadata.cdc (5.628kB) +// ../../../scripts/get_nft_view.cdc (4.408kB) +// ../../../scripts/get_total_supply.cdc (82B) // ../../../transactions/NFTForwarding/change_forwarder_recipient.cdc (1.365kB) // ../../../transactions/NFTForwarding/create_forwarder.cdc (2.575kB) // ../../../transactions/NFTForwarding/transfer_nft_to_receiver.cdc (1.577kB) // ../../../transactions/NFTForwarding/unlink_forwarder_link_collection.cdc (1.111kB) // ../../../transactions/destroy_nft.cdc (880B) -// ../../../transactions/mint_nft.cdc (3.1kB) -// ../../../transactions/setup_account.cdc (972B) +// ../../../transactions/mint_nft.cdc (3.024kB) +// ../../../transactions/setup_account.cdc (915B) // ../../../transactions/setup_account_from_nft_reference.cdc (1.407kB) -// ../../../transactions/setup_account_to_receive_royalty.cdc (1.451kB) -// ../../../transactions/transfer_nft.cdc (1.605kB) +// ../../../transactions/setup_account_to_receive_royalty.cdc (1.413kB) +// ../../../transactions/transfer_nft.cdc (1.567kB) // ../../../transactions/unlink_collection.cdc (545B) package assets @@ -87,7 +87,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _scriptsBorrow_nftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\x91\xc1\x6a\xe3\x30\x10\x86\xef\x7a\x8a\x1f\x1f\x16\x1b\x96\xf8\xb2\xec\x21\x6c\x36\xa4\xa1\x81\x5e\x42\x28\xee\xb9\xc8\xf2\x38\x19\x2a\x8f\x84\x2c\xd3\x96\x90\x77\x2f\x89\x63\x3b\x4d\x7d\xb2\x46\xf3\x89\xf9\xbf\xc9\x73\x14\x07\x6e\xd1\x9a\xc0\x3e\xa2\x74\x21\xb8\xf7\x16\x5a\xb0\xdd\x14\xa8\x83\x6b\xa0\x61\x9c\xb5\x64\x22\x3b\x51\x8a\x1b\xef\x42\xc4\xd6\xc9\xa6\x93\x3d\x97\x96\x0a\xf7\x46\xd2\xb7\x26\xf7\xe5\x64\xe8\x7f\xfc\xd0\x8d\xb7\x34\x3e\x9a\x4c\x85\x44\x29\xdf\x95\xa8\x3b\x41\xa3\x59\x52\x5d\x55\x81\xda\x76\x8e\x55\xff\xf3\x1b\x5c\xcd\xf1\xf2\x24\xf1\xef\x9f\x0c\x47\x05\x00\x96\x22\xb4\x31\xae\x93\x88\x05\xf6\x14\x57\xfd\x61\x80\x33\x35\xb6\x4d\xc3\x3f\x53\x8d\xc5\x80\x5d\xee\xcf\xdf\x6c\x4f\x71\xad\xbd\x2e\xd9\x72\xfc\x4c\xa7\xb9\x66\xeb\x91\xdc\x75\xa5\x65\xb3\xd3\xf1\x90\x4d\x5c\xef\xea\xdf\xaf\xe3\x7d\xe8\x1f\xe0\xe9\x7f\x3a\x71\xcb\x25\xbc\x16\x36\x69\xb2\x76\x9d\xad\x20\x6e\xd0\x0e\x33\x8e\xd1\x4b\xf2\x17\xfa\x26\x41\x72\xcd\x95\xe7\x78\xe8\x11\x8d\x40\x35\x05\x12\x43\x88\x0e\x1a\xad\x27\xc3\x35\x9b\xcb\xfe\x58\x10\x0f\x74\xbb\xbf\xc1\xca\x2b\x16\xdf\xcd\x5c\xe3\x6c\x37\x45\x7a\xd6\xcd\x55\xa6\x4e\xea\x2b\x00\x00\xff\xff\xc9\x72\xf5\x8c\x1e\x02\x00\x00" +var _scriptsBorrow_nftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\x91\xc1\x4b\xc3\x30\x14\xc6\xef\xf9\x2b\x3e\x7a\x90\x16\x64\xbd\x88\x87\xe1\x1c\x73\x58\xf0\x52\x86\xd4\xb3\xa4\xe9\xeb\xf6\x30\x4d\x42\x9a\xa2\x32\xf6\xbf\xcb\xda\xb5\x9d\x9a\x53\xc2\xcb\x0f\xbe\xef\xf7\xd2\x14\xc5\x81\x5b\xb4\xca\xb3\x0b\x28\xad\xf7\xf6\xb3\x85\x34\xc8\xb3\x02\xb5\xb7\x0d\x24\x94\xd5\x9a\x54\x60\x6b\x84\xe0\xc6\x59\x1f\x10\xe5\xd6\x64\x9d\xd9\x73\xa9\xa9\xb0\x1f\x64\xa2\x69\xf2\xfc\x25\x1b\xa7\x29\xcf\x8a\x48\x08\xd7\x95\xa8\x3b\x83\x46\xb2\x89\x65\x55\x79\x6a\xdb\x25\x36\xc3\xe5\x16\x5c\x2d\xf1\xf6\x62\xc2\xfd\x5d\x82\xa3\x00\x00\x4d\x01\x52\x29\xdb\x99\x80\x15\xf6\x14\x36\xc3\x63\x84\x13\x31\x7d\x9b\x63\xbd\x52\x8d\xd5\x88\xf5\xf3\xf3\x59\xec\x29\x6c\xa5\x93\x25\x6b\x0e\xdf\xf1\x9c\x6b\xb1\x9d\xc8\x5d\x57\x6a\x56\x3b\x19\x0e\xc9\xcc\x0d\x16\x1e\x6e\x8e\x7f\x4b\xfe\x03\x4f\x8f\xf1\xcc\xad\xd7\x70\xd2\xb0\x8a\xa3\xad\xed\x74\x05\x63\x47\xa1\x50\x53\x8c\xc1\xa9\xeb\xe9\xab\x06\xd1\xa5\x57\x9a\xe2\x69\x40\x24\x3c\xd5\xe4\xc9\x28\x42\xb0\x90\x68\x1d\x29\xae\x59\xf5\x9b\x61\x83\x70\xa0\xeb\xcd\x8c\x56\xde\xb1\xfa\x6d\xe6\x52\x27\xcf\x8a\xf8\xac\x9b\xab\x44\x9c\xc4\x4f\x00\x00\x00\xff\xff\xf8\x9d\x3c\x10\xf8\x01\x00\x00" func scriptsBorrow_nftCdcBytes() ([]byte, error) { return bindataRead( @@ -103,11 +103,11 @@ func scriptsBorrow_nftCdc() (*asset, error) { } info := bindataFileInfo{name: "scripts/borrow_nft.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x61, 0xe2, 0xab, 0x39, 0xbd, 0x62, 0x2f, 0xe3, 0xf1, 0x63, 0xf4, 0xe7, 0x7, 0x2f, 0x1a, 0xe0, 0x3d, 0x24, 0xd6, 0x96, 0x48, 0xc2, 0xd5, 0x87, 0xc8, 0xe3, 0x8e, 0x45, 0xf4, 0x34, 0x55, 0xa1}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb, 0x53, 0x48, 0x45, 0xf2, 0x69, 0x3a, 0x26, 0x19, 0xa4, 0x40, 0xf, 0x19, 0xc4, 0x82, 0x5e, 0xc9, 0x80, 0x1e, 0x63, 0xda, 0x16, 0xa6, 0x9e, 0x6f, 0x42, 0x2c, 0x49, 0xe4, 0xe, 0xf9, 0x49}} return a, nil } -var _scriptsGet_collection_idsCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x50\x4d\x6b\xf2\x40\x10\xbe\xef\xaf\x78\xc8\xe1\x7d\x13\x28\x7a\x29\x3d\x48\xad\x88\x56\xf0\x22\xd2\xda\x53\xe9\x61\xb3\xd9\xe8\xd2\xcd\xec\xb2\x99\xa5\x2d\xe2\x7f\x2f\x31\x8d\xb1\xa1\x39\x4d\x66\x9f\xcf\x19\x8f\xc7\x78\x56\xc1\x78\x06\x3b\xec\x35\x63\xb3\xda\x61\xbd\xac\x61\x08\x92\x20\x95\x72\x91\xf8\x7f\x0d\xe5\xac\xd5\x8a\x8d\x23\x21\x4c\xe5\x5d\x60\x6c\x1c\xad\x22\xed\x4d\x6e\xf5\xce\xbd\x6b\x42\x19\x5c\x85\x64\xb8\x4e\x3a\xfc\xe3\xa7\xac\xbc\xd5\x8d\x43\x8b\xec\x17\x89\x10\x3e\xe6\x28\x23\xa1\x92\x86\x52\x59\x14\x41\xd7\xf5\x04\xf3\x76\xb8\xb9\xf2\xdf\xc6\xdc\x1a\xb5\x95\x7c\x98\xa0\x9f\xb3\x09\x5e\x5f\xd6\xc4\x77\xb7\x6f\x38\x0a\x00\xb0\x9a\xbb\xfc\x98\x36\xdd\xe6\xed\x4f\x27\x9e\x89\x0b\xac\x17\x7f\xd2\x25\xa6\x1d\xed\xfc\xde\x7c\xa3\xbd\xe6\x85\xf4\x32\x37\xd6\xf0\x57\xfa\x57\x96\xac\x07\xe7\x2e\x04\xf7\x71\xff\xef\x38\xbc\xc4\x68\x31\x20\x9e\x1e\xd2\x9e\x37\x9b\xc1\x4b\x32\x2a\x4d\x16\x2e\xda\x02\xe4\x18\xad\x14\xd4\xc5\xbb\xbd\x9c\x3f\xb3\xaf\x62\x43\x32\x6a\xaf\x95\x29\x8d\x2e\xe0\x25\x1f\x92\x9f\x7a\x41\x73\x0c\xf4\xbb\x61\x53\x67\xbd\xac\xd3\x4c\x9c\xc4\x77\x00\x00\x00\xff\xff\xcc\x8f\x33\x0e\x02\x02\x00\x00" +var _scriptsGet_collection_idsCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x8f\x41\x6b\x3a\x31\x10\xc5\xef\xf9\x14\x8f\x3d\xfc\xff\xbb\x50\xf4\x52\x7a\x90\x5a\x11\xad\xe0\x45\xa4\xb5\xa7\xd2\x43\x36\x9b\xd5\xd0\xec\x4c\xc8\x4e\x68\x8b\xf8\xdd\x8b\x5a\x5d\x2b\xcd\x69\xc2\xbc\xf7\xe6\xfd\xfa\xfd\x3e\x9e\x4d\x74\x41\x20\x8c\xb5\x15\x2c\x66\x2b\xcc\xa7\x2d\x1c\x41\x13\xb4\x31\x9c\x48\xfe\xb7\x30\xec\xbd\x35\xe2\x98\x94\x72\x4d\xe0\x28\xc8\x16\x4c\xb3\x44\x6b\x57\x7a\xbb\xe2\x77\x4b\xd9\x79\xf3\xf8\xa9\x9b\xe0\xed\x62\xb6\xca\x94\x0a\xa9\x44\x9d\x08\x8d\x76\x94\xeb\xaa\x8a\xb6\x6d\x07\x18\x1f\x87\x9b\x8b\xe4\x65\x2a\xbd\x33\x4b\x2d\x9b\x01\xba\xb9\x18\xe0\xf5\x65\x4e\x72\x77\xfb\x86\xad\x02\x00\x6f\xe5\xd4\x0c\xc3\x7d\xeb\xf1\xf1\x73\x0a\x2f\xd4\x59\xd6\x85\x3f\xd9\x1a\xc3\x93\xed\xb0\xdf\xbf\xde\xda\xca\x44\x07\x5d\x3a\xef\xe4\x2b\xff\xab\x4b\xd1\x89\x4b\x8e\x91\x3f\xee\xff\x6d\xaf\xc9\x7b\x93\x2b\xe3\xee\x21\xef\x7c\xa3\x11\x82\x26\x67\xf2\x6c\xc2\xc9\x57\x20\x16\x1c\xa3\x60\xce\xb7\x51\x47\x6e\x10\x0e\xee\x8b\xda\xd0\x82\x36\x58\xe3\x6a\x67\x2b\x04\x2d\x9b\xec\x07\x2f\x5a\x49\x91\x7e\x13\xee\x71\xe6\xd3\x36\x2f\xd4\x4e\x7d\x07\x00\x00\xff\xff\x7a\x0b\x3d\x7b\xdc\x01\x00\x00" func scriptsGet_collection_idsCdcBytes() ([]byte, error) { return bindataRead( @@ -123,11 +123,11 @@ func scriptsGet_collection_idsCdc() (*asset, error) { } info := bindataFileInfo{name: "scripts/get_collection_ids.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe9, 0xcd, 0x59, 0x9a, 0x68, 0xff, 0x26, 0xdf, 0x71, 0xd3, 0xc1, 0xb4, 0x19, 0x89, 0x5a, 0x98, 0x78, 0x24, 0x9c, 0x50, 0xd8, 0x72, 0xc2, 0xe7, 0x18, 0xba, 0x66, 0x69, 0xdd, 0x13, 0x1b, 0xf5}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd6, 0xd, 0x34, 0xed, 0xbf, 0x90, 0x7a, 0xb2, 0xf5, 0x12, 0x9c, 0x86, 0xb0, 0x8a, 0x3d, 0x77, 0x0, 0x50, 0xfd, 0x6c, 0xe7, 0x2a, 0x13, 0x2, 0x4e, 0xdb, 0x84, 0x9f, 0xcc, 0xd7, 0x9f, 0x88}} return a, nil } -var _scriptsGet_collection_lengthCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\x90\x41\x6e\xc2\x30\x10\x45\xf7\x3e\xc5\x28\x8b\xca\xd9\x70\x00\x54\x8a\x50\x5a\x24\x36\x08\x55\x5c\xc0\x76\x26\xc1\xaa\x33\x63\x39\x63\xb5\x15\xe2\xee\x15\x24\x24\x2d\xf5\xca\x1e\xff\x67\xfd\x67\xdf\x45\x4e\x02\x7b\xa6\x6d\xa6\xd6\xdb\x80\x47\xfe\x40\x82\x26\x71\x07\xc5\xe3\xb8\x50\x63\xfe\xed\xcb\x74\x31\xe0\x7e\x7b\x1c\x93\xf3\xa0\x50\x2a\x66\x0b\x4d\x26\xe8\x8c\x27\x6d\xea\x3a\x61\xdf\x2f\x61\x33\x6c\xca\x25\xec\x48\xe0\xac\x00\x00\x02\x0a\x18\xe7\x38\x93\xc0\x0a\x5a\x94\xcd\x70\xb8\x53\xa5\x9a\x62\x8e\x43\x40\x27\x9e\xe9\x1d\x1b\x58\xdd\xb1\xdb\xfd\x75\x2d\x5a\x94\xca\x44\x63\x7d\xf0\xf2\xad\xe7\x42\x8b\x6a\x22\x0f\xd9\x06\xef\x0e\x46\x4e\xe5\xcc\x59\x4e\x89\x3f\x9f\x9f\xce\x8f\xb6\xff\xc0\xcb\x8b\x9e\xb9\xf5\x1a\xa2\x21\xef\x74\x51\x71\x0e\x35\x10\x0b\x0c\x4f\x81\x9b\x6a\x0c\xbf\x13\x6f\xf4\x2f\x83\x62\xf4\x4a\x28\x39\xd1\x5f\xb5\xab\xc7\xee\xb5\xd7\xe5\x22\x20\xb5\x72\x52\x17\xf5\x13\x00\x00\xff\xff\xbd\xc8\xa0\x6d\xa5\x01\x00\x00" +var _scriptsGet_collection_lengthCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x64\x8f\x4d\x6a\xc3\x30\x10\x85\xf7\x3a\xc5\xe0\x45\x91\x37\x3e\x40\x68\x1a\x82\xdb\x40\x36\x21\x94\x5c\x40\x92\xc7\x8e\xa8\x3c\x23\xe4\x11\x6d\x09\xb9\x7b\x49\x5c\xdb\xfd\xd1\x4a\xc3\x9b\x6f\x78\x9f\xef\x23\x27\x81\xe2\xc0\xb4\xcb\xd4\x79\x1b\xf0\xc4\x6f\x48\x85\x9a\x92\x97\x0f\xd3\xc7\x80\x87\xdd\xa9\x50\x2a\x66\x0b\x6d\x26\xe8\x8d\x27\x6d\x9a\x26\xe1\x30\xac\x60\x3b\x7e\xca\x15\xec\x49\xe0\xa2\x00\x00\x02\x0a\x18\xe7\x38\x93\xc0\x1a\x3a\x94\xed\x38\x4c\x54\xa9\xe6\x35\xc7\x21\xa0\x13\xcf\xf4\x8a\x2d\xac\x27\xec\x9e\xdf\x5e\xd5\xa1\xd4\x26\x1a\xeb\x83\x97\x4f\xbd\x14\xaa\xea\x99\x3c\x66\x1b\xbc\x3b\x1a\x39\x97\x0b\x67\x39\x25\x7e\x7f\x7c\xb8\xfc\xb5\xfb\x07\x5e\x9f\xf4\xc2\x6d\x36\x10\x0d\x79\xa7\x8b\x9a\x73\x68\x80\x58\x60\x3c\x05\x6e\xae\x01\x6d\xe2\x1e\xe2\x9d\xfe\x61\x50\x7c\x7b\x25\x94\x9c\xe8\xb7\xda\xcd\x63\xff\x3c\xe8\xb2\x0a\x48\x9d\x9c\xd5\x55\x7d\x05\x00\x00\xff\xff\xda\x39\x57\xb4\x7f\x01\x00\x00" func scriptsGet_collection_lengthCdcBytes() ([]byte, error) { return bindataRead( @@ -143,11 +143,11 @@ func scriptsGet_collection_lengthCdc() (*asset, error) { } info := bindataFileInfo{name: "scripts/get_collection_length.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x28, 0xcb, 0x1, 0xbd, 0xd, 0x9, 0x6e, 0x13, 0x12, 0x78, 0x65, 0x2a, 0x1d, 0x21, 0x81, 0xdd, 0xfb, 0x15, 0xae, 0xd1, 0x13, 0x39, 0x55, 0x97, 0x44, 0x60, 0x63, 0xbe, 0xd6, 0x71, 0x48, 0x1}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1c, 0x52, 0x77, 0xd, 0xad, 0xca, 0xf5, 0xc4, 0xa6, 0xfb, 0xb9, 0xa, 0xdf, 0x35, 0xdf, 0x86, 0x1d, 0x30, 0x49, 0xe4, 0x16, 0xde, 0x67, 0x65, 0x88, 0xcb, 0x33, 0xaf, 0xa6, 0xc1, 0x8e, 0xc9}} return a, nil } -var _scriptsGet_contract_storage_pathCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x50\x4d\x6b\xe3\x30\x14\xbc\xeb\x57\x4c\x7c\x58\x6c\x58\xfc\x03\x42\x9c\x10\xb2\xec\x6d\x97\xd2\x86\xde\x5f\xa4\x97\x54\x60\x4b\xe6\xe9\x39\xa1\x94\xfc\xf7\xa2\xd8\xcd\x07\x3d\xf4\x1d\x84\x34\x9a\x37\x33\x8c\xef\xfa\x28\x8a\x7f\xac\xe4\x48\xe9\xd5\xf3\x29\x61\x2f\xb1\x43\xf1\x80\x15\x66\x62\xe6\xd7\x33\xa7\xd8\x1e\x59\x26\xe2\x3d\x54\x18\xd3\x0f\x3b\xec\x87\x80\x8e\x7c\x28\xc9\x39\x99\x63\xed\x9c\x70\x4a\xbf\x11\xa8\xe3\x39\x5e\x54\x7c\x38\x54\xf9\x12\x85\x0e\xfc\x44\xfa\xb6\xc2\x87\x01\x80\x96\x15\x8a\x06\xdb\xf7\x9e\x17\x0f\x11\xea\xff\x7f\xb7\x9b\xd8\xb6\x6c\xd5\xc7\xf0\x87\x94\x96\x65\x75\xdd\xd9\x45\x91\x78\x62\xb7\x89\x41\x85\x6c\x96\x38\xb0\xae\xad\x8d\x43\xd0\x4b\x8c\xaa\xb6\xd3\x5f\xaa\x47\xf6\xe2\xd7\x7d\xf4\x65\x39\xa6\xcb\xe7\xa8\x9b\x67\xb5\x42\x4f\xc1\xdb\xb2\xf8\xda\x86\x8d\x43\xeb\x10\xa2\x62\xc7\x57\xdf\xa2\x32\xd7\x2c\x47\xcf\x27\x34\xdf\x22\xd5\x32\x3a\x65\xd3\x52\x47\x0b\xbf\x9f\xd8\x0d\x82\x6f\xa7\x0e\xf2\x08\xeb\x20\x21\x83\x17\xe8\x7c\x53\xb7\x0e\xcd\x65\x69\x06\x4a\x33\xfc\xd0\x91\xb9\x13\xb3\xae\x4e\xb7\xc6\xcd\xd9\x7c\x06\x00\x00\xff\xff\x73\xe8\x98\x91\xfe\x01\x00\x00" +var _scriptsGet_contract_storage_pathCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x50\x4d\x6a\xf3\x30\x10\xdd\xeb\x14\x13\x2f\x3e\x6c\xf8\xf0\x01\x42\x9c\x10\x52\xba\x6b\x29\x6d\xe8\x7e\x2c\x4d\x5c\x81\x2c\x99\xd1\x38\xa6\x94\xdc\xbd\xc8\x76\x9c\x94\x2e\x3a\x0b\x21\x3d\xcd\xfb\xe1\xd9\xb6\x0b\x2c\x90\x3d\x91\xa0\x41\xc1\x77\x4b\x43\xcc\xd4\x15\x4e\xcf\x57\x8a\xc1\x9d\x89\x33\xa5\xba\xbe\x86\x53\xef\xa1\x45\xeb\x73\x34\x86\xd7\xb0\x37\x86\x29\xc6\xff\xe0\xb1\xa5\x35\xbc\x09\x5b\xdf\x14\xe9\x12\x18\x1b\x7a\x41\xf9\xd8\xc1\x97\x02\x00\x70\x24\x20\x50\xc1\xf1\xb3\xa3\xcd\x0f\xc3\xf2\xf9\xf1\x78\x08\xce\x91\x16\x1b\xfc\x03\x0a\x6e\xf3\x62\xe1\xd4\x81\x39\x0c\x64\x0e\xc1\x0b\xa3\x4e\x12\x0d\xc9\x5e\xeb\xd0\x7b\x19\x63\x14\xa5\x9e\xff\x62\x39\x6d\x6f\xfe\xdd\x47\xdf\xe6\x53\xba\x74\x4e\xba\x69\x76\x3b\xe8\xd0\x5b\x9d\x67\x57\x36\xe8\xd0\x3b\x03\x3e\x08\xd4\xb4\xf8\x66\x85\x5a\xb2\x9c\x2d\x0d\x50\xfd\x8a\x54\xf2\xe4\x94\x4c\x73\x99\x2c\xec\x69\xde\xae\xc0\x5b\x37\x77\x90\x86\x49\x7a\xf6\x09\x1c\xa1\xcb\x4d\x5d\x1b\xa8\x46\xd2\x0a\x30\xae\xe0\x8f\x8e\xd4\x9d\x98\x36\x65\xbc\x35\xae\x2e\xea\x3b\x00\x00\xff\xff\xef\x1d\x1f\x9f\xd9\x01\x00\x00" func scriptsGet_contract_storage_pathCdcBytes() ([]byte, error) { return bindataRead( @@ -163,11 +163,11 @@ func scriptsGet_contract_storage_pathCdc() (*asset, error) { } info := bindataFileInfo{name: "scripts/get_contract_storage_path.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7e, 0x56, 0x4, 0xaa, 0xcc, 0x73, 0x82, 0xc4, 0xac, 0x12, 0x70, 0xbf, 0xa5, 0x3c, 0x54, 0x63, 0xf8, 0xde, 0xd9, 0x9e, 0xc3, 0xbd, 0xe5, 0x76, 0x9b, 0x2f, 0x5a, 0x92, 0x9c, 0x19, 0x96, 0x36}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9e, 0x91, 0x6d, 0x87, 0xd8, 0xce, 0xe8, 0x29, 0x90, 0xc8, 0x4, 0x3d, 0x2f, 0x54, 0xaf, 0x1, 0x86, 0x2e, 0x29, 0x49, 0xd1, 0x6f, 0x4e, 0x22, 0x6d, 0x99, 0x3f, 0x23, 0xcd, 0x74, 0x8b, 0x32}} return a, nil } -var _scriptsGet_nft_metadataCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x58\xc1\x6e\xe3\x36\x10\xbd\xfb\x2b\x26\x39\x14\x36\xd0\x2a\x3d\x14\x3d\x18\x55\x83\x6d\x92\x2d\x16\xc8\x1a\x8b\xc4\xdb\x4b\x90\x03\x2d\x8d\x1c\x22\x12\xa5\x92\x54\xb2\x46\x90\x7f\x2f\x48\x4a\x22\x29\x92\x76\x9a\x8b\xa5\x99\x37\x33\xa4\x38\x8f\xe4\xcb\xc5\xc5\x05\x6c\x9f\xa8\x00\x51\x70\xda\x49\xd8\xa3\x14\x40\xea\x1a\xe4\x13\xc2\x0b\xc5\xd7\x5f\x76\x44\x60\x09\x0d\x4a\x52\x12\x49\x80\x08\xd1\x16\x94\x48\x2c\xe1\x95\xca\x27\x8d\x13\x1d\x16\xb4\xa2\x58\xc2\xe6\xf3\x76\xa1\x52\x12\x56\x02\x47\xd9\x73\x26\x80\x4a\x20\x02\x08\x08\xca\xf6\x35\x82\x90\xbc\x2f\xe4\x62\x41\x9b\xae\xe5\x12\x6e\x7e\x90\xa6\xab\x71\xf3\x79\x0b\x15\x6f\x1b\x38\xb7\x86\xf3\x11\xf3\x75\x28\xfe\x0f\xc5\x57\x31\xc0\x3c\xdb\xf9\x62\xd1\xf5\xbb\x21\xb5\x1a\x04\xbc\x2d\x00\x00\x94\xb1\x46\x09\x8c\x34\xb8\x86\x7b\xc9\x29\xdb\x7b\x8e\x12\xcd\xbc\x69\xcb\xa2\x7e\xf9\xd4\x37\x3b\x46\x68\x1d\xf5\xb6\xaf\x0c\xf9\x1a\x3e\x95\x25\x47\x21\xfc\xc0\x43\x17\xaf\xc8\xdb\x03\xa9\x25\x45\xb1\x86\x07\x6f\x0e\xd9\x9d\xf6\x1c\x1e\x3d\x38\xfe\x90\xc8\x19\xa9\xbf\xdf\xdd\x46\xd3\x09\xe4\x94\xd4\x9b\xbe\xd9\xa9\x91\x7c\xff\xc2\xe4\xef\xbf\x79\x80\xa2\xad\x6b\x2c\xd4\x04\xbf\xf5\xbb\x9a\x16\xdf\x88\x7c\x5a\x83\x7d\x4e\x80\xef\x65\xcb\xc9\x1e\x0d\xda\x79\x49\xe5\xe6\xed\x0b\x2d\x91\x0f\xd9\x39\x7d\x21\xf2\x28\x5e\xd7\x8f\xce\x68\x0e\xba\xa5\xec\x19\xcb\x6d\xea\x7b\x86\x63\xf8\x70\xc0\x26\xd5\x15\x16\x72\x7d\xa2\x3f\x2c\xf2\xe6\xc4\x42\x39\x9f\xf6\xdf\x9e\x70\xfc\xd2\x90\xfd\xa9\xea\x7f\x11\xc6\x90\x7f\x04\x79\xaf\x38\x59\x8b\x35\xbc\x19\xd8\x08\x7f\xf7\x9b\xa9\xa4\x66\x26\x7e\xe3\xdd\x18\xb3\xdf\xbf\x9c\x50\x29\xe6\xc8\xad\xb6\x7a\xc0\x06\x4b\x4a\x02\xe0\x57\x6d\xbd\xf4\x90\x35\x2d\x90\x09\x9c\x43\x6f\x8d\xf9\x72\xa1\xc1\x94\x51\xb9\xd4\x4f\xea\xcf\xe5\xed\xcf\x93\x35\x42\x5a\xeb\x0c\x18\x6b\x5d\x3e\x5d\xad\x9d\x55\xd2\xed\x16\xeb\x38\xcd\x55\x8b\x8d\x10\xd5\x3a\x63\x2c\xb5\xde\x53\x14\x8d\x21\x53\xfc\x8c\x66\x4d\x91\x33\x3d\x84\x70\x0a\xa7\x69\x79\xac\xf4\xc7\xd0\x9b\xe8\x72\x1f\x65\x63\x0c\x16\xa1\x62\xf4\x13\x86\x3c\x8c\xc1\x22\x24\x8c\x66\x4b\x31\xd0\x69\x91\xa3\xf4\x73\x5a\xf8\x08\xf7\x2c\x6a\x20\x5e\x94\x77\x16\x35\x92\x2e\xc1\x39\x05\x59\x0d\x87\xa5\x69\xd4\xba\xca\x14\xeb\x20\xd7\xe4\xf3\x1d\x0e\xf1\x20\x77\x69\xe8\xc3\x26\x0a\x42\x6e\xe9\xe8\x43\x34\x15\x21\x37\x94\x9c\x45\x1f\x3a\x5d\xdd\x90\xd2\xf7\x4d\x84\x84\xdc\x92\xd3\x87\x38\x3c\x84\xdc\x65\xa5\x0f\x73\x19\x09\xb9\x47\x50\x1f\x18\x23\x27\xe4\x51\xce\xa6\x02\x1d\x7a\x7a\x91\xf3\x63\x35\x56\xd3\xa1\xae\x5f\xd5\x71\x1c\x1f\x70\x64\xb0\xc7\x03\x2c\x57\x23\xa1\xd6\x79\x6a\xc8\xa9\x34\x81\x3b\x95\x68\x63\xda\xd0\x37\xa4\xc0\xd7\x5e\x6b\x46\xed\xa9\xd0\x1b\xaf\x63\xa2\xf6\xe4\xca\xda\x2d\xc4\x5f\x59\x6b\x4f\x85\x3a\xdb\x8a\x17\xea\xd8\x93\x55\xcd\x56\xe3\x57\x34\xb6\x19\x17\xcc\xce\xa2\x78\xe0\x1c\xf1\x96\x69\x7a\x47\x51\x24\xb5\xc7\xfa\xe4\x34\xdb\x4b\x6e\x7e\x7c\xd7\xb0\xa7\xe4\xc3\xaf\x76\xbe\x2f\xde\xcd\x1d\xbc\xea\x19\x34\x84\xb2\x25\x31\xc7\xac\x3d\x6f\x81\x96\xe3\xd9\xb7\x5a\x3b\x97\x74\x75\x37\x20\x45\xd1\xf6\x4c\x42\xae\x04\xc8\x27\xf3\x32\x66\x58\x2d\x26\x98\x9d\x2f\xe4\x63\xcc\x34\xb6\x6c\x8f\xf2\x8a\x74\x64\x47\x6b\x2a\x0f\x4b\xab\x23\xb2\xab\x08\x59\x57\x36\x6e\xd7\x72\xde\xbe\xfe\xf1\xd3\x9b\x13\x62\x1f\xe7\xc1\xef\x7f\x2e\x6d\xec\xe5\x25\x74\x84\xd1\x62\x79\x7e\xd5\xf6\x75\x09\xac\x95\x60\xd2\x01\x01\x8e\x15\x72\x64\x05\x82\x6c\xb5\x4e\xb2\xc3\x3f\x77\x26\xc5\x2a\xe9\x2d\xe5\x30\x1e\x3b\x82\xa5\xfa\x70\xb4\x5c\x9d\x99\x98\x8b\x0b\xf8\x5b\x4b\x13\x84\x1d\x11\xb4\x80\x92\x8a\xae\x26\x07\xa0\xac\x6a\x79\x43\xf4\xe7\xa9\x5a\x0e\x52\xe9\x3a\xa5\xc8\xc6\x4a\x23\x30\x9f\x1d\x2d\x7b\x94\xd7\xc6\xb5\x64\x95\x8c\xd4\x31\x7b\x6d\xac\x02\xc2\x9e\xbe\x20\xf3\xca\x0c\x68\x95\x3b\x56\xea\x6e\xdc\xb8\xdd\x62\x33\xad\x13\x8b\x73\xf8\x38\x8f\x74\xf8\x9e\x9e\xa2\xb7\x96\xfe\x7c\x9d\xa5\xb0\x90\xd4\xf8\xfd\x3c\x44\x92\xf9\x68\x58\x25\x87\x33\x3d\x95\x62\x70\x8b\x59\x79\xf7\x14\x4a\x85\xde\x6b\xcc\xbc\xa4\x7f\xb5\x35\xc7\xa7\x39\x64\xcf\xb2\x81\x46\xde\x2c\xb7\xd3\x21\xab\x72\xaa\xb7\x65\x94\x66\xc9\x5b\x0d\xe4\xf0\x66\xc4\x85\xea\x83\x67\x54\xbd\x11\x2e\x43\x26\x4c\x7c\xf6\x8c\x07\xe1\x5c\x33\x82\x02\x0f\xcf\x78\x78\xf4\x37\x6e\x3f\x83\x06\x9c\x65\x3d\xaf\x87\xed\x66\x1a\xec\xb4\x8b\x05\x9f\xca\xdc\x98\xe6\x9f\x6a\xd8\xd8\x02\xb4\xb9\x3a\x69\xf4\x84\x1d\x77\xba\x00\x3c\x5c\xa0\x0c\x5a\xc3\xcd\x7f\x3b\x14\x0f\xe6\xf2\x65\x60\x9d\xbe\x56\x25\x44\xcc\x08\x71\x8c\x51\x45\x33\xe2\x26\x53\xd6\x73\xba\x5c\x05\x12\x47\xff\x44\x04\xce\xf0\x90\xd1\x12\x99\xa4\x15\x75\x41\x8e\xd8\x71\x08\xec\x13\x76\x95\xd0\x3b\xce\x8b\x5a\xa2\x94\xf0\x99\xf7\x77\xc6\xf4\xe3\x29\x25\x14\xb0\x32\xeb\x3e\xae\x8d\xc2\x60\xf1\x7f\xd4\x52\xa4\xb6\xe3\x3f\x26\xa0\x52\xa3\xb6\xc6\xe8\x32\x1c\xd3\x59\xa9\x94\x16\x73\x2a\x65\x44\x8e\xa5\x67\xf8\xe1\xb4\x46\xb7\x85\xdc\xf5\x3b\x3e\xa1\xe3\xc2\xb0\x28\x0b\x12\xf2\x2e\x8c\x4e\xf6\x62\x42\xf9\x45\xb6\x1c\xeb\xce\x2a\x5a\xe3\x9c\x64\x09\x6d\x18\x26\xda\x59\xf7\x89\x44\xd3\x3e\x1b\x98\x22\xf2\xd1\x3f\x5f\x32\x75\x28\xdf\x52\x21\x1f\x7e\x7d\x0c\x35\xa4\x8c\xab\x46\xf3\x13\xca\x44\xf7\x4a\xb7\x5a\xbc\x2f\xfe\x0b\x00\x00\xff\xff\xa0\xd8\x58\x6a\x1f\x16\x00\x00" +var _scriptsGet_nft_metadataCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x58\xc1\x6e\xe3\x36\x10\xbd\xeb\x2b\x26\x39\x14\x36\xd0\x2a\x3d\x14\x3d\x18\x55\x83\x6d\x92\x2d\x16\xc8\x1a\x8b\xc4\xdb\x4b\x90\x03\x2d\x8d\x1c\x22\x32\xa5\x92\x54\xb2\x46\x90\x7f\x2f\x48\x4a\x22\x29\x92\x76\x9a\x8b\xa5\x99\x37\x33\xa4\x38\x8f\xe4\xcb\xc5\xc5\x05\x6c\x9e\xa8\x00\x51\x72\xda\x49\xd8\xa1\x14\x40\x9a\x06\xe4\x13\xc2\x0b\xc5\xd7\x5f\xb6\x44\x60\x05\x7b\x94\xa4\x22\x92\x00\x11\xa2\x2d\x29\x91\x58\xc1\x2b\x95\x4f\x1a\x27\x3a\x2c\x69\x4d\xb1\x82\xf5\xe7\x4d\xa6\x52\x12\x56\x01\x47\xd9\x73\x26\x80\x4a\x20\x02\x08\x08\xca\x76\x0d\x82\x90\xbc\x2f\x65\x96\xd1\x7d\xd7\x72\x09\xe7\x37\x3f\xc8\xbe\x6b\x70\xfd\x79\x73\x3e\xd9\xbe\x0e\xd5\xfe\xa1\xf8\x2a\xce\xb3\xac\xeb\xb7\x43\x9c\xaa\x00\x6f\x19\x00\x80\x32\x36\x28\x81\x91\x3d\xae\xe0\x5e\x72\xca\x76\x9e\xa3\x42\x33\x29\xda\xb2\xa8\x5f\x3e\xf5\xfb\x2d\x23\xb4\x89\x7a\xdb\x57\x86\x7c\x05\x9f\xaa\x8a\xa3\x10\x7e\xe0\xa1\x8b\x57\xe4\xed\x81\x34\x92\xa2\x58\xc1\x83\x37\x87\xfc\x4e\x7b\x0e\x8f\x1e\x1c\x7f\x48\xe4\x8c\x34\xdf\xef\x6e\xa3\xe9\x04\x72\x4a\x9a\x75\xbf\xdf\xaa\x91\x7c\xff\xc2\xe4\xef\xbf\x79\x80\xb2\x6d\x1a\x2c\xd5\x04\xbf\xf5\xdb\x86\x96\xdf\x88\x7c\x5a\x81\x7d\x4e\x80\xef\x65\xcb\xc9\x0e\x0d\xda\x79\x49\xe5\xe6\xed\x0b\xad\x90\x0f\xd9\x39\x7d\x21\xf2\x28\x5e\xd7\x8f\xce\x68\x0e\xba\xa5\xec\x19\xab\x4d\xea\x7b\x86\x63\xf8\x70\xc0\x3a\xd5\x15\x16\x72\x7d\xa2\x3f\x2c\xf2\xe6\xc4\x42\x39\x9f\xf6\xdf\x9e\x70\xfc\xb2\x27\xbb\x53\xd5\xff\x22\x8c\x21\xff\x08\xf2\x5e\x11\xae\x11\x2b\x78\x33\xb0\x11\xfe\xee\x37\x53\x45\xcd\x4c\xfc\xc6\xbb\x31\x66\xbf\x7f\x39\xa1\x52\xcc\x91\x1b\x6d\xf5\x80\x7b\xac\x28\x09\x80\x5f\xb5\xf5\xd2\x43\x36\xb4\x44\x26\x70\x0e\xbd\x35\xe6\xcb\x4c\x83\x29\xa3\x72\xa1\x9f\xd4\x9f\xcb\xdb\x9f\x27\x6b\x84\xb4\xd6\x19\x30\xd6\xba\x7c\xba\x5a\x3b\xab\xa5\xdb\x2d\xd6\x71\x9a\xab\x16\x1b\x21\xaa\x75\xc6\x58\x6a\xbd\xa7\x28\x1a\x43\xa6\xf8\x19\xcd\x9a\x22\x67\x7a\x08\xe1\x14\x4e\xd3\xf2\x58\xe9\x8f\xa1\xd7\xd1\xe5\x3e\xca\xc6\x18\x2c\x42\xc5\xe8\x27\x0c\x79\x18\x83\x45\x48\x18\xcd\x96\x62\xa0\xd3\x22\x47\xe9\xe7\xb4\xf0\x11\xee\x59\xd4\x40\xbc\x28\xef\x2c\x6a\x24\x5d\x82\x73\x0a\xb2\x1c\x0e\x4b\xd3\xa8\x4d\x9d\x2b\xd6\x41\xa1\xc9\xe7\x3b\x1c\xe2\x41\xe1\xd2\xd0\x87\x4d\x14\x84\xc2\xd2\xd1\x87\x68\x2a\x42\x61\x28\x39\x8b\x3e\x74\xba\xba\x21\xa5\xef\x9b\x08\x09\x85\x25\xa7\x0f\x71\x78\x08\x85\xcb\x4a\x1f\xe6\x32\x12\x0a\x8f\xa0\x3e\x30\x46\x4e\x28\xa2\x9c\x4d\x05\x3a\xf4\xf4\x22\xe7\xc7\x6a\xac\xa6\x43\x5d\xbf\xaa\xe3\x38\x3e\xe0\xc8\x60\x8f\x07\x58\xae\x46\x42\xad\xf3\xd4\x90\x53\x69\x02\x77\x2a\xd1\xda\xb4\xa1\x6f\x48\x81\xaf\xbd\xd6\x8c\xda\x53\xa1\x37\x5e\xc7\x44\xed\xc9\x95\xb5\x5b\x88\xbf\xb2\xd6\x9e\x0a\x75\xb6\x15\x2f\xd4\xb1\x27\xab\x9a\xad\xc6\xaf\x68\x6c\x33\x2e\x98\x9d\x45\xf1\xc0\x39\xe2\x2d\xd3\xf4\x8e\xa2\x48\x6a\x8f\xf5\xc9\x69\xb6\x97\xc2\xfc\xf8\xae\x61\x4f\x29\x86\x5f\xed\x7c\xcf\xde\xcd\x1d\xbc\xee\x19\xec\x09\x65\x0b\x62\x8e\x59\x7b\xde\x02\xad\xc6\xb3\x6f\xb9\x72\x2e\xe9\xea\x6e\x40\xca\xb2\xed\x99\x84\x42\xa9\x8b\x4f\xe6\x65\xcc\xb0\xcc\x26\x98\x9d\x2f\x14\x63\xcc\x34\xb6\x7c\x87\xf2\x8a\x74\x64\x4b\x1b\x2a\x0f\x0b\x2b\x1a\xf2\xab\x08\x59\x97\x36\x6e\xdb\x72\xde\xbe\xfe\xf1\xd3\x9b\x13\x62\x1f\xe7\xc1\xef\x7f\x2e\x6c\xec\xe5\x25\x74\x84\xd1\x72\x71\x7e\xd5\xf6\x4d\x05\xac\x95\x60\xd2\x01\x01\x8e\x35\x72\x64\x25\x82\x6c\xb5\x08\xb2\xc3\x3f\x77\x26\xc5\x6a\xe9\x2d\xe5\x30\x1e\x3b\x82\x85\xfa\x70\xb4\x5a\x9e\x99\x98\x8b\x0b\xf8\x5b\x4b\x13\x84\x2d\x11\xb4\x84\x8a\x8a\xae\x21\x07\xa0\xac\x6e\xf9\x9e\xe8\xcf\x53\xb7\x1c\xa4\x12\x6d\x4a\x6e\x8d\x95\x46\x60\x31\x3b\x5a\x76\x28\xaf\x8d\x6b\xc1\x6a\x19\xa9\x63\xf6\xda\x58\x05\x84\x1d\x7d\x41\xe6\x95\x19\xd0\x2a\x77\xac\xd4\xdd\xb8\x71\xbb\xc5\x66\x5a\x27\x16\xe7\xf0\x71\x1e\xe9\xf0\x3d\x3d\x45\x6f\x2d\xfd\xf9\x3a\x4b\x61\x21\xa9\xf1\xfb\x79\x88\x24\xf3\xd1\xb0\x5a\x0e\x67\x7a\x2a\xc5\xe0\x16\xb3\xf2\xee\x29\x94\x0a\xbd\xd7\x98\x79\x49\xff\x6a\x6b\x8e\x4f\x73\xc8\x9e\xe5\x03\x8d\xbc\x59\x6e\xa6\x43\x56\xe5\x54\x6f\x8b\x28\xcd\x92\xb7\x1a\x28\xe0\xcd\x88\x0b\xd5\x07\xcf\xa8\x7a\x23\x5c\x86\x5c\x98\xf8\xfc\x19\x0f\xc2\xb9\x66\x04\x05\x1e\x9e\xf1\xf0\xe8\x6f\xdc\x7e\x06\x0d\x38\xcb\x7b\xde\x0c\xdb\xcd\x34\xd8\x69\x17\x0b\x3e\x95\xb9\x31\xcd\x3f\xd5\xb0\xb1\x05\x68\x73\x75\xd2\xe8\x09\x3b\xee\x74\x01\x78\xb8\x40\x19\xb4\x86\x9b\x7f\x65\x28\x1e\xcc\xe5\xcb\xc0\x3a\x7d\xad\x4a\x88\x98\x11\xe2\x18\xa3\x8a\x66\xc4\x4d\xa6\xbc\xe7\x74\xb1\x0c\x24\x8e\xfe\x89\x08\x9c\xe1\x21\xa7\x15\x32\x49\x6b\xea\x82\x1c\xb1\xe3\x10\xd8\x27\xec\x32\xa1\x77\x9c\x17\xb5\x44\x29\xe1\x33\xef\xef\x9c\xe9\xc7\x53\x4a\x28\x60\x65\xde\x7d\x5c\x1b\x85\xc1\xe2\xff\xa8\xa5\x48\x6d\xc7\x7f\x4c\x40\xa5\x46\x6d\x8d\xd1\x65\x38\xa6\xb3\x52\x29\x2d\xe6\x54\xca\x88\x1c\x4b\xcf\xf0\xc3\x69\x8d\x6e\x0b\xb9\xeb\x77\x7c\x42\xc7\x85\x61\x51\x16\x24\xe4\x5d\x18\x9d\xec\xc5\x84\xf2\x8b\x6c\x39\xd6\x9d\xd7\xb4\xc1\x39\xc9\x12\xda\x30\x4c\xb4\xb5\xee\x13\x89\xa6\x7d\x36\x30\x45\xe4\xa3\x7f\xbe\xe4\xea\x50\xbe\xa5\x42\x3e\xfc\xfa\x18\x6a\x48\x19\x57\x8d\xe6\x27\x94\x89\xee\x95\x6e\x99\xbd\x67\xff\x05\x00\x00\xff\xff\x6d\xed\x16\xf5\xfc\x15\x00\x00" func scriptsGet_nft_metadataCdcBytes() ([]byte, error) { return bindataRead( @@ -183,11 +183,11 @@ func scriptsGet_nft_metadataCdc() (*asset, error) { } info := bindataFileInfo{name: "scripts/get_nft_metadata.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x16, 0x9f, 0x4f, 0x3b, 0x55, 0x3a, 0xf4, 0xcf, 0xd4, 0x62, 0xfe, 0x5c, 0xd6, 0x6, 0x4a, 0x14, 0xde, 0x39, 0x8b, 0x0, 0xbb, 0xa3, 0x32, 0x51, 0xb0, 0x81, 0xba, 0xe5, 0x2a, 0x2f, 0x81, 0x95}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x70, 0xab, 0xd7, 0xb8, 0xc4, 0x33, 0x3f, 0xd0, 0xd3, 0xb, 0x82, 0x6e, 0x1b, 0x70, 0x66, 0x11, 0x53, 0xd4, 0x19, 0x57, 0x6c, 0xe2, 0x79, 0xfe, 0x56, 0x5e, 0x41, 0x40, 0x72, 0x4, 0xd4, 0x9c}} return a, nil } -var _scriptsGet_nft_viewCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x56\x4d\x6f\xdb\x38\x10\xbd\xeb\x57\x8c\x7d\x58\xd8\x40\xa0\xd3\x62\x0f\xc2\x6a\x8b\x6e\x9a\x02\x05\xba\x46\x91\xa4\xbd\x14\x3d\xd0\xd2\xd8\x19\x84\x26\xb5\x14\x95\xc4\x08\xfc\xdf\x17\x92\x2c\x91\x94\x48\x49\xeb\x93\x39\xf3\xe6\x43\xe4\x1b\xf2\xd1\xa9\x90\x4a\xc3\xdd\x1b\x3b\x15\x1c\x77\x9f\x1f\xe1\xa0\xe4\x09\xd6\xc6\xb0\x8e\xae\x98\x7f\x50\xb3\x9c\x69\xf6\x83\xf0\xb5\xbc\xc2\x1c\xdb\x3a\x8a\x8a\x6a\x0f\xa5\x56\x55\xa6\x61\xf7\xf9\xb1\xb6\xc2\x7b\x04\x00\x50\x3b\x38\x6a\xa0\x3c\x81\xef\x5f\x84\xfe\xe3\x77\xc7\x5c\x55\x01\x87\x60\x27\x4c\xe0\x41\x2b\x12\x47\xc7\x91\x63\x99\x29\x2a\x34\x49\xe1\xf5\xeb\xa7\xea\xb4\x17\x8c\xb8\xd7\xab\xe4\x99\x71\x4d\x58\x26\xf0\xd3\xf9\x86\xf8\xbe\xf1\x9c\x7f\x39\x70\x7c\xd3\xa8\x04\xe3\xdf\xef\xbf\x7a\xd3\x65\x92\x73\xcc\xea\x5e\xbe\x55\x7b\x4e\xd9\x37\xa6\x9f\x12\x30\xff\x03\xe0\x07\x2d\x15\x3b\x62\x8b\xb6\x16\xa1\xdc\x4a\xbe\x50\x8e\xea\x9a\x5d\xd1\x0b\xd3\x93\xf8\xa6\xfe\xa2\x86\xbf\x92\x78\xc6\xfc\xf1\x5c\xf8\x37\x7b\xdc\xc3\xe2\x80\x5d\xe8\x00\x0d\xe4\xd3\xcc\x51\x1a\xe4\xdd\xe2\x73\x78\xf8\xb7\x62\x0a\xbf\x9c\xd8\x71\xae\xfa\xdf\x4c\x08\x54\x4b\x90\x0f\x32\x23\xc6\xcb\x04\xde\x5b\x58\x07\xbf\xb8\xc4\x53\x8c\x74\x99\xb8\xe3\x12\x3f\x36\xd6\xa8\x41\x92\x20\xbd\x69\xfe\x35\xab\x9e\xf8\x37\xbd\xcd\x1e\x07\x63\xb5\x67\xc1\x58\x3d\x83\x60\x9c\xa3\x29\x30\xae\xf9\x11\x30\x58\x0f\xff\x8d\x73\x8e\xfc\x3e\x64\x88\xf9\xde\xac\x21\xda\x87\x5b\x98\x6f\x72\xcc\xdf\xa9\xd2\xcb\xd0\x3b\xef\xf9\x4c\xf2\xdc\x07\xf3\x90\xdc\xbb\x85\x63\x86\xfb\x60\x1e\x7a\x7b\xb3\x85\xb8\x6d\x71\x69\x8a\xd8\x35\x60\x7b\xbd\xeb\xeb\x5f\x89\xfc\x10\x53\x0e\x29\x50\xee\x1a\x6b\x6e\x43\xda\x50\xdc\x75\xd4\xf4\x86\xb4\x61\xb9\xeb\xb0\x18\x0e\xa9\xcd\x77\x17\xd6\x73\x1d\x52\xc3\x7b\x17\xd2\x73\x1e\x52\xc3\x7f\x17\x62\x51\x1d\x52\x9b\xf8\x2e\xcc\x47\x7a\x48\xbd\xb3\x10\x0a\xb4\x68\xef\x44\x0e\x1f\x02\x5f\x4d\x6b\x24\xdc\xaa\x96\x63\xba\x61\x4f\xb3\xd3\x01\x66\x06\x3c\xa1\xc6\x39\xd7\x72\x28\xcd\xc8\x1d\x4a\xb4\x6b\x69\xe2\x1a\x42\xe0\x4f\x0e\x75\xbc\xf6\x50\xe8\x9d\x43\x04\xaf\x3d\x78\xb2\x66\x34\xdd\x93\x35\xf6\x50\xa8\x35\xae\x4e\xa8\x65\x0f\x56\x6d\x47\xd8\xad\xd8\xda\x06\x83\xd2\x8c\x6c\x3d\x25\x66\x76\x2f\xd1\xa5\x55\x6f\x87\x4a\xc0\x89\x91\xd8\xb0\x3c\x57\x58\x96\x09\x7c\x6c\xff\xdc\x58\x2f\xd5\x36\x19\xc8\xbb\xfa\xe1\x63\x59\x26\x2b\xa1\x21\x85\x23\xea\x8f\xed\xa2\xcb\xb2\x8d\x7a\x98\x69\x0e\xd2\x2e\xa6\xef\x2f\x3e\xa2\xbe\x65\x05\xdb\x13\x27\x7d\xde\x18\x15\x1a\xdf\x7a\x26\x6b\x6b\xe2\xf6\x52\x29\xf9\xfa\xe7\x6f\xef\x83\xa7\x0c\x4b\xc9\x5f\x50\x99\xe8\xcb\x5f\x1b\x13\xf6\xe1\x03\x14\x4c\x50\xb6\x59\xdf\xca\x8a\xe7\x20\xa4\x86\x36\x13\x30\x50\x78\x40\x85\x22\x43\xd0\x12\xf4\x13\x5a\x9d\xaf\xad\xef\x79\x21\x7c\xed\xca\x38\x7b\x7f\xed\xe9\x87\xe5\xdf\xd4\x5b\x48\xf9\x76\x65\xc2\xc5\x41\x37\xfb\x98\x0e\xee\xd5\x23\xea\xeb\x16\x5f\x83\x6e\xdc\x4a\x89\xb3\xf4\xee\x6f\xf0\x4e\x87\x14\xde\x5b\xd1\x72\x90\x0a\x9e\xf1\x0c\x24\xba\x46\xec\xe1\xa1\xb2\xe0\xec\xbc\x8a\xcb\x36\x51\xfc\x8c\xe7\xd2\xba\xe3\x47\x95\x7e\x3e\xe3\xf9\x57\x7d\x85\xcf\xa6\x6a\x90\xab\xb8\x52\xfc\xca\xbe\xb6\x7f\x85\xba\x52\xa2\xe3\x96\xab\x91\xba\xa4\x94\x0f\x75\x52\xe7\xa9\x57\x43\xb5\xd4\xf9\xf2\xae\x81\xda\x1c\x10\x4f\x23\xac\xe5\xf5\x4a\xaa\x51\x40\xef\x8b\x2b\x45\x9b\xad\x57\x6c\x75\x41\xbd\x69\x55\x9f\xf5\x7d\xb7\xb2\xa3\x1c\xd9\xd5\xc5\x59\xc6\x66\x03\xe7\x84\x98\xe7\x30\x98\x66\xab\xb8\x58\x2e\xd0\x42\x29\xca\xff\x23\xdc\x82\x7d\x58\xa8\x29\x45\x37\xfd\x1d\x66\xc0\x63\xca\x51\x68\x3a\x10\xaa\x65\xf2\x6f\x3a\xb1\x41\xce\x25\xf6\x68\xc5\xb9\x6f\x5e\x9c\x7c\xe7\x90\xd9\x33\x57\x2e\xad\x03\x9a\x73\x22\xde\x4b\xf5\x80\x26\x9d\x48\x63\x91\x33\xc4\x4d\x47\xb7\x4e\xdd\x14\x06\x17\x1f\x88\xe3\x70\xa4\x02\x12\x77\x22\xe3\xde\xe0\x66\x32\xf6\x37\xe7\xc8\x34\x96\xc3\x5d\xc1\x76\xbd\x6a\x01\xdb\xe8\x12\xfd\x17\x00\x00\xff\xff\xdd\x41\x95\x28\x5b\x11\x00\x00" +var _scriptsGet_nft_viewCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x56\x4d\x8f\xa3\x38\x10\xbd\xf3\x2b\x2a\x39\xac\x12\xa9\xc5\x69\xb5\x07\xb4\xec\x68\xb6\xa7\x47\x1a\x69\x36\x1a\x75\xf7\xcc\x65\x34\x07\x07\x2a\xe9\x52\x3b\x86\x35\x26\xdd\x28\xca\x7f\x5f\x01\x01\xdb\x60\x03\x9b\x53\x5c\xf5\xea\x03\xfb\x95\xfd\xe8\x94\x67\x52\xc1\xfa\xe1\x9d\x9d\x72\x8e\xbb\xcf\xcf\xeb\xa0\xb3\xfd\x83\x8a\xa5\x4c\xb1\x1f\x84\x6f\xc5\x3a\x08\xf2\x72\x0f\x85\x92\x65\xa2\x60\xf7\xf9\xb9\xb6\xc2\x25\x00\x00\xa8\x1d\x1c\x15\x50\x1a\xc1\xf7\x2f\x42\xfd\xf1\xbb\x65\x2e\x4b\x8f\x43\xb0\x13\x46\xf0\xa4\x24\x89\xa3\xe5\x48\xb1\x48\x24\xe5\x8a\x32\xe1\xf4\xab\x97\xf2\xb4\x17\x8c\xb8\xd3\x2b\xb3\x8a\x71\x45\x58\x44\xf0\xd3\xfa\x86\xf0\xb1\xf1\x54\xbf\x2c\x38\xbe\x2b\x94\x82\xf1\xef\x8f\x5f\x9d\xe9\x92\x8c\x73\x4c\xea\x5e\xbe\x95\x7b\x4e\xc9\x37\xa6\x5e\x22\xd0\xff\x3d\xe0\x27\x95\x49\x76\xc4\x16\x6d\x2c\x7c\xb9\x65\x76\xa6\x14\xe5\x2d\xbb\xa4\x33\x53\x93\xf8\xa6\xfe\xa2\x86\xbf\x92\x78\xc5\xf4\xb9\xca\xdd\x9b\x3d\xee\x61\x71\xc0\xce\x77\x80\x1a\xf2\x69\xe6\x28\x35\xf2\x61\xf1\x39\x3c\xfd\x5b\x32\x89\x5f\x4e\xec\x38\x57\xfd\x6f\x26\x04\xca\x25\xc8\xa7\x2c\x21\xc6\x8b\x08\x2e\x2d\xac\x83\x5f\x6d\xe2\x49\x46\xaa\x88\xc0\xa6\xd5\x73\x63\x0d\x1a\x24\x09\x52\x9b\xe6\x5f\xb3\xea\x89\x7f\xd7\xdb\xcc\x71\xd0\x56\x73\x16\xb4\xd5\x31\x08\xda\x39\x9a\x02\xed\x9a\x1f\x01\x8d\x75\xf0\x5f\x3b\xe7\xc8\xef\x42\xfa\x98\xef\xcc\xea\xa3\xbd\xbf\x85\xf9\x26\xc7\xfc\x9d\x2a\xbd\x0c\xbd\x73\x9e\xcf\x24\xcf\x5d\x30\x07\xc9\x9d\x5b\x38\x66\xb8\x0b\xe6\xa0\xb7\x33\x9b\x8f\xdb\x06\x97\xa6\x88\x5d\x03\xb6\xb7\xbb\xbe\xfe\x15\xc8\x0f\x21\xa5\x10\x03\xa5\xb6\xb1\xe6\x36\xc4\x0d\xc5\x6d\x47\x4d\x6f\x88\x1b\x96\xdb\x0e\x83\xe1\x10\x9b\x7c\xb7\x61\x3d\xd7\x21\xd6\xbc\xb7\x21\x3d\xe7\x21\xd6\xfc\xb7\x21\x06\xd5\x21\x36\x89\x6f\xc3\x5c\xa4\x87\xd8\x39\x0b\xbe\x40\x83\xf6\x56\xe4\xf0\x21\x70\xd5\x34\x46\xc2\xae\x6a\x38\xa6\x1b\x76\x34\x3b\x1d\xa0\x67\xc0\x11\xaa\x9d\x73\x2d\xfb\xd2\x8c\xdc\xbe\x44\xbb\x96\x26\xb6\xc1\x07\xfe\x64\x51\xc7\x69\xf7\x85\x3e\x58\x44\x70\xda\xbd\x27\xab\x47\xd3\x3e\x59\x6d\xf7\x85\x1a\xe3\x6a\x85\x1a\x76\x6f\xd5\x76\x84\xed\x8a\xad\x6d\x30\x28\xcd\xc8\xd6\x53\xa2\x67\xf7\x1a\x5c\x5b\xf5\x76\x28\x05\x9c\x18\x89\x0d\x4b\x53\x89\x45\x11\xc1\xc7\xf6\xcf\x9d\xf1\x52\x6d\xa3\x81\xbc\xab\x1f\x3e\x96\x24\x59\x29\x14\xc4\x70\x44\xf5\xb1\x5d\x74\x59\xb6\x41\x0f\xd3\xcd\x41\xdc\xc5\xf4\xfd\x85\x47\x54\xf7\x2c\x67\x7b\xe2\xa4\xaa\x8d\x96\x9c\xe1\xbd\x63\xb2\xb6\x3a\x6e\x9f\x49\x99\xbd\xfd\xf9\xdb\x65\xf0\x94\x61\x91\xf1\x33\x4a\x1d\x7d\xfd\x6b\xa3\xc3\x3e\x7c\x80\x9c\x09\x4a\x36\xeb\xfb\xac\xe4\x29\x88\x4c\x41\x9b\x09\x18\x48\x3c\xa0\x44\x91\x20\xa8\x0c\xd4\x0b\x1a\x9d\xaf\x8d\xef\x39\x13\xbe\x75\x65\xac\xbd\xbf\xf5\xf4\xc3\xf0\x6f\xea\x2d\xa4\x74\xbb\xd2\xe1\xe2\xa0\x9a\x7d\x8c\x07\xf7\xea\x11\xd5\x6d\x8b\x6f\x41\x77\x76\xa5\xc8\x5a\x3a\xf7\xd7\x7b\xa7\x43\x0c\x97\x56\xb4\x1c\x32\x09\xaf\x58\x01\x89\xae\x11\x73\x78\xa8\xc8\x39\xab\x56\x61\xd1\x26\x0a\x5f\xb1\x2a\x8c\x3b\x7e\x54\xe9\xe7\x2b\x56\xbf\xea\x2b\x7c\x36\x55\x83\x5c\x85\xa5\xe4\x37\xf6\xb5\xfd\x4b\x54\xa5\x14\x1d\xb7\x6c\x8d\xd4\x25\xa5\x74\xa8\x93\x3a\x4f\xbd\x1a\xaa\xa5\xce\x97\x76\x0d\xd4\x66\x8f\x78\x1a\x61\x0d\xaf\x53\x52\x8d\x02\x7a\x5f\x58\x4a\xda\x6c\x9d\x62\xab\x0b\xea\x4d\xab\xfa\xac\x1f\xbb\x95\x19\x65\xc9\xae\x2e\xce\x30\x36\x1b\x38\x27\xc4\x1c\x87\xc1\x14\x5b\x85\xf9\x72\x81\xe6\x4b\x51\xfc\x1f\xe1\xe6\xed\xc3\x40\x4d\x29\xba\xe9\xef\xd0\x03\x1e\x52\x8a\x42\xd1\x81\x50\x2e\x93\x7f\xd3\x89\x35\x72\x2e\xb1\x43\x2b\xce\x7d\xf3\xe2\xe4\x3b\x8b\xcc\x8e\xb9\xb2\x69\xed\xd1\x9c\x13\xf1\x4e\xaa\x7b\x34\xe9\x44\x1a\x83\x9c\x3e\x6e\x5a\xba\x75\xea\xa6\xd0\xb8\xf0\x40\x1c\x87\x23\xe5\x91\xb8\x13\x19\xf7\x1a\x37\x93\xb1\xbf\x39\x47\xa6\xb1\x1c\xee\x0a\xb6\xeb\x55\x0b\xd8\x06\xd7\xe0\xbf\x00\x00\x00\xff\xff\xea\x8b\x58\x02\x38\x11\x00\x00" func scriptsGet_nft_viewCdcBytes() ([]byte, error) { return bindataRead( @@ -203,11 +203,11 @@ func scriptsGet_nft_viewCdc() (*asset, error) { } info := bindataFileInfo{name: "scripts/get_nft_view.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x55, 0x51, 0xfe, 0xbb, 0xc, 0x3d, 0xb5, 0xe, 0xc, 0x7e, 0x46, 0x6e, 0xba, 0x3a, 0xbd, 0x93, 0xa9, 0x9a, 0x72, 0x8a, 0x3f, 0xfb, 0xa1, 0x4c, 0xb, 0x93, 0xed, 0x31, 0xb6, 0x1b, 0x1e, 0x4b}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xec, 0x7d, 0x1a, 0xcf, 0x20, 0x2f, 0x7f, 0x72, 0xf6, 0x79, 0xd5, 0xc8, 0x48, 0x8, 0xa0, 0xbd, 0xfa, 0xe0, 0x6f, 0x2a, 0xdd, 0x85, 0xbd, 0xaf, 0xee, 0xfa, 0xc4, 0xe, 0x20, 0x32, 0xcb, 0xec}} return a, nil } -var _scriptsGet_total_supplyCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xca\xcc\x2d\xc8\x2f\x2a\x51\x70\xad\x48\xcc\x2d\xc8\x49\xf5\x73\x0b\x51\x48\x2b\xca\xcf\x55\x50\x42\x08\x28\x71\x71\x15\x94\x26\x29\xa4\x95\xe6\x29\xe4\x26\x66\xe6\x69\x68\x5a\x29\x84\x7a\xe6\x95\x98\x99\x28\x54\x73\x29\x28\x28\x28\x14\xa5\x96\x94\x16\xe5\x21\x99\xa0\x57\x92\x5f\x92\x98\x13\x5c\x5a\x50\x90\x53\xc9\x55\xcb\x05\x08\x00\x00\xff\xff\xb3\x36\x44\x68\x62\x00\x00\x00" +var _scriptsGet_total_supplyCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xca\xcc\x2d\xc8\x2f\x2a\x51\x50\x72\xad\x48\xcc\x2d\xc8\x49\xf5\x73\x0b\x51\xe2\xe2\x2a\x28\x4d\x52\x48\x2b\xcd\x53\xc8\x4d\xcc\xcc\xd3\xd0\xb4\x52\x08\xf5\xcc\x2b\x31\x33\x51\xa8\xe6\x52\x50\x50\x50\x28\x4a\x2d\x29\x2d\xca\x53\x40\x68\xd0\x2b\xc9\x2f\x49\xcc\x09\x2e\x2d\x28\xc8\xa9\xe4\xaa\xe5\x02\x04\x00\x00\xff\xff\xfa\x63\x9a\x5b\x52\x00\x00\x00" func scriptsGet_total_supplyCdcBytes() ([]byte, error) { return bindataRead( @@ -223,7 +223,7 @@ func scriptsGet_total_supplyCdc() (*asset, error) { } info := bindataFileInfo{name: "scripts/get_total_supply.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x98, 0xf7, 0xfd, 0x89, 0x44, 0x74, 0x88, 0x5b, 0x29, 0xd8, 0x20, 0xeb, 0x11, 0xe0, 0x17, 0xe7, 0xfc, 0x31, 0xdb, 0x36, 0x7c, 0x7a, 0xc8, 0x3e, 0x28, 0xb2, 0x81, 0xb0, 0xec, 0x29, 0xfb, 0x26}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x31, 0x3, 0x72, 0x86, 0x9, 0xe, 0x24, 0x19, 0x7a, 0xa4, 0x3e, 0x8d, 0x3, 0xad, 0xd9, 0x2e, 0xf, 0x59, 0x2e, 0xdd, 0xa9, 0xb7, 0x25, 0xa0, 0x36, 0x82, 0x1a, 0x39, 0x27, 0xc4, 0x40, 0x8}} return a, nil } @@ -327,7 +327,7 @@ func transactionsDestroy_nftCdc() (*asset, error) { return a, nil } -var _transactionsMint_nftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x56\x5d\x4f\xe3\x3a\x13\xbe\xcf\xaf\x98\xed\x05\x9b\x6a\x51\xfb\x22\xad\xf6\x22\xda\xb2\xe2\xe3\x45\xe2\x02\x84\xa0\x7b\x6e\x10\x17\x8e\x33\x4d\x7c\x70\xed\x1c\x7b\x52\xa8\x10\xff\xfd\xc8\xb1\xf3\xe1\x92\x45\xc7\x17\x90\xda\xcf\x8c\x3d\xcf\x3c\x33\xf6\x72\xb9\x84\x75\x25\x2c\x58\x6e\x44\x4d\xd0\x58\xb4\x40\x15\xc2\xed\xd5\xfa\x46\x28\x42\x03\x06\xad\x6e\x0c\x47\x20\x0d\x5b\xa1\x08\x18\x28\x7c\x71\x80\xc4\x59\x5f\x13\x6c\x1b\x4b\x90\x23\x98\x46\xc1\x8b\xa0\xaa\x75\xc0\x38\xd7\x8d\x22\xa0\x8a\x11\x54\xcc\x7b\xdd\xc6\x2e\x5b\x07\x96\xb4\xc1\x02\x84\x82\xa5\xfb\x64\x25\x2e\xfb\xcd\x93\x44\x6c\x6b\x6d\x08\x6e\xb5\xba\x6a\x54\x29\x72\x89\x6b\xfd\x8c\x0a\x36\x46\x6f\x61\x76\x38\x3d\xeb\xf0\xff\x7f\x65\xdb\x5a\xe2\xed\xd5\x3a\x20\x87\x89\x1e\x73\x83\xc4\x0a\x46\xec\x2f\x81\x2f\x36\xc0\xa2\xb9\x1e\x39\xb5\xf5\xc1\xbe\x09\x19\xa6\x2c\xe3\x24\xb4\x4a\x13\x00\x00\x83\x5c\xd4\x02\x15\x65\x70\x56\x14\x06\xad\x3d\x6e\xe7\x15\xdb\x62\x06\x0f\x64\x84\x2a\xfd\x4c\x81\x9e\x7d\xa1\x55\xbc\x40\x55\xb3\xcd\x15\x13\x32\x9e\xe6\x0d\xd9\x0c\x1e\x7f\x5f\x89\xd7\x1f\xdf\x9f\xfc\x9c\xd1\x7b\x26\x69\x7f\x39\xb8\x72\x10\x6f\x15\x43\xce\x51\xe1\x46\x70\xc1\x8c\x40\x87\x09\x87\x7b\x4a\xe6\xf0\x96\xb4\x40\x97\x15\xa9\x39\x93\xb0\x63\x46\xb0\x5c\x22\x6c\xb4\x69\x13\x25\x54\x19\x27\x72\x83\x06\x15\xc7\xd6\x4e\x22\x85\x85\x0c\x8e\x06\xc2\x17\xa3\x74\x76\xee\xef\x3b\x43\xa7\x2a\xe7\xd0\x20\x47\xb1\x43\xf3\xd5\x02\xd7\x52\x62\x4b\x64\xef\xb5\xe7\xf2\xa2\x5f\xbb\xc7\x4d\x06\x47\x6f\x87\x0a\x58\x0c\x88\xbb\x26\x97\x82\xbf\x0f\x9b\xde\x19\xdc\x09\xdd\x58\xa7\x5d\xb8\xbe\x84\x1c\x37\xda\x60\xbb\xfd\x28\x7b\x80\xaf\xc8\x1b\x42\x1b\xc5\x24\x54\x79\x7d\x79\xde\x1a\x64\xf0\xfb\x5a\xd1\x8f\xef\xde\x71\x6d\xb0\x66\x06\x53\x2b\x4a\xe5\x02\x3f\x6b\xa8\x3a\xf3\xda\x77\x84\x42\x18\x16\xe5\x66\x71\xe0\x08\x56\x23\x9d\x2e\x48\x13\x93\x0f\x4d\x5d\xcb\x7d\xd2\x9b\x2d\x97\x90\x6b\x63\xf4\x0b\xb0\x81\xec\x8e\xb3\x89\x1a\x15\x0a\x42\x11\x7d\xdc\x19\x0d\xac\xc0\x1f\x73\xe1\x9d\xfe\x9c\xcc\xd2\x69\xea\x14\x9e\x8d\xcf\xe6\x17\x1e\xbc\xe7\x3b\x46\xd5\xbc\x77\xef\xc6\xaf\x5f\x50\x33\x25\x78\x3a\x0b\x91\x43\xa1\xd1\x82\xd2\xe4\xab\x1b\x98\x02\x9d\xff\x8d\x9c\x80\x51\x7b\x74\x5b\x23\x17\x1b\x81\x05\xd4\x8c\xaa\xd9\x3c\x8a\xf8\xdc\x47\x1c\x64\xe1\x13\xff\xd5\x42\xdd\xe6\xb3\x4d\xde\x20\x91\x03\x09\xf6\x01\x4f\x2b\x06\x56\x50\x22\x85\x43\xa6\x3d\x26\x8e\x66\x51\x22\x5d\xb0\x9a\xe5\x42\x0a\xda\xa7\x23\x1a\x0e\xb5\xf5\x91\x89\x9e\xd8\xff\x20\xcc\xd3\xf4\x4f\x2c\x5e\xe8\x46\x16\x2d\x7d\xa5\x17\x7f\x5b\x1a\x93\x02\x80\xc1\xed\xcc\xbb\x7b\xef\x75\x39\x92\x9f\x6b\x19\x0b\x89\xaa\xa4\x0a\x56\xab\xa9\x6e\xd1\xad\x1e\x1d\xfd\x01\x1c\xf5\x8d\xb0\x9c\xc1\xec\xcc\x18\xb6\x87\x80\xb6\x55\x7b\xf2\x1c\x01\xff\x69\x98\x6c\xdb\x46\x30\x07\x83\x92\x11\x16\x50\x20\x31\x21\xed\x6c\x7c\xd8\x50\x72\x5d\x03\x0a\x3a\xb8\x30\xc8\xc8\xd7\x67\xe7\x24\x18\xf7\xa8\x1d\x33\xe0\x15\xb7\x82\xff\x45\xb3\xde\xc2\xb7\xb8\xa8\xab\x2f\xee\xbd\xaf\x27\x58\xc1\xe3\x53\x6f\xf3\x52\x09\x89\x9f\xc5\x0a\xa7\x61\xa7\xb7\x28\x6b\xae\x41\xe4\x3d\x7c\x0f\xd3\x7c\x3d\xb6\xa6\x4f\x9f\x59\x0e\x92\x8b\x55\x3a\x82\x7c\xa6\xd3\x9f\x47\x6f\xb1\xde\xee\x83\x6c\xde\x4f\xd3\x38\xfe\x12\x29\x50\xd0\x41\x06\x35\xa7\xf3\x51\x29\x86\x34\xdc\xb0\x67\x04\xdb\x98\x38\x13\x7c\x38\xae\xb0\xb0\x63\x52\x14\x5d\x43\x0d\x6d\xae\x93\x68\xe4\x4f\x6c\xe0\xcb\x64\xd0\x0b\x5e\x21\x7f\x4e\xe7\xf0\xd6\x55\xc1\xf9\x88\xd5\x78\x37\x57\x19\xed\x8e\x5f\x66\xf3\x4e\x42\xdd\xe8\xf3\xbe\x60\x75\x8d\xaa\x48\xa3\x55\x37\x26\xd5\xf0\x11\x06\xfe\x0e\x6f\x09\xca\xa6\x13\x75\x3c\x69\xc4\x1b\xca\xda\x1a\x0a\x49\x9f\x46\x45\x97\xfe\x44\x3d\x4e\x29\xc6\x8d\x58\x03\xf1\xaf\xae\x12\xfc\xff\x6f\x70\xd2\xaf\xbe\x27\x49\x54\x5a\xae\xa1\xf7\x2d\x84\x29\x57\x95\xb5\xb6\x82\x40\xd0\xe8\x46\xee\x5b\xef\xc1\x95\x0c\xf1\xb5\xd2\xfe\xbb\xbd\x5a\xc7\x1c\x8e\xde\x3f\x9f\x74\xe4\x98\x1c\xff\x36\x72\x7f\xe3\xf9\x88\xac\xd1\x8f\x18\x35\x7a\x2e\xf5\x9f\xc7\xd3\xe2\xc8\x86\xcf\x24\xe6\xb2\x6b\x9f\xda\xd2\xe1\xf5\x3d\x1d\x81\xab\xa7\xeb\x4b\x9b\xce\x17\x5c\x2b\x62\x42\xd9\x74\xea\xb2\x9f\x67\x30\x5b\x57\x08\x0a\x5f\xa9\x7b\x80\x84\x76\x59\xb1\x1d\x42\x8e\xa8\xfc\xeb\xa9\x08\x09\x91\x4e\x79\x58\xcc\xfa\x43\x4c\x3f\x16\x5c\x8b\x9e\x7c\x5d\x7c\x83\x93\xb0\x67\x8b\x06\xeb\xe1\x1f\x36\x15\x8a\x1b\x64\x16\x0b\xc8\xf7\x70\xd2\xf5\xe5\xf7\xe4\xdf\x00\x00\x00\xff\xff\xb3\x66\xcd\x4c\x1c\x0c\x00\x00" +var _transactionsMint_nftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x56\x5d\x4f\xe3\x3a\x13\xbe\xcf\xaf\x98\xed\x05\x9b\x6a\x51\xfb\x22\xad\xf6\x22\xda\xb2\xe2\xe3\x45\xe2\x02\x84\xa0\x7b\x6e\x10\x17\x8e\x33\x4d\x7c\x70\xed\x1c\x7b\x52\xa8\x10\xff\xfd\xc8\xb1\xf3\xe1\x92\x45\xc7\x17\x90\xda\x33\x8f\x3d\xcf\x3c\x33\xf6\x72\xb9\x84\x75\x25\x2c\x58\x6e\x44\x4d\xd0\x58\xb4\x40\x15\xc2\xed\xd5\xfa\x46\x28\x42\x03\x06\xad\x6e\x0c\x47\x20\x0d\x5b\xa1\x08\x18\x28\x7c\x71\x06\x89\xf3\xbe\x26\xd8\x36\x96\x20\x47\x30\x8d\x82\x17\x41\x55\x0b\xc0\x38\xd7\x8d\x22\xa0\x8a\x11\x54\xcc\xa3\x6e\x63\xc8\x16\xc0\x92\x36\x58\x80\x50\xb0\x74\x9f\xac\xc4\x65\xbf\x79\x92\x88\x6d\xad\x0d\xc1\xec\x56\xab\xab\x46\x95\x22\x97\xb8\xd6\xcf\xa8\x66\xfd\xca\xff\x5f\xd9\xb6\x96\x78\x7b\xb5\x1e\xe6\x6e\x90\x58\xc1\x88\xfd\x25\xf0\xc5\x0e\xd3\x07\x08\x09\x19\xa6\x2c\xe3\x24\xb4\x4a\x13\x00\x00\x83\x5c\xd4\x02\x15\x65\x70\x56\x14\x06\xad\x3d\x6e\xe7\x15\xdb\x62\x06\x0f\x64\x84\x2a\xfd\x4c\x81\x9e\x31\xa1\x55\xbc\x40\x55\xb3\xcd\x15\x13\x32\x9e\xe6\x0d\xd9\x0c\x1e\x7f\x5f\x89\xd7\x1f\xdf\x9f\xfc\x9c\xd1\x7b\x26\x69\x7f\x39\x40\x39\x13\xef\x15\x9b\x9c\xa3\xc2\x8d\xe0\x82\x19\x81\xce\x26\x1c\xee\x29\x99\xc3\x5b\xd2\x1a\x3a\x26\xa5\xe6\x4c\xc2\x8e\x19\xc1\x72\x89\xb0\xd1\xa6\x25\x57\xa8\x32\x26\x7f\x83\x06\x15\xc7\xd6\x4f\x22\x85\x85\x0c\x8e\x06\x2a\x17\xa3\x14\x74\xf0\xf7\x9d\xa3\x53\x82\x03\x34\xc8\x51\xec\xd0\x7c\xb5\xc0\xb5\x94\xd8\x12\xd9\xa3\xf6\x5c\x5e\xf4\x6b\xf7\xb8\xc9\xe0\xe8\xed\x30\x97\x8b\xc1\xe2\xae\xc9\xa5\xe0\xef\xc3\xa6\x77\x06\x77\x42\x37\xd6\xe9\x0d\xae\x2f\x21\xc7\x8d\x36\xd8\x6e\x3f\xca\x1e\xe0\x2b\xf2\x86\xd0\x46\x31\x09\x55\x5e\x5f\x9e\xb7\x0e\x19\xfc\xbe\x56\xf4\xe3\xbb\x07\xae\x0d\xd6\xcc\x60\x6a\x45\xa9\x5c\xe0\x67\x0d\x55\x67\x5e\xaf\x8e\x50\x08\xc3\xa2\xdc\x2c\x0e\x80\x60\x05\x23\x96\x48\x13\x93\x0f\x4d\x5d\xcb\x7d\xd2\xbb\x2d\x97\x90\x6b\x63\xf4\x0b\xb0\x81\xec\x8e\xb3\x89\xba\x12\x0a\x82\xf0\x3f\xee\x8c\x06\x56\xe0\x8f\xb9\xf0\xa0\x3f\x27\xb3\x74\x9a\x6e\x8c\xde\x66\xe3\xb3\xf9\x85\x07\x8f\x7c\xc7\xa8\x9a\xf7\xf0\x6e\xfc\xfa\x05\x35\x53\x82\xa7\xb3\x10\x39\x14\x1a\x2d\x28\x4d\xbe\x22\x81\x29\xd0\xf9\xdf\xc8\x09\x18\xb5\x47\xb7\x35\x72\xb1\x11\x58\x40\xcd\xa8\x9a\xcd\xa3\x88\xcf\x7d\xc4\x41\x16\x3e\xf1\x5f\x2d\xd4\x6d\x3e\xdb\xe4\x0d\x12\x39\x90\x60\x1f\xf0\xb4\x62\x60\x05\x25\x52\x38\x64\xda\xdb\xc4\xd1\x2c\x4a\xa4\x0b\x56\xb3\x5c\x48\x41\xfb\x74\x44\xc3\xa1\xb6\x3e\x32\xd1\x13\xfb\x1f\x84\x79\x9a\xfe\x89\xc5\x0b\xdd\xc8\xa2\xa5\xaf\xf4\xe2\x6f\x4b\x63\x52\x00\x30\xc0\xce\x3c\xdc\x7b\xaf\xcb\x91\xfc\x5c\xcb\x58\x48\x54\x25\x55\xb0\x5a\x4d\x75\x8b\x6e\xf5\xe8\xe8\x0f\xc6\x51\xdf\x08\xcb\x19\xcc\xce\x8c\x61\x7b\x08\xd6\xb6\x6a\x4f\x9e\x23\xe0\x3f\x0d\x93\x6d\xdb\x08\xee\x60\x50\x32\xc2\x02\x0a\x24\x26\xa4\x9d\x8d\x0f\x1b\x4a\xae\x6b\x40\x41\x07\x17\x06\x19\xf9\xfa\xec\x40\x82\x73\x6f\xb5\x63\x06\xbc\xe2\x56\xf0\xbf\x68\xd6\x7b\xf8\x16\x17\xb5\xf0\xc5\xbd\xc7\x7a\x82\x15\x3c\x3e\xf5\x3e\x2f\x95\x90\xf8\x59\xac\x70\x1a\x76\x7a\x8b\xb2\xe6\x1a\x44\xde\x9b\xef\x61\x9a\xaf\xc7\xd6\xf5\xe9\x33\xcf\x41\x72\xb1\x4a\x47\x26\x9f\xe9\xf4\xe7\xd1\x5b\xac\xb7\xfb\x20\x9b\xf7\xd3\x34\x8e\xbf\x44\x0a\x14\x74\x26\x83\x9a\xd3\xf9\xa8\x14\x43\x1a\x6e\xd8\x33\x82\x6d\x4c\x9c\x09\x3e\x1c\x57\x58\xd8\x31\x29\x8a\xae\xa1\x86\x36\xd7\x49\x34\xc2\x13\x1b\xf8\x32\x19\xf4\x82\x57\xc8\x9f\xd3\x39\xbc\x75\x55\x70\x3e\x62\x35\xde\xcd\x55\x46\xbb\xe3\x97\xd9\xbc\x93\x50\x37\xfa\xbc\x2f\x58\x5d\xa3\x2a\xd2\x68\xd5\x8d\x49\x35\x7c\x34\x03\x7f\x87\xb7\x04\x65\xd3\x89\x3a\x9e\x74\xe2\x0d\x65\x6d\x0d\x85\xa4\x4f\x5b\x45\x97\xfe\x44\x3d\x4e\x29\xc6\x8d\x58\x03\xf1\xaf\xae\x12\xfc\xff\x6f\x70\xd2\xaf\xbe\x27\x49\x54\x5a\xae\xa1\xf7\x2d\x84\x29\x57\x95\xb5\xb6\x82\x40\xd0\xe8\x46\xee\x5b\xef\xc1\x95\x0c\xf1\xb5\xd2\xfe\xbb\xbd\x5a\xc7\x1c\x8e\xde\x3f\x9f\x74\xe4\x98\x1c\xff\x36\x72\x7f\xe3\xf9\x88\xac\xd1\x8f\xd8\x6a\xf4\x5c\xea\x3f\x8f\xa7\xc5\x91\x0d\x9f\x49\xcc\x65\xd7\x3e\xb5\xa5\xc3\xeb\x7b\x3a\x02\x57\x4f\xd7\x97\x36\x9d\x2f\xb8\x56\xc4\x84\xb2\xe9\xd4\x65\x3f\xcf\x60\xb6\xae\x10\x14\xbe\x52\xf7\x00\x09\xed\xb2\x62\x3b\x84\x1c\x51\xf9\xd7\x53\x11\x12\x22\x9d\xf2\xb0\x98\xf5\x87\x98\x7e\x2c\xb8\x16\x3d\xf9\xba\xf8\x06\x27\x61\xcf\xd6\x1a\xac\x37\xff\xb0\xa9\x50\xdc\x20\xb3\x58\x40\xbe\x87\x93\xae\x2f\xbf\x27\xff\x06\x00\x00\xff\xff\xe5\xfa\xca\xf9\xd0\x0b\x00\x00" func transactionsMint_nftCdcBytes() ([]byte, error) { return bindataRead( @@ -343,11 +343,11 @@ func transactionsMint_nftCdc() (*asset, error) { } info := bindataFileInfo{name: "transactions/mint_nft.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xbb, 0xef, 0x47, 0xa, 0xcd, 0x82, 0xc6, 0x23, 0xe3, 0x2, 0x5e, 0x7a, 0x63, 0x9, 0x4e, 0x27, 0xbe, 0xde, 0xe2, 0xa7, 0xdb, 0x24, 0xda, 0x2c, 0xae, 0x1f, 0x14, 0xdb, 0xd, 0x6a, 0xcd, 0x71}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd0, 0x55, 0x94, 0xc1, 0x2b, 0x71, 0x34, 0x83, 0x77, 0xba, 0x5c, 0x3d, 0x88, 0x6d, 0x36, 0xe9, 0x93, 0x85, 0xd7, 0xb9, 0x33, 0x75, 0x8c, 0x7d, 0x1c, 0xf2, 0xde, 0xf8, 0x64, 0xbb, 0xb1, 0x86}} return a, nil } -var _transactionsSetup_accountCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x92\x4f\x6f\xda\x40\x10\xc5\xef\xfb\x29\x5e\x39\x44\x46\x22\xf8\x1e\xd1\x48\x51\x14\x6e\x45\x51\x8a\x7a\x1f\xcc\x18\xaf\xb2\xec\x5a\xb3\x63\x5c\x84\xf8\xee\x95\x0d\xf1\x1f\x8a\xd4\xee\xc9\x1a\xff\x66\xdf\x7b\xb3\x93\xa6\x29\xd6\x85\x8d\x50\x21\x1f\x29\x53\x1b\x3c\x6c\x44\x5d\x90\x82\x3c\x28\xcb\x42\xe5\x15\x75\xa8\xdc\x16\x52\x79\xd3\x74\x68\x40\x64\x85\xd5\xc8\x2e\x47\x55\x36\x05\xe1\x8c\xed\x81\xb1\x5a\xae\xa3\x31\x76\x5f\x06\x51\xac\x82\x5f\x56\x7e\x67\x37\x8e\xd7\xe1\x93\x3d\x72\x09\x7b\x4c\x6e\xcb\x93\x2f\xfe\xed\x37\xed\x4b\xc7\xab\xe5\xfa\x4a\xf6\x85\x8e\xf9\xc1\x4a\x5b\x52\xfa\x65\xb9\x8e\x57\x6c\x54\x9b\x18\x33\x4c\x73\x32\x06\x00\x4a\xe1\x92\x84\x93\x68\x77\x9e\xe5\x09\x2f\x95\x16\x2f\x97\x74\x53\x9c\x5a\xa4\x39\x69\x8a\x0f\xd6\x4a\x3c\x98\xc4\x1d\x61\x73\x68\xc1\xdd\x1c\xc8\x09\xd3\xf6\x88\x82\x22\x08\x59\x70\x8e\x5b\x95\xae\xdf\xe6\xb8\x28\xcc\x37\x41\x24\xd4\x8b\x87\x3e\xc2\xfc\xb5\xe3\x9f\x93\xc6\xf8\x13\xee\xfe\xfc\xa9\x41\x68\xc7\xef\xa4\xc5\x14\xdf\xbe\xc3\x5b\x37\x70\xd8\x1c\x69\x2d\x76\xa5\xb3\x19\xfa\x7f\x15\x26\x65\x10\x3c\xd7\xe0\x7d\xa9\xc7\x7b\x46\x1d\xeb\xa0\x8c\xc5\xe3\xd0\x4b\xd6\x5e\xf1\xd6\xf4\xf6\xb6\x92\xe9\x48\x26\xd2\x81\x61\xb5\x79\xfb\xc1\x84\x3a\xe2\x3a\x85\x86\x4a\x16\x8f\xbd\xd2\x0c\x1a\xfe\x23\xf7\x48\x2a\xfb\x4a\x54\x56\x1b\x67\x33\x64\x54\xd2\xc6\x3a\xab\x47\xe4\x41\x5a\xf9\x3b\x09\xaf\x0e\x9c\xf5\x9f\x8b\x87\xd3\xed\xce\x0d\x74\xdf\xdb\x5b\x67\x43\x53\xfd\xe7\xdf\xd8\x68\xd9\xe6\x1f\x1c\x83\x3b\xb0\xf4\xdc\xf9\x39\x19\x3d\xd6\xdd\xac\x97\xcb\x9a\xa8\xb3\x11\xac\x24\x3b\xd6\x7f\x0f\xa8\x6b\x9a\x9a\xcb\x06\x9c\xcd\x9f\x00\x00\x00\xff\xff\xd7\x1d\xe6\xeb\xcc\x03\x00\x00" +var _transactionsSetup_accountCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x92\x4f\x6b\xdb\x40\x10\xc5\xef\xfb\x29\x5e\x73\x08\x32\x38\xd6\x3d\xb8\x81\x10\xe2\x5b\x4d\x48\x4d\xef\xe3\xf5\xc8\x5a\xb2\xde\x15\xb3\x23\xab\xc6\xf8\xbb\x17\xc9\xa9\xfe\xb4\x86\x56\x27\x31\xfb\x66\xdf\xef\xcd\x4e\x9e\xe7\xd8\x94\x2e\x41\x85\x42\x22\xab\x2e\x06\xb8\x84\xa6\x24\x05\x05\x90\xb5\xb1\x0e\x8a\x26\xd6\x7e\x07\xa9\x83\x69\x3b\x34\x22\xb1\xc2\x69\x62\x5f\xa0\xae\xda\x82\xb0\x65\x77\x64\xac\x57\x9b\x64\x8c\x3b\x54\x51\x14\x77\xeb\x18\x56\x75\xd8\xbb\xad\xe7\x4d\xfc\xe0\x70\xd7\x9f\xbc\xfe\xa4\x43\xe5\x79\xbd\xda\x0c\xb5\x6f\xac\xb4\x23\xa5\x1f\x8e\x9b\x74\x67\xcc\x18\xea\x6c\x0c\x00\x54\xc2\x15\x09\x67\xc9\xed\x03\xcb\x23\x9e\x6b\x2d\x9f\xaf\x90\x33\x9c\x3b\x49\xfb\xe5\x39\xde\x59\x6b\x09\x60\x12\x7f\x82\x2b\xa0\x25\xf7\x71\xc8\x0b\xd3\xee\x84\x92\x12\x08\x36\x7a\xcf\x9d\x4b\xdf\xef\x0a\x5c\x1d\x16\xdb\x28\x12\x9b\xe5\xfd\xc0\xbb\x78\xe9\xf5\x4f\x59\x21\xf1\xf0\x88\x9b\x87\xdf\x35\x0a\xed\xf9\x8d\xb4\x9c\xe1\xcb\x57\x04\xe7\x47\x84\xed\x27\x1d\x62\x5f\xba\x98\x31\xff\x8b\x30\x29\x83\x10\xb8\x01\x1f\x2a\x3d\xdd\x02\xf5\xac\xa3\x32\x96\x0f\x63\x16\xdb\x5d\xf1\xda\xf6\x0e\x58\xd9\x6c\x62\x93\xe8\xc8\x70\xda\x3e\xe1\x68\x42\xbd\xe2\x73\x0a\xad\x2a\x5b\x3e\x0c\x4e\x73\x68\xfc\x8f\xdc\x13\x2b\xfb\x3b\x51\x55\x6f\xbd\xb3\xb0\x54\xd1\xd6\x79\xa7\x27\x14\x51\x3a\xfb\x1b\x09\x3f\x09\xbc\x0b\x1f\xcb\xfb\xf3\x9f\x0b\x35\xf2\x7d\xeb\x6e\x9d\x8f\xa1\x86\xdf\xbf\x65\x93\x65\x5b\xbc\x73\x8a\xfe\xc8\x32\xe8\x2e\x4f\xd9\xe4\xb1\x6e\x66\xbd\x5e\xd6\x46\x9d\x4f\xc4\x4a\xb2\x67\xfd\xf7\x80\xfa\xa6\x99\xb9\x6e\xc0\xc5\xfc\x0a\x00\x00\xff\xff\x15\x9f\x75\xe0\x93\x03\x00\x00" func transactionsSetup_accountCdcBytes() ([]byte, error) { return bindataRead( @@ -363,7 +363,7 @@ func transactionsSetup_accountCdc() (*asset, error) { } info := bindataFileInfo{name: "transactions/setup_account.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x25, 0x3e, 0x4f, 0x7d, 0x5c, 0x82, 0x45, 0x6, 0x3c, 0x3, 0x47, 0x94, 0x43, 0x35, 0x60, 0x13, 0x4, 0xc7, 0x69, 0xff, 0x4e, 0x88, 0x30, 0xaf, 0x86, 0xbd, 0x48, 0x84, 0xad, 0x3a, 0x2, 0xd0}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe, 0x55, 0xa0, 0x10, 0x54, 0x16, 0x84, 0x73, 0xc5, 0xc3, 0xa, 0x8d, 0x14, 0xd4, 0xd, 0x84, 0x93, 0xaa, 0xe9, 0x36, 0x8c, 0x25, 0x52, 0xf7, 0x32, 0x9a, 0x59, 0x26, 0x89, 0x84, 0x9, 0x48}} return a, nil } @@ -387,7 +387,7 @@ func transactionsSetup_account_from_nft_referenceCdc() (*asset, error) { return a, nil } -var _transactionsSetup_account_to_receive_royaltyCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x53\x5f\x6b\xe3\x3e\x10\x7c\xf7\xa7\xd8\xe6\xa1\x4d\x20\x24\xef\xa5\x2d\xb4\xfd\x51\xf8\xc1\x95\x2b\x6d\xaf\xf7\x9a\x8d\xbc\xb6\x97\x28\x92\x91\xd6\x49\x4d\xc8\x77\x3f\x24\xff\x89\x75\x5c\xde\x62\x8d\x66\x67\x67\x46\xeb\xf5\x1a\x3e\x2b\xf6\x20\x0e\x8d\x47\x25\x6c\x0d\xb0\x07\x04\xa1\x7d\xad\x51\x08\x0a\xeb\xc2\xdf\xcb\x79\x16\x2e\x89\x05\xe5\x28\x9c\x23\x18\x3a\x82\x66\xb3\x03\x36\x20\x15\xb1\x03\x54\xca\x36\x46\x02\x6a\x4b\xd0\x78\xca\x23\x8d\x23\x45\x7c\x60\x53\x82\xb3\x2d\x6a\x61\xf2\xd9\x3f\x15\x28\x34\xc9\x45\x34\x2d\x14\x8d\x29\x79\xab\x09\xc4\xee\xc8\x2c\xe1\x58\xb1\xaa\x82\x56\x5f\x93\xe2\x82\x29\x87\x6d\x1b\xe6\xc3\xe6\x80\x8d\x96\x37\x94\x6a\x03\xe8\xca\x66\x4f\x46\xc2\x9c\x38\xeb\xff\x22\x62\x06\x85\x47\x34\xe2\x83\xce\x4e\x1b\x5d\x94\x85\x6d\x5e\x7e\xfc\xfc\xbd\x0c\xf8\xf6\x46\xeb\x20\x07\x36\x6b\x2f\xd6\x61\x49\xeb\x42\xdb\xe3\x67\x90\xf2\x15\xa6\x6d\x26\xe4\x6d\x64\x9d\x92\xb2\x04\xb6\x5f\x1f\xff\x3d\x2f\x7b\x80\x6d\x74\x1e\x09\x5f\x18\x25\xd2\xac\x22\xcf\x47\xc7\x1e\xc4\x47\x46\x34\x39\x78\x0b\xd6\xac\x7a\xa7\x08\x6a\x94\xea\x62\x4d\x58\xa6\x6e\xb6\x9a\x55\x9f\x81\xef\x13\x89\x30\xa9\x50\xfa\x58\xa0\x68\xa4\x71\xb4\x0c\x08\xfa\xae\x49\x09\xe5\x13\x8d\xe3\xb4\x92\x0c\x39\x56\xa9\xcd\x2a\xea\xdd\xc6\x36\x1c\xd1\xe5\xdd\xd5\x68\x64\x5d\x3b\x5b\x3b\x0e\x55\x88\xbe\x67\x19\xef\x6b\xeb\x04\x5e\xfa\xc0\xe2\x76\x50\x38\xbb\x87\x59\xf2\x6d\x36\x20\x5f\x49\x30\x47\xc1\x2f\xa6\xa3\xef\x91\xc9\xb7\x59\x96\x4d\xea\x31\x1f\xf3\xbd\x85\x89\x5f\x0b\x38\x65\x19\x00\x40\xed\xa8\x46\x47\x73\xcf\xa5\x21\x77\x0b\x8f\x8d\x54\x8f\x5d\xde\x23\x26\xfc\xd6\x6b\x78\x27\x69\x9c\x01\x42\xa7\x5b\xe0\xb4\x1a\xb9\x25\x6f\x6e\x04\x2a\x3c\x84\x96\xa7\xeb\xc4\xb0\x46\x26\x2e\xa0\x1b\xb6\xda\x5a\xe7\xec\xf1\xee\x3a\x41\x77\xd1\x3e\xcc\xc3\x66\xb7\x30\xaa\x5f\xc0\xfd\x3d\x18\xd6\x70\x1a\x89\xa2\x7c\x34\xac\xe6\xb3\xc7\x0e\x38\x86\x7c\xa9\x79\xfa\x12\xba\xa0\x83\x58\x30\x56\x80\xbe\xd9\xcb\x6c\x31\x32\x9e\x93\x7d\x9f\x87\x37\xdb\x57\x46\x61\x8d\x5b\xd6\x2c\xed\x90\x67\x94\xda\xf5\xc6\x1a\xdd\x86\xaa\x58\x4f\x7e\x4a\x12\x60\x39\xd5\xd6\xb3\x04\x2d\xdd\x93\x95\xca\xd9\xa6\xac\xe2\xe1\x7b\x57\x29\x07\x6c\x84\x5c\x81\x8a\xc6\xeb\x9a\x64\x3a\xf4\x7e\xf0\x2d\x74\xf7\xee\xfa\x94\xda\x36\xf0\x2c\x53\xf3\x57\x4f\xa8\xd1\x28\x3a\x3f\xcc\x13\xe3\x92\xca\xac\x4a\x92\xf7\xf8\x96\xdb\x81\xe6\x2d\xee\x1c\x9c\x9f\x2f\x96\xc9\x4d\x41\x57\x92\x4c\xa2\x19\x4f\x17\x57\x89\x7f\xaf\xb8\x23\xf0\x8d\xa3\xb8\xe7\x64\x11\xf6\x70\x40\xcd\xf9\xb4\x12\x57\x97\xf3\x95\xaa\x48\xed\xe6\x0b\x38\x0d\xf1\x3e\x91\xa1\x82\x15\xa3\x6b\xff\xe2\x09\x29\x46\xae\xab\xd9\x02\xce\x59\x17\xe2\x39\xfb\x13\x00\x00\xff\xff\x8e\x10\xd5\x37\xab\x05\x00\x00" +var _transactionsSetup_account_to_receive_royaltyCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x53\x51\x6f\xe2\x3c\x10\x7c\xcf\xaf\xd8\xf2\xd0\x82\x84\xe0\xbd\x6a\x2b\xb5\xfd\x54\xe9\x93\xae\xba\xaa\xed\xf5\x5e\x59\x9c\x4d\xb2\xc2\xd8\xd1\x7a\x03\x8d\x10\xff\xfd\x64\x07\x42\x72\x3a\xde\x88\xc7\xb3\xb3\x33\xe3\xe5\x72\x09\x9f\x15\x07\x50\x41\x17\xd0\x28\x7b\x07\x1c\x00\x41\x69\x5b\x5b\x54\x82\xc2\x4b\xfc\x7b\x39\xcf\xe2\x25\xf5\x60\x84\xe2\x39\x82\xa3\x3d\x58\x76\x1b\x60\x07\x5a\x11\x0b\xa0\x31\xbe\x71\x1a\x51\x6b\x82\x26\x50\x9e\x68\x84\x0c\xf1\x8e\x5d\x09\xe2\x5b\xb4\xca\x14\xb2\x7f\x2a\x30\xe8\x46\x17\xd1\xb5\x50\x34\xae\xe4\xb5\x25\x50\xbf\x21\x37\x87\x7d\xc5\xa6\x8a\x5a\x43\x4d\x86\x0b\xa6\x1c\xd6\x6d\x9c\x0f\xab\x1d\x36\x56\xdf\x50\xab\x15\xa0\x94\xcd\x96\x9c\xc6\x39\x69\xd6\xff\x45\xc2\x9c\x15\xee\xd1\x69\x88\x3a\x3b\x6d\x74\x51\x16\xb7\x79\xf9\xf1\xf3\xf7\x3c\xe2\xdb\x1b\x6b\xa3\x1c\x58\x2d\x83\x7a\xc1\x92\x96\x85\xf5\xfb\xcf\x28\xe5\x2b\x4e\x5b\x0d\xc8\xdb\xc4\x3a\x24\x65\x8d\x6c\xbf\x3e\xfe\x7b\x9e\x9f\x00\xbe\xb1\x79\x22\x7c\x61\xd4\x44\xb3\x48\x3c\x1f\x1d\x7b\x14\x9f\x18\xd1\xe5\x10\x3c\x78\xb7\x38\x39\x45\x50\xa3\x56\x17\x6b\xe2\x32\x75\xb3\xb6\x6c\x4e\x19\x84\x53\x22\x09\xa6\x15\xea\x29\x16\x28\x1a\x6d\x84\xe6\x11\x41\xdf\x35\x19\xa5\x7c\xa0\xb1\x9f\x56\x92\x23\x61\x33\xb6\xd9\x24\xbd\xeb\xd4\x86\x3d\x4a\xde\x5d\x4d\x46\xd6\xb5\xf8\x5a\x38\x56\x21\xf9\x9e\x65\xbc\xad\xbd\x28\x4c\x5e\x4e\x89\xa5\xf5\x26\xfd\xe7\x57\x52\xcc\x51\xf1\x8b\x69\x1f\x26\x59\x36\x08\x7e\xda\x27\x77\x0b\x03\x27\x66\x70\xc8\x32\x00\x80\x5a\xa8\x46\xa1\x69\xe0\xd2\x91\xdc\xc2\x63\xa3\xd5\x63\x97\x64\x8f\x89\xbf\xe5\x12\xde\x49\x1b\x71\x40\x28\xb6\x05\x1e\x87\x9e\x7b\x0a\xee\x46\xa1\xc2\x5d\xec\xef\x48\x27\xa4\x18\x7a\x26\x2e\xa0\x1b\xb6\x58\x7b\x11\xbf\xbf\xbb\x1e\xa1\xbb\xd0\x1e\xa6\x85\xf8\xed\x2d\xf4\xea\x67\x70\x7f\x0f\x8e\x2d\x1c\x7a\xa2\x24\x1f\x1d\x9b\xe9\xe4\xb1\x03\xf6\xf1\x5d\x0a\x3c\xee\x78\x17\x61\x14\x0b\xce\x2b\xd0\x37\x07\x9d\xcc\x7a\xc6\xe3\x68\xdf\xe7\xf3\x6b\x3c\x95\xc1\x60\x8d\x6b\xb6\xac\xed\x39\xa9\x24\xb5\x6b\x84\x77\xb6\x8d\x25\xf0\x81\xc2\x90\x24\xc2\x72\xaa\x7d\x60\x8d\x5a\xba\xc7\xa8\x95\xf8\xa6\xac\xd2\xe1\x7b\x57\x16\x01\x76\x4a\x52\xa0\xa1\xfe\xba\x25\x1d\x0e\xbd\x3f\xfb\x16\x5b\x79\x77\x7d\x18\xdb\x76\xe6\x99\x8f\xcd\x5f\x3c\xa1\x45\x67\xe8\xf8\x30\x1d\x19\x37\xaa\xcc\xa2\x24\x7d\x4f\xaf\xb4\x3d\xd3\xbc\xa5\x9d\xa3\xf3\xd3\xd9\x7c\x74\x53\x51\x4a\xd2\x41\x34\xfd\xe9\xec\x6a\xe4\xdf\x2b\x6e\x08\x42\x23\x94\xf6\x1c\x2c\xc2\x01\x76\x68\x39\x1f\x56\xe2\xea\x72\xbe\x30\x15\x99\xcd\x74\x06\x87\x73\xbc\x4f\xe4\xa8\x60\xc3\x28\xed\x5f\x3c\x31\xc5\xc4\x75\x35\x99\xc1\x31\xeb\x42\x3c\x66\x7f\x02\x00\x00\xff\xff\xcf\xed\xb1\x7e\x85\x05\x00\x00" func transactionsSetup_account_to_receive_royaltyCdcBytes() ([]byte, error) { return bindataRead( @@ -403,11 +403,11 @@ func transactionsSetup_account_to_receive_royaltyCdc() (*asset, error) { } info := bindataFileInfo{name: "transactions/setup_account_to_receive_royalty.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd6, 0xa9, 0x87, 0x7b, 0x48, 0xe2, 0x51, 0x2e, 0xcb, 0x8e, 0x79, 0x5d, 0x19, 0x5c, 0x32, 0x84, 0xff, 0x3, 0x27, 0xd4, 0xb6, 0x29, 0xb8, 0xce, 0xc4, 0x14, 0x2e, 0x3, 0x89, 0x6b, 0xae, 0x55}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x82, 0x5d, 0x0, 0xb6, 0x71, 0xaf, 0x5e, 0x9c, 0x72, 0xba, 0xa3, 0xee, 0x1d, 0x2c, 0xa5, 0xb4, 0x3e, 0x5a, 0x56, 0x43, 0x64, 0x74, 0xcc, 0xf5, 0xab, 0xf4, 0x8, 0xba, 0xec, 0x61, 0xac, 0x18}} return a, nil } -var _transactionsTransfer_nftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x54\x4d\x6f\xdb\x30\x0c\xbd\xfb\x57\x70\x3e\xac\x0e\xb0\x26\x97\x61\x07\xa3\x1f\x28\xda\x15\xe8\xa5\x2b\xba\xec\x07\x28\x32\x6d\x6b\x73\x48\x41\x62\x9a\x16\x45\xff\xfb\x20\x7f\xc8\xce\x17\x36\x9f\x14\x89\xe4\x23\xdf\x7b\xcc\x62\xb1\x80\x65\x6d\x3c\x88\x53\xe4\x95\x16\xc3\x04\xc6\x43\xc9\xae\xbb\x2a\xd1\x39\x43\x15\x28\x2a\xe0\xf1\x7e\x09\xa5\xe3\x75\x12\xb2\x98\x10\x94\xd6\xbc\x21\x01\x61\x50\xc4\x52\xa3\x4b\x12\xb3\xb6\xec\x04\x1e\x99\xee\x37\x54\x99\x55\x83\x4b\xfe\x83\xd4\x26\x42\xba\x7f\x9d\x0e\xf1\xdf\x5f\xd5\xda\x36\x38\x40\x40\x3a\x5e\xa4\x49\x32\xe9\x2e\x73\xa8\x8d\x35\x48\x92\xc3\x4d\x51\x38\xf4\xfe\x0b\x6c\x8d\xd4\x85\x53\xdb\x87\xbb\x1c\x7e\x3d\x90\x7c\xfb\x3a\x83\xf7\x24\x01\x00\x08\xbd\x3e\x63\x89\x0e\x49\x63\xe8\x54\x6a\x8c\xf1\xe8\xce\x3c\x68\x6e\x1a\x6c\x6b\xb7\x09\x0d\x4a\x7c\x7f\xc6\x32\x87\xcf\x63\x2b\xf3\xdb\x31\xf6\x48\x75\x2e\xdb\xea\x63\xc1\x80\x57\xa0\x65\x6f\xa4\x7d\x09\xe3\x09\x47\x98\xfe\xa9\x43\x79\xdf\xe7\x66\x02\xf6\xb4\x59\x35\x46\x7f\x74\x98\xd6\xa1\x55\x0e\x33\x6f\x2a\x42\x97\xc3\xcd\x46\xea\x9b\x4e\x89\x30\x35\xf4\xdf\x62\x01\x2b\x76\x8e\xb7\xa0\xc0\xed\x13\xd0\xe5\x9e\xf9\xb6\xa3\x3d\x02\xc2\xe7\xb1\x29\xe7\x13\x16\xe0\xb2\x4f\x89\x11\xe1\x9b\x77\x00\x17\xc7\x19\xba\xca\x82\x92\x39\x1c\x7d\xfc\x29\xec\x54\x85\x4f\x4a\xea\xd9\x4e\xcd\xeb\x6b\xb0\x8a\x8c\xce\xd2\x7e\x26\x28\x18\x3d\x10\x0b\x78\x61\x87\xa0\x08\x78\xf5\x1b\xb5\x80\xea\x48\xf5\x16\xb5\x29\x0d\x16\x60\x95\xd4\xe9\x2c\x99\x52\x50\x61\x17\x14\x5d\xe3\xc1\xb6\x64\x46\xf3\x76\xc5\x62\x4e\xd0\x25\x06\xc3\x65\x28\xd0\x37\x32\x3a\x6f\x17\x22\xb2\xdc\x17\x3e\x20\xdb\xa1\x46\xf3\x82\xee\xc0\x6a\x91\xe9\xd1\x08\x70\x39\xa2\xef\x72\x5d\xa1\xdc\x2a\xab\x56\xa6\x31\xf2\x96\x1d\x25\xb5\xb3\xc9\x21\xa7\x51\xa7\xff\xf0\xd8\x55\x76\x4a\x8f\x5b\xde\x34\x45\x2b\xc4\x69\x5f\x0d\xa3\xee\xac\xd5\x20\x49\xef\x5f\x7c\x45\xbd\x11\x1c\x16\xb4\x67\x71\x30\x5b\xdc\x93\xf6\x6f\x20\xfc\xe0\x2d\x1d\xdb\xd3\x41\x2c\x2a\x05\x2e\xce\x0f\x1c\x1b\xcf\xd9\xf4\xcf\x61\x3c\xef\x6a\x78\xb7\xb7\xa4\x86\x76\x5d\x73\x1c\x7e\x4f\xbb\xe1\x98\x49\xa0\x36\x87\x8b\x73\x2a\x65\x36\x1d\xdd\xb2\x97\xc9\x8a\x7e\x3a\x68\xba\x42\x79\xb8\xf3\xd9\x6c\xae\x99\x44\x19\xf2\x93\xee\x67\x39\xa4\x3f\x9c\xa9\x0c\xa9\xa6\x23\x05\x7c\x1d\x35\xa9\xd5\x0b\xc6\xf6\x15\xbd\xad\xd9\x61\x7a\xb2\xd3\x7f\xe1\x2c\xfb\xe1\xf1\x65\x8a\xb2\x0d\xb0\x03\x48\xda\x0f\xf6\x91\xfc\x0d\x00\x00\xff\xff\xec\xbb\x17\xf7\x45\x06\x00\x00" +var _transactionsTransfer_nftCdc = "\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x94\xcd\x6e\xdb\x30\x0c\xc7\xef\x7e\x0a\xce\x87\xd5\x01\xd6\xe4\x32\xec\x60\xf4\x03\x45\xbb\x02\xbd\x74\x45\x97\x3d\x80\x22\xd3\xb6\x36\x87\x14\x24\xa6\x69\x51\xf4\xdd\x07\xf9\x43\x76\xbe\xb0\xe9\xa4\x44\x12\xff\xe4\x8f\x7f\x7a\xb1\x58\xc0\xb2\x36\x1e\xc4\x29\xf2\x4a\x8b\x61\x02\xe3\xa1\x64\xd7\xfd\x55\xa2\x73\x86\x2a\x50\x54\xc0\xe3\xfd\x12\x4a\xc7\xeb\x24\xbc\x62\x42\x50\x5a\xf3\x86\x04\x84\x41\x11\x4b\x8d\x2e\x49\xcc\xda\xb2\x13\x48\x1f\x99\xee\x37\x54\x99\x55\x83\x4b\xfe\x83\x94\xc6\x93\xef\xaf\x6a\x6d\x1b\x7c\xbc\x5f\xa6\x49\x32\xd1\xcd\x1c\x6a\x63\x0d\x92\xe4\x70\x53\x14\x0e\xbd\xff\x02\x5b\x23\x75\xe1\xd4\xf6\xe1\x2e\x87\x5f\x0f\x24\xdf\xbe\xce\xe0\x3d\x49\x00\x00\x42\x16\xcf\x58\xa2\x43\xd2\x18\x72\x90\x1a\xe3\x7d\x74\x67\x1e\x34\x37\x0d\xb6\xb1\xdb\x07\x0d\x4a\x3c\x7f\xc6\x32\x87\xcf\x63\x2a\xf3\xdb\xf1\xee\x91\xe8\x5c\xb6\xd1\xc7\x80\x41\xaf\x40\xcb\xde\x48\x7b\x12\xd8\x08\x47\x99\xfe\xa8\x53\x79\xdf\x67\x31\x11\x7b\xda\xac\x1a\xa3\x3f\x3a\x4d\xeb\xd0\x2a\x87\x99\x37\x15\xa1\xcb\xe1\x66\x23\xf5\x4d\xc7\x38\x54\x0d\xfd\x5a\x2c\x60\xc5\xce\xf1\x16\x14\xb8\x7d\x00\xdd\xdb\x33\xdf\x66\xb4\x07\x20\x2c\x8f\x4d\x39\x9f\x50\x80\xcb\xfe\x49\xbc\x11\xd6\xbc\x13\xb8\x38\x4e\xe8\x2a\x0b\x36\xc8\xe1\xe8\xe1\x4f\x61\xa7\x2a\x7c\x52\x52\xcf\x76\x62\x5e\x5f\x83\x55\x64\x74\x96\xf6\x35\x41\xc1\xe8\x81\x58\xc0\x0b\x3b\x04\x45\xc0\xab\xdf\xa8\x05\x54\x07\xd5\x5b\xd4\xa6\x34\x58\x80\x55\x52\xa7\xb3\x64\x8a\xa0\xc2\xee\x52\x74\x8d\x07\xdb\xc2\x8c\xb6\xec\x82\xc5\x37\xa1\x2f\xf1\x32\x5c\x86\x00\x7d\x22\xa3\xf3\x76\x25\x22\xe5\x3e\xf0\x01\x6c\x87\x1a\xcd\x0b\xba\x03\xab\x45\xd2\xa3\x11\xe0\x72\x54\xdf\x65\x5d\xa1\xdc\x2a\xab\x56\xa6\x31\xf2\x96\x1d\x85\xda\xd9\xe4\x90\x69\xec\xd3\x7f\x78\xec\x2a\x3b\xd5\x8f\x5b\xde\x34\x45\xdb\x88\xd3\xbe\x1a\x4a\xdd\x19\xab\xa1\x25\xbd\x7f\xf1\x15\xf5\x46\x70\x18\xd0\x9e\xe2\x60\xb6\x38\x27\xc1\x3c\xed\x0f\xde\xd2\xb1\x39\x1d\x9a\x45\xa5\xc0\xc5\xf9\x81\x63\xe3\x3e\x9b\x7e\x1c\xc6\xfd\x6e\x0f\xef\xf6\x86\xd4\xd0\xae\x6b\x8e\xcb\xef\xf5\x6e\xd8\x66\x12\xd0\xe6\x70\x71\x4e\xa5\xcc\xa6\xa5\x5b\xf6\x32\x19\xd1\x4f\x07\x49\x57\x28\x0f\x77\x3e\x9b\xcd\x35\x93\x28\x43\x7e\x92\xfd\x2c\x87\xf4\x87\x33\x95\x21\xd5\x74\x50\xc0\xd7\xb1\x27\xb5\x7a\xc1\x98\xbe\xa2\xb7\x35\x3b\x4c\x4f\x66\xfa\x2f\x9d\x65\x5f\x3c\xbe\x4c\x55\xb6\x41\x76\x10\x49\xfb\xc2\x3e\x92\xbf\x01\x00\x00\xff\xff\xf7\xae\x98\x0c\x1f\x06\x00\x00" func transactionsTransfer_nftCdcBytes() ([]byte, error) { return bindataRead( @@ -423,7 +423,7 @@ func transactionsTransfer_nftCdc() (*asset, error) { } info := bindataFileInfo{name: "transactions/transfer_nft.cdc", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xce, 0x82, 0xba, 0x6e, 0x96, 0x4b, 0x26, 0xb, 0x41, 0x5a, 0x35, 0x1c, 0x35, 0x45, 0xb9, 0xde, 0x2a, 0x83, 0x78, 0x50, 0x9, 0xfa, 0x2c, 0x77, 0x97, 0x5c, 0xbb, 0x91, 0xf8, 0xa0, 0x9f, 0xaf}} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd1, 0xe0, 0xb3, 0xd9, 0x47, 0x72, 0xcb, 0x53, 0xb5, 0xf6, 0x0, 0x80, 0x9f, 0xa5, 0xe5, 0x6b, 0xef, 0x59, 0x5a, 0xba, 0xf8, 0x2c, 0x84, 0x96, 0x55, 0x31, 0x6, 0xc6, 0xc5, 0x94, 0xed, 0xab}} return a, nil } diff --git a/scripts/borrow_nft.cdc b/scripts/borrow_nft.cdc index d603b442..5dd3c5e8 100644 --- a/scripts/borrow_nft.cdc +++ b/scripts/borrow_nft.cdc @@ -1,7 +1,7 @@ // This script borrows an NFT from a collection -import NonFungibleToken from "NonFungibleToken" -import ExampleNFT from "ExampleNFT" +import "NonFungibleToken" +import "ExampleNFT" pub fun main(address: Address, id: UInt64) { let account = getAccount(address) diff --git a/scripts/get_collection_ids.cdc b/scripts/get_collection_ids.cdc index f670ece4..a54b7fc1 100644 --- a/scripts/get_collection_ids.cdc +++ b/scripts/get_collection_ids.cdc @@ -1,7 +1,7 @@ /// Script to get NFT IDs in an account's collection -import NonFungibleToken from "NonFungibleToken" -import ExampleNFT from "ExampleNFT" +import "NonFungibleToken" +import "ExampleNFT" pub fun main(address: Address, collectionPublicPath: PublicPath): [UInt64] { let account = getAccount(address) diff --git a/scripts/get_collection_length.cdc b/scripts/get_collection_length.cdc index e2be8223..e1cc91e3 100644 --- a/scripts/get_collection_length.cdc +++ b/scripts/get_collection_length.cdc @@ -1,5 +1,5 @@ -import NonFungibleToken from "NonFungibleToken" -import ExampleNFT from "ExampleNFT" +import "NonFungibleToken" +import "ExampleNFT" pub fun main(address: Address): Int { let account = getAccount(address) diff --git a/scripts/get_contract_storage_path.cdc b/scripts/get_contract_storage_path.cdc index 24532203..97ade4b7 100644 --- a/scripts/get_contract_storage_path.cdc +++ b/scripts/get_contract_storage_path.cdc @@ -1,5 +1,5 @@ -import MetadataViews from "MetadataViews" -import ViewResolver from "ViewResolver" +import "MetadataViews" +import "ViewResolver" pub fun main(addr: Address, name: String): StoragePath? { let t = Type() diff --git a/scripts/get_nft_metadata.cdc b/scripts/get_nft_metadata.cdc index 4c34817f..cd3e6355 100644 --- a/scripts/get_nft_metadata.cdc +++ b/scripts/get_nft_metadata.cdc @@ -1,8 +1,8 @@ /// This script gets all the view-based metadata associated with the specified NFT /// and returns it as a single struct -import ExampleNFT from "ExampleNFT" -import MetadataViews from "MetadataViews" +import "ExampleNFT" +import "MetadataViews" pub struct NFT { pub let name: String diff --git a/scripts/get_nft_view.cdc b/scripts/get_nft_view.cdc index a0057e25..8ddd15ab 100644 --- a/scripts/get_nft_view.cdc +++ b/scripts/get_nft_view.cdc @@ -1,5 +1,5 @@ -import ExampleNFT from "ExampleNFT" -import MetadataViews from "MetadataViews" +import "ExampleNFT" +import "MetadataViews" pub struct NFTView { pub let id: UInt64 diff --git a/scripts/get_total_supply.cdc b/scripts/get_total_supply.cdc index a96a284a..feeae8f6 100644 --- a/scripts/get_total_supply.cdc +++ b/scripts/get_total_supply.cdc @@ -1,4 +1,4 @@ -import ExampleNFT from "ExampleNFT" +import "ExampleNFT" pub fun main(): UInt64 { return ExampleNFT.totalSupply diff --git a/tests/scripts/get_example_nft_views.cdc b/tests/scripts/get_example_nft_views.cdc index 485580b8..d6d750c9 100644 --- a/tests/scripts/get_example_nft_views.cdc +++ b/tests/scripts/get_example_nft_views.cdc @@ -1,17 +1,9 @@ /// This script checks all the supported views from /// the ExampleNFT contract. Used for testing only. -import ExampleNFT from "ExampleNFT" -import MetadataViews from "MetadataViews" +import "ExampleNFT" +import "MetadataViews" -pub fun main(): Bool { - let views = ExampleNFT.getViews() - - let expected = [ - Type(), - Type() - ] - assert(expected == views) - - return true +pub fun main(): [Type] { + return ExampleNFT.getViews() } diff --git a/tests/scripts/get_nft_metadata.cdc b/tests/scripts/get_nft_metadata.cdc index dadf1445..a5fb8b81 100644 --- a/tests/scripts/get_nft_metadata.cdc +++ b/tests/scripts/get_nft_metadata.cdc @@ -1,8 +1,8 @@ /// This script checks all views from MetadataViews for /// a given NFT. Used for testing only. -import ExampleNFT from "ExampleNFT" -import MetadataViews from "MetadataViews" +import "ExampleNFT" +import "MetadataViews" pub struct NFT { pub let name: String @@ -150,19 +150,19 @@ pub fun main(address: Address, id: UInt64): Bool { assert("NFT Name" == nftMetadata.name) assert("NFT Description" == nftMetadata.description) assert("NFT Thumbnail" == nftMetadata.thumbnail) - assert(Address(0x01cf0e2f2f715450) == nftMetadata.owner) - assert("A.01cf0e2f2f715450.ExampleNFT.NFT" == nftMetadata.type) + assert(Address(0x0000000000000007) == nftMetadata.owner) + assert("A.0000000000000007.ExampleNFT.NFT" == nftMetadata.type) assert("Creator Royalty" == nftMetadata.royalties[0].description) - assert(Address(0x01cf0e2f2f715450) == nftMetadata.royalties[0].receiver.address) + assert(Address(0x0000000000000007) == nftMetadata.royalties[0].receiver.address) assert(0.05 == nftMetadata.royalties[0].cut) assert("https://example-nft.onflow.org/0" == nftMetadata.externalURL) assert((0 as UInt64) == nftMetadata.serialNumber) assert(/public/exampleNFTCollection == nftMetadata.collectionPublicPath) assert(/storage/exampleNFTCollection == nftMetadata.collectionStoragePath) assert(/private/exampleNFTCollection == nftMetadata.collectionProviderPath) - assert("&A.01cf0e2f2f715450.ExampleNFT.Collection{A.01cf0e2f2f715450.ExampleNFT.ExampleNFTCollectionPublic}" == nftMetadata.collectionPublic) - assert("&A.01cf0e2f2f715450.ExampleNFT.Collection{A.01cf0e2f2f715450.ExampleNFT.ExampleNFTCollectionPublic,A.f8d6e0586b0a20c7.NonFungibleToken.CollectionPublic,A.f8d6e0586b0a20c7.NonFungibleToken.Receiver,A.f8d6e0586b0a20c7.MetadataViews.ResolverCollection}" == nftMetadata.collectionPublicLinkedType) - assert("&A.01cf0e2f2f715450.ExampleNFT.Collection{A.01cf0e2f2f715450.ExampleNFT.ExampleNFTCollectionPublic,A.f8d6e0586b0a20c7.NonFungibleToken.CollectionPublic,A.f8d6e0586b0a20c7.NonFungibleToken.Provider,A.f8d6e0586b0a20c7.MetadataViews.ResolverCollection}" == nftMetadata.collectionProviderLinkedType) + assert("&A.0000000000000007.ExampleNFT.Collection{A.0000000000000007.ExampleNFT.ExampleNFTCollectionPublic}" == nftMetadata.collectionPublic) + assert("&A.0000000000000007.ExampleNFT.Collection{A.0000000000000007.ExampleNFT.ExampleNFTCollectionPublic,A.0000000000000001.NonFungibleToken.CollectionPublic,A.0000000000000001.NonFungibleToken.Receiver,A.0000000000000001.MetadataViews.ResolverCollection}" == nftMetadata.collectionPublicLinkedType) + assert("&A.0000000000000007.ExampleNFT.Collection{A.0000000000000007.ExampleNFT.ExampleNFTCollectionPublic,A.0000000000000001.NonFungibleToken.CollectionPublic,A.0000000000000001.NonFungibleToken.Provider,A.0000000000000001.MetadataViews.ResolverCollection}" == nftMetadata.collectionProviderLinkedType) assert("The Example Collection" == nftMetadata.collectionName) assert("This collection is used as an example to help you develop your next Flow NFT." == nftMetadata.collectionDescription) assert("https://example-nft.onflow.org" == nftMetadata.collectionExternalURL) diff --git a/tests/scripts/get_nft_view.cdc b/tests/scripts/get_nft_view.cdc index 76e1a595..c37af606 100644 --- a/tests/scripts/get_nft_view.cdc +++ b/tests/scripts/get_nft_view.cdc @@ -1,8 +1,8 @@ /// This script checks the NFTView from MetadataViews for /// a given NFT. Used for testing only. -import ExampleNFT from "ExampleNFT" -import MetadataViews from "MetadataViews" +import "ExampleNFT" +import "MetadataViews" pub struct NFTView { pub let id: UInt64 @@ -118,15 +118,15 @@ pub fun main(address: Address, id: UInt64): Bool { assert("NFT Description" == nftViewResult.description) assert("NFT Thumbnail" == nftViewResult.thumbnail) assert("Creator Royalty" == nftViewResult.royalties[0].description) - assert(Address(0x01cf0e2f2f715450) == nftViewResult.royalties[0].receiver.address) + assert(Address(0x0000000000000007) == nftViewResult.royalties[0].receiver.address) assert(0.05 == nftViewResult.royalties[0].cut) assert("https://example-nft.onflow.org/0" == nftViewResult.externalURL) assert(/public/exampleNFTCollection == nftViewResult.collectionPublicPath) assert(/storage/exampleNFTCollection == nftViewResult.collectionStoragePath) assert(/private/exampleNFTCollection == nftViewResult.collectionProviderPath) - assert("&A.01cf0e2f2f715450.ExampleNFT.Collection{A.01cf0e2f2f715450.ExampleNFT.ExampleNFTCollectionPublic}" == nftViewResult.collectionPublic) - assert("&A.01cf0e2f2f715450.ExampleNFT.Collection{A.01cf0e2f2f715450.ExampleNFT.ExampleNFTCollectionPublic,A.f8d6e0586b0a20c7.NonFungibleToken.CollectionPublic,A.f8d6e0586b0a20c7.NonFungibleToken.Receiver,A.f8d6e0586b0a20c7.MetadataViews.ResolverCollection}" == nftViewResult.collectionPublicLinkedType) - assert("&A.01cf0e2f2f715450.ExampleNFT.Collection{A.01cf0e2f2f715450.ExampleNFT.ExampleNFTCollectionPublic,A.f8d6e0586b0a20c7.NonFungibleToken.CollectionPublic,A.f8d6e0586b0a20c7.NonFungibleToken.Provider,A.f8d6e0586b0a20c7.MetadataViews.ResolverCollection}" == nftViewResult.collectionProviderLinkedType) + assert("&A.0000000000000007.ExampleNFT.Collection{A.0000000000000007.ExampleNFT.ExampleNFTCollectionPublic}" == nftViewResult.collectionPublic) + assert("&A.0000000000000007.ExampleNFT.Collection{A.0000000000000007.ExampleNFT.ExampleNFTCollectionPublic,A.0000000000000001.NonFungibleToken.CollectionPublic,A.0000000000000001.NonFungibleToken.Receiver,A.0000000000000001.MetadataViews.ResolverCollection}" == nftViewResult.collectionPublicLinkedType) + assert("&A.0000000000000007.ExampleNFT.Collection{A.0000000000000007.ExampleNFT.ExampleNFTCollectionPublic,A.0000000000000001.NonFungibleToken.CollectionPublic,A.0000000000000001.NonFungibleToken.Provider,A.0000000000000001.MetadataViews.ResolverCollection}" == nftViewResult.collectionProviderLinkedType) assert("The Example Collection" == nftViewResult.collectionName) assert("This collection is used as an example to help you develop your next Flow NFT." == nftViewResult.collectionDescription) assert("https://example-nft.onflow.org" == nftViewResult.collectionExternalURL) diff --git a/tests/scripts/get_views.cdc b/tests/scripts/get_views.cdc index 3a466217..f2120cb8 100644 --- a/tests/scripts/get_views.cdc +++ b/tests/scripts/get_views.cdc @@ -1,11 +1,11 @@ /// This script checks all the supported views from /// a given NFT. Used for testing only. -import NonFungibleToken from "NonFungibleToken" -import MetadataViews from "MetadataViews" -import ExampleNFT from "ExampleNFT" +import "NonFungibleToken" +import "MetadataViews" +import "ExampleNFT" -pub fun main(address: Address, id: UInt64): Bool { +pub fun main(address: Address, id: UInt64): [Type] { let account = getAccount(address) let collectionRef = account @@ -15,19 +15,5 @@ pub fun main(address: Address, id: UInt64): Bool { // Borrow a reference to a specific NFT in the collection let nft = collectionRef.borrowNFT(id: id) - let views = nft.getViews() - - let expected = [ - Type(), - Type(), - Type(), - Type(), - Type(), - Type(), - Type(), - Type() - ] - assert(expected == views) - - return true + return nft.getViews() } diff --git a/tests/scripts/resolve_nft_views.cdc b/tests/scripts/resolve_nft_views.cdc index 297ceb46..e650b9d6 100644 --- a/tests/scripts/resolve_nft_views.cdc +++ b/tests/scripts/resolve_nft_views.cdc @@ -1,9 +1,9 @@ /// This script resolves all the supported views from /// the ExampleNFT contract. Used for testing only. -import ExampleNFT from "ExampleNFT" -import NonFungibleToken from "NonFungibleToken" -import MetadataViews from "MetadataViews" +import "ExampleNFT" +import "NonFungibleToken" +import "MetadataViews" pub fun main(): Bool { // Call `resolveView` with invalid Type @@ -25,6 +25,9 @@ pub fun main(): Bool { Type() ) as! MetadataViews.NFTCollectionData?)! + // The MetadataViews.NFTCollectionData returns a function (createEmptyCollection), + // so it cannot be the return type of a script. That's why we perform + // the assertions in this script. assert(ExampleNFT.CollectionStoragePath == collectionData.storagePath) assert(ExampleNFT.CollectionPublicPath == collectionData.publicPath) assert(/private/exampleNFTCollection == collectionData.providerPath) diff --git a/tests/test_example_nft.cdc b/tests/test_example_nft.cdc index 491ce6ee..da3d39bb 100644 --- a/tests/test_example_nft.cdc +++ b/tests/test_example_nft.cdc @@ -1,86 +1,70 @@ import Test +import BlockchainHelpers +import "ExampleNFT" +import "MetadataViews" -pub let blockchain = Test.newEmulatorBlockchain() -pub let admin = blockchain.createAccount() -pub let recipient = blockchain.createAccount() +access(all) let admin = Test.getAccount(0x0000000000000007) +access(all) let recipient = Test.createAccount() -pub fun setup() { - blockchain.useConfiguration(Test.Configuration({ - "ExampleNFT": admin.address - })) - - let code = Test.readFile("../contracts/ExampleNFT.cdc") - let err = blockchain.deployContract( +access(all) +fun setup() { + let err = Test.deployContract( name: "ExampleNFT", - code: code, - account: admin, + path: "../contracts/ExampleNFT.cdc", arguments: [] ) - Test.expect(err, Test.beNil()) } -pub fun testContractInitializedEventEmitted() { - let typ = CompositeType("A.01cf0e2f2f715450.ExampleNFT.ContractInitialized")! - - Test.assertEqual(1, blockchain.eventsOfType(typ).length) +access(all) +fun testContractInitializedEventEmitted() { + let typ = Type() + Test.assertEqual(1, Test.eventsOfType(typ).length) } -pub fun testGetTotalSupply() { - let code = Test.readFile("../scripts/get_total_supply.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testGetTotalSupply() { + let scriptResult = executeScript( + "../scripts/get_total_supply.cdc", [] ) - Test.expect(scriptResult, Test.beSucceeded()) - let totalSupply = (scriptResult.returnValue as! UInt64?)! + let totalSupply = scriptResult.returnValue! as! UInt64 Test.assertEqual(0 as UInt64, totalSupply) } -pub fun testSetupAccount() { - var code = Test.readFile("../transactions/setup_account.cdc") - let tx = Test.Transaction( - code: code, - authorizers: [recipient.address], - signers: [recipient], - arguments: [] +access(all) +fun testSetupAccount() { + let txResult = executeTransaction( + "../transactions/setup_account.cdc", + [], + recipient ) - let txResult = blockchain.executeTransaction(tx) - Test.expect(txResult, Test.beSucceeded()) - code = Test.readFile("../scripts/get_collection_length.cdc") - let scriptResult = blockchain.executeScript( - code, + let scriptResult = executeScript( + "../scripts/get_collection_length.cdc", [admin.address] ) - Test.expect(scriptResult, Test.beSucceeded()) - let collectionLength = (scriptResult.returnValue as! Int?)! + let collectionLength = scriptResult.returnValue! as! Int Test.assertEqual(0, collectionLength) } -pub fun testMintNFT() { - var code = Test.readFile("../transactions/setup_account_to_receive_royalty.cdc") - var tx = Test.Transaction( - code: code, - authorizers: [admin.address], - signers: [admin], - arguments: [/storage/flowTokenVault] +access(all) +fun testMintNFT() { + var txResult = executeTransaction( + "../transactions/setup_account_to_receive_royalty.cdc", + [/storage/flowTokenVault], + admin ) - var txResult = blockchain.executeTransaction(tx) - Test.expect(txResult, Test.beSucceeded()) - code = Test.readFile("../transactions/mint_nft.cdc") - tx = Test.Transaction( - code: code, - authorizers: [admin.address], - signers: [admin], - arguments: [ + txResult = executeTransaction( + "../transactions/mint_nft.cdc", + [ recipient.address, "NFT Name", "NFT Description", @@ -88,174 +72,181 @@ pub fun testMintNFT() { [0.05], ["Creator Royalty"], [admin.address] - ] + ], + admin ) - txResult = blockchain.executeTransaction(tx) - Test.expect(txResult, Test.beSucceeded()) - let typ = CompositeType("A.01cf0e2f2f715450.ExampleNFT.Deposit")! - Test.assertEqual(1, blockchain.eventsOfType(typ).length) + let typ = Type() + let events = Test.eventsOfType(typ) + Test.assertEqual(1, events.length) + + let depositEvent = events[0] as! ExampleNFT.Deposit + Test.assertEqual(0 as UInt64, depositEvent.id) + Test.assertEqual(recipient.address, depositEvent.to!) - code = Test.readFile("../scripts/get_collection_ids.cdc") - let scriptResult = blockchain.executeScript( - code, + let scriptResult = executeScript( + "../scripts/get_collection_ids.cdc", [ recipient.address, /public/exampleNFTCollection ] ) - Test.expect(scriptResult, Test.beSucceeded()) - let collectionIDs = (scriptResult.returnValue as! [UInt64]?)! + let collectionIDs = scriptResult.returnValue! as! [UInt64] Test.assertEqual([0] as [UInt64], collectionIDs) } -pub fun testTransferNFT() { - var code = Test.readFile("../transactions/transfer_nft.cdc") - let tx = Test.Transaction( - code: code, - authorizers: [recipient.address], - signers: [recipient], - arguments: [ +access(all) +fun testTransferNFT() { + let nftID: UInt64 = 0 + let txResult = executeTransaction( + "../transactions/transfer_nft.cdc", + [ admin.address, - 0 as UInt64 - ] + nftID + ], + recipient ) - let txResult = blockchain.executeTransaction(tx) - Test.expect(txResult, Test.beSucceeded()) - var typ = CompositeType("A.01cf0e2f2f715450.ExampleNFT.Withdraw")! - Test.assertEqual(1, blockchain.eventsOfType(typ).length) + var typ = Type() + var events = Test.eventsOfType(typ) + Test.assertEqual(1, events.length) + + let withdrawEvent = events[0] as! ExampleNFT.Withdraw + Test.assertEqual(nftID, withdrawEvent.id) + Test.assertEqual(recipient.address, withdrawEvent.from!) - typ = CompositeType("A.01cf0e2f2f715450.ExampleNFT.Deposit")! - Test.assertEqual(2, blockchain.eventsOfType(typ).length) + typ = Type() + events = Test.eventsOfType(typ) + Test.assertEqual(2, events.length) - code = Test.readFile("../scripts/get_collection_ids.cdc") - let scriptResult = blockchain.executeScript( - code, + let depositEvent = events[1] as! ExampleNFT.Deposit + Test.assertEqual(nftID, depositEvent.id) + Test.assertEqual(admin.address, depositEvent.to!) + + let scriptResult = executeScript( + "../scripts/get_collection_ids.cdc", [ admin.address, /public/exampleNFTCollection ] ) - Test.expect(scriptResult, Test.beSucceeded()) - let collectionIDs = (scriptResult.returnValue as! [UInt64]?)! + let collectionIDs = scriptResult.returnValue! as! [UInt64] Test.assertEqual([0] as [UInt64], collectionIDs) } -pub fun testTransferMissingNFT() { - var code = Test.readFile("../transactions/transfer_nft.cdc") - let tx = Test.Transaction( - code: code, - authorizers: [recipient.address], - signers: [recipient], - arguments: [ +access(all) +fun testTransferMissingNFT() { + let txResult = executeTransaction( + "../transactions/transfer_nft.cdc", + [ admin.address, 10 as UInt64 - ] + ], + recipient ) - let txResult = blockchain.executeTransaction(tx) - Test.expect(txResult, Test.beFailed()) - Test.assertEqual( - "missing NFT", - txResult.error!.message.slice(from: 390, upTo: 401) + Test.assertError( + txResult, + errorMessage: "missing NFT", ) } -pub fun testBorrowNFT() { - let code = Test.readFile("../scripts/borrow_nft.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testBorrowNFT() { + let scriptResult = executeScript( + "../scripts/borrow_nft.cdc", [ admin.address, 0 as UInt64 ] ) - Test.expect(scriptResult, Test.beSucceeded()) } -pub fun testBorrowMissingNFT() { - let code = Test.readFile("../scripts/borrow_nft.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testBorrowMissingNFT() { + let scriptResult = executeScript( + "../scripts/borrow_nft.cdc", [ admin.address, 10 as UInt64 ] ) - Test.expect(scriptResult, Test.beFailed()) + Test.assertError( + scriptResult, + errorMessage: "NFT does not exist in the collection!" + ) } -pub fun testGetCollectionIDs() { - let code = Test.readFile("../scripts/get_collection_ids.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testGetCollectionIDs() { + let scriptResult = executeScript( + "../scripts/get_collection_ids.cdc", [ admin.address, /public/exampleNFTCollection ] ) - Test.expect(scriptResult, Test.beSucceeded()) - let collectionIDs = (scriptResult.returnValue as! [UInt64]?)! + let collectionIDs = scriptResult.returnValue! as! [UInt64] Test.assertEqual([0] as [UInt64], collectionIDs) } -pub fun testGetCollectionLength() { - let code = Test.readFile("../scripts/get_collection_length.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testGetCollectionLength() { + let scriptResult = executeScript( + "../scripts/get_collection_length.cdc", [admin.address] ) - Test.expect(scriptResult, Test.beSucceeded()) - let collectionLength = (scriptResult.returnValue as! Int?)! + let collectionLength = scriptResult.returnValue! as! Int Test.assertEqual(1, collectionLength) } -pub fun testGetContractStoragePath() { - let code = Test.readFile("../scripts/get_contract_storage_path.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testGetContractStoragePath() { + let scriptResult = executeScript( + "../scripts/get_contract_storage_path.cdc", [ admin.address, "ExampleNFT" ] ) - Test.expect(scriptResult, Test.beSucceeded()) - let storagePath = (scriptResult.returnValue as! StoragePath?)! + let storagePath = scriptResult.returnValue! as! StoragePath Test.assertEqual(/storage/exampleNFTCollection, storagePath) } -pub fun testGetMissingContractStoragePath() { - let code = Test.readFile("../scripts/get_contract_storage_path.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testGetMissingContractStoragePath() { + let scriptResult = executeScript( + "../scripts/get_contract_storage_path.cdc", [ admin.address, "ContractOne" ] ) - Test.expect(scriptResult, Test.beFailed()) + Test.assertError( + scriptResult, + errorMessage: "contract could not be borrowed" + ) } -pub fun testGetNFTMetadata() { - let code = Test.readFile("scripts/get_nft_metadata.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testGetNFTMetadata() { + let scriptResult = executeScript( + "scripts/get_nft_metadata.cdc", [ admin.address, 0 as UInt64 @@ -265,36 +256,38 @@ pub fun testGetNFTMetadata() { Test.expect(scriptResult, Test.beSucceeded()) } -pub fun testGetMissingNFTMetadata() { - let code = Test.readFile("scripts/get_nft_metadata.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testGetMissingNFTMetadata() { + let scriptResult = executeScript( + "scripts/get_nft_metadata.cdc", [ admin.address, 10 as UInt64 ] ) - Test.expect(scriptResult, Test.beFailed()) + Test.assertError( + scriptResult, + errorMessage: "unexpectedly found nil while forcing an Optional value" + ) } -pub fun testGetNFTView() { - let code = Test.readFile("scripts/get_nft_view.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testGetNFTView() { + let scriptResult = executeScript( + "scripts/get_nft_view.cdc", [ admin.address, 0 as UInt64 ] ) - Test.expect(scriptResult, Test.beSucceeded()) } -pub fun testGetMissingNFTView() { - let code = Test.readFile("scripts/get_nft_view.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testGetMissingNFTView() { + let scriptResult = executeScript( + "scripts/get_nft_view.cdc", [ admin.address, 10 as UInt64 @@ -302,37 +295,58 @@ pub fun testGetMissingNFTView() { ) Test.expect(scriptResult, Test.beFailed()) + Test.assertError( + scriptResult, + errorMessage: "unexpectedly found nil while forcing an Optional value" + ) } -pub fun testGetViews() { - let code = Test.readFile("scripts/get_views.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testGetViews() { + let scriptResult = executeScript( + "scripts/get_views.cdc", [ admin.address, 0 as UInt64 ] ) - Test.expect(scriptResult, Test.beSucceeded()) + + let supportedViews = scriptResult.returnValue! as! [Type] + let expectedViews = [ + Type(), + Type(), + Type(), + Type(), + Type(), + Type(), + Type(), + Type() + ] + Test.assertEqual(expectedViews, supportedViews) } -pub fun testGetExampleNFTViews() { - let code = Test.readFile("scripts/get_example_nft_views.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testGetExampleNFTViews() { + let scriptResult = executeScript( + "scripts/get_example_nft_views.cdc", [] ) - Test.expect(scriptResult, Test.beSucceeded()) + + let supportedViews = scriptResult.returnValue! as! [Type] + let expectedViews = [ + Type(), + Type() + ] + Test.assertEqual(expectedViews, supportedViews) } -pub fun testResolveExampleNFTViews() { - let code = Test.readFile("scripts/resolve_nft_views.cdc") - let scriptResult = blockchain.executeScript( - code, +access(all) +fun testResolveExampleNFTViews() { + let scriptResult = executeScript( + "scripts/resolve_nft_views.cdc", [] ) - Test.expect(scriptResult, Test.beSucceeded()) } diff --git a/transactions/mint_nft.cdc b/transactions/mint_nft.cdc index 0d6dc26a..c255c3df 100644 --- a/transactions/mint_nft.cdc +++ b/transactions/mint_nft.cdc @@ -2,10 +2,10 @@ /// It must be run with the account that has the minter resource /// stored in /storage/NFTMinter -import NonFungibleToken from "NonFungibleToken" -import ExampleNFT from "ExampleNFT" -import MetadataViews from "MetadataViews" -import FungibleToken from "FungibleToken" +import "NonFungibleToken" +import "ExampleNFT" +import "MetadataViews" +import "FungibleToken" transaction( recipient: Address, diff --git a/transactions/setup_account.cdc b/transactions/setup_account.cdc index 759634ba..24afcb5f 100644 --- a/transactions/setup_account.cdc +++ b/transactions/setup_account.cdc @@ -1,9 +1,9 @@ /// This transaction is what an account would run /// to set itself up to receive NFTs -import NonFungibleToken from "NonFungibleToken" -import ExampleNFT from "ExampleNFT" -import MetadataViews from "MetadataViews" +import "NonFungibleToken" +import "ExampleNFT" +import "MetadataViews" transaction { diff --git a/transactions/setup_account_to_receive_royalty.cdc b/transactions/setup_account_to_receive_royalty.cdc index 9269f532..b0a9db67 100644 --- a/transactions/setup_account_to_receive_royalty.cdc +++ b/transactions/setup_account_to_receive_royalty.cdc @@ -8,8 +8,8 @@ /// The path used for the public link is a new path that in the future, is expected to receive /// and generic token, which could be forwarded to the appropriate vault -import FungibleToken from "FungibleToken" -import MetadataViews from "MetadataViews" +import "FungibleToken" +import "MetadataViews" transaction(vaultPath: StoragePath) { diff --git a/transactions/transfer_nft.cdc b/transactions/transfer_nft.cdc index 966b803c..c0a3c5fc 100644 --- a/transactions/transfer_nft.cdc +++ b/transactions/transfer_nft.cdc @@ -1,8 +1,8 @@ /// This transaction is for transferring and NFT from /// one account to another -import NonFungibleToken from "NonFungibleToken" -import ExampleNFT from "ExampleNFT" +import "NonFungibleToken" +import "ExampleNFT" transaction(recipient: Address, withdrawID: UInt64) {