Skip to content

Commit

Permalink
update readme and fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-six committed Mar 7, 2024
1 parent 933e578 commit f871aa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/SecurityCheck.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ T2 - Use fixed compiler version to compile contract (SWC-103)

T3 - Check for correct inheritance, keep it simple and linear (SWC-125)

T4 - Constructor should not be exsited in proxyed contract
T4 - Constructor should not be existed in proxyed contract

T5 - Right-To-Left-Override control character not used (SWC-130)

Expand Down Expand Up @@ -136,7 +136,7 @@ A4 - Does msg.sender has the authority to move token of other addresses?

A5 - Use the balance difference as the amount when non-standard token deposit in or withdraw out of contract

A6 - Is there a possiblity that tokens can not be retrieved?
A6 - Is there a possibility that tokens can not be retrieved?

A7 - Is code is still correct if the token contract is upgradable?

Expand All @@ -150,7 +150,7 @@ O2 - Use TWP of onchain oracle

O3 - The price of LP is correct?

O4 - Is there a possiblity that lend a large amout of low-value token and manipulate its price to borrow a high-value token?
O4 - Is there a possibility that lend a large amount of low-value token and manipulate its price to borrow a high-value token?

## Reference

Expand Down
2 changes: 1 addition & 1 deletion examples/manta/scripts/changeFeeParams.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ task('changeFeeParams', 'Change fee params for zkLink').setAction(async (taskArg
console.log(`The tx hash: ${txHash}`);

/**
* Query the message informations on L1 via txHash.
* Query the message information on L1 via txHash.
*/
const message = (await messenger.getMessagesByTransaction(txHash)).pop();
console.log(`The message: ${JSON.stringify(message)}`);
Expand Down

0 comments on commit f871aa8

Please sign in to comment.