@dodoex/dodo-contract-request 1.3.0 → 1.3.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/CHANGELOG.md +7 -0
- package/dist/index.js +1 -1
- package/dist/types/contract/BuyoutModel.d.ts +19 -19
- package/dist/types/contract/CP.d.ts +53 -47
- package/dist/types/contract/CloneFactory.d.ts +1 -1
- package/dist/types/contract/CrowdPoolingFactory.d.ts +42 -39
- 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 +144 -105
- 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 -13
- 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 +29 -23
- package/dist/types/contract/DODOMineV2Factory.d.ts +18 -18
- package/dist/types/contract/DODOMineV3Proxy.d.ts +19 -19
- 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 +17 -14
- 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 +100 -97
- 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 +82 -50
- package/dist/types/contract/DPPAdvancedAdmin.d.ts +25 -25
- package/dist/types/contract/DPPFactory.d.ts +33 -30
- package/dist/types/contract/DSP.d.ts +93 -61
- package/dist/types/contract/DSPFactory.d.ts +24 -21
- package/dist/types/contract/DVM.d.ts +86 -58
- package/dist/types/contract/DVMFactory.d.ts +24 -21
- package/dist/types/contract/ERC20.d.ts +15 -15
- package/dist/types/contract/ERC20Helper.d.ts +23 -4
- package/dist/types/contract/ERC20MineV3.d.ts +48 -38
- package/dist/types/contract/ERC20V3Factory.d.ts +37 -33
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +34 -25
- package/dist/types/contract/FeeRateModel.d.ts +8 -8
- package/dist/types/contract/GSP.d.ts +117 -82
- package/dist/types/contract/GSPFactory.d.ts +26 -23
- 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 +11 -11
- package/dist/types/contract/UniswapV2Pair.d.ts +45 -41
- package/dist/types/contract/UniswapV2Router02.d.ts +103 -103
- package/dist/types/contract/dodoTeam.d.ts +49 -46
- package/dist/types/contract/vDODOToken.d.ts +67 -55
- package/dist/types/contractRequests.d.ts +1 -1
- package/package.json +1 -1
- package/src/contract/BuyoutModel.ts +16 -16
- package/src/contract/CP.ts +39 -39
- package/src/contract/CrowdPoolingFactory.ts +34 -34
- package/src/contract/CustomERC20.ts +22 -22
- package/src/contract/CustomMintableERC20.ts +26 -26
- package/src/contract/D3Proxy.ts +24 -24
- package/src/contract/D3Vault.ts +79 -79
- package/src/contract/DODOApprove.ts +8 -8
- package/src/contract/DODOApproveProxy.ts +9 -9
- package/src/contract/DODOCalleeHelper.ts +12 -12
- package/src/contract/DODOCirculationHelper.ts +7 -7
- package/src/contract/DODOCpProxy.ts +13 -13
- package/src/contract/DODOCpProxyWithoutGlobalQuota.ts +12 -12
- package/src/contract/DODODppProxy.ts +17 -17
- package/src/contract/DODODspProxy.ts +27 -27
- package/src/contract/DODODspProxyWithoutGSP.ts +17 -17
- package/src/contract/DODOIncentive.ts +17 -17
- package/src/contract/DODOMineV2Factory.ts +11 -11
- package/src/contract/DODOMineV3Proxy.ts +15 -15
- package/src/contract/DODOMineV3ProxyWithoutPlatform.ts +14 -14
- package/src/contract/DODOMineV3Registry.ts +6 -6
- package/src/contract/DODONFT.ts +24 -24
- package/src/contract/DODONFT1155.ts +19 -19
- package/src/contract/DODONFTApprove.ts +14 -14
- package/src/contract/DODONFTPoolProxy.ts +34 -34
- package/src/contract/DODONFTProxy.ts +18 -18
- package/src/contract/DODONFTRegistry.ts +7 -7
- package/src/contract/DODONFTRouteHelper.ts +2 -2
- package/src/contract/DODOSellHelper.ts +2 -2
- package/src/contract/DODOStarterProxy.ts +6 -6
- package/src/contract/DODOV1.ts +80 -80
- package/src/contract/DODOV1Adapter.ts +1 -1
- package/src/contract/DODOV1PmmHelper.ts +1 -1
- package/src/contract/DODOV1Proxy.ts +11 -11
- package/src/contract/DODOV2Proxy02.ts +88 -88
- package/src/contract/DODOV2RouteHelper.ts +4 -4
- package/src/contract/DPPAdvanced.ts +44 -44
- package/src/contract/DPPAdvancedAdmin.ts +19 -19
- package/src/contract/DPPFactory.ts +18 -18
- package/src/contract/DSP.ts +57 -57
- package/src/contract/DSPFactory.ts +15 -15
- package/src/contract/DVM.ts +54 -54
- package/src/contract/DVMFactory.ts +15 -15
- package/src/contract/ERC20.ts +14 -14
- package/src/contract/ERC20Helper.ts +4 -4
- package/src/contract/ERC20MineV3.ts +32 -32
- package/src/contract/ERC20V3Factory.ts +26 -26
- package/src/contract/FeeRateDIP3Impl.ts +18 -18
- package/src/contract/FeeRateModel.ts +4 -4
- package/src/contract/GSP.ts +75 -75
- package/src/contract/GSPFactory.ts +16 -16
- package/src/contract/InitializableERC20.ts +16 -16
- package/src/contract/LimitOrder.ts +19 -19
- package/src/contract/LimitOrderBot.ts +11 -11
- package/src/contract/MulticallWithValid.ts +7 -7
- package/src/contract/PermissionManager.ts +4 -4
- package/src/contract/UniswapV2Factory.ts +9 -9
- package/src/contract/UniswapV2Pair.ts +36 -36
- package/src/contract/UniswapV2Router02.ts +91 -91
- package/src/contract/dodoTeam.ts +38 -38
- package/src/contract/vDODOToken.ts +48 -48
|
@@ -4,79 +4,79 @@ export declare function getCrowdPoolingFactoryContractAddressByChainId(chainId:
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {bigint} __output0 - uint256
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchCrowdPoolingFactory_CALM_DURATION_(chainId: number):
|
|
7
|
+
export declare function fetchCrowdPoolingFactory_CALM_DURATION_(chainId: number): Promise<bigint>;
|
|
8
8
|
/**
|
|
9
9
|
* fetch _CAP_RATIO_
|
|
10
10
|
* @param {number} chainId - number
|
|
11
11
|
* @returns {bigint} __output0 - uint256
|
|
12
12
|
*/
|
|
13
|
-
export declare function fetchCrowdPoolingFactory_CAP_RATIO_(chainId: number):
|
|
13
|
+
export declare function fetchCrowdPoolingFactory_CAP_RATIO_(chainId: number): Promise<bigint>;
|
|
14
14
|
/**
|
|
15
15
|
* fetch _CLIFF_RATE_
|
|
16
16
|
* @param {number} chainId - number
|
|
17
17
|
* @returns {bigint} __output0 - uint256
|
|
18
18
|
*/
|
|
19
|
-
export declare function fetchCrowdPoolingFactory_CLIFF_RATE_(chainId: number):
|
|
19
|
+
export declare function fetchCrowdPoolingFactory_CLIFF_RATE_(chainId: number): Promise<bigint>;
|
|
20
20
|
/**
|
|
21
21
|
* fetch _CLONE_FACTORY_
|
|
22
22
|
* @param {number} chainId - number
|
|
23
23
|
* @returns {string} __output0 - address
|
|
24
24
|
*/
|
|
25
|
-
export declare function fetchCrowdPoolingFactory_CLONE_FACTORY_(chainId: number):
|
|
25
|
+
export declare function fetchCrowdPoolingFactory_CLONE_FACTORY_(chainId: number): Promise<string>;
|
|
26
26
|
/**
|
|
27
27
|
* fetch _CP_TEMPLATE_
|
|
28
28
|
* @param {number} chainId - number
|
|
29
29
|
* @returns {string} __output0 - address
|
|
30
30
|
*/
|
|
31
|
-
export declare function fetchCrowdPoolingFactory_CP_TEMPLATE_(chainId: number):
|
|
31
|
+
export declare function fetchCrowdPoolingFactory_CP_TEMPLATE_(chainId: number): Promise<string>;
|
|
32
32
|
/**
|
|
33
33
|
* fetch _DEFAULT_MAINTAINER_
|
|
34
34
|
* @param {number} chainId - number
|
|
35
35
|
* @returns {string} __output0 - address
|
|
36
36
|
*/
|
|
37
|
-
export declare function fetchCrowdPoolingFactory_DEFAULT_MAINTAINER_(chainId: number):
|
|
37
|
+
export declare function fetchCrowdPoolingFactory_DEFAULT_MAINTAINER_(chainId: number): Promise<string>;
|
|
38
38
|
/**
|
|
39
39
|
* fetch _DEFAULT_MT_FEE_RATE_MODEL_
|
|
40
40
|
* @param {number} chainId - number
|
|
41
41
|
* @returns {string} __output0 - address
|
|
42
42
|
*/
|
|
43
|
-
export declare function fetchCrowdPoolingFactory_DEFAULT_MT_FEE_RATE_MODEL_(chainId: number):
|
|
43
|
+
export declare function fetchCrowdPoolingFactory_DEFAULT_MT_FEE_RATE_MODEL_(chainId: number): Promise<string>;
|
|
44
44
|
/**
|
|
45
45
|
* fetch _DEFAULT_PERMISSION_MANAGER_
|
|
46
46
|
* @param {number} chainId - number
|
|
47
47
|
* @returns {string} __output0 - address
|
|
48
48
|
*/
|
|
49
|
-
export declare function fetchCrowdPoolingFactory_DEFAULT_PERMISSION_MANAGER_(chainId: number):
|
|
49
|
+
export declare function fetchCrowdPoolingFactory_DEFAULT_PERMISSION_MANAGER_(chainId: number): Promise<string>;
|
|
50
50
|
/**
|
|
51
51
|
* fetch _DVM_FACTORY_
|
|
52
52
|
* @param {number} chainId - number
|
|
53
53
|
* @returns {string} __output0 - address
|
|
54
54
|
*/
|
|
55
|
-
export declare function fetchCrowdPoolingFactory_DVM_FACTORY_(chainId: number):
|
|
55
|
+
export declare function fetchCrowdPoolingFactory_DVM_FACTORY_(chainId: number): Promise<string>;
|
|
56
56
|
/**
|
|
57
57
|
* fetch _FREEZE_DURATION_
|
|
58
58
|
* @param {number} chainId - number
|
|
59
59
|
* @returns {bigint} __output0 - uint256
|
|
60
60
|
*/
|
|
61
|
-
export declare function fetchCrowdPoolingFactory_FREEZE_DURATION_(chainId: number):
|
|
61
|
+
export declare function fetchCrowdPoolingFactory_FREEZE_DURATION_(chainId: number): Promise<bigint>;
|
|
62
62
|
/**
|
|
63
63
|
* fetch _K_
|
|
64
64
|
* @param {number} chainId - number
|
|
65
65
|
* @returns {bigint} __output0 - uint256
|
|
66
66
|
*/
|
|
67
|
-
export declare function fetchCrowdPoolingFactory_K_(chainId: number):
|
|
67
|
+
export declare function fetchCrowdPoolingFactory_K_(chainId: number): Promise<bigint>;
|
|
68
68
|
/**
|
|
69
69
|
* fetch _NEW_OWNER_
|
|
70
70
|
* @param {number} chainId - number
|
|
71
71
|
* @returns {string} __output0 - address
|
|
72
72
|
*/
|
|
73
|
-
export declare function fetchCrowdPoolingFactory_NEW_OWNER_(chainId: number):
|
|
73
|
+
export declare function fetchCrowdPoolingFactory_NEW_OWNER_(chainId: number): Promise<string>;
|
|
74
74
|
/**
|
|
75
75
|
* fetch _OWNER_
|
|
76
76
|
* @param {number} chainId - number
|
|
77
77
|
* @returns {string} __output0 - address
|
|
78
78
|
*/
|
|
79
|
-
export declare function fetchCrowdPoolingFactory_OWNER_(chainId: number):
|
|
79
|
+
export declare function fetchCrowdPoolingFactory_OWNER_(chainId: number): Promise<string>;
|
|
80
80
|
/**
|
|
81
81
|
* fetch _REGISTRY_
|
|
82
82
|
* @param {number} chainId - number
|
|
@@ -85,7 +85,7 @@ export declare function fetchCrowdPoolingFactory_OWNER_(chainId: number): any;
|
|
|
85
85
|
* @param {number} __input3 - uint256
|
|
86
86
|
* @returns {string} __output0 - address
|
|
87
87
|
*/
|
|
88
|
-
export declare function fetchCrowdPoolingFactory_REGISTRY_(chainId: number, __input1: string, __input2: string, __input3: number):
|
|
88
|
+
export declare function fetchCrowdPoolingFactory_REGISTRY_(chainId: number, __input1: string, __input2: string, __input3: number): Promise<string>;
|
|
89
89
|
/**
|
|
90
90
|
* fetch _USER_REGISTRY_
|
|
91
91
|
* @param {number} chainId - number
|
|
@@ -93,13 +93,13 @@ export declare function fetchCrowdPoolingFactory_REGISTRY_(chainId: number, __in
|
|
|
93
93
|
* @param {number} __input2 - uint256
|
|
94
94
|
* @returns {string} __output0 - address
|
|
95
95
|
*/
|
|
96
|
-
export declare function fetchCrowdPoolingFactory_USER_REGISTRY_(chainId: number, __input1: string, __input2: number):
|
|
96
|
+
export declare function fetchCrowdPoolingFactory_USER_REGISTRY_(chainId: number, __input1: string, __input2: number): Promise<string>;
|
|
97
97
|
/**
|
|
98
98
|
* fetch _VEST_DURATION_
|
|
99
99
|
* @param {number} chainId - number
|
|
100
100
|
* @returns {bigint} __output0 - uint256
|
|
101
101
|
*/
|
|
102
|
-
export declare function fetchCrowdPoolingFactory_VEST_DURATION_(chainId: number):
|
|
102
|
+
export declare function fetchCrowdPoolingFactory_VEST_DURATION_(chainId: number): Promise<bigint>;
|
|
103
103
|
/**
|
|
104
104
|
* fetch getCrowdPooling
|
|
105
105
|
* @param {number} chainId - number
|
|
@@ -107,7 +107,7 @@ export declare function fetchCrowdPoolingFactory_VEST_DURATION_(chainId: number)
|
|
|
107
107
|
* @param {string} quoteToken - address
|
|
108
108
|
* @returns {Array<string>} pools - address[]
|
|
109
109
|
*/
|
|
110
|
-
export declare function fetchCrowdPoolingFactoryGetCrowdPooling(chainId: number, baseToken: string, quoteToken: string):
|
|
110
|
+
export declare function fetchCrowdPoolingFactoryGetCrowdPooling(chainId: number, baseToken: string, quoteToken: string): Promise<string[]>;
|
|
111
111
|
/**
|
|
112
112
|
* fetch getCrowdPoolingBidirection
|
|
113
113
|
* @param {number} chainId - number
|
|
@@ -116,89 +116,92 @@ export declare function fetchCrowdPoolingFactoryGetCrowdPooling(chainId: number,
|
|
|
116
116
|
* @returns {Array<string>} baseToken0Pools - address[]
|
|
117
117
|
* @returns {Array<string>} baseToken1Pools - address[]
|
|
118
118
|
*/
|
|
119
|
-
export declare function fetchCrowdPoolingFactoryGetCrowdPoolingBidirection(chainId: number, token0: string, token1: string):
|
|
119
|
+
export declare function fetchCrowdPoolingFactoryGetCrowdPoolingBidirection(chainId: number, token0: string, token1: string): Promise<{
|
|
120
|
+
baseToken0Pools: Array<string>;
|
|
121
|
+
baseToken1Pools: Array<string>;
|
|
122
|
+
}>;
|
|
120
123
|
/**
|
|
121
124
|
* fetch getCrowdPoolingByUser
|
|
122
125
|
* @param {number} chainId - number
|
|
123
126
|
* @param {string} user - address
|
|
124
127
|
* @returns {Array<string>} pools - address[]
|
|
125
128
|
*/
|
|
126
|
-
export declare function fetchCrowdPoolingFactoryGetCrowdPoolingByUser(chainId: number, user: string):
|
|
129
|
+
export declare function fetchCrowdPoolingFactoryGetCrowdPoolingByUser(chainId: number, user: string): Promise<string[]>;
|
|
127
130
|
/**
|
|
128
131
|
* encode claimOwnership
|
|
129
132
|
|
|
130
133
|
* @returns {string} encode data
|
|
131
134
|
*/
|
|
132
|
-
export declare function encodeCrowdPoolingFactoryClaimOwnership():
|
|
135
|
+
export declare function encodeCrowdPoolingFactoryClaimOwnership(): string;
|
|
133
136
|
/**
|
|
134
137
|
* encode createCrowdPooling
|
|
135
138
|
|
|
136
139
|
* @returns {string} encode data
|
|
137
140
|
*/
|
|
138
|
-
export declare function encodeCrowdPoolingFactoryCreateCrowdPooling():
|
|
141
|
+
export declare function encodeCrowdPoolingFactoryCreateCrowdPooling(): string;
|
|
139
142
|
/**
|
|
140
143
|
* encode initCrowdPooling
|
|
141
144
|
* @param {string} cpAddress - address
|
|
142
145
|
* @param {string} creator - address
|
|
143
146
|
* @param {string} baseToken - address
|
|
144
147
|
* @param {string} quoteToken - address
|
|
145
|
-
* @param {Array<string>} timeLine - uint256[]
|
|
146
|
-
* @param {Array<string>} valueList - uint256[]
|
|
148
|
+
* @param {Array<string | number>} timeLine - uint256[]
|
|
149
|
+
* @param {Array<string | number>} valueList - uint256[]
|
|
147
150
|
* @param {boolean} isOpenTWAP - bool
|
|
148
151
|
* @returns {string} encode data
|
|
149
152
|
*/
|
|
150
|
-
export declare function encodeCrowdPoolingFactoryInitCrowdPooling(cpAddress: string, creator: string, baseToken: string, quoteToken: string, timeLine: Array<string>, valueList: Array<string>, isOpenTWAP: boolean):
|
|
153
|
+
export declare function encodeCrowdPoolingFactoryInitCrowdPooling(cpAddress: string, creator: string, baseToken: string, quoteToken: string, timeLine: Array<string | number>, valueList: Array<string | number>, isOpenTWAP: boolean): string;
|
|
151
154
|
/**
|
|
152
155
|
* encode initOwner
|
|
153
156
|
* @param {string} newOwner - address
|
|
154
157
|
* @returns {string} encode data
|
|
155
158
|
*/
|
|
156
|
-
export declare function encodeCrowdPoolingFactoryInitOwner(newOwner: string):
|
|
159
|
+
export declare function encodeCrowdPoolingFactoryInitOwner(newOwner: string): string;
|
|
157
160
|
/**
|
|
158
161
|
* encode setCalmDuration
|
|
159
|
-
* @param {string} _newCalmDuration - uint256
|
|
162
|
+
* @param {string | number} _newCalmDuration - uint256
|
|
160
163
|
* @returns {string} encode data
|
|
161
164
|
*/
|
|
162
|
-
export declare function encodeCrowdPoolingFactorySetCalmDuration(_newCalmDuration: string):
|
|
165
|
+
export declare function encodeCrowdPoolingFactorySetCalmDuration(_newCalmDuration: string | number): string;
|
|
163
166
|
/**
|
|
164
167
|
* encode setCapRatio
|
|
165
|
-
* @param {string} _newCapRatio - uint256
|
|
168
|
+
* @param {string | number} _newCapRatio - uint256
|
|
166
169
|
* @returns {string} encode data
|
|
167
170
|
*/
|
|
168
|
-
export declare function encodeCrowdPoolingFactorySetCapRatio(_newCapRatio: string):
|
|
171
|
+
export declare function encodeCrowdPoolingFactorySetCapRatio(_newCapRatio: string | number): string;
|
|
169
172
|
/**
|
|
170
173
|
* encode setCliffRate
|
|
171
|
-
* @param {string} _newCliffRate - uint256
|
|
174
|
+
* @param {string | number} _newCliffRate - uint256
|
|
172
175
|
* @returns {string} encode data
|
|
173
176
|
*/
|
|
174
|
-
export declare function encodeCrowdPoolingFactorySetCliffRate(_newCliffRate: string):
|
|
177
|
+
export declare function encodeCrowdPoolingFactorySetCliffRate(_newCliffRate: string | number): string;
|
|
175
178
|
/**
|
|
176
179
|
* encode setFreezeDuration
|
|
177
|
-
* @param {string} _newFreeDuration - uint256
|
|
180
|
+
* @param {string | number} _newFreeDuration - uint256
|
|
178
181
|
* @returns {string} encode data
|
|
179
182
|
*/
|
|
180
|
-
export declare function encodeCrowdPoolingFactorySetFreezeDuration(_newFreeDuration: string):
|
|
183
|
+
export declare function encodeCrowdPoolingFactorySetFreezeDuration(_newFreeDuration: string | number): string;
|
|
181
184
|
/**
|
|
182
185
|
* encode setK
|
|
183
|
-
* @param {string} _newK - uint256
|
|
186
|
+
* @param {string | number} _newK - uint256
|
|
184
187
|
* @returns {string} encode data
|
|
185
188
|
*/
|
|
186
|
-
export declare function encodeCrowdPoolingFactorySetK(_newK: string):
|
|
189
|
+
export declare function encodeCrowdPoolingFactorySetK(_newK: string | number): string;
|
|
187
190
|
/**
|
|
188
191
|
* encode setVestDuration
|
|
189
|
-
* @param {string} _newVestDuration - uint256
|
|
192
|
+
* @param {string | number} _newVestDuration - uint256
|
|
190
193
|
* @returns {string} encode data
|
|
191
194
|
*/
|
|
192
|
-
export declare function encodeCrowdPoolingFactorySetVestDuration(_newVestDuration: string):
|
|
195
|
+
export declare function encodeCrowdPoolingFactorySetVestDuration(_newVestDuration: string | number): string;
|
|
193
196
|
/**
|
|
194
197
|
* encode transferOwnership
|
|
195
198
|
* @param {string} newOwner - address
|
|
196
199
|
* @returns {string} encode data
|
|
197
200
|
*/
|
|
198
|
-
export declare function encodeCrowdPoolingFactoryTransferOwnership(newOwner: string):
|
|
201
|
+
export declare function encodeCrowdPoolingFactoryTransferOwnership(newOwner: string): string;
|
|
199
202
|
/**
|
|
200
203
|
* encode updateCPTemplate
|
|
201
204
|
* @param {string} _newCPTemplate - address
|
|
202
205
|
* @returns {string} encode data
|
|
203
206
|
*/
|
|
204
|
-
export declare function encodeCrowdPoolingFactoryUpdateCPTemplate(_newCPTemplate: string):
|
|
207
|
+
export declare function encodeCrowdPoolingFactoryUpdateCPTemplate(_newCPTemplate: string): string;
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* @param {string} __to - string
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchCustomERC20_NEW_OWNER_(chainId: number, __to: string):
|
|
7
|
+
export declare function fetchCustomERC20_NEW_OWNER_(chainId: number, __to: string): Promise<string>;
|
|
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 fetchCustomERC20_OWNER_(chainId: number, __to: string):
|
|
14
|
+
export declare function fetchCustomERC20_OWNER_(chainId: number, __to: string): Promise<string>;
|
|
15
15
|
/**
|
|
16
16
|
* fetch allowance
|
|
17
17
|
* @param {number} chainId - number
|
|
@@ -20,7 +20,7 @@ export declare function fetchCustomERC20_OWNER_(chainId: number, __to: string):
|
|
|
20
20
|
* @param {string} spender - address
|
|
21
21
|
* @returns {bigint} __output0 - uint256
|
|
22
22
|
*/
|
|
23
|
-
export declare function fetchCustomERC20Allowance(chainId: number, __to: string, owner: string, spender: string):
|
|
23
|
+
export declare function fetchCustomERC20Allowance(chainId: number, __to: string, owner: string, spender: string): Promise<bigint>;
|
|
24
24
|
/**
|
|
25
25
|
* fetch balanceOf
|
|
26
26
|
* @param {number} chainId - number
|
|
@@ -28,118 +28,118 @@ export declare function fetchCustomERC20Allowance(chainId: number, __to: string,
|
|
|
28
28
|
* @param {string} owner - address
|
|
29
29
|
* @returns {bigint} balance - uint256
|
|
30
30
|
*/
|
|
31
|
-
export declare function fetchCustomERC20BalanceOf(chainId: number, __to: string, owner: string):
|
|
31
|
+
export declare function fetchCustomERC20BalanceOf(chainId: number, __to: string, owner: string): Promise<bigint>;
|
|
32
32
|
/**
|
|
33
33
|
* fetch decimals
|
|
34
34
|
* @param {number} chainId - number
|
|
35
35
|
* @param {string} __to - string
|
|
36
36
|
* @returns {bigint} __output0 - uint8
|
|
37
37
|
*/
|
|
38
|
-
export declare function fetchCustomERC20Decimals(chainId: number, __to: string):
|
|
38
|
+
export declare function fetchCustomERC20Decimals(chainId: number, __to: string): Promise<bigint>;
|
|
39
39
|
/**
|
|
40
40
|
* fetch name
|
|
41
41
|
* @param {number} chainId - number
|
|
42
42
|
* @param {string} __to - string
|
|
43
43
|
* @returns {string} __output0 - string
|
|
44
44
|
*/
|
|
45
|
-
export declare function fetchCustomERC20Name(chainId: number, __to: string):
|
|
45
|
+
export declare function fetchCustomERC20Name(chainId: number, __to: string): Promise<string>;
|
|
46
46
|
/**
|
|
47
47
|
* fetch symbol
|
|
48
48
|
* @param {number} chainId - number
|
|
49
49
|
* @param {string} __to - string
|
|
50
50
|
* @returns {string} __output0 - string
|
|
51
51
|
*/
|
|
52
|
-
export declare function fetchCustomERC20Symbol(chainId: number, __to: string):
|
|
52
|
+
export declare function fetchCustomERC20Symbol(chainId: number, __to: string): Promise<string>;
|
|
53
53
|
/**
|
|
54
54
|
* fetch team
|
|
55
55
|
* @param {number} chainId - number
|
|
56
56
|
* @param {string} __to - string
|
|
57
57
|
* @returns {string} __output0 - address
|
|
58
58
|
*/
|
|
59
|
-
export declare function fetchCustomERC20Team(chainId: number, __to: string):
|
|
59
|
+
export declare function fetchCustomERC20Team(chainId: number, __to: string): Promise<string>;
|
|
60
60
|
/**
|
|
61
61
|
* fetch totalSupply
|
|
62
62
|
* @param {number} chainId - number
|
|
63
63
|
* @param {string} __to - string
|
|
64
64
|
* @returns {bigint} __output0 - uint256
|
|
65
65
|
*/
|
|
66
|
-
export declare function fetchCustomERC20TotalSupply(chainId: number, __to: string):
|
|
66
|
+
export declare function fetchCustomERC20TotalSupply(chainId: number, __to: string): Promise<bigint>;
|
|
67
67
|
/**
|
|
68
68
|
* fetch tradeBurnRatio
|
|
69
69
|
* @param {number} chainId - number
|
|
70
70
|
* @param {string} __to - string
|
|
71
71
|
* @returns {bigint} __output0 - uint256
|
|
72
72
|
*/
|
|
73
|
-
export declare function fetchCustomERC20TradeBurnRatio(chainId: number, __to: string):
|
|
73
|
+
export declare function fetchCustomERC20TradeBurnRatio(chainId: number, __to: string): Promise<bigint>;
|
|
74
74
|
/**
|
|
75
75
|
* fetch tradeFeeRatio
|
|
76
76
|
* @param {number} chainId - number
|
|
77
77
|
* @param {string} __to - string
|
|
78
78
|
* @returns {bigint} __output0 - uint256
|
|
79
79
|
*/
|
|
80
|
-
export declare function fetchCustomERC20TradeFeeRatio(chainId: number, __to: string):
|
|
80
|
+
export declare function fetchCustomERC20TradeFeeRatio(chainId: number, __to: string): Promise<bigint>;
|
|
81
81
|
/**
|
|
82
82
|
* encode abandonOwnership
|
|
83
83
|
* @param {string} zeroAddress - address
|
|
84
84
|
* @returns {string} encode data
|
|
85
85
|
*/
|
|
86
|
-
export declare function encodeCustomERC20AbandonOwnership(zeroAddress: string):
|
|
86
|
+
export declare function encodeCustomERC20AbandonOwnership(zeroAddress: string): string;
|
|
87
87
|
/**
|
|
88
88
|
* encode approve
|
|
89
89
|
* @param {string} spender - address
|
|
90
|
-
* @param {string} amount - uint256
|
|
90
|
+
* @param {string | number} amount - uint256
|
|
91
91
|
* @returns {string} encode data
|
|
92
92
|
*/
|
|
93
|
-
export declare function encodeCustomERC20Approve(spender: string, amount: string):
|
|
93
|
+
export declare function encodeCustomERC20Approve(spender: string, amount: string | number): string;
|
|
94
94
|
/**
|
|
95
95
|
* encode changeTeamAccount
|
|
96
96
|
* @param {string} newTeam - address
|
|
97
97
|
* @returns {string} encode data
|
|
98
98
|
*/
|
|
99
|
-
export declare function encodeCustomERC20ChangeTeamAccount(newTeam: string):
|
|
99
|
+
export declare function encodeCustomERC20ChangeTeamAccount(newTeam: string): string;
|
|
100
100
|
/**
|
|
101
101
|
* encode claimOwnership
|
|
102
102
|
|
|
103
103
|
* @returns {string} encode data
|
|
104
104
|
*/
|
|
105
|
-
export declare function encodeCustomERC20ClaimOwnership():
|
|
105
|
+
export declare function encodeCustomERC20ClaimOwnership(): string;
|
|
106
106
|
/**
|
|
107
107
|
* encode init
|
|
108
108
|
* @param {string} _creator - address
|
|
109
|
-
* @param {string} _totalSupply - uint256
|
|
109
|
+
* @param {string | number} _totalSupply - uint256
|
|
110
110
|
* @param {string} _name - string
|
|
111
111
|
* @param {string} _symbol - string
|
|
112
|
-
* @param {string} _decimals - uint8
|
|
113
|
-
* @param {string} _tradeBurnRatio - uint256
|
|
114
|
-
* @param {string} _tradeFeeRatio - uint256
|
|
112
|
+
* @param {string | number} _decimals - uint8
|
|
113
|
+
* @param {string | number} _tradeBurnRatio - uint256
|
|
114
|
+
* @param {string | number} _tradeFeeRatio - uint256
|
|
115
115
|
* @param {string} _team - address
|
|
116
116
|
* @returns {string} encode data
|
|
117
117
|
*/
|
|
118
|
-
export declare function encodeCustomERC20Init(_creator: string, _totalSupply: string, _name: string, _symbol: string, _decimals: string, _tradeBurnRatio: string, _tradeFeeRatio: string, _team: string):
|
|
118
|
+
export declare function encodeCustomERC20Init(_creator: string, _totalSupply: string | number, _name: string, _symbol: string, _decimals: string | number, _tradeBurnRatio: string | number, _tradeFeeRatio: string | number, _team: string): string;
|
|
119
119
|
/**
|
|
120
120
|
* encode initOwner
|
|
121
121
|
* @param {string} newOwner - address
|
|
122
122
|
* @returns {string} encode data
|
|
123
123
|
*/
|
|
124
|
-
export declare function encodeCustomERC20InitOwner(newOwner: string):
|
|
124
|
+
export declare function encodeCustomERC20InitOwner(newOwner: string): string;
|
|
125
125
|
/**
|
|
126
126
|
* encode transfer
|
|
127
127
|
* @param {string} to - address
|
|
128
|
-
* @param {string} amount - uint256
|
|
128
|
+
* @param {string | number} amount - uint256
|
|
129
129
|
* @returns {string} encode data
|
|
130
130
|
*/
|
|
131
|
-
export declare function encodeCustomERC20Transfer(to: string, amount: string):
|
|
131
|
+
export declare function encodeCustomERC20Transfer(to: string, amount: string | number): string;
|
|
132
132
|
/**
|
|
133
133
|
* encode transferFrom
|
|
134
134
|
* @param {string} from - address
|
|
135
135
|
* @param {string} to - address
|
|
136
|
-
* @param {string} amount - uint256
|
|
136
|
+
* @param {string | number} amount - uint256
|
|
137
137
|
* @returns {string} encode data
|
|
138
138
|
*/
|
|
139
|
-
export declare function encodeCustomERC20TransferFrom(from: string, to: string, amount: string):
|
|
139
|
+
export declare function encodeCustomERC20TransferFrom(from: string, to: string, amount: string | number): string;
|
|
140
140
|
/**
|
|
141
141
|
* encode transferOwnership
|
|
142
142
|
* @param {string} newOwner - address
|
|
143
143
|
* @returns {string} encode data
|
|
144
144
|
*/
|
|
145
|
-
export declare function encodeCustomERC20TransferOwnership(newOwner: string):
|
|
145
|
+
export declare function encodeCustomERC20TransferOwnership(newOwner: string): string;
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* @param {string} __to - string
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchCustomMintableERC20_NEW_OWNER_(chainId: number, __to: string):
|
|
7
|
+
export declare function fetchCustomMintableERC20_NEW_OWNER_(chainId: number, __to: string): Promise<string>;
|
|
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 fetchCustomMintableERC20_OWNER_(chainId: number, __to: string):
|
|
14
|
+
export declare function fetchCustomMintableERC20_OWNER_(chainId: number, __to: string): Promise<string>;
|
|
15
15
|
/**
|
|
16
16
|
* fetch allowance
|
|
17
17
|
* @param {number} chainId - number
|
|
@@ -20,7 +20,7 @@ export declare function fetchCustomMintableERC20_OWNER_(chainId: number, __to: s
|
|
|
20
20
|
* @param {string} spender - address
|
|
21
21
|
* @returns {bigint} __output0 - uint256
|
|
22
22
|
*/
|
|
23
|
-
export declare function fetchCustomMintableERC20Allowance(chainId: number, __to: string, owner: string, spender: string):
|
|
23
|
+
export declare function fetchCustomMintableERC20Allowance(chainId: number, __to: string, owner: string, spender: string): Promise<bigint>;
|
|
24
24
|
/**
|
|
25
25
|
* fetch balanceOf
|
|
26
26
|
* @param {number} chainId - number
|
|
@@ -28,131 +28,131 @@ export declare function fetchCustomMintableERC20Allowance(chainId: number, __to:
|
|
|
28
28
|
* @param {string} owner - address
|
|
29
29
|
* @returns {bigint} balance - uint256
|
|
30
30
|
*/
|
|
31
|
-
export declare function fetchCustomMintableERC20BalanceOf(chainId: number, __to: string, owner: string):
|
|
31
|
+
export declare function fetchCustomMintableERC20BalanceOf(chainId: number, __to: string, owner: string): Promise<bigint>;
|
|
32
32
|
/**
|
|
33
33
|
* fetch decimals
|
|
34
34
|
* @param {number} chainId - number
|
|
35
35
|
* @param {string} __to - string
|
|
36
36
|
* @returns {bigint} __output0 - uint8
|
|
37
37
|
*/
|
|
38
|
-
export declare function fetchCustomMintableERC20Decimals(chainId: number, __to: string):
|
|
38
|
+
export declare function fetchCustomMintableERC20Decimals(chainId: number, __to: string): Promise<bigint>;
|
|
39
39
|
/**
|
|
40
40
|
* fetch name
|
|
41
41
|
* @param {number} chainId - number
|
|
42
42
|
* @param {string} __to - string
|
|
43
43
|
* @returns {string} __output0 - string
|
|
44
44
|
*/
|
|
45
|
-
export declare function fetchCustomMintableERC20Name(chainId: number, __to: string):
|
|
45
|
+
export declare function fetchCustomMintableERC20Name(chainId: number, __to: string): Promise<string>;
|
|
46
46
|
/**
|
|
47
47
|
* fetch symbol
|
|
48
48
|
* @param {number} chainId - number
|
|
49
49
|
* @param {string} __to - string
|
|
50
50
|
* @returns {string} __output0 - string
|
|
51
51
|
*/
|
|
52
|
-
export declare function fetchCustomMintableERC20Symbol(chainId: number, __to: string):
|
|
52
|
+
export declare function fetchCustomMintableERC20Symbol(chainId: number, __to: string): Promise<string>;
|
|
53
53
|
/**
|
|
54
54
|
* fetch team
|
|
55
55
|
* @param {number} chainId - number
|
|
56
56
|
* @param {string} __to - string
|
|
57
57
|
* @returns {string} __output0 - address
|
|
58
58
|
*/
|
|
59
|
-
export declare function fetchCustomMintableERC20Team(chainId: number, __to: string):
|
|
59
|
+
export declare function fetchCustomMintableERC20Team(chainId: number, __to: string): Promise<string>;
|
|
60
60
|
/**
|
|
61
61
|
* fetch totalSupply
|
|
62
62
|
* @param {number} chainId - number
|
|
63
63
|
* @param {string} __to - string
|
|
64
64
|
* @returns {bigint} __output0 - uint256
|
|
65
65
|
*/
|
|
66
|
-
export declare function fetchCustomMintableERC20TotalSupply(chainId: number, __to: string):
|
|
66
|
+
export declare function fetchCustomMintableERC20TotalSupply(chainId: number, __to: string): Promise<bigint>;
|
|
67
67
|
/**
|
|
68
68
|
* fetch tradeBurnRatio
|
|
69
69
|
* @param {number} chainId - number
|
|
70
70
|
* @param {string} __to - string
|
|
71
71
|
* @returns {bigint} __output0 - uint256
|
|
72
72
|
*/
|
|
73
|
-
export declare function fetchCustomMintableERC20TradeBurnRatio(chainId: number, __to: string):
|
|
73
|
+
export declare function fetchCustomMintableERC20TradeBurnRatio(chainId: number, __to: string): Promise<bigint>;
|
|
74
74
|
/**
|
|
75
75
|
* fetch tradeFeeRatio
|
|
76
76
|
* @param {number} chainId - number
|
|
77
77
|
* @param {string} __to - string
|
|
78
78
|
* @returns {bigint} __output0 - uint256
|
|
79
79
|
*/
|
|
80
|
-
export declare function fetchCustomMintableERC20TradeFeeRatio(chainId: number, __to: string):
|
|
80
|
+
export declare function fetchCustomMintableERC20TradeFeeRatio(chainId: number, __to: string): Promise<bigint>;
|
|
81
81
|
/**
|
|
82
82
|
* encode abandonOwnership
|
|
83
83
|
* @param {string} zeroAddress - address
|
|
84
84
|
* @returns {string} encode data
|
|
85
85
|
*/
|
|
86
|
-
export declare function encodeCustomMintableERC20AbandonOwnership(zeroAddress: string):
|
|
86
|
+
export declare function encodeCustomMintableERC20AbandonOwnership(zeroAddress: string): string;
|
|
87
87
|
/**
|
|
88
88
|
* encode approve
|
|
89
89
|
* @param {string} spender - address
|
|
90
|
-
* @param {string} amount - uint256
|
|
90
|
+
* @param {string | number} amount - uint256
|
|
91
91
|
* @returns {string} encode data
|
|
92
92
|
*/
|
|
93
|
-
export declare function encodeCustomMintableERC20Approve(spender: string, amount: string):
|
|
93
|
+
export declare function encodeCustomMintableERC20Approve(spender: string, amount: string | number): string;
|
|
94
94
|
/**
|
|
95
95
|
* encode burn
|
|
96
|
-
* @param {string} value - uint256
|
|
96
|
+
* @param {string | number} value - uint256
|
|
97
97
|
* @returns {string} encode data
|
|
98
98
|
*/
|
|
99
|
-
export declare function encodeCustomMintableERC20Burn(value: string):
|
|
99
|
+
export declare function encodeCustomMintableERC20Burn(value: string | number): string;
|
|
100
100
|
/**
|
|
101
101
|
* encode changeTeamAccount
|
|
102
102
|
* @param {string} newTeam - address
|
|
103
103
|
* @returns {string} encode data
|
|
104
104
|
*/
|
|
105
|
-
export declare function encodeCustomMintableERC20ChangeTeamAccount(newTeam: string):
|
|
105
|
+
export declare function encodeCustomMintableERC20ChangeTeamAccount(newTeam: string): string;
|
|
106
106
|
/**
|
|
107
107
|
* encode claimOwnership
|
|
108
108
|
|
|
109
109
|
* @returns {string} encode data
|
|
110
110
|
*/
|
|
111
|
-
export declare function encodeCustomMintableERC20ClaimOwnership():
|
|
111
|
+
export declare function encodeCustomMintableERC20ClaimOwnership(): string;
|
|
112
112
|
/**
|
|
113
113
|
* encode init
|
|
114
114
|
* @param {string} _creator - address
|
|
115
|
-
* @param {string} _initSupply - uint256
|
|
115
|
+
* @param {string | number} _initSupply - uint256
|
|
116
116
|
* @param {string} _name - string
|
|
117
117
|
* @param {string} _symbol - string
|
|
118
|
-
* @param {string} _decimals - uint8
|
|
119
|
-
* @param {string} _tradeBurnRatio - uint256
|
|
120
|
-
* @param {string} _tradeFeeRatio - uint256
|
|
118
|
+
* @param {string | number} _decimals - uint8
|
|
119
|
+
* @param {string | number} _tradeBurnRatio - uint256
|
|
120
|
+
* @param {string | number} _tradeFeeRatio - uint256
|
|
121
121
|
* @param {string} _team - address
|
|
122
122
|
* @returns {string} encode data
|
|
123
123
|
*/
|
|
124
|
-
export declare function encodeCustomMintableERC20Init(_creator: string, _initSupply: string, _name: string, _symbol: string, _decimals: string, _tradeBurnRatio: string, _tradeFeeRatio: string, _team: string):
|
|
124
|
+
export declare function encodeCustomMintableERC20Init(_creator: string, _initSupply: string | number, _name: string, _symbol: string, _decimals: string | number, _tradeBurnRatio: string | number, _tradeFeeRatio: string | number, _team: string): string;
|
|
125
125
|
/**
|
|
126
126
|
* encode initOwner
|
|
127
127
|
* @param {string} newOwner - address
|
|
128
128
|
* @returns {string} encode data
|
|
129
129
|
*/
|
|
130
|
-
export declare function encodeCustomMintableERC20InitOwner(newOwner: string):
|
|
130
|
+
export declare function encodeCustomMintableERC20InitOwner(newOwner: string): string;
|
|
131
131
|
/**
|
|
132
132
|
* encode mint
|
|
133
133
|
* @param {string} user - address
|
|
134
|
-
* @param {string} value - uint256
|
|
134
|
+
* @param {string | number} value - uint256
|
|
135
135
|
* @returns {string} encode data
|
|
136
136
|
*/
|
|
137
|
-
export declare function encodeCustomMintableERC20Mint(user: string, value: string):
|
|
137
|
+
export declare function encodeCustomMintableERC20Mint(user: string, value: string | number): string;
|
|
138
138
|
/**
|
|
139
139
|
* encode transfer
|
|
140
140
|
* @param {string} to - address
|
|
141
|
-
* @param {string} amount - uint256
|
|
141
|
+
* @param {string | number} amount - uint256
|
|
142
142
|
* @returns {string} encode data
|
|
143
143
|
*/
|
|
144
|
-
export declare function encodeCustomMintableERC20Transfer(to: string, amount: string):
|
|
144
|
+
export declare function encodeCustomMintableERC20Transfer(to: string, amount: string | number): string;
|
|
145
145
|
/**
|
|
146
146
|
* encode transferFrom
|
|
147
147
|
* @param {string} from - address
|
|
148
148
|
* @param {string} to - address
|
|
149
|
-
* @param {string} amount - uint256
|
|
149
|
+
* @param {string | number} amount - uint256
|
|
150
150
|
* @returns {string} encode data
|
|
151
151
|
*/
|
|
152
|
-
export declare function encodeCustomMintableERC20TransferFrom(from: string, to: string, amount: string):
|
|
152
|
+
export declare function encodeCustomMintableERC20TransferFrom(from: string, to: string, amount: string | number): string;
|
|
153
153
|
/**
|
|
154
154
|
* encode transferOwnership
|
|
155
155
|
* @param {string} newOwner - address
|
|
156
156
|
* @returns {string} encode data
|
|
157
157
|
*/
|
|
158
|
-
export declare function encodeCustomMintableERC20TransferOwnership(newOwner: string):
|
|
158
|
+
export declare function encodeCustomMintableERC20TransferOwnership(newOwner: string): string;
|