@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.
Files changed (134) hide show
  1. package/.releaserc.json +8 -3
  2. package/CHANGELOG.md +15 -25
  3. package/contract-config/sepolia.json +2 -2
  4. package/dist/index.cjs +1 -1
  5. package/dist/index.js +1 -1
  6. package/dist/types/contract/BuyoutModel.d.ts +42 -12
  7. package/dist/types/contract/CP.d.ts +214 -50
  8. package/dist/types/contract/CloneFactory.d.ts +1 -1
  9. package/dist/types/contract/CrowdPoolingFactory.d.ts +126 -34
  10. package/dist/types/contract/CustomERC20.d.ts +75 -20
  11. package/dist/types/contract/CustomMintableERC20.d.ts +77 -22
  12. package/dist/types/contract/D3Proxy.d.ts +33 -13
  13. package/dist/types/contract/D3Vault.d.ts +324 -123
  14. package/dist/types/contract/DODOApprove.d.ts +44 -14
  15. package/dist/types/contract/DODOApproveProxy.d.ts +51 -16
  16. package/dist/types/contract/DODOCalleeHelper.d.ts +10 -5
  17. package/dist/types/contract/DODOCirculationHelper.d.ts +47 -12
  18. package/dist/types/contract/DODOCpProxy.d.ts +20 -5
  19. package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +20 -5
  20. package/dist/types/contract/DODODppProxy.d.ts +20 -5
  21. package/dist/types/contract/DODODspProxy.d.ts +27 -7
  22. package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +20 -5
  23. package/dist/types/contract/DODOIncentive.d.ts +75 -26
  24. package/dist/types/contract/DODOMineV2Factory.d.ts +50 -15
  25. package/dist/types/contract/DODOMineV3Proxy.d.ts +43 -13
  26. package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +43 -13
  27. package/dist/types/contract/DODOMineV3Registry.d.ts +43 -13
  28. package/dist/types/contract/DODONFT.d.ts +95 -25
  29. package/dist/types/contract/DODONFT1155.d.ts +56 -16
  30. package/dist/types/contract/DODONFTApprove.d.ts +47 -17
  31. package/dist/types/contract/DODONFTPoolProxy.d.ts +74 -24
  32. package/dist/types/contract/DODONFTProxy.d.ts +84 -24
  33. package/dist/types/contract/DODONFTRegistry.d.ts +49 -17
  34. package/dist/types/contract/DODONFTRouteHelper.d.ts +12 -2
  35. package/dist/types/contract/DODOSellHelper.d.ts +12 -2
  36. package/dist/types/contract/DODOStarterProxy.d.ts +13 -3
  37. package/dist/types/contract/DODOV1.d.ts +269 -77
  38. package/dist/types/contract/DODOV1Adapter.d.ts +8 -3
  39. package/dist/types/contract/DODOV1PmmHelper.d.ts +6 -1
  40. package/dist/types/contract/DODOV1Proxy.d.ts +13 -8
  41. package/dist/types/contract/DODOV2Proxy02.d.ts +97 -32
  42. package/dist/types/contract/DODOV2RouteHelper.d.ts +24 -4
  43. package/dist/types/contract/DPPAdvanced.d.ts +172 -69
  44. package/dist/types/contract/DPPAdvancedAdmin.d.ts +51 -16
  45. package/dist/types/contract/DPPFactory.d.ts +97 -30
  46. package/dist/types/contract/DSP.d.ts +221 -78
  47. package/dist/types/contract/DSPFactory.d.ts +73 -21
  48. package/dist/types/contract/DVM.d.ts +203 -71
  49. package/dist/types/contract/DVMFactory.d.ts +73 -21
  50. package/dist/types/contract/ERC20.d.ts +41 -11
  51. package/dist/types/contract/ERC20Helper.d.ts +24 -23
  52. package/dist/types/contract/ERC20MineV3.d.ts +91 -36
  53. package/dist/types/contract/ERC20V3Factory.d.ts +77 -26
  54. package/dist/types/contract/FeeRateDIP3Impl.d.ts +71 -30
  55. package/dist/types/contract/FeeRateModel.d.ts +28 -8
  56. package/dist/types/contract/GSP.d.ts +265 -95
  57. package/dist/types/contract/GSPFactory.d.ts +68 -21
  58. package/dist/types/contract/InitializableERC20.d.ts +46 -11
  59. package/dist/types/contract/LimitOrder.d.ts +71 -21
  60. package/dist/types/contract/LimitOrderBot.d.ts +45 -15
  61. package/dist/types/contract/MulticallWithValid.d.ts +43 -8
  62. package/dist/types/contract/PermissionManager.d.ts +33 -13
  63. package/dist/types/contract/UniswapV2Factory.d.ts +34 -9
  64. package/dist/types/contract/UniswapV2Pair.d.ts +126 -35
  65. package/dist/types/contract/UniswapV2Router02.d.ts +59 -24
  66. package/dist/types/contract/dodoTeam.d.ts +100 -33
  67. package/dist/types/contract/vDODOToken.d.ts +196 -58
  68. package/dist/types/contractRequests.d.ts +1 -1
  69. package/dist/types/index.d.ts +1 -0
  70. package/package.json +1 -1
  71. package/scripts/contract-generate.ts +8 -1
  72. package/src/config/sepolia.ts +1 -1
  73. package/src/contract/BuyoutModel.ts +60 -0
  74. package/src/contract/CP.ts +340 -0
  75. package/src/contract/CrowdPoolingFactory.ts +190 -0
  76. package/src/contract/CustomERC20.ts +110 -0
  77. package/src/contract/CustomMintableERC20.ts +110 -0
  78. package/src/contract/D3Proxy.ts +40 -0
  79. package/src/contract/D3Vault.ts +480 -0
  80. package/src/contract/DODOApprove.ts +60 -0
  81. package/src/contract/DODOApproveProxy.ts +70 -0
  82. package/src/contract/DODOCalleeHelper.ts +10 -0
  83. package/src/contract/DODOCirculationHelper.ts +70 -0
  84. package/src/contract/DODOCpProxy.ts +30 -0
  85. package/src/contract/DODOCpProxyWithoutGlobalQuota.ts +30 -0
  86. package/src/contract/DODODppProxy.ts +30 -0
  87. package/src/contract/DODODspProxy.ts +40 -0
  88. package/src/contract/DODODspProxyWithoutGSP.ts +30 -0
  89. package/src/contract/DODOIncentive.ts +110 -0
  90. package/src/contract/DODOMineV2Factory.ts +70 -0
  91. package/src/contract/DODOMineV3Proxy.ts +60 -0
  92. package/src/contract/DODOMineV3ProxyWithoutPlatform.ts +60 -0
  93. package/src/contract/DODOMineV3Registry.ts +60 -0
  94. package/src/contract/DODONFT.ts +140 -0
  95. package/src/contract/DODONFT1155.ts +80 -0
  96. package/src/contract/DODONFTApprove.ts +60 -0
  97. package/src/contract/DODONFTPoolProxy.ts +100 -0
  98. package/src/contract/DODONFTProxy.ts +120 -0
  99. package/src/contract/DODONFTRegistry.ts +70 -0
  100. package/src/contract/DODONFTRouteHelper.ts +20 -0
  101. package/src/contract/DODOSellHelper.ts +20 -0
  102. package/src/contract/DODOStarterProxy.ts +20 -0
  103. package/src/contract/DODOV1.ts +390 -0
  104. package/src/contract/DODOV1Adapter.ts +10 -0
  105. package/src/contract/DODOV1PmmHelper.ts +10 -0
  106. package/src/contract/DODOV1Proxy.ts +10 -0
  107. package/src/contract/DODOV2Proxy02.ts +130 -0
  108. package/src/contract/DODOV2RouteHelper.ts +40 -0
  109. package/src/contract/DPPAdvanced.ts +270 -0
  110. package/src/contract/DPPAdvancedAdmin.ts +70 -0
  111. package/src/contract/DPPFactory.ts +140 -0
  112. package/src/contract/DSP.ts +350 -0
  113. package/src/contract/DSPFactory.ts +110 -0
  114. package/src/contract/DVM.ts +320 -0
  115. package/src/contract/DVMFactory.ts +110 -0
  116. package/src/contract/ERC20.ts +60 -0
  117. package/src/contract/ERC20Helper.ts +40 -0
  118. package/src/contract/ERC20MineV3.ts +130 -0
  119. package/src/contract/ERC20V3Factory.ts +110 -0
  120. package/src/contract/FeeRateDIP3Impl.ts +100 -0
  121. package/src/contract/FeeRateModel.ts +40 -0
  122. package/src/contract/GSP.ts +410 -0
  123. package/src/contract/GSPFactory.ts +100 -0
  124. package/src/contract/InitializableERC20.ts +70 -0
  125. package/src/contract/LimitOrder.ts +100 -0
  126. package/src/contract/LimitOrderBot.ts +60 -0
  127. package/src/contract/MulticallWithValid.ts +70 -0
  128. package/src/contract/PermissionManager.ts +40 -0
  129. package/src/contract/UniswapV2Factory.ts +51 -1
  130. package/src/contract/UniswapV2Pair.ts +190 -0
  131. package/src/contract/UniswapV2Router02.ts +71 -1
  132. package/src/contract/dodoTeam.ts +140 -0
  133. package/src/contract/vDODOToken.ts +300 -0
  134. package/src/index.ts +2 -1
