From db653969aff91bd16f92c363aaf8b12e5dc6907b Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Mon, 2 Sep 2024 12:33:10 -0600 Subject: [PATCH] update scipt comments --- cadence/scripts/escrow/resolve_locked_nft_metadata.cdc | 2 +- cadence/scripts/escrow/resolve_locked_vault_metadata.cdc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cadence/scripts/escrow/resolve_locked_nft_metadata.cdc b/cadence/scripts/escrow/resolve_locked_nft_metadata.cdc index ffef4b01..cc7a2bf2 100644 --- a/cadence/scripts/escrow/resolve_locked_nft_metadata.cdc +++ b/cadence/scripts/escrow/resolve_locked_nft_metadata.cdc @@ -6,7 +6,7 @@ import "FlowEVMBridgeUtils" /// Resolves the view for the requested locked NFT or nil if the NFT is not locked /// NOTE: This functionality is not available via the escrow contract as `resolveView` is not a `view` method, but the -/// escrow contract +/// escrow contract does provide the necessary functionality to resolve the view from the context of a script /// /// @param bridgeAddress: The address of the bridge contract (included as the VM bridge address varies across networks) /// @param nftTypeIdentifier: The identifier of the NFT type diff --git a/cadence/scripts/escrow/resolve_locked_vault_metadata.cdc b/cadence/scripts/escrow/resolve_locked_vault_metadata.cdc index af3f773a..9c4808ea 100644 --- a/cadence/scripts/escrow/resolve_locked_vault_metadata.cdc +++ b/cadence/scripts/escrow/resolve_locked_vault_metadata.cdc @@ -5,6 +5,8 @@ import "FlowEVMBridgeTokenEscrow" import "FlowEVMBridgeUtils" /// Resolves the view for the requested locked Vault or nil if the Vault is not locked in escrow +/// NOTE: This functionality is not available via the escrow contract as `resolveView` is not a `view` method, but the +/// escrow contract does provide the necessary functionality to resolve the view from the context of a script /// /// @param bridgeAddress: The address of the bridge contract (included as the VM bridge address varies across networks) /// @param vaultTypeIdentifier: The identifier of the Vault type