@gardenfi/core 2.0.25 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +15 -20
- package/dist/index.js +7912 -9879
- package/dist/src/index.d.ts +2 -2
- package/dist/src/lib/bitcoin/internalKey.d.ts +1 -1
- package/dist/src/lib/constants.d.ts +10 -22
- package/dist/src/lib/evm/htlc/evmHTLC.d.ts +90 -90
- package/dist/src/lib/garden/garden.d.ts +5 -16
- package/dist/src/lib/garden/garden.types.d.ts +18 -11
- package/dist/src/lib/starknet/checkAllowanceAndApprove.d.ts +2 -2
- package/dist/src/lib/starknet/relay/starknetRelay.d.ts +2 -2
- package/dist/src/lib/switchOrAddNetwork.d.ts +2 -0
- package/dist/src/lib/utils.d.ts +2 -2
- package/package.json +3 -4
- package/dist/src/lib/garden/digestKey/digestKey.d.ts +0 -11
|
@@ -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" | "args" | "abi" | "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" | "args" | "abi" | "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" | "args" | "abi" | "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" | "args" | "abi" | "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,7 +1539,7 @@ 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" | "
|
|
1542
|
+
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
1543
1543
|
initiate: (args: readonly [`0x${string}`, bigint, bigint, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
1544
1544
|
readonly inputs: readonly [{
|
|
1545
1545
|
readonly internalType: "address";
|
|
@@ -1844,7 +1844,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
1844
1844
|
}];
|
|
1845
1845
|
readonly stateMutability: "view";
|
|
1846
1846
|
readonly type: "function";
|
|
1847
|
-
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined>, "address" | "
|
|
1847
|
+
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
1848
1848
|
initiateWithSignature: (args: readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
1849
1849
|
readonly inputs: readonly [{
|
|
1850
1850
|
readonly internalType: "address";
|
|
@@ -2149,7 +2149,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
2149
2149
|
}];
|
|
2150
2150
|
readonly stateMutability: "view";
|
|
2151
2151
|
readonly type: "function";
|
|
2152
|
-
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "
|
|
2152
|
+
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
2153
2153
|
instantRefund: (args: readonly [`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";
|
|
@@ -2454,7 +2454,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
2454
2454
|
}];
|
|
2455
2455
|
readonly stateMutability: "view";
|
|
2456
2456
|
readonly type: "function";
|
|
2457
|
-
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "
|
|
2457
|
+
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "args" | "abi" | "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" | "args" | "abi" | "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" | "args" | "abi" | "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,7 +3392,7 @@ 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" | "
|
|
3395
|
+
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
3396
3396
|
initiate: (args: readonly [`0x${string}`, bigint, bigint, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
3397
3397
|
readonly inputs: readonly [{
|
|
3398
3398
|
readonly internalType: "address";
|
|
@@ -3697,7 +3697,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
3697
3697
|
}];
|
|
3698
3698
|
readonly stateMutability: "view";
|
|
3699
3699
|
readonly type: "function";
|
|
3700
|
-
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined>, "address" | "
|
|
3700
|
+
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
3701
3701
|
initiateWithSignature: (args: readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
3702
3702
|
readonly inputs: readonly [{
|
|
3703
3703
|
readonly internalType: "address";
|
|
@@ -4002,7 +4002,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
4002
4002
|
}];
|
|
4003
4003
|
readonly stateMutability: "view";
|
|
4004
4004
|
readonly type: "function";
|
|
4005
|
-
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "
|
|
4005
|
+
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
4006
4006
|
instantRefund: (args: readonly [`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";
|
|
@@ -4307,7 +4307,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
4307
4307
|
}];
|
|
4308
4308
|
readonly stateMutability: "view";
|
|
4309
4309
|
readonly type: "function";
|
|
4310
|
-
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "
|
|
4310
|
+
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined>, "address" | "args" | "abi" | "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" | "args" | "abi" | "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" | "args" | "abi" | "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" | "args" | "abi" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
5554
5554
|
readonly inputs: readonly [{
|
|
5555
5555
|
readonly internalType: "address";
|
|
5556
5556
|
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
|
-
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "
|
|
6162
|
+
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
6163
6163
|
readonly inputs: readonly [{
|
|
6164
6164
|
readonly internalType: "address";
|
|
6165
6165
|
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
|
-
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "
|
|
6771
|
+
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
6772
6772
|
readonly inputs: readonly [{
|
|
6773
6773
|
readonly internalType: "address";
|
|
6774
6774
|
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
|
-
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "
|
|
7380
|
+
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
7381
7381
|
readonly inputs: readonly [{
|
|
7382
7382
|
readonly internalType: "address";
|
|
7383
7383
|
readonly name: "token_";
|
|
@@ -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" | "args" | "abi" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
8012
8012
|
readonly inputs: readonly [{
|
|
8013
8013
|
readonly internalType: "address";
|
|
8014
8014
|
readonly name: "token_";
|
|
@@ -9604,7 +9604,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
9604
9604
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9605
9605
|
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9606
9606
|
} | undefined, options?: {
|
|
9607
|
-
blockHash?:
|
|
9607
|
+
blockHash?: `0x${string}` | undefined;
|
|
9608
9608
|
strict?: boolean | undefined;
|
|
9609
9609
|
fromBlock?: bigint | import('viem').BlockTag | undefined;
|
|
9610
9610
|
toBlock?: bigint | import('viem').BlockTag | undefined;
|
|
@@ -9917,7 +9917,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
9917
9917
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9918
9918
|
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
9919
9919
|
} | undefined, options?: {
|
|
9920
|
-
blockHash?:
|
|
9920
|
+
blockHash?: `0x${string}` | undefined;
|
|
9921
9921
|
strict?: boolean | undefined;
|
|
9922
9922
|
fromBlock?: bigint | import('viem').BlockTag | undefined;
|
|
9923
9923
|
toBlock?: bigint | import('viem').BlockTag | undefined;
|
|
@@ -10229,7 +10229,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
10229
10229
|
Refunded: (args?: {
|
|
10230
10230
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10231
10231
|
} | undefined, options?: {
|
|
10232
|
-
blockHash?:
|
|
10232
|
+
blockHash?: `0x${string}` | undefined;
|
|
10233
10233
|
strict?: boolean | undefined;
|
|
10234
10234
|
fromBlock?: bigint | import('viem').BlockTag | undefined;
|
|
10235
10235
|
toBlock?: bigint | import('viem').BlockTag | undefined;
|
|
@@ -10539,7 +10539,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
10539
10539
|
readonly type: "function";
|
|
10540
10540
|
}], "Refunded">>;
|
|
10541
10541
|
EIP712DomainChanged: (options?: {
|
|
10542
|
-
blockHash?:
|
|
10542
|
+
blockHash?: `0x${string}` | undefined;
|
|
10543
10543
|
strict?: boolean | undefined;
|
|
10544
10544
|
fromBlock?: bigint | import('viem').BlockTag | undefined;
|
|
10545
10545
|
toBlock?: bigint | import('viem').BlockTag | undefined;
|
|
@@ -10854,11 +10854,11 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
10854
10854
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10855
10855
|
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
10856
10856
|
}, options: {
|
|
10857
|
-
batch?: boolean | undefined;
|
|
10858
|
-
pollingInterval?: number | undefined;
|
|
10857
|
+
batch?: boolean | undefined | undefined;
|
|
10858
|
+
pollingInterval?: number | undefined | undefined;
|
|
10859
10859
|
strict?: boolean | undefined;
|
|
10860
|
-
fromBlock?:
|
|
10861
|
-
onError?: ((error: Error) => void) | undefined;
|
|
10860
|
+
fromBlock?: bigint | undefined;
|
|
10861
|
+
onError?: ((error: Error) => void) | undefined | undefined;
|
|
10862
10862
|
onLogs: import('viem').WatchContractEventOnLogsFn<readonly [{
|
|
10863
10863
|
readonly inputs: readonly [{
|
|
10864
10864
|
readonly internalType: "address";
|
|
@@ -11164,17 +11164,17 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
11164
11164
|
readonly stateMutability: "view";
|
|
11165
11165
|
readonly type: "function";
|
|
11166
11166
|
}], "Initiated", undefined>;
|
|
11167
|
-
poll?: true | undefined;
|
|
11167
|
+
poll?: true | undefined | undefined;
|
|
11168
11168
|
}) => import('viem').WatchContractEventReturnType;
|
|
11169
11169
|
Redeemed: (args: {
|
|
11170
11170
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
11171
11171
|
secretHash?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
11172
11172
|
}, options: {
|
|
11173
|
-
batch?: boolean | undefined;
|
|
11174
|
-
pollingInterval?: number | undefined;
|
|
11173
|
+
batch?: boolean | undefined | undefined;
|
|
11174
|
+
pollingInterval?: number | undefined | undefined;
|
|
11175
11175
|
strict?: boolean | undefined;
|
|
11176
|
-
fromBlock?:
|
|
11177
|
-
onError?: ((error: Error) => void) | undefined;
|
|
11176
|
+
fromBlock?: bigint | undefined;
|
|
11177
|
+
onError?: ((error: Error) => void) | undefined | undefined;
|
|
11178
11178
|
onLogs: import('viem').WatchContractEventOnLogsFn<readonly [{
|
|
11179
11179
|
readonly inputs: readonly [{
|
|
11180
11180
|
readonly internalType: "address";
|
|
@@ -11480,16 +11480,16 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
11480
11480
|
readonly stateMutability: "view";
|
|
11481
11481
|
readonly type: "function";
|
|
11482
11482
|
}], "Redeemed", undefined>;
|
|
11483
|
-
poll?: true | undefined;
|
|
11483
|
+
poll?: true | undefined | undefined;
|
|
11484
11484
|
}) => import('viem').WatchContractEventReturnType;
|
|
11485
11485
|
Refunded: (args: {
|
|
11486
11486
|
orderID?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
11487
11487
|
}, options: {
|
|
11488
|
-
batch?: boolean | undefined;
|
|
11489
|
-
pollingInterval?: number | undefined;
|
|
11488
|
+
batch?: boolean | undefined | undefined;
|
|
11489
|
+
pollingInterval?: number | undefined | undefined;
|
|
11490
11490
|
strict?: boolean | undefined;
|
|
11491
|
-
fromBlock?:
|
|
11492
|
-
onError?: ((error: Error) => void) | undefined;
|
|
11491
|
+
fromBlock?: bigint | undefined;
|
|
11492
|
+
onError?: ((error: Error) => void) | undefined | undefined;
|
|
11493
11493
|
onLogs: import('viem').WatchContractEventOnLogsFn<readonly [{
|
|
11494
11494
|
readonly inputs: readonly [{
|
|
11495
11495
|
readonly internalType: "address";
|
|
@@ -11795,14 +11795,14 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
11795
11795
|
readonly stateMutability: "view";
|
|
11796
11796
|
readonly type: "function";
|
|
11797
11797
|
}], "Refunded", undefined>;
|
|
11798
|
-
poll?: true | undefined;
|
|
11798
|
+
poll?: true | undefined | undefined;
|
|
11799
11799
|
}) => import('viem').WatchContractEventReturnType;
|
|
11800
11800
|
EIP712DomainChanged: (options: {
|
|
11801
|
-
batch?: boolean | undefined;
|
|
11802
|
-
pollingInterval?: number | undefined;
|
|
11801
|
+
batch?: boolean | undefined | undefined;
|
|
11802
|
+
pollingInterval?: number | undefined | undefined;
|
|
11803
11803
|
strict?: boolean | undefined;
|
|
11804
|
-
fromBlock?:
|
|
11805
|
-
onError?: ((error: Error) => void) | undefined;
|
|
11804
|
+
fromBlock?: bigint | undefined;
|
|
11805
|
+
onError?: ((error: Error) => void) | undefined | undefined;
|
|
11806
11806
|
onLogs: import('viem').WatchContractEventOnLogsFn<readonly [{
|
|
11807
11807
|
readonly inputs: readonly [{
|
|
11808
11808
|
readonly internalType: "address";
|
|
@@ -12108,7 +12108,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
12108
12108
|
readonly stateMutability: "view";
|
|
12109
12109
|
readonly type: "function";
|
|
12110
12110
|
}], "EIP712DomainChanged", undefined>;
|
|
12111
|
-
poll?: true | undefined;
|
|
12111
|
+
poll?: true | undefined | undefined;
|
|
12112
12112
|
}) => import('viem').WatchContractEventReturnType;
|
|
12113
12113
|
};
|
|
12114
12114
|
write: {
|
|
@@ -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" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
12420
12420
|
readonly inputs: readonly [{
|
|
12421
12421
|
readonly internalType: "address";
|
|
12422
12422
|
readonly name: "token_";
|
|
@@ -12720,7 +12720,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
12720
12720
|
}];
|
|
12721
12721
|
readonly stateMutability: "view";
|
|
12722
12722
|
readonly type: "function";
|
|
12723
|
-
}], "redeem", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
12723
|
+
}], "redeem", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
12724
12724
|
refund: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
12725
12725
|
readonly inputs: readonly [{
|
|
12726
12726
|
readonly internalType: "address";
|
|
@@ -13025,7 +13025,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
13025
13025
|
}];
|
|
13026
13026
|
readonly stateMutability: "view";
|
|
13027
13027
|
readonly type: "function";
|
|
13028
|
-
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
13028
|
+
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
13029
13029
|
readonly inputs: readonly [{
|
|
13030
13030
|
readonly internalType: "address";
|
|
13031
13031
|
readonly name: "token_";
|
|
@@ -13329,7 +13329,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
13329
13329
|
}];
|
|
13330
13330
|
readonly stateMutability: "view";
|
|
13331
13331
|
readonly type: "function";
|
|
13332
|
-
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
13332
|
+
}], "refund", readonly [`0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName">[K]; } : never>(args: readonly [`0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
13333
13333
|
initiate: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
13334
13334
|
readonly inputs: readonly [{
|
|
13335
13335
|
readonly internalType: "address";
|
|
@@ -13634,7 +13634,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
13634
13634
|
}];
|
|
13635
13635
|
readonly stateMutability: "view";
|
|
13636
13636
|
readonly type: "function";
|
|
13637
|
-
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
13637
|
+
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
13638
13638
|
readonly inputs: readonly [{
|
|
13639
13639
|
readonly internalType: "address";
|
|
13640
13640
|
readonly name: "token_";
|
|
@@ -13938,7 +13938,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
13938
13938
|
}];
|
|
13939
13939
|
readonly stateMutability: "view";
|
|
13940
13940
|
readonly type: "function";
|
|
13941
|
-
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
13941
|
+
}], "initiate", readonly [`0x${string}`, bigint, bigint, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint, bigint, `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
13942
13942
|
initiateWithSignature: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
13943
13943
|
readonly inputs: readonly [{
|
|
13944
13944
|
readonly internalType: "address";
|
|
@@ -14243,7 +14243,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
14243
14243
|
}];
|
|
14244
14244
|
readonly stateMutability: "view";
|
|
14245
14245
|
readonly type: "function";
|
|
14246
|
-
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
14246
|
+
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
14247
14247
|
readonly inputs: readonly [{
|
|
14248
14248
|
readonly internalType: "address";
|
|
14249
14249
|
readonly name: "token_";
|
|
@@ -14547,7 +14547,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
14547
14547
|
}];
|
|
14548
14548
|
readonly stateMutability: "view";
|
|
14549
14549
|
readonly type: "function";
|
|
14550
|
-
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
14550
|
+
}], "initiateWithSignature", readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint, bigint, `0x${string}`, `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
14551
14551
|
instantRefund: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
14552
14552
|
readonly inputs: readonly [{
|
|
14553
14553
|
readonly internalType: "address";
|
|
@@ -14852,7 +14852,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
14852
14852
|
}];
|
|
14853
14853
|
readonly stateMutability: "view";
|
|
14854
14854
|
readonly type: "function";
|
|
14855
|
-
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
14855
|
+
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
14856
14856
|
readonly inputs: readonly [{
|
|
14857
14857
|
readonly internalType: "address";
|
|
14858
14858
|
readonly name: "token_";
|
|
@@ -15156,7 +15156,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
15156
15156
|
}];
|
|
15157
15157
|
readonly stateMutability: "view";
|
|
15158
15158
|
readonly type: "function";
|
|
15159
|
-
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
15159
|
+
}], "instantRefund", readonly [`0x${string}`, `0x${string}`], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
15160
15160
|
multicall: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
15161
15161
|
readonly inputs: readonly [{
|
|
15162
15162
|
readonly internalType: "address";
|
|
@@ -15472,7 +15472,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
15472
15472
|
secret: `0x${string}`;
|
|
15473
15473
|
}[], readonly {
|
|
15474
15474
|
orderID: `0x${string}`;
|
|
15475
|
-
}[]], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
15475
|
+
}[]], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
15476
15476
|
readonly inputs: readonly [{
|
|
15477
15477
|
readonly internalType: "address";
|
|
15478
15478
|
readonly name: "token_";
|
|
@@ -15787,7 +15787,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
15787
15787
|
secret: `0x${string}`;
|
|
15788
15788
|
}[], readonly {
|
|
15789
15789
|
orderID: `0x${string}`;
|
|
15790
|
-
}[]], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
15790
|
+
}[]], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName">[K]; } : never>(args: readonly [readonly {
|
|
15791
15791
|
redeemer: `0x${string}`;
|
|
15792
15792
|
expiry: bigint;
|
|
15793
15793
|
amount: bigint;
|
|
@@ -16243,7 +16243,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16243
16243
|
readonly outputs: readonly [{
|
|
16244
16244
|
readonly type: "bool";
|
|
16245
16245
|
}];
|
|
16246
|
-
}], "symbol", readonly []>, "address" | "
|
|
16246
|
+
}], "symbol", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<string>;
|
|
16247
16247
|
name: (options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
16248
16248
|
readonly type: "event";
|
|
16249
16249
|
readonly name: "Approval";
|
|
@@ -16378,7 +16378,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16378
16378
|
readonly outputs: readonly [{
|
|
16379
16379
|
readonly type: "bool";
|
|
16380
16380
|
}];
|
|
16381
|
-
}], "name", readonly []>, "address" | "
|
|
16381
|
+
}], "name", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<string>;
|
|
16382
16382
|
decimals: (options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
16383
16383
|
readonly type: "event";
|
|
16384
16384
|
readonly name: "Approval";
|
|
@@ -16513,7 +16513,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16513
16513
|
readonly outputs: readonly [{
|
|
16514
16514
|
readonly type: "bool";
|
|
16515
16515
|
}];
|
|
16516
|
-
}], "decimals", readonly []>, "address" | "
|
|
16516
|
+
}], "decimals", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<number>;
|
|
16517
16517
|
allowance: (args: readonly [`0x${string}`, `0x${string}`], options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
16518
16518
|
readonly type: "event";
|
|
16519
16519
|
readonly name: "Approval";
|
|
@@ -16648,7 +16648,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16648
16648
|
readonly outputs: readonly [{
|
|
16649
16649
|
readonly type: "bool";
|
|
16650
16650
|
}];
|
|
16651
|
-
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "
|
|
16651
|
+
}], "allowance", readonly [`0x${string}`, `0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
16652
16652
|
totalSupply: (options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
16653
16653
|
readonly type: "event";
|
|
16654
16654
|
readonly name: "Approval";
|
|
@@ -16783,7 +16783,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16783
16783
|
readonly outputs: readonly [{
|
|
16784
16784
|
readonly type: "bool";
|
|
16785
16785
|
}];
|
|
16786
|
-
}], "totalSupply", readonly []>, "address" | "
|
|
16786
|
+
}], "totalSupply", readonly []>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
16787
16787
|
balanceOf: (args: readonly [`0x${string}`], options?: import('viem').Prettify<import('viem').UnionOmit<import('viem').ReadContractParameters<readonly [{
|
|
16788
16788
|
readonly type: "event";
|
|
16789
16789
|
readonly name: "Approval";
|
|
@@ -16918,7 +16918,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
16918
16918
|
readonly outputs: readonly [{
|
|
16919
16919
|
readonly type: "bool";
|
|
16920
16920
|
}];
|
|
16921
|
-
}], "balanceOf", readonly [`0x${string}`]>, "address" | "
|
|
16921
|
+
}], "balanceOf", readonly [`0x${string}`]>, "address" | "args" | "abi" | "functionName">> | undefined) => Promise<bigint>;
|
|
16922
16922
|
};
|
|
16923
16923
|
estimateGas: {
|
|
16924
16924
|
transfer: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
@@ -17055,7 +17055,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
17055
17055
|
readonly outputs: readonly [{
|
|
17056
17056
|
readonly type: "bool";
|
|
17057
17057
|
}];
|
|
17058
|
-
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "
|
|
17058
|
+
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
17059
17059
|
approve: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
17060
17060
|
readonly type: "event";
|
|
17061
17061
|
readonly name: "Approval";
|
|
@@ -17190,7 +17190,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
17190
17190
|
readonly outputs: readonly [{
|
|
17191
17191
|
readonly type: "bool";
|
|
17192
17192
|
}];
|
|
17193
|
-
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "
|
|
17193
|
+
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
17194
17194
|
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
17195
17195
|
readonly type: "event";
|
|
17196
17196
|
readonly name: "Approval";
|
|
@@ -17325,7 +17325,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
17325
17325
|
readonly outputs: readonly [{
|
|
17326
17326
|
readonly type: "bool";
|
|
17327
17327
|
}];
|
|
17328
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "
|
|
17328
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
17329
17329
|
} & {
|
|
17330
17330
|
transfer: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
17331
17331
|
readonly type: "event";
|
|
@@ -17461,7 +17461,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
17461
17461
|
readonly outputs: readonly [{
|
|
17462
17462
|
readonly type: "bool";
|
|
17463
17463
|
}];
|
|
17464
|
-
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "
|
|
17464
|
+
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
17465
17465
|
approve: (args: readonly [`0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
17466
17466
|
readonly type: "event";
|
|
17467
17467
|
readonly name: "Approval";
|
|
@@ -17596,7 +17596,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
17596
17596
|
readonly outputs: readonly [{
|
|
17597
17597
|
readonly type: "bool";
|
|
17598
17598
|
}];
|
|
17599
|
-
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "
|
|
17599
|
+
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
17600
17600
|
transferFrom: (args: readonly [`0x${string}`, `0x${string}`, bigint], options: import('viem').Prettify<import('viem').UnionOmit<import('viem').EstimateContractGasParameters<readonly [{
|
|
17601
17601
|
readonly type: "event";
|
|
17602
17602
|
readonly name: "Approval";
|
|
@@ -17731,7 +17731,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
17731
17731
|
readonly outputs: readonly [{
|
|
17732
17732
|
readonly type: "bool";
|
|
17733
17733
|
}];
|
|
17734
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "
|
|
17734
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined>, "address" | "args" | "abi" | "functionName">>) => Promise<import('viem').EstimateContractGasReturnType>;
|
|
17735
17735
|
};
|
|
17736
17736
|
simulate: {
|
|
17737
17737
|
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 [{
|
|
@@ -17868,7 +17868,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
17868
17868
|
readonly outputs: readonly [{
|
|
17869
17869
|
readonly type: "bool";
|
|
17870
17870
|
}];
|
|
17871
|
-
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "
|
|
17871
|
+
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
17872
17872
|
readonly type: "event";
|
|
17873
17873
|
readonly name: "Approval";
|
|
17874
17874
|
readonly inputs: readonly [{
|
|
@@ -18137,7 +18137,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
18137
18137
|
readonly outputs: readonly [{
|
|
18138
18138
|
readonly type: "bool";
|
|
18139
18139
|
}];
|
|
18140
|
-
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "
|
|
18140
|
+
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
18141
18141
|
readonly type: "event";
|
|
18142
18142
|
readonly name: "Approval";
|
|
18143
18143
|
readonly inputs: readonly [{
|
|
@@ -18406,7 +18406,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
18406
18406
|
readonly outputs: readonly [{
|
|
18407
18407
|
readonly type: "bool";
|
|
18408
18408
|
}];
|
|
18409
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "
|
|
18409
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined, chainOverride, accountOverride>, "address" | "args" | "abi" | "functionName"> | undefined) => Promise<import('viem').SimulateContractReturnType<readonly [{
|
|
18410
18410
|
readonly type: "event";
|
|
18411
18411
|
readonly name: "Approval";
|
|
18412
18412
|
readonly inputs: readonly [{
|
|
@@ -18853,7 +18853,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
18853
18853
|
from?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
18854
18854
|
to?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
18855
18855
|
} | undefined, options?: {
|
|
18856
|
-
blockHash?:
|
|
18856
|
+
blockHash?: `0x${string}` | undefined;
|
|
18857
18857
|
strict?: boolean | undefined;
|
|
18858
18858
|
fromBlock?: bigint | import('viem').BlockTag | undefined;
|
|
18859
18859
|
toBlock?: bigint | import('viem').BlockTag | undefined;
|
|
@@ -18996,7 +18996,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
18996
18996
|
owner?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
18997
18997
|
spender?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
18998
18998
|
} | undefined, options?: {
|
|
18999
|
-
blockHash?:
|
|
18999
|
+
blockHash?: `0x${string}` | undefined;
|
|
19000
19000
|
strict?: boolean | undefined;
|
|
19001
19001
|
fromBlock?: bigint | import('viem').BlockTag | undefined;
|
|
19002
19002
|
toBlock?: bigint | import('viem').BlockTag | undefined;
|
|
@@ -19141,11 +19141,11 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
19141
19141
|
from?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
19142
19142
|
to?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
19143
19143
|
}, options: {
|
|
19144
|
-
batch?: boolean | undefined;
|
|
19145
|
-
pollingInterval?: number | undefined;
|
|
19144
|
+
batch?: boolean | undefined | undefined;
|
|
19145
|
+
pollingInterval?: number | undefined | undefined;
|
|
19146
19146
|
strict?: boolean | undefined;
|
|
19147
|
-
fromBlock?:
|
|
19148
|
-
onError?: ((error: Error) => void) | undefined;
|
|
19147
|
+
fromBlock?: bigint | undefined;
|
|
19148
|
+
onError?: ((error: Error) => void) | undefined | undefined;
|
|
19149
19149
|
onLogs: import('viem').WatchContractEventOnLogsFn<readonly [{
|
|
19150
19150
|
readonly type: "event";
|
|
19151
19151
|
readonly name: "Approval";
|
|
@@ -19281,17 +19281,17 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
19281
19281
|
readonly type: "bool";
|
|
19282
19282
|
}];
|
|
19283
19283
|
}], "Transfer", undefined>;
|
|
19284
|
-
poll?: true | undefined;
|
|
19284
|
+
poll?: true | undefined | undefined;
|
|
19285
19285
|
}) => import('viem').WatchContractEventReturnType;
|
|
19286
19286
|
Approval: (args: {
|
|
19287
19287
|
owner?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
19288
19288
|
spender?: `0x${string}` | `0x${string}`[] | null | undefined;
|
|
19289
19289
|
}, options: {
|
|
19290
|
-
batch?: boolean | undefined;
|
|
19291
|
-
pollingInterval?: number | undefined;
|
|
19290
|
+
batch?: boolean | undefined | undefined;
|
|
19291
|
+
pollingInterval?: number | undefined | undefined;
|
|
19292
19292
|
strict?: boolean | undefined;
|
|
19293
|
-
fromBlock?:
|
|
19294
|
-
onError?: ((error: Error) => void) | undefined;
|
|
19293
|
+
fromBlock?: bigint | undefined;
|
|
19294
|
+
onError?: ((error: Error) => void) | undefined | undefined;
|
|
19295
19295
|
onLogs: import('viem').WatchContractEventOnLogsFn<readonly [{
|
|
19296
19296
|
readonly type: "event";
|
|
19297
19297
|
readonly name: "Approval";
|
|
@@ -19427,7 +19427,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
19427
19427
|
readonly type: "bool";
|
|
19428
19428
|
}];
|
|
19429
19429
|
}], "Approval", undefined>;
|
|
19430
|
-
poll?: true | undefined;
|
|
19430
|
+
poll?: true | undefined | undefined;
|
|
19431
19431
|
}) => import('viem').WatchContractEventReturnType;
|
|
19432
19432
|
};
|
|
19433
19433
|
write: {
|
|
@@ -19565,7 +19565,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
19565
19565
|
readonly outputs: readonly [{
|
|
19566
19566
|
readonly type: "bool";
|
|
19567
19567
|
}];
|
|
19568
|
-
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
19568
|
+
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
19569
19569
|
readonly type: "event";
|
|
19570
19570
|
readonly name: "Approval";
|
|
19571
19571
|
readonly inputs: readonly [{
|
|
@@ -19699,7 +19699,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
19699
19699
|
readonly outputs: readonly [{
|
|
19700
19700
|
readonly type: "bool";
|
|
19701
19701
|
}];
|
|
19702
|
-
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
19702
|
+
}], "transfer", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
19703
19703
|
approve: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
19704
19704
|
readonly type: "event";
|
|
19705
19705
|
readonly name: "Approval";
|
|
@@ -19834,7 +19834,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
19834
19834
|
readonly outputs: readonly [{
|
|
19835
19835
|
readonly type: "bool";
|
|
19836
19836
|
}];
|
|
19837
|
-
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
19837
|
+
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
19838
19838
|
readonly type: "event";
|
|
19839
19839
|
readonly name: "Approval";
|
|
19840
19840
|
readonly inputs: readonly [{
|
|
@@ -19968,7 +19968,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
19968
19968
|
readonly outputs: readonly [{
|
|
19969
19969
|
readonly type: "bool";
|
|
19970
19970
|
}];
|
|
19971
|
-
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
19971
|
+
}], "approve", readonly [`0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
19972
19972
|
transferFrom: <chainOverride extends import('viem').Chain | undefined, options extends import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
19973
19973
|
readonly type: "event";
|
|
19974
19974
|
readonly name: "Approval";
|
|
@@ -20103,7 +20103,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
20103
20103
|
readonly outputs: readonly [{
|
|
20104
20104
|
readonly type: "bool";
|
|
20105
20105
|
}];
|
|
20106
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
20106
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName"> extends infer T ? { [K in keyof T]: import('viem').UnionOmit<import('viem').WriteContractParameters<readonly [{
|
|
20107
20107
|
readonly type: "event";
|
|
20108
20108
|
readonly name: "Approval";
|
|
20109
20109
|
readonly inputs: readonly [{
|
|
@@ -20237,7 +20237,7 @@ export declare class EVMHTLC implements IHTLCWallet {
|
|
|
20237
20237
|
readonly outputs: readonly [{
|
|
20238
20238
|
readonly type: "bool";
|
|
20239
20239
|
}];
|
|
20240
|
-
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "
|
|
20240
|
+
}], "transferFrom", readonly [`0x${string}`, `0x${string}`, bigint], import('viem').Chain | undefined, import('viem').Account | undefined, chainOverride>, "address" | "args" | "abi" | "functionName">[K]; } : never>(args: readonly [`0x${string}`, `0x${string}`, bigint], options: options) => Promise<import('viem').WriteContractReturnType>;
|
|
20241
20241
|
};
|
|
20242
20242
|
address: `0x${string}`;
|
|
20243
20243
|
abi: readonly [{
|