@dodoex/dodo-contract-request 1.6.0-alpha.3 → 1.6.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/CHANGELOG.md +0 -27
- package/dist/types/contract/BuyoutModel.d.ts +12 -12
- package/dist/types/contract/CP.d.ts +80 -68
- package/dist/types/contract/CrowdPoolingFactory.d.ts +44 -38
- package/dist/types/contract/CustomERC20.d.ts +22 -22
- package/dist/types/contract/CustomMintableERC20.d.ts +22 -22
- package/dist/types/contract/D3Proxy.d.ts +8 -8
- package/dist/types/contract/D3Vault.d.ts +174 -96
- package/dist/types/contract/DODOApprove.d.ts +12 -12
- package/dist/types/contract/DODOApproveProxy.d.ts +14 -14
- package/dist/types/contract/DODOCalleeHelper.d.ts +2 -2
- package/dist/types/contract/DODOCirculationHelper.d.ts +14 -14
- package/dist/types/contract/DODOCpProxy.d.ts +6 -6
- package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +6 -6
- package/dist/types/contract/DODODppProxy.d.ts +6 -6
- package/dist/types/contract/DODODspProxy.d.ts +8 -8
- package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +6 -6
- package/dist/types/contract/DODOIncentive.d.ts +34 -22
- package/dist/types/contract/DODOMineV2Factory.d.ts +14 -14
- package/dist/types/contract/DODOMineV3Proxy.d.ts +12 -12
- package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +12 -12
- package/dist/types/contract/DODOMineV3Registry.d.ts +12 -12
- package/dist/types/contract/DODONFT.d.ts +28 -28
- package/dist/types/contract/DODONFT1155.d.ts +16 -16
- package/dist/types/contract/DODONFTApprove.d.ts +12 -12
- package/dist/types/contract/DODONFTPoolProxy.d.ts +20 -20
- package/dist/types/contract/DODONFTProxy.d.ts +24 -24
- package/dist/types/contract/DODONFTRegistry.d.ts +20 -14
- package/dist/types/contract/DODONFTRouteHelper.d.ts +4 -4
- package/dist/types/contract/DODOSellHelper.d.ts +4 -4
- package/dist/types/contract/DODOStarterProxy.d.ts +4 -4
- package/dist/types/contract/DODOV1.d.ts +84 -78
- package/dist/types/contract/DODOV1Adapter.d.ts +2 -2
- package/dist/types/contract/DODOV1PmmHelper.d.ts +2 -2
- package/dist/types/contract/DODOV1Proxy.d.ts +2 -2
- package/dist/types/contract/DODOV2Proxy02.d.ts +26 -26
- package/dist/types/contract/DODOV2RouteHelper.d.ts +8 -8
- package/dist/types/contract/DPPAdvanced.d.ts +118 -54
- package/dist/types/contract/DPPAdvancedAdmin.d.ts +14 -14
- package/dist/types/contract/DPPFactory.d.ts +34 -28
- package/dist/types/contract/DSP.d.ts +134 -70
- package/dist/types/contract/DSPFactory.d.ts +28 -22
- package/dist/types/contract/DVM.d.ts +120 -64
- package/dist/types/contract/DVMFactory.d.ts +28 -22
- package/dist/types/contract/ERC20.d.ts +12 -12
- package/dist/types/contract/ERC20Helper.d.ts +46 -8
- package/dist/types/contract/ERC20MineV3.d.ts +46 -26
- package/dist/types/contract/ERC20V3Factory.d.ts +30 -22
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +38 -20
- package/dist/types/contract/FeeRateModel.d.ts +8 -8
- package/dist/types/contract/GSP.d.ts +152 -82
- package/dist/types/contract/GSPFactory.d.ts +26 -20
- package/dist/types/contract/InitializableERC20.d.ts +14 -14
- package/dist/types/contract/LimitOrder.d.ts +20 -20
- package/dist/types/contract/LimitOrderBot.d.ts +12 -12
- package/dist/types/contract/MulticallWithValid.d.ts +14 -14
- package/dist/types/contract/PermissionManager.d.ts +8 -8
- package/dist/types/contract/UniswapV2Factory.d.ts +10 -10
- package/dist/types/contract/UniswapV2Pair.d.ts +46 -38
- package/dist/types/contract/UniswapV2Router02.d.ts +14 -14
- package/dist/types/contract/dodoTeam.d.ts +34 -28
- package/dist/types/contract/vDODOToken.d.ts +84 -60
- package/package.json +2 -2
- package/src/contract/BuyoutModel.ts +6 -6
- package/src/contract/CP.ts +40 -34
- package/src/contract/CrowdPoolingFactory.ts +22 -19
- package/src/contract/CustomERC20.ts +11 -11
- package/src/contract/CustomMintableERC20.ts +11 -11
- package/src/contract/D3Proxy.ts +4 -4
- package/src/contract/D3Vault.ts +87 -48
- package/src/contract/DODOApprove.ts +6 -6
- package/src/contract/DODOApproveProxy.ts +7 -7
- package/src/contract/DODOCalleeHelper.ts +1 -1
- package/src/contract/DODOCirculationHelper.ts +7 -7
- package/src/contract/DODOCpProxy.ts +3 -3
- package/src/contract/DODOCpProxyWithoutGlobalQuota.ts +3 -3
- package/src/contract/DODODppProxy.ts +3 -3
- package/src/contract/DODODspProxy.ts +4 -4
- package/src/contract/DODODspProxyWithoutGSP.ts +3 -3
- package/src/contract/DODOIncentive.ts +17 -11
- package/src/contract/DODOMineV2Factory.ts +7 -7
- package/src/contract/DODOMineV3Proxy.ts +6 -6
- package/src/contract/DODOMineV3ProxyWithoutPlatform.ts +6 -6
- package/src/contract/DODOMineV3Registry.ts +6 -6
- package/src/contract/DODONFT.ts +14 -14
- package/src/contract/DODONFT1155.ts +8 -8
- package/src/contract/DODONFTApprove.ts +6 -6
- package/src/contract/DODONFTPoolProxy.ts +10 -10
- package/src/contract/DODONFTProxy.ts +12 -12
- package/src/contract/DODONFTRegistry.ts +10 -7
- package/src/contract/DODONFTRouteHelper.ts +2 -2
- package/src/contract/DODOSellHelper.ts +2 -2
- package/src/contract/DODOStarterProxy.ts +2 -2
- package/src/contract/DODOV1.ts +42 -39
- package/src/contract/DODOV1Adapter.ts +1 -1
- package/src/contract/DODOV1PmmHelper.ts +1 -1
- package/src/contract/DODOV1Proxy.ts +1 -1
- package/src/contract/DODOV2Proxy02.ts +13 -13
- package/src/contract/DODOV2RouteHelper.ts +4 -4
- package/src/contract/DPPAdvanced.ts +51 -27
- package/src/contract/DPPAdvancedAdmin.ts +7 -7
- package/src/contract/DPPFactory.ts +17 -14
- package/src/contract/DSP.ts +59 -35
- package/src/contract/DSPFactory.ts +14 -11
- package/src/contract/DVM.ts +52 -32
- package/src/contract/DVMFactory.ts +14 -11
- package/src/contract/ERC20.ts +6 -6
- package/src/contract/ERC20Helper.ts +23 -4
- package/src/contract/ERC20MineV3.ts +23 -13
- package/src/contract/ERC20V3Factory.ts +15 -11
- package/src/contract/FeeRateDIP3Impl.ts +19 -10
- package/src/contract/FeeRateModel.ts +4 -4
- package/src/contract/GSP.ts +68 -41
- package/src/contract/GSPFactory.ts +13 -10
- package/src/contract/InitializableERC20.ts +7 -7
- package/src/contract/LimitOrder.ts +10 -10
- package/src/contract/LimitOrderBot.ts +6 -6
- package/src/contract/MulticallWithValid.ts +7 -7
- package/src/contract/PermissionManager.ts +4 -4
- package/src/contract/UniswapV2Factory.ts +5 -5
- package/src/contract/UniswapV2Pair.ts +23 -19
- package/src/contract/UniswapV2Router02.ts +7 -7
- package/src/contract/dodoTeam.ts +17 -14
- package/src/contract/vDODOToken.ts +42 -30
|
@@ -5,44 +5,44 @@ export declare function getUniswapV2FactoryContractAddressByChainId(chainId: num
|
|
|
5
5
|
* @param {number} __input1 - uint256
|
|
6
6
|
* @returns {string} __output0 - address
|
|
7
7
|
*/
|
|
8
|
-
export declare function fetchUniswapV2FactoryAllPairs(chainId: number, __input1: number):
|
|
8
|
+
export declare function fetchUniswapV2FactoryAllPairs(chainId: number, __input1: number): Promise<string>;
|
|
9
9
|
export declare function getFetchUniswapV2FactoryAllPairsQueryOptions(chainId: number | undefined, __input1: number | undefined): {
|
|
10
10
|
queryKey: (string | number | undefined)[];
|
|
11
11
|
enabled: boolean;
|
|
12
|
-
queryFn: () =>
|
|
12
|
+
queryFn: () => Promise<string>;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* fetch allPairsLength
|
|
16
16
|
* @param {number} chainId - number
|
|
17
17
|
* @returns {bigint} __output0 - uint256
|
|
18
18
|
*/
|
|
19
|
-
export declare function fetchUniswapV2FactoryAllPairsLength(chainId: number):
|
|
19
|
+
export declare function fetchUniswapV2FactoryAllPairsLength(chainId: number): Promise<bigint>;
|
|
20
20
|
export declare function getFetchUniswapV2FactoryAllPairsLengthQueryOptions(chainId: number | undefined): {
|
|
21
21
|
queryKey: (string | number | undefined)[];
|
|
22
22
|
enabled: boolean;
|
|
23
|
-
queryFn: () =>
|
|
23
|
+
queryFn: () => Promise<bigint>;
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* fetch feeTo
|
|
27
27
|
* @param {number} chainId - number
|
|
28
28
|
* @returns {string} __output0 - address
|
|
29
29
|
*/
|
|
30
|
-
export declare function fetchUniswapV2FactoryFeeTo(chainId: number):
|
|
30
|
+
export declare function fetchUniswapV2FactoryFeeTo(chainId: number): Promise<string>;
|
|
31
31
|
export declare function getFetchUniswapV2FactoryFeeToQueryOptions(chainId: number | undefined): {
|
|
32
32
|
queryKey: (string | number | undefined)[];
|
|
33
33
|
enabled: boolean;
|
|
34
|
-
queryFn: () =>
|
|
34
|
+
queryFn: () => Promise<string>;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
37
|
* fetch feeToSetter
|
|
38
38
|
* @param {number} chainId - number
|
|
39
39
|
* @returns {string} __output0 - address
|
|
40
40
|
*/
|
|
41
|
-
export declare function fetchUniswapV2FactoryFeeToSetter(chainId: number):
|
|
41
|
+
export declare function fetchUniswapV2FactoryFeeToSetter(chainId: number): Promise<string>;
|
|
42
42
|
export declare function getFetchUniswapV2FactoryFeeToSetterQueryOptions(chainId: number | undefined): {
|
|
43
43
|
queryKey: (string | number | undefined)[];
|
|
44
44
|
enabled: boolean;
|
|
45
|
-
queryFn: () =>
|
|
45
|
+
queryFn: () => Promise<string>;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* fetch getPair
|
|
@@ -52,11 +52,11 @@ export declare function getFetchUniswapV2FactoryFeeToSetterQueryOptions(chainId:
|
|
|
52
52
|
* @param {number} __input3 - uint256
|
|
53
53
|
* @returns {string} __output0 - address
|
|
54
54
|
*/
|
|
55
|
-
export declare function fetchUniswapV2FactoryGetPair(chainId: number, __input1: string, __input2: string, __input3: number):
|
|
55
|
+
export declare function fetchUniswapV2FactoryGetPair(chainId: number, __input1: string, __input2: string, __input3: number): Promise<string>;
|
|
56
56
|
export declare function getFetchUniswapV2FactoryGetPairQueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: string | undefined, __input3: number | undefined): {
|
|
57
57
|
queryKey: (string | number | undefined)[];
|
|
58
58
|
enabled: boolean;
|
|
59
|
-
queryFn: () =>
|
|
59
|
+
queryFn: () => Promise<string>;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* encode createPair
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
* @param {string} __to - string
|
|
5
5
|
* @returns {string} __output0 - bytes32
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchUniswapV2PairDOMAIN_SEPARATOR(chainId: number, __to: string):
|
|
7
|
+
export declare function fetchUniswapV2PairDOMAIN_SEPARATOR(chainId: number, __to: string): Promise<string>;
|
|
8
8
|
export declare function getFetchUniswapV2PairDOMAIN_SEPARATORQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
9
9
|
queryKey: (string | number | undefined)[];
|
|
10
10
|
enabled: boolean;
|
|
11
|
-
queryFn: () =>
|
|
11
|
+
queryFn: () => Promise<string>;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* fetch MINIMUM_LIQUIDITY
|
|
@@ -16,11 +16,11 @@ export declare function getFetchUniswapV2PairDOMAIN_SEPARATORQueryOptions(chainI
|
|
|
16
16
|
* @param {string} __to - string
|
|
17
17
|
* @returns {bigint} __output0 - uint256
|
|
18
18
|
*/
|
|
19
|
-
export declare function fetchUniswapV2PairMINIMUM_LIQUIDITY(chainId: number, __to: string):
|
|
19
|
+
export declare function fetchUniswapV2PairMINIMUM_LIQUIDITY(chainId: number, __to: string): Promise<bigint>;
|
|
20
20
|
export declare function getFetchUniswapV2PairMINIMUM_LIQUIDITYQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
21
21
|
queryKey: (string | number | undefined)[];
|
|
22
22
|
enabled: boolean;
|
|
23
|
-
queryFn: () =>
|
|
23
|
+
queryFn: () => Promise<bigint>;
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* fetch PERMIT_TYPEHASH
|
|
@@ -28,11 +28,11 @@ export declare function getFetchUniswapV2PairMINIMUM_LIQUIDITYQueryOptions(chain
|
|
|
28
28
|
* @param {string} __to - string
|
|
29
29
|
* @returns {string} __output0 - bytes32
|
|
30
30
|
*/
|
|
31
|
-
export declare function fetchUniswapV2PairPERMIT_TYPEHASH(chainId: number, __to: string):
|
|
31
|
+
export declare function fetchUniswapV2PairPERMIT_TYPEHASH(chainId: number, __to: string): Promise<string>;
|
|
32
32
|
export declare function getFetchUniswapV2PairPERMIT_TYPEHASHQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
33
33
|
queryKey: (string | number | undefined)[];
|
|
34
34
|
enabled: boolean;
|
|
35
|
-
queryFn: () =>
|
|
35
|
+
queryFn: () => Promise<string>;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
38
|
* fetch allowance
|
|
@@ -42,11 +42,11 @@ export declare function getFetchUniswapV2PairPERMIT_TYPEHASHQueryOptions(chainId
|
|
|
42
42
|
* @param {string} __input2 - address
|
|
43
43
|
* @returns {bigint} __output0 - uint256
|
|
44
44
|
*/
|
|
45
|
-
export declare function fetchUniswapV2PairAllowance(chainId: number, __to: string, __input1: string, __input2: string):
|
|
45
|
+
export declare function fetchUniswapV2PairAllowance(chainId: number, __to: string, __input1: string, __input2: string): Promise<bigint>;
|
|
46
46
|
export declare function getFetchUniswapV2PairAllowanceQueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined, __input2: string | undefined): {
|
|
47
47
|
queryKey: (string | number | undefined)[];
|
|
48
48
|
enabled: boolean;
|
|
49
|
-
queryFn: () =>
|
|
49
|
+
queryFn: () => Promise<bigint>;
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
52
|
* fetch balanceOf
|
|
@@ -55,11 +55,11 @@ export declare function getFetchUniswapV2PairAllowanceQueryOptions(chainId: numb
|
|
|
55
55
|
* @param {string} __input1 - address
|
|
56
56
|
* @returns {bigint} __output0 - uint256
|
|
57
57
|
*/
|
|
58
|
-
export declare function fetchUniswapV2PairBalanceOf(chainId: number, __to: string, __input1: string):
|
|
58
|
+
export declare function fetchUniswapV2PairBalanceOf(chainId: number, __to: string, __input1: string): Promise<bigint>;
|
|
59
59
|
export declare function getFetchUniswapV2PairBalanceOfQueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined): {
|
|
60
60
|
queryKey: (string | number | undefined)[];
|
|
61
61
|
enabled: boolean;
|
|
62
|
-
queryFn: () =>
|
|
62
|
+
queryFn: () => Promise<bigint>;
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
65
65
|
* fetch decimals
|
|
@@ -67,11 +67,11 @@ export declare function getFetchUniswapV2PairBalanceOfQueryOptions(chainId: numb
|
|
|
67
67
|
* @param {string} __to - string
|
|
68
68
|
* @returns {bigint} __output0 - uint8
|
|
69
69
|
*/
|
|
70
|
-
export declare function fetchUniswapV2PairDecimals(chainId: number, __to: string):
|
|
70
|
+
export declare function fetchUniswapV2PairDecimals(chainId: number, __to: string): Promise<bigint>;
|
|
71
71
|
export declare function getFetchUniswapV2PairDecimalsQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
72
72
|
queryKey: (string | number | undefined)[];
|
|
73
73
|
enabled: boolean;
|
|
74
|
-
queryFn: () =>
|
|
74
|
+
queryFn: () => Promise<bigint>;
|
|
75
75
|
};
|
|
76
76
|
/**
|
|
77
77
|
* fetch factory
|
|
@@ -79,11 +79,11 @@ export declare function getFetchUniswapV2PairDecimalsQueryOptions(chainId: numbe
|
|
|
79
79
|
* @param {string} __to - string
|
|
80
80
|
* @returns {string} __output0 - address
|
|
81
81
|
*/
|
|
82
|
-
export declare function fetchUniswapV2PairFactory(chainId: number, __to: string):
|
|
82
|
+
export declare function fetchUniswapV2PairFactory(chainId: number, __to: string): Promise<string>;
|
|
83
83
|
export declare function getFetchUniswapV2PairFactoryQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
84
84
|
queryKey: (string | number | undefined)[];
|
|
85
85
|
enabled: boolean;
|
|
86
|
-
queryFn: () =>
|
|
86
|
+
queryFn: () => Promise<string>;
|
|
87
87
|
};
|
|
88
88
|
/**
|
|
89
89
|
* fetch feeRate
|
|
@@ -91,11 +91,11 @@ export declare function getFetchUniswapV2PairFactoryQueryOptions(chainId: number
|
|
|
91
91
|
* @param {string} __to - string
|
|
92
92
|
* @returns {bigint} __output0 - uint256
|
|
93
93
|
*/
|
|
94
|
-
export declare function fetchUniswapV2PairFeeRate(chainId: number, __to: string):
|
|
94
|
+
export declare function fetchUniswapV2PairFeeRate(chainId: number, __to: string): Promise<bigint>;
|
|
95
95
|
export declare function getFetchUniswapV2PairFeeRateQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
96
96
|
queryKey: (string | number | undefined)[];
|
|
97
97
|
enabled: boolean;
|
|
98
|
-
queryFn: () =>
|
|
98
|
+
queryFn: () => Promise<bigint>;
|
|
99
99
|
};
|
|
100
100
|
/**
|
|
101
101
|
* fetch getReserves
|
|
@@ -105,11 +105,19 @@ export declare function getFetchUniswapV2PairFeeRateQueryOptions(chainId: number
|
|
|
105
105
|
* @returns {bigint} _reserve1 - uint112
|
|
106
106
|
* @returns {bigint} _blockTimestampLast - uint32
|
|
107
107
|
*/
|
|
108
|
-
export declare function fetchUniswapV2PairGetReserves(chainId: number, __to: string):
|
|
108
|
+
export declare function fetchUniswapV2PairGetReserves(chainId: number, __to: string): Promise<{
|
|
109
|
+
_reserve0: bigint;
|
|
110
|
+
_reserve1: bigint;
|
|
111
|
+
_blockTimestampLast: bigint;
|
|
112
|
+
}>;
|
|
109
113
|
export declare function getFetchUniswapV2PairGetReservesQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
110
114
|
queryKey: (string | number | undefined)[];
|
|
111
115
|
enabled: boolean;
|
|
112
|
-
queryFn: () =>
|
|
116
|
+
queryFn: () => Promise<{
|
|
117
|
+
_reserve0: bigint;
|
|
118
|
+
_reserve1: bigint;
|
|
119
|
+
_blockTimestampLast: bigint;
|
|
120
|
+
}>;
|
|
113
121
|
};
|
|
114
122
|
/**
|
|
115
123
|
* fetch kLast
|
|
@@ -117,11 +125,11 @@ export declare function getFetchUniswapV2PairGetReservesQueryOptions(chainId: nu
|
|
|
117
125
|
* @param {string} __to - string
|
|
118
126
|
* @returns {bigint} __output0 - uint256
|
|
119
127
|
*/
|
|
120
|
-
export declare function fetchUniswapV2PairKLast(chainId: number, __to: string):
|
|
128
|
+
export declare function fetchUniswapV2PairKLast(chainId: number, __to: string): Promise<bigint>;
|
|
121
129
|
export declare function getFetchUniswapV2PairKLastQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
122
130
|
queryKey: (string | number | undefined)[];
|
|
123
131
|
enabled: boolean;
|
|
124
|
-
queryFn: () =>
|
|
132
|
+
queryFn: () => Promise<bigint>;
|
|
125
133
|
};
|
|
126
134
|
/**
|
|
127
135
|
* fetch lpMtRatio
|
|
@@ -129,11 +137,11 @@ export declare function getFetchUniswapV2PairKLastQueryOptions(chainId: number |
|
|
|
129
137
|
* @param {string} __to - string
|
|
130
138
|
* @returns {bigint} __output0 - uint256
|
|
131
139
|
*/
|
|
132
|
-
export declare function fetchUniswapV2PairLpMtRatio(chainId: number, __to: string):
|
|
140
|
+
export declare function fetchUniswapV2PairLpMtRatio(chainId: number, __to: string): Promise<bigint>;
|
|
133
141
|
export declare function getFetchUniswapV2PairLpMtRatioQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
134
142
|
queryKey: (string | number | undefined)[];
|
|
135
143
|
enabled: boolean;
|
|
136
|
-
queryFn: () =>
|
|
144
|
+
queryFn: () => Promise<bigint>;
|
|
137
145
|
};
|
|
138
146
|
/**
|
|
139
147
|
* fetch name
|
|
@@ -141,11 +149,11 @@ export declare function getFetchUniswapV2PairLpMtRatioQueryOptions(chainId: numb
|
|
|
141
149
|
* @param {string} __to - string
|
|
142
150
|
* @returns {string} __output0 - string
|
|
143
151
|
*/
|
|
144
|
-
export declare function fetchUniswapV2PairName(chainId: number, __to: string):
|
|
152
|
+
export declare function fetchUniswapV2PairName(chainId: number, __to: string): Promise<string>;
|
|
145
153
|
export declare function getFetchUniswapV2PairNameQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
146
154
|
queryKey: (string | number | undefined)[];
|
|
147
155
|
enabled: boolean;
|
|
148
|
-
queryFn: () =>
|
|
156
|
+
queryFn: () => Promise<string>;
|
|
149
157
|
};
|
|
150
158
|
/**
|
|
151
159
|
* fetch nonces
|
|
@@ -154,11 +162,11 @@ export declare function getFetchUniswapV2PairNameQueryOptions(chainId: number |
|
|
|
154
162
|
* @param {string} __input1 - address
|
|
155
163
|
* @returns {bigint} __output0 - uint256
|
|
156
164
|
*/
|
|
157
|
-
export declare function fetchUniswapV2PairNonces(chainId: number, __to: string, __input1: string):
|
|
165
|
+
export declare function fetchUniswapV2PairNonces(chainId: number, __to: string, __input1: string): Promise<bigint>;
|
|
158
166
|
export declare function getFetchUniswapV2PairNoncesQueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined): {
|
|
159
167
|
queryKey: (string | number | undefined)[];
|
|
160
168
|
enabled: boolean;
|
|
161
|
-
queryFn: () =>
|
|
169
|
+
queryFn: () => Promise<bigint>;
|
|
162
170
|
};
|
|
163
171
|
/**
|
|
164
172
|
* fetch price0CumulativeLast
|
|
@@ -166,11 +174,11 @@ export declare function getFetchUniswapV2PairNoncesQueryOptions(chainId: number
|
|
|
166
174
|
* @param {string} __to - string
|
|
167
175
|
* @returns {bigint} __output0 - uint256
|
|
168
176
|
*/
|
|
169
|
-
export declare function fetchUniswapV2PairPrice0CumulativeLast(chainId: number, __to: string):
|
|
177
|
+
export declare function fetchUniswapV2PairPrice0CumulativeLast(chainId: number, __to: string): Promise<bigint>;
|
|
170
178
|
export declare function getFetchUniswapV2PairPrice0CumulativeLastQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
171
179
|
queryKey: (string | number | undefined)[];
|
|
172
180
|
enabled: boolean;
|
|
173
|
-
queryFn: () =>
|
|
181
|
+
queryFn: () => Promise<bigint>;
|
|
174
182
|
};
|
|
175
183
|
/**
|
|
176
184
|
* fetch price1CumulativeLast
|
|
@@ -178,11 +186,11 @@ export declare function getFetchUniswapV2PairPrice0CumulativeLastQueryOptions(ch
|
|
|
178
186
|
* @param {string} __to - string
|
|
179
187
|
* @returns {bigint} __output0 - uint256
|
|
180
188
|
*/
|
|
181
|
-
export declare function fetchUniswapV2PairPrice1CumulativeLast(chainId: number, __to: string):
|
|
189
|
+
export declare function fetchUniswapV2PairPrice1CumulativeLast(chainId: number, __to: string): Promise<bigint>;
|
|
182
190
|
export declare function getFetchUniswapV2PairPrice1CumulativeLastQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
183
191
|
queryKey: (string | number | undefined)[];
|
|
184
192
|
enabled: boolean;
|
|
185
|
-
queryFn: () =>
|
|
193
|
+
queryFn: () => Promise<bigint>;
|
|
186
194
|
};
|
|
187
195
|
/**
|
|
188
196
|
* fetch symbol
|
|
@@ -190,11 +198,11 @@ export declare function getFetchUniswapV2PairPrice1CumulativeLastQueryOptions(ch
|
|
|
190
198
|
* @param {string} __to - string
|
|
191
199
|
* @returns {string} __output0 - string
|
|
192
200
|
*/
|
|
193
|
-
export declare function fetchUniswapV2PairSymbol(chainId: number, __to: string):
|
|
201
|
+
export declare function fetchUniswapV2PairSymbol(chainId: number, __to: string): Promise<string>;
|
|
194
202
|
export declare function getFetchUniswapV2PairSymbolQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
195
203
|
queryKey: (string | number | undefined)[];
|
|
196
204
|
enabled: boolean;
|
|
197
|
-
queryFn: () =>
|
|
205
|
+
queryFn: () => Promise<string>;
|
|
198
206
|
};
|
|
199
207
|
/**
|
|
200
208
|
* fetch token0
|
|
@@ -202,11 +210,11 @@ export declare function getFetchUniswapV2PairSymbolQueryOptions(chainId: number
|
|
|
202
210
|
* @param {string} __to - string
|
|
203
211
|
* @returns {string} __output0 - address
|
|
204
212
|
*/
|
|
205
|
-
export declare function fetchUniswapV2PairToken0(chainId: number, __to: string):
|
|
213
|
+
export declare function fetchUniswapV2PairToken0(chainId: number, __to: string): Promise<string>;
|
|
206
214
|
export declare function getFetchUniswapV2PairToken0QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
207
215
|
queryKey: (string | number | undefined)[];
|
|
208
216
|
enabled: boolean;
|
|
209
|
-
queryFn: () =>
|
|
217
|
+
queryFn: () => Promise<string>;
|
|
210
218
|
};
|
|
211
219
|
/**
|
|
212
220
|
* fetch token1
|
|
@@ -214,11 +222,11 @@ export declare function getFetchUniswapV2PairToken0QueryOptions(chainId: number
|
|
|
214
222
|
* @param {string} __to - string
|
|
215
223
|
* @returns {string} __output0 - address
|
|
216
224
|
*/
|
|
217
|
-
export declare function fetchUniswapV2PairToken1(chainId: number, __to: string):
|
|
225
|
+
export declare function fetchUniswapV2PairToken1(chainId: number, __to: string): Promise<string>;
|
|
218
226
|
export declare function getFetchUniswapV2PairToken1QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
219
227
|
queryKey: (string | number | undefined)[];
|
|
220
228
|
enabled: boolean;
|
|
221
|
-
queryFn: () =>
|
|
229
|
+
queryFn: () => Promise<string>;
|
|
222
230
|
};
|
|
223
231
|
/**
|
|
224
232
|
* fetch totalSupply
|
|
@@ -226,11 +234,11 @@ export declare function getFetchUniswapV2PairToken1QueryOptions(chainId: number
|
|
|
226
234
|
* @param {string} __to - string
|
|
227
235
|
* @returns {bigint} __output0 - uint256
|
|
228
236
|
*/
|
|
229
|
-
export declare function fetchUniswapV2PairTotalSupply(chainId: number, __to: string):
|
|
237
|
+
export declare function fetchUniswapV2PairTotalSupply(chainId: number, __to: string): Promise<bigint>;
|
|
230
238
|
export declare function getFetchUniswapV2PairTotalSupplyQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
231
239
|
queryKey: (string | number | undefined)[];
|
|
232
240
|
enabled: boolean;
|
|
233
|
-
queryFn: () =>
|
|
241
|
+
queryFn: () => Promise<bigint>;
|
|
234
242
|
};
|
|
235
243
|
/**
|
|
236
244
|
* encode approve
|
|
@@ -4,22 +4,22 @@ export declare function getUniswapV2Router02ContractAddressByChainId(chainId: nu
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchUniswapV2Router02WETH(chainId: number):
|
|
7
|
+
export declare function fetchUniswapV2Router02WETH(chainId: number): Promise<string>;
|
|
8
8
|
export declare function getFetchUniswapV2Router02WETHQueryOptions(chainId: number | undefined): {
|
|
9
9
|
queryKey: (string | number | undefined)[];
|
|
10
10
|
enabled: boolean;
|
|
11
|
-
queryFn: () =>
|
|
11
|
+
queryFn: () => Promise<string>;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* fetch factory
|
|
15
15
|
* @param {number} chainId - number
|
|
16
16
|
* @returns {string} __output0 - address
|
|
17
17
|
*/
|
|
18
|
-
export declare function fetchUniswapV2Router02Factory(chainId: number):
|
|
18
|
+
export declare function fetchUniswapV2Router02Factory(chainId: number): Promise<string>;
|
|
19
19
|
export declare function getFetchUniswapV2Router02FactoryQueryOptions(chainId: number | undefined): {
|
|
20
20
|
queryKey: (string | number | undefined)[];
|
|
21
21
|
enabled: boolean;
|
|
22
|
-
queryFn: () =>
|
|
22
|
+
queryFn: () => Promise<string>;
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* fetch getAmountIn
|
|
@@ -30,11 +30,11 @@ export declare function getFetchUniswapV2Router02FactoryQueryOptions(chainId: nu
|
|
|
30
30
|
* @param {number} fee - uint256
|
|
31
31
|
* @returns {bigint} amountIn - uint256
|
|
32
32
|
*/
|
|
33
|
-
export declare function fetchUniswapV2Router02GetAmountIn(chainId: number, amountOut: number, reserveIn: number, reserveOut: number, fee: number):
|
|
33
|
+
export declare function fetchUniswapV2Router02GetAmountIn(chainId: number, amountOut: number, reserveIn: number, reserveOut: number, fee: number): Promise<bigint>;
|
|
34
34
|
export declare function getFetchUniswapV2Router02GetAmountInQueryOptions(chainId: number | undefined, amountOut: number | undefined, reserveIn: number | undefined, reserveOut: number | undefined, fee: number | undefined): {
|
|
35
35
|
queryKey: (string | number | undefined)[];
|
|
36
36
|
enabled: boolean;
|
|
37
|
-
queryFn: () =>
|
|
37
|
+
queryFn: () => Promise<bigint>;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* fetch getAmountOut
|
|
@@ -45,11 +45,11 @@ export declare function getFetchUniswapV2Router02GetAmountInQueryOptions(chainId
|
|
|
45
45
|
* @param {number} fee - uint256
|
|
46
46
|
* @returns {bigint} amountOut - uint256
|
|
47
47
|
*/
|
|
48
|
-
export declare function fetchUniswapV2Router02GetAmountOut(chainId: number, amountIn: number, reserveIn: number, reserveOut: number, fee: number):
|
|
48
|
+
export declare function fetchUniswapV2Router02GetAmountOut(chainId: number, amountIn: number, reserveIn: number, reserveOut: number, fee: number): Promise<bigint>;
|
|
49
49
|
export declare function getFetchUniswapV2Router02GetAmountOutQueryOptions(chainId: number | undefined, amountIn: number | undefined, reserveIn: number | undefined, reserveOut: number | undefined, fee: number | undefined): {
|
|
50
50
|
queryKey: (string | number | undefined)[];
|
|
51
51
|
enabled: boolean;
|
|
52
|
-
queryFn: () =>
|
|
52
|
+
queryFn: () => Promise<bigint>;
|
|
53
53
|
};
|
|
54
54
|
/**
|
|
55
55
|
* fetch getAmountsIn
|
|
@@ -59,11 +59,11 @@ export declare function getFetchUniswapV2Router02GetAmountOutQueryOptions(chainI
|
|
|
59
59
|
* @param {Array<number>} fees - uint256[]
|
|
60
60
|
* @returns {Array<bigint>} amounts - uint256[]
|
|
61
61
|
*/
|
|
62
|
-
export declare function fetchUniswapV2Router02GetAmountsIn(chainId: number, amountOut: number, path: Array<string>, fees: Array<number>):
|
|
62
|
+
export declare function fetchUniswapV2Router02GetAmountsIn(chainId: number, amountOut: number, path: Array<string>, fees: Array<number>): Promise<Array<bigint>>;
|
|
63
63
|
export declare function getFetchUniswapV2Router02GetAmountsInQueryOptions(chainId: number | undefined, amountOut: number | undefined, path: Array<string> | undefined, fees: Array<number> | undefined): {
|
|
64
64
|
queryKey: (string | number | string[] | number[] | undefined)[];
|
|
65
65
|
enabled: boolean;
|
|
66
|
-
queryFn: () =>
|
|
66
|
+
queryFn: () => Promise<bigint[]>;
|
|
67
67
|
};
|
|
68
68
|
/**
|
|
69
69
|
* fetch getAmountsOut
|
|
@@ -73,11 +73,11 @@ export declare function getFetchUniswapV2Router02GetAmountsInQueryOptions(chainI
|
|
|
73
73
|
* @param {Array<number>} fees - uint256[]
|
|
74
74
|
* @returns {Array<bigint>} amounts - uint256[]
|
|
75
75
|
*/
|
|
76
|
-
export declare function fetchUniswapV2Router02GetAmountsOut(chainId: number, amountIn: number, path: Array<string>, fees: Array<number>):
|
|
76
|
+
export declare function fetchUniswapV2Router02GetAmountsOut(chainId: number, amountIn: number, path: Array<string>, fees: Array<number>): Promise<Array<bigint>>;
|
|
77
77
|
export declare function getFetchUniswapV2Router02GetAmountsOutQueryOptions(chainId: number | undefined, amountIn: number | undefined, path: Array<string> | undefined, fees: Array<number> | undefined): {
|
|
78
78
|
queryKey: (string | number | string[] | number[] | undefined)[];
|
|
79
79
|
enabled: boolean;
|
|
80
|
-
queryFn: () =>
|
|
80
|
+
queryFn: () => Promise<bigint[]>;
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
83
|
* fetch quote
|
|
@@ -87,11 +87,11 @@ export declare function getFetchUniswapV2Router02GetAmountsOutQueryOptions(chain
|
|
|
87
87
|
* @param {number} reserveB - uint256
|
|
88
88
|
* @returns {bigint} amountB - uint256
|
|
89
89
|
*/
|
|
90
|
-
export declare function fetchUniswapV2Router02Quote(chainId: number, amountA: number, reserveA: number, reserveB: number):
|
|
90
|
+
export declare function fetchUniswapV2Router02Quote(chainId: number, amountA: number, reserveA: number, reserveB: number): Promise<bigint>;
|
|
91
91
|
export declare function getFetchUniswapV2Router02QuoteQueryOptions(chainId: number | undefined, amountA: number | undefined, reserveA: number | undefined, reserveB: number | undefined): {
|
|
92
92
|
queryKey: (string | number | undefined)[];
|
|
93
93
|
enabled: boolean;
|
|
94
|
-
queryFn: () =>
|
|
94
|
+
queryFn: () => Promise<bigint>;
|
|
95
95
|
};
|
|
96
96
|
/**
|
|
97
97
|
* encode addLiquidity
|
|
@@ -4,22 +4,22 @@ export declare function getDodoTeamContractAddressByChainId(chainId: number): st
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - string
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchDodoTeamNAME(chainId: number):
|
|
7
|
+
export declare function fetchDodoTeamNAME(chainId: number): Promise<string>;
|
|
8
8
|
export declare function getFetchDodoTeamNAMEQueryOptions(chainId: number | undefined): {
|
|
9
9
|
queryKey: (string | number | undefined)[];
|
|
10
10
|
enabled: boolean;
|
|
11
|
-
queryFn: () =>
|
|
11
|
+
queryFn: () => Promise<string>;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* fetch VERSION
|
|
15
15
|
* @param {number} chainId - number
|
|
16
16
|
* @returns {string} __output0 - string
|
|
17
17
|
*/
|
|
18
|
-
export declare function fetchDodoTeamVERSION(chainId: number):
|
|
18
|
+
export declare function fetchDodoTeamVERSION(chainId: number): Promise<string>;
|
|
19
19
|
export declare function getFetchDodoTeamVERSIONQueryOptions(chainId: number | undefined): {
|
|
20
20
|
queryKey: (string | number | undefined)[];
|
|
21
21
|
enabled: boolean;
|
|
22
|
-
queryFn: () =>
|
|
22
|
+
queryFn: () => Promise<string>;
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* fetch approvedHashes
|
|
@@ -28,22 +28,22 @@ export declare function getFetchDodoTeamVERSIONQueryOptions(chainId: number | un
|
|
|
28
28
|
* @param {string} __input2 - bytes32
|
|
29
29
|
* @returns {bigint} __output0 - uint256
|
|
30
30
|
*/
|
|
31
|
-
export declare function fetchDodoTeamApprovedHashes(chainId: number, __input1: string, __input2: string):
|
|
31
|
+
export declare function fetchDodoTeamApprovedHashes(chainId: number, __input1: string, __input2: string): Promise<bigint>;
|
|
32
32
|
export declare function getFetchDodoTeamApprovedHashesQueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: string | undefined): {
|
|
33
33
|
queryKey: (string | number | undefined)[];
|
|
34
34
|
enabled: boolean;
|
|
35
|
-
queryFn: () =>
|
|
35
|
+
queryFn: () => Promise<bigint>;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
38
|
* fetch domainSeparator
|
|
39
39
|
* @param {number} chainId - number
|
|
40
40
|
* @returns {string} __output0 - bytes32
|
|
41
41
|
*/
|
|
42
|
-
export declare function fetchDodoTeamDomainSeparator(chainId: number):
|
|
42
|
+
export declare function fetchDodoTeamDomainSeparator(chainId: number): Promise<string>;
|
|
43
43
|
export declare function getFetchDodoTeamDomainSeparatorQueryOptions(chainId: number | undefined): {
|
|
44
44
|
queryKey: (string | number | undefined)[];
|
|
45
45
|
enabled: boolean;
|
|
46
|
-
queryFn: () =>
|
|
46
|
+
queryFn: () => Promise<string>;
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
49
|
* fetch encodeTransactionData
|
|
@@ -60,11 +60,11 @@ export declare function getFetchDodoTeamDomainSeparatorQueryOptions(chainId: num
|
|
|
60
60
|
* @param {number} _nonce - uint256
|
|
61
61
|
* @returns {string} __output0 - bytes
|
|
62
62
|
*/
|
|
63
|
-
export declare function fetchDodoTeamEncodeTransactionData(chainId: number, to: string, value: number, data: string, operation: number, safeTxGas: number, baseGas: number, gasPrice: number, gasToken: string, refundReceiver: string, _nonce: number):
|
|
63
|
+
export declare function fetchDodoTeamEncodeTransactionData(chainId: number, to: string, value: number, data: string, operation: number, safeTxGas: number, baseGas: number, gasPrice: number, gasToken: string, refundReceiver: string, _nonce: number): Promise<string>;
|
|
64
64
|
export declare function getFetchDodoTeamEncodeTransactionDataQueryOptions(chainId: number | undefined, to: string | undefined, value: number | undefined, data: string | undefined, operation: number | undefined, safeTxGas: number | undefined, baseGas: number | undefined, gasPrice: number | undefined, gasToken: string | undefined, refundReceiver: string | undefined, _nonce: number | undefined): {
|
|
65
65
|
queryKey: (string | number | undefined)[];
|
|
66
66
|
enabled: boolean;
|
|
67
|
-
queryFn: () =>
|
|
67
|
+
queryFn: () => Promise<string>;
|
|
68
68
|
};
|
|
69
69
|
/**
|
|
70
70
|
* fetch getMessageHash
|
|
@@ -72,22 +72,22 @@ export declare function getFetchDodoTeamEncodeTransactionDataQueryOptions(chainI
|
|
|
72
72
|
* @param {string} message - bytes
|
|
73
73
|
* @returns {string} __output0 - bytes32
|
|
74
74
|
*/
|
|
75
|
-
export declare function fetchDodoTeamGetMessageHash(chainId: number, message: string):
|
|
75
|
+
export declare function fetchDodoTeamGetMessageHash(chainId: number, message: string): Promise<string>;
|
|
76
76
|
export declare function getFetchDodoTeamGetMessageHashQueryOptions(chainId: number | undefined, message: string | undefined): {
|
|
77
77
|
queryKey: (string | number | undefined)[];
|
|
78
78
|
enabled: boolean;
|
|
79
|
-
queryFn: () =>
|
|
79
|
+
queryFn: () => Promise<string>;
|
|
80
80
|
};
|
|
81
81
|
/**
|
|
82
82
|
* fetch getModules
|
|
83
83
|
* @param {number} chainId - number
|
|
84
84
|
* @returns {Array<string>} __output0 - address[]
|
|
85
85
|
*/
|
|
86
|
-
export declare function fetchDodoTeamGetModules(chainId: number):
|
|
86
|
+
export declare function fetchDodoTeamGetModules(chainId: number): Promise<Array<string>>;
|
|
87
87
|
export declare function getFetchDodoTeamGetModulesQueryOptions(chainId: number | undefined): {
|
|
88
88
|
queryKey: (string | number | undefined)[];
|
|
89
89
|
enabled: boolean;
|
|
90
|
-
queryFn: () =>
|
|
90
|
+
queryFn: () => Promise<string[]>;
|
|
91
91
|
};
|
|
92
92
|
/**
|
|
93
93
|
* fetch getModulesPaginated
|
|
@@ -97,33 +97,39 @@ export declare function getFetchDodoTeamGetModulesQueryOptions(chainId: number |
|
|
|
97
97
|
* @returns {Array<string>} array - address[]
|
|
98
98
|
* @returns {string} next - address
|
|
99
99
|
*/
|
|
100
|
-
export declare function fetchDodoTeamGetModulesPaginated(chainId: number, start: string, pageSize: number):
|
|
100
|
+
export declare function fetchDodoTeamGetModulesPaginated(chainId: number, start: string, pageSize: number): Promise<{
|
|
101
|
+
array: Array<string>;
|
|
102
|
+
next: string;
|
|
103
|
+
}>;
|
|
101
104
|
export declare function getFetchDodoTeamGetModulesPaginatedQueryOptions(chainId: number | undefined, start: string | undefined, pageSize: number | undefined): {
|
|
102
105
|
queryKey: (string | number | undefined)[];
|
|
103
106
|
enabled: boolean;
|
|
104
|
-
queryFn: () =>
|
|
107
|
+
queryFn: () => Promise<{
|
|
108
|
+
array: Array<string>;
|
|
109
|
+
next: string;
|
|
110
|
+
}>;
|
|
105
111
|
};
|
|
106
112
|
/**
|
|
107
113
|
* fetch getOwners
|
|
108
114
|
* @param {number} chainId - number
|
|
109
115
|
* @returns {Array<string>} __output0 - address[]
|
|
110
116
|
*/
|
|
111
|
-
export declare function fetchDodoTeamGetOwners(chainId: number):
|
|
117
|
+
export declare function fetchDodoTeamGetOwners(chainId: number): Promise<Array<string>>;
|
|
112
118
|
export declare function getFetchDodoTeamGetOwnersQueryOptions(chainId: number | undefined): {
|
|
113
119
|
queryKey: (string | number | undefined)[];
|
|
114
120
|
enabled: boolean;
|
|
115
|
-
queryFn: () =>
|
|
121
|
+
queryFn: () => Promise<string[]>;
|
|
116
122
|
};
|
|
117
123
|
/**
|
|
118
124
|
* fetch getThreshold
|
|
119
125
|
* @param {number} chainId - number
|
|
120
126
|
* @returns {bigint} __output0 - uint256
|
|
121
127
|
*/
|
|
122
|
-
export declare function fetchDodoTeamGetThreshold(chainId: number):
|
|
128
|
+
export declare function fetchDodoTeamGetThreshold(chainId: number): Promise<bigint>;
|
|
123
129
|
export declare function getFetchDodoTeamGetThresholdQueryOptions(chainId: number | undefined): {
|
|
124
130
|
queryKey: (string | number | undefined)[];
|
|
125
131
|
enabled: boolean;
|
|
126
|
-
queryFn: () =>
|
|
132
|
+
queryFn: () => Promise<bigint>;
|
|
127
133
|
};
|
|
128
134
|
/**
|
|
129
135
|
* fetch getTransactionHash
|
|
@@ -140,11 +146,11 @@ export declare function getFetchDodoTeamGetThresholdQueryOptions(chainId: number
|
|
|
140
146
|
* @param {number} _nonce - uint256
|
|
141
147
|
* @returns {string} __output0 - bytes32
|
|
142
148
|
*/
|
|
143
|
-
export declare function fetchDodoTeamGetTransactionHash(chainId: number, to: string, value: number, data: string, operation: number, safeTxGas: number, baseGas: number, gasPrice: number, gasToken: string, refundReceiver: string, _nonce: number):
|
|
149
|
+
export declare function fetchDodoTeamGetTransactionHash(chainId: number, to: string, value: number, data: string, operation: number, safeTxGas: number, baseGas: number, gasPrice: number, gasToken: string, refundReceiver: string, _nonce: number): Promise<string>;
|
|
144
150
|
export declare function getFetchDodoTeamGetTransactionHashQueryOptions(chainId: number | undefined, to: string | undefined, value: number | undefined, data: string | undefined, operation: number | undefined, safeTxGas: number | undefined, baseGas: number | undefined, gasPrice: number | undefined, gasToken: string | undefined, refundReceiver: string | undefined, _nonce: number | undefined): {
|
|
145
151
|
queryKey: (string | number | undefined)[];
|
|
146
152
|
enabled: boolean;
|
|
147
|
-
queryFn: () =>
|
|
153
|
+
queryFn: () => Promise<string>;
|
|
148
154
|
};
|
|
149
155
|
/**
|
|
150
156
|
* fetch isOwner
|
|
@@ -152,22 +158,22 @@ export declare function getFetchDodoTeamGetTransactionHashQueryOptions(chainId:
|
|
|
152
158
|
* @param {string} owner - address
|
|
153
159
|
* @returns {boolean} __output0 - bool
|
|
154
160
|
*/
|
|
155
|
-
export declare function fetchDodoTeamIsOwner(chainId: number, owner: string):
|
|
161
|
+
export declare function fetchDodoTeamIsOwner(chainId: number, owner: string): Promise<boolean>;
|
|
156
162
|
export declare function getFetchDodoTeamIsOwnerQueryOptions(chainId: number | undefined, owner: string | undefined): {
|
|
157
163
|
queryKey: (string | number | undefined)[];
|
|
158
164
|
enabled: boolean;
|
|
159
|
-
queryFn: () =>
|
|
165
|
+
queryFn: () => Promise<boolean>;
|
|
160
166
|
};
|
|
161
167
|
/**
|
|
162
168
|
* fetch nonce
|
|
163
169
|
* @param {number} chainId - number
|
|
164
170
|
* @returns {bigint} __output0 - uint256
|
|
165
171
|
*/
|
|
166
|
-
export declare function fetchDodoTeamNonce(chainId: number):
|
|
172
|
+
export declare function fetchDodoTeamNonce(chainId: number): Promise<bigint>;
|
|
167
173
|
export declare function getFetchDodoTeamNonceQueryOptions(chainId: number | undefined): {
|
|
168
174
|
queryKey: (string | number | undefined)[];
|
|
169
175
|
enabled: boolean;
|
|
170
|
-
queryFn: () =>
|
|
176
|
+
queryFn: () => Promise<bigint>;
|
|
171
177
|
};
|
|
172
178
|
/**
|
|
173
179
|
* fetch signedMessages
|
|
@@ -175,11 +181,11 @@ export declare function getFetchDodoTeamNonceQueryOptions(chainId: number | unde
|
|
|
175
181
|
* @param {string} __input1 - bytes32
|
|
176
182
|
* @returns {bigint} __output0 - uint256
|
|
177
183
|
*/
|
|
178
|
-
export declare function fetchDodoTeamSignedMessages(chainId: number, __input1: string):
|
|
184
|
+
export declare function fetchDodoTeamSignedMessages(chainId: number, __input1: string): Promise<bigint>;
|
|
179
185
|
export declare function getFetchDodoTeamSignedMessagesQueryOptions(chainId: number | undefined, __input1: string | undefined): {
|
|
180
186
|
queryKey: (string | number | undefined)[];
|
|
181
187
|
enabled: boolean;
|
|
182
|
-
queryFn: () =>
|
|
188
|
+
queryFn: () => Promise<bigint>;
|
|
183
189
|
};
|
|
184
190
|
/**
|
|
185
191
|
* encode addOwnerWithThreshold
|