@dodoex/dodo-contract-request 1.5.0 → 1.6.0-alpha.2
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/.releaserc.json +8 -3
- package/CHANGELOG.md +15 -25
- package/contract-config/sepolia.json +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/contract/BuyoutModel.d.ts +42 -12
- package/dist/types/contract/CP.d.ts +214 -50
- package/dist/types/contract/CloneFactory.d.ts +1 -1
- package/dist/types/contract/CrowdPoolingFactory.d.ts +126 -34
- package/dist/types/contract/CustomERC20.d.ts +75 -20
- package/dist/types/contract/CustomMintableERC20.d.ts +77 -22
- package/dist/types/contract/D3Proxy.d.ts +33 -13
- package/dist/types/contract/D3Vault.d.ts +324 -123
- package/dist/types/contract/DODOApprove.d.ts +44 -14
- package/dist/types/contract/DODOApproveProxy.d.ts +51 -16
- package/dist/types/contract/DODOCalleeHelper.d.ts +10 -5
- package/dist/types/contract/DODOCirculationHelper.d.ts +47 -12
- package/dist/types/contract/DODOCpProxy.d.ts +20 -5
- package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +20 -5
- package/dist/types/contract/DODODppProxy.d.ts +20 -5
- package/dist/types/contract/DODODspProxy.d.ts +27 -7
- package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +20 -5
- package/dist/types/contract/DODOIncentive.d.ts +75 -26
- package/dist/types/contract/DODOMineV2Factory.d.ts +50 -15
- package/dist/types/contract/DODOMineV3Proxy.d.ts +43 -13
- package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +43 -13
- package/dist/types/contract/DODOMineV3Registry.d.ts +43 -13
- package/dist/types/contract/DODONFT.d.ts +95 -25
- package/dist/types/contract/DODONFT1155.d.ts +56 -16
- package/dist/types/contract/DODONFTApprove.d.ts +47 -17
- package/dist/types/contract/DODONFTPoolProxy.d.ts +74 -24
- package/dist/types/contract/DODONFTProxy.d.ts +84 -24
- package/dist/types/contract/DODONFTRegistry.d.ts +49 -17
- package/dist/types/contract/DODONFTRouteHelper.d.ts +12 -2
- package/dist/types/contract/DODOSellHelper.d.ts +12 -2
- package/dist/types/contract/DODOStarterProxy.d.ts +13 -3
- package/dist/types/contract/DODOV1.d.ts +269 -77
- package/dist/types/contract/DODOV1Adapter.d.ts +8 -3
- package/dist/types/contract/DODOV1PmmHelper.d.ts +6 -1
- package/dist/types/contract/DODOV1Proxy.d.ts +13 -8
- package/dist/types/contract/DODOV2Proxy02.d.ts +97 -32
- package/dist/types/contract/DODOV2RouteHelper.d.ts +24 -4
- package/dist/types/contract/DPPAdvanced.d.ts +172 -69
- package/dist/types/contract/DPPAdvancedAdmin.d.ts +51 -16
- package/dist/types/contract/DPPFactory.d.ts +97 -30
- package/dist/types/contract/DSP.d.ts +221 -78
- package/dist/types/contract/DSPFactory.d.ts +73 -21
- package/dist/types/contract/DVM.d.ts +203 -71
- package/dist/types/contract/DVMFactory.d.ts +73 -21
- package/dist/types/contract/ERC20.d.ts +41 -11
- package/dist/types/contract/ERC20Helper.d.ts +24 -23
- package/dist/types/contract/ERC20MineV3.d.ts +91 -36
- package/dist/types/contract/ERC20V3Factory.d.ts +77 -26
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +71 -30
- package/dist/types/contract/FeeRateModel.d.ts +28 -8
- package/dist/types/contract/GSP.d.ts +265 -95
- package/dist/types/contract/GSPFactory.d.ts +68 -21
- package/dist/types/contract/InitializableERC20.d.ts +46 -11
- package/dist/types/contract/LimitOrder.d.ts +71 -21
- package/dist/types/contract/LimitOrderBot.d.ts +45 -15
- package/dist/types/contract/MulticallWithValid.d.ts +43 -8
- package/dist/types/contract/PermissionManager.d.ts +33 -13
- package/dist/types/contract/UniswapV2Factory.d.ts +34 -9
- package/dist/types/contract/UniswapV2Pair.d.ts +126 -35
- package/dist/types/contract/UniswapV2Router02.d.ts +59 -24
- package/dist/types/contract/dodoTeam.d.ts +100 -33
- package/dist/types/contract/vDODOToken.d.ts +196 -58
- package/dist/types/contractRequests.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/scripts/contract-generate.ts +8 -1
- package/src/config/sepolia.ts +1 -1
- package/src/contract/BuyoutModel.ts +60 -0
- package/src/contract/CP.ts +340 -0
- package/src/contract/CrowdPoolingFactory.ts +190 -0
- package/src/contract/CustomERC20.ts +110 -0
- package/src/contract/CustomMintableERC20.ts +110 -0
- package/src/contract/D3Proxy.ts +40 -0
- package/src/contract/D3Vault.ts +480 -0
- package/src/contract/DODOApprove.ts +60 -0
- package/src/contract/DODOApproveProxy.ts +70 -0
- package/src/contract/DODOCalleeHelper.ts +10 -0
- package/src/contract/DODOCirculationHelper.ts +70 -0
- package/src/contract/DODOCpProxy.ts +30 -0
- package/src/contract/DODOCpProxyWithoutGlobalQuota.ts +30 -0
- package/src/contract/DODODppProxy.ts +30 -0
- package/src/contract/DODODspProxy.ts +40 -0
- package/src/contract/DODODspProxyWithoutGSP.ts +30 -0
- package/src/contract/DODOIncentive.ts +110 -0
- package/src/contract/DODOMineV2Factory.ts +70 -0
- package/src/contract/DODOMineV3Proxy.ts +60 -0
- package/src/contract/DODOMineV3ProxyWithoutPlatform.ts +60 -0
- package/src/contract/DODOMineV3Registry.ts +60 -0
- package/src/contract/DODONFT.ts +140 -0
- package/src/contract/DODONFT1155.ts +80 -0
- package/src/contract/DODONFTApprove.ts +60 -0
- package/src/contract/DODONFTPoolProxy.ts +100 -0
- package/src/contract/DODONFTProxy.ts +120 -0
- package/src/contract/DODONFTRegistry.ts +70 -0
- package/src/contract/DODONFTRouteHelper.ts +20 -0
- package/src/contract/DODOSellHelper.ts +20 -0
- package/src/contract/DODOStarterProxy.ts +20 -0
- package/src/contract/DODOV1.ts +390 -0
- package/src/contract/DODOV1Adapter.ts +10 -0
- package/src/contract/DODOV1PmmHelper.ts +10 -0
- package/src/contract/DODOV1Proxy.ts +10 -0
- package/src/contract/DODOV2Proxy02.ts +130 -0
- package/src/contract/DODOV2RouteHelper.ts +40 -0
- package/src/contract/DPPAdvanced.ts +270 -0
- package/src/contract/DPPAdvancedAdmin.ts +70 -0
- package/src/contract/DPPFactory.ts +140 -0
- package/src/contract/DSP.ts +350 -0
- package/src/contract/DSPFactory.ts +110 -0
- package/src/contract/DVM.ts +320 -0
- package/src/contract/DVMFactory.ts +110 -0
- package/src/contract/ERC20.ts +60 -0
- package/src/contract/ERC20Helper.ts +40 -0
- package/src/contract/ERC20MineV3.ts +130 -0
- package/src/contract/ERC20V3Factory.ts +110 -0
- package/src/contract/FeeRateDIP3Impl.ts +100 -0
- package/src/contract/FeeRateModel.ts +40 -0
- package/src/contract/GSP.ts +410 -0
- package/src/contract/GSPFactory.ts +100 -0
- package/src/contract/InitializableERC20.ts +70 -0
- package/src/contract/LimitOrder.ts +100 -0
- package/src/contract/LimitOrderBot.ts +60 -0
- package/src/contract/MulticallWithValid.ts +70 -0
- package/src/contract/PermissionManager.ts +40 -0
- package/src/contract/UniswapV2Factory.ts +51 -1
- package/src/contract/UniswapV2Pair.ts +190 -0
- package/src/contract/UniswapV2Router02.ts +71 -1
- package/src/contract/dodoTeam.ts +140 -0
- package/src/contract/vDODOToken.ts +300 -0
- package/src/index.ts +2 -1
|
@@ -21,6 +21,16 @@ export function fetchDODOIncentive_DODO_PROXY_(chainId: number) {
|
|
|
21
21
|
const __data = hexlify(concat(['0xe54c8033', __encodeData]));
|
|
22
22
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
23
23
|
}
|
|
24
|
+
export function getFetchDODOIncentive_DODO_PROXY_QueryOptions(chainId: number | undefined) {
|
|
25
|
+
return {
|
|
26
|
+
queryKey: ['contract-request', chainId],
|
|
27
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
28
|
+
queryFn: () => {
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
return fetchDODOIncentive_DODO_PROXY_(chainId);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
24
34
|
|
|
25
35
|
/**
|
|
26
36
|
* fetch _DODO_TOKEN_
|
|
@@ -34,6 +44,16 @@ export function fetchDODOIncentive_DODO_TOKEN_(chainId: number) {
|
|
|
34
44
|
const __data = hexlify(concat(['0x34cf1332', __encodeData]));
|
|
35
45
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
36
46
|
}
|
|
47
|
+
export function getFetchDODOIncentive_DODO_TOKEN_QueryOptions(chainId: number | undefined) {
|
|
48
|
+
return {
|
|
49
|
+
queryKey: ['contract-request', chainId],
|
|
50
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
51
|
+
queryFn: () => {
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
return fetchDODOIncentive_DODO_TOKEN_(chainId);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
37
57
|
|
|
38
58
|
/**
|
|
39
59
|
* fetch _NEW_OWNER_
|
|
@@ -47,6 +67,16 @@ export function fetchDODOIncentive_NEW_OWNER_(chainId: number) {
|
|
|
47
67
|
const __data = hexlify(concat(['0x8456db15', __encodeData]));
|
|
48
68
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
49
69
|
}
|
|
70
|
+
export function getFetchDODOIncentive_NEW_OWNER_QueryOptions(chainId: number | undefined) {
|
|
71
|
+
return {
|
|
72
|
+
queryKey: ['contract-request', chainId],
|
|
73
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
74
|
+
queryFn: () => {
|
|
75
|
+
// @ts-ignore
|
|
76
|
+
return fetchDODOIncentive_NEW_OWNER_(chainId);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
50
80
|
|
|
51
81
|
/**
|
|
52
82
|
* fetch _OWNER_
|
|
@@ -60,6 +90,16 @@ export function fetchDODOIncentive_OWNER_(chainId: number) {
|
|
|
60
90
|
const __data = hexlify(concat(['0x16048bc4', __encodeData]));
|
|
61
91
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
62
92
|
}
|
|
93
|
+
export function getFetchDODOIncentive_OWNER_QueryOptions(chainId: number | undefined) {
|
|
94
|
+
return {
|
|
95
|
+
queryKey: ['contract-request', chainId],
|
|
96
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
97
|
+
queryFn: () => {
|
|
98
|
+
// @ts-ignore
|
|
99
|
+
return fetchDODOIncentive_OWNER_(chainId);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
63
103
|
|
|
64
104
|
/**
|
|
65
105
|
* fetch boosts
|
|
@@ -74,6 +114,16 @@ export function fetchDODOIncentiveBoosts(chainId: number, __input1: string) {
|
|
|
74
114
|
const __data = hexlify(concat(['0xfdabc986', __encodeData]));
|
|
75
115
|
return contractRequests.batchCall<bigint>(chainId, __to, __data, [{"internalType":"uint256","name":"","type":"uint256"}])
|
|
76
116
|
}
|
|
117
|
+
export function getFetchDODOIncentiveBoostsQueryOptions(chainId: number | undefined, __input1: string | undefined) {
|
|
118
|
+
return {
|
|
119
|
+
queryKey: ['contract-request', chainId, __input1],
|
|
120
|
+
enabled: [chainId !== undefined && chainId !== null, __input1 !== undefined && __input1 !== null],
|
|
121
|
+
queryFn: () => {
|
|
122
|
+
// @ts-ignore
|
|
123
|
+
return fetchDODOIncentiveBoosts(chainId, __input1);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
77
127
|
|
|
78
128
|
/**
|
|
79
129
|
* fetch defaultRate
|
|
@@ -87,6 +137,16 @@ export function fetchDODOIncentiveDefaultRate(chainId: number) {
|
|
|
87
137
|
const __data = hexlify(concat(['0x2616501d', __encodeData]));
|
|
88
138
|
return contractRequests.batchCall<bigint>(chainId, __to, __data, [{"internalType":"uint256","name":"","type":"uint256"}])
|
|
89
139
|
}
|
|
140
|
+
export function getFetchDODOIncentiveDefaultRateQueryOptions(chainId: number | undefined) {
|
|
141
|
+
return {
|
|
142
|
+
queryKey: ['contract-request', chainId],
|
|
143
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
144
|
+
queryFn: () => {
|
|
145
|
+
// @ts-ignore
|
|
146
|
+
return fetchDODOIncentiveDefaultRate(chainId);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
90
150
|
|
|
91
151
|
/**
|
|
92
152
|
* fetch dodoPerBlock
|
|
@@ -100,6 +160,16 @@ export function fetchDODOIncentiveDodoPerBlock(chainId: number) {
|
|
|
100
160
|
const __data = hexlify(concat(['0x8af70336', __encodeData]));
|
|
101
161
|
return contractRequests.batchCall<bigint>(chainId, __to, __data, [{"internalType":"uint256","name":"","type":"uint256"}])
|
|
102
162
|
}
|
|
163
|
+
export function getFetchDODOIncentiveDodoPerBlockQueryOptions(chainId: number | undefined) {
|
|
164
|
+
return {
|
|
165
|
+
queryKey: ['contract-request', chainId],
|
|
166
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
167
|
+
queryFn: () => {
|
|
168
|
+
// @ts-ignore
|
|
169
|
+
return fetchDODOIncentiveDodoPerBlock(chainId);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
103
173
|
|
|
104
174
|
/**
|
|
105
175
|
* fetch incentiveStatus
|
|
@@ -125,6 +195,16 @@ export function fetchDODOIncentiveIncentiveStatus(chainId: number, fromToken: st
|
|
|
125
195
|
perBlockReward: bigint;
|
|
126
196
|
}>(chainId, __to, __data, [{"internalType":"uint256","name":"reward","type":"uint256"},{"internalType":"uint256","name":"baseRate","type":"uint256"},{"internalType":"uint256","name":"totalRate","type":"uint256"},{"internalType":"uint256","name":"curTotalReward","type":"uint256"},{"internalType":"uint256","name":"perBlockReward","type":"uint256"}])
|
|
127
197
|
}
|
|
198
|
+
export function getFetchDODOIncentiveIncentiveStatusQueryOptions(chainId: number | undefined, fromToken: string | undefined, toToken: string | undefined) {
|
|
199
|
+
return {
|
|
200
|
+
queryKey: ['contract-request', chainId, fromToken, toToken],
|
|
201
|
+
enabled: [chainId !== undefined && chainId !== null, fromToken !== undefined && fromToken !== null, toToken !== undefined && toToken !== null],
|
|
202
|
+
queryFn: () => {
|
|
203
|
+
// @ts-ignore
|
|
204
|
+
return fetchDODOIncentiveIncentiveStatus(chainId, fromToken, toToken);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
128
208
|
|
|
129
209
|
/**
|
|
130
210
|
* fetch lastRewardBlock
|
|
@@ -138,6 +218,16 @@ export function fetchDODOIncentiveLastRewardBlock(chainId: number) {
|
|
|
138
218
|
const __data = hexlify(concat(['0xa9f8d181', __encodeData]));
|
|
139
219
|
return contractRequests.batchCall<bigint>(chainId, __to, __data, [{"internalType":"uint32","name":"","type":"uint32"}])
|
|
140
220
|
}
|
|
221
|
+
export function getFetchDODOIncentiveLastRewardBlockQueryOptions(chainId: number | undefined) {
|
|
222
|
+
return {
|
|
223
|
+
queryKey: ['contract-request', chainId],
|
|
224
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
225
|
+
queryFn: () => {
|
|
226
|
+
// @ts-ignore
|
|
227
|
+
return fetchDODOIncentiveLastRewardBlock(chainId);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
141
231
|
|
|
142
232
|
/**
|
|
143
233
|
* fetch totalDistribution
|
|
@@ -151,6 +241,16 @@ export function fetchDODOIncentiveTotalDistribution(chainId: number) {
|
|
|
151
241
|
const __data = hexlify(concat(['0xe75e454e', __encodeData]));
|
|
152
242
|
return contractRequests.batchCall<bigint>(chainId, __to, __data, [{"internalType":"uint112","name":"","type":"uint112"}])
|
|
153
243
|
}
|
|
244
|
+
export function getFetchDODOIncentiveTotalDistributionQueryOptions(chainId: number | undefined) {
|
|
245
|
+
return {
|
|
246
|
+
queryKey: ['contract-request', chainId],
|
|
247
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
248
|
+
queryFn: () => {
|
|
249
|
+
// @ts-ignore
|
|
250
|
+
return fetchDODOIncentiveTotalDistribution(chainId);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
154
254
|
|
|
155
255
|
/**
|
|
156
256
|
* fetch totalReward
|
|
@@ -164,6 +264,16 @@ export function fetchDODOIncentiveTotalReward(chainId: number) {
|
|
|
164
264
|
const __data = hexlify(concat(['0x750142e6', __encodeData]));
|
|
165
265
|
return contractRequests.batchCall<bigint>(chainId, __to, __data, [{"internalType":"uint112","name":"","type":"uint112"}])
|
|
166
266
|
}
|
|
267
|
+
export function getFetchDODOIncentiveTotalRewardQueryOptions(chainId: number | undefined) {
|
|
268
|
+
return {
|
|
269
|
+
queryKey: ['contract-request', chainId],
|
|
270
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
271
|
+
queryFn: () => {
|
|
272
|
+
// @ts-ignore
|
|
273
|
+
return fetchDODOIncentiveTotalReward(chainId);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
167
277
|
|
|
168
278
|
/**
|
|
169
279
|
* encode changeBoost
|
|
@@ -21,6 +21,16 @@ export function fetchDODOMineV2Factory_CLONE_FACTORY_(chainId: number) {
|
|
|
21
21
|
const __data = hexlify(concat(['0xeb774d05', __encodeData]));
|
|
22
22
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
23
23
|
}
|
|
24
|
+
export function getFetchDODOMineV2Factory_CLONE_FACTORY_QueryOptions(chainId: number | undefined) {
|
|
25
|
+
return {
|
|
26
|
+
queryKey: ['contract-request', chainId],
|
|
27
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
28
|
+
queryFn: () => {
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
return fetchDODOMineV2Factory_CLONE_FACTORY_(chainId);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
24
34
|
|
|
25
35
|
/**
|
|
26
36
|
* fetch _DEFAULT_MAINTAINER_
|
|
@@ -34,6 +44,16 @@ export function fetchDODOMineV2Factory_DEFAULT_MAINTAINER_(chainId: number) {
|
|
|
34
44
|
const __data = hexlify(concat(['0x81ab4d0a', __encodeData]));
|
|
35
45
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
36
46
|
}
|
|
47
|
+
export function getFetchDODOMineV2Factory_DEFAULT_MAINTAINER_QueryOptions(chainId: number | undefined) {
|
|
48
|
+
return {
|
|
49
|
+
queryKey: ['contract-request', chainId],
|
|
50
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
51
|
+
queryFn: () => {
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
return fetchDODOMineV2Factory_DEFAULT_MAINTAINER_(chainId);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
37
57
|
|
|
38
58
|
/**
|
|
39
59
|
* fetch _MINEV2_TEMPLATE_
|
|
@@ -47,6 +67,16 @@ export function fetchDODOMineV2Factory_MINEV2_TEMPLATE_(chainId: number) {
|
|
|
47
67
|
const __data = hexlify(concat(['0x121a5431', __encodeData]));
|
|
48
68
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
49
69
|
}
|
|
70
|
+
export function getFetchDODOMineV2Factory_MINEV2_TEMPLATE_QueryOptions(chainId: number | undefined) {
|
|
71
|
+
return {
|
|
72
|
+
queryKey: ['contract-request', chainId],
|
|
73
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
74
|
+
queryFn: () => {
|
|
75
|
+
// @ts-ignore
|
|
76
|
+
return fetchDODOMineV2Factory_MINEV2_TEMPLATE_(chainId);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
50
80
|
|
|
51
81
|
/**
|
|
52
82
|
* fetch _MINE_REGISTRY_
|
|
@@ -61,6 +91,16 @@ export function fetchDODOMineV2Factory_MINE_REGISTRY_(chainId: number, __input1:
|
|
|
61
91
|
const __data = hexlify(concat(['0x468c8d23', __encodeData]));
|
|
62
92
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
63
93
|
}
|
|
94
|
+
export function getFetchDODOMineV2Factory_MINE_REGISTRY_QueryOptions(chainId: number | undefined, __input1: string | undefined) {
|
|
95
|
+
return {
|
|
96
|
+
queryKey: ['contract-request', chainId, __input1],
|
|
97
|
+
enabled: [chainId !== undefined && chainId !== null, __input1 !== undefined && __input1 !== null],
|
|
98
|
+
queryFn: () => {
|
|
99
|
+
// @ts-ignore
|
|
100
|
+
return fetchDODOMineV2Factory_MINE_REGISTRY_(chainId, __input1);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
64
104
|
|
|
65
105
|
/**
|
|
66
106
|
* fetch _NEW_OWNER_
|
|
@@ -74,6 +114,16 @@ export function fetchDODOMineV2Factory_NEW_OWNER_(chainId: number) {
|
|
|
74
114
|
const __data = hexlify(concat(['0x8456db15', __encodeData]));
|
|
75
115
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
76
116
|
}
|
|
117
|
+
export function getFetchDODOMineV2Factory_NEW_OWNER_QueryOptions(chainId: number | undefined) {
|
|
118
|
+
return {
|
|
119
|
+
queryKey: ['contract-request', chainId],
|
|
120
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
121
|
+
queryFn: () => {
|
|
122
|
+
// @ts-ignore
|
|
123
|
+
return fetchDODOMineV2Factory_NEW_OWNER_(chainId);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
77
127
|
|
|
78
128
|
/**
|
|
79
129
|
* fetch _OWNER_
|
|
@@ -87,6 +137,16 @@ export function fetchDODOMineV2Factory_OWNER_(chainId: number) {
|
|
|
87
137
|
const __data = hexlify(concat(['0x16048bc4', __encodeData]));
|
|
88
138
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
89
139
|
}
|
|
140
|
+
export function getFetchDODOMineV2Factory_OWNER_QueryOptions(chainId: number | undefined) {
|
|
141
|
+
return {
|
|
142
|
+
queryKey: ['contract-request', chainId],
|
|
143
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
144
|
+
queryFn: () => {
|
|
145
|
+
// @ts-ignore
|
|
146
|
+
return fetchDODOMineV2Factory_OWNER_(chainId);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
90
150
|
|
|
91
151
|
/**
|
|
92
152
|
* fetch _STAKE_REGISTRY_
|
|
@@ -101,6 +161,16 @@ export function fetchDODOMineV2Factory_STAKE_REGISTRY_(chainId: number, __input1
|
|
|
101
161
|
const __data = hexlify(concat(['0x283e4275', __encodeData]));
|
|
102
162
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
103
163
|
}
|
|
164
|
+
export function getFetchDODOMineV2Factory_STAKE_REGISTRY_QueryOptions(chainId: number | undefined, __input1: string | undefined) {
|
|
165
|
+
return {
|
|
166
|
+
queryKey: ['contract-request', chainId, __input1],
|
|
167
|
+
enabled: [chainId !== undefined && chainId !== null, __input1 !== undefined && __input1 !== null],
|
|
168
|
+
queryFn: () => {
|
|
169
|
+
// @ts-ignore
|
|
170
|
+
return fetchDODOMineV2Factory_STAKE_REGISTRY_(chainId, __input1);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
104
174
|
|
|
105
175
|
/**
|
|
106
176
|
* encode addByAdmin
|
|
@@ -21,6 +21,16 @@ export function fetchDODOMineV3Proxy_CLONE_FACTORY_(chainId: number) {
|
|
|
21
21
|
const __data = hexlify(concat(['0xeb774d05', __encodeData]));
|
|
22
22
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
23
23
|
}
|
|
24
|
+
export function getFetchDODOMineV3Proxy_CLONE_FACTORY_QueryOptions(chainId: number | undefined) {
|
|
25
|
+
return {
|
|
26
|
+
queryKey: ['contract-request', chainId],
|
|
27
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
28
|
+
queryFn: () => {
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
return fetchDODOMineV3Proxy_CLONE_FACTORY_(chainId);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
24
34
|
|
|
25
35
|
/**
|
|
26
36
|
* fetch _DODO_APPROVE_PROXY_
|
|
@@ -34,6 +44,16 @@ export function fetchDODOMineV3Proxy_DODO_APPROVE_PROXY_(chainId: number) {
|
|
|
34
44
|
const __data = hexlify(concat(['0xeb99be12', __encodeData]));
|
|
35
45
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
36
46
|
}
|
|
47
|
+
export function getFetchDODOMineV3Proxy_DODO_APPROVE_PROXY_QueryOptions(chainId: number | undefined) {
|
|
48
|
+
return {
|
|
49
|
+
queryKey: ['contract-request', chainId],
|
|
50
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
51
|
+
queryFn: () => {
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
return fetchDODOMineV3Proxy_DODO_APPROVE_PROXY_(chainId);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
37
57
|
|
|
38
58
|
/**
|
|
39
59
|
* fetch _DODO_MINEV3_REGISTRY_
|
|
@@ -47,6 +67,16 @@ export function fetchDODOMineV3Proxy_DODO_MINEV3_REGISTRY_(chainId: number) {
|
|
|
47
67
|
const __data = hexlify(concat(['0x3eab5388', __encodeData]));
|
|
48
68
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
49
69
|
}
|
|
70
|
+
export function getFetchDODOMineV3Proxy_DODO_MINEV3_REGISTRY_QueryOptions(chainId: number | undefined) {
|
|
71
|
+
return {
|
|
72
|
+
queryKey: ['contract-request', chainId],
|
|
73
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
74
|
+
queryFn: () => {
|
|
75
|
+
// @ts-ignore
|
|
76
|
+
return fetchDODOMineV3Proxy_DODO_MINEV3_REGISTRY_(chainId);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
50
80
|
|
|
51
81
|
/**
|
|
52
82
|
* fetch _MINEV3_TEMPLATE_
|
|
@@ -60,6 +90,16 @@ export function fetchDODOMineV3Proxy_MINEV3_TEMPLATE_(chainId: number) {
|
|
|
60
90
|
const __data = hexlify(concat(['0x67505083', __encodeData]));
|
|
61
91
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
62
92
|
}
|
|
93
|
+
export function getFetchDODOMineV3Proxy_MINEV3_TEMPLATE_QueryOptions(chainId: number | undefined) {
|
|
94
|
+
return {
|
|
95
|
+
queryKey: ['contract-request', chainId],
|
|
96
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
97
|
+
queryFn: () => {
|
|
98
|
+
// @ts-ignore
|
|
99
|
+
return fetchDODOMineV3Proxy_MINEV3_TEMPLATE_(chainId);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
63
103
|
|
|
64
104
|
/**
|
|
65
105
|
* fetch _NEW_OWNER_
|
|
@@ -73,6 +113,16 @@ export function fetchDODOMineV3Proxy_NEW_OWNER_(chainId: number) {
|
|
|
73
113
|
const __data = hexlify(concat(['0x8456db15', __encodeData]));
|
|
74
114
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
75
115
|
}
|
|
116
|
+
export function getFetchDODOMineV3Proxy_NEW_OWNER_QueryOptions(chainId: number | undefined) {
|
|
117
|
+
return {
|
|
118
|
+
queryKey: ['contract-request', chainId],
|
|
119
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
120
|
+
queryFn: () => {
|
|
121
|
+
// @ts-ignore
|
|
122
|
+
return fetchDODOMineV3Proxy_NEW_OWNER_(chainId);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
76
126
|
|
|
77
127
|
/**
|
|
78
128
|
* fetch _OWNER_
|
|
@@ -86,6 +136,16 @@ export function fetchDODOMineV3Proxy_OWNER_(chainId: number) {
|
|
|
86
136
|
const __data = hexlify(concat(['0x16048bc4', __encodeData]));
|
|
87
137
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
88
138
|
}
|
|
139
|
+
export function getFetchDODOMineV3Proxy_OWNER_QueryOptions(chainId: number | undefined) {
|
|
140
|
+
return {
|
|
141
|
+
queryKey: ['contract-request', chainId],
|
|
142
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
143
|
+
queryFn: () => {
|
|
144
|
+
// @ts-ignore
|
|
145
|
+
return fetchDODOMineV3Proxy_OWNER_(chainId);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
89
149
|
|
|
90
150
|
/**
|
|
91
151
|
* encode claimOwnership
|
|
@@ -21,6 +21,16 @@ export function fetchDODOMineV3ProxyWithoutPlatform_CLONE_FACTORY_(chainId: numb
|
|
|
21
21
|
const __data = hexlify(concat(['0xeb774d05', __encodeData]));
|
|
22
22
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
23
23
|
}
|
|
24
|
+
export function getFetchDODOMineV3ProxyWithoutPlatform_CLONE_FACTORY_QueryOptions(chainId: number | undefined) {
|
|
25
|
+
return {
|
|
26
|
+
queryKey: ['contract-request', chainId],
|
|
27
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
28
|
+
queryFn: () => {
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
return fetchDODOMineV3ProxyWithoutPlatform_CLONE_FACTORY_(chainId);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
24
34
|
|
|
25
35
|
/**
|
|
26
36
|
* fetch _DODO_APPROVE_PROXY_
|
|
@@ -34,6 +44,16 @@ export function fetchDODOMineV3ProxyWithoutPlatform_DODO_APPROVE_PROXY_(chainId:
|
|
|
34
44
|
const __data = hexlify(concat(['0xeb99be12', __encodeData]));
|
|
35
45
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
36
46
|
}
|
|
47
|
+
export function getFetchDODOMineV3ProxyWithoutPlatform_DODO_APPROVE_PROXY_QueryOptions(chainId: number | undefined) {
|
|
48
|
+
return {
|
|
49
|
+
queryKey: ['contract-request', chainId],
|
|
50
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
51
|
+
queryFn: () => {
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
return fetchDODOMineV3ProxyWithoutPlatform_DODO_APPROVE_PROXY_(chainId);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
37
57
|
|
|
38
58
|
/**
|
|
39
59
|
* fetch _DODO_MINEV3_REGISTRY_
|
|
@@ -47,6 +67,16 @@ export function fetchDODOMineV3ProxyWithoutPlatform_DODO_MINEV3_REGISTRY_(chainI
|
|
|
47
67
|
const __data = hexlify(concat(['0x3eab5388', __encodeData]));
|
|
48
68
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
49
69
|
}
|
|
70
|
+
export function getFetchDODOMineV3ProxyWithoutPlatform_DODO_MINEV3_REGISTRY_QueryOptions(chainId: number | undefined) {
|
|
71
|
+
return {
|
|
72
|
+
queryKey: ['contract-request', chainId],
|
|
73
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
74
|
+
queryFn: () => {
|
|
75
|
+
// @ts-ignore
|
|
76
|
+
return fetchDODOMineV3ProxyWithoutPlatform_DODO_MINEV3_REGISTRY_(chainId);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
50
80
|
|
|
51
81
|
/**
|
|
52
82
|
* fetch _MINEV3_TEMPLATE_
|
|
@@ -60,6 +90,16 @@ export function fetchDODOMineV3ProxyWithoutPlatform_MINEV3_TEMPLATE_(chainId: nu
|
|
|
60
90
|
const __data = hexlify(concat(['0x67505083', __encodeData]));
|
|
61
91
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
62
92
|
}
|
|
93
|
+
export function getFetchDODOMineV3ProxyWithoutPlatform_MINEV3_TEMPLATE_QueryOptions(chainId: number | undefined) {
|
|
94
|
+
return {
|
|
95
|
+
queryKey: ['contract-request', chainId],
|
|
96
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
97
|
+
queryFn: () => {
|
|
98
|
+
// @ts-ignore
|
|
99
|
+
return fetchDODOMineV3ProxyWithoutPlatform_MINEV3_TEMPLATE_(chainId);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
63
103
|
|
|
64
104
|
/**
|
|
65
105
|
* fetch _NEW_OWNER_
|
|
@@ -73,6 +113,16 @@ export function fetchDODOMineV3ProxyWithoutPlatform_NEW_OWNER_(chainId: number)
|
|
|
73
113
|
const __data = hexlify(concat(['0x8456db15', __encodeData]));
|
|
74
114
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
75
115
|
}
|
|
116
|
+
export function getFetchDODOMineV3ProxyWithoutPlatform_NEW_OWNER_QueryOptions(chainId: number | undefined) {
|
|
117
|
+
return {
|
|
118
|
+
queryKey: ['contract-request', chainId],
|
|
119
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
120
|
+
queryFn: () => {
|
|
121
|
+
// @ts-ignore
|
|
122
|
+
return fetchDODOMineV3ProxyWithoutPlatform_NEW_OWNER_(chainId);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
76
126
|
|
|
77
127
|
/**
|
|
78
128
|
* fetch _OWNER_
|
|
@@ -86,6 +136,16 @@ export function fetchDODOMineV3ProxyWithoutPlatform_OWNER_(chainId: number) {
|
|
|
86
136
|
const __data = hexlify(concat(['0x16048bc4', __encodeData]));
|
|
87
137
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
88
138
|
}
|
|
139
|
+
export function getFetchDODOMineV3ProxyWithoutPlatform_OWNER_QueryOptions(chainId: number | undefined) {
|
|
140
|
+
return {
|
|
141
|
+
queryKey: ['contract-request', chainId],
|
|
142
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
143
|
+
queryFn: () => {
|
|
144
|
+
// @ts-ignore
|
|
145
|
+
return fetchDODOMineV3ProxyWithoutPlatform_OWNER_(chainId);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
89
149
|
|
|
90
150
|
/**
|
|
91
151
|
* encode claimOwnership
|
|
@@ -23,6 +23,16 @@ export function fetchDODOMineV3Registry_LP_REGISTRY_(chainId: number, __input1:
|
|
|
23
23
|
const __data = hexlify(concat(['0x06e6a8da', __encodeData]));
|
|
24
24
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
25
25
|
}
|
|
26
|
+
export function getFetchDODOMineV3Registry_LP_REGISTRY_QueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: number | undefined) {
|
|
27
|
+
return {
|
|
28
|
+
queryKey: ['contract-request', chainId, __input1, __input2],
|
|
29
|
+
enabled: [chainId !== undefined && chainId !== null, __input1 !== undefined && __input1 !== null, __input2 !== undefined && __input2 !== null],
|
|
30
|
+
queryFn: () => {
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
return fetchDODOMineV3Registry_LP_REGISTRY_(chainId, __input1, __input2);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
26
36
|
|
|
27
37
|
/**
|
|
28
38
|
* fetch _MINE_REGISTRY_
|
|
@@ -37,6 +47,16 @@ export function fetchDODOMineV3Registry_MINE_REGISTRY_(chainId: number, __input1
|
|
|
37
47
|
const __data = hexlify(concat(['0x468c8d23', __encodeData]));
|
|
38
48
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
39
49
|
}
|
|
50
|
+
export function getFetchDODOMineV3Registry_MINE_REGISTRY_QueryOptions(chainId: number | undefined, __input1: string | undefined) {
|
|
51
|
+
return {
|
|
52
|
+
queryKey: ['contract-request', chainId, __input1],
|
|
53
|
+
enabled: [chainId !== undefined && chainId !== null, __input1 !== undefined && __input1 !== null],
|
|
54
|
+
queryFn: () => {
|
|
55
|
+
// @ts-ignore
|
|
56
|
+
return fetchDODOMineV3Registry_MINE_REGISTRY_(chainId, __input1);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
40
60
|
|
|
41
61
|
/**
|
|
42
62
|
* fetch _NEW_OWNER_
|
|
@@ -50,6 +70,16 @@ export function fetchDODOMineV3Registry_NEW_OWNER_(chainId: number) {
|
|
|
50
70
|
const __data = hexlify(concat(['0x8456db15', __encodeData]));
|
|
51
71
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
52
72
|
}
|
|
73
|
+
export function getFetchDODOMineV3Registry_NEW_OWNER_QueryOptions(chainId: number | undefined) {
|
|
74
|
+
return {
|
|
75
|
+
queryKey: ['contract-request', chainId],
|
|
76
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
77
|
+
queryFn: () => {
|
|
78
|
+
// @ts-ignore
|
|
79
|
+
return fetchDODOMineV3Registry_NEW_OWNER_(chainId);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
53
83
|
|
|
54
84
|
/**
|
|
55
85
|
* fetch _OWNER_
|
|
@@ -63,6 +93,16 @@ export function fetchDODOMineV3Registry_OWNER_(chainId: number) {
|
|
|
63
93
|
const __data = hexlify(concat(['0x16048bc4', __encodeData]));
|
|
64
94
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
65
95
|
}
|
|
96
|
+
export function getFetchDODOMineV3Registry_OWNER_QueryOptions(chainId: number | undefined) {
|
|
97
|
+
return {
|
|
98
|
+
queryKey: ['contract-request', chainId],
|
|
99
|
+
enabled: [chainId !== undefined && chainId !== null],
|
|
100
|
+
queryFn: () => {
|
|
101
|
+
// @ts-ignore
|
|
102
|
+
return fetchDODOMineV3Registry_OWNER_(chainId);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
66
106
|
|
|
67
107
|
/**
|
|
68
108
|
* fetch _SINGLE_REGISTRY_
|
|
@@ -78,6 +118,16 @@ export function fetchDODOMineV3Registry_SINGLE_REGISTRY_(chainId: number, __inpu
|
|
|
78
118
|
const __data = hexlify(concat(['0xa3116529', __encodeData]));
|
|
79
119
|
return contractRequests.batchCall<string>(chainId, __to, __data, [{"internalType":"address","name":"","type":"address"}])
|
|
80
120
|
}
|
|
121
|
+
export function getFetchDODOMineV3Registry_SINGLE_REGISTRY_QueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: number | undefined) {
|
|
122
|
+
return {
|
|
123
|
+
queryKey: ['contract-request', chainId, __input1, __input2],
|
|
124
|
+
enabled: [chainId !== undefined && chainId !== null, __input1 !== undefined && __input1 !== null, __input2 !== undefined && __input2 !== null],
|
|
125
|
+
queryFn: () => {
|
|
126
|
+
// @ts-ignore
|
|
127
|
+
return fetchDODOMineV3Registry_SINGLE_REGISTRY_(chainId, __input1, __input2);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
81
131
|
|
|
82
132
|
/**
|
|
83
133
|
* fetch isAdminListed
|
|
@@ -92,6 +142,16 @@ export function fetchDODOMineV3RegistryIsAdminListed(chainId: number, __input1:
|
|
|
92
142
|
const __data = hexlify(concat(['0x1822c0c0', __encodeData]));
|
|
93
143
|
return contractRequests.batchCall<boolean>(chainId, __to, __data, [{"internalType":"bool","name":"","type":"bool"}])
|
|
94
144
|
}
|
|
145
|
+
export function getFetchDODOMineV3RegistryIsAdminListedQueryOptions(chainId: number | undefined, __input1: string | undefined) {
|
|
146
|
+
return {
|
|
147
|
+
queryKey: ['contract-request', chainId, __input1],
|
|
148
|
+
enabled: [chainId !== undefined && chainId !== null, __input1 !== undefined && __input1 !== null],
|
|
149
|
+
queryFn: () => {
|
|
150
|
+
// @ts-ignore
|
|
151
|
+
return fetchDODOMineV3RegistryIsAdminListed(chainId, __input1);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
95
155
|
|
|
96
156
|
/**
|
|
97
157
|
* encode addAdminList
|