abstractionkit
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -11,3 +11,3 @@ export { SmartAccount } from "./account/SmartAccount"; | ||
export { CandidePaymaster } from "./paymaster/CandidePaymaster"; | ||
export { createUserOperationHash, createCallData, getFunctionSelector, fetchAccountNonce, calculateUserOperationMaxGasCost, sendJsonRpcRequest, fetchGasPrice, DepositInfo, getDepositInfo, getBalanceOf } from "./utils"; | ||
export { createUserOperationHash, createCallData, getFunctionSelector, fetchAccountNonce, calculateUserOperationMaxGasCost, sendJsonRpcRequest, fetchGasPrice } from "./utils"; | ||
export { CreateUserOperationV6Overrides, CreateUserOperationV7Overrides, InitCodeOverrides, SafeModuleExecutorFunctionSelector, SafeUserOperationTypedDataDomain, WebauthnPublicKey, EOADummySignerSignaturePair, WebauthnDummySignerSignaturePair, WebauthnSignatureData, SignerSignaturePair, } from "./account/Safe/types"; | ||
@@ -14,0 +14,0 @@ export { CandidePaymasterContext, PrependTokenPaymasterApproveAccount, } from "./paymaster/types"; |
@@ -174,2 +174,6 @@ import { SmartAccount } from "../SmartAccount"; | ||
getOwners(nodeRpcUrl: string): Promise<string[]>; | ||
getModules(nodeRpcUrl: string, overrides?: { | ||
start?: string; | ||
pageSize?: bigint; | ||
}): Promise<[string[], string]>; | ||
isModuleEnabled(nodeRpcUrl: string, moduleAddress: string): Promise<boolean>; | ||
@@ -183,3 +187,10 @@ static createDummySignerSignaturePairForExpectedSigners(expectedSigners: Signer[], webAuthnSignatureOverrides?: WebAuthnSignatureOverrides): SignerSignaturePair[]; | ||
private static createSafeWebAuthnSignerProxyDeployedByteCode; | ||
static createEnableModuleMetaTransaction(moduleAddress: string, accountAddress: string): MetaTransaction; | ||
createDisableModuleMetaTransaction(nodeRpcUrl: string, moduleToDisableAddress: string, accountAddress: string, overrides?: { | ||
prevModuleAddress?: string; | ||
modulesStart?: string; | ||
modulesPageSize?: bigint; | ||
}): Promise<MetaTransaction>; | ||
static createStandardDisableModuleMetaTransaction(moduleAddress: string, prevModuleAddress: string, accountAddress: string): MetaTransaction; | ||
} | ||
//# sourceMappingURL=SafeAccount.d.ts.map |
@@ -55,3 +55,10 @@ import { SafeAccount } from "./SafeAccount"; | ||
createUserOperation(transactions: MetaTransaction[], providerRpc?: string, bundlerRpc?: string, overrides?: CreateUserOperationV6Overrides): Promise<UserOperationV6>; | ||
createMigrateToV07ModuleMetaTransactions(nodeRpcUrl: string, overrides?: { | ||
safeV06ModuleAddress?: string; | ||
safeV07ModuleAddress?: string; | ||
safeV06PrevModuleAddress?: string; | ||
pageSize?: bigint; | ||
modulesStart?: string; | ||
}): Promise<MetaTransaction[]>; | ||
} | ||
//# sourceMappingURL=SafeAccountV0_2_0.d.ts.map |
@@ -12,11 +12,2 @@ import { AbiInputValue, UserOperationV6, JsonRpcParam, GasOption, JsonRpcResult, UserOperationV7, PolygonChain } from "./types"; | ||
export declare function calculateUserOperationMaxGasCost(useroperation: UserOperationV6 | UserOperationV7): bigint; | ||
export type DepositInfo = { | ||
deposit: bigint; | ||
staked: boolean; | ||
stake: bigint; | ||
unstakeDelaySec: bigint; | ||
withdrawTime: bigint; | ||
}; | ||
export declare function getBalanceOf(nodeRpcUrl: string, address: string, entrypointAddress: string): Promise<bigint>; | ||
export declare function getDepositInfo(nodeRpcUrl: string, address: string, entrypointAddress: string): Promise<DepositInfo>; | ||
type EthCallTransaction = { | ||
@@ -23,0 +14,0 @@ from?: string; |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"description": "Account Abstraction 4337 SDK by Candidelabs", | ||
@@ -10,0 +10,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
412050
2131