@etherspot/data-utils
Version:
Etherspot Data Utils
41 lines (39 loc) • 966 B
JavaScript
import {
IsBigNumberish
} from "./chunk-4IOSEKKR.mjs";
import {
IsAddress
} from "./chunk-O2WLCXZ5.mjs";
import {
__decorateClass
} from "./chunk-PVVZGNOS.mjs";
// src/sdk/dto/get-exchange-offers.dto.ts
import { IsBoolean, IsOptional } from "class-validator";
var GetExchangeOffersDto = class {
};
__decorateClass([
IsAddress()
], GetExchangeOffersDto.prototype, "fromTokenAddress", 2);
__decorateClass([
IsAddress()
], GetExchangeOffersDto.prototype, "toTokenAddress", 2);
__decorateClass([
IsBigNumberish({
positive: true
})
], GetExchangeOffersDto.prototype, "fromAmount", 2);
__decorateClass([
IsAddress()
], GetExchangeOffersDto.prototype, "fromAddress", 2);
__decorateClass([
IsOptional(),
IsAddress()
], GetExchangeOffersDto.prototype, "toAddress", 2);
__decorateClass([
IsOptional(),
IsBoolean()
], GetExchangeOffersDto.prototype, "showZeroUsd", 2);
export {
GetExchangeOffersDto
};
//# sourceMappingURL=chunk-U6ULOGB4.mjs.map