@etherspot/data-utils
Version:
Etherspot Data Utils
37 lines (35 loc) • 820 B
JavaScript
import {
IsAddress
} from "./chunk-O2WLCXZ5.mjs";
import {
__decorateClass
} from "./chunk-PVVZGNOS.mjs";
// src/sdk/dto/get-account-balances.dto.ts
import { IsOptional, IsPositive, IsString } from "class-validator";
var GetAccountBalancesDto = class {
constructor() {
this.tokens = [];
this.provider = null;
this.account = null;
}
};
__decorateClass([
IsOptional(),
IsAddress({
each: true
})
], GetAccountBalancesDto.prototype, "tokens", 2);
__decorateClass([
IsOptional(),
IsString()
], GetAccountBalancesDto.prototype, "provider", 2);
__decorateClass([
IsAddress()
], GetAccountBalancesDto.prototype, "account", 2);
__decorateClass([
IsPositive()
], GetAccountBalancesDto.prototype, "chainId", 2);
export {
GetAccountBalancesDto
};
//# sourceMappingURL=chunk-OWQ2V6GF.mjs.map