@@ -5,47 +5,82 @@ export declare function getMulticallWithValidContractAddressByChainId(chainId: n
5
5
  * @param {number} blockNumber - uint256
6
6
  * @returns {string} blockHash - bytes32
7
7
  */
8
- export declare function fetchMulticallWithValidGetBlockHash(chainId: number, blockNumber: number): Promise<string>;
8
+ export declare function fetchMulticallWithValidGetBlockHash(chainId: number, blockNumber: number): any;
9
+ export declare function getFetchMulticallWithValidGetBlockHashQueryOptions(chainId: number | undefined, blockNumber: number | undefined): {
10
+ queryKey: (string | number | undefined)[];
11
+ enabled: boolean[];
12
+ queryFn: () => any;
13
+ };
9
14
  /**
10
15
  * fetch getCurrentBlockCoinbase
11
16
  * @param {number} chainId - number
12
17
  * @returns {string} coinbase - address
13
18
  */
14
- export declare function fetchMulticallWithValidGetCurrentBlockCoinbase(chainId: number): Promise<string>;
19
+ export declare function fetchMulticallWithValidGetCurrentBlockCoinbase(chainId: number): any;
20
+ export declare function getFetchMulticallWithValidGetCurrentBlockCoinbaseQueryOptions(chainId: number | undefined): {
21
+ queryKey: (string | number | undefined)[];
22
+ enabled: boolean[];
23
+ queryFn: () => any;
24
+ };
15
25
  /**
16
26
  * fetch getCurrentBlockDifficulty
17
27
  * @param {number} chainId - number
18
28
  * @returns {bigint} difficulty - uint256
19
29
  */
20
- export declare function fetchMulticallWithValidGetCurrentBlockDifficulty(chainId: number): Promise<bigint>;
30
+ export declare function fetchMulticallWithValidGetCurrentBlockDifficulty(chainId: number): any;
31
+ export declare function getFetchMulticallWithValidGetCurrentBlockDifficultyQueryOptions(chainId: number | undefined): {
32
+ queryKey: (string | number | undefined)[];
33
+ enabled: boolean[];
34
+ queryFn: () => any;
35
+ };
21
36
  /**
22
37
  * fetch getCurrentBlockGasLimit
23
38
  * @param {number} chainId - number
24
39
  * @returns {bigint} gaslimit - uint256
25
40
  */
26
- export declare function fetchMulticallWithValidGetCurrentBlockGasLimit(chainId: number): Promise<bigint>;
41
+ export declare function fetchMulticallWithValidGetCurrentBlockGasLimit(chainId: number): any;
42
+ export declare function getFetchMulticallWithValidGetCurrentBlockGasLimitQueryOptions(chainId: number | undefined): {
43
+ queryKey: (string | number | undefined)[];
44
+ enabled: boolean[];
45
+ queryFn: () => any;
46
+ };
27
47
  /**
28
48
  * fetch getCurrentBlockTimestamp
29
49
  * @param {number} chainId - number
30
50
  * @returns {bigint} timestamp - uint256
31
51
  */
32
- export declare function fetchMulticallWithValidGetCurrentBlockTimestamp(chainId: number): Promise<bigint>;
52
+ export declare function fetchMulticallWithValidGetCurrentBlockTimestamp(chainId: number): any;
53
+ export declare function getFetchMulticallWithValidGetCurrentBlockTimestampQueryOptions(chainId: number | undefined): {
54
+ queryKey: (string | number | undefined)[];
55
+ enabled: boolean[];
56
+ queryFn: () => any;
57
+ };
33
58
  /**
34
59
  * fetch getEthBalance
35
60
  * @param {number} chainId - number
36
61
  * @param {string} addr - address
37
62
  * @returns {bigint} balance - uint256
38
63
  */
39
- export declare function fetchMulticallWithValidGetEthBalance(chainId: number, addr: string): Promise<bigint>;
64
+ export declare function fetchMulticallWithValidGetEthBalance(chainId: number, addr: string): any;
65
+ export declare function getFetchMulticallWithValidGetEthBalanceQueryOptions(chainId: number | undefined, addr: string | undefined): {
66
+ queryKey: (string | number | undefined)[];
67
+ enabled: boolean[];
68
+ queryFn: () => any;
69
+ };
40
70
  /**
41
71
  * fetch getLastBlockHash
42
72
  * @param {number} chainId - number
43
73
  * @returns {string} blockHash - bytes32
44
74
  */
45
- export declare function fetchMulticallWithValidGetLastBlockHash(chainId: number): Promise<string>;
75
+ export declare function fetchMulticallWithValidGetLastBlockHash(chainId: number): any;
76
+ export declare function getFetchMulticallWithValidGetLastBlockHashQueryOptions(chainId: number | undefined): {
77
+ queryKey: (string | number | undefined)[];
78
+ enabled: boolean[];
79
+ queryFn: () => any;
80
+ };
46
81
  /**
47
82
  * encode aggregate
48
83
  * @param {[string, string]} calls - tuple[]
49
84
  * @returns {string} encode data
50
85
  */
51
- export declare function encodeMulticallWithValidAggregate(calls: [string, string]): string;
86
+ export declare function encodeMulticallWithValidAggregate(calls: [string, string]): any;
@@ -4,21 +4,36 @@
4
4
  * @param {string} __to - string
5
5
  * @returns {string} __output0 - address
6
6
  */
7
- export declare function fetchPermissionManager_NEW_OWNER_(chainId: number, __to: string): Promise<string>;
7
+ export declare function fetchPermissionManager_NEW_OWNER_(chainId: number, __to: string): any;
8
+ export declare function getFetchPermissionManager_NEW_OWNER_QueryOptions(chainId: number | undefined, __to: string | undefined): {
9
+ queryKey: (string | number | undefined)[];
10
+ enabled: boolean[];
11
+ queryFn: () => any;
12
+ };
8
13
  /**
9
14
  * fetch _OWNER_
10
15
  * @param {number} chainId - number
11
16
  * @param {string} __to - string
12
17
  * @returns {string} __output0 - address
13
18
  */
14
- export declare function fetchPermissionManager_OWNER_(chainId: number, __to: string): Promise<string>;
19
+ export declare function fetchPermissionManager_OWNER_(chainId: number, __to: string): any;
20
+ export declare function getFetchPermissionManager_OWNER_QueryOptions(chainId: number | undefined, __to: string | undefined): {
21
+ queryKey: (string | number | undefined)[];
22
+ enabled: boolean[];
23
+ queryFn: () => any;
24
+ };
15
25
  /**
16
26
  * fetch _WHITELIST_MODE_ON_
17
27
  * @param {number} chainId - number
18
28
  * @param {string} __to - string
19
29
  * @returns {boolean} __output0 - bool
20
30
  */
21
- export declare function fetchPermissionManager_WHITELIST_MODE_ON_(chainId: number, __to: string): Promise<boolean>;
31
+ export declare function fetchPermissionManager_WHITELIST_MODE_ON_(chainId: number, __to: string): any;
32
+ export declare function getFetchPermissionManager_WHITELIST_MODE_ON_QueryOptions(chainId: number | undefined, __to: string | undefined): {
33
+ queryKey: (string | number | undefined)[];
34
+ enabled: boolean[];
35
+ queryFn: () => any;
36
+ };
22
37
  /**
23
38
  * fetch isAllowed
24
39
  * @param {number} chainId - number
@@ -26,58 +41,63 @@ export declare function fetchPermissionManager_WHITELIST_MODE_ON_(chainId: numbe
26
41
  * @param {string} account - address
27
42
  * @returns {boolean} __output0 - bool
28
43
  */
29
- export declare function fetchPermissionManagerIsAllowed(chainId: number, __to: string, account: string): Promise<boolean>;
44
+ export declare function fetchPermissionManagerIsAllowed(chainId: number, __to: string, account: string): any;
45
+ export declare function getFetchPermissionManagerIsAllowedQueryOptions(chainId: number | undefined, __to: string | undefined, account: string | undefined): {
46
+ queryKey: (string | number | undefined)[];
47
+ enabled: boolean[];
48
+ queryFn: () => any;
49
+ };
30
50
  /**
31
51
  * encode addToBlacklist
32
52
  * @param {string} account - address
33
53
  * @returns {string} encode data
34
54
  */
35
- export declare function encodePermissionManagerAddToBlacklist(account: string): string;
55
+ export declare function encodePermissionManagerAddToBlacklist(account: string): any;
36
56
  /**
37
57
  * encode addToWhitelist
38
58
  * @param {string} account - address
39
59
  * @returns {string} encode data
40
60
  */
41
- export declare function encodePermissionManagerAddToWhitelist(account: string): string;
61
+ export declare function encodePermissionManagerAddToWhitelist(account: string): any;
42
62
  /**
43
63
  * encode claimOwnership
44
64
 
45
65
  * @returns {string} encode data
46
66
  */
47
- export declare function encodePermissionManagerClaimOwnership(): string;
67
+ export declare function encodePermissionManagerClaimOwnership(): any;
48
68
  /**
49
69
  * encode initOwner
50
70
  * @param {string} newOwner - address
51
71
  * @returns {string} encode data
52
72
  */
53
- export declare function encodePermissionManagerInitOwner(newOwner: string): string;
73
+ export declare function encodePermissionManagerInitOwner(newOwner: string): any;
54
74
  /**
55
75
  * encode openBlacklistMode
56
76
 
57
77
  * @returns {string} encode data
58
78
  */
59
- export declare function encodePermissionManagerOpenBlacklistMode(): string;
79
+ export declare function encodePermissionManagerOpenBlacklistMode(): any;
60
80
  /**
61
81
  * encode openWhitelistMode
62
82
 
63
83
  * @returns {string} encode data
64
84
  */
65
- export declare function encodePermissionManagerOpenWhitelistMode(): string;
85
+ export declare function encodePermissionManagerOpenWhitelistMode(): any;
66
86
  /**
67
87
  * encode removeFromBlacklist
68
88
  * @param {string} account - address
69
89
  * @returns {string} encode data
70
90
  */
71
- export declare function encodePermissionManagerRemoveFromBlacklist(account: string): string;
91
+ export declare function encodePermissionManagerRemoveFromBlacklist(account: string): any;
72
92
  /**
73
93
  * encode removeFromWhitelist
74
94
  * @param {string} account - address
75
95
  * @returns {string} encode data
76
96
  */
77
- export declare function encodePermissionManagerRemoveFromWhitelist(account: string): string;
97
+ export declare function encodePermissionManagerRemoveFromWhitelist(account: string): any;
78
98
  /**
79
99
  * encode transferOwnership
80
100
  * @param {string} newOwner - address
81
101
  * @returns {string} encode data
82
102
  */
83
- export declare function encodePermissionManagerTransferOwnership(newOwner: string): string;
103
+ export declare function encodePermissionManagerTransferOwnership(newOwner: string): any;
@@ -5,25 +5,45 @@ 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): Promise<string>;
8
+ export declare function fetchUniswapV2FactoryAllPairs(chainId: number, __input1: number): any;
9
+ export declare function getFetchUniswapV2FactoryAllPairsQueryOptions(chainId: number | undefined, __input1: number | undefined): {
10
+ queryKey: (string | number | undefined)[];
11
+ enabled: boolean[];
12
+ queryFn: () => any;
13
+ };
9
14
  /**
10
15
  * fetch allPairsLength
11
16
  * @param {number} chainId - number
12
17
  * @returns {bigint} __output0 - uint256
13
18
  */
