@lidofinance/lsv-cli 1.0.0-alpha.30 → 1.0.0-alpha.32
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/contracts/voting.js +1 -0
- package/dist/contracts/voting.js.map +1 -1
- package/dist/features/advanced-config.js +1 -1
- package/dist/features/advanced-config.js.map +1 -1
- package/dist/features/token-manager.d.ts +0 -1
- package/dist/features/token-manager.js +1 -1
- package/dist/providers/wallet.d.ts +3 -3
- package/dist/utils/proof/proofs.d.ts +6 -6
- package/dist/utils/spinner/spinners.js +1 -1
- package/dist/utils/spinner/spinners.js.map +1 -1
- package/dist/version/index.js +1 -1
- package/package.json +1 -1
package/dist/contracts/voting.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getContract, createPublicClient, http, } from 'viem';
|
|
2
2
|
import { votingAbi } from '../abi/index.js';
|
|
3
3
|
import { getChain, getElUrl, getVotingAddress } from '../configs/index.js';
|
|
4
|
+
// TODO: Delete
|
|
4
5
|
export const getVotingContract = () => {
|
|
5
6
|
const elUrl = getElUrl();
|
|
6
7
|
const address = getVotingAddress();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voting.js","sourceRoot":"","sources":["../../contracts/voting.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,IAAI,GAIL,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE/D,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAG/B,EAAE;IACF,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,OAAO,GAAG,gBAAgB,EAAE,CAAC;IACnC,MAAM,MAAM,GAAG,kBAAkB,CAAC;QAChC,KAAK,EAAE,QAAQ,EAAE;QACjB,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC;KACvB,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,WAAW,CAAC;QAC3B,GAAG,EAAE,SAAS;QACd,OAAO;QACP,MAAM;KACP,CAAC,CAAC;IAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;AAC9B,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"voting.js","sourceRoot":"","sources":["../../contracts/voting.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,IAAI,GAIL,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE/D,eAAe;AACf,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAG/B,EAAE;IACF,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,OAAO,GAAG,gBAAgB,EAAE,CAAC;IACnC,MAAM,MAAM,GAAG,kBAAkB,CAAC;QAChC,KAAK,EAAE,QAAQ,EAAE;QACjB,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC;KACvB,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,WAAW,CAAC;QAC3B,GAAG,EAAE,SAAS;QACd,OAAO;QACP,MAAM;KACP,CAAC,CAAC;IAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;AAC9B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advanced-config.js","sourceRoot":"","sources":["../../features/advanced-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"advanced-config.js","sourceRoot":"","sources":["../../features/advanced-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,mBAAmB,GAAG,IAAI,iBAAiB,EAE7C,CAAC;AACL,mBAAmB,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;AAEhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACpC,MAAM,KAAK,GAAG,mBAAmB,CAAC,QAAQ,EAAE,CAAC;IAC7C,OAAO,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;IAC3C,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,EAAE,OAAe,EAAE,EAAE;IACzD,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAClC,IAAI,KAAK,EAAE,CAAC;QACV,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,OAAO,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;AAC7C,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -5,7 +5,7 @@ export declare const getAccount: () => {
|
|
|
5
5
|
sign: (parameters: {
|
|
6
6
|
hash: import("viem").Hash;
|
|
7
7
|
}) => Promise<import("viem").Hex>;
|
|
8
|
-
signAuthorization: (parameters: import("
|
|
8
|
+
signAuthorization: (parameters: import("viem/_types/types/authorization").AuthorizationRequest) => Promise<import("viem/accounts").SignAuthorizationReturnType>;
|
|
9
9
|
signMessage: ({ message }: {
|
|
10
10
|
message: import("viem").SignableMessage;
|
|
11
11
|
}) => Promise<import("viem").Hex>;
|
|
@@ -24,7 +24,7 @@ export declare const getPublicClient: () => {
|
|
|
24
24
|
} | undefined;
|
|
25
25
|
cacheTime: number;
|
|
26
26
|
ccipRead?: false | {
|
|
27
|
-
request?: (parameters: import("viem").CcipRequestParameters) => Promise<import("
|
|
27
|
+
request?: (parameters: import("viem").CcipRequestParameters) => Promise<import("viem/_types/utils/ccip").CcipRequestReturnType>;
|
|
28
28
|
} | undefined;
|
|
29
29
|
chain: import("viem").Chain;
|
|
30
30
|
key: string;
|
|
@@ -6869,7 +6869,7 @@ export declare const getPublicClient: () => {
|
|
|
6869
6869
|
simulateCalls: <const calls extends readonly unknown[]>(args: import("viem").SimulateCallsParameters<calls>) => Promise<import("viem").SimulateCallsReturnType<calls>>;
|
|
6870
6870
|
simulateContract: <const abi extends import("viem").Abi | readonly unknown[], functionName extends import("viem").ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends import("viem").ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends import("viem").Chain | undefined, accountOverride extends import("viem").Account | Address | undefined = undefined>(args: import("viem").SimulateContractParameters<abi, functionName, args_1, import("viem").Chain, chainOverride, accountOverride>) => Promise<import("viem").SimulateContractReturnType<abi, functionName, args_1, import("viem").Chain, import("viem").Account | undefined, chainOverride, accountOverride>>;
|
|
6871
6871
|
verifyMessage: (args: import("viem").VerifyMessageActionParameters) => Promise<import("viem").VerifyMessageActionReturnType>;
|
|
6872
|
-
verifySiweMessage: (args: import("
|
|
6872
|
+
verifySiweMessage: (args: import("viem/_types/actions/siwe/verifySiweMessage").VerifySiweMessageParameters) => Promise<import("viem/_types/actions/siwe/verifySiweMessage").VerifySiweMessageReturnType>;
|
|
6873
6873
|
verifyTypedData: (args: import("viem").VerifyTypedDataActionParameters) => Promise<import("viem").VerifyTypedDataActionReturnType>;
|
|
6874
6874
|
uninstallFilter: (args: import("viem").UninstallFilterParameters) => Promise<import("viem").UninstallFilterReturnType>;
|
|
6875
6875
|
waitForTransactionReceipt: (args: import("viem").WaitForTransactionReceiptParameters<import("viem").Chain>) => Promise<import("viem").TransactionReceipt>;
|
|
@@ -57,7 +57,7 @@ export declare const createStateProof: (validatorIndex: number, bodyBytes: Array
|
|
|
57
57
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
58
58
|
}>>;
|
|
59
59
|
eth1DepositIndex: import("@chainsafe/ssz").UintNumberType;
|
|
60
|
-
validators: import("@chainsafe/ssz").ListCompositeType<import("
|
|
60
|
+
validators: import("@chainsafe/ssz").ListCompositeType<import("@lodestar/types/lib/phase0/validator.js").ValidatorNodeStructType>;
|
|
61
61
|
balances: import("@chainsafe/ssz").ListUintNum64Type;
|
|
62
62
|
randaoMixes: import("@chainsafe/ssz").VectorCompositeType<import("@chainsafe/ssz").ByteVectorType>;
|
|
63
63
|
slashings: import("@chainsafe/ssz").VectorBasicType<import("@chainsafe/ssz").UintNumberType>;
|
|
@@ -89,7 +89,7 @@ export declare const createStateProof: (validatorIndex: number, bodyBytes: Array
|
|
|
89
89
|
withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
90
90
|
transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
91
91
|
parentHash: import("@chainsafe/ssz").ByteVectorType;
|
|
92
|
-
feeRecipient: import("
|
|
92
|
+
feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
|
|
93
93
|
stateRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
94
94
|
receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
95
95
|
logsBloom: import("@chainsafe/ssz").ByteVectorType;
|
|
@@ -138,7 +138,7 @@ export declare const createStateProof: (validatorIndex: number, bodyBytes: Array
|
|
|
138
138
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
139
139
|
}>>;
|
|
140
140
|
eth1DepositIndex: import("@chainsafe/ssz").UintNumberType;
|
|
141
|
-
validators: import("@chainsafe/ssz").ListCompositeType<import("
|
|
141
|
+
validators: import("@chainsafe/ssz").ListCompositeType<import("@lodestar/types/lib/phase0/validator.js").ValidatorNodeStructType>;
|
|
142
142
|
balances: import("@chainsafe/ssz").ListUintNum64Type;
|
|
143
143
|
randaoMixes: import("@chainsafe/ssz").VectorCompositeType<import("@chainsafe/ssz").ByteVectorType>;
|
|
144
144
|
slashings: import("@chainsafe/ssz").VectorBasicType<import("@chainsafe/ssz").UintNumberType>;
|
|
@@ -172,7 +172,7 @@ export declare const createStateProof: (validatorIndex: number, bodyBytes: Array
|
|
|
172
172
|
withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
173
173
|
transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
174
174
|
parentHash: import("@chainsafe/ssz").ByteVectorType;
|
|
175
|
-
feeRecipient: import("
|
|
175
|
+
feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
|
|
176
176
|
stateRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
177
177
|
receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
178
178
|
logsBloom: import("@chainsafe/ssz").ByteVectorType;
|
|
@@ -221,7 +221,7 @@ export declare const createStateProof: (validatorIndex: number, bodyBytes: Array
|
|
|
221
221
|
blockHash: import("@chainsafe/ssz").ByteVectorType;
|
|
222
222
|
}>>;
|
|
223
223
|
eth1DepositIndex: import("@chainsafe/ssz").UintNumberType;
|
|
224
|
-
validators: import("@chainsafe/ssz").ListCompositeType<import("
|
|
224
|
+
validators: import("@chainsafe/ssz").ListCompositeType<import("@lodestar/types/lib/phase0/validator.js").ValidatorNodeStructType>;
|
|
225
225
|
balances: import("@chainsafe/ssz").ListUintNum64Type;
|
|
226
226
|
randaoMixes: import("@chainsafe/ssz").VectorCompositeType<import("@chainsafe/ssz").ByteVectorType>;
|
|
227
227
|
slashings: import("@chainsafe/ssz").VectorBasicType<import("@chainsafe/ssz").UintNumberType>;
|
|
@@ -255,7 +255,7 @@ export declare const createStateProof: (validatorIndex: number, bodyBytes: Array
|
|
|
255
255
|
withdrawalsRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
256
256
|
transactionsRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
257
257
|
parentHash: import("@chainsafe/ssz").ByteVectorType;
|
|
258
|
-
feeRecipient: import("
|
|
258
|
+
feeRecipient: import("@lodestar/types/lib/utils/executionAddress.js").ExecutionAddressType;
|
|
259
259
|
stateRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
260
260
|
receiptsRoot: import("@chainsafe/ssz").ByteVectorType;
|
|
261
261
|
logsBloom: import("@chainsafe/ssz").ByteVectorType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import logUpdate from 'log-update';
|
|
2
|
-
import spinners from './spinners.json'
|
|
2
|
+
import spinners from './spinners.json';
|
|
3
3
|
export const showSpinner = (args) => {
|
|
4
4
|
const { type = 'point', message = 'Executing...' } = args || {};
|
|
5
5
|
const spinner = spinners[type || 'point'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinners.js","sourceRoot":"","sources":["../../../utils/spinner/spinners.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,QAAQ,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"spinners.js","sourceRoot":"","sources":["../../../utils/spinner/spinners.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAOvC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,IAAW,EAAE,EAAE;IACzC,MAAM,EAAE,IAAI,GAAG,OAAO,EAAE,OAAO,GAAG,cAAc,EAAE,GAAG,IAAI,IAAI,EAAE,CAAC;IAChE,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,IAAI,OAAO,CAAC,CAAC;IAC1C,IAAI,KAAK,GAAG,CAAC,CAAC;IAEd,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;QAChC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;QAC3B,SAAS,CAAC,MAAM,CAAC,CAAC,KAAK,GAAG,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,IAAI,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAErB,OAAO,GAAG,EAAE;QACV,aAAa,CAAC,QAAQ,CAAC,CAAC;QACxB,SAAS,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/version/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = 'v1.0.0-alpha.
|
|
1
|
+
export const version = 'v1.0.0-alpha.32'
|