@gardenfi/core 2.5.3 → 3.0.0
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-DSGVoxhU.cjs → ccip-DGrkijK3.cjs} +1 -1
- package/dist/{ccip-Bg3f6Dwh.js → ccip-DoKK2Eev.js} +1 -1
- package/dist/index-BB1moYTm.cjs +106 -0
- package/dist/index-dcGJN5tW.js +33698 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +32 -39
- package/dist/src/index.d.ts +7 -12
- package/dist/src/lib/bitcoin/API.d.ts +3 -1
- package/dist/src/lib/bitcoin/bitcoinHtlc.d.ts +98 -0
- package/dist/src/lib/bitcoin/bitcoinhtlc.types.d.ts +53 -0
- package/dist/src/lib/bitcoin/provider/provider.d.ts +2 -1
- package/dist/src/lib/bitcoin/wallet/abstractWallet.d.ts +1 -1
- package/dist/src/lib/bitcoin/wallet/wallet.d.ts +1 -1
- package/dist/src/lib/bitcoin/wallet/wallet.interface.d.ts +1 -1
- package/dist/src/lib/constants.d.ts +4 -9
- package/dist/src/lib/evm/htlc/evmHTLC.d.ts +102 -102
- package/dist/src/lib/evm/htlc.types.d.ts +4 -4
- package/dist/src/lib/evm/relay/evmRelay.d.ts +9 -11
- package/dist/src/lib/evm/relay/htlcInitiate.d.ts +25 -0
- package/dist/src/lib/garden/cache/GardenCache.d.ts +45 -0
- package/dist/src/lib/garden/executor/executor.d.ts +26 -0
- package/dist/src/lib/garden/garden.d.ts +43 -52
- package/dist/src/lib/garden/garden.types.d.ts +70 -103
- package/dist/src/lib/garden/utils.d.ts +4 -0
- package/dist/src/lib/quote/quote.d.ts +8 -7
- package/dist/src/lib/quote/quote.types.d.ts +21 -13
- package/dist/src/lib/relayer/relayer.d.ts +9 -0
- package/dist/src/lib/solana/htlc/ISolanaHTLC.d.ts +4 -4
- package/dist/src/lib/solana/htlc/solanaHTLC.d.ts +7 -7
- package/dist/src/lib/solana/relayer/solanaRelay.d.ts +28 -35
- package/dist/src/lib/solana/solanaTypes.d.ts +6 -6
- package/dist/src/lib/starknet/htlc/starknetHTLC.d.ts +4 -4
- package/dist/src/lib/starknet/relay/starknetRelay.d.ts +9 -5
- package/dist/src/lib/starknet/starknetHTLC.types.d.ts +4 -4
- package/dist/src/lib/sui/htlc/suiHTLC.d.ts +7 -6
- package/dist/src/lib/sui/relay/suiRelay.d.ts +8 -5
- package/dist/src/lib/sui/suiHTLC.types.d.ts +4 -4
- package/dist/src/lib/switchOrAddNetwork.d.ts +5 -3
- package/dist/src/lib/utils.d.ts +38 -6
- package/package.json +4 -3
- package/dist/index-D-NHDZrP.js +0 -31936
- package/dist/index-s2tkcnpk.cjs +0 -105
- package/dist/src/lib/bitcoin/htlc.d.ts +0 -106
- package/dist/src/lib/blockNumberFetcher/blockNumber.d.ts +0 -15
- package/dist/src/lib/evm/relay/evmRelay.types.d.ts +0 -26
- package/dist/src/lib/garden/cache/executorCache.d.ts +0 -14
- package/dist/src/lib/orderStatus/orderStatusParser.d.ts +0 -37
- package/dist/src/lib/orderStatus/status.d.ts +0 -130
|
@@ -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" | "
|
|
320
|
+
}], "eip712Domain", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [`0x${string}`, string, string, bigint, `0x${string}`, `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" | "
|
|
625
|
+
}], "orders", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<readonly [boolean, `0x${string}`, `0x${string}`, bigint, bigint, 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";
|
|
@@ -927,7 +927,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
927
927
|
}];
|
|
928
928
|
readonly stateMutability: "view";
|
|
929
929
|
readonly type: "function";
|
|
930
|
-
}], "token", readonly []>, "address" | "
|
|
930
|
+
}], "token", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<`0x${string}`>;
|
|
931
931
|
};
|
|
932
932
|
estimateGas: {
|
|
933
933
|
redeem: (args: readonly [`0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
@@ -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" | "
|
|
1237
|
+
}], "redeem", readonly [`0x${string}`, `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";
|
|
@@ -1539,8 +1539,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
1539
1539
|
}];
|
|
1540
1540
|
readonly stateMutability: "view";
|
|
1541
1541
|
readonly type: "function";
|
|
1542
|
-
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined>, "address" | "
|
|
1543
|
-
|
|
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 [{
|
|
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
|
-
}], "
|
|
1848
|
-
|
|
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 [{
|
|
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
|
-
}], "
|
|
2153
|
-
|
|
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 [{
|
|
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
|
-
}], "
|
|
2457
|
+
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `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;
|
|
@@ -2781,7 +2781,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
2781
2781
|
secret: `0x${string}`;
|
|
2782
2782
|
}[], readonly {
|
|
2783
2783
|
orderID: `0x${string}`;
|
|
2784
|
-
}[]], import('viem').Chain | undefined>, "address" | "
|
|
2784
|
+
}[]], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
2785
2785
|
} & {
|
|
2786
2786
|
redeem: (args: readonly [`0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
2787
2787
|
readonly inputs: readonly [{
|
|
@@ -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" | "
|
|
3090
|
+
}], "redeem", readonly [`0x${string}`, `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";
|
|
@@ -3392,8 +3392,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
3392
3392
|
}];
|
|
3393
3393
|
readonly stateMutability: "view";
|
|
3394
3394
|
readonly type: "function";
|
|
3395
|
-
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined>, "address" | "
|
|
3396
|
-
|
|
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 [{
|
|
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
|
-
}], "
|
|
3701
|
-
|
|
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 [{
|
|
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
|
-
}], "
|
|
4006
|
-
|
|
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 [{
|
|
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
|
-
}], "
|
|
4310
|
+
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `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;
|
|
@@ -4634,7 +4634,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
4634
4634
|
secret: `0x${string}`;
|
|
4635
4635
|
}[], readonly {
|
|
4636
4636
|
orderID: `0x${string}`;
|
|
4637
|
-
}[]], import('viem').Chain | undefined>, "address" | "
|
|
4637
|
+
}[]], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
4638
4638
|
};
|
|
4639
4639
|
simulate: {
|
|
4640
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 [{
|
|
@@ -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" | "
|
|
4944
|
+
}], "redeem", readonly [`0x${string}`, `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_";
|
|
@@ -5550,7 +5550,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
5550
5550
|
}];
|
|
5551
5551
|
readonly stateMutability: "view";
|
|
5552
5552
|
readonly type: "function";
|
|
5553
|
-
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "
|
|
5553
|
+
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
5554
5554
|
readonly inputs: readonly [{
|
|
5555
5555
|
readonly internalType: "address";
|
|
5556
5556
|
readonly name: "token_";
|
|
@@ -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
|
-
|
|
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 [{
|
|
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
|
-
}], "
|
|
6162
|
+
}], "instantRefund", readonly [`0x${string}`, `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
|
-
}], "
|
|
6467
|
-
|
|
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 [{
|
|
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
|
-
}], "
|
|
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 [{
|
|
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
|
-
}], "
|
|
7076
|
-
|
|
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 [{
|
|
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
|
-
}], "
|
|
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 [{
|
|
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
|
-
}], "
|
|
7684
|
+
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `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;
|
|
@@ -8008,7 +8008,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
8008
8008
|
secret: `0x${string}`;
|
|
8009
8009
|
}[], readonly {
|
|
8010
8010
|
orderID: `0x${string}`;
|
|
8011
|
-
}[]], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "
|
|
8011
|
+
}[]], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "abi" | "args" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
8012
8012
|
readonly inputs: readonly [{
|
|
8013
8013
|
readonly internalType: "address";
|
|
8014
8014
|
readonly name: "token_";
|
|
@@ -8326,19 +8326,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
8326
8326
|
}[]], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride, accountOverride>>;
|
|
8327
8327
|
};
|
|
8328
8328
|
createEventFilter: {
|
|
8329
|
-
|
|
8330
|
-
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8331
|
-
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8332
|
-
} | undefined, strict extends boolean | undefined = undefined>(args: {
|
|
8333
|
-
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8334
|
-
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8335
|
-
} | ({
|
|
8336
|
-
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8337
|
-
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8338
|
-
} extends infer T ? T extends {
|
|
8339
|
-
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8340
|
-
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8341
|
-
} ? T extends args ? Readonly<args> : never : never : never), options?: ({
|
|
8329
|
+
EIP712DomainChanged: <const args extends readonly [] | undefined, strict extends boolean | undefined = undefined>(options?: ({
|
|
8342
8330
|
fromBlock?: bigint | import('viem').BlockTag | undefined;
|
|
8343
8331
|
toBlock?: bigint | import('viem').BlockTag | undefined;
|
|
8344
8332
|
} & {
|
|
@@ -8647,8 +8635,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
8647
8635
|
}];
|
|
8648
8636
|
readonly stateMutability: "view";
|
|
8649
8637
|
readonly type: "function";
|
|
8650
|
-
}], "
|
|
8651
|
-
|
|
8638
|
+
}], "EIP712DomainChanged", args, strict>>;
|
|
8639
|
+
Initiated: <const args extends {
|
|
8652
8640
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8653
8641
|
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8654
8642
|
} | undefined, strict extends boolean | undefined = undefined>(args: {
|
|
@@ -8969,15 +8957,19 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
8969
8957
|
}];
|
|
8970
8958
|
readonly stateMutability: "view";
|
|
8971
8959
|
readonly type: "function";
|
|
8972
|
-
}], "
|
|
8973
|
-
|
|
8960
|
+
}], "Initiated", args, strict>>;
|
|
8961
|
+
Redeemed: <const args extends {
|
|
8974
8962
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8963
|
+
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8975
8964
|
} | undefined, strict extends boolean | undefined = undefined>(args: {
|
|
8976
8965
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8966
|
+
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8977
8967
|
} | ({
|
|
8978
8968
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8969
|
+
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8979
8970
|
} extends infer T ? T extends {
|
|
8980
8971
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8972
|
+
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
8981
8973
|
} ? T extends args ? Readonly<args> : never : never : never), options?: ({
|
|
8982
8974
|
fromBlock?: bigint | import('viem').BlockTag | undefined;
|
|
8983
8975
|
toBlock?: bigint | import('viem').BlockTag | undefined;
|
|
@@ -9287,8 +9279,16 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
9287
9279
|
}];
|
|
9288
9280
|
readonly stateMutability: "view";
|
|
9289
9281
|
readonly type: "function";
|
|
9290
|
-
}], "
|
|
9291
|
-
|
|
9282
|
+
}], "Redeemed", args, strict>>;
|
|
9283
|
+
Refunded: <const args extends {
|
|
9284
|
+
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9285
|
+
} | undefined, strict extends boolean | undefined = undefined>(args: {
|
|
9286
|
+
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9287
|
+
} | ({
|
|
9288
|
+
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9289
|
+
} extends infer T ? T extends {
|
|
9290
|
+
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9291
|
+
} ? T extends args ? Readonly<args> : never : never : never), options?: ({
|
|
9292
9292
|
fromBlock?: bigint | import('viem').BlockTag | undefined;
|
|
9293
9293
|
toBlock?: bigint | import('viem').BlockTag | undefined;
|
|
9294
9294
|
} & {
|
|
@@ -9597,13 +9597,10 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
9597
9597
|
}];
|
|
9598
9598
|
readonly stateMutability: "view";
|
|
9599
9599
|
readonly type: "function";
|
|
9600
|
-
}], "
|
|
9600
|
+
}], "Refunded", args, strict>>;
|
|
9601
9601
|
};
|
|
9602
9602
|
getEvents: {
|
|
9603
|
-
|
|
9604
|
-
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9605
|
-
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9606
|
-
} | undefined, options?: {
|
|
9603
|
+
EIP712DomainChanged: (options?: {
|
|
9607
9604
|
blockHash?: `0x${string}` | undefined;
|
|
9608
9605
|
strict?: boolean | undefined;
|
|
9609
9606
|
fromBlock?: bigint | import('viem').BlockTag | undefined;
|
|
@@ -9912,8 +9909,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
9912
9909
|
}];
|
|
9913
9910
|
readonly stateMutability: "view";
|
|
9914
9911
|
readonly type: "function";
|
|
9915
|
-
}], "
|
|
9916
|
-
|
|
9912
|
+
}], "EIP712DomainChanged">>;
|
|
9913
|
+
Initiated: (args?: {
|
|
9917
9914
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9918
9915
|
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9919
9916
|
} | undefined, options?: {
|
|
@@ -10225,9 +10222,10 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
10225
10222
|
}];
|
|
10226
10223
|
readonly stateMutability: "view";
|
|
10227
10224
|
readonly type: "function";
|
|
10228
|
-
}], "
|
|
10229
|
-
|
|
10225
|
+
}], "Initiated">>;
|
|
10226
|
+
Redeemed: (args?: {
|
|
10230
10227
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10228
|
+
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10231
10229
|
} | undefined, options?: {
|
|
10232
10230
|
blockHash?: `0x${string}` | undefined;
|
|
10233
10231
|
strict?: boolean | undefined;
|
|
@@ -10537,8 +10535,10 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
10537
10535
|
}];
|
|
10538
10536
|
readonly stateMutability: "view";
|
|
10539
10537
|
readonly type: "function";
|
|
10540
|
-
}], "
|
|
10541
|
-
|
|
10538
|
+
}], "Redeemed">>;
|
|
10539
|
+
Refunded: (args?: {
|
|
10540
|
+
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10541
|
+
} | undefined, options?: {
|
|
10542
10542
|
blockHash?: `0x${string}` | undefined;
|
|
10543
10543
|
strict?: boolean | undefined;
|
|
10544
10544
|
fromBlock?: bigint | import('viem').BlockTag | undefined;
|
|
@@ -10847,13 +10847,10 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
10847
10847
|
}];
|
|
10848
10848
|
readonly stateMutability: "view";
|
|
10849
10849
|
readonly type: "function";
|
|
10850
|
-
}], "
|
|
10850
|
+
}], "Refunded">>;
|
|
10851
10851
|
};
|
|
10852
10852
|
watchEvent: {
|
|
10853
|
-
|
|
10854
|
-
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10855
|
-
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10856
|
-
}, options: {
|
|
10853
|
+
EIP712DomainChanged: (options: {
|
|
10857
10854
|
batch?: boolean | undefined | undefined;
|
|
10858
10855
|
pollingInterval?: number | undefined | undefined;
|
|
10859
10856
|
strict?: boolean | undefined;
|
|
@@ -11163,10 +11160,10 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
11163
11160
|
}];
|
|
11164
11161
|
readonly stateMutability: "view";
|
|
11165
11162
|
readonly type: "function";
|
|
11166
|
-
}], "
|
|
11163
|
+
}], "EIP712DomainChanged", undefined>;
|
|
11167
11164
|
poll?: true | undefined | undefined;
|
|
11168
11165
|
}) => import('viem').WatchContractEventReturnType;
|
|
11169
|
-
|
|
11166
|
+
Initiated: (args: {
|
|
11170
11167
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
11171
11168
|
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
11172
11169
|
}, options: {
|
|
@@ -11479,11 +11476,12 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
11479
11476
|
}];
|
|
11480
11477
|
readonly stateMutability: "view";
|
|
11481
11478
|
readonly type: "function";
|
|
11482
|
-
}], "
|
|
11479
|
+
}], "Initiated", undefined>;
|
|
11483
11480
|
poll?: true | undefined | undefined;
|
|
11484
11481
|
}) => import('viem').WatchContractEventReturnType;
|
|
11485
|
-
|
|
11482
|
+
Redeemed: (args: {
|
|
11486
11483
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
11484
|
+
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
11487
11485
|
}, options: {
|
|
11488
11486
|
batch?: boolean | undefined | undefined;
|
|
11489
11487
|
pollingInterval?: number | undefined | undefined;
|
|
@@ -11794,10 +11792,12 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
11794
11792
|
}];
|
|
11795
11793
|
readonly stateMutability: "view";
|
|
11796
11794
|
readonly type: "function";
|
|
11797
|
-
}], "
|
|
11795
|
+
}], "Redeemed", undefined>;
|
|
11798
11796
|
poll?: true | undefined | undefined;
|
|
11799
11797
|
}) => import('viem').WatchContractEventReturnType;
|
|
11800
|
-
|
|
11798
|
+
Refunded: (args: {
|
|
11799
|
+
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
11800
|
+
}, options: {
|
|
11801
11801
|
batch?: boolean | undefined | undefined;
|
|
11802
11802
|
pollingInterval?: number | undefined | undefined;
|
|
11803
11803
|
strict?: boolean | undefined;
|
|
@@ -12107,7 +12107,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
12107
12107
|
}];
|
|
12108
12108
|
readonly stateMutability: "view";
|
|
12109
12109
|
readonly type: "function";
|
|
12110
|
-
}], "
|
|
12110
|
+
}], "Refunded", undefined>;
|
|
12111
12111
|
poll?: true | undefined | undefined;
|
|
12112
12112
|
}) => import('viem').WatchContractEventReturnType;
|
|
12113
12113
|
};
|
|
@@ -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" | "
|
|
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>;
|
|
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";
|
|
@@ -12721,8 +12721,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
12721
12721
|
}];
|
|
12722
12722
|
readonly stateMutability: "view";
|
|
12723
12723
|
readonly type: "function";
|
|
12724
|
-
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
12725
|
-
|
|
12724
|
+
}], "refund", readonly [`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}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
12725
|
+
instantRefund: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
12726
12726
|
readonly inputs: readonly [{
|
|
12727
12727
|
readonly internalType: "address";
|
|
12728
12728
|
readonly name: "token_";
|
|
@@ -13026,8 +13026,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
13026
13026
|
}];
|
|
13027
13027
|
readonly stateMutability: "view";
|
|
13028
13028
|
readonly type: "function";
|
|
13029
|
-
}], "
|
|
13030
|
-
|
|
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>;
|
|
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";
|
|
13033
13033
|
readonly name: "token_";
|
|
@@ -13331,8 +13331,8 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
13331
13331
|
}];
|
|
13332
13332
|
readonly stateMutability: "view";
|
|
13333
13333
|
readonly type: "function";
|
|
13334
|
-
}], "
|
|
13335
|
-
|
|
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>;
|
|
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";
|
|
13338
13338
|
readonly name: "token_";
|
|
@@ -13636,7 +13636,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
13636
13636
|
}];
|
|
13637
13637
|
readonly stateMutability: "view";
|
|
13638
13638
|
readonly type: "function";
|
|
13639
|
-
}], "
|
|
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>;
|
|
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";
|
|
@@ -13952,7 +13952,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
13952
13952
|
secret: `0x${string}`;
|
|
13953
13953
|
}[], readonly {
|
|
13954
13954
|
orderID: `0x${string}`;
|
|
13955
|
-
}[]], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
13955
|
+
}[]], 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 [readonly {
|
|
13956
13956
|
redeemer: `0x${string}`;
|
|
13957
13957
|
expiry: bigint;
|
|
13958
13958
|
amount: bigint;
|
|
@@ -14408,7 +14408,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
14408
14408
|
readonly outputs: readonly [{
|
|
14409
14409
|
readonly type: "bool";
|
|
14410
14410
|
}];
|
|
14411
|
-
}], "symbol", readonly []>, "address" | "
|
|
14411
|
+
}], "symbol", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
14412
14412
|
name: (options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
14413
14413
|
readonly type: "event";
|
|
14414
14414
|
readonly name: "Approval";
|
|
@@ -14543,7 +14543,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
14543
14543
|
readonly outputs: readonly [{
|
|
14544
14544
|
readonly type: "bool";
|
|
14545
14545
|
}];
|
|
14546
|
-
}], "name", readonly []>, "address" | "
|
|
14546
|
+
}], "name", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<string>;
|
|
14547
14547
|
decimals: (options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
14548
14548
|
readonly type: "event";
|
|
14549
14549
|
readonly name: "Approval";
|
|
@@ -14678,7 +14678,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
14678
14678
|
readonly outputs: readonly [{
|
|
14679
14679
|
readonly type: "bool";
|
|
14680
14680
|
}];
|
|
14681
|
-
}], "decimals", readonly []>, "address" | "
|
|
14681
|
+
}], "decimals", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<number>;
|
|
14682
14682
|
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
14683
14683
|
readonly type: "event";
|
|
14684
14684
|
readonly name: "Approval";
|
|
@@ -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" | "
|
|
14816
|
+
}], "allowance", readonly [`0x${string}`, `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";
|
|
@@ -14948,7 +14948,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
14948
14948
|
readonly outputs: readonly [{
|
|
14949
14949
|
readonly type: "bool";
|
|
14950
14950
|
}];
|
|
14951
|
-
}], "totalSupply", readonly []>, "address" | "
|
|
14951
|
+
}], "totalSupply", readonly []>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
14952
14952
|
balanceOf: (args: readonly [`0x${string}`], options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
14953
14953
|
readonly type: "event";
|
|
14954
14954
|
readonly name: "Approval";
|
|
@@ -15083,7 +15083,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
15083
15083
|
readonly outputs: readonly [{
|
|
15084
15084
|
readonly type: "bool";
|
|
15085
15085
|
}];
|
|
15086
|
-
}], "balanceOf", readonly [`0x${string}`]>, "address" | "
|
|
15086
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "abi" | "args" | "functionName">> | undefined) => Promise<bigint>;
|
|
15087
15087
|
};
|
|
15088
15088
|
estimateGas: {
|
|
15089
15089
|
transfer: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
@@ -15220,7 +15220,7 @@ 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" | "
|
|
15223
|
+
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15224
15224
|
approve: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15225
15225
|
readonly type: "event";
|
|
15226
15226
|
readonly name: "Approval";
|
|
@@ -15355,7 +15355,7 @@ 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" | "
|
|
15358
|
+
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15359
15359
|
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15360
15360
|
readonly type: "event";
|
|
15361
15361
|
readonly name: "Approval";
|
|
@@ -15490,7 +15490,7 @@ 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" | "
|
|
15493
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15494
15494
|
} & {
|
|
15495
15495
|
transfer: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15496
15496
|
readonly type: "event";
|
|
@@ -15626,7 +15626,7 @@ 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" | "
|
|
15629
|
+
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15630
15630
|
approve: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15631
15631
|
readonly type: "event";
|
|
15632
15632
|
readonly name: "Approval";
|
|
@@ -15761,7 +15761,7 @@ 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" | "
|
|
15764
|
+
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15765
15765
|
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
15766
15766
|
readonly type: "event";
|
|
15767
15767
|
readonly name: "Approval";
|
|
@@ -15896,7 +15896,7 @@ 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" | "
|
|
15899
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "abi" | "args" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
15900
15900
|
};
|
|
15901
15901
|
simulate: {
|
|
15902
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 [{
|
|
@@ -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" | "
|
|
16036
|
+
}], "transfer", readonly [`0x${string}`, 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 [{
|
|
@@ -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" | "
|
|
16305
|
+
}], "approve", readonly [`0x${string}`, 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 [{
|
|
@@ -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" | "
|
|
16574
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, 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 [{
|
|
@@ -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" | "
|
|
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>;
|
|
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" | "
|
|
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>;
|
|
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" | "
|
|
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>;
|
|
18004
18004
|
};
|
|
18005
18005
|
address: `0x${string}`;
|
|
18006
18006
|
abi: readonly [{
|