14
- export declare function fetchUniswapV2FactoryAllPairsLength(chainId: number): Promise<bigint>;
19
+ export declare function fetchUniswapV2FactoryAllPairsLength(chainId: number): any;
20
+ export declare function getFetchUniswapV2FactoryAllPairsLengthQueryOptions(chainId: number | undefined): {
21
+ queryKey: (string | number | undefined)[];
22
+ enabled: boolean[];
23
+ queryFn: () => any;
24
+ };
15
25
  /**
16
26
  * fetch feeTo
17
27
  * @param {number} chainId - number
18
28
  * @returns {string} __output0 - address
19
29
  */
20
- export declare function fetchUniswapV2FactoryFeeTo(chainId: number): Promise<string>;
30
+ export declare function fetchUniswapV2FactoryFeeTo(chainId: number): any;
31
+ export declare function getFetchUniswapV2FactoryFeeToQueryOptions(chainId: number | undefined): {
32
+ queryKey: (string | number | undefined)[];
33
+ enabled: boolean[];
34
+ queryFn: () => any;
35
+ };
21
36
  /**
22
37
  * fetch feeToSetter
23
38
  * @param {number} chainId - number
24
39
  * @returns {string} __output0 - address
25
40
  */
26
- export declare function fetchUniswapV2FactoryFeeToSetter(chainId: number): Promise<string>;
41
+ export declare function fetchUniswapV2FactoryFeeToSetter(chainId: number): any;
42
+ export declare function getFetchUniswapV2FactoryFeeToSetterQueryOptions(chainId: number | undefined): {
43
+ queryKey: (string | number | undefined)[];
44
+ enabled: boolean[];
45
+ queryFn: () => any;
46
+ };
27
47
  /**
28
48
  * fetch getPair
29
49
  * @param {number} chainId - number
@@ -32,7 +52,12 @@ export declare function fetchUniswapV2FactoryFeeToSetter(chainId: number): Promi
32
52
  * @param {number} __input3 - uint256
33
53
  * @returns {string} __output0 - address
34
54
  */
