-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 6.81 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "foundry-demo",
"version": "1.0.0",
"description": "",
"author": "",
"license": "MIT",
"scripts": {
"checkmakefile": "cat -e -t -v Makefile",
"install": "make install",
"clean": "make clean",
"remove": "make remove",
"reinstall": "make all",
"format": "forge fmt",
"compile": "forge compile",
"build": "forge build",
"rebuild": "make clean && make build",
"snapshot": "forge snapshot",
"lint": "make lint",
"update": "forge update",
"all": "make all",
"env": "echo run: 'source .env' && echo $SIGNER",
"test": "forge test -vv",
"erc20": "forge test -vvv --match-path test/ERC20Token.t.sol",
"erc721": "forge test -vvv --match-path test/ERC721Token.t.sol",
"erc721sales": "forge test -vv --match-path test/ERC721Sales.t.sol",
"erc1155": "forge test -vvv --match-path test/ERC1155.t.sol",
"counter": "forge test --match-path test/Counter.t.sol -vv",
"error": "forge test --match-path test/Error.t.sol -vvv",
"event": "forge test --match-path test/Event.t.sol -vvv",
"time": "forge test --match-path test/Time.t.sol -vvv",
"sign": "forge test --match-path test/Sign.t.sol -vvv",
"erc20permitoz": "forge test --match-path test/ERC20PermitOz.t.sol -vvv",
"deployatsameaddr": "forge test --match-path test/DeployAtSameAddr.t.sol -vvv",
"fuzz": "forge test --match-path test/Fuzz.t.sol",
"inv0": "forge test --match-path test/invariants/Invariant_0.t.sol -vvv",
"inv1": "forge test --match-path test/invariants/Invariant_1.t.sol -vvv",
"inv2": "forge test --match-path test/invariants/Invariant_2.t.sol -vvv",
"inv3": "forge test --match-path test/invariants/Invariant_3.t.sol -vvv",
"ffi1": "cat ffi_test.txt",
"ffi2": "forge test --match-path test/FFI.t.sol --ffi -vvv",
"diff": "FOUNDRY_FUZZ_RUNS=100 forge test --match-path test/DifferentialTest.t.sol --ffi -vvv",
"delegatecall": "forge test --match-path test/DelegateCall.t.sol -vvv",
"reentrancy": "forge test --match-path test/Reentrancy.t.sol -vvv",
"general": "forge test --match-path test/General.t.sol -vvv",
"deploybytecode": "forge test --match-path test/DeployBytecode.t.sol -vvv",
"deployCreate2": "forge test --match-path test/DeployCreate2.t.sol -vvv",
"inheritance": "forge test --match-path test/Inheritance.t.sol -vvv",
"wallet": "forge test --match-path test/WalletPayable.t.sol -vvv",
"weth": "forge test --match-path test/Weth.t.sol -vvv",
"multisig": "forge test --match-path test/MultiSigWallet.t.sol -vvv",
"callencodesig": "forge test --match-path test/CallEncodeSig.t.sol -vvv",
"library": "forge test --match-path test/Library.t.sol -vvv",
"keccak": "forge test --match-path test/Keccak.t.sol -vvv",
"verifysig": "forge test --match-path test/VerifySignature.t.sol -vvv",
"access": "forge test --match-path test/AccessControl.t.sol -vvv",
"auctiondutch": "forge test --match-path test/AuctionDutch.t.sol -vvv",
"auctionenglish": "forge test --match-path test/AuctionEnglish.t.sol -vvv",
"crowdfund": "forge test --match-path test/CrowdFund.t.sol -vvv",
"deploynew": "forge test --match-path test/DeployNew.t.sol -vvv",
"multicall": "forge test --match-path test/MultiCall.t.sol -vvv",
"multidelegatecall": "forge test --match-path test/MultiDelegateCall.t.sol -vvv",
"abidecode": "forge test --match-path test/AbiDecode.t.sol -vvv",
"abiencode": "forge test --match-path test/AbiEncode.t.sol -vvv",
"gassaving": "forge test --match-path test/GasSaving.t.sol -vvv",
"timelock": "forge test --match-path test/TimeLock.t.sol -vvv",
"vault": "forge test --match-path test/Vault.t.sol -vvv",
"csamm": "forge test --match-path test/ConstSumAMM.t.sol -vvv",
"cpamm": "forge test --match-path test/ConstProductAMM.t.sol -vvv",
"stakingrewards": "forge test --match-path test/StakingRewards.t.sol -vvv",
"stakingrewardsd": "forge test --match-path test/StakingRewardsD.t.sol -vvv",
"bitwise": "forge test --match-path test/BitwiseOperators.t.sol -vvv",
"bit": "forge test --match-path test/Bit.t.sol -vvv",
"ugtransparent": "forge test --match-path test/UgTransparent.t.sol -vvv",
"ugtransparent2": "forge test --match-path test/UgTransparent2.t.sol -vvv",
"uguups": "forge test --match-path test/UgUUPS.t.sol -vvv",
"erc20u": "forge test --match-path test/UgERC20.t.sol -vvv",
"fallback": "forge test --match-path test/Fallback.t.sol -vvv",
"forkweth": "forge test --fork-url $MAINNET_RPC_URL --match-path test/ForkWeth.t.sol -vvv",
"forkdai": "forge test --fork-url $MAINNET_RPC_URL --match-path test/ForkDai.t.sol -vvv",
"flashloanDexDeploy": "forge create --rpc-url $SEPOLIA_RPC_URL --private-key $PRIVATE_KEY --etherscan-api-key $ETHERSCAN_API_KEY --verify src/FlashloanDex.sol:FlashloanDex",
"flashloanClientAaveDeploy": "forge create --rpc-url $SEPOLIA_RPC_URL --constructor-args $PoolAddressesProviderAaveV3Sepolia --private-key $PRIVATE_KEY --etherscan-api-key $ETHERSCAN_API_KEY --verify src/FlashloanClientAave.sol:FlashloanClientAave",
"fLiquidityClientAaveDeploy": "forge create --rpc-url $SEPOLIA_RPC_URL --constructor-args $PoolAddressesProviderAaveV3Sepolia --private-key $PRIVATE_KEY --etherscan-api-key $ETHERSCAN_API_KEY --verify src/fLiquidityClientAave.sol:LiquidityClientAave",
"uniswapSingleSwapClientDeploy": "forge create --rpc-url $GOERLI_RPC_URL --private-key $PRIVATE_KEY --etherscan-api-key $ETHERSCAN_API_KEY --verify src/UniswapSingleSwap.sol:UniswapSingleSwap",
"uniswapSingleSwap": "forge test --fork-url $GOERLI_RPC_URL --match-path test/UniswapSingleSwap.t.sol -vvv",
"flashloanClientAave": "forge test --fork-url $SEPOLIA_RPC_URL --match-path test/FlashloanAave.t.sol -vvv",
"fLiquidityClientAave": "forge test --fork-url $SEPOLIA_RPC_URL --match-path test/fLiquidityClientAave.t.sol -vvv",
"deploySepolia": "forge script script/RemoteDeploymt.s.sol:RemoteDeploymtScript --rpc-url $SEPOLIA_RPC_URL --broadcast --verify -vvvv",
"deployArbitrum": "forge script script/RemoteDeploymt.s.sol:RemoteDeploymtScript --rpc-url $ARBITRUM_GOERLI --broadcast --verify -vvvv",
"deployOptimism": "forge script script/RemoteDeploymt.s.sol:RemoteDeploymtScript --rpc-url $OPTIMISM_GOERLI --broadcast --verify -vvvv",
"menu": "echo 'test- anvil - deployAnvil - makeAbi'",
"anvil": "anvil -m 'test test test test test test test test test test test junk'",
"anvil2": "anvil -m $MNEMONIC",
"erc721sales_deployAnvil": "forge script script/LocalDeploymt.s.sol:AnvilDeploymtScript --fork-url $ANVIL_RPC --broadcast -vvvv; echo erc721sales_makeabi",
"erc721sales_makeabi": "bun run makeabiERC721sales.ts",
"getCount": "cast call $CONTRACT_ADDRESS 'getCount()(uint256)'",
"setCount": "cast send $CONTRACT_ADDRESS 'setCount(uint256)' 327 --private-key $PRIVATE_KEY"
},
"devDependencies": {
"bun-types": "^1.0.6"
}
}