This report was generated by Aderyn, a static analysis tool built by Cyfrin, a blockchain security company. This report is not a substitute for manual audit or security review. It should not be relied upon for any purpose other than to assist in the identification of potential security vulnerabilities.
This test file is part of the ongoing contest on codehawks for The Standard Token
. Therefore I cannot reveal the details of what's inside EvilHolder.sol
however from the deployment perspective I can show some of the changes that I have made to the liquidationPool.js file.
const { expect } = require("chai");
const { ethers } = require("hardhat");
const { BigNumber } = ethers;
const { mockTokenManager, DEFAULT_COLLATERAL_RATE, TOKEN_ID, rewardAmountForAsset, DAY, fastForward, POOL_FEE_PERCENTAGE, DEFAULT_EUR_USD_PRICE } = require("./common");
require("@nomiclabs/hardhat-ethers");
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Type JavaScript here! | |
console.log("Lets do it ! "); | |
var x = 459; | |
console.log(x); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* No package must be added here because some Online Judges don't support it | |
* please remove, if any. | |
* | |
*/ | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When you got two numbers ` a = 9 ` and ` b = 7 ` | |
On performing | |
a ^= b | |
b ^= a | |
a ^= b | |
a abd b interchange values hence |