Skip to content

Commit 51e2525

Browse files
authored
fix typos ERC20FlashMint.spec
1 parent 6dc9242 commit 51e2525

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

certora/specs/ERC20FlashMint.spec

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ methods {
1818
*/
1919
ghost mapping(address => mathint) trackedMintAmount;
2020
ghost mapping(address => mathint) trackedBurnAmount;
21-
ghost mapping(address => mapping(address => mathint)) trackedTransferedAmount;
21+
ghost mapping(address => mapping(address => mathint)) trackedTransferredAmount;
2222

2323
function specUpdate(address from, address to, uint256 amount) {
2424
if (from == 0 && to == 0) { assert(false); } // defensive
@@ -28,7 +28,7 @@ function specUpdate(address from, address to, uint256 amount) {
2828
} else if (to == 0) {
2929
trackedBurnAmount[from] = amount;
3030
} else {
31-
trackedTransferedAmount[from][to] = amount;
31+
trackedTransferredAmount[from][to] = amount;
3232
}
3333
}
3434

@@ -51,5 +51,5 @@ rule checkMintAndBurn(env e) {
5151

5252
assert trackedMintAmount[receiver] == to_mathint(amount);
5353
assert trackedBurnAmount[receiver] == amount + to_mathint(recipient == 0 ? fees : 0);
54-
assert (fees > 0 && recipient != 0) => trackedTransferedAmount[receiver][recipient] == to_mathint(fees);
54+
assert (fees > 0 && recipient != 0) => trackedTransferredAmount[receiver][recipient] == to_mathint(fees);
5555
}

0 commit comments

Comments
 (0)