35
- export declare function fetchUniswapV2FactoryGetPair(chainId: number, __input1: string, __input2: string, __input3: number): Promise<string>;
55
+ export declare function fetchUniswapV2FactoryGetPair(chainId: number, __input1: string, __input2: string, __input3: number): any;
56
+ export declare function getFetchUniswapV2FactoryGetPairQueryOptions(chainId: number | undefined, __input1: string | undefined, __input2: string | undefined, __input3: number | undefined): {
57
+ queryKey: (string | number | undefined)[];
58
+ enabled: boolean[];
59
+ queryFn: () => any;
60
+ };
36
61
  /**
37
62
  * encode createPair
38
63
  * @param {string} tokenA - address
@@ -40,23 +65,23 @@ export declare function fetchUniswapV2FactoryGetPair(chainId: number, __input1:
40
65
  * @param {string | number} feeRate - uint256
41
66
  * @returns {string} encode data
42
67
  */
43
- export declare function encodeUniswapV2FactoryCreatePair(tokenA: string, tokenB: string, feeRate: string | number): string;
68
+ export declare function encodeUniswapV2FactoryCreatePair(tokenA: string, tokenB: string, feeRate: string | number): any;
44
69
  /**
45
70
  * encode setFeeTo
46
71
  * @param {string} _feeTo - address
47
72
  * @returns {string} encode data
48
73
  */
