Flow price: --
10f97697cf9f6da9ddda23fc9d180ecca1887934b2ec67e1c4a5d7f7d2c1878e

Transaction

Hash: 10f97697cf9f6da9ddda23fc9d180ecca1887934b2ec67e1c4a5d7f7d2c1878e
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
  --> 10f97697cf9f6da9ddda23fc9d180ecca1887934b2ec67e1c4a5d7f7d2c1878e:51:32
   |
51 |       listingResourceIds.append(storefront.createListing(
52 |         nftProviderCapability: exampleNFTProvider,
53 |         nftType: Type<@ExampleNFT.NFT>(),
54 |         nftID: nftId,
55 |         salePaymentVaultType: Type<@FlowToken.Vault>(),
56 |         saleCuts: saleCuts,
57 |         marketplacesCapability: marketplacesCapability.length == 0 ? nil : marketplacesCapability,
58 |         customID: nil,
59 |         commissionAmount: UFix64(0),
60 |         expiry: expiry
61 |       ))
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> 2d55b98eb200daef.NFTStorefrontV2:569:34
    |
569 |             let listing <- create Listing(
570 |                 nftProviderCapability: nftProviderCapability,
571 |                 nftType: nftType,
572 |                 nftUUID: uuid,
573 |                 nftID: nftID,
574 |                 salePaymentVaultType: salePaymentVaultType,
575 |                 saleCuts: saleCuts,
576 |                 marketplacesCapability: marketplacesCapability,
577 |                 storefrontID: self.uuid,
578 |                 customID: customID,
579 |                 commissionAmount: commissionAmount,
580 |                 expiry: expiry
581 |             )
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> 2d55b98eb200daef.NFTStorefrontV2:465:27
    |
465 |             self.details = ListingDetails(
466 |                 nftType: nftType,
467 |                 nftUUID: nftUUID,
468 |                 nftID: nftID,
469 |                 salePaymentVaultType: salePaymentVaultType,
470 |                 saleCuts: saleCuts,
471 |                 storefrontID: storefrontID,
472 |                 customID: customID,
473 |                 commissionAmount: commissionAmount,
474 |                 expiry: expiry
475 |             )
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: pre-condition failed: Expiry should be in the future
   --> 2d55b98eb200daef.NFTStorefrontV2:186:16
    |
186 |                 expiry > UInt64(getCurrentBlock().timestamp) : "Expiry should be in the future"
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Hash:
10f97697cf9f6da9ddda23fc9d180ecca1887934b2ec67e1c4a5d7f7d2c1878e
Status:
ERROR
Block height:
179991942
Block id:
85aefb4233e9c4c792bb39f4904ef1f8d40c15bd5a7ba65242df4f97260330d8
Timestamp:
Friday 3 May 2024 at 13:36:26 UTC
()
Proposer:
Authorizers:
Gas used:
75