@sm-lab/keys 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { n as writeDepositDataFile, r as makeDepositKeys, s as CHAINS, t as toDepositDataJson } from "./io-
|
|
2
|
+
import { n as writeDepositDataFile, r as makeDepositKeys, s as CHAINS, t as toDepositDataJson } from "./io-BOinRHgq.mjs";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { Argument, Command, Option } from "commander";
|
|
5
5
|
import { Readable } from "node:stream";
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as bytesToHex, c as DEPOSIT_AMOUNT_GWEI, i as withdrawalCredentials, l as DOMAIN_DEPOSIT, n as writeDepositDataFile, o as hexToBytes, r as makeDepositKeys, s as CHAINS, t as toDepositDataJson } from "./io-
|
|
1
|
+
import { a as bytesToHex, c as DEPOSIT_AMOUNT_GWEI, i as withdrawalCredentials, l as DOMAIN_DEPOSIT, n as writeDepositDataFile, o as hexToBytes, r as makeDepositKeys, s as CHAINS, t as toDepositDataJson } from "./io-BOinRHgq.mjs";
|
|
2
2
|
export { CHAINS, DEPOSIT_AMOUNT_GWEI, DOMAIN_DEPOSIT, bytesToHex, hexToBytes, makeDepositKeys, toDepositDataJson, withdrawalCredentials, writeDepositDataFile };
|
|
@@ -27,7 +27,7 @@ const CHAINS = {
|
|
|
27
27
|
};
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region ../../fixtures/receipts/dist/index.mjs
|
|
30
|
-
/** Default committed address books per (chain, module).
|
|
30
|
+
/** Default committed address books per (chain, module). */
|
|
31
31
|
const addresses = {
|
|
32
32
|
hoodi: {
|
|
33
33
|
csm: {
|
|
@@ -41,11 +41,10 @@ const addresses = {
|
|
|
41
41
|
Verifier: "0x1773b2Ff99A030F6000554Cb8A5Ec93145650cbA",
|
|
42
42
|
Ejector: "0xCAe028378d69D54dc8bF809e6C44CF751F997b80",
|
|
43
43
|
ExitPenalties: "0xD259b31083Be841E5C85b2D481Cfc17C14276800",
|
|
44
|
-
GateSeal: "0x725166f143DdcD9EC1b96dfb70f16E3f44968A65",
|
|
45
44
|
LidoLocator: "0xe2EF9536DAAAEBFf5b1c130957AB3E80056b06D8",
|
|
46
|
-
|
|
45
|
+
IcsGate: "0x10a254E724fe2b7f305F76f3F116a3969c53845f",
|
|
47
46
|
PermissionlessGate: "0xd7bD8D2A9888D1414c770B35ACF55890B15de26a",
|
|
48
|
-
|
|
47
|
+
IdvtcGate: "0x887F8512F9998045f4b5993e6eaa6BCfE5F02A94",
|
|
49
48
|
ChainId: 560048,
|
|
50
49
|
"git-ref": "a6be775483e17d76718f8852428b5251a75c6429",
|
|
51
50
|
protocol: {
|
|
@@ -71,15 +70,13 @@ const addresses = {
|
|
|
71
70
|
MetaRegistry: "0x857289cCBFBc4C134Cc312022a104CD9b38d8AAE",
|
|
72
71
|
CuratedGateFactory: "0x0e26d2cC3f0c2A17D2D784068cAAD34206B6804D",
|
|
73
72
|
LidoLocator: "0xe2EF9536DAAAEBFf5b1c130957AB3E80056b06D8",
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"0x28518be9894C20135F280a9539617783b08a04c7"
|
|
82
|
-
],
|
|
73
|
+
CuratedGatePO: "0xF1862d120831eBE31f7202378Ff3Ae63A5658ae3",
|
|
74
|
+
CuratedGatePTO: "0x410A309dF81B782190188CDB3d215729cc6bC1f3",
|
|
75
|
+
CuratedGatePGO: "0xa5A604b172787e017b1b118F02fE54fC1D696519",
|
|
76
|
+
CuratedGateDO: "0xE966874cDB6A4282ED75Cd10439e3799e5531a2D",
|
|
77
|
+
CuratedGateEEO: "0x5c063da03e3f21443716D75a2205EE16706e1153",
|
|
78
|
+
CuratedGateIODC: "0x1cD655Ac53CfE8269DE0DBfc0140B074623C4A6B",
|
|
79
|
+
CuratedGateIODCP: "0x28518be9894C20135F280a9539617783b08a04c7",
|
|
83
80
|
ChainId: 560048,
|
|
84
81
|
"git-ref": "a6be775483e17d76718f8852428b5251a75c6429",
|
|
85
82
|
protocol: {
|
|
@@ -92,32 +89,66 @@ const addresses = {
|
|
|
92
89
|
}
|
|
93
90
|
}
|
|
94
91
|
},
|
|
95
|
-
mainnet: {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
92
|
+
mainnet: {
|
|
93
|
+
csm: {
|
|
94
|
+
CSModule: "0xdA7dE2ECdDfccC6c3AF10108Db212ACBBf9EA83F",
|
|
95
|
+
Accounting: "0x4d72BFF1BeaC69925F8Bd12526a39BAAb069e5Da",
|
|
96
|
+
FeeDistributor: "0xD99CC66fEC647E68294C6477B40fC7E0F6F618D0",
|
|
97
|
+
FeeOracle: "0x4D4074628678Bd302921c20573EEa1ed38DdF7FB",
|
|
98
|
+
HashConsensus: "0x71093efF8D8599b5fA340D665Ad60fA7C80688e4",
|
|
99
|
+
ParametersRegistry: "0x9D28ad303C90DF524BA960d7a2DAC56DcC31e428",
|
|
100
|
+
ValidatorStrikes: "0xaa328816027F2D32B9F56d190BC9Fa4A5C07637f",
|
|
101
|
+
Verifier: "0xdC5FE1782B6943f318E05230d688713a560063DC",
|
|
102
|
+
Ejector: "0x610B517D380f287c239C93F8eF6FfBd567AA4bA5",
|
|
103
|
+
ExitPenalties: "0x06cd61045f958A209a0f8D746e103eCc625f4193",
|
|
104
|
+
LidoLocator: "0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb",
|
|
105
|
+
IcsGate: "0xB314D4A76C457c93150d308787939063F4Cc67E0",
|
|
106
|
+
PermissionlessGate: "0xb8cd8F059Ad7a5dB8CAfDe34aAb007317F7156C8",
|
|
107
|
+
IdvtcGate: "0xa12760721A72A7199aB38059DA6690b9Cd4ed7B8",
|
|
108
|
+
ChainId: 1,
|
|
109
|
+
"git-ref": "4d3de6658499e1c1774951780a97d7ae25ca18b8",
|
|
110
|
+
protocol: {
|
|
111
|
+
"stakingRouter": "0xFdDf38947aFB03C621C71b06C9C70bce73f12999",
|
|
112
|
+
"validatorsExitBusOracle": "0x0De4Ea0184c2ad0BacA7183356Aea5B8d5Bf5c6e",
|
|
113
|
+
"lido": "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84",
|
|
114
|
+
"withdrawalQueue": "0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1",
|
|
115
|
+
"burner": "0xE76c52750019b80B43E36DF30bf4060EB73F573a",
|
|
116
|
+
"withdrawalVault": "0xB9D7934878B5FB9610B3fE8A5e441e8fad7E293f"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
cm: {
|
|
120
|
+
CuratedModule: "0xDa5F930cE326EB5205085D66c72A4E79d60cB8C1",
|
|
121
|
+
Accounting: "0x2F91e3A8C5d6593bf4F8403fCfeCcd62dF59f6F6",
|
|
122
|
+
FeeDistributor: "0x367d23c756599c20DCc8D6943F4976E8F88D60d7",
|
|
123
|
+
FeeOracle: "0x8EeFCdbD984c30E472BcbF545783D051CB5114e5",
|
|
124
|
+
HashConsensus: "0x902D64c93F6595339aA46105627a085591051aFb",
|
|
125
|
+
ParametersRegistry: "0xffC1C5d59CeAC6F6c27E701F04a70cb50474607C",
|
|
126
|
+
ValidatorStrikes: "0xf4618370a1fBf46905B16C10817c8CFaD924D6db",
|
|
127
|
+
Verifier: "0xC392F457960f1B13Ebaf1aa6C065479dD507E1E3",
|
|
128
|
+
Ejector: "0xe181A377A2d2BDE9A83f1474BC3DB7A412de091E",
|
|
129
|
+
ExitPenalties: "0x004aFb7DAA7dEA20EbAaB75c9F4892C879FaCCe0",
|
|
130
|
+
MetaRegistry: "0xA64b339eebD3dC3De848298B6a140955932901d8",
|
|
131
|
+
CuratedGateFactory: "0xDdE99d63b352A665d04339D4792E6852Ce89d1B7",
|
|
132
|
+
LidoLocator: "0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb",
|
|
133
|
+
CuratedGatePO: "0x6093EFA6B5E2FF3be54d1c895c9deA932805c49F",
|
|
134
|
+
CuratedGatePTO: "0x8c002c6eE10cf8adb78D1F9EB2e134FdaF8A7C1a",
|
|
135
|
+
CuratedGatePGO: "0x207798e6fD1aa7Ee8a63782A64c959cD6727b78C",
|
|
136
|
+
CuratedGateDO: "0xeF273Ca4A21Ba7B414Ae3C9f9b443038cb133F72",
|
|
137
|
+
CuratedGateEEO: "0x3BbBb175f7F07954DE00052b20E1c5572223F24D",
|
|
138
|
+
CuratedGateIODC: "0x86A8d4E0db5938D21d98047544668FCCB1A9ADc8",
|
|
139
|
+
CuratedGateIODCP: "0x773933F9db8964A17d62fb808f2EC7A2de4247CC",
|
|
140
|
+
ChainId: 1,
|
|
141
|
+
"git-ref": "3b0c016c77590c208f2b71ca51410cb55ea2dcc2",
|
|
142
|
+
protocol: {
|
|
143
|
+
"stakingRouter": "0xFdDf38947aFB03C621C71b06C9C70bce73f12999",
|
|
144
|
+
"validatorsExitBusOracle": "0x0De4Ea0184c2ad0BacA7183356Aea5B8d5Bf5c6e",
|
|
145
|
+
"lido": "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84",
|
|
146
|
+
"withdrawalQueue": "0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1",
|
|
147
|
+
"burner": "0xE76c52750019b80B43E36DF30bf4060EB73F573a",
|
|
148
|
+
"withdrawalVault": "0xB9D7934878B5FB9610B3fE8A5e441e8fad7E293f"
|
|
149
|
+
}
|
|
119
150
|
}
|
|
120
|
-
}
|
|
151
|
+
}
|
|
121
152
|
};
|
|
122
153
|
//#endregion
|
|
123
154
|
//#region src/receipts.ts
|
|
@@ -272,4 +303,4 @@ function writeDepositDataFile(path, keys) {
|
|
|
272
303
|
//#endregion
|
|
273
304
|
export { bytesToHex as a, DEPOSIT_AMOUNT_GWEI as c, withdrawalCredentials as i, DOMAIN_DEPOSIT as l, writeDepositDataFile as n, hexToBytes as o, makeDepositKeys as r, CHAINS as s, toDepositDataJson as t };
|
|
274
305
|
|
|
275
|
-
//# sourceMappingURL=io-
|
|
306
|
+
//# sourceMappingURL=io-BOinRHgq.mjs.map
|