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