@@ -67,21 +67,21 @@ const caveats = caveatBuilder
6767```
6868
6969<details >
70- <summary >< b > Important considerations when using caveat enforcers</ b > </summary >
71- < p >
72-
73- - Delegations without caveats are entirely permissive.
74- It is crucial to add appropriate caveats to restrict the delegated authority sufficiently.
75- Failing to do so could result in unintended access or actions.
76- - Caveat enforcers safeguard the execution process but do not guarantee a final state post-redemption.
77- Always combine caveat enforcers thoughtfully to create comprehensive protection.
78- - When using multiple caveat enforcers that modify external contract states, the order matters.
79- For example, if you include both [ ` NativeBalanceChangeEnforcer ` ] ( ../../reference/caveats.md#nativebalancechange ) to ensure a balance has increased and
80- [ ` NativeTokenPaymentEnforcer ` ] ( ../../reference/caveats.md#nativetokenpayment ) to deduct from that balance,
81- executing ` NativeTokenPaymentEnforcer ` first might cause ` NativeBalanceChangeEnforcer ` to fail validation.
82- Consider the sequence of enforcers carefully when creating delegations with interdependent caveats.
83-
84- </ p >
70+ <summary >Important considerations when using caveat enforcers</summary >
71+ < div >
72+
73+ - Delegations without caveats are entirely permissive.
74+ It is crucial to add appropriate caveats to restrict the delegated authority sufficiently.
75+ Failing to do so could result in unintended access or actions.
76+ - Caveat enforcers safeguard the execution process but do not guarantee a final state post-redemption.
77+ Always combine caveat enforcers thoughtfully to create comprehensive protection.
78+ - When using multiple caveat enforcers that modify external contract states, the order matters.
79+ For example, if you include both [ ` NativeBalanceChangeEnforcer ` ] ( ../../reference/caveats.md#nativebalancechange ) to ensure a balance has increased and
80+ [ ` NativeTokenPaymentEnforcer ` ] ( ../../reference/caveats.md#nativetokenpayment ) to deduct from that balance,
81+ executing ` NativeTokenPaymentEnforcer ` first might cause ` NativeBalanceChangeEnforcer ` to fail validation.
82+ Consider the sequence of enforcers carefully when creating delegations with interdependent caveats.
83+
84+ </ div >
8585</details >
8686
8787For convenience, you can also pass the ` CaveatBuilder ` directly to the various helper methods for creating a delegation. For example:
0 commit comments