@lendasat/lendaswap-sdk-pure 0.2.41 → 0.2.43
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/_esm-6K2AP5GG.js +3663 -0
- package/dist/_esm-6K2AP5GG.js.map +1 -0
- package/dist/_esm-UGRDSVEV.cjs +3662 -0
- package/dist/_esm-UGRDSVEV.cjs.map +1 -0
- package/dist/api/client.d.ts +0 -4
- package/dist/api/client.d.ts.map +1 -1
- package/dist/base-2KYNAFR3.cjs +109 -0
- package/dist/base-2KYNAFR3.cjs.map +1 -0
- package/dist/base-HMHH3XPM.js +9 -0
- package/dist/base-HMHH3XPM.js.map +1 -0
- package/dist/ccip-EBXWV2U3.js +8 -0
- package/dist/ccip-EBXWV2U3.js.map +1 -0
- package/dist/ccip-PD37NJHA.cjs +26 -0
- package/dist/ccip-PD37NJHA.cjs.map +1 -0
- package/dist/cctp-bridge/index.cjs +67 -0
- package/dist/cctp-bridge/index.cjs.map +1 -0
- package/dist/cctp-bridge/index.js +53 -15
- package/dist/cctp-bridge/index.js.map +1 -1
- package/dist/cctp-inbound/client.d.ts +21 -19
- package/dist/cctp-inbound/client.d.ts.map +1 -1
- package/dist/cctp-inbound/smartAccount.d.ts +21 -19
- package/dist/cctp-inbound/smartAccount.d.ts.map +1 -1
- package/dist/chunk-4JXN4UPB.js +554 -0
- package/dist/chunk-4JXN4UPB.js.map +1 -0
- package/dist/chunk-A4GKKURK.cjs +430 -0
- package/dist/chunk-A4GKKURK.cjs.map +1 -0
- package/dist/chunk-BZU3R5DJ.cjs +554 -0
- package/dist/chunk-BZU3R5DJ.cjs.map +1 -0
- package/dist/chunk-DBBCKPZ5.js +421 -0
- package/dist/chunk-DBBCKPZ5.js.map +1 -0
- package/dist/chunk-DNSJDKTP.cjs +96 -0
- package/dist/chunk-DNSJDKTP.cjs.map +1 -0
- package/dist/chunk-EIK6BZWG.js +90 -0
- package/dist/chunk-EIK6BZWG.js.map +1 -0
- package/dist/chunk-GVAPVS4Z.js +6144 -0
- package/dist/chunk-GVAPVS4Z.js.map +1 -0
- package/dist/chunk-I7TGLGN6.js +46 -0
- package/dist/chunk-I7TGLGN6.js.map +1 -0
- package/dist/chunk-JBVKWKD4.cjs +50 -0
- package/dist/chunk-JBVKWKD4.cjs.map +1 -0
- package/dist/chunk-LA3YX2HD.js +47096 -0
- package/dist/chunk-LA3YX2HD.js.map +1 -0
- package/dist/chunk-PKDJZJMV.cjs +2214 -0
- package/dist/chunk-PKDJZJMV.cjs.map +1 -0
- package/dist/chunk-PRN5VZOM.js +370 -0
- package/dist/chunk-PRN5VZOM.js.map +1 -0
- package/dist/chunk-RIOT5VOJ.cjs +47240 -0
- package/dist/chunk-RIOT5VOJ.cjs.map +1 -0
- package/dist/chunk-WVZSHRV7.cjs +431 -0
- package/dist/chunk-WVZSHRV7.cjs.map +1 -0
- package/dist/chunk-YLWPBHMV.cjs +6311 -0
- package/dist/chunk-YLWPBHMV.cjs.map +1 -0
- package/dist/chunk-Z2FCTNRC.js +2210 -0
- package/dist/chunk-Z2FCTNRC.js.map +1 -0
- package/dist/client.d.ts +68 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/compose-quote.d.ts +77 -0
- package/dist/compose-quote.d.ts.map +1 -0
- package/dist/delegate.cjs +23 -0
- package/dist/delegate.cjs.map +1 -0
- package/dist/delegate.js +8 -269
- package/dist/delegate.js.map +1 -1
- package/dist/dist-PWXNFVDF.js +8 -0
- package/dist/dist-PWXNFVDF.js.map +1 -0
- package/dist/dist-VEHYC67F.cjs +550 -0
- package/dist/dist-VEHYC67F.cjs.map +1 -0
- package/dist/esplora.d.ts +14 -0
- package/dist/esplora.d.ts.map +1 -1
- package/dist/generated/api.d.ts +235 -38
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.cjs +35461 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +35312 -32
- package/dist/index.js.map +1 -1
- package/dist/mine.wasm-LUTPOAD2.js +12 -0
- package/dist/mine.wasm-LUTPOAD2.js.map +1 -0
- package/dist/mine.wasm-Z3ORSBKN.cjs +12 -0
- package/dist/mine.wasm-Z3ORSBKN.cjs.map +1 -0
- package/dist/node.cjs +166 -0
- package/dist/node.cjs.map +1 -0
- package/dist/node.js +159 -18
- package/dist/node.js.map +1 -1
- package/dist/secp256k1-B6OW5ZCM.js +8 -0
- package/dist/secp256k1-B6OW5ZCM.js.map +1 -0
- package/dist/secp256k1-PJCSE4N6.cjs +30 -0
- package/dist/secp256k1-PJCSE4N6.cjs.map +1 -0
- package/dist/tokens.d.ts +2 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/types/chain-config.d.ts +50 -0
- package/dist/types/chain-config.d.ts.map +1 -0
- package/dist/types/chain.d.ts +11 -0
- package/dist/types/chain.d.ts.map +1 -0
- package/dist/types/dex-quote.d.ts +85 -0
- package/dist/types/dex-quote.d.ts.map +1 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/network-fees.d.ts +43 -0
- package/dist/types/network-fees.d.ts.map +1 -0
- package/dist/types/quote.d.ts +87 -0
- package/dist/types/quote.d.ts.map +1 -0
- package/dist/types/swap-pairs.d.ts +37 -0
- package/dist/types/swap-pairs.d.ts.map +1 -0
- package/dist/version.d.ts +2 -2
- package/dist/wallet-4YGTKWNZ.js +7 -0
- package/dist/wallet-4YGTKWNZ.js.map +1 -0
- package/dist/wallet-SZJDXAY7.cjs +45 -0
- package/dist/wallet-SZJDXAY7.cjs.map +1 -0
- package/package.json +23 -10
- package/dist/api/client.js +0 -13
- package/dist/api/client.js.map +0 -1
- package/dist/arkade-network.js +0 -40
- package/dist/arkade-network.js.map +0 -1
- package/dist/arkade.js +0 -61
- package/dist/arkade.js.map +0 -1
- package/dist/cctp/attestation.js +0 -149
- package/dist/cctp/attestation.js.map +0 -1
- package/dist/cctp/constants.js +0 -92
- package/dist/cctp/constants.js.map +0 -1
- package/dist/cctp/fee.js +0 -70
- package/dist/cctp/fee.js.map +0 -1
- package/dist/cctp/index.js +0 -13
- package/dist/cctp/index.js.map +0 -1
- package/dist/cctp/types.js +0 -5
- package/dist/cctp/types.js.map +0 -1
- package/dist/cctp/utils.js +0 -91
- package/dist/cctp/utils.js.map +0 -1
- package/dist/cctp-bridge/bridge.js +0 -74
- package/dist/cctp-bridge/bridge.js.map +0 -1
- package/dist/cctp-inbound/approveAndBurn.js +0 -95
- package/dist/cctp-inbound/approveAndBurn.js.map +0 -1
- package/dist/cctp-inbound/burn.js +0 -66
- package/dist/cctp-inbound/burn.js.map +0 -1
- package/dist/cctp-inbound/chainMap.js +0 -128
- package/dist/cctp-inbound/chainMap.js.map +0 -1
- package/dist/cctp-inbound/client.js +0 -125
- package/dist/cctp-inbound/client.js.map +0 -1
- package/dist/cctp-inbound/eip2612.js +0 -95
- package/dist/cctp-inbound/eip2612.js.map +0 -1
- package/dist/cctp-inbound/evmSignerAdapter.js +0 -82
- package/dist/cctp-inbound/evmSignerAdapter.js.map +0 -1
- package/dist/cctp-inbound/fundSwap.js +0 -95
- package/dist/cctp-inbound/fundSwap.js.map +0 -1
- package/dist/cctp-inbound/index.js +0 -34
- package/dist/cctp-inbound/index.js.map +0 -1
- package/dist/cctp-inbound/permit2.js +0 -32
- package/dist/cctp-inbound/permit2.js.map +0 -1
- package/dist/cctp-inbound/preflight.js +0 -84
- package/dist/cctp-inbound/preflight.js.map +0 -1
- package/dist/cctp-inbound/recover.js +0 -177
- package/dist/cctp-inbound/recover.js.map +0 -1
- package/dist/cctp-inbound/smartAccount.js +0 -117
- package/dist/cctp-inbound/smartAccount.js.map +0 -1
- package/dist/cctp-inbound/submit.js +0 -136
- package/dist/cctp-inbound/submit.js.map +0 -1
- package/dist/cctp-inbound/types.js +0 -5
- package/dist/cctp-inbound/types.js.map +0 -1
- package/dist/cctp-inbound/userOp.js +0 -151
- package/dist/cctp-inbound/userOp.js.map +0 -1
- package/dist/client.js +0 -4126
- package/dist/client.js.map +0 -1
- package/dist/create/arkade-to-lightning.js +0 -76
- package/dist/create/arkade-to-lightning.js.map +0 -1
- package/dist/create/arkade.js +0 -86
- package/dist/create/arkade.js.map +0 -1
- package/dist/create/bitcoin-to-arkade.js +0 -76
- package/dist/create/bitcoin-to-arkade.js.map +0 -1
- package/dist/create/bitcoin.js +0 -77
- package/dist/create/bitcoin.js.map +0 -1
- package/dist/create/evm-to-arkade.js +0 -80
- package/dist/create/evm-to-arkade.js.map +0 -1
- package/dist/create/evm-to-bitcoin.js +0 -82
- package/dist/create/evm-to-bitcoin.js.map +0 -1
- package/dist/create/evm-to-lightning.js +0 -89
- package/dist/create/evm-to-lightning.js.map +0 -1
- package/dist/create/index.js +0 -21
- package/dist/create/index.js.map +0 -1
- package/dist/create/lightning-to-arkade.js +0 -69
- package/dist/create/lightning-to-arkade.js.map +0 -1
- package/dist/create/lightning.js +0 -61
- package/dist/create/lightning.js.map +0 -1
- package/dist/create/retry.js +0 -71
- package/dist/create/retry.js.map +0 -1
- package/dist/create/types.js +0 -5
- package/dist/create/types.js.map +0 -1
- package/dist/escrow/index.js +0 -115
- package/dist/escrow/index.js.map +0 -1
- package/dist/esplora.js +0 -47
- package/dist/esplora.js.map +0 -1
- package/dist/evm/coordinator.js +0 -714
- package/dist/evm/coordinator.js.map +0 -1
- package/dist/evm/htlc.js +0 -278
- package/dist/evm/htlc.js.map +0 -1
- package/dist/evm/index.js +0 -10
- package/dist/evm/index.js.map +0 -1
- package/dist/evm/signing.js +0 -70
- package/dist/evm/signing.js.map +0 -1
- package/dist/evm/wallet.js +0 -133
- package/dist/evm/wallet.js.map +0 -1
- package/dist/generated/api.js +0 -6
- package/dist/generated/api.js.map +0 -1
- package/dist/logging.js +0 -130
- package/dist/logging.js.map +0 -1
- package/dist/price-calculations.js +0 -135
- package/dist/price-calculations.js.map +0 -1
- package/dist/redeem/arkade.js +0 -416
- package/dist/redeem/arkade.js.map +0 -1
- package/dist/redeem/ethereum.js +0 -206
- package/dist/redeem/ethereum.js.map +0 -1
- package/dist/redeem/gasless.js +0 -73
- package/dist/redeem/gasless.js.map +0 -1
- package/dist/redeem/index.js +0 -189
- package/dist/redeem/index.js.map +0 -1
- package/dist/redeem/types.js +0 -36
- package/dist/redeem/types.js.map +0 -1
- package/dist/refund/arkade.js +0 -200
- package/dist/refund/arkade.js.map +0 -1
- package/dist/refund/collab-arkade-evm.js +0 -307
- package/dist/refund/collab-arkade-evm.js.map +0 -1
- package/dist/refund/collab-arkade-lightning.js +0 -245
- package/dist/refund/collab-arkade-lightning.js.map +0 -1
- package/dist/refund/index.js +0 -12
- package/dist/refund/index.js.map +0 -1
- package/dist/refund/onchain.js +0 -366
- package/dist/refund/onchain.js.map +0 -1
- package/dist/signer/index.js +0 -249
- package/dist/signer/index.js.map +0 -1
- package/dist/storage/idb.js +0 -236
- package/dist/storage/idb.js.map +0 -1
- package/dist/storage/index.js +0 -98
- package/dist/storage/index.js.map +0 -1
- package/dist/storage/sqlite.js +0 -206
- package/dist/storage/sqlite.js.map +0 -1
- package/dist/storage/types.js +0 -9
- package/dist/storage/types.js.map +0 -1
- package/dist/tokens.js +0 -322
- package/dist/tokens.js.map +0 -1
- package/dist/usd-price.js +0 -96
- package/dist/usd-price.js.map +0 -1
- package/dist/usdt0-bridge/constants.js +0 -71
- package/dist/usdt0-bridge/constants.js.map +0 -1
- package/dist/usdt0-bridge/index.js +0 -11
- package/dist/usdt0-bridge/index.js.map +0 -1
- package/dist/usdt0-bridge/tracking.js +0 -123
- package/dist/usdt0-bridge/tracking.js.map +0 -1
- package/dist/usdt0-bridge/utils.js +0 -51
- package/dist/usdt0-bridge/utils.js.map +0 -1
- package/dist/version.js +0 -6
- package/dist/version.js.map +0 -1
- package/dist/ws.js +0 -145
- package/dist/ws.js.map +0 -1
|
@@ -84,8 +84,10 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
84
84
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
85
85
|
formatters?: undefined;
|
|
86
86
|
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
87
|
+
client: import("viem").Client;
|
|
87
88
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
88
89
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
90
|
+
client: import("viem").Client;
|
|
89
91
|
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
90
92
|
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
91
93
|
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
@@ -94,7 +96,7 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
94
96
|
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
95
97
|
}, (object & {
|
|
96
98
|
client: import("viem").Client<import("viem").Transport, Chain | undefined, {
|
|
97
|
-
address: import("
|
|
99
|
+
address: import("viem").Address;
|
|
98
100
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
99
101
|
sign?: ((parameters: {
|
|
100
102
|
hash: import("viem").Hash;
|
|
@@ -106,7 +108,7 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
106
108
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
107
109
|
serializer?: serializer | undefined;
|
|
108
110
|
} | undefined) => Promise<import("viem").Hex>;
|
|
109
|
-
signTypedData: <const typedData extends import("
|
|
111
|
+
signTypedData: <const typedData extends import("viem").TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<import("viem").Hex>;
|
|
110
112
|
publicKey: import("viem").Hex;
|
|
111
113
|
source: string;
|
|
112
114
|
type: "local";
|
|
@@ -754,11 +756,11 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
754
756
|
readonly stateMutability: "payable";
|
|
755
757
|
readonly type: "receive";
|
|
756
758
|
}];
|
|
757
|
-
address: import("
|
|
759
|
+
address: import("viem").Address;
|
|
758
760
|
version: "0.7";
|
|
759
761
|
};
|
|
760
762
|
extend?: object | undefined;
|
|
761
|
-
getAddress: () => Promise<import("
|
|
763
|
+
getAddress: () => Promise<import("viem").Address>;
|
|
762
764
|
decodeCalls?: ((data: import("viem").Hex) => Promise<readonly {
|
|
763
765
|
to: import("viem").Hex;
|
|
764
766
|
data?: import("viem").Hex | undefined;
|
|
@@ -766,7 +768,7 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
766
768
|
}[]>) | undefined | undefined;
|
|
767
769
|
encodeCalls: (calls: Parameters<import("viem/account-abstraction").SmartAccountImplementation["encodeCalls"]>[0], callType?: import("@zerodev/sdk/types").CallType | undefined, execType?: import("@zerodev/sdk/constants").EXEC_TYPE | undefined) => Promise<import("viem").Hex>;
|
|
768
770
|
getFactoryArgs: () => Promise<{
|
|
769
|
-
factory?: import("
|
|
771
|
+
factory?: import("viem").Address | undefined;
|
|
770
772
|
factoryData?: import("viem").Hex | undefined;
|
|
771
773
|
}>;
|
|
772
774
|
getNonce?: ((parameters?: {
|
|
@@ -781,7 +783,7 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
781
783
|
message: import("viem").SignableMessage;
|
|
782
784
|
useReplayableSignature?: boolean;
|
|
783
785
|
}) => Promise<import("viem").Hex>;
|
|
784
|
-
signTypedData: <const typedData extends import("
|
|
786
|
+
signTypedData: <const typedData extends import("viem").TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<import("viem").Hex>;
|
|
785
787
|
signUserOperation: (parameters: import("viem").UnionPartialBy<import("viem").UserOperation, "sender"> & {
|
|
786
788
|
chainId?: number | undefined;
|
|
787
789
|
}) => Promise<import("viem").Hex>;
|
|
@@ -791,20 +793,20 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
791
793
|
authorization?: undefined | undefined;
|
|
792
794
|
kernelVersion: import("@zerodev/sdk/types").KERNEL_V3_VERSION_TYPE;
|
|
793
795
|
kernelPluginManager: import("@zerodev/sdk").KernelPluginManager<"0.7">;
|
|
794
|
-
factoryAddress: import("
|
|
795
|
-
accountImplementationAddress: import("
|
|
796
|
+
factoryAddress: import("viem").Address;
|
|
797
|
+
accountImplementationAddress: import("viem").Address;
|
|
796
798
|
generateInitCode: () => Promise<import("viem").Hex>;
|
|
797
799
|
encodeModuleInstallCallData: () => Promise<import("viem").Hex>;
|
|
798
800
|
encodeDeployCallData: ({ abi, args, bytecode }: import("viem").EncodeDeployDataParameters) => Promise<import("viem").Hex>;
|
|
799
801
|
eip7702Authorization?: (() => Promise<import("viem/accounts").SignAuthorizationReturnType | undefined>) | undefined | undefined;
|
|
800
802
|
} & {
|
|
801
|
-
address: import("
|
|
803
|
+
address: import("viem").Address;
|
|
802
804
|
getNonce: NonNullable<import("viem/account-abstraction").SmartAccountImplementation["getNonce"]>;
|
|
803
805
|
isDeployed: () => Promise<boolean>;
|
|
804
806
|
type: "smart";
|
|
805
807
|
}) | (object & {
|
|
806
808
|
client: import("viem").Client<import("viem").Transport, Chain | undefined, {
|
|
807
|
-
address: import("
|
|
809
|
+
address: import("viem").Address;
|
|
808
810
|
nonceManager?: import("viem").NonceManager | undefined;
|
|
809
811
|
sign?: ((parameters: {
|
|
810
812
|
hash: import("viem").Hash;
|
|
@@ -816,7 +818,7 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
816
818
|
signTransaction: <serializer extends import("viem").SerializeTransactionFn<import("viem").TransactionSerializable> = import("viem").SerializeTransactionFn<import("viem").TransactionSerializable>, transaction extends Parameters<serializer>[0] = Parameters<serializer>[0]>(transaction: transaction, options?: {
|
|
817
819
|
serializer?: serializer | undefined;
|
|
818
820
|
} | undefined) => Promise<import("viem").Hex>;
|
|
819
|
-
signTypedData: <const typedData extends import("
|
|
821
|
+
signTypedData: <const typedData extends import("viem").TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<import("viem").Hex>;
|
|
820
822
|
publicKey: import("viem").Hex;
|
|
821
823
|
source: string;
|
|
822
824
|
type: "local";
|
|
@@ -1464,11 +1466,11 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
1464
1466
|
readonly stateMutability: "payable";
|
|
1465
1467
|
readonly type: "receive";
|
|
1466
1468
|
}];
|
|
1467
|
-
address: import("
|
|
1469
|
+
address: import("viem").Address;
|
|
1468
1470
|
version: "0.7";
|
|
1469
1471
|
};
|
|
1470
1472
|
extend?: object | undefined;
|
|
1471
|
-
getAddress: () => Promise<import("
|
|
1473
|
+
getAddress: () => Promise<import("viem").Address>;
|
|
1472
1474
|
decodeCalls?: ((data: import("viem").Hex) => Promise<readonly {
|
|
1473
1475
|
to: import("viem").Hex;
|
|
1474
1476
|
data?: import("viem").Hex | undefined;
|
|
@@ -1476,7 +1478,7 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
1476
1478
|
}[]>) | undefined | undefined;
|
|
1477
1479
|
encodeCalls: (calls: Parameters<import("viem/account-abstraction").SmartAccountImplementation["encodeCalls"]>[0], callType?: import("@zerodev/sdk/types").CallType | undefined, execType?: import("@zerodev/sdk/constants").EXEC_TYPE | undefined) => Promise<import("viem").Hex>;
|
|
1478
1480
|
getFactoryArgs: () => Promise<{
|
|
1479
|
-
factory?: import("
|
|
1481
|
+
factory?: import("viem").Address | undefined;
|
|
1480
1482
|
factoryData?: import("viem").Hex | undefined;
|
|
1481
1483
|
}>;
|
|
1482
1484
|
getNonce?: ((parameters?: {
|
|
@@ -1491,7 +1493,7 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
1491
1493
|
message: import("viem").SignableMessage;
|
|
1492
1494
|
useReplayableSignature?: boolean;
|
|
1493
1495
|
}) => Promise<import("viem").Hex>;
|
|
1494
|
-
signTypedData: <const typedData extends import("
|
|
1496
|
+
signTypedData: <const typedData extends import("viem").TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: import("viem").TypedDataDefinition<typedData, primaryType>) => Promise<import("viem").Hex>;
|
|
1495
1497
|
signUserOperation: (parameters: import("viem").UnionPartialBy<import("viem").UserOperation, "sender"> & {
|
|
1496
1498
|
chainId?: number | undefined;
|
|
1497
1499
|
}) => Promise<import("viem").Hex>;
|
|
@@ -1500,18 +1502,18 @@ export declare function createSwapSmartAccountClient(params: CreateSwapSmartAcco
|
|
|
1500
1502
|
} | undefined | undefined;
|
|
1501
1503
|
authorization: {
|
|
1502
1504
|
account: import("viem").PrivateKeyAccount;
|
|
1503
|
-
address: import("
|
|
1505
|
+
address: import("viem").Address;
|
|
1504
1506
|
};
|
|
1505
1507
|
kernelVersion: import("@zerodev/sdk/types").KERNEL_V3_VERSION_TYPE;
|
|
1506
1508
|
kernelPluginManager: import("@zerodev/sdk").KernelPluginManager<"0.7">;
|
|
1507
|
-
factoryAddress: import("
|
|
1508
|
-
accountImplementationAddress: import("
|
|
1509
|
+
factoryAddress: import("viem").Address;
|
|
1510
|
+
accountImplementationAddress: import("viem").Address;
|
|
1509
1511
|
generateInitCode: () => Promise<import("viem").Hex>;
|
|
1510
1512
|
encodeModuleInstallCallData: () => Promise<import("viem").Hex>;
|
|
1511
1513
|
encodeDeployCallData: ({ abi, args, bytecode }: import("viem").EncodeDeployDataParameters) => Promise<import("viem").Hex>;
|
|
1512
1514
|
eip7702Authorization?: (() => Promise<import("viem/accounts").SignAuthorizationReturnType | undefined>) | undefined | undefined;
|
|
1513
1515
|
} & {
|
|
1514
|
-
address: import("
|
|
1516
|
+
address: import("viem").Address;
|
|
1515
1517
|
getNonce: NonNullable<import("viem/account-abstraction").SmartAccountImplementation["getNonce"]>;
|
|
1516
1518
|
isDeployed: () => Promise<boolean>;
|
|
1517
1519
|
type: "smart";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smartAccount.d.ts","sourceRoot":"","sources":["../../src/cctp-inbound/smartAccount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAIlC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,WAAW,kCAAkC;IACjD;;;;;;;OAOG;IACH,MAAM,EAAE,SAAS,CAAC;IAClB,uDAAuD;IACvD,EAAE,EAAE,QAAQ,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED;;;;;;GAMG;AACH,wBAAsB,4BAA4B,CAChD,MAAM,EAAE,kCAAkC
|
|
1
|
+
{"version":3,"file":"smartAccount.d.ts","sourceRoot":"","sources":["../../src/cctp-inbound/smartAccount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAIlC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,WAAW,kCAAkC;IACjD;;;;;;;OAOG;IACH,MAAM,EAAE,SAAS,CAAC;IAClB,uDAAuD;IACvD,EAAE,EAAE,QAAQ,CAAC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