@gardenfi/core 3.0.7 → 3.0.8-beta.3
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/{ccip-DuJNhB3j.js → ccip-DIaoe4OH.js} +1 -1
- package/dist/{ccip-D_7TxSBL.cjs → ccip-rfAqgfGh.cjs} +1 -1
- package/dist/{index-iviEKv0P.js → index-Cbo-609y.js} +14217 -12574
- package/dist/index-DlhJwfjq.cjs +104 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +30 -25
- package/dist/src/index.d.ts +4 -2
- package/dist/src/lib/constants.d.ts +7 -0
- package/dist/src/lib/evm/htlc/evmHTLC.d.ts +62 -62
- package/dist/src/lib/garden/executor/executor.d.ts +2 -0
- package/dist/src/lib/garden/garden.d.ts +5 -1
- package/dist/src/lib/garden/garden.types.d.ts +28 -3
- package/dist/src/lib/starknet/abi/starknetHtlcABI.d.ts +15 -21
- package/dist/src/lib/tron/abi/tronHtlcABI.d.ts +46 -0
- package/dist/src/lib/tron/relayer/tronRelay.d.ts +32 -0
- package/dist/src/lib/tron/tronHTLC.types.d.ts +28 -0
- package/dist/src/lib/tron/utils.d.ts +1 -0
- package/dist/src/lib/utils.d.ts +5 -3
- package/dist/src/lib/xrpl/xrplHTLC.d.ts +0 -0
- package/dist/src/lib/xrpl/xrplHTLC.types.d.ts +32 -0
- package/dist/src/lib/xrpl/xrplRelay.d.ts +26 -0
- package/package.json +10 -6
- package/dist/index-BPpJbLfH.cjs +0 -106
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DlhJwfjq.cjs");exports.API=e.API;exports.BitcoinNetwork=e.BitcoinNetwork;exports.BitcoinProvider=e.BitcoinProvider;exports.BitcoinWallet=e.BitcoinWallet;exports.DEFAULT_AFFILIATE_ASSET=e.DEFAULT_AFFILIATE_ASSET;exports.EvmRelay=e.EvmRelay;exports.Garden=e.Garden;exports.OrderCreationStatus=e.OrderCreationStatus;exports.Quote=e.Quote;exports.STARKNET_CONFIG=e.STARKNET_CONFIG;exports.SUI_CONFIG=e.SUI_CONFIG;exports.SecretManager=e.SecretManager;exports.SolanaHTLC=e.SolanaHTLC;exports.SolanaRelay=e.SolanaRelay;exports.SolanaRelayerAddress=e.SolanaRelayerAddress;exports.StarknetHTLC=e.StarknetHTLC;exports.StarknetRelay=e.StarknetRelay;exports.TRON_CONFIG=e.TRON_CONFIG;exports.XRPL_CONFIG=e.XRPL_CONFIG;exports.XrplRelay=e.XrplRelay;exports.alpenTestnet=e.alpenTestnet;exports.botanixMainnet=e.botanixMainnet;exports.checkStarknetAlloance=e.checkAllowance;exports.checkStarknetAllowanceAndApprove=e.checkAllowanceAndApprove;exports.constructOrderPair=e.constructOrderPair;exports.evmToViemChainMap=e.evmToViemChainMap;exports.getChainNameFromChainId=e.getChainNameFromChainId;exports.hyperliquid=e.hyperliquid;exports.hyperliquidTestnet=e.hyperliquidTestnet;exports.isStarknetAllowanceSufficient=e.isAllowanceSufficient;exports.resolveApiConfig=e.resolveApiConfig;exports.solanaProgramAddress=e.solanaProgramAddress;exports.switchOrAddNetwork=e.switchOrAddNetwork;exports.toXOnly=e.toXOnly;exports.validateBTCAddress=e.validateBTCAddress;exports.validateLTCAddress=e.validateLTCAddress;
|
package/dist/index.js
CHANGED
|
@@ -1,34 +1,39 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { L as e, F as t, I as r, J as n, K as i, E as o, G as l, U as d, Q as A, M as S, N as c, m as C, k as T, j as k, P as p, h as I, S as N, T as O, O as h, X as y, C as F, w as R, p as m, n as v, q as u, x as L, y as w, z as E, A as G, o as P, r as _, R as f, D as g, t as B, v as M, u as X } from "./index-Cbo-609y.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
e as API,
|
|
4
4
|
t as BitcoinNetwork,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
r as BitcoinProvider,
|
|
6
|
+
n as BitcoinWallet,
|
|
7
|
+
i as DEFAULT_AFFILIATE_ASSET,
|
|
8
|
+
o as EvmRelay,
|
|
9
9
|
l as Garden,
|
|
10
|
+
d as OrderCreationStatus,
|
|
10
11
|
A as Quote,
|
|
11
|
-
|
|
12
|
+
S as STARKNET_CONFIG,
|
|
12
13
|
c as SUI_CONFIG,
|
|
13
|
-
|
|
14
|
+
C as SecretManager,
|
|
14
15
|
T as SolanaHTLC,
|
|
15
16
|
k as SolanaRelay,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
p as SolanaRelayerAddress,
|
|
18
|
+
I as StarknetHTLC,
|
|
19
|
+
N as StarknetRelay,
|
|
20
|
+
O as TRON_CONFIG,
|
|
21
|
+
h as XRPL_CONFIG,
|
|
22
|
+
y as XrplRelay,
|
|
23
|
+
F as alpenTestnet,
|
|
24
|
+
R as botanixMainnet,
|
|
25
|
+
m as checkStarknetAlloance,
|
|
22
26
|
v as checkStarknetAllowanceAndApprove,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
u as constructOrderPair,
|
|
28
|
+
L as evmToViemChainMap,
|
|
29
|
+
w as getChainNameFromChainId,
|
|
30
|
+
E as hyperliquid,
|
|
31
|
+
G as hyperliquidTestnet,
|
|
32
|
+
P as isStarknetAllowanceSufficient,
|
|
33
|
+
_ as resolveApiConfig,
|
|
34
|
+
f as solanaProgramAddress,
|
|
35
|
+
g as switchOrAddNetwork,
|
|
36
|
+
B as toXOnly,
|
|
37
|
+
M as validateBTCAddress,
|
|
38
|
+
X as validateLTCAddress
|
|
34
39
|
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -8,16 +8,18 @@ export { StarknetHTLC } from './lib/starknet/htlc/starknetHTLC';
|
|
|
8
8
|
export { SolanaRelay } from './lib/solana/relayer/solanaRelay';
|
|
9
9
|
export type { ISolanaHTLC } from './lib/solana/htlc/ISolanaHTLC';
|
|
10
10
|
export { SolanaHTLC } from './lib/solana/htlc/solanaHTLC';
|
|
11
|
+
export { XrplRelay } from './lib/xrpl/xrplRelay';
|
|
12
|
+
export type { IXrplHTLC } from './lib/xrpl/xrplHTLC.types';
|
|
11
13
|
export { SecretManager } from './lib/secretManager/secretManager';
|
|
12
14
|
export type { ISecretManager, Secret, SecretManagerEvents, } from './lib/secretManager/secretManager.types';
|
|
13
15
|
export { checkAllowanceAndApprove as checkStarknetAllowanceAndApprove, isAllowanceSufficient as isStarknetAllowanceSufficient, checkAllowance as checkStarknetAlloance, } from './lib/starknet/checkAllowanceAndApprove';
|
|
14
16
|
export { Quote } from './lib/quote/quote';
|
|
15
17
|
export type { StrategiesResponse, BaseQuoteParams, IQuote, QuoteOptions, QuoteParamsForAssets, QuoteParamsForOrderPair, QuoteResponse, Strategies, } from './lib/quote/quote.types';
|
|
16
|
-
export { constructOrderPair, validateBTCAddress, toXOnly, resolveApiConfig, } from './lib/utils';
|
|
18
|
+
export { constructOrderPair, validateBTCAddress, toXOnly, resolveApiConfig, validateLTCAddress, } from './lib/utils';
|
|
17
19
|
export { botanixMainnet, evmToViemChainMap, getChainNameFromChainId, hyperliquid, hyperliquidTestnet, alpenTestnet, switchOrAddNetwork, } from './lib/switchOrAddNetwork';
|
|
18
20
|
export { BitcoinNetwork } from './lib/bitcoin/provider/provider.interface';
|
|
19
21
|
export { BitcoinProvider } from './lib/bitcoin/provider/provider';
|
|
20
22
|
export { BitcoinWallet } from './lib/bitcoin/wallet/wallet';
|
|
21
23
|
export type { UrgencyToFeeRateKey, Urgency, IBitcoinProvider, FeeRates, BitcoinTxType, BitcoinTx, BitcoinUTXO, FeeRateKeys, } from './lib/bitcoin/provider/provider.interface';
|
|
22
|
-
export { DEFAULT_AFFILIATE_ASSET, API, STARKNET_CONFIG, SUI_CONFIG, SolanaRelayerAddress, solanaProgramAddress, } from './lib/constants';
|
|
24
|
+
export { DEFAULT_AFFILIATE_ASSET, API, STARKNET_CONFIG, SUI_CONFIG, TRON_CONFIG, XRPL_CONFIG, SolanaRelayerAddress, solanaProgramAddress, OrderCreationStatus, } from './lib/constants';
|
|
23
25
|
export type { Api } from './lib/constants';
|
|
@@ -26,6 +26,13 @@ export declare const SUI_CONFIG: Record<Network, {
|
|
|
26
26
|
packageId: string;
|
|
27
27
|
moduleName: string;
|
|
28
28
|
}>;
|
|
29
|
+
export declare const TRON_CONFIG: Record<Network, string>;
|
|
30
|
+
export declare const XRPL_CONFIG: Record<Network, string>;
|
|
29
31
|
export declare const DEFAULT_AFFILIATE_ASSET: {
|
|
30
32
|
asset: ChainAsset;
|
|
31
33
|
};
|
|
34
|
+
export declare enum OrderCreationStatus {
|
|
35
|
+
orderCreated = "orderCreated",
|
|
36
|
+
orderInitiating = "orderInitiating",
|
|
37
|
+
orderInitiated = "orderInitiated"
|
|
38
|
+
}
|
|
@@ -317,7 +317,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
317
317
|
}];
|
|
318
318
|
readonly stateMutability: "view";
|
|
319
319
|
readonly type: "function";
|
|
320
|
-
}], "eip712Domain", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [`0x${string}`, string, string, bigint, `0x${string}`, `0x${string}`, readonly bigint[]]>;
|
|
320
|
+
}], "eip712Domain", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [`0x${string}`, name: string, version: string, chainId: bigint, `0x${string}`, salt: `0x${string}`, readonly bigint[]]>;
|
|
321
321
|
orders: (args: readonly [`0x${string}`], options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
322
322
|
readonly inputs: readonly [{
|
|
323
323
|
readonly internalType: "address";
|
|
@@ -622,7 +622,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
622
622
|
}];
|
|
623
623
|
readonly stateMutability: "view";
|
|
624
624
|
readonly type: "function";
|
|
625
|
-
}], "orders", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [boolean, `0x${string}`, `0x${string}`, bigint, bigint, bigint]>;
|
|
625
|
+
}], "orders", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [boolean, initiator: `0x${string}`, redeemer: `0x${string}`, bigint, bigint, amount: bigint]>;
|
|
626
626
|
token: (options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
627
627
|
readonly inputs: readonly [{
|
|
628
628
|
readonly internalType: "address";
|
|
@@ -930,7 +930,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
930
930
|
}], "token", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<`0x${string}`>;
|
|
931
931
|
};
|
|
932
932
|
estimateGas: {
|
|
933
|
-
redeem: (args: readonly [`0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
933
|
+
redeem: (args: readonly [`0x${string}`, secret: `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
934
934
|
readonly inputs: readonly [{
|
|
935
935
|
readonly internalType: "address";
|
|
936
936
|
readonly name: "token_";
|
|
@@ -1234,7 +1234,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
1234
1234
|
}];
|
|
1235
1235
|
readonly stateMutability: "view";
|
|
1236
1236
|
readonly type: "function";
|
|
1237
|
-
}], "redeem", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
1237
|
+
}], "redeem", readonly [`0x${string}`, secret: `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
1238
1238
|
refund: (args: readonly [`0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
1239
1239
|
readonly inputs: readonly [{
|
|
1240
1240
|
readonly internalType: "address";
|
|
@@ -1540,7 +1540,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
1540
1540
|
readonly stateMutability: "view";
|
|
1541
1541
|
readonly type: "function";
|
|
1542
1542
|
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
1543
|
-
instantRefund: (args: readonly [`0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
1543
|
+
instantRefund: (args: readonly [`0x${string}`, signature: `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
1544
1544
|
readonly inputs: readonly [{
|
|
1545
1545
|
readonly internalType: "address";
|
|
1546
1546
|
readonly name: "token_";
|
|
@@ -1844,8 +1844,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
1844
1844
|
}];
|
|
1845
1845
|
readonly stateMutability: "view";
|
|
1846
1846
|
readonly type: "function";
|
|
1847
|
-
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
1848
|
-
initiate: (args: readonly [`0x${string}`, bigint, bigint, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
1847
|
+
}], "instantRefund", readonly [`0x${string}`, signature: `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
1848
|
+
initiate: (args: readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
1849
1849
|
readonly inputs: readonly [{
|
|
1850
1850
|
readonly internalType: "address";
|
|
1851
1851
|
readonly name: "token_";
|
|
@@ -2149,8 +2149,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
2149
2149
|
}];
|
|
2150
2150
|
readonly stateMutability: "view";
|
|
2151
2151
|
readonly type: "function";
|
|
2152
|
-
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
2153
|
-
initiateWithSignature: (args: readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
2152
|
+
}], "initiate", readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
2153
|
+
initiateWithSignature: (args: readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`, signature: `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
2154
2154
|
readonly inputs: readonly [{
|
|
2155
2155
|
readonly internalType: "address";
|
|
2156
2156
|
readonly name: "token_";
|
|
@@ -2454,7 +2454,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
2454
2454
|
}];
|
|
2455
2455
|
readonly stateMutability: "view";
|
|
2456
2456
|
readonly type: "function";
|
|
2457
|
-
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
2457
|
+
}], "initiateWithSignature", readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`, signature: `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
2458
2458
|
multicall: (args: readonly [readonly {
|
|
2459
2459
|
redeemer: `0x${string}`;
|
|
2460
2460
|
expiry: bigint;
|
|
@@ -2783,7 +2783,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
2783
2783
|
orderID: `0x${string}`;
|
|
2784
2784
|
}[]], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
2785
2785
|
} & {
|
|
2786
|
-
redeem: (args: readonly [`0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
2786
|
+
redeem: (args: readonly [`0x${string}`, secret: `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
2787
2787
|
readonly inputs: readonly [{
|
|
2788
2788
|
readonly internalType: "address";
|
|
2789
2789
|
readonly name: "token_";
|
|
@@ -3087,7 +3087,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
3087
3087
|
}];
|
|
3088
3088
|
readonly stateMutability: "view";
|
|
3089
3089
|
readonly type: "function";
|
|
3090
|
-
}], "redeem", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
3090
|
+
}], "redeem", readonly [`0x${string}`, secret: `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
3091
3091
|
refund: (args: readonly [`0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
3092
3092
|
readonly inputs: readonly [{
|
|
3093
3093
|
readonly internalType: "address";
|
|
@@ -3393,7 +3393,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
3393
3393
|
readonly stateMutability: "view";
|
|
3394
3394
|
readonly type: "function";
|
|
3395
3395
|
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
3396
|
-
instantRefund: (args: readonly [`0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
3396
|
+
instantRefund: (args: readonly [`0x${string}`, signature: `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
3397
3397
|
readonly inputs: readonly [{
|
|
3398
3398
|
readonly internalType: "address";
|
|
3399
3399
|
readonly name: "token_";
|
|
@@ -3697,8 +3697,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
3697
3697
|
}];
|
|
3698
3698
|
readonly stateMutability: "view";
|
|
3699
3699
|
readonly type: "function";
|
|
3700
|
-
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
3701
|
-
initiate: (args: readonly [`0x${string}`, bigint, bigint, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
3700
|
+
}], "instantRefund", readonly [`0x${string}`, signature: `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
3701
|
+
initiate: (args: readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
3702
3702
|
readonly inputs: readonly [{
|
|
3703
3703
|
readonly internalType: "address";
|
|
3704
3704
|
readonly name: "token_";
|
|
@@ -4002,8 +4002,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
4002
4002
|
}];
|
|
4003
4003
|
readonly stateMutability: "view";
|
|
4004
4004
|
readonly type: "function";
|
|
4005
|
-
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
4006
|
-
initiateWithSignature: (args: readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
4005
|
+
}], "initiate", readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
4006
|
+
initiateWithSignature: (args: readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`, signature: `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
4007
4007
|
readonly inputs: readonly [{
|
|
4008
4008
|
readonly internalType: "address";
|
|
4009
4009
|
readonly name: "token_";
|
|
@@ -4307,7 +4307,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
4307
4307
|
}];
|
|
4308
4308
|
readonly stateMutability: "view";
|
|
4309
4309
|
readonly type: "function";
|
|
4310
|
-
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
4310
|
+
}], "initiateWithSignature", readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`, signature: `0x${string}`], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
4311
4311
|
multicall: (args: readonly [readonly {
|
|
4312
4312
|
redeemer: `0x${string}`;
|
|
4313
4313
|
expiry: bigint;
|
|
@@ -4637,7 +4637,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
4637
4637
|
}[]], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
4638
4638
|
};
|
|
4639
4639
|
simulate: {
|
|
4640
|
-
redeem: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
4640
|
+
redeem: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, secret: `0x${string}`], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
4641
4641
|
readonly inputs: readonly [{
|
|
4642
4642
|
readonly internalType: "address";
|
|
4643
4643
|
readonly name: "token_";
|
|
@@ -4941,7 +4941,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
4941
4941
|
}];
|
|
4942
4942
|
readonly stateMutability: "view";
|
|
4943
4943
|
readonly type: "function";
|
|
4944
|
-
}], "redeem", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
4944
|
+
}], "redeem", readonly [`0x${string}`, secret: `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
4945
4945
|
readonly inputs: readonly [{
|
|
4946
4946
|
readonly internalType: "address";
|
|
4947
4947
|
readonly name: "token_";
|
|
@@ -5245,7 +5245,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
5245
5245
|
}];
|
|
5246
5246
|
readonly stateMutability: "view";
|
|
5247
5247
|
readonly type: "function";
|
|
5248
|
-
}], "redeem", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
5248
|
+
}], "redeem", readonly [`0x${string}`, secret: `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
5249
5249
|
refund: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
5250
5250
|
readonly inputs: readonly [{
|
|
5251
5251
|
readonly internalType: "address";
|
|
@@ -5855,7 +5855,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
5855
5855
|
readonly stateMutability: "view";
|
|
5856
5856
|
readonly type: "function";
|
|
5857
5857
|
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
5858
|
-
instantRefund: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
5858
|
+
instantRefund: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, signature: `0x${string}`], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
5859
5859
|
readonly inputs: readonly [{
|
|
5860
5860
|
readonly internalType: "address";
|
|
5861
5861
|
readonly name: "token_";
|
|
@@ -6159,7 +6159,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
6159
6159
|
}];
|
|
6160
6160
|
readonly stateMutability: "view";
|
|
6161
6161
|
readonly type: "function";
|
|
6162
|
-
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
6162
|
+
}], "instantRefund", readonly [`0x${string}`, signature: `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
6163
6163
|
readonly inputs: readonly [{
|
|
6164
6164
|
readonly internalType: "address";
|
|
6165
6165
|
readonly name: "token_";
|
|
@@ -6463,8 +6463,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
6463
6463
|
}];
|
|
6464
6464
|
readonly stateMutability: "view";
|
|
6465
6465
|
readonly type: "function";
|
|
6466
|
-
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
6467
|
-
initiate: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint, bigint, `0x${string}`], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
6466
|
+
}], "instantRefund", readonly [`0x${string}`, signature: `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
6467
|
+
initiate: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
6468
6468
|
readonly inputs: readonly [{
|
|
6469
6469
|
readonly internalType: "address";
|
|
6470
6470
|
readonly name: "token_";
|
|
@@ -6768,7 +6768,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
6768
6768
|
}];
|
|
6769
6769
|
readonly stateMutability: "view";
|
|
6770
6770
|
readonly type: "function";
|
|
6771
|
-
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
6771
|
+
}], "initiate", readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
6772
6772
|
readonly inputs: readonly [{
|
|
6773
6773
|
readonly internalType: "address";
|
|
6774
6774
|
readonly name: "token_";
|
|
@@ -7072,8 +7072,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
7072
7072
|
}];
|
|
7073
7073
|
readonly stateMutability: "view";
|
|
7074
7074
|
readonly type: "function";
|
|
7075
|
-
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
7076
|
-
initiateWithSignature: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
7075
|
+
}], "initiate", readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
7076
|
+
initiateWithSignature: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`, signature: `0x${string}`], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
7077
7077
|
readonly inputs: readonly [{
|
|
7078
7078
|
readonly internalType: "address";
|
|
7079
7079
|
readonly name: "token_";
|
|
@@ -7377,7 +7377,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
7377
7377
|
}];
|
|
7378
7378
|
readonly stateMutability: "view";
|
|
7379
7379
|
readonly type: "function";
|
|
7380
|
-
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
7380
|
+
}], "initiateWithSignature", readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`, signature: `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
7381
7381
|
readonly inputs: readonly [{
|
|
7382
7382
|
readonly internalType: "address";
|
|
7383
7383
|
readonly name: "token_";
|
|
@@ -7681,7 +7681,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
7681
7681
|
}];
|
|
7682
7682
|
readonly stateMutability: "view";
|
|
7683
7683
|
readonly type: "function";
|
|
7684
|
-
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
7684
|
+
}], "initiateWithSignature", readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`, signature: `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
7685
7685
|
multicall: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [readonly {
|
|
7686
7686
|
redeemer: `0x${string}`;
|
|
7687
7687
|
expiry: bigint;
|
|
@@ -12416,7 +12416,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
12416
12416
|
}];
|
|
12417
12417
|
readonly stateMutability: "view";
|
|
12418
12418
|
readonly type: "function";
|
|
12419
|
-
}], "redeem", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
12419
|
+
}], "redeem", readonly [`0x${string}`, secret: `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, secret: `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
12420
12420
|
refund: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
12421
12421
|
readonly inputs: readonly [{
|
|
12422
12422
|
readonly internalType: "address";
|
|
@@ -13026,7 +13026,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
13026
13026
|
}];
|
|
13027
13027
|
readonly stateMutability: "view";
|
|
13028
13028
|
readonly type: "function";
|
|
13029
|
-
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
13029
|
+
}], "instantRefund", readonly [`0x${string}`, signature: `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, signature: `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
13030
13030
|
initiate: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
13031
13031
|
readonly inputs: readonly [{
|
|
13032
13032
|
readonly internalType: "address";
|
|
@@ -13331,7 +13331,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
13331
13331
|
}];
|
|
13332
13332
|
readonly stateMutability: "view";
|
|
13333
13333
|
readonly type: "function";
|
|
13334
|
-
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint, bigint, `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
13334
|
+
}], "initiate", readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
13335
13335
|
initiateWithSignature: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
13336
13336
|
readonly inputs: readonly [{
|
|
13337
13337
|
readonly internalType: "address";
|
|
@@ -13636,7 +13636,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
13636
13636
|
}];
|
|
13637
13637
|
readonly stateMutability: "view";
|
|
13638
13638
|
readonly type: "function";
|
|
13639
|
-
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
13639
|
+
}], "initiateWithSignature", readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`, signature: `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [redeemer: `0x${string}`, bigint, amount: bigint, `0x${string}`, signature: `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
13640
13640
|
multicall: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
13641
13641
|
readonly inputs: readonly [{
|
|
13642
13642
|
readonly internalType: "address";
|
|
@@ -14679,7 +14679,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
14679
14679
|
readonly type: "bool";
|
|
14680
14680
|
}];
|
|
14681
14681
|
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
14682
|
-
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
14682
|
+
allowance: (args: readonly [owner: `0x${string}`, spender: `0x${string}`], options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
14683
14683
|
readonly type: "event";
|
|
14684
14684
|
readonly name: "Approval";
|
|
14685
14685
|
readonly inputs: readonly [{
|
|
@@ -14813,7 +14813,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
14813
14813
|
readonly outputs: readonly [{
|
|
14814
14814
|
readonly type: "bool";
|
|
14815
14815
|
}];
|
|
14816
|
-
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14816
|
+
}], "allowance", readonly [owner: `0x${string}`, spender: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14817
14817
|
totalSupply: (options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
14818
14818
|
readonly type: "event";
|
|
14819
14819
|
readonly name: "Approval";
|
|
@@ -14949,7 +14949,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
14949
14949
|
readonly type: "bool";
|
|
14950
14950
|
}];
|
|
14951
14951
|
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14952
|
-
balanceOf: (args: readonly [`0x${string}`], options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
14952
|
+
balanceOf: (args: readonly [account: `0x${string}`], options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
14953
14953
|
readonly type: "event";
|
|
14954
14954
|
readonly name: "Approval";
|
|
14955
14955
|
readonly inputs: readonly [{
|
|
@@ -15083,10 +15083,10 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
15083
15083
|
readonly outputs: readonly [{
|
|
15084
15084
|
readonly type: "bool";
|
|
15085
15085
|
}];
|
|
15086
|
-
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15086
|
+
}], "balanceOf", readonly [account: `0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15087
15087
|
};
|
|
15088
15088
|
estimateGas: {
|
|
15089
|
-
transfer: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15089
|
+
transfer: (args: readonly [recipient: `0x${string}`, amount: bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15090
15090
|
readonly type: "event";
|
|
15091
15091
|
readonly name: "Approval";
|
|
15092
15092
|
readonly inputs: readonly [{
|
|
@@ -15220,8 +15220,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
15220
15220
|
readonly outputs: readonly [{
|
|
15221
15221
|
readonly type: "bool";
|
|
15222
15222
|
}];
|
|
15223
|
-
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15224
|
-
approve: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15223
|
+
}], "transfer", readonly [recipient: `0x${string}`, amount: bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15224
|
+
approve: (args: readonly [spender: `0x${string}`, amount: bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15225
15225
|
readonly type: "event";
|
|
15226
15226
|
readonly name: "Approval";
|
|
15227
15227
|
readonly inputs: readonly [{
|
|
@@ -15355,8 +15355,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
15355
15355
|
readonly outputs: readonly [{
|
|
15356
15356
|
readonly type: "bool";
|
|
15357
15357
|
}];
|
|
15358
|
-
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15359
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15358
|
+
}], "approve", readonly [spender: `0x${string}`, amount: bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15359
|
+
transferFrom: (args: readonly [sender: `0x${string}`, recipient: `0x${string}`, amount: bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15360
15360
|
readonly type: "event";
|
|
15361
15361
|
readonly name: "Approval";
|
|
15362
15362
|
readonly inputs: readonly [{
|
|
@@ -15490,9 +15490,9 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
15490
15490
|
readonly outputs: readonly [{
|
|
15491
15491
|
readonly type: "bool";
|
|
15492
15492
|
}];
|
|
15493
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15493
|
+
}], "transferFrom", readonly [sender: `0x${string}`, recipient: `0x${string}`, amount: bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15494
15494
|
} & {
|
|
15495
|
-
transfer: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15495
|
+
transfer: (args: readonly [recipient: `0x${string}`, amount: bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15496
15496
|
readonly type: "event";
|
|
15497
15497
|
readonly name: "Approval";
|
|
15498
15498
|
readonly inputs: readonly [{
|
|
@@ -15626,8 +15626,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
15626
15626
|
readonly outputs: readonly [{
|
|
15627
15627
|
readonly type: "bool";
|
|
15628
15628
|
}];
|
|
15629
|
-
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15630
|
-
approve: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15629
|
+
}], "transfer", readonly [recipient: `0x${string}`, amount: bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15630
|
+
approve: (args: readonly [spender: `0x${string}`, amount: bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15631
15631
|
readonly type: "event";
|
|
15632
15632
|
readonly name: "Approval";
|
|
15633
15633
|
readonly inputs: readonly [{
|
|
@@ -15761,8 +15761,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
15761
15761
|
readonly outputs: readonly [{
|
|
15762
15762
|
readonly type: "bool";
|
|
15763
15763
|
}];
|
|
15764
|
-
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15765
|
-
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15764
|
+
}], "approve", readonly [spender: `0x${string}`, amount: bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15765
|
+
transferFrom: (args: readonly [sender: `0x${string}`, recipient: `0x${string}`, amount: bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15766
15766
|
readonly type: "event";
|
|
15767
15767
|
readonly name: "Approval";
|
|
15768
15768
|
readonly inputs: readonly [{
|
|
@@ -15896,10 +15896,10 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
15896
15896
|
readonly outputs: readonly [{
|
|
15897
15897
|
readonly type: "bool";
|
|
15898
15898
|
}];
|
|
15899
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15899
|
+
}], "transferFrom", readonly [sender: `0x${string}`, recipient: `0x${string}`, amount: bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15900
15900
|
};
|
|
15901
15901
|
simulate: {
|
|
15902
|
-
transfer: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
15902
|
+
transfer: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [recipient: `0x${string}`, amount: bigint], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
15903
15903
|
readonly type: "event";
|
|
15904
15904
|
readonly name: "Approval";
|
|
15905
15905
|
readonly inputs: readonly [{
|
|
@@ -16033,7 +16033,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16033
16033
|
readonly outputs: readonly [{
|
|
16034
16034
|
readonly type: "bool";
|
|
16035
16035
|
}];
|
|
16036
|
-
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
16036
|
+
}], "transfer", readonly [recipient: `0x${string}`, amount: bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
16037
16037
|
readonly type: "event";
|
|
16038
16038
|
readonly name: "Approval";
|
|
16039
16039
|
readonly inputs: readonly [{
|
|
@@ -16167,8 +16167,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16167
16167
|
readonly outputs: readonly [{
|
|
16168
16168
|
readonly type: "bool";
|
|
16169
16169
|
}];
|
|
16170
|
-
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
16171
|
-
approve: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, bigint], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
16170
|
+
}], "transfer", readonly [recipient: `0x${string}`, amount: bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
16171
|
+
approve: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [spender: `0x${string}`, amount: bigint], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
16172
16172
|
readonly type: "event";
|
|
16173
16173
|
readonly name: "Approval";
|
|
16174
16174
|
readonly inputs: readonly [{
|
|
@@ -16302,7 +16302,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16302
16302
|
readonly outputs: readonly [{
|
|
16303
16303
|
readonly type: "bool";
|
|
16304
16304
|
}];
|
|
16305
|
-
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
16305
|
+
}], "approve", readonly [spender: `0x${string}`, amount: bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
16306
16306
|
readonly type: "event";
|
|
16307
16307
|
readonly name: "Approval";
|
|
16308
16308
|
readonly inputs: readonly [{
|
|
@@ -16436,8 +16436,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16436
16436
|
readonly outputs: readonly [{
|
|
16437
16437
|
readonly type: "bool";
|
|
16438
16438
|
}];
|
|
16439
|
-
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
16440
|
-
transferFrom: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [`0x${string}`, `0x${string}`, bigint], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
16439
|
+
}], "approve", readonly [spender: `0x${string}`, amount: bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
16440
|
+
transferFrom: <chainOverride extends import('viem').Chain | undefined = undefined, accountOverride extends import('viem').Account | Address | undefined = undefined>(args: readonly [sender: `0x${string}`, recipient: `0x${string}`, amount: bigint], options?: Omit<import('viem').SimulateContractParameters<readonly [{
|
|
16441
16441
|
readonly type: "event";
|
|
16442
16442
|
readonly name: "Approval";
|
|
16443
16443
|
readonly inputs: readonly [{
|
|
@@ -16571,7 +16571,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16571
16571
|
readonly outputs: readonly [{
|
|
16572
16572
|
readonly type: "bool";
|
|
16573
16573
|
}];
|
|
16574
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
16574
|
+
}], "transferFrom", readonly [sender: `0x${string}`, recipient: `0x${string}`, amount: bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
16575
16575
|
readonly type: "event";
|
|
16576
16576
|
readonly name: "Approval";
|
|
16577
16577
|
readonly inputs: readonly [{
|
|
@@ -16705,7 +16705,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16705
16705
|
readonly outputs: readonly [{
|
|
16706
16706
|
readonly type: "bool";
|
|
16707
16707
|
}];
|
|
16708
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
16708
|
+
}], "transferFrom", readonly [sender: `0x${string}`, recipient: `0x${string}`, amount: bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
16709
16709
|
};
|
|
16710
16710
|
createEventFilter: {
|
|
16711
16711
|
Transfer: <const args extends {
|
|
@@ -17730,7 +17730,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
17730
17730
|
readonly outputs: readonly [{
|
|
17731
17731
|
readonly type: "bool";
|
|
17732
17732
|
}];
|
|
17733
|
-
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
17733
|
+
}], "transfer", readonly [recipient: `0x${string}`, amount: bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [recipient: `0x${string}`, amount: bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
17734
17734
|
approve: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
17735
17735
|
readonly type: "event";
|
|
17736
17736
|
readonly name: "Approval";
|
|
@@ -17865,7 +17865,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
17865
17865
|
readonly outputs: readonly [{
|
|
17866
17866
|
readonly type: "bool";
|
|
17867
17867
|
}];
|
|
17868
|
-
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
17868
|
+
}], "approve", readonly [spender: `0x${string}`, amount: bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [spender: `0x${string}`, amount: bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
17869
17869
|
transferFrom: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
17870
17870
|
readonly type: "event";
|
|
17871
17871
|
readonly name: "Approval";
|
|
@@ -18000,7 +18000,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
18000
18000
|
readonly outputs: readonly [{
|
|
18001
18001
|
readonly type: "bool";
|
|
18002
18002
|
}];
|
|
18003
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
18003
|
+
}], "transferFrom", readonly [sender: `0x${string}`, recipient: `0x${string}`, amount: bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "abi" | "args" | "functionName"> extends infer T ? { [K in keyof T]: T[K]; } : never>(args: readonly [sender: `0x${string}`, recipient: `0x${string}`, amount: bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
18004
18004
|
};
|
|
18005
18005
|
address: `0x${string}`;
|
|
18006
18006
|
abi: readonly [{
|