text: "use strict";
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.CreateTronTrc20 = void 0;
  const class_validator_1 = require("class-validator");
  class CreateTronTrc20 {
  }
  __decorate([
      class_validator_1.ValidateIf(o => !(o.from || o.signatureId)),
      class_validator_1.IsNotEmpty(),
      class_validator_1.Length(64, 64),
      __metadata("design:type", String)
  ], CreateTronTrc20.prototype, "fromPrivateKey", void 0);
  __decorate([
      class_validator_1.ValidateIf(o => !o.fromPrivateKey),
      class_validator_1.IsNotEmpty(),
      class_validator_1.Length(34, 34),
      __metadata("design:type", String)
  ], CreateTronTrc20.prototype, "from", void 0);
  __decorate([
      class_validator_1.ValidateIf(o => !o.fromPrivateKey),
      class_validator_1.Length(36, 36),
      class_validator_1.IsUUID('4'),
      class_validator_1.IsNotEmpty(),
      __metadata("design:type", String)
  ], CreateTronTrc20.prototype, "signatureId", void 0);
  __decorate([
      class_validator_1.IsNotEmpty(),
      class_validator_1.Length(1, 100),
      __metadata("design:type", String)
  ], CreateTronTrc20.prototype, "name", void 0);
  __decorate([
      class_validator_1.IsNotEmpty(),
      class_validator_1.Length(34, 34),
      __metadata("design:type", String)
  ], CreateTronTrc20.prototype, "recipient", void 0);
  __decorate([
      class_validator_1.IsNotEmpty(),
      class_validator_1.Length(1, 100),
      __metadata("design:type", String)
  ], CreateTronTrc20.prototype, "symbol", void 0);
  __decorate([
      class_validator_1.IsNotEmpty(),
      class_validator_1.Min(0),
      __metadata("design:type", Number)
  ], CreateTronTrc20.prototype, "totalSupply", void 0);
  __decorate([
      class_validator_1.IsNotEmpty(),
      class_validator_1.Min(0),
      class_validator_1.Max(30),
      __metadata("design:type", Number)
  ], CreateTronTrc20.prototype, "decimals", void 0);
  exports.CreateTronTrc20 = CreateTronTrc20;
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ3JlYXRlVHJvblRyYzIwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL3JlcXVlc3QvQ3JlYXRlVHJvblRyYzIwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBLHFEQUFpRjtBQUVqRixNQUFhLGVBQWU7Q0FzQzNCO0FBakNHO0lBSEMsNEJBQVUsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsSUFBSSxJQUFJLENBQUMsQ0FBQyxXQUFXLENBQUMsQ0FBQztJQUMzQyw0QkFBVSxFQUFFO0lBQ1osd0JBQU0sQ0FBQyxFQUFFLEVBQUUsRUFBRSxDQUFDOzt1REFDZ0I7QUFLL0I7SUFIQyw0QkFBVSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUMsY0FBYyxDQUFDO0lBQ2xDLDRCQUFVLEVBQUU7SUFDWix3QkFBTSxDQUFDLEVBQUUsRUFBRSxFQUFFLENBQUM7OzZDQUNNO0FBTXJCO0lBSkMsNEJBQVUsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLGNBQWMsQ0FBQztJQUNsQyx3QkFBTSxDQUFDLEVBQUUsRUFBRSxFQUFFLENBQUM7SUFDZCx3QkFBTSxDQUFDLEdBQUcsQ0FBQ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