@virtuals-protocol/acp-node 0.3.0-beta.1 → 0.3.0-beta.2
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/index.d.mts +21 -20
- package/dist/index.d.ts +21 -20
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -574,6 +574,13 @@ declare class AcpClient {
|
|
|
574
574
|
minsFromLastOnline: number;
|
|
575
575
|
isOnline: boolean;
|
|
576
576
|
} | undefined;
|
|
577
|
+
resource: {
|
|
578
|
+
name: string;
|
|
579
|
+
description: string;
|
|
580
|
+
url: string;
|
|
581
|
+
parameters?: Object;
|
|
582
|
+
id: number;
|
|
583
|
+
}[];
|
|
577
584
|
}[]>;
|
|
578
585
|
initiateJob(providerAddress: Address, serviceRequirement: Object | string, fareAmount: FareAmountBase, evaluatorAddress?: Address, expiredAt?: Date): Promise<number>;
|
|
579
586
|
createMemo(jobId: number, content: string, nextPhase: AcpJobPhases): Promise<`0x${string}`>;
|
|
@@ -619,7 +626,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
619
626
|
request?: (parameters: viem.CcipRequestParameters) => Promise<viem__types_utils_ccip.CcipRequestReturnType>;
|
|
620
627
|
} | undefined;
|
|
621
628
|
chain: viem.Chain;
|
|
622
|
-
experimental_blockTag?: viem.BlockTag | undefined;
|
|
623
629
|
key: string;
|
|
624
630
|
name: string;
|
|
625
631
|
pollingInterval: number;
|
|
@@ -633,7 +639,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
633
639
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
634
640
|
}, {
|
|
635
641
|
Method: "eth_getUserOperationReceipt";
|
|
636
|
-
Parameters: [viem.Hash
|
|
642
|
+
Parameters: [viem.Hash];
|
|
637
643
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
638
644
|
}, {
|
|
639
645
|
Method: "eth_getUserOperationByHash";
|
|
@@ -673,7 +679,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
673
679
|
ReturnType: viem.Quantity;
|
|
674
680
|
}, {
|
|
675
681
|
Method: "eth_call";
|
|
676
|
-
Parameters:
|
|
682
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
677
683
|
ReturnType: viem.Hex;
|
|
678
684
|
}, {
|
|
679
685
|
Method: "eth_createAccessList";
|
|
@@ -1079,7 +1085,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1079
1085
|
estimateUserOperationGas: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1, stateOverride?: viem.StateOverride) => Promise<_aa_sdk_core.UserOperationEstimateGasResponse<TEntryPointVersion>>;
|
|
1080
1086
|
sendRawUserOperation: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1) => Promise<viem.Hash>;
|
|
1081
1087
|
getUserOperationByHash: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationResponse | null>;
|
|
1082
|
-
getUserOperationReceipt: (hash: viem.Hash
|
|
1088
|
+
getUserOperationReceipt: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationReceipt | null>;
|
|
1083
1089
|
getSupportedEntryPoints: () => Promise<Address$1[]>;
|
|
1084
1090
|
call: (parameters: viem.CallParameters<viem.Chain | undefined>) => Promise<viem.CallReturnType>;
|
|
1085
1091
|
createAccessList: (parameters: viem.CreateAccessListParameters<viem.Chain | undefined>) => Promise<{
|
|
@@ -7912,7 +7918,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
7912
7918
|
simulateBlocks: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
|
|
7913
7919
|
simulateCalls: <const calls extends readonly unknown[]>(args: viem.SimulateCallsParameters<calls>) => Promise<viem.SimulateCallsReturnType<calls>>;
|
|
7914
7920
|
simulateContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined, accountOverride extends viem.Account | Address$1 | undefined = undefined>(args: viem.SimulateContractParameters<abi, functionName, args_1, viem.Chain | undefined, chainOverride, accountOverride>) => Promise<viem.SimulateContractReturnType<abi, functionName, args_1, viem.Chain | undefined, viem.Account | undefined, chainOverride, accountOverride>>;
|
|
7915
|
-
verifyHash: (args: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>;
|
|
7916
7921
|
verifyMessage: (args: viem.VerifyMessageActionParameters) => Promise<viem.VerifyMessageActionReturnType>;
|
|
7917
7922
|
verifySiweMessage: (args: viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageParameters) => Promise<viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageReturnType>;
|
|
7918
7923
|
verifyTypedData: (args: viem.VerifyTypedDataActionParameters) => Promise<viem.VerifyTypedDataActionReturnType>;
|
|
@@ -7930,7 +7935,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
7930
7935
|
cacheTime?: undefined;
|
|
7931
7936
|
ccipRead?: undefined;
|
|
7932
7937
|
chain?: undefined;
|
|
7933
|
-
experimental_blockTag?: undefined;
|
|
7934
7938
|
key?: undefined;
|
|
7935
7939
|
name?: undefined;
|
|
7936
7940
|
pollingInterval?: undefined;
|
|
@@ -7948,7 +7952,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
7948
7952
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
7949
7953
|
}, {
|
|
7950
7954
|
Method: "eth_getUserOperationReceipt";
|
|
7951
|
-
Parameters: [viem.Hash
|
|
7955
|
+
Parameters: [viem.Hash];
|
|
7952
7956
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
7953
7957
|
}, {
|
|
7954
7958
|
Method: "eth_getUserOperationByHash";
|
|
@@ -7988,7 +7992,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
7988
7992
|
ReturnType: viem.Quantity;
|
|
7989
7993
|
}, {
|
|
7990
7994
|
Method: "eth_call";
|
|
7991
|
-
Parameters:
|
|
7995
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
7992
7996
|
ReturnType: viem.Hex;
|
|
7993
7997
|
}, {
|
|
7994
7998
|
Method: "eth_createAccessList";
|
|
@@ -8399,7 +8403,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8399
8403
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
8400
8404
|
}, {
|
|
8401
8405
|
Method: "eth_getUserOperationReceipt";
|
|
8402
|
-
Parameters: [viem.Hash
|
|
8406
|
+
Parameters: [viem.Hash];
|
|
8403
8407
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
8404
8408
|
}, {
|
|
8405
8409
|
Method: "eth_getUserOperationByHash";
|
|
@@ -8439,7 +8443,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8439
8443
|
ReturnType: viem.Quantity;
|
|
8440
8444
|
}, {
|
|
8441
8445
|
Method: "eth_call";
|
|
8442
|
-
Parameters:
|
|
8446
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
8443
8447
|
ReturnType: viem.Hex;
|
|
8444
8448
|
}, {
|
|
8445
8449
|
Method: "eth_createAccessList";
|
|
@@ -8887,7 +8891,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
8887
8891
|
request?: (parameters: viem.CcipRequestParameters) => Promise<viem__types_utils_ccip.CcipRequestReturnType>;
|
|
8888
8892
|
} | undefined;
|
|
8889
8893
|
chain: viem.Chain;
|
|
8890
|
-
experimental_blockTag?: viem.BlockTag | undefined;
|
|
8891
8894
|
key: string;
|
|
8892
8895
|
name: string;
|
|
8893
8896
|
pollingInterval: number;
|
|
@@ -8901,7 +8904,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
8901
8904
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
8902
8905
|
}, {
|
|
8903
8906
|
Method: "eth_getUserOperationReceipt";
|
|
8904
|
-
Parameters: [viem.Hash
|
|
8907
|
+
Parameters: [viem.Hash];
|
|
8905
8908
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
8906
8909
|
}, {
|
|
8907
8910
|
Method: "eth_getUserOperationByHash";
|
|
@@ -8941,7 +8944,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
8941
8944
|
ReturnType: viem.Quantity;
|
|
8942
8945
|
}, {
|
|
8943
8946
|
Method: "eth_call";
|
|
8944
|
-
Parameters:
|
|
8947
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
8945
8948
|
ReturnType: viem.Hex;
|
|
8946
8949
|
}, {
|
|
8947
8950
|
Method: "eth_createAccessList";
|
|
@@ -9347,7 +9350,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9347
9350
|
estimateUserOperationGas: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1, stateOverride?: viem.StateOverride) => Promise<_aa_sdk_core.UserOperationEstimateGasResponse<TEntryPointVersion>>;
|
|
9348
9351
|
sendRawUserOperation: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1) => Promise<viem.Hash>;
|
|
9349
9352
|
getUserOperationByHash: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationResponse | null>;
|
|
9350
|
-
getUserOperationReceipt: (hash: viem.Hash
|
|
9353
|
+
getUserOperationReceipt: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationReceipt | null>;
|
|
9351
9354
|
getSupportedEntryPoints: () => Promise<Address$1[]>;
|
|
9352
9355
|
call: (parameters: viem.CallParameters<viem.Chain | undefined>) => Promise<viem.CallReturnType>;
|
|
9353
9356
|
createAccessList: (parameters: viem.CreateAccessListParameters<viem.Chain | undefined>) => Promise<{
|
|
@@ -16180,7 +16183,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16180
16183
|
simulateBlocks: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
|
|
16181
16184
|
simulateCalls: <const calls extends readonly unknown[]>(args: viem.SimulateCallsParameters<calls>) => Promise<viem.SimulateCallsReturnType<calls>>;
|
|
16182
16185
|
simulateContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined, accountOverride extends viem.Account | Address$1 | undefined = undefined>(args: viem.SimulateContractParameters<abi, functionName, args_1, viem.Chain | undefined, chainOverride, accountOverride>) => Promise<viem.SimulateContractReturnType<abi, functionName, args_1, viem.Chain | undefined, viem.Account | undefined, chainOverride, accountOverride>>;
|
|
16183
|
-
verifyHash: (args: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>;
|
|
16184
16186
|
verifyMessage: (args: viem.VerifyMessageActionParameters) => Promise<viem.VerifyMessageActionReturnType>;
|
|
16185
16187
|
verifySiweMessage: (args: viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageParameters) => Promise<viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageReturnType>;
|
|
16186
16188
|
verifyTypedData: (args: viem.VerifyTypedDataActionParameters) => Promise<viem.VerifyTypedDataActionReturnType>;
|
|
@@ -16198,7 +16200,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16198
16200
|
cacheTime?: undefined;
|
|
16199
16201
|
ccipRead?: undefined;
|
|
16200
16202
|
chain?: undefined;
|
|
16201
|
-
experimental_blockTag?: undefined;
|
|
16202
16203
|
key?: undefined;
|
|
16203
16204
|
name?: undefined;
|
|
16204
16205
|
pollingInterval?: undefined;
|
|
@@ -16216,7 +16217,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16216
16217
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
16217
16218
|
}, {
|
|
16218
16219
|
Method: "eth_getUserOperationReceipt";
|
|
16219
|
-
Parameters: [viem.Hash
|
|
16220
|
+
Parameters: [viem.Hash];
|
|
16220
16221
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
16221
16222
|
}, {
|
|
16222
16223
|
Method: "eth_getUserOperationByHash";
|
|
@@ -16256,7 +16257,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16256
16257
|
ReturnType: viem.Quantity;
|
|
16257
16258
|
}, {
|
|
16258
16259
|
Method: "eth_call";
|
|
16259
|
-
Parameters:
|
|
16260
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
16260
16261
|
ReturnType: viem.Hex;
|
|
16261
16262
|
}, {
|
|
16262
16263
|
Method: "eth_createAccessList";
|
|
@@ -16667,7 +16668,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16667
16668
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
16668
16669
|
}, {
|
|
16669
16670
|
Method: "eth_getUserOperationReceipt";
|
|
16670
|
-
Parameters: [viem.Hash
|
|
16671
|
+
Parameters: [viem.Hash];
|
|
16671
16672
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
16672
16673
|
}, {
|
|
16673
16674
|
Method: "eth_getUserOperationByHash";
|
|
@@ -16707,7 +16708,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16707
16708
|
ReturnType: viem.Quantity;
|
|
16708
16709
|
}, {
|
|
16709
16710
|
Method: "eth_call";
|
|
16710
|
-
Parameters:
|
|
16711
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
16711
16712
|
ReturnType: viem.Hex;
|
|
16712
16713
|
}, {
|
|
16713
16714
|
Method: "eth_createAccessList";
|
package/dist/index.d.ts
CHANGED
|
@@ -574,6 +574,13 @@ declare class AcpClient {
|
|
|
574
574
|
minsFromLastOnline: number;
|
|
575
575
|
isOnline: boolean;
|
|
576
576
|
} | undefined;
|
|
577
|
+
resource: {
|
|
578
|
+
name: string;
|
|
579
|
+
description: string;
|
|
580
|
+
url: string;
|
|
581
|
+
parameters?: Object;
|
|
582
|
+
id: number;
|
|
583
|
+
}[];
|
|
577
584
|
}[]>;
|
|
578
585
|
initiateJob(providerAddress: Address, serviceRequirement: Object | string, fareAmount: FareAmountBase, evaluatorAddress?: Address, expiredAt?: Date): Promise<number>;
|
|
579
586
|
createMemo(jobId: number, content: string, nextPhase: AcpJobPhases): Promise<`0x${string}`>;
|
|
@@ -619,7 +626,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
619
626
|
request?: (parameters: viem.CcipRequestParameters) => Promise<viem__types_utils_ccip.CcipRequestReturnType>;
|
|
620
627
|
} | undefined;
|
|
621
628
|
chain: viem.Chain;
|
|
622
|
-
experimental_blockTag?: viem.BlockTag | undefined;
|
|
623
629
|
key: string;
|
|
624
630
|
name: string;
|
|
625
631
|
pollingInterval: number;
|
|
@@ -633,7 +639,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
633
639
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
634
640
|
}, {
|
|
635
641
|
Method: "eth_getUserOperationReceipt";
|
|
636
|
-
Parameters: [viem.Hash
|
|
642
|
+
Parameters: [viem.Hash];
|
|
637
643
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
638
644
|
}, {
|
|
639
645
|
Method: "eth_getUserOperationByHash";
|
|
@@ -673,7 +679,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
673
679
|
ReturnType: viem.Quantity;
|
|
674
680
|
}, {
|
|
675
681
|
Method: "eth_call";
|
|
676
|
-
Parameters:
|
|
682
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
677
683
|
ReturnType: viem.Hex;
|
|
678
684
|
}, {
|
|
679
685
|
Method: "eth_createAccessList";
|
|
@@ -1079,7 +1085,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1079
1085
|
estimateUserOperationGas: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1, stateOverride?: viem.StateOverride) => Promise<_aa_sdk_core.UserOperationEstimateGasResponse<TEntryPointVersion>>;
|
|
1080
1086
|
sendRawUserOperation: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1) => Promise<viem.Hash>;
|
|
1081
1087
|
getUserOperationByHash: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationResponse | null>;
|
|
1082
|
-
getUserOperationReceipt: (hash: viem.Hash
|
|
1088
|
+
getUserOperationReceipt: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationReceipt | null>;
|
|
1083
1089
|
getSupportedEntryPoints: () => Promise<Address$1[]>;
|
|
1084
1090
|
call: (parameters: viem.CallParameters<viem.Chain | undefined>) => Promise<viem.CallReturnType>;
|
|
1085
1091
|
createAccessList: (parameters: viem.CreateAccessListParameters<viem.Chain | undefined>) => Promise<{
|
|
@@ -7912,7 +7918,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
7912
7918
|
simulateBlocks: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
|
|
7913
7919
|
simulateCalls: <const calls extends readonly unknown[]>(args: viem.SimulateCallsParameters<calls>) => Promise<viem.SimulateCallsReturnType<calls>>;
|
|
7914
7920
|
simulateContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined, accountOverride extends viem.Account | Address$1 | undefined = undefined>(args: viem.SimulateContractParameters<abi, functionName, args_1, viem.Chain | undefined, chainOverride, accountOverride>) => Promise<viem.SimulateContractReturnType<abi, functionName, args_1, viem.Chain | undefined, viem.Account | undefined, chainOverride, accountOverride>>;
|
|
7915
|
-
verifyHash: (args: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>;
|
|
7916
7921
|
verifyMessage: (args: viem.VerifyMessageActionParameters) => Promise<viem.VerifyMessageActionReturnType>;
|
|
7917
7922
|
verifySiweMessage: (args: viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageParameters) => Promise<viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageReturnType>;
|
|
7918
7923
|
verifyTypedData: (args: viem.VerifyTypedDataActionParameters) => Promise<viem.VerifyTypedDataActionReturnType>;
|
|
@@ -7930,7 +7935,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
7930
7935
|
cacheTime?: undefined;
|
|
7931
7936
|
ccipRead?: undefined;
|
|
7932
7937
|
chain?: undefined;
|
|
7933
|
-
experimental_blockTag?: undefined;
|
|
7934
7938
|
key?: undefined;
|
|
7935
7939
|
name?: undefined;
|
|
7936
7940
|
pollingInterval?: undefined;
|
|
@@ -7948,7 +7952,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
7948
7952
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
7949
7953
|
}, {
|
|
7950
7954
|
Method: "eth_getUserOperationReceipt";
|
|
7951
|
-
Parameters: [viem.Hash
|
|
7955
|
+
Parameters: [viem.Hash];
|
|
7952
7956
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
7953
7957
|
}, {
|
|
7954
7958
|
Method: "eth_getUserOperationByHash";
|
|
@@ -7988,7 +7992,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
7988
7992
|
ReturnType: viem.Quantity;
|
|
7989
7993
|
}, {
|
|
7990
7994
|
Method: "eth_call";
|
|
7991
|
-
Parameters:
|
|
7995
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
7992
7996
|
ReturnType: viem.Hex;
|
|
7993
7997
|
}, {
|
|
7994
7998
|
Method: "eth_createAccessList";
|
|
@@ -8399,7 +8403,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8399
8403
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
8400
8404
|
}, {
|
|
8401
8405
|
Method: "eth_getUserOperationReceipt";
|
|
8402
|
-
Parameters: [viem.Hash
|
|
8406
|
+
Parameters: [viem.Hash];
|
|
8403
8407
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
8404
8408
|
}, {
|
|
8405
8409
|
Method: "eth_getUserOperationByHash";
|
|
@@ -8439,7 +8443,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8439
8443
|
ReturnType: viem.Quantity;
|
|
8440
8444
|
}, {
|
|
8441
8445
|
Method: "eth_call";
|
|
8442
|
-
Parameters:
|
|
8446
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
8443
8447
|
ReturnType: viem.Hex;
|
|
8444
8448
|
}, {
|
|
8445
8449
|
Method: "eth_createAccessList";
|
|
@@ -8887,7 +8891,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
8887
8891
|
request?: (parameters: viem.CcipRequestParameters) => Promise<viem__types_utils_ccip.CcipRequestReturnType>;
|
|
8888
8892
|
} | undefined;
|
|
8889
8893
|
chain: viem.Chain;
|
|
8890
|
-
experimental_blockTag?: viem.BlockTag | undefined;
|
|
8891
8894
|
key: string;
|
|
8892
8895
|
name: string;
|
|
8893
8896
|
pollingInterval: number;
|
|
@@ -8901,7 +8904,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
8901
8904
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
8902
8905
|
}, {
|
|
8903
8906
|
Method: "eth_getUserOperationReceipt";
|
|
8904
|
-
Parameters: [viem.Hash
|
|
8907
|
+
Parameters: [viem.Hash];
|
|
8905
8908
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
8906
8909
|
}, {
|
|
8907
8910
|
Method: "eth_getUserOperationByHash";
|
|
@@ -8941,7 +8944,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
8941
8944
|
ReturnType: viem.Quantity;
|
|
8942
8945
|
}, {
|
|
8943
8946
|
Method: "eth_call";
|
|
8944
|
-
Parameters:
|
|
8947
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
8945
8948
|
ReturnType: viem.Hex;
|
|
8946
8949
|
}, {
|
|
8947
8950
|
Method: "eth_createAccessList";
|
|
@@ -9347,7 +9350,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9347
9350
|
estimateUserOperationGas: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1, stateOverride?: viem.StateOverride) => Promise<_aa_sdk_core.UserOperationEstimateGasResponse<TEntryPointVersion>>;
|
|
9348
9351
|
sendRawUserOperation: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1) => Promise<viem.Hash>;
|
|
9349
9352
|
getUserOperationByHash: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationResponse | null>;
|
|
9350
|
-
getUserOperationReceipt: (hash: viem.Hash
|
|
9353
|
+
getUserOperationReceipt: (hash: viem.Hash) => Promise<_aa_sdk_core.UserOperationReceipt | null>;
|
|
9351
9354
|
getSupportedEntryPoints: () => Promise<Address$1[]>;
|
|
9352
9355
|
call: (parameters: viem.CallParameters<viem.Chain | undefined>) => Promise<viem.CallReturnType>;
|
|
9353
9356
|
createAccessList: (parameters: viem.CreateAccessListParameters<viem.Chain | undefined>) => Promise<{
|
|
@@ -16180,7 +16183,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16180
16183
|
simulateBlocks: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
|
|
16181
16184
|
simulateCalls: <const calls extends readonly unknown[]>(args: viem.SimulateCallsParameters<calls>) => Promise<viem.SimulateCallsReturnType<calls>>;
|
|
16182
16185
|
simulateContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, const args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined, accountOverride extends viem.Account | Address$1 | undefined = undefined>(args: viem.SimulateContractParameters<abi, functionName, args_1, viem.Chain | undefined, chainOverride, accountOverride>) => Promise<viem.SimulateContractReturnType<abi, functionName, args_1, viem.Chain | undefined, viem.Account | undefined, chainOverride, accountOverride>>;
|
|
16183
|
-
verifyHash: (args: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>;
|
|
16184
16186
|
verifyMessage: (args: viem.VerifyMessageActionParameters) => Promise<viem.VerifyMessageActionReturnType>;
|
|
16185
16187
|
verifySiweMessage: (args: viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageParameters) => Promise<viem__types_actions_siwe_verifySiweMessage.VerifySiweMessageReturnType>;
|
|
16186
16188
|
verifyTypedData: (args: viem.VerifyTypedDataActionParameters) => Promise<viem.VerifyTypedDataActionReturnType>;
|
|
@@ -16198,7 +16200,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16198
16200
|
cacheTime?: undefined;
|
|
16199
16201
|
ccipRead?: undefined;
|
|
16200
16202
|
chain?: undefined;
|
|
16201
|
-
experimental_blockTag?: undefined;
|
|
16202
16203
|
key?: undefined;
|
|
16203
16204
|
name?: undefined;
|
|
16204
16205
|
pollingInterval?: undefined;
|
|
@@ -16216,7 +16217,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16216
16217
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
16217
16218
|
}, {
|
|
16218
16219
|
Method: "eth_getUserOperationReceipt";
|
|
16219
|
-
Parameters: [viem.Hash
|
|
16220
|
+
Parameters: [viem.Hash];
|
|
16220
16221
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
16221
16222
|
}, {
|
|
16222
16223
|
Method: "eth_getUserOperationByHash";
|
|
@@ -16256,7 +16257,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16256
16257
|
ReturnType: viem.Quantity;
|
|
16257
16258
|
}, {
|
|
16258
16259
|
Method: "eth_call";
|
|
16259
|
-
Parameters:
|
|
16260
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
16260
16261
|
ReturnType: viem.Hex;
|
|
16261
16262
|
}, {
|
|
16262
16263
|
Method: "eth_createAccessList";
|
|
@@ -16667,7 +16668,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16667
16668
|
ReturnType: _aa_sdk_core.UserOperationEstimateGasResponse;
|
|
16668
16669
|
}, {
|
|
16669
16670
|
Method: "eth_getUserOperationReceipt";
|
|
16670
|
-
Parameters: [viem.Hash
|
|
16671
|
+
Parameters: [viem.Hash];
|
|
16671
16672
|
ReturnType: _aa_sdk_core.UserOperationReceipt | null;
|
|
16672
16673
|
}, {
|
|
16673
16674
|
Method: "eth_getUserOperationByHash";
|
|
@@ -16707,7 +16708,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16707
16708
|
ReturnType: viem.Quantity;
|
|
16708
16709
|
}, {
|
|
16709
16710
|
Method: "eth_call";
|
|
16710
|
-
Parameters:
|
|
16711
|
+
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride];
|
|
16711
16712
|
ReturnType: viem.Hex;
|
|
16712
16713
|
}, {
|
|
16713
16714
|
Method: "eth_createAccessList";
|
package/dist/index.js
CHANGED
|
@@ -55,7 +55,7 @@ var require_package = __commonJS({
|
|
|
55
55
|
"package.json"(exports2, module2) {
|
|
56
56
|
module2.exports = {
|
|
57
57
|
name: "@virtuals-protocol/acp-node",
|
|
58
|
-
version: "0.3.0-beta.
|
|
58
|
+
version: "0.3.0-beta.2",
|
|
59
59
|
main: "./dist/index.js",
|
|
60
60
|
module: "./dist/index.mjs",
|
|
61
61
|
types: "./dist/index.d.ts",
|
|
@@ -4279,7 +4279,8 @@ var AcpClient = class {
|
|
|
4279
4279
|
contractAddress: agent.contractAddress,
|
|
4280
4280
|
twitterHandle: agent.twitterHandle,
|
|
4281
4281
|
walletAddress: agent.walletAddress,
|
|
4282
|
-
metrics: agent.metrics
|
|
4282
|
+
metrics: agent.metrics,
|
|
4283
|
+
resource: agent.resources
|
|
4283
4284
|
};
|
|
4284
4285
|
});
|
|
4285
4286
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -28,7 +28,7 @@ var require_package = __commonJS({
|
|
|
28
28
|
"package.json"(exports, module) {
|
|
29
29
|
module.exports = {
|
|
30
30
|
name: "@virtuals-protocol/acp-node",
|
|
31
|
-
version: "0.3.0-beta.
|
|
31
|
+
version: "0.3.0-beta.2",
|
|
32
32
|
main: "./dist/index.js",
|
|
33
33
|
module: "./dist/index.mjs",
|
|
34
34
|
types: "./dist/index.d.ts",
|
|
@@ -4231,7 +4231,8 @@ var AcpClient = class {
|
|
|
4231
4231
|
contractAddress: agent.contractAddress,
|
|
4232
4232
|
twitterHandle: agent.twitterHandle,
|
|
4233
4233
|
walletAddress: agent.walletAddress,
|
|
4234
|
-
metrics: agent.metrics
|
|
4234
|
+
metrics: agent.metrics,
|
|
4235
|
+
resource: agent.resources
|
|
4235
4236
|
};
|
|
4236
4237
|
});
|
|
4237
4238
|
});
|