@paraswap/core
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -30,2 +30,3 @@ export declare enum SwapSide { | ||
} | ||
export declare const DirectContractMethodsWithFeeModel: ContractMethod[]; | ||
export declare const DirectContractMethods: ContractMethod[]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DirectContractMethods = exports.ContractMethod = exports.SwapSide = void 0; | ||
exports.DirectContractMethods = exports.DirectContractMethodsWithFeeModel = exports.ContractMethod = exports.SwapSide = void 0; | ||
var SwapSide; | ||
@@ -35,2 +35,10 @@ (function (SwapSide) { | ||
})(ContractMethod = exports.ContractMethod || (exports.ContractMethod = {})); | ||
exports.DirectContractMethodsWithFeeModel = [ | ||
ContractMethod.directUniV3Swap, | ||
ContractMethod.directUniV3Buy, | ||
ContractMethod.directCurveV1Swap, | ||
ContractMethod.directCurveV2Swap, | ||
ContractMethod.directBalancerV2GivenInSwap, | ||
ContractMethod.directBalancerV2GivenOutSwap, | ||
]; | ||
exports.DirectContractMethods = [ | ||
@@ -45,9 +53,3 @@ ContractMethod.swapOnUniswap, | ||
ContractMethod.swapOnZeroXv4, | ||
ContractMethod.directUniV3Swap, | ||
ContractMethod.directUniV3Buy, | ||
ContractMethod.directCurveV1Swap, | ||
ContractMethod.directCurveV2Swap, | ||
ContractMethod.directBalancerV2GivenInSwap, | ||
ContractMethod.directBalancerV2GivenOutSwap, | ||
]; | ||
].concat(exports.DirectContractMethodsWithFeeModel); | ||
//# sourceMappingURL=constants.js.map |
{ | ||
"name": "@paraswap/core", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Common library used between different paraswap packages", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -33,2 +33,11 @@ export enum SwapSide { | ||
export const DirectContractMethodsWithFeeModel: ContractMethod[] = [ | ||
ContractMethod.directUniV3Swap, | ||
ContractMethod.directUniV3Buy, | ||
ContractMethod.directCurveV1Swap, | ||
ContractMethod.directCurveV2Swap, | ||
ContractMethod.directBalancerV2GivenInSwap, | ||
ContractMethod.directBalancerV2GivenOutSwap, | ||
]; | ||
export const DirectContractMethods: ContractMethod[] = [ | ||
@@ -43,8 +52,2 @@ ContractMethod.swapOnUniswap, | ||
ContractMethod.swapOnZeroXv4, | ||
ContractMethod.directUniV3Swap, | ||
ContractMethod.directUniV3Buy, | ||
ContractMethod.directCurveV1Swap, | ||
ContractMethod.directCurveV2Swap, | ||
ContractMethod.directBalancerV2GivenInSwap, | ||
ContractMethod.directBalancerV2GivenOutSwap, | ||
]; | ||
].concat(DirectContractMethodsWithFeeModel); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12148
292