@dodoex/dodo-contract-request 1.0.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cache/contract-info/UniswapV2Factory.json +1 -0
- package/.cache/contract-info/UniswapV2Router02.json +1 -0
- package/.env.sample +1 -1
- package/.releaserc.json +4 -11
- package/CHANGELOG.md +14 -0
- package/contract-config/sepolia.json +6 -3
- package/dist/config.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/config/sepolia.d.ts +2 -0
- package/dist/types/contract/BuyoutModel.d.ts +19 -19
- package/dist/types/contract/CP.d.ts +47 -53
- package/dist/types/contract/CloneFactory.d.ts +1 -1
- package/dist/types/contract/CrowdPoolingFactory.d.ts +39 -42
- package/dist/types/contract/CustomERC20.d.ts +27 -27
- package/dist/types/contract/CustomMintableERC20.d.ts +31 -31
- package/dist/types/contract/D3Proxy.d.ts +26 -26
- package/dist/types/contract/D3Vault.d.ts +105 -144
- package/dist/types/contract/DODOApprove.d.ts +15 -15
- package/dist/types/contract/DODOApproveProxy.d.ts +17 -17
- package/dist/types/contract/DODOCalleeHelper.d.ts +12 -12
- package/dist/types/contract/DODOCirculationHelper.d.ts +12 -12
- package/dist/types/contract/DODOCpProxy.d.ts +13 -12
- package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +12 -12
- package/dist/types/contract/DODODppProxy.d.ts +17 -17
- package/dist/types/contract/DODODspProxy.d.ts +27 -27
- package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +17 -17
- package/dist/types/contract/DODOIncentive.d.ts +23 -29
- package/dist/types/contract/DODOMineV2Factory.d.ts +18 -18
- package/dist/types/contract/DODOMineV3Proxy.d.ts +19 -18
- package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +18 -18
- package/dist/types/contract/DODOMineV3Registry.d.ts +13 -13
- package/dist/types/contract/DODONFT.d.ts +30 -30
- package/dist/types/contract/DODONFT1155.d.ts +23 -23
- package/dist/types/contract/DODONFTApprove.d.ts +22 -22
- package/dist/types/contract/DODONFTPoolProxy.d.ts +41 -41
- package/dist/types/contract/DODONFTProxy.d.ts +28 -28
- package/dist/types/contract/DODONFTRegistry.d.ts +14 -17
- package/dist/types/contract/DODONFTRouteHelper.d.ts +2 -2
- package/dist/types/contract/DODOSellHelper.d.ts +2 -2
- package/dist/types/contract/DODOStarterProxy.d.ts +6 -6
- package/dist/types/contract/DODOV1.d.ts +97 -100
- package/dist/types/contract/DODOV1Adapter.d.ts +3 -3
- package/dist/types/contract/DODOV1PmmHelper.d.ts +1 -1
- package/dist/types/contract/DODOV1Proxy.d.ts +14 -14
- package/dist/types/contract/DODOV2Proxy02.d.ts +93 -93
- package/dist/types/contract/DODOV2RouteHelper.d.ts +4 -4
- package/dist/types/contract/DPPAdvanced.d.ts +50 -82
- package/dist/types/contract/DPPAdvancedAdmin.d.ts +25 -25
- package/dist/types/contract/DPPFactory.d.ts +30 -33
- package/dist/types/contract/DSP.d.ts +61 -93
- package/dist/types/contract/DSPFactory.d.ts +21 -24
- package/dist/types/contract/DVM.d.ts +58 -86
- package/dist/types/contract/DVMFactory.d.ts +21 -24
- package/dist/types/contract/ERC20.d.ts +15 -15
- package/dist/types/contract/ERC20Helper.d.ts +4 -23
- package/dist/types/contract/ERC20MineV3.d.ts +38 -48
- package/dist/types/contract/ERC20V3Factory.d.ts +33 -37
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +25 -34
- package/dist/types/contract/FeeRateModel.d.ts +8 -8
- package/dist/types/contract/GSP.d.ts +82 -117
- package/dist/types/contract/GSPFactory.d.ts +23 -26
- package/dist/types/contract/InitializableERC20.d.ts +16 -16
- package/dist/types/contract/LimitOrder.d.ts +38 -38
- package/dist/types/contract/LimitOrderBot.d.ts +18 -18
- package/dist/types/contract/MulticallWithValid.d.ts +8 -8
- package/dist/types/contract/PermissionManager.d.ts +13 -13
- package/dist/types/contract/UniswapV2Factory.d.ts +62 -0
- package/dist/types/contract/UniswapV2Router02.d.ts +272 -0
- package/dist/types/contract/dodoTeam.d.ts +46 -49
- package/dist/types/contract/vDODOToken.d.ts +55 -67
- package/dist/types/contractRequests.d.ts +1 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +3 -3
- package/src/config/sepolia.ts +1 -1
- package/src/contract/BuyoutModel.ts +10 -10
- package/src/contract/CP.ts +5 -5
- package/src/contract/CrowdPoolingFactory.ts +15 -15
- package/src/contract/CustomERC20.ts +11 -11
- package/src/contract/CustomMintableERC20.ts +15 -15
- package/src/contract/D3Proxy.ts +20 -20
- package/src/contract/D3Vault.ts +31 -31
- package/src/contract/DODOApprove.ts +2 -2
- package/src/contract/DODOApproveProxy.ts +2 -2
- package/src/contract/DODOCalleeHelper.ts +11 -11
- package/src/contract/DODOCpProxy.ts +13 -12
- package/src/contract/DODOCpProxyWithoutGlobalQuota.ts +9 -9
- package/src/contract/DODODppProxy.ts +14 -14
- package/src/contract/DODODspProxy.ts +23 -23
- package/src/contract/DODODspProxyWithoutGSP.ts +14 -14
- package/src/contract/DODOIncentive.ts +6 -6
- package/src/contract/DODOMineV2Factory.ts +4 -4
- package/src/contract/DODOMineV3Proxy.ts +12 -11
- package/src/contract/DODOMineV3ProxyWithoutPlatform.ts +8 -8
- package/src/contract/DODONFT.ts +10 -10
- package/src/contract/DODONFT1155.ts +11 -11
- package/src/contract/DODONFTApprove.ts +8 -8
- package/src/contract/DODONFTPoolProxy.ts +24 -24
- package/src/contract/DODONFTProxy.ts +6 -6
- package/src/contract/DODOStarterProxy.ts +4 -4
- package/src/contract/DODOV1.ts +41 -41
- package/src/contract/DODOV1Proxy.ts +10 -10
- package/src/contract/DODOV2Proxy02.ts +75 -75
- package/src/contract/DPPAdvanced.ts +17 -17
- package/src/contract/DPPAdvancedAdmin.ts +12 -12
- package/src/contract/DPPFactory.ts +4 -4
- package/src/contract/DSP.ts +22 -22
- package/src/contract/DSPFactory.ts +4 -4
- package/src/contract/DVM.ts +22 -22
- package/src/contract/DVMFactory.ts +4 -4
- package/src/contract/ERC20.ts +8 -8
- package/src/contract/ERC20MineV3.ts +19 -19
- package/src/contract/ERC20V3Factory.ts +15 -15
- package/src/contract/FeeRateDIP3Impl.ts +8 -8
- package/src/contract/GSP.ts +34 -34
- package/src/contract/GSPFactory.ts +6 -6
- package/src/contract/InitializableERC20.ts +9 -9
- package/src/contract/LimitOrder.ts +9 -9
- package/src/contract/LimitOrderBot.ts +5 -5
- package/src/contract/UniswapV2Factory.ts +122 -0
- package/src/contract/UniswapV2Router02.ts +373 -0
- package/src/contract/dodoTeam.ts +24 -24
- package/src/contract/vDODOToken.ts +18 -18
- package/src/index.ts +2 -0
|
@@ -4,43 +4,43 @@ export declare function getERC20V3FactoryContractAddressByChainId(chainId: numbe
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchERC20V3Factory_CLONE_FACTORY_(chainId: number):
|
|
7
|
+
export declare function fetchERC20V3Factory_CLONE_FACTORY_(chainId: number): any;
|
|
8
8
|
/**
|
|
9
9
|
* fetch _CREATE_FEE_
|
|
10
10
|
* @param {number} chainId - number
|
|
11
11
|
* @returns {bigint} __output0 - uint256
|
|
12
12
|
*/
|
|
13
|
-
export declare function fetchERC20V3Factory_CREATE_FEE_(chainId: number):
|
|
13
|
+
export declare function fetchERC20V3Factory_CREATE_FEE_(chainId: number): any;
|
|
14
14
|
/**
|
|
15
15
|
* fetch _CUSTOM_ERC20_TEMPLATE_
|
|
16
16
|
* @param {number} chainId - number
|
|
17
17
|
* @returns {string} __output0 - address
|
|
18
18
|
*/
|
|
19
|
-
export declare function fetchERC20V3Factory_CUSTOM_ERC20_TEMPLATE_(chainId: number):
|
|
19
|
+
export declare function fetchERC20V3Factory_CUSTOM_ERC20_TEMPLATE_(chainId: number): any;
|
|
20
20
|
/**
|
|
21
21
|
* fetch _CUSTOM_MINTABLE_ERC20_TEMPLATE_
|
|
22
22
|
* @param {number} chainId - number
|
|
23
23
|
* @returns {string} __output0 - address
|
|
24
24
|
*/
|
|
25
|
-
export declare function fetchERC20V3Factory_CUSTOM_MINTABLE_ERC20_TEMPLATE_(chainId: number):
|
|
25
|
+
export declare function fetchERC20V3Factory_CUSTOM_MINTABLE_ERC20_TEMPLATE_(chainId: number): any;
|
|
26
26
|
/**
|
|
27
27
|
* fetch _ERC20_TEMPLATE_
|
|
28
28
|
* @param {number} chainId - number
|
|
29
29
|
* @returns {string} __output0 - address
|
|
30
30
|
*/
|
|
31
|
-
export declare function fetchERC20V3Factory_ERC20_TEMPLATE_(chainId: number):
|
|
31
|
+
export declare function fetchERC20V3Factory_ERC20_TEMPLATE_(chainId: number): any;
|
|
32
32
|
/**
|
|
33
33
|
* fetch _NEW_OWNER_
|
|
34
34
|
* @param {number} chainId - number
|
|
35
35
|
* @returns {string} __output0 - address
|
|
36
36
|
*/
|
|
37
|
-
export declare function fetchERC20V3Factory_NEW_OWNER_(chainId: number):
|
|
37
|
+
export declare function fetchERC20V3Factory_NEW_OWNER_(chainId: number): any;
|
|
38
38
|
/**
|
|
39
39
|
* fetch _OWNER_
|
|
40
40
|
* @param {number} chainId - number
|
|
41
41
|
* @returns {string} __output0 - address
|
|
42
42
|
*/
|
|
43
|
-
export declare function fetchERC20V3Factory_OWNER_(chainId: number):
|
|
43
|
+
export declare function fetchERC20V3Factory_OWNER_(chainId: number): any;
|
|
44
44
|
/**
|
|
45
45
|
* fetch _USER_CUSTOM_MINTABLE_REGISTRY_
|
|
46
46
|
* @param {number} chainId - number
|
|
@@ -48,7 +48,7 @@ export declare function fetchERC20V3Factory_OWNER_(chainId: number): Promise<str
|
|
|
48
48
|
* @param {number} __input2 - uint256
|
|
49
49
|
* @returns {string} __output0 - address
|
|
50
50
|
*/
|
|
51
|
-
export declare function fetchERC20V3Factory_USER_CUSTOM_MINTABLE_REGISTRY_(chainId: number, __input1: string, __input2: number):
|
|
51
|
+
export declare function fetchERC20V3Factory_USER_CUSTOM_MINTABLE_REGISTRY_(chainId: number, __input1: string, __input2: number): any;
|
|
52
52
|
/**
|
|
53
53
|
* fetch _USER_CUSTOM_REGISTRY_
|
|
54
54
|
* @param {number} chainId - number
|
|
@@ -56,7 +56,7 @@ export declare function fetchERC20V3Factory_USER_CUSTOM_MINTABLE_REGISTRY_(chain
|
|
|
56
56
|
* @param {number} __input2 - uint256
|
|
57
57
|
* @returns {string} __output0 - address
|
|
58
58
|
*/
|
|
59
|
-
export declare function fetchERC20V3Factory_USER_CUSTOM_REGISTRY_(chainId: number, __input1: string, __input2: number):
|
|
59
|
+
export declare function fetchERC20V3Factory_USER_CUSTOM_REGISTRY_(chainId: number, __input1: string, __input2: number): any;
|
|
60
60
|
/**
|
|
61
61
|
* fetch _USER_STD_REGISTRY_
|
|
62
62
|
* @param {number} chainId - number
|
|
@@ -64,7 +64,7 @@ export declare function fetchERC20V3Factory_USER_CUSTOM_REGISTRY_(chainId: numbe
|
|
|
64
64
|
* @param {number} __input2 - uint256
|
|
65
65
|
* @returns {string} __output0 - address
|
|
66
66
|
*/
|
|
67
|
-
export declare function fetchERC20V3Factory_USER_STD_REGISTRY_(chainId: number, __input1: string, __input2: number):
|
|
67
|
+
export declare function fetchERC20V3Factory_USER_STD_REGISTRY_(chainId: number, __input1: string, __input2: number): any;
|
|
68
68
|
/**
|
|
69
69
|
* fetch getTokenByUser
|
|
70
70
|
* @param {number} chainId - number
|
|
@@ -73,89 +73,85 @@ export declare function fetchERC20V3Factory_USER_STD_REGISTRY_(chainId: number,
|
|
|
73
73
|
* @returns {Array<string>} customs - address[]
|
|
74
74
|
* @returns {Array<string>} mintables - address[]
|
|
75
75
|
*/
|
|
76
|
-
export declare function fetchERC20V3FactoryGetTokenByUser(chainId: number, user: string):
|
|
77
|
-
stds: Array<string>;
|
|
78
|
-
customs: Array<string>;
|
|
79
|
-
mintables: Array<string>;
|
|
80
|
-
}>;
|
|
76
|
+
export declare function fetchERC20V3FactoryGetTokenByUser(chainId: number, user: string): any;
|
|
81
77
|
/**
|
|
82
78
|
* encode changeCreateFee
|
|
83
|
-
* @param {
|
|
79
|
+
* @param {string} newFee - uint256
|
|
84
80
|
* @returns {string} encode data
|
|
85
81
|
*/
|
|
86
|
-
export declare function encodeERC20V3FactoryChangeCreateFee(newFee:
|
|
82
|
+
export declare function encodeERC20V3FactoryChangeCreateFee(newFee: string): any;
|
|
87
83
|
/**
|
|
88
84
|
* encode claimOwnership
|
|
89
85
|
|
|
90
86
|
* @returns {string} encode data
|
|
91
87
|
*/
|
|
92
|
-
export declare function encodeERC20V3FactoryClaimOwnership():
|
|
88
|
+
export declare function encodeERC20V3FactoryClaimOwnership(): any;
|
|
93
89
|
/**
|
|
94
90
|
* encode createCustomERC20
|
|
95
|
-
* @param {
|
|
91
|
+
* @param {string} totalSupply - uint256
|
|
96
92
|
* @param {string} name - string
|
|
97
93
|
* @param {string} symbol - string
|
|
98
|
-
* @param {
|
|
99
|
-
* @param {
|
|
100
|
-
* @param {
|
|
94
|
+
* @param {string} decimals - uint8
|
|
95
|
+
* @param {string} tradeBurnRatio - uint256
|
|
96
|
+
* @param {string} tradeFeeRatio - uint256
|
|
101
97
|
* @param {string} teamAccount - address
|
|
102
98
|
* @returns {string} encode data
|
|
103
99
|
*/
|
|
104
|
-
export declare function encodeERC20V3FactoryCreateCustomERC20(totalSupply:
|
|
100
|
+
export declare function encodeERC20V3FactoryCreateCustomERC20(totalSupply: string, name: string, symbol: string, decimals: string, tradeBurnRatio: string, tradeFeeRatio: string, teamAccount: string): any;
|
|
105
101
|
/**
|
|
106
102
|
* encode createCustomMintableERC20
|
|
107
|
-
* @param {
|
|
103
|
+
* @param {string} initSupply - uint256
|
|
108
104
|
* @param {string} name - string
|
|
109
105
|
* @param {string} symbol - string
|
|
110
|
-
* @param {
|
|
111
|
-
* @param {
|
|
112
|
-
* @param {
|
|
106
|
+
* @param {string} decimals - uint8
|
|
107
|
+
* @param {string} tradeBurnRatio - uint256
|
|
108
|
+
* @param {string} tradeFeeRatio - uint256
|
|
113
109
|
* @param {string} teamAccount - address
|
|
114
110
|
* @returns {string} encode data
|
|
115
111
|
*/
|
|
116
|
-
export declare function encodeERC20V3FactoryCreateCustomMintableERC20(initSupply:
|
|
112
|
+
export declare function encodeERC20V3FactoryCreateCustomMintableERC20(initSupply: string, name: string, symbol: string, decimals: string, tradeBurnRatio: string, tradeFeeRatio: string, teamAccount: string): any;
|
|
117
113
|
/**
|
|
118
114
|
* encode createStdERC20
|
|
119
|
-
* @param {
|
|
115
|
+
* @param {string} totalSupply - uint256
|
|
120
116
|
* @param {string} name - string
|
|
121
117
|
* @param {string} symbol - string
|
|
122
|
-
* @param {
|
|
118
|
+
* @param {string} decimals - uint8
|
|
123
119
|
* @returns {string} encode data
|
|
124
120
|
*/
|
|
125
|
-
export declare function encodeERC20V3FactoryCreateStdERC20(totalSupply:
|
|
121
|
+
export declare function encodeERC20V3FactoryCreateStdERC20(totalSupply: string, name: string, symbol: string, decimals: string): any;
|
|
126
122
|
/**
|
|
127
123
|
* encode initOwner
|
|
128
124
|
* @param {string} newOwner - address
|
|
129
125
|
* @returns {string} encode data
|
|
130
126
|
*/
|
|
131
|
-
export declare function encodeERC20V3FactoryInitOwner(newOwner: string):
|
|
127
|
+
export declare function encodeERC20V3FactoryInitOwner(newOwner: string): any;
|
|
132
128
|
/**
|
|
133
129
|
* encode transferOwnership
|
|
134
130
|
* @param {string} newOwner - address
|
|
135
131
|
* @returns {string} encode data
|
|
136
132
|
*/
|
|
137
|
-
export declare function encodeERC20V3FactoryTransferOwnership(newOwner: string):
|
|
133
|
+
export declare function encodeERC20V3FactoryTransferOwnership(newOwner: string): any;
|
|
138
134
|
/**
|
|
139
135
|
* encode updateCustomMintableTemplate
|
|
140
136
|
* @param {string} newCustomMintableTemplate - address
|
|
141
137
|
* @returns {string} encode data
|
|
142
138
|
*/
|
|
143
|
-
export declare function encodeERC20V3FactoryUpdateCustomMintableTemplate(newCustomMintableTemplate: string):
|
|
139
|
+
export declare function encodeERC20V3FactoryUpdateCustomMintableTemplate(newCustomMintableTemplate: string): any;
|
|
144
140
|
/**
|
|
145
141
|
* encode updateCustomTemplate
|
|
146
142
|
* @param {string} newCustomTemplate - address
|
|
147
143
|
* @returns {string} encode data
|
|
148
144
|
*/
|
|
149
|
-
export declare function encodeERC20V3FactoryUpdateCustomTemplate(newCustomTemplate: string):
|
|
145
|
+
export declare function encodeERC20V3FactoryUpdateCustomTemplate(newCustomTemplate: string): any;
|
|
150
146
|
/**
|
|
151
147
|
* encode updateStdTemplate
|
|
152
148
|
* @param {string} newStdTemplate - address
|
|
153
149
|
* @returns {string} encode data
|
|
154
150
|
*/
|
|
155
|
-
export declare function encodeERC20V3FactoryUpdateStdTemplate(newStdTemplate: string):
|
|
151
|
+
export declare function encodeERC20V3FactoryUpdateStdTemplate(newStdTemplate: string): any;
|
|
156
152
|
/**
|
|
157
153
|
* encode withdraw
|
|
158
154
|
|
|
159
155
|
* @returns {string} encode data
|
|
160
156
|
*/
|
|
161
|
-
export declare function encodeERC20V3FactoryWithdraw():
|
|
157
|
+
export declare function encodeERC20V3FactoryWithdraw(): any;
|
|
@@ -4,19 +4,19 @@ export declare function getFeeRateDIP3ImplContractAddressByChainId(chainId: numb
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {bigint} __output0 - uint256
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchFeeRateDIP3Impl_LP_MT_RATIO_(chainId: number):
|
|
7
|
+
export declare function fetchFeeRateDIP3Impl_LP_MT_RATIO_(chainId: number): any;
|
|
8
8
|
/**
|
|
9
9
|
* fetch _NEW_OWNER_
|
|
10
10
|
* @param {number} chainId - number
|
|
11
11
|
* @returns {string} __output0 - address
|
|
12
12
|
*/
|
|
13
|
-
export declare function fetchFeeRateDIP3Impl_NEW_OWNER_(chainId: number):
|
|
13
|
+
export declare function fetchFeeRateDIP3Impl_NEW_OWNER_(chainId: number): any;
|
|
14
14
|
/**
|
|
15
15
|
* fetch _OWNER_
|
|
16
16
|
* @param {number} chainId - number
|
|
17
17
|
* @returns {string} __output0 - address
|
|
18
18
|
*/
|
|
19
|
-
export declare function fetchFeeRateDIP3Impl_OWNER_(chainId: number):
|
|
19
|
+
export declare function fetchFeeRateDIP3Impl_OWNER_(chainId: number): any;
|
|
20
20
|
/**
|
|
21
21
|
* fetch cpPools
|
|
22
22
|
* @param {number} chainId - number
|
|
@@ -26,12 +26,7 @@ export declare function fetchFeeRateDIP3Impl_OWNER_(chainId: number): Promise<st
|
|
|
26
26
|
* @returns {string} feeAddr - address
|
|
27
27
|
* @returns {string} quotaAddr - address
|
|
28
28
|
*/
|
|
29
|
-
export declare function fetchFeeRateDIP3ImplCpPools(chainId: number, __input1: string):
|
|
30
|
-
quoteToken: string;
|
|
31
|
-
globalQuota: bigint;
|
|
32
|
-
feeAddr: string;
|
|
33
|
-
quotaAddr: string;
|
|
34
|
-
}>;
|
|
29
|
+
export declare function fetchFeeRateDIP3ImplCpPools(chainId: number, __input1: string): any;
|
|
35
30
|
/**
|
|
36
31
|
* fetch getCPInfoByUser
|
|
37
32
|
* @param {number} chainId - number
|
|
@@ -41,11 +36,7 @@ export declare function fetchFeeRateDIP3ImplCpPools(chainId: number, __input1: s
|
|
|
41
36
|
* @returns {bigint} curQuota - int256
|
|
42
37
|
* @returns {bigint} userFee - uint256
|
|
43
38
|
*/
|
|
44
|
-
export declare function fetchFeeRateDIP3ImplGetCPInfoByUser(chainId: number, pool: string, user: string):
|
|
45
|
-
isHaveCap: boolean;
|
|
46
|
-
curQuota: bigint;
|
|
47
|
-
userFee: bigint;
|
|
48
|
-
}>;
|
|
39
|
+
export declare function fetchFeeRateDIP3ImplGetCPInfoByUser(chainId: number, pool: string, user: string): any;
|
|
49
40
|
/**
|
|
50
41
|
* fetch getFeeRate
|
|
51
42
|
* @param {number} chainId - number
|
|
@@ -53,106 +44,106 @@ export declare function fetchFeeRateDIP3ImplGetCPInfoByUser(chainId: number, poo
|
|
|
53
44
|
* @param {string} user - address
|
|
54
45
|
* @returns {bigint} __output0 - uint256
|
|
55
46
|
*/
|
|
56
|
-
export declare function fetchFeeRateDIP3ImplGetFeeRate(chainId: number, pool: string, user: string):
|
|
47
|
+
export declare function fetchFeeRateDIP3ImplGetFeeRate(chainId: number, pool: string, user: string): any;
|
|
57
48
|
/**
|
|
58
49
|
* fetch isAdminListed
|
|
59
50
|
* @param {number} chainId - number
|
|
60
51
|
* @param {string} __input1 - address
|
|
61
52
|
* @returns {boolean} __output0 - bool
|
|
62
53
|
*/
|
|
63
|
-
export declare function fetchFeeRateDIP3ImplIsAdminListed(chainId: number, __input1: string):
|
|
54
|
+
export declare function fetchFeeRateDIP3ImplIsAdminListed(chainId: number, __input1: string): any;
|
|
64
55
|
/**
|
|
65
56
|
* fetch poolHeartBeat
|
|
66
57
|
* @param {number} chainId - number
|
|
67
58
|
* @returns {string} __output0 - address
|
|
68
59
|
*/
|
|
69
|
-
export declare function fetchFeeRateDIP3ImplPoolHeartBeat(chainId: number):
|
|
60
|
+
export declare function fetchFeeRateDIP3ImplPoolHeartBeat(chainId: number): any;
|
|
70
61
|
/**
|
|
71
62
|
* fetch specPoolList
|
|
72
63
|
* @param {number} chainId - number
|
|
73
64
|
* @param {string} __input1 - address
|
|
74
65
|
* @returns {bigint} __output0 - uint256
|
|
75
66
|
*/
|
|
76
|
-
export declare function fetchFeeRateDIP3ImplSpecPoolList(chainId: number, __input1: string):
|
|
67
|
+
export declare function fetchFeeRateDIP3ImplSpecPoolList(chainId: number, __input1: string): any;
|
|
77
68
|
/**
|
|
78
69
|
* fetch version
|
|
79
70
|
* @param {number} chainId - number
|
|
80
71
|
* @returns {string} __output0 - string
|
|
81
72
|
*/
|
|
82
|
-
export declare function fetchFeeRateDIP3ImplVersion(chainId: number):
|
|
73
|
+
export declare function fetchFeeRateDIP3ImplVersion(chainId: number): any;
|
|
83
74
|
/**
|
|
84
75
|
* encode addAdminList
|
|
85
76
|
* @param {string} userAddr - address
|
|
86
77
|
* @returns {string} encode data
|
|
87
78
|
*/
|
|
88
|
-
export declare function encodeFeeRateDIP3ImplAddAdminList(userAddr: string):
|
|
79
|
+
export declare function encodeFeeRateDIP3ImplAddAdminList(userAddr: string): any;
|
|
89
80
|
/**
|
|
90
81
|
* encode addCpPoolInfo
|
|
91
82
|
* @param {string} cpPool - address
|
|
92
83
|
* @param {string} quoteToken - address
|
|
93
|
-
* @param {
|
|
84
|
+
* @param {string} globalQuota - int256
|
|
94
85
|
* @param {string} feeAddr - address
|
|
95
86
|
* @param {string} quotaAddr - address
|
|
96
87
|
* @returns {string} encode data
|
|
97
88
|
*/
|
|
98
|
-
export declare function encodeFeeRateDIP3ImplAddCpPoolInfo(cpPool: string, quoteToken: string, globalQuota:
|
|
89
|
+
export declare function encodeFeeRateDIP3ImplAddCpPoolInfo(cpPool: string, quoteToken: string, globalQuota: string, feeAddr: string, quotaAddr: string): any;
|
|
99
90
|
/**
|
|
100
91
|
* encode claimOwnership
|
|
101
92
|
|
|
102
93
|
* @returns {string} encode data
|
|
103
94
|
*/
|
|
104
|
-
export declare function encodeFeeRateDIP3ImplClaimOwnership():
|
|
95
|
+
export declare function encodeFeeRateDIP3ImplClaimOwnership(): any;
|
|
105
96
|
/**
|
|
106
97
|
* encode initOwner
|
|
107
98
|
* @param {string} newOwner - address
|
|
108
99
|
* @returns {string} encode data
|
|
109
100
|
*/
|
|
110
|
-
export declare function encodeFeeRateDIP3ImplInitOwner(newOwner: string):
|
|
101
|
+
export declare function encodeFeeRateDIP3ImplInitOwner(newOwner: string): any;
|
|
111
102
|
/**
|
|
112
103
|
* encode removeAdminList
|
|
113
104
|
* @param {string} userAddr - address
|
|
114
105
|
* @returns {string} encode data
|
|
115
106
|
*/
|
|
116
|
-
export declare function encodeFeeRateDIP3ImplRemoveAdminList(userAddr: string):
|
|
107
|
+
export declare function encodeFeeRateDIP3ImplRemoveAdminList(userAddr: string): any;
|
|
117
108
|
/**
|
|
118
109
|
* encode setCpPoolInfo
|
|
119
110
|
* @param {string} cpPool - address
|
|
120
111
|
* @param {string} quoteToken - address
|
|
121
|
-
* @param {
|
|
112
|
+
* @param {string} globalQuota - int256
|
|
122
113
|
* @param {string} feeAddr - address
|
|
123
114
|
* @param {string} quotaAddr - address
|
|
124
115
|
* @returns {string} encode data
|
|
125
116
|
*/
|
|
126
|
-
export declare function encodeFeeRateDIP3ImplSetCpPoolInfo(cpPool: string, quoteToken: string, globalQuota:
|
|
117
|
+
export declare function encodeFeeRateDIP3ImplSetCpPoolInfo(cpPool: string, quoteToken: string, globalQuota: string, feeAddr: string, quotaAddr: string): any;
|
|
127
118
|
/**
|
|
128
119
|
* encode setCpPoolQuotaAddr
|
|
129
120
|
* @param {string} cpPool - address
|
|
130
121
|
* @param {string} quotaAddr - address
|
|
131
122
|
* @returns {string} encode data
|
|
132
123
|
*/
|
|
133
|
-
export declare function encodeFeeRateDIP3ImplSetCpPoolQuotaAddr(cpPool: string, quotaAddr: string):
|
|
124
|
+
export declare function encodeFeeRateDIP3ImplSetCpPoolQuotaAddr(cpPool: string, quotaAddr: string): any;
|
|
134
125
|
/**
|
|
135
126
|
* encode setLpMtRatio
|
|
136
|
-
* @param {
|
|
127
|
+
* @param {string} newLpMtRatio - uint256
|
|
137
128
|
* @returns {string} encode data
|
|
138
129
|
*/
|
|
139
|
-
export declare function encodeFeeRateDIP3ImplSetLpMtRatio(newLpMtRatio:
|
|
130
|
+
export declare function encodeFeeRateDIP3ImplSetLpMtRatio(newLpMtRatio: string): any;
|
|
140
131
|
/**
|
|
141
132
|
* encode setPoolHeartBeat
|
|
142
133
|
* @param {string} newPoolHeartBeat - address
|
|
143
134
|
* @returns {string} encode data
|
|
144
135
|
*/
|
|
145
|
-
export declare function encodeFeeRateDIP3ImplSetPoolHeartBeat(newPoolHeartBeat: string):
|
|
136
|
+
export declare function encodeFeeRateDIP3ImplSetPoolHeartBeat(newPoolHeartBeat: string): any;
|
|
146
137
|
/**
|
|
147
138
|
* encode setSpecPoolList
|
|
148
139
|
* @param {string} poolAddr - address
|
|
149
|
-
* @param {
|
|
140
|
+
* @param {string} mtFeeRate - uint256
|
|
150
141
|
* @returns {string} encode data
|
|
151
142
|
*/
|
|
152
|
-
export declare function encodeFeeRateDIP3ImplSetSpecPoolList(poolAddr: string, mtFeeRate:
|
|
143
|
+
export declare function encodeFeeRateDIP3ImplSetSpecPoolList(poolAddr: string, mtFeeRate: string): any;
|
|
153
144
|
/**
|
|
154
145
|
* encode transferOwnership
|
|
155
146
|
* @param {string} newOwner - address
|
|
156
147
|
* @returns {string} encode data
|
|
157
148
|
*/
|
|
158
|
-
export declare function encodeFeeRateDIP3ImplTransferOwnership(newOwner: string):
|
|
149
|
+
export declare function encodeFeeRateDIP3ImplTransferOwnership(newOwner: string): any;
|
|
@@ -4,21 +4,21 @@
|
|
|
4
4
|
* @param {string} __to - string
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchFeeRateModel_NEW_OWNER_(chainId: number, __to: string):
|
|
7
|
+
export declare function fetchFeeRateModel_NEW_OWNER_(chainId: number, __to: string): any;
|
|
8
8
|
/**
|
|
9
9
|
* fetch _OWNER_
|
|
10
10
|
* @param {number} chainId - number
|
|
11
11
|
* @param {string} __to - string
|
|
12
12
|
* @returns {string} __output0 - address
|
|
13
13
|
*/
|
|
14
|
-
export declare function fetchFeeRateModel_OWNER_(chainId: number, __to: string):
|
|
14
|
+
export declare function fetchFeeRateModel_OWNER_(chainId: number, __to: string): any;
|
|
15
15
|
/**
|
|
16
16
|
* fetch feeRateImpl
|
|
17
17
|
* @param {number} chainId - number
|
|
18
18
|
* @param {string} __to - string
|
|
19
19
|
* @returns {string} __output0 - address
|
|
20
20
|
*/
|
|
21
|
-
export declare function fetchFeeRateModelFeeRateImpl(chainId: number, __to: string):
|
|
21
|
+
export declare function fetchFeeRateModelFeeRateImpl(chainId: number, __to: string): any;
|
|
22
22
|
/**
|
|
23
23
|
* fetch getFeeRate
|
|
24
24
|
* @param {number} chainId - number
|
|
@@ -26,28 +26,28 @@ export declare function fetchFeeRateModelFeeRateImpl(chainId: number, __to: stri
|
|
|
26
26
|
* @param {string} trader - address
|
|
27
27
|
* @returns {bigint} __output0 - uint256
|
|
28
28
|
*/
|
|
29
|
-
export declare function fetchFeeRateModelGetFeeRate(chainId: number, __to: string, trader: string):
|
|
29
|
+
export declare function fetchFeeRateModelGetFeeRate(chainId: number, __to: string, trader: string): any;
|
|
30
30
|
/**
|
|
31
31
|
* encode claimOwnership
|
|
32
32
|
|
|
33
33
|
* @returns {string} encode data
|
|
34
34
|
*/
|
|
35
|
-
export declare function encodeFeeRateModelClaimOwnership():
|
|
35
|
+
export declare function encodeFeeRateModelClaimOwnership(): any;
|
|
36
36
|
/**
|
|
37
37
|
* encode initOwner
|
|
38
38
|
* @param {string} newOwner - address
|
|
39
39
|
* @returns {string} encode data
|
|
40
40
|
*/
|
|
41
|
-
export declare function encodeFeeRateModelInitOwner(newOwner: string):
|
|
41
|
+
export declare function encodeFeeRateModelInitOwner(newOwner: string): any;
|
|
42
42
|
/**
|
|
43
43
|
* encode setFeeProxy
|
|
44
44
|
* @param {string} _feeRateImpl - address
|
|
45
45
|
* @returns {string} encode data
|
|
46
46
|
*/
|
|
47
|
-
export declare function encodeFeeRateModelSetFeeProxy(_feeRateImpl: string):
|
|
47
|
+
export declare function encodeFeeRateModelSetFeeProxy(_feeRateImpl: string): any;
|
|
48
48
|
/**
|
|
49
49
|
* encode transferOwnership
|
|
50
50
|
* @param {string} newOwner - address
|
|
51
51
|
* @returns {string} encode data
|
|
52
52
|
*/
|
|
53
|
-
export declare function encodeFeeRateModelTransferOwnership(newOwner: string):
|
|
53
|
+
export declare function encodeFeeRateModelTransferOwnership(newOwner: string): any;
|