@etherspot/data-utils
Version:
Etherspot Data Utils
56 lines (54 loc) • 1.54 kB
JavaScript
import {
IsBigNumberish
} from "./chunk-4IOSEKKR.mjs";
import {
IsAddress
} from "./chunk-O2WLCXZ5.mjs";
import {
__decorateClass
} from "./chunk-PVVZGNOS.mjs";
// src/sdk/dto/get-exchange-cross-chain-quote.dto.ts
import { Type } from "class-transformer";
import { IsBoolean, IsInt, IsOptional, IsPositive } from "class-validator";
var GetExchangeCrossChainQuoteDto = class {
};
__decorateClass([
IsAddress()
], GetExchangeCrossChainQuoteDto.prototype, "fromTokenAddress", 2);
__decorateClass([
IsAddress()
], GetExchangeCrossChainQuoteDto.prototype, "toTokenAddress", 2);
__decorateClass([
IsPositive(),
IsInt(),
Type(() => Number)
], GetExchangeCrossChainQuoteDto.prototype, "fromChainId", 2);
__decorateClass([
IsPositive(),
IsInt(),
Type(() => Number)
], GetExchangeCrossChainQuoteDto.prototype, "toChainId", 2);
__decorateClass([
IsBigNumberish()
], GetExchangeCrossChainQuoteDto.prototype, "fromAmount", 2);
__decorateClass([
IsAddress()
], GetExchangeCrossChainQuoteDto.prototype, "fromAddress", 2);
__decorateClass([
IsOptional()
], GetExchangeCrossChainQuoteDto.prototype, "serviceProvider", 2);
__decorateClass([
IsOptional(),
IsAddress()
], GetExchangeCrossChainQuoteDto.prototype, "toAddress", 2);
__decorateClass([
IsOptional()
], GetExchangeCrossChainQuoteDto.prototype, "lifiBridges", 2);
__decorateClass([
IsOptional(),
IsBoolean()
], GetExchangeCrossChainQuoteDto.prototype, "showZeroUsd", 2);
export {
GetExchangeCrossChainQuoteDto
};
//# sourceMappingURL=chunk-7BCHIJ4N.mjs.map