Browse Source

Added rule burnBatchAmountProportionalToBalanceReduction (unimplemented)

Thomas Adams 3 years ago
parent
commit
2a73da9f67
1 changed files with 6 additions and 0 deletions
  1. 6 0
      certora/specs/ERC1155Burnable.spec

+ 6 - 0
certora/specs/ERC1155Burnable.spec

@@ -41,6 +41,12 @@ rule burnAmountProportionalToBalanceReduction {
         "A larger burn must lead to a larger decrease in balance";
         "A larger burn must lead to a larger decrease in balance";
 }
 }
 
 
+/// Unimplemented rule to verify monotonicity of burnBatch.
+rule burnBatchAmountProportionalToBalanceReduction {
+    assert true, 
+        "just a placeholder that should never show up";
+}
+
 /// This rule should always fail.
 /// This rule should always fail.
 rule sanity {
 rule sanity {
     method f; env e; calldataarg args;
     method f; env e; calldataarg args;