feat: composability #180
Annotations
10 errors
Report bundle size:
src/sdk/account/decorators/getFactoryData.ts#L8
'zeroAddress' is declared but its value is never read.
|
Report bundle size:
src/sdk/account/decorators/getFactoryData.ts#L9
'zeroHash' is declared but its value is never read.
|
Report bundle size:
src/sdk/account/decorators/getNexusAddress.ts#L3
All imports in import declaration are unused.
|
Report bundle size:
src/sdk/account/index.ts#L2
Module "./utils" has already exported a member named 'ModuleConfig'. Consider explicitly re-exporting to resolve the ambiguity.
|
Report bundle size:
src/sdk/account/toNexusAccount.ts#L63
All imports in import declaration are unused.
|
Report bundle size:
src/sdk/account/toNexusAccount.ts#L250
'signerAddress' is declared but its value is never read.
|
Report bundle size:
src/sdk/account/utils/getVersion.ts#L7
'ToNexusSmartAccountParameters' is declared but its value is never read.
|
Report bundle size:
src/sdk/clients/decorators/erc7579/installModule.ts#L116
Property 'validatorAddress' does not exist on type '{ getCounterFactualAddress: () => Promise<`0x${string}`>; isDeployed: () => Promise<boolean>; getInitCode: () => `0x${string}`; encodeExecute: (call: Call) => Promise<`0x${string}`>; encodeExecuteBatch: (calls: readonly Call[]) => Promise<`0x${string}`>; getUserOpHash: (userOp: UserOperation) => `0x${string}`; factoryData: `0x${string}`; factoryAddress: `0x${string}`; attesters: `0x${string}`[]; signer: { address: `0x${string}`; nonceManager?: NonceManager | undefined; sign?: ((parameters: { hash: `0x${string}`; }) => Promise<`0x${string}`>) | undefined; experimental_signAuthorization?: ((parameters: Authorization) => Promise<SignAuthorizationReturnType>) | undefined; signMessage: ({ message }: { message: SignableMessage; }) => Promise<`0x${string}`>; signTransaction: <serializer extends SerializeTransactionFn<TransactionSerializable> = SerializeTransactionFn<TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: { serializer?: serializer | undefined; } | undefined) => Promise<IsNarrowable<TransactionSerialized<GetTransactionType<transaction>>, `0x${string}`> extends true ? TransactionSerialized<GetTransactionType<transaction>> : `0x${string}`>; signTypedData: <const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>; publicKey: `0x${string}`; source: string; type: "local"; }; publicClient: { account: undefined; batch?: { multicall?: boolean | { batchSize?: number | undefined; wait?: number | undefined; } | undefined; } | undefined; cacheTime: number; ccipRead?: false | { request?: ((parameters: CcipRequestParameters) => Promise<`0x${string}`>) | undefined; } | undefined; chain: Chain | undefined; key: string; name: string; pollingInterval: number; request: EIP1193RequestFn<PublicRpcSchema>; transport: TransportConfig<string, EIP1193RequestFn> & Record<string, any>; type: string; uid: string; call: (parameters: CallParameters<Chain | undefined>) => Promise<CallReturnType>; createAccessList: (parameters: CreateAccessListParameters<Chain | undefined>) => Promise<{ accessList: AccessList; gasUsed: bigint; }>; createBlockFilter: () => Promise<{ id: `0x${string}`; request: EIP1193RequestFn<readonly [{ Method: "eth_getFilterChanges"; Parameters: [filterId: `0x${string}`]; ReturnType: `0x${string}`[] | RpcLog[]; }, { Method: "eth_getFilterLogs"; Parameters: [filterId: `0x${string}`]; ReturnType: RpcLog[]; }, { Method: "eth_uninstallFilter"; Parameters: [filterId: `0x${string}`]; ReturnType: boolean; }]>; type: "block"; }>; createContractEventFilter: <const abi extends Abi | readonly unknown[], eventName extends ContractEventName<abi> | undefined, args extends MaybeExtractEventArgsFromAbi<abi, eventName> | undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined>(args: CreateContractEventFilterParameters<abi, eventName, args, strict, fromBlock, toBlock>) => Promise<CreateContractEventFilterReturnType<abi, eventName, args, strict, fromBlock, toBlock>>; createEventFilter: <const abiEvent extends AbiEvent | undefined = undefined, const abiEvents extends readonly AbiEvent[] | readonly unknown[] | undefined = abiEvent extends AbiEvent ? [abiEvent] : undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined, _EventName extends string | undefined = MaybeAbiEventName<abiEvent>, _Args extends MaybeExtractEventArgsFromAbi<abiEvents, _EventName> | undefined = undefined>(args?: CreateEventFilterParameters<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args> | undefined) => Promise<{ [K in keyof Filter<"event", abiEvents, _EventName, _Args, strict, fromBlock, toBlock>]: Filter<"event
|
Report bundle size:
src/sdk/clients/decorators/erc7579/installModule.ts#L118
Property 'validatorAddress' does not exist on type '{ getCounterFactualAddress: () => Promise<`0x${string}`>; isDeployed: () => Promise<boolean>; getInitCode: () => `0x${string}`; encodeExecute: (call: Call) => Promise<`0x${string}`>; encodeExecuteBatch: (calls: readonly Call[]) => Promise<`0x${string}`>; getUserOpHash: (userOp: UserOperation) => `0x${string}`; factoryData: `0x${string}`; factoryAddress: `0x${string}`; attesters: `0x${string}`[]; signer: { address: `0x${string}`; nonceManager?: NonceManager | undefined; sign?: ((parameters: { hash: `0x${string}`; }) => Promise<`0x${string}`>) | undefined; experimental_signAuthorization?: ((parameters: Authorization) => Promise<SignAuthorizationReturnType>) | undefined; signMessage: ({ message }: { message: SignableMessage; }) => Promise<`0x${string}`>; signTransaction: <serializer extends SerializeTransactionFn<TransactionSerializable> = SerializeTransactionFn<TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: { serializer?: serializer | undefined; } | undefined) => Promise<IsNarrowable<TransactionSerialized<GetTransactionType<transaction>>, `0x${string}`> extends true ? TransactionSerialized<GetTransactionType<transaction>> : `0x${string}`>; signTypedData: <const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>; publicKey: `0x${string}`; source: string; type: "local"; }; publicClient: { account: undefined; batch?: { multicall?: boolean | { batchSize?: number | undefined; wait?: number | undefined; } | undefined; } | undefined; cacheTime: number; ccipRead?: false | { request?: ((parameters: CcipRequestParameters) => Promise<`0x${string}`>) | undefined; } | undefined; chain: Chain | undefined; key: string; name: string; pollingInterval: number; request: EIP1193RequestFn<PublicRpcSchema>; transport: TransportConfig<string, EIP1193RequestFn> & Record<string, any>; type: string; uid: string; call: (parameters: CallParameters<Chain | undefined>) => Promise<CallReturnType>; createAccessList: (parameters: CreateAccessListParameters<Chain | undefined>) => Promise<{ accessList: AccessList; gasUsed: bigint; }>; createBlockFilter: () => Promise<{ id: `0x${string}`; request: EIP1193RequestFn<readonly [{ Method: "eth_getFilterChanges"; Parameters: [filterId: `0x${string}`]; ReturnType: `0x${string}`[] | RpcLog[]; }, { Method: "eth_getFilterLogs"; Parameters: [filterId: `0x${string}`]; ReturnType: RpcLog[]; }, { Method: "eth_uninstallFilter"; Parameters: [filterId: `0x${string}`]; ReturnType: boolean; }]>; type: "block"; }>; createContractEventFilter: <const abi extends Abi | readonly unknown[], eventName extends ContractEventName<abi> | undefined, args extends MaybeExtractEventArgsFromAbi<abi, eventName> | undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined>(args: CreateContractEventFilterParameters<abi, eventName, args, strict, fromBlock, toBlock>) => Promise<CreateContractEventFilterReturnType<abi, eventName, args, strict, fromBlock, toBlock>>; createEventFilter: <const abiEvent extends AbiEvent | undefined = undefined, const abiEvents extends readonly AbiEvent[] | readonly unknown[] | undefined = abiEvent extends AbiEvent ? [abiEvent] : undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined, _EventName extends string | undefined = MaybeAbiEventName<abiEvent>, _Args extends MaybeExtractEventArgsFromAbi<abiEvents, _EventName> | undefined = undefined>(args?: CreateEventFilterParameters<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args> | undefined) => Promise<{ [K in keyof Filter<"event", abiEvents, _EventName, _Args, strict, fromBlock, toBlock>]: Filter<"event
|
Report bundle size:
src/sdk/clients/decorators/erc7579/moduleActivator.ts#L17
Property 'setModule' does not exist on type 'Assign_<{ getCounterFactualAddress: () => Promise<`0x${string}`>; isDeployed: () => Promise<boolean>; getInitCode: () => `0x${string}`; encodeExecute: (call: Call) => Promise<`0x${string}`>; encodeExecuteBatch: (calls: readonly Call[]) => Promise<`0x${string}`>; getUserOpHash: (userOp: UserOperation) => `0x${string}`; factoryData: `0x${string}`; factoryAddress: `0x${string}`; attesters: `0x${string}`[]; signer: { address: `0x${string}`; nonceManager?: NonceManager | undefined; sign?: ((parameters: { hash: `0x${string}`; }) => Promise<`0x${string}`>) | undefined; experimental_signAuthorization?: ((parameters: Authorization) => Promise<SignAuthorizationReturnType>) | undefined; signMessage: ({ message }: { message: SignableMessage; }) => Promise<`0x${string}`>; signTransaction: <serializer extends SerializeTransactionFn<TransactionSerializable> = SerializeTransactionFn<TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: { serializer?: serializer | undefined; } | undefined) => Promise<IsNarrowable<TransactionSerialized<GetTransactionType<transaction>>, `0x${string}`> extends true ? TransactionSerialized<GetTransactionType<transaction>> : `0x${string}`>; signTypedData: <const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: TypedDataDefinition<typedData, primaryType>) => Promise<`0x${string}`>; publicKey: `0x${string}`; source: string; type: "local"; }; publicClient: { account: undefined; batch?: { multicall?: boolean | { batchSize?: number | undefined; wait?: number | undefined; } | undefined; } | undefined; cacheTime: number; ccipRead?: false | { request?: ((parameters: CcipRequestParameters) => Promise<`0x${string}`>) | undefined; } | undefined; chain: Chain | undefined; key: string; name: string; pollingInterval: number; request: EIP1193RequestFn<PublicRpcSchema>; transport: TransportConfig<string, EIP1193RequestFn> & Record<string, any>; type: string; uid: string; call: (parameters: CallParameters<Chain | undefined>) => Promise<CallReturnType>; createAccessList: (parameters: CreateAccessListParameters<Chain | undefined>) => Promise<{ accessList: AccessList; gasUsed: bigint; }>; createBlockFilter: () => Promise<{ id: `0x${string}`; request: EIP1193RequestFn<readonly [{ Method: "eth_getFilterChanges"; Parameters: [filterId: `0x${string}`]; ReturnType: `0x${string}`[] | RpcLog[]; }, { Method: "eth_getFilterLogs"; Parameters: [filterId: `0x${string}`]; ReturnType: RpcLog[]; }, { Method: "eth_uninstallFilter"; Parameters: [filterId: `0x${string}`]; ReturnType: boolean; }]>; type: "block"; }>; createContractEventFilter: <const abi extends Abi | readonly unknown[], eventName extends ContractEventName<abi> | undefined, args extends MaybeExtractEventArgsFromAbi<abi, eventName> | undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined>(args: CreateContractEventFilterParameters<abi, eventName, args, strict, fromBlock, toBlock>) => Promise<CreateContractEventFilterReturnType<abi, eventName, args, strict, fromBlock, toBlock>>; createEventFilter: <const abiEvent extends AbiEvent | undefined = undefined, const abiEvents extends readonly AbiEvent[] | readonly unknown[] | undefined = abiEvent extends AbiEvent ? [abiEvent] : undefined, strict extends boolean | undefined = undefined, fromBlock extends BlockNumber | BlockTag | undefined = undefined, toBlock extends BlockNumber | BlockTag | undefined = undefined, _EventName extends string | undefined = MaybeAbiEventName<abiEvent>, _Args extends MaybeExtractEventArgsFromAbi<abiEvents, _EventName> | undefined = undefined>(args?: CreateEventFilterParameters<abiEvent, abiEvents, strict, fromBlock, toBlock, _EventName, _Args> | undefined) => Promise<{ [K in keyof Filter<"event", abiEvents, _EventName, _Args, strict, fromBlock, toBlock>]: Filter<"even
|
Loading