"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAuxiliaryNativeTokenCost = getAuxiliaryNativeTokenCost;
const _1 = require(".");
const utils_1 = require("../../utils");
function getAuxiliaryNativeTokenCost(deposit) {
    return (0, utils_1.isMessageEmpty)(deposit.message) ? utils_1.bnZero : utils_1.BigNumber.from((0, _1.deserializeMessage)(deposit.message).value_amount);
}
//# sourceMappingURL=MessageUtils.js.map