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.TransferBscBep20 = void 0;
  const class_transformer_1 = require("class-transformer");
  const class_validator_1 = require("class-validator");
  const Currency_1 = require("./Currency");
  const Fee_1 = require("./Fee");
  const PrivateKeyOrSignatureId_1 = require("./PrivateKeyOrSignatureId");
  class TransferBscBep20 extends PrivateKeyOrSignatureId_1.PrivateKeyOrSignatureId {
  }
  __decorate([
      class_validator_1.IsNotEmpty(),
      class_validator_1.Length(42, 42),
      __metadata("design:type", String)
  ], TransferBscBep20.prototype, "to", void 0);
  __decorate([
      class_validator_1.IsNotEmpty(),
      class_validator_1.IsNumberString(),
      class_validator_1.Matches(/^[+]?((\d+(\.\d*)?)|(\.\d+))$/),
      __metadata("design:type", String)
  ], TransferBscBep20.prototype, "amount", void 0);
  __decorate([
      class_validator_1.MaxLength(130000),
      class_validator_1.IsOptional(),
      __metadata("design:type", String)
  ], TransferBscBep20.prototype, "data", void 0);
  __decorate([
      class_validator_1.IsNotEmpty(),
      class_validator_1.IsIn(Currency_1.BSC_BASED_CURRENCIES),
      __metadata("design:type", String)
  ], TransferBscBep20.prototype, "currency", void 0);
  __decorate([
      class_validator_1.IsOptional(),
      class_transformer_1.Type(() => Fee_1.Fee),
      class_validator_1.ValidateNested(),
      __metadata("design:type", Fee_1.Fee)
  ], TransferBscBep20.prototype, "fee", void 0);
  __decorate([
      class_validator_1.Min(0),
      class_validator_1.IsOptional(),
      __metadata("design:type", Number)
  ], TransferBscBep20.prototype, "nonce", void 0);
  exports.TransferBscBep20 = TransferBscBep20;
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVHJhbnNmZXJCc2NCZXAyMC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9yZXF1ZXN0L1RyYW5zZmVyQnNjQmVwMjAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEseURBQXVDO0FBQ3ZDLHFEQVV5QjtBQUN6Qix5Q0FBMEQ7QUFDMUQsK0JBQTBCO0FBQzFCLHVFQUFrRTtBQUVsRSxNQUFhLGdCQUFpQixTQUFRLGlEQUF1QjtDQTJCNUQ7QUF2Qkc7SUFGQyw0QkFBVSxFQUFFO0lBQ1osd0JBQU0sQ0FBQyxFQUFFLEVBQUUsRUFBRSxDQUFDOzs0Q0FDRztBQUtsQjtJQUhDLDRCQUFVLEVBQUU7SUFDWixnQ0FBYyxFQUFFO0lBQ2hCLHlCQUFPLENBQUMsK0JBQStCLENBQUM7O2dEQUNuQjtBQUl0QjtJQUZDLDJCQUFTLENBQUMsTUFBTSxDQUFDO0lBQ2pCLDRCQUFVLEVBQUU7OzhDQUNRO0FBSXJCO0lBRkMsNEJBQVUsRUFBRTtJQUNaLHNCQUFJLENBQUMsK0JBQW9CLENBQUM7O2tEQUNEO0FBSzFCO0lBSEMsNEJBQVUsRUFBRTtJQUNaLHdCQUFJLENBQUMsR0FBRyxFQUFFLENBQUMsU0FBRyxDQUFDO0lBQ2YsZ0NBQWMsRUFBRTs4QkFDSixTQUFHOzZDQUFDO0FBSWpCO0lBRkMscUJBQUcsQ0FBQyxDQUFDLENBQUM7SUFDTiw0QkFBVSxFQUFFOzsrQ0FDUztBQTFCMUIsNENBMkJDIn0=