49
- export declare function encodeUniswapV2FactorySetFeeTo(_feeTo: string): string;
74
+ export declare function encodeUniswapV2FactorySetFeeTo(_feeTo: string): any;
50
75
  /**
51
76
  * encode setFeeToSetter
52
77
  * @param {string} _feeToSetter - address
53
78
  * @returns {string} encode data
54
79
  */
55
- export declare function encodeUniswapV2FactorySetFeeToSetter(_feeToSetter: string): string;
80
+ export declare function encodeUniswapV2FactorySetFeeToSetter(_feeToSetter: string): any;
56
81
  /**
57
82
  * encode setLpMtRatio
58
83
  * @param {string} pool - address
59
84
  * @param {string | number} ratio - uint256
60
85
  * @returns {string} encode data
61
86
  */
62
- export declare function encodeUniswapV2FactorySetLpMtRatio(pool: string, ratio: string | number): string;
87
+ export declare function encodeUniswapV2FactorySetLpMtRatio(pool: string, ratio: string | number): any;
@@ -4,21 +4,36 @@
4
4
  * @param {string} __to - string
5
5
  * @returns {string} __output0 - bytes32
6
6
  */
7
- export declare function fetchUniswapV2PairDOMAIN_SEPARATOR(chainId: number, __to: string): Promise<string>;
7
+ export declare function fetchUniswapV2PairDOMAIN_SEPARATOR(chainId: number, __to: string): any;
8
+ export declare function getFetchUniswapV2PairDOMAIN_SEPARATORQueryOptions(chainId: number | undefined, __to: string | undefined): {
9
+ queryKey: (string | number | undefined)[];
10
+ enabled: boolean[];
11
+ queryFn: () => any;
12
+ };
8
13
  /**
9
14
  * fetch MINIMUM_LIQUIDITY
10
15
  * @param {number} chainId - number
11
16
  * @param {string} __to - string
12
17
  * @returns {bigint} __output0 - uint256
13
18
  */
14
- export declare function fetchUniswapV2PairMINIMUM_LIQUIDITY(chainId: number, __to: string): Promise<bigint>;
19
+ export declare function fetchUniswapV2PairMINIMUM_LIQUIDITY(chainId: number, __to: string): any;
20
+ export declare function getFetchUniswapV2PairMINIMUM_LIQUIDITYQueryOptions(chainId: number | undefined, __to: string | undefined): {
21
+ queryKey: (string | number | undefined)[];
22
+ enabled: boolean[];
23
+ queryFn: () => any;
24
+ };
15
25
  /**
16
26
  * fetch PERMIT_TYPEHASH
17
27
  * @param {number} chainId - number
18
28
  * @param {string} __to - string
19
29
  * @returns {string} __output0 - bytes32
20
30
  */
