-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
77 lines (52 loc) · 2.38 KB
/
Makefile
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
.PHONY: all environment start test deploy-storage-mumbai
environment:
npm install
build:
npx hardhat compile
npx webpack
test:
npx hardhat test
box-transfer-ownable:
npx hardhat run --network rinkeby scripts/box.upgrade.v3.prepare.ts
prepare-box-v3-rinkeby:
npx hardhat run --network rinkeby scripts/box.upgrade.v3.prepare.ts
prepare-box-v3-mainnet:
npx hardhat run --network mainnet scripts/box.upgrade.v3.prepare.ts
verify-box-mainnet:
npx hardhat verify --contract contracts/token/RarePizzaBoxV3.sol:RarePizzasBoxV3 --network mainnet 0x0F754c7E6fdDE99B3BD16eC559587BD8A7DE4dCc
deploy-storage-mumbai:
npx hardhat run --network maticmum scripts/pizza.storage.deploy.ts
deploy-storage-polygon:
npx hardhat run --network matic scripts/pizza.storage.deploy.ts
deploy-random-mumbai:
npx hardhat run --network maticmum scripts/randomConsumer.polygon.deploy.ts
deploy-random-polygon:
npx hardhat run --network matic scripts/randomConsumer.polygon.deploy.ts
set-storage-random-mumbai:
npx hardhat run --network maticmum scripts/pizza.storage.setRandomConsumer.ts
set-storage-random-polygon:
npx hardhat run --network matic scripts/pizza.storage.setRandomConsumer.ts
deploy-rarepizzas-rinkeby:
npx hardhat run --network rinkeby scripts/rarePizzas.deploy.v1.ts
deploy-rarepizzas-mainnet:
npx hardhat run --network mainnet scripts/rarePizzas.deploy.v1.ts
deploy-oracle-rinkeby:
npx hardhat run --network rinkeby scripts/orderAPIOracle.deploy.ts
deploy-oracle-mainnet:
npx hardhat run --network mainnet scripts/orderAPIOracle.deploy.ts
deploy-orderapi-rinkeby:
npx hardhat run --network rinkeby scripts/orderAPIConsumer.deploy.ts
deploy-orderapi-mainnet:
npx hardhat run --network mainnet scripts/orderAPIConsumer.deploy.ts
configure-rarepizzas-rinkeby:
npx hardhat run --network rinkeby scripts/rarePizzas.configure.v1.ts
configure-rarepizzas-mainnet:
npx hardhat run --network mainnet scripts/rarePizzas.configure.v1.ts
toggle-rarepizzas-saleisactive-rinkeby:
npx hardhat run --network rinkeby scripts/rarePizzas.toggle.saleIsActive.v1.ts
toggle-rarepizzas-saleisactive-mainnet:
npx hardhat run --network mainnet scripts/rarePizzas.toggle.saleIsActive.v1.ts
verify-rarepizzas-rinkeby:
npx hardhat verify --contract contracts/token/RarePizzas.sol:RarePizzas --network rinkeby 0xe5516529aec6feecd79ff3bf9225d78846f6768a
withdraw-box-rinkeby:
npx hardhat run --network rinkeby scripts/box.withdraw.ts