feat: account kit #8684
Annotations
10 errors and 1 warning
|
|
|
Argument of type '{ sender: `0x${string}`; nonce: bigint; initCode: `0x${string}`; callData: `0x${string}`; callGasLimit: bigint; verificationGasLimit: bigint; preVerificationGas: bigint; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; paymasterAndData: `0x${string}`; signature: `0x${string}`; factory?: undefined; factoryData?: undefined; paymaster?: undefined; paymasterVerificationGasLimit?: undefined; paymasterPostOpGasLimit?: undefined; paymasterData?: undefined; } | { sender: `0x${string}`; nonce: bigint; factory?: `0x${string}` | undefined; factoryData?: `0x${string}` | undefined; callData: `0x${string}`; callGasLimit: bigint; verificationGasLimit: bigint; preVerificationGas: bigint; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; paymaster?: `0x${string}` | undefined; paymasterVerificationGasLimit?: bigint | undefined; paymasterPostOpGasLimit?: bigint | undefined; paymasterData?: `0x${string}` | undefined; signature: `0x${string}`; initCode?: undefined; paymasterAndData?: undefined; }' is not assignable to parameter of type 'UserOperation<GetEntryPointVersion<entryPoint>>'.
|
Type '{ sender: `0x${string}`; nonce: bigint; initCode: `0x${string}`; callData: `0x${string}`; callGasLimit: bigint; verificationGasLimit: bigint; preVerificationGas: bigint; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; paymasterAndData: `0x${string}`; signature: `0x${string}`; factory?: undefined; factoryData?: undefined; paymaster?: undefined; paymasterVerificationGasLimit?: undefined; paymasterPostOpGasLimit?: undefined; paymasterData?: undefined; } | { sender: `0x${string}`; nonce: bigint; factory?: `0x${string}` | undefined; factoryData?: `0x${string}` | undefined; callData: `0x${string}`; callGasLimit: bigint; verificationGasLimit: bigint; preVerificationGas: bigint; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; paymaster?: `0x${string}` | undefined; paymasterVerificationGasLimit?: bigint | undefined; paymasterPostOpGasLimit?: bigint | undefined; paymasterData?: `0x${string}` | undefined; signature: `0x${string}`; initCode?: undefined; paymasterAndData?: undefined; }' is not assignable to type 'UserOperation<GetEntryPointVersion<entryPoint>>'.
|
|
|
|
Argument of type 'Client<Transport, Chain, SimpleSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", Transport, Chain>, undefined, { call: (parameters: CallParameters<Chain>) => Promise<CallReturnType>; 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 TAbi extends readonly unknown[] | Abi, TEventName extends ContractEventName<TAbi> | undefined, TArgs extends MaybeExtractEventArgsFromAbi<TAbi, TEventName> | undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends bigint | BlockTag | undefined = undefined, TToBlock extends bigint | BlockTag | undefined = undefined>(args: CreateContractEventFilterParameters<TAbi, TEventName, TArgs, TStrict, TFromBlock, TToBlock>) => Promise<CreateContractEventFilterReturnType<TAbi, TEventName, TArgs, TStrict, TFromBlock, TToBlock>>; createEventFilter: <const TAbiEvent extends AbiEvent | undefined = undefined, const TAbiEvents extends readonly unknown[] | readonly AbiEvent[] | undefined = TAbiEvent extends AbiEvent ? [TAbiEvent] : undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends bigint | BlockTag | undefined = undefined, TToBlock extends bigint | BlockTag | undefined = undefined, _EventName extends string | undefined = MaybeAbiEventName<TAbiEvent>, _Args extends MaybeExtractEventArgsFromAbi<TAbiEvents, _EventName> | undefined = undefined>(args?: CreateEventFilterParameters<TAbiEvent, TAbiEvents, TStrict, TFromBlock, TToBlock, _EventName, _Args> | undefined) => Promise<{ [K in keyof Filter<"event", TAbiEvents, _EventName, _Args, TStrict, TFromBlock, TToBlock>]: Filter<"event", TAbiEvents, _EventName, _Args, TStrict, TFromBlock, TToBlock>[K]; }>; createPendingTransactionFilter: () => 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: "transaction"; }>; estimateContractGas: <TChain extends Chain | undefined, const abi extends readonly unknown[] | Abi, functionName extends ContractFunctionName<abi, "nonpayable" | "payable">, args extends ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>>(args: EstimateContractGasParameters<abi, functionName, args, TChain>) => Promise<bigint>; estimateGas: (args: EstimateGasParameters<Chain>) => Promise<bigint>; getBalance: (args: GetBalanceParameters) => Promise<bigint>; getBlobBaseFee: () => Promise<bigint>; getBlock: <TIncludeTransactions extends boolean = false, TBlockTag extends BlockTag = "latest">(args?: GetBlockParameters<TIncludeTransactions, TBlockTag> | undefined) => Promise<{ number: TBlockTag extends "pending" ? null : bigint; nonce: TBlockTag extends "pending" ? null : `0x${string}`; hash: TBlockTag extends "pending" ? null : `0x${string}`; logsBloom: TBlockTag extends "pending" ? null : `0x${string}`; baseFeePerGas: bigint | null; blobGasUsed: bigint; difficulty: bigint; excessBlobGas: bigint; extraData: `0x${string}`; gasLimit: bigint; gasUsed: bigint; miner: `0x${string}`; mixHash: `0x${string}`; parentHash: `0x${string}`; receiptsRoot: `0x${string}`; sealFields: `0x${string}`[]; sha3Uncles: `0x${string}`; size: bigint; stateRoot: `0x${string}`; timestamp: bigint; totalDifficulty: bigint | null; transactionsRoot: `0x${string}`; uncles: `0x${string}`[]; withdrawals?: Withdrawal[] | undefined; withdrawalsRoot?: `0x${string}` | undefined; transactions: TIncludeTransactions extends true ? ({ type: "legacy"; value: bigint; to: `0x${string}` | null; from: `0x${
|
Argument of type '<TTransport extends Transport, TChain extends Chain | undefined = Chain | undefined, TSmartAccount extends SmartAccount<ENTRYPOINT_ADDRESS_V07_TYPE> | undefined = SmartAccount<ENTRYPOINT_ADDRESS_V07_TYPE> | undefined>(client: Client<TTransport, TChain, TSmartAccount>) => SmartAccountActions<ENTRYPOINT_ADDRESS_V07_TYPE, TChain, TSmartAccount>' is not assignable to parameter of type '(client: Client<Transport, Chain, SimpleSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", Transport, Chain>, undefined, { readonly sendTransaction: <const TRequest extends SendTransactionRequest<Chain, TChainOverride>, TChainOverride extends Chain | undefined = undefined>(args: SendTransactionParameters<Chain, SimpleSmartAccount<"0x0000000071727De22E5E9d8BAf0edAc6f37da032", Transport, Chain>, TChainOverride, TRequest>) => Promise<`0x${string}`>; } & { call: (parameters: CallParameters<Chain>) => Promise<CallReturnType>; 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 TAbi extends readonly unknown[] | Abi, TEventName extends ContractEventName<TAbi> | undefined, TArgs extends MaybeExtractEventArgsFromAbi<TAbi, TEventName> | undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends bigint | BlockTag | undefined = undefined, TToBlock extends bigint | BlockTag | undefined = undefined>(args: CreateContractEventFilterParameters<TAbi, TEventName, TArgs, TStrict, TFromBlock, TToBlock>) => Promise<CreateContractEventFilterReturnType<TAbi, TEventName, TArgs, TStrict, TFromBlock, TToBlock>>; createEventFilter: <const TAbiEvent extends AbiEvent | undefined = undefined, const TAbiEvents extends readonly unknown[] | readonly AbiEvent[] | undefined = TAbiEvent extends AbiEvent ? [TAbiEvent] : undefined, TStrict extends boolean | undefined = undefined, TFromBlock extends bigint | BlockTag | undefined = undefined, TToBlock extends bigint | BlockTag | undefined = undefined, _EventName extends string | undefined = MaybeAbiEventName<TAbiEvent>, _Args extends MaybeExtractEventArgsFromAbi<TAbiEvents, _EventName> | undefined = undefined>(args?: CreateEventFilterParameters<TAbiEvent, TAbiEvents, TStrict, TFromBlock, TToBlock, _EventName, _Args> | undefined) => Promise<{ [K in keyof Filter<"event", TAbiEvents, _EventName, _Args, TStrict, TFromBlock, TToBlock>]: Filter<"event", TAbiEvents, _EventName, _Args, TStrict, TFromBlock, TToBlock>[K]; }>; createPendingTransactionFilter: () => 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: "transaction"; }>; estimateContractGas: <TChain extends Chain | undefined, const abi extends readonly unknown[] | Abi, functionName extends ContractFunctionName<abi, "nonpayable" | "payable">, args extends ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>>(args: EstimateContractGasParameters<abi, functionName, args, TChain>) => Promise<bigint>; estimateGas: (args: EstimateGasParameters<Chain>) => Promise<bigint>; getBalance: (args: GetBalanceParameters) => Promise<bigint>; getBlobBaseFee: () => Promise<bigint>; getBlock: <TIncludeTransactions extends boolean = false, TBlockTag extends BlockTag = "latest">(args?: GetBlockParameters<TIncludeTransactions, TBlockTag> | undefined) => Promise<{ number: TBlockTag extends "pending" ? null : bigint; nonce: TBlockTag extends "pending" ? null : `0x${string}`; hash: TBlockTag extends "pending" ? null : `0x${string}`; log
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
This job succeeded
Loading