@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
|
@@ -4,43 +4,73 @@ export declare function getDODOApproveContractAddressByChainId(chainId: number):
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchDODOApprove_DODO_PROXY_(chainId: number):
|
|
7
|
+
export declare function fetchDODOApprove_DODO_PROXY_(chainId: number): any;
|
|
8
|
+
export declare function getFetchDODOApprove_DODO_PROXY_QueryOptions(chainId: number | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _NEW_OWNER_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @returns {string} __output0 - address
|
|
12
17
|
*/
|
|
13
|
-
export declare function fetchDODOApprove_NEW_OWNER_(chainId: number):
|
|
18
|
+
export declare function fetchDODOApprove_NEW_OWNER_(chainId: number): any;
|
|
19
|
+
export declare function getFetchDODOApprove_NEW_OWNER_QueryOptions(chainId: number | undefined): {
|
|
20
|
+
queryKey: (string | number | undefined)[];
|
|
21
|
+
enabled: boolean[];
|
|
22
|
+
queryFn: () => any;
|
|
23
|
+
};
|
|
14
24
|
/**
|
|
15
25
|
* fetch _OWNER_
|
|
16
26
|
* @param {number} chainId - number
|
|
17
27
|
* @returns {string} __output0 - address
|
|
18
28
|
*/
|
|
19
|
-
export declare function fetchDODOApprove_OWNER_(chainId: number):
|
|
29
|
+
export declare function fetchDODOApprove_OWNER_(chainId: number): any;
|
|
30
|
+
export declare function getFetchDODOApprove_OWNER_QueryOptions(chainId: number | undefined): {
|
|
31
|
+
queryKey: (string | number | undefined)[];
|
|
32
|
+
enabled: boolean[];
|
|
33
|
+
queryFn: () => any;
|
|
34
|
+
};
|
|
20
35
|
/**
|
|
21
36
|
* fetch _PENDING_DODO_PROXY_
|
|
22
37
|
* @param {number} chainId - number
|
|
23
38
|
* @returns {string} __output0 - address
|
|
24
39
|
*/
|
|
25
|
-
export declare function fetchDODOApprove_PENDING_DODO_PROXY_(chainId: number):
|
|
40
|
+
export declare function fetchDODOApprove_PENDING_DODO_PROXY_(chainId: number): any;
|
|
41
|
+
export declare function getFetchDODOApprove_PENDING_DODO_PROXY_QueryOptions(chainId: number | undefined): {
|
|
42
|
+
queryKey: (string | number | undefined)[];
|
|
43
|
+
enabled: boolean[];
|
|
44
|
+
queryFn: () => any;
|
|
45
|
+
};
|
|
26
46
|
/**
|
|
27
47
|
* fetch _TIMELOCK_
|
|
28
48
|
* @param {number} chainId - number
|
|
29
49
|
* @returns {bigint} __output0 - uint256
|
|
30
50
|
*/
|
|
31
|
-
export declare function fetchDODOApprove_TIMELOCK_(chainId: number):
|
|
51
|
+
export declare function fetchDODOApprove_TIMELOCK_(chainId: number): any;
|
|
52
|
+
export declare function getFetchDODOApprove_TIMELOCK_QueryOptions(chainId: number | undefined): {
|
|
53
|
+
queryKey: (string | number | undefined)[];
|
|
54
|
+
enabled: boolean[];
|
|
55
|
+
queryFn: () => any;
|
|
56
|
+
};
|
|
32
57
|
/**
|
|
33
58
|
* fetch getDODOProxy
|
|
34
59
|
* @param {number} chainId - number
|
|
35
60
|
* @returns {string} __output0 - address
|
|
36
61
|
*/
|
|
37
|
-
export declare function fetchDODOApproveGetDODOProxy(chainId: number):
|
|
62
|
+
export declare function fetchDODOApproveGetDODOProxy(chainId: number): any;
|
|
63
|
+
export declare function getFetchDODOApproveGetDODOProxyQueryOptions(chainId: number | undefined): {
|
|
64
|
+
queryKey: (string | number | undefined)[];
|
|
65
|
+
enabled: boolean[];
|
|
66
|
+
queryFn: () => any;
|
|
67
|
+
};
|
|
38
68
|
/**
|
|
39
69
|
* encode claimOwnership
|
|
40
70
|
|
|
41
71
|
* @returns {string} encode data
|
|
42
72
|
*/
|
|
43
|
-
export declare function encodeDODOApproveClaimOwnership():
|
|
73
|
+
export declare function encodeDODOApproveClaimOwnership(): any;
|
|
44
74
|
/**
|
|
45
75
|
* encode claimTokens
|
|
46
76
|
* @param {string} token - address
|
|
@@ -49,41 +79,41 @@ export declare function encodeDODOApproveClaimOwnership(): string;
|
|
|
49
79
|
* @param {string | number} amount - uint256
|
|
50
80
|
* @returns {string} encode data
|
|
51
81
|
*/
|
|
52
|
-
export declare function encodeDODOApproveClaimTokens(token: string, who: string, dest: string, amount: string | number):
|
|
82
|
+
export declare function encodeDODOApproveClaimTokens(token: string, who: string, dest: string, amount: string | number): any;
|
|
53
83
|
/**
|
|
54
84
|
* encode init
|
|
55
85
|
* @param {string} owner - address
|
|
56
86
|
* @param {string} initProxyAddress - address
|
|
57
87
|
* @returns {string} encode data
|
|
58
88
|
*/
|
|
59
|
-
export declare function encodeDODOApproveInit(owner: string, initProxyAddress: string):
|
|
89
|
+
export declare function encodeDODOApproveInit(owner: string, initProxyAddress: string): any;
|
|
60
90
|
/**
|
|
61
91
|
* encode initOwner
|
|
62
92
|
* @param {string} newOwner - address
|
|
63
93
|
* @returns {string} encode data
|
|
64
94
|
*/
|
|
65
|
-
export declare function encodeDODOApproveInitOwner(newOwner: string):
|
|
95
|
+
export declare function encodeDODOApproveInitOwner(newOwner: string): any;
|
|
66
96
|
/**
|
|
67
97
|
* encode lockSetProxy
|
|
68
98
|
|
|
69
99
|
* @returns {string} encode data
|
|
70
100
|
*/
|
|
71
|
-
export declare function encodeDODOApproveLockSetProxy():
|
|
101
|
+
export declare function encodeDODOApproveLockSetProxy(): any;
|
|
72
102
|
/**
|
|
73
103
|
* encode setDODOProxy
|
|
74
104
|
|
|
75
105
|
* @returns {string} encode data
|
|
76
106
|
*/
|
|
77
|
-
export declare function encodeDODOApproveSetDODOProxy():
|
|
107
|
+
export declare function encodeDODOApproveSetDODOProxy(): any;
|
|
78
108
|
/**
|
|
79
109
|
* encode transferOwnership
|
|
80
110
|
* @param {string} newOwner - address
|
|
81
111
|
* @returns {string} encode data
|
|
82
112
|
*/
|
|
83
|
-
export declare function encodeDODOApproveTransferOwnership(newOwner: string):
|
|
113
|
+
export declare function encodeDODOApproveTransferOwnership(newOwner: string): any;
|
|
84
114
|
/**
|
|
85
115
|
* encode unlockSetProxy
|
|
86
116
|
* @param {string} newDodoProxy - address
|
|
87
117
|
* @returns {string} encode data
|
|
88
118
|
*/
|
|
89
|
-
export declare function encodeDODOApproveUnlockSetProxy(newDodoProxy: string):
|
|
119
|
+
export declare function encodeDODOApproveUnlockSetProxy(newDodoProxy: string): any;
|
|
@@ -4,57 +4,92 @@ export declare function getDODOApproveProxyContractAddressByChainId(chainId: num
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchDODOApproveProxy_DODO_APPROVE_(chainId: number):
|
|
7
|
+
export declare function fetchDODOApproveProxy_DODO_APPROVE_(chainId: number): any;
|
|
8
|
+
export declare function getFetchDODOApproveProxy_DODO_APPROVE_QueryOptions(chainId: number | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _IS_ALLOWED_PROXY_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @param {string} __input1 - address
|
|
12
17
|
* @returns {boolean} __output0 - bool
|
|
13
18
|
*/
|
|
14
|
-
export declare function fetchDODOApproveProxy_IS_ALLOWED_PROXY_(chainId: number, __input1: string):
|
|
19
|
+
export declare function fetchDODOApproveProxy_IS_ALLOWED_PROXY_(chainId: number, __input1: string): any;
|
|
20
|
+
export declare function getFetchDODOApproveProxy_IS_ALLOWED_PROXY_QueryOptions(chainId: number | undefined, __input1: string | undefined): {
|
|
21
|
+
queryKey: (string | number | undefined)[];
|
|
22
|
+
enabled: boolean[];
|
|
23
|
+
queryFn: () => any;
|
|
24
|
+
};
|
|
15
25
|
/**
|
|
16
26
|
* fetch _NEW_OWNER_
|
|
17
27
|
* @param {number} chainId - number
|
|
18
28
|
* @returns {string} __output0 - address
|
|
19
29
|
*/
|
|
20
|
-
export declare function fetchDODOApproveProxy_NEW_OWNER_(chainId: number):
|
|
30
|
+
export declare function fetchDODOApproveProxy_NEW_OWNER_(chainId: number): any;
|
|
31
|
+
export declare function getFetchDODOApproveProxy_NEW_OWNER_QueryOptions(chainId: number | undefined): {
|
|
32
|
+
queryKey: (string | number | undefined)[];
|
|
33
|
+
enabled: boolean[];
|
|
34
|
+
queryFn: () => any;
|
|
35
|
+
};
|
|
21
36
|
/**
|
|
22
37
|
* fetch _OWNER_
|
|
23
38
|
* @param {number} chainId - number
|
|
24
39
|
* @returns {string} __output0 - address
|
|
25
40
|
*/
|
|
26
|
-
export declare function fetchDODOApproveProxy_OWNER_(chainId: number):
|
|
41
|
+
export declare function fetchDODOApproveProxy_OWNER_(chainId: number): any;
|
|
42
|
+
export declare function getFetchDODOApproveProxy_OWNER_QueryOptions(chainId: number | undefined): {
|
|
43
|
+
queryKey: (string | number | undefined)[];
|
|
44
|
+
enabled: boolean[];
|
|
45
|
+
queryFn: () => any;
|
|
46
|
+
};
|
|
27
47
|
/**
|
|
28
48
|
* fetch _PENDING_ADD_DODO_PROXY_
|
|
29
49
|
* @param {number} chainId - number
|
|
30
50
|
* @returns {string} __output0 - address
|
|
31
51
|
*/
|
|
32
|
-
export declare function fetchDODOApproveProxy_PENDING_ADD_DODO_PROXY_(chainId: number):
|
|
52
|
+
export declare function fetchDODOApproveProxy_PENDING_ADD_DODO_PROXY_(chainId: number): any;
|
|
53
|
+
export declare function getFetchDODOApproveProxy_PENDING_ADD_DODO_PROXY_QueryOptions(chainId: number | undefined): {
|
|
54
|
+
queryKey: (string | number | undefined)[];
|
|
55
|
+
enabled: boolean[];
|
|
56
|
+
queryFn: () => any;
|
|
57
|
+
};
|
|
33
58
|
/**
|
|
34
59
|
* fetch _TIMELOCK_
|
|
35
60
|
* @param {number} chainId - number
|
|
36
61
|
* @returns {bigint} __output0 - uint256
|
|
37
62
|
*/
|
|
38
|
-
export declare function fetchDODOApproveProxy_TIMELOCK_(chainId: number):
|
|
63
|
+
export declare function fetchDODOApproveProxy_TIMELOCK_(chainId: number): any;
|
|
64
|
+
export declare function getFetchDODOApproveProxy_TIMELOCK_QueryOptions(chainId: number | undefined): {
|
|
65
|
+
queryKey: (string | number | undefined)[];
|
|
66
|
+
enabled: boolean[];
|
|
67
|
+
queryFn: () => any;
|
|
68
|
+
};
|
|
39
69
|
/**
|
|
40
70
|
* fetch isAllowedProxy
|
|
41
71
|
* @param {number} chainId - number
|
|
42
72
|
* @param {string} _proxy - address
|
|
43
73
|
* @returns {boolean} __output0 - bool
|
|
44
74
|
*/
|
|
45
|
-
export declare function fetchDODOApproveProxyIsAllowedProxy(chainId: number, _proxy: string):
|
|
75
|
+
export declare function fetchDODOApproveProxyIsAllowedProxy(chainId: number, _proxy: string): any;
|
|
76
|
+
export declare function getFetchDODOApproveProxyIsAllowedProxyQueryOptions(chainId: number | undefined, _proxy: string | undefined): {
|
|
77
|
+
queryKey: (string | number | undefined)[];
|
|
78
|
+
enabled: boolean[];
|
|
79
|
+
queryFn: () => any;
|
|
80
|
+
};
|
|
46
81
|
/**
|
|
47
82
|
* encode addDODOProxy
|
|
48
83
|
|
|
49
84
|
* @returns {string} encode data
|
|
50
85
|
*/
|
|
51
|
-
export declare function encodeDODOApproveProxyAddDODOProxy():
|
|
86
|
+
export declare function encodeDODOApproveProxyAddDODOProxy(): any;
|
|
52
87
|
/**
|
|
53
88
|
* encode claimOwnership
|
|
54
89
|
|
|
55
90
|
* @returns {string} encode data
|
|
56
91
|
*/
|
|
57
|
-
export declare function encodeDODOApproveProxyClaimOwnership():
|
|
92
|
+
export declare function encodeDODOApproveProxyClaimOwnership(): any;
|
|
58
93
|
/**
|
|
59
94
|
* encode claimTokens
|
|
60
95
|
* @param {string} token - address
|
|
@@ -63,41 +98,41 @@ export declare function encodeDODOApproveProxyClaimOwnership(): string;
|
|
|
63
98
|
* @param {string | number} amount - uint256
|
|
64
99
|
* @returns {string} encode data
|
|
65
100
|
*/
|
|
66
|
-
export declare function encodeDODOApproveProxyClaimTokens(token: string, who: string, dest: string, amount: string | number):
|
|
101
|
+
export declare function encodeDODOApproveProxyClaimTokens(token: string, who: string, dest: string, amount: string | number): any;
|
|
67
102
|
/**
|
|
68
103
|
* encode init
|
|
69
104
|
* @param {string} owner - address
|
|
70
105
|
* @param {Array<string>} proxies - address[]
|
|
71
106
|
* @returns {string} encode data
|
|
72
107
|
*/
|
|
73
|
-
export declare function encodeDODOApproveProxyInit(owner: string, proxies: Array<string>):
|
|
108
|
+
export declare function encodeDODOApproveProxyInit(owner: string, proxies: Array<string>): any;
|
|
74
109
|
/**
|
|
75
110
|
* encode initOwner
|
|
76
111
|
* @param {string} newOwner - address
|
|
77
112
|
* @returns {string} encode data
|
|
78
113
|
*/
|
|
79
|
-
export declare function encodeDODOApproveProxyInitOwner(newOwner: string):
|
|
114
|
+
export declare function encodeDODOApproveProxyInitOwner(newOwner: string): any;
|
|
80
115
|
/**
|
|
81
116
|
* encode lockAddProxy
|
|
82
117
|
|
|
83
118
|
* @returns {string} encode data
|
|
84
119
|
*/
|
|
85
|
-
export declare function encodeDODOApproveProxyLockAddProxy():
|
|
120
|
+
export declare function encodeDODOApproveProxyLockAddProxy(): any;
|
|
86
121
|
/**
|
|
87
122
|
* encode removeDODOProxy
|
|
88
123
|
* @param {string} oldDodoProxy - address
|
|
89
124
|
* @returns {string} encode data
|
|
90
125
|
*/
|
|
91
|
-
export declare function encodeDODOApproveProxyRemoveDODOProxy(oldDodoProxy: string):
|
|
126
|
+
export declare function encodeDODOApproveProxyRemoveDODOProxy(oldDodoProxy: string): any;
|
|
92
127
|
/**
|
|
93
128
|
* encode transferOwnership
|
|
94
129
|
* @param {string} newOwner - address
|
|
95
130
|
* @returns {string} encode data
|
|
96
131
|
*/
|
|
97
|
-
export declare function encodeDODOApproveProxyTransferOwnership(newOwner: string):
|
|
132
|
+
export declare function encodeDODOApproveProxyTransferOwnership(newOwner: string): any;
|
|
98
133
|
/**
|
|
99
134
|
* encode unlockAddProxy
|
|
100
135
|
* @param {string} newDodoProxy - address
|
|
101
136
|
* @returns {string} encode data
|
|
102
137
|
*/
|
|
103
|
-
export declare function encodeDODOApproveProxyUnlockAddProxy(newDodoProxy: string):
|
|
138
|
+
export declare function encodeDODOApproveProxyUnlockAddProxy(newDodoProxy: string): any;
|
|
@@ -4,7 +4,12 @@ export declare function getDODOCalleeHelperContractAddressByChainId(chainId: num
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchDODOCalleeHelper_WETH_(chainId: number):
|
|
7
|
+
export declare function fetchDODOCalleeHelper_WETH_(chainId: number): any;
|
|
8
|
+
export declare function getFetchDODOCalleeHelper_WETH_QueryOptions(chainId: number | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* encode CPCancelCall
|
|
10
15
|
* @param {string} assetTo - address
|
|
@@ -12,7 +17,7 @@ export declare function fetchDODOCalleeHelper_WETH_(chainId: number): Promise<st
|
|
|
12
17
|
* @param {string} __input1 - bytes
|
|
13
18
|
* @returns {string} encode data
|
|
14
19
|
*/
|
|
15
|
-
export declare function encodeDODOCalleeHelperCPCancelCall(assetTo: string, amount: string | number, __input1: string):
|
|
20
|
+
export declare function encodeDODOCalleeHelperCPCancelCall(assetTo: string, amount: string | number, __input1: string): any;
|
|
16
21
|
/**
|
|
17
22
|
* encode CPClaimBidCall
|
|
18
23
|
* @param {string} assetTo - address
|
|
@@ -21,7 +26,7 @@ export declare function encodeDODOCalleeHelperCPCancelCall(assetTo: string, amou
|
|
|
21
26
|
* @param {string} __input1 - bytes
|
|
22
27
|
* @returns {string} encode data
|
|
23
28
|
*/
|
|
24
|
-
export declare function encodeDODOCalleeHelperCPClaimBidCall(assetTo: string, baseAmount: string | number, quoteAmount: string | number, __input1: string):
|
|
29
|
+
export declare function encodeDODOCalleeHelperCPClaimBidCall(assetTo: string, baseAmount: string | number, quoteAmount: string | number, __input1: string): any;
|
|
25
30
|
/**
|
|
26
31
|
* encode DVMSellShareCall
|
|
27
32
|
* @param {string} assetTo - address
|
|
@@ -31,7 +36,7 @@ export declare function encodeDODOCalleeHelperCPClaimBidCall(assetTo: string, ba
|
|
|
31
36
|
* @param {string} __input2 - bytes
|
|
32
37
|
* @returns {string} encode data
|
|
33
38
|
*/
|
|
34
|
-
export declare function encodeDODOCalleeHelperDVMSellShareCall(assetTo: string, __input1: string | number, baseAmount: string | number, quoteAmount: string | number, __input2: string):
|
|
39
|
+
export declare function encodeDODOCalleeHelperDVMSellShareCall(assetTo: string, __input1: string | number, baseAmount: string | number, quoteAmount: string | number, __input2: string): any;
|
|
35
40
|
/**
|
|
36
41
|
* encode NFTRedeemCall
|
|
37
42
|
* @param {string} assetTo - address
|
|
@@ -39,4 +44,4 @@ export declare function encodeDODOCalleeHelperDVMSellShareCall(assetTo: string,
|
|
|
39
44
|
* @param {string} __input1 - bytes
|
|
40
45
|
* @returns {string} encode data
|
|
41
46
|
*/
|
|
42
|
-
export declare function encodeDODOCalleeHelperNFTRedeemCall(assetTo: string, quoteAmount: string | number, __input1: string):
|
|
47
|
+
export declare function encodeDODOCalleeHelperNFTRedeemCall(assetTo: string, quoteAmount: string | number, __input1: string): any;
|
|
@@ -4,71 +4,106 @@ export declare function getDODOCirculationHelperContractAddressByChainId(chainId
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {bigint} __output0 - uint256
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchDODOCirculationHelper_MAX_PENALTY_RATIO_(chainId: number):
|
|
7
|
+
export declare function fetchDODOCirculationHelper_MAX_PENALTY_RATIO_(chainId: number): any;
|
|
8
|
+
export declare function getFetchDODOCirculationHelper_MAX_PENALTY_RATIO_QueryOptions(chainId: number | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _MIN_PENALTY_RATIO_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @returns {bigint} __output0 - uint256
|
|
12
17
|
*/
|
|
13
|
-
export declare function fetchDODOCirculationHelper_MIN_PENALTY_RATIO_(chainId: number):
|
|
18
|
+
export declare function fetchDODOCirculationHelper_MIN_PENALTY_RATIO_(chainId: number): any;
|
|
19
|
+
export declare function getFetchDODOCirculationHelper_MIN_PENALTY_RATIO_QueryOptions(chainId: number | undefined): {
|
|
20
|
+
queryKey: (string | number | undefined)[];
|
|
21
|
+
enabled: boolean[];
|
|
22
|
+
queryFn: () => any;
|
|
23
|
+
};
|
|
14
24
|
/**
|
|
15
25
|
* fetch _NEW_OWNER_
|
|
16
26
|
* @param {number} chainId - number
|
|
17
27
|
* @returns {string} __output0 - address
|
|
18
28
|
*/
|
|
19
|
-
export declare function fetchDODOCirculationHelper_NEW_OWNER_(chainId: number):
|
|
29
|
+
export declare function fetchDODOCirculationHelper_NEW_OWNER_(chainId: number): any;
|
|
30
|
+
export declare function getFetchDODOCirculationHelper_NEW_OWNER_QueryOptions(chainId: number | undefined): {
|
|
31
|
+
queryKey: (string | number | undefined)[];
|
|
32
|
+
enabled: boolean[];
|
|
33
|
+
queryFn: () => any;
|
|
34
|
+
};
|
|
20
35
|
/**
|
|
21
36
|
* fetch _OWNER_
|
|
22
37
|
* @param {number} chainId - number
|
|
23
38
|
* @returns {string} __output0 - address
|
|
24
39
|
*/
|
|
25
|
-
export declare function fetchDODOCirculationHelper_OWNER_(chainId: number):
|
|
40
|
+
export declare function fetchDODOCirculationHelper_OWNER_(chainId: number): any;
|
|
41
|
+
export declare function getFetchDODOCirculationHelper_OWNER_QueryOptions(chainId: number | undefined): {
|
|
42
|
+
queryKey: (string | number | undefined)[];
|
|
43
|
+
enabled: boolean[];
|
|
44
|
+
queryFn: () => any;
|
|
45
|
+
};
|
|
26
46
|
/**
|
|
27
47
|
* fetch geRatioValue
|
|
28
48
|
* @param {number} chainId - number
|
|
29
49
|
* @param {number} input - uint256
|
|
30
50
|
* @returns {bigint} __output0 - uint256
|
|
31
51
|
*/
|
|
32
|
-
export declare function fetchDODOCirculationHelperGeRatioValue(chainId: number, input: number):
|
|
52
|
+
export declare function fetchDODOCirculationHelperGeRatioValue(chainId: number, input: number): any;
|
|
53
|
+
export declare function getFetchDODOCirculationHelperGeRatioValueQueryOptions(chainId: number | undefined, input: number | undefined): {
|
|
54
|
+
queryKey: (string | number | undefined)[];
|
|
55
|
+
enabled: boolean[];
|
|
56
|
+
queryFn: () => any;
|
|
57
|
+
};
|
|
33
58
|
/**
|
|
34
59
|
* fetch getCirculation
|
|
35
60
|
* @param {number} chainId - number
|
|
36
61
|
* @returns {bigint} circulation - uint256
|
|
37
62
|
*/
|
|
38
|
-
export declare function fetchDODOCirculationHelperGetCirculation(chainId: number):
|
|
63
|
+
export declare function fetchDODOCirculationHelperGetCirculation(chainId: number): any;
|
|
64
|
+
export declare function getFetchDODOCirculationHelperGetCirculationQueryOptions(chainId: number | undefined): {
|
|
65
|
+
queryKey: (string | number | undefined)[];
|
|
66
|
+
enabled: boolean[];
|
|
67
|
+
queryFn: () => any;
|
|
68
|
+
};
|
|
39
69
|
/**
|
|
40
70
|
* fetch getDodoWithdrawFeeRatio
|
|
41
71
|
* @param {number} chainId - number
|
|
42
72
|
* @returns {bigint} ratio - uint256
|
|
43
73
|
*/
|
|
44
|
-
export declare function fetchDODOCirculationHelperGetDodoWithdrawFeeRatio(chainId: number):
|
|
74
|
+
export declare function fetchDODOCirculationHelperGetDodoWithdrawFeeRatio(chainId: number): any;
|
|
75
|
+
export declare function getFetchDODOCirculationHelperGetDodoWithdrawFeeRatioQueryOptions(chainId: number | undefined): {
|
|
76
|
+
queryKey: (string | number | undefined)[];
|
|
77
|
+
enabled: boolean[];
|
|
78
|
+
queryFn: () => any;
|
|
79
|
+
};
|
|
45
80
|
/**
|
|
46
81
|
* encode addLockedContractAddress
|
|
47
82
|
* @param {string} lockedContract - address
|
|
48
83
|
* @returns {string} encode data
|
|
49
84
|
*/
|
|
50
|
-
export declare function encodeDODOCirculationHelperAddLockedContractAddress(lockedContract: string):
|
|
85
|
+
export declare function encodeDODOCirculationHelperAddLockedContractAddress(lockedContract: string): any;
|
|
51
86
|
/**
|
|
52
87
|
* encode claimOwnership
|
|
53
88
|
|
|
54
89
|
* @returns {string} encode data
|
|
55
90
|
*/
|
|
56
|
-
export declare function encodeDODOCirculationHelperClaimOwnership():
|
|
91
|
+
export declare function encodeDODOCirculationHelperClaimOwnership(): any;
|
|
57
92
|
/**
|
|
58
93
|
* encode initOwner
|
|
59
94
|
* @param {string} newOwner - address
|
|
60
95
|
* @returns {string} encode data
|
|
61
96
|
*/
|
|
62
|
-
export declare function encodeDODOCirculationHelperInitOwner(newOwner: string):
|
|
97
|
+
export declare function encodeDODOCirculationHelperInitOwner(newOwner: string): any;
|
|
63
98
|
/**
|
|
64
99
|
* encode removeLockedContractAddress
|
|
65
100
|
* @param {string} lockedContract - address
|
|
66
101
|
* @returns {string} encode data
|
|
67
102
|
*/
|
|
68
|
-
export declare function encodeDODOCirculationHelperRemoveLockedContractAddress(lockedContract: string):
|
|
103
|
+
export declare function encodeDODOCirculationHelperRemoveLockedContractAddress(lockedContract: string): any;
|
|
69
104
|
/**
|
|
70
105
|
* encode transferOwnership
|
|
71
106
|
* @param {string} newOwner - address
|
|
72
107
|
* @returns {string} encode data
|
|
73
108
|
*/
|
|
74
|
-
export declare function encodeDODOCirculationHelperTransferOwnership(newOwner: string):
|
|
109
|
+
export declare function encodeDODOCirculationHelperTransferOwnership(newOwner: string): any;
|
|
@@ -4,19 +4,34 @@ export declare function getDODOCpProxyContractAddressByChainId(chainId: number):
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchDODOCpProxy_CP_FACTORY_(chainId: number):
|
|
7
|
+
export declare function fetchDODOCpProxy_CP_FACTORY_(chainId: number): any;
|
|
8
|
+
export declare function getFetchDODOCpProxy_CP_FACTORY_QueryOptions(chainId: number | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _DODO_APPROVE_PROXY_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @returns {string} __output0 - address
|
|
12
17
|
*/
|
|
13
|
-
export declare function fetchDODOCpProxy_DODO_APPROVE_PROXY_(chainId: number):
|
|
18
|
+
export declare function fetchDODOCpProxy_DODO_APPROVE_PROXY_(chainId: number): any;
|
|
19
|
+
export declare function getFetchDODOCpProxy_DODO_APPROVE_PROXY_QueryOptions(chainId: number | undefined): {
|
|
20
|
+
queryKey: (string | number | undefined)[];
|
|
21
|
+
enabled: boolean[];
|
|
22
|
+
queryFn: () => any;
|
|
23
|
+
};
|
|
14
24
|
/**
|
|
15
25
|
* fetch _WETH_
|
|
16
26
|
* @param {number} chainId - number
|
|
17
27
|
* @returns {string} __output0 - address
|
|
18
28
|
*/
|
|
19
|
-
export declare function fetchDODOCpProxy_WETH_(chainId: number):
|
|
29
|
+
export declare function fetchDODOCpProxy_WETH_(chainId: number): any;
|
|
30
|
+
export declare function getFetchDODOCpProxy_WETH_QueryOptions(chainId: number | undefined): {
|
|
31
|
+
queryKey: (string | number | undefined)[];
|
|
32
|
+
enabled: boolean[];
|
|
33
|
+
queryFn: () => any;
|
|
34
|
+
};
|
|
20
35
|
/**
|
|
21
36
|
* encode bid
|
|
22
37
|
* @param {string} cpAddress - address
|
|
@@ -25,7 +40,7 @@ export declare function fetchDODOCpProxy_WETH_(chainId: number): Promise<string>
|
|
|
25
40
|
* @param {string | number} deadLine - uint256
|
|
26
41
|
* @returns {string} encode data
|
|
27
42
|
*/
|
|
28
|
-
export declare function encodeDODOCpProxyBid(cpAddress: string, quoteAmount: string | number, flag: string | number, deadLine: string | number):
|
|
43
|
+
export declare function encodeDODOCpProxyBid(cpAddress: string, quoteAmount: string | number, flag: string | number, deadLine: string | number): any;
|
|
29
44
|
/**
|
|
30
45
|
* encode createCrowdPooling
|
|
31
46
|
* @param {string} baseToken - address
|
|
@@ -38,4 +53,4 @@ export declare function encodeDODOCpProxyBid(cpAddress: string, quoteAmount: str
|
|
|
38
53
|
* @param {string | number} globalQuota - int256
|
|
39
54
|
* @returns {string} encode data
|
|
40
55
|
*/
|
|
41
|
-
export declare function encodeDODOCpProxyCreateCrowdPooling(baseToken: string, quoteToken: string, baseInAmount: string | number, timeLine: Array<string | number>, valueList: Array<string | number>, switches: Array<boolean>, deadLine: string | number, globalQuota: string | number):
|
|
56
|
+
export declare function encodeDODOCpProxyCreateCrowdPooling(baseToken: string, quoteToken: string, baseInAmount: string | number, timeLine: Array<string | number>, valueList: Array<string | number>, switches: Array<boolean>, deadLine: string | number, globalQuota: string | number): any;
|
|
@@ -4,19 +4,34 @@ export declare function getDODOCpProxyWithoutGlobalQuotaContractAddressByChainId
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchDODOCpProxyWithoutGlobalQuota_CP_FACTORY_(chainId: number):
|
|
7
|
+
export declare function fetchDODOCpProxyWithoutGlobalQuota_CP_FACTORY_(chainId: number): any;
|
|
8
|
+
export declare function getFetchDODOCpProxyWithoutGlobalQuota_CP_FACTORY_QueryOptions(chainId: number | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _DODO_APPROVE_PROXY_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @returns {string} __output0 - address
|
|
12
17
|
*/
|
|
13
|
-
export declare function fetchDODOCpProxyWithoutGlobalQuota_DODO_APPROVE_PROXY_(chainId: number):
|
|
18
|
+
export declare function fetchDODOCpProxyWithoutGlobalQuota_DODO_APPROVE_PROXY_(chainId: number): any;
|
|
19
|
+
export declare function getFetchDODOCpProxyWithoutGlobalQuota_DODO_APPROVE_PROXY_QueryOptions(chainId: number | undefined): {
|
|
20
|
+
queryKey: (string | number | undefined)[];
|
|
21
|
+
enabled: boolean[];
|
|
22
|
+
queryFn: () => any;
|
|
23
|
+
};
|
|
14
24
|
/**
|
|
15
25
|
* fetch _WETH_
|
|
16
26
|
* @param {number} chainId - number
|
|
17
27
|
* @returns {string} __output0 - address
|
|
18
28
|
*/
|
|
19
|
-
export declare function fetchDODOCpProxyWithoutGlobalQuota_WETH_(chainId: number):
|
|
29
|
+
export declare function fetchDODOCpProxyWithoutGlobalQuota_WETH_(chainId: number): any;
|
|
30
|
+
export declare function getFetchDODOCpProxyWithoutGlobalQuota_WETH_QueryOptions(chainId: number | undefined): {
|
|
31
|
+
queryKey: (string | number | undefined)[];
|
|
32
|
+
enabled: boolean[];
|
|
33
|
+
queryFn: () => any;
|
|
34
|
+
};
|
|
20
35
|
/**
|
|
21
36
|
* encode bid
|
|
22
37
|
* @param {string} cpAddress - address
|
|
@@ -25,7 +40,7 @@ export declare function fetchDODOCpProxyWithoutGlobalQuota_WETH_(chainId: number
|
|
|
25
40
|
* @param {string | number} deadLine - uint256
|
|
26
41
|
* @returns {string} encode data
|
|
27
42
|
*/
|
|
28
|
-
export declare function encodeDODOCpProxyWithoutGlobalQuotaBid(cpAddress: string, quoteAmount: string | number, flag: string | number, deadLine: string | number):
|
|
43
|
+
export declare function encodeDODOCpProxyWithoutGlobalQuotaBid(cpAddress: string, quoteAmount: string | number, flag: string | number, deadLine: string | number): any;
|
|
29
44
|
/**
|
|
30
45
|
* encode createCrowdPooling
|
|
31
46
|
* @param {string} baseToken - address
|
|
@@ -37,4 +52,4 @@ export declare function encodeDODOCpProxyWithoutGlobalQuotaBid(cpAddress: string
|
|
|
37
52
|
* @param {string | number} deadLine - uint256
|
|
38
53
|
* @returns {string} encode data
|
|
39
54
|
*/
|
|
40
|
-
export declare function encodeDODOCpProxyWithoutGlobalQuotaCreateCrowdPooling(baseToken: string, quoteToken: string, baseInAmount: string | number, timeLine: Array<string | number>, valueList: Array<string | number>, switches: Array<boolean>, deadLine: string | number):
|
|
55
|
+
export declare function encodeDODOCpProxyWithoutGlobalQuotaCreateCrowdPooling(baseToken: string, quoteToken: string, baseInAmount: string | number, timeLine: Array<string | number>, valueList: Array<string | number>, switches: Array<boolean>, deadLine: string | number): any;
|
|
@@ -4,19 +4,34 @@ export declare function getDODODppProxyContractAddressByChainId(chainId: number)
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchDODODppProxy_DODO_APPROVE_PROXY_(chainId: number):
|
|
7
|
+
export declare function fetchDODODppProxy_DODO_APPROVE_PROXY_(chainId: number): any;
|
|
8
|
+
export declare function getFetchDODODppProxy_DODO_APPROVE_PROXY_QueryOptions(chainId: number | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _DPP_FACTORY_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @returns {string} __output0 - address
|
|
12
17
|
*/
|
|
13
|
-
export declare function fetchDODODppProxy_DPP_FACTORY_(chainId: number):
|
|
18
|
+
export declare function fetchDODODppProxy_DPP_FACTORY_(chainId: number): any;
|
|
19
|
+
export declare function getFetchDODODppProxy_DPP_FACTORY_QueryOptions(chainId: number | undefined): {
|
|
20
|
+
queryKey: (string | number | undefined)[];
|
|
21
|
+
enabled: boolean[];
|
|
22
|
+
queryFn: () => any;
|
|
23
|
+
};
|
|
14
24
|
/**
|
|
15
25
|
* fetch _WETH_
|
|
16
26
|
* @param {number} chainId - number
|
|
17
27
|
* @returns {string} __output0 - address
|
|
18
28
|
*/
|
|
19
|
-
export declare function fetchDODODppProxy_WETH_(chainId: number):
|
|
29
|
+
export declare function fetchDODODppProxy_WETH_(chainId: number): any;
|
|
30
|
+
export declare function getFetchDODODppProxy_WETH_QueryOptions(chainId: number | undefined): {
|
|
31
|
+
queryKey: (string | number | undefined)[];
|
|
32
|
+
enabled: boolean[];
|
|
33
|
+
queryFn: () => any;
|
|
34
|
+
};
|
|
20
35
|
/**
|
|
21
36
|
* encode createDODOPrivatePool
|
|
22
37
|
* @param {string} baseToken - address
|
|
@@ -30,7 +45,7 @@ export declare function fetchDODODppProxy_WETH_(chainId: number): Promise<string
|
|
|
30
45
|
* @param {string | number} deadLine - uint256
|
|
31
46
|
* @returns {string} encode data
|
|
32
47
|
*/
|
|
33
|
-
export declare function encodeDODODppProxyCreateDODOPrivatePool(baseToken: string, quoteToken: string, baseInAmount: string | number, quoteInAmount: string | number, lpFeeRate: string | number, i: string | number, k: string | number, isOpenTwap: boolean, deadLine: string | number):
|
|
48
|
+
export declare function encodeDODODppProxyCreateDODOPrivatePool(baseToken: string, quoteToken: string, baseInAmount: string | number, quoteInAmount: string | number, lpFeeRate: string | number, i: string | number, k: string | number, isOpenTwap: boolean, deadLine: string | number): any;
|
|
34
49
|
/**
|
|
35
50
|
* encode resetDODOPrivatePool
|
|
36
51
|
* @param {string} dppAddress - address
|
|
@@ -42,4 +57,4 @@ export declare function encodeDODODppProxyCreateDODOPrivatePool(baseToken: strin
|
|
|
42
57
|
* @param {string | number} deadLine - uint256
|
|
43
58
|
* @returns {string} encode data
|
|
44
59
|
*/
|
|
45
|
-
export declare function encodeDODODppProxyResetDODOPrivatePool(dppAddress: string, paramList: Array<string | number>, amountList: Array<string | number>, flag: string | number, minBaseReserve: string | number, minQuoteReserve: string | number, deadLine: string | number):
|
|
60
|
+
export declare function encodeDODODppProxyResetDODOPrivatePool(dppAddress: string, paramList: Array<string | number>, amountList: Array<string | number>, flag: string | number, minBaseReserve: string | number, minQuoteReserve: string | number, deadLine: string | number): any;
|