@dodoex/dodo-contract-request 1.33.0 → 1.34.0
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/contract-config/eni.json +65 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/config/eni.d.ts +29 -0
- package/dist/types/config/index.d.ts +2 -0
- package/dist/types/contract/AlgebraPool.d.ts +15 -15
- package/dist/types/contract/BuyoutModel.d.ts +6 -6
- package/dist/types/contract/CP.d.ts +11 -11
- package/dist/types/contract/CloneFactory.d.ts +1 -1
- package/dist/types/contract/CrowdPoolingFactory.d.ts +12 -12
- package/dist/types/contract/CustomERC20.d.ts +9 -9
- package/dist/types/contract/CustomMintableERC20.d.ts +11 -11
- package/dist/types/contract/D3Proxy.d.ts +9 -9
- package/dist/types/contract/D3Vault.d.ts +36 -36
- package/dist/types/contract/DODOApprove.d.ts +8 -8
- package/dist/types/contract/DODOApproveProxy.d.ts +9 -9
- package/dist/types/contract/DODOCalleeHelper.d.ts +4 -4
- package/dist/types/contract/DODOCirculationHelper.d.ts +5 -5
- package/dist/types/contract/DODOCpProxy.d.ts +2 -2
- package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +2 -2
- package/dist/types/contract/DODODppProxy.d.ts +2 -2
- package/dist/types/contract/DODODspProxy.d.ts +3 -3
- package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +2 -2
- package/dist/types/contract/DODOFeeRouteProxy1.d.ts +13 -13
- package/dist/types/contract/DODOFeeRouteProxy2.d.ts +13 -13
- package/dist/types/contract/DODOIncentive.d.ts +9 -9
- package/dist/types/contract/DODOMineV2Factory.d.ts +8 -8
- package/dist/types/contract/DODOMineV3Proxy.d.ts +7 -7
- package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +7 -7
- package/dist/types/contract/DODOMineV3Registry.d.ts +7 -7
- package/dist/types/contract/DODONFT.d.ts +11 -11
- package/dist/types/contract/DODONFT1155.d.ts +8 -8
- package/dist/types/contract/DODONFTApprove.d.ts +11 -11
- package/dist/types/contract/DODONFTPoolProxy.d.ts +14 -14
- package/dist/types/contract/DODONFTProxy.d.ts +12 -12
- package/dist/types/contract/DODONFTRegistry.d.ts +7 -7
- package/dist/types/contract/DODOStarterProxy.d.ts +1 -1
- package/dist/types/contract/DODOV1.d.ts +35 -35
- package/dist/types/contract/DODOV1Adapter.d.ts +2 -2
- package/dist/types/contract/DODOV1Proxy.d.ts +7 -7
- package/dist/types/contract/DODOV2Adapter.d.ts +2 -2
- package/dist/types/contract/DODOV2Proxy02.d.ts +19 -19
- package/dist/types/contract/DPPAdvanced.d.ts +10 -10
- package/dist/types/contract/DPPAdvancedAdmin.d.ts +9 -9
- package/dist/types/contract/DPPFactory.d.ts +13 -13
- package/dist/types/contract/DSP.d.ts +11 -11
- package/dist/types/contract/DSPFactory.d.ts +7 -7
- package/dist/types/contract/DVM.d.ts +11 -11
- package/dist/types/contract/DVMFactory.d.ts +7 -7
- package/dist/types/contract/ERC20.d.ts +5 -5
- package/dist/types/contract/ERC20MineV2.d.ts +13 -13
- package/dist/types/contract/ERC20MineV3.d.ts +13 -13
- package/dist/types/contract/ERC20V3Factory.d.ts +11 -11
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +11 -11
- package/dist/types/contract/FeeRateModel.d.ts +4 -4
- package/dist/types/contract/GSP.d.ts +19 -19
- package/dist/types/contract/GSPFactory.d.ts +8 -8
- package/dist/types/contract/InitializableERC20.d.ts +4 -4
- package/dist/types/contract/LimitOrder.d.ts +11 -11
- package/dist/types/contract/LimitOrderBot.d.ts +9 -9
- package/dist/types/contract/LockedTokenVault.d.ts +9 -9
- package/dist/types/contract/MerkleDistributor.d.ts +1 -1
- package/dist/types/contract/Multicall.d.ts +1 -1
- package/dist/types/contract/MulticallWithValid.d.ts +1 -1
- package/dist/types/contract/NonfungiblePositionManager.d.ts +21 -21
- package/dist/types/contract/NonfungiblePositionManagerAlgebra.d.ts +24 -24
- package/dist/types/contract/PermissionManager.d.ts +9 -9
- package/dist/types/contract/UniswapV2Factory.d.ts +4 -4
- package/dist/types/contract/UniswapV2FactoryFixedFee.d.ts +3 -3
- package/dist/types/contract/UniswapV2Pair.d.ts +12 -12
- package/dist/types/contract/UniswapV2Router02.d.ts +17 -17
- package/dist/types/contract/UniswapV2Router02FixedFee.d.ts +17 -17
- package/dist/types/contract/UniswapV3Factory.d.ts +3 -3
- package/dist/types/contract/dodoTeam.d.ts +16 -16
- package/dist/types/contract/vDODOToken.d.ts +16 -16
- package/dist/types/contractRequests.d.ts +1 -1
- package/package.json +1 -1
- package/src/config/eni.ts +4 -0
- package/src/config/index.ts +5 -1
- package/src/contract/CrowdPoolingFactory.ts +1 -1
- package/src/contract/DODOApprove.ts +1 -1
- package/src/contract/DODOApproveProxy.ts +1 -1
- package/src/contract/DODOCalleeHelper.ts +1 -1
- package/src/contract/DODOCpProxy.ts +1 -1
- package/src/contract/DODODppProxy.ts +1 -1
- package/src/contract/DODODspProxy.ts +1 -1
- package/src/contract/DODOFeeRouteProxy1.ts +1 -1
- package/src/contract/DODOFeeRouteProxy2.ts +1 -1
- package/src/contract/DODOMineV2Factory.ts +1 -1
- package/src/contract/DODOMineV3Proxy.ts +1 -1
- package/src/contract/DODOMineV3Registry.ts +1 -1
- package/src/contract/DODOSellHelper.ts +1 -1
- package/src/contract/DODOSwapCalcHelper.ts +1 -1
- package/src/contract/DODOV1PmmHelper.ts +1 -1
- package/src/contract/DODOV2Adapter.ts +1 -1
- package/src/contract/DODOV2Proxy02.ts +1 -1
- package/src/contract/DODOV2RouteHelper.ts +1 -1
- package/src/contract/DPPFactory.ts +1 -1
- package/src/contract/DSPFactory.ts +1 -1
- package/src/contract/DVMFactory.ts +1 -1
- package/src/contract/ERC20Helper.ts +1 -1
- package/src/contract/ERC20V3Factory.ts +1 -1
- package/src/contract/GSPFactory.ts +1 -1
- package/src/contract/Multicall.ts +1 -1
- package/src/contract/MulticallWithValid.ts +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const CONTRACT_CONFIG: {
|
|
2
|
+
Multicall: string;
|
|
3
|
+
MulticallWithValid: string;
|
|
4
|
+
DODOSellHelper: string;
|
|
5
|
+
DODOSwapCalcHelper: string;
|
|
6
|
+
ERC20Helper: string;
|
|
7
|
+
DODOCalleeHelper: string;
|
|
8
|
+
DODOV1PmmHelper: string;
|
|
9
|
+
DODOV2RouteHelper: string;
|
|
10
|
+
DVMFactory: string;
|
|
11
|
+
DSPFactory: string;
|
|
12
|
+
GSPFactory: string;
|
|
13
|
+
DPPFactory: string;
|
|
14
|
+
CrowdPoolingFactory: string;
|
|
15
|
+
ERC20V3Factory: string;
|
|
16
|
+
DODOMineV2Factory: string;
|
|
17
|
+
DODOMineV3Registry: string;
|
|
18
|
+
DODOApprove: string;
|
|
19
|
+
DODOApproveProxy: string;
|
|
20
|
+
DODOV2Adapter: string;
|
|
21
|
+
DODOV2Proxy02: string;
|
|
22
|
+
DODODspProxy: string;
|
|
23
|
+
DODOCpProxy: string;
|
|
24
|
+
DODODppProxy: string;
|
|
25
|
+
DODOMineV3Proxy: string;
|
|
26
|
+
DODOFeeRouteProxy1: string;
|
|
27
|
+
DODOFeeRouteProxy2: string;
|
|
28
|
+
};
|
|
29
|
+
export default CONTRACT_CONFIG;
|
|
@@ -14,6 +14,7 @@ export { default as bitlayer } from './bitlayer';
|
|
|
14
14
|
export { default as bob } from './bob';
|
|
15
15
|
export { default as bsc } from './bsc';
|
|
16
16
|
export { default as conflux } from './conflux';
|
|
17
|
+
export { default as eni } from './eni';
|
|
17
18
|
export { default as ethereum } from './ethereum';
|
|
18
19
|
export { default as hashkey } from './hashkey';
|
|
19
20
|
export { default as hemi } from './hemi';
|
|
@@ -58,6 +59,7 @@ export declare const multiCallAddressList: {
|
|
|
58
59
|
"137": string;
|
|
59
60
|
"143": string;
|
|
60
61
|
"146": string;
|
|
62
|
+
"173": string;
|
|
61
63
|
"177": string;
|
|
62
64
|
"196": string;
|
|
63
65
|
"480": string;
|
|
@@ -407,7 +407,7 @@ export declare function getFetchAlgebraPoolTotalFeeGrowth1TokenQueryOptions(chai
|
|
|
407
407
|
* @param {string} data - bytes
|
|
408
408
|
* @returns {string} encode data
|
|
409
409
|
*/
|
|
410
|
-
export declare function encodeAlgebraPoolBurn(bottomTick: string | number, topTick: string | number, amount: string | number, data: string):
|
|
410
|
+
export declare function encodeAlgebraPoolBurn(bottomTick: string | number, topTick: string | number, amount: string | number, data: string): any;
|
|
411
411
|
/**
|
|
412
412
|
* encode collect
|
|
413
413
|
* @param {string} recipient - address
|
|
@@ -417,7 +417,7 @@ export declare function encodeAlgebraPoolBurn(bottomTick: string | number, topTi
|
|
|
417
417
|
* @param {string | number} amount1Requested - uint128
|
|
418
418
|
* @returns {string} encode data
|
|
419
419
|
*/
|
|
420
|
-
export declare function encodeAlgebraPoolCollect(recipient: string, bottomTick: string | number, topTick: string | number, amount0Requested: string | number, amount1Requested: string | number):
|
|
420
|
+
export declare function encodeAlgebraPoolCollect(recipient: string, bottomTick: string | number, topTick: string | number, amount0Requested: string | number, amount1Requested: string | number): any;
|
|
421
421
|
/**
|
|
422
422
|
* encode flash
|
|
423
423
|
* @param {string} recipient - address
|
|
@@ -426,13 +426,13 @@ export declare function encodeAlgebraPoolCollect(recipient: string, bottomTick:
|
|
|
426
426
|
* @param {string} data - bytes
|
|
427
427
|
* @returns {string} encode data
|
|
428
428
|
*/
|
|
429
|
-
export declare function encodeAlgebraPoolFlash(recipient: string, amount0: string | number, amount1: string | number, data: string):
|
|
429
|
+
export declare function encodeAlgebraPoolFlash(recipient: string, amount0: string | number, amount1: string | number, data: string): any;
|
|
430
430
|
/**
|
|
431
431
|
* encode initialize
|
|
432
432
|
* @param {string | number} initialPrice - uint160
|
|
433
433
|
* @returns {string} encode data
|
|
434
434
|
*/
|
|
435
|
-
export declare function encodeAlgebraPoolInitialize(initialPrice: string | number):
|
|
435
|
+
export declare function encodeAlgebraPoolInitialize(initialPrice: string | number): any;
|
|
436
436
|
/**
|
|
437
437
|
* encode mint
|
|
438
438
|
* @param {string} leftoversRecipient - address
|
|
@@ -443,49 +443,49 @@ export declare function encodeAlgebraPoolInitialize(initialPrice: string | numbe
|
|
|
443
443
|
* @param {string} data - bytes
|
|
444
444
|
* @returns {string} encode data
|
|
445
445
|
*/
|
|
446
|
-
export declare function encodeAlgebraPoolMint(leftoversRecipient: string, recipient: string, bottomTick: string | number, topTick: string | number, liquidityDesired: string | number, data: string):
|
|
446
|
+
export declare function encodeAlgebraPoolMint(leftoversRecipient: string, recipient: string, bottomTick: string | number, topTick: string | number, liquidityDesired: string | number, data: string): any;
|
|
447
447
|
/**
|
|
448
448
|
* encode setCommunityFee
|
|
449
449
|
* @param {string | number} newCommunityFee - uint16
|
|
450
450
|
* @returns {string} encode data
|
|
451
451
|
*/
|
|
452
|
-
export declare function encodeAlgebraPoolSetCommunityFee(newCommunityFee: string | number):
|
|
452
|
+
export declare function encodeAlgebraPoolSetCommunityFee(newCommunityFee: string | number): any;
|
|
453
453
|
/**
|
|
454
454
|
* encode setCommunityVault
|
|
455
455
|
* @param {string} newCommunityVault - address
|
|
456
456
|
* @returns {string} encode data
|
|
457
457
|
*/
|
|
458
|
-
export declare function encodeAlgebraPoolSetCommunityVault(newCommunityVault: string):
|
|
458
|
+
export declare function encodeAlgebraPoolSetCommunityVault(newCommunityVault: string): any;
|
|
459
459
|
/**
|
|
460
460
|
* encode setFee
|
|
461
461
|
* @param {string | number} newFee - uint16
|
|
462
462
|
* @returns {string} encode data
|
|
463
463
|
*/
|
|
464
|
-
export declare function encodeAlgebraPoolSetFee(newFee: string | number):
|
|
464
|
+
export declare function encodeAlgebraPoolSetFee(newFee: string | number): any;
|
|
465
465
|
/**
|
|
466
466
|
* encode setPlugin
|
|
467
467
|
* @param {string} newPluginAddress - address
|
|
468
468
|
* @returns {string} encode data
|
|
469
469
|
*/
|
|
470
|
-
export declare function encodeAlgebraPoolSetPlugin(newPluginAddress: string):
|
|
470
|
+
export declare function encodeAlgebraPoolSetPlugin(newPluginAddress: string): any;
|
|
471
471
|
/**
|
|
472
472
|
* encode setPluginConfig
|
|
473
473
|
* @param {string | number} newConfig - uint8
|
|
474
474
|
* @returns {string} encode data
|
|
475
475
|
*/
|
|
476
|
-
export declare function encodeAlgebraPoolSetPluginConfig(newConfig: string | number):
|
|
476
|
+
export declare function encodeAlgebraPoolSetPluginConfig(newConfig: string | number): any;
|
|
477
477
|
/**
|
|
478
478
|
* encode setTickSpacing
|
|
479
479
|
* @param {string | number} newTickSpacing - int24
|
|
480
480
|
* @returns {string} encode data
|
|
481
481
|
*/
|
|
482
|
-
export declare function encodeAlgebraPoolSetTickSpacing(newTickSpacing: string | number):
|
|
482
|
+
export declare function encodeAlgebraPoolSetTickSpacing(newTickSpacing: string | number): any;
|
|
483
483
|
/**
|
|
484
484
|
* encode skim
|
|
485
485
|
|
|
486
486
|
* @returns {string} encode data
|
|
487
487
|
*/
|
|
488
|
-
export declare function encodeAlgebraPoolSkim():
|
|
488
|
+
export declare function encodeAlgebraPoolSkim(): any;
|
|
489
489
|
/**
|
|
490
490
|
* encode swap
|
|
491
491
|
* @param {string} recipient - address
|
|
@@ -495,7 +495,7 @@ export declare function encodeAlgebraPoolSkim(): string;
|
|
|
495
495
|
* @param {string} data - bytes
|
|
496
496
|
* @returns {string} encode data
|
|
497
497
|
*/
|
|
498
|
-
export declare function encodeAlgebraPoolSwap(recipient: string, zeroToOne: boolean, amountRequired: string | number, limitSqrtPrice: string | number, data: string):
|
|
498
|
+
export declare function encodeAlgebraPoolSwap(recipient: string, zeroToOne: boolean, amountRequired: string | number, limitSqrtPrice: string | number, data: string): any;
|
|
499
499
|
/**
|
|
500
500
|
* encode swapWithPaymentInAdvance
|
|
501
501
|
* @param {string} leftoversRecipient - address
|
|
@@ -506,10 +506,10 @@ export declare function encodeAlgebraPoolSwap(recipient: string, zeroToOne: bool
|
|
|
506
506
|
* @param {string} data - bytes
|
|
507
507
|
* @returns {string} encode data
|
|
508
508
|
*/
|
|
509
|
-
export declare function encodeAlgebraPoolSwapWithPaymentInAdvance(leftoversRecipient: string, recipient: string, zeroToOne: boolean, amountToSell: string | number, limitSqrtPrice: string | number, data: string):
|
|
509
|
+
export declare function encodeAlgebraPoolSwapWithPaymentInAdvance(leftoversRecipient: string, recipient: string, zeroToOne: boolean, amountToSell: string | number, limitSqrtPrice: string | number, data: string): any;
|
|
510
510
|
/**
|
|
511
511
|
* encode sync
|
|
512
512
|
|
|
513
513
|
* @returns {string} encode data
|
|
514
514
|
*/
|
|
515
|
-
export declare function encodeAlgebraPoolSync():
|
|
515
|
+
export declare function encodeAlgebraPoolSync(): any;
|
|
@@ -75,19 +75,19 @@ export declare function getFetchBuyoutModelGetBuyoutStatusQueryOptions(chainId:
|
|
|
75
75
|
* @param {string} buyoutAddr - address
|
|
76
76
|
* @returns {string} encode data
|
|
77
77
|
*/
|
|
78
|
-
export declare function encodeBuyoutModelAddFragInfo(fragAddr: string, minFrag: string | number, maxFrag: string | number, buyoutAddr: string):
|
|
78
|
+
export declare function encodeBuyoutModelAddFragInfo(fragAddr: string, minFrag: string | number, maxFrag: string | number, buyoutAddr: string): any;
|
|
79
79
|
/**
|
|
80
80
|
* encode claimOwnership
|
|
81
81
|
|
|
82
82
|
* @returns {string} encode data
|
|
83
83
|
*/
|
|
84
|
-
export declare function encodeBuyoutModelClaimOwnership():
|
|
84
|
+
export declare function encodeBuyoutModelClaimOwnership(): any;
|
|
85
85
|
/**
|
|
86
86
|
* encode initOwner
|
|
87
87
|
* @param {string} newOwner - address
|
|
88
88
|
* @returns {string} encode data
|
|
89
89
|
*/
|
|
90
|
-
export declare function encodeBuyoutModelInitOwner(newOwner: string):
|
|
90
|
+
export declare function encodeBuyoutModelInitOwner(newOwner: string): any;
|
|
91
91
|
/**
|
|
92
92
|
* encode setFragInfo
|
|
93
93
|
* @param {string} fragAddr - address
|
|
@@ -96,7 +96,7 @@ export declare function encodeBuyoutModelInitOwner(newOwner: string): string;
|
|
|
96
96
|
* @param {string} buyoutAddr - address
|
|
97
97
|
* @returns {string} encode data
|
|
98
98
|
*/
|
|
99
|
-
export declare function encodeBuyoutModelSetFragInfo(fragAddr: string, minFrag: string | number, maxFrag: string | number, buyoutAddr: string):
|
|
99
|
+
export declare function encodeBuyoutModelSetFragInfo(fragAddr: string, minFrag: string | number, maxFrag: string | number, buyoutAddr: string): any;
|
|
100
100
|
/**
|
|
101
101
|
* encode setGlobalParam
|
|
102
102
|
* @param {string | number} minFrag - uint256
|
|
@@ -104,10 +104,10 @@ export declare function encodeBuyoutModelSetFragInfo(fragAddr: string, minFrag:
|
|
|
104
104
|
* @param {string | number} buyoutFee - uint256
|
|
105
105
|
* @returns {string} encode data
|
|
106
106
|
*/
|
|
107
|
-
export declare function encodeBuyoutModelSetGlobalParam(minFrag: string | number, maxFrag: string | number, buyoutFee: string | number):
|
|
107
|
+
export declare function encodeBuyoutModelSetGlobalParam(minFrag: string | number, maxFrag: string | number, buyoutFee: string | number): any;
|
|
108
108
|
/**
|
|
109
109
|
* encode transferOwnership
|
|
110
110
|
* @param {string} newOwner - address
|
|
111
111
|
* @returns {string} encode data
|
|
112
112
|
*/
|
|
113
|
-
export declare function encodeBuyoutModelTransferOwnership(newOwner: string):
|
|
113
|
+
export declare function encodeBuyoutModelTransferOwnership(newOwner: string): any;
|
|
@@ -597,14 +597,14 @@ export declare function getFetchCPVersionQueryOptions(chainId: number | undefine
|
|
|
597
597
|
* @param {string} to - address
|
|
598
598
|
* @returns {string} encode data
|
|
599
599
|
*/
|
|
600
|
-
export declare function encodeCPBid(to: string):
|
|
600
|
+
export declare function encodeCPBid(to: string): any;
|
|
601
601
|
/**
|
|
602
602
|
* encode bidderClaim
|
|
603
603
|
* @param {string} to - address
|
|
604
604
|
* @param {string} data - bytes
|
|
605
605
|
* @returns {string} encode data
|
|
606
606
|
*/
|
|
607
|
-
export declare function encodeCPBidderClaim(to: string, data: string):
|
|
607
|
+
export declare function encodeCPBidderClaim(to: string, data: string): any;
|
|
608
608
|
/**
|
|
609
609
|
* encode cancel
|
|
610
610
|
* @param {string} to - address
|
|
@@ -612,31 +612,31 @@ export declare function encodeCPBidderClaim(to: string, data: string): string;
|
|
|
612
612
|
* @param {string} data - bytes
|
|
613
613
|
* @returns {string} encode data
|
|
614
614
|
*/
|
|
615
|
-
export declare function encodeCPCancel(to: string, amount: string | number, data: string):
|
|
615
|
+
export declare function encodeCPCancel(to: string, amount: string | number, data: string): any;
|
|
616
616
|
/**
|
|
617
617
|
* encode claimLPToken
|
|
618
618
|
|
|
619
619
|
* @returns {string} encode data
|
|
620
620
|
*/
|
|
621
|
-
export declare function encodeCPClaimLPToken():
|
|
621
|
+
export declare function encodeCPClaimLPToken(): any;
|
|
622
622
|
/**
|
|
623
623
|
* encode claimOwnership
|
|
624
624
|
|
|
625
625
|
* @returns {string} encode data
|
|
626
626
|
*/
|
|
627
|
-
export declare function encodeCPClaimOwnership():
|
|
627
|
+
export declare function encodeCPClaimOwnership(): any;
|
|
628
628
|
/**
|
|
629
629
|
* encode emergencySettle
|
|
630
630
|
|
|
631
631
|
* @returns {string} encode data
|
|
632
632
|
*/
|
|
633
|
-
export declare function encodeCPEmergencySettle():
|
|
633
|
+
export declare function encodeCPEmergencySettle(): any;
|
|
634
634
|
/**
|
|
635
635
|
* encode forceStop
|
|
636
636
|
|
|
637
637
|
* @returns {string} encode data
|
|
638
638
|
*/
|
|
639
|
-
export declare function encodeCPForceStop():
|
|
639
|
+
export declare function encodeCPForceStop(): any;
|
|
640
640
|
/**
|
|
641
641
|
* encode init
|
|
642
642
|
* @param {Array<string>} addressList - address[]
|
|
@@ -645,22 +645,22 @@ export declare function encodeCPForceStop(): string;
|
|
|
645
645
|
* @param {Array<boolean>} switches - bool[]
|
|
646
646
|
* @returns {string} encode data
|
|
647
647
|
*/
|
|
648
|
-
export declare function encodeCPInit(addressList: Array<string>, timeLine: Array<string | number>, valueList: Array<string | number>, switches: Array<boolean>):
|
|
648
|
+
export declare function encodeCPInit(addressList: Array<string>, timeLine: Array<string | number>, valueList: Array<string | number>, switches: Array<boolean>): any;
|
|
649
649
|
/**
|
|
650
650
|
* encode initOwner
|
|
651
651
|
* @param {string} newOwner - address
|
|
652
652
|
* @returns {string} encode data
|
|
653
653
|
*/
|
|
654
|
-
export declare function encodeCPInitOwner(newOwner: string):
|
|
654
|
+
export declare function encodeCPInitOwner(newOwner: string): any;
|
|
655
655
|
/**
|
|
656
656
|
* encode settle
|
|
657
657
|
|
|
658
658
|
* @returns {string} encode data
|
|
659
659
|
*/
|
|
660
|
-
export declare function encodeCPSettle():
|
|
660
|
+
export declare function encodeCPSettle(): any;
|
|
661
661
|
/**
|
|
662
662
|
* encode transferOwnership
|
|
663
663
|
* @param {string} newOwner - address
|
|
664
664
|
* @returns {string} encode data
|
|
665
665
|
*/
|
|
666
|
-
export declare function encodeCPTransferOwnership(newOwner: string):
|
|
666
|
+
export declare function encodeCPTransferOwnership(newOwner: string): any;
|
|
@@ -230,13 +230,13 @@ export declare function getFetchCrowdPoolingFactoryGetCrowdPoolingByUserQueryOpt
|
|
|
230
230
|
|
|
231
231
|
* @returns {string} encode data
|
|
232
232
|
*/
|
|
233
|
-
export declare function encodeCrowdPoolingFactoryClaimOwnership():
|
|
233
|
+
export declare function encodeCrowdPoolingFactoryClaimOwnership(): any;
|
|
234
234
|
/**
|
|
235
235
|
* encode createCrowdPooling
|
|
236
236
|
|
|
237
237
|
* @returns {string} encode data
|
|
238
238
|
*/
|
|
239
|
-
export declare function encodeCrowdPoolingFactoryCreateCrowdPooling():
|
|
239
|
+
export declare function encodeCrowdPoolingFactoryCreateCrowdPooling(): any;
|
|
240
240
|
/**
|
|
241
241
|
* encode initCrowdPooling
|
|
242
242
|
* @param {string} cpAddress - address
|
|
@@ -248,58 +248,58 @@ export declare function encodeCrowdPoolingFactoryCreateCrowdPooling(): string;
|
|
|
248
248
|
* @param {boolean} isOpenTWAP - bool
|
|
249
249
|
* @returns {string} encode data
|
|
250
250
|
*/
|
|
251
|
-
export declare function encodeCrowdPoolingFactoryInitCrowdPooling(cpAddress: string, creator: string, baseToken: string, quoteToken: string, timeLine: Array<string | number>, valueList: Array<string | number>, isOpenTWAP: boolean):
|
|
251
|
+
export declare function encodeCrowdPoolingFactoryInitCrowdPooling(cpAddress: string, creator: string, baseToken: string, quoteToken: string, timeLine: Array<string | number>, valueList: Array<string | number>, isOpenTWAP: boolean): any;
|
|
252
252
|
/**
|
|
253
253
|
* encode initOwner
|
|
254
254
|
* @param {string} newOwner - address
|
|
255
255
|
* @returns {string} encode data
|
|
256
256
|
*/
|
|
257
|
-
export declare function encodeCrowdPoolingFactoryInitOwner(newOwner: string):
|
|
257
|
+
export declare function encodeCrowdPoolingFactoryInitOwner(newOwner: string): any;
|
|
258
258
|
/**
|
|
259
259
|
* encode setCalmDuration
|
|
260
260
|
* @param {string | number} _newCalmDuration - uint256
|
|
261
261
|
* @returns {string} encode data
|
|
262
262
|
*/
|
|
263
|
-
export declare function encodeCrowdPoolingFactorySetCalmDuration(_newCalmDuration: string | number):
|
|
263
|
+
export declare function encodeCrowdPoolingFactorySetCalmDuration(_newCalmDuration: string | number): any;
|
|
264
264
|
/**
|
|
265
265
|
* encode setCapRatio
|
|
266
266
|
* @param {string | number} _newCapRatio - uint256
|
|
267
267
|
* @returns {string} encode data
|
|
268
268
|
*/
|
|
269
|
-
export declare function encodeCrowdPoolingFactorySetCapRatio(_newCapRatio: string | number):
|
|
269
|
+
export declare function encodeCrowdPoolingFactorySetCapRatio(_newCapRatio: string | number): any;
|
|
270
270
|
/**
|
|
271
271
|
* encode setCliffRate
|
|
272
272
|
* @param {string | number} _newCliffRate - uint256
|
|
273
273
|
* @returns {string} encode data
|
|
274
274
|
*/
|
|
275
|
-
export declare function encodeCrowdPoolingFactorySetCliffRate(_newCliffRate: string | number):
|
|
275
|
+
export declare function encodeCrowdPoolingFactorySetCliffRate(_newCliffRate: string | number): any;
|
|
276
276
|
/**
|
|
277
277
|
* encode setFreezeDuration
|
|
278
278
|
* @param {string | number} _newFreeDuration - uint256
|
|
279
279
|
* @returns {string} encode data
|
|
280
280
|
*/
|
|
281
|
-
export declare function encodeCrowdPoolingFactorySetFreezeDuration(_newFreeDuration: string | number):
|
|
281
|
+
export declare function encodeCrowdPoolingFactorySetFreezeDuration(_newFreeDuration: string | number): any;
|
|
282
282
|
/**
|
|
283
283
|
* encode setK
|
|
284
284
|
* @param {string | number} _newK - uint256
|
|
285
285
|
* @returns {string} encode data
|
|
286
286
|
*/
|
|
287
|
-
export declare function encodeCrowdPoolingFactorySetK(_newK: string | number):
|
|
287
|
+
export declare function encodeCrowdPoolingFactorySetK(_newK: string | number): any;
|
|
288
288
|
/**
|
|
289
289
|
* encode setVestDuration
|
|
290
290
|
* @param {string | number} _newVestDuration - uint256
|
|
291
291
|
* @returns {string} encode data
|
|
292
292
|
*/
|
|
293
|
-
export declare function encodeCrowdPoolingFactorySetVestDuration(_newVestDuration: string | number):
|
|
293
|
+
export declare function encodeCrowdPoolingFactorySetVestDuration(_newVestDuration: string | number): any;
|
|
294
294
|
/**
|
|
295
295
|
* encode transferOwnership
|
|
296
296
|
* @param {string} newOwner - address
|
|
297
297
|
* @returns {string} encode data
|
|
298
298
|
*/
|
|
299
|
-
export declare function encodeCrowdPoolingFactoryTransferOwnership(newOwner: string):
|
|
299
|
+
export declare function encodeCrowdPoolingFactoryTransferOwnership(newOwner: string): any;
|
|
300
300
|
/**
|
|
301
301
|
* encode updateCPTemplate
|
|
302
302
|
* @param {string} _newCPTemplate - address
|
|
303
303
|
* @returns {string} encode data
|
|
304
304
|
*/
|
|
305
|
-
export declare function encodeCrowdPoolingFactoryUpdateCPTemplate(_newCPTemplate: string):
|
|
305
|
+
export declare function encodeCrowdPoolingFactoryUpdateCPTemplate(_newCPTemplate: string): any;
|
|
@@ -138,26 +138,26 @@ export declare function getFetchCustomERC20TradeFeeRatioQueryOptions(chainId: nu
|
|
|
138
138
|
* @param {string} zeroAddress - address
|
|
139
139
|
* @returns {string} encode data
|
|
140
140
|
*/
|
|
141
|
-
export declare function encodeCustomERC20AbandonOwnership(zeroAddress: string):
|
|
141
|
+
export declare function encodeCustomERC20AbandonOwnership(zeroAddress: string): any;
|
|
142
142
|
/**
|
|
143
143
|
* encode approve
|
|
144
144
|
* @param {string} spender - address
|
|
145
145
|
* @param {string | number} amount - uint256
|
|
146
146
|
* @returns {string} encode data
|
|
147
147
|
*/
|
|
148
|
-
export declare function encodeCustomERC20Approve(spender: string, amount: string | number):
|
|
148
|
+
export declare function encodeCustomERC20Approve(spender: string, amount: string | number): any;
|
|
149
149
|
/**
|
|
150
150
|
* encode changeTeamAccount
|
|
151
151
|
* @param {string} newTeam - address
|
|
152
152
|
* @returns {string} encode data
|
|
153
153
|
*/
|
|
154
|
-
export declare function encodeCustomERC20ChangeTeamAccount(newTeam: string):
|
|
154
|
+
export declare function encodeCustomERC20ChangeTeamAccount(newTeam: string): any;
|
|
155
155
|
/**
|
|
156
156
|
* encode claimOwnership
|
|
157
157
|
|
|
158
158
|
* @returns {string} encode data
|
|
159
159
|
*/
|
|
160
|
-
export declare function encodeCustomERC20ClaimOwnership():
|
|
160
|
+
export declare function encodeCustomERC20ClaimOwnership(): any;
|
|
161
161
|
/**
|
|
162
162
|
* encode init
|
|
163
163
|
* @param {string} _creator - address
|
|
@@ -170,20 +170,20 @@ export declare function encodeCustomERC20ClaimOwnership(): string;
|
|
|
170
170
|
* @param {string} _team - address
|
|
171
171
|
* @returns {string} encode data
|
|
172
172
|
*/
|
|
173
|
-
export declare function encodeCustomERC20Init(_creator: string, _totalSupply: string | number, _name: string, _symbol: string, _decimals: string | number, _tradeBurnRatio: string | number, _tradeFeeRatio: string | number, _team: string):
|
|
173
|
+
export declare function encodeCustomERC20Init(_creator: string, _totalSupply: string | number, _name: string, _symbol: string, _decimals: string | number, _tradeBurnRatio: string | number, _tradeFeeRatio: string | number, _team: string): any;
|
|
174
174
|
/**
|
|
175
175
|
* encode initOwner
|
|
176
176
|
* @param {string} newOwner - address
|
|
177
177
|
* @returns {string} encode data
|
|
178
178
|
*/
|
|
179
|
-
export declare function encodeCustomERC20InitOwner(newOwner: string):
|
|
179
|
+
export declare function encodeCustomERC20InitOwner(newOwner: string): any;
|
|
180
180
|
/**
|
|
181
181
|
* encode transfer
|
|
182
182
|
* @param {string} to - address
|
|
183
183
|
* @param {string | number} amount - uint256
|
|
184
184
|
* @returns {string} encode data
|
|
185
185
|
*/
|
|
186
|
-
export declare function encodeCustomERC20Transfer(to: string, amount: string | number):
|
|
186
|
+
export declare function encodeCustomERC20Transfer(to: string, amount: string | number): any;
|
|
187
187
|
/**
|
|
188
188
|
* encode transferFrom
|
|
189
189
|
* @param {string} from - address
|
|
@@ -191,10 +191,10 @@ export declare function encodeCustomERC20Transfer(to: string, amount: string | n
|
|
|
191
191
|
* @param {string | number} amount - uint256
|
|
192
192
|
* @returns {string} encode data
|
|
193
193
|
*/
|
|
194
|
-
export declare function encodeCustomERC20TransferFrom(from: string, to: string, amount: string | number):
|
|
194
|
+
export declare function encodeCustomERC20TransferFrom(from: string, to: string, amount: string | number): any;
|
|
195
195
|
/**
|
|
196
196
|
* encode transferOwnership
|
|
197
197
|
* @param {string} newOwner - address
|
|
198
198
|
* @returns {string} encode data
|
|
199
199
|
*/
|
|
200
|
-
export declare function encodeCustomERC20TransferOwnership(newOwner: string):
|
|
200
|
+
export declare function encodeCustomERC20TransferOwnership(newOwner: string): any;
|
|
@@ -138,32 +138,32 @@ export declare function getFetchCustomMintableERC20TradeFeeRatioQueryOptions(cha
|
|
|
138
138
|
* @param {string} zeroAddress - address
|
|
139
139
|
* @returns {string} encode data
|
|
140
140
|
*/
|
|
141
|
-
export declare function encodeCustomMintableERC20AbandonOwnership(zeroAddress: string):
|
|
141
|
+
export declare function encodeCustomMintableERC20AbandonOwnership(zeroAddress: string): any;
|
|
142
142
|
/**
|
|
143
143
|
* encode approve
|
|
144
144
|
* @param {string} spender - address
|
|
145
145
|
* @param {string | number} amount - uint256
|
|
146
146
|
* @returns {string} encode data
|
|
147
147
|
*/
|
|
148
|
-
export declare function encodeCustomMintableERC20Approve(spender: string, amount: string | number):
|
|
148
|
+
export declare function encodeCustomMintableERC20Approve(spender: string, amount: string | number): any;
|
|
149
149
|
/**
|
|
150
150
|
* encode burn
|
|
151
151
|
* @param {string | number} value - uint256
|
|
152
152
|
* @returns {string} encode data
|
|
153
153
|
*/
|
|
154
|
-
export declare function encodeCustomMintableERC20Burn(value: string | number):
|
|
154
|
+
export declare function encodeCustomMintableERC20Burn(value: string | number): any;
|
|
155
155
|
/**
|
|
156
156
|
* encode changeTeamAccount
|
|
157
157
|
* @param {string} newTeam - address
|
|
158
158
|
* @returns {string} encode data
|
|
159
159
|
*/
|
|
160
|
-
export declare function encodeCustomMintableERC20ChangeTeamAccount(newTeam: string):
|
|
160
|
+
export declare function encodeCustomMintableERC20ChangeTeamAccount(newTeam: string): any;
|
|
161
161
|
/**
|
|
162
162
|
* encode claimOwnership
|
|
163
163
|
|
|
164
164
|
* @returns {string} encode data
|
|
165
165
|
*/
|
|
166
|
-
export declare function encodeCustomMintableERC20ClaimOwnership():
|
|
166
|
+
export declare function encodeCustomMintableERC20ClaimOwnership(): any;
|
|
167
167
|
/**
|
|
168
168
|
* encode init
|
|
169
169
|
* @param {string} _creator - address
|
|
@@ -176,27 +176,27 @@ export declare function encodeCustomMintableERC20ClaimOwnership(): string;
|
|
|
176
176
|
* @param {string} _team - address
|
|
177
177
|
* @returns {string} encode data
|
|
178
178
|
*/
|
|
179
|
-
export declare function encodeCustomMintableERC20Init(_creator: string, _initSupply: string | number, _name: string, _symbol: string, _decimals: string | number, _tradeBurnRatio: string | number, _tradeFeeRatio: string | number, _team: string):
|
|
179
|
+
export declare function encodeCustomMintableERC20Init(_creator: string, _initSupply: string | number, _name: string, _symbol: string, _decimals: string | number, _tradeBurnRatio: string | number, _tradeFeeRatio: string | number, _team: string): any;
|
|
180
180
|
/**
|
|
181
181
|
* encode initOwner
|
|
182
182
|
* @param {string} newOwner - address
|
|
183
183
|
* @returns {string} encode data
|
|
184
184
|
*/
|
|
185
|
-
export declare function encodeCustomMintableERC20InitOwner(newOwner: string):
|
|
185
|
+
export declare function encodeCustomMintableERC20InitOwner(newOwner: string): any;
|
|
186
186
|
/**
|
|
187
187
|
* encode mint
|
|
188
188
|
* @param {string} user - address
|
|
189
189
|
* @param {string | number} value - uint256
|
|
190
190
|
* @returns {string} encode data
|
|
191
191
|
*/
|
|
192
|
-
export declare function encodeCustomMintableERC20Mint(user: string, value: string | number):
|
|
192
|
+
export declare function encodeCustomMintableERC20Mint(user: string, value: string | number): any;
|
|
193
193
|
/**
|
|
194
194
|
* encode transfer
|
|
195
195
|
* @param {string} to - address
|
|
196
196
|
* @param {string | number} amount - uint256
|
|
197
197
|
* @returns {string} encode data
|
|
198
198
|
*/
|
|
199
|
-
export declare function encodeCustomMintableERC20Transfer(to: string, amount: string | number):
|
|
199
|
+
export declare function encodeCustomMintableERC20Transfer(to: string, amount: string | number): any;
|
|
200
200
|
/**
|
|
201
201
|
* encode transferFrom
|
|
202
202
|
* @param {string} from - address
|
|
@@ -204,10 +204,10 @@ export declare function encodeCustomMintableERC20Transfer(to: string, amount: st
|
|
|
204
204
|
* @param {string | number} amount - uint256
|
|
205
205
|
* @returns {string} encode data
|
|
206
206
|
*/
|
|
207
|
-
export declare function encodeCustomMintableERC20TransferFrom(from: string, to: string, amount: string | number):
|
|
207
|
+
export declare function encodeCustomMintableERC20TransferFrom(from: string, to: string, amount: string | number): any;
|
|
208
208
|
/**
|
|
209
209
|
* encode transferOwnership
|
|
210
210
|
* @param {string} newOwner - address
|
|
211
211
|
* @returns {string} encode data
|
|
212
212
|
*/
|
|
213
|
-
export declare function encodeCustomMintableERC20TransferOwnership(newOwner: string):
|
|
213
|
+
export declare function encodeCustomMintableERC20TransferOwnership(newOwner: string): any;
|
|
@@ -55,7 +55,7 @@ export declare function getFetchD3Proxy_WETH_QueryOptions(chainId: number | unde
|
|
|
55
55
|
* @param {string | number} deadLine - uint256
|
|
56
56
|
* @returns {string} encode data
|
|
57
57
|
*/
|
|
58
|
-
export declare function encodeD3ProxyBuyTokens(pool: string, to: string, fromToken: string, toToken: string, quoteAmount: string | number, maxPayAmount: string | number, data: string, deadLine: string | number):
|
|
58
|
+
export declare function encodeD3ProxyBuyTokens(pool: string, to: string, fromToken: string, toToken: string, quoteAmount: string | number, maxPayAmount: string | number, data: string, deadLine: string | number): any;
|
|
59
59
|
/**
|
|
60
60
|
* encode d3MMSwapCallBack
|
|
61
61
|
* @param {string} token - address
|
|
@@ -63,7 +63,7 @@ export declare function encodeD3ProxyBuyTokens(pool: string, to: string, fromTok
|
|
|
63
63
|
* @param {string} _data - bytes
|
|
64
64
|
* @returns {string} encode data
|
|
65
65
|
*/
|
|
66
|
-
export declare function encodeD3ProxyD3MMSwapCallBack(token: string, value: string | number, _data: string):
|
|
66
|
+
export declare function encodeD3ProxyD3MMSwapCallBack(token: string, value: string | number, _data: string): any;
|
|
67
67
|
/**
|
|
68
68
|
* encode makerDeposit
|
|
69
69
|
* @param {string} pool - address
|
|
@@ -71,19 +71,19 @@ export declare function encodeD3ProxyD3MMSwapCallBack(token: string, value: stri
|
|
|
71
71
|
* @param {string | number} amount - uint256
|
|
72
72
|
* @returns {string} encode data
|
|
73
73
|
*/
|
|
74
|
-
export declare function encodeD3ProxyMakerDeposit(pool: string, token: string, amount: string | number):
|
|
74
|
+
export declare function encodeD3ProxyMakerDeposit(pool: string, token: string, amount: string | number): any;
|
|
75
75
|
/**
|
|
76
76
|
* encode multicall
|
|
77
77
|
* @param {Array<string>} data - bytes[]
|
|
78
78
|
* @returns {string} encode data
|
|
79
79
|
*/
|
|
80
|
-
export declare function encodeD3ProxyMulticall(data: Array<string>):
|
|
80
|
+
export declare function encodeD3ProxyMulticall(data: Array<string>): any;
|
|
81
81
|
/**
|
|
82
82
|
* encode refundETH
|
|
83
83
|
|
|
84
84
|
* @returns {string} encode data
|
|
85
85
|
*/
|
|
86
|
-
export declare function encodeD3ProxyRefundETH():
|
|
86
|
+
export declare function encodeD3ProxyRefundETH(): any;
|
|
87
87
|
/**
|
|
88
88
|
* encode sellTokens
|
|
89
89
|
* @param {string} pool - address
|
|
@@ -96,7 +96,7 @@ export declare function encodeD3ProxyRefundETH(): string;
|
|
|
96
96
|
* @param {string | number} deadLine - uint256
|
|
97
97
|
* @returns {string} encode data
|
|
98
98
|
*/
|
|
99
|
-
export declare function encodeD3ProxySellTokens(pool: string, to: string, fromToken: string, toToken: string, fromAmount: string | number, minReceiveAmount: string | number, data: string, deadLine: string | number):
|
|
99
|
+
export declare function encodeD3ProxySellTokens(pool: string, to: string, fromToken: string, toToken: string, fromAmount: string | number, minReceiveAmount: string | number, data: string, deadLine: string | number): any;
|
|
100
100
|
/**
|
|
101
101
|
* encode userDeposit
|
|
102
102
|
* @param {string} user - address
|
|
@@ -105,7 +105,7 @@ export declare function encodeD3ProxySellTokens(pool: string, to: string, fromTo
|
|
|
105
105
|
* @param {string | number} minDtokenAmount - uint256
|
|
106
106
|
* @returns {string} encode data
|
|
107
107
|
*/
|
|
108
|
-
export declare function encodeD3ProxyUserDeposit(user: string, token: string, amount: string | number, minDtokenAmount: string | number):
|
|
108
|
+
export declare function encodeD3ProxyUserDeposit(user: string, token: string, amount: string | number, minDtokenAmount: string | number): any;
|
|
109
109
|
/**
|
|
110
110
|
* encode userWithdraw
|
|
111
111
|
* @param {string} to - address
|
|
@@ -114,11 +114,11 @@ export declare function encodeD3ProxyUserDeposit(user: string, token: string, am
|
|
|
114
114
|
* @param {string | number} minReceiveAmount - uint256
|
|
115
115
|
* @returns {string} encode data
|
|
116
116
|
*/
|
|
117
|
-
export declare function encodeD3ProxyUserWithdraw(to: string, token: string, dTokenAmount: string | number, minReceiveAmount: string | number):
|
|
117
|
+
export declare function encodeD3ProxyUserWithdraw(to: string, token: string, dTokenAmount: string | number, minReceiveAmount: string | number): any;
|
|
118
118
|
/**
|
|
119
119
|
* encode withdrawWETH
|
|
120
120
|
* @param {string} to - address
|
|
121
121
|
* @param {string | number} minAmount - uint256
|
|
122
122
|
* @returns {string} encode data
|
|
123
123
|
*/
|
|
124
|
-
export declare function encodeD3ProxyWithdrawWETH(to: string, minAmount: string | number):
|
|
124
|
+
export declare function encodeD3ProxyWithdrawWETH(to: string, minAmount: string | number): any;
|