@@ -54,7 +54,7 @@ contract ERC721BalanceChangeEnforcer is CaveatEnforcer {
5454 /**
5555 * @notice This function caches the delegator's ERC721 token balance before the delegation is executed.
5656 * @param _terms 73 bytes where:
57- * - first byte: boolean indicating if the balance should decrease
57+ * - first byte: boolean indicating if the balance should decrease (true | 0x01) or increase (false | 0x00)
5858 * - next 20 bytes: address of the ERC721 token
5959 * - next 20 bytes: address of the recipient
6060 * - next 32 bytes: balance change guardrail amount (i.e., minimum increase OR maximum decrease, depending on
@@ -86,7 +86,7 @@ contract ERC721BalanceChangeEnforcer is CaveatEnforcer {
8686 /**
8787 * @notice This function enforces that the delegator's ERC721 token balance has changed by the expected amount.
8888 * @param _terms 73 bytes where:
89- * - first byte: boolean indicating if the balance should decrease
89+ * - first byte: boolean indicating if the balance should decrease (true | 0x01) or increase (false | 0x00)
9090 * - next 20 bytes: address of the ERC721 token
9191 * - next 20 bytes: address of the recipient
9292 * - next 32 bytes: balance change guardrail amount (i.e., minimum increase OR maximum decrease, depending on
@@ -119,7 +119,7 @@ contract ERC721BalanceChangeEnforcer is CaveatEnforcer {
119119 /**
120120 * @notice Decodes the terms used in this CaveatEnforcer.
121121 * @param _terms Encoded data that is used during the execution hooks.
122- * @return isDecrease_ Boolean indicating if the balance should decrease (true) or increase (false).
122+ * @return isDecrease_ Boolean indicating if the balance should decrease (true | 0x01 ) or increase (false | 0x00 ).
123123 * @return token_ The address of the ERC721 token.
124124 * @return recipient_ The address of the recipient of the token.
125125 * @return amount_ Balance change guardrail amount (i.e., minimum increase OR maximum decrease, depending on
0 commit comments