@attocash/commons-js 5.3.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +73 -64
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DayOfWeek.mjs +20 -24
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DayOfWeek.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +46 -46
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +307 -115
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +152 -71
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +219 -98
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Month.mjs +76 -27
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Month.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +49 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +287 -101
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +94 -155
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +139 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +79 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +13 -6
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +61 -40
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +185 -543
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +126 -113
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +188 -177
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +285 -198
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +400 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/MonthDayTime.mjs +29 -0
- package/{ktor-ktor-network-tls/io/ktor/network/tls/TLSConfig.nonJvm.mjs.map → Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/MonthDayTime.mjs.map} +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +147 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +412 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/PlatformSpecifics.mjs +37 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/PlatformSpecifics.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +102 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +237 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/dateCalculations.mjs +47 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/dateCalculations.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +14 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +77 -162
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +50 -48
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +169 -174
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +115 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +117 -63
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +46 -46
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +89 -89
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +128 -371
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +20 -19
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +51 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/util.mjs +0 -35
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/util.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +112 -123
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +64 -64
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +53 -0
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/{AccountUpdate.js.export.d.ts → AccountUpdate.js.export.d.mts} +1 -1
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.export.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +19 -22
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoAccount.export.d.ts → AttoAccount.export.d.mts} +14 -10
- package/commons-commons-core/cash/atto/commons/AttoAccount.export.mjs +3 -2
- package/commons-commons-core/cash/atto/commons/AttoAccount.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +165 -175
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoAccountEntry.export.d.ts → AttoAccountEntry.export.d.mts} +10 -6
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.export.mjs +3 -2
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +164 -183
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoAddress.export.d.ts → AttoAddress.export.d.mts} +9 -4
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +5 -2
- package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +83 -41
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoAlgorithm.export.d.ts → AttoAlgorithm.export.d.mts} +5 -2
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.export.mjs +4 -3
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +21 -21
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoAmount.export.d.ts → AttoAmount.export.d.mts} +11 -6
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +9 -4
- package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +83 -69
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoBlock.export.d.ts → AttoBlock.export.d.mts} +60 -25
- package/commons-commons-core/cash/atto/commons/AttoBlock.export.mjs +12 -11
- package/commons-commons-core/cash/atto/commons/AttoBlock.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +1131 -1180
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoChallenge.export.d.ts → AttoChallenge.export.d.mts} +5 -1
- package/commons-commons-core/cash/atto/commons/AttoChallenge.export.mjs +3 -2
- package/commons-commons-core/cash/atto/commons/AttoChallenge.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +10 -0
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +13 -0
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +72 -0
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/{AttoHash.export.d.ts → AttoHash.export.d.mts} +6 -2
- package/commons-commons-core/cash/atto/commons/AttoHash.export.mjs +3 -2
- package/commons-commons-core/cash/atto/commons/AttoHash.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +35 -35
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoHeight.export.d.ts → AttoHeight.export.d.mts} +10 -5
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -2
- package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +54 -47
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +33 -0
- package/commons-commons-core/cash/atto/commons/AttoInstant.export.mjs +20 -0
- package/commons-commons-core/cash/atto/commons/AttoInstant.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +189 -0
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +26 -0
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +16 -0
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.mjs +17 -0
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +82 -0
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +33 -0
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.mjs +22 -0
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs +23 -0
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +184 -0
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +61 -0
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/{AttoNetwork.export.d.ts → AttoNetwork.export.d.mts} +8 -4
- package/commons-commons-core/cash/atto/commons/AttoNetwork.export.mjs +8 -7
- package/commons-commons-core/cash/atto/commons/AttoNetwork.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoPrivateKey.export.d.ts → AttoPrivateKey.export.d.mts} +7 -3
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.export.mjs +5 -2
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +38 -31
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoPublicKey.export.d.ts → AttoPublicKey.export.d.mts} +5 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.export.mjs +3 -2
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.export.mjs.map +1 -1
- package/{ktor-ktor-client-core/io/ktor/client/engine/js/Js.export.d.ts → commons-commons-core/cash/atto/commons/AttoPublicKey.js.export.d.mts} +1 -2
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.export.mjs +12 -0
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +29 -29
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoReceivable.export.d.ts → AttoReceivable.export.d.mts} +9 -4
- package/commons-commons-core/cash/atto/commons/AttoReceivable.export.mjs +3 -2
- package/commons-commons-core/cash/atto/commons/AttoReceivable.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +148 -133
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
- package/{commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.d.ts → commons-commons-core/cash/atto/commons/AttoSeed.js.export.d.mts} +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.export.mjs +12 -0
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +91 -0
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +29 -4
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoSignature.export.d.ts → AttoSignature.export.d.mts} +5 -1
- package/commons-commons-core/cash/atto/commons/AttoSignature.export.mjs +3 -2
- package/commons-commons-core/cash/atto/commons/AttoSignature.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +23 -441
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +19 -135
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoTransaction.export.d.ts → AttoTransaction.export.d.mts} +9 -3
- package/commons-commons-core/cash/atto/commons/AttoTransaction.export.mjs +3 -2
- package/commons-commons-core/cash/atto/commons/AttoTransaction.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +105 -92
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +63 -0
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/{AttoVersion.export.d.ts → AttoVersion.export.d.mts} +5 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.export.mjs +3 -2
- package/commons-commons-core/cash/atto/commons/AttoVersion.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +17 -18
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoVote.export.d.ts → AttoVote.export.d.mts} +9 -5
- package/commons-commons-core/cash/atto/commons/AttoVote.export.mjs +3 -2
- package/commons-commons-core/cash/atto/commons/AttoVote.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +105 -111
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/{AttoWork.export.d.ts → AttoWork.export.d.mts} +5 -2
- package/commons-commons-core/cash/atto/commons/AttoWork.export.mjs +3 -2
- package/commons-commons-core/cash/atto/commons/AttoWork.export.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +68 -82
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +147 -0
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -0
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +44 -10
- package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs +37 -0
- package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -0
- package/commons-commons-core.mjs +6 -1
- package/commons-commons-core.mjs.map +1 -1
- package/commons-commons-js.mjs +0 -1
- package/commons-commons-js.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClient.mjs +29 -0
- package/{kotlin-kotlin-stdlib/kotlin/Number.mjs.map → commons-commons-node/cash/atto/commons/node/AttoNodeClient.mjs.map} +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +22 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.mjs +13 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +1248 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/{AttoNodeOperations.export.d.ts → AttoNodeOperations.export.d.mts} +25 -9
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.mjs +6 -5
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +215 -324
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +20 -20
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +66 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.d.mts +10 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.mjs +13 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +189 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts +11 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.mjs +13 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +97 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +251 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.d.mts +13 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.mjs +13 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +280 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.d.mts +10 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.mjs +13 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +33 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +339 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +66 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.d.mts +10 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs +13 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +189 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.d.mts +11 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs +13 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +97 -0
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +1 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.d.mts +12 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.mjs +13 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +75 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +2292 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -0
- package/commons-commons-node-remote.mjs +1 -1
- package/commons-commons-node.mjs +7 -0
- package/commons-commons-node.mjs.map +1 -1
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +987 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs.map +1 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.d.mts +24 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs +13 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs.map +1 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +440 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs.map +1 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.d.mts +8 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs +4 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.d.mts +13 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.mjs +13 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.mjs.map +1 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +147 -0
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs.map +1 -0
- package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.mjs → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs} +7 -12
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs.map +1 -0
- package/commons-commons-wallet.mjs +8 -0
- package/{commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.mjs.map → commons-commons-wallet.mjs.map} +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +5 -21
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.d.mts +13 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs +13 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +1 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +124 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +348 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -0
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +95 -143
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.d.mts +15 -0
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.mjs +13 -0
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.mjs.map +1 -0
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +111 -0
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -0
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +149 -260
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
- package/commons-commons-worker-remote.mjs +1 -1
- package/commons-commons-worker.mjs +3 -0
- package/commons-commons-worker.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.mjs +1 -0
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Char.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/Char.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +28 -28
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs +33 -0
- package/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Library.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs +27 -19
- package/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +9 -136
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -12
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -24
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +50 -33
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +15 -15
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +50 -33
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +14 -15
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +50 -33
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +50 -33
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/Unit.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs +54 -41
- package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +15 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +98 -71
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +81 -80
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +51 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +107 -82
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +264 -219
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +101 -74
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs +1 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +42 -0
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +20 -0
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +86 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +125 -99
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +37 -37
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +90 -70
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +64 -50
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +31 -28
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +267 -237
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +5 -5
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +57 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +135 -87
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +42 -15
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +6 -20
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +22 -23
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +165 -140
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +67 -68
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +262 -260
- package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs +13 -13
- package/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +33 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs +5 -5
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +266 -0
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs +27 -0
- package/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +5 -5
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +43 -44
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +9 -111
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +199 -0
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +5 -7
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/cancellation/CancellationException.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +134 -107
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +26 -18
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +116 -116
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +10 -5
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs +33 -0
- package/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/internal/SharedVariableBox.mjs +4 -0
- package/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs +1 -21
- package/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/BitMask.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +11 -12
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/bitUtils.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/charSequenceJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs +4 -3
- package/kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs +58 -27
- package/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/coroutineInternalJS.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/internal/BigInt.mjs +22 -0
- package/kotlin-kotlin-stdlib/kotlin/js/internal/BigInt.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs +258 -0
- package/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs +246 -0
- package/kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +25 -0
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs +4 -5
- package/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs +3 -26
- package/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/rangeTo.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs +20 -3
- package/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/regexp.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs +1 -2
- package/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/void.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/kotlin.mjs +14 -14
- package/kotlin-kotlin-stdlib/kotlin/kotlin.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/math/math.mjs +14 -14
- package/kotlin-kotlin-stdlib/kotlin/math/math.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/random/PlatformRandom.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +105 -13
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +35 -103
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +28 -62
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +30 -93
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs +0 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +21 -25
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +36 -67
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/{KTypeHelpers.mjs → kotlin/reflect/js/internal/KTypeHelpers.mjs} +13 -13
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeImpl.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeImpl.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +18 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +58 -47
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/{reflection.mjs → kotlin/reflect/js/internal/reflection.mjs} +7 -47
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +43 -43
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Char.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/Char.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +56 -49
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +59 -59
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +26 -28
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +43 -43
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +32 -22
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +397 -412
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs +63 -61
- package/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/_CharCategories.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/_WhitespaceChars.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +36 -36
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +54 -54
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +13 -13
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs.map +1 -1
- package/{Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime → kotlin-kotlin-stdlib/kotlin/time}/Clock.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +144 -118
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +15 -12
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +953 -0
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +16 -0
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs.map +1 -0
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +31 -29
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +13 -9
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/noPackageHacks.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +7 -0
- package/kotlin-kotlin-stdlib.mjs.map +1 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +30 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs.map +1 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +50 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs.map +1 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +85 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs.map +1 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +49 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs.map +1 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +80 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs.map +1 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +30 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs.map +1 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs.map +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +38 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs.map +1 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +15 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs.map +1 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +60 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs.map +1 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +29 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs.map +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs.map +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs.map +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +51 -0
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs.map +1 -0
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -1
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +79 -74
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
- package/kotlinx-atomicfu/kotlinx/atomicfu/Trace.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +31 -195
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +229 -216
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +18 -62
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +33 -33
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +10 -28
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +19 -19
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +41 -32
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +8 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Debug.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +47 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +51 -51
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +35 -32
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +131 -131
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +62 -103
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +492 -641
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +14 -14
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +2 -153
- package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +746 -1307
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +107 -107
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +30 -28
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +20 -21
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +17 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +56 -83
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +56 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +70 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +51 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +118 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +249 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +15 -72
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs +25 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +81 -249
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +89 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +286 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +305 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +243 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +145 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +413 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +20 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +217 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +38 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +24 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +30 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +16 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +35 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +55 -51
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +141 -141
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +33 -33
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/StackTraceRecovery.mjs +2 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/StackTraceRecovery.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs +10 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +26 -26
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +15 -19
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +21 -21
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +257 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +101 -125
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +54 -54
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +7 -7
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +279 -291
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +71 -68
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +35 -31
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +79 -79
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +200 -204
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +69 -63
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +109 -100
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs +5 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/KSerializer.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +47 -49
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +64 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +35 -35
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +136 -138
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +8 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +94 -89
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +52 -52
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +117 -121
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs +110 -110
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +58 -59
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +35 -35
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +67 -30
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +78 -78
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +308 -308
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +29 -29
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +42 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/JsonInternalDependencies.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +17 -17
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +23 -25
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +37 -37
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +62 -60
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +137 -147
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs +10 -10
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +454 -454
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +276 -277
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +109 -112
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +99 -99
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +85 -85
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleBuilders.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +2 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +191 -166
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +281 -283
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +205 -197
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +36 -38
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +66 -52
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +3 -3
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +113 -234
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +13 -13
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +195 -190
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +142 -142
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +281 -276
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs.map +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +354 -588
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs.map +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypesJs.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypesJs.mjs.map +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +142 -278
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/HttpClientJs.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/HttpClientJs.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +104 -162
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +66 -113
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +4 -14
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +36 -75
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +165 -295
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +54 -60
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -8
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +155 -323
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +88 -246
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/ReadableStream.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +60 -131
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +21 -10
- package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +108 -263
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +105 -155
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +233 -462
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransformJs.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +222 -618
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +5 -5
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +119 -244
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +74 -184
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +74 -218
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +721 -0
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -0
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +169 -247
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +193 -295
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +85 -161
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +15 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +45 -129
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +26 -26
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +150 -185
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +41 -0
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -0
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs +0 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +128 -213
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +5 -37
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +82 -108
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +71 -156
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +62 -64
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +102 -364
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +60 -170
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/utils/ExceptionUtils.nonJvm.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs.map +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +16 -16
- package/ktor-ktor-events/io/ktor/events/Events.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +162 -162
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +121 -121
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +35 -35
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +63 -63
- package/ktor-ktor-http/io/ktor/http/Headers.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +117 -118
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +131 -130
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +14 -17
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +17 -44
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +71 -71
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +18 -16
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/Query.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +96 -96
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +26 -28
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +47 -106
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/Url.mjs +88 -128
- package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +56 -59
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +10 -10
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +6 -7
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +176 -238
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +90 -334
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +239 -580
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +53 -110
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +91 -91
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPoolJs.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +54 -199
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +1 -38
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +258 -419
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +144 -350
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +272 -1739
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +24 -105
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +118 -356
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +12 -14
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +43 -93
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/Deprecation.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/{ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.js.mjs → ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs} +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs.map +1 -0
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +20 -21
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +19 -19
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +118 -117
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Decoder.js.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +37 -33
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +8 -8
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Win1252Table.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs +2 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -14
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +9 -20
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +17 -17
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +20 -20
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs.map +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +99 -270
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +6 -6
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +216 -564
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +40 -40
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +19 -20
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +64 -53
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/Charset.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/Collections.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/CollectionsJs.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +70 -55
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs +3 -5
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +63 -67
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/PlatformUtilsJs.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/PlatformUtilsJs.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +154 -161
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/Text.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +112 -112
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +11 -12
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +23 -23
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +45 -106
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +30 -30
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +72 -76
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.js.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -4
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecover.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecoverJs.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +62 -62
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs.map +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +22 -32
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs.map +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -3
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -87
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs.map +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +17 -23
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs.map +1 -1
- package/package.json +3 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Clock.mjs.map +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Instant.mjs +0 -258
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Instant.mjs.map +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/JSJodaExceptions.mjs +0 -24
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/JSJodaExceptions.mjs.map +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +0 -845
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs.map +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathJs.mjs +0 -46
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathJs.mjs.map +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/InstantSerializers.mjs +0 -53
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/InstantSerializers.mjs.map +0 -1
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.export.d.ts +0 -14
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.export.mjs +0 -12
- package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +0 -55
- package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs.map +0 -1
- package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +0 -54
- package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs.map +0 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +0 -23
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.mjs +0 -4
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +0 -108
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +0 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +0 -2406
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +0 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.export.d.ts +0 -3
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.export.mjs +0 -12
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +0 -727
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +0 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.d.ts +0 -10
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.mjs +0 -4
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.mjs +0 -12
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +0 -272
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs.map +0 -1
- package/kotlin-kotlin-stdlib/KTypeHelpers.mjs.map +0 -1
- package/kotlin-kotlin-stdlib/kotlin/Number.mjs +0 -22
- package/kotlin-kotlin-stdlib/kotlin/longJs.mjs +0 -387
- package/kotlin-kotlin-stdlib/kotlin/longJs.mjs.map +0 -1
- package/kotlin-kotlin-stdlib/reflection.mjs.map +0 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +0 -56
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs.map +0 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +0 -381
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs.map +0 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +0 -52
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs.map +0 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +0 -161
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs.map +0 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +0 -39
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs.map +0 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +0 -1338
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs.map +0 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +0 -122
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs.map +0 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ExceptionUtils.nonJvm.mjs +0 -12
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ExceptionUtils.nonJvm.mjs.map +0 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.mjs +0 -13
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +0 -29
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs.map +0 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +0 -1339
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs.map +0 -1
- package/ktor-ktor-client-cio.mjs +0 -12
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.js.mjs.map +0 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfig.mjs +0 -40
- package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfig.mjs.map +0 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfigJs.mjs +0 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfigJs.mjs.map +0 -1
- package/ktor-ktor-client-core/io/ktor/client/request/UnixSockets.mjs +0 -46
- package/ktor-ktor-client-core/io/ktor/client/request/UnixSockets.mjs.map +0 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +0 -680
- package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs.map +0 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +0 -221
- package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs.map +0 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +0 -171
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs.map +0 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +0 -51
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs.map +0 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +0 -58
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs.map +0 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +0 -28
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs.map +0 -1
- package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +0 -107
- package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs.map +0 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Memory.mjs +0 -22
- package/ktor-ktor-io/io/ktor/utils/io/core/Memory.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/selector/Selectable.jsAndWasmShared.mjs +0 -22
- package/ktor-ktor-network/io/ktor/network/selector/Selectable.jsAndWasmShared.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +0 -42
- package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +0 -35
- package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +0 -107
- package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +0 -304
- package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +0 -573
- package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +0 -26
- package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +0 -129
- package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +0 -33
- package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +0 -71
- package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +0 -34
- package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +0 -41
- package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.js.mjs +0 -56
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.js.mjs.map +0 -1
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +0 -163
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs.map +0 -1
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSClientSession.nonJvm.mjs +0 -18
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSClientSession.nonJvm.mjs.map +0 -1
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +0 -99
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs.map +0 -1
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfig.nonJvm.mjs +0 -22
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +0 -33
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs.map +0 -1
- package/ktor-ktor-utils/io/ktor/util/cio/Channels.mjs +0 -32
- package/ktor-ktor-utils/io/ktor/util/cio/Channels.mjs.map +0 -1
- package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +0 -113
- package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs.map +0 -1
- package/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtilsJs.mjs +0 -11
- package/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtilsJs.mjs.map +0 -1
- package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +0 -16
- package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs.map +0 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +0 -47
- package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs.map +0 -1
- package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +0 -47
- package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs.map +0 -1
- package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocket.mjs +0 -19
- package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocket.mjs.map +0 -1
- package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +0 -846
- package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs.map +0 -1
- /package/{ktor-ktor-client-cio.mjs.map → commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs.map} +0 -0
- /package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.mjs.map → commons-commons-core/cash/atto/commons/AttoMnemonic.export.mjs.map} +0 -0
- /package/commons-commons-core/cash/atto/commons/{AttoSigner.js.export.mjs.map → AttoPublicKey.js.export.mjs.map} +0 -0
- /package/commons-commons-core/cash/atto/commons/{AttoSeed.export.d.ts → AttoSeed.export.d.mts} +0 -0
- /package/{commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.export.mjs.map → commons-commons-core/cash/atto/commons/AttoSeed.js.export.mjs.map} +0 -0
- /package/commons-commons-core/cash/atto/commons/{AttoSocketAddress.export.d.ts → AttoSocketAddress.export.d.mts} +0 -0
- /package/commons-commons-core/cash/atto/commons/{Extensions.export.d.ts → Extensions.export.d.mts} +0 -0
- /package/commons-commons-node/cash/atto/commons/node/{NodeExtensions.export.d.ts → NodeExtensions.export.d.mts} +0 -0
- /package/{ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.mjs.map → commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.mjs.map} +0 -0
- /package/{commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.mjs.map → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs.map} +0 -0
- /package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.mjs.map → kotlin-kotlin-stdlib/kotlin/internal/SharedVariableBox.mjs.map} +0 -0
- /package/{ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.d.ts → ktor-ktor-client-core/io/ktor/client/engine/js/Js.export.d.mts} +0 -0
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
import { enumEntries20mr21zbe3az4 as enumEntries } from '../../../../kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs';
|
|
23
23
|
import { Enum3alwj03lh1n41 as Enum } from '../../../../kotlin-kotlin-stdlib/kotlin/Enum.mjs';
|
|
24
24
|
import { Buffergs925ekssbch as Buffer } from '../../../../kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs';
|
|
25
|
-
import { Long2qws0ah9gnpki as Long } from '../../../../kotlin-kotlin-stdlib/kotlin/Primitives.mjs';
|
|
26
25
|
import {
|
|
27
26
|
readAttoBlockType2dwlrmdhyg48p as readAttoBlockType,
|
|
28
27
|
readAttoNetwork1knl8nqvjlp4t as readAttoNetwork,
|
|
@@ -41,69 +40,73 @@ import {
|
|
|
41
40
|
writeAttoPublicKey1trmkfrbx6n44 as writeAttoPublicKey,
|
|
42
41
|
writeAttoHeight2lxvq4mztktmg as writeAttoHeight,
|
|
43
42
|
writeAttoAmount2hhzaor5f9e2u as writeAttoAmount,
|
|
44
|
-
|
|
43
|
+
writeInstant2bpcbovpq78pu as writeInstant,
|
|
45
44
|
writeAttoHash2bu4sgme3cpn as writeAttoHash,
|
|
46
45
|
} from './AttoBufferExtensions.mjs';
|
|
47
|
-
import {
|
|
46
|
+
import { getKClass3t8tygqu4lcxf as getKClass } from '../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs';
|
|
48
47
|
import { SealedClassSerializeriwipiibk55zc as SealedClassSerializer } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs';
|
|
49
48
|
import {
|
|
50
49
|
SerializerFactory1qv9hivitncuv as SerializerFactory,
|
|
51
50
|
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
|
|
52
51
|
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
|
|
53
52
|
} from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs';
|
|
54
|
-
import {
|
|
53
|
+
import {
|
|
54
|
+
Error30j3ojkdbobic as Error_0,
|
|
55
|
+
Ok_instance16o85l22vdqrr as Ok_instance,
|
|
56
|
+
Ok13drvlkukl2fs as Ok,
|
|
57
|
+
} from './AttoValidation.mjs';
|
|
58
|
+
import {
|
|
59
|
+
Companion_instance1fg0f1h3yksy8 as Companion_instance,
|
|
60
|
+
AttoInstantAsLongSerializer_getInstance2fa8f20kvnk9j as AttoInstantAsLongSerializer_getInstance,
|
|
61
|
+
} from './AttoInstant.mjs';
|
|
55
62
|
import {
|
|
56
63
|
Companion_getInstance3vz87v4c01z2t as Companion_getInstance,
|
|
57
64
|
toDuration7gy6v749ektt as toDuration,
|
|
58
65
|
} from '../../../../kotlin-kotlin-stdlib/kotlin/time/Duration.mjs';
|
|
59
66
|
import { DurationUnit_MINUTES_getInstancejlptjvjgjkm8 as DurationUnit_MINUTES_getInstance } from '../../../../kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs';
|
|
67
|
+
import { isInterface3d6p8outrmvmk as isInterface } from '../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
|
|
68
|
+
import {
|
|
69
|
+
Companion_getInstancezafbg69jdanb as Companion_getInstance_0,
|
|
70
|
+
AttoAmountAsULongSerializer_getInstanceh2609yxm2twf as AttoAmountAsULongSerializer_getInstance,
|
|
71
|
+
} from './AttoAmount.mjs';
|
|
72
|
+
import {
|
|
73
|
+
Companion_getInstance1rciukis3eslg as Companion_getInstance_1,
|
|
74
|
+
AttoHeightSerializer_getInstance3gs6ucbpk3jcu as AttoHeightSerializer_getInstance,
|
|
75
|
+
AttoHeight1604ccqlfsk68 as AttoHeight,
|
|
76
|
+
} from './AttoHeight.mjs';
|
|
60
77
|
import {
|
|
61
78
|
AttoHashableglgxag9qublj as AttoHashable,
|
|
62
|
-
|
|
79
|
+
AttoHashAsStringSerializer_getInstanceedliht4fjm38 as AttoHashAsStringSerializer_getInstance,
|
|
63
80
|
} from './AttoHash.mjs';
|
|
64
81
|
import { values1ix93lj72gxe9 as values } from './AttoNetwork.mjs';
|
|
65
82
|
import { createSimpleEnumSerializer2guioz11kk1m0 as createSimpleEnumSerializer } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs';
|
|
66
|
-
import { Companion_getInstance19ckbg90y6ov9 as
|
|
83
|
+
import { Companion_getInstance19ckbg90y6ov9 as Companion_getInstance_2 } from './AttoAlgorithm.mjs';
|
|
67
84
|
import { LazyThreadSafetyMode_PUBLICATION_getInstance3hlj875zwihx0 as LazyThreadSafetyMode_PUBLICATION_getInstance } from '../../../../kotlin-kotlin-stdlib/kotlin/Lazy.mjs';
|
|
68
85
|
import {
|
|
69
86
|
lazy1261dae0bgscp as lazy,
|
|
70
87
|
lazy2hsh8ze7j6ikd as lazy_0,
|
|
71
88
|
} from '../../../../kotlin-kotlin-stdlib/kotlin/kotlin.mjs';
|
|
72
|
-
import {
|
|
89
|
+
import { fromInt2ii0rejb1w62w as fromInt } from '../../../../kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs';
|
|
73
90
|
import { IllegalArgumentException2asla15b5jaob as IllegalArgumentException } from '../../../../kotlin-kotlin-stdlib/kotlin/exceptions.mjs';
|
|
74
91
|
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs';
|
|
75
92
|
import {
|
|
76
93
|
AttoVersionSerializer_getInstance3dtcmmiz89i68 as AttoVersionSerializer_getInstance,
|
|
77
94
|
AttoVersion16od9j7ykpw2t as AttoVersion,
|
|
78
95
|
} from './AttoVersion.mjs';
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
AttoHeightSerializer_getInstance3gs6ucbpk3jcu as AttoHeightSerializer_getInstance,
|
|
82
|
-
AttoHeight1604ccqlfsk68 as AttoHeight,
|
|
83
|
-
} from './AttoHeight.mjs';
|
|
96
|
+
import { AttoPublicKeyAsStringSerializer_getInstance1x5nm513mnj2t as AttoPublicKeyAsStringSerializer_getInstance } from './AttoPublicKey.mjs';
|
|
84
97
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from './
|
|
88
|
-
import { InstantMillisSerializer_getInstance119d7idybowz2 as InstantMillisSerializer_getInstance } from './serialiazer/InstantMillisSerializer.mjs';
|
|
98
|
+
AttoAddressAsStringSerializer_getInstance5j63k7wo5ww2 as AttoAddressAsStringSerializer_getInstance,
|
|
99
|
+
AttoAddressi1gjrmqbg81z as AttoAddress,
|
|
100
|
+
} from './AttoAddress.mjs';
|
|
89
101
|
import { UnknownFieldExceptiona60e3a6v1xqo as UnknownFieldException } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
|
|
90
102
|
import {
|
|
91
103
|
protoOf180f3jzyo7rfj as protoOf,
|
|
92
104
|
createThis2j2avj17cvnv2 as createThis,
|
|
93
105
|
} from '../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
94
|
-
import { AttoAddressi1gjrmqbg81z as AttoAddress } from './AttoAddress.mjs';
|
|
95
106
|
import { KProperty1ca4yb4wlo496 as KProperty1 } from '../../../../kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs';
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
_UInt___init__impl__l7qpdltd1eeof8nsuj as _UInt___init__impl__l7qpdl,
|
|
99
|
-
_UInt___get_data__impl__f0vqqw13y1a2xkii3dn as _UInt___get_data__impl__f0vqqw,
|
|
100
|
-
} from '../../../../kotlin-kotlin-stdlib/kotlin/UInt.mjs';
|
|
101
|
-
import {
|
|
102
|
-
_ULong___init__impl__c78o9k1p6qzv0dh0bvg as _ULong___init__impl__c78o9k,
|
|
103
|
-
_ULong___get_data__impl__fggpzb2qlkrfp9zs48z as _ULong___get_data__impl__fggpzb,
|
|
104
|
-
} from '../../../../kotlin-kotlin-stdlib/kotlin/ULong.mjs';
|
|
105
|
-
import { ulongCompare29yg6v52hxi4l as ulongCompare } from '../../../../kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs';
|
|
107
|
+
import { getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef } from '../../../../kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs';
|
|
106
108
|
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from '../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs';
|
|
109
|
+
import { _ULong___init__impl__c78o9k1p6qzv0dh0bvg as _ULong___init__impl__c78o9k } from '../../../../kotlin-kotlin-stdlib/kotlin/ULong.mjs';
|
|
107
110
|
import { _UShort___init__impl__jigrne2jag2u7194ozm as _UShort___init__impl__jigrne } from '../../../../kotlin-kotlin-stdlib/kotlin/UShort.mjs';
|
|
108
111
|
//region block: imports
|
|
109
112
|
var imul = Math.imul;
|
|
@@ -125,23 +128,23 @@ function Companion() {
|
|
|
125
128
|
if (CompanionClass === VOID) {
|
|
126
129
|
class $ {
|
|
127
130
|
constructor() {
|
|
128
|
-
|
|
131
|
+
Companion_instance_0 = this;
|
|
129
132
|
var tmp = this;
|
|
130
133
|
// Inline function 'kotlin.collections.associateBy' call
|
|
131
134
|
var this_0 = get_entries();
|
|
132
135
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
133
136
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
134
|
-
var destination = LinkedHashMap().
|
|
135
|
-
var _iterator__ex2g4s = this_0.
|
|
136
|
-
while (_iterator__ex2g4s.
|
|
137
|
-
var element = _iterator__ex2g4s.
|
|
137
|
+
var destination = LinkedHashMap().wb(capacity);
|
|
138
|
+
var _iterator__ex2g4s = this_0.k1();
|
|
139
|
+
while (_iterator__ex2g4s.l1()) {
|
|
140
|
+
var element = _iterator__ex2g4s.m1();
|
|
138
141
|
var tmp$ret$0 = new (UByte())(element.code);
|
|
139
|
-
destination.
|
|
142
|
+
destination.h3(tmp$ret$0, element);
|
|
140
143
|
}
|
|
141
|
-
tmp.
|
|
144
|
+
tmp.i2x_1 = destination;
|
|
142
145
|
}
|
|
143
146
|
from(code) {
|
|
144
|
-
var tmp0_elvis_lhs = this.
|
|
147
|
+
var tmp0_elvis_lhs = this.i2x_1.p3(new (UByte())(code));
|
|
145
148
|
return tmp0_elvis_lhs == null ? AttoBlockType_UNKNOWN_getInstance() : tmp0_elvis_lhs;
|
|
146
149
|
}
|
|
147
150
|
}
|
|
@@ -150,12 +153,12 @@ function Companion() {
|
|
|
150
153
|
}
|
|
151
154
|
return CompanionClass;
|
|
152
155
|
}
|
|
153
|
-
var
|
|
154
|
-
function
|
|
156
|
+
var Companion_instance_0;
|
|
157
|
+
function Companion_getInstance_3() {
|
|
155
158
|
AttoBlockType_initEntries();
|
|
156
|
-
if (
|
|
159
|
+
if (Companion_instance_0 === VOID)
|
|
157
160
|
new (Companion())();
|
|
158
|
-
return
|
|
161
|
+
return Companion_instance_0;
|
|
159
162
|
}
|
|
160
163
|
function values_0() {
|
|
161
164
|
return [AttoBlockType_UNKNOWN_getInstance(), AttoBlockType_OPEN_getInstance(), AttoBlockType_RECEIVE_getInstance(), AttoBlockType_SEND_getInstance(), AttoBlockType_CHANGE_getInstance()];
|
|
@@ -174,7 +177,7 @@ function valueOf(value) {
|
|
|
174
177
|
return AttoBlockType_CHANGE_getInstance();
|
|
175
178
|
default:
|
|
176
179
|
AttoBlockType_initEntries();
|
|
177
|
-
THROW_IAE('No enum constant
|
|
180
|
+
THROW_IAE('No enum constant cash.atto.commons.AttoBlockType.' + value);
|
|
178
181
|
break;
|
|
179
182
|
}
|
|
180
183
|
}
|
|
@@ -193,7 +196,7 @@ function AttoBlockType_initEntries() {
|
|
|
193
196
|
AttoBlockType_RECEIVE_instance = new (AttoBlockType())('RECEIVE', 2, _UByte___init__impl__g9hnc4(1), 126);
|
|
194
197
|
AttoBlockType_SEND_instance = new (AttoBlockType())('SEND', 3, _UByte___init__impl__g9hnc4(2), 134);
|
|
195
198
|
AttoBlockType_CHANGE_instance = new (AttoBlockType())('CHANGE', 4, _UByte___init__impl__g9hnc4(3), 126);
|
|
196
|
-
|
|
199
|
+
Companion_getInstance_3();
|
|
197
200
|
}
|
|
198
201
|
var $ENTRIES;
|
|
199
202
|
var AttoBlockTypeClass;
|
|
@@ -205,17 +208,17 @@ function AttoBlockType() {
|
|
|
205
208
|
this.code = code;
|
|
206
209
|
this.size = size;
|
|
207
210
|
}
|
|
208
|
-
|
|
211
|
+
m2w() {
|
|
209
212
|
return this.code;
|
|
210
213
|
}
|
|
211
|
-
|
|
214
|
+
n1() {
|
|
212
215
|
return this.size;
|
|
213
216
|
}
|
|
214
217
|
get name() {
|
|
215
|
-
return this.
|
|
218
|
+
return this.x3();
|
|
216
219
|
}
|
|
217
220
|
get ordinal() {
|
|
218
|
-
return this.
|
|
221
|
+
return this.y3();
|
|
219
222
|
}
|
|
220
223
|
}
|
|
221
224
|
initMetadataForClass($, 'AttoBlockType');
|
|
@@ -232,6 +235,15 @@ function HeightSupport() {
|
|
|
232
235
|
}
|
|
233
236
|
return HeightSupportClass;
|
|
234
237
|
}
|
|
238
|
+
var AddressSupportClass;
|
|
239
|
+
function AddressSupport() {
|
|
240
|
+
if (AddressSupportClass === VOID) {
|
|
241
|
+
class $ {}
|
|
242
|
+
initMetadataForInterface($, 'AddressSupport');
|
|
243
|
+
AddressSupportClass = $;
|
|
244
|
+
}
|
|
245
|
+
return AddressSupportClass;
|
|
246
|
+
}
|
|
235
247
|
var CompanionClass_0;
|
|
236
248
|
function Companion_0() {
|
|
237
249
|
if (CompanionClass_0 === VOID) {
|
|
@@ -239,21 +251,21 @@ function Companion_0() {
|
|
|
239
251
|
fromBuffer(serializedBlock) {
|
|
240
252
|
// Inline function 'kotlin.let' call
|
|
241
253
|
var it = new (Buffer())();
|
|
242
|
-
serializedBlock.
|
|
254
|
+
serializedBlock.v27(it, 0n, 1n);
|
|
243
255
|
var type = readAttoBlockType(it);
|
|
244
256
|
var tmp;
|
|
245
|
-
switch (type.
|
|
257
|
+
switch (type.w3_1) {
|
|
246
258
|
case 3:
|
|
247
|
-
tmp =
|
|
259
|
+
tmp = Companion_getInstance_5().k2x(serializedBlock);
|
|
248
260
|
break;
|
|
249
261
|
case 2:
|
|
250
|
-
tmp =
|
|
262
|
+
tmp = Companion_getInstance_6().k2x(serializedBlock);
|
|
251
263
|
break;
|
|
252
264
|
case 1:
|
|
253
|
-
tmp =
|
|
265
|
+
tmp = Companion_getInstance_7().k2x(serializedBlock);
|
|
254
266
|
break;
|
|
255
267
|
case 4:
|
|
256
|
-
tmp =
|
|
268
|
+
tmp = Companion_getInstance_8().k2x(serializedBlock);
|
|
257
269
|
break;
|
|
258
270
|
case 0:
|
|
259
271
|
return null;
|
|
@@ -263,7 +275,7 @@ function Companion_0() {
|
|
|
263
275
|
}
|
|
264
276
|
return tmp;
|
|
265
277
|
}
|
|
266
|
-
|
|
278
|
+
k2t() {
|
|
267
279
|
var tmp = getKClass(AttoBlock());
|
|
268
280
|
// Inline function 'kotlin.arrayOf' call
|
|
269
281
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -277,10 +289,10 @@ function Companion_0() {
|
|
|
277
289
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
278
290
|
// Inline function 'kotlin.js.asDynamic' call
|
|
279
291
|
var tmp$ret$8 = [];
|
|
280
|
-
return SealedClassSerializer().
|
|
292
|
+
return SealedClassSerializer().a1m('cash.atto.commons.AttoBlock', tmp, tmp_0, tmp_1, tmp$ret$8);
|
|
281
293
|
}
|
|
282
|
-
|
|
283
|
-
return this.
|
|
294
|
+
w1x(typeParamsSerializers) {
|
|
295
|
+
return this.k2t();
|
|
284
296
|
}
|
|
285
297
|
}
|
|
286
298
|
initMetadataForCompanion($, VOID, [SerializerFactory()]);
|
|
@@ -288,29 +300,80 @@ function Companion_0() {
|
|
|
288
300
|
}
|
|
289
301
|
return CompanionClass_0;
|
|
290
302
|
}
|
|
291
|
-
var
|
|
292
|
-
function
|
|
293
|
-
return
|
|
303
|
+
var Companion_instance_1;
|
|
304
|
+
function Companion_getInstance_4() {
|
|
305
|
+
return Companion_instance_1;
|
|
294
306
|
}
|
|
295
|
-
function
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
307
|
+
function validate() {
|
|
308
|
+
if (this.version.p2x(get_maxVersion()) > 0) {
|
|
309
|
+
return new (Error_0())('Invalid version: version=' + this.version.toString() + ' > max=' + get_maxVersion().toString());
|
|
310
|
+
}
|
|
311
|
+
var now = Companion_instance.now();
|
|
312
|
+
var tmp = this.timestamp;
|
|
313
|
+
// Inline function 'kotlin.time.Companion.minutes' call
|
|
314
|
+
Companion_getInstance();
|
|
315
|
+
var tmp$ret$0 = toDuration(1, DurationUnit_MINUTES_getInstance());
|
|
316
|
+
if (tmp.x2u(now.jp(tmp$ret$0)) > 0) {
|
|
317
|
+
return new (Error_0())('Timestamp too far in the future: timestamp=' + this.timestamp.toString() + ', now=' + now.toString() + ', tolerance=1m');
|
|
318
|
+
}
|
|
319
|
+
if (!(this.algorithm.publicKeySize === this.publicKey.value.length)) {
|
|
320
|
+
return new (Error_0())('Public key size does not match algorithm: algorithm.publicKeySize=' + this.algorithm.publicKeySize + ', ' + ('publicKey.size=' + this.publicKey.value.length));
|
|
321
|
+
}
|
|
322
|
+
var tmp_0;
|
|
323
|
+
if (isInterface(this, PreviousSupport())) {
|
|
324
|
+
tmp_0 = !(this.previous.value.length === this.algorithm.hashSize);
|
|
325
|
+
} else {
|
|
326
|
+
tmp_0 = false;
|
|
327
|
+
}
|
|
328
|
+
if (tmp_0) {
|
|
329
|
+
return new (Error_0())('Previous hash size does not match algorithm: algorithm.hashSize=' + this.algorithm.hashSize + ', ' + ('previous.size=' + this.previous.value.length));
|
|
330
|
+
}
|
|
331
|
+
var tmp_1;
|
|
332
|
+
if (isInterface(this, ReceiveSupport())) {
|
|
333
|
+
tmp_1 = !(this.sendHash.value.length === this.sendHashAlgorithm.hashSize);
|
|
304
334
|
} else {
|
|
305
|
-
|
|
335
|
+
tmp_1 = false;
|
|
336
|
+
}
|
|
337
|
+
if (tmp_1) {
|
|
338
|
+
return new (Error_0())('Send hash size does not match algorithm: sendHash.size=' + this.sendHash.value.length + ', ' + ('sendHashAlgorithm.hashSize=' + this.sendHashAlgorithm.hashSize));
|
|
339
|
+
}
|
|
340
|
+
var tmp_2;
|
|
341
|
+
if (isInterface(this, ReceiveSupport())) {
|
|
342
|
+
tmp_2 = this.balance.equals(Companion_getInstance_0().MIN);
|
|
343
|
+
} else {
|
|
344
|
+
tmp_2 = false;
|
|
345
|
+
}
|
|
346
|
+
if (tmp_2) {
|
|
347
|
+
return new (Error_0())('Balance must be greater than 0');
|
|
306
348
|
}
|
|
307
|
-
|
|
349
|
+
var tmp_3;
|
|
350
|
+
if (!(this instanceof AttoOpenBlock())) {
|
|
351
|
+
tmp_3 = this.height.q2x(Companion_getInstance_1().MIN) <= 0;
|
|
352
|
+
} else {
|
|
353
|
+
tmp_3 = false;
|
|
354
|
+
}
|
|
355
|
+
if (tmp_3) {
|
|
356
|
+
return new (Error_0())('Height must be greater than 1: height=' + this.height.toString());
|
|
357
|
+
}
|
|
358
|
+
var tmp_4;
|
|
359
|
+
if (isInterface(this, RepresentativeSupport())) {
|
|
360
|
+
tmp_4 = !(this.representativeAlgorithm.publicKeySize === this.representativePublicKey.value.length);
|
|
361
|
+
} else {
|
|
362
|
+
tmp_4 = false;
|
|
363
|
+
}
|
|
364
|
+
if (tmp_4) {
|
|
365
|
+
return new (Error_0())('Representative public key size does not match representative algorithm: ' + ('representativeAlgorithm.publicKeySize=' + this.representativeAlgorithm.publicKeySize + ', ') + ('representativePublicKey.size=' + this.representativePublicKey.value.length));
|
|
366
|
+
}
|
|
367
|
+
return Ok_instance;
|
|
368
|
+
}
|
|
369
|
+
function isValid() {
|
|
370
|
+
return this.validate().r2x();
|
|
308
371
|
}
|
|
309
372
|
var AttoBlockClass;
|
|
310
373
|
function AttoBlock() {
|
|
311
374
|
if (AttoBlockClass === VOID) {
|
|
312
375
|
class $ {}
|
|
313
|
-
initMetadataForInterface($, 'AttoBlock', VOID, VOID, [HeightSupport(), AttoHashable()], VOID, VOID, {0:
|
|
376
|
+
initMetadataForInterface($, 'AttoBlock', VOID, VOID, [HeightSupport(), AddressSupport(), AttoHashable()], VOID, VOID, {0: Companion_getInstance_4});
|
|
314
377
|
AttoBlockClass = $;
|
|
315
378
|
}
|
|
316
379
|
return AttoBlockClass;
|
|
@@ -346,17 +409,17 @@ function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99() {
|
|
|
346
409
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
347
410
|
}
|
|
348
411
|
function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_0() {
|
|
349
|
-
return
|
|
412
|
+
return Companion_getInstance_2().k2t();
|
|
350
413
|
}
|
|
351
414
|
function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_1() {
|
|
352
|
-
return
|
|
415
|
+
return Companion_getInstance_2().k2t();
|
|
353
416
|
}
|
|
354
417
|
var CompanionClass_1;
|
|
355
418
|
function Companion_1() {
|
|
356
419
|
if (CompanionClass_1 === VOID) {
|
|
357
420
|
class $ {
|
|
358
421
|
constructor() {
|
|
359
|
-
|
|
422
|
+
Companion_instance_2 = this;
|
|
360
423
|
var tmp = this;
|
|
361
424
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
362
425
|
var tmp_1 = lazy(tmp_0, AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99);
|
|
@@ -366,19 +429,19 @@ function Companion_1() {
|
|
|
366
429
|
// Inline function 'kotlin.arrayOf' call
|
|
367
430
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
368
431
|
// Inline function 'kotlin.js.asDynamic' call
|
|
369
|
-
tmp.
|
|
432
|
+
tmp.j2x_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_1), null, null, null, null];
|
|
370
433
|
}
|
|
371
|
-
|
|
372
|
-
if (
|
|
434
|
+
k2x(serializedBlock) {
|
|
435
|
+
if (fromInt(AttoBlockType_SEND_getInstance().size) > serializedBlock.n1()) {
|
|
373
436
|
return null;
|
|
374
437
|
}
|
|
375
438
|
var blockType = readAttoBlockType(serializedBlock);
|
|
376
439
|
if (!blockType.equals(AttoBlockType_SEND_getInstance())) {
|
|
377
|
-
throw IllegalArgumentException().
|
|
440
|
+
throw IllegalArgumentException().j1('Invalid block type: ' + blockType.toString());
|
|
378
441
|
}
|
|
379
442
|
return new (AttoSendBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoAmount(serializedBlock));
|
|
380
443
|
}
|
|
381
|
-
|
|
444
|
+
k2t() {
|
|
382
445
|
return $serializer_getInstance();
|
|
383
446
|
}
|
|
384
447
|
}
|
|
@@ -387,11 +450,11 @@ function Companion_1() {
|
|
|
387
450
|
}
|
|
388
451
|
return CompanionClass_1;
|
|
389
452
|
}
|
|
390
|
-
var
|
|
391
|
-
function
|
|
392
|
-
if (
|
|
453
|
+
var Companion_instance_2;
|
|
454
|
+
function Companion_getInstance_5() {
|
|
455
|
+
if (Companion_instance_2 === VOID)
|
|
393
456
|
new (Companion_1())();
|
|
394
|
-
return
|
|
457
|
+
return Companion_instance_2;
|
|
395
458
|
}
|
|
396
459
|
var $serializerClass;
|
|
397
460
|
function $serializer() {
|
|
@@ -399,42 +462,46 @@ function $serializer() {
|
|
|
399
462
|
class $ {
|
|
400
463
|
constructor() {
|
|
401
464
|
$serializer_instance = this;
|
|
402
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('SEND', this,
|
|
403
|
-
tmp0_serialDesc.
|
|
404
|
-
tmp0_serialDesc.
|
|
405
|
-
tmp0_serialDesc.
|
|
406
|
-
tmp0_serialDesc.
|
|
407
|
-
tmp0_serialDesc.
|
|
408
|
-
tmp0_serialDesc.
|
|
409
|
-
tmp0_serialDesc.
|
|
410
|
-
tmp0_serialDesc.
|
|
411
|
-
tmp0_serialDesc.
|
|
412
|
-
tmp0_serialDesc.
|
|
413
|
-
tmp0_serialDesc.
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
var
|
|
420
|
-
tmp1_output
|
|
421
|
-
|
|
422
|
-
tmp1_output.
|
|
423
|
-
tmp1_output.
|
|
424
|
-
tmp1_output.
|
|
425
|
-
tmp1_output.
|
|
426
|
-
tmp1_output.
|
|
427
|
-
tmp1_output.
|
|
428
|
-
tmp1_output.
|
|
429
|
-
tmp1_output.
|
|
430
|
-
tmp1_output.
|
|
431
|
-
tmp1_output.
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
465
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('SEND', this, 13);
|
|
466
|
+
tmp0_serialDesc.v1w('network', false);
|
|
467
|
+
tmp0_serialDesc.v1w('version', false);
|
|
468
|
+
tmp0_serialDesc.v1w('algorithm', false);
|
|
469
|
+
tmp0_serialDesc.v1w('publicKey', false);
|
|
470
|
+
tmp0_serialDesc.v1w('height', false);
|
|
471
|
+
tmp0_serialDesc.v1w('balance', false);
|
|
472
|
+
tmp0_serialDesc.v1w('timestamp', false);
|
|
473
|
+
tmp0_serialDesc.v1w('previous', false);
|
|
474
|
+
tmp0_serialDesc.v1w('receiverAlgorithm', false);
|
|
475
|
+
tmp0_serialDesc.v1w('receiverPublicKey', false);
|
|
476
|
+
tmp0_serialDesc.v1w('amount', false);
|
|
477
|
+
tmp0_serialDesc.v1w('address', true);
|
|
478
|
+
tmp0_serialDesc.v1w('receiverAddress', true);
|
|
479
|
+
this.v2x_1 = tmp0_serialDesc;
|
|
480
|
+
}
|
|
481
|
+
w2x(encoder, value) {
|
|
482
|
+
var tmp0_desc = this.v2x_1;
|
|
483
|
+
var tmp1_output = encoder.h1p(tmp0_desc);
|
|
484
|
+
var tmp2_cached = Companion_getInstance_5().j2x_1;
|
|
485
|
+
tmp1_output.y1q(tmp0_desc, 0, tmp2_cached[0].z1(), value.x2x_1);
|
|
486
|
+
tmp1_output.y1q(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.y2x_1);
|
|
487
|
+
tmp1_output.y1q(tmp0_desc, 2, tmp2_cached[2].z1(), value.z2x_1);
|
|
488
|
+
tmp1_output.y1q(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.a2y_1);
|
|
489
|
+
tmp1_output.y1q(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.b2y_1);
|
|
490
|
+
tmp1_output.y1q(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.c2y_1);
|
|
491
|
+
tmp1_output.y1q(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.d2y_1);
|
|
492
|
+
tmp1_output.y1q(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.e2y_1);
|
|
493
|
+
tmp1_output.y1q(tmp0_desc, 8, tmp2_cached[8].z1(), value.receiverAlgorithm);
|
|
494
|
+
tmp1_output.y1q(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.receiverPublicKey);
|
|
495
|
+
tmp1_output.y1q(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), value.amount);
|
|
496
|
+
tmp1_output.y1q(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.h2y_1);
|
|
497
|
+
tmp1_output.y1q(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), value.receiverAddress);
|
|
498
|
+
tmp1_output.i1p(tmp0_desc);
|
|
499
|
+
}
|
|
500
|
+
v1k(encoder, value) {
|
|
501
|
+
return this.w2x(encoder, value instanceof AttoSendBlock() ? value : THROW_CCE());
|
|
502
|
+
}
|
|
503
|
+
w1k(decoder) {
|
|
504
|
+
var tmp0_desc = this.v2x_1;
|
|
438
505
|
var tmp1_flag = true;
|
|
439
506
|
var tmp2_index = 0;
|
|
440
507
|
var tmp3_bitMask0 = 0;
|
|
@@ -449,101 +516,115 @@ function $serializer() {
|
|
|
449
516
|
var tmp12_local8 = null;
|
|
450
517
|
var tmp13_local9 = null;
|
|
451
518
|
var tmp14_local10 = null;
|
|
452
|
-
var
|
|
453
|
-
var
|
|
454
|
-
|
|
455
|
-
|
|
519
|
+
var tmp15_local11 = null;
|
|
520
|
+
var tmp16_local12 = null;
|
|
521
|
+
var tmp19_input = decoder.h1p(tmp0_desc);
|
|
522
|
+
var tmp20_cached = Companion_getInstance_5().j2x_1;
|
|
523
|
+
if (tmp19_input.w1p()) {
|
|
524
|
+
tmp4_local0 = tmp19_input.t1p(tmp0_desc, 0, tmp20_cached[0].z1(), tmp4_local0);
|
|
456
525
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
457
|
-
tmp5_local1 = tmp19_input.
|
|
526
|
+
tmp5_local1 = tmp19_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
458
527
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
459
|
-
tmp6_local2 = tmp19_input.
|
|
528
|
+
tmp6_local2 = tmp19_input.t1p(tmp0_desc, 2, tmp20_cached[2].z1(), tmp6_local2);
|
|
460
529
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
461
|
-
tmp7_local3 = tmp19_input.
|
|
530
|
+
tmp7_local3 = tmp19_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
462
531
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
463
|
-
tmp8_local4 = tmp19_input.
|
|
532
|
+
tmp8_local4 = tmp19_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
464
533
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
465
|
-
tmp9_local5 = tmp19_input.
|
|
534
|
+
tmp9_local5 = tmp19_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
466
535
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
467
|
-
tmp10_local6 = tmp19_input.
|
|
536
|
+
tmp10_local6 = tmp19_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
468
537
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
469
|
-
tmp11_local7 = tmp19_input.
|
|
538
|
+
tmp11_local7 = tmp19_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
470
539
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
471
|
-
tmp12_local8 = tmp19_input.
|
|
540
|
+
tmp12_local8 = tmp19_input.t1p(tmp0_desc, 8, tmp20_cached[8].z1(), tmp12_local8);
|
|
472
541
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
473
|
-
tmp13_local9 = tmp19_input.
|
|
542
|
+
tmp13_local9 = tmp19_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
474
543
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
475
|
-
tmp14_local10 = tmp19_input.
|
|
544
|
+
tmp14_local10 = tmp19_input.t1p(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), tmp14_local10);
|
|
476
545
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
546
|
+
tmp15_local11 = tmp19_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
547
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
548
|
+
tmp16_local12 = tmp19_input.t1p(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
549
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
477
550
|
} else
|
|
478
551
|
while (tmp1_flag) {
|
|
479
|
-
tmp2_index = tmp19_input.
|
|
552
|
+
tmp2_index = tmp19_input.x1p(tmp0_desc);
|
|
480
553
|
switch (tmp2_index) {
|
|
481
554
|
case -1:
|
|
482
555
|
tmp1_flag = false;
|
|
483
556
|
break;
|
|
484
557
|
case 0:
|
|
485
|
-
tmp4_local0 = tmp19_input.
|
|
558
|
+
tmp4_local0 = tmp19_input.t1p(tmp0_desc, 0, tmp20_cached[0].z1(), tmp4_local0);
|
|
486
559
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
487
560
|
break;
|
|
488
561
|
case 1:
|
|
489
|
-
tmp5_local1 = tmp19_input.
|
|
562
|
+
tmp5_local1 = tmp19_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
490
563
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
491
564
|
break;
|
|
492
565
|
case 2:
|
|
493
|
-
tmp6_local2 = tmp19_input.
|
|
566
|
+
tmp6_local2 = tmp19_input.t1p(tmp0_desc, 2, tmp20_cached[2].z1(), tmp6_local2);
|
|
494
567
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
495
568
|
break;
|
|
496
569
|
case 3:
|
|
497
|
-
tmp7_local3 = tmp19_input.
|
|
570
|
+
tmp7_local3 = tmp19_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
498
571
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
499
572
|
break;
|
|
500
573
|
case 4:
|
|
501
|
-
tmp8_local4 = tmp19_input.
|
|
574
|
+
tmp8_local4 = tmp19_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
502
575
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
503
576
|
break;
|
|
504
577
|
case 5:
|
|
505
|
-
tmp9_local5 = tmp19_input.
|
|
578
|
+
tmp9_local5 = tmp19_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
506
579
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
507
580
|
break;
|
|
508
581
|
case 6:
|
|
509
|
-
tmp10_local6 = tmp19_input.
|
|
582
|
+
tmp10_local6 = tmp19_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
510
583
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
511
584
|
break;
|
|
512
585
|
case 7:
|
|
513
|
-
tmp11_local7 = tmp19_input.
|
|
586
|
+
tmp11_local7 = tmp19_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
514
587
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
515
588
|
break;
|
|
516
589
|
case 8:
|
|
517
|
-
tmp12_local8 = tmp19_input.
|
|
590
|
+
tmp12_local8 = tmp19_input.t1p(tmp0_desc, 8, tmp20_cached[8].z1(), tmp12_local8);
|
|
518
591
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
519
592
|
break;
|
|
520
593
|
case 9:
|
|
521
|
-
tmp13_local9 = tmp19_input.
|
|
594
|
+
tmp13_local9 = tmp19_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
522
595
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
523
596
|
break;
|
|
524
597
|
case 10:
|
|
525
|
-
tmp14_local10 = tmp19_input.
|
|
598
|
+
tmp14_local10 = tmp19_input.t1p(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), tmp14_local10);
|
|
526
599
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
527
600
|
break;
|
|
601
|
+
case 11:
|
|
602
|
+
tmp15_local11 = tmp19_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
603
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
604
|
+
break;
|
|
605
|
+
case 12:
|
|
606
|
+
tmp16_local12 = tmp19_input.t1p(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
607
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
608
|
+
break;
|
|
528
609
|
default:
|
|
529
|
-
throw UnknownFieldException().
|
|
610
|
+
throw UnknownFieldException().q1m(tmp2_index);
|
|
530
611
|
}
|
|
531
612
|
}
|
|
532
|
-
tmp19_input.
|
|
533
|
-
return AttoSendBlock().
|
|
613
|
+
tmp19_input.i1p(tmp0_desc);
|
|
614
|
+
return AttoSendBlock().i2y(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, null);
|
|
534
615
|
}
|
|
535
|
-
|
|
536
|
-
return this.
|
|
616
|
+
u1k() {
|
|
617
|
+
return this.v2x_1;
|
|
537
618
|
}
|
|
538
|
-
|
|
539
|
-
var tmp0_cached =
|
|
619
|
+
k1x() {
|
|
620
|
+
var tmp0_cached = Companion_getInstance_5().j2x_1;
|
|
540
621
|
// Inline function 'kotlin.arrayOf' call
|
|
541
622
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
542
623
|
// Inline function 'kotlin.js.asDynamic' call
|
|
543
|
-
return [tmp0_cached[0].
|
|
624
|
+
return [tmp0_cached[0].z1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
|
|
544
625
|
}
|
|
545
626
|
}
|
|
546
|
-
protoOf($).
|
|
627
|
+
protoOf($).l1x = typeParametersSerializers;
|
|
547
628
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
548
629
|
$serializerClass = $;
|
|
549
630
|
}
|
|
@@ -556,242 +637,185 @@ function $serializer_getInstance() {
|
|
|
556
637
|
return $serializer_instance;
|
|
557
638
|
}
|
|
558
639
|
function AttoSendBlock$hash$delegate$lambda(this$0) {
|
|
559
|
-
return
|
|
560
|
-
return hash(this$0.f2z());
|
|
561
|
-
};
|
|
640
|
+
return () => hash(this$0.e2w());
|
|
562
641
|
}
|
|
563
642
|
function AttoSendBlock$_get_hash_$ref_emfoe1() {
|
|
564
|
-
return
|
|
565
|
-
return p0.hash;
|
|
566
|
-
};
|
|
567
|
-
}
|
|
568
|
-
function AttoSendBlock$address$delegate$lambda(this$0) {
|
|
569
|
-
return function () {
|
|
570
|
-
return new (AttoAddress())(this$0.o2z_1, this$0.p2z_1);
|
|
571
|
-
};
|
|
572
|
-
}
|
|
573
|
-
function AttoSendBlock$_get_address_$ref_it8owv() {
|
|
574
|
-
return function (p0) {
|
|
575
|
-
return p0.address;
|
|
576
|
-
};
|
|
577
|
-
}
|
|
578
|
-
function AttoSendBlock$receiverAddress$delegate$lambda(this$0) {
|
|
579
|
-
return function () {
|
|
580
|
-
return new (AttoAddress())(this$0.receiverAlgorithm, this$0.receiverPublicKey);
|
|
581
|
-
};
|
|
582
|
-
}
|
|
583
|
-
function AttoSendBlock$_get_receiverAddress_$ref_t8r8a6() {
|
|
584
|
-
return function (p0) {
|
|
585
|
-
return p0.receiverAddress;
|
|
586
|
-
};
|
|
643
|
+
return (p0) => p0.hash;
|
|
587
644
|
}
|
|
588
645
|
function AttoSendBlock$_init_$lambda_dfxw6s(this$0) {
|
|
589
|
-
return
|
|
590
|
-
return hash(this$0.f2z());
|
|
591
|
-
};
|
|
592
|
-
}
|
|
593
|
-
function AttoSendBlock$_init_$lambda_dfxw6s_0(this$0) {
|
|
594
|
-
return function () {
|
|
595
|
-
return new (AttoAddress())(this$0.o2z_1, this$0.p2z_1);
|
|
596
|
-
};
|
|
597
|
-
}
|
|
598
|
-
function AttoSendBlock$_init_$lambda_dfxw6s_1(this$0) {
|
|
599
|
-
return function () {
|
|
600
|
-
return new (AttoAddress())(this$0.receiverAlgorithm, this$0.receiverPublicKey);
|
|
601
|
-
};
|
|
646
|
+
return () => hash(this$0.e2w());
|
|
602
647
|
}
|
|
603
648
|
var AttoSendBlockClass;
|
|
604
649
|
function AttoSendBlock() {
|
|
605
650
|
if (AttoSendBlockClass === VOID) {
|
|
606
651
|
class $ {
|
|
607
652
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) {
|
|
608
|
-
|
|
609
|
-
this.
|
|
610
|
-
this.
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
615
|
-
this.
|
|
616
|
-
this.
|
|
653
|
+
Companion_getInstance_5();
|
|
654
|
+
this.x2x_1 = network;
|
|
655
|
+
this.y2x_1 = version;
|
|
656
|
+
this.z2x_1 = algorithm;
|
|
657
|
+
this.a2y_1 = publicKey;
|
|
658
|
+
this.b2y_1 = height;
|
|
659
|
+
this.c2y_1 = balance;
|
|
660
|
+
this.d2y_1 = timestamp;
|
|
661
|
+
this.e2y_1 = previous;
|
|
617
662
|
this.receiverAlgorithm = receiverAlgorithm;
|
|
618
663
|
this.receiverPublicKey = receiverPublicKey;
|
|
619
664
|
this.amount = amount;
|
|
620
|
-
this.
|
|
665
|
+
this.f2y_1 = AttoBlockType_SEND_getInstance();
|
|
621
666
|
var tmp = this;
|
|
622
|
-
tmp.
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
var tmp_1 = this;
|
|
626
|
-
tmp_1.x2z_1 = lazy_0(AttoSendBlock$receiverAddress$delegate$lambda(this));
|
|
667
|
+
tmp.g2y_1 = lazy_0(AttoSendBlock$hash$delegate$lambda(this));
|
|
668
|
+
this.h2y_1 = new (AttoAddress())(this.z2x_1, this.a2y_1);
|
|
669
|
+
this.receiverAddress = new (AttoAddress())(this.receiverAlgorithm, this.receiverPublicKey);
|
|
627
670
|
}
|
|
628
|
-
|
|
629
|
-
return this.
|
|
671
|
+
k2u() {
|
|
672
|
+
return this.x2x_1;
|
|
630
673
|
}
|
|
631
|
-
|
|
632
|
-
return this.
|
|
674
|
+
l2u() {
|
|
675
|
+
return this.y2x_1;
|
|
633
676
|
}
|
|
634
|
-
|
|
635
|
-
return this.
|
|
677
|
+
m2u() {
|
|
678
|
+
return this.z2x_1;
|
|
636
679
|
}
|
|
637
|
-
|
|
638
|
-
return this.
|
|
680
|
+
j2u() {
|
|
681
|
+
return this.a2y_1;
|
|
639
682
|
}
|
|
640
|
-
|
|
641
|
-
return this.
|
|
683
|
+
n2u() {
|
|
684
|
+
return this.b2y_1;
|
|
642
685
|
}
|
|
643
|
-
|
|
644
|
-
return this.
|
|
686
|
+
o2u() {
|
|
687
|
+
return this.c2y_1;
|
|
645
688
|
}
|
|
646
|
-
|
|
647
|
-
return this.
|
|
689
|
+
t2v() {
|
|
690
|
+
return this.d2y_1;
|
|
648
691
|
}
|
|
649
|
-
|
|
650
|
-
return this.
|
|
692
|
+
s2x() {
|
|
693
|
+
return this.e2y_1;
|
|
651
694
|
}
|
|
652
|
-
|
|
695
|
+
j2y() {
|
|
653
696
|
return this.receiverAlgorithm;
|
|
654
697
|
}
|
|
655
|
-
|
|
698
|
+
k2y() {
|
|
656
699
|
return this.receiverPublicKey;
|
|
657
700
|
}
|
|
658
|
-
|
|
701
|
+
l2y() {
|
|
659
702
|
return this.amount;
|
|
660
703
|
}
|
|
661
|
-
|
|
662
|
-
return this.
|
|
704
|
+
o2x() {
|
|
705
|
+
return this.f2y_1;
|
|
663
706
|
}
|
|
664
|
-
|
|
665
|
-
var tmp0 = this.
|
|
707
|
+
o2v() {
|
|
708
|
+
var tmp0 = this.g2y_1;
|
|
666
709
|
var tmp = KProperty1();
|
|
667
710
|
// Inline function 'kotlin.getValue' call
|
|
668
711
|
getPropertyCallableRef('hash', 1, tmp, AttoSendBlock$_get_hash_$ref_emfoe1(), null);
|
|
669
|
-
return tmp0.
|
|
712
|
+
return tmp0.z1();
|
|
670
713
|
}
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
var tmp = KProperty1();
|
|
674
|
-
// Inline function 'kotlin.getValue' call
|
|
675
|
-
getPropertyCallableRef('address', 1, tmp, AttoSendBlock$_get_address_$ref_it8owv(), null);
|
|
676
|
-
return tmp0.s1();
|
|
714
|
+
t2u() {
|
|
715
|
+
return this.h2y_1;
|
|
677
716
|
}
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
var tmp = KProperty1();
|
|
681
|
-
// Inline function 'kotlin.getValue' call
|
|
682
|
-
getPropertyCallableRef('receiverAddress', 1, tmp, AttoSendBlock$_get_receiverAddress_$ref_t8r8a6(), null);
|
|
683
|
-
return tmp0.s1();
|
|
717
|
+
m2y() {
|
|
718
|
+
return this.receiverAddress;
|
|
684
719
|
}
|
|
685
|
-
|
|
720
|
+
e2w() {
|
|
686
721
|
// Inline function 'kotlin.apply' call
|
|
687
722
|
var this_0 = new (Buffer())();
|
|
688
|
-
writeAttoBlockType(this_0, this.
|
|
689
|
-
writeAttoNetwork(this_0, this.
|
|
690
|
-
writeAttoVersion(this_0, this.
|
|
691
|
-
writeAttoAlgorithm(this_0, this.
|
|
692
|
-
writeAttoPublicKey(this_0, this.
|
|
693
|
-
writeAttoHeight(this_0, this.
|
|
694
|
-
writeAttoAmount(this_0, this.
|
|
695
|
-
writeInstant(this_0, this.
|
|
696
|
-
writeAttoHash(this_0, this.
|
|
723
|
+
writeAttoBlockType(this_0, this.f2y_1);
|
|
724
|
+
writeAttoNetwork(this_0, this.x2x_1);
|
|
725
|
+
writeAttoVersion(this_0, this.y2x_1);
|
|
726
|
+
writeAttoAlgorithm(this_0, this.z2x_1);
|
|
727
|
+
writeAttoPublicKey(this_0, this.a2y_1);
|
|
728
|
+
writeAttoHeight(this_0, this.b2y_1);
|
|
729
|
+
writeAttoAmount(this_0, this.c2y_1);
|
|
730
|
+
writeInstant(this_0, this.d2y_1);
|
|
731
|
+
writeAttoHash(this_0, this.e2y_1);
|
|
697
732
|
writeAttoAlgorithm(this_0, this.receiverAlgorithm);
|
|
698
733
|
writeAttoPublicKey(this_0, this.receiverPublicKey);
|
|
699
734
|
writeAttoAmount(this_0, this.amount);
|
|
700
735
|
return this_0;
|
|
701
736
|
}
|
|
702
|
-
|
|
703
|
-
var
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
var this_0 = _UInt___init__impl__l7qpdl(0);
|
|
711
|
-
// Inline function 'kotlin.uintToULong' call
|
|
712
|
-
// Inline function 'kotlin.uintToLong' call
|
|
713
|
-
var value = _UInt___get_data__impl__f0vqqw(this_0);
|
|
714
|
-
var tmp$ret$0 = toLong(value).c4(new (Long())(-1, 0));
|
|
715
|
-
// Inline function 'kotlin.ULong.compareTo' call
|
|
716
|
-
var other = _ULong___init__impl__c78o9k(tmp$ret$0);
|
|
717
|
-
tmp_1 = ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)) > 0;
|
|
718
|
-
} else {
|
|
719
|
-
tmp_1 = false;
|
|
737
|
+
validate() {
|
|
738
|
+
var parent = validate.call(this);
|
|
739
|
+
if (!(parent instanceof Ok())) {
|
|
740
|
+
if (parent instanceof Error_0())
|
|
741
|
+
return parent;
|
|
742
|
+
else {
|
|
743
|
+
noWhenBranchMatchedException();
|
|
744
|
+
}
|
|
720
745
|
}
|
|
721
|
-
if (
|
|
722
|
-
|
|
723
|
-
} else {
|
|
724
|
-
tmp_0 = false;
|
|
746
|
+
if (this.amount.equals(Companion_getInstance_0().MIN)) {
|
|
747
|
+
return new (Error_0())('Amount must be greater than ' + Companion_getInstance_0().MIN.toString());
|
|
725
748
|
}
|
|
726
|
-
if (
|
|
727
|
-
|
|
728
|
-
} else {
|
|
729
|
-
tmp = false;
|
|
749
|
+
if (this.receiverPublicKey.equals(this.a2y_1)) {
|
|
750
|
+
return new (Error_0())('Receiver public key must be different from public key: receiverPublicKey=' + this.receiverPublicKey.toString() + ', publicKey=' + this.a2y_1.toString());
|
|
730
751
|
}
|
|
731
|
-
|
|
752
|
+
if (!(this.receiverAlgorithm.publicKeySize === this.receiverPublicKey.value.length)) {
|
|
753
|
+
return new (Error_0())('Receiver public key size does not match receiver algorithm: ' + ('receiverAlgorithm.publicKeySize=' + this.receiverAlgorithm.publicKeySize + ', ') + ('receiverPublicKey.size=' + this.receiverPublicKey.value.length));
|
|
754
|
+
}
|
|
755
|
+
return Ok_instance;
|
|
732
756
|
}
|
|
733
|
-
|
|
734
|
-
return this.
|
|
757
|
+
te() {
|
|
758
|
+
return this.x2x_1;
|
|
735
759
|
}
|
|
736
|
-
|
|
737
|
-
return this.
|
|
760
|
+
ue() {
|
|
761
|
+
return this.y2x_1;
|
|
738
762
|
}
|
|
739
|
-
|
|
740
|
-
return this.
|
|
763
|
+
z2u() {
|
|
764
|
+
return this.z2x_1;
|
|
741
765
|
}
|
|
742
|
-
|
|
743
|
-
return this.
|
|
766
|
+
a2v() {
|
|
767
|
+
return this.a2y_1;
|
|
744
768
|
}
|
|
745
|
-
|
|
746
|
-
return this.
|
|
769
|
+
b2v() {
|
|
770
|
+
return this.b2y_1;
|
|
747
771
|
}
|
|
748
|
-
|
|
749
|
-
return this.
|
|
772
|
+
c2v() {
|
|
773
|
+
return this.c2y_1;
|
|
750
774
|
}
|
|
751
|
-
|
|
752
|
-
return this.
|
|
775
|
+
d2v() {
|
|
776
|
+
return this.d2y_1;
|
|
753
777
|
}
|
|
754
|
-
|
|
755
|
-
return this.
|
|
778
|
+
e2v() {
|
|
779
|
+
return this.e2y_1;
|
|
756
780
|
}
|
|
757
|
-
|
|
781
|
+
f2v() {
|
|
758
782
|
return this.receiverAlgorithm;
|
|
759
783
|
}
|
|
760
|
-
|
|
784
|
+
g2v() {
|
|
761
785
|
return this.receiverPublicKey;
|
|
762
786
|
}
|
|
763
|
-
|
|
787
|
+
n2y() {
|
|
764
788
|
return this.amount;
|
|
765
789
|
}
|
|
766
|
-
|
|
790
|
+
o2y(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) {
|
|
767
791
|
return new (AttoSendBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount);
|
|
768
792
|
}
|
|
769
793
|
copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount, $super) {
|
|
770
|
-
network = network === VOID ? this.
|
|
771
|
-
version = version === VOID ? this.
|
|
772
|
-
algorithm = algorithm === VOID ? this.
|
|
773
|
-
publicKey = publicKey === VOID ? this.
|
|
774
|
-
height = height === VOID ? this.
|
|
775
|
-
balance = balance === VOID ? this.
|
|
776
|
-
timestamp = timestamp === VOID ? this.
|
|
777
|
-
previous = previous === VOID ? this.
|
|
794
|
+
network = network === VOID ? this.x2x_1 : network;
|
|
795
|
+
version = version === VOID ? this.y2x_1 : version;
|
|
796
|
+
algorithm = algorithm === VOID ? this.z2x_1 : algorithm;
|
|
797
|
+
publicKey = publicKey === VOID ? this.a2y_1 : publicKey;
|
|
798
|
+
height = height === VOID ? this.b2y_1 : height;
|
|
799
|
+
balance = balance === VOID ? this.c2y_1 : balance;
|
|
800
|
+
timestamp = timestamp === VOID ? this.d2y_1 : timestamp;
|
|
801
|
+
previous = previous === VOID ? this.e2y_1 : previous;
|
|
778
802
|
receiverAlgorithm = receiverAlgorithm === VOID ? this.receiverAlgorithm : receiverAlgorithm;
|
|
779
803
|
receiverPublicKey = receiverPublicKey === VOID ? this.receiverPublicKey : receiverPublicKey;
|
|
780
804
|
amount = amount === VOID ? this.amount : amount;
|
|
781
|
-
return $super === VOID ? this.
|
|
805
|
+
return $super === VOID ? this.o2y(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) : $super.o2y.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount);
|
|
782
806
|
}
|
|
783
807
|
toString() {
|
|
784
|
-
return 'AttoSendBlock(network=' + this.
|
|
808
|
+
return 'AttoSendBlock(network=' + this.x2x_1.toString() + ', version=' + this.y2x_1.toString() + ', algorithm=' + this.z2x_1.toString() + ', publicKey=' + this.a2y_1.toString() + ', height=' + this.b2y_1.toString() + ', balance=' + this.c2y_1.toString() + ', timestamp=' + this.d2y_1.toString() + ', previous=' + this.e2y_1.toString() + ', receiverAlgorithm=' + this.receiverAlgorithm.toString() + ', receiverPublicKey=' + this.receiverPublicKey.toString() + ', amount=' + this.amount.toString() + ')';
|
|
785
809
|
}
|
|
786
810
|
hashCode() {
|
|
787
|
-
var result = this.
|
|
788
|
-
result = imul(result, 31) + this.
|
|
789
|
-
result = imul(result, 31) + this.
|
|
790
|
-
result = imul(result, 31) + this.
|
|
791
|
-
result = imul(result, 31) + this.
|
|
792
|
-
result = imul(result, 31) + this.
|
|
793
|
-
result = imul(result, 31) + this.
|
|
794
|
-
result = imul(result, 31) + this.
|
|
811
|
+
var result = this.x2x_1.hashCode();
|
|
812
|
+
result = imul(result, 31) + this.y2x_1.hashCode() | 0;
|
|
813
|
+
result = imul(result, 31) + this.z2x_1.hashCode() | 0;
|
|
814
|
+
result = imul(result, 31) + this.a2y_1.hashCode() | 0;
|
|
815
|
+
result = imul(result, 31) + this.b2y_1.hashCode() | 0;
|
|
816
|
+
result = imul(result, 31) + this.c2y_1.hashCode() | 0;
|
|
817
|
+
result = imul(result, 31) + this.d2y_1.hashCode() | 0;
|
|
818
|
+
result = imul(result, 31) + this.e2y_1.hashCode() | 0;
|
|
795
819
|
result = imul(result, 31) + this.receiverAlgorithm.hashCode() | 0;
|
|
796
820
|
result = imul(result, 31) + this.receiverPublicKey.hashCode() | 0;
|
|
797
821
|
result = imul(result, 31) + this.amount.hashCode() | 0;
|
|
@@ -802,94 +826,95 @@ function AttoSendBlock() {
|
|
|
802
826
|
return true;
|
|
803
827
|
if (!(other instanceof AttoSendBlock()))
|
|
804
828
|
return false;
|
|
805
|
-
|
|
806
|
-
if (!this.m2z_1.equals(tmp0_other_with_cast.m2z_1))
|
|
829
|
+
if (!this.x2x_1.equals(other.x2x_1))
|
|
807
830
|
return false;
|
|
808
|
-
if (!this.
|
|
831
|
+
if (!this.y2x_1.equals(other.y2x_1))
|
|
809
832
|
return false;
|
|
810
|
-
if (!this.
|
|
833
|
+
if (!this.z2x_1.equals(other.z2x_1))
|
|
811
834
|
return false;
|
|
812
|
-
if (!this.
|
|
835
|
+
if (!this.a2y_1.equals(other.a2y_1))
|
|
813
836
|
return false;
|
|
814
|
-
if (!this.
|
|
837
|
+
if (!this.b2y_1.equals(other.b2y_1))
|
|
815
838
|
return false;
|
|
816
|
-
if (!this.
|
|
839
|
+
if (!this.c2y_1.equals(other.c2y_1))
|
|
817
840
|
return false;
|
|
818
|
-
if (!this.
|
|
841
|
+
if (!this.d2y_1.equals(other.d2y_1))
|
|
819
842
|
return false;
|
|
820
|
-
if (!this.
|
|
843
|
+
if (!this.e2y_1.equals(other.e2y_1))
|
|
821
844
|
return false;
|
|
822
|
-
if (!this.receiverAlgorithm.equals(
|
|
845
|
+
if (!this.receiverAlgorithm.equals(other.receiverAlgorithm))
|
|
823
846
|
return false;
|
|
824
|
-
if (!this.receiverPublicKey.equals(
|
|
847
|
+
if (!this.receiverPublicKey.equals(other.receiverPublicKey))
|
|
825
848
|
return false;
|
|
826
|
-
if (!this.amount.equals(
|
|
849
|
+
if (!this.amount.equals(other.amount))
|
|
827
850
|
return false;
|
|
828
851
|
return true;
|
|
829
852
|
}
|
|
830
|
-
static
|
|
831
|
-
|
|
853
|
+
static i2y(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount, address, receiverAddress, serializationConstructorMarker) {
|
|
854
|
+
Companion_getInstance_5();
|
|
832
855
|
if (!(2047 === (2047 & seen0))) {
|
|
833
|
-
throwMissingFieldException(seen0, 2047, $serializer_getInstance().
|
|
856
|
+
throwMissingFieldException(seen0, 2047, $serializer_getInstance().v2x_1);
|
|
834
857
|
}
|
|
835
858
|
var $this = createThis(this);
|
|
836
|
-
$this.
|
|
837
|
-
$this.
|
|
838
|
-
$this.
|
|
839
|
-
$this.
|
|
840
|
-
$this.
|
|
841
|
-
$this.
|
|
842
|
-
$this.
|
|
843
|
-
$this.
|
|
859
|
+
$this.x2x_1 = network;
|
|
860
|
+
$this.y2x_1 = version;
|
|
861
|
+
$this.z2x_1 = algorithm;
|
|
862
|
+
$this.a2y_1 = publicKey;
|
|
863
|
+
$this.b2y_1 = height;
|
|
864
|
+
$this.c2y_1 = balance;
|
|
865
|
+
$this.d2y_1 = timestamp;
|
|
866
|
+
$this.e2y_1 = previous;
|
|
844
867
|
$this.receiverAlgorithm = receiverAlgorithm;
|
|
845
868
|
$this.receiverPublicKey = receiverPublicKey;
|
|
846
869
|
$this.amount = amount;
|
|
847
|
-
$this.
|
|
870
|
+
$this.f2y_1 = AttoBlockType_SEND_getInstance();
|
|
848
871
|
var tmp = $this;
|
|
849
|
-
tmp.
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
872
|
+
tmp.g2y_1 = lazy_0(AttoSendBlock$_init_$lambda_dfxw6s($this));
|
|
873
|
+
if (0 === (seen0 & 2048))
|
|
874
|
+
$this.h2y_1 = new (AttoAddress())($this.z2x_1, $this.a2y_1);
|
|
875
|
+
else
|
|
876
|
+
$this.h2y_1 = address;
|
|
877
|
+
if (0 === (seen0 & 4096))
|
|
878
|
+
$this.receiverAddress = new (AttoAddress())($this.receiverAlgorithm, $this.receiverPublicKey);
|
|
879
|
+
else
|
|
880
|
+
$this.receiverAddress = receiverAddress;
|
|
854
881
|
return $this;
|
|
855
882
|
}
|
|
856
883
|
get network() {
|
|
857
|
-
return this.
|
|
884
|
+
return this.k2u();
|
|
858
885
|
}
|
|
859
886
|
get version() {
|
|
860
|
-
return this.
|
|
887
|
+
return this.l2u();
|
|
861
888
|
}
|
|
862
889
|
get algorithm() {
|
|
863
|
-
return this.
|
|
890
|
+
return this.m2u();
|
|
864
891
|
}
|
|
865
892
|
get publicKey() {
|
|
866
|
-
return this.
|
|
893
|
+
return this.j2u();
|
|
867
894
|
}
|
|
868
895
|
get height() {
|
|
869
|
-
return this.
|
|
896
|
+
return this.n2u();
|
|
870
897
|
}
|
|
871
898
|
get balance() {
|
|
872
|
-
return this.
|
|
899
|
+
return this.o2u();
|
|
873
900
|
}
|
|
874
901
|
get timestamp() {
|
|
875
|
-
return this.
|
|
902
|
+
return this.t2v();
|
|
876
903
|
}
|
|
877
904
|
get previous() {
|
|
878
|
-
return this.
|
|
905
|
+
return this.s2x();
|
|
879
906
|
}
|
|
880
907
|
get type() {
|
|
881
|
-
return this.
|
|
908
|
+
return this.o2x();
|
|
882
909
|
}
|
|
883
910
|
get hash() {
|
|
884
|
-
return this.
|
|
911
|
+
return this.o2v();
|
|
885
912
|
}
|
|
886
913
|
get address() {
|
|
887
|
-
return this.
|
|
888
|
-
}
|
|
889
|
-
get receiverAddress() {
|
|
890
|
-
return this.c30();
|
|
914
|
+
return this.t2u();
|
|
891
915
|
}
|
|
892
916
|
}
|
|
917
|
+
protoOf($).isValid = isValid;
|
|
893
918
|
initMetadataForClass($, 'AttoSendBlock', VOID, VOID, [AttoBlock(), PreviousSupport()], VOID, VOID, {0: $serializer_getInstance});
|
|
894
919
|
AttoSendBlockClass = $;
|
|
895
920
|
}
|
|
@@ -899,17 +924,17 @@ function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u() {
|
|
|
899
924
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
900
925
|
}
|
|
901
926
|
function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_0() {
|
|
902
|
-
return
|
|
927
|
+
return Companion_getInstance_2().k2t();
|
|
903
928
|
}
|
|
904
929
|
function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_1() {
|
|
905
|
-
return
|
|
930
|
+
return Companion_getInstance_2().k2t();
|
|
906
931
|
}
|
|
907
932
|
var CompanionClass_2;
|
|
908
933
|
function Companion_2() {
|
|
909
934
|
if (CompanionClass_2 === VOID) {
|
|
910
935
|
class $ {
|
|
911
936
|
constructor() {
|
|
912
|
-
|
|
937
|
+
Companion_instance_3 = this;
|
|
913
938
|
var tmp = this;
|
|
914
939
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
915
940
|
var tmp_1 = lazy(tmp_0, AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u);
|
|
@@ -919,19 +944,19 @@ function Companion_2() {
|
|
|
919
944
|
// Inline function 'kotlin.arrayOf' call
|
|
920
945
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
921
946
|
// Inline function 'kotlin.js.asDynamic' call
|
|
922
|
-
tmp.
|
|
947
|
+
tmp.l2x_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_1), null, null];
|
|
923
948
|
}
|
|
924
|
-
|
|
925
|
-
if (
|
|
949
|
+
k2x(serializedBlock) {
|
|
950
|
+
if (fromInt(AttoBlockType_RECEIVE_getInstance().size) > serializedBlock.n1()) {
|
|
926
951
|
return null;
|
|
927
952
|
}
|
|
928
953
|
var blockType = readAttoBlockType(serializedBlock);
|
|
929
954
|
if (!blockType.equals(AttoBlockType_RECEIVE_getInstance())) {
|
|
930
|
-
throw IllegalArgumentException().
|
|
955
|
+
throw IllegalArgumentException().j1('Invalid block type: ' + blockType.toString());
|
|
931
956
|
}
|
|
932
957
|
return new (AttoReceiveBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoHash(serializedBlock));
|
|
933
958
|
}
|
|
934
|
-
|
|
959
|
+
k2t() {
|
|
935
960
|
return $serializer_getInstance_0();
|
|
936
961
|
}
|
|
937
962
|
}
|
|
@@ -940,11 +965,11 @@ function Companion_2() {
|
|
|
940
965
|
}
|
|
941
966
|
return CompanionClass_2;
|
|
942
967
|
}
|
|
943
|
-
var
|
|
944
|
-
function
|
|
945
|
-
if (
|
|
968
|
+
var Companion_instance_3;
|
|
969
|
+
function Companion_getInstance_6() {
|
|
970
|
+
if (Companion_instance_3 === VOID)
|
|
946
971
|
new (Companion_2())();
|
|
947
|
-
return
|
|
972
|
+
return Companion_instance_3;
|
|
948
973
|
}
|
|
949
974
|
var $serializerClass_0;
|
|
950
975
|
function $serializer_0() {
|
|
@@ -952,40 +977,42 @@ function $serializer_0() {
|
|
|
952
977
|
class $ {
|
|
953
978
|
constructor() {
|
|
954
979
|
$serializer_instance_0 = this;
|
|
955
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('RECEIVE', this,
|
|
956
|
-
tmp0_serialDesc.
|
|
957
|
-
tmp0_serialDesc.
|
|
958
|
-
tmp0_serialDesc.
|
|
959
|
-
tmp0_serialDesc.
|
|
960
|
-
tmp0_serialDesc.
|
|
961
|
-
tmp0_serialDesc.
|
|
962
|
-
tmp0_serialDesc.
|
|
963
|
-
tmp0_serialDesc.
|
|
964
|
-
tmp0_serialDesc.
|
|
965
|
-
tmp0_serialDesc.
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
var
|
|
971
|
-
var
|
|
972
|
-
|
|
973
|
-
tmp1_output.
|
|
974
|
-
tmp1_output.
|
|
975
|
-
tmp1_output.
|
|
976
|
-
tmp1_output.
|
|
977
|
-
tmp1_output.
|
|
978
|
-
tmp1_output.
|
|
979
|
-
tmp1_output.
|
|
980
|
-
tmp1_output.
|
|
981
|
-
tmp1_output.
|
|
982
|
-
tmp1_output.
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
980
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('RECEIVE', this, 11);
|
|
981
|
+
tmp0_serialDesc.v1w('network', false);
|
|
982
|
+
tmp0_serialDesc.v1w('version', false);
|
|
983
|
+
tmp0_serialDesc.v1w('algorithm', false);
|
|
984
|
+
tmp0_serialDesc.v1w('publicKey', false);
|
|
985
|
+
tmp0_serialDesc.v1w('height', false);
|
|
986
|
+
tmp0_serialDesc.v1w('balance', false);
|
|
987
|
+
tmp0_serialDesc.v1w('timestamp', false);
|
|
988
|
+
tmp0_serialDesc.v1w('previous', false);
|
|
989
|
+
tmp0_serialDesc.v1w('sendHashAlgorithm', false);
|
|
990
|
+
tmp0_serialDesc.v1w('sendHash', false);
|
|
991
|
+
tmp0_serialDesc.v1w('address', true);
|
|
992
|
+
this.p2y_1 = tmp0_serialDesc;
|
|
993
|
+
}
|
|
994
|
+
q2y(encoder, value) {
|
|
995
|
+
var tmp0_desc = this.p2y_1;
|
|
996
|
+
var tmp1_output = encoder.h1p(tmp0_desc);
|
|
997
|
+
var tmp2_cached = Companion_getInstance_6().l2x_1;
|
|
998
|
+
tmp1_output.y1q(tmp0_desc, 0, tmp2_cached[0].z1(), value.r2y_1);
|
|
999
|
+
tmp1_output.y1q(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.s2y_1);
|
|
1000
|
+
tmp1_output.y1q(tmp0_desc, 2, tmp2_cached[2].z1(), value.t2y_1);
|
|
1001
|
+
tmp1_output.y1q(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.u2y_1);
|
|
1002
|
+
tmp1_output.y1q(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.v2y_1);
|
|
1003
|
+
tmp1_output.y1q(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.w2y_1);
|
|
1004
|
+
tmp1_output.y1q(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.x2y_1);
|
|
1005
|
+
tmp1_output.y1q(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.y2y_1);
|
|
1006
|
+
tmp1_output.y1q(tmp0_desc, 8, tmp2_cached[8].z1(), value.z2y_1);
|
|
1007
|
+
tmp1_output.y1q(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), value.a2z_1);
|
|
1008
|
+
tmp1_output.y1q(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), value.d2z_1);
|
|
1009
|
+
tmp1_output.i1p(tmp0_desc);
|
|
1010
|
+
}
|
|
1011
|
+
v1k(encoder, value) {
|
|
1012
|
+
return this.q2y(encoder, value instanceof AttoReceiveBlock() ? value : THROW_CCE());
|
|
1013
|
+
}
|
|
1014
|
+
w1k(decoder) {
|
|
1015
|
+
var tmp0_desc = this.p2y_1;
|
|
989
1016
|
var tmp1_flag = true;
|
|
990
1017
|
var tmp2_index = 0;
|
|
991
1018
|
var tmp3_bitMask0 = 0;
|
|
@@ -999,95 +1026,102 @@ function $serializer_0() {
|
|
|
999
1026
|
var tmp11_local7 = null;
|
|
1000
1027
|
var tmp12_local8 = null;
|
|
1001
1028
|
var tmp13_local9 = null;
|
|
1002
|
-
var
|
|
1003
|
-
var
|
|
1004
|
-
|
|
1005
|
-
|
|
1029
|
+
var tmp14_local10 = null;
|
|
1030
|
+
var tmp17_input = decoder.h1p(tmp0_desc);
|
|
1031
|
+
var tmp18_cached = Companion_getInstance_6().l2x_1;
|
|
1032
|
+
if (tmp17_input.w1p()) {
|
|
1033
|
+
tmp4_local0 = tmp17_input.t1p(tmp0_desc, 0, tmp18_cached[0].z1(), tmp4_local0);
|
|
1006
1034
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1007
|
-
tmp5_local1 = tmp17_input.
|
|
1035
|
+
tmp5_local1 = tmp17_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1008
1036
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1009
|
-
tmp6_local2 = tmp17_input.
|
|
1037
|
+
tmp6_local2 = tmp17_input.t1p(tmp0_desc, 2, tmp18_cached[2].z1(), tmp6_local2);
|
|
1010
1038
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1011
|
-
tmp7_local3 = tmp17_input.
|
|
1039
|
+
tmp7_local3 = tmp17_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1012
1040
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1013
|
-
tmp8_local4 = tmp17_input.
|
|
1041
|
+
tmp8_local4 = tmp17_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
1014
1042
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1015
|
-
tmp9_local5 = tmp17_input.
|
|
1043
|
+
tmp9_local5 = tmp17_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
1016
1044
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1017
|
-
tmp10_local6 = tmp17_input.
|
|
1045
|
+
tmp10_local6 = tmp17_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
1018
1046
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1019
|
-
tmp11_local7 = tmp17_input.
|
|
1047
|
+
tmp11_local7 = tmp17_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1020
1048
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1021
|
-
tmp12_local8 = tmp17_input.
|
|
1049
|
+
tmp12_local8 = tmp17_input.t1p(tmp0_desc, 8, tmp18_cached[8].z1(), tmp12_local8);
|
|
1022
1050
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1023
|
-
tmp13_local9 = tmp17_input.
|
|
1051
|
+
tmp13_local9 = tmp17_input.t1p(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), tmp13_local9);
|
|
1024
1052
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1053
|
+
tmp14_local10 = tmp17_input.t1p(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
1054
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1025
1055
|
} else
|
|
1026
1056
|
while (tmp1_flag) {
|
|
1027
|
-
tmp2_index = tmp17_input.
|
|
1057
|
+
tmp2_index = tmp17_input.x1p(tmp0_desc);
|
|
1028
1058
|
switch (tmp2_index) {
|
|
1029
1059
|
case -1:
|
|
1030
1060
|
tmp1_flag = false;
|
|
1031
1061
|
break;
|
|
1032
1062
|
case 0:
|
|
1033
|
-
tmp4_local0 = tmp17_input.
|
|
1063
|
+
tmp4_local0 = tmp17_input.t1p(tmp0_desc, 0, tmp18_cached[0].z1(), tmp4_local0);
|
|
1034
1064
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1035
1065
|
break;
|
|
1036
1066
|
case 1:
|
|
1037
|
-
tmp5_local1 = tmp17_input.
|
|
1067
|
+
tmp5_local1 = tmp17_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1038
1068
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1039
1069
|
break;
|
|
1040
1070
|
case 2:
|
|
1041
|
-
tmp6_local2 = tmp17_input.
|
|
1071
|
+
tmp6_local2 = tmp17_input.t1p(tmp0_desc, 2, tmp18_cached[2].z1(), tmp6_local2);
|
|
1042
1072
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1043
1073
|
break;
|
|
1044
1074
|
case 3:
|
|
1045
|
-
tmp7_local3 = tmp17_input.
|
|
1075
|
+
tmp7_local3 = tmp17_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1046
1076
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1047
1077
|
break;
|
|
1048
1078
|
case 4:
|
|
1049
|
-
tmp8_local4 = tmp17_input.
|
|
1079
|
+
tmp8_local4 = tmp17_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
1050
1080
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1051
1081
|
break;
|
|
1052
1082
|
case 5:
|
|
1053
|
-
tmp9_local5 = tmp17_input.
|
|
1083
|
+
tmp9_local5 = tmp17_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
1054
1084
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1055
1085
|
break;
|
|
1056
1086
|
case 6:
|
|
1057
|
-
tmp10_local6 = tmp17_input.
|
|
1087
|
+
tmp10_local6 = tmp17_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
1058
1088
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1059
1089
|
break;
|
|
1060
1090
|
case 7:
|
|
1061
|
-
tmp11_local7 = tmp17_input.
|
|
1091
|
+
tmp11_local7 = tmp17_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1062
1092
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1063
1093
|
break;
|
|
1064
1094
|
case 8:
|
|
1065
|
-
tmp12_local8 = tmp17_input.
|
|
1095
|
+
tmp12_local8 = tmp17_input.t1p(tmp0_desc, 8, tmp18_cached[8].z1(), tmp12_local8);
|
|
1066
1096
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1067
1097
|
break;
|
|
1068
1098
|
case 9:
|
|
1069
|
-
tmp13_local9 = tmp17_input.
|
|
1099
|
+
tmp13_local9 = tmp17_input.t1p(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), tmp13_local9);
|
|
1070
1100
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1071
1101
|
break;
|
|
1102
|
+
case 10:
|
|
1103
|
+
tmp14_local10 = tmp17_input.t1p(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
1104
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1105
|
+
break;
|
|
1072
1106
|
default:
|
|
1073
|
-
throw UnknownFieldException().
|
|
1107
|
+
throw UnknownFieldException().q1m(tmp2_index);
|
|
1074
1108
|
}
|
|
1075
1109
|
}
|
|
1076
|
-
tmp17_input.
|
|
1077
|
-
return AttoReceiveBlock().
|
|
1110
|
+
tmp17_input.i1p(tmp0_desc);
|
|
1111
|
+
return AttoReceiveBlock().e2z(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, null);
|
|
1078
1112
|
}
|
|
1079
|
-
|
|
1080
|
-
return this.
|
|
1113
|
+
u1k() {
|
|
1114
|
+
return this.p2y_1;
|
|
1081
1115
|
}
|
|
1082
|
-
|
|
1083
|
-
var tmp0_cached =
|
|
1116
|
+
k1x() {
|
|
1117
|
+
var tmp0_cached = Companion_getInstance_6().l2x_1;
|
|
1084
1118
|
// Inline function 'kotlin.arrayOf' call
|
|
1085
1119
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1086
1120
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1087
|
-
return [tmp0_cached[0].
|
|
1121
|
+
return [tmp0_cached[0].z1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].z1(), AttoHashAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
|
|
1088
1122
|
}
|
|
1089
1123
|
}
|
|
1090
|
-
protoOf($).
|
|
1124
|
+
protoOf($).l1x = typeParametersSerializers;
|
|
1091
1125
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
1092
1126
|
$serializerClass_0 = $;
|
|
1093
1127
|
}
|
|
@@ -1100,183 +1134,154 @@ function $serializer_getInstance_0() {
|
|
|
1100
1134
|
return $serializer_instance_0;
|
|
1101
1135
|
}
|
|
1102
1136
|
function AttoReceiveBlock$hash$delegate$lambda(this$0) {
|
|
1103
|
-
return
|
|
1104
|
-
return hash(this$0.f2z());
|
|
1105
|
-
};
|
|
1137
|
+
return () => hash(this$0.e2w());
|
|
1106
1138
|
}
|
|
1107
1139
|
function AttoReceiveBlock$_get_hash_$ref_1uzri0() {
|
|
1108
|
-
return
|
|
1109
|
-
return p0.hash;
|
|
1110
|
-
};
|
|
1111
|
-
}
|
|
1112
|
-
function AttoReceiveBlock$address$delegate$lambda(this$0) {
|
|
1113
|
-
return function () {
|
|
1114
|
-
return new (AttoAddress())(this$0.k30_1, this$0.l30_1);
|
|
1115
|
-
};
|
|
1116
|
-
}
|
|
1117
|
-
function AttoReceiveBlock$_get_address_$ref_otvr40() {
|
|
1118
|
-
return function (p0) {
|
|
1119
|
-
return p0.address;
|
|
1120
|
-
};
|
|
1140
|
+
return (p0) => p0.hash;
|
|
1121
1141
|
}
|
|
1122
1142
|
function AttoReceiveBlock$_init_$lambda_4ot8lv(this$0) {
|
|
1123
|
-
return
|
|
1124
|
-
return hash(this$0.f2z());
|
|
1125
|
-
};
|
|
1126
|
-
}
|
|
1127
|
-
function AttoReceiveBlock$_init_$lambda_4ot8lv_0(this$0) {
|
|
1128
|
-
return function () {
|
|
1129
|
-
return new (AttoAddress())(this$0.k30_1, this$0.l30_1);
|
|
1130
|
-
};
|
|
1143
|
+
return () => hash(this$0.e2w());
|
|
1131
1144
|
}
|
|
1132
1145
|
var AttoReceiveBlockClass;
|
|
1133
1146
|
function AttoReceiveBlock() {
|
|
1134
1147
|
if (AttoReceiveBlockClass === VOID) {
|
|
1135
1148
|
class $ {
|
|
1136
1149
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
|
|
1137
|
-
|
|
1138
|
-
this.
|
|
1139
|
-
this.
|
|
1140
|
-
this.
|
|
1141
|
-
this.
|
|
1142
|
-
this.
|
|
1143
|
-
this.
|
|
1144
|
-
this.
|
|
1145
|
-
this.
|
|
1146
|
-
this.
|
|
1147
|
-
this.
|
|
1148
|
-
this.
|
|
1150
|
+
Companion_getInstance_6();
|
|
1151
|
+
this.r2y_1 = network;
|
|
1152
|
+
this.s2y_1 = version;
|
|
1153
|
+
this.t2y_1 = algorithm;
|
|
1154
|
+
this.u2y_1 = publicKey;
|
|
1155
|
+
this.v2y_1 = height;
|
|
1156
|
+
this.w2y_1 = balance;
|
|
1157
|
+
this.x2y_1 = timestamp;
|
|
1158
|
+
this.y2y_1 = previous;
|
|
1159
|
+
this.z2y_1 = sendHashAlgorithm;
|
|
1160
|
+
this.a2z_1 = sendHash;
|
|
1161
|
+
this.b2z_1 = AttoBlockType_RECEIVE_getInstance();
|
|
1149
1162
|
var tmp = this;
|
|
1150
|
-
tmp.
|
|
1151
|
-
|
|
1152
|
-
tmp_0.u30_1 = lazy_0(AttoReceiveBlock$address$delegate$lambda(this));
|
|
1163
|
+
tmp.c2z_1 = lazy_0(AttoReceiveBlock$hash$delegate$lambda(this));
|
|
1164
|
+
this.d2z_1 = new (AttoAddress())(this.t2y_1, this.u2y_1);
|
|
1153
1165
|
}
|
|
1154
|
-
|
|
1155
|
-
return this.
|
|
1166
|
+
k2u() {
|
|
1167
|
+
return this.r2y_1;
|
|
1156
1168
|
}
|
|
1157
|
-
|
|
1158
|
-
return this.
|
|
1169
|
+
l2u() {
|
|
1170
|
+
return this.s2y_1;
|
|
1159
1171
|
}
|
|
1160
|
-
|
|
1161
|
-
return this.
|
|
1172
|
+
m2u() {
|
|
1173
|
+
return this.t2y_1;
|
|
1162
1174
|
}
|
|
1163
|
-
|
|
1164
|
-
return this.
|
|
1175
|
+
j2u() {
|
|
1176
|
+
return this.u2y_1;
|
|
1165
1177
|
}
|
|
1166
|
-
|
|
1167
|
-
return this.
|
|
1178
|
+
n2u() {
|
|
1179
|
+
return this.v2y_1;
|
|
1168
1180
|
}
|
|
1169
|
-
|
|
1170
|
-
return this.
|
|
1181
|
+
o2u() {
|
|
1182
|
+
return this.w2y_1;
|
|
1171
1183
|
}
|
|
1172
|
-
|
|
1173
|
-
return this.
|
|
1184
|
+
t2v() {
|
|
1185
|
+
return this.x2y_1;
|
|
1174
1186
|
}
|
|
1175
|
-
|
|
1176
|
-
return this.
|
|
1187
|
+
s2x() {
|
|
1188
|
+
return this.y2y_1;
|
|
1177
1189
|
}
|
|
1178
|
-
|
|
1179
|
-
return this.
|
|
1190
|
+
t2x() {
|
|
1191
|
+
return this.z2y_1;
|
|
1180
1192
|
}
|
|
1181
|
-
|
|
1182
|
-
return this.
|
|
1193
|
+
u2x() {
|
|
1194
|
+
return this.a2z_1;
|
|
1183
1195
|
}
|
|
1184
|
-
|
|
1185
|
-
return this.
|
|
1196
|
+
o2x() {
|
|
1197
|
+
return this.b2z_1;
|
|
1186
1198
|
}
|
|
1187
|
-
|
|
1188
|
-
var tmp0 = this.
|
|
1199
|
+
o2v() {
|
|
1200
|
+
var tmp0 = this.c2z_1;
|
|
1189
1201
|
var tmp = KProperty1();
|
|
1190
1202
|
// Inline function 'kotlin.getValue' call
|
|
1191
1203
|
getPropertyCallableRef('hash', 1, tmp, AttoReceiveBlock$_get_hash_$ref_1uzri0(), null);
|
|
1192
|
-
return tmp0.
|
|
1204
|
+
return tmp0.z1();
|
|
1193
1205
|
}
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
var tmp = KProperty1();
|
|
1197
|
-
// Inline function 'kotlin.getValue' call
|
|
1198
|
-
getPropertyCallableRef('address', 1, tmp, AttoReceiveBlock$_get_address_$ref_otvr40(), null);
|
|
1199
|
-
return tmp0.s1();
|
|
1206
|
+
t2u() {
|
|
1207
|
+
return this.d2z_1;
|
|
1200
1208
|
}
|
|
1201
|
-
|
|
1209
|
+
e2w() {
|
|
1202
1210
|
// Inline function 'kotlin.apply' call
|
|
1203
1211
|
var this_0 = new (Buffer())();
|
|
1204
|
-
writeAttoBlockType(this_0, this.
|
|
1205
|
-
writeAttoNetwork(this_0, this.
|
|
1206
|
-
writeAttoVersion(this_0, this.
|
|
1207
|
-
writeAttoAlgorithm(this_0, this.
|
|
1208
|
-
writeAttoPublicKey(this_0, this.
|
|
1209
|
-
writeAttoHeight(this_0, this.
|
|
1210
|
-
writeAttoAmount(this_0, this.
|
|
1211
|
-
writeInstant(this_0, this.
|
|
1212
|
-
writeAttoHash(this_0, this.
|
|
1213
|
-
writeAttoAlgorithm(this_0, this.
|
|
1214
|
-
writeAttoHash(this_0, this.
|
|
1212
|
+
writeAttoBlockType(this_0, this.b2z_1);
|
|
1213
|
+
writeAttoNetwork(this_0, this.r2y_1);
|
|
1214
|
+
writeAttoVersion(this_0, this.s2y_1);
|
|
1215
|
+
writeAttoAlgorithm(this_0, this.t2y_1);
|
|
1216
|
+
writeAttoPublicKey(this_0, this.u2y_1);
|
|
1217
|
+
writeAttoHeight(this_0, this.v2y_1);
|
|
1218
|
+
writeAttoAmount(this_0, this.w2y_1);
|
|
1219
|
+
writeInstant(this_0, this.x2y_1);
|
|
1220
|
+
writeAttoHash(this_0, this.y2y_1);
|
|
1221
|
+
writeAttoAlgorithm(this_0, this.z2y_1);
|
|
1222
|
+
writeAttoHash(this_0, this.a2z_1);
|
|
1215
1223
|
return this_0;
|
|
1216
1224
|
}
|
|
1217
|
-
|
|
1218
|
-
return
|
|
1219
|
-
}
|
|
1220
|
-
gl() {
|
|
1221
|
-
return this.i30_1;
|
|
1225
|
+
te() {
|
|
1226
|
+
return this.r2y_1;
|
|
1222
1227
|
}
|
|
1223
|
-
|
|
1224
|
-
return this.
|
|
1228
|
+
ue() {
|
|
1229
|
+
return this.s2y_1;
|
|
1225
1230
|
}
|
|
1226
|
-
|
|
1227
|
-
return this.
|
|
1231
|
+
z2u() {
|
|
1232
|
+
return this.t2y_1;
|
|
1228
1233
|
}
|
|
1229
|
-
|
|
1230
|
-
return this.
|
|
1234
|
+
a2v() {
|
|
1235
|
+
return this.u2y_1;
|
|
1231
1236
|
}
|
|
1232
|
-
|
|
1233
|
-
return this.
|
|
1237
|
+
b2v() {
|
|
1238
|
+
return this.v2y_1;
|
|
1234
1239
|
}
|
|
1235
|
-
|
|
1236
|
-
return this.
|
|
1240
|
+
c2v() {
|
|
1241
|
+
return this.w2y_1;
|
|
1237
1242
|
}
|
|
1238
|
-
|
|
1239
|
-
return this.
|
|
1243
|
+
d2v() {
|
|
1244
|
+
return this.x2y_1;
|
|
1240
1245
|
}
|
|
1241
|
-
|
|
1242
|
-
return this.
|
|
1246
|
+
e2v() {
|
|
1247
|
+
return this.y2y_1;
|
|
1243
1248
|
}
|
|
1244
|
-
|
|
1245
|
-
return this.
|
|
1249
|
+
f2v() {
|
|
1250
|
+
return this.z2y_1;
|
|
1246
1251
|
}
|
|
1247
|
-
|
|
1248
|
-
return this.
|
|
1252
|
+
g2v() {
|
|
1253
|
+
return this.a2z_1;
|
|
1249
1254
|
}
|
|
1250
|
-
|
|
1255
|
+
f2z(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
|
|
1251
1256
|
return new (AttoReceiveBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash);
|
|
1252
1257
|
}
|
|
1253
1258
|
copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash, $super) {
|
|
1254
|
-
network = network === VOID ? this.
|
|
1255
|
-
version = version === VOID ? this.
|
|
1256
|
-
algorithm = algorithm === VOID ? this.
|
|
1257
|
-
publicKey = publicKey === VOID ? this.
|
|
1258
|
-
height = height === VOID ? this.
|
|
1259
|
-
balance = balance === VOID ? this.
|
|
1260
|
-
timestamp = timestamp === VOID ? this.
|
|
1261
|
-
previous = previous === VOID ? this.
|
|
1262
|
-
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.
|
|
1263
|
-
sendHash = sendHash === VOID ? this.
|
|
1264
|
-
return $super === VOID ? this.
|
|
1259
|
+
network = network === VOID ? this.r2y_1 : network;
|
|
1260
|
+
version = version === VOID ? this.s2y_1 : version;
|
|
1261
|
+
algorithm = algorithm === VOID ? this.t2y_1 : algorithm;
|
|
1262
|
+
publicKey = publicKey === VOID ? this.u2y_1 : publicKey;
|
|
1263
|
+
height = height === VOID ? this.v2y_1 : height;
|
|
1264
|
+
balance = balance === VOID ? this.w2y_1 : balance;
|
|
1265
|
+
timestamp = timestamp === VOID ? this.x2y_1 : timestamp;
|
|
1266
|
+
previous = previous === VOID ? this.y2y_1 : previous;
|
|
1267
|
+
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.z2y_1 : sendHashAlgorithm;
|
|
1268
|
+
sendHash = sendHash === VOID ? this.a2z_1 : sendHash;
|
|
1269
|
+
return $super === VOID ? this.f2z(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) : $super.f2z.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash);
|
|
1265
1270
|
}
|
|
1266
1271
|
toString() {
|
|
1267
|
-
return 'AttoReceiveBlock(network=' + this.
|
|
1272
|
+
return 'AttoReceiveBlock(network=' + this.r2y_1.toString() + ', version=' + this.s2y_1.toString() + ', algorithm=' + this.t2y_1.toString() + ', publicKey=' + this.u2y_1.toString() + ', height=' + this.v2y_1.toString() + ', balance=' + this.w2y_1.toString() + ', timestamp=' + this.x2y_1.toString() + ', previous=' + this.y2y_1.toString() + ', sendHashAlgorithm=' + this.z2y_1.toString() + ', sendHash=' + this.a2z_1.toString() + ')';
|
|
1268
1273
|
}
|
|
1269
1274
|
hashCode() {
|
|
1270
|
-
var result = this.
|
|
1271
|
-
result = imul(result, 31) + this.
|
|
1272
|
-
result = imul(result, 31) + this.
|
|
1273
|
-
result = imul(result, 31) + this.
|
|
1274
|
-
result = imul(result, 31) + this.
|
|
1275
|
-
result = imul(result, 31) + this.
|
|
1276
|
-
result = imul(result, 31) + this.
|
|
1277
|
-
result = imul(result, 31) + this.
|
|
1278
|
-
result = imul(result, 31) + this.
|
|
1279
|
-
result = imul(result, 31) + this.
|
|
1275
|
+
var result = this.r2y_1.hashCode();
|
|
1276
|
+
result = imul(result, 31) + this.s2y_1.hashCode() | 0;
|
|
1277
|
+
result = imul(result, 31) + this.t2y_1.hashCode() | 0;
|
|
1278
|
+
result = imul(result, 31) + this.u2y_1.hashCode() | 0;
|
|
1279
|
+
result = imul(result, 31) + this.v2y_1.hashCode() | 0;
|
|
1280
|
+
result = imul(result, 31) + this.w2y_1.hashCode() | 0;
|
|
1281
|
+
result = imul(result, 31) + this.x2y_1.hashCode() | 0;
|
|
1282
|
+
result = imul(result, 31) + this.y2y_1.hashCode() | 0;
|
|
1283
|
+
result = imul(result, 31) + this.z2y_1.hashCode() | 0;
|
|
1284
|
+
result = imul(result, 31) + this.a2z_1.hashCode() | 0;
|
|
1280
1285
|
return result;
|
|
1281
1286
|
}
|
|
1282
1287
|
equals(other) {
|
|
@@ -1284,92 +1289,95 @@ function AttoReceiveBlock() {
|
|
|
1284
1289
|
return true;
|
|
1285
1290
|
if (!(other instanceof AttoReceiveBlock()))
|
|
1286
1291
|
return false;
|
|
1287
|
-
|
|
1288
|
-
if (!this.i30_1.equals(tmp0_other_with_cast.i30_1))
|
|
1292
|
+
if (!this.r2y_1.equals(other.r2y_1))
|
|
1289
1293
|
return false;
|
|
1290
|
-
if (!this.
|
|
1294
|
+
if (!this.s2y_1.equals(other.s2y_1))
|
|
1291
1295
|
return false;
|
|
1292
|
-
if (!this.
|
|
1296
|
+
if (!this.t2y_1.equals(other.t2y_1))
|
|
1293
1297
|
return false;
|
|
1294
|
-
if (!this.
|
|
1298
|
+
if (!this.u2y_1.equals(other.u2y_1))
|
|
1295
1299
|
return false;
|
|
1296
|
-
if (!this.
|
|
1300
|
+
if (!this.v2y_1.equals(other.v2y_1))
|
|
1297
1301
|
return false;
|
|
1298
|
-
if (!this.
|
|
1302
|
+
if (!this.w2y_1.equals(other.w2y_1))
|
|
1299
1303
|
return false;
|
|
1300
|
-
if (!this.
|
|
1304
|
+
if (!this.x2y_1.equals(other.x2y_1))
|
|
1301
1305
|
return false;
|
|
1302
|
-
if (!this.
|
|
1306
|
+
if (!this.y2y_1.equals(other.y2y_1))
|
|
1303
1307
|
return false;
|
|
1304
|
-
if (!this.
|
|
1308
|
+
if (!this.z2y_1.equals(other.z2y_1))
|
|
1305
1309
|
return false;
|
|
1306
|
-
if (!this.
|
|
1310
|
+
if (!this.a2z_1.equals(other.a2z_1))
|
|
1307
1311
|
return false;
|
|
1308
1312
|
return true;
|
|
1309
1313
|
}
|
|
1310
|
-
static
|
|
1311
|
-
|
|
1314
|
+
static e2z(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash, address, serializationConstructorMarker) {
|
|
1315
|
+
Companion_getInstance_6();
|
|
1312
1316
|
if (!(1023 === (1023 & seen0))) {
|
|
1313
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_0().
|
|
1317
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_0().p2y_1);
|
|
1314
1318
|
}
|
|
1315
1319
|
var $this = createThis(this);
|
|
1316
|
-
$this.
|
|
1317
|
-
$this.
|
|
1318
|
-
$this.
|
|
1319
|
-
$this.
|
|
1320
|
-
$this.
|
|
1321
|
-
$this.
|
|
1322
|
-
$this.
|
|
1323
|
-
$this.
|
|
1324
|
-
$this.
|
|
1325
|
-
$this.
|
|
1326
|
-
$this.
|
|
1320
|
+
$this.r2y_1 = network;
|
|
1321
|
+
$this.s2y_1 = version;
|
|
1322
|
+
$this.t2y_1 = algorithm;
|
|
1323
|
+
$this.u2y_1 = publicKey;
|
|
1324
|
+
$this.v2y_1 = height;
|
|
1325
|
+
$this.w2y_1 = balance;
|
|
1326
|
+
$this.x2y_1 = timestamp;
|
|
1327
|
+
$this.y2y_1 = previous;
|
|
1328
|
+
$this.z2y_1 = sendHashAlgorithm;
|
|
1329
|
+
$this.a2z_1 = sendHash;
|
|
1330
|
+
$this.b2z_1 = AttoBlockType_RECEIVE_getInstance();
|
|
1327
1331
|
var tmp = $this;
|
|
1328
|
-
tmp.
|
|
1329
|
-
|
|
1330
|
-
|
|
1332
|
+
tmp.c2z_1 = lazy_0(AttoReceiveBlock$_init_$lambda_4ot8lv($this));
|
|
1333
|
+
if (0 === (seen0 & 1024))
|
|
1334
|
+
$this.d2z_1 = new (AttoAddress())($this.t2y_1, $this.u2y_1);
|
|
1335
|
+
else
|
|
1336
|
+
$this.d2z_1 = address;
|
|
1331
1337
|
return $this;
|
|
1332
1338
|
}
|
|
1333
1339
|
get network() {
|
|
1334
|
-
return this.
|
|
1340
|
+
return this.k2u();
|
|
1335
1341
|
}
|
|
1336
1342
|
get version() {
|
|
1337
|
-
return this.
|
|
1343
|
+
return this.l2u();
|
|
1338
1344
|
}
|
|
1339
1345
|
get algorithm() {
|
|
1340
|
-
return this.
|
|
1346
|
+
return this.m2u();
|
|
1341
1347
|
}
|
|
1342
1348
|
get publicKey() {
|
|
1343
|
-
return this.
|
|
1349
|
+
return this.j2u();
|
|
1344
1350
|
}
|
|
1345
1351
|
get height() {
|
|
1346
|
-
return this.
|
|
1352
|
+
return this.n2u();
|
|
1347
1353
|
}
|
|
1348
1354
|
get balance() {
|
|
1349
|
-
return this.
|
|
1355
|
+
return this.o2u();
|
|
1350
1356
|
}
|
|
1351
1357
|
get timestamp() {
|
|
1352
|
-
return this.
|
|
1358
|
+
return this.t2v();
|
|
1353
1359
|
}
|
|
1354
1360
|
get previous() {
|
|
1355
|
-
return this.
|
|
1361
|
+
return this.s2x();
|
|
1356
1362
|
}
|
|
1357
1363
|
get sendHashAlgorithm() {
|
|
1358
|
-
return this.
|
|
1364
|
+
return this.t2x();
|
|
1359
1365
|
}
|
|
1360
1366
|
get sendHash() {
|
|
1361
|
-
return this.
|
|
1367
|
+
return this.u2x();
|
|
1362
1368
|
}
|
|
1363
1369
|
get type() {
|
|
1364
|
-
return this.
|
|
1370
|
+
return this.o2x();
|
|
1365
1371
|
}
|
|
1366
1372
|
get hash() {
|
|
1367
|
-
return this.
|
|
1373
|
+
return this.o2v();
|
|
1368
1374
|
}
|
|
1369
1375
|
get address() {
|
|
1370
|
-
return this.
|
|
1376
|
+
return this.t2u();
|
|
1371
1377
|
}
|
|
1372
1378
|
}
|
|
1379
|
+
protoOf($).validate = validate;
|
|
1380
|
+
protoOf($).isValid = isValid;
|
|
1373
1381
|
initMetadataForClass($, 'AttoReceiveBlock', VOID, VOID, [AttoBlock(), PreviousSupport(), ReceiveSupport()], VOID, VOID, {0: $serializer_getInstance_0});
|
|
1374
1382
|
AttoReceiveBlockClass = $;
|
|
1375
1383
|
}
|
|
@@ -1379,20 +1387,20 @@ function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3() {
|
|
|
1379
1387
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
1380
1388
|
}
|
|
1381
1389
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_0() {
|
|
1382
|
-
return
|
|
1390
|
+
return Companion_getInstance_2().k2t();
|
|
1383
1391
|
}
|
|
1384
1392
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_1() {
|
|
1385
|
-
return
|
|
1393
|
+
return Companion_getInstance_2().k2t();
|
|
1386
1394
|
}
|
|
1387
1395
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_2() {
|
|
1388
|
-
return
|
|
1396
|
+
return Companion_getInstance_2().k2t();
|
|
1389
1397
|
}
|
|
1390
1398
|
var CompanionClass_3;
|
|
1391
1399
|
function Companion_3() {
|
|
1392
1400
|
if (CompanionClass_3 === VOID) {
|
|
1393
1401
|
class $ {
|
|
1394
1402
|
constructor() {
|
|
1395
|
-
|
|
1403
|
+
Companion_instance_4 = this;
|
|
1396
1404
|
var tmp = this;
|
|
1397
1405
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1398
1406
|
var tmp_1 = lazy(tmp_0, AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3);
|
|
@@ -1404,19 +1412,19 @@ function Companion_3() {
|
|
|
1404
1412
|
// Inline function 'kotlin.arrayOf' call
|
|
1405
1413
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1406
1414
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1407
|
-
tmp.
|
|
1415
|
+
tmp.m2x_1 = [tmp_1, null, tmp_3, null, null, null, tmp_5, null, lazy(tmp_6, AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_2), null, null, null, null];
|
|
1408
1416
|
}
|
|
1409
|
-
|
|
1410
|
-
if (
|
|
1417
|
+
k2x(serializedBlock) {
|
|
1418
|
+
if (fromInt(AttoBlockType_OPEN_getInstance().size) > serializedBlock.n1()) {
|
|
1411
1419
|
return null;
|
|
1412
1420
|
}
|
|
1413
1421
|
var blockType = readAttoBlockType(serializedBlock);
|
|
1414
1422
|
if (!blockType.equals(AttoBlockType_OPEN_getInstance())) {
|
|
1415
|
-
throw IllegalArgumentException().
|
|
1423
|
+
throw IllegalArgumentException().j1('Invalid block type: ' + blockType.toString());
|
|
1416
1424
|
}
|
|
1417
1425
|
return new (AttoOpenBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock));
|
|
1418
1426
|
}
|
|
1419
|
-
|
|
1427
|
+
k2t() {
|
|
1420
1428
|
return $serializer_getInstance_1();
|
|
1421
1429
|
}
|
|
1422
1430
|
}
|
|
@@ -1425,11 +1433,11 @@ function Companion_3() {
|
|
|
1425
1433
|
}
|
|
1426
1434
|
return CompanionClass_3;
|
|
1427
1435
|
}
|
|
1428
|
-
var
|
|
1429
|
-
function
|
|
1430
|
-
if (
|
|
1436
|
+
var Companion_instance_4;
|
|
1437
|
+
function Companion_getInstance_7() {
|
|
1438
|
+
if (Companion_instance_4 === VOID)
|
|
1431
1439
|
new (Companion_3())();
|
|
1432
|
-
return
|
|
1440
|
+
return Companion_instance_4;
|
|
1433
1441
|
}
|
|
1434
1442
|
var $serializerClass_1;
|
|
1435
1443
|
function $serializer_1() {
|
|
@@ -1437,42 +1445,46 @@ function $serializer_1() {
|
|
|
1437
1445
|
class $ {
|
|
1438
1446
|
constructor() {
|
|
1439
1447
|
$serializer_instance_1 = this;
|
|
1440
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('OPEN', this,
|
|
1441
|
-
tmp0_serialDesc.
|
|
1442
|
-
tmp0_serialDesc.
|
|
1443
|
-
tmp0_serialDesc.
|
|
1444
|
-
tmp0_serialDesc.
|
|
1445
|
-
tmp0_serialDesc.
|
|
1446
|
-
tmp0_serialDesc.
|
|
1447
|
-
tmp0_serialDesc.
|
|
1448
|
-
tmp0_serialDesc.
|
|
1449
|
-
tmp0_serialDesc.
|
|
1450
|
-
tmp0_serialDesc.
|
|
1451
|
-
tmp0_serialDesc.
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
var
|
|
1458
|
-
tmp1_output
|
|
1459
|
-
|
|
1460
|
-
tmp1_output.
|
|
1461
|
-
tmp1_output.
|
|
1462
|
-
tmp1_output.
|
|
1463
|
-
tmp1_output.
|
|
1464
|
-
tmp1_output.
|
|
1465
|
-
tmp1_output.
|
|
1466
|
-
tmp1_output.
|
|
1467
|
-
tmp1_output.
|
|
1468
|
-
tmp1_output.
|
|
1469
|
-
tmp1_output.
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1448
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('OPEN', this, 13);
|
|
1449
|
+
tmp0_serialDesc.v1w('network', false);
|
|
1450
|
+
tmp0_serialDesc.v1w('version', false);
|
|
1451
|
+
tmp0_serialDesc.v1w('algorithm', false);
|
|
1452
|
+
tmp0_serialDesc.v1w('publicKey', false);
|
|
1453
|
+
tmp0_serialDesc.v1w('balance', false);
|
|
1454
|
+
tmp0_serialDesc.v1w('timestamp', false);
|
|
1455
|
+
tmp0_serialDesc.v1w('sendHashAlgorithm', false);
|
|
1456
|
+
tmp0_serialDesc.v1w('sendHash', false);
|
|
1457
|
+
tmp0_serialDesc.v1w('representativeAlgorithm', false);
|
|
1458
|
+
tmp0_serialDesc.v1w('representativePublicKey', false);
|
|
1459
|
+
tmp0_serialDesc.v1w('height', true);
|
|
1460
|
+
tmp0_serialDesc.v1w('address', true);
|
|
1461
|
+
tmp0_serialDesc.v1w('representativeAddress', true);
|
|
1462
|
+
this.g2z_1 = tmp0_serialDesc;
|
|
1463
|
+
}
|
|
1464
|
+
h2z(encoder, value) {
|
|
1465
|
+
var tmp0_desc = this.g2z_1;
|
|
1466
|
+
var tmp1_output = encoder.h1p(tmp0_desc);
|
|
1467
|
+
var tmp2_cached = Companion_getInstance_7().m2x_1;
|
|
1468
|
+
tmp1_output.y1q(tmp0_desc, 0, tmp2_cached[0].z1(), value.p2t_1);
|
|
1469
|
+
tmp1_output.y1q(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.q2t_1);
|
|
1470
|
+
tmp1_output.y1q(tmp0_desc, 2, tmp2_cached[2].z1(), value.r2t_1);
|
|
1471
|
+
tmp1_output.y1q(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.s2t_1);
|
|
1472
|
+
tmp1_output.y1q(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), value.t2t_1);
|
|
1473
|
+
tmp1_output.y1q(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), value.u2t_1);
|
|
1474
|
+
tmp1_output.y1q(tmp0_desc, 6, tmp2_cached[6].z1(), value.v2t_1);
|
|
1475
|
+
tmp1_output.y1q(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.w2t_1);
|
|
1476
|
+
tmp1_output.y1q(tmp0_desc, 8, tmp2_cached[8].z1(), value.x2t_1);
|
|
1477
|
+
tmp1_output.y1q(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.y2t_1);
|
|
1478
|
+
tmp1_output.y1q(tmp0_desc, 10, AttoHeightSerializer_getInstance(), value.b2u_1);
|
|
1479
|
+
tmp1_output.y1q(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.c2u_1);
|
|
1480
|
+
tmp1_output.y1q(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), value.representativeAddress);
|
|
1481
|
+
tmp1_output.i1p(tmp0_desc);
|
|
1482
|
+
}
|
|
1483
|
+
v1k(encoder, value) {
|
|
1484
|
+
return this.h2z(encoder, value instanceof AttoOpenBlock() ? value : THROW_CCE());
|
|
1485
|
+
}
|
|
1486
|
+
w1k(decoder) {
|
|
1487
|
+
var tmp0_desc = this.g2z_1;
|
|
1476
1488
|
var tmp1_flag = true;
|
|
1477
1489
|
var tmp2_index = 0;
|
|
1478
1490
|
var tmp3_bitMask0 = 0;
|
|
@@ -1487,101 +1499,115 @@ function $serializer_1() {
|
|
|
1487
1499
|
var tmp12_local8 = null;
|
|
1488
1500
|
var tmp13_local9 = null;
|
|
1489
1501
|
var tmp14_local10 = null;
|
|
1490
|
-
var
|
|
1491
|
-
var
|
|
1492
|
-
|
|
1493
|
-
|
|
1502
|
+
var tmp15_local11 = null;
|
|
1503
|
+
var tmp16_local12 = null;
|
|
1504
|
+
var tmp19_input = decoder.h1p(tmp0_desc);
|
|
1505
|
+
var tmp20_cached = Companion_getInstance_7().m2x_1;
|
|
1506
|
+
if (tmp19_input.w1p()) {
|
|
1507
|
+
tmp4_local0 = tmp19_input.t1p(tmp0_desc, 0, tmp20_cached[0].z1(), tmp4_local0);
|
|
1494
1508
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1495
|
-
tmp5_local1 = tmp19_input.
|
|
1509
|
+
tmp5_local1 = tmp19_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1496
1510
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1497
|
-
tmp6_local2 = tmp19_input.
|
|
1511
|
+
tmp6_local2 = tmp19_input.t1p(tmp0_desc, 2, tmp20_cached[2].z1(), tmp6_local2);
|
|
1498
1512
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1499
|
-
tmp7_local3 = tmp19_input.
|
|
1513
|
+
tmp7_local3 = tmp19_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1500
1514
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1501
|
-
tmp8_local4 = tmp19_input.
|
|
1515
|
+
tmp8_local4 = tmp19_input.t1p(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), tmp8_local4);
|
|
1502
1516
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1503
|
-
tmp9_local5 = tmp19_input.
|
|
1517
|
+
tmp9_local5 = tmp19_input.t1p(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
1504
1518
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1505
|
-
tmp10_local6 = tmp19_input.
|
|
1519
|
+
tmp10_local6 = tmp19_input.t1p(tmp0_desc, 6, tmp20_cached[6].z1(), tmp10_local6);
|
|
1506
1520
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1507
|
-
tmp11_local7 = tmp19_input.
|
|
1521
|
+
tmp11_local7 = tmp19_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1508
1522
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1509
|
-
tmp12_local8 = tmp19_input.
|
|
1523
|
+
tmp12_local8 = tmp19_input.t1p(tmp0_desc, 8, tmp20_cached[8].z1(), tmp12_local8);
|
|
1510
1524
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1511
|
-
tmp13_local9 = tmp19_input.
|
|
1525
|
+
tmp13_local9 = tmp19_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
1512
1526
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1513
|
-
tmp14_local10 = tmp19_input.
|
|
1527
|
+
tmp14_local10 = tmp19_input.t1p(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
|
|
1514
1528
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1529
|
+
tmp15_local11 = tmp19_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
1530
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1531
|
+
tmp16_local12 = tmp19_input.t1p(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
1532
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1515
1533
|
} else
|
|
1516
1534
|
while (tmp1_flag) {
|
|
1517
|
-
tmp2_index = tmp19_input.
|
|
1535
|
+
tmp2_index = tmp19_input.x1p(tmp0_desc);
|
|
1518
1536
|
switch (tmp2_index) {
|
|
1519
1537
|
case -1:
|
|
1520
1538
|
tmp1_flag = false;
|
|
1521
1539
|
break;
|
|
1522
1540
|
case 0:
|
|
1523
|
-
tmp4_local0 = tmp19_input.
|
|
1541
|
+
tmp4_local0 = tmp19_input.t1p(tmp0_desc, 0, tmp20_cached[0].z1(), tmp4_local0);
|
|
1524
1542
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1525
1543
|
break;
|
|
1526
1544
|
case 1:
|
|
1527
|
-
tmp5_local1 = tmp19_input.
|
|
1545
|
+
tmp5_local1 = tmp19_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1528
1546
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1529
1547
|
break;
|
|
1530
1548
|
case 2:
|
|
1531
|
-
tmp6_local2 = tmp19_input.
|
|
1549
|
+
tmp6_local2 = tmp19_input.t1p(tmp0_desc, 2, tmp20_cached[2].z1(), tmp6_local2);
|
|
1532
1550
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1533
1551
|
break;
|
|
1534
1552
|
case 3:
|
|
1535
|
-
tmp7_local3 = tmp19_input.
|
|
1553
|
+
tmp7_local3 = tmp19_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1536
1554
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1537
1555
|
break;
|
|
1538
1556
|
case 4:
|
|
1539
|
-
tmp8_local4 = tmp19_input.
|
|
1557
|
+
tmp8_local4 = tmp19_input.t1p(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), tmp8_local4);
|
|
1540
1558
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1541
1559
|
break;
|
|
1542
1560
|
case 5:
|
|
1543
|
-
tmp9_local5 = tmp19_input.
|
|
1561
|
+
tmp9_local5 = tmp19_input.t1p(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
1544
1562
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1545
1563
|
break;
|
|
1546
1564
|
case 6:
|
|
1547
|
-
tmp10_local6 = tmp19_input.
|
|
1565
|
+
tmp10_local6 = tmp19_input.t1p(tmp0_desc, 6, tmp20_cached[6].z1(), tmp10_local6);
|
|
1548
1566
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1549
1567
|
break;
|
|
1550
1568
|
case 7:
|
|
1551
|
-
tmp11_local7 = tmp19_input.
|
|
1569
|
+
tmp11_local7 = tmp19_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1552
1570
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1553
1571
|
break;
|
|
1554
1572
|
case 8:
|
|
1555
|
-
tmp12_local8 = tmp19_input.
|
|
1573
|
+
tmp12_local8 = tmp19_input.t1p(tmp0_desc, 8, tmp20_cached[8].z1(), tmp12_local8);
|
|
1556
1574
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1557
1575
|
break;
|
|
1558
1576
|
case 9:
|
|
1559
|
-
tmp13_local9 = tmp19_input.
|
|
1577
|
+
tmp13_local9 = tmp19_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
1560
1578
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1561
1579
|
break;
|
|
1562
1580
|
case 10:
|
|
1563
|
-
tmp14_local10 = tmp19_input.
|
|
1581
|
+
tmp14_local10 = tmp19_input.t1p(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
|
|
1564
1582
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1565
1583
|
break;
|
|
1584
|
+
case 11:
|
|
1585
|
+
tmp15_local11 = tmp19_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
1586
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1587
|
+
break;
|
|
1588
|
+
case 12:
|
|
1589
|
+
tmp16_local12 = tmp19_input.t1p(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
1590
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1591
|
+
break;
|
|
1566
1592
|
default:
|
|
1567
|
-
throw UnknownFieldException().
|
|
1593
|
+
throw UnknownFieldException().q1m(tmp2_index);
|
|
1568
1594
|
}
|
|
1569
1595
|
}
|
|
1570
|
-
tmp19_input.
|
|
1571
|
-
return AttoOpenBlock().
|
|
1596
|
+
tmp19_input.i1p(tmp0_desc);
|
|
1597
|
+
return AttoOpenBlock().i2z(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, null);
|
|
1572
1598
|
}
|
|
1573
|
-
|
|
1574
|
-
return this.
|
|
1599
|
+
u1k() {
|
|
1600
|
+
return this.g2z_1;
|
|
1575
1601
|
}
|
|
1576
|
-
|
|
1577
|
-
var tmp0_cached =
|
|
1602
|
+
k1x() {
|
|
1603
|
+
var tmp0_cached = Companion_getInstance_7().m2x_1;
|
|
1578
1604
|
// Inline function 'kotlin.arrayOf' call
|
|
1579
1605
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1580
1606
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1581
|
-
return [tmp0_cached[0].
|
|
1607
|
+
return [tmp0_cached[0].z1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), tmp0_cached[6].z1(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
|
|
1582
1608
|
}
|
|
1583
1609
|
}
|
|
1584
|
-
protoOf($).
|
|
1610
|
+
protoOf($).l1x = typeParametersSerializers;
|
|
1585
1611
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
1586
1612
|
$serializerClass_1 = $;
|
|
1587
1613
|
}
|
|
@@ -1594,211 +1620,162 @@ function $serializer_getInstance_1() {
|
|
|
1594
1620
|
return $serializer_instance_1;
|
|
1595
1621
|
}
|
|
1596
1622
|
function AttoOpenBlock$hash$delegate$lambda(this$0) {
|
|
1597
|
-
return
|
|
1598
|
-
return hash(this$0.f2z());
|
|
1599
|
-
};
|
|
1623
|
+
return () => hash(this$0.e2w());
|
|
1600
1624
|
}
|
|
1601
1625
|
function AttoOpenBlock$_get_hash_$ref_fk78xn() {
|
|
1602
|
-
return
|
|
1603
|
-
return p0.hash;
|
|
1604
|
-
};
|
|
1605
|
-
}
|
|
1606
|
-
function AttoOpenBlock$address$delegate$lambda(this$0) {
|
|
1607
|
-
return function () {
|
|
1608
|
-
return new (AttoAddress())(this$0.l2v_1, this$0.m2v_1);
|
|
1609
|
-
};
|
|
1610
|
-
}
|
|
1611
|
-
function AttoOpenBlock$_get_address_$ref_p6mkmb() {
|
|
1612
|
-
return function (p0) {
|
|
1613
|
-
return p0.address;
|
|
1614
|
-
};
|
|
1615
|
-
}
|
|
1616
|
-
function AttoOpenBlock$representativeAddress$delegate$lambda(this$0) {
|
|
1617
|
-
return function () {
|
|
1618
|
-
return new (AttoAddress())(this$0.r2v_1, this$0.s2v_1);
|
|
1619
|
-
};
|
|
1620
|
-
}
|
|
1621
|
-
function AttoOpenBlock$_get_representativeAddress_$ref_cjvoh2() {
|
|
1622
|
-
return function (p0) {
|
|
1623
|
-
return p0.representativeAddress;
|
|
1624
|
-
};
|
|
1626
|
+
return (p0) => p0.hash;
|
|
1625
1627
|
}
|
|
1626
1628
|
function AttoOpenBlock$_init_$lambda_2mk62y(this$0) {
|
|
1627
|
-
return
|
|
1628
|
-
return hash(this$0.f2z());
|
|
1629
|
-
};
|
|
1630
|
-
}
|
|
1631
|
-
function AttoOpenBlock$_init_$lambda_2mk62y_0(this$0) {
|
|
1632
|
-
return function () {
|
|
1633
|
-
return new (AttoAddress())(this$0.l2v_1, this$0.m2v_1);
|
|
1634
|
-
};
|
|
1635
|
-
}
|
|
1636
|
-
function AttoOpenBlock$_init_$lambda_2mk62y_1(this$0) {
|
|
1637
|
-
return function () {
|
|
1638
|
-
return new (AttoAddress())(this$0.r2v_1, this$0.s2v_1);
|
|
1639
|
-
};
|
|
1629
|
+
return () => hash(this$0.e2w());
|
|
1640
1630
|
}
|
|
1641
1631
|
var AttoOpenBlockClass;
|
|
1642
1632
|
function AttoOpenBlock() {
|
|
1643
1633
|
if (AttoOpenBlockClass === VOID) {
|
|
1644
1634
|
class $ {
|
|
1645
1635
|
constructor(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) {
|
|
1646
|
-
|
|
1647
|
-
this.
|
|
1648
|
-
this.
|
|
1649
|
-
this.
|
|
1650
|
-
this.
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1653
|
-
this.
|
|
1654
|
-
this.
|
|
1655
|
-
this.
|
|
1656
|
-
this.
|
|
1657
|
-
this.
|
|
1636
|
+
Companion_getInstance_7();
|
|
1637
|
+
this.p2t_1 = network;
|
|
1638
|
+
this.q2t_1 = version;
|
|
1639
|
+
this.r2t_1 = algorithm;
|
|
1640
|
+
this.s2t_1 = publicKey;
|
|
1641
|
+
this.t2t_1 = balance;
|
|
1642
|
+
this.u2t_1 = timestamp;
|
|
1643
|
+
this.v2t_1 = sendHashAlgorithm;
|
|
1644
|
+
this.w2t_1 = sendHash;
|
|
1645
|
+
this.x2t_1 = representativeAlgorithm;
|
|
1646
|
+
this.y2t_1 = representativePublicKey;
|
|
1647
|
+
this.z2t_1 = AttoBlockType_OPEN_getInstance();
|
|
1658
1648
|
var tmp = this;
|
|
1659
|
-
tmp.
|
|
1660
|
-
this.
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
var tmp_1 = this;
|
|
1664
|
-
tmp_1.x2v_1 = lazy_0(AttoOpenBlock$representativeAddress$delegate$lambda(this));
|
|
1649
|
+
tmp.a2u_1 = lazy_0(AttoOpenBlock$hash$delegate$lambda(this));
|
|
1650
|
+
this.b2u_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
|
|
1651
|
+
this.c2u_1 = new (AttoAddress())(this.r2t_1, this.s2t_1);
|
|
1652
|
+
this.representativeAddress = new (AttoAddress())(this.x2t_1, this.y2t_1);
|
|
1665
1653
|
}
|
|
1666
|
-
|
|
1667
|
-
return this.
|
|
1654
|
+
k2u() {
|
|
1655
|
+
return this.p2t_1;
|
|
1668
1656
|
}
|
|
1669
|
-
|
|
1670
|
-
return this.
|
|
1657
|
+
l2u() {
|
|
1658
|
+
return this.q2t_1;
|
|
1671
1659
|
}
|
|
1672
|
-
|
|
1673
|
-
return this.
|
|
1660
|
+
m2u() {
|
|
1661
|
+
return this.r2t_1;
|
|
1674
1662
|
}
|
|
1675
|
-
|
|
1676
|
-
return this.
|
|
1663
|
+
j2u() {
|
|
1664
|
+
return this.s2t_1;
|
|
1677
1665
|
}
|
|
1678
|
-
|
|
1679
|
-
return this.
|
|
1666
|
+
o2u() {
|
|
1667
|
+
return this.t2t_1;
|
|
1680
1668
|
}
|
|
1681
|
-
|
|
1682
|
-
return this.
|
|
1669
|
+
t2v() {
|
|
1670
|
+
return this.u2t_1;
|
|
1683
1671
|
}
|
|
1684
|
-
|
|
1685
|
-
return this.
|
|
1672
|
+
t2x() {
|
|
1673
|
+
return this.v2t_1;
|
|
1686
1674
|
}
|
|
1687
|
-
|
|
1688
|
-
return this.
|
|
1675
|
+
u2x() {
|
|
1676
|
+
return this.w2t_1;
|
|
1689
1677
|
}
|
|
1690
|
-
|
|
1691
|
-
return this.
|
|
1678
|
+
r2u() {
|
|
1679
|
+
return this.x2t_1;
|
|
1692
1680
|
}
|
|
1693
|
-
|
|
1694
|
-
return this.
|
|
1681
|
+
s2u() {
|
|
1682
|
+
return this.y2t_1;
|
|
1695
1683
|
}
|
|
1696
|
-
|
|
1697
|
-
return this.
|
|
1684
|
+
o2x() {
|
|
1685
|
+
return this.z2t_1;
|
|
1698
1686
|
}
|
|
1699
|
-
|
|
1700
|
-
var tmp0 = this.
|
|
1687
|
+
o2v() {
|
|
1688
|
+
var tmp0 = this.a2u_1;
|
|
1701
1689
|
var tmp = KProperty1();
|
|
1702
1690
|
// Inline function 'kotlin.getValue' call
|
|
1703
1691
|
getPropertyCallableRef('hash', 1, tmp, AttoOpenBlock$_get_hash_$ref_fk78xn(), null);
|
|
1704
|
-
return tmp0.
|
|
1692
|
+
return tmp0.z1();
|
|
1705
1693
|
}
|
|
1706
|
-
|
|
1707
|
-
return this.
|
|
1694
|
+
n2u() {
|
|
1695
|
+
return this.b2u_1;
|
|
1708
1696
|
}
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
var tmp = KProperty1();
|
|
1712
|
-
// Inline function 'kotlin.getValue' call
|
|
1713
|
-
getPropertyCallableRef('address', 1, tmp, AttoOpenBlock$_get_address_$ref_p6mkmb(), null);
|
|
1714
|
-
return tmp0.s1();
|
|
1697
|
+
t2u() {
|
|
1698
|
+
return this.c2u_1;
|
|
1715
1699
|
}
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
var tmp = KProperty1();
|
|
1719
|
-
// Inline function 'kotlin.getValue' call
|
|
1720
|
-
getPropertyCallableRef('representativeAddress', 1, tmp, AttoOpenBlock$_get_representativeAddress_$ref_cjvoh2(), null);
|
|
1721
|
-
return tmp0.s1();
|
|
1700
|
+
u2u() {
|
|
1701
|
+
return this.representativeAddress;
|
|
1722
1702
|
}
|
|
1723
|
-
|
|
1703
|
+
e2w() {
|
|
1724
1704
|
// Inline function 'kotlin.apply' call
|
|
1725
1705
|
var this_0 = new (Buffer())();
|
|
1726
|
-
writeAttoBlockType(this_0, this.
|
|
1727
|
-
writeAttoNetwork(this_0, this.
|
|
1728
|
-
writeAttoVersion(this_0, this.
|
|
1729
|
-
writeAttoAlgorithm(this_0, this.
|
|
1730
|
-
writeAttoPublicKey(this_0, this.
|
|
1731
|
-
writeAttoAmount(this_0, this.
|
|
1732
|
-
writeInstant(this_0, this.
|
|
1733
|
-
writeAttoAlgorithm(this_0, this.
|
|
1734
|
-
writeAttoHash(this_0, this.
|
|
1735
|
-
writeAttoAlgorithm(this_0, this.
|
|
1736
|
-
writeAttoPublicKey(this_0, this.
|
|
1706
|
+
writeAttoBlockType(this_0, this.z2t_1);
|
|
1707
|
+
writeAttoNetwork(this_0, this.p2t_1);
|
|
1708
|
+
writeAttoVersion(this_0, this.q2t_1);
|
|
1709
|
+
writeAttoAlgorithm(this_0, this.r2t_1);
|
|
1710
|
+
writeAttoPublicKey(this_0, this.s2t_1);
|
|
1711
|
+
writeAttoAmount(this_0, this.t2t_1);
|
|
1712
|
+
writeInstant(this_0, this.u2t_1);
|
|
1713
|
+
writeAttoAlgorithm(this_0, this.v2t_1);
|
|
1714
|
+
writeAttoHash(this_0, this.w2t_1);
|
|
1715
|
+
writeAttoAlgorithm(this_0, this.x2t_1);
|
|
1716
|
+
writeAttoPublicKey(this_0, this.y2t_1);
|
|
1737
1717
|
return this_0;
|
|
1738
1718
|
}
|
|
1739
|
-
|
|
1740
|
-
return
|
|
1719
|
+
te() {
|
|
1720
|
+
return this.p2t_1;
|
|
1741
1721
|
}
|
|
1742
|
-
|
|
1743
|
-
return this.
|
|
1722
|
+
ue() {
|
|
1723
|
+
return this.q2t_1;
|
|
1744
1724
|
}
|
|
1745
|
-
|
|
1746
|
-
return this.
|
|
1725
|
+
z2u() {
|
|
1726
|
+
return this.r2t_1;
|
|
1747
1727
|
}
|
|
1748
|
-
|
|
1749
|
-
return this.
|
|
1728
|
+
a2v() {
|
|
1729
|
+
return this.s2t_1;
|
|
1750
1730
|
}
|
|
1751
|
-
|
|
1752
|
-
return this.
|
|
1731
|
+
b2v() {
|
|
1732
|
+
return this.t2t_1;
|
|
1753
1733
|
}
|
|
1754
|
-
|
|
1755
|
-
return this.
|
|
1734
|
+
c2v() {
|
|
1735
|
+
return this.u2t_1;
|
|
1756
1736
|
}
|
|
1757
|
-
|
|
1758
|
-
return this.
|
|
1737
|
+
d2v() {
|
|
1738
|
+
return this.v2t_1;
|
|
1759
1739
|
}
|
|
1760
|
-
|
|
1761
|
-
return this.
|
|
1762
|
-
}
|
|
1763
|
-
y2w() {
|
|
1764
|
-
return this.q2v_1;
|
|
1740
|
+
e2v() {
|
|
1741
|
+
return this.w2t_1;
|
|
1765
1742
|
}
|
|
1766
|
-
|
|
1767
|
-
return this.
|
|
1743
|
+
f2v() {
|
|
1744
|
+
return this.x2t_1;
|
|
1768
1745
|
}
|
|
1769
|
-
|
|
1770
|
-
return this.
|
|
1746
|
+
g2v() {
|
|
1747
|
+
return this.y2t_1;
|
|
1771
1748
|
}
|
|
1772
|
-
|
|
1749
|
+
j2z(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) {
|
|
1773
1750
|
return new (AttoOpenBlock())(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey);
|
|
1774
1751
|
}
|
|
1775
1752
|
copy(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey, $super) {
|
|
1776
|
-
network = network === VOID ? this.
|
|
1777
|
-
version = version === VOID ? this.
|
|
1778
|
-
algorithm = algorithm === VOID ? this.
|
|
1779
|
-
publicKey = publicKey === VOID ? this.
|
|
1780
|
-
balance = balance === VOID ? this.
|
|
1781
|
-
timestamp = timestamp === VOID ? this.
|
|
1782
|
-
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.
|
|
1783
|
-
sendHash = sendHash === VOID ? this.
|
|
1784
|
-
representativeAlgorithm = representativeAlgorithm === VOID ? this.
|
|
1785
|
-
representativePublicKey = representativePublicKey === VOID ? this.
|
|
1786
|
-
return $super === VOID ? this.
|
|
1753
|
+
network = network === VOID ? this.p2t_1 : network;
|
|
1754
|
+
version = version === VOID ? this.q2t_1 : version;
|
|
1755
|
+
algorithm = algorithm === VOID ? this.r2t_1 : algorithm;
|
|
1756
|
+
publicKey = publicKey === VOID ? this.s2t_1 : publicKey;
|
|
1757
|
+
balance = balance === VOID ? this.t2t_1 : balance;
|
|
1758
|
+
timestamp = timestamp === VOID ? this.u2t_1 : timestamp;
|
|
1759
|
+
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.v2t_1 : sendHashAlgorithm;
|
|
1760
|
+
sendHash = sendHash === VOID ? this.w2t_1 : sendHash;
|
|
1761
|
+
representativeAlgorithm = representativeAlgorithm === VOID ? this.x2t_1 : representativeAlgorithm;
|
|
1762
|
+
representativePublicKey = representativePublicKey === VOID ? this.y2t_1 : representativePublicKey;
|
|
1763
|
+
return $super === VOID ? this.j2z(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) : $super.j2z.call(this, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey);
|
|
1787
1764
|
}
|
|
1788
1765
|
toString() {
|
|
1789
|
-
return 'AttoOpenBlock(network=' + this.
|
|
1766
|
+
return 'AttoOpenBlock(network=' + this.p2t_1.toString() + ', version=' + this.q2t_1.toString() + ', algorithm=' + this.r2t_1.toString() + ', publicKey=' + this.s2t_1.toString() + ', balance=' + this.t2t_1.toString() + ', timestamp=' + this.u2t_1.toString() + ', sendHashAlgorithm=' + this.v2t_1.toString() + ', sendHash=' + this.w2t_1.toString() + ', representativeAlgorithm=' + this.x2t_1.toString() + ', representativePublicKey=' + this.y2t_1.toString() + ')';
|
|
1790
1767
|
}
|
|
1791
1768
|
hashCode() {
|
|
1792
|
-
var result = this.
|
|
1793
|
-
result = imul(result, 31) + this.
|
|
1794
|
-
result = imul(result, 31) + this.
|
|
1795
|
-
result = imul(result, 31) + this.
|
|
1796
|
-
result = imul(result, 31) + this.
|
|
1797
|
-
result = imul(result, 31) + this.
|
|
1798
|
-
result = imul(result, 31) + this.
|
|
1799
|
-
result = imul(result, 31) + this.
|
|
1800
|
-
result = imul(result, 31) + this.
|
|
1801
|
-
result = imul(result, 31) + this.
|
|
1769
|
+
var result = this.p2t_1.hashCode();
|
|
1770
|
+
result = imul(result, 31) + this.q2t_1.hashCode() | 0;
|
|
1771
|
+
result = imul(result, 31) + this.r2t_1.hashCode() | 0;
|
|
1772
|
+
result = imul(result, 31) + this.s2t_1.hashCode() | 0;
|
|
1773
|
+
result = imul(result, 31) + this.t2t_1.hashCode() | 0;
|
|
1774
|
+
result = imul(result, 31) + this.u2t_1.hashCode() | 0;
|
|
1775
|
+
result = imul(result, 31) + this.v2t_1.hashCode() | 0;
|
|
1776
|
+
result = imul(result, 31) + this.w2t_1.hashCode() | 0;
|
|
1777
|
+
result = imul(result, 31) + this.x2t_1.hashCode() | 0;
|
|
1778
|
+
result = imul(result, 31) + this.y2t_1.hashCode() | 0;
|
|
1802
1779
|
return result;
|
|
1803
1780
|
}
|
|
1804
1781
|
equals(other) {
|
|
@@ -1806,104 +1783,106 @@ function AttoOpenBlock() {
|
|
|
1806
1783
|
return true;
|
|
1807
1784
|
if (!(other instanceof AttoOpenBlock()))
|
|
1808
1785
|
return false;
|
|
1809
|
-
|
|
1810
|
-
if (!this.j2v_1.equals(tmp0_other_with_cast.j2v_1))
|
|
1786
|
+
if (!this.p2t_1.equals(other.p2t_1))
|
|
1811
1787
|
return false;
|
|
1812
|
-
if (!this.
|
|
1788
|
+
if (!this.q2t_1.equals(other.q2t_1))
|
|
1813
1789
|
return false;
|
|
1814
|
-
if (!this.
|
|
1790
|
+
if (!this.r2t_1.equals(other.r2t_1))
|
|
1815
1791
|
return false;
|
|
1816
|
-
if (!this.
|
|
1792
|
+
if (!this.s2t_1.equals(other.s2t_1))
|
|
1817
1793
|
return false;
|
|
1818
|
-
if (!this.
|
|
1794
|
+
if (!this.t2t_1.equals(other.t2t_1))
|
|
1819
1795
|
return false;
|
|
1820
|
-
if (!this.
|
|
1796
|
+
if (!this.u2t_1.equals(other.u2t_1))
|
|
1821
1797
|
return false;
|
|
1822
|
-
if (!this.
|
|
1798
|
+
if (!this.v2t_1.equals(other.v2t_1))
|
|
1823
1799
|
return false;
|
|
1824
|
-
if (!this.
|
|
1800
|
+
if (!this.w2t_1.equals(other.w2t_1))
|
|
1825
1801
|
return false;
|
|
1826
|
-
if (!this.
|
|
1802
|
+
if (!this.x2t_1.equals(other.x2t_1))
|
|
1827
1803
|
return false;
|
|
1828
|
-
if (!this.
|
|
1804
|
+
if (!this.y2t_1.equals(other.y2t_1))
|
|
1829
1805
|
return false;
|
|
1830
1806
|
return true;
|
|
1831
1807
|
}
|
|
1832
|
-
static
|
|
1833
|
-
|
|
1808
|
+
static i2z(seen0, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey, height, address, representativeAddress, serializationConstructorMarker) {
|
|
1809
|
+
Companion_getInstance_7();
|
|
1834
1810
|
if (!(1023 === (1023 & seen0))) {
|
|
1835
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_1().
|
|
1811
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_1().g2z_1);
|
|
1836
1812
|
}
|
|
1837
1813
|
var $this = createThis(this);
|
|
1838
|
-
$this.
|
|
1839
|
-
$this.
|
|
1840
|
-
$this.
|
|
1841
|
-
$this.
|
|
1842
|
-
$this.
|
|
1843
|
-
$this.
|
|
1844
|
-
$this.
|
|
1845
|
-
$this.
|
|
1846
|
-
$this.
|
|
1847
|
-
$this.
|
|
1848
|
-
$this.
|
|
1814
|
+
$this.p2t_1 = network;
|
|
1815
|
+
$this.q2t_1 = version;
|
|
1816
|
+
$this.r2t_1 = algorithm;
|
|
1817
|
+
$this.s2t_1 = publicKey;
|
|
1818
|
+
$this.t2t_1 = balance;
|
|
1819
|
+
$this.u2t_1 = timestamp;
|
|
1820
|
+
$this.v2t_1 = sendHashAlgorithm;
|
|
1821
|
+
$this.w2t_1 = sendHash;
|
|
1822
|
+
$this.x2t_1 = representativeAlgorithm;
|
|
1823
|
+
$this.y2t_1 = representativePublicKey;
|
|
1824
|
+
$this.z2t_1 = AttoBlockType_OPEN_getInstance();
|
|
1849
1825
|
var tmp = $this;
|
|
1850
|
-
tmp.
|
|
1826
|
+
tmp.a2u_1 = lazy_0(AttoOpenBlock$_init_$lambda_2mk62y($this));
|
|
1851
1827
|
if (0 === (seen0 & 1024))
|
|
1852
|
-
$this.
|
|
1828
|
+
$this.b2u_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
|
|
1829
|
+
else
|
|
1830
|
+
$this.b2u_1 = height;
|
|
1831
|
+
if (0 === (seen0 & 2048))
|
|
1832
|
+
$this.c2u_1 = new (AttoAddress())($this.r2t_1, $this.s2t_1);
|
|
1853
1833
|
else
|
|
1854
|
-
$this.
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1834
|
+
$this.c2u_1 = address;
|
|
1835
|
+
if (0 === (seen0 & 4096))
|
|
1836
|
+
$this.representativeAddress = new (AttoAddress())($this.x2t_1, $this.y2t_1);
|
|
1837
|
+
else
|
|
1838
|
+
$this.representativeAddress = representativeAddress;
|
|
1859
1839
|
return $this;
|
|
1860
1840
|
}
|
|
1861
1841
|
get network() {
|
|
1862
|
-
return this.
|
|
1842
|
+
return this.k2u();
|
|
1863
1843
|
}
|
|
1864
1844
|
get version() {
|
|
1865
|
-
return this.
|
|
1845
|
+
return this.l2u();
|
|
1866
1846
|
}
|
|
1867
1847
|
get algorithm() {
|
|
1868
|
-
return this.
|
|
1848
|
+
return this.m2u();
|
|
1869
1849
|
}
|
|
1870
1850
|
get publicKey() {
|
|
1871
|
-
return this.
|
|
1851
|
+
return this.j2u();
|
|
1872
1852
|
}
|
|
1873
1853
|
get balance() {
|
|
1874
|
-
return this.
|
|
1854
|
+
return this.o2u();
|
|
1875
1855
|
}
|
|
1876
1856
|
get timestamp() {
|
|
1877
|
-
return this.
|
|
1857
|
+
return this.t2v();
|
|
1878
1858
|
}
|
|
1879
1859
|
get sendHashAlgorithm() {
|
|
1880
|
-
return this.
|
|
1860
|
+
return this.t2x();
|
|
1881
1861
|
}
|
|
1882
1862
|
get sendHash() {
|
|
1883
|
-
return this.
|
|
1863
|
+
return this.u2x();
|
|
1884
1864
|
}
|
|
1885
1865
|
get representativeAlgorithm() {
|
|
1886
|
-
return this.
|
|
1866
|
+
return this.r2u();
|
|
1887
1867
|
}
|
|
1888
1868
|
get representativePublicKey() {
|
|
1889
|
-
return this.
|
|
1869
|
+
return this.s2u();
|
|
1890
1870
|
}
|
|
1891
1871
|
get type() {
|
|
1892
|
-
return this.
|
|
1872
|
+
return this.o2x();
|
|
1893
1873
|
}
|
|
1894
1874
|
get hash() {
|
|
1895
|
-
return this.
|
|
1875
|
+
return this.o2v();
|
|
1896
1876
|
}
|
|
1897
1877
|
get height() {
|
|
1898
|
-
return this.
|
|
1878
|
+
return this.n2u();
|
|
1899
1879
|
}
|
|
1900
1880
|
get address() {
|
|
1901
|
-
return this.
|
|
1902
|
-
}
|
|
1903
|
-
get representativeAddress() {
|
|
1904
|
-
return this.p2w();
|
|
1881
|
+
return this.t2u();
|
|
1905
1882
|
}
|
|
1906
1883
|
}
|
|
1884
|
+
protoOf($).validate = validate;
|
|
1885
|
+
protoOf($).isValid = isValid;
|
|
1907
1886
|
initMetadataForClass($, 'AttoOpenBlock', VOID, VOID, [AttoBlock(), ReceiveSupport(), RepresentativeSupport()], VOID, VOID, {0: $serializer_getInstance_1});
|
|
1908
1887
|
AttoOpenBlockClass = $;
|
|
1909
1888
|
}
|
|
@@ -1913,17 +1892,17 @@ function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff() {
|
|
|
1913
1892
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
1914
1893
|
}
|
|
1915
1894
|
function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_0() {
|
|
1916
|
-
return
|
|
1895
|
+
return Companion_getInstance_2().k2t();
|
|
1917
1896
|
}
|
|
1918
1897
|
function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_1() {
|
|
1919
|
-
return
|
|
1898
|
+
return Companion_getInstance_2().k2t();
|
|
1920
1899
|
}
|
|
1921
1900
|
var CompanionClass_4;
|
|
1922
1901
|
function Companion_4() {
|
|
1923
1902
|
if (CompanionClass_4 === VOID) {
|
|
1924
1903
|
class $ {
|
|
1925
1904
|
constructor() {
|
|
1926
|
-
|
|
1905
|
+
Companion_instance_5 = this;
|
|
1927
1906
|
var tmp = this;
|
|
1928
1907
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1929
1908
|
var tmp_1 = lazy(tmp_0, AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff);
|
|
@@ -1933,19 +1912,19 @@ function Companion_4() {
|
|
|
1933
1912
|
// Inline function 'kotlin.arrayOf' call
|
|
1934
1913
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1935
1914
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1936
|
-
tmp.
|
|
1915
|
+
tmp.n2x_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_1), null, null, null];
|
|
1937
1916
|
}
|
|
1938
|
-
|
|
1939
|
-
if (
|
|
1917
|
+
k2x(serializedBlock) {
|
|
1918
|
+
if (fromInt(AttoBlockType_CHANGE_getInstance().size) > serializedBlock.n1()) {
|
|
1940
1919
|
return null;
|
|
1941
1920
|
}
|
|
1942
1921
|
var blockType = readAttoBlockType(serializedBlock);
|
|
1943
1922
|
if (!blockType.equals(AttoBlockType_CHANGE_getInstance())) {
|
|
1944
|
-
throw IllegalArgumentException().
|
|
1923
|
+
throw IllegalArgumentException().j1('Invalid block type: ' + blockType.toString());
|
|
1945
1924
|
}
|
|
1946
1925
|
return new (AttoChangeBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock));
|
|
1947
1926
|
}
|
|
1948
|
-
|
|
1927
|
+
k2t() {
|
|
1949
1928
|
return $serializer_getInstance_2();
|
|
1950
1929
|
}
|
|
1951
1930
|
}
|
|
@@ -1954,11 +1933,11 @@ function Companion_4() {
|
|
|
1954
1933
|
}
|
|
1955
1934
|
return CompanionClass_4;
|
|
1956
1935
|
}
|
|
1957
|
-
var
|
|
1958
|
-
function
|
|
1959
|
-
if (
|
|
1936
|
+
var Companion_instance_5;
|
|
1937
|
+
function Companion_getInstance_8() {
|
|
1938
|
+
if (Companion_instance_5 === VOID)
|
|
1960
1939
|
new (Companion_4())();
|
|
1961
|
-
return
|
|
1940
|
+
return Companion_instance_5;
|
|
1962
1941
|
}
|
|
1963
1942
|
var $serializerClass_2;
|
|
1964
1943
|
function $serializer_2() {
|
|
@@ -1966,40 +1945,44 @@ function $serializer_2() {
|
|
|
1966
1945
|
class $ {
|
|
1967
1946
|
constructor() {
|
|
1968
1947
|
$serializer_instance_2 = this;
|
|
1969
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('CHANGE', this,
|
|
1970
|
-
tmp0_serialDesc.
|
|
1971
|
-
tmp0_serialDesc.
|
|
1972
|
-
tmp0_serialDesc.
|
|
1973
|
-
tmp0_serialDesc.
|
|
1974
|
-
tmp0_serialDesc.
|
|
1975
|
-
tmp0_serialDesc.
|
|
1976
|
-
tmp0_serialDesc.
|
|
1977
|
-
tmp0_serialDesc.
|
|
1978
|
-
tmp0_serialDesc.
|
|
1979
|
-
tmp0_serialDesc.
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
var
|
|
1986
|
-
tmp1_output
|
|
1987
|
-
|
|
1988
|
-
tmp1_output.
|
|
1989
|
-
tmp1_output.
|
|
1990
|
-
tmp1_output.
|
|
1991
|
-
tmp1_output.
|
|
1992
|
-
tmp1_output.
|
|
1993
|
-
tmp1_output.
|
|
1994
|
-
tmp1_output.
|
|
1995
|
-
tmp1_output.
|
|
1996
|
-
tmp1_output.
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
1948
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('CHANGE', this, 12);
|
|
1949
|
+
tmp0_serialDesc.v1w('network', false);
|
|
1950
|
+
tmp0_serialDesc.v1w('version', false);
|
|
1951
|
+
tmp0_serialDesc.v1w('algorithm', false);
|
|
1952
|
+
tmp0_serialDesc.v1w('publicKey', false);
|
|
1953
|
+
tmp0_serialDesc.v1w('height', false);
|
|
1954
|
+
tmp0_serialDesc.v1w('balance', false);
|
|
1955
|
+
tmp0_serialDesc.v1w('timestamp', false);
|
|
1956
|
+
tmp0_serialDesc.v1w('previous', false);
|
|
1957
|
+
tmp0_serialDesc.v1w('representativeAlgorithm', false);
|
|
1958
|
+
tmp0_serialDesc.v1w('representativePublicKey', false);
|
|
1959
|
+
tmp0_serialDesc.v1w('address', true);
|
|
1960
|
+
tmp0_serialDesc.v1w('representativeAddress', true);
|
|
1961
|
+
this.k2z_1 = tmp0_serialDesc;
|
|
1962
|
+
}
|
|
1963
|
+
l2z(encoder, value) {
|
|
1964
|
+
var tmp0_desc = this.k2z_1;
|
|
1965
|
+
var tmp1_output = encoder.h1p(tmp0_desc);
|
|
1966
|
+
var tmp2_cached = Companion_getInstance_8().n2x_1;
|
|
1967
|
+
tmp1_output.y1q(tmp0_desc, 0, tmp2_cached[0].z1(), value.m2z_1);
|
|
1968
|
+
tmp1_output.y1q(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.n2z_1);
|
|
1969
|
+
tmp1_output.y1q(tmp0_desc, 2, tmp2_cached[2].z1(), value.o2z_1);
|
|
1970
|
+
tmp1_output.y1q(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.p2z_1);
|
|
1971
|
+
tmp1_output.y1q(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.q2z_1);
|
|
1972
|
+
tmp1_output.y1q(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.r2z_1);
|
|
1973
|
+
tmp1_output.y1q(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.s2z_1);
|
|
1974
|
+
tmp1_output.y1q(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.t2z_1);
|
|
1975
|
+
tmp1_output.y1q(tmp0_desc, 8, tmp2_cached[8].z1(), value.u2z_1);
|
|
1976
|
+
tmp1_output.y1q(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.v2z_1);
|
|
1977
|
+
tmp1_output.y1q(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), value.y2z_1);
|
|
1978
|
+
tmp1_output.y1q(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.representativeAddress);
|
|
1979
|
+
tmp1_output.i1p(tmp0_desc);
|
|
1980
|
+
}
|
|
1981
|
+
v1k(encoder, value) {
|
|
1982
|
+
return this.l2z(encoder, value instanceof AttoChangeBlock() ? value : THROW_CCE());
|
|
1983
|
+
}
|
|
1984
|
+
w1k(decoder) {
|
|
1985
|
+
var tmp0_desc = this.k2z_1;
|
|
2003
1986
|
var tmp1_flag = true;
|
|
2004
1987
|
var tmp2_index = 0;
|
|
2005
1988
|
var tmp3_bitMask0 = 0;
|
|
@@ -2013,95 +1996,109 @@ function $serializer_2() {
|
|
|
2013
1996
|
var tmp11_local7 = null;
|
|
2014
1997
|
var tmp12_local8 = null;
|
|
2015
1998
|
var tmp13_local9 = null;
|
|
2016
|
-
var
|
|
2017
|
-
var
|
|
2018
|
-
|
|
2019
|
-
|
|
1999
|
+
var tmp14_local10 = null;
|
|
2000
|
+
var tmp15_local11 = null;
|
|
2001
|
+
var tmp18_input = decoder.h1p(tmp0_desc);
|
|
2002
|
+
var tmp19_cached = Companion_getInstance_8().n2x_1;
|
|
2003
|
+
if (tmp18_input.w1p()) {
|
|
2004
|
+
tmp4_local0 = tmp18_input.t1p(tmp0_desc, 0, tmp19_cached[0].z1(), tmp4_local0);
|
|
2020
2005
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2021
|
-
tmp5_local1 = tmp18_input.
|
|
2006
|
+
tmp5_local1 = tmp18_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
2022
2007
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2023
|
-
tmp6_local2 = tmp18_input.
|
|
2008
|
+
tmp6_local2 = tmp18_input.t1p(tmp0_desc, 2, tmp19_cached[2].z1(), tmp6_local2);
|
|
2024
2009
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2025
|
-
tmp7_local3 = tmp18_input.
|
|
2010
|
+
tmp7_local3 = tmp18_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
2026
2011
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2027
|
-
tmp8_local4 = tmp18_input.
|
|
2012
|
+
tmp8_local4 = tmp18_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
2028
2013
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2029
|
-
tmp9_local5 = tmp18_input.
|
|
2014
|
+
tmp9_local5 = tmp18_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
2030
2015
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2031
|
-
tmp10_local6 = tmp18_input.
|
|
2016
|
+
tmp10_local6 = tmp18_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
2032
2017
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2033
|
-
tmp11_local7 = tmp18_input.
|
|
2018
|
+
tmp11_local7 = tmp18_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
2034
2019
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2035
|
-
tmp12_local8 = tmp18_input.
|
|
2020
|
+
tmp12_local8 = tmp18_input.t1p(tmp0_desc, 8, tmp19_cached[8].z1(), tmp12_local8);
|
|
2036
2021
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2037
|
-
tmp13_local9 = tmp18_input.
|
|
2022
|
+
tmp13_local9 = tmp18_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
2038
2023
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2024
|
+
tmp14_local10 = tmp18_input.t1p(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
2025
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2026
|
+
tmp15_local11 = tmp18_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
2027
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2039
2028
|
} else
|
|
2040
2029
|
while (tmp1_flag) {
|
|
2041
|
-
tmp2_index = tmp18_input.
|
|
2030
|
+
tmp2_index = tmp18_input.x1p(tmp0_desc);
|
|
2042
2031
|
switch (tmp2_index) {
|
|
2043
2032
|
case -1:
|
|
2044
2033
|
tmp1_flag = false;
|
|
2045
2034
|
break;
|
|
2046
2035
|
case 0:
|
|
2047
|
-
tmp4_local0 = tmp18_input.
|
|
2036
|
+
tmp4_local0 = tmp18_input.t1p(tmp0_desc, 0, tmp19_cached[0].z1(), tmp4_local0);
|
|
2048
2037
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2049
2038
|
break;
|
|
2050
2039
|
case 1:
|
|
2051
|
-
tmp5_local1 = tmp18_input.
|
|
2040
|
+
tmp5_local1 = tmp18_input.t1p(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
2052
2041
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2053
2042
|
break;
|
|
2054
2043
|
case 2:
|
|
2055
|
-
tmp6_local2 = tmp18_input.
|
|
2044
|
+
tmp6_local2 = tmp18_input.t1p(tmp0_desc, 2, tmp19_cached[2].z1(), tmp6_local2);
|
|
2056
2045
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2057
2046
|
break;
|
|
2058
2047
|
case 3:
|
|
2059
|
-
tmp7_local3 = tmp18_input.
|
|
2048
|
+
tmp7_local3 = tmp18_input.t1p(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
2060
2049
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2061
2050
|
break;
|
|
2062
2051
|
case 4:
|
|
2063
|
-
tmp8_local4 = tmp18_input.
|
|
2052
|
+
tmp8_local4 = tmp18_input.t1p(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
2064
2053
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2065
2054
|
break;
|
|
2066
2055
|
case 5:
|
|
2067
|
-
tmp9_local5 = tmp18_input.
|
|
2056
|
+
tmp9_local5 = tmp18_input.t1p(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
2068
2057
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2069
2058
|
break;
|
|
2070
2059
|
case 6:
|
|
2071
|
-
tmp10_local6 = tmp18_input.
|
|
2060
|
+
tmp10_local6 = tmp18_input.t1p(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
2072
2061
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2073
2062
|
break;
|
|
2074
2063
|
case 7:
|
|
2075
|
-
tmp11_local7 = tmp18_input.
|
|
2064
|
+
tmp11_local7 = tmp18_input.t1p(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
2076
2065
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2077
2066
|
break;
|
|
2078
2067
|
case 8:
|
|
2079
|
-
tmp12_local8 = tmp18_input.
|
|
2068
|
+
tmp12_local8 = tmp18_input.t1p(tmp0_desc, 8, tmp19_cached[8].z1(), tmp12_local8);
|
|
2080
2069
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2081
2070
|
break;
|
|
2082
2071
|
case 9:
|
|
2083
|
-
tmp13_local9 = tmp18_input.
|
|
2072
|
+
tmp13_local9 = tmp18_input.t1p(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
2084
2073
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2085
2074
|
break;
|
|
2075
|
+
case 10:
|
|
2076
|
+
tmp14_local10 = tmp18_input.t1p(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
2077
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2078
|
+
break;
|
|
2079
|
+
case 11:
|
|
2080
|
+
tmp15_local11 = tmp18_input.t1p(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
2081
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2082
|
+
break;
|
|
2086
2083
|
default:
|
|
2087
|
-
throw UnknownFieldException().
|
|
2084
|
+
throw UnknownFieldException().q1m(tmp2_index);
|
|
2088
2085
|
}
|
|
2089
2086
|
}
|
|
2090
|
-
tmp18_input.
|
|
2091
|
-
return AttoChangeBlock().
|
|
2087
|
+
tmp18_input.i1p(tmp0_desc);
|
|
2088
|
+
return AttoChangeBlock().z2z(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, null);
|
|
2092
2089
|
}
|
|
2093
|
-
|
|
2094
|
-
return this.
|
|
2090
|
+
u1k() {
|
|
2091
|
+
return this.k2z_1;
|
|
2095
2092
|
}
|
|
2096
|
-
|
|
2097
|
-
var tmp0_cached =
|
|
2093
|
+
k1x() {
|
|
2094
|
+
var tmp0_cached = Companion_getInstance_8().n2x_1;
|
|
2098
2095
|
// Inline function 'kotlin.arrayOf' call
|
|
2099
2096
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2100
2097
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2101
|
-
return [tmp0_cached[0].
|
|
2098
|
+
return [tmp0_cached[0].z1(), AttoVersionSerializer_getInstance(), tmp0_cached[2].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].z1(), AttoPublicKeyAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
|
|
2102
2099
|
}
|
|
2103
2100
|
}
|
|
2104
|
-
protoOf($).
|
|
2101
|
+
protoOf($).l1x = typeParametersSerializers;
|
|
2105
2102
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
2106
2103
|
$serializerClass_2 = $;
|
|
2107
2104
|
}
|
|
@@ -2114,207 +2111,158 @@ function $serializer_getInstance_2() {
|
|
|
2114
2111
|
return $serializer_instance_2;
|
|
2115
2112
|
}
|
|
2116
2113
|
function AttoChangeBlock$hash$delegate$lambda(this$0) {
|
|
2117
|
-
return
|
|
2118
|
-
return hash(this$0.f2z());
|
|
2119
|
-
};
|
|
2114
|
+
return () => hash(this$0.e2w());
|
|
2120
2115
|
}
|
|
2121
2116
|
function AttoChangeBlock$_get_hash_$ref_i4oufz() {
|
|
2122
|
-
return
|
|
2123
|
-
return p0.hash;
|
|
2124
|
-
};
|
|
2125
|
-
}
|
|
2126
|
-
function AttoChangeBlock$address$delegate$lambda(this$0) {
|
|
2127
|
-
return function () {
|
|
2128
|
-
return new (AttoAddress())(this$0.f31_1, this$0.g31_1);
|
|
2129
|
-
};
|
|
2130
|
-
}
|
|
2131
|
-
function AttoChangeBlock$_get_address_$ref_b5hbw7() {
|
|
2132
|
-
return function (p0) {
|
|
2133
|
-
return p0.address;
|
|
2134
|
-
};
|
|
2135
|
-
}
|
|
2136
|
-
function AttoChangeBlock$representativeAddress$delegate$lambda(this$0) {
|
|
2137
|
-
return function () {
|
|
2138
|
-
return new (AttoAddress())(this$0.l31_1, this$0.m31_1);
|
|
2139
|
-
};
|
|
2140
|
-
}
|
|
2141
|
-
function AttoChangeBlock$_get_representativeAddress_$ref_2pxa6k() {
|
|
2142
|
-
return function (p0) {
|
|
2143
|
-
return p0.representativeAddress;
|
|
2144
|
-
};
|
|
2117
|
+
return (p0) => p0.hash;
|
|
2145
2118
|
}
|
|
2146
2119
|
function AttoChangeBlock$_init_$lambda_31jg7w(this$0) {
|
|
2147
|
-
return
|
|
2148
|
-
return hash(this$0.f2z());
|
|
2149
|
-
};
|
|
2150
|
-
}
|
|
2151
|
-
function AttoChangeBlock$_init_$lambda_31jg7w_0(this$0) {
|
|
2152
|
-
return function () {
|
|
2153
|
-
return new (AttoAddress())(this$0.f31_1, this$0.g31_1);
|
|
2154
|
-
};
|
|
2155
|
-
}
|
|
2156
|
-
function AttoChangeBlock$_init_$lambda_31jg7w_1(this$0) {
|
|
2157
|
-
return function () {
|
|
2158
|
-
return new (AttoAddress())(this$0.l31_1, this$0.m31_1);
|
|
2159
|
-
};
|
|
2120
|
+
return () => hash(this$0.e2w());
|
|
2160
2121
|
}
|
|
2161
2122
|
var AttoChangeBlockClass;
|
|
2162
2123
|
function AttoChangeBlock() {
|
|
2163
2124
|
if (AttoChangeBlockClass === VOID) {
|
|
2164
2125
|
class $ {
|
|
2165
2126
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
|
|
2166
|
-
|
|
2167
|
-
this.
|
|
2168
|
-
this.
|
|
2169
|
-
this.
|
|
2170
|
-
this.
|
|
2171
|
-
this.
|
|
2172
|
-
this.
|
|
2173
|
-
this.
|
|
2174
|
-
this.
|
|
2175
|
-
this.
|
|
2176
|
-
this.
|
|
2177
|
-
this.
|
|
2127
|
+
Companion_getInstance_8();
|
|
2128
|
+
this.m2z_1 = network;
|
|
2129
|
+
this.n2z_1 = version;
|
|
2130
|
+
this.o2z_1 = algorithm;
|
|
2131
|
+
this.p2z_1 = publicKey;
|
|
2132
|
+
this.q2z_1 = height;
|
|
2133
|
+
this.r2z_1 = balance;
|
|
2134
|
+
this.s2z_1 = timestamp;
|
|
2135
|
+
this.t2z_1 = previous;
|
|
2136
|
+
this.u2z_1 = representativeAlgorithm;
|
|
2137
|
+
this.v2z_1 = representativePublicKey;
|
|
2138
|
+
this.w2z_1 = AttoBlockType_CHANGE_getInstance();
|
|
2178
2139
|
var tmp = this;
|
|
2179
|
-
tmp.
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
var tmp_1 = this;
|
|
2183
|
-
tmp_1.q31_1 = lazy_0(AttoChangeBlock$representativeAddress$delegate$lambda(this));
|
|
2140
|
+
tmp.x2z_1 = lazy_0(AttoChangeBlock$hash$delegate$lambda(this));
|
|
2141
|
+
this.y2z_1 = new (AttoAddress())(this.o2z_1, this.p2z_1);
|
|
2142
|
+
this.representativeAddress = new (AttoAddress())(this.u2z_1, this.v2z_1);
|
|
2184
2143
|
}
|
|
2185
|
-
|
|
2186
|
-
return this.
|
|
2144
|
+
k2u() {
|
|
2145
|
+
return this.m2z_1;
|
|
2187
2146
|
}
|
|
2188
|
-
|
|
2189
|
-
return this.
|
|
2147
|
+
l2u() {
|
|
2148
|
+
return this.n2z_1;
|
|
2190
2149
|
}
|
|
2191
|
-
|
|
2192
|
-
return this.
|
|
2150
|
+
m2u() {
|
|
2151
|
+
return this.o2z_1;
|
|
2193
2152
|
}
|
|
2194
|
-
|
|
2195
|
-
return this.
|
|
2153
|
+
j2u() {
|
|
2154
|
+
return this.p2z_1;
|
|
2196
2155
|
}
|
|
2197
|
-
|
|
2198
|
-
return this.
|
|
2156
|
+
n2u() {
|
|
2157
|
+
return this.q2z_1;
|
|
2199
2158
|
}
|
|
2200
|
-
|
|
2201
|
-
return this.
|
|
2159
|
+
o2u() {
|
|
2160
|
+
return this.r2z_1;
|
|
2202
2161
|
}
|
|
2203
|
-
|
|
2204
|
-
return this.
|
|
2162
|
+
t2v() {
|
|
2163
|
+
return this.s2z_1;
|
|
2205
2164
|
}
|
|
2206
|
-
|
|
2207
|
-
return this.
|
|
2165
|
+
s2x() {
|
|
2166
|
+
return this.t2z_1;
|
|
2208
2167
|
}
|
|
2209
|
-
|
|
2210
|
-
return this.
|
|
2168
|
+
r2u() {
|
|
2169
|
+
return this.u2z_1;
|
|
2211
2170
|
}
|
|
2212
|
-
|
|
2213
|
-
return this.
|
|
2171
|
+
s2u() {
|
|
2172
|
+
return this.v2z_1;
|
|
2214
2173
|
}
|
|
2215
|
-
|
|
2216
|
-
return this.
|
|
2174
|
+
o2x() {
|
|
2175
|
+
return this.w2z_1;
|
|
2217
2176
|
}
|
|
2218
|
-
|
|
2219
|
-
var tmp0 = this.
|
|
2177
|
+
o2v() {
|
|
2178
|
+
var tmp0 = this.x2z_1;
|
|
2220
2179
|
var tmp = KProperty1();
|
|
2221
2180
|
// Inline function 'kotlin.getValue' call
|
|
2222
2181
|
getPropertyCallableRef('hash', 1, tmp, AttoChangeBlock$_get_hash_$ref_i4oufz(), null);
|
|
2223
|
-
return tmp0.
|
|
2182
|
+
return tmp0.z1();
|
|
2224
2183
|
}
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
var tmp = KProperty1();
|
|
2228
|
-
// Inline function 'kotlin.getValue' call
|
|
2229
|
-
getPropertyCallableRef('address', 1, tmp, AttoChangeBlock$_get_address_$ref_b5hbw7(), null);
|
|
2230
|
-
return tmp0.s1();
|
|
2184
|
+
t2u() {
|
|
2185
|
+
return this.y2z_1;
|
|
2231
2186
|
}
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
var tmp = KProperty1();
|
|
2235
|
-
// Inline function 'kotlin.getValue' call
|
|
2236
|
-
getPropertyCallableRef('representativeAddress', 1, tmp, AttoChangeBlock$_get_representativeAddress_$ref_2pxa6k(), null);
|
|
2237
|
-
return tmp0.s1();
|
|
2187
|
+
u2u() {
|
|
2188
|
+
return this.representativeAddress;
|
|
2238
2189
|
}
|
|
2239
|
-
|
|
2190
|
+
e2w() {
|
|
2240
2191
|
// Inline function 'kotlin.apply' call
|
|
2241
2192
|
var this_0 = new (Buffer())();
|
|
2242
|
-
writeAttoBlockType(this_0, this.
|
|
2243
|
-
writeAttoNetwork(this_0, this.
|
|
2244
|
-
writeAttoVersion(this_0, this.
|
|
2245
|
-
writeAttoAlgorithm(this_0, this.
|
|
2246
|
-
writeAttoPublicKey(this_0, this.
|
|
2247
|
-
writeAttoHeight(this_0, this.
|
|
2248
|
-
writeAttoAmount(this_0, this.
|
|
2249
|
-
writeInstant(this_0, this.
|
|
2250
|
-
writeAttoHash(this_0, this.
|
|
2251
|
-
writeAttoAlgorithm(this_0, this.
|
|
2252
|
-
writeAttoPublicKey(this_0, this.
|
|
2193
|
+
writeAttoBlockType(this_0, this.w2z_1);
|
|
2194
|
+
writeAttoNetwork(this_0, this.m2z_1);
|
|
2195
|
+
writeAttoVersion(this_0, this.n2z_1);
|
|
2196
|
+
writeAttoAlgorithm(this_0, this.o2z_1);
|
|
2197
|
+
writeAttoPublicKey(this_0, this.p2z_1);
|
|
2198
|
+
writeAttoHeight(this_0, this.q2z_1);
|
|
2199
|
+
writeAttoAmount(this_0, this.r2z_1);
|
|
2200
|
+
writeInstant(this_0, this.s2z_1);
|
|
2201
|
+
writeAttoHash(this_0, this.t2z_1);
|
|
2202
|
+
writeAttoAlgorithm(this_0, this.u2z_1);
|
|
2203
|
+
writeAttoPublicKey(this_0, this.v2z_1);
|
|
2253
2204
|
return this_0;
|
|
2254
2205
|
}
|
|
2255
|
-
|
|
2256
|
-
return
|
|
2257
|
-
}
|
|
2258
|
-
gl() {
|
|
2259
|
-
return this.d31_1;
|
|
2206
|
+
te() {
|
|
2207
|
+
return this.m2z_1;
|
|
2260
2208
|
}
|
|
2261
|
-
|
|
2262
|
-
return this.
|
|
2209
|
+
ue() {
|
|
2210
|
+
return this.n2z_1;
|
|
2263
2211
|
}
|
|
2264
|
-
|
|
2265
|
-
return this.
|
|
2212
|
+
z2u() {
|
|
2213
|
+
return this.o2z_1;
|
|
2266
2214
|
}
|
|
2267
|
-
|
|
2268
|
-
return this.
|
|
2215
|
+
a2v() {
|
|
2216
|
+
return this.p2z_1;
|
|
2269
2217
|
}
|
|
2270
|
-
|
|
2271
|
-
return this.
|
|
2218
|
+
b2v() {
|
|
2219
|
+
return this.q2z_1;
|
|
2272
2220
|
}
|
|
2273
|
-
|
|
2274
|
-
return this.
|
|
2221
|
+
c2v() {
|
|
2222
|
+
return this.r2z_1;
|
|
2275
2223
|
}
|
|
2276
|
-
|
|
2277
|
-
return this.
|
|
2224
|
+
d2v() {
|
|
2225
|
+
return this.s2z_1;
|
|
2278
2226
|
}
|
|
2279
|
-
|
|
2280
|
-
return this.
|
|
2227
|
+
e2v() {
|
|
2228
|
+
return this.t2z_1;
|
|
2281
2229
|
}
|
|
2282
|
-
|
|
2283
|
-
return this.
|
|
2230
|
+
f2v() {
|
|
2231
|
+
return this.u2z_1;
|
|
2284
2232
|
}
|
|
2285
|
-
|
|
2286
|
-
return this.
|
|
2233
|
+
g2v() {
|
|
2234
|
+
return this.v2z_1;
|
|
2287
2235
|
}
|
|
2288
|
-
|
|
2236
|
+
a30(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
|
|
2289
2237
|
return new (AttoChangeBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey);
|
|
2290
2238
|
}
|
|
2291
2239
|
copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey, $super) {
|
|
2292
|
-
network = network === VOID ? this.
|
|
2293
|
-
version = version === VOID ? this.
|
|
2294
|
-
algorithm = algorithm === VOID ? this.
|
|
2295
|
-
publicKey = publicKey === VOID ? this.
|
|
2296
|
-
height = height === VOID ? this.
|
|
2297
|
-
balance = balance === VOID ? this.
|
|
2298
|
-
timestamp = timestamp === VOID ? this.
|
|
2299
|
-
previous = previous === VOID ? this.
|
|
2300
|
-
representativeAlgorithm = representativeAlgorithm === VOID ? this.
|
|
2301
|
-
representativePublicKey = representativePublicKey === VOID ? this.
|
|
2302
|
-
return $super === VOID ? this.
|
|
2240
|
+
network = network === VOID ? this.m2z_1 : network;
|
|
2241
|
+
version = version === VOID ? this.n2z_1 : version;
|
|
2242
|
+
algorithm = algorithm === VOID ? this.o2z_1 : algorithm;
|
|
2243
|
+
publicKey = publicKey === VOID ? this.p2z_1 : publicKey;
|
|
2244
|
+
height = height === VOID ? this.q2z_1 : height;
|
|
2245
|
+
balance = balance === VOID ? this.r2z_1 : balance;
|
|
2246
|
+
timestamp = timestamp === VOID ? this.s2z_1 : timestamp;
|
|
2247
|
+
previous = previous === VOID ? this.t2z_1 : previous;
|
|
2248
|
+
representativeAlgorithm = representativeAlgorithm === VOID ? this.u2z_1 : representativeAlgorithm;
|
|
2249
|
+
representativePublicKey = representativePublicKey === VOID ? this.v2z_1 : representativePublicKey;
|
|
2250
|
+
return $super === VOID ? this.a30(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) : $super.a30.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey);
|
|
2303
2251
|
}
|
|
2304
2252
|
toString() {
|
|
2305
|
-
return 'AttoChangeBlock(network=' + this.
|
|
2253
|
+
return 'AttoChangeBlock(network=' + this.m2z_1.toString() + ', version=' + this.n2z_1.toString() + ', algorithm=' + this.o2z_1.toString() + ', publicKey=' + this.p2z_1.toString() + ', height=' + this.q2z_1.toString() + ', balance=' + this.r2z_1.toString() + ', timestamp=' + this.s2z_1.toString() + ', previous=' + this.t2z_1.toString() + ', representativeAlgorithm=' + this.u2z_1.toString() + ', representativePublicKey=' + this.v2z_1.toString() + ')';
|
|
2306
2254
|
}
|
|
2307
2255
|
hashCode() {
|
|
2308
|
-
var result = this.
|
|
2309
|
-
result = imul(result, 31) + this.
|
|
2310
|
-
result = imul(result, 31) + this.
|
|
2311
|
-
result = imul(result, 31) + this.
|
|
2312
|
-
result = imul(result, 31) + this.
|
|
2313
|
-
result = imul(result, 31) + this.
|
|
2314
|
-
result = imul(result, 31) + this.
|
|
2315
|
-
result = imul(result, 31) + this.
|
|
2316
|
-
result = imul(result, 31) + this.
|
|
2317
|
-
result = imul(result, 31) + this.
|
|
2256
|
+
var result = this.m2z_1.hashCode();
|
|
2257
|
+
result = imul(result, 31) + this.n2z_1.hashCode() | 0;
|
|
2258
|
+
result = imul(result, 31) + this.o2z_1.hashCode() | 0;
|
|
2259
|
+
result = imul(result, 31) + this.p2z_1.hashCode() | 0;
|
|
2260
|
+
result = imul(result, 31) + this.q2z_1.hashCode() | 0;
|
|
2261
|
+
result = imul(result, 31) + this.r2z_1.hashCode() | 0;
|
|
2262
|
+
result = imul(result, 31) + this.s2z_1.hashCode() | 0;
|
|
2263
|
+
result = imul(result, 31) + this.t2z_1.hashCode() | 0;
|
|
2264
|
+
result = imul(result, 31) + this.u2z_1.hashCode() | 0;
|
|
2265
|
+
result = imul(result, 31) + this.v2z_1.hashCode() | 0;
|
|
2318
2266
|
return result;
|
|
2319
2267
|
}
|
|
2320
2268
|
equals(other) {
|
|
@@ -2322,97 +2270,99 @@ function AttoChangeBlock() {
|
|
|
2322
2270
|
return true;
|
|
2323
2271
|
if (!(other instanceof AttoChangeBlock()))
|
|
2324
2272
|
return false;
|
|
2325
|
-
|
|
2326
|
-
if (!this.d31_1.equals(tmp0_other_with_cast.d31_1))
|
|
2273
|
+
if (!this.m2z_1.equals(other.m2z_1))
|
|
2327
2274
|
return false;
|
|
2328
|
-
if (!this.
|
|
2275
|
+
if (!this.n2z_1.equals(other.n2z_1))
|
|
2329
2276
|
return false;
|
|
2330
|
-
if (!this.
|
|
2277
|
+
if (!this.o2z_1.equals(other.o2z_1))
|
|
2331
2278
|
return false;
|
|
2332
|
-
if (!this.
|
|
2279
|
+
if (!this.p2z_1.equals(other.p2z_1))
|
|
2333
2280
|
return false;
|
|
2334
|
-
if (!this.
|
|
2281
|
+
if (!this.q2z_1.equals(other.q2z_1))
|
|
2335
2282
|
return false;
|
|
2336
|
-
if (!this.
|
|
2283
|
+
if (!this.r2z_1.equals(other.r2z_1))
|
|
2337
2284
|
return false;
|
|
2338
|
-
if (!this.
|
|
2285
|
+
if (!this.s2z_1.equals(other.s2z_1))
|
|
2339
2286
|
return false;
|
|
2340
|
-
if (!this.
|
|
2287
|
+
if (!this.t2z_1.equals(other.t2z_1))
|
|
2341
2288
|
return false;
|
|
2342
|
-
if (!this.
|
|
2289
|
+
if (!this.u2z_1.equals(other.u2z_1))
|
|
2343
2290
|
return false;
|
|
2344
|
-
if (!this.
|
|
2291
|
+
if (!this.v2z_1.equals(other.v2z_1))
|
|
2345
2292
|
return false;
|
|
2346
2293
|
return true;
|
|
2347
2294
|
}
|
|
2348
|
-
static
|
|
2349
|
-
|
|
2295
|
+
static z2z(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey, address, representativeAddress, serializationConstructorMarker) {
|
|
2296
|
+
Companion_getInstance_8();
|
|
2350
2297
|
if (!(1023 === (1023 & seen0))) {
|
|
2351
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_2().
|
|
2298
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_2().k2z_1);
|
|
2352
2299
|
}
|
|
2353
2300
|
var $this = createThis(this);
|
|
2354
|
-
$this.
|
|
2355
|
-
$this.
|
|
2356
|
-
$this.
|
|
2357
|
-
$this.
|
|
2358
|
-
$this.
|
|
2359
|
-
$this.
|
|
2360
|
-
$this.
|
|
2361
|
-
$this.
|
|
2362
|
-
$this.
|
|
2363
|
-
$this.
|
|
2364
|
-
$this.
|
|
2301
|
+
$this.m2z_1 = network;
|
|
2302
|
+
$this.n2z_1 = version;
|
|
2303
|
+
$this.o2z_1 = algorithm;
|
|
2304
|
+
$this.p2z_1 = publicKey;
|
|
2305
|
+
$this.q2z_1 = height;
|
|
2306
|
+
$this.r2z_1 = balance;
|
|
2307
|
+
$this.s2z_1 = timestamp;
|
|
2308
|
+
$this.t2z_1 = previous;
|
|
2309
|
+
$this.u2z_1 = representativeAlgorithm;
|
|
2310
|
+
$this.v2z_1 = representativePublicKey;
|
|
2311
|
+
$this.w2z_1 = AttoBlockType_CHANGE_getInstance();
|
|
2365
2312
|
var tmp = $this;
|
|
2366
|
-
tmp.
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2313
|
+
tmp.x2z_1 = lazy_0(AttoChangeBlock$_init_$lambda_31jg7w($this));
|
|
2314
|
+
if (0 === (seen0 & 1024))
|
|
2315
|
+
$this.y2z_1 = new (AttoAddress())($this.o2z_1, $this.p2z_1);
|
|
2316
|
+
else
|
|
2317
|
+
$this.y2z_1 = address;
|
|
2318
|
+
if (0 === (seen0 & 2048))
|
|
2319
|
+
$this.representativeAddress = new (AttoAddress())($this.u2z_1, $this.v2z_1);
|
|
2320
|
+
else
|
|
2321
|
+
$this.representativeAddress = representativeAddress;
|
|
2371
2322
|
return $this;
|
|
2372
2323
|
}
|
|
2373
2324
|
get network() {
|
|
2374
|
-
return this.
|
|
2325
|
+
return this.k2u();
|
|
2375
2326
|
}
|
|
2376
2327
|
get version() {
|
|
2377
|
-
return this.
|
|
2328
|
+
return this.l2u();
|
|
2378
2329
|
}
|
|
2379
2330
|
get algorithm() {
|
|
2380
|
-
return this.
|
|
2331
|
+
return this.m2u();
|
|
2381
2332
|
}
|
|
2382
2333
|
get publicKey() {
|
|
2383
|
-
return this.
|
|
2334
|
+
return this.j2u();
|
|
2384
2335
|
}
|
|
2385
2336
|
get height() {
|
|
2386
|
-
return this.
|
|
2337
|
+
return this.n2u();
|
|
2387
2338
|
}
|
|
2388
2339
|
get balance() {
|
|
2389
|
-
return this.
|
|
2340
|
+
return this.o2u();
|
|
2390
2341
|
}
|
|
2391
2342
|
get timestamp() {
|
|
2392
|
-
return this.
|
|
2343
|
+
return this.t2v();
|
|
2393
2344
|
}
|
|
2394
2345
|
get previous() {
|
|
2395
|
-
return this.
|
|
2346
|
+
return this.s2x();
|
|
2396
2347
|
}
|
|
2397
2348
|
get representativeAlgorithm() {
|
|
2398
|
-
return this.
|
|
2349
|
+
return this.r2u();
|
|
2399
2350
|
}
|
|
2400
2351
|
get representativePublicKey() {
|
|
2401
|
-
return this.
|
|
2352
|
+
return this.s2u();
|
|
2402
2353
|
}
|
|
2403
2354
|
get type() {
|
|
2404
|
-
return this.
|
|
2355
|
+
return this.o2x();
|
|
2405
2356
|
}
|
|
2406
2357
|
get hash() {
|
|
2407
|
-
return this.
|
|
2358
|
+
return this.o2v();
|
|
2408
2359
|
}
|
|
2409
2360
|
get address() {
|
|
2410
|
-
return this.
|
|
2411
|
-
}
|
|
2412
|
-
get representativeAddress() {
|
|
2413
|
-
return this.p2w();
|
|
2361
|
+
return this.t2u();
|
|
2414
2362
|
}
|
|
2415
2363
|
}
|
|
2364
|
+
protoOf($).validate = validate;
|
|
2365
|
+
protoOf($).isValid = isValid;
|
|
2416
2366
|
initMetadataForClass($, 'AttoChangeBlock', VOID, VOID, [AttoBlock(), PreviousSupport(), RepresentativeSupport()], VOID, VOID, {0: $serializer_getInstance_2});
|
|
2417
2367
|
AttoChangeBlockClass = $;
|
|
2418
2368
|
}
|
|
@@ -2446,10 +2396,11 @@ function _init_properties_AttoBlock_kt__sp9j9p() {
|
|
|
2446
2396
|
}
|
|
2447
2397
|
}
|
|
2448
2398
|
//region block: init
|
|
2449
|
-
|
|
2399
|
+
Companion_instance_1 = new (Companion_0())();
|
|
2450
2400
|
//endregion
|
|
2451
2401
|
//region block: exports
|
|
2452
2402
|
export {
|
|
2403
|
+
AddressSupport as AddressSupport1ium5ptu9zo8y,
|
|
2453
2404
|
Companion_0 as Companion1dgdscbdp629o,
|
|
2454
2405
|
Companion as Companion3u1bosrh7rroz,
|
|
2455
2406
|
valueOf as valueOfb8c3bsf1tbuo,
|
|
@@ -2471,13 +2422,13 @@ export {
|
|
|
2471
2422
|
AttoBlockType_RECEIVE_getInstance as AttoBlockType_RECEIVE_getInstancemszz2w4jvf1a,
|
|
2472
2423
|
AttoBlockType_SEND_getInstance as AttoBlockType_SEND_getInstance381mhjyjs1zzi,
|
|
2473
2424
|
AttoBlockType_UNKNOWN_getInstance as AttoBlockType_UNKNOWN_getInstance3dnnplul63rg3,
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2425
|
+
Companion_getInstance_4 as Companion_getInstance1l72fs50ibztr,
|
|
2426
|
+
Companion_instance_1 as Companion_instance387qsp52z8jyu,
|
|
2427
|
+
Companion_getInstance_3 as Companion_getInstance2phtijzt3ebp3,
|
|
2428
|
+
Companion_getInstance_8 as Companion_getInstance22d8d928ihuoo,
|
|
2429
|
+
Companion_getInstance_7 as Companion_getInstance30jgubha5f9hp,
|
|
2430
|
+
Companion_getInstance_6 as Companion_getInstance3uyok5rq53k69,
|
|
2431
|
+
Companion_getInstance_5 as Companion_getInstance1oozvss6gswmf,
|
|
2481
2432
|
};
|
|
2482
2433
|
//endregion
|
|
2483
2434
|
|