@attocash/commons-test 6.2.0 → 6.2.1
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 +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +104 -104
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- 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/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +38 -38
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-test/cash/atto/commons/node/AttoMockWorker.mjs +8 -8
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.js.mjs +32 -32
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +20 -20
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +28 -28
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMock.js.mjs +15 -15
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +12 -12
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +12 -12
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +38 -38
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +202 -249
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +37 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +36 -73
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +51 -51
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +204 -204
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +17 -112
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
- 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.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +90 -112
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +462 -462
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +19 -19
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +51 -51
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +65 -65
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +39 -39
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +74 -74
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- 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 +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- 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/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- 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/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- 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 +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- 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 +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +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 +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- 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-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +40 -40
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -137,17 +137,17 @@ function Companion() {
|
|
|
137
137
|
var this_0 = get_entries();
|
|
138
138
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
139
139
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
140
|
-
var destination = LinkedHashMap().
|
|
140
|
+
var destination = LinkedHashMap().hc(capacity);
|
|
141
141
|
var _iterator__ex2g4s = this_0.q1();
|
|
142
142
|
while (_iterator__ex2g4s.r1()) {
|
|
143
143
|
var element = _iterator__ex2g4s.s1();
|
|
144
144
|
var tmp$ret$0 = new (UByte())(element.code);
|
|
145
|
-
destination.
|
|
145
|
+
destination.r4(tmp$ret$0, element);
|
|
146
146
|
}
|
|
147
|
-
tmp.
|
|
147
|
+
tmp.e4n_1 = destination;
|
|
148
148
|
}
|
|
149
149
|
from(code) {
|
|
150
|
-
var tmp0_elvis_lhs = this.
|
|
150
|
+
var tmp0_elvis_lhs = this.e4n_1.o4(new (UByte())(code));
|
|
151
151
|
return tmp0_elvis_lhs == null ? AttoBlockType_UNKNOWN_getInstance() : tmp0_elvis_lhs;
|
|
152
152
|
}
|
|
153
153
|
}
|
|
@@ -211,7 +211,7 @@ function AttoBlockType() {
|
|
|
211
211
|
this.code = code;
|
|
212
212
|
this.size = size;
|
|
213
213
|
}
|
|
214
|
-
|
|
214
|
+
i4m() {
|
|
215
215
|
return this.code;
|
|
216
216
|
}
|
|
217
217
|
u2() {
|
|
@@ -221,7 +221,7 @@ function AttoBlockType() {
|
|
|
221
221
|
return this.i1();
|
|
222
222
|
}
|
|
223
223
|
get ordinal() {
|
|
224
|
-
return this.
|
|
224
|
+
return this.z4();
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
initMetadataForClass($, 'AttoBlockType');
|
|
@@ -254,21 +254,21 @@ function Companion_0() {
|
|
|
254
254
|
fromBuffer(serializedBlock) {
|
|
255
255
|
// Inline function 'kotlin.let' call
|
|
256
256
|
var it = new (Buffer())();
|
|
257
|
-
serializedBlock.
|
|
257
|
+
serializedBlock.g2i(it, 0n, 1n);
|
|
258
258
|
var type = readAttoBlockType(it);
|
|
259
259
|
var tmp;
|
|
260
260
|
switch (type.x1_1) {
|
|
261
261
|
case 3:
|
|
262
|
-
tmp = Companion_getInstance_5().
|
|
262
|
+
tmp = Companion_getInstance_5().g4n(serializedBlock);
|
|
263
263
|
break;
|
|
264
264
|
case 2:
|
|
265
|
-
tmp = Companion_getInstance_6().
|
|
265
|
+
tmp = Companion_getInstance_6().g4n(serializedBlock);
|
|
266
266
|
break;
|
|
267
267
|
case 1:
|
|
268
|
-
tmp = Companion_getInstance_7().
|
|
268
|
+
tmp = Companion_getInstance_7().g4n(serializedBlock);
|
|
269
269
|
break;
|
|
270
270
|
case 4:
|
|
271
|
-
tmp = Companion_getInstance_8().
|
|
271
|
+
tmp = Companion_getInstance_8().g4n(serializedBlock);
|
|
272
272
|
break;
|
|
273
273
|
case 0:
|
|
274
274
|
return null;
|
|
@@ -278,7 +278,7 @@ function Companion_0() {
|
|
|
278
278
|
}
|
|
279
279
|
return tmp;
|
|
280
280
|
}
|
|
281
|
-
|
|
281
|
+
y1g() {
|
|
282
282
|
var tmp = getKClass(AttoBlock());
|
|
283
283
|
// Inline function 'kotlin.arrayOf' call
|
|
284
284
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -292,10 +292,10 @@ function Companion_0() {
|
|
|
292
292
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
293
293
|
// Inline function 'kotlin.js.asDynamic' call
|
|
294
294
|
var tmp$ret$8 = [];
|
|
295
|
-
return SealedClassSerializer().
|
|
295
|
+
return SealedClassSerializer().cu('cash.atto.commons.AttoBlock', tmp, tmp_0, tmp_1, tmp$ret$8);
|
|
296
296
|
}
|
|
297
|
-
|
|
298
|
-
return this.
|
|
297
|
+
a16(typeParamsSerializers) {
|
|
298
|
+
return this.y1g();
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
initMetadataForCompanion($, VOID, [SerializerFactory()]);
|
|
@@ -308,7 +308,7 @@ function Companion_getInstance_4() {
|
|
|
308
308
|
return Companion_instance_1;
|
|
309
309
|
}
|
|
310
310
|
function validate() {
|
|
311
|
-
if (this.version.
|
|
311
|
+
if (this.version.l4n(get_maxVersion()) > 0) {
|
|
312
312
|
return new (Error_0())('Invalid version: version=' + this.version.toString() + ' > max=' + get_maxVersion().toString());
|
|
313
313
|
}
|
|
314
314
|
var now = Companion_instance.now();
|
|
@@ -316,7 +316,7 @@ function validate() {
|
|
|
316
316
|
// Inline function 'kotlin.time.Companion.minutes' call
|
|
317
317
|
Companion_getInstance();
|
|
318
318
|
var tmp$ret$0 = toDuration(1, DurationUnit_MINUTES_getInstance());
|
|
319
|
-
if (tmp.
|
|
319
|
+
if (tmp.r4k(now.lp(tmp$ret$0)) > 0) {
|
|
320
320
|
return new (Error_0())('Timestamp too far in the future: timestamp=' + this.timestamp.toString() + ', now=' + now.toString() + ', tolerance=1m');
|
|
321
321
|
}
|
|
322
322
|
if (!(this.algorithm.publicKeySize === this.publicKey.value.length)) {
|
|
@@ -351,7 +351,7 @@ function validate() {
|
|
|
351
351
|
}
|
|
352
352
|
var tmp_3;
|
|
353
353
|
if (!(this instanceof AttoOpenBlock())) {
|
|
354
|
-
tmp_3 = this.height.
|
|
354
|
+
tmp_3 = this.height.m4n(Companion_getInstance_1().MIN) <= 0;
|
|
355
355
|
} else {
|
|
356
356
|
tmp_3 = false;
|
|
357
357
|
}
|
|
@@ -370,7 +370,7 @@ function validate() {
|
|
|
370
370
|
return Ok_instance;
|
|
371
371
|
}
|
|
372
372
|
function isValid() {
|
|
373
|
-
return this.validate().
|
|
373
|
+
return this.validate().n4n();
|
|
374
374
|
}
|
|
375
375
|
var AttoBlockClass;
|
|
376
376
|
function AttoBlock() {
|
|
@@ -412,10 +412,10 @@ function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99() {
|
|
|
412
412
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
413
413
|
}
|
|
414
414
|
function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_0() {
|
|
415
|
-
return Companion_getInstance_2().
|
|
415
|
+
return Companion_getInstance_2().y1g();
|
|
416
416
|
}
|
|
417
417
|
function AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_1() {
|
|
418
|
-
return Companion_getInstance_2().
|
|
418
|
+
return Companion_getInstance_2().y1g();
|
|
419
419
|
}
|
|
420
420
|
var CompanionClass_1;
|
|
421
421
|
function Companion_1() {
|
|
@@ -432,9 +432,9 @@ function Companion_1() {
|
|
|
432
432
|
// Inline function 'kotlin.arrayOf' call
|
|
433
433
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
434
434
|
// Inline function 'kotlin.js.asDynamic' call
|
|
435
|
-
tmp.
|
|
435
|
+
tmp.f4n_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoSendBlock$Companion$$childSerializers$_anonymous__s9zy99_1), null, null, null, null];
|
|
436
436
|
}
|
|
437
|
-
|
|
437
|
+
g4n(serializedBlock) {
|
|
438
438
|
if (fromInt(AttoBlockType_SEND_getInstance().size) > serializedBlock.u2()) {
|
|
439
439
|
return null;
|
|
440
440
|
}
|
|
@@ -444,7 +444,7 @@ function Companion_1() {
|
|
|
444
444
|
}
|
|
445
445
|
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));
|
|
446
446
|
}
|
|
447
|
-
|
|
447
|
+
y1g() {
|
|
448
448
|
return $serializer_getInstance();
|
|
449
449
|
}
|
|
450
450
|
}
|
|
@@ -466,45 +466,45 @@ function $serializer() {
|
|
|
466
466
|
constructor() {
|
|
467
467
|
$serializer_instance = this;
|
|
468
468
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('SEND', this, 13);
|
|
469
|
-
tmp0_serialDesc.
|
|
470
|
-
tmp0_serialDesc.
|
|
471
|
-
tmp0_serialDesc.
|
|
472
|
-
tmp0_serialDesc.
|
|
473
|
-
tmp0_serialDesc.
|
|
474
|
-
tmp0_serialDesc.
|
|
475
|
-
tmp0_serialDesc.
|
|
476
|
-
tmp0_serialDesc.
|
|
477
|
-
tmp0_serialDesc.
|
|
478
|
-
tmp0_serialDesc.
|
|
479
|
-
tmp0_serialDesc.
|
|
480
|
-
tmp0_serialDesc.
|
|
481
|
-
tmp0_serialDesc.
|
|
482
|
-
this.
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
var tmp0_desc = this.
|
|
486
|
-
var tmp1_output = encoder.
|
|
487
|
-
var tmp2_cached = Companion_getInstance_5().
|
|
488
|
-
tmp1_output.
|
|
489
|
-
tmp1_output.
|
|
490
|
-
tmp1_output.
|
|
491
|
-
tmp1_output.
|
|
492
|
-
tmp1_output.
|
|
493
|
-
tmp1_output.
|
|
494
|
-
tmp1_output.
|
|
495
|
-
tmp1_output.
|
|
496
|
-
tmp1_output.
|
|
497
|
-
tmp1_output.
|
|
498
|
-
tmp1_output.
|
|
499
|
-
tmp1_output.
|
|
500
|
-
tmp1_output.
|
|
501
|
-
tmp1_output.
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
return this.
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
var tmp0_desc = this.
|
|
469
|
+
tmp0_serialDesc.z14('network', false);
|
|
470
|
+
tmp0_serialDesc.z14('version', false);
|
|
471
|
+
tmp0_serialDesc.z14('algorithm', false);
|
|
472
|
+
tmp0_serialDesc.z14('publicKey', false);
|
|
473
|
+
tmp0_serialDesc.z14('height', false);
|
|
474
|
+
tmp0_serialDesc.z14('balance', false);
|
|
475
|
+
tmp0_serialDesc.z14('timestamp', false);
|
|
476
|
+
tmp0_serialDesc.z14('previous', false);
|
|
477
|
+
tmp0_serialDesc.z14('receiverAlgorithm', false);
|
|
478
|
+
tmp0_serialDesc.z14('receiverPublicKey', false);
|
|
479
|
+
tmp0_serialDesc.z14('amount', false);
|
|
480
|
+
tmp0_serialDesc.z14('address', true);
|
|
481
|
+
tmp0_serialDesc.z14('receiverAddress', true);
|
|
482
|
+
this.r4n_1 = tmp0_serialDesc;
|
|
483
|
+
}
|
|
484
|
+
s4n(encoder, value) {
|
|
485
|
+
var tmp0_desc = this.r4n_1;
|
|
486
|
+
var tmp1_output = encoder.lx(tmp0_desc);
|
|
487
|
+
var tmp2_cached = Companion_getInstance_5().f4n_1;
|
|
488
|
+
tmp1_output.cz(tmp0_desc, 0, tmp2_cached[0].g3(), value.t4n_1);
|
|
489
|
+
tmp1_output.cz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.u4n_1);
|
|
490
|
+
tmp1_output.cz(tmp0_desc, 2, tmp2_cached[2].g3(), value.v4n_1);
|
|
491
|
+
tmp1_output.cz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.w4n_1);
|
|
492
|
+
tmp1_output.cz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.x4n_1);
|
|
493
|
+
tmp1_output.cz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.y4n_1);
|
|
494
|
+
tmp1_output.cz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.z4n_1);
|
|
495
|
+
tmp1_output.cz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.a4o_1);
|
|
496
|
+
tmp1_output.cz(tmp0_desc, 8, tmp2_cached[8].g3(), value.receiverAlgorithm);
|
|
497
|
+
tmp1_output.cz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.receiverPublicKey);
|
|
498
|
+
tmp1_output.cz(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), value.amount);
|
|
499
|
+
tmp1_output.cz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.d4o_1);
|
|
500
|
+
tmp1_output.cz(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), value.receiverAddress);
|
|
501
|
+
tmp1_output.mx(tmp0_desc);
|
|
502
|
+
}
|
|
503
|
+
xs(encoder, value) {
|
|
504
|
+
return this.s4n(encoder, value instanceof AttoSendBlock() ? value : THROW_CCE());
|
|
505
|
+
}
|
|
506
|
+
ys(decoder) {
|
|
507
|
+
var tmp0_desc = this.r4n_1;
|
|
508
508
|
var tmp1_flag = true;
|
|
509
509
|
var tmp2_index = 0;
|
|
510
510
|
var tmp3_bitMask0 = 0;
|
|
@@ -521,113 +521,113 @@ function $serializer() {
|
|
|
521
521
|
var tmp14_local10 = null;
|
|
522
522
|
var tmp15_local11 = null;
|
|
523
523
|
var tmp16_local12 = null;
|
|
524
|
-
var tmp19_input = decoder.
|
|
525
|
-
var tmp20_cached = Companion_getInstance_5().
|
|
526
|
-
if (tmp19_input.
|
|
527
|
-
tmp4_local0 = tmp19_input.
|
|
524
|
+
var tmp19_input = decoder.lx(tmp0_desc);
|
|
525
|
+
var tmp20_cached = Companion_getInstance_5().f4n_1;
|
|
526
|
+
if (tmp19_input.ay()) {
|
|
527
|
+
tmp4_local0 = tmp19_input.xx(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
528
528
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
529
|
-
tmp5_local1 = tmp19_input.
|
|
529
|
+
tmp5_local1 = tmp19_input.xx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
530
530
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
531
|
-
tmp6_local2 = tmp19_input.
|
|
531
|
+
tmp6_local2 = tmp19_input.xx(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
532
532
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
533
|
-
tmp7_local3 = tmp19_input.
|
|
533
|
+
tmp7_local3 = tmp19_input.xx(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
534
534
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
535
|
-
tmp8_local4 = tmp19_input.
|
|
535
|
+
tmp8_local4 = tmp19_input.xx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
536
536
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
537
|
-
tmp9_local5 = tmp19_input.
|
|
537
|
+
tmp9_local5 = tmp19_input.xx(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
538
538
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
539
|
-
tmp10_local6 = tmp19_input.
|
|
539
|
+
tmp10_local6 = tmp19_input.xx(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
540
540
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
541
|
-
tmp11_local7 = tmp19_input.
|
|
541
|
+
tmp11_local7 = tmp19_input.xx(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
542
542
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
543
|
-
tmp12_local8 = tmp19_input.
|
|
543
|
+
tmp12_local8 = tmp19_input.xx(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
544
544
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
545
|
-
tmp13_local9 = tmp19_input.
|
|
545
|
+
tmp13_local9 = tmp19_input.xx(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
546
546
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
547
|
-
tmp14_local10 = tmp19_input.
|
|
547
|
+
tmp14_local10 = tmp19_input.xx(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), tmp14_local10);
|
|
548
548
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
549
|
-
tmp15_local11 = tmp19_input.
|
|
549
|
+
tmp15_local11 = tmp19_input.xx(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
550
550
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
551
|
-
tmp16_local12 = tmp19_input.
|
|
551
|
+
tmp16_local12 = tmp19_input.xx(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
552
552
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
553
553
|
} else
|
|
554
554
|
while (tmp1_flag) {
|
|
555
|
-
tmp2_index = tmp19_input.
|
|
555
|
+
tmp2_index = tmp19_input.by(tmp0_desc);
|
|
556
556
|
switch (tmp2_index) {
|
|
557
557
|
case -1:
|
|
558
558
|
tmp1_flag = false;
|
|
559
559
|
break;
|
|
560
560
|
case 0:
|
|
561
|
-
tmp4_local0 = tmp19_input.
|
|
561
|
+
tmp4_local0 = tmp19_input.xx(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
562
562
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
563
563
|
break;
|
|
564
564
|
case 1:
|
|
565
|
-
tmp5_local1 = tmp19_input.
|
|
565
|
+
tmp5_local1 = tmp19_input.xx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
566
566
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
567
567
|
break;
|
|
568
568
|
case 2:
|
|
569
|
-
tmp6_local2 = tmp19_input.
|
|
569
|
+
tmp6_local2 = tmp19_input.xx(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
570
570
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
571
571
|
break;
|
|
572
572
|
case 3:
|
|
573
|
-
tmp7_local3 = tmp19_input.
|
|
573
|
+
tmp7_local3 = tmp19_input.xx(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
574
574
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
575
575
|
break;
|
|
576
576
|
case 4:
|
|
577
|
-
tmp8_local4 = tmp19_input.
|
|
577
|
+
tmp8_local4 = tmp19_input.xx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
578
578
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
579
579
|
break;
|
|
580
580
|
case 5:
|
|
581
|
-
tmp9_local5 = tmp19_input.
|
|
581
|
+
tmp9_local5 = tmp19_input.xx(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
582
582
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
583
583
|
break;
|
|
584
584
|
case 6:
|
|
585
|
-
tmp10_local6 = tmp19_input.
|
|
585
|
+
tmp10_local6 = tmp19_input.xx(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
586
586
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
587
587
|
break;
|
|
588
588
|
case 7:
|
|
589
|
-
tmp11_local7 = tmp19_input.
|
|
589
|
+
tmp11_local7 = tmp19_input.xx(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
590
590
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
591
591
|
break;
|
|
592
592
|
case 8:
|
|
593
|
-
tmp12_local8 = tmp19_input.
|
|
593
|
+
tmp12_local8 = tmp19_input.xx(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
594
594
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
595
595
|
break;
|
|
596
596
|
case 9:
|
|
597
|
-
tmp13_local9 = tmp19_input.
|
|
597
|
+
tmp13_local9 = tmp19_input.xx(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
598
598
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
599
599
|
break;
|
|
600
600
|
case 10:
|
|
601
|
-
tmp14_local10 = tmp19_input.
|
|
601
|
+
tmp14_local10 = tmp19_input.xx(tmp0_desc, 10, AttoAmountAsULongSerializer_getInstance(), tmp14_local10);
|
|
602
602
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
603
603
|
break;
|
|
604
604
|
case 11:
|
|
605
|
-
tmp15_local11 = tmp19_input.
|
|
605
|
+
tmp15_local11 = tmp19_input.xx(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
606
606
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
607
607
|
break;
|
|
608
608
|
case 12:
|
|
609
|
-
tmp16_local12 = tmp19_input.
|
|
609
|
+
tmp16_local12 = tmp19_input.xx(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
610
610
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
611
611
|
break;
|
|
612
612
|
default:
|
|
613
|
-
throw UnknownFieldException().
|
|
613
|
+
throw UnknownFieldException().su(tmp2_index);
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
tmp19_input.
|
|
617
|
-
return AttoSendBlock().
|
|
616
|
+
tmp19_input.mx(tmp0_desc);
|
|
617
|
+
return AttoSendBlock().e4o(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);
|
|
618
618
|
}
|
|
619
|
-
|
|
620
|
-
return this.
|
|
619
|
+
ws() {
|
|
620
|
+
return this.r4n_1;
|
|
621
621
|
}
|
|
622
|
-
|
|
623
|
-
var tmp0_cached = Companion_getInstance_5().
|
|
622
|
+
o15() {
|
|
623
|
+
var tmp0_cached = Companion_getInstance_5().f4n_1;
|
|
624
624
|
// Inline function 'kotlin.arrayOf' call
|
|
625
625
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
626
626
|
// Inline function 'kotlin.js.asDynamic' call
|
|
627
627
|
return [tmp0_cached[0].g3(), AttoVersionSerializer_getInstance(), tmp0_cached[2].g3(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].g3(), AttoPublicKeyAsStringSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
protoOf($).
|
|
630
|
+
protoOf($).p15 = typeParametersSerializers;
|
|
631
631
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
632
632
|
$serializerClass = $;
|
|
633
633
|
}
|
|
@@ -640,13 +640,13 @@ function $serializer_getInstance() {
|
|
|
640
640
|
return $serializer_instance;
|
|
641
641
|
}
|
|
642
642
|
function AttoSendBlock$hash$delegate$lambda(this$0) {
|
|
643
|
-
return () => hash(this$0.
|
|
643
|
+
return () => hash(this$0.a4m());
|
|
644
644
|
}
|
|
645
645
|
function AttoSendBlock$_get_hash_$ref_emfoe1() {
|
|
646
646
|
return (p0) => p0.hash;
|
|
647
647
|
}
|
|
648
648
|
function AttoSendBlock$_init_$lambda_dfxw6s(this$0) {
|
|
649
|
-
return () => hash(this$0.
|
|
649
|
+
return () => hash(this$0.a4m());
|
|
650
650
|
}
|
|
651
651
|
var AttoSendBlockClass;
|
|
652
652
|
function AttoSendBlock() {
|
|
@@ -654,84 +654,84 @@ function AttoSendBlock() {
|
|
|
654
654
|
class $ {
|
|
655
655
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) {
|
|
656
656
|
Companion_getInstance_5();
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
659
|
-
this.
|
|
660
|
-
this.
|
|
661
|
-
this.
|
|
662
|
-
this.
|
|
663
|
-
this.
|
|
664
|
-
this.
|
|
657
|
+
this.t4n_1 = network;
|
|
658
|
+
this.u4n_1 = version;
|
|
659
|
+
this.v4n_1 = algorithm;
|
|
660
|
+
this.w4n_1 = publicKey;
|
|
661
|
+
this.x4n_1 = height;
|
|
662
|
+
this.y4n_1 = balance;
|
|
663
|
+
this.z4n_1 = timestamp;
|
|
664
|
+
this.a4o_1 = previous;
|
|
665
665
|
this.receiverAlgorithm = receiverAlgorithm;
|
|
666
666
|
this.receiverPublicKey = receiverPublicKey;
|
|
667
667
|
this.amount = amount;
|
|
668
|
-
this.
|
|
668
|
+
this.b4o_1 = AttoBlockType_SEND_getInstance();
|
|
669
669
|
var tmp = this;
|
|
670
|
-
tmp.
|
|
671
|
-
this.
|
|
670
|
+
tmp.c4o_1 = lazy_0(AttoSendBlock$hash$delegate$lambda(this));
|
|
671
|
+
this.d4o_1 = new (AttoAddress())(this.v4n_1, this.w4n_1);
|
|
672
672
|
this.receiverAddress = new (AttoAddress())(this.receiverAlgorithm, this.receiverPublicKey);
|
|
673
673
|
}
|
|
674
|
-
|
|
675
|
-
return this.
|
|
674
|
+
e4k() {
|
|
675
|
+
return this.t4n_1;
|
|
676
676
|
}
|
|
677
|
-
|
|
678
|
-
return this.
|
|
677
|
+
t3i() {
|
|
678
|
+
return this.u4n_1;
|
|
679
679
|
}
|
|
680
|
-
|
|
681
|
-
return this.
|
|
680
|
+
f4k() {
|
|
681
|
+
return this.v4n_1;
|
|
682
682
|
}
|
|
683
|
-
|
|
684
|
-
return this.
|
|
683
|
+
d4k() {
|
|
684
|
+
return this.w4n_1;
|
|
685
685
|
}
|
|
686
|
-
|
|
687
|
-
return this.
|
|
686
|
+
g4k() {
|
|
687
|
+
return this.x4n_1;
|
|
688
688
|
}
|
|
689
|
-
|
|
690
|
-
return this.
|
|
689
|
+
h4k() {
|
|
690
|
+
return this.y4n_1;
|
|
691
691
|
}
|
|
692
|
-
|
|
693
|
-
return this.
|
|
692
|
+
p4l() {
|
|
693
|
+
return this.z4n_1;
|
|
694
694
|
}
|
|
695
|
-
|
|
696
|
-
return this.
|
|
695
|
+
o4n() {
|
|
696
|
+
return this.a4o_1;
|
|
697
697
|
}
|
|
698
|
-
|
|
698
|
+
f4o() {
|
|
699
699
|
return this.receiverAlgorithm;
|
|
700
700
|
}
|
|
701
|
-
|
|
701
|
+
g4o() {
|
|
702
702
|
return this.receiverPublicKey;
|
|
703
703
|
}
|
|
704
|
-
|
|
704
|
+
h4o() {
|
|
705
705
|
return this.amount;
|
|
706
706
|
}
|
|
707
|
-
|
|
708
|
-
return this.
|
|
707
|
+
k4n() {
|
|
708
|
+
return this.b4o_1;
|
|
709
709
|
}
|
|
710
|
-
|
|
711
|
-
var tmp0 = this.
|
|
710
|
+
k4l() {
|
|
711
|
+
var tmp0 = this.c4o_1;
|
|
712
712
|
var tmp = KProperty1();
|
|
713
713
|
// Inline function 'kotlin.getValue' call
|
|
714
714
|
getPropertyCallableRef('hash', 1, tmp, AttoSendBlock$_get_hash_$ref_emfoe1(), null);
|
|
715
715
|
return tmp0.g3();
|
|
716
716
|
}
|
|
717
|
-
|
|
718
|
-
return this.
|
|
717
|
+
m4k() {
|
|
718
|
+
return this.d4o_1;
|
|
719
719
|
}
|
|
720
|
-
|
|
720
|
+
i4o() {
|
|
721
721
|
return this.receiverAddress;
|
|
722
722
|
}
|
|
723
|
-
|
|
723
|
+
a4m() {
|
|
724
724
|
// Inline function 'kotlin.apply' call
|
|
725
725
|
var this_0 = new (Buffer())();
|
|
726
|
-
writeAttoBlockType(this_0, this.
|
|
727
|
-
writeAttoNetwork(this_0, this.
|
|
728
|
-
writeAttoVersion(this_0, this.
|
|
729
|
-
writeAttoAlgorithm(this_0, this.
|
|
730
|
-
writeAttoPublicKey(this_0, this.
|
|
731
|
-
writeAttoHeight(this_0, this.
|
|
732
|
-
writeAttoAmount(this_0, this.
|
|
733
|
-
writeInstant(this_0, this.
|
|
734
|
-
writeAttoHash(this_0, this.
|
|
726
|
+
writeAttoBlockType(this_0, this.b4o_1);
|
|
727
|
+
writeAttoNetwork(this_0, this.t4n_1);
|
|
728
|
+
writeAttoVersion(this_0, this.u4n_1);
|
|
729
|
+
writeAttoAlgorithm(this_0, this.v4n_1);
|
|
730
|
+
writeAttoPublicKey(this_0, this.w4n_1);
|
|
731
|
+
writeAttoHeight(this_0, this.x4n_1);
|
|
732
|
+
writeAttoAmount(this_0, this.y4n_1);
|
|
733
|
+
writeInstant(this_0, this.z4n_1);
|
|
734
|
+
writeAttoHash(this_0, this.a4o_1);
|
|
735
735
|
writeAttoAlgorithm(this_0, this.receiverAlgorithm);
|
|
736
736
|
writeAttoPublicKey(this_0, this.receiverPublicKey);
|
|
737
737
|
writeAttoAmount(this_0, this.amount);
|
|
@@ -749,76 +749,76 @@ function AttoSendBlock() {
|
|
|
749
749
|
if (this.amount.equals(Companion_getInstance_0().MIN)) {
|
|
750
750
|
return new (Error_0())('Amount must be greater than ' + Companion_getInstance_0().MIN.toString());
|
|
751
751
|
}
|
|
752
|
-
if (this.receiverPublicKey.equals(this.
|
|
753
|
-
return new (Error_0())('Receiver public key must be different from public key: receiverPublicKey=' + this.receiverPublicKey.toString() + ', publicKey=' + this.
|
|
752
|
+
if (this.receiverPublicKey.equals(this.w4n_1)) {
|
|
753
|
+
return new (Error_0())('Receiver public key must be different from public key: receiverPublicKey=' + this.receiverPublicKey.toString() + ', publicKey=' + this.w4n_1.toString());
|
|
754
754
|
}
|
|
755
755
|
if (!(this.receiverAlgorithm.publicKeySize === this.receiverPublicKey.value.length)) {
|
|
756
756
|
return new (Error_0())('Receiver public key size does not match receiver algorithm: ' + ('receiverAlgorithm.publicKeySize=' + this.receiverAlgorithm.publicKeySize + ', ') + ('receiverPublicKey.size=' + this.receiverPublicKey.value.length));
|
|
757
757
|
}
|
|
758
758
|
return Ok_instance;
|
|
759
759
|
}
|
|
760
|
-
|
|
761
|
-
return this.
|
|
760
|
+
ye() {
|
|
761
|
+
return this.t4n_1;
|
|
762
762
|
}
|
|
763
|
-
|
|
764
|
-
return this.
|
|
763
|
+
ze() {
|
|
764
|
+
return this.u4n_1;
|
|
765
765
|
}
|
|
766
|
-
|
|
767
|
-
return this.
|
|
766
|
+
v4k() {
|
|
767
|
+
return this.v4n_1;
|
|
768
768
|
}
|
|
769
|
-
|
|
770
|
-
return this.
|
|
769
|
+
w4k() {
|
|
770
|
+
return this.w4n_1;
|
|
771
771
|
}
|
|
772
|
-
|
|
773
|
-
return this.
|
|
772
|
+
x4k() {
|
|
773
|
+
return this.x4n_1;
|
|
774
774
|
}
|
|
775
|
-
|
|
776
|
-
return this.
|
|
775
|
+
y4k() {
|
|
776
|
+
return this.y4n_1;
|
|
777
777
|
}
|
|
778
|
-
|
|
779
|
-
return this.
|
|
778
|
+
z4k() {
|
|
779
|
+
return this.z4n_1;
|
|
780
780
|
}
|
|
781
|
-
|
|
782
|
-
return this.
|
|
781
|
+
a4l() {
|
|
782
|
+
return this.a4o_1;
|
|
783
783
|
}
|
|
784
|
-
|
|
784
|
+
b4l() {
|
|
785
785
|
return this.receiverAlgorithm;
|
|
786
786
|
}
|
|
787
|
-
|
|
787
|
+
c4l() {
|
|
788
788
|
return this.receiverPublicKey;
|
|
789
789
|
}
|
|
790
|
-
|
|
790
|
+
j4o() {
|
|
791
791
|
return this.amount;
|
|
792
792
|
}
|
|
793
|
-
|
|
793
|
+
k4o(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) {
|
|
794
794
|
return new (AttoSendBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount);
|
|
795
795
|
}
|
|
796
796
|
copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount, $super) {
|
|
797
|
-
network = network === VOID ? this.
|
|
798
|
-
version = version === VOID ? this.
|
|
799
|
-
algorithm = algorithm === VOID ? this.
|
|
800
|
-
publicKey = publicKey === VOID ? this.
|
|
801
|
-
height = height === VOID ? this.
|
|
802
|
-
balance = balance === VOID ? this.
|
|
803
|
-
timestamp = timestamp === VOID ? this.
|
|
804
|
-
previous = previous === VOID ? this.
|
|
797
|
+
network = network === VOID ? this.t4n_1 : network;
|
|
798
|
+
version = version === VOID ? this.u4n_1 : version;
|
|
799
|
+
algorithm = algorithm === VOID ? this.v4n_1 : algorithm;
|
|
800
|
+
publicKey = publicKey === VOID ? this.w4n_1 : publicKey;
|
|
801
|
+
height = height === VOID ? this.x4n_1 : height;
|
|
802
|
+
balance = balance === VOID ? this.y4n_1 : balance;
|
|
803
|
+
timestamp = timestamp === VOID ? this.z4n_1 : timestamp;
|
|
804
|
+
previous = previous === VOID ? this.a4o_1 : previous;
|
|
805
805
|
receiverAlgorithm = receiverAlgorithm === VOID ? this.receiverAlgorithm : receiverAlgorithm;
|
|
806
806
|
receiverPublicKey = receiverPublicKey === VOID ? this.receiverPublicKey : receiverPublicKey;
|
|
807
807
|
amount = amount === VOID ? this.amount : amount;
|
|
808
|
-
return $super === VOID ? this.
|
|
808
|
+
return $super === VOID ? this.k4o(network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount) : $super.k4o.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount);
|
|
809
809
|
}
|
|
810
810
|
toString() {
|
|
811
|
-
return 'AttoSendBlock(network=' + this.
|
|
811
|
+
return 'AttoSendBlock(network=' + this.t4n_1.toString() + ', version=' + this.u4n_1.toString() + ', algorithm=' + this.v4n_1.toString() + ', publicKey=' + this.w4n_1.toString() + ', height=' + this.x4n_1.toString() + ', balance=' + this.y4n_1.toString() + ', timestamp=' + this.z4n_1.toString() + ', previous=' + this.a4o_1.toString() + ', receiverAlgorithm=' + this.receiverAlgorithm.toString() + ', receiverPublicKey=' + this.receiverPublicKey.toString() + ', amount=' + this.amount.toString() + ')';
|
|
812
812
|
}
|
|
813
813
|
hashCode() {
|
|
814
|
-
var result = this.
|
|
815
|
-
result = imul(result, 31) + this.
|
|
816
|
-
result = imul(result, 31) + this.
|
|
817
|
-
result = imul(result, 31) + this.
|
|
818
|
-
result = imul(result, 31) + this.
|
|
819
|
-
result = imul(result, 31) + this.
|
|
820
|
-
result = imul(result, 31) + this.
|
|
821
|
-
result = imul(result, 31) + this.
|
|
814
|
+
var result = this.t4n_1.hashCode();
|
|
815
|
+
result = imul(result, 31) + this.u4n_1.hashCode() | 0;
|
|
816
|
+
result = imul(result, 31) + this.v4n_1.hashCode() | 0;
|
|
817
|
+
result = imul(result, 31) + this.w4n_1.hashCode() | 0;
|
|
818
|
+
result = imul(result, 31) + this.x4n_1.hashCode() | 0;
|
|
819
|
+
result = imul(result, 31) + this.y4n_1.hashCode() | 0;
|
|
820
|
+
result = imul(result, 31) + this.z4n_1.hashCode() | 0;
|
|
821
|
+
result = imul(result, 31) + this.a4o_1.hashCode() | 0;
|
|
822
822
|
result = imul(result, 31) + this.receiverAlgorithm.hashCode() | 0;
|
|
823
823
|
result = imul(result, 31) + this.receiverPublicKey.hashCode() | 0;
|
|
824
824
|
result = imul(result, 31) + this.amount.hashCode() | 0;
|
|
@@ -829,21 +829,21 @@ function AttoSendBlock() {
|
|
|
829
829
|
return true;
|
|
830
830
|
if (!(other instanceof AttoSendBlock()))
|
|
831
831
|
return false;
|
|
832
|
-
if (!this.
|
|
832
|
+
if (!this.t4n_1.equals(other.t4n_1))
|
|
833
833
|
return false;
|
|
834
|
-
if (!this.
|
|
834
|
+
if (!this.u4n_1.equals(other.u4n_1))
|
|
835
835
|
return false;
|
|
836
|
-
if (!this.
|
|
836
|
+
if (!this.v4n_1.equals(other.v4n_1))
|
|
837
837
|
return false;
|
|
838
|
-
if (!this.
|
|
838
|
+
if (!this.w4n_1.equals(other.w4n_1))
|
|
839
839
|
return false;
|
|
840
|
-
if (!this.
|
|
840
|
+
if (!this.x4n_1.equals(other.x4n_1))
|
|
841
841
|
return false;
|
|
842
|
-
if (!this.
|
|
842
|
+
if (!this.y4n_1.equals(other.y4n_1))
|
|
843
843
|
return false;
|
|
844
|
-
if (!this.
|
|
844
|
+
if (!this.z4n_1.equals(other.z4n_1))
|
|
845
845
|
return false;
|
|
846
|
-
if (!this.
|
|
846
|
+
if (!this.a4o_1.equals(other.a4o_1))
|
|
847
847
|
return false;
|
|
848
848
|
if (!this.receiverAlgorithm.equals(other.receiverAlgorithm))
|
|
849
849
|
return false;
|
|
@@ -853,30 +853,30 @@ function AttoSendBlock() {
|
|
|
853
853
|
return false;
|
|
854
854
|
return true;
|
|
855
855
|
}
|
|
856
|
-
static
|
|
856
|
+
static e4o(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, receiverAlgorithm, receiverPublicKey, amount, address, receiverAddress, serializationConstructorMarker) {
|
|
857
857
|
Companion_getInstance_5();
|
|
858
858
|
if (!(2047 === (2047 & seen0))) {
|
|
859
|
-
throwMissingFieldException(seen0, 2047, $serializer_getInstance().
|
|
859
|
+
throwMissingFieldException(seen0, 2047, $serializer_getInstance().r4n_1);
|
|
860
860
|
}
|
|
861
861
|
var $this = createThis(this);
|
|
862
|
-
$this.
|
|
863
|
-
$this.
|
|
864
|
-
$this.
|
|
865
|
-
$this.
|
|
866
|
-
$this.
|
|
867
|
-
$this.
|
|
868
|
-
$this.
|
|
869
|
-
$this.
|
|
862
|
+
$this.t4n_1 = network;
|
|
863
|
+
$this.u4n_1 = version;
|
|
864
|
+
$this.v4n_1 = algorithm;
|
|
865
|
+
$this.w4n_1 = publicKey;
|
|
866
|
+
$this.x4n_1 = height;
|
|
867
|
+
$this.y4n_1 = balance;
|
|
868
|
+
$this.z4n_1 = timestamp;
|
|
869
|
+
$this.a4o_1 = previous;
|
|
870
870
|
$this.receiverAlgorithm = receiverAlgorithm;
|
|
871
871
|
$this.receiverPublicKey = receiverPublicKey;
|
|
872
872
|
$this.amount = amount;
|
|
873
|
-
$this.
|
|
873
|
+
$this.b4o_1 = AttoBlockType_SEND_getInstance();
|
|
874
874
|
var tmp = $this;
|
|
875
|
-
tmp.
|
|
875
|
+
tmp.c4o_1 = lazy_0(AttoSendBlock$_init_$lambda_dfxw6s($this));
|
|
876
876
|
if (0 === (seen0 & 2048))
|
|
877
|
-
$this.
|
|
877
|
+
$this.d4o_1 = new (AttoAddress())($this.v4n_1, $this.w4n_1);
|
|
878
878
|
else
|
|
879
|
-
$this.
|
|
879
|
+
$this.d4o_1 = address;
|
|
880
880
|
if (0 === (seen0 & 4096))
|
|
881
881
|
$this.receiverAddress = new (AttoAddress())($this.receiverAlgorithm, $this.receiverPublicKey);
|
|
882
882
|
else
|
|
@@ -884,37 +884,37 @@ function AttoSendBlock() {
|
|
|
884
884
|
return $this;
|
|
885
885
|
}
|
|
886
886
|
get network() {
|
|
887
|
-
return this.
|
|
887
|
+
return this.e4k();
|
|
888
888
|
}
|
|
889
889
|
get version() {
|
|
890
|
-
return this.
|
|
890
|
+
return this.t3i();
|
|
891
891
|
}
|
|
892
892
|
get algorithm() {
|
|
893
|
-
return this.
|
|
893
|
+
return this.f4k();
|
|
894
894
|
}
|
|
895
895
|
get publicKey() {
|
|
896
|
-
return this.
|
|
896
|
+
return this.d4k();
|
|
897
897
|
}
|
|
898
898
|
get height() {
|
|
899
|
-
return this.
|
|
899
|
+
return this.g4k();
|
|
900
900
|
}
|
|
901
901
|
get balance() {
|
|
902
|
-
return this.
|
|
902
|
+
return this.h4k();
|
|
903
903
|
}
|
|
904
904
|
get timestamp() {
|
|
905
|
-
return this.
|
|
905
|
+
return this.p4l();
|
|
906
906
|
}
|
|
907
907
|
get previous() {
|
|
908
|
-
return this.
|
|
908
|
+
return this.o4n();
|
|
909
909
|
}
|
|
910
910
|
get type() {
|
|
911
|
-
return this.
|
|
911
|
+
return this.k4n();
|
|
912
912
|
}
|
|
913
913
|
get hash() {
|
|
914
|
-
return this.
|
|
914
|
+
return this.k4l();
|
|
915
915
|
}
|
|
916
916
|
get address() {
|
|
917
|
-
return this.
|
|
917
|
+
return this.m4k();
|
|
918
918
|
}
|
|
919
919
|
}
|
|
920
920
|
protoOf($).isValid = isValid;
|
|
@@ -927,10 +927,10 @@ function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u() {
|
|
|
927
927
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
928
928
|
}
|
|
929
929
|
function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_0() {
|
|
930
|
-
return Companion_getInstance_2().
|
|
930
|
+
return Companion_getInstance_2().y1g();
|
|
931
931
|
}
|
|
932
932
|
function AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_1() {
|
|
933
|
-
return Companion_getInstance_2().
|
|
933
|
+
return Companion_getInstance_2().y1g();
|
|
934
934
|
}
|
|
935
935
|
var CompanionClass_2;
|
|
936
936
|
function Companion_2() {
|
|
@@ -947,9 +947,9 @@ function Companion_2() {
|
|
|
947
947
|
// Inline function 'kotlin.arrayOf' call
|
|
948
948
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
949
949
|
// Inline function 'kotlin.js.asDynamic' call
|
|
950
|
-
tmp.
|
|
950
|
+
tmp.h4n_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoReceiveBlock$Companion$$childSerializers$_anonymous__x8ud9u_1), null, null];
|
|
951
951
|
}
|
|
952
|
-
|
|
952
|
+
g4n(serializedBlock) {
|
|
953
953
|
if (fromInt(AttoBlockType_RECEIVE_getInstance().size) > serializedBlock.u2()) {
|
|
954
954
|
return null;
|
|
955
955
|
}
|
|
@@ -959,7 +959,7 @@ function Companion_2() {
|
|
|
959
959
|
}
|
|
960
960
|
return new (AttoReceiveBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoHash(serializedBlock));
|
|
961
961
|
}
|
|
962
|
-
|
|
962
|
+
y1g() {
|
|
963
963
|
return $serializer_getInstance_0();
|
|
964
964
|
}
|
|
965
965
|
}
|
|
@@ -981,41 +981,41 @@ function $serializer_0() {
|
|
|
981
981
|
constructor() {
|
|
982
982
|
$serializer_instance_0 = this;
|
|
983
983
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('RECEIVE', this, 11);
|
|
984
|
-
tmp0_serialDesc.
|
|
985
|
-
tmp0_serialDesc.
|
|
986
|
-
tmp0_serialDesc.
|
|
987
|
-
tmp0_serialDesc.
|
|
988
|
-
tmp0_serialDesc.
|
|
989
|
-
tmp0_serialDesc.
|
|
990
|
-
tmp0_serialDesc.
|
|
991
|
-
tmp0_serialDesc.
|
|
992
|
-
tmp0_serialDesc.
|
|
993
|
-
tmp0_serialDesc.
|
|
994
|
-
tmp0_serialDesc.
|
|
995
|
-
this.
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
var tmp0_desc = this.
|
|
999
|
-
var tmp1_output = encoder.
|
|
1000
|
-
var tmp2_cached = Companion_getInstance_6().
|
|
1001
|
-
tmp1_output.
|
|
1002
|
-
tmp1_output.
|
|
1003
|
-
tmp1_output.
|
|
1004
|
-
tmp1_output.
|
|
1005
|
-
tmp1_output.
|
|
1006
|
-
tmp1_output.
|
|
1007
|
-
tmp1_output.
|
|
1008
|
-
tmp1_output.
|
|
1009
|
-
tmp1_output.
|
|
1010
|
-
tmp1_output.
|
|
1011
|
-
tmp1_output.
|
|
1012
|
-
tmp1_output.
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
return this.
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
var tmp0_desc = this.
|
|
984
|
+
tmp0_serialDesc.z14('network', false);
|
|
985
|
+
tmp0_serialDesc.z14('version', false);
|
|
986
|
+
tmp0_serialDesc.z14('algorithm', false);
|
|
987
|
+
tmp0_serialDesc.z14('publicKey', false);
|
|
988
|
+
tmp0_serialDesc.z14('height', false);
|
|
989
|
+
tmp0_serialDesc.z14('balance', false);
|
|
990
|
+
tmp0_serialDesc.z14('timestamp', false);
|
|
991
|
+
tmp0_serialDesc.z14('previous', false);
|
|
992
|
+
tmp0_serialDesc.z14('sendHashAlgorithm', false);
|
|
993
|
+
tmp0_serialDesc.z14('sendHash', false);
|
|
994
|
+
tmp0_serialDesc.z14('address', true);
|
|
995
|
+
this.l4o_1 = tmp0_serialDesc;
|
|
996
|
+
}
|
|
997
|
+
m4o(encoder, value) {
|
|
998
|
+
var tmp0_desc = this.l4o_1;
|
|
999
|
+
var tmp1_output = encoder.lx(tmp0_desc);
|
|
1000
|
+
var tmp2_cached = Companion_getInstance_6().h4n_1;
|
|
1001
|
+
tmp1_output.cz(tmp0_desc, 0, tmp2_cached[0].g3(), value.n4o_1);
|
|
1002
|
+
tmp1_output.cz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.o4o_1);
|
|
1003
|
+
tmp1_output.cz(tmp0_desc, 2, tmp2_cached[2].g3(), value.p4o_1);
|
|
1004
|
+
tmp1_output.cz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.q4o_1);
|
|
1005
|
+
tmp1_output.cz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.r4o_1);
|
|
1006
|
+
tmp1_output.cz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.s4o_1);
|
|
1007
|
+
tmp1_output.cz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.t4o_1);
|
|
1008
|
+
tmp1_output.cz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.u4o_1);
|
|
1009
|
+
tmp1_output.cz(tmp0_desc, 8, tmp2_cached[8].g3(), value.v4o_1);
|
|
1010
|
+
tmp1_output.cz(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), value.w4o_1);
|
|
1011
|
+
tmp1_output.cz(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), value.z4o_1);
|
|
1012
|
+
tmp1_output.mx(tmp0_desc);
|
|
1013
|
+
}
|
|
1014
|
+
xs(encoder, value) {
|
|
1015
|
+
return this.m4o(encoder, value instanceof AttoReceiveBlock() ? value : THROW_CCE());
|
|
1016
|
+
}
|
|
1017
|
+
ys(decoder) {
|
|
1018
|
+
var tmp0_desc = this.l4o_1;
|
|
1019
1019
|
var tmp1_flag = true;
|
|
1020
1020
|
var tmp2_index = 0;
|
|
1021
1021
|
var tmp3_bitMask0 = 0;
|
|
@@ -1030,101 +1030,101 @@ function $serializer_0() {
|
|
|
1030
1030
|
var tmp12_local8 = null;
|
|
1031
1031
|
var tmp13_local9 = null;
|
|
1032
1032
|
var tmp14_local10 = null;
|
|
1033
|
-
var tmp17_input = decoder.
|
|
1034
|
-
var tmp18_cached = Companion_getInstance_6().
|
|
1035
|
-
if (tmp17_input.
|
|
1036
|
-
tmp4_local0 = tmp17_input.
|
|
1033
|
+
var tmp17_input = decoder.lx(tmp0_desc);
|
|
1034
|
+
var tmp18_cached = Companion_getInstance_6().h4n_1;
|
|
1035
|
+
if (tmp17_input.ay()) {
|
|
1036
|
+
tmp4_local0 = tmp17_input.xx(tmp0_desc, 0, tmp18_cached[0].g3(), tmp4_local0);
|
|
1037
1037
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1038
|
-
tmp5_local1 = tmp17_input.
|
|
1038
|
+
tmp5_local1 = tmp17_input.xx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1039
1039
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1040
|
-
tmp6_local2 = tmp17_input.
|
|
1040
|
+
tmp6_local2 = tmp17_input.xx(tmp0_desc, 2, tmp18_cached[2].g3(), tmp6_local2);
|
|
1041
1041
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1042
|
-
tmp7_local3 = tmp17_input.
|
|
1042
|
+
tmp7_local3 = tmp17_input.xx(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1043
1043
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1044
|
-
tmp8_local4 = tmp17_input.
|
|
1044
|
+
tmp8_local4 = tmp17_input.xx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
1045
1045
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1046
|
-
tmp9_local5 = tmp17_input.
|
|
1046
|
+
tmp9_local5 = tmp17_input.xx(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
1047
1047
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1048
|
-
tmp10_local6 = tmp17_input.
|
|
1048
|
+
tmp10_local6 = tmp17_input.xx(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
1049
1049
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1050
|
-
tmp11_local7 = tmp17_input.
|
|
1050
|
+
tmp11_local7 = tmp17_input.xx(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1051
1051
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1052
|
-
tmp12_local8 = tmp17_input.
|
|
1052
|
+
tmp12_local8 = tmp17_input.xx(tmp0_desc, 8, tmp18_cached[8].g3(), tmp12_local8);
|
|
1053
1053
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1054
|
-
tmp13_local9 = tmp17_input.
|
|
1054
|
+
tmp13_local9 = tmp17_input.xx(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), tmp13_local9);
|
|
1055
1055
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1056
|
-
tmp14_local10 = tmp17_input.
|
|
1056
|
+
tmp14_local10 = tmp17_input.xx(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
1057
1057
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1058
1058
|
} else
|
|
1059
1059
|
while (tmp1_flag) {
|
|
1060
|
-
tmp2_index = tmp17_input.
|
|
1060
|
+
tmp2_index = tmp17_input.by(tmp0_desc);
|
|
1061
1061
|
switch (tmp2_index) {
|
|
1062
1062
|
case -1:
|
|
1063
1063
|
tmp1_flag = false;
|
|
1064
1064
|
break;
|
|
1065
1065
|
case 0:
|
|
1066
|
-
tmp4_local0 = tmp17_input.
|
|
1066
|
+
tmp4_local0 = tmp17_input.xx(tmp0_desc, 0, tmp18_cached[0].g3(), tmp4_local0);
|
|
1067
1067
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1068
1068
|
break;
|
|
1069
1069
|
case 1:
|
|
1070
|
-
tmp5_local1 = tmp17_input.
|
|
1070
|
+
tmp5_local1 = tmp17_input.xx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1071
1071
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1072
1072
|
break;
|
|
1073
1073
|
case 2:
|
|
1074
|
-
tmp6_local2 = tmp17_input.
|
|
1074
|
+
tmp6_local2 = tmp17_input.xx(tmp0_desc, 2, tmp18_cached[2].g3(), tmp6_local2);
|
|
1075
1075
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1076
1076
|
break;
|
|
1077
1077
|
case 3:
|
|
1078
|
-
tmp7_local3 = tmp17_input.
|
|
1078
|
+
tmp7_local3 = tmp17_input.xx(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1079
1079
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1080
1080
|
break;
|
|
1081
1081
|
case 4:
|
|
1082
|
-
tmp8_local4 = tmp17_input.
|
|
1082
|
+
tmp8_local4 = tmp17_input.xx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
1083
1083
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1084
1084
|
break;
|
|
1085
1085
|
case 5:
|
|
1086
|
-
tmp9_local5 = tmp17_input.
|
|
1086
|
+
tmp9_local5 = tmp17_input.xx(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
1087
1087
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1088
1088
|
break;
|
|
1089
1089
|
case 6:
|
|
1090
|
-
tmp10_local6 = tmp17_input.
|
|
1090
|
+
tmp10_local6 = tmp17_input.xx(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
1091
1091
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1092
1092
|
break;
|
|
1093
1093
|
case 7:
|
|
1094
|
-
tmp11_local7 = tmp17_input.
|
|
1094
|
+
tmp11_local7 = tmp17_input.xx(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1095
1095
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1096
1096
|
break;
|
|
1097
1097
|
case 8:
|
|
1098
|
-
tmp12_local8 = tmp17_input.
|
|
1098
|
+
tmp12_local8 = tmp17_input.xx(tmp0_desc, 8, tmp18_cached[8].g3(), tmp12_local8);
|
|
1099
1099
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1100
1100
|
break;
|
|
1101
1101
|
case 9:
|
|
1102
|
-
tmp13_local9 = tmp17_input.
|
|
1102
|
+
tmp13_local9 = tmp17_input.xx(tmp0_desc, 9, AttoHashAsStringSerializer_getInstance(), tmp13_local9);
|
|
1103
1103
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1104
1104
|
break;
|
|
1105
1105
|
case 10:
|
|
1106
|
-
tmp14_local10 = tmp17_input.
|
|
1106
|
+
tmp14_local10 = tmp17_input.xx(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
1107
1107
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1108
1108
|
break;
|
|
1109
1109
|
default:
|
|
1110
|
-
throw UnknownFieldException().
|
|
1110
|
+
throw UnknownFieldException().su(tmp2_index);
|
|
1111
1111
|
}
|
|
1112
1112
|
}
|
|
1113
|
-
tmp17_input.
|
|
1114
|
-
return AttoReceiveBlock().
|
|
1113
|
+
tmp17_input.mx(tmp0_desc);
|
|
1114
|
+
return AttoReceiveBlock().a4p(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);
|
|
1115
1115
|
}
|
|
1116
|
-
|
|
1117
|
-
return this.
|
|
1116
|
+
ws() {
|
|
1117
|
+
return this.l4o_1;
|
|
1118
1118
|
}
|
|
1119
|
-
|
|
1120
|
-
var tmp0_cached = Companion_getInstance_6().
|
|
1119
|
+
o15() {
|
|
1120
|
+
var tmp0_cached = Companion_getInstance_6().h4n_1;
|
|
1121
1121
|
// Inline function 'kotlin.arrayOf' call
|
|
1122
1122
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1123
1123
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1124
1124
|
return [tmp0_cached[0].g3(), AttoVersionSerializer_getInstance(), tmp0_cached[2].g3(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].g3(), AttoHashAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
|
|
1125
1125
|
}
|
|
1126
1126
|
}
|
|
1127
|
-
protoOf($).
|
|
1127
|
+
protoOf($).p15 = typeParametersSerializers;
|
|
1128
1128
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
1129
1129
|
$serializerClass_0 = $;
|
|
1130
1130
|
}
|
|
@@ -1137,13 +1137,13 @@ function $serializer_getInstance_0() {
|
|
|
1137
1137
|
return $serializer_instance_0;
|
|
1138
1138
|
}
|
|
1139
1139
|
function AttoReceiveBlock$hash$delegate$lambda(this$0) {
|
|
1140
|
-
return () => hash(this$0.
|
|
1140
|
+
return () => hash(this$0.a4m());
|
|
1141
1141
|
}
|
|
1142
1142
|
function AttoReceiveBlock$_get_hash_$ref_1uzri0() {
|
|
1143
1143
|
return (p0) => p0.hash;
|
|
1144
1144
|
}
|
|
1145
1145
|
function AttoReceiveBlock$_init_$lambda_4ot8lv(this$0) {
|
|
1146
|
-
return () => hash(this$0.
|
|
1146
|
+
return () => hash(this$0.a4m());
|
|
1147
1147
|
}
|
|
1148
1148
|
var AttoReceiveBlockClass;
|
|
1149
1149
|
function AttoReceiveBlock() {
|
|
@@ -1151,140 +1151,140 @@ function AttoReceiveBlock() {
|
|
|
1151
1151
|
class $ {
|
|
1152
1152
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
|
|
1153
1153
|
Companion_getInstance_6();
|
|
1154
|
-
this.
|
|
1155
|
-
this.
|
|
1156
|
-
this.
|
|
1157
|
-
this.
|
|
1158
|
-
this.
|
|
1159
|
-
this.
|
|
1160
|
-
this.
|
|
1161
|
-
this.
|
|
1162
|
-
this.
|
|
1163
|
-
this.
|
|
1164
|
-
this.
|
|
1154
|
+
this.n4o_1 = network;
|
|
1155
|
+
this.o4o_1 = version;
|
|
1156
|
+
this.p4o_1 = algorithm;
|
|
1157
|
+
this.q4o_1 = publicKey;
|
|
1158
|
+
this.r4o_1 = height;
|
|
1159
|
+
this.s4o_1 = balance;
|
|
1160
|
+
this.t4o_1 = timestamp;
|
|
1161
|
+
this.u4o_1 = previous;
|
|
1162
|
+
this.v4o_1 = sendHashAlgorithm;
|
|
1163
|
+
this.w4o_1 = sendHash;
|
|
1164
|
+
this.x4o_1 = AttoBlockType_RECEIVE_getInstance();
|
|
1165
1165
|
var tmp = this;
|
|
1166
|
-
tmp.
|
|
1167
|
-
this.
|
|
1166
|
+
tmp.y4o_1 = lazy_0(AttoReceiveBlock$hash$delegate$lambda(this));
|
|
1167
|
+
this.z4o_1 = new (AttoAddress())(this.p4o_1, this.q4o_1);
|
|
1168
1168
|
}
|
|
1169
|
-
|
|
1170
|
-
return this.
|
|
1169
|
+
e4k() {
|
|
1170
|
+
return this.n4o_1;
|
|
1171
1171
|
}
|
|
1172
|
-
|
|
1173
|
-
return this.
|
|
1172
|
+
t3i() {
|
|
1173
|
+
return this.o4o_1;
|
|
1174
1174
|
}
|
|
1175
|
-
|
|
1176
|
-
return this.
|
|
1175
|
+
f4k() {
|
|
1176
|
+
return this.p4o_1;
|
|
1177
1177
|
}
|
|
1178
|
-
|
|
1179
|
-
return this.
|
|
1178
|
+
d4k() {
|
|
1179
|
+
return this.q4o_1;
|
|
1180
1180
|
}
|
|
1181
|
-
|
|
1182
|
-
return this.
|
|
1181
|
+
g4k() {
|
|
1182
|
+
return this.r4o_1;
|
|
1183
1183
|
}
|
|
1184
|
-
|
|
1185
|
-
return this.
|
|
1184
|
+
h4k() {
|
|
1185
|
+
return this.s4o_1;
|
|
1186
1186
|
}
|
|
1187
|
-
|
|
1188
|
-
return this.
|
|
1187
|
+
p4l() {
|
|
1188
|
+
return this.t4o_1;
|
|
1189
1189
|
}
|
|
1190
|
-
|
|
1191
|
-
return this.
|
|
1190
|
+
o4n() {
|
|
1191
|
+
return this.u4o_1;
|
|
1192
1192
|
}
|
|
1193
|
-
|
|
1194
|
-
return this.
|
|
1193
|
+
p4n() {
|
|
1194
|
+
return this.v4o_1;
|
|
1195
1195
|
}
|
|
1196
|
-
|
|
1197
|
-
return this.
|
|
1196
|
+
q4n() {
|
|
1197
|
+
return this.w4o_1;
|
|
1198
1198
|
}
|
|
1199
|
-
|
|
1200
|
-
return this.
|
|
1199
|
+
k4n() {
|
|
1200
|
+
return this.x4o_1;
|
|
1201
1201
|
}
|
|
1202
|
-
|
|
1203
|
-
var tmp0 = this.
|
|
1202
|
+
k4l() {
|
|
1203
|
+
var tmp0 = this.y4o_1;
|
|
1204
1204
|
var tmp = KProperty1();
|
|
1205
1205
|
// Inline function 'kotlin.getValue' call
|
|
1206
1206
|
getPropertyCallableRef('hash', 1, tmp, AttoReceiveBlock$_get_hash_$ref_1uzri0(), null);
|
|
1207
1207
|
return tmp0.g3();
|
|
1208
1208
|
}
|
|
1209
|
-
|
|
1210
|
-
return this.
|
|
1209
|
+
m4k() {
|
|
1210
|
+
return this.z4o_1;
|
|
1211
1211
|
}
|
|
1212
|
-
|
|
1212
|
+
a4m() {
|
|
1213
1213
|
// Inline function 'kotlin.apply' call
|
|
1214
1214
|
var this_0 = new (Buffer())();
|
|
1215
|
-
writeAttoBlockType(this_0, this.
|
|
1216
|
-
writeAttoNetwork(this_0, this.
|
|
1217
|
-
writeAttoVersion(this_0, this.
|
|
1218
|
-
writeAttoAlgorithm(this_0, this.
|
|
1219
|
-
writeAttoPublicKey(this_0, this.
|
|
1220
|
-
writeAttoHeight(this_0, this.
|
|
1221
|
-
writeAttoAmount(this_0, this.
|
|
1222
|
-
writeInstant(this_0, this.
|
|
1223
|
-
writeAttoHash(this_0, this.
|
|
1224
|
-
writeAttoAlgorithm(this_0, this.
|
|
1225
|
-
writeAttoHash(this_0, this.
|
|
1215
|
+
writeAttoBlockType(this_0, this.x4o_1);
|
|
1216
|
+
writeAttoNetwork(this_0, this.n4o_1);
|
|
1217
|
+
writeAttoVersion(this_0, this.o4o_1);
|
|
1218
|
+
writeAttoAlgorithm(this_0, this.p4o_1);
|
|
1219
|
+
writeAttoPublicKey(this_0, this.q4o_1);
|
|
1220
|
+
writeAttoHeight(this_0, this.r4o_1);
|
|
1221
|
+
writeAttoAmount(this_0, this.s4o_1);
|
|
1222
|
+
writeInstant(this_0, this.t4o_1);
|
|
1223
|
+
writeAttoHash(this_0, this.u4o_1);
|
|
1224
|
+
writeAttoAlgorithm(this_0, this.v4o_1);
|
|
1225
|
+
writeAttoHash(this_0, this.w4o_1);
|
|
1226
1226
|
return this_0;
|
|
1227
1227
|
}
|
|
1228
|
-
|
|
1229
|
-
return this.
|
|
1228
|
+
ye() {
|
|
1229
|
+
return this.n4o_1;
|
|
1230
1230
|
}
|
|
1231
|
-
|
|
1232
|
-
return this.
|
|
1231
|
+
ze() {
|
|
1232
|
+
return this.o4o_1;
|
|
1233
1233
|
}
|
|
1234
|
-
|
|
1235
|
-
return this.
|
|
1234
|
+
v4k() {
|
|
1235
|
+
return this.p4o_1;
|
|
1236
1236
|
}
|
|
1237
|
-
|
|
1238
|
-
return this.
|
|
1237
|
+
w4k() {
|
|
1238
|
+
return this.q4o_1;
|
|
1239
1239
|
}
|
|
1240
|
-
|
|
1241
|
-
return this.
|
|
1240
|
+
x4k() {
|
|
1241
|
+
return this.r4o_1;
|
|
1242
1242
|
}
|
|
1243
|
-
|
|
1244
|
-
return this.
|
|
1243
|
+
y4k() {
|
|
1244
|
+
return this.s4o_1;
|
|
1245
1245
|
}
|
|
1246
|
-
|
|
1247
|
-
return this.
|
|
1246
|
+
z4k() {
|
|
1247
|
+
return this.t4o_1;
|
|
1248
1248
|
}
|
|
1249
|
-
|
|
1250
|
-
return this.
|
|
1249
|
+
a4l() {
|
|
1250
|
+
return this.u4o_1;
|
|
1251
1251
|
}
|
|
1252
|
-
|
|
1253
|
-
return this.
|
|
1252
|
+
b4l() {
|
|
1253
|
+
return this.v4o_1;
|
|
1254
1254
|
}
|
|
1255
|
-
|
|
1256
|
-
return this.
|
|
1255
|
+
c4l() {
|
|
1256
|
+
return this.w4o_1;
|
|
1257
1257
|
}
|
|
1258
|
-
|
|
1258
|
+
b4p(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) {
|
|
1259
1259
|
return new (AttoReceiveBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash);
|
|
1260
1260
|
}
|
|
1261
1261
|
copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash, $super) {
|
|
1262
|
-
network = network === VOID ? this.
|
|
1263
|
-
version = version === VOID ? this.
|
|
1264
|
-
algorithm = algorithm === VOID ? this.
|
|
1265
|
-
publicKey = publicKey === VOID ? this.
|
|
1266
|
-
height = height === VOID ? this.
|
|
1267
|
-
balance = balance === VOID ? this.
|
|
1268
|
-
timestamp = timestamp === VOID ? this.
|
|
1269
|
-
previous = previous === VOID ? this.
|
|
1270
|
-
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.
|
|
1271
|
-
sendHash = sendHash === VOID ? this.
|
|
1272
|
-
return $super === VOID ? this.
|
|
1262
|
+
network = network === VOID ? this.n4o_1 : network;
|
|
1263
|
+
version = version === VOID ? this.o4o_1 : version;
|
|
1264
|
+
algorithm = algorithm === VOID ? this.p4o_1 : algorithm;
|
|
1265
|
+
publicKey = publicKey === VOID ? this.q4o_1 : publicKey;
|
|
1266
|
+
height = height === VOID ? this.r4o_1 : height;
|
|
1267
|
+
balance = balance === VOID ? this.s4o_1 : balance;
|
|
1268
|
+
timestamp = timestamp === VOID ? this.t4o_1 : timestamp;
|
|
1269
|
+
previous = previous === VOID ? this.u4o_1 : previous;
|
|
1270
|
+
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.v4o_1 : sendHashAlgorithm;
|
|
1271
|
+
sendHash = sendHash === VOID ? this.w4o_1 : sendHash;
|
|
1272
|
+
return $super === VOID ? this.b4p(network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash) : $super.b4p.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash);
|
|
1273
1273
|
}
|
|
1274
1274
|
toString() {
|
|
1275
|
-
return 'AttoReceiveBlock(network=' + this.
|
|
1275
|
+
return 'AttoReceiveBlock(network=' + this.n4o_1.toString() + ', version=' + this.o4o_1.toString() + ', algorithm=' + this.p4o_1.toString() + ', publicKey=' + this.q4o_1.toString() + ', height=' + this.r4o_1.toString() + ', balance=' + this.s4o_1.toString() + ', timestamp=' + this.t4o_1.toString() + ', previous=' + this.u4o_1.toString() + ', sendHashAlgorithm=' + this.v4o_1.toString() + ', sendHash=' + this.w4o_1.toString() + ')';
|
|
1276
1276
|
}
|
|
1277
1277
|
hashCode() {
|
|
1278
|
-
var result = this.
|
|
1279
|
-
result = imul(result, 31) + this.
|
|
1280
|
-
result = imul(result, 31) + this.
|
|
1281
|
-
result = imul(result, 31) + this.
|
|
1282
|
-
result = imul(result, 31) + this.
|
|
1283
|
-
result = imul(result, 31) + this.
|
|
1284
|
-
result = imul(result, 31) + this.
|
|
1285
|
-
result = imul(result, 31) + this.
|
|
1286
|
-
result = imul(result, 31) + this.
|
|
1287
|
-
result = imul(result, 31) + this.
|
|
1278
|
+
var result = this.n4o_1.hashCode();
|
|
1279
|
+
result = imul(result, 31) + this.o4o_1.hashCode() | 0;
|
|
1280
|
+
result = imul(result, 31) + this.p4o_1.hashCode() | 0;
|
|
1281
|
+
result = imul(result, 31) + this.q4o_1.hashCode() | 0;
|
|
1282
|
+
result = imul(result, 31) + this.r4o_1.hashCode() | 0;
|
|
1283
|
+
result = imul(result, 31) + this.s4o_1.hashCode() | 0;
|
|
1284
|
+
result = imul(result, 31) + this.t4o_1.hashCode() | 0;
|
|
1285
|
+
result = imul(result, 31) + this.u4o_1.hashCode() | 0;
|
|
1286
|
+
result = imul(result, 31) + this.v4o_1.hashCode() | 0;
|
|
1287
|
+
result = imul(result, 31) + this.w4o_1.hashCode() | 0;
|
|
1288
1288
|
return result;
|
|
1289
1289
|
}
|
|
1290
1290
|
equals(other) {
|
|
@@ -1292,91 +1292,91 @@ function AttoReceiveBlock() {
|
|
|
1292
1292
|
return true;
|
|
1293
1293
|
if (!(other instanceof AttoReceiveBlock()))
|
|
1294
1294
|
return false;
|
|
1295
|
-
if (!this.
|
|
1295
|
+
if (!this.n4o_1.equals(other.n4o_1))
|
|
1296
1296
|
return false;
|
|
1297
|
-
if (!this.
|
|
1297
|
+
if (!this.o4o_1.equals(other.o4o_1))
|
|
1298
1298
|
return false;
|
|
1299
|
-
if (!this.
|
|
1299
|
+
if (!this.p4o_1.equals(other.p4o_1))
|
|
1300
1300
|
return false;
|
|
1301
|
-
if (!this.
|
|
1301
|
+
if (!this.q4o_1.equals(other.q4o_1))
|
|
1302
1302
|
return false;
|
|
1303
|
-
if (!this.
|
|
1303
|
+
if (!this.r4o_1.equals(other.r4o_1))
|
|
1304
1304
|
return false;
|
|
1305
|
-
if (!this.
|
|
1305
|
+
if (!this.s4o_1.equals(other.s4o_1))
|
|
1306
1306
|
return false;
|
|
1307
|
-
if (!this.
|
|
1307
|
+
if (!this.t4o_1.equals(other.t4o_1))
|
|
1308
1308
|
return false;
|
|
1309
|
-
if (!this.
|
|
1309
|
+
if (!this.u4o_1.equals(other.u4o_1))
|
|
1310
1310
|
return false;
|
|
1311
|
-
if (!this.
|
|
1311
|
+
if (!this.v4o_1.equals(other.v4o_1))
|
|
1312
1312
|
return false;
|
|
1313
|
-
if (!this.
|
|
1313
|
+
if (!this.w4o_1.equals(other.w4o_1))
|
|
1314
1314
|
return false;
|
|
1315
1315
|
return true;
|
|
1316
1316
|
}
|
|
1317
|
-
static
|
|
1317
|
+
static a4p(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, sendHashAlgorithm, sendHash, address, serializationConstructorMarker) {
|
|
1318
1318
|
Companion_getInstance_6();
|
|
1319
1319
|
if (!(1023 === (1023 & seen0))) {
|
|
1320
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_0().
|
|
1320
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_0().l4o_1);
|
|
1321
1321
|
}
|
|
1322
1322
|
var $this = createThis(this);
|
|
1323
|
-
$this.
|
|
1324
|
-
$this.
|
|
1325
|
-
$this.
|
|
1326
|
-
$this.
|
|
1327
|
-
$this.
|
|
1328
|
-
$this.
|
|
1329
|
-
$this.
|
|
1330
|
-
$this.
|
|
1331
|
-
$this.
|
|
1332
|
-
$this.
|
|
1333
|
-
$this.
|
|
1323
|
+
$this.n4o_1 = network;
|
|
1324
|
+
$this.o4o_1 = version;
|
|
1325
|
+
$this.p4o_1 = algorithm;
|
|
1326
|
+
$this.q4o_1 = publicKey;
|
|
1327
|
+
$this.r4o_1 = height;
|
|
1328
|
+
$this.s4o_1 = balance;
|
|
1329
|
+
$this.t4o_1 = timestamp;
|
|
1330
|
+
$this.u4o_1 = previous;
|
|
1331
|
+
$this.v4o_1 = sendHashAlgorithm;
|
|
1332
|
+
$this.w4o_1 = sendHash;
|
|
1333
|
+
$this.x4o_1 = AttoBlockType_RECEIVE_getInstance();
|
|
1334
1334
|
var tmp = $this;
|
|
1335
|
-
tmp.
|
|
1335
|
+
tmp.y4o_1 = lazy_0(AttoReceiveBlock$_init_$lambda_4ot8lv($this));
|
|
1336
1336
|
if (0 === (seen0 & 1024))
|
|
1337
|
-
$this.
|
|
1337
|
+
$this.z4o_1 = new (AttoAddress())($this.p4o_1, $this.q4o_1);
|
|
1338
1338
|
else
|
|
1339
|
-
$this.
|
|
1339
|
+
$this.z4o_1 = address;
|
|
1340
1340
|
return $this;
|
|
1341
1341
|
}
|
|
1342
1342
|
get network() {
|
|
1343
|
-
return this.
|
|
1343
|
+
return this.e4k();
|
|
1344
1344
|
}
|
|
1345
1345
|
get version() {
|
|
1346
|
-
return this.
|
|
1346
|
+
return this.t3i();
|
|
1347
1347
|
}
|
|
1348
1348
|
get algorithm() {
|
|
1349
|
-
return this.
|
|
1349
|
+
return this.f4k();
|
|
1350
1350
|
}
|
|
1351
1351
|
get publicKey() {
|
|
1352
|
-
return this.
|
|
1352
|
+
return this.d4k();
|
|
1353
1353
|
}
|
|
1354
1354
|
get height() {
|
|
1355
|
-
return this.
|
|
1355
|
+
return this.g4k();
|
|
1356
1356
|
}
|
|
1357
1357
|
get balance() {
|
|
1358
|
-
return this.
|
|
1358
|
+
return this.h4k();
|
|
1359
1359
|
}
|
|
1360
1360
|
get timestamp() {
|
|
1361
|
-
return this.
|
|
1361
|
+
return this.p4l();
|
|
1362
1362
|
}
|
|
1363
1363
|
get previous() {
|
|
1364
|
-
return this.
|
|
1364
|
+
return this.o4n();
|
|
1365
1365
|
}
|
|
1366
1366
|
get sendHashAlgorithm() {
|
|
1367
|
-
return this.
|
|
1367
|
+
return this.p4n();
|
|
1368
1368
|
}
|
|
1369
1369
|
get sendHash() {
|
|
1370
|
-
return this.
|
|
1370
|
+
return this.q4n();
|
|
1371
1371
|
}
|
|
1372
1372
|
get type() {
|
|
1373
|
-
return this.
|
|
1373
|
+
return this.k4n();
|
|
1374
1374
|
}
|
|
1375
1375
|
get hash() {
|
|
1376
|
-
return this.
|
|
1376
|
+
return this.k4l();
|
|
1377
1377
|
}
|
|
1378
1378
|
get address() {
|
|
1379
|
-
return this.
|
|
1379
|
+
return this.m4k();
|
|
1380
1380
|
}
|
|
1381
1381
|
}
|
|
1382
1382
|
protoOf($).validate = validate;
|
|
@@ -1390,13 +1390,13 @@ function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3() {
|
|
|
1390
1390
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
1391
1391
|
}
|
|
1392
1392
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_0() {
|
|
1393
|
-
return Companion_getInstance_2().
|
|
1393
|
+
return Companion_getInstance_2().y1g();
|
|
1394
1394
|
}
|
|
1395
1395
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_1() {
|
|
1396
|
-
return Companion_getInstance_2().
|
|
1396
|
+
return Companion_getInstance_2().y1g();
|
|
1397
1397
|
}
|
|
1398
1398
|
function AttoOpenBlock$Companion$$childSerializers$_anonymous__8gpm3_2() {
|
|
1399
|
-
return Companion_getInstance_2().
|
|
1399
|
+
return Companion_getInstance_2().y1g();
|
|
1400
1400
|
}
|
|
1401
1401
|
var CompanionClass_3;
|
|
1402
1402
|
function Companion_3() {
|
|
@@ -1415,9 +1415,9 @@ function Companion_3() {
|
|
|
1415
1415
|
// Inline function 'kotlin.arrayOf' call
|
|
1416
1416
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1417
1417
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1418
|
-
tmp.
|
|
1418
|
+
tmp.i4n_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];
|
|
1419
1419
|
}
|
|
1420
|
-
|
|
1420
|
+
g4n(serializedBlock) {
|
|
1421
1421
|
if (fromInt(AttoBlockType_OPEN_getInstance().size) > serializedBlock.u2()) {
|
|
1422
1422
|
return null;
|
|
1423
1423
|
}
|
|
@@ -1427,7 +1427,7 @@ function Companion_3() {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
return new (AttoOpenBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock));
|
|
1429
1429
|
}
|
|
1430
|
-
|
|
1430
|
+
y1g() {
|
|
1431
1431
|
return $serializer_getInstance_1();
|
|
1432
1432
|
}
|
|
1433
1433
|
}
|
|
@@ -1449,45 +1449,45 @@ function $serializer_1() {
|
|
|
1449
1449
|
constructor() {
|
|
1450
1450
|
$serializer_instance_1 = this;
|
|
1451
1451
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('OPEN', this, 13);
|
|
1452
|
-
tmp0_serialDesc.
|
|
1453
|
-
tmp0_serialDesc.
|
|
1454
|
-
tmp0_serialDesc.
|
|
1455
|
-
tmp0_serialDesc.
|
|
1456
|
-
tmp0_serialDesc.
|
|
1457
|
-
tmp0_serialDesc.
|
|
1458
|
-
tmp0_serialDesc.
|
|
1459
|
-
tmp0_serialDesc.
|
|
1460
|
-
tmp0_serialDesc.
|
|
1461
|
-
tmp0_serialDesc.
|
|
1462
|
-
tmp0_serialDesc.
|
|
1463
|
-
tmp0_serialDesc.
|
|
1464
|
-
tmp0_serialDesc.
|
|
1465
|
-
this.
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
var tmp0_desc = this.
|
|
1469
|
-
var tmp1_output = encoder.
|
|
1470
|
-
var tmp2_cached = Companion_getInstance_7().
|
|
1471
|
-
tmp1_output.
|
|
1472
|
-
tmp1_output.
|
|
1473
|
-
tmp1_output.
|
|
1474
|
-
tmp1_output.
|
|
1475
|
-
tmp1_output.
|
|
1476
|
-
tmp1_output.
|
|
1477
|
-
tmp1_output.
|
|
1478
|
-
tmp1_output.
|
|
1479
|
-
tmp1_output.
|
|
1480
|
-
tmp1_output.
|
|
1481
|
-
tmp1_output.
|
|
1482
|
-
tmp1_output.
|
|
1483
|
-
tmp1_output.
|
|
1484
|
-
tmp1_output.
|
|
1485
|
-
}
|
|
1486
|
-
|
|
1487
|
-
return this.
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
var tmp0_desc = this.
|
|
1452
|
+
tmp0_serialDesc.z14('network', false);
|
|
1453
|
+
tmp0_serialDesc.z14('version', false);
|
|
1454
|
+
tmp0_serialDesc.z14('algorithm', false);
|
|
1455
|
+
tmp0_serialDesc.z14('publicKey', false);
|
|
1456
|
+
tmp0_serialDesc.z14('balance', false);
|
|
1457
|
+
tmp0_serialDesc.z14('timestamp', false);
|
|
1458
|
+
tmp0_serialDesc.z14('sendHashAlgorithm', false);
|
|
1459
|
+
tmp0_serialDesc.z14('sendHash', false);
|
|
1460
|
+
tmp0_serialDesc.z14('representativeAlgorithm', false);
|
|
1461
|
+
tmp0_serialDesc.z14('representativePublicKey', false);
|
|
1462
|
+
tmp0_serialDesc.z14('height', true);
|
|
1463
|
+
tmp0_serialDesc.z14('address', true);
|
|
1464
|
+
tmp0_serialDesc.z14('representativeAddress', true);
|
|
1465
|
+
this.c4p_1 = tmp0_serialDesc;
|
|
1466
|
+
}
|
|
1467
|
+
d4p(encoder, value) {
|
|
1468
|
+
var tmp0_desc = this.c4p_1;
|
|
1469
|
+
var tmp1_output = encoder.lx(tmp0_desc);
|
|
1470
|
+
var tmp2_cached = Companion_getInstance_7().i4n_1;
|
|
1471
|
+
tmp1_output.cz(tmp0_desc, 0, tmp2_cached[0].g3(), value.i4j_1);
|
|
1472
|
+
tmp1_output.cz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.j4j_1);
|
|
1473
|
+
tmp1_output.cz(tmp0_desc, 2, tmp2_cached[2].g3(), value.k4j_1);
|
|
1474
|
+
tmp1_output.cz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.l4j_1);
|
|
1475
|
+
tmp1_output.cz(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), value.m4j_1);
|
|
1476
|
+
tmp1_output.cz(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), value.n4j_1);
|
|
1477
|
+
tmp1_output.cz(tmp0_desc, 6, tmp2_cached[6].g3(), value.o4j_1);
|
|
1478
|
+
tmp1_output.cz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.p4j_1);
|
|
1479
|
+
tmp1_output.cz(tmp0_desc, 8, tmp2_cached[8].g3(), value.q4j_1);
|
|
1480
|
+
tmp1_output.cz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.r4j_1);
|
|
1481
|
+
tmp1_output.cz(tmp0_desc, 10, AttoHeightSerializer_getInstance(), value.u4j_1);
|
|
1482
|
+
tmp1_output.cz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.v4j_1);
|
|
1483
|
+
tmp1_output.cz(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), value.representativeAddress);
|
|
1484
|
+
tmp1_output.mx(tmp0_desc);
|
|
1485
|
+
}
|
|
1486
|
+
xs(encoder, value) {
|
|
1487
|
+
return this.d4p(encoder, value instanceof AttoOpenBlock() ? value : THROW_CCE());
|
|
1488
|
+
}
|
|
1489
|
+
ys(decoder) {
|
|
1490
|
+
var tmp0_desc = this.c4p_1;
|
|
1491
1491
|
var tmp1_flag = true;
|
|
1492
1492
|
var tmp2_index = 0;
|
|
1493
1493
|
var tmp3_bitMask0 = 0;
|
|
@@ -1504,113 +1504,113 @@ function $serializer_1() {
|
|
|
1504
1504
|
var tmp14_local10 = null;
|
|
1505
1505
|
var tmp15_local11 = null;
|
|
1506
1506
|
var tmp16_local12 = null;
|
|
1507
|
-
var tmp19_input = decoder.
|
|
1508
|
-
var tmp20_cached = Companion_getInstance_7().
|
|
1509
|
-
if (tmp19_input.
|
|
1510
|
-
tmp4_local0 = tmp19_input.
|
|
1507
|
+
var tmp19_input = decoder.lx(tmp0_desc);
|
|
1508
|
+
var tmp20_cached = Companion_getInstance_7().i4n_1;
|
|
1509
|
+
if (tmp19_input.ay()) {
|
|
1510
|
+
tmp4_local0 = tmp19_input.xx(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
1511
1511
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1512
|
-
tmp5_local1 = tmp19_input.
|
|
1512
|
+
tmp5_local1 = tmp19_input.xx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1513
1513
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1514
|
-
tmp6_local2 = tmp19_input.
|
|
1514
|
+
tmp6_local2 = tmp19_input.xx(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
1515
1515
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1516
|
-
tmp7_local3 = tmp19_input.
|
|
1516
|
+
tmp7_local3 = tmp19_input.xx(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1517
1517
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1518
|
-
tmp8_local4 = tmp19_input.
|
|
1518
|
+
tmp8_local4 = tmp19_input.xx(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), tmp8_local4);
|
|
1519
1519
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1520
|
-
tmp9_local5 = tmp19_input.
|
|
1520
|
+
tmp9_local5 = tmp19_input.xx(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
1521
1521
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1522
|
-
tmp10_local6 = tmp19_input.
|
|
1522
|
+
tmp10_local6 = tmp19_input.xx(tmp0_desc, 6, tmp20_cached[6].g3(), tmp10_local6);
|
|
1523
1523
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1524
|
-
tmp11_local7 = tmp19_input.
|
|
1524
|
+
tmp11_local7 = tmp19_input.xx(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1525
1525
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1526
|
-
tmp12_local8 = tmp19_input.
|
|
1526
|
+
tmp12_local8 = tmp19_input.xx(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
1527
1527
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1528
|
-
tmp13_local9 = tmp19_input.
|
|
1528
|
+
tmp13_local9 = tmp19_input.xx(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
1529
1529
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1530
|
-
tmp14_local10 = tmp19_input.
|
|
1530
|
+
tmp14_local10 = tmp19_input.xx(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
|
|
1531
1531
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1532
|
-
tmp15_local11 = tmp19_input.
|
|
1532
|
+
tmp15_local11 = tmp19_input.xx(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
1533
1533
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1534
|
-
tmp16_local12 = tmp19_input.
|
|
1534
|
+
tmp16_local12 = tmp19_input.xx(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
1535
1535
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1536
1536
|
} else
|
|
1537
1537
|
while (tmp1_flag) {
|
|
1538
|
-
tmp2_index = tmp19_input.
|
|
1538
|
+
tmp2_index = tmp19_input.by(tmp0_desc);
|
|
1539
1539
|
switch (tmp2_index) {
|
|
1540
1540
|
case -1:
|
|
1541
1541
|
tmp1_flag = false;
|
|
1542
1542
|
break;
|
|
1543
1543
|
case 0:
|
|
1544
|
-
tmp4_local0 = tmp19_input.
|
|
1544
|
+
tmp4_local0 = tmp19_input.xx(tmp0_desc, 0, tmp20_cached[0].g3(), tmp4_local0);
|
|
1545
1545
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1546
1546
|
break;
|
|
1547
1547
|
case 1:
|
|
1548
|
-
tmp5_local1 = tmp19_input.
|
|
1548
|
+
tmp5_local1 = tmp19_input.xx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
1549
1549
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1550
1550
|
break;
|
|
1551
1551
|
case 2:
|
|
1552
|
-
tmp6_local2 = tmp19_input.
|
|
1552
|
+
tmp6_local2 = tmp19_input.xx(tmp0_desc, 2, tmp20_cached[2].g3(), tmp6_local2);
|
|
1553
1553
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1554
1554
|
break;
|
|
1555
1555
|
case 3:
|
|
1556
|
-
tmp7_local3 = tmp19_input.
|
|
1556
|
+
tmp7_local3 = tmp19_input.xx(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
1557
1557
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1558
1558
|
break;
|
|
1559
1559
|
case 4:
|
|
1560
|
-
tmp8_local4 = tmp19_input.
|
|
1560
|
+
tmp8_local4 = tmp19_input.xx(tmp0_desc, 4, AttoAmountAsULongSerializer_getInstance(), tmp8_local4);
|
|
1561
1561
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1562
1562
|
break;
|
|
1563
1563
|
case 5:
|
|
1564
|
-
tmp9_local5 = tmp19_input.
|
|
1564
|
+
tmp9_local5 = tmp19_input.xx(tmp0_desc, 5, AttoInstantAsLongSerializer_getInstance(), tmp9_local5);
|
|
1565
1565
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1566
1566
|
break;
|
|
1567
1567
|
case 6:
|
|
1568
|
-
tmp10_local6 = tmp19_input.
|
|
1568
|
+
tmp10_local6 = tmp19_input.xx(tmp0_desc, 6, tmp20_cached[6].g3(), tmp10_local6);
|
|
1569
1569
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1570
1570
|
break;
|
|
1571
1571
|
case 7:
|
|
1572
|
-
tmp11_local7 = tmp19_input.
|
|
1572
|
+
tmp11_local7 = tmp19_input.xx(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
1573
1573
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1574
1574
|
break;
|
|
1575
1575
|
case 8:
|
|
1576
|
-
tmp12_local8 = tmp19_input.
|
|
1576
|
+
tmp12_local8 = tmp19_input.xx(tmp0_desc, 8, tmp20_cached[8].g3(), tmp12_local8);
|
|
1577
1577
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1578
1578
|
break;
|
|
1579
1579
|
case 9:
|
|
1580
|
-
tmp13_local9 = tmp19_input.
|
|
1580
|
+
tmp13_local9 = tmp19_input.xx(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
1581
1581
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1582
1582
|
break;
|
|
1583
1583
|
case 10:
|
|
1584
|
-
tmp14_local10 = tmp19_input.
|
|
1584
|
+
tmp14_local10 = tmp19_input.xx(tmp0_desc, 10, AttoHeightSerializer_getInstance(), tmp14_local10);
|
|
1585
1585
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1586
1586
|
break;
|
|
1587
1587
|
case 11:
|
|
1588
|
-
tmp15_local11 = tmp19_input.
|
|
1588
|
+
tmp15_local11 = tmp19_input.xx(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
1589
1589
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1590
1590
|
break;
|
|
1591
1591
|
case 12:
|
|
1592
|
-
tmp16_local12 = tmp19_input.
|
|
1592
|
+
tmp16_local12 = tmp19_input.xx(tmp0_desc, 12, AttoAddressAsStringSerializer_getInstance(), tmp16_local12);
|
|
1593
1593
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1594
1594
|
break;
|
|
1595
1595
|
default:
|
|
1596
|
-
throw UnknownFieldException().
|
|
1596
|
+
throw UnknownFieldException().su(tmp2_index);
|
|
1597
1597
|
}
|
|
1598
1598
|
}
|
|
1599
|
-
tmp19_input.
|
|
1600
|
-
return AttoOpenBlock().
|
|
1599
|
+
tmp19_input.mx(tmp0_desc);
|
|
1600
|
+
return AttoOpenBlock().e4p(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);
|
|
1601
1601
|
}
|
|
1602
|
-
|
|
1603
|
-
return this.
|
|
1602
|
+
ws() {
|
|
1603
|
+
return this.c4p_1;
|
|
1604
1604
|
}
|
|
1605
|
-
|
|
1606
|
-
var tmp0_cached = Companion_getInstance_7().
|
|
1605
|
+
o15() {
|
|
1606
|
+
var tmp0_cached = Companion_getInstance_7().i4n_1;
|
|
1607
1607
|
// Inline function 'kotlin.arrayOf' call
|
|
1608
1608
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1609
1609
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1610
1610
|
return [tmp0_cached[0].g3(), AttoVersionSerializer_getInstance(), tmp0_cached[2].g3(), AttoPublicKeyAsStringSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), tmp0_cached[6].g3(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].g3(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
|
|
1611
1611
|
}
|
|
1612
1612
|
}
|
|
1613
|
-
protoOf($).
|
|
1613
|
+
protoOf($).p15 = typeParametersSerializers;
|
|
1614
1614
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
1615
1615
|
$serializerClass_1 = $;
|
|
1616
1616
|
}
|
|
@@ -1623,13 +1623,13 @@ function $serializer_getInstance_1() {
|
|
|
1623
1623
|
return $serializer_instance_1;
|
|
1624
1624
|
}
|
|
1625
1625
|
function AttoOpenBlock$hash$delegate$lambda(this$0) {
|
|
1626
|
-
return () => hash(this$0.
|
|
1626
|
+
return () => hash(this$0.a4m());
|
|
1627
1627
|
}
|
|
1628
1628
|
function AttoOpenBlock$_get_hash_$ref_fk78xn() {
|
|
1629
1629
|
return (p0) => p0.hash;
|
|
1630
1630
|
}
|
|
1631
1631
|
function AttoOpenBlock$_init_$lambda_2mk62y(this$0) {
|
|
1632
|
-
return () => hash(this$0.
|
|
1632
|
+
return () => hash(this$0.a4m());
|
|
1633
1633
|
}
|
|
1634
1634
|
var AttoOpenBlockClass;
|
|
1635
1635
|
function AttoOpenBlock() {
|
|
@@ -1637,148 +1637,148 @@ function AttoOpenBlock() {
|
|
|
1637
1637
|
class $ {
|
|
1638
1638
|
constructor(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) {
|
|
1639
1639
|
Companion_getInstance_7();
|
|
1640
|
-
this.
|
|
1641
|
-
this.
|
|
1642
|
-
this.
|
|
1643
|
-
this.
|
|
1644
|
-
this.
|
|
1645
|
-
this.
|
|
1646
|
-
this.
|
|
1647
|
-
this.
|
|
1648
|
-
this.
|
|
1649
|
-
this.
|
|
1650
|
-
this.
|
|
1640
|
+
this.i4j_1 = network;
|
|
1641
|
+
this.j4j_1 = version;
|
|
1642
|
+
this.k4j_1 = algorithm;
|
|
1643
|
+
this.l4j_1 = publicKey;
|
|
1644
|
+
this.m4j_1 = balance;
|
|
1645
|
+
this.n4j_1 = timestamp;
|
|
1646
|
+
this.o4j_1 = sendHashAlgorithm;
|
|
1647
|
+
this.p4j_1 = sendHash;
|
|
1648
|
+
this.q4j_1 = representativeAlgorithm;
|
|
1649
|
+
this.r4j_1 = representativePublicKey;
|
|
1650
|
+
this.s4j_1 = AttoBlockType_OPEN_getInstance();
|
|
1651
1651
|
var tmp = this;
|
|
1652
|
-
tmp.
|
|
1653
|
-
this.
|
|
1654
|
-
this.
|
|
1655
|
-
this.representativeAddress = new (AttoAddress())(this.
|
|
1652
|
+
tmp.t4j_1 = lazy_0(AttoOpenBlock$hash$delegate$lambda(this));
|
|
1653
|
+
this.u4j_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
|
|
1654
|
+
this.v4j_1 = new (AttoAddress())(this.k4j_1, this.l4j_1);
|
|
1655
|
+
this.representativeAddress = new (AttoAddress())(this.q4j_1, this.r4j_1);
|
|
1656
1656
|
}
|
|
1657
|
-
|
|
1658
|
-
return this.
|
|
1657
|
+
e4k() {
|
|
1658
|
+
return this.i4j_1;
|
|
1659
1659
|
}
|
|
1660
|
-
|
|
1661
|
-
return this.
|
|
1660
|
+
t3i() {
|
|
1661
|
+
return this.j4j_1;
|
|
1662
1662
|
}
|
|
1663
|
-
|
|
1664
|
-
return this.
|
|
1663
|
+
f4k() {
|
|
1664
|
+
return this.k4j_1;
|
|
1665
1665
|
}
|
|
1666
|
-
|
|
1667
|
-
return this.
|
|
1666
|
+
d4k() {
|
|
1667
|
+
return this.l4j_1;
|
|
1668
1668
|
}
|
|
1669
|
-
|
|
1670
|
-
return this.
|
|
1669
|
+
h4k() {
|
|
1670
|
+
return this.m4j_1;
|
|
1671
1671
|
}
|
|
1672
|
-
|
|
1673
|
-
return this.
|
|
1672
|
+
p4l() {
|
|
1673
|
+
return this.n4j_1;
|
|
1674
1674
|
}
|
|
1675
|
-
|
|
1676
|
-
return this.
|
|
1675
|
+
p4n() {
|
|
1676
|
+
return this.o4j_1;
|
|
1677
1677
|
}
|
|
1678
|
-
|
|
1679
|
-
return this.
|
|
1678
|
+
q4n() {
|
|
1679
|
+
return this.p4j_1;
|
|
1680
1680
|
}
|
|
1681
|
-
|
|
1682
|
-
return this.
|
|
1681
|
+
k4k() {
|
|
1682
|
+
return this.q4j_1;
|
|
1683
1683
|
}
|
|
1684
|
-
|
|
1685
|
-
return this.
|
|
1684
|
+
l4k() {
|
|
1685
|
+
return this.r4j_1;
|
|
1686
1686
|
}
|
|
1687
|
-
|
|
1688
|
-
return this.
|
|
1687
|
+
k4n() {
|
|
1688
|
+
return this.s4j_1;
|
|
1689
1689
|
}
|
|
1690
|
-
|
|
1691
|
-
var tmp0 = this.
|
|
1690
|
+
k4l() {
|
|
1691
|
+
var tmp0 = this.t4j_1;
|
|
1692
1692
|
var tmp = KProperty1();
|
|
1693
1693
|
// Inline function 'kotlin.getValue' call
|
|
1694
1694
|
getPropertyCallableRef('hash', 1, tmp, AttoOpenBlock$_get_hash_$ref_fk78xn(), null);
|
|
1695
1695
|
return tmp0.g3();
|
|
1696
1696
|
}
|
|
1697
|
-
|
|
1698
|
-
return this.
|
|
1697
|
+
g4k() {
|
|
1698
|
+
return this.u4j_1;
|
|
1699
1699
|
}
|
|
1700
|
-
|
|
1701
|
-
return this.
|
|
1700
|
+
m4k() {
|
|
1701
|
+
return this.v4j_1;
|
|
1702
1702
|
}
|
|
1703
|
-
|
|
1703
|
+
n4k() {
|
|
1704
1704
|
return this.representativeAddress;
|
|
1705
1705
|
}
|
|
1706
|
-
|
|
1706
|
+
a4m() {
|
|
1707
1707
|
// Inline function 'kotlin.apply' call
|
|
1708
1708
|
var this_0 = new (Buffer())();
|
|
1709
|
-
writeAttoBlockType(this_0, this.
|
|
1710
|
-
writeAttoNetwork(this_0, this.
|
|
1711
|
-
writeAttoVersion(this_0, this.
|
|
1712
|
-
writeAttoAlgorithm(this_0, this.
|
|
1713
|
-
writeAttoPublicKey(this_0, this.
|
|
1714
|
-
writeAttoAmount(this_0, this.
|
|
1715
|
-
writeInstant(this_0, this.
|
|
1716
|
-
writeAttoAlgorithm(this_0, this.
|
|
1717
|
-
writeAttoHash(this_0, this.
|
|
1718
|
-
writeAttoAlgorithm(this_0, this.
|
|
1719
|
-
writeAttoPublicKey(this_0, this.
|
|
1709
|
+
writeAttoBlockType(this_0, this.s4j_1);
|
|
1710
|
+
writeAttoNetwork(this_0, this.i4j_1);
|
|
1711
|
+
writeAttoVersion(this_0, this.j4j_1);
|
|
1712
|
+
writeAttoAlgorithm(this_0, this.k4j_1);
|
|
1713
|
+
writeAttoPublicKey(this_0, this.l4j_1);
|
|
1714
|
+
writeAttoAmount(this_0, this.m4j_1);
|
|
1715
|
+
writeInstant(this_0, this.n4j_1);
|
|
1716
|
+
writeAttoAlgorithm(this_0, this.o4j_1);
|
|
1717
|
+
writeAttoHash(this_0, this.p4j_1);
|
|
1718
|
+
writeAttoAlgorithm(this_0, this.q4j_1);
|
|
1719
|
+
writeAttoPublicKey(this_0, this.r4j_1);
|
|
1720
1720
|
return this_0;
|
|
1721
1721
|
}
|
|
1722
|
-
|
|
1723
|
-
return this.
|
|
1722
|
+
ye() {
|
|
1723
|
+
return this.i4j_1;
|
|
1724
1724
|
}
|
|
1725
|
-
|
|
1726
|
-
return this.
|
|
1725
|
+
ze() {
|
|
1726
|
+
return this.j4j_1;
|
|
1727
1727
|
}
|
|
1728
|
-
|
|
1729
|
-
return this.
|
|
1728
|
+
v4k() {
|
|
1729
|
+
return this.k4j_1;
|
|
1730
1730
|
}
|
|
1731
|
-
|
|
1732
|
-
return this.
|
|
1731
|
+
w4k() {
|
|
1732
|
+
return this.l4j_1;
|
|
1733
1733
|
}
|
|
1734
|
-
|
|
1735
|
-
return this.
|
|
1734
|
+
x4k() {
|
|
1735
|
+
return this.m4j_1;
|
|
1736
1736
|
}
|
|
1737
|
-
|
|
1738
|
-
return this.
|
|
1737
|
+
y4k() {
|
|
1738
|
+
return this.n4j_1;
|
|
1739
1739
|
}
|
|
1740
|
-
|
|
1741
|
-
return this.
|
|
1740
|
+
z4k() {
|
|
1741
|
+
return this.o4j_1;
|
|
1742
1742
|
}
|
|
1743
|
-
|
|
1744
|
-
return this.
|
|
1743
|
+
a4l() {
|
|
1744
|
+
return this.p4j_1;
|
|
1745
1745
|
}
|
|
1746
|
-
|
|
1747
|
-
return this.
|
|
1746
|
+
b4l() {
|
|
1747
|
+
return this.q4j_1;
|
|
1748
1748
|
}
|
|
1749
|
-
|
|
1750
|
-
return this.
|
|
1749
|
+
c4l() {
|
|
1750
|
+
return this.r4j_1;
|
|
1751
1751
|
}
|
|
1752
|
-
|
|
1752
|
+
f4p(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) {
|
|
1753
1753
|
return new (AttoOpenBlock())(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey);
|
|
1754
1754
|
}
|
|
1755
1755
|
copy(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey, $super) {
|
|
1756
|
-
network = network === VOID ? this.
|
|
1757
|
-
version = version === VOID ? this.
|
|
1758
|
-
algorithm = algorithm === VOID ? this.
|
|
1759
|
-
publicKey = publicKey === VOID ? this.
|
|
1760
|
-
balance = balance === VOID ? this.
|
|
1761
|
-
timestamp = timestamp === VOID ? this.
|
|
1762
|
-
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.
|
|
1763
|
-
sendHash = sendHash === VOID ? this.
|
|
1764
|
-
representativeAlgorithm = representativeAlgorithm === VOID ? this.
|
|
1765
|
-
representativePublicKey = representativePublicKey === VOID ? this.
|
|
1766
|
-
return $super === VOID ? this.
|
|
1756
|
+
network = network === VOID ? this.i4j_1 : network;
|
|
1757
|
+
version = version === VOID ? this.j4j_1 : version;
|
|
1758
|
+
algorithm = algorithm === VOID ? this.k4j_1 : algorithm;
|
|
1759
|
+
publicKey = publicKey === VOID ? this.l4j_1 : publicKey;
|
|
1760
|
+
balance = balance === VOID ? this.m4j_1 : balance;
|
|
1761
|
+
timestamp = timestamp === VOID ? this.n4j_1 : timestamp;
|
|
1762
|
+
sendHashAlgorithm = sendHashAlgorithm === VOID ? this.o4j_1 : sendHashAlgorithm;
|
|
1763
|
+
sendHash = sendHash === VOID ? this.p4j_1 : sendHash;
|
|
1764
|
+
representativeAlgorithm = representativeAlgorithm === VOID ? this.q4j_1 : representativeAlgorithm;
|
|
1765
|
+
representativePublicKey = representativePublicKey === VOID ? this.r4j_1 : representativePublicKey;
|
|
1766
|
+
return $super === VOID ? this.f4p(network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey) : $super.f4p.call(this, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey);
|
|
1767
1767
|
}
|
|
1768
1768
|
toString() {
|
|
1769
|
-
return 'AttoOpenBlock(network=' + this.
|
|
1769
|
+
return 'AttoOpenBlock(network=' + this.i4j_1.toString() + ', version=' + this.j4j_1.toString() + ', algorithm=' + this.k4j_1.toString() + ', publicKey=' + this.l4j_1.toString() + ', balance=' + this.m4j_1.toString() + ', timestamp=' + this.n4j_1.toString() + ', sendHashAlgorithm=' + this.o4j_1.toString() + ', sendHash=' + this.p4j_1.toString() + ', representativeAlgorithm=' + this.q4j_1.toString() + ', representativePublicKey=' + this.r4j_1.toString() + ')';
|
|
1770
1770
|
}
|
|
1771
1771
|
hashCode() {
|
|
1772
|
-
var result = this.
|
|
1773
|
-
result = imul(result, 31) + this.
|
|
1774
|
-
result = imul(result, 31) + this.
|
|
1775
|
-
result = imul(result, 31) + this.
|
|
1776
|
-
result = imul(result, 31) + this.
|
|
1777
|
-
result = imul(result, 31) + this.
|
|
1778
|
-
result = imul(result, 31) + this.
|
|
1779
|
-
result = imul(result, 31) + this.
|
|
1780
|
-
result = imul(result, 31) + this.
|
|
1781
|
-
result = imul(result, 31) + this.
|
|
1772
|
+
var result = this.i4j_1.hashCode();
|
|
1773
|
+
result = imul(result, 31) + this.j4j_1.hashCode() | 0;
|
|
1774
|
+
result = imul(result, 31) + this.k4j_1.hashCode() | 0;
|
|
1775
|
+
result = imul(result, 31) + this.l4j_1.hashCode() | 0;
|
|
1776
|
+
result = imul(result, 31) + this.m4j_1.hashCode() | 0;
|
|
1777
|
+
result = imul(result, 31) + this.n4j_1.hashCode() | 0;
|
|
1778
|
+
result = imul(result, 31) + this.o4j_1.hashCode() | 0;
|
|
1779
|
+
result = imul(result, 31) + this.p4j_1.hashCode() | 0;
|
|
1780
|
+
result = imul(result, 31) + this.q4j_1.hashCode() | 0;
|
|
1781
|
+
result = imul(result, 31) + this.r4j_1.hashCode() | 0;
|
|
1782
1782
|
return result;
|
|
1783
1783
|
}
|
|
1784
1784
|
equals(other) {
|
|
@@ -1786,102 +1786,102 @@ function AttoOpenBlock() {
|
|
|
1786
1786
|
return true;
|
|
1787
1787
|
if (!(other instanceof AttoOpenBlock()))
|
|
1788
1788
|
return false;
|
|
1789
|
-
if (!this.
|
|
1789
|
+
if (!this.i4j_1.equals(other.i4j_1))
|
|
1790
1790
|
return false;
|
|
1791
|
-
if (!this.
|
|
1791
|
+
if (!this.j4j_1.equals(other.j4j_1))
|
|
1792
1792
|
return false;
|
|
1793
|
-
if (!this.
|
|
1793
|
+
if (!this.k4j_1.equals(other.k4j_1))
|
|
1794
1794
|
return false;
|
|
1795
|
-
if (!this.
|
|
1795
|
+
if (!this.l4j_1.equals(other.l4j_1))
|
|
1796
1796
|
return false;
|
|
1797
|
-
if (!this.
|
|
1797
|
+
if (!this.m4j_1.equals(other.m4j_1))
|
|
1798
1798
|
return false;
|
|
1799
|
-
if (!this.
|
|
1799
|
+
if (!this.n4j_1.equals(other.n4j_1))
|
|
1800
1800
|
return false;
|
|
1801
|
-
if (!this.
|
|
1801
|
+
if (!this.o4j_1.equals(other.o4j_1))
|
|
1802
1802
|
return false;
|
|
1803
|
-
if (!this.
|
|
1803
|
+
if (!this.p4j_1.equals(other.p4j_1))
|
|
1804
1804
|
return false;
|
|
1805
|
-
if (!this.
|
|
1805
|
+
if (!this.q4j_1.equals(other.q4j_1))
|
|
1806
1806
|
return false;
|
|
1807
|
-
if (!this.
|
|
1807
|
+
if (!this.r4j_1.equals(other.r4j_1))
|
|
1808
1808
|
return false;
|
|
1809
1809
|
return true;
|
|
1810
1810
|
}
|
|
1811
|
-
static
|
|
1811
|
+
static e4p(seen0, network, version, algorithm, publicKey, balance, timestamp, sendHashAlgorithm, sendHash, representativeAlgorithm, representativePublicKey, height, address, representativeAddress, serializationConstructorMarker) {
|
|
1812
1812
|
Companion_getInstance_7();
|
|
1813
1813
|
if (!(1023 === (1023 & seen0))) {
|
|
1814
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_1().
|
|
1814
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_1().c4p_1);
|
|
1815
1815
|
}
|
|
1816
1816
|
var $this = createThis(this);
|
|
1817
|
-
$this.
|
|
1818
|
-
$this.
|
|
1819
|
-
$this.
|
|
1820
|
-
$this.
|
|
1821
|
-
$this.
|
|
1822
|
-
$this.
|
|
1823
|
-
$this.
|
|
1824
|
-
$this.
|
|
1825
|
-
$this.
|
|
1826
|
-
$this.
|
|
1827
|
-
$this.
|
|
1817
|
+
$this.i4j_1 = network;
|
|
1818
|
+
$this.j4j_1 = version;
|
|
1819
|
+
$this.k4j_1 = algorithm;
|
|
1820
|
+
$this.l4j_1 = publicKey;
|
|
1821
|
+
$this.m4j_1 = balance;
|
|
1822
|
+
$this.n4j_1 = timestamp;
|
|
1823
|
+
$this.o4j_1 = sendHashAlgorithm;
|
|
1824
|
+
$this.p4j_1 = sendHash;
|
|
1825
|
+
$this.q4j_1 = representativeAlgorithm;
|
|
1826
|
+
$this.r4j_1 = representativePublicKey;
|
|
1827
|
+
$this.s4j_1 = AttoBlockType_OPEN_getInstance();
|
|
1828
1828
|
var tmp = $this;
|
|
1829
|
-
tmp.
|
|
1829
|
+
tmp.t4j_1 = lazy_0(AttoOpenBlock$_init_$lambda_2mk62y($this));
|
|
1830
1830
|
if (0 === (seen0 & 1024))
|
|
1831
|
-
$this.
|
|
1831
|
+
$this.u4j_1 = new (AttoHeight())(_ULong___init__impl__c78o9k(1n));
|
|
1832
1832
|
else
|
|
1833
|
-
$this.
|
|
1833
|
+
$this.u4j_1 = height;
|
|
1834
1834
|
if (0 === (seen0 & 2048))
|
|
1835
|
-
$this.
|
|
1835
|
+
$this.v4j_1 = new (AttoAddress())($this.k4j_1, $this.l4j_1);
|
|
1836
1836
|
else
|
|
1837
|
-
$this.
|
|
1837
|
+
$this.v4j_1 = address;
|
|
1838
1838
|
if (0 === (seen0 & 4096))
|
|
1839
|
-
$this.representativeAddress = new (AttoAddress())($this.
|
|
1839
|
+
$this.representativeAddress = new (AttoAddress())($this.q4j_1, $this.r4j_1);
|
|
1840
1840
|
else
|
|
1841
1841
|
$this.representativeAddress = representativeAddress;
|
|
1842
1842
|
return $this;
|
|
1843
1843
|
}
|
|
1844
1844
|
get network() {
|
|
1845
|
-
return this.
|
|
1845
|
+
return this.e4k();
|
|
1846
1846
|
}
|
|
1847
1847
|
get version() {
|
|
1848
|
-
return this.
|
|
1848
|
+
return this.t3i();
|
|
1849
1849
|
}
|
|
1850
1850
|
get algorithm() {
|
|
1851
|
-
return this.
|
|
1851
|
+
return this.f4k();
|
|
1852
1852
|
}
|
|
1853
1853
|
get publicKey() {
|
|
1854
|
-
return this.
|
|
1854
|
+
return this.d4k();
|
|
1855
1855
|
}
|
|
1856
1856
|
get balance() {
|
|
1857
|
-
return this.
|
|
1857
|
+
return this.h4k();
|
|
1858
1858
|
}
|
|
1859
1859
|
get timestamp() {
|
|
1860
|
-
return this.
|
|
1860
|
+
return this.p4l();
|
|
1861
1861
|
}
|
|
1862
1862
|
get sendHashAlgorithm() {
|
|
1863
|
-
return this.
|
|
1863
|
+
return this.p4n();
|
|
1864
1864
|
}
|
|
1865
1865
|
get sendHash() {
|
|
1866
|
-
return this.
|
|
1866
|
+
return this.q4n();
|
|
1867
1867
|
}
|
|
1868
1868
|
get representativeAlgorithm() {
|
|
1869
|
-
return this.
|
|
1869
|
+
return this.k4k();
|
|
1870
1870
|
}
|
|
1871
1871
|
get representativePublicKey() {
|
|
1872
|
-
return this.
|
|
1872
|
+
return this.l4k();
|
|
1873
1873
|
}
|
|
1874
1874
|
get type() {
|
|
1875
|
-
return this.
|
|
1875
|
+
return this.k4n();
|
|
1876
1876
|
}
|
|
1877
1877
|
get hash() {
|
|
1878
|
-
return this.
|
|
1878
|
+
return this.k4l();
|
|
1879
1879
|
}
|
|
1880
1880
|
get height() {
|
|
1881
|
-
return this.
|
|
1881
|
+
return this.g4k();
|
|
1882
1882
|
}
|
|
1883
1883
|
get address() {
|
|
1884
|
-
return this.
|
|
1884
|
+
return this.m4k();
|
|
1885
1885
|
}
|
|
1886
1886
|
}
|
|
1887
1887
|
protoOf($).validate = validate;
|
|
@@ -1895,10 +1895,10 @@ function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff() {
|
|
|
1895
1895
|
return createSimpleEnumSerializer('cash.atto.commons.AttoNetwork', values());
|
|
1896
1896
|
}
|
|
1897
1897
|
function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_0() {
|
|
1898
|
-
return Companion_getInstance_2().
|
|
1898
|
+
return Companion_getInstance_2().y1g();
|
|
1899
1899
|
}
|
|
1900
1900
|
function AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_1() {
|
|
1901
|
-
return Companion_getInstance_2().
|
|
1901
|
+
return Companion_getInstance_2().y1g();
|
|
1902
1902
|
}
|
|
1903
1903
|
var CompanionClass_4;
|
|
1904
1904
|
function Companion_4() {
|
|
@@ -1915,9 +1915,9 @@ function Companion_4() {
|
|
|
1915
1915
|
// Inline function 'kotlin.arrayOf' call
|
|
1916
1916
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1917
1917
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1918
|
-
tmp.
|
|
1918
|
+
tmp.j4n_1 = [tmp_1, null, tmp_3, null, null, null, null, null, lazy(tmp_4, AttoChangeBlock$Companion$$childSerializers$_anonymous__3y9hff_1), null, null, null];
|
|
1919
1919
|
}
|
|
1920
|
-
|
|
1920
|
+
g4n(serializedBlock) {
|
|
1921
1921
|
if (fromInt(AttoBlockType_CHANGE_getInstance().size) > serializedBlock.u2()) {
|
|
1922
1922
|
return null;
|
|
1923
1923
|
}
|
|
@@ -1927,7 +1927,7 @@ function Companion_4() {
|
|
|
1927
1927
|
}
|
|
1928
1928
|
return new (AttoChangeBlock())(readAttoNetwork(serializedBlock), readAttoVersion(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock), readAttoHeight(serializedBlock), readAttoAmount(serializedBlock), readInstant(serializedBlock), readAttoHash(serializedBlock), readAttoAlgorithm(serializedBlock), readAttoPublicKey(serializedBlock));
|
|
1929
1929
|
}
|
|
1930
|
-
|
|
1930
|
+
y1g() {
|
|
1931
1931
|
return $serializer_getInstance_2();
|
|
1932
1932
|
}
|
|
1933
1933
|
}
|
|
@@ -1949,43 +1949,43 @@ function $serializer_2() {
|
|
|
1949
1949
|
constructor() {
|
|
1950
1950
|
$serializer_instance_2 = this;
|
|
1951
1951
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('CHANGE', this, 12);
|
|
1952
|
-
tmp0_serialDesc.
|
|
1953
|
-
tmp0_serialDesc.
|
|
1954
|
-
tmp0_serialDesc.
|
|
1955
|
-
tmp0_serialDesc.
|
|
1956
|
-
tmp0_serialDesc.
|
|
1957
|
-
tmp0_serialDesc.
|
|
1958
|
-
tmp0_serialDesc.
|
|
1959
|
-
tmp0_serialDesc.
|
|
1960
|
-
tmp0_serialDesc.
|
|
1961
|
-
tmp0_serialDesc.
|
|
1962
|
-
tmp0_serialDesc.
|
|
1963
|
-
tmp0_serialDesc.
|
|
1964
|
-
this.
|
|
1965
|
-
}
|
|
1966
|
-
|
|
1967
|
-
var tmp0_desc = this.
|
|
1968
|
-
var tmp1_output = encoder.
|
|
1969
|
-
var tmp2_cached = Companion_getInstance_8().
|
|
1970
|
-
tmp1_output.
|
|
1971
|
-
tmp1_output.
|
|
1972
|
-
tmp1_output.
|
|
1973
|
-
tmp1_output.
|
|
1974
|
-
tmp1_output.
|
|
1975
|
-
tmp1_output.
|
|
1976
|
-
tmp1_output.
|
|
1977
|
-
tmp1_output.
|
|
1978
|
-
tmp1_output.
|
|
1979
|
-
tmp1_output.
|
|
1980
|
-
tmp1_output.
|
|
1981
|
-
tmp1_output.
|
|
1982
|
-
tmp1_output.
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
|
-
return this.
|
|
1986
|
-
}
|
|
1987
|
-
|
|
1988
|
-
var tmp0_desc = this.
|
|
1952
|
+
tmp0_serialDesc.z14('network', false);
|
|
1953
|
+
tmp0_serialDesc.z14('version', false);
|
|
1954
|
+
tmp0_serialDesc.z14('algorithm', false);
|
|
1955
|
+
tmp0_serialDesc.z14('publicKey', false);
|
|
1956
|
+
tmp0_serialDesc.z14('height', false);
|
|
1957
|
+
tmp0_serialDesc.z14('balance', false);
|
|
1958
|
+
tmp0_serialDesc.z14('timestamp', false);
|
|
1959
|
+
tmp0_serialDesc.z14('previous', false);
|
|
1960
|
+
tmp0_serialDesc.z14('representativeAlgorithm', false);
|
|
1961
|
+
tmp0_serialDesc.z14('representativePublicKey', false);
|
|
1962
|
+
tmp0_serialDesc.z14('address', true);
|
|
1963
|
+
tmp0_serialDesc.z14('representativeAddress', true);
|
|
1964
|
+
this.g4p_1 = tmp0_serialDesc;
|
|
1965
|
+
}
|
|
1966
|
+
h4p(encoder, value) {
|
|
1967
|
+
var tmp0_desc = this.g4p_1;
|
|
1968
|
+
var tmp1_output = encoder.lx(tmp0_desc);
|
|
1969
|
+
var tmp2_cached = Companion_getInstance_8().j4n_1;
|
|
1970
|
+
tmp1_output.cz(tmp0_desc, 0, tmp2_cached[0].g3(), value.i4p_1);
|
|
1971
|
+
tmp1_output.cz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.j4p_1);
|
|
1972
|
+
tmp1_output.cz(tmp0_desc, 2, tmp2_cached[2].g3(), value.k4p_1);
|
|
1973
|
+
tmp1_output.cz(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), value.l4p_1);
|
|
1974
|
+
tmp1_output.cz(tmp0_desc, 4, AttoHeightSerializer_getInstance(), value.m4p_1);
|
|
1975
|
+
tmp1_output.cz(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), value.n4p_1);
|
|
1976
|
+
tmp1_output.cz(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), value.o4p_1);
|
|
1977
|
+
tmp1_output.cz(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), value.p4p_1);
|
|
1978
|
+
tmp1_output.cz(tmp0_desc, 8, tmp2_cached[8].g3(), value.q4p_1);
|
|
1979
|
+
tmp1_output.cz(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), value.r4p_1);
|
|
1980
|
+
tmp1_output.cz(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), value.u4p_1);
|
|
1981
|
+
tmp1_output.cz(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), value.representativeAddress);
|
|
1982
|
+
tmp1_output.mx(tmp0_desc);
|
|
1983
|
+
}
|
|
1984
|
+
xs(encoder, value) {
|
|
1985
|
+
return this.h4p(encoder, value instanceof AttoChangeBlock() ? value : THROW_CCE());
|
|
1986
|
+
}
|
|
1987
|
+
ys(decoder) {
|
|
1988
|
+
var tmp0_desc = this.g4p_1;
|
|
1989
1989
|
var tmp1_flag = true;
|
|
1990
1990
|
var tmp2_index = 0;
|
|
1991
1991
|
var tmp3_bitMask0 = 0;
|
|
@@ -2001,107 +2001,107 @@ function $serializer_2() {
|
|
|
2001
2001
|
var tmp13_local9 = null;
|
|
2002
2002
|
var tmp14_local10 = null;
|
|
2003
2003
|
var tmp15_local11 = null;
|
|
2004
|
-
var tmp18_input = decoder.
|
|
2005
|
-
var tmp19_cached = Companion_getInstance_8().
|
|
2006
|
-
if (tmp18_input.
|
|
2007
|
-
tmp4_local0 = tmp18_input.
|
|
2004
|
+
var tmp18_input = decoder.lx(tmp0_desc);
|
|
2005
|
+
var tmp19_cached = Companion_getInstance_8().j4n_1;
|
|
2006
|
+
if (tmp18_input.ay()) {
|
|
2007
|
+
tmp4_local0 = tmp18_input.xx(tmp0_desc, 0, tmp19_cached[0].g3(), tmp4_local0);
|
|
2008
2008
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2009
|
-
tmp5_local1 = tmp18_input.
|
|
2009
|
+
tmp5_local1 = tmp18_input.xx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
2010
2010
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2011
|
-
tmp6_local2 = tmp18_input.
|
|
2011
|
+
tmp6_local2 = tmp18_input.xx(tmp0_desc, 2, tmp19_cached[2].g3(), tmp6_local2);
|
|
2012
2012
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2013
|
-
tmp7_local3 = tmp18_input.
|
|
2013
|
+
tmp7_local3 = tmp18_input.xx(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
2014
2014
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2015
|
-
tmp8_local4 = tmp18_input.
|
|
2015
|
+
tmp8_local4 = tmp18_input.xx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
2016
2016
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2017
|
-
tmp9_local5 = tmp18_input.
|
|
2017
|
+
tmp9_local5 = tmp18_input.xx(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
2018
2018
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2019
|
-
tmp10_local6 = tmp18_input.
|
|
2019
|
+
tmp10_local6 = tmp18_input.xx(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
2020
2020
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2021
|
-
tmp11_local7 = tmp18_input.
|
|
2021
|
+
tmp11_local7 = tmp18_input.xx(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
2022
2022
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2023
|
-
tmp12_local8 = tmp18_input.
|
|
2023
|
+
tmp12_local8 = tmp18_input.xx(tmp0_desc, 8, tmp19_cached[8].g3(), tmp12_local8);
|
|
2024
2024
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2025
|
-
tmp13_local9 = tmp18_input.
|
|
2025
|
+
tmp13_local9 = tmp18_input.xx(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
2026
2026
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2027
|
-
tmp14_local10 = tmp18_input.
|
|
2027
|
+
tmp14_local10 = tmp18_input.xx(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
2028
2028
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2029
|
-
tmp15_local11 = tmp18_input.
|
|
2029
|
+
tmp15_local11 = tmp18_input.xx(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
2030
2030
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2031
2031
|
} else
|
|
2032
2032
|
while (tmp1_flag) {
|
|
2033
|
-
tmp2_index = tmp18_input.
|
|
2033
|
+
tmp2_index = tmp18_input.by(tmp0_desc);
|
|
2034
2034
|
switch (tmp2_index) {
|
|
2035
2035
|
case -1:
|
|
2036
2036
|
tmp1_flag = false;
|
|
2037
2037
|
break;
|
|
2038
2038
|
case 0:
|
|
2039
|
-
tmp4_local0 = tmp18_input.
|
|
2039
|
+
tmp4_local0 = tmp18_input.xx(tmp0_desc, 0, tmp19_cached[0].g3(), tmp4_local0);
|
|
2040
2040
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2041
2041
|
break;
|
|
2042
2042
|
case 1:
|
|
2043
|
-
tmp5_local1 = tmp18_input.
|
|
2043
|
+
tmp5_local1 = tmp18_input.xx(tmp0_desc, 1, AttoVersionSerializer_getInstance(), tmp5_local1);
|
|
2044
2044
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2045
2045
|
break;
|
|
2046
2046
|
case 2:
|
|
2047
|
-
tmp6_local2 = tmp18_input.
|
|
2047
|
+
tmp6_local2 = tmp18_input.xx(tmp0_desc, 2, tmp19_cached[2].g3(), tmp6_local2);
|
|
2048
2048
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2049
2049
|
break;
|
|
2050
2050
|
case 3:
|
|
2051
|
-
tmp7_local3 = tmp18_input.
|
|
2051
|
+
tmp7_local3 = tmp18_input.xx(tmp0_desc, 3, AttoPublicKeyAsStringSerializer_getInstance(), tmp7_local3);
|
|
2052
2052
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2053
2053
|
break;
|
|
2054
2054
|
case 4:
|
|
2055
|
-
tmp8_local4 = tmp18_input.
|
|
2055
|
+
tmp8_local4 = tmp18_input.xx(tmp0_desc, 4, AttoHeightSerializer_getInstance(), tmp8_local4);
|
|
2056
2056
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2057
2057
|
break;
|
|
2058
2058
|
case 5:
|
|
2059
|
-
tmp9_local5 = tmp18_input.
|
|
2059
|
+
tmp9_local5 = tmp18_input.xx(tmp0_desc, 5, AttoAmountAsULongSerializer_getInstance(), tmp9_local5);
|
|
2060
2060
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2061
2061
|
break;
|
|
2062
2062
|
case 6:
|
|
2063
|
-
tmp10_local6 = tmp18_input.
|
|
2063
|
+
tmp10_local6 = tmp18_input.xx(tmp0_desc, 6, AttoInstantAsLongSerializer_getInstance(), tmp10_local6);
|
|
2064
2064
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2065
2065
|
break;
|
|
2066
2066
|
case 7:
|
|
2067
|
-
tmp11_local7 = tmp18_input.
|
|
2067
|
+
tmp11_local7 = tmp18_input.xx(tmp0_desc, 7, AttoHashAsStringSerializer_getInstance(), tmp11_local7);
|
|
2068
2068
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2069
2069
|
break;
|
|
2070
2070
|
case 8:
|
|
2071
|
-
tmp12_local8 = tmp18_input.
|
|
2071
|
+
tmp12_local8 = tmp18_input.xx(tmp0_desc, 8, tmp19_cached[8].g3(), tmp12_local8);
|
|
2072
2072
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2073
2073
|
break;
|
|
2074
2074
|
case 9:
|
|
2075
|
-
tmp13_local9 = tmp18_input.
|
|
2075
|
+
tmp13_local9 = tmp18_input.xx(tmp0_desc, 9, AttoPublicKeyAsStringSerializer_getInstance(), tmp13_local9);
|
|
2076
2076
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2077
2077
|
break;
|
|
2078
2078
|
case 10:
|
|
2079
|
-
tmp14_local10 = tmp18_input.
|
|
2079
|
+
tmp14_local10 = tmp18_input.xx(tmp0_desc, 10, AttoAddressAsStringSerializer_getInstance(), tmp14_local10);
|
|
2080
2080
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2081
2081
|
break;
|
|
2082
2082
|
case 11:
|
|
2083
|
-
tmp15_local11 = tmp18_input.
|
|
2083
|
+
tmp15_local11 = tmp18_input.xx(tmp0_desc, 11, AttoAddressAsStringSerializer_getInstance(), tmp15_local11);
|
|
2084
2084
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2085
2085
|
break;
|
|
2086
2086
|
default:
|
|
2087
|
-
throw UnknownFieldException().
|
|
2087
|
+
throw UnknownFieldException().su(tmp2_index);
|
|
2088
2088
|
}
|
|
2089
2089
|
}
|
|
2090
|
-
tmp18_input.
|
|
2091
|
-
return AttoChangeBlock().
|
|
2090
|
+
tmp18_input.mx(tmp0_desc);
|
|
2091
|
+
return AttoChangeBlock().v4p(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
2092
|
}
|
|
2093
|
-
|
|
2094
|
-
return this.
|
|
2093
|
+
ws() {
|
|
2094
|
+
return this.g4p_1;
|
|
2095
2095
|
}
|
|
2096
|
-
|
|
2097
|
-
var tmp0_cached = Companion_getInstance_8().
|
|
2096
|
+
o15() {
|
|
2097
|
+
var tmp0_cached = Companion_getInstance_8().j4n_1;
|
|
2098
2098
|
// Inline function 'kotlin.arrayOf' call
|
|
2099
2099
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2100
2100
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2101
2101
|
return [tmp0_cached[0].g3(), AttoVersionSerializer_getInstance(), tmp0_cached[2].g3(), AttoPublicKeyAsStringSerializer_getInstance(), AttoHeightSerializer_getInstance(), AttoAmountAsULongSerializer_getInstance(), AttoInstantAsLongSerializer_getInstance(), AttoHashAsStringSerializer_getInstance(), tmp0_cached[8].g3(), AttoPublicKeyAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance(), AttoAddressAsStringSerializer_getInstance()];
|
|
2102
2102
|
}
|
|
2103
2103
|
}
|
|
2104
|
-
protoOf($).
|
|
2104
|
+
protoOf($).p15 = typeParametersSerializers;
|
|
2105
2105
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
2106
2106
|
$serializerClass_2 = $;
|
|
2107
2107
|
}
|
|
@@ -2114,13 +2114,13 @@ function $serializer_getInstance_2() {
|
|
|
2114
2114
|
return $serializer_instance_2;
|
|
2115
2115
|
}
|
|
2116
2116
|
function AttoChangeBlock$hash$delegate$lambda(this$0) {
|
|
2117
|
-
return () => hash(this$0.
|
|
2117
|
+
return () => hash(this$0.a4m());
|
|
2118
2118
|
}
|
|
2119
2119
|
function AttoChangeBlock$_get_hash_$ref_i4oufz() {
|
|
2120
2120
|
return (p0) => p0.hash;
|
|
2121
2121
|
}
|
|
2122
2122
|
function AttoChangeBlock$_init_$lambda_31jg7w(this$0) {
|
|
2123
|
-
return () => hash(this$0.
|
|
2123
|
+
return () => hash(this$0.a4m());
|
|
2124
2124
|
}
|
|
2125
2125
|
var AttoChangeBlockClass;
|
|
2126
2126
|
function AttoChangeBlock() {
|
|
@@ -2128,144 +2128,144 @@ function AttoChangeBlock() {
|
|
|
2128
2128
|
class $ {
|
|
2129
2129
|
constructor(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
|
|
2130
2130
|
Companion_getInstance_8();
|
|
2131
|
-
this.
|
|
2132
|
-
this.
|
|
2133
|
-
this.
|
|
2134
|
-
this.
|
|
2135
|
-
this.
|
|
2136
|
-
this.
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2139
|
-
this.
|
|
2140
|
-
this.
|
|
2141
|
-
this.
|
|
2131
|
+
this.i4p_1 = network;
|
|
2132
|
+
this.j4p_1 = version;
|
|
2133
|
+
this.k4p_1 = algorithm;
|
|
2134
|
+
this.l4p_1 = publicKey;
|
|
2135
|
+
this.m4p_1 = height;
|
|
2136
|
+
this.n4p_1 = balance;
|
|
2137
|
+
this.o4p_1 = timestamp;
|
|
2138
|
+
this.p4p_1 = previous;
|
|
2139
|
+
this.q4p_1 = representativeAlgorithm;
|
|
2140
|
+
this.r4p_1 = representativePublicKey;
|
|
2141
|
+
this.s4p_1 = AttoBlockType_CHANGE_getInstance();
|
|
2142
2142
|
var tmp = this;
|
|
2143
|
-
tmp.
|
|
2144
|
-
this.
|
|
2145
|
-
this.representativeAddress = new (AttoAddress())(this.
|
|
2143
|
+
tmp.t4p_1 = lazy_0(AttoChangeBlock$hash$delegate$lambda(this));
|
|
2144
|
+
this.u4p_1 = new (AttoAddress())(this.k4p_1, this.l4p_1);
|
|
2145
|
+
this.representativeAddress = new (AttoAddress())(this.q4p_1, this.r4p_1);
|
|
2146
2146
|
}
|
|
2147
|
-
|
|
2148
|
-
return this.
|
|
2147
|
+
e4k() {
|
|
2148
|
+
return this.i4p_1;
|
|
2149
2149
|
}
|
|
2150
|
-
|
|
2151
|
-
return this.
|
|
2150
|
+
t3i() {
|
|
2151
|
+
return this.j4p_1;
|
|
2152
2152
|
}
|
|
2153
|
-
|
|
2154
|
-
return this.
|
|
2153
|
+
f4k() {
|
|
2154
|
+
return this.k4p_1;
|
|
2155
2155
|
}
|
|
2156
|
-
|
|
2157
|
-
return this.
|
|
2156
|
+
d4k() {
|
|
2157
|
+
return this.l4p_1;
|
|
2158
2158
|
}
|
|
2159
|
-
|
|
2160
|
-
return this.
|
|
2159
|
+
g4k() {
|
|
2160
|
+
return this.m4p_1;
|
|
2161
2161
|
}
|
|
2162
|
-
|
|
2163
|
-
return this.
|
|
2162
|
+
h4k() {
|
|
2163
|
+
return this.n4p_1;
|
|
2164
2164
|
}
|
|
2165
|
-
|
|
2166
|
-
return this.
|
|
2165
|
+
p4l() {
|
|
2166
|
+
return this.o4p_1;
|
|
2167
2167
|
}
|
|
2168
|
-
|
|
2169
|
-
return this.
|
|
2168
|
+
o4n() {
|
|
2169
|
+
return this.p4p_1;
|
|
2170
2170
|
}
|
|
2171
|
-
|
|
2172
|
-
return this.
|
|
2171
|
+
k4k() {
|
|
2172
|
+
return this.q4p_1;
|
|
2173
2173
|
}
|
|
2174
|
-
|
|
2175
|
-
return this.
|
|
2174
|
+
l4k() {
|
|
2175
|
+
return this.r4p_1;
|
|
2176
2176
|
}
|
|
2177
|
-
|
|
2178
|
-
return this.
|
|
2177
|
+
k4n() {
|
|
2178
|
+
return this.s4p_1;
|
|
2179
2179
|
}
|
|
2180
|
-
|
|
2181
|
-
var tmp0 = this.
|
|
2180
|
+
k4l() {
|
|
2181
|
+
var tmp0 = this.t4p_1;
|
|
2182
2182
|
var tmp = KProperty1();
|
|
2183
2183
|
// Inline function 'kotlin.getValue' call
|
|
2184
2184
|
getPropertyCallableRef('hash', 1, tmp, AttoChangeBlock$_get_hash_$ref_i4oufz(), null);
|
|
2185
2185
|
return tmp0.g3();
|
|
2186
2186
|
}
|
|
2187
|
-
|
|
2188
|
-
return this.
|
|
2187
|
+
m4k() {
|
|
2188
|
+
return this.u4p_1;
|
|
2189
2189
|
}
|
|
2190
|
-
|
|
2190
|
+
n4k() {
|
|
2191
2191
|
return this.representativeAddress;
|
|
2192
2192
|
}
|
|
2193
|
-
|
|
2193
|
+
a4m() {
|
|
2194
2194
|
// Inline function 'kotlin.apply' call
|
|
2195
2195
|
var this_0 = new (Buffer())();
|
|
2196
|
-
writeAttoBlockType(this_0, this.
|
|
2197
|
-
writeAttoNetwork(this_0, this.
|
|
2198
|
-
writeAttoVersion(this_0, this.
|
|
2199
|
-
writeAttoAlgorithm(this_0, this.
|
|
2200
|
-
writeAttoPublicKey(this_0, this.
|
|
2201
|
-
writeAttoHeight(this_0, this.
|
|
2202
|
-
writeAttoAmount(this_0, this.
|
|
2203
|
-
writeInstant(this_0, this.
|
|
2204
|
-
writeAttoHash(this_0, this.
|
|
2205
|
-
writeAttoAlgorithm(this_0, this.
|
|
2206
|
-
writeAttoPublicKey(this_0, this.
|
|
2196
|
+
writeAttoBlockType(this_0, this.s4p_1);
|
|
2197
|
+
writeAttoNetwork(this_0, this.i4p_1);
|
|
2198
|
+
writeAttoVersion(this_0, this.j4p_1);
|
|
2199
|
+
writeAttoAlgorithm(this_0, this.k4p_1);
|
|
2200
|
+
writeAttoPublicKey(this_0, this.l4p_1);
|
|
2201
|
+
writeAttoHeight(this_0, this.m4p_1);
|
|
2202
|
+
writeAttoAmount(this_0, this.n4p_1);
|
|
2203
|
+
writeInstant(this_0, this.o4p_1);
|
|
2204
|
+
writeAttoHash(this_0, this.p4p_1);
|
|
2205
|
+
writeAttoAlgorithm(this_0, this.q4p_1);
|
|
2206
|
+
writeAttoPublicKey(this_0, this.r4p_1);
|
|
2207
2207
|
return this_0;
|
|
2208
2208
|
}
|
|
2209
|
-
|
|
2210
|
-
return this.
|
|
2209
|
+
ye() {
|
|
2210
|
+
return this.i4p_1;
|
|
2211
2211
|
}
|
|
2212
|
-
|
|
2213
|
-
return this.
|
|
2212
|
+
ze() {
|
|
2213
|
+
return this.j4p_1;
|
|
2214
2214
|
}
|
|
2215
|
-
|
|
2216
|
-
return this.
|
|
2215
|
+
v4k() {
|
|
2216
|
+
return this.k4p_1;
|
|
2217
2217
|
}
|
|
2218
|
-
|
|
2219
|
-
return this.
|
|
2218
|
+
w4k() {
|
|
2219
|
+
return this.l4p_1;
|
|
2220
2220
|
}
|
|
2221
|
-
|
|
2222
|
-
return this.
|
|
2221
|
+
x4k() {
|
|
2222
|
+
return this.m4p_1;
|
|
2223
2223
|
}
|
|
2224
|
-
|
|
2225
|
-
return this.
|
|
2224
|
+
y4k() {
|
|
2225
|
+
return this.n4p_1;
|
|
2226
2226
|
}
|
|
2227
|
-
|
|
2228
|
-
return this.
|
|
2227
|
+
z4k() {
|
|
2228
|
+
return this.o4p_1;
|
|
2229
2229
|
}
|
|
2230
|
-
|
|
2231
|
-
return this.
|
|
2230
|
+
a4l() {
|
|
2231
|
+
return this.p4p_1;
|
|
2232
2232
|
}
|
|
2233
|
-
|
|
2234
|
-
return this.
|
|
2233
|
+
b4l() {
|
|
2234
|
+
return this.q4p_1;
|
|
2235
2235
|
}
|
|
2236
|
-
|
|
2237
|
-
return this.
|
|
2236
|
+
c4l() {
|
|
2237
|
+
return this.r4p_1;
|
|
2238
2238
|
}
|
|
2239
|
-
|
|
2239
|
+
w4p(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) {
|
|
2240
2240
|
return new (AttoChangeBlock())(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey);
|
|
2241
2241
|
}
|
|
2242
2242
|
copy(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey, $super) {
|
|
2243
|
-
network = network === VOID ? this.
|
|
2244
|
-
version = version === VOID ? this.
|
|
2245
|
-
algorithm = algorithm === VOID ? this.
|
|
2246
|
-
publicKey = publicKey === VOID ? this.
|
|
2247
|
-
height = height === VOID ? this.
|
|
2248
|
-
balance = balance === VOID ? this.
|
|
2249
|
-
timestamp = timestamp === VOID ? this.
|
|
2250
|
-
previous = previous === VOID ? this.
|
|
2251
|
-
representativeAlgorithm = representativeAlgorithm === VOID ? this.
|
|
2252
|
-
representativePublicKey = representativePublicKey === VOID ? this.
|
|
2253
|
-
return $super === VOID ? this.
|
|
2243
|
+
network = network === VOID ? this.i4p_1 : network;
|
|
2244
|
+
version = version === VOID ? this.j4p_1 : version;
|
|
2245
|
+
algorithm = algorithm === VOID ? this.k4p_1 : algorithm;
|
|
2246
|
+
publicKey = publicKey === VOID ? this.l4p_1 : publicKey;
|
|
2247
|
+
height = height === VOID ? this.m4p_1 : height;
|
|
2248
|
+
balance = balance === VOID ? this.n4p_1 : balance;
|
|
2249
|
+
timestamp = timestamp === VOID ? this.o4p_1 : timestamp;
|
|
2250
|
+
previous = previous === VOID ? this.p4p_1 : previous;
|
|
2251
|
+
representativeAlgorithm = representativeAlgorithm === VOID ? this.q4p_1 : representativeAlgorithm;
|
|
2252
|
+
representativePublicKey = representativePublicKey === VOID ? this.r4p_1 : representativePublicKey;
|
|
2253
|
+
return $super === VOID ? this.w4p(network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey) : $super.w4p.call(this, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey);
|
|
2254
2254
|
}
|
|
2255
2255
|
toString() {
|
|
2256
|
-
return 'AttoChangeBlock(network=' + this.
|
|
2256
|
+
return 'AttoChangeBlock(network=' + this.i4p_1.toString() + ', version=' + this.j4p_1.toString() + ', algorithm=' + this.k4p_1.toString() + ', publicKey=' + this.l4p_1.toString() + ', height=' + this.m4p_1.toString() + ', balance=' + this.n4p_1.toString() + ', timestamp=' + this.o4p_1.toString() + ', previous=' + this.p4p_1.toString() + ', representativeAlgorithm=' + this.q4p_1.toString() + ', representativePublicKey=' + this.r4p_1.toString() + ')';
|
|
2257
2257
|
}
|
|
2258
2258
|
hashCode() {
|
|
2259
|
-
var result = this.
|
|
2260
|
-
result = imul(result, 31) + this.
|
|
2261
|
-
result = imul(result, 31) + this.
|
|
2262
|
-
result = imul(result, 31) + this.
|
|
2263
|
-
result = imul(result, 31) + this.
|
|
2264
|
-
result = imul(result, 31) + this.
|
|
2265
|
-
result = imul(result, 31) + this.
|
|
2266
|
-
result = imul(result, 31) + this.
|
|
2267
|
-
result = imul(result, 31) + this.
|
|
2268
|
-
result = imul(result, 31) + this.
|
|
2259
|
+
var result = this.i4p_1.hashCode();
|
|
2260
|
+
result = imul(result, 31) + this.j4p_1.hashCode() | 0;
|
|
2261
|
+
result = imul(result, 31) + this.k4p_1.hashCode() | 0;
|
|
2262
|
+
result = imul(result, 31) + this.l4p_1.hashCode() | 0;
|
|
2263
|
+
result = imul(result, 31) + this.m4p_1.hashCode() | 0;
|
|
2264
|
+
result = imul(result, 31) + this.n4p_1.hashCode() | 0;
|
|
2265
|
+
result = imul(result, 31) + this.o4p_1.hashCode() | 0;
|
|
2266
|
+
result = imul(result, 31) + this.p4p_1.hashCode() | 0;
|
|
2267
|
+
result = imul(result, 31) + this.q4p_1.hashCode() | 0;
|
|
2268
|
+
result = imul(result, 31) + this.r4p_1.hashCode() | 0;
|
|
2269
2269
|
return result;
|
|
2270
2270
|
}
|
|
2271
2271
|
equals(other) {
|
|
@@ -2273,95 +2273,95 @@ function AttoChangeBlock() {
|
|
|
2273
2273
|
return true;
|
|
2274
2274
|
if (!(other instanceof AttoChangeBlock()))
|
|
2275
2275
|
return false;
|
|
2276
|
-
if (!this.
|
|
2276
|
+
if (!this.i4p_1.equals(other.i4p_1))
|
|
2277
2277
|
return false;
|
|
2278
|
-
if (!this.
|
|
2278
|
+
if (!this.j4p_1.equals(other.j4p_1))
|
|
2279
2279
|
return false;
|
|
2280
|
-
if (!this.
|
|
2280
|
+
if (!this.k4p_1.equals(other.k4p_1))
|
|
2281
2281
|
return false;
|
|
2282
|
-
if (!this.
|
|
2282
|
+
if (!this.l4p_1.equals(other.l4p_1))
|
|
2283
2283
|
return false;
|
|
2284
|
-
if (!this.
|
|
2284
|
+
if (!this.m4p_1.equals(other.m4p_1))
|
|
2285
2285
|
return false;
|
|
2286
|
-
if (!this.
|
|
2286
|
+
if (!this.n4p_1.equals(other.n4p_1))
|
|
2287
2287
|
return false;
|
|
2288
|
-
if (!this.
|
|
2288
|
+
if (!this.o4p_1.equals(other.o4p_1))
|
|
2289
2289
|
return false;
|
|
2290
|
-
if (!this.
|
|
2290
|
+
if (!this.p4p_1.equals(other.p4p_1))
|
|
2291
2291
|
return false;
|
|
2292
|
-
if (!this.
|
|
2292
|
+
if (!this.q4p_1.equals(other.q4p_1))
|
|
2293
2293
|
return false;
|
|
2294
|
-
if (!this.
|
|
2294
|
+
if (!this.r4p_1.equals(other.r4p_1))
|
|
2295
2295
|
return false;
|
|
2296
2296
|
return true;
|
|
2297
2297
|
}
|
|
2298
|
-
static
|
|
2298
|
+
static v4p(seen0, network, version, algorithm, publicKey, height, balance, timestamp, previous, representativeAlgorithm, representativePublicKey, address, representativeAddress, serializationConstructorMarker) {
|
|
2299
2299
|
Companion_getInstance_8();
|
|
2300
2300
|
if (!(1023 === (1023 & seen0))) {
|
|
2301
|
-
throwMissingFieldException(seen0, 1023, $serializer_getInstance_2().
|
|
2301
|
+
throwMissingFieldException(seen0, 1023, $serializer_getInstance_2().g4p_1);
|
|
2302
2302
|
}
|
|
2303
2303
|
var $this = createThis(this);
|
|
2304
|
-
$this.
|
|
2305
|
-
$this.
|
|
2306
|
-
$this.
|
|
2307
|
-
$this.
|
|
2308
|
-
$this.
|
|
2309
|
-
$this.
|
|
2310
|
-
$this.
|
|
2311
|
-
$this.
|
|
2312
|
-
$this.
|
|
2313
|
-
$this.
|
|
2314
|
-
$this.
|
|
2304
|
+
$this.i4p_1 = network;
|
|
2305
|
+
$this.j4p_1 = version;
|
|
2306
|
+
$this.k4p_1 = algorithm;
|
|
2307
|
+
$this.l4p_1 = publicKey;
|
|
2308
|
+
$this.m4p_1 = height;
|
|
2309
|
+
$this.n4p_1 = balance;
|
|
2310
|
+
$this.o4p_1 = timestamp;
|
|
2311
|
+
$this.p4p_1 = previous;
|
|
2312
|
+
$this.q4p_1 = representativeAlgorithm;
|
|
2313
|
+
$this.r4p_1 = representativePublicKey;
|
|
2314
|
+
$this.s4p_1 = AttoBlockType_CHANGE_getInstance();
|
|
2315
2315
|
var tmp = $this;
|
|
2316
|
-
tmp.
|
|
2316
|
+
tmp.t4p_1 = lazy_0(AttoChangeBlock$_init_$lambda_31jg7w($this));
|
|
2317
2317
|
if (0 === (seen0 & 1024))
|
|
2318
|
-
$this.
|
|
2318
|
+
$this.u4p_1 = new (AttoAddress())($this.k4p_1, $this.l4p_1);
|
|
2319
2319
|
else
|
|
2320
|
-
$this.
|
|
2320
|
+
$this.u4p_1 = address;
|
|
2321
2321
|
if (0 === (seen0 & 2048))
|
|
2322
|
-
$this.representativeAddress = new (AttoAddress())($this.
|
|
2322
|
+
$this.representativeAddress = new (AttoAddress())($this.q4p_1, $this.r4p_1);
|
|
2323
2323
|
else
|
|
2324
2324
|
$this.representativeAddress = representativeAddress;
|
|
2325
2325
|
return $this;
|
|
2326
2326
|
}
|
|
2327
2327
|
get network() {
|
|
2328
|
-
return this.
|
|
2328
|
+
return this.e4k();
|
|
2329
2329
|
}
|
|
2330
2330
|
get version() {
|
|
2331
|
-
return this.
|
|
2331
|
+
return this.t3i();
|
|
2332
2332
|
}
|
|
2333
2333
|
get algorithm() {
|
|
2334
|
-
return this.
|
|
2334
|
+
return this.f4k();
|
|
2335
2335
|
}
|
|
2336
2336
|
get publicKey() {
|
|
2337
|
-
return this.
|
|
2337
|
+
return this.d4k();
|
|
2338
2338
|
}
|
|
2339
2339
|
get height() {
|
|
2340
|
-
return this.
|
|
2340
|
+
return this.g4k();
|
|
2341
2341
|
}
|
|
2342
2342
|
get balance() {
|
|
2343
|
-
return this.
|
|
2343
|
+
return this.h4k();
|
|
2344
2344
|
}
|
|
2345
2345
|
get timestamp() {
|
|
2346
|
-
return this.
|
|
2346
|
+
return this.p4l();
|
|
2347
2347
|
}
|
|
2348
2348
|
get previous() {
|
|
2349
|
-
return this.
|
|
2349
|
+
return this.o4n();
|
|
2350
2350
|
}
|
|
2351
2351
|
get representativeAlgorithm() {
|
|
2352
|
-
return this.
|
|
2352
|
+
return this.k4k();
|
|
2353
2353
|
}
|
|
2354
2354
|
get representativePublicKey() {
|
|
2355
|
-
return this.
|
|
2355
|
+
return this.l4k();
|
|
2356
2356
|
}
|
|
2357
2357
|
get type() {
|
|
2358
|
-
return this.
|
|
2358
|
+
return this.k4n();
|
|
2359
2359
|
}
|
|
2360
2360
|
get hash() {
|
|
2361
|
-
return this.
|
|
2361
|
+
return this.k4l();
|
|
2362
2362
|
}
|
|
2363
2363
|
get address() {
|
|
2364
|
-
return this.
|
|
2364
|
+
return this.m4k();
|
|
2365
2365
|
}
|
|
2366
2366
|
}
|
|
2367
2367
|
protoOf($).validate = validate;
|