21
- export declare function fetchUniswapV2PairPERMIT_TYPEHASH(chainId: number, __to: string): Promise<string>;
31
+ export declare function fetchUniswapV2PairPERMIT_TYPEHASH(chainId: number, __to: string): any;
32
+ export declare function getFetchUniswapV2PairPERMIT_TYPEHASHQueryOptions(chainId: number | undefined, __to: string | undefined): {
33
+ queryKey: (string | number | undefined)[];
34
+ enabled: boolean[];
35
+ queryFn: () => any;
36
+ };
22
37
  /**
23
38
  * fetch allowance
24
39
  * @param {number} chainId - number
@@ -27,7 +42,12 @@ export declare function fetchUniswapV2PairPERMIT_TYPEHASH(chainId: number, __to:
27
42
  * @param {string} __input2 - address
28
43
  * @returns {bigint} __output0 - uint256
29
44
  */
30
- export declare function fetchUniswapV2PairAllowance(chainId: number, __to: string, __input1: string, __input2: string): Promise<bigint>;
45
+ export declare function fetchUniswapV2PairAllowance(chainId: number, __to: string, __input1: string, __input2: string): any;
46
+ export declare function getFetchUniswapV2PairAllowanceQueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined, __input2: string | undefined): {
47
+ queryKey: (string | number | undefined)[];
48
+ enabled: boolean[];
49
+ queryFn: () => any;
50
+ };
31
51
  /**
32
52
  * fetch balanceOf
33
53
  * @param {number} chainId - number
@@ -35,28 +55,48 @@ export declare function fetchUniswapV2PairAllowance(chainId: number, __to: strin
35
55
  * @param {string} __input1 - address
36
56
  * @returns {bigint} __output0 - uint256
37
57
  */
38
- export declare function fetchUniswapV2PairBalanceOf(chainId: number, __to: string, __input1: string): Promise<bigint>;
58
+ export declare function fetchUniswapV2PairBalanceOf(chainId: number, __to: string, __input1: string): any;
59
+ export declare function getFetchUniswapV2PairBalanceOfQueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined): {
60
+ queryKey: (string | number | undefined)[];
61
+ enabled: boolean[];
62
+ queryFn: () => any;
63
+ };
39
64
  /**
40
65
  * fetch decimals
41
66
  * @param {number} chainId - number
42
67
  * @param {string} __to - string
43
68
  * @returns {bigint} __output0 - uint8
44
69
  */
45
- export declare function fetchUniswapV2PairDecimals(chainId: number, __to: string): Promise<bigint>;
70
+ export declare function fetchUniswapV2PairDecimals(chainId: number, __to: string): any;
71
+ export declare function getFetchUniswapV2PairDecimalsQueryOptions(chainId: number | undefined, __to: string | undefined): {
72
+ queryKey: (string | number | undefined)[];
73
+ enabled: boolean[];
74
+ queryFn: () => any;
75
+ };
46
76
  /**
47
77
  * fetch factory
48
78
  * @param {number} chainId - number
49
79
  * @param {string} __to - string
50
80
  * @returns {string} __output0 - address
51
81
  */
52
- export declare function fetchUniswapV2PairFactory(chainId: number, __to: string): Promise<string>;
82
+ export declare function fetchUniswapV2PairFactory(chainId: number, __to: string): any;
83
+ export declare function getFetchUniswapV2PairFactoryQueryOptions(chainId: number | undefined, __to: string | undefined): {
84
+ queryKey: (string | number | undefined)[];
85
+ enabled: boolean[];
86
+ queryFn: () => any;
87
+ };
53
88
  /**
54
89
  * fetch feeRate
55
90
  * @param {number} chainId - number
56
91
  * @param {string} __to - string
57
92
  * @returns {bigint} __output0 - uint256
58
93
  */
59
- export declare function fetchUniswapV2PairFeeRate(chainId: number, __to: string): Promise<bigint>;
94
+ export declare function fetchUniswapV2PairFeeRate(chainId: number, __to: string): any;
95
+ export declare function getFetchUniswapV2PairFeeRateQueryOptions(chainId: number | undefined, __to: string | undefined): {
96
+ queryKey: (string | number | undefined)[];
97
+ enabled: boolean[];
98
+ queryFn: () => any;
99
+ };
60
100
  /**
61
101
  * fetch getReserves
62
102
  * @param {number} chainId - number
@@ -65,32 +105,48 @@ export declare function fetchUniswapV2PairFeeRate(chainId: number, __to: string)
65
105
  * @returns {bigint} _reserve1 - uint112
66
106
  * @returns {bigint} _blockTimestampLast - uint32
67
107
  */
68
- export declare function fetchUniswapV2PairGetReserves(chainId: number, __to: string): Promise<{
69
- _reserve0: bigint;
70
- _reserve1: bigint;
71
- _blockTimestampLast: bigint;
72
- }>;
108
+ export declare function fetchUniswapV2PairGetReserves(chainId: number, __to: string): any;
109
+ export declare function getFetchUniswapV2PairGetReservesQueryOptions(chainId: number | undefined, __to: string | undefined): {
110
+ queryKey: (string | number | undefined)[];
111
+ enabled: boolean[];
112
+ queryFn: () => any;
113
+ };
73
114
  /**
74
115
  * fetch kLast
75
116
  * @param {number} chainId - number
76
117
  * @param {string} __to - string
77
118
  * @returns {bigint} __output0 - uint256
78
119
  */
79
- export declare function fetchUniswapV2PairKLast(chainId: number, __to: string): Promise<bigint>;
120
+ export declare function fetchUniswapV2PairKLast(chainId: number, __to: string): any;
121
+ export declare function getFetchUniswapV2PairKLastQueryOptions(chainId: number | undefined, __to: string | undefined): {
122
+ queryKey: (string | number | undefined)[];
123
+ enabled: boolean[];
124
+ queryFn: () => any;
125
+ };
80
126
  /**
81
127
  * fetch lpMtRatio
82
128
  * @param {number} chainId - number
83
129
  * @param {string} __to - string
84
130
  * @returns {bigint} __output0 - uint256
85
131
  */
