Skip to content

Commit

Permalink
fix: use Test instead of DSTest
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <[email protected]>
  • Loading branch information
jsvisa committed Apr 2, 2024
1 parent 1bfb3e3 commit d2dea21
Show file tree
Hide file tree
Showing 121 changed files with 124 additions and 124 deletions.
2 changes: 1 addition & 1 deletion src/test/88mph_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity 0.8.10;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
CheatCodes cheats = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
I88mph mphNFT = I88mph(0xF0b7DE03134857391d8D43Ed48e20EDF21461097);

Expand Down
2 changes: 1 addition & 1 deletion src/test/AES_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface IAES is IERC20 {
function distributeFee() external;
}

contract ContractTest is DSTest {
contract ContractTest is Test {
IAES AES = IAES(0xdDc0CFF76bcC0ee14c3e73aF630C029fe020F907);
IERC20 USDT = IERC20(0x55d398326f99059fF775485246999027B3197955);
Uni_Pair_V2 Pair = Uni_Pair_V2(0x40eD17221b3B2D8455F4F1a05CAc6b77c5f707e3);
Expand Down
2 changes: 1 addition & 1 deletion src/test/ANCH_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "./interface.sol";
// @Contract address
// https://bscscan.com/address/0xa4f5d4afd6b9226b3004dd276a9f778eb75f2e9e#code

contract ContractTest is DSTest {
contract ContractTest is Test {
IERC20 ANCH = IERC20(0xA4f5d4aFd6b9226b3004dD276A9F778EB75f2e9e);
IERC20 USDT = IERC20(0x55d398326f99059fF775485246999027B3197955);
Uni_Pair_V2 Pair = Uni_Pair_V2(0xaD0dA05b9C20fa541012eE2e89AC99A864CC68Bb);
Expand Down
2 changes: 1 addition & 1 deletion src/test/APC_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface TransparentUpgradeableProxy {
function swap(address a1, address a2, uint256 amount) external;
}

contract ContractTest is DSTest {
contract ContractTest is Test {
IERC20 APC = IERC20(0x2AA504586d6CaB3C59Fa629f74c586d78b93A025);
IERC20 MUSD = IERC20(0x473C33C55bE10bB53D81fe45173fcc444143a13e);
IERC20 USDT = IERC20(0x55d398326f99059fF775485246999027B3197955);
Expand Down
2 changes: 1 addition & 1 deletion src/test/AUR_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface IAurumNodePool {
function getNodes(address account) external view returns (NodeEntity[] memory nodes);
}

contract ContractTest is DSTest {
contract ContractTest is Test {
IERC20 AUR = IERC20(0x73A1163EA930A0a67dFEFB9C3713Ef0923755B78);
IERC20 WBNB = IERC20(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);

Expand Down
2 changes: 1 addition & 1 deletion src/test/AkutarNFT_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ There are two serious logic vulnerabilities
forge test --contracts ./src/test/AkutarNFT_exp.sol -vv
*/
contract AkutarNFTExploit is DSTest {
contract AkutarNFTExploit is Test {
CheatCodes cheats = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
IAkutarNFT akutarNft = IAkutarNFT(0xF42c318dbfBaab0EEE040279C6a2588Fa01a961d);

Expand Down
2 changes: 1 addition & 1 deletion src/test/Annex_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "./interface.sol";
// @TX
// https://bscscan.com/tx/0x3757d177482171dcfad7066c5e88d6f0f0fe74b28f32e41dd77137cad859c777

contract ContractTest is DSTest {
contract ContractTest is Test {
IERC20 WBNB = IERC20(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
Uni_Router_V2 Router = Uni_Router_V2(0x10ED43C718714eb63d5aA57B78B54704E256024E);
IUniswapV2Factory Factory = IUniswapV2Factory(0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73);
Expand Down
2 changes: 1 addition & 1 deletion src/test/Anyswap_poc.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity 0.8.10;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
address WETH_Address = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
CheatCodes cheats = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
AnyswapV4Router any = AnyswapV4Router(0x6b7a87899490EcE95443e979cA9485CBE7E71522);
Expand Down
2 changes: 1 addition & 1 deletion src/test/BBOX_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "./interface.sol";
// @TX
// https://bscscan.com/tx/0xac57c78881a7c00dfbac0563e21b5ae3a8e3f9d1b07198a27313722a166cc0a3

contract ContractTest is DSTest {
contract ContractTest is Test {
IERC20 BBOX = IERC20(0x5DfC7f3EbBB9Cbfe89bc3FB70f750Ee229a59F8c);
IERC20 WBNB = IERC20(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
Uni_Router_V2 Router = Uni_Router_V2(0x10ED43C718714eb63d5aA57B78B54704E256024E);
Expand Down
2 changes: 1 addition & 1 deletion src/test/BDEX_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface BPair {
function getReserves() external view returns (uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast);
}

contract ContractTest is DSTest {
contract ContractTest is Test {
IERC20 WBNB = IERC20(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
IERC20 BDEX = IERC20(0x7E0F01918D92b2750bbb18fcebeEDD5B94ebB867);
BvaultsStrategy vaultsStrategy = BvaultsStrategy(0xB2B1DC3204ee8899d6575F419e72B53E370F6B20);
Expand Down
2 changes: 1 addition & 1 deletion src/test/BEC_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface BECToken {
// https://etherscan.io/tx/0xad89ff16fd1ebe3a0a7cf4ed282302c06626c1af33221ebe0d3a470aba4a660f
// https://etherscan.io/address/0xc5d105e63711398af9bbff092d4b6769c82f793d#code Line261

contract ContractTest is DSTest {
contract ContractTest is Test {
address attacker1 = 0xb4D30Cac5124b46C2Df0CF3e3e1Be05f42119033;
address attacker2 = 0x0e823fFE018727585EaF5Bc769Fa80472F76C3d7;
BECToken bec = BECToken(0xC5d105E63711398aF9bbff092d4B6769C82F793D);
Expand Down
2 changes: 1 addition & 1 deletion src/test/BGLD_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interface ERCPorxy {
function migrate() external;
}

contract ContractTest is DSTest {
contract ContractTest is Test {
IERC20 WBNB = IERC20(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
IERC20 USDT = IERC20(0x55d398326f99059fF775485246999027B3197955);
IERC20 oldBGLD = IERC20(0xC2319E87280c64e2557a51Cb324713Dd8d1410a3);
Expand Down
2 changes: 1 addition & 1 deletion src/test/BNB48MEVBot_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface MEVBot {
function pancakeCall(address sender, uint256 amount0, uint256 amount1, bytes calldata data) external;
}

contract ContractTest is DSTest {
contract ContractTest is Test {
address public _token0;
address public _token1;
IERC20 USDT = IERC20(0x55d398326f99059fF775485246999027B3197955);
Expand Down
2 changes: 1 addition & 1 deletion src/test/Bacon_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pragma solidity >=0.7.0 <0.9.0;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
CheatCodes cheats = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
IUniswapV2Pair pair = IUniswapV2Pair(0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc);
IERC20 usdc = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);
Expand Down
2 changes: 1 addition & 1 deletion src/test/BadGuysbyRPF_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Etherscan tx - https://etherscan.io/tx/0xb613c68b00c532fe9b28a50a91c021d61a98d90
forge test --contracts ./src/test/BadGuysbyRPF_exp.sol -vv*/

contract BadGuysbyRPFExploit is DSTest {
contract BadGuysbyRPFExploit is Test {
CheatCodes cheats = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);

address owner = 0x09eFF2449882F9e727A8e9498787f8ff81465Ade; //owner of Bad Guys by RPF
Expand Down
2 changes: 1 addition & 1 deletion src/test/Bancor_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface IBancor {
function safeTransferFrom(IERC20 _token, address _from, address _to, uint256 _value) external;
}

contract BancorExploit is DSTest {
contract BancorExploit is Test {
CheatCodes cheats = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
address bancorAddress = 0x5f58058C0eC971492166763c8C22632B583F667f;
address victim = 0xfd0B4DAa7bA535741E6B5Ba28Cba24F9a816E67E;
Expand Down
2 changes: 1 addition & 1 deletion src/test/Bayc_apecoin_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Debug:
https://dashboard.tenderly.co/tx/mainnet/0xeb8c3bebed11e2e4fcd30cbfc2fb3c55c4ca166003c7f7d319e78eaab9747098
https://tools.blocksec.com/tx/eth/0xeb8c3bebed11e2e4fcd30cbfc2fb3c55c4ca166003c7f7d319e78eaab9747098*/

contract ContractTest is DSTest {
contract ContractTest is Test {
CheatCodes cheats = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
IBAYCi bayc = IBAYCi(0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D);
INFTXVault NFTXVault = INFTXVault(0xEA47B64e1BFCCb773A0420247C0aa0a3C1D2E5C5);
Expand Down
2 changes: 1 addition & 1 deletion src/test/Beanstalk_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pragma solidity >=0.7.0 <0.9.0;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
CheatCodes cheat = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
ILendingPool aavelendingPool = ILendingPool(0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9);
IERC20 dai = IERC20(0x6B175474E89094C44Da98b954EedeAC495271d0F);
Expand Down
2 changes: 1 addition & 1 deletion src/test/BrahTOPG_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface Zapper {
function zapIn(ZapData calldata zapCall) external;
}

contract ContractTest is DSTest {
contract ContractTest is Test {
Zapper zappper = Zapper(0xD248B30A3207A766d318C7A87F5Cf334A439446D);
IERC20 WETH = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
IERC20 USDC = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);
Expand Down
2 changes: 1 addition & 1 deletion src/test/BuildF_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pragma solidity >=0.7.0 <0.9.0;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
CheatCodes cheat = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
IBuildFinance BuildGovernance = IBuildFinance(0x5A6eBeB61A80B2a2a5e0B4D893D731358d888583);
IERC20 build = IERC20(0x6e36556B3ee5Aa28Def2a8EC3DAe30eC2B208739);
Expand Down
2 changes: 1 addition & 1 deletion src/test/Chainswap_exp1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct Signature {
// function receive(uint256 fromChainId, address to, uint256 nonce, uint256 volume, Signature[] memory signatures) virtual external payable;
// }

contract ContractTest is DSTest {
contract ContractTest is Test {
address exploiter = 0x941a9E3B91E1cc015702B897C512D265fAE88A9c;
address proxy = 0x7fe68FC06e1A870DcbeE0acAe8720396DC12FC86;
address impl = 0x373CE6Da1AEB73A9bcA412F2D3b7eD07Af3AD490;
Expand Down
2 changes: 1 addition & 1 deletion src/test/Chainswap_exp2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ struct Signature {
// function receive(uint256 fromChainId, address to, uint256 nonce, uint256 volume, Signature[] memory signatures) virtual external payable;
// }

contract ContractTest is DSTest {
contract ContractTest is Test {
address exploiter = 0xEda5066780dE29D00dfb54581A707ef6F52D8113;
address proxy = 0x089165ac9a7Bf61833Da86268F34A01652543466;
address impl = 0xc5185d2c68aAa7c5f0921948f8135d01510D647F;
Expand Down
2 changes: 1 addition & 1 deletion src/test/CompoundTusd_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity 0.8.10;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
ICErc20Delegate cTUSD = ICErc20Delegate(0x12392F67bdf24faE0AF363c24aC620a2f67DAd86);
IERC20 tusd = IERC20(0x0000000000085d4780B73119b644AE5ecd22b376);
address tusdLegacy = 0x8dd5fbCe2F6a956C3022bA3663759011Dd51e73E;
Expand Down
2 changes: 1 addition & 1 deletion src/test/Cover_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface Blacksmith {
function withdraw(address _lpToken, uint256 _amount) external;
}

contract ContractTest is DSTest {
contract ContractTest is Test {
CheatCodes cheat = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);

Blacksmith public bs = Blacksmith(0xE0B94a7BB45dD905c79bB1992C9879f40F1CAeD5);
Expand Down
2 changes: 1 addition & 1 deletion src/test/Cream_2_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ contract SecondContract {
receive() external payable {}
}

contract ContractTest is DSTest {
contract ContractTest is Test {
IDaiFlashloan DaiFlash = IDaiFlashloan(0x1EB4CF3A948E7D72A198fe073cCb8C7a948cD853);
ICurvePool curvePool = ICurvePool(0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7);
IComptroller comptroller = IComptroller(0x3d5BC3c8d13dcB8bF317092d84783c2697AE9258);
Expand Down
2 changes: 1 addition & 1 deletion src/test/Cream_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pragma solidity >=0.7.0 <0.9.0;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
AMP amp = AMP(0xfF20817765cB7f73d4bde2e66e067E58D11095C2);

IERC1820Registry ierc1820 = IERC1820Registry(0x1820a4B7618BdE71Dce8cdc73aAB6C95905faD24);
Expand Down
2 changes: 1 addition & 1 deletion src/test/DDC_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface IPair {
function sync() external;
}

contract ContractTest is DSTest {
contract ContractTest is Test {
IERC20 WBNB = IERC20(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
IRouter TargetRouter = IRouter(0x22Dc25866BB53c52BAfA6cB80570FC83FC7dd125);
IERC20 USDT = IERC20(0x55d398326f99059fF775485246999027B3197955);
Expand Down
2 changes: 1 addition & 1 deletion src/test/DEI_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface IDEI is IERC20 {
function burnFrom(address account, uint256 amount) external;
}

contract DEIPocTest is DSTest {
contract DEIPocTest is Test {
IStablePair pair = IStablePair(0x7DC406b9B904a52D10E19E848521BbA2dE74888b);
IDEI DEI = IDEI(0xDE1E704dae0B4051e80DAbB26ab6ad6c12262DA0);
IERC20 USDC = IERC20(0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8);
Expand Down
2 changes: 1 addition & 1 deletion src/test/DFX_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface Curve {
function withdraw(uint256 _curvesToBurn, uint256 _deadline) external;
}

contract ContractTest is DSTest {
contract ContractTest is Test {
IERC20 XIDR = IERC20(0xebF2096E01455108bAdCbAF86cE30b6e5A72aa52);
IERC20 USDC = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48);
IERC20 WETH = IERC20(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);
Expand Down
2 changes: 1 addition & 1 deletion src/test/DPC_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface IDPC {
function claimDpcAirdrop(address) external;
}

contract ContractTest is DSTest {
contract ContractTest is Test {
IDPC DPC = IDPC(0xB75cA3C3e99747d0e2F6e75A9fBD17F5Ac03cebE);
IERC20 WBNB = IERC20(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
IERC20 USDT = IERC20(0x55d398326f99059fF775485246999027B3197955);
Expand Down
2 changes: 1 addition & 1 deletion src/test/Defrost_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface LSWUSDC {
function redeem(uint256 shares, address receiver, address owner) external;
}

contract ContractTest is DSTest {
contract ContractTest is Test {
IERC20 USDC = IERC20(0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E);
LSWUSDC LSW = LSWUSDC(0xfF152e21C5A511c478ED23D1b89Bb9391bE6de96);
Uni_Pair_V2 Pair = Uni_Pair_V2(0xf4003F4efBE8691B60249E6afbD307aBE7758adb);
Expand Down
2 changes: 1 addition & 1 deletion src/test/Discover_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface ETHpledge {
// Expected error. [FAIL. Reason: Pancake: INSUFFICIENT_INPUT_AMOUNT]
// Because we don't repay funds to pancake.

contract ContractTest is DSTest {
contract ContractTest is Test {
IPancakePair PancakePair = IPancakePair(0x7EFaEf62fDdCCa950418312c6C91Aef321375A00);
IPancakePair PancakePair2 = IPancakePair(0x92f961B6bb19D35eedc1e174693aAbA85Ad2425d);
IERC20 busd = IERC20(0x55d398326f99059fF775485246999027B3197955);
Expand Down
2 changes: 1 addition & 1 deletion src/test/ElasticSwap_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ interface ELPExchange is IERC20 {
) external;
}

contract ContractTest is DSTest {
contract ContractTest is Test {
IERC20 TIC = IERC20(0x75739a693459f33B1FBcC02099eea3eBCF150cBe);
IERC20 USDC_E = IERC20(0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664);
Uni_Pair_V2 SPair = Uni_Pair_V2(0x4CF9dC05c715812FeAD782DC98de0168029e05C8);
Expand Down
2 changes: 1 addition & 1 deletion src/test/Elephant_Money_poc.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pragma solidity 0.8.10;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
IWBNB wbnb = IWBNB(payable(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c));

address public BUSD_USDT_Pair = 0x7EFaEf62fDdCCa950418312c6C91Aef321375A00;
Expand Down
2 changes: 1 addition & 1 deletion src/test/Eleven.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tx hash: 0x6450d8f4db09972853e948bee44f2cb54b9df786dace774106cd28820e906789
https://peckshield.medium.com/eleven-finance-incident-root-cause-analysis-123b5675fa76*/

contract Eleven is DSTest {
contract Eleven is Test {
CheatCodes cheats = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);

IPancakeRouter router = IPancakeRouter(payable(0x10ED43C718714eb63d5aA57B78B54704E256024E));
Expand Down
2 changes: 1 addition & 1 deletion src/test/Fantasm_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity 0.8.10;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
CheatCodes cheat = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
IERC20 fsm = IERC20(0xaa621D2002b5a6275EF62d7a065A865167914801);
IERC20 xFTM = IERC20(0xfBD2945D3601f21540DDD85c29C5C3CaF108B96F);
Expand Down
2 changes: 1 addition & 1 deletion src/test/FlippazOne.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pragma solidity >=0.7.0 <0.9.0;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
CheatCodes cheat = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
Flippaz FlippazOne = Flippaz(0xE85A08Cf316F695eBE7c13736C8Cc38a7Cc3e944);

Expand Down
6 changes: 3 additions & 3 deletions src/test/FortressLoans.exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ address constant Vyper1 = 0x98245Bfbef4e3059535232D68821a58abB265C45;
address constant Vyper2 = 0x1d4B4796853aEDA5Ab457644a18B703b6bA8b4aB;
address constant PancakeRouter = 0x10ED43C718714eb63d5aA57B78B54704E256024E;

contract ProposalCreateFactory is DSTest {
contract ProposalCreateFactory is Test {
/* Method 0xb9470ff4 */
// 創建提案, 提案內容為: 設置 fToken 的抵押係數從 0 變更為 700000000000000000 (0.7 ether)
function ProposalCreated() public {
Expand All @@ -66,7 +66,7 @@ contract ProposalCreateFactory is DSTest {
}
}

contract Attack is DSTest {
contract Attack is Test {
/* Method 0x2b69be8e */
function exploit() public {
// Excute Proposal 11
Expand Down Expand Up @@ -256,7 +256,7 @@ contract Attack is DSTest {
receive() external payable {}
}

contract Hacker is DSTest {
contract Hacker is Test {
using stdStorage for StdStorage;

StdStorage stdstore;
Expand Down
2 changes: 1 addition & 1 deletion src/test/GDS_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ contract ClaimReward {
}
}

contract ContractTest is DSTest {
contract ContractTest is Test {
GDSToken GDS = GDSToken(0xC1Bb12560468fb255A8e8431BDF883CC4cB3d278);
IERC20 USDT = IERC20(0x55d398326f99059fF775485246999027B3197955);
IERC20 WBNB = IERC20(0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c);
Expand Down
2 changes: 1 addition & 1 deletion src/test/Grim_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity 0.8.10;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
address btcAddress = 0x321162Cd933E2Be498Cd2267a90534A804051b11;
address wftmAddress = 0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83;
address routerAddress = 0x16327E3FbDaCA3bcF7E38F5Af2599D2DDc33aE52;
Expand Down
2 changes: 1 addition & 1 deletion src/test/Gym_1_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity 0.8.10;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
CheatCodes cheat = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
IPancakeRouter pancakeRouter = IPancakeRouter(payable(0x10ED43C718714eb63d5aA57B78B54704E256024E));
ILiquidityMigrationV2 liquidityMigrationV2 =
Expand Down
2 changes: 1 addition & 1 deletion src/test/Gym_2_exp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pragma solidity 0.8.10;
import "forge-std/Test.sol";
import "./interface.sol";

contract ContractTest is DSTest {
contract ContractTest is Test {
CheatCodes cheat = CheatCodes(0x7109709ECfa91a80626fF3989D68f67F5b1DD12D);
IPancakeRouter pancakeRouter = IPancakeRouter(payable(0x6CD71A07E72C514f5d511651F6808c6395353968));
GymToken gymnet = GymToken(0x3a0d9d7764FAE860A659eb96A500F1323b411e68);
Expand Down
Loading

0 comments on commit d2dea21

Please sign in to comment.