@actalink/commonlib 0.1.0 → 0.1.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/index.cjs +354 -153
- package/dist/index.d.cts +430 -382
- package/dist/index.d.ts +430 -382
- package/dist/index.js +363 -161
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as viem from 'viem';
|
|
2
|
-
import { WalletClient, Address, Hex, LocalAccount, Abi, SignAuthorizationReturnType, PublicClient, Client, RpcUserOperation as RpcUserOperation$1 } from 'viem';
|
|
2
|
+
import { WalletClient, Address, Hex, LocalAccount, Abi, SignAuthorizationReturnType, PublicClient, TransactionReceipt, Client, RpcUserOperation as RpcUserOperation$1 } from 'viem';
|
|
3
3
|
import { CallPolicyParams, GasPolicyParams, RateLimitPolicyParams, SignatureCallerPolicyParams, SudoPolicyParams, TimestampPolicyParams } from '@zerodev/permissions/policies';
|
|
4
4
|
import * as _zerodev_sdk_types from '@zerodev/sdk/types';
|
|
5
5
|
import { Action, PluginValidityData, KernelValidator, EntryPointType, GetKernelVersion, KERNEL_VERSION_TYPE, ValidatorInitData, Signer } from '@zerodev/sdk/types';
|
|
@@ -145,10 +145,25 @@ type PermissionAccountParams = {
|
|
|
145
145
|
privateKey?: Hex;
|
|
146
146
|
eip7702Auth?: SignAuthorizationReturnType;
|
|
147
147
|
};
|
|
148
|
-
type
|
|
149
|
-
allowMaxTokenApproval?: boolean;
|
|
148
|
+
type EstimatePaymentAmount = Omit<AbstractPaymentParams, "connectorType" | "signer" | "walletClient" | "serviceType" | "serviceUrl" | "serviceSessionParams" | "count" | "intervalUnit" | "startDate" | "endDate" | "paymentType"> & {
|
|
150
149
|
feebps: 20 | 10 | 15;
|
|
151
150
|
};
|
|
151
|
+
type CheckAllowance = {
|
|
152
|
+
chainId: 1 | 42161 | 8453 | 59144 | 56 | 10 | 137 | 80002 | 84532 | 11155111;
|
|
153
|
+
token: "USDC" | "USDT" | "DAI" | "ETH" | "WETH" | "BNB" | "WBNB" | "USDCe" | "USDbC" | "EURC" | "POL" | "WPOL";
|
|
154
|
+
};
|
|
155
|
+
type ApproveToken = CheckAllowance & {
|
|
156
|
+
amount: bigint;
|
|
157
|
+
allowMaxTokenApproval: boolean;
|
|
158
|
+
};
|
|
159
|
+
type GetTransactionReceipt = {
|
|
160
|
+
chainId: 1 | 42161 | 8453 | 59144 | 56 | 10 | 137 | 80002 | 84532 | 11155111;
|
|
161
|
+
hash: Hex;
|
|
162
|
+
};
|
|
163
|
+
type SinglePaymentParamsType = Omit<AbstractPaymentParams, "connectorType" | "signer" | "walletClient" | "serviceType" | "serviceUrl" | "serviceSessionParams" | "count" | "intervalUnit" | "startDate" | "endDate" | "paymentType" | "feeInclusive" | "amount"> & {
|
|
164
|
+
actalinkFees: bigint;
|
|
165
|
+
receiverAmount: bigint;
|
|
166
|
+
};
|
|
152
167
|
type SingleBatchPaymentParamsType = Omit<AbstractPaymentParams, "connectorType" | "signer" | "serviceType" | "serviceUrl" | "serviceSessionParams" | "count" | "intervalUnit" | "startDate" | "endDate" | "paymentType" | "receiver" | "amount" | "token"> & {
|
|
153
168
|
allowMaxTokenApproval?: boolean;
|
|
154
169
|
receivers: {
|
|
@@ -185,11 +200,7 @@ type ScheduleBatchPaymentWithoutKeyClassParamsType = Omit<ScheduleBatchPaymentCl
|
|
|
185
200
|
}[];
|
|
186
201
|
totalAmount: bigint;
|
|
187
202
|
};
|
|
188
|
-
type RecurringPaymentParamsType = Omit<AbstractPaymentParams, "connectorType" | "signer" | "walletClient" | "serviceType" | "paymentType" | "serviceUrl" | "serviceSessionParams"
|
|
189
|
-
endDate?: number;
|
|
190
|
-
allowMaxTokenApproval?: boolean;
|
|
191
|
-
feebps: 20 | 10 | 15;
|
|
192
|
-
};
|
|
203
|
+
type RecurringPaymentParamsType = Omit<AbstractPaymentParams, "connectorType" | "signer" | "walletClient" | "serviceType" | "paymentType" | "serviceUrl" | "serviceSessionParams" | "feeInclusive" | "count" | "startDate" | "endDate" | "intervalUnit">;
|
|
193
204
|
|
|
194
205
|
declare const arbitrumETH: Token;
|
|
195
206
|
declare const arbitrumWETH: Token;
|
|
@@ -205,7 +216,6 @@ declare const baseUSDbC: Token;
|
|
|
205
216
|
declare const baseDAI: Token;
|
|
206
217
|
declare const baseUSDT: Token;
|
|
207
218
|
declare const bscBNB: Token;
|
|
208
|
-
declare const bscWBNB: Token;
|
|
209
219
|
declare const bscUSDC: Token;
|
|
210
220
|
declare const bscUSDT: Token;
|
|
211
221
|
declare const ethereumETH: Token;
|
|
@@ -1494,6 +1504,7 @@ declare class ActaFlexDeposit {
|
|
|
1494
1504
|
private readonly viemClient;
|
|
1495
1505
|
private readonly serviceType;
|
|
1496
1506
|
private readonly allowMaxTokenApproval;
|
|
1507
|
+
private readonly feebps;
|
|
1497
1508
|
constructor(parameters: DepositClassParams);
|
|
1498
1509
|
createSession(serviceSessionparams: {
|
|
1499
1510
|
projectId: string;
|
|
@@ -1507,7 +1518,7 @@ declare class ActaFlexDeposit {
|
|
|
1507
1518
|
paymaster: `0x${string}`;
|
|
1508
1519
|
userOperation: {
|
|
1509
1520
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
1510
|
-
callData:
|
|
1521
|
+
callData: Hex;
|
|
1511
1522
|
callGasLimit: bigint;
|
|
1512
1523
|
factory?: `0x${string}` | undefined;
|
|
1513
1524
|
factoryData?: `0x${string}` | undefined;
|
|
@@ -1520,14 +1531,26 @@ declare class ActaFlexDeposit {
|
|
|
1520
1531
|
paymasterVerificationGasLimit?: bigint | undefined;
|
|
1521
1532
|
preVerificationGas: bigint;
|
|
1522
1533
|
sender: Address;
|
|
1523
|
-
signature:
|
|
1534
|
+
signature: Hex;
|
|
1524
1535
|
verificationGasLimit: bigint;
|
|
1525
1536
|
};
|
|
1526
1537
|
}>;
|
|
1527
|
-
|
|
1528
|
-
|
|
1538
|
+
estimatePaymentAmount(): Promise<{
|
|
1539
|
+
totalAmount: bigint;
|
|
1540
|
+
actalinkFees: bigint;
|
|
1541
|
+
receiverAmount: bigint;
|
|
1542
|
+
}>;
|
|
1543
|
+
checkAllowance(): Promise<bigint>;
|
|
1544
|
+
approveToken(parameters: {
|
|
1545
|
+
totalAmount: bigint;
|
|
1546
|
+
allowMaxTokenApproval: boolean;
|
|
1547
|
+
}): Promise<`0x${string}`>;
|
|
1548
|
+
waitForTransactionReceipt(hash: Hex): Promise<viem.TransactionReceipt>;
|
|
1549
|
+
createSinglePayment(parameters: {
|
|
1550
|
+
actalinkFees: bigint;
|
|
1551
|
+
receiverAmount: bigint;
|
|
1552
|
+
}, servicePaymentParams?: any): Promise<any>;
|
|
1529
1553
|
createRecurringPayments(servicePaymentParams?: any): Promise<any>;
|
|
1530
|
-
getPaymentSteps(): Promise<string[]>;
|
|
1531
1554
|
}
|
|
1532
1555
|
|
|
1533
1556
|
declare class ActaFlexBatch {
|
|
@@ -1620,6 +1643,7 @@ declare class ActaBilling {
|
|
|
1620
1643
|
private readonly viemClient;
|
|
1621
1644
|
private readonly serviceType;
|
|
1622
1645
|
private readonly allowMaxTokenApproval;
|
|
1646
|
+
private readonly feebps;
|
|
1623
1647
|
constructor(parameters: BillingClassParams);
|
|
1624
1648
|
estimateSinglePaymentGas(parameters: EstimateSinglePaymentGasParameters): Promise<{
|
|
1625
1649
|
estimatedGasCostInToken: bigint;
|
|
@@ -1630,7 +1654,7 @@ declare class ActaBilling {
|
|
|
1630
1654
|
paymaster: `0x${string}`;
|
|
1631
1655
|
userOperation: {
|
|
1632
1656
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
1633
|
-
callData:
|
|
1657
|
+
callData: Hex;
|
|
1634
1658
|
callGasLimit: bigint;
|
|
1635
1659
|
factory?: `0x${string}` | undefined;
|
|
1636
1660
|
factoryData?: `0x${string}` | undefined;
|
|
@@ -1643,11 +1667,25 @@ declare class ActaBilling {
|
|
|
1643
1667
|
paymasterVerificationGasLimit?: bigint | undefined;
|
|
1644
1668
|
preVerificationGas: bigint;
|
|
1645
1669
|
sender: Address;
|
|
1646
|
-
signature:
|
|
1670
|
+
signature: Hex;
|
|
1647
1671
|
verificationGasLimit: bigint;
|
|
1648
1672
|
};
|
|
1649
1673
|
}>;
|
|
1650
|
-
|
|
1674
|
+
estimatePaymentAmount(): Promise<{
|
|
1675
|
+
totalAmount: bigint;
|
|
1676
|
+
actalinkFees: bigint;
|
|
1677
|
+
receiverAmount: bigint;
|
|
1678
|
+
}>;
|
|
1679
|
+
checkAllowance(): Promise<bigint>;
|
|
1680
|
+
approveToken(parameters: {
|
|
1681
|
+
totalAmount: bigint;
|
|
1682
|
+
allowMaxTokenApproval: boolean;
|
|
1683
|
+
}): Promise<`0x${string}`>;
|
|
1684
|
+
waitForTransactionReceipt(hash: Hex): Promise<viem.TransactionReceipt>;
|
|
1685
|
+
createSinglePayment(parameters: {
|
|
1686
|
+
actalinkFees: bigint;
|
|
1687
|
+
receiverAmount: bigint;
|
|
1688
|
+
}, servicePaymentParams: {
|
|
1651
1689
|
checkoutSessionId: string;
|
|
1652
1690
|
}): Promise<any>;
|
|
1653
1691
|
createRecurringPayments(servicePaymentParams: {
|
|
@@ -1792,7 +1830,7 @@ declare class ActaAccount {
|
|
|
1792
1830
|
request: viem.EIP1193RequestFn<[{
|
|
1793
1831
|
Method: "eth_chainId";
|
|
1794
1832
|
Parameters?: undefined;
|
|
1795
|
-
ReturnType:
|
|
1833
|
+
ReturnType: Hex;
|
|
1796
1834
|
}, {
|
|
1797
1835
|
Method: "eth_estimateUserOperationGas";
|
|
1798
1836
|
Parameters: [userOperation: RpcUserOperation, entrypoint: Address] | [userOperation: RpcUserOperation, entrypoint: Address, stateOverrideSet: viem.RpcStateOverride];
|
|
@@ -1818,16 +1856,16 @@ declare class ActaAccount {
|
|
|
1818
1856
|
Parameters: [];
|
|
1819
1857
|
ReturnType: {
|
|
1820
1858
|
slow: {
|
|
1821
|
-
maxFeePerGas:
|
|
1822
|
-
maxPriorityFeePerGas:
|
|
1859
|
+
maxFeePerGas: Hex;
|
|
1860
|
+
maxPriorityFeePerGas: Hex;
|
|
1823
1861
|
};
|
|
1824
1862
|
standard: {
|
|
1825
|
-
maxFeePerGas:
|
|
1826
|
-
maxPriorityFeePerGas:
|
|
1863
|
+
maxFeePerGas: Hex;
|
|
1864
|
+
maxPriorityFeePerGas: Hex;
|
|
1827
1865
|
};
|
|
1828
1866
|
fast: {
|
|
1829
|
-
maxFeePerGas:
|
|
1830
|
-
maxPriorityFeePerGas:
|
|
1867
|
+
maxFeePerGas: Hex;
|
|
1868
|
+
maxPriorityFeePerGas: Hex;
|
|
1831
1869
|
};
|
|
1832
1870
|
};
|
|
1833
1871
|
}, {
|
|
@@ -1836,13 +1874,13 @@ declare class ActaAccount {
|
|
|
1836
1874
|
ReturnType: permissionless_types_pimlico_js.PimlicoUserOperationStatus;
|
|
1837
1875
|
}, {
|
|
1838
1876
|
Method: "pimlico_sendCompressedUserOperation";
|
|
1839
|
-
Parameters: [compressedUserOperation:
|
|
1877
|
+
Parameters: [compressedUserOperation: Hex, inflatorAddress: Address, entryPoint: Address];
|
|
1840
1878
|
ReturnType: viem.Hash;
|
|
1841
1879
|
}, {
|
|
1842
1880
|
Method: "pm_sponsorUserOperation";
|
|
1843
1881
|
Parameters: [userOperation: viem.OneOf<viem.PartialBy<{
|
|
1844
1882
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
1845
|
-
callData:
|
|
1883
|
+
callData: Hex;
|
|
1846
1884
|
callGasLimit: `0x${string}`;
|
|
1847
1885
|
initCode?: `0x${string}` | undefined;
|
|
1848
1886
|
maxFeePerGas: `0x${string}`;
|
|
@@ -1851,11 +1889,11 @@ declare class ActaAccount {
|
|
|
1851
1889
|
paymasterAndData?: `0x${string}` | undefined;
|
|
1852
1890
|
preVerificationGas: `0x${string}`;
|
|
1853
1891
|
sender: Address;
|
|
1854
|
-
signature:
|
|
1892
|
+
signature: Hex;
|
|
1855
1893
|
verificationGasLimit: `0x${string}`;
|
|
1856
1894
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit"> | viem.PartialBy<{
|
|
1857
1895
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
1858
|
-
callData:
|
|
1896
|
+
callData: Hex;
|
|
1859
1897
|
callGasLimit: `0x${string}`;
|
|
1860
1898
|
factory?: `0x${string}` | undefined;
|
|
1861
1899
|
factoryData?: `0x${string}` | undefined;
|
|
@@ -1868,28 +1906,28 @@ declare class ActaAccount {
|
|
|
1868
1906
|
paymasterVerificationGasLimit?: `0x${string}` | undefined;
|
|
1869
1907
|
preVerificationGas: `0x${string}`;
|
|
1870
1908
|
sender: Address;
|
|
1871
|
-
signature:
|
|
1909
|
+
signature: Hex;
|
|
1872
1910
|
verificationGasLimit: `0x${string}`;
|
|
1873
1911
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "paymasterPostOpGasLimit" | "paymasterVerificationGasLimit">>, entryPoint: `0x${string}`, metadata?: {
|
|
1874
1912
|
sponsorshipPolicyId?: string;
|
|
1875
1913
|
} | undefined];
|
|
1876
1914
|
ReturnType: {
|
|
1877
|
-
paymasterAndData:
|
|
1878
|
-
preVerificationGas:
|
|
1879
|
-
verificationGasLimit:
|
|
1880
|
-
callGasLimit:
|
|
1915
|
+
paymasterAndData: Hex;
|
|
1916
|
+
preVerificationGas: Hex;
|
|
1917
|
+
verificationGasLimit: Hex;
|
|
1918
|
+
callGasLimit: Hex;
|
|
1881
1919
|
paymaster?: never;
|
|
1882
1920
|
paymasterVerificationGasLimit?: never;
|
|
1883
1921
|
paymasterPostOpGasLimit?: never;
|
|
1884
1922
|
paymasterData?: never;
|
|
1885
1923
|
} | {
|
|
1886
|
-
preVerificationGas:
|
|
1887
|
-
verificationGasLimit:
|
|
1888
|
-
callGasLimit:
|
|
1924
|
+
preVerificationGas: Hex;
|
|
1925
|
+
verificationGasLimit: Hex;
|
|
1926
|
+
callGasLimit: Hex;
|
|
1889
1927
|
paymaster: Address;
|
|
1890
|
-
paymasterVerificationGasLimit:
|
|
1891
|
-
paymasterPostOpGasLimit:
|
|
1892
|
-
paymasterData:
|
|
1928
|
+
paymasterVerificationGasLimit: Hex;
|
|
1929
|
+
paymasterPostOpGasLimit: Hex;
|
|
1930
|
+
paymasterData: Hex;
|
|
1893
1931
|
paymasterAndData?: never;
|
|
1894
1932
|
};
|
|
1895
1933
|
}, {
|
|
@@ -1908,16 +1946,16 @@ declare class ActaAccount {
|
|
|
1908
1946
|
Method: "pimlico_getTokenQuotes";
|
|
1909
1947
|
Parameters: [tokens: {
|
|
1910
1948
|
tokens: Address[];
|
|
1911
|
-
}, entryPoint: Address, chainId:
|
|
1949
|
+
}, entryPoint: Address, chainId: Hex];
|
|
1912
1950
|
ReturnType: {
|
|
1913
1951
|
quotes: {
|
|
1914
1952
|
paymaster: Address;
|
|
1915
1953
|
token: Address;
|
|
1916
|
-
postOpGas:
|
|
1917
|
-
exchangeRate:
|
|
1918
|
-
exchangeRateNativeToUsd:
|
|
1919
|
-
balanceSlot?:
|
|
1920
|
-
allowanceSlot?:
|
|
1954
|
+
postOpGas: Hex;
|
|
1955
|
+
exchangeRate: Hex;
|
|
1956
|
+
exchangeRateNativeToUsd: Hex;
|
|
1957
|
+
balanceSlot?: Hex;
|
|
1958
|
+
allowanceSlot?: Hex;
|
|
1921
1959
|
}[];
|
|
1922
1960
|
};
|
|
1923
1961
|
}]>;
|
|
@@ -1933,7 +1971,7 @@ declare class ActaAccount {
|
|
|
1933
1971
|
getUserOperation: (parameters: viem_account_abstraction.GetUserOperationParameters) => Promise<viem_account_abstraction.GetUserOperationReturnType>;
|
|
1934
1972
|
getUserOperationReceipt: (parameters: viem_account_abstraction.GetUserOperationReceiptParameters) => Promise<viem_account_abstraction.GetUserOperationReceiptReturnType>;
|
|
1935
1973
|
prepareUserOperation: <const calls extends readonly unknown[], const request extends viem_account_abstraction.PrepareUserOperationRequest<SmartAccount | undefined, accountOverride, calls>, accountOverride extends SmartAccount | undefined = undefined>(parameters: viem_account_abstraction.PrepareUserOperationParameters<SmartAccount | undefined, accountOverride, calls, request>) => Promise<viem.UnionOmit<request, "calls" | "parameters"> & {
|
|
1936
|
-
callData:
|
|
1974
|
+
callData: Hex;
|
|
1937
1975
|
paymasterAndData: viem_account_abstraction.DeriveEntryPointVersion<viem_account_abstraction.DeriveSmartAccount<SmartAccount | undefined, accountOverride>> extends infer T_1 ? T_1 extends viem_account_abstraction.DeriveEntryPointVersion<viem_account_abstraction.DeriveSmartAccount<SmartAccount | undefined, accountOverride>> ? T_1 extends "0.6" ? `0x${string}` : undefined : never : never;
|
|
1938
1976
|
sender: UserOperation["sender"];
|
|
1939
1977
|
} & (Extract<request["parameters"] extends readonly viem_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "signature" | "gas" | "nonce" | "authorization" | "fees" | "factory" | "paymaster", "authorization"> extends never ? {} : {
|
|
@@ -2010,7 +2048,7 @@ declare class ActaAccount {
|
|
|
2010
2048
|
paymaster: Address;
|
|
2011
2049
|
paymasterVerificationGasLimit: bigint;
|
|
2012
2050
|
paymasterPostOpGasLimit: bigint;
|
|
2013
|
-
paymasterData:
|
|
2051
|
+
paymasterData: Hex;
|
|
2014
2052
|
}>;
|
|
2015
2053
|
validateSponsorshipPolicies: (args: viem.Prettify<Omit<permissionless_actions_pimlico_js.ValidateSponsorshipPoliciesParameters, "entryPointAddress">>) => Promise<viem.Prettify<permissionless_actions_pimlico_js.ValidateSponsorshipPolicies>[]>;
|
|
2016
2054
|
getTokenQuotes: <TChainOverride extends viem.Chain | undefined = viem.Chain | undefined>(args: {
|
|
@@ -2036,7 +2074,7 @@ declare class ActaAccount {
|
|
|
2036
2074
|
} & viem.ExactPartial<Pick<viem.PublicActions<viem.HttpTransport<undefined, false>, viem.Chain | undefined, SmartAccount | undefined>, "prepareTransactionRequest" | "call" | "getChainId" | "sendRawTransaction" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<viem.Chain | undefined, SmartAccount | undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<viem.HttpTransport<undefined, false>, viem.Chain | undefined, SmartAccount | undefined, [{
|
|
2037
2075
|
Method: "eth_chainId";
|
|
2038
2076
|
Parameters?: undefined;
|
|
2039
|
-
ReturnType:
|
|
2077
|
+
ReturnType: Hex;
|
|
2040
2078
|
}, {
|
|
2041
2079
|
Method: "eth_estimateUserOperationGas";
|
|
2042
2080
|
Parameters: [userOperation: RpcUserOperation, entrypoint: Address] | [userOperation: RpcUserOperation, entrypoint: Address, stateOverrideSet: viem.RpcStateOverride];
|
|
@@ -2062,16 +2100,16 @@ declare class ActaAccount {
|
|
|
2062
2100
|
Parameters: [];
|
|
2063
2101
|
ReturnType: {
|
|
2064
2102
|
slow: {
|
|
2065
|
-
maxFeePerGas:
|
|
2066
|
-
maxPriorityFeePerGas:
|
|
2103
|
+
maxFeePerGas: Hex;
|
|
2104
|
+
maxPriorityFeePerGas: Hex;
|
|
2067
2105
|
};
|
|
2068
2106
|
standard: {
|
|
2069
|
-
maxFeePerGas:
|
|
2070
|
-
maxPriorityFeePerGas:
|
|
2107
|
+
maxFeePerGas: Hex;
|
|
2108
|
+
maxPriorityFeePerGas: Hex;
|
|
2071
2109
|
};
|
|
2072
2110
|
fast: {
|
|
2073
|
-
maxFeePerGas:
|
|
2074
|
-
maxPriorityFeePerGas:
|
|
2111
|
+
maxFeePerGas: Hex;
|
|
2112
|
+
maxPriorityFeePerGas: Hex;
|
|
2075
2113
|
};
|
|
2076
2114
|
};
|
|
2077
2115
|
}, {
|
|
@@ -2080,13 +2118,13 @@ declare class ActaAccount {
|
|
|
2080
2118
|
ReturnType: permissionless_types_pimlico_js.PimlicoUserOperationStatus;
|
|
2081
2119
|
}, {
|
|
2082
2120
|
Method: "pimlico_sendCompressedUserOperation";
|
|
2083
|
-
Parameters: [compressedUserOperation:
|
|
2121
|
+
Parameters: [compressedUserOperation: Hex, inflatorAddress: Address, entryPoint: Address];
|
|
2084
2122
|
ReturnType: viem.Hash;
|
|
2085
2123
|
}, {
|
|
2086
2124
|
Method: "pm_sponsorUserOperation";
|
|
2087
2125
|
Parameters: [userOperation: viem.OneOf<viem.PartialBy<{
|
|
2088
2126
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
2089
|
-
callData:
|
|
2127
|
+
callData: Hex;
|
|
2090
2128
|
callGasLimit: `0x${string}`;
|
|
2091
2129
|
initCode?: `0x${string}` | undefined;
|
|
2092
2130
|
maxFeePerGas: `0x${string}`;
|
|
@@ -2095,11 +2133,11 @@ declare class ActaAccount {
|
|
|
2095
2133
|
paymasterAndData?: `0x${string}` | undefined;
|
|
2096
2134
|
preVerificationGas: `0x${string}`;
|
|
2097
2135
|
sender: Address;
|
|
2098
|
-
signature:
|
|
2136
|
+
signature: Hex;
|
|
2099
2137
|
verificationGasLimit: `0x${string}`;
|
|
2100
2138
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit"> | viem.PartialBy<{
|
|
2101
2139
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
2102
|
-
callData:
|
|
2140
|
+
callData: Hex;
|
|
2103
2141
|
callGasLimit: `0x${string}`;
|
|
2104
2142
|
factory?: `0x${string}` | undefined;
|
|
2105
2143
|
factoryData?: `0x${string}` | undefined;
|
|
@@ -2112,28 +2150,28 @@ declare class ActaAccount {
|
|
|
2112
2150
|
paymasterVerificationGasLimit?: `0x${string}` | undefined;
|
|
2113
2151
|
preVerificationGas: `0x${string}`;
|
|
2114
2152
|
sender: Address;
|
|
2115
|
-
signature:
|
|
2153
|
+
signature: Hex;
|
|
2116
2154
|
verificationGasLimit: `0x${string}`;
|
|
2117
2155
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "paymasterPostOpGasLimit" | "paymasterVerificationGasLimit">>, entryPoint: `0x${string}`, metadata?: {
|
|
2118
2156
|
sponsorshipPolicyId?: string;
|
|
2119
2157
|
} | undefined];
|
|
2120
2158
|
ReturnType: {
|
|
2121
|
-
paymasterAndData:
|
|
2122
|
-
preVerificationGas:
|
|
2123
|
-
verificationGasLimit:
|
|
2124
|
-
callGasLimit:
|
|
2159
|
+
paymasterAndData: Hex;
|
|
2160
|
+
preVerificationGas: Hex;
|
|
2161
|
+
verificationGasLimit: Hex;
|
|
2162
|
+
callGasLimit: Hex;
|
|
2125
2163
|
paymaster?: never;
|
|
2126
2164
|
paymasterVerificationGasLimit?: never;
|
|
2127
2165
|
paymasterPostOpGasLimit?: never;
|
|
2128
2166
|
paymasterData?: never;
|
|
2129
2167
|
} | {
|
|
2130
|
-
preVerificationGas:
|
|
2131
|
-
verificationGasLimit:
|
|
2132
|
-
callGasLimit:
|
|
2168
|
+
preVerificationGas: Hex;
|
|
2169
|
+
verificationGasLimit: Hex;
|
|
2170
|
+
callGasLimit: Hex;
|
|
2133
2171
|
paymaster: Address;
|
|
2134
|
-
paymasterVerificationGasLimit:
|
|
2135
|
-
paymasterPostOpGasLimit:
|
|
2136
|
-
paymasterData:
|
|
2172
|
+
paymasterVerificationGasLimit: Hex;
|
|
2173
|
+
paymasterPostOpGasLimit: Hex;
|
|
2174
|
+
paymasterData: Hex;
|
|
2137
2175
|
paymasterAndData?: never;
|
|
2138
2176
|
};
|
|
2139
2177
|
}, {
|
|
@@ -2152,22 +2190,22 @@ declare class ActaAccount {
|
|
|
2152
2190
|
Method: "pimlico_getTokenQuotes";
|
|
2153
2191
|
Parameters: [tokens: {
|
|
2154
2192
|
tokens: Address[];
|
|
2155
|
-
}, entryPoint: Address, chainId:
|
|
2193
|
+
}, entryPoint: Address, chainId: Hex];
|
|
2156
2194
|
ReturnType: {
|
|
2157
2195
|
quotes: {
|
|
2158
2196
|
paymaster: Address;
|
|
2159
2197
|
token: Address;
|
|
2160
|
-
postOpGas:
|
|
2161
|
-
exchangeRate:
|
|
2162
|
-
exchangeRateNativeToUsd:
|
|
2163
|
-
balanceSlot?:
|
|
2164
|
-
allowanceSlot?:
|
|
2198
|
+
postOpGas: Hex;
|
|
2199
|
+
exchangeRate: Hex;
|
|
2200
|
+
exchangeRateNativeToUsd: Hex;
|
|
2201
|
+
balanceSlot?: Hex;
|
|
2202
|
+
allowanceSlot?: Hex;
|
|
2165
2203
|
}[];
|
|
2166
2204
|
};
|
|
2167
2205
|
}], viem_account_abstraction.BundlerActions<SmartAccount | undefined> & viem_account_abstraction.PaymasterActions & permissionless_actions_pimlico_js.PimlicoActions<viem.Chain | undefined, "0.7">>) => client) => viem.Client<viem.HttpTransport<undefined, false>, viem.Chain | undefined, SmartAccount | undefined, [{
|
|
2168
2206
|
Method: "eth_chainId";
|
|
2169
2207
|
Parameters?: undefined;
|
|
2170
|
-
ReturnType:
|
|
2208
|
+
ReturnType: Hex;
|
|
2171
2209
|
}, {
|
|
2172
2210
|
Method: "eth_estimateUserOperationGas";
|
|
2173
2211
|
Parameters: [userOperation: RpcUserOperation, entrypoint: Address] | [userOperation: RpcUserOperation, entrypoint: Address, stateOverrideSet: viem.RpcStateOverride];
|
|
@@ -2193,16 +2231,16 @@ declare class ActaAccount {
|
|
|
2193
2231
|
Parameters: [];
|
|
2194
2232
|
ReturnType: {
|
|
2195
2233
|
slow: {
|
|
2196
|
-
maxFeePerGas:
|
|
2197
|
-
maxPriorityFeePerGas:
|
|
2234
|
+
maxFeePerGas: Hex;
|
|
2235
|
+
maxPriorityFeePerGas: Hex;
|
|
2198
2236
|
};
|
|
2199
2237
|
standard: {
|
|
2200
|
-
maxFeePerGas:
|
|
2201
|
-
maxPriorityFeePerGas:
|
|
2238
|
+
maxFeePerGas: Hex;
|
|
2239
|
+
maxPriorityFeePerGas: Hex;
|
|
2202
2240
|
};
|
|
2203
2241
|
fast: {
|
|
2204
|
-
maxFeePerGas:
|
|
2205
|
-
maxPriorityFeePerGas:
|
|
2242
|
+
maxFeePerGas: Hex;
|
|
2243
|
+
maxPriorityFeePerGas: Hex;
|
|
2206
2244
|
};
|
|
2207
2245
|
};
|
|
2208
2246
|
}, {
|
|
@@ -2211,13 +2249,13 @@ declare class ActaAccount {
|
|
|
2211
2249
|
ReturnType: permissionless_types_pimlico_js.PimlicoUserOperationStatus;
|
|
2212
2250
|
}, {
|
|
2213
2251
|
Method: "pimlico_sendCompressedUserOperation";
|
|
2214
|
-
Parameters: [compressedUserOperation:
|
|
2252
|
+
Parameters: [compressedUserOperation: Hex, inflatorAddress: Address, entryPoint: Address];
|
|
2215
2253
|
ReturnType: viem.Hash;
|
|
2216
2254
|
}, {
|
|
2217
2255
|
Method: "pm_sponsorUserOperation";
|
|
2218
2256
|
Parameters: [userOperation: viem.OneOf<viem.PartialBy<{
|
|
2219
2257
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
2220
|
-
callData:
|
|
2258
|
+
callData: Hex;
|
|
2221
2259
|
callGasLimit: `0x${string}`;
|
|
2222
2260
|
initCode?: `0x${string}` | undefined;
|
|
2223
2261
|
maxFeePerGas: `0x${string}`;
|
|
@@ -2226,11 +2264,11 @@ declare class ActaAccount {
|
|
|
2226
2264
|
paymasterAndData?: `0x${string}` | undefined;
|
|
2227
2265
|
preVerificationGas: `0x${string}`;
|
|
2228
2266
|
sender: Address;
|
|
2229
|
-
signature:
|
|
2267
|
+
signature: Hex;
|
|
2230
2268
|
verificationGasLimit: `0x${string}`;
|
|
2231
2269
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit"> | viem.PartialBy<{
|
|
2232
2270
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
2233
|
-
callData:
|
|
2271
|
+
callData: Hex;
|
|
2234
2272
|
callGasLimit: `0x${string}`;
|
|
2235
2273
|
factory?: `0x${string}` | undefined;
|
|
2236
2274
|
factoryData?: `0x${string}` | undefined;
|
|
@@ -2243,28 +2281,28 @@ declare class ActaAccount {
|
|
|
2243
2281
|
paymasterVerificationGasLimit?: `0x${string}` | undefined;
|
|
2244
2282
|
preVerificationGas: `0x${string}`;
|
|
2245
2283
|
sender: Address;
|
|
2246
|
-
signature:
|
|
2284
|
+
signature: Hex;
|
|
2247
2285
|
verificationGasLimit: `0x${string}`;
|
|
2248
2286
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "paymasterPostOpGasLimit" | "paymasterVerificationGasLimit">>, entryPoint: `0x${string}`, metadata?: {
|
|
2249
2287
|
sponsorshipPolicyId?: string;
|
|
2250
2288
|
} | undefined];
|
|
2251
2289
|
ReturnType: {
|
|
2252
|
-
paymasterAndData:
|
|
2253
|
-
preVerificationGas:
|
|
2254
|
-
verificationGasLimit:
|
|
2255
|
-
callGasLimit:
|
|
2290
|
+
paymasterAndData: Hex;
|
|
2291
|
+
preVerificationGas: Hex;
|
|
2292
|
+
verificationGasLimit: Hex;
|
|
2293
|
+
callGasLimit: Hex;
|
|
2256
2294
|
paymaster?: never;
|
|
2257
2295
|
paymasterVerificationGasLimit?: never;
|
|
2258
2296
|
paymasterPostOpGasLimit?: never;
|
|
2259
2297
|
paymasterData?: never;
|
|
2260
2298
|
} | {
|
|
2261
|
-
preVerificationGas:
|
|
2262
|
-
verificationGasLimit:
|
|
2263
|
-
callGasLimit:
|
|
2299
|
+
preVerificationGas: Hex;
|
|
2300
|
+
verificationGasLimit: Hex;
|
|
2301
|
+
callGasLimit: Hex;
|
|
2264
2302
|
paymaster: Address;
|
|
2265
|
-
paymasterVerificationGasLimit:
|
|
2266
|
-
paymasterPostOpGasLimit:
|
|
2267
|
-
paymasterData:
|
|
2303
|
+
paymasterVerificationGasLimit: Hex;
|
|
2304
|
+
paymasterPostOpGasLimit: Hex;
|
|
2305
|
+
paymasterData: Hex;
|
|
2268
2306
|
paymasterAndData?: never;
|
|
2269
2307
|
};
|
|
2270
2308
|
}, {
|
|
@@ -2283,16 +2321,16 @@ declare class ActaAccount {
|
|
|
2283
2321
|
Method: "pimlico_getTokenQuotes";
|
|
2284
2322
|
Parameters: [tokens: {
|
|
2285
2323
|
tokens: Address[];
|
|
2286
|
-
}, entryPoint: Address, chainId:
|
|
2324
|
+
}, entryPoint: Address, chainId: Hex];
|
|
2287
2325
|
ReturnType: {
|
|
2288
2326
|
quotes: {
|
|
2289
2327
|
paymaster: Address;
|
|
2290
2328
|
token: Address;
|
|
2291
|
-
postOpGas:
|
|
2292
|
-
exchangeRate:
|
|
2293
|
-
exchangeRateNativeToUsd:
|
|
2294
|
-
balanceSlot?:
|
|
2295
|
-
allowanceSlot?:
|
|
2329
|
+
postOpGas: Hex;
|
|
2330
|
+
exchangeRate: Hex;
|
|
2331
|
+
exchangeRateNativeToUsd: Hex;
|
|
2332
|
+
balanceSlot?: Hex;
|
|
2333
|
+
allowanceSlot?: Hex;
|
|
2296
2334
|
}[];
|
|
2297
2335
|
};
|
|
2298
2336
|
}], { [K in keyof client]: client[K]; } & viem_account_abstraction.BundlerActions<SmartAccount | undefined> & viem_account_abstraction.PaymasterActions & permissionless_actions_pimlico_js.PimlicoActions<viem.Chain | undefined, "0.7">>;
|
|
@@ -2303,16 +2341,16 @@ declare class ActaAccount {
|
|
|
2303
2341
|
nonceManager?: viem.NonceManager | undefined;
|
|
2304
2342
|
sign?: ((parameters: {
|
|
2305
2343
|
hash: viem.Hash;
|
|
2306
|
-
}) => Promise<
|
|
2344
|
+
}) => Promise<Hex>) | undefined | undefined;
|
|
2307
2345
|
signAuthorization?: ((parameters: viem.AuthorizationRequest) => Promise<viem_accounts.SignAuthorizationReturnType>) | undefined | undefined;
|
|
2308
2346
|
signMessage: ({ message }: {
|
|
2309
2347
|
message: viem.SignableMessage;
|
|
2310
|
-
}) => Promise<
|
|
2348
|
+
}) => Promise<Hex>;
|
|
2311
2349
|
signTransaction: <serializer extends viem.SerializeTransactionFn<viem.TransactionSerializable> = viem.SerializeTransactionFn<viem.TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
2312
2350
|
serializer?: serializer | undefined;
|
|
2313
|
-
} | undefined) => Promise<
|
|
2314
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
2315
|
-
publicKey:
|
|
2351
|
+
} | undefined) => Promise<Hex>;
|
|
2352
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
2353
|
+
publicKey: Hex;
|
|
2316
2354
|
source: string;
|
|
2317
2355
|
type: "local";
|
|
2318
2356
|
} | viem.JsonRpcAccount | undefined>;
|
|
@@ -2964,32 +3002,32 @@ declare class ActaAccount {
|
|
|
2964
3002
|
};
|
|
2965
3003
|
extend?: object | undefined;
|
|
2966
3004
|
getAddress: () => Promise<Address>;
|
|
2967
|
-
decodeCalls?: ((data:
|
|
2968
|
-
to:
|
|
2969
|
-
data?:
|
|
3005
|
+
decodeCalls?: ((data: Hex) => Promise<readonly {
|
|
3006
|
+
to: Hex;
|
|
3007
|
+
data?: Hex | undefined;
|
|
2970
3008
|
value?: bigint | undefined;
|
|
2971
3009
|
}[]>) | undefined | undefined;
|
|
2972
|
-
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<
|
|
3010
|
+
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<Hex>;
|
|
2973
3011
|
getFactoryArgs: () => Promise<{
|
|
2974
3012
|
factory?: Address | undefined;
|
|
2975
|
-
factoryData?:
|
|
3013
|
+
factoryData?: Hex | undefined;
|
|
2976
3014
|
}>;
|
|
2977
3015
|
getNonce?: ((parameters?: {
|
|
2978
3016
|
key?: bigint | undefined;
|
|
2979
3017
|
} | undefined) => Promise<bigint>) | undefined | undefined;
|
|
2980
|
-
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<
|
|
3018
|
+
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<Hex>;
|
|
2981
3019
|
nonceKeyManager?: viem.NonceManager | undefined;
|
|
2982
3020
|
sign: (parameters: {
|
|
2983
3021
|
hash: viem.Hash;
|
|
2984
|
-
}) => Promise<
|
|
3022
|
+
}) => Promise<Hex>;
|
|
2985
3023
|
signMessage: (parameters: {
|
|
2986
3024
|
message: viem.SignableMessage;
|
|
2987
3025
|
useReplayableSignature?: boolean;
|
|
2988
|
-
}) => Promise<
|
|
2989
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
3026
|
+
}) => Promise<Hex>;
|
|
3027
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
2990
3028
|
signUserOperation: (parameters: viem.UnionPartialBy<UserOperation, "sender"> & {
|
|
2991
3029
|
chainId?: number | undefined;
|
|
2992
|
-
}) => Promise<
|
|
3030
|
+
}) => Promise<Hex>;
|
|
2993
3031
|
userOperation?: {
|
|
2994
3032
|
estimateGas?: ((userOperation: viem_account_abstraction.UserOperationRequest) => Promise<viem.ExactPartial<viem__types_account_abstraction_types_userOperation_js.EstimateUserOperationGasReturnType> | undefined>) | undefined;
|
|
2995
3033
|
} | undefined | undefined;
|
|
@@ -2998,9 +3036,9 @@ declare class ActaAccount {
|
|
|
2998
3036
|
kernelPluginManager: _zerodev_sdk.KernelPluginManager<"0.7">;
|
|
2999
3037
|
factoryAddress: Address;
|
|
3000
3038
|
accountImplementationAddress: Address;
|
|
3001
|
-
generateInitCode: () => Promise<
|
|
3002
|
-
encodeModuleInstallCallData: () => Promise<
|
|
3003
|
-
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<
|
|
3039
|
+
generateInitCode: () => Promise<Hex>;
|
|
3040
|
+
encodeModuleInstallCallData: () => Promise<Hex>;
|
|
3041
|
+
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<Hex>;
|
|
3004
3042
|
eip7702Authorization?: (() => Promise<viem_accounts.SignAuthorizationReturnType | undefined>) | undefined | undefined;
|
|
3005
3043
|
} & {
|
|
3006
3044
|
address: Address;
|
|
@@ -3013,16 +3051,16 @@ declare class ActaAccount {
|
|
|
3013
3051
|
nonceManager?: viem.NonceManager | undefined;
|
|
3014
3052
|
sign?: ((parameters: {
|
|
3015
3053
|
hash: viem.Hash;
|
|
3016
|
-
}) => Promise<
|
|
3054
|
+
}) => Promise<Hex>) | undefined | undefined;
|
|
3017
3055
|
signAuthorization?: ((parameters: viem.AuthorizationRequest) => Promise<viem_accounts.SignAuthorizationReturnType>) | undefined | undefined;
|
|
3018
3056
|
signMessage: ({ message }: {
|
|
3019
3057
|
message: viem.SignableMessage;
|
|
3020
|
-
}) => Promise<
|
|
3058
|
+
}) => Promise<Hex>;
|
|
3021
3059
|
signTransaction: <serializer extends viem.SerializeTransactionFn<viem.TransactionSerializable> = viem.SerializeTransactionFn<viem.TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
3022
3060
|
serializer?: serializer | undefined;
|
|
3023
|
-
} | undefined) => Promise<
|
|
3024
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
3025
|
-
publicKey:
|
|
3061
|
+
} | undefined) => Promise<Hex>;
|
|
3062
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
3063
|
+
publicKey: Hex;
|
|
3026
3064
|
source: string;
|
|
3027
3065
|
type: "local";
|
|
3028
3066
|
} | viem.JsonRpcAccount | undefined>;
|
|
@@ -3674,32 +3712,32 @@ declare class ActaAccount {
|
|
|
3674
3712
|
};
|
|
3675
3713
|
extend?: object | undefined;
|
|
3676
3714
|
getAddress: () => Promise<Address>;
|
|
3677
|
-
decodeCalls?: ((data:
|
|
3678
|
-
to:
|
|
3679
|
-
data?:
|
|
3715
|
+
decodeCalls?: ((data: Hex) => Promise<readonly {
|
|
3716
|
+
to: Hex;
|
|
3717
|
+
data?: Hex | undefined;
|
|
3680
3718
|
value?: bigint | undefined;
|
|
3681
3719
|
}[]>) | undefined | undefined;
|
|
3682
|
-
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<
|
|
3720
|
+
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<Hex>;
|
|
3683
3721
|
getFactoryArgs: () => Promise<{
|
|
3684
3722
|
factory?: Address | undefined;
|
|
3685
|
-
factoryData?:
|
|
3723
|
+
factoryData?: Hex | undefined;
|
|
3686
3724
|
}>;
|
|
3687
3725
|
getNonce?: ((parameters?: {
|
|
3688
3726
|
key?: bigint | undefined;
|
|
3689
3727
|
} | undefined) => Promise<bigint>) | undefined | undefined;
|
|
3690
|
-
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<
|
|
3728
|
+
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<Hex>;
|
|
3691
3729
|
nonceKeyManager?: viem.NonceManager | undefined;
|
|
3692
3730
|
sign: (parameters: {
|
|
3693
3731
|
hash: viem.Hash;
|
|
3694
|
-
}) => Promise<
|
|
3732
|
+
}) => Promise<Hex>;
|
|
3695
3733
|
signMessage: (parameters: {
|
|
3696
3734
|
message: viem.SignableMessage;
|
|
3697
3735
|
useReplayableSignature?: boolean;
|
|
3698
|
-
}) => Promise<
|
|
3699
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
3736
|
+
}) => Promise<Hex>;
|
|
3737
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
3700
3738
|
signUserOperation: (parameters: viem.UnionPartialBy<UserOperation, "sender"> & {
|
|
3701
3739
|
chainId?: number | undefined;
|
|
3702
|
-
}) => Promise<
|
|
3740
|
+
}) => Promise<Hex>;
|
|
3703
3741
|
userOperation?: {
|
|
3704
3742
|
estimateGas?: ((userOperation: viem_account_abstraction.UserOperationRequest) => Promise<viem.ExactPartial<viem__types_account_abstraction_types_userOperation_js.EstimateUserOperationGasReturnType> | undefined>) | undefined;
|
|
3705
3743
|
} | undefined | undefined;
|
|
@@ -3711,9 +3749,9 @@ declare class ActaAccount {
|
|
|
3711
3749
|
kernelPluginManager: _zerodev_sdk.KernelPluginManager<"0.7">;
|
|
3712
3750
|
factoryAddress: Address;
|
|
3713
3751
|
accountImplementationAddress: Address;
|
|
3714
|
-
generateInitCode: () => Promise<
|
|
3715
|
-
encodeModuleInstallCallData: () => Promise<
|
|
3716
|
-
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<
|
|
3752
|
+
generateInitCode: () => Promise<Hex>;
|
|
3753
|
+
encodeModuleInstallCallData: () => Promise<Hex>;
|
|
3754
|
+
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<Hex>;
|
|
3717
3755
|
eip7702Authorization?: (() => Promise<viem_accounts.SignAuthorizationReturnType | undefined>) | undefined | undefined;
|
|
3718
3756
|
} & {
|
|
3719
3757
|
address: Address;
|
|
@@ -3727,16 +3765,16 @@ declare class ActaAccount {
|
|
|
3727
3765
|
nonceManager?: viem.NonceManager | undefined;
|
|
3728
3766
|
sign?: ((parameters: {
|
|
3729
3767
|
hash: viem.Hash;
|
|
3730
|
-
}) => Promise<
|
|
3768
|
+
}) => Promise<Hex>) | undefined | undefined;
|
|
3731
3769
|
signAuthorization?: ((parameters: viem.AuthorizationRequest) => Promise<viem_accounts.SignAuthorizationReturnType>) | undefined | undefined;
|
|
3732
3770
|
signMessage: ({ message }: {
|
|
3733
3771
|
message: viem.SignableMessage;
|
|
3734
|
-
}) => Promise<
|
|
3772
|
+
}) => Promise<Hex>;
|
|
3735
3773
|
signTransaction: <serializer extends viem.SerializeTransactionFn<viem.TransactionSerializable> = viem.SerializeTransactionFn<viem.TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
3736
3774
|
serializer?: serializer | undefined;
|
|
3737
|
-
} | undefined) => Promise<
|
|
3738
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
3739
|
-
publicKey:
|
|
3775
|
+
} | undefined) => Promise<Hex>;
|
|
3776
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
3777
|
+
publicKey: Hex;
|
|
3740
3778
|
source: string;
|
|
3741
3779
|
type: "local";
|
|
3742
3780
|
} | viem.JsonRpcAccount | undefined>;
|
|
@@ -4388,32 +4426,32 @@ declare class ActaAccount {
|
|
|
4388
4426
|
};
|
|
4389
4427
|
extend?: object | undefined;
|
|
4390
4428
|
getAddress: () => Promise<Address>;
|
|
4391
|
-
decodeCalls?: ((data:
|
|
4392
|
-
to:
|
|
4393
|
-
data?:
|
|
4429
|
+
decodeCalls?: ((data: Hex) => Promise<readonly {
|
|
4430
|
+
to: Hex;
|
|
4431
|
+
data?: Hex | undefined;
|
|
4394
4432
|
value?: bigint | undefined;
|
|
4395
4433
|
}[]>) | undefined | undefined;
|
|
4396
|
-
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<
|
|
4434
|
+
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<Hex>;
|
|
4397
4435
|
getFactoryArgs: () => Promise<{
|
|
4398
4436
|
factory?: Address | undefined;
|
|
4399
|
-
factoryData?:
|
|
4437
|
+
factoryData?: Hex | undefined;
|
|
4400
4438
|
}>;
|
|
4401
4439
|
getNonce?: ((parameters?: {
|
|
4402
4440
|
key?: bigint | undefined;
|
|
4403
4441
|
} | undefined) => Promise<bigint>) | undefined | undefined;
|
|
4404
|
-
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<
|
|
4442
|
+
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<Hex>;
|
|
4405
4443
|
nonceKeyManager?: viem.NonceManager | undefined;
|
|
4406
4444
|
sign: (parameters: {
|
|
4407
4445
|
hash: viem.Hash;
|
|
4408
|
-
}) => Promise<
|
|
4446
|
+
}) => Promise<Hex>;
|
|
4409
4447
|
signMessage: (parameters: {
|
|
4410
4448
|
message: viem.SignableMessage;
|
|
4411
4449
|
useReplayableSignature?: boolean;
|
|
4412
|
-
}) => Promise<
|
|
4413
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
4450
|
+
}) => Promise<Hex>;
|
|
4451
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
4414
4452
|
signUserOperation: (parameters: viem.UnionPartialBy<UserOperation, "sender"> & {
|
|
4415
4453
|
chainId?: number | undefined;
|
|
4416
|
-
}) => Promise<
|
|
4454
|
+
}) => Promise<Hex>;
|
|
4417
4455
|
userOperation?: {
|
|
4418
4456
|
estimateGas?: ((userOperation: viem_account_abstraction.UserOperationRequest) => Promise<viem.ExactPartial<viem__types_account_abstraction_types_userOperation_js.EstimateUserOperationGasReturnType> | undefined>) | undefined;
|
|
4419
4457
|
} | undefined | undefined;
|
|
@@ -4422,9 +4460,9 @@ declare class ActaAccount {
|
|
|
4422
4460
|
kernelPluginManager: _zerodev_sdk.KernelPluginManager<"0.7">;
|
|
4423
4461
|
factoryAddress: Address;
|
|
4424
4462
|
accountImplementationAddress: Address;
|
|
4425
|
-
generateInitCode: () => Promise<
|
|
4426
|
-
encodeModuleInstallCallData: () => Promise<
|
|
4427
|
-
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<
|
|
4463
|
+
generateInitCode: () => Promise<Hex>;
|
|
4464
|
+
encodeModuleInstallCallData: () => Promise<Hex>;
|
|
4465
|
+
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<Hex>;
|
|
4428
4466
|
eip7702Authorization?: (() => Promise<viem_accounts.SignAuthorizationReturnType | undefined>) | undefined | undefined;
|
|
4429
4467
|
} & {
|
|
4430
4468
|
address: Address;
|
|
@@ -4437,16 +4475,16 @@ declare class ActaAccount {
|
|
|
4437
4475
|
nonceManager?: viem.NonceManager | undefined;
|
|
4438
4476
|
sign?: ((parameters: {
|
|
4439
4477
|
hash: viem.Hash;
|
|
4440
|
-
}) => Promise<
|
|
4478
|
+
}) => Promise<Hex>) | undefined | undefined;
|
|
4441
4479
|
signAuthorization?: ((parameters: viem.AuthorizationRequest) => Promise<viem_accounts.SignAuthorizationReturnType>) | undefined | undefined;
|
|
4442
4480
|
signMessage: ({ message }: {
|
|
4443
4481
|
message: viem.SignableMessage;
|
|
4444
|
-
}) => Promise<
|
|
4482
|
+
}) => Promise<Hex>;
|
|
4445
4483
|
signTransaction: <serializer extends viem.SerializeTransactionFn<viem.TransactionSerializable> = viem.SerializeTransactionFn<viem.TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
4446
4484
|
serializer?: serializer | undefined;
|
|
4447
|
-
} | undefined) => Promise<
|
|
4448
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
4449
|
-
publicKey:
|
|
4485
|
+
} | undefined) => Promise<Hex>;
|
|
4486
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
4487
|
+
publicKey: Hex;
|
|
4450
4488
|
source: string;
|
|
4451
4489
|
type: "local";
|
|
4452
4490
|
} | viem.JsonRpcAccount | undefined>;
|
|
@@ -5098,32 +5136,32 @@ declare class ActaAccount {
|
|
|
5098
5136
|
};
|
|
5099
5137
|
extend?: object | undefined;
|
|
5100
5138
|
getAddress: () => Promise<Address>;
|
|
5101
|
-
decodeCalls?: ((data:
|
|
5102
|
-
to:
|
|
5103
|
-
data?:
|
|
5139
|
+
decodeCalls?: ((data: Hex) => Promise<readonly {
|
|
5140
|
+
to: Hex;
|
|
5141
|
+
data?: Hex | undefined;
|
|
5104
5142
|
value?: bigint | undefined;
|
|
5105
5143
|
}[]>) | undefined | undefined;
|
|
5106
|
-
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<
|
|
5144
|
+
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<Hex>;
|
|
5107
5145
|
getFactoryArgs: () => Promise<{
|
|
5108
5146
|
factory?: Address | undefined;
|
|
5109
|
-
factoryData?:
|
|
5147
|
+
factoryData?: Hex | undefined;
|
|
5110
5148
|
}>;
|
|
5111
5149
|
getNonce?: ((parameters?: {
|
|
5112
5150
|
key?: bigint | undefined;
|
|
5113
5151
|
} | undefined) => Promise<bigint>) | undefined | undefined;
|
|
5114
|
-
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<
|
|
5152
|
+
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<Hex>;
|
|
5115
5153
|
nonceKeyManager?: viem.NonceManager | undefined;
|
|
5116
5154
|
sign: (parameters: {
|
|
5117
5155
|
hash: viem.Hash;
|
|
5118
|
-
}) => Promise<
|
|
5156
|
+
}) => Promise<Hex>;
|
|
5119
5157
|
signMessage: (parameters: {
|
|
5120
5158
|
message: viem.SignableMessage;
|
|
5121
5159
|
useReplayableSignature?: boolean;
|
|
5122
|
-
}) => Promise<
|
|
5123
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
5160
|
+
}) => Promise<Hex>;
|
|
5161
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
5124
5162
|
signUserOperation: (parameters: viem.UnionPartialBy<UserOperation, "sender"> & {
|
|
5125
5163
|
chainId?: number | undefined;
|
|
5126
|
-
}) => Promise<
|
|
5164
|
+
}) => Promise<Hex>;
|
|
5127
5165
|
userOperation?: {
|
|
5128
5166
|
estimateGas?: ((userOperation: viem_account_abstraction.UserOperationRequest) => Promise<viem.ExactPartial<viem__types_account_abstraction_types_userOperation_js.EstimateUserOperationGasReturnType> | undefined>) | undefined;
|
|
5129
5167
|
} | undefined | undefined;
|
|
@@ -5135,9 +5173,9 @@ declare class ActaAccount {
|
|
|
5135
5173
|
kernelPluginManager: _zerodev_sdk.KernelPluginManager<"0.7">;
|
|
5136
5174
|
factoryAddress: Address;
|
|
5137
5175
|
accountImplementationAddress: Address;
|
|
5138
|
-
generateInitCode: () => Promise<
|
|
5139
|
-
encodeModuleInstallCallData: () => Promise<
|
|
5140
|
-
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<
|
|
5176
|
+
generateInitCode: () => Promise<Hex>;
|
|
5177
|
+
encodeModuleInstallCallData: () => Promise<Hex>;
|
|
5178
|
+
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<Hex>;
|
|
5141
5179
|
eip7702Authorization?: (() => Promise<viem_accounts.SignAuthorizationReturnType | undefined>) | undefined | undefined;
|
|
5142
5180
|
} & {
|
|
5143
5181
|
address: Address;
|
|
@@ -5204,7 +5242,7 @@ declare class ActaAccount {
|
|
|
5204
5242
|
request: viem.EIP1193RequestFn<[{
|
|
5205
5243
|
Method: "eth_chainId";
|
|
5206
5244
|
Parameters?: undefined;
|
|
5207
|
-
ReturnType:
|
|
5245
|
+
ReturnType: Hex;
|
|
5208
5246
|
}, {
|
|
5209
5247
|
Method: "eth_estimateUserOperationGas";
|
|
5210
5248
|
Parameters: [userOperation: RpcUserOperation, entrypoint: Address] | [userOperation: RpcUserOperation, entrypoint: Address, stateOverrideSet: viem.RpcStateOverride];
|
|
@@ -5230,16 +5268,16 @@ declare class ActaAccount {
|
|
|
5230
5268
|
Parameters: [];
|
|
5231
5269
|
ReturnType: {
|
|
5232
5270
|
slow: {
|
|
5233
|
-
maxFeePerGas:
|
|
5234
|
-
maxPriorityFeePerGas:
|
|
5271
|
+
maxFeePerGas: Hex;
|
|
5272
|
+
maxPriorityFeePerGas: Hex;
|
|
5235
5273
|
};
|
|
5236
5274
|
standard: {
|
|
5237
|
-
maxFeePerGas:
|
|
5238
|
-
maxPriorityFeePerGas:
|
|
5275
|
+
maxFeePerGas: Hex;
|
|
5276
|
+
maxPriorityFeePerGas: Hex;
|
|
5239
5277
|
};
|
|
5240
5278
|
fast: {
|
|
5241
|
-
maxFeePerGas:
|
|
5242
|
-
maxPriorityFeePerGas:
|
|
5279
|
+
maxFeePerGas: Hex;
|
|
5280
|
+
maxPriorityFeePerGas: Hex;
|
|
5243
5281
|
};
|
|
5244
5282
|
};
|
|
5245
5283
|
}, {
|
|
@@ -5248,13 +5286,13 @@ declare class ActaAccount {
|
|
|
5248
5286
|
ReturnType: permissionless_types_pimlico_js.PimlicoUserOperationStatus;
|
|
5249
5287
|
}, {
|
|
5250
5288
|
Method: "pimlico_sendCompressedUserOperation";
|
|
5251
|
-
Parameters: [compressedUserOperation:
|
|
5289
|
+
Parameters: [compressedUserOperation: Hex, inflatorAddress: Address, entryPoint: Address];
|
|
5252
5290
|
ReturnType: viem.Hash;
|
|
5253
5291
|
}, {
|
|
5254
5292
|
Method: "pm_sponsorUserOperation";
|
|
5255
5293
|
Parameters: [userOperation: viem.OneOf<viem.PartialBy<{
|
|
5256
5294
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
5257
|
-
callData:
|
|
5295
|
+
callData: Hex;
|
|
5258
5296
|
callGasLimit: `0x${string}`;
|
|
5259
5297
|
initCode?: `0x${string}` | undefined;
|
|
5260
5298
|
maxFeePerGas: `0x${string}`;
|
|
@@ -5263,11 +5301,11 @@ declare class ActaAccount {
|
|
|
5263
5301
|
paymasterAndData?: `0x${string}` | undefined;
|
|
5264
5302
|
preVerificationGas: `0x${string}`;
|
|
5265
5303
|
sender: Address;
|
|
5266
|
-
signature:
|
|
5304
|
+
signature: Hex;
|
|
5267
5305
|
verificationGasLimit: `0x${string}`;
|
|
5268
5306
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit"> | viem.PartialBy<{
|
|
5269
5307
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
5270
|
-
callData:
|
|
5308
|
+
callData: Hex;
|
|
5271
5309
|
callGasLimit: `0x${string}`;
|
|
5272
5310
|
factory?: `0x${string}` | undefined;
|
|
5273
5311
|
factoryData?: `0x${string}` | undefined;
|
|
@@ -5280,28 +5318,28 @@ declare class ActaAccount {
|
|
|
5280
5318
|
paymasterVerificationGasLimit?: `0x${string}` | undefined;
|
|
5281
5319
|
preVerificationGas: `0x${string}`;
|
|
5282
5320
|
sender: Address;
|
|
5283
|
-
signature:
|
|
5321
|
+
signature: Hex;
|
|
5284
5322
|
verificationGasLimit: `0x${string}`;
|
|
5285
5323
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "paymasterPostOpGasLimit" | "paymasterVerificationGasLimit">>, entryPoint: `0x${string}`, metadata?: {
|
|
5286
5324
|
sponsorshipPolicyId?: string;
|
|
5287
5325
|
} | undefined];
|
|
5288
5326
|
ReturnType: {
|
|
5289
|
-
paymasterAndData:
|
|
5290
|
-
preVerificationGas:
|
|
5291
|
-
verificationGasLimit:
|
|
5292
|
-
callGasLimit:
|
|
5327
|
+
paymasterAndData: Hex;
|
|
5328
|
+
preVerificationGas: Hex;
|
|
5329
|
+
verificationGasLimit: Hex;
|
|
5330
|
+
callGasLimit: Hex;
|
|
5293
5331
|
paymaster?: never;
|
|
5294
5332
|
paymasterVerificationGasLimit?: never;
|
|
5295
5333
|
paymasterPostOpGasLimit?: never;
|
|
5296
5334
|
paymasterData?: never;
|
|
5297
5335
|
} | {
|
|
5298
|
-
preVerificationGas:
|
|
5299
|
-
verificationGasLimit:
|
|
5300
|
-
callGasLimit:
|
|
5336
|
+
preVerificationGas: Hex;
|
|
5337
|
+
verificationGasLimit: Hex;
|
|
5338
|
+
callGasLimit: Hex;
|
|
5301
5339
|
paymaster: Address;
|
|
5302
|
-
paymasterVerificationGasLimit:
|
|
5303
|
-
paymasterPostOpGasLimit:
|
|
5304
|
-
paymasterData:
|
|
5340
|
+
paymasterVerificationGasLimit: Hex;
|
|
5341
|
+
paymasterPostOpGasLimit: Hex;
|
|
5342
|
+
paymasterData: Hex;
|
|
5305
5343
|
paymasterAndData?: never;
|
|
5306
5344
|
};
|
|
5307
5345
|
}, {
|
|
@@ -5320,16 +5358,16 @@ declare class ActaAccount {
|
|
|
5320
5358
|
Method: "pimlico_getTokenQuotes";
|
|
5321
5359
|
Parameters: [tokens: {
|
|
5322
5360
|
tokens: Address[];
|
|
5323
|
-
}, entryPoint: Address, chainId:
|
|
5361
|
+
}, entryPoint: Address, chainId: Hex];
|
|
5324
5362
|
ReturnType: {
|
|
5325
5363
|
quotes: {
|
|
5326
5364
|
paymaster: Address;
|
|
5327
5365
|
token: Address;
|
|
5328
|
-
postOpGas:
|
|
5329
|
-
exchangeRate:
|
|
5330
|
-
exchangeRateNativeToUsd:
|
|
5331
|
-
balanceSlot?:
|
|
5332
|
-
allowanceSlot?:
|
|
5366
|
+
postOpGas: Hex;
|
|
5367
|
+
exchangeRate: Hex;
|
|
5368
|
+
exchangeRateNativeToUsd: Hex;
|
|
5369
|
+
balanceSlot?: Hex;
|
|
5370
|
+
allowanceSlot?: Hex;
|
|
5333
5371
|
}[];
|
|
5334
5372
|
};
|
|
5335
5373
|
}]>;
|
|
@@ -5345,7 +5383,7 @@ declare class ActaAccount {
|
|
|
5345
5383
|
getUserOperation: (parameters: viem_account_abstraction.GetUserOperationParameters) => Promise<viem_account_abstraction.GetUserOperationReturnType>;
|
|
5346
5384
|
getUserOperationReceipt: (parameters: viem_account_abstraction.GetUserOperationReceiptParameters) => Promise<viem_account_abstraction.GetUserOperationReceiptReturnType>;
|
|
5347
5385
|
prepareUserOperation: <const calls extends readonly unknown[], const request extends viem_account_abstraction.PrepareUserOperationRequest<SmartAccount | undefined, accountOverride, calls>, accountOverride extends SmartAccount | undefined = undefined>(parameters: viem_account_abstraction.PrepareUserOperationParameters<SmartAccount | undefined, accountOverride, calls, request>) => Promise<viem.UnionOmit<request, "calls" | "parameters"> & {
|
|
5348
|
-
callData:
|
|
5386
|
+
callData: Hex;
|
|
5349
5387
|
paymasterAndData: viem_account_abstraction.DeriveEntryPointVersion<viem_account_abstraction.DeriveSmartAccount<SmartAccount | undefined, accountOverride>> extends infer T_1 ? T_1 extends viem_account_abstraction.DeriveEntryPointVersion<viem_account_abstraction.DeriveSmartAccount<SmartAccount | undefined, accountOverride>> ? T_1 extends "0.6" ? `0x${string}` : undefined : never : never;
|
|
5350
5388
|
sender: UserOperation["sender"];
|
|
5351
5389
|
} & (Extract<request["parameters"] extends readonly viem_account_abstraction.PrepareUserOperationParameterType[] ? request["parameters"][number] : "signature" | "gas" | "nonce" | "authorization" | "fees" | "factory" | "paymaster", "authorization"> extends never ? {} : {
|
|
@@ -5422,7 +5460,7 @@ declare class ActaAccount {
|
|
|
5422
5460
|
paymaster: Address;
|
|
5423
5461
|
paymasterVerificationGasLimit: bigint;
|
|
5424
5462
|
paymasterPostOpGasLimit: bigint;
|
|
5425
|
-
paymasterData:
|
|
5463
|
+
paymasterData: Hex;
|
|
5426
5464
|
}>;
|
|
5427
5465
|
validateSponsorshipPolicies: (args: viem.Prettify<Omit<permissionless_actions_pimlico_js.ValidateSponsorshipPoliciesParameters, "entryPointAddress">>) => Promise<viem.Prettify<permissionless_actions_pimlico_js.ValidateSponsorshipPolicies>[]>;
|
|
5428
5466
|
getTokenQuotes: <TChainOverride extends viem.Chain | undefined = viem.Chain | undefined>(args: {
|
|
@@ -5448,7 +5486,7 @@ declare class ActaAccount {
|
|
|
5448
5486
|
} & viem.ExactPartial<Pick<viem.PublicActions<viem.HttpTransport<undefined, false>, viem.Chain | undefined, SmartAccount | undefined>, "prepareTransactionRequest" | "call" | "getChainId" | "sendRawTransaction" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<viem.Chain | undefined, SmartAccount | undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<viem.HttpTransport<undefined, false>, viem.Chain | undefined, SmartAccount | undefined, [{
|
|
5449
5487
|
Method: "eth_chainId";
|
|
5450
5488
|
Parameters?: undefined;
|
|
5451
|
-
ReturnType:
|
|
5489
|
+
ReturnType: Hex;
|
|
5452
5490
|
}, {
|
|
5453
5491
|
Method: "eth_estimateUserOperationGas";
|
|
5454
5492
|
Parameters: [userOperation: RpcUserOperation, entrypoint: Address] | [userOperation: RpcUserOperation, entrypoint: Address, stateOverrideSet: viem.RpcStateOverride];
|
|
@@ -5474,16 +5512,16 @@ declare class ActaAccount {
|
|
|
5474
5512
|
Parameters: [];
|
|
5475
5513
|
ReturnType: {
|
|
5476
5514
|
slow: {
|
|
5477
|
-
maxFeePerGas:
|
|
5478
|
-
maxPriorityFeePerGas:
|
|
5515
|
+
maxFeePerGas: Hex;
|
|
5516
|
+
maxPriorityFeePerGas: Hex;
|
|
5479
5517
|
};
|
|
5480
5518
|
standard: {
|
|
5481
|
-
maxFeePerGas:
|
|
5482
|
-
maxPriorityFeePerGas:
|
|
5519
|
+
maxFeePerGas: Hex;
|
|
5520
|
+
maxPriorityFeePerGas: Hex;
|
|
5483
5521
|
};
|
|
5484
5522
|
fast: {
|
|
5485
|
-
maxFeePerGas:
|
|
5486
|
-
maxPriorityFeePerGas:
|
|
5523
|
+
maxFeePerGas: Hex;
|
|
5524
|
+
maxPriorityFeePerGas: Hex;
|
|
5487
5525
|
};
|
|
5488
5526
|
};
|
|
5489
5527
|
}, {
|
|
@@ -5492,13 +5530,13 @@ declare class ActaAccount {
|
|
|
5492
5530
|
ReturnType: permissionless_types_pimlico_js.PimlicoUserOperationStatus;
|
|
5493
5531
|
}, {
|
|
5494
5532
|
Method: "pimlico_sendCompressedUserOperation";
|
|
5495
|
-
Parameters: [compressedUserOperation:
|
|
5533
|
+
Parameters: [compressedUserOperation: Hex, inflatorAddress: Address, entryPoint: Address];
|
|
5496
5534
|
ReturnType: viem.Hash;
|
|
5497
5535
|
}, {
|
|
5498
5536
|
Method: "pm_sponsorUserOperation";
|
|
5499
5537
|
Parameters: [userOperation: viem.OneOf<viem.PartialBy<{
|
|
5500
5538
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
5501
|
-
callData:
|
|
5539
|
+
callData: Hex;
|
|
5502
5540
|
callGasLimit: `0x${string}`;
|
|
5503
5541
|
initCode?: `0x${string}` | undefined;
|
|
5504
5542
|
maxFeePerGas: `0x${string}`;
|
|
@@ -5507,11 +5545,11 @@ declare class ActaAccount {
|
|
|
5507
5545
|
paymasterAndData?: `0x${string}` | undefined;
|
|
5508
5546
|
preVerificationGas: `0x${string}`;
|
|
5509
5547
|
sender: Address;
|
|
5510
|
-
signature:
|
|
5548
|
+
signature: Hex;
|
|
5511
5549
|
verificationGasLimit: `0x${string}`;
|
|
5512
5550
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit"> | viem.PartialBy<{
|
|
5513
5551
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
5514
|
-
callData:
|
|
5552
|
+
callData: Hex;
|
|
5515
5553
|
callGasLimit: `0x${string}`;
|
|
5516
5554
|
factory?: `0x${string}` | undefined;
|
|
5517
5555
|
factoryData?: `0x${string}` | undefined;
|
|
@@ -5524,28 +5562,28 @@ declare class ActaAccount {
|
|
|
5524
5562
|
paymasterVerificationGasLimit?: `0x${string}` | undefined;
|
|
5525
5563
|
preVerificationGas: `0x${string}`;
|
|
5526
5564
|
sender: Address;
|
|
5527
|
-
signature:
|
|
5565
|
+
signature: Hex;
|
|
5528
5566
|
verificationGasLimit: `0x${string}`;
|
|
5529
5567
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "paymasterPostOpGasLimit" | "paymasterVerificationGasLimit">>, entryPoint: `0x${string}`, metadata?: {
|
|
5530
5568
|
sponsorshipPolicyId?: string;
|
|
5531
5569
|
} | undefined];
|
|
5532
5570
|
ReturnType: {
|
|
5533
|
-
paymasterAndData:
|
|
5534
|
-
preVerificationGas:
|
|
5535
|
-
verificationGasLimit:
|
|
5536
|
-
callGasLimit:
|
|
5571
|
+
paymasterAndData: Hex;
|
|
5572
|
+
preVerificationGas: Hex;
|
|
5573
|
+
verificationGasLimit: Hex;
|
|
5574
|
+
callGasLimit: Hex;
|
|
5537
5575
|
paymaster?: never;
|
|
5538
5576
|
paymasterVerificationGasLimit?: never;
|
|
5539
5577
|
paymasterPostOpGasLimit?: never;
|
|
5540
5578
|
paymasterData?: never;
|
|
5541
5579
|
} | {
|
|
5542
|
-
preVerificationGas:
|
|
5543
|
-
verificationGasLimit:
|
|
5544
|
-
callGasLimit:
|
|
5580
|
+
preVerificationGas: Hex;
|
|
5581
|
+
verificationGasLimit: Hex;
|
|
5582
|
+
callGasLimit: Hex;
|
|
5545
5583
|
paymaster: Address;
|
|
5546
|
-
paymasterVerificationGasLimit:
|
|
5547
|
-
paymasterPostOpGasLimit:
|
|
5548
|
-
paymasterData:
|
|
5584
|
+
paymasterVerificationGasLimit: Hex;
|
|
5585
|
+
paymasterPostOpGasLimit: Hex;
|
|
5586
|
+
paymasterData: Hex;
|
|
5549
5587
|
paymasterAndData?: never;
|
|
5550
5588
|
};
|
|
5551
5589
|
}, {
|
|
@@ -5564,22 +5602,22 @@ declare class ActaAccount {
|
|
|
5564
5602
|
Method: "pimlico_getTokenQuotes";
|
|
5565
5603
|
Parameters: [tokens: {
|
|
5566
5604
|
tokens: Address[];
|
|
5567
|
-
}, entryPoint: Address, chainId:
|
|
5605
|
+
}, entryPoint: Address, chainId: Hex];
|
|
5568
5606
|
ReturnType: {
|
|
5569
5607
|
quotes: {
|
|
5570
5608
|
paymaster: Address;
|
|
5571
5609
|
token: Address;
|
|
5572
|
-
postOpGas:
|
|
5573
|
-
exchangeRate:
|
|
5574
|
-
exchangeRateNativeToUsd:
|
|
5575
|
-
balanceSlot?:
|
|
5576
|
-
allowanceSlot?:
|
|
5610
|
+
postOpGas: Hex;
|
|
5611
|
+
exchangeRate: Hex;
|
|
5612
|
+
exchangeRateNativeToUsd: Hex;
|
|
5613
|
+
balanceSlot?: Hex;
|
|
5614
|
+
allowanceSlot?: Hex;
|
|
5577
5615
|
}[];
|
|
5578
5616
|
};
|
|
5579
5617
|
}], viem_account_abstraction.BundlerActions<SmartAccount | undefined> & viem_account_abstraction.PaymasterActions & permissionless_actions_pimlico_js.PimlicoActions<viem.Chain | undefined, "0.7">>) => client) => viem.Client<viem.HttpTransport<undefined, false>, viem.Chain | undefined, SmartAccount | undefined, [{
|
|
5580
5618
|
Method: "eth_chainId";
|
|
5581
5619
|
Parameters?: undefined;
|
|
5582
|
-
ReturnType:
|
|
5620
|
+
ReturnType: Hex;
|
|
5583
5621
|
}, {
|
|
5584
5622
|
Method: "eth_estimateUserOperationGas";
|
|
5585
5623
|
Parameters: [userOperation: RpcUserOperation, entrypoint: Address] | [userOperation: RpcUserOperation, entrypoint: Address, stateOverrideSet: viem.RpcStateOverride];
|
|
@@ -5605,16 +5643,16 @@ declare class ActaAccount {
|
|
|
5605
5643
|
Parameters: [];
|
|
5606
5644
|
ReturnType: {
|
|
5607
5645
|
slow: {
|
|
5608
|
-
maxFeePerGas:
|
|
5609
|
-
maxPriorityFeePerGas:
|
|
5646
|
+
maxFeePerGas: Hex;
|
|
5647
|
+
maxPriorityFeePerGas: Hex;
|
|
5610
5648
|
};
|
|
5611
5649
|
standard: {
|
|
5612
|
-
maxFeePerGas:
|
|
5613
|
-
maxPriorityFeePerGas:
|
|
5650
|
+
maxFeePerGas: Hex;
|
|
5651
|
+
maxPriorityFeePerGas: Hex;
|
|
5614
5652
|
};
|
|
5615
5653
|
fast: {
|
|
5616
|
-
maxFeePerGas:
|
|
5617
|
-
maxPriorityFeePerGas:
|
|
5654
|
+
maxFeePerGas: Hex;
|
|
5655
|
+
maxPriorityFeePerGas: Hex;
|
|
5618
5656
|
};
|
|
5619
5657
|
};
|
|
5620
5658
|
}, {
|
|
@@ -5623,13 +5661,13 @@ declare class ActaAccount {
|
|
|
5623
5661
|
ReturnType: permissionless_types_pimlico_js.PimlicoUserOperationStatus;
|
|
5624
5662
|
}, {
|
|
5625
5663
|
Method: "pimlico_sendCompressedUserOperation";
|
|
5626
|
-
Parameters: [compressedUserOperation:
|
|
5664
|
+
Parameters: [compressedUserOperation: Hex, inflatorAddress: Address, entryPoint: Address];
|
|
5627
5665
|
ReturnType: viem.Hash;
|
|
5628
5666
|
}, {
|
|
5629
5667
|
Method: "pm_sponsorUserOperation";
|
|
5630
5668
|
Parameters: [userOperation: viem.OneOf<viem.PartialBy<{
|
|
5631
5669
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
5632
|
-
callData:
|
|
5670
|
+
callData: Hex;
|
|
5633
5671
|
callGasLimit: `0x${string}`;
|
|
5634
5672
|
initCode?: `0x${string}` | undefined;
|
|
5635
5673
|
maxFeePerGas: `0x${string}`;
|
|
@@ -5638,11 +5676,11 @@ declare class ActaAccount {
|
|
|
5638
5676
|
paymasterAndData?: `0x${string}` | undefined;
|
|
5639
5677
|
preVerificationGas: `0x${string}`;
|
|
5640
5678
|
sender: Address;
|
|
5641
|
-
signature:
|
|
5679
|
+
signature: Hex;
|
|
5642
5680
|
verificationGasLimit: `0x${string}`;
|
|
5643
5681
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit"> | viem.PartialBy<{
|
|
5644
5682
|
authorization?: viem.SignedAuthorization<number> | undefined;
|
|
5645
|
-
callData:
|
|
5683
|
+
callData: Hex;
|
|
5646
5684
|
callGasLimit: `0x${string}`;
|
|
5647
5685
|
factory?: `0x${string}` | undefined;
|
|
5648
5686
|
factoryData?: `0x${string}` | undefined;
|
|
@@ -5655,28 +5693,28 @@ declare class ActaAccount {
|
|
|
5655
5693
|
paymasterVerificationGasLimit?: `0x${string}` | undefined;
|
|
5656
5694
|
preVerificationGas: `0x${string}`;
|
|
5657
5695
|
sender: Address;
|
|
5658
|
-
signature:
|
|
5696
|
+
signature: Hex;
|
|
5659
5697
|
verificationGasLimit: `0x${string}`;
|
|
5660
5698
|
}, "callGasLimit" | "preVerificationGas" | "verificationGasLimit" | "paymasterPostOpGasLimit" | "paymasterVerificationGasLimit">>, entryPoint: `0x${string}`, metadata?: {
|
|
5661
5699
|
sponsorshipPolicyId?: string;
|
|
5662
5700
|
} | undefined];
|
|
5663
5701
|
ReturnType: {
|
|
5664
|
-
paymasterAndData:
|
|
5665
|
-
preVerificationGas:
|
|
5666
|
-
verificationGasLimit:
|
|
5667
|
-
callGasLimit:
|
|
5702
|
+
paymasterAndData: Hex;
|
|
5703
|
+
preVerificationGas: Hex;
|
|
5704
|
+
verificationGasLimit: Hex;
|
|
5705
|
+
callGasLimit: Hex;
|
|
5668
5706
|
paymaster?: never;
|
|
5669
5707
|
paymasterVerificationGasLimit?: never;
|
|
5670
5708
|
paymasterPostOpGasLimit?: never;
|
|
5671
5709
|
paymasterData?: never;
|
|
5672
5710
|
} | {
|
|
5673
|
-
preVerificationGas:
|
|
5674
|
-
verificationGasLimit:
|
|
5675
|
-
callGasLimit:
|
|
5711
|
+
preVerificationGas: Hex;
|
|
5712
|
+
verificationGasLimit: Hex;
|
|
5713
|
+
callGasLimit: Hex;
|
|
5676
5714
|
paymaster: Address;
|
|
5677
|
-
paymasterVerificationGasLimit:
|
|
5678
|
-
paymasterPostOpGasLimit:
|
|
5679
|
-
paymasterData:
|
|
5715
|
+
paymasterVerificationGasLimit: Hex;
|
|
5716
|
+
paymasterPostOpGasLimit: Hex;
|
|
5717
|
+
paymasterData: Hex;
|
|
5680
5718
|
paymasterAndData?: never;
|
|
5681
5719
|
};
|
|
5682
5720
|
}, {
|
|
@@ -5695,16 +5733,16 @@ declare class ActaAccount {
|
|
|
5695
5733
|
Method: "pimlico_getTokenQuotes";
|
|
5696
5734
|
Parameters: [tokens: {
|
|
5697
5735
|
tokens: Address[];
|
|
5698
|
-
}, entryPoint: Address, chainId:
|
|
5736
|
+
}, entryPoint: Address, chainId: Hex];
|
|
5699
5737
|
ReturnType: {
|
|
5700
5738
|
quotes: {
|
|
5701
5739
|
paymaster: Address;
|
|
5702
5740
|
token: Address;
|
|
5703
|
-
postOpGas:
|
|
5704
|
-
exchangeRate:
|
|
5705
|
-
exchangeRateNativeToUsd:
|
|
5706
|
-
balanceSlot?:
|
|
5707
|
-
allowanceSlot?:
|
|
5741
|
+
postOpGas: Hex;
|
|
5742
|
+
exchangeRate: Hex;
|
|
5743
|
+
exchangeRateNativeToUsd: Hex;
|
|
5744
|
+
balanceSlot?: Hex;
|
|
5745
|
+
allowanceSlot?: Hex;
|
|
5708
5746
|
}[];
|
|
5709
5747
|
};
|
|
5710
5748
|
}], { [K in keyof client]: client[K]; } & viem_account_abstraction.BundlerActions<SmartAccount | undefined> & viem_account_abstraction.PaymasterActions & permissionless_actions_pimlico_js.PimlicoActions<viem.Chain | undefined, "0.7">>;
|
|
@@ -5715,16 +5753,16 @@ declare class ActaAccount {
|
|
|
5715
5753
|
nonceManager?: viem.NonceManager | undefined;
|
|
5716
5754
|
sign?: ((parameters: {
|
|
5717
5755
|
hash: viem.Hash;
|
|
5718
|
-
}) => Promise<
|
|
5756
|
+
}) => Promise<Hex>) | undefined | undefined;
|
|
5719
5757
|
signAuthorization?: ((parameters: viem.AuthorizationRequest) => Promise<viem_accounts.SignAuthorizationReturnType>) | undefined | undefined;
|
|
5720
5758
|
signMessage: ({ message }: {
|
|
5721
5759
|
message: viem.SignableMessage;
|
|
5722
|
-
}) => Promise<
|
|
5760
|
+
}) => Promise<Hex>;
|
|
5723
5761
|
signTransaction: <serializer extends viem.SerializeTransactionFn<viem.TransactionSerializable> = viem.SerializeTransactionFn<viem.TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
5724
5762
|
serializer?: serializer | undefined;
|
|
5725
|
-
} | undefined) => Promise<
|
|
5726
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
5727
|
-
publicKey:
|
|
5763
|
+
} | undefined) => Promise<Hex>;
|
|
5764
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
5765
|
+
publicKey: Hex;
|
|
5728
5766
|
source: string;
|
|
5729
5767
|
type: "local";
|
|
5730
5768
|
} | viem.JsonRpcAccount | undefined>;
|
|
@@ -6376,32 +6414,32 @@ declare class ActaAccount {
|
|
|
6376
6414
|
};
|
|
6377
6415
|
extend?: object | undefined;
|
|
6378
6416
|
getAddress: () => Promise<Address>;
|
|
6379
|
-
decodeCalls?: ((data:
|
|
6380
|
-
to:
|
|
6381
|
-
data?:
|
|
6417
|
+
decodeCalls?: ((data: Hex) => Promise<readonly {
|
|
6418
|
+
to: Hex;
|
|
6419
|
+
data?: Hex | undefined;
|
|
6382
6420
|
value?: bigint | undefined;
|
|
6383
6421
|
}[]>) | undefined | undefined;
|
|
6384
|
-
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<
|
|
6422
|
+
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<Hex>;
|
|
6385
6423
|
getFactoryArgs: () => Promise<{
|
|
6386
6424
|
factory?: Address | undefined;
|
|
6387
|
-
factoryData?:
|
|
6425
|
+
factoryData?: Hex | undefined;
|
|
6388
6426
|
}>;
|
|
6389
6427
|
getNonce?: ((parameters?: {
|
|
6390
6428
|
key?: bigint | undefined;
|
|
6391
6429
|
} | undefined) => Promise<bigint>) | undefined | undefined;
|
|
6392
|
-
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<
|
|
6430
|
+
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<Hex>;
|
|
6393
6431
|
nonceKeyManager?: viem.NonceManager | undefined;
|
|
6394
6432
|
sign: (parameters: {
|
|
6395
6433
|
hash: viem.Hash;
|
|
6396
|
-
}) => Promise<
|
|
6434
|
+
}) => Promise<Hex>;
|
|
6397
6435
|
signMessage: (parameters: {
|
|
6398
6436
|
message: viem.SignableMessage;
|
|
6399
6437
|
useReplayableSignature?: boolean;
|
|
6400
|
-
}) => Promise<
|
|
6401
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
6438
|
+
}) => Promise<Hex>;
|
|
6439
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
6402
6440
|
signUserOperation: (parameters: viem.UnionPartialBy<UserOperation, "sender"> & {
|
|
6403
6441
|
chainId?: number | undefined;
|
|
6404
|
-
}) => Promise<
|
|
6442
|
+
}) => Promise<Hex>;
|
|
6405
6443
|
userOperation?: {
|
|
6406
6444
|
estimateGas?: ((userOperation: viem_account_abstraction.UserOperationRequest) => Promise<viem.ExactPartial<viem__types_account_abstraction_types_userOperation_js.EstimateUserOperationGasReturnType> | undefined>) | undefined;
|
|
6407
6445
|
} | undefined | undefined;
|
|
@@ -6410,9 +6448,9 @@ declare class ActaAccount {
|
|
|
6410
6448
|
kernelPluginManager: _zerodev_sdk.KernelPluginManager<"0.7">;
|
|
6411
6449
|
factoryAddress: Address;
|
|
6412
6450
|
accountImplementationAddress: Address;
|
|
6413
|
-
generateInitCode: () => Promise<
|
|
6414
|
-
encodeModuleInstallCallData: () => Promise<
|
|
6415
|
-
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<
|
|
6451
|
+
generateInitCode: () => Promise<Hex>;
|
|
6452
|
+
encodeModuleInstallCallData: () => Promise<Hex>;
|
|
6453
|
+
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<Hex>;
|
|
6416
6454
|
eip7702Authorization?: (() => Promise<viem_accounts.SignAuthorizationReturnType | undefined>) | undefined | undefined;
|
|
6417
6455
|
} & {
|
|
6418
6456
|
address: Address;
|
|
@@ -6425,16 +6463,16 @@ declare class ActaAccount {
|
|
|
6425
6463
|
nonceManager?: viem.NonceManager | undefined;
|
|
6426
6464
|
sign?: ((parameters: {
|
|
6427
6465
|
hash: viem.Hash;
|
|
6428
|
-
}) => Promise<
|
|
6466
|
+
}) => Promise<Hex>) | undefined | undefined;
|
|
6429
6467
|
signAuthorization?: ((parameters: viem.AuthorizationRequest) => Promise<viem_accounts.SignAuthorizationReturnType>) | undefined | undefined;
|
|
6430
6468
|
signMessage: ({ message }: {
|
|
6431
6469
|
message: viem.SignableMessage;
|
|
6432
|
-
}) => Promise<
|
|
6470
|
+
}) => Promise<Hex>;
|
|
6433
6471
|
signTransaction: <serializer extends viem.SerializeTransactionFn<viem.TransactionSerializable> = viem.SerializeTransactionFn<viem.TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
6434
6472
|
serializer?: serializer | undefined;
|
|
6435
|
-
} | undefined) => Promise<
|
|
6436
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
6437
|
-
publicKey:
|
|
6473
|
+
} | undefined) => Promise<Hex>;
|
|
6474
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
6475
|
+
publicKey: Hex;
|
|
6438
6476
|
source: string;
|
|
6439
6477
|
type: "local";
|
|
6440
6478
|
} | viem.JsonRpcAccount | undefined>;
|
|
@@ -7086,32 +7124,32 @@ declare class ActaAccount {
|
|
|
7086
7124
|
};
|
|
7087
7125
|
extend?: object | undefined;
|
|
7088
7126
|
getAddress: () => Promise<Address>;
|
|
7089
|
-
decodeCalls?: ((data:
|
|
7090
|
-
to:
|
|
7091
|
-
data?:
|
|
7127
|
+
decodeCalls?: ((data: Hex) => Promise<readonly {
|
|
7128
|
+
to: Hex;
|
|
7129
|
+
data?: Hex | undefined;
|
|
7092
7130
|
value?: bigint | undefined;
|
|
7093
7131
|
}[]>) | undefined | undefined;
|
|
7094
|
-
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<
|
|
7132
|
+
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<Hex>;
|
|
7095
7133
|
getFactoryArgs: () => Promise<{
|
|
7096
7134
|
factory?: Address | undefined;
|
|
7097
|
-
factoryData?:
|
|
7135
|
+
factoryData?: Hex | undefined;
|
|
7098
7136
|
}>;
|
|
7099
7137
|
getNonce?: ((parameters?: {
|
|
7100
7138
|
key?: bigint | undefined;
|
|
7101
7139
|
} | undefined) => Promise<bigint>) | undefined | undefined;
|
|
7102
|
-
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<
|
|
7140
|
+
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<Hex>;
|
|
7103
7141
|
nonceKeyManager?: viem.NonceManager | undefined;
|
|
7104
7142
|
sign: (parameters: {
|
|
7105
7143
|
hash: viem.Hash;
|
|
7106
|
-
}) => Promise<
|
|
7144
|
+
}) => Promise<Hex>;
|
|
7107
7145
|
signMessage: (parameters: {
|
|
7108
7146
|
message: viem.SignableMessage;
|
|
7109
7147
|
useReplayableSignature?: boolean;
|
|
7110
|
-
}) => Promise<
|
|
7111
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
7148
|
+
}) => Promise<Hex>;
|
|
7149
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
7112
7150
|
signUserOperation: (parameters: viem.UnionPartialBy<UserOperation, "sender"> & {
|
|
7113
7151
|
chainId?: number | undefined;
|
|
7114
|
-
}) => Promise<
|
|
7152
|
+
}) => Promise<Hex>;
|
|
7115
7153
|
userOperation?: {
|
|
7116
7154
|
estimateGas?: ((userOperation: viem_account_abstraction.UserOperationRequest) => Promise<viem.ExactPartial<viem__types_account_abstraction_types_userOperation_js.EstimateUserOperationGasReturnType> | undefined>) | undefined;
|
|
7117
7155
|
} | undefined | undefined;
|
|
@@ -7123,9 +7161,9 @@ declare class ActaAccount {
|
|
|
7123
7161
|
kernelPluginManager: _zerodev_sdk.KernelPluginManager<"0.7">;
|
|
7124
7162
|
factoryAddress: Address;
|
|
7125
7163
|
accountImplementationAddress: Address;
|
|
7126
|
-
generateInitCode: () => Promise<
|
|
7127
|
-
encodeModuleInstallCallData: () => Promise<
|
|
7128
|
-
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<
|
|
7164
|
+
generateInitCode: () => Promise<Hex>;
|
|
7165
|
+
encodeModuleInstallCallData: () => Promise<Hex>;
|
|
7166
|
+
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<Hex>;
|
|
7129
7167
|
eip7702Authorization?: (() => Promise<viem_accounts.SignAuthorizationReturnType | undefined>) | undefined | undefined;
|
|
7130
7168
|
} & {
|
|
7131
7169
|
address: Address;
|
|
@@ -7139,16 +7177,16 @@ declare class ActaAccount {
|
|
|
7139
7177
|
nonceManager?: viem.NonceManager | undefined;
|
|
7140
7178
|
sign?: ((parameters: {
|
|
7141
7179
|
hash: viem.Hash;
|
|
7142
|
-
}) => Promise<
|
|
7180
|
+
}) => Promise<Hex>) | undefined | undefined;
|
|
7143
7181
|
signAuthorization?: ((parameters: viem.AuthorizationRequest) => Promise<viem_accounts.SignAuthorizationReturnType>) | undefined | undefined;
|
|
7144
7182
|
signMessage: ({ message }: {
|
|
7145
7183
|
message: viem.SignableMessage;
|
|
7146
|
-
}) => Promise<
|
|
7184
|
+
}) => Promise<Hex>;
|
|
7147
7185
|
signTransaction: <serializer extends viem.SerializeTransactionFn<viem.TransactionSerializable> = viem.SerializeTransactionFn<viem.TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
7148
7186
|
serializer?: serializer | undefined;
|
|
7149
|
-
} | undefined) => Promise<
|
|
7150
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
7151
|
-
publicKey:
|
|
7187
|
+
} | undefined) => Promise<Hex>;
|
|
7188
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
7189
|
+
publicKey: Hex;
|
|
7152
7190
|
source: string;
|
|
7153
7191
|
type: "local";
|
|
7154
7192
|
} | viem.JsonRpcAccount | undefined>;
|
|
@@ -7800,32 +7838,32 @@ declare class ActaAccount {
|
|
|
7800
7838
|
};
|
|
7801
7839
|
extend?: object | undefined;
|
|
7802
7840
|
getAddress: () => Promise<Address>;
|
|
7803
|
-
decodeCalls?: ((data:
|
|
7804
|
-
to:
|
|
7805
|
-
data?:
|
|
7841
|
+
decodeCalls?: ((data: Hex) => Promise<readonly {
|
|
7842
|
+
to: Hex;
|
|
7843
|
+
data?: Hex | undefined;
|
|
7806
7844
|
value?: bigint | undefined;
|
|
7807
7845
|
}[]>) | undefined | undefined;
|
|
7808
|
-
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<
|
|
7846
|
+
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<Hex>;
|
|
7809
7847
|
getFactoryArgs: () => Promise<{
|
|
7810
7848
|
factory?: Address | undefined;
|
|
7811
|
-
factoryData?:
|
|
7849
|
+
factoryData?: Hex | undefined;
|
|
7812
7850
|
}>;
|
|
7813
7851
|
getNonce?: ((parameters?: {
|
|
7814
7852
|
key?: bigint | undefined;
|
|
7815
7853
|
} | undefined) => Promise<bigint>) | undefined | undefined;
|
|
7816
|
-
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<
|
|
7854
|
+
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<Hex>;
|
|
7817
7855
|
nonceKeyManager?: viem.NonceManager | undefined;
|
|
7818
7856
|
sign: (parameters: {
|
|
7819
7857
|
hash: viem.Hash;
|
|
7820
|
-
}) => Promise<
|
|
7858
|
+
}) => Promise<Hex>;
|
|
7821
7859
|
signMessage: (parameters: {
|
|
7822
7860
|
message: viem.SignableMessage;
|
|
7823
7861
|
useReplayableSignature?: boolean;
|
|
7824
|
-
}) => Promise<
|
|
7825
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
7862
|
+
}) => Promise<Hex>;
|
|
7863
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
7826
7864
|
signUserOperation: (parameters: viem.UnionPartialBy<UserOperation, "sender"> & {
|
|
7827
7865
|
chainId?: number | undefined;
|
|
7828
|
-
}) => Promise<
|
|
7866
|
+
}) => Promise<Hex>;
|
|
7829
7867
|
userOperation?: {
|
|
7830
7868
|
estimateGas?: ((userOperation: viem_account_abstraction.UserOperationRequest) => Promise<viem.ExactPartial<viem__types_account_abstraction_types_userOperation_js.EstimateUserOperationGasReturnType> | undefined>) | undefined;
|
|
7831
7869
|
} | undefined | undefined;
|
|
@@ -7834,9 +7872,9 @@ declare class ActaAccount {
|
|
|
7834
7872
|
kernelPluginManager: _zerodev_sdk.KernelPluginManager<"0.7">;
|
|
7835
7873
|
factoryAddress: Address;
|
|
7836
7874
|
accountImplementationAddress: Address;
|
|
7837
|
-
generateInitCode: () => Promise<
|
|
7838
|
-
encodeModuleInstallCallData: () => Promise<
|
|
7839
|
-
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<
|
|
7875
|
+
generateInitCode: () => Promise<Hex>;
|
|
7876
|
+
encodeModuleInstallCallData: () => Promise<Hex>;
|
|
7877
|
+
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<Hex>;
|
|
7840
7878
|
eip7702Authorization?: (() => Promise<viem_accounts.SignAuthorizationReturnType | undefined>) | undefined | undefined;
|
|
7841
7879
|
} & {
|
|
7842
7880
|
address: Address;
|
|
@@ -7849,16 +7887,16 @@ declare class ActaAccount {
|
|
|
7849
7887
|
nonceManager?: viem.NonceManager | undefined;
|
|
7850
7888
|
sign?: ((parameters: {
|
|
7851
7889
|
hash: viem.Hash;
|
|
7852
|
-
}) => Promise<
|
|
7890
|
+
}) => Promise<Hex>) | undefined | undefined;
|
|
7853
7891
|
signAuthorization?: ((parameters: viem.AuthorizationRequest) => Promise<viem_accounts.SignAuthorizationReturnType>) | undefined | undefined;
|
|
7854
7892
|
signMessage: ({ message }: {
|
|
7855
7893
|
message: viem.SignableMessage;
|
|
7856
|
-
}) => Promise<
|
|
7894
|
+
}) => Promise<Hex>;
|
|
7857
7895
|
signTransaction: <serializer extends viem.SerializeTransactionFn<viem.TransactionSerializable> = viem.SerializeTransactionFn<viem.TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
7858
7896
|
serializer?: serializer | undefined;
|
|
7859
|
-
} | undefined) => Promise<
|
|
7860
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
7861
|
-
publicKey:
|
|
7897
|
+
} | undefined) => Promise<Hex>;
|
|
7898
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
7899
|
+
publicKey: Hex;
|
|
7862
7900
|
source: string;
|
|
7863
7901
|
type: "local";
|
|
7864
7902
|
} | viem.JsonRpcAccount | undefined>;
|
|
@@ -8510,32 +8548,32 @@ declare class ActaAccount {
|
|
|
8510
8548
|
};
|
|
8511
8549
|
extend?: object | undefined;
|
|
8512
8550
|
getAddress: () => Promise<Address>;
|
|
8513
|
-
decodeCalls?: ((data:
|
|
8514
|
-
to:
|
|
8515
|
-
data?:
|
|
8551
|
+
decodeCalls?: ((data: Hex) => Promise<readonly {
|
|
8552
|
+
to: Hex;
|
|
8553
|
+
data?: Hex | undefined;
|
|
8516
8554
|
value?: bigint | undefined;
|
|
8517
8555
|
}[]>) | undefined | undefined;
|
|
8518
|
-
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<
|
|
8556
|
+
encodeCalls: (calls: Parameters<viem_account_abstraction.SmartAccountImplementation["encodeCalls"]>[0], callType?: _zerodev_sdk_types.CallType | undefined) => Promise<Hex>;
|
|
8519
8557
|
getFactoryArgs: () => Promise<{
|
|
8520
8558
|
factory?: Address | undefined;
|
|
8521
|
-
factoryData?:
|
|
8559
|
+
factoryData?: Hex | undefined;
|
|
8522
8560
|
}>;
|
|
8523
8561
|
getNonce?: ((parameters?: {
|
|
8524
8562
|
key?: bigint | undefined;
|
|
8525
8563
|
} | undefined) => Promise<bigint>) | undefined | undefined;
|
|
8526
|
-
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<
|
|
8564
|
+
getStubSignature: (parameters?: viem_account_abstraction.UserOperationRequest | undefined) => Promise<Hex>;
|
|
8527
8565
|
nonceKeyManager?: viem.NonceManager | undefined;
|
|
8528
8566
|
sign: (parameters: {
|
|
8529
8567
|
hash: viem.Hash;
|
|
8530
|
-
}) => Promise<
|
|
8568
|
+
}) => Promise<Hex>;
|
|
8531
8569
|
signMessage: (parameters: {
|
|
8532
8570
|
message: viem.SignableMessage;
|
|
8533
8571
|
useReplayableSignature?: boolean;
|
|
8534
|
-
}) => Promise<
|
|
8535
|
-
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<
|
|
8572
|
+
}) => Promise<Hex>;
|
|
8573
|
+
signTypedData: <const typedData extends viem.TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: viem.TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
|
|
8536
8574
|
signUserOperation: (parameters: viem.UnionPartialBy<UserOperation, "sender"> & {
|
|
8537
8575
|
chainId?: number | undefined;
|
|
8538
|
-
}) => Promise<
|
|
8576
|
+
}) => Promise<Hex>;
|
|
8539
8577
|
userOperation?: {
|
|
8540
8578
|
estimateGas?: ((userOperation: viem_account_abstraction.UserOperationRequest) => Promise<viem.ExactPartial<viem__types_account_abstraction_types_userOperation_js.EstimateUserOperationGasReturnType> | undefined>) | undefined;
|
|
8541
8579
|
} | undefined | undefined;
|
|
@@ -8547,9 +8585,9 @@ declare class ActaAccount {
|
|
|
8547
8585
|
kernelPluginManager: _zerodev_sdk.KernelPluginManager<"0.7">;
|
|
8548
8586
|
factoryAddress: Address;
|
|
8549
8587
|
accountImplementationAddress: Address;
|
|
8550
|
-
generateInitCode: () => Promise<
|
|
8551
|
-
encodeModuleInstallCallData: () => Promise<
|
|
8552
|
-
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<
|
|
8588
|
+
generateInitCode: () => Promise<Hex>;
|
|
8589
|
+
encodeModuleInstallCallData: () => Promise<Hex>;
|
|
8590
|
+
encodeDeployCallData: ({ abi, args, bytecode }: viem.EncodeDeployDataParameters) => Promise<Hex>;
|
|
8553
8591
|
eip7702Authorization?: (() => Promise<viem_accounts.SignAuthorizationReturnType | undefined>) | undefined | undefined;
|
|
8554
8592
|
} & {
|
|
8555
8593
|
address: Address;
|
|
@@ -8576,6 +8614,14 @@ declare class ActaAccount {
|
|
|
8576
8614
|
paymaster: `0x${string}`;
|
|
8577
8615
|
userOperation: UserOperation<"0.7">;
|
|
8578
8616
|
}>;
|
|
8617
|
+
estimatePaymentAmount(singlePaymentParams: EstimatePaymentAmount): Promise<{
|
|
8618
|
+
totalAmount: bigint;
|
|
8619
|
+
actalinkFees: bigint;
|
|
8620
|
+
receiverAmount: bigint;
|
|
8621
|
+
}>;
|
|
8622
|
+
checkAllowance(params: CheckAllowance): Promise<bigint>;
|
|
8623
|
+
approveToken(params: ApproveToken): Promise<`0x${string}`>;
|
|
8624
|
+
waitForTransactionReceipt(params: GetTransactionReceipt): Promise<TransactionReceipt>;
|
|
8579
8625
|
signSinglePaymentOperation(singlePaymentParams: SinglePaymentParamsType): Promise<RpcUserOperation>;
|
|
8580
8626
|
signSingleBatchOperation(singlePaymentParams: SingleBatchPaymentParamsType): Promise<RpcUserOperation>;
|
|
8581
8627
|
signRecurringPayments(recurringPaymentParams: RecurringPaymentParamsType): Promise<{
|
|
@@ -8689,15 +8735,15 @@ declare class ViemClient {
|
|
|
8689
8735
|
blobGasUsed: bigint;
|
|
8690
8736
|
difficulty: bigint;
|
|
8691
8737
|
excessBlobGas: bigint;
|
|
8692
|
-
extraData:
|
|
8738
|
+
extraData: Hex;
|
|
8693
8739
|
gasLimit: bigint;
|
|
8694
8740
|
gasUsed: bigint;
|
|
8695
8741
|
miner: Address;
|
|
8696
8742
|
mixHash: viem.Hash;
|
|
8697
8743
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
8698
8744
|
parentHash: viem.Hash;
|
|
8699
|
-
receiptsRoot:
|
|
8700
|
-
sealFields:
|
|
8745
|
+
receiptsRoot: Hex;
|
|
8746
|
+
sealFields: Hex[];
|
|
8701
8747
|
sha3Uncles: viem.Hash;
|
|
8702
8748
|
stateRoot: viem.Hash;
|
|
8703
8749
|
timestamp: bigint;
|
|
@@ -8709,13 +8755,13 @@ declare class ViemClient {
|
|
|
8709
8755
|
transactions: includeTransactions extends true ? ({
|
|
8710
8756
|
value: bigint;
|
|
8711
8757
|
type: "legacy";
|
|
8712
|
-
r:
|
|
8713
|
-
s:
|
|
8758
|
+
r: Hex;
|
|
8759
|
+
s: Hex;
|
|
8714
8760
|
yParity?: undefined | undefined;
|
|
8715
8761
|
v: bigint;
|
|
8716
8762
|
hash: viem.Hash;
|
|
8717
8763
|
chainId?: number | undefined;
|
|
8718
|
-
input:
|
|
8764
|
+
input: Hex;
|
|
8719
8765
|
from: Address;
|
|
8720
8766
|
gas: bigint;
|
|
8721
8767
|
nonce: number;
|
|
@@ -8725,7 +8771,7 @@ declare class ViemClient {
|
|
|
8725
8771
|
maxFeePerGas?: undefined | undefined;
|
|
8726
8772
|
accessList?: undefined | undefined;
|
|
8727
8773
|
authorizationList?: undefined | undefined;
|
|
8728
|
-
typeHex:
|
|
8774
|
+
typeHex: Hex | null;
|
|
8729
8775
|
blobVersionedHashes?: undefined | undefined;
|
|
8730
8776
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8731
8777
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
|
|
@@ -8734,13 +8780,13 @@ declare class ViemClient {
|
|
|
8734
8780
|
} | {
|
|
8735
8781
|
value: bigint;
|
|
8736
8782
|
type: "eip2930";
|
|
8737
|
-
r:
|
|
8738
|
-
s:
|
|
8783
|
+
r: Hex;
|
|
8784
|
+
s: Hex;
|
|
8739
8785
|
yParity: number;
|
|
8740
8786
|
v: bigint;
|
|
8741
8787
|
hash: viem.Hash;
|
|
8742
8788
|
chainId: number;
|
|
8743
|
-
input:
|
|
8789
|
+
input: Hex;
|
|
8744
8790
|
from: Address;
|
|
8745
8791
|
gas: bigint;
|
|
8746
8792
|
nonce: number;
|
|
@@ -8750,7 +8796,7 @@ declare class ViemClient {
|
|
|
8750
8796
|
maxFeePerGas?: undefined | undefined;
|
|
8751
8797
|
accessList: viem.AccessList;
|
|
8752
8798
|
authorizationList?: undefined | undefined;
|
|
8753
|
-
typeHex:
|
|
8799
|
+
typeHex: Hex | null;
|
|
8754
8800
|
blobVersionedHashes?: undefined | undefined;
|
|
8755
8801
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8756
8802
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : `0x${string}` : never : never;
|
|
@@ -8759,13 +8805,13 @@ declare class ViemClient {
|
|
|
8759
8805
|
} | {
|
|
8760
8806
|
value: bigint;
|
|
8761
8807
|
type: "eip1559";
|
|
8762
|
-
r:
|
|
8763
|
-
s:
|
|
8808
|
+
r: Hex;
|
|
8809
|
+
s: Hex;
|
|
8764
8810
|
yParity: number;
|
|
8765
8811
|
v: bigint;
|
|
8766
8812
|
hash: viem.Hash;
|
|
8767
8813
|
chainId: number;
|
|
8768
|
-
input:
|
|
8814
|
+
input: Hex;
|
|
8769
8815
|
from: Address;
|
|
8770
8816
|
gas: bigint;
|
|
8771
8817
|
nonce: number;
|
|
@@ -8775,7 +8821,7 @@ declare class ViemClient {
|
|
|
8775
8821
|
maxFeePerGas: bigint;
|
|
8776
8822
|
accessList: viem.AccessList;
|
|
8777
8823
|
authorizationList?: undefined | undefined;
|
|
8778
|
-
typeHex:
|
|
8824
|
+
typeHex: Hex | null;
|
|
8779
8825
|
blobVersionedHashes?: undefined | undefined;
|
|
8780
8826
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8781
8827
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : `0x${string}` : never : never;
|
|
@@ -8784,13 +8830,13 @@ declare class ViemClient {
|
|
|
8784
8830
|
} | {
|
|
8785
8831
|
value: bigint;
|
|
8786
8832
|
type: "eip4844";
|
|
8787
|
-
r:
|
|
8788
|
-
s:
|
|
8833
|
+
r: Hex;
|
|
8834
|
+
s: Hex;
|
|
8789
8835
|
yParity: number;
|
|
8790
8836
|
v: bigint;
|
|
8791
8837
|
hash: viem.Hash;
|
|
8792
8838
|
chainId: number;
|
|
8793
|
-
input:
|
|
8839
|
+
input: Hex;
|
|
8794
8840
|
from: Address;
|
|
8795
8841
|
gas: bigint;
|
|
8796
8842
|
nonce: number;
|
|
@@ -8800,8 +8846,8 @@ declare class ViemClient {
|
|
|
8800
8846
|
maxFeePerGas: bigint;
|
|
8801
8847
|
accessList: viem.AccessList;
|
|
8802
8848
|
authorizationList?: undefined | undefined;
|
|
8803
|
-
typeHex:
|
|
8804
|
-
blobVersionedHashes: readonly
|
|
8849
|
+
typeHex: Hex | null;
|
|
8850
|
+
blobVersionedHashes: readonly Hex[];
|
|
8805
8851
|
maxFeePerBlobGas: bigint;
|
|
8806
8852
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : `0x${string}` : never : never;
|
|
8807
8853
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : bigint : never : never;
|
|
@@ -8809,13 +8855,13 @@ declare class ViemClient {
|
|
|
8809
8855
|
} | {
|
|
8810
8856
|
value: bigint;
|
|
8811
8857
|
type: "eip7702";
|
|
8812
|
-
r:
|
|
8813
|
-
s:
|
|
8858
|
+
r: Hex;
|
|
8859
|
+
s: Hex;
|
|
8814
8860
|
yParity: number;
|
|
8815
8861
|
v: bigint;
|
|
8816
8862
|
hash: viem.Hash;
|
|
8817
8863
|
chainId: number;
|
|
8818
|
-
input:
|
|
8864
|
+
input: Hex;
|
|
8819
8865
|
from: Address;
|
|
8820
8866
|
gas: bigint;
|
|
8821
8867
|
nonce: number;
|
|
@@ -8825,7 +8871,7 @@ declare class ViemClient {
|
|
|
8825
8871
|
maxFeePerGas: bigint;
|
|
8826
8872
|
accessList: viem.AccessList;
|
|
8827
8873
|
authorizationList: viem.SignedAuthorizationList;
|
|
8828
|
-
typeHex:
|
|
8874
|
+
typeHex: Hex | null;
|
|
8829
8875
|
blobVersionedHashes?: undefined | undefined;
|
|
8830
8876
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8831
8877
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : `0x${string}` : never : never;
|
|
@@ -8859,13 +8905,13 @@ declare class ViemClient {
|
|
|
8859
8905
|
getTransaction: <blockTag extends viem.BlockTag = "latest">(args: viem.GetTransactionParameters<blockTag>) => Promise<{
|
|
8860
8906
|
value: bigint;
|
|
8861
8907
|
type: "legacy";
|
|
8862
|
-
r:
|
|
8863
|
-
s:
|
|
8908
|
+
r: Hex;
|
|
8909
|
+
s: Hex;
|
|
8864
8910
|
yParity?: undefined | undefined;
|
|
8865
8911
|
v: bigint;
|
|
8866
8912
|
hash: viem.Hash;
|
|
8867
8913
|
chainId?: number | undefined;
|
|
8868
|
-
input:
|
|
8914
|
+
input: Hex;
|
|
8869
8915
|
from: Address;
|
|
8870
8916
|
gas: bigint;
|
|
8871
8917
|
nonce: number;
|
|
@@ -8875,7 +8921,7 @@ declare class ViemClient {
|
|
|
8875
8921
|
maxFeePerGas?: undefined | undefined;
|
|
8876
8922
|
accessList?: undefined | undefined;
|
|
8877
8923
|
authorizationList?: undefined | undefined;
|
|
8878
|
-
typeHex:
|
|
8924
|
+
typeHex: Hex | null;
|
|
8879
8925
|
blobVersionedHashes?: undefined | undefined;
|
|
8880
8926
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8881
8927
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : `0x${string}` : never : never;
|
|
@@ -8884,13 +8930,13 @@ declare class ViemClient {
|
|
|
8884
8930
|
} | {
|
|
8885
8931
|
value: bigint;
|
|
8886
8932
|
type: "eip2930";
|
|
8887
|
-
r:
|
|
8888
|
-
s:
|
|
8933
|
+
r: Hex;
|
|
8934
|
+
s: Hex;
|
|
8889
8935
|
yParity: number;
|
|
8890
8936
|
v: bigint;
|
|
8891
8937
|
hash: viem.Hash;
|
|
8892
8938
|
chainId: number;
|
|
8893
|
-
input:
|
|
8939
|
+
input: Hex;
|
|
8894
8940
|
from: Address;
|
|
8895
8941
|
gas: bigint;
|
|
8896
8942
|
nonce: number;
|
|
@@ -8900,7 +8946,7 @@ declare class ViemClient {
|
|
|
8900
8946
|
maxFeePerGas?: undefined | undefined;
|
|
8901
8947
|
accessList: viem.AccessList;
|
|
8902
8948
|
authorizationList?: undefined | undefined;
|
|
8903
|
-
typeHex:
|
|
8949
|
+
typeHex: Hex | null;
|
|
8904
8950
|
blobVersionedHashes?: undefined | undefined;
|
|
8905
8951
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8906
8952
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : `0x${string}` : never : never;
|
|
@@ -8909,13 +8955,13 @@ declare class ViemClient {
|
|
|
8909
8955
|
} | {
|
|
8910
8956
|
value: bigint;
|
|
8911
8957
|
type: "eip1559";
|
|
8912
|
-
r:
|
|
8913
|
-
s:
|
|
8958
|
+
r: Hex;
|
|
8959
|
+
s: Hex;
|
|
8914
8960
|
yParity: number;
|
|
8915
8961
|
v: bigint;
|
|
8916
8962
|
hash: viem.Hash;
|
|
8917
8963
|
chainId: number;
|
|
8918
|
-
input:
|
|
8964
|
+
input: Hex;
|
|
8919
8965
|
from: Address;
|
|
8920
8966
|
gas: bigint;
|
|
8921
8967
|
nonce: number;
|
|
@@ -8925,7 +8971,7 @@ declare class ViemClient {
|
|
|
8925
8971
|
maxFeePerGas: bigint;
|
|
8926
8972
|
accessList: viem.AccessList;
|
|
8927
8973
|
authorizationList?: undefined | undefined;
|
|
8928
|
-
typeHex:
|
|
8974
|
+
typeHex: Hex | null;
|
|
8929
8975
|
blobVersionedHashes?: undefined | undefined;
|
|
8930
8976
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8931
8977
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : `0x${string}` : never : never;
|
|
@@ -8934,13 +8980,13 @@ declare class ViemClient {
|
|
|
8934
8980
|
} | {
|
|
8935
8981
|
value: bigint;
|
|
8936
8982
|
type: "eip4844";
|
|
8937
|
-
r:
|
|
8938
|
-
s:
|
|
8983
|
+
r: Hex;
|
|
8984
|
+
s: Hex;
|
|
8939
8985
|
yParity: number;
|
|
8940
8986
|
v: bigint;
|
|
8941
8987
|
hash: viem.Hash;
|
|
8942
8988
|
chainId: number;
|
|
8943
|
-
input:
|
|
8989
|
+
input: Hex;
|
|
8944
8990
|
from: Address;
|
|
8945
8991
|
gas: bigint;
|
|
8946
8992
|
nonce: number;
|
|
@@ -8950,8 +8996,8 @@ declare class ViemClient {
|
|
|
8950
8996
|
maxFeePerGas: bigint;
|
|
8951
8997
|
accessList: viem.AccessList;
|
|
8952
8998
|
authorizationList?: undefined | undefined;
|
|
8953
|
-
typeHex:
|
|
8954
|
-
blobVersionedHashes: readonly
|
|
8999
|
+
typeHex: Hex | null;
|
|
9000
|
+
blobVersionedHashes: readonly Hex[];
|
|
8955
9001
|
maxFeePerBlobGas: bigint;
|
|
8956
9002
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : `0x${string}` : never : never;
|
|
8957
9003
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : bigint : never : never;
|
|
@@ -8959,13 +9005,13 @@ declare class ViemClient {
|
|
|
8959
9005
|
} | {
|
|
8960
9006
|
value: bigint;
|
|
8961
9007
|
type: "eip7702";
|
|
8962
|
-
r:
|
|
8963
|
-
s:
|
|
9008
|
+
r: Hex;
|
|
9009
|
+
s: Hex;
|
|
8964
9010
|
yParity: number;
|
|
8965
9011
|
v: bigint;
|
|
8966
9012
|
hash: viem.Hash;
|
|
8967
9013
|
chainId: number;
|
|
8968
|
-
input:
|
|
9014
|
+
input: Hex;
|
|
8969
9015
|
from: Address;
|
|
8970
9016
|
gas: bigint;
|
|
8971
9017
|
nonce: number;
|
|
@@ -8975,7 +9021,7 @@ declare class ViemClient {
|
|
|
8975
9021
|
maxFeePerGas: bigint;
|
|
8976
9022
|
accessList: viem.AccessList;
|
|
8977
9023
|
authorizationList: viem.SignedAuthorizationList;
|
|
8978
|
-
typeHex:
|
|
9024
|
+
typeHex: Hex | null;
|
|
8979
9025
|
blobVersionedHashes?: undefined | undefined;
|
|
8980
9026
|
maxFeePerBlobGas?: undefined | undefined;
|
|
8981
9027
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : `0x${string}` : never : never;
|
|
@@ -8984,7 +9030,7 @@ declare class ViemClient {
|
|
|
8984
9030
|
}>;
|
|
8985
9031
|
getTransactionConfirmations: (args: viem.GetTransactionConfirmationsParameters<viem.Chain | undefined>) => Promise<viem.GetTransactionConfirmationsReturnType>;
|
|
8986
9032
|
getTransactionCount: (args: viem.GetTransactionCountParameters) => Promise<viem.GetTransactionCountReturnType>;
|
|
8987
|
-
getTransactionReceipt: (args: viem.GetTransactionReceiptParameters) => Promise<
|
|
9033
|
+
getTransactionReceipt: (args: viem.GetTransactionReceiptParameters) => Promise<TransactionReceipt>;
|
|
8988
9034
|
multicall: <const contracts extends readonly unknown[], allowFailure extends boolean = true>(args: viem.MulticallParameters<contracts, allowFailure>) => Promise<viem.MulticallReturnType<contracts, allowFailure>>;
|
|
8989
9035
|
prepareTransactionRequest: <const request extends viem.PrepareTransactionRequestRequest<viem.Chain | undefined, chainOverride>, chainOverride extends viem.Chain | undefined = undefined, accountOverride extends viem.Account | Address | undefined = undefined>(args: viem.PrepareTransactionRequestParameters<viem.Chain | undefined, viem.Account | undefined, chainOverride, accountOverride, request>) => Promise<viem.UnionRequiredBy<Extract<viem.UnionOmit<viem.ExtractChainFormatterParameters<viem.DeriveChain<viem.Chain | undefined, chainOverride>, "transactionRequest", viem.TransactionRequest>, "from"> & (viem.DeriveChain<viem.Chain | undefined, chainOverride> extends infer T_1 ? T_1 extends viem.DeriveChain<viem.Chain | undefined, chainOverride> ? T_1 extends viem.Chain ? {
|
|
8990
9036
|
chain: T_1;
|
|
@@ -12241,7 +12287,7 @@ declare class ViemClient {
|
|
|
12241
12287
|
}, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "fees" | "blobVersionedHashes") extends infer T_13 ? T_13 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "fees" | "blobVersionedHashes") ? T_13 extends "fees" ? "gasPrice" | "maxPriorityFeePerGas" | "maxFeePerGas" : T_13 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: T[K]; } : never>;
|
|
12242
12288
|
readContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "pure" | "view">, const args extends viem.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem.ReadContractParameters<abi, functionName, args>) => Promise<viem.ReadContractReturnType<abi, functionName, args>>;
|
|
12243
12289
|
sendRawTransaction: (args: viem.SendRawTransactionParameters) => Promise<viem.SendRawTransactionReturnType>;
|
|
12244
|
-
sendRawTransactionSync: (args: viem.SendRawTransactionSyncParameters) => Promise<
|
|
12290
|
+
sendRawTransactionSync: (args: viem.SendRawTransactionSyncParameters) => Promise<TransactionReceipt>;
|
|
12245
12291
|
simulate: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
|
|
12246
12292
|
simulateBlocks: <const calls extends readonly unknown[]>(args: viem.SimulateBlocksParameters<calls>) => Promise<viem.SimulateBlocksReturnType<calls>>;
|
|
12247
12293
|
simulateCalls: <const calls extends readonly unknown[]>(args: viem.SimulateCallsParameters<calls>) => Promise<viem.SimulateCallsReturnType<calls>>;
|
|
@@ -12251,7 +12297,7 @@ declare class ViemClient {
|
|
|
12251
12297
|
verifySiweMessage: (args: viem__types_actions_siwe_verifySiweMessage_js.VerifySiweMessageParameters) => Promise<viem__types_actions_siwe_verifySiweMessage_js.VerifySiweMessageReturnType>;
|
|
12252
12298
|
verifyTypedData: (args: viem.VerifyTypedDataActionParameters) => Promise<viem.VerifyTypedDataActionReturnType>;
|
|
12253
12299
|
uninstallFilter: (args: viem.UninstallFilterParameters) => Promise<viem.UninstallFilterReturnType>;
|
|
12254
|
-
waitForTransactionReceipt: (args: viem.WaitForTransactionReceiptParameters<viem.Chain | undefined>) => Promise<
|
|
12300
|
+
waitForTransactionReceipt: (args: viem.WaitForTransactionReceiptParameters<viem.Chain | undefined>) => Promise<TransactionReceipt>;
|
|
12255
12301
|
watchBlockNumber: (args: viem.WatchBlockNumberParameters) => viem.WatchBlockNumberReturnType;
|
|
12256
12302
|
watchBlocks: <includeTransactions extends boolean = false, blockTag extends viem.BlockTag = "latest">(args: viem.WatchBlocksParameters<viem.HttpTransport<undefined, false>, viem.Chain | undefined, includeTransactions, blockTag>) => viem.WatchBlocksReturnType;
|
|
12257
12303
|
watchContractEvent: <const abi extends viem.Abi | readonly unknown[], eventName extends viem.ContractEventName<abi>, strict extends boolean | undefined = undefined>(args: viem.WatchContractEventParameters<abi, eventName, strict, viem.HttpTransport<undefined, false>>) => viem.WatchContractEventReturnType;
|
|
@@ -12276,6 +12322,8 @@ declare class ViemClient {
|
|
|
12276
12322
|
};
|
|
12277
12323
|
checkTokenAllowance(token: Token, owner: Address, spender: Address): Promise<bigint>;
|
|
12278
12324
|
checkAndApproveToken(token: Token, spender: Address, amount: bigint, allowMaxTokenApproval: boolean): Promise<bigint>;
|
|
12325
|
+
approveToken(token: Token, spender: Address, amount: bigint, allowMaxTokenApproval: boolean): Promise<Hex>;
|
|
12326
|
+
waitForTransactionReceipt(hash: Hex, blocks?: number): Promise<TransactionReceipt>;
|
|
12279
12327
|
}
|
|
12280
12328
|
|
|
12281
12329
|
declare function getRpcByChainId(chainId: number): string | undefined;
|
|
@@ -12395,4 +12443,4 @@ declare function createBatchSessionAPICall(url: string, APIKey: string, params:
|
|
|
12395
12443
|
}): Promise<any>;
|
|
12396
12444
|
declare function fetchBatchInstructionDetails(url: string, APIKey: string): Promise<any>;
|
|
12397
12445
|
|
|
12398
|
-
export { type AbstractPaymentParams, ActaAccount, ActaBatch, ActaBilling, ActaFlexBatch, ActaFlexDeposit, type BatchClassParams, type BillingClassParams, type CalculateSingleBatchPaymentGasParameters, ConnectorType, type DepositClassParams, type EstimateSingleBatchPaymentGasParameters, type EstimateSinglePaymentGasParameters, type ExportPermissionAccountParams, HttpMethod, type ModularSigner, type PermissionAccountParams, type PermissionData, type PermissionPlugin, type PermissionPluginParams, type Policy, PolicyFlags, type PolicyParams, type RecurringPaymentParamsType, type ScheduleBatchPaymentClassParamsType, type ScheduleBatchPaymentWithoutKeyClassParamsType, type ScheduleOrRecurringBatchPaymentParamsType, type SingleBatchPaymentClassParamsType, type SingleBatchPaymentParamsType, type SingleBatchPaymentWithoutKeyClassParamsType, type SinglePaymentParamsType, type Token, TokenLogo, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, base64ToBytes, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT,
|
|
12446
|
+
export { type AbstractPaymentParams, ActaAccount, ActaBatch, ActaBilling, ActaFlexBatch, ActaFlexDeposit, type ApproveToken, type BatchClassParams, type BillingClassParams, type CalculateSingleBatchPaymentGasParameters, type CheckAllowance, ConnectorType, type DepositClassParams, type EstimatePaymentAmount, type EstimateSingleBatchPaymentGasParameters, type EstimateSinglePaymentGasParameters, type ExportPermissionAccountParams, type GetTransactionReceipt, HttpMethod, type ModularSigner, type PermissionAccountParams, type PermissionData, type PermissionPlugin, type PermissionPluginParams, type Policy, PolicyFlags, type PolicyParams, type RecurringPaymentParamsType, type ScheduleBatchPaymentClassParamsType, type ScheduleBatchPaymentWithoutKeyClassParamsType, type ScheduleOrRecurringBatchPaymentParamsType, type SingleBatchPaymentClassParamsType, type SingleBatchPaymentParamsType, type SingleBatchPaymentWithoutKeyClassParamsType, type SinglePaymentParamsType, type Token, TokenLogo, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, base64ToBytes, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT, bytesToBase64, cancelRecurringPaymentAPICall, cancelRecurringTransaction, createBatchSessionAPICall, createBillingCheckoutSession, createBillingSessionAPICall, createPolicyFromParams, createSessionAPICall, decodeParamsFromInitCode, deserializePermissionAccount, deserializePermissionAccountParams, ethereumDAI, ethereumETH, ethereumEURC, ethereumUSDC, ethereumUSDT, ethereumWETH, executeScheduleBatchPaymentAPICall, executeSingleBatchPaymentAPICall, executeSinglePaymentAPICall, fetchBatchInstructionDetails, fetchBillingSessionDetails, fetchRecurringTransactionWithId, getBillingPaymentSessionDetails, getChainById, getChainExplorerByChainId, getPeriodInterval, getRpcByChainId, getTokenByChainIdAndAddress, getTokenByChainIdAndSymbol, isKernelVersionAfter, isPermissionValidatorPlugin, lineaDAI, lineaETH, lineaUSDC, lineaWETH, mainnetChains, optimismDAI, optimismETH, optimismUSDC, optimismUSDCe, optimismUSDT, optimismWETH, polygonAmoyUSDC, polygonDAI, polygonPOL, polygonUSDC, polygonUSDCe, polygonUSDT, polygonWETH, polygonWPOL, scheduleRecurringPaymentsAPICall, scheduleSubscriptionPaymentsAPICall, sendRequest, sepoliaUSDC, serializePermissionAccountParams, supportedChains, supportedTokensByChain, testnetChains, toECDSASigner, toPermissionValidator, toPolicyId, toSignerId, token, tokensCommonSymbols, verifySessionAPICall };
|