@dodoex/dodo-contract-request 1.25.0-alpha.1 → 1.26.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 +26 -66
- package/contract-config/berachain.json +2 -4
- package/contract-config/monad.json +65 -0
- package/contract-config/sepolia.json +1 -3
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/config/index.d.ts +2 -6
- package/dist/types/config/{birdlayer.d.ts → monad.d.ts} +1 -1
- package/dist/types/config/sepolia.d.ts +0 -2
- 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 +10 -10
- 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 +32 -41
- 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/dist/types/index.d.ts +0 -4
- package/package.json +1 -1
- package/src/config/index.ts +5 -13
- package/src/config/monad.ts +4 -0
- package/src/config/sepolia.ts +1 -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/DODODspProxyWithoutGSP.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/FeeRateDIP3Impl.ts +75 -61
- package/src/contract/GSPFactory.ts +1 -1
- package/src/contract/Multicall.ts +1 -1
- package/src/contract/MulticallWithValid.ts +1 -1
- package/src/contract/NonfungiblePositionManager.ts +1 -1
- package/src/contract/UniswapV2Factory.ts +1 -1
- package/src/contract/UniswapV2Router02.ts +1 -1
- package/src/contract/UniswapV3Factory.ts +1 -1
- package/src/index.ts +0 -4
- package/.cache/contract-info/DFTManager.json +0 -2832
- package/.cache/contract-info/ICHIVault.json +0 -787
- package/.cache/contract-info/RWAManager.json +0 -1
- package/.cache/contract-info/RWAToken.json +0 -1
- package/contract-config/birdlayer.json +0 -66
- package/contract-config/zetachain-testnet.json +0 -68
- package/contract-config/zetachain.json +0 -61
- package/dist/types/config/zetachain-testnet.d.ts +0 -32
- package/dist/types/config/zetachain.d.ts +0 -30
- package/dist/types/contract/DFTManager.d.ts +0 -994
- package/dist/types/contract/ICHIVault.d.ts +0 -516
- package/dist/types/contract/RWAManager.d.ts +0 -264
- package/dist/types/contract/RWAToken.d.ts +0 -179
- package/src/config/birdlayer.ts +0 -4
- package/src/config/zetachain-testnet.ts +0 -4
- package/src/config/zetachain.ts +0 -4
- package/src/contract/DFTManager.ts +0 -1222
- package/src/contract/ICHIVault.ts +0 -863
- package/src/contract/RWAManager.ts +0 -479
- package/src/contract/RWAToken.ts +0 -330
|
@@ -677,31 +677,31 @@ export declare function getFetchD3VaultTokensQueryOptions(chainId: number | unde
|
|
|
677
677
|
* @param {string} token - address
|
|
678
678
|
* @returns {string} encode data
|
|
679
679
|
*/
|
|
680
|
-
export declare function encodeD3VaultAccrueInterest(token: string):
|
|
680
|
+
export declare function encodeD3VaultAccrueInterest(token: string): string;
|
|
681
681
|
/**
|
|
682
682
|
* encode accrueInterests
|
|
683
683
|
|
|
684
684
|
* @returns {string} encode data
|
|
685
685
|
*/
|
|
686
|
-
export declare function encodeD3VaultAccrueInterests():
|
|
686
|
+
export declare function encodeD3VaultAccrueInterests(): string;
|
|
687
687
|
/**
|
|
688
688
|
* encode addD3Pool
|
|
689
689
|
* @param {string} pool - address
|
|
690
690
|
* @returns {string} encode data
|
|
691
691
|
*/
|
|
692
|
-
export declare function encodeD3VaultAddD3Pool(pool: string):
|
|
692
|
+
export declare function encodeD3VaultAddD3Pool(pool: string): string;
|
|
693
693
|
/**
|
|
694
694
|
* encode addD3PoolByFactory
|
|
695
695
|
* @param {string} pool - address
|
|
696
696
|
* @returns {string} encode data
|
|
697
697
|
*/
|
|
698
|
-
export declare function encodeD3VaultAddD3PoolByFactory(pool: string):
|
|
698
|
+
export declare function encodeD3VaultAddD3PoolByFactory(pool: string): string;
|
|
699
699
|
/**
|
|
700
700
|
* encode addLiquidator
|
|
701
701
|
* @param {string} liquidator - address
|
|
702
702
|
* @returns {string} encode data
|
|
703
703
|
*/
|
|
704
|
-
export declare function encodeD3VaultAddLiquidator(liquidator: string):
|
|
704
|
+
export declare function encodeD3VaultAddLiquidator(liquidator: string): string;
|
|
705
705
|
/**
|
|
706
706
|
* encode addNewToken
|
|
707
707
|
* @param {string} token - address
|
|
@@ -712,25 +712,25 @@ export declare function encodeD3VaultAddLiquidator(liquidator: string): any;
|
|
|
712
712
|
* @param {string | number} reserveFactor - uint256
|
|
713
713
|
* @returns {string} encode data
|
|
714
714
|
*/
|
|
715
|
-
export declare function encodeD3VaultAddNewToken(token: string, maxDeposit: string | number, maxCollateral: string | number, collateralWeight: string | number, debtWeight: string | number, reserveFactor: string | number):
|
|
715
|
+
export declare function encodeD3VaultAddNewToken(token: string, maxDeposit: string | number, maxCollateral: string | number, collateralWeight: string | number, debtWeight: string | number, reserveFactor: string | number): string;
|
|
716
716
|
/**
|
|
717
717
|
* encode addRouter
|
|
718
718
|
* @param {string} router - address
|
|
719
719
|
* @returns {string} encode data
|
|
720
720
|
*/
|
|
721
|
-
export declare function encodeD3VaultAddRouter(router: string):
|
|
721
|
+
export declare function encodeD3VaultAddRouter(router: string): string;
|
|
722
722
|
/**
|
|
723
723
|
* encode finishLiquidation
|
|
724
724
|
* @param {string} pool - address
|
|
725
725
|
* @returns {string} encode data
|
|
726
726
|
*/
|
|
727
|
-
export declare function encodeD3VaultFinishLiquidation(pool: string):
|
|
727
|
+
export declare function encodeD3VaultFinishLiquidation(pool: string): string;
|
|
728
728
|
/**
|
|
729
729
|
* encode finishPoolRemove
|
|
730
730
|
|
|
731
731
|
* @returns {string} encode data
|
|
732
732
|
*/
|
|
733
|
-
export declare function encodeD3VaultFinishPoolRemove():
|
|
733
|
+
export declare function encodeD3VaultFinishPoolRemove(): string;
|
|
734
734
|
/**
|
|
735
735
|
* encode liquidate
|
|
736
736
|
* @param {string} pool - address
|
|
@@ -740,7 +740,7 @@ export declare function encodeD3VaultFinishPoolRemove(): any;
|
|
|
740
740
|
* @param {string | number} debtToCover - uint256
|
|
741
741
|
* @returns {string} encode data
|
|
742
742
|
*/
|
|
743
|
-
export declare function encodeD3VaultLiquidate(pool: string, collateral: string, collateralAmount: string | number, debt: string, debtToCover: string | number):
|
|
743
|
+
export declare function encodeD3VaultLiquidate(pool: string, collateral: string, collateralAmount: string | number, debt: string, debtToCover: string | number): string;
|
|
744
744
|
/**
|
|
745
745
|
* encode liquidateByDODO
|
|
746
746
|
* @param {string} pool - address
|
|
@@ -753,123 +753,123 @@ export declare function encodeD3VaultLiquidateByDODO(pool: string, order: {
|
|
|
753
753
|
fromToken: string;
|
|
754
754
|
toToken: string;
|
|
755
755
|
fromAmount: string | number;
|
|
756
|
-
}, routeData: string, router: string):
|
|
756
|
+
}, routeData: string, router: string): string;
|
|
757
757
|
/**
|
|
758
758
|
* encode pendingRemovePoolRepayAll
|
|
759
759
|
* @param {string} token - address
|
|
760
760
|
* @returns {string} encode data
|
|
761
761
|
*/
|
|
762
|
-
export declare function encodeD3VaultPendingRemovePoolRepayAll(token: string):
|
|
762
|
+
export declare function encodeD3VaultPendingRemovePoolRepayAll(token: string): string;
|
|
763
763
|
/**
|
|
764
764
|
* encode poolBorrow
|
|
765
765
|
* @param {string} token - address
|
|
766
766
|
* @param {string | number} amount - uint256
|
|
767
767
|
* @returns {string} encode data
|
|
768
768
|
*/
|
|
769
|
-
export declare function encodeD3VaultPoolBorrow(token: string, amount: string | number):
|
|
769
|
+
export declare function encodeD3VaultPoolBorrow(token: string, amount: string | number): string;
|
|
770
770
|
/**
|
|
771
771
|
* encode poolRepay
|
|
772
772
|
* @param {string} token - address
|
|
773
773
|
* @param {string | number} amount - uint256
|
|
774
774
|
* @returns {string} encode data
|
|
775
775
|
*/
|
|
776
|
-
export declare function encodeD3VaultPoolRepay(token: string, amount: string | number):
|
|
776
|
+
export declare function encodeD3VaultPoolRepay(token: string, amount: string | number): string;
|
|
777
777
|
/**
|
|
778
778
|
* encode poolRepayAll
|
|
779
779
|
* @param {string} token - address
|
|
780
780
|
* @returns {string} encode data
|
|
781
781
|
*/
|
|
782
|
-
export declare function encodeD3VaultPoolRepayAll(token: string):
|
|
782
|
+
export declare function encodeD3VaultPoolRepayAll(token: string): string;
|
|
783
783
|
/**
|
|
784
784
|
* encode removeD3Pool
|
|
785
785
|
* @param {string} pool - address
|
|
786
786
|
* @returns {string} encode data
|
|
787
787
|
*/
|
|
788
|
-
export declare function encodeD3VaultRemoveD3Pool(pool: string):
|
|
788
|
+
export declare function encodeD3VaultRemoveD3Pool(pool: string): string;
|
|
789
789
|
/**
|
|
790
790
|
* encode removeLiquidator
|
|
791
791
|
* @param {string} liquidator - address
|
|
792
792
|
* @returns {string} encode data
|
|
793
793
|
*/
|
|
794
|
-
export declare function encodeD3VaultRemoveLiquidator(liquidator: string):
|
|
794
|
+
export declare function encodeD3VaultRemoveLiquidator(liquidator: string): string;
|
|
795
795
|
/**
|
|
796
796
|
* encode removeRouter
|
|
797
797
|
* @param {string} router - address
|
|
798
798
|
* @returns {string} encode data
|
|
799
799
|
*/
|
|
800
|
-
export declare function encodeD3VaultRemoveRouter(router: string):
|
|
800
|
+
export declare function encodeD3VaultRemoveRouter(router: string): string;
|
|
801
801
|
/**
|
|
802
802
|
* encode renounceOwnership
|
|
803
803
|
|
|
804
804
|
* @returns {string} encode data
|
|
805
805
|
*/
|
|
806
|
-
export declare function encodeD3VaultRenounceOwnership():
|
|
806
|
+
export declare function encodeD3VaultRenounceOwnership(): string;
|
|
807
807
|
/**
|
|
808
808
|
* encode setCloneFactory
|
|
809
809
|
* @param {string} cloneFactory - address
|
|
810
810
|
* @returns {string} encode data
|
|
811
811
|
*/
|
|
812
|
-
export declare function encodeD3VaultSetCloneFactory(cloneFactory: string):
|
|
812
|
+
export declare function encodeD3VaultSetCloneFactory(cloneFactory: string): string;
|
|
813
813
|
/**
|
|
814
814
|
* encode setDTokenTemplate
|
|
815
815
|
* @param {string} dTokenTemplate - address
|
|
816
816
|
* @returns {string} encode data
|
|
817
817
|
*/
|
|
818
|
-
export declare function encodeD3VaultSetDTokenTemplate(dTokenTemplate: string):
|
|
818
|
+
export declare function encodeD3VaultSetDTokenTemplate(dTokenTemplate: string): string;
|
|
819
819
|
/**
|
|
820
820
|
* encode setDiscount
|
|
821
821
|
* @param {string | number} discount - uint256
|
|
822
822
|
* @returns {string} encode data
|
|
823
823
|
*/
|
|
824
|
-
export declare function encodeD3VaultSetDiscount(discount: string | number):
|
|
824
|
+
export declare function encodeD3VaultSetDiscount(discount: string | number): string;
|
|
825
825
|
/**
|
|
826
826
|
* encode setIM
|
|
827
827
|
* @param {string | number} newIM - uint256
|
|
828
828
|
* @returns {string} encode data
|
|
829
829
|
*/
|
|
830
|
-
export declare function encodeD3VaultSetIM(newIM: string | number):
|
|
830
|
+
export declare function encodeD3VaultSetIM(newIM: string | number): string;
|
|
831
831
|
/**
|
|
832
832
|
* encode setMM
|
|
833
833
|
* @param {string | number} newMM - uint256
|
|
834
834
|
* @returns {string} encode data
|
|
835
835
|
*/
|
|
836
|
-
export declare function encodeD3VaultSetMM(newMM: string | number):
|
|
836
|
+
export declare function encodeD3VaultSetMM(newMM: string | number): string;
|
|
837
837
|
/**
|
|
838
838
|
* encode setMaintainer
|
|
839
839
|
* @param {string} maintainer - address
|
|
840
840
|
* @returns {string} encode data
|
|
841
841
|
*/
|
|
842
|
-
export declare function encodeD3VaultSetMaintainer(maintainer: string):
|
|
842
|
+
export declare function encodeD3VaultSetMaintainer(maintainer: string): string;
|
|
843
843
|
/**
|
|
844
844
|
* encode setNewD3Factory
|
|
845
845
|
* @param {string} newFactory - address
|
|
846
846
|
* @returns {string} encode data
|
|
847
847
|
*/
|
|
848
|
-
export declare function encodeD3VaultSetNewD3Factory(newFactory: string):
|
|
848
|
+
export declare function encodeD3VaultSetNewD3Factory(newFactory: string): string;
|
|
849
849
|
/**
|
|
850
850
|
* encode setNewD3PoolQuota
|
|
851
851
|
* @param {string} newQuota - address
|
|
852
852
|
* @returns {string} encode data
|
|
853
853
|
*/
|
|
854
|
-
export declare function encodeD3VaultSetNewD3PoolQuota(newQuota: string):
|
|
854
|
+
export declare function encodeD3VaultSetNewD3PoolQuota(newQuota: string): string;
|
|
855
855
|
/**
|
|
856
856
|
* encode setNewD3UserQuota
|
|
857
857
|
* @param {string} newQuota - address
|
|
858
858
|
* @returns {string} encode data
|
|
859
859
|
*/
|
|
860
|
-
export declare function encodeD3VaultSetNewD3UserQuota(newQuota: string):
|
|
860
|
+
export declare function encodeD3VaultSetNewD3UserQuota(newQuota: string): string;
|
|
861
861
|
/**
|
|
862
862
|
* encode setNewOracle
|
|
863
863
|
* @param {string} newOracle - address
|
|
864
864
|
* @returns {string} encode data
|
|
865
865
|
*/
|
|
866
|
-
export declare function encodeD3VaultSetNewOracle(newOracle: string):
|
|
866
|
+
export declare function encodeD3VaultSetNewOracle(newOracle: string): string;
|
|
867
867
|
/**
|
|
868
868
|
* encode setNewRateManager
|
|
869
869
|
* @param {string} newRateManager - address
|
|
870
870
|
* @returns {string} encode data
|
|
871
871
|
*/
|
|
872
|
-
export declare function encodeD3VaultSetNewRateManager(newRateManager: string):
|
|
872
|
+
export declare function encodeD3VaultSetNewRateManager(newRateManager: string): string;
|
|
873
873
|
/**
|
|
874
874
|
* encode setToken
|
|
875
875
|
* @param {string} token - address
|
|
@@ -880,26 +880,26 @@ export declare function encodeD3VaultSetNewRateManager(newRateManager: string):
|
|
|
880
880
|
* @param {string | number} reserveFactor - uint256
|
|
881
881
|
* @returns {string} encode data
|
|
882
882
|
*/
|
|
883
|
-
export declare function encodeD3VaultSetToken(token: string, maxDeposit: string | number, maxCollateral: string | number, collateralWeight: string | number, debtWeight: string | number, reserveFactor: string | number):
|
|
883
|
+
export declare function encodeD3VaultSetToken(token: string, maxDeposit: string | number, maxCollateral: string | number, collateralWeight: string | number, debtWeight: string | number, reserveFactor: string | number): string;
|
|
884
884
|
/**
|
|
885
885
|
* encode startLiquidation
|
|
886
886
|
* @param {string} pool - address
|
|
887
887
|
* @returns {string} encode data
|
|
888
888
|
*/
|
|
889
|
-
export declare function encodeD3VaultStartLiquidation(pool: string):
|
|
889
|
+
export declare function encodeD3VaultStartLiquidation(pool: string): string;
|
|
890
890
|
/**
|
|
891
891
|
* encode transferOwnership
|
|
892
892
|
* @param {string} newOwner - address
|
|
893
893
|
* @returns {string} encode data
|
|
894
894
|
*/
|
|
895
|
-
export declare function encodeD3VaultTransferOwnership(newOwner: string):
|
|
895
|
+
export declare function encodeD3VaultTransferOwnership(newOwner: string): string;
|
|
896
896
|
/**
|
|
897
897
|
* encode userDeposit
|
|
898
898
|
* @param {string} user - address
|
|
899
899
|
* @param {string} token - address
|
|
900
900
|
* @returns {string} encode data
|
|
901
901
|
*/
|
|
902
|
-
export declare function encodeD3VaultUserDeposit(user: string, token: string):
|
|
902
|
+
export declare function encodeD3VaultUserDeposit(user: string, token: string): string;
|
|
903
903
|
/**
|
|
904
904
|
* encode userWithdraw
|
|
905
905
|
* @param {string} to - address
|
|
@@ -908,11 +908,11 @@ export declare function encodeD3VaultUserDeposit(user: string, token: string): a
|
|
|
908
908
|
* @param {string | number} dTokenAmount - uint256
|
|
909
909
|
* @returns {string} encode data
|
|
910
910
|
*/
|
|
911
|
-
export declare function encodeD3VaultUserWithdraw(to: string, user: string, token: string, dTokenAmount: string | number):
|
|
911
|
+
export declare function encodeD3VaultUserWithdraw(to: string, user: string, token: string, dTokenAmount: string | number): string;
|
|
912
912
|
/**
|
|
913
913
|
* encode withdrawReserves
|
|
914
914
|
* @param {string} token - address
|
|
915
915
|
* @param {string | number} amount - uint256
|
|
916
916
|
* @returns {string} encode data
|
|
917
917
|
*/
|
|
918
|
-
export declare function encodeD3VaultWithdrawReserves(token: string, amount: string | number):
|
|
918
|
+
export declare function encodeD3VaultWithdrawReserves(token: string, amount: string | number): string;
|
|
@@ -70,7 +70,7 @@ export declare function getFetchDODOApproveGetDODOProxyQueryOptions(chainId: num
|
|
|
70
70
|
|
|
71
71
|
* @returns {string} encode data
|
|
72
72
|
*/
|
|
73
|
-
export declare function encodeDODOApproveClaimOwnership():
|
|
73
|
+
export declare function encodeDODOApproveClaimOwnership(): string;
|
|
74
74
|
/**
|
|
75
75
|
* encode claimTokens
|
|
76
76
|
* @param {string} token - address
|
|
@@ -79,41 +79,41 @@ export declare function encodeDODOApproveClaimOwnership(): any;
|
|
|
79
79
|
* @param {string | number} amount - uint256
|
|
80
80
|
* @returns {string} encode data
|
|
81
81
|
*/
|
|
82
|
-
export declare function encodeDODOApproveClaimTokens(token: string, who: string, dest: string, amount: string | number):
|
|
82
|
+
export declare function encodeDODOApproveClaimTokens(token: string, who: string, dest: string, amount: string | number): string;
|
|
83
83
|
/**
|
|
84
84
|
* encode init
|
|
85
85
|
* @param {string} owner - address
|
|
86
86
|
* @param {string} initProxyAddress - address
|
|
87
87
|
* @returns {string} encode data
|
|
88
88
|
*/
|
|
89
|
-
export declare function encodeDODOApproveInit(owner: string, initProxyAddress: string):
|
|
89
|
+
export declare function encodeDODOApproveInit(owner: string, initProxyAddress: string): string;
|
|
90
90
|
/**
|
|
91
91
|
* encode initOwner
|
|
92
92
|
* @param {string} newOwner - address
|
|
93
93
|
* @returns {string} encode data
|
|
94
94
|
*/
|
|
95
|
-
export declare function encodeDODOApproveInitOwner(newOwner: string):
|
|
95
|
+
export declare function encodeDODOApproveInitOwner(newOwner: string): string;
|
|
96
96
|
/**
|
|
97
97
|
* encode lockSetProxy
|
|
98
98
|
|
|
99
99
|
* @returns {string} encode data
|
|
100
100
|
*/
|
|
101
|
-
export declare function encodeDODOApproveLockSetProxy():
|
|
101
|
+
export declare function encodeDODOApproveLockSetProxy(): string;
|
|
102
102
|
/**
|
|
103
103
|
* encode setDODOProxy
|
|
104
104
|
|
|
105
105
|
* @returns {string} encode data
|
|
106
106
|
*/
|
|
107
|
-
export declare function encodeDODOApproveSetDODOProxy():
|
|
107
|
+
export declare function encodeDODOApproveSetDODOProxy(): string;
|
|
108
108
|
/**
|
|
109
109
|
* encode transferOwnership
|
|
110
110
|
* @param {string} newOwner - address
|
|
111
111
|
* @returns {string} encode data
|
|
112
112
|
*/
|
|
113
|
-
export declare function encodeDODOApproveTransferOwnership(newOwner: string):
|
|
113
|
+
export declare function encodeDODOApproveTransferOwnership(newOwner: string): string;
|
|
114
114
|
/**
|
|
115
115
|
* encode unlockSetProxy
|
|
116
116
|
* @param {string} newDodoProxy - address
|
|
117
117
|
* @returns {string} encode data
|
|
118
118
|
*/
|
|
119
|
-
export declare function encodeDODOApproveUnlockSetProxy(newDodoProxy: string):
|
|
119
|
+
export declare function encodeDODOApproveUnlockSetProxy(newDodoProxy: string): string;
|
|
@@ -83,13 +83,13 @@ export declare function getFetchDODOApproveProxyIsAllowedProxyQueryOptions(chain
|
|
|
83
83
|
|
|
84
84
|
* @returns {string} encode data
|
|
85
85
|
*/
|
|
86
|
-
export declare function encodeDODOApproveProxyAddDODOProxy():
|
|
86
|
+
export declare function encodeDODOApproveProxyAddDODOProxy(): string;
|
|
87
87
|
/**
|
|
88
88
|
* encode claimOwnership
|
|
89
89
|
|
|
90
90
|
* @returns {string} encode data
|
|
91
91
|
*/
|
|
92
|
-
export declare function encodeDODOApproveProxyClaimOwnership():
|
|
92
|
+
export declare function encodeDODOApproveProxyClaimOwnership(): string;
|
|
93
93
|
/**
|
|
94
94
|
* encode claimTokens
|
|
95
95
|
* @param {string} token - address
|
|
@@ -98,41 +98,41 @@ export declare function encodeDODOApproveProxyClaimOwnership(): any;
|
|
|
98
98
|
* @param {string | number} amount - uint256
|
|
99
99
|
* @returns {string} encode data
|
|
100
100
|
*/
|
|
101
|
-
export declare function encodeDODOApproveProxyClaimTokens(token: string, who: string, dest: string, amount: string | number):
|
|
101
|
+
export declare function encodeDODOApproveProxyClaimTokens(token: string, who: string, dest: string, amount: string | number): string;
|
|
102
102
|
/**
|
|
103
103
|
* encode init
|
|
104
104
|
* @param {string} owner - address
|
|
105
105
|
* @param {Array<string>} proxies - address[]
|
|
106
106
|
* @returns {string} encode data
|
|
107
107
|
*/
|
|
108
|
-
export declare function encodeDODOApproveProxyInit(owner: string, proxies: Array<string>):
|
|
108
|
+
export declare function encodeDODOApproveProxyInit(owner: string, proxies: Array<string>): string;
|
|
109
109
|
/**
|
|
110
110
|
* encode initOwner
|
|
111
111
|
* @param {string} newOwner - address
|
|
112
112
|
* @returns {string} encode data
|
|
113
113
|
*/
|
|
114
|
-
export declare function encodeDODOApproveProxyInitOwner(newOwner: string):
|
|
114
|
+
export declare function encodeDODOApproveProxyInitOwner(newOwner: string): string;
|
|
115
115
|
/**
|
|
116
116
|
* encode lockAddProxy
|
|
117
117
|
|
|
118
118
|
* @returns {string} encode data
|
|
119
119
|
*/
|
|
120
|
-
export declare function encodeDODOApproveProxyLockAddProxy():
|
|
120
|
+
export declare function encodeDODOApproveProxyLockAddProxy(): string;
|
|
121
121
|
/**
|
|
122
122
|
* encode removeDODOProxy
|
|
123
123
|
* @param {string} oldDodoProxy - address
|
|
124
124
|
* @returns {string} encode data
|
|
125
125
|
*/
|
|
126
|
-
export declare function encodeDODOApproveProxyRemoveDODOProxy(oldDodoProxy: string):
|
|
126
|
+
export declare function encodeDODOApproveProxyRemoveDODOProxy(oldDodoProxy: string): string;
|
|
127
127
|
/**
|
|
128
128
|
* encode transferOwnership
|
|
129
129
|
* @param {string} newOwner - address
|
|
130
130
|
* @returns {string} encode data
|
|
131
131
|
*/
|
|
132
|
-
export declare function encodeDODOApproveProxyTransferOwnership(newOwner: string):
|
|
132
|
+
export declare function encodeDODOApproveProxyTransferOwnership(newOwner: string): string;
|
|
133
133
|
/**
|
|
134
134
|
* encode unlockAddProxy
|
|
135
135
|
* @param {string} newDodoProxy - address
|
|
136
136
|
* @returns {string} encode data
|
|
137
137
|
*/
|
|
138
|
-
export declare function encodeDODOApproveProxyUnlockAddProxy(newDodoProxy: string):
|
|
138
|
+
export declare function encodeDODOApproveProxyUnlockAddProxy(newDodoProxy: string): string;
|
|
@@ -17,7 +17,7 @@ export declare function getFetchDODOCalleeHelper_WETH_QueryOptions(chainId: numb
|
|
|
17
17
|
* @param {string} __input1 - bytes
|
|
18
18
|
* @returns {string} encode data
|
|
19
19
|
*/
|
|
20
|
-
export declare function encodeDODOCalleeHelperCPCancelCall(assetTo: string, amount: string | number, __input1: string):
|
|
20
|
+
export declare function encodeDODOCalleeHelperCPCancelCall(assetTo: string, amount: string | number, __input1: string): string;
|
|
21
21
|
/**
|
|
22
22
|
* encode CPClaimBidCall
|
|
23
23
|
* @param {string} assetTo - address
|
|
@@ -26,7 +26,7 @@ export declare function encodeDODOCalleeHelperCPCancelCall(assetTo: string, amou
|
|
|
26
26
|
* @param {string} __input1 - bytes
|
|
27
27
|
* @returns {string} encode data
|
|
28
28
|
*/
|
|
29
|
-
export declare function encodeDODOCalleeHelperCPClaimBidCall(assetTo: string, baseAmount: string | number, quoteAmount: string | number, __input1: string):
|
|
29
|
+
export declare function encodeDODOCalleeHelperCPClaimBidCall(assetTo: string, baseAmount: string | number, quoteAmount: string | number, __input1: string): string;
|
|
30
30
|
/**
|
|
31
31
|
* encode DVMSellShareCall
|
|
32
32
|
* @param {string} assetTo - address
|
|
@@ -36,7 +36,7 @@ export declare function encodeDODOCalleeHelperCPClaimBidCall(assetTo: string, ba
|
|
|
36
36
|
* @param {string} __input2 - bytes
|
|
37
37
|
* @returns {string} encode data
|
|
38
38
|
*/
|
|
39
|
-
export declare function encodeDODOCalleeHelperDVMSellShareCall(assetTo: string, __input1: string | number, baseAmount: string | number, quoteAmount: string | number, __input2: string):
|
|
39
|
+
export declare function encodeDODOCalleeHelperDVMSellShareCall(assetTo: string, __input1: string | number, baseAmount: string | number, quoteAmount: string | number, __input2: string): string;
|
|
40
40
|
/**
|
|
41
41
|
* encode NFTRedeemCall
|
|
42
42
|
* @param {string} assetTo - address
|
|
@@ -44,4 +44,4 @@ export declare function encodeDODOCalleeHelperDVMSellShareCall(assetTo: string,
|
|
|
44
44
|
* @param {string} __input1 - bytes
|
|
45
45
|
* @returns {string} encode data
|
|
46
46
|
*/
|
|
47
|
-
export declare function encodeDODOCalleeHelperNFTRedeemCall(assetTo: string, quoteAmount: string | number, __input1: string):
|
|
47
|
+
export declare function encodeDODOCalleeHelperNFTRedeemCall(assetTo: string, quoteAmount: string | number, __input1: string): string;
|
|
@@ -82,28 +82,28 @@ export declare function getFetchDODOCirculationHelperGetDodoWithdrawFeeRatioQuer
|
|
|
82
82
|
* @param {string} lockedContract - address
|
|
83
83
|
* @returns {string} encode data
|
|
84
84
|
*/
|
|
85
|
-
export declare function encodeDODOCirculationHelperAddLockedContractAddress(lockedContract: string):
|
|
85
|
+
export declare function encodeDODOCirculationHelperAddLockedContractAddress(lockedContract: string): string;
|
|
86
86
|
/**
|
|
87
87
|
* encode claimOwnership
|
|
88
88
|
|
|
89
89
|
* @returns {string} encode data
|
|
90
90
|
*/
|
|
91
|
-
export declare function encodeDODOCirculationHelperClaimOwnership():
|
|
91
|
+
export declare function encodeDODOCirculationHelperClaimOwnership(): string;
|
|
92
92
|
/**
|
|
93
93
|
* encode initOwner
|
|
94
94
|
* @param {string} newOwner - address
|
|
95
95
|
* @returns {string} encode data
|
|
96
96
|
*/
|
|
97
|
-
export declare function encodeDODOCirculationHelperInitOwner(newOwner: string):
|
|
97
|
+
export declare function encodeDODOCirculationHelperInitOwner(newOwner: string): string;
|
|
98
98
|
/**
|
|
99
99
|
* encode removeLockedContractAddress
|
|
100
100
|
* @param {string} lockedContract - address
|
|
101
101
|
* @returns {string} encode data
|
|
102
102
|
*/
|
|
103
|
-
export declare function encodeDODOCirculationHelperRemoveLockedContractAddress(lockedContract: string):
|
|
103
|
+
export declare function encodeDODOCirculationHelperRemoveLockedContractAddress(lockedContract: string): string;
|
|
104
104
|
/**
|
|
105
105
|
* encode transferOwnership
|
|
106
106
|
* @param {string} newOwner - address
|
|
107
107
|
* @returns {string} encode data
|
|
108
108
|
*/
|
|
109
|
-
export declare function encodeDODOCirculationHelperTransferOwnership(newOwner: string):
|
|
109
|
+
export declare function encodeDODOCirculationHelperTransferOwnership(newOwner: string): string;
|
|
@@ -40,7 +40,7 @@ export declare function getFetchDODOCpProxy_WETH_QueryOptions(chainId: number |
|
|
|
40
40
|
* @param {string | number} deadLine - uint256
|
|
41
41
|
* @returns {string} encode data
|
|
42
42
|
*/
|
|
43
|
-
export declare function encodeDODOCpProxyBid(cpAddress: string, quoteAmount: string | number, flag: string | number, deadLine: string | number):
|
|
43
|
+
export declare function encodeDODOCpProxyBid(cpAddress: string, quoteAmount: string | number, flag: string | number, deadLine: string | number): string;
|
|
44
44
|
/**
|
|
45
45
|
* encode createCrowdPooling
|
|
46
46
|
* @param {string} baseToken - address
|
|
@@ -53,4 +53,4 @@ export declare function encodeDODOCpProxyBid(cpAddress: string, quoteAmount: str
|
|
|
53
53
|
* @param {string | number} globalQuota - int256
|
|
54
54
|
* @returns {string} encode data
|
|
55
55
|
*/
|
|
56
|
-
export declare function encodeDODOCpProxyCreateCrowdPooling(baseToken: string, quoteToken: string, baseInAmount: string | number, timeLine: Array<string | number>, valueList: Array<string | number>, switches: Array<boolean>, deadLine: string | number, globalQuota: string | number):
|
|
56
|
+
export declare function encodeDODOCpProxyCreateCrowdPooling(baseToken: string, quoteToken: string, baseInAmount: string | number, timeLine: Array<string | number>, valueList: Array<string | number>, switches: Array<boolean>, deadLine: string | number, globalQuota: string | number): string;
|
|
@@ -40,7 +40,7 @@ export declare function getFetchDODOCpProxyWithoutGlobalQuota_WETH_QueryOptions(
|
|
|
40
40
|
* @param {string | number} deadLine - uint256
|
|
41
41
|
* @returns {string} encode data
|
|
42
42
|
*/
|
|
43
|
-
export declare function encodeDODOCpProxyWithoutGlobalQuotaBid(cpAddress: string, quoteAmount: string | number, flag: string | number, deadLine: string | number):
|
|
43
|
+
export declare function encodeDODOCpProxyWithoutGlobalQuotaBid(cpAddress: string, quoteAmount: string | number, flag: string | number, deadLine: string | number): string;
|
|
44
44
|
/**
|
|
45
45
|
* encode createCrowdPooling
|
|
46
46
|
* @param {string} baseToken - address
|
|
@@ -52,4 +52,4 @@ export declare function encodeDODOCpProxyWithoutGlobalQuotaBid(cpAddress: string
|
|
|
52
52
|
* @param {string | number} deadLine - uint256
|
|
53
53
|
* @returns {string} encode data
|
|
54
54
|
*/
|
|
55
|
-
export declare function encodeDODOCpProxyWithoutGlobalQuotaCreateCrowdPooling(baseToken: string, quoteToken: string, baseInAmount: string | number, timeLine: Array<string | number>, valueList: Array<string | number>, switches: Array<boolean>, deadLine: string | number):
|
|
55
|
+
export declare function encodeDODOCpProxyWithoutGlobalQuotaCreateCrowdPooling(baseToken: string, quoteToken: string, baseInAmount: string | number, timeLine: Array<string | number>, valueList: Array<string | number>, switches: Array<boolean>, deadLine: string | number): string;
|
|
@@ -45,7 +45,7 @@ export declare function getFetchDODODppProxy_WETH_QueryOptions(chainId: number |
|
|
|
45
45
|
* @param {string | number} deadLine - uint256
|
|
46
46
|
* @returns {string} encode data
|
|
47
47
|
*/
|
|
48
|
-
export declare function encodeDODODppProxyCreateDODOPrivatePool(baseToken: string, quoteToken: string, baseInAmount: string | number, quoteInAmount: string | number, lpFeeRate: string | number, i: string | number, k: string | number, isOpenTwap: boolean, deadLine: string | number):
|
|
48
|
+
export declare function encodeDODODppProxyCreateDODOPrivatePool(baseToken: string, quoteToken: string, baseInAmount: string | number, quoteInAmount: string | number, lpFeeRate: string | number, i: string | number, k: string | number, isOpenTwap: boolean, deadLine: string | number): string;
|
|
49
49
|
/**
|
|
50
50
|
* encode resetDODOPrivatePool
|
|
51
51
|
* @param {string} dppAddress - address
|
|
@@ -57,4 +57,4 @@ export declare function encodeDODODppProxyCreateDODOPrivatePool(baseToken: strin
|
|
|
57
57
|
* @param {string | number} deadLine - uint256
|
|
58
58
|
* @returns {string} encode data
|
|
59
59
|
*/
|
|
60
|
-
export declare function encodeDODODppProxyResetDODOPrivatePool(dppAddress: string, paramList: Array<string | number>, amountList: Array<string | number>, flag: string | number, minBaseReserve: string | number, minQuoteReserve: string | number, deadLine: string | number):
|
|
60
|
+
export declare function encodeDODODppProxyResetDODOPrivatePool(dppAddress: string, paramList: Array<string | number>, amountList: Array<string | number>, flag: string | number, minBaseReserve: string | number, minQuoteReserve: string | number, deadLine: string | number): string;
|
|
@@ -54,7 +54,7 @@ export declare function getFetchDODODspProxy_WETH_QueryOptions(chainId: number |
|
|
|
54
54
|
* @param {string | number} deadLine - uint256
|
|
55
55
|
* @returns {string} encode data
|
|
56
56
|
*/
|
|
57
|
-
export declare function encodeDODODspProxyAddDSPLiquidity(dspAddress: string, baseInAmount: string | number, quoteInAmount: string | number, baseMinAmount: string | number, quoteMinAmount: string | number, flag: string | number, deadLine: string | number):
|
|
57
|
+
export declare function encodeDODODspProxyAddDSPLiquidity(dspAddress: string, baseInAmount: string | number, quoteInAmount: string | number, baseMinAmount: string | number, quoteMinAmount: string | number, flag: string | number, deadLine: string | number): string;
|
|
58
58
|
/**
|
|
59
59
|
* encode createDODOGasSavingPair
|
|
60
60
|
* @param {string} admin - address
|
|
@@ -70,7 +70,7 @@ export declare function encodeDODODspProxyAddDSPLiquidity(dspAddress: string, ba
|
|
|
70
70
|
* @param {string | number} deadLine - uint256
|
|
71
71
|
* @returns {string} encode data
|
|
72
72
|
*/
|
|
73
|
-
export declare function encodeDODODspProxyCreateDODOGasSavingPair(admin: string, baseToken: string, quoteToken: string, baseInAmount: string | number, quoteInAmount: string | number, lpFeeRate: string | number, mtFeeRate: string | number, i: string | number, k: string | number, priceLimit: string | number, deadLine: string | number):
|
|
73
|
+
export declare function encodeDODODspProxyCreateDODOGasSavingPair(admin: string, baseToken: string, quoteToken: string, baseInAmount: string | number, quoteInAmount: string | number, lpFeeRate: string | number, mtFeeRate: string | number, i: string | number, k: string | number, priceLimit: string | number, deadLine: string | number): string;
|
|
74
74
|
/**
|
|
75
75
|
* encode createDODOStablePair
|
|
76
76
|
* @param {string} baseToken - address
|
|
@@ -84,4 +84,4 @@ export declare function encodeDODODspProxyCreateDODOGasSavingPair(admin: string,
|
|
|
84
84
|
* @param {string | number} deadLine - uint256
|
|
85
85
|
* @returns {string} encode data
|
|
86
86
|
*/
|
|
87
|
-
export declare function encodeDODODspProxyCreateDODOStablePair(baseToken: string, quoteToken: string, baseInAmount: string | number, quoteInAmount: string | number, lpFeeRate: string | number, i: string | number, k: string | number, isOpenTWAP: boolean, deadLine: string | number):
|
|
87
|
+
export declare function encodeDODODspProxyCreateDODOStablePair(baseToken: string, quoteToken: string, baseInAmount: string | number, quoteInAmount: string | number, lpFeeRate: string | number, i: string | number, k: string | number, isOpenTWAP: boolean, deadLine: string | number): string;
|
|
@@ -43,7 +43,7 @@ export declare function getFetchDODODspProxyWithoutGSP_WETH_QueryOptions(chainId
|
|
|
43
43
|
* @param {string | number} deadLine - uint256
|
|
44
44
|
* @returns {string} encode data
|
|
45
45
|
*/
|
|
46
|
-
export declare function encodeDODODspProxyWithoutGSPAddDSPLiquidity(dspAddress: string, baseInAmount: string | number, quoteInAmount: string | number, baseMinAmount: string | number, quoteMinAmount: string | number, flag: string | number, deadLine: string | number):
|
|
46
|
+
export declare function encodeDODODspProxyWithoutGSPAddDSPLiquidity(dspAddress: string, baseInAmount: string | number, quoteInAmount: string | number, baseMinAmount: string | number, quoteMinAmount: string | number, flag: string | number, deadLine: string | number): string;
|
|
47
47
|
/**
|
|
48
48
|
* encode createDODOStablePair
|
|
49
49
|
* @param {string} baseToken - address
|
|
@@ -57,4 +57,4 @@ export declare function encodeDODODspProxyWithoutGSPAddDSPLiquidity(dspAddress:
|
|
|
57
57
|
* @param {string | number} deadLine - uint256
|
|
58
58
|
* @returns {string} encode data
|
|
59
59
|
*/
|
|
60
|
-
export declare function encodeDODODspProxyWithoutGSPCreateDODOStablePair(baseToken: string, quoteToken: string, baseInAmount: string | number, quoteInAmount: string | number, lpFeeRate: string | number, i: string | number, k: string | number, isOpenTWAP: boolean, deadLine: string | number):
|
|
60
|
+
export declare function encodeDODODspProxyWithoutGSPCreateDODOStablePair(baseToken: string, quoteToken: string, baseInAmount: string | number, quoteInAmount: string | number, lpFeeRate: string | number, i: string | number, k: string | number, isOpenTWAP: boolean, deadLine: string | number): string;
|
|
@@ -94,31 +94,31 @@ export declare function getFetchDODOFeeRouteProxy1TotalWeightQueryOptions(chainI
|
|
|
94
94
|
* @param {string} contractAddr - address
|
|
95
95
|
* @returns {string} encode data
|
|
96
96
|
*/
|
|
97
|
-
export declare function encodeDODOFeeRouteProxy1AddApproveWhiteList(contractAddr: string):
|
|
97
|
+
export declare function encodeDODOFeeRouteProxy1AddApproveWhiteList(contractAddr: string): string;
|
|
98
98
|
/**
|
|
99
99
|
* encode addWhiteList
|
|
100
100
|
* @param {string} contractAddr - address
|
|
101
101
|
* @returns {string} encode data
|
|
102
102
|
*/
|
|
103
|
-
export declare function encodeDODOFeeRouteProxy1AddWhiteList(contractAddr: string):
|
|
103
|
+
export declare function encodeDODOFeeRouteProxy1AddWhiteList(contractAddr: string): string;
|
|
104
104
|
/**
|
|
105
105
|
* encode changeRouteFeeRate
|
|
106
106
|
* @param {string | number} newFeeRate - uint256
|
|
107
107
|
* @returns {string} encode data
|
|
108
108
|
*/
|
|
109
|
-
export declare function encodeDODOFeeRouteProxy1ChangeRouteFeeRate(newFeeRate: string | number):
|
|
109
|
+
export declare function encodeDODOFeeRouteProxy1ChangeRouteFeeRate(newFeeRate: string | number): string;
|
|
110
110
|
/**
|
|
111
111
|
* encode changeRouteFeeReceiver
|
|
112
112
|
* @param {string} newFeeReceiver - address
|
|
113
113
|
* @returns {string} encode data
|
|
114
114
|
*/
|
|
115
|
-
export declare function encodeDODOFeeRouteProxy1ChangeRouteFeeReceiver(newFeeReceiver: string):
|
|
115
|
+
export declare function encodeDODOFeeRouteProxy1ChangeRouteFeeReceiver(newFeeReceiver: string): string;
|
|
116
116
|
/**
|
|
117
117
|
* encode changeTotalWeight
|
|
118
118
|
* @param {string | number} newTotalWeight - uint256
|
|
119
119
|
* @returns {string} encode data
|
|
120
120
|
*/
|
|
121
|
-
export declare function encodeDODOFeeRouteProxy1ChangeTotalWeight(newTotalWeight: string | number):
|
|
121
|
+
export declare function encodeDODOFeeRouteProxy1ChangeTotalWeight(newTotalWeight: string | number): string;
|
|
122
122
|
/**
|
|
123
123
|
* encode dodoMutliSwap
|
|
124
124
|
* @param {string | number} fromTokenAmount - uint256
|
|
@@ -132,7 +132,7 @@ export declare function encodeDODOFeeRouteProxy1ChangeTotalWeight(newTotalWeight
|
|
|
132
132
|
* @param {string | number} deadLine - uint256
|
|
133
133
|
* @returns {string} encode data
|
|
134
134
|
*/
|
|
135
|
-
export declare function encodeDODOFeeRouteProxy1DodoMutliSwap(fromTokenAmount: string | number, expReturnAmount: string | number, minReturnAmount: string | number, splitNumber: Array<string | number>, midToken: Array<string>, assetFrom: Array<string>, sequence: Array<string>, feeData: string, deadLine: string | number):
|
|
135
|
+
export declare function encodeDODOFeeRouteProxy1DodoMutliSwap(fromTokenAmount: string | number, expReturnAmount: string | number, minReturnAmount: string | number, splitNumber: Array<string | number>, midToken: Array<string>, assetFrom: Array<string>, sequence: Array<string>, feeData: string, deadLine: string | number): string;
|
|
136
136
|
/**
|
|
137
137
|
* encode externalSwap
|
|
138
138
|
* @param {string} fromToken - address
|
|
@@ -147,7 +147,7 @@ export declare function encodeDODOFeeRouteProxy1DodoMutliSwap(fromTokenAmount: s
|
|
|
147
147
|
* @param {string | number} deadLine - uint256
|
|
148
148
|
* @returns {string} encode data
|
|
149
149
|
*/
|
|
150
|
-
export declare function encodeDODOFeeRouteProxy1ExternalSwap(fromToken: string, toToken: string, approveTarget: string, swapTarget: string, fromTokenAmount: string | number, expReturnAmount: string | number, minReturnAmount: string | number, feeData: string, callDataConcat: string, deadLine: string | number):
|
|
150
|
+
export declare function encodeDODOFeeRouteProxy1ExternalSwap(fromToken: string, toToken: string, approveTarget: string, swapTarget: string, fromTokenAmount: string | number, expReturnAmount: string | number, minReturnAmount: string | number, feeData: string, callDataConcat: string, deadLine: string | number): string;
|
|
151
151
|
/**
|
|
152
152
|
* encode mixSwap
|
|
153
153
|
* @param {string} fromToken - address
|
|
@@ -164,34 +164,34 @@ export declare function encodeDODOFeeRouteProxy1ExternalSwap(fromToken: string,
|
|
|
164
164
|
* @param {string | number} deadLine - uint256
|
|
165
165
|
* @returns {string} encode data
|
|
166
166
|
*/
|
|
167
|
-
export declare function encodeDODOFeeRouteProxy1MixSwap(fromToken: string, toToken: string, fromTokenAmount: string | number, expReturnAmount: string | number, minReturnAmount: string | number, mixAdapters: Array<string>, mixPairs: Array<string>, assetTo: Array<string>, directions: string | number, moreInfos: Array<string>, feeData: string, deadLine: string | number):
|
|
167
|
+
export declare function encodeDODOFeeRouteProxy1MixSwap(fromToken: string, toToken: string, fromTokenAmount: string | number, expReturnAmount: string | number, minReturnAmount: string | number, mixAdapters: Array<string>, mixPairs: Array<string>, assetTo: Array<string>, directions: string | number, moreInfos: Array<string>, feeData: string, deadLine: string | number): string;
|
|
168
168
|
/**
|
|
169
169
|
* encode removeApproveWhiteList
|
|
170
170
|
* @param {string} contractAddr - address
|
|
171
171
|
* @returns {string} encode data
|
|
172
172
|
*/
|
|
173
|
-
export declare function encodeDODOFeeRouteProxy1RemoveApproveWhiteList(contractAddr: string):
|
|
173
|
+
export declare function encodeDODOFeeRouteProxy1RemoveApproveWhiteList(contractAddr: string): string;
|
|
174
174
|
/**
|
|
175
175
|
* encode removeWhiteList
|
|
176
176
|
* @param {string} contractAddr - address
|
|
177
177
|
* @returns {string} encode data
|
|
178
178
|
*/
|
|
179
|
-
export declare function encodeDODOFeeRouteProxy1RemoveWhiteList(contractAddr: string):
|
|
179
|
+
export declare function encodeDODOFeeRouteProxy1RemoveWhiteList(contractAddr: string): string;
|
|
180
180
|
/**
|
|
181
181
|
* encode renounceOwnership
|
|
182
182
|
|
|
183
183
|
* @returns {string} encode data
|
|
184
184
|
*/
|
|
185
|
-
export declare function encodeDODOFeeRouteProxy1RenounceOwnership():
|
|
185
|
+
export declare function encodeDODOFeeRouteProxy1RenounceOwnership(): string;
|
|
186
186
|
/**
|
|
187
187
|
* encode superWithdraw
|
|
188
188
|
* @param {string} token - address
|
|
189
189
|
* @returns {string} encode data
|
|
190
190
|
*/
|
|
191
|
-
export declare function encodeDODOFeeRouteProxy1SuperWithdraw(token: string):
|
|
191
|
+
export declare function encodeDODOFeeRouteProxy1SuperWithdraw(token: string): string;
|
|
192
192
|
/**
|
|
193
193
|
* encode transferOwnership
|
|
194
194
|
* @param {string} newOwner - address
|
|
195
195
|
* @returns {string} encode data
|
|
196
196
|
*/
|
|
197
|
-
export declare function encodeDODOFeeRouteProxy1TransferOwnership(newOwner: string):
|
|
197
|
+
export declare function encodeDODOFeeRouteProxy1TransferOwnership(newOwner: string): string;
|