86
- export declare function fetchUniswapV2PairLpMtRatio(chainId: number, __to: string): Promise<bigint>;
132
+ export declare function fetchUniswapV2PairLpMtRatio(chainId: number, __to: string): any;
133
+ export declare function getFetchUniswapV2PairLpMtRatioQueryOptions(chainId: number | undefined, __to: string | undefined): {
134
+ queryKey: (string | number | undefined)[];
135
+ enabled: boolean[];
136
+ queryFn: () => any;
137
+ };
87
138
  /**
88
139
  * fetch name
89
140
  * @param {number} chainId - number
90
141
  * @param {string} __to - string
91
142
  * @returns {string} __output0 - string
92
143
  */
93
- export declare function fetchUniswapV2PairName(chainId: number, __to: string): Promise<string>;
144
+ export declare function fetchUniswapV2PairName(chainId: number, __to: string): any;
145
+ export declare function getFetchUniswapV2PairNameQueryOptions(chainId: number | undefined, __to: string | undefined): {
146
+ queryKey: (string | number | undefined)[];
147
+ enabled: boolean[];
148
+ queryFn: () => any;
149
+ };
94
150
  /**
95
151
  * fetch nonces
96
152
  * @param {number} chainId - number
@@ -98,75 +154,110 @@ export declare function fetchUniswapV2PairName(chainId: number, __to: string): P
98
154
  * @param {string} __input1 - address
99
155
  * @returns {bigint} __output0 - uint256
100
156
  */
101
- export declare function fetchUniswapV2PairNonces(chainId: number, __to: string, __input1: string): Promise<bigint>;
157
+ export declare function fetchUniswapV2PairNonces(chainId: number, __to: string, __input1: string): any;
158
+ export declare function getFetchUniswapV2PairNoncesQueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined): {
159
+ queryKey: (string | number | undefined)[];
160
+ enabled: boolean[];
161
+ queryFn: () => any;
162
+ };
102
163
  /**
103
164
  * fetch price0CumulativeLast
104
165
  * @param {number} chainId - number
105
166
  * @param {string} __to - string
106
167
  * @returns {bigint} __output0 - uint256
107
168
  */
108
- export declare function fetchUniswapV2PairPrice0CumulativeLast(chainId: number, __to: string): Promise<bigint>;
169
+ export declare function fetchUniswapV2PairPrice0CumulativeLast(chainId: number, __to: string): any;
170
+ export declare function getFetchUniswapV2PairPrice0CumulativeLastQueryOptions(chainId: number | undefined, __to: string | undefined): {
171
+ queryKey: (string | number | undefined)[];
172
+ enabled: boolean[];
173
+ queryFn: () => any;
174
+ };
109
175
  /**
110
176
  * fetch price1CumulativeLast
111
177
  * @param {number} chainId - number
112
178
  * @param {string} __to - string
113
179
  * @returns {bigint} __output0 - uint256
114
180
  */
115
- export declare function fetchUniswapV2PairPrice1CumulativeLast(chainId: number, __to: string): Promise<bigint>;
181
+ export declare function fetchUniswapV2PairPrice1CumulativeLast(chainId: number, __to: string): any;
182
+ export declare function getFetchUniswapV2PairPrice1CumulativeLastQueryOptions(chainId: number | undefined, __to: string | undefined): {
183
+ queryKey: (string | number | undefined)[];
184
+ enabled: boolean[];
185
+ queryFn: () => any;
186
+ };
116
187
  /**
117
188
  * fetch symbol
118
189
  * @param {number} chainId - number
119
190
  * @param {string} __to - string
120
191
  * @returns {string} __output0 - string
121
192
  */
122
- export declare function fetchUniswapV2PairSymbol(chainId: number, __to: string): Promise<string>;
193
+ export declare function fetchUniswapV2PairSymbol(chainId: number, __to: string): any;
194
+ export declare function getFetchUniswapV2PairSymbolQueryOptions(chainId: number | undefined, __to: string | undefined): {
195
+ queryKey: (string | number | undefined)[];
196
+ enabled: boolean[];
197
+ queryFn: () => any;
198
+ };
123
199
  /**
124
200
  * fetch token0
125
201
  * @param {number} chainId - number
126
202
  * @param {string} __to - string
127
203
  * @returns {string} __output0 - address
128
204
  */
129
- export declare function fetchUniswapV2PairToken0(chainId: number, __to: string): Promise<string>;
205
+ export declare function fetchUniswapV2PairToken0(chainId: number, __to: string): any;
206
+ export declare function getFetchUniswapV2PairToken0QueryOptions(chainId: number | undefined, __to: string | undefined): {
207
+ queryKey: (string | number | undefined)[];
208
+ enabled: boolean[];
209
+ queryFn: () => any;
210
+ };
130
211
  /**
131
212
  * fetch token1
132
213
  * @param {number} chainId - number
133
214
  * @param {string} __to - string
134
215
  * @returns {string} __output0 - address
135
216
  */
136
- export declare function fetchUniswapV2PairToken1(chainId: number, __to: string): Promise<string>;
217
+ export declare function fetchUniswapV2PairToken1(chainId: number, __to: string): any;
218
+ export declare function getFetchUniswapV2PairToken1QueryOptions(chainId: number | undefined, __to: string | undefined): {
219
+ queryKey: (string | number | undefined)[];
220
+ enabled: boolean[];
221
+ queryFn: () => any;
222
+ };
137
223
  /**
138
224
  * fetch totalSupply
139
225
  * @param {number} chainId - number
140
226
  * @param {string} __to - string
141
227
  * @returns {bigint} __output0 - uint256
142
228
  */
