-
Notifications
You must be signed in to change notification settings - Fork 25
/
Makefile
111 lines (101 loc) · 4.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
include .env
# premint1 file should be minted with a 100-year duration, these are coinbase-specific domains
# 3153600000 = 100 (years) * 365 (days) * 24 (hours) * 3600 (seconds)
.PHONY: execute-testnet-premint-1
execute-testnet-premint-1:
@for name in $$(cat script/premint/premint1); \
do \
echo "$$name"; \
forge script script/premint/Premint.s.sol --sig "run(string,uint256)" "$$name" 3153600000 \
--rpc-url $(BASE_SEPOLIA_RPC_URL) --fork-retries 5 --broadcast; \
done
# premint1 file should be minted with a 100-year duration, these are coinbase-specific domains
# 3153600000 = 100 (years) * 365 (days) * 24 (hours) * 3600 (seconds)
.PHONY: execute-premint-1
execute-premint-1:
@for name in $$(cat script/premint/premint1); \
do \
echo "$$name"; \
forge script script/premint/Premint.s.sol --sig "run(string,uint256)" "$$name" 3153600000 \
--rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \
done
# premint2 file should be minted with a 10-year duration, these are cb exec domains
# 315360000 = 10 (years) * 365 (days) * 24 (hours) * 3600 (seconds)
.PHONY: execute-premint-2
execute-premint-2:
@for name in $$(cat script/premint/premint2); \
do \
echo "$$name"; \
forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 315360000 \
--rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \
done
# premint3 file should be minted with a 5-year duration, these are web2-specific domains
# 157680000 = 5 (years) * 365 (days) * 24 (hours) * 3600 (seconds)
.PHONY: execute-premint-3
execute-premint-3:
@for name in $$(cat script/premint/premint3); \
do \
echo "$$name"; \
forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 157680000 \
--rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \
done
# premint4 file should be minted with a 5-year duration, these are web3-specific domains/individuals
# 157680000 = 5 (years) * 365 (days) * 24 (hours) * 3600 (seconds)
.PHONY: execute-premint-4
execute-premint-4:
@for name in $$(cat script/premint/premint4); \
do \
echo "$$name"; \
forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 157680000 \
--rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \
done
# premint5 file should be minted with a 5-year duration, these are web3-specific domains/individuals
# 157680000 = 5 (years) * 365 (days) * 24 (hours) * 3600 (seconds)
.PHONY: execute-premint-5
execute-premint-5:
@for name in $$(cat script/premint/premint5); \
do \
echo "$$name"; \
forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 157680000 \
--rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \
done
# premint6 file should be minted with a 100-year duration, these are Coinbase/Base specific domains
# 3153600000 = 100 (years) * 365 (days) * 24 (hours) * 3600 (seconds)
.PHONY: execute-premint-6
execute-premint-6:
@for name in $$(cat script/premint/premint6); \
do \
echo "$$name"; \
forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 3153600000 \
--rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \
done
# premint7 file should be minted with a 1-year duration, these are the F500 names
# 31536000 = 1 (years) * 365 (days) * 24 (hours) * 3600 (seconds)
.PHONY: execute-premint-7
execute-premint-7:
@for name in $$(cat script/premint/premint7); \
do \
echo "$$name"; \
forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 31536000 \
--rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \
done
# premint8 file should be minted with a 1-year duration, these are the base BD names
# 31536000 = 1 (years) * 365 (days) * 24 (hours) * 3600 (seconds)
.PHONY: execute-premint-8
execute-premint-8:
@for name in $$(cat script/premint/premint8); \
do \
echo "$$name"; \
forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 31536000 \
--rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \
done
# premint9 file should be minted with a 100-year duration, these are the base project words
# 3153600000 = 100 (years) * 365 (days) * 24 (hours) * 3600 (seconds)
.PHONY: execute-premint-9
execute-premint-9:
@for name in $$(cat script/premint/premint9); \
do \
echo "$$name"; \
forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 31536000 \
--rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \
done