From e13be7f4dadb10dc689fbbb3116ad35032662707 Mon Sep 17 00:00:00 2001 From: ggobugi27 Date: Mon, 20 May 2024 10:04:01 +0900 Subject: [PATCH] fix outdated comments --- .../guard-policy/guard-policy-v1.pact | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/pact/concrete-policies/guard-policy/guard-policy-v1.pact b/pact/concrete-policies/guard-policy/guard-policy-v1.pact index dfb40c2f..f08f0503 100644 --- a/pact/concrete-policies/guard-policy/guard-policy-v1.pact +++ b/pact/concrete-policies/guard-policy/guard-policy-v1.pact @@ -78,7 +78,6 @@ (defun failure:bool () (enforce false "Disabled") - true ) (defun get-mint-guard:guard (token-id:string) @@ -149,13 +148,13 @@ (defun enforce-init:bool ( token:object{token-info} ) - @doc "Executed at `create-token` step of marmalade.ledger. Registers guards for \ - \ 'mint', 'burn', 'sale', 'transfer' operations of the created token. \ - \ Required msg-data keys: \ - \ * (optional) uri-guard:string - uri-guard and adds failure guard if absent. \ - \ * (optional) mint_guard:string - mint-guard and adds success guard if absent. \ - \ * (optional) burn_guard:string - burn-guard and adds success guard if absent. \ - \ * (optional) sale_guard:string - sale-guard and adds success guard if absent. \ + @doc "Executed at `create-token` step of marmalade.ledger. Registers guards for \ + \ 'mint', 'burn', 'sale', 'transfer', 'update-uri' operations of the created token.\ + \ Required msg-data keys: \ + \ * (optional) uri-guard:string - uri-guard and adds success guard if absent. \ + \ * (optional) mint_guard:string - mint-guard and adds success guard if absent. \ + \ * (optional) burn_guard:string - burn-guard and adds success guard if absent. \ + \ * (optional) sale_guard:string - sale-guard and adds success guard if absent. \ \ * (optional) transfer_guard:string - transfer-guard and adds success guard if absent. \ \ the created token" (require-capability (INIT-CALL (at "id" token) (at "precision" token) (at "uri" token) POLICY))