143
- export declare function fetchUniswapV2PairTotalSupply(chainId: number, __to: string): Promise<bigint>;
229
+ export declare function fetchUniswapV2PairTotalSupply(chainId: number, __to: string): any;
230
+ export declare function getFetchUniswapV2PairTotalSupplyQueryOptions(chainId: number | undefined, __to: string | undefined): {
231
+ queryKey: (string | number | undefined)[];
232
+ enabled: boolean[];
233
+ queryFn: () => any;
234
+ };
144
235
  /**
145
236
  * encode approve
146
237
  * @param {string} spender - address
147
238
  * @param {string | number} value - uint256
148
239
  * @returns {string} encode data
149
240
  */
150
- export declare function encodeUniswapV2PairApprove(spender: string, value: string | number): string;
241
+ export declare function encodeUniswapV2PairApprove(spender: string, value: string | number): any;
151
242
  /**
152
243
  * encode burn
153
244
  * @param {string} to - address
154
245
  * @returns {string} encode data
155
246
  */
156
- export declare function encodeUniswapV2PairBurn(to: string): string;
247
+ export declare function encodeUniswapV2PairBurn(to: string): any;
157
248
  /**
158
249
  * encode initialize
159
250
  * @param {string} _token0 - address
160
251
  * @param {string} _token1 - address
161
252
  * @returns {string} encode data
162
253
  */
163
- export declare function encodeUniswapV2PairInitialize(_token0: string, _token1: string): string;
254
+ export declare function encodeUniswapV2PairInitialize(_token0: string, _token1: string): any;
164
255
  /**
165
256
  * encode mint
166
257
  * @param {string} to - address
167
258
  * @returns {string} encode data
168
259
  */
169
- export declare function encodeUniswapV2PairMint(to: string): string;
260
+ export declare function encodeUniswapV2PairMint(to: string): any;
170
261
  /**
171
262
  * encode permit
172
263
  * @param {string} owner - address
@@ -178,25 +269,25 @@ export declare function encodeUniswapV2PairMint(to: string): string;
178
269
  * @param {string} s - bytes32
179
270
  * @returns {string} encode data
180
271
  */
181
- export declare function encodeUniswapV2PairPermit(owner: string, spender: string, value: string | number, deadline: string | number, v: string | number, r: string, s: string): string;
272
+ export declare function encodeUniswapV2PairPermit(owner: string, spender: string, value: string | number, deadline: string | number, v: string | number, r: string, s: string): any;
182
273
  /**
183
274
  * encode setFeeRate
184
275
  * @param {string | number} totalFeeRate - uint256
185
276
  * @returns {string} encode data
186
277
  */
187
- export declare function encodeUniswapV2PairSetFeeRate(totalFeeRate: string | number): string;
278
+ export declare function encodeUniswapV2PairSetFeeRate(totalFeeRate: string | number): any;
188
279
  /**
189
280
  * encode setLpMtRatio
190
281
  * @param {string | number} ratio - uint256
191
282
  * @returns {string} encode data
192
283
  */
193
- export declare function encodeUniswapV2PairSetLpMtRatio(ratio: string | number): string;
284
+ export declare function encodeUniswapV2PairSetLpMtRatio(ratio: string | number): any;
194
285
  /**
195
286
  * encode skim
196
287
  * @param {string} to - address
197
288
  * @returns {string} encode data
198
289
  */
199
- export declare function encodeUniswapV2PairSkim(to: string): string;
290
+ export declare function encodeUniswapV2PairSkim(to: string): any;
200
291
  /**
201
292
  * encode swap
202
293
  * @param {string | number} amount0Out - uint256
@@ -205,20 +296,20 @@ export declare function encodeUniswapV2PairSkim(to: string): string;
205
296
  * @param {string} data - bytes
206
297
  * @returns {string} encode data
207
298
  */
208
- export declare function encodeUniswapV2PairSwap(amount0Out: string | number, amount1Out: string | number, to: string, data: string): string;
299
+ export declare function encodeUniswapV2PairSwap(amount0Out: string | number, amount1Out: string | number, to: string, data: string): any;
209
300
  /**
210
301
  * encode sync
211
302
 
212
303
  * @returns {string} encode data
213
304
  */
214
- export declare function encodeUniswapV2PairSync(): string;
305
+ export declare function encodeUniswapV2PairSync(): any;
215
306
  /**
216
307
  * encode transfer
217
308
  * @param {string} to - address
218
309
  * @param {string | number} value - uint256
219
310
  * @returns {string} encode data
220
311
  */
221
- export declare function encodeUniswapV2PairTransfer(to: string, value: string | number): string;
312
+ export declare function encodeUniswapV2PairTransfer(to: string, value: string | number): any;
222
313
  /**
223
314
  * encode transferFrom
224
315
  * @param {string} from - address
@@ -226,4 +317,4 @@ export declare function encodeUniswapV2PairTransfer(to: string, value: string |
226
317
  * @param {string | number} value - uint256
227
318
  * @returns {string} encode data
228
319
  */
229
- export declare function encodeUniswapV2PairTransferFrom(from: string, to: string, value: string | number): string;
320
+ export declare function encodeUniswapV2PairTransferFrom(from: string, to: string, value: string | number): any;