|
| 1 | +include .env |
| 2 | + |
| 3 | +# premint1 file should be minted with a 100-year duration, these are coinbase-specific domains |
| 4 | +# 3153600000 = 100 (years) * 365 (days) * 24 (hours) * 3600 (seconds) |
| 5 | +.PHONY: execute-testnet-premint-1 |
| 6 | +execute-testnet-premint-1: |
| 7 | + @for name in $$(cat script/premint/premint1); \ |
| 8 | + do \ |
| 9 | + echo "$$name"; \ |
| 10 | + forge script script/premint/Premint.s.sol --sig "run(string,uint256)" "$$name" 3153600000 \ |
| 11 | + --rpc-url $(BASE_SEPOLIA_RPC_URL) --fork-retries 5 --broadcast; \ |
| 12 | + done |
| 13 | + |
| 14 | +# premint1 file should be minted with a 100-year duration, these are coinbase-specific domains |
| 15 | +# 3153600000 = 100 (years) * 365 (days) * 24 (hours) * 3600 (seconds) |
| 16 | +.PHONY: execute-premint-1 |
| 17 | +execute-premint-1: |
| 18 | + @for name in $$(cat script/premint/premint1); \ |
| 19 | + do \ |
| 20 | + echo "$$name"; \ |
| 21 | + forge script script/premint/Premint.s.sol --sig "run(string,uint256)" "$$name" 3153600000 \ |
| 22 | + --rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \ |
| 23 | + done |
| 24 | + |
| 25 | +# premint2 file should be minted with a 10-year duration, these are cb exec domains |
| 26 | +# 315360000 = 10 (years) * 365 (days) * 24 (hours) * 3600 (seconds) |
| 27 | +.PHONY: execute-premint-2 |
| 28 | +execute-premint-2: |
| 29 | + @for name in $$(cat script/premint/premint2); \ |
| 30 | + do \ |
| 31 | + echo "$$name"; \ |
| 32 | + forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 315360000 \ |
| 33 | + --rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \ |
| 34 | + done |
| 35 | + |
| 36 | +# premint3 file should be minted with a 5-year duration, these are web2-specific domains |
| 37 | +# 157680000 = 5 (years) * 365 (days) * 24 (hours) * 3600 (seconds) |
| 38 | +.PHONY: execute-premint-3 |
| 39 | +execute-premint-3: |
| 40 | + @for name in $$(cat script/premint/premint3); \ |
| 41 | + do \ |
| 42 | + echo "$$name"; \ |
| 43 | + forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 157680000 \ |
| 44 | + --rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \ |
| 45 | + done |
| 46 | + |
| 47 | +# premint4 file should be minted with a 5-year duration, these are web3-specific domains/individuals |
| 48 | +# 157680000 = 5 (years) * 365 (days) * 24 (hours) * 3600 (seconds) |
| 49 | +.PHONY: execute-premint-4 |
| 50 | +execute-premint-4: |
| 51 | + @for name in $$(cat script/premint/premint4); \ |
| 52 | + do \ |
| 53 | + echo "$$name"; \ |
| 54 | + forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 157680000 \ |
| 55 | + --rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \ |
| 56 | + done |
| 57 | + |
| 58 | +# premint5 file should be minted with a 5-year duration, these are web3-specific domains/individuals |
| 59 | +# 157680000 = 5 (years) * 365 (days) * 24 (hours) * 3600 (seconds) |
| 60 | +.PHONY: execute-premint-5 |
| 61 | +execute-premint-5: |
| 62 | + @for name in $$(cat script/premint/premint5); \ |
| 63 | + do \ |
| 64 | + echo "$$name"; \ |
| 65 | + forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 157680000 \ |
| 66 | + --rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \ |
| 67 | + done |
| 68 | + |
| 69 | +# premint6 file should be minted with a 100-year duration, these are Coinbase/Base specific domains |
| 70 | +# 3153600000 = 100 (years) * 365 (days) * 24 (hours) * 3600 (seconds) |
| 71 | +.PHONY: execute-premint-6 |
| 72 | +execute-premint-6: |
| 73 | + @for name in $$(cat script/premint/premint6); \ |
| 74 | + do \ |
| 75 | + echo "$$name"; \ |
| 76 | + forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 3153600000 \ |
| 77 | + --rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \ |
| 78 | + done |
| 79 | + |
| 80 | +# premint7 file should be minted with a 1-year duration, these are the F500 names |
| 81 | +# 31536000 = 1 (years) * 365 (days) * 24 (hours) * 3600 (seconds) |
| 82 | +.PHONY: execute-premint-7 |
| 83 | +execute-premint-7: |
| 84 | + @for name in $$(cat script/premint/premint7); \ |
| 85 | + do \ |
| 86 | + echo "$$name"; \ |
| 87 | + forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 31536000 \ |
| 88 | + --rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \ |
| 89 | + done |
| 90 | + |
| 91 | +# premint8 file should be minted with a 1-year duration, these are the base BD names |
| 92 | +# 31536000 = 1 (years) * 365 (days) * 24 (hours) * 3600 (seconds) |
| 93 | +.PHONY: execute-premint-8 |
| 94 | +execute-premint-8: |
| 95 | + @for name in $$(cat script/premint/premint8); \ |
| 96 | + do \ |
| 97 | + echo "$$name"; \ |
| 98 | + forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 31536000 \ |
| 99 | + --rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \ |
| 100 | + done |
| 101 | + |
| 102 | +# premint9 file should be minted with a 100-year duration, these are the base project words |
| 103 | +# 3153600000 = 100 (years) * 365 (days) * 24 (hours) * 3600 (seconds) |
| 104 | +.PHONY: execute-premint-9 |
| 105 | +execute-premint-9: |
| 106 | + @for name in $$(cat script/premint/premint9); \ |
| 107 | + do \ |
| 108 | + echo "$$name"; \ |
| 109 | + forge script script/premint/Premint.s.sol --ffi --sig "run(string,uint256)" "$$name" 31536000 \ |
| 110 | + --rpc-url $(BASE_RPC_URL) --fork-retries 5 --broadcast; \ |
| 111 | + done |
0 commit comments