@swaptoshi/dex-module
Version:
Klayr decentralized exchange (dex) on-chain module
12 lines • 590 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.verifyCollectParam = verifyCollectParam;
const utils_1 = require("@swaptoshi/utils");
function verifyCollectParam(params) {
utils_1.verify.verifyAddress('poolAddress', params.poolAddress);
utils_1.verify.verifyNumberString('tokenId', params.tokenId);
utils_1.verify.verifyAddress('recipient', params.recipient);
utils_1.verify.verifyNumberString('amount0Max', params.amount0Max);
utils_1.verify.verifyNumberString('amount1Max', params.amount1Max);
}
//# sourceMappingURL